/* Loop 0.3 — sistema visual compartido para todas las empresas. */
:root{--primary:#2563eb;--primary-dark:#1d4ed8;--ink:#172c4b;--muted:#71839c;--line:#e0e7f0;--surface:#fff;--canvas:#f4f7fb;--acid:#d4f65a;--yellow:#f6cf58;font-family:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--ink);background:var(--canvas);font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s;min-height:42px;border-radius:10px;padding:10px 15px;font-size:13px;font-weight:600}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #92b6ff;outline-offset:3px}a{color:#2563eb}a.button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border-radius:10px;padding:10px 15px;font-size:13px;text-decoration:none;gap:8px}.primary{background:var(--primary);color:white;border:1px solid var(--primary);box-shadow:0 4px 10px #2563eb14}.primary:hover{background:#1d4ed8;border-color:#1d4ed8}.secondary{background:white;color:#426082;border:1px solid #dce4ef;box-shadow:none}.secondary:hover{background:#f4f8ff;border-color:#b5c9e9}.text-button,.view .text-button{background:transparent;border:0;color:#366cb8;font-size:12px!important;font-weight:600;padding:7px 2px;min-height:34px}.danger-text{color:#c46767!important}.danger-button{background:#c74c4c;color:white;border:1px solid #c74c4c}.quiet{background:transparent;border:0;color:#7e94b1;padding:7px;min-height:32px}.ui-icon{width:19px;height:19px;flex:none;display:block;pointer-events:none}
h1,h2,h3,p{overflow-wrap:break-word}h1{font-size:34px;line-height:1.2;letter-spacing:-.9px;color:#172c4b;margin:0}h2{font-size:20px;line-height:1.35;letter-spacing:-.3px;color:#203959}h3{font-size:16px;line-height:1.4;color:#284768}.eyebrow{font-size:10px;line-height:1.5;letter-spacing:1.5px;font-weight:700;color:#8a9bb0;margin:0 0 9px}.muted{color:#75869e;font-size:14px;line-height:1.7;margin:0}.fine{font-size:12px;line-height:1.7;color:#8191a8}.error{font-size:13px;line-height:1.7;color:#bd5656}.section-space{margin-top:24px}.section-heading{gap:18px;align-items:center;margin:0 0 20px}.section-heading h2{margin:0}.section-heading .muted{flex:1}
/* Navbar y selector de empresa. */
.sidebar{width:100%;height:auto;position:sticky;top:0;inset-inline:0;background:#101e37;display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:25px;padding:12px 30px;border:0;border-bottom:1px solid #20314c;z-index:30;box-shadow:none}.sidebar .brand-menu{width:190px;max-width:100%;margin:0}.brand-menu>summary.brand{display:flex;flex-direction:row;align-items:center;gap:11px;grid-template-columns:none;grid-template-rows:none;min-height:48px;margin:0;padding:0;list-style:none;outline-offset:7px}.brand-menu .brand-mark{grid-area:auto;flex:0 0 43px;width:43px;height:43px;border-radius:12px;box-shadow:none}.brand-menu>summary.brand>span:nth-child(2){grid-area:auto;flex:1;min-width:0;font-size:16px;line-height:1.2;letter-spacing:2.8px;color:white}.brand-menu>summary.brand>span:nth-child(2) small{display:block;font-size:8px;line-height:1.3;letter-spacing:.9px;color:#99abc6;margin-top:6px;white-space:nowrap}.brand-menu>summary.brand>.brand-chevron{grid-area:auto;display:grid;place-items:center;flex:0 0 20px;width:20px;height:24px;align-self:center;margin:0 6px 0 2px;padding:0;background:transparent;border:0;border-radius:0;color:#a9bfde}.brand-chevron svg{width:13px;height:9px;transition:transform .18s}.brand-menu[open] .brand-chevron svg{transform:rotate(180deg)}.sidebar nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;margin:0;overflow:visible;min-width:0}.sidebar nav button{display:flex;align-items:center;gap:8px;background:transparent;color:#aabbd4;border:0;border-radius:9px;min-height:43px;padding:10px 12px;box-shadow:none;position:relative}.sidebar nav button span{font-size:12px;font-weight:500;white-space:nowrap}.sidebar nav button .ui-icon{width:17px;height:17px;opacity:.85}.sidebar nav button:hover{background:#1c2f4d;color:white}.sidebar nav button.selected{background:#2a62db;color:white;border:0;box-shadow:none}.sidebar nav button.selected::before,.sidebar nav button.selected::after{display:none}.sidebar nav button.selected .ui-icon{opacity:1}.brand-dropdown{position:absolute;top:calc(100% + 17px);left:0;width:260px;min-width:240px;padding:9px;background:white;border:1px solid #dde6f2;border-radius:13px;box-shadow:0 15px 45px #0c234326;z-index:80}.brand-dropdown>a,.brand-dropdown>button,.brand-dropdown #logout{display:flex;align-items:center;gap:11px;width:100%;padding:12px 13px;min-height:44px;margin:0;background:transparent;border:0;border-radius:8px;color:#365575;font-size:13px;line-height:1.4;font-weight:500;text-decoration:none;text-align:left}.brand-dropdown .ui-icon{width:18px;height:18px;color:#7894b6}.brand-dropdown>a:hover,.brand-dropdown button:hover{background:#f0f5fd;color:#245ec2}.brand-dropdown #logout{color:#9b6670}.user-identity{font-size:11px;line-height:1.6;color:#7c90ab;padding:10px 13px 14px;margin-bottom:6px;border-bottom:1px solid #e9eef5}.sidebar~main{width:100%;max-width:1640px;margin:0 auto;padding:24px 34px 40px}.workspace-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;border:0;padding:0;margin-bottom:26px;font-size:12px;color:#8b9cb2;min-height:38px}.company-context{display:flex;align-items:center;gap:13px;min-width:0}.company-context-label{font-size:9px;letter-spacing:1.4px;font-weight:700;color:#9aabc0}.company-context select{margin:0;min-height:38px;padding:7px 32px 7px 12px;font-size:13px;font-weight:600;color:#294b73;background:#fff;border:1px solid #e0e7f1;border-radius:9px;max-width:300px;min-width:190px}.company-context strong{font-size:14px;color:#35577c}.local-label{font-size:10px;padding:5px 10px;border-radius:20px;background:#edf3e3;color:#7c954b;white-space:nowrap}.sidebar~main>header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 28px}.header-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.header-actions button{font-size:12px;min-height:42px}.header-actions[hidden]{display:none}.sidebar~main>footer{margin-top:34px;padding-top:22px;border-top:1px solid #e0e7f0;font-size:11px;color:#9aabc0}
/* Contenedores y datos. */
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.metric{padding:22px 24px;background:white;border:1px solid #e0e7f0;border-radius:15px;box-shadow:0 3px 10px #17355703;min-width:0}.metric .label{font-size:12px;color:#8594a9;font-weight:500}.metric .number{font-size:31px;letter-spacing:-1px;font-weight:650;line-height:1.3;color:#244f8b;margin:12px 0 8px}.metric .sub{font-size:11px;line-height:1.6;color:#97a5b8}.metric.highlight{background:#2761df;border-color:#2761df}.metric.highlight .label,.metric.highlight .sub{color:#c8d9ff}.metric.highlight .number{color:white}.asset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}.asset-card,.order-card,.campaign-card,.screen-card,.occupancy-card{background:white;border:1px solid #e0e7f0;border-radius:15px;box-shadow:0 3px 10px #17355703;padding:24px;min-width:0}.asset-card h3{font-size:16px;margin:16px 0 10px}.order-card{margin-bottom:18px}.order-card .client{font-size:20px;color:#2861b9;font-weight:650;line-height:1.4;margin:0 0 6px;letter-spacing:-.3px}.order-card .campaign-title{font-size:17px;color:#688d2c;font-weight:600;line-height:1.4;margin:0}.campaign-top{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap}.order-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;color:#8b9ab0;margin:20px 0 12px}.order-meta strong{font-size:13px;color:#58789f}.campaign-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}.campaign-actions button{font-size:12px;min-height:38px}.progress{height:6px;background:#eef2f8;border-radius:10px;overflow:hidden;margin:12px 0}.progress>span{background:#4b87ed;border-radius:10px}.campaign-file-summary{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.linked-file-chip{font-size:11px;padding:9px 12px;min-height:34px;color:#6e8eb7;background:#f3f7fd;border:1px solid #e3ebf7;border-radius:8px;font-weight:500}.badge{font-size:10px;font-weight:600;line-height:1.5;padding:5px 10px;border-radius:6px;background:#eef5ff;color:#5e8dd0;border:0}.badge.gray{background:#f0f3f8;color:#8a9ab0}.badge.warn{background:#fff5dd;color:#b58c32}.badge.bad{background:#fdecee;color:#c2737b}.campaign-badge{background:#f0f7e5!important;color:#789b3f!important}.empty{padding:38px 24px;background:white;border:1px dashed #dbe5f2;border-radius:14px;text-align:center}.empty h3{font-size:17px;color:#6280a7;margin:0 0 9px}.empty p{font-size:13px;color:#8fa0b7;line-height:1.7;margin:0}.table-scroll{width:100%;max-width:100%;overflow:auto;border:1px solid #e0e7f0;border-radius:13px;background:white;overscroll-behavior:contain}table{border-collapse:collapse;width:100%;background:white;font-size:13px;text-align:left}thead{background:#f8fafd}th{padding:15px 18px;border-bottom:1px solid #e4eaf3;font-size:10px;font-weight:650;text-transform:uppercase;letter-spacing:.6px;color:#8b9db6;line-height:1.5;vertical-align:middle}td{padding:18px;border-bottom:1px solid #edf1f6;font-size:13px;line-height:1.65;color:#6080a5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcff}td strong{font-size:13px;font-weight:600;color:#365b88}td small{display:block;font-size:11px;color:#9baac0;line-height:1.6;margin-top:5px}.table-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.table-actions button,.users-table button{font-size:12px;min-height:36px;padding:8px 12px}.current-company-label{color:#508be2}.users-table{min-width:650px}.users-table strong{font-size:13px}.users-table small{font-size:11px;color:#91a4bf}.screen-trash{padding:16px 18px;border:1px solid #e0e7f0;background:white;border-radius:12px;margin-top:22px}.screen-trash summary{font-size:12px;color:#8ca0bc;cursor:pointer}.trash-row{padding:14px 0;font-size:12px;gap:12px;flex-wrap:wrap}.trash-row b{font-size:12px}.trash-row button{font-size:12px}
/* Formularios y ventanas. */
label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#69809e;line-height:1.5;margin-bottom:17px}input,select,textarea{min-width:0;max-width:100%;border:1px solid #dde5f0;border-radius:10px;background:#fff;padding:11px 13px;min-height:44px;color:#365879;font-size:13px;outline:none;box-shadow:none}input:focus,select:focus,textarea:focus{border-color:#8fb6f6;box-shadow:0 0 0 3px #4d88ee0d}input::placeholder,textarea::placeholder{color:#a2b0c3;font-size:12px}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;flex-shrink:0;padding:0;margin:0;accent-color:#2d6ae3}input[type=file]{font-size:12px;padding:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}fieldset{padding:16px;border:1px solid #e0e7f0;border-radius:11px;margin:0 0 20px}fieldset legend{font-size:12px;color:#7891b1;padding:0 6px}fieldset label{display:flex;flex-direction:row;align-items:center;gap:10px;margin:0;font-size:12px;font-weight:500;padding:5px 0}.info{padding:14px 16px;border-radius:10px;background:#f1f6ff;border:1px solid #e6eefc;color:#7291b7;font-size:12px;line-height:1.8}.form-actions,.report-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.form-actions button{font-size:12px}.wide{width:100%}dialog{width:min(530px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);padding:28px;border:1px solid #e0e7f0;border-radius:18px;background:white;color:#244164;box-shadow:0 25px 80px #10253e30;overflow-y:auto;overscroll-behavior:contain}dialog::backdrop{background:#0e223b70;backdrop-filter:blur(4px)}.order-dialog,.screen-config-dialog{width:min(850px,calc(100% - 32px))}.preview-dialog{width:min(1000px,calc(100% - 32px))}.dialog-header{display:flex;justify-content:space-between;align-items:start;gap:18px;margin:0 0 24px}.dialog-header h2{font-size:22px;line-height:1.3;color:#24456d;margin:0}.dialog-header button{display:grid;place-items:center;flex:0 0 32px;width:32px;min-height:32px;padding:0;background:#f3f6fb;border:0;border-radius:8px;color:#93a5bd;font-size:24px;font-weight:400;line-height:1}.advanced-options{border:1px solid #e0e7f0;border-radius:10px;padding:14px 16px;margin-bottom:20px}.advanced-options summary{font-size:12px;color:#6f8cae;cursor:pointer}.advanced-options[open] summary{margin-bottom:20px}.schedule-enabled{display:flex;flex-direction:row;align-items:center;gap:10px;margin-bottom:20px;font-size:12px}.schedule-weekdays{gap:14px}.schedule-weekdays label{font-size:12px!important}.campaign-file-choices{gap:12px}.file-choice{padding:14px;border:1px solid #e0e7f0;border-radius:10px;font-size:13px}.file-choice small{font-size:11px}.file-choice input{width:17px;height:17px}.app-catalog{gap:12px}.catalog-card{padding:18px;border:1px solid #e0e7f0;border-radius:12px;gap:8px}.catalog-card b{font-size:13px;color:#476e9d}.catalog-card small{font-size:11px;color:#93a7bf;line-height:1.6}.catalog-card .text-button{font-size:11px}.app-letter{height:34px;width:34px;font-size:16px;color:#467be0;background:#eef4ff}.asset-upload-choice{margin:20px 0 25px;padding:21px;border-radius:12px;border-color:#d9e7ff;background:#f0f6ff}.asset-upload-choice b{font-size:15px}.asset-upload-choice small{font-size:12px}#asset-create-dialog>h3{font-size:15px}.auth-card{width:min(480px,calc(100% - 32px));padding:36px;border:1px solid #e0e7f0;border-radius:20px;box-shadow:0 15px 60px #234b7210}.auth-card h1{font-size:32px;line-height:1.2;margin:25px 0 17px}.auth-card .muted{font-size:13px;margin-bottom:22px}.auth-card input{width:100%}.auth-card .fine{font-size:11px}
/* Biblioteca y editor de playlists. */
.library-filters{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 22px}.library-filters input{flex:1;min-width:200px;min-height:44px;margin:0}.library-filters select{max-width:230px;font-size:12px;margin:0}.library-filters .fine{font-size:11px;margin:0}.library-view-switch{display:flex;gap:3px;padding:4px;border-radius:10px;border:1px solid #dfe7f3;background:#edf2f9}.library-view-switch button{font-size:11px;min-height:34px;padding:7px 12px;border-radius:7px;color:#7894b7}.library-view-switch [aria-pressed=true]{background:white;color:#316ac6;box-shadow:0 2px 5px #18396308}#asset-list.library-list .library-table{min-width:520px}#asset-list.library-list .library-table td:first-child{padding:19px 20px;width:auto}#asset-list.library-list .library-table td:last-child{width:290px}#asset-list.library-list .media-actions{gap:22px;justify-content:flex-end;flex-wrap:nowrap;margin:0}#asset-list.library-list .library-table strong{font-size:13px;color:#365d8e}#asset-list.library-list .library-table .text-button{font-size:12px!important}#asset-list:not(.library-list){grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px}#asset-list:not(.library-list) .media-card{padding:14px;display:block;border-radius:14px}#asset-list:not(.library-list) .media-thumbnail{height:135px;border-radius:9px;background:#0f2546}#asset-list:not(.library-list) .media-card h3{font-size:14px;margin:14px 2px 8px;line-height:1.5}#asset-list:not(.library-list) .media-card p{font-size:11px;margin-left:2px}#asset-list:not(.library-list) .media-actions{gap:8px 13px;margin:12px 2px}.asset-link-label{font-size:9px;letter-spacing:.8px;color:#96a6bd;line-height:1.6}.asset-campaign-link{padding:9px 11px;border:1px solid #e3edd9;background:#f5f9ed;border-radius:8px}.asset-campaign-link b{font-size:12px;line-height:1.5;color:#759641}.asset-campaign-link small{font-size:10px;color:#8a9db7}.asset-unlinked{font-size:11px;color:#97a8bf}.media-duration{font-size:10px;padding:4px 7px}.media-actions{gap:10px 16px}.media-actions .text-button{font-size:12px!important}.playlist-workspace{display:grid;grid-template-columns:210px minmax(0,1fr) 300px;gap:20px;align-items:start}.playlist-workspace>aside,.playlist-editor{padding:22px;background:white;border:1px solid #e0e7f0;border-radius:15px;min-width:0}.playlist-workspace h2{font-size:18px;line-height:1.4;margin:0 0 18px}.playlist-workspace .eyebrow{font-size:9px;margin-bottom:10px;letter-spacing:1.2px}.playlist-new-button{min-height:42px;font-size:12px;width:100%;margin-bottom:20px}.playlist-index #playlist-list{gap:12px;max-height:calc(100dvh - 365px);min-height:150px;overflow-y:auto;padding-right:2px}.playlist-index-item{padding:13px;border:1px solid #e2e9f2;background:#fbfcff;border-radius:11px}.playlist-index-item.active{background:#f1f6ff;border-color:#a6c2f3}.playlist-select{padding:0;min-height:0;color:#365f91}.playlist-select b{font-size:13px;line-height:1.55}.playlist-select small{font-size:11px;line-height:1.65;color:#91a5c0;margin-top:7px}.playlist-index-item>.text-button{font-size:11px!important;margin-top:10px}.playlist-index .screen-trash{padding:13px;margin-top:20px;background:#fbfcff}.playlist-index .screen-trash summary{font-size:11px}.playlist-editor .dialog-header{margin-bottom:24px}.playlist-editor .dialog-header h2{font-size:18px}.playlist-editor label{font-size:12px}.playlist-editor .form-grid{grid-template-columns:1fr;gap:0}.playlist-editor .form-grid>label:nth-child(2){font-size:12px}.playlist-settings{padding:14px;border-radius:10px;border-color:#e0e7f0;margin-bottom:20px}.playlist-settings summary{font-size:12px;color:#7b93b3}.playlist-settings fieldset{padding:14px 0 0}.playlist-settings .fine{font-size:11px}.playlist-dropzone{padding:12px;border:1px dashed #c4d4ea;border-radius:12px;background:#f8faff;min-height:250px}.playlist-dropzone.drag-over{background:#f1f8e9;border-color:#a7c954}.playlist-entry{padding:13px 10px;gap:8px;border:1px solid #e0e8f3!important;border-radius:10px;background:white;margin-bottom:10px}.playlist-entry .sequence-number{width:22px;height:22px;font-size:10px;border-radius:6px;background:#eff4fc}.playlist-entry .sequence-label>b{font-size:13px;font-weight:600;line-height:1.55;margin-top:6px}.playlist-entry .sequence-label small{font-size:10px;line-height:1.6;margin-top:5px}.sequence-label>.badge{font-size:8px;padding:3px 6px}.playlist-entry .quiet{width:27px;min-height:32px;padding:4px;font-size:16px;color:#9aabc1}.playlist-entry .entry-preview{color:#538bd8!important}.drag-handle{font-size:18px;color:#acbacd}.playlist-editor #playlist-form>.fine{font-size:11px;line-height:1.75;margin:16px 0 0}.playlist-editor .form-actions{gap:10px;margin-top:22px}.playlist-editor .form-actions button{font-size:12px;min-height:43px;flex:1 1 180px}.playlist-library .playlist-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 16px;padding:4px;border:1px solid #e2e9f4;border-radius:10px;background:#f3f6fc}.playlist-library .playlist-categories button{padding:8px 3px;font-size:10px;min-height:38px;border-radius:7px;line-height:1.4;color:#8ca2bf;font-weight:500;white-space:normal}.playlist-library .playlist-categories [aria-pressed=true]{background:white;color:#3b73c6;box-shadow:0 2px 7px #163d6c08}.playlist-library input{font-size:12px;margin-bottom:16px;width:100%}.playlist-library #playlist-source-list{max-height:calc(100dvh - 390px);min-height:180px;overflow:auto;padding-right:2px}.playlist-source-card{padding:13px 10px;gap:8px;border:1px solid #e0e8f3;border-radius:10px;background:#fbfcff;margin-bottom:11px}.playlist-source-card b{font-size:12px;font-weight:600;color:#57799e;line-height:1.55}.playlist-source-card small{font-size:10px;line-height:1.6;color:#96a9c2}.source-preview,.source-add{width:28px;min-height:33px;height:33px;padding:0;border-radius:8px;font-size:17px;font-weight:400;border:0}.source-preview{color:#7c9cc6;background:#f0f5fc}.source-add{color:#4d83d1;background:#ecf3ff}.playlist-empty-drop{padding:50px 8px}.playlist-empty-drop>b{font-size:14px;color:#819aba}.playlist-empty-drop p{font-size:12px;color:#9aacc3}.playlist-preview-controls .fine{font-size:12px}.playlist-preview-controls button{font-size:12px}.playlist-preview-files{gap:8px}
/* Reportes, calendario y pantallas. */
.filter-panel{padding:22px;border:1px solid #e0e7f0;border-radius:14px;background:white}.report-filter-details summary{font-size:13px;color:#6885aa;padding:0 0 5px}.filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 17px}.filter-grid label{font-size:12px}.report-actions button,.report-actions a{font-size:12px;min-height:40px}.report-actions .fine{font-size:11px;flex-basis:100%;margin-top:3px}.chart-heading{margin:26px 0 18px;gap:20px}.chart-heading h2{font-size:20px}.period-switch{display:flex;gap:3px;margin:0;padding:4px;background:#edf2fa;border:1px solid #dfe7f3;border-radius:11px;min-width:240px}.period-switch button{font-size:12px;min-height:36px;padding:8px 13px;flex:1;border-radius:8px;background:transparent;border:0;color:#8a9fbd}.period-switch [aria-pressed=true]{background:white;color:#346dbf;box-shadow:0 2px 7px #234a7a08}.playback-chart{padding:22px 18px 16px;border:1px solid #e0e7f0;border-radius:15px;background:white;margin:0}.playback-chart figcaption{margin-top:15px;padding-top:14px;border-top:1px solid #edf1f7;font-size:11px;line-height:1.6;color:#8fa3bd;gap:8px 12px}.legend-dot{width:8px;height:8px;border-radius:3px;background:#3b7fec}.duration-dot{background:#4dba42}.announcement-heading{margin:30px 0 19px;align-items:center;gap:24px}.announcement-heading h2{font-size:19px;line-height:1.4}.announcement-totals{gap:28px;flex-wrap:wrap}.announcement-totals span{font-size:11px;color:#879db8}.announcement-totals strong{font-size:26px;line-height:1.4;color:#2e67bd;font-weight:650}.announcement-totals small{font-size:10px;color:#a0aec1}.calendar-panel{padding:24px;border:1px solid #e0e7f0;border-radius:16px;margin:24px 0 30px;background:white}.calendar-toolbar{gap:16px;margin-bottom:14px}.calendar-toolbar h2{font-size:23px;letter-spacing:-.4px;margin:5px 0}.calendar-toolbar .period-switch{min-width:280px}.calendar-controls{gap:7px}.calendar-controls button{font-size:12px;min-height:38px;padding:8px 12px}.calendar-panel>.fine{font-size:12px;color:#93a3ba;margin-bottom:22px}.calendar-weekdays span{font-size:11px;padding:12px 0;color:#90a3bd;font-weight:500}.calendar-month{border-color:#e6ecf4}.calendar-cell{min-height:105px;padding:9px;border-color:#e6ecf4}.calendar-date{width:28px;min-height:28px;font-size:11px;border-radius:8px;color:#7f98b9}.calendar-event{padding:8px;border-radius:6px;margin-top:6px}.calendar-event b{font-size:10px}.calendar-event small{font-size:9px}.calendar-year{gap:18px}.calendar-year section{border:1px solid #e0e7f0;border-radius:12px;padding:14px}.calendar-year h3{font-size:14px}.calendar-mini .calendar-date{font-size:10px}.calendar-legend{font-size:11px;gap:8px;margin-top:20px}.calendar-agenda section{padding:13px;border-radius:11px;background:#fbfcff;border-color:#e3eaf4}.calendar-agenda-date{font-size:12px}.schedule-card{padding:23px;border:1px solid #e0e7f0;border-radius:14px;gap:20px}.schedule-card h3{font-size:16px}.schedule-card p{font-size:13px}.schedule-card small{font-size:12px;line-height:1.8}.schedule-card button{font-size:12px}.screen-grid{grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:20px}.screen-card{padding:22px}.screen-card h3{font-size:18px;color:#355c8e}.screen-id{font-size:10px;color:#a0b0c4}.screen-stats small{font-size:10px}.screen-stats b{font-size:13px}.screen-playlist{font-size:12px}.screen-contact{font-size:11px;line-height:1.8}.screen-exports{font-size:11px;gap:12px}.screen-exports a{font-size:11px}.screen-instructions{padding:16px 18px;font-size:12px;line-height:1.7;border-radius:11px;background:#edf4ff;border:1px solid #e0ebfc;margin-bottom:23px}.occupancy-card h3{font-size:18px}.occupancy-layout{gap:24px;flex-wrap:wrap}.occupancy-layout p>b{font-size:23px}.occupancy-layout small,.occupancy-footer{font-size:12px}.occupancy-card>.fine{font-size:11px;line-height:1.7}.campaign-alert .client{font-size:17px}.campaign-alert .campaign-title{font-size:15px}.campaign-alert ul{font-size:12px;line-height:1.9;margin-top:16px}.subcampaign-chip{padding:11px 14px;border-radius:9px;border-color:#dfe8f5;background:#f4f8ff}.subcampaign-chip b{font-size:12px}.subcampaign-chip small{font-size:10px}.subcampaign-row{gap:14px;padding:19px 0}.subcampaign-row strong{font-size:14px}.subcampaign-row small{font-size:12px}.subcampaign-row button{font-size:12px}.subcampaign-ad-choice{font-size:13px;gap:10px}.subcampaign-ad-choice small{font-size:11px}.standalone-report{background:#f4f7fb}.report-sheet{width:min(1200px,100%);margin:24px auto!important;padding:30px}.report-sheet header{margin-bottom:25px}.report-toolbar{gap:12px;flex-wrap:wrap}.report-sheet footer{font-size:11px;color:#95a5b9;margin-top:30px}.report-brand h1{font-size:29px}.report-sheet .table-scroll{margin-top:18px}
@media(min-width:1450px){.sidebar{padding-inline:40px}.sidebar~main{padding-inline:42px}.sidebar nav{gap:7px}.sidebar nav button{padding-inline:15px}.playlist-workspace{grid-template-columns:230px minmax(0,1fr) 330px;gap:22px}}
@media(max-width:1150px){.sidebar{grid-template-columns:175px minmax(0,1fr);gap:15px;padding:12px 22px}.sidebar .brand-menu{width:175px}.sidebar nav{gap:3px}.sidebar nav button{padding:9px 10px}.sidebar nav button span{font-size:11px}.sidebar nav button .ui-icon{width:16px;height:16px}.sidebar~main{padding:24px}.playlist-workspace{grid-template-columns:180px minmax(0,1fr) 265px;gap:15px}.playlist-workspace>aside,.playlist-editor{padding:18px}.playlist-entry{gap:6px;padding:12px 8px}.playlist-entry .sequence-label>b{font-size:12px}.playlist-entry .quiet{width:23px;padding:3px}.metrics{gap:13px}.metric{padding:20px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-filters input{flex-basis:100%}.library-filters select{max-width:none;flex:1}.calendar-year{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:950px){.sidebar{align-items:start;grid-template-columns:170px minmax(0,1fr)}.sidebar nav{justify-content:flex-start;row-gap:5px}.sidebar nav button{min-height:36px;padding:8px 10px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.playlist-workspace{grid-template-columns:minmax(0,1fr) minmax(240px,.72fr)}.playlist-index{grid-column:1/-1}.playlist-index #playlist-list{display:flex;flex-direction:row;min-height:0;max-height:210px;overflow-x:auto;gap:10px;padding-bottom:4px}.playlist-index-item{flex:0 0 190px}.playlist-index .screen-trash{margin-top:14px}.playlist-new-button{width:auto;margin-bottom:16px}.playlist-entry{flex-wrap:wrap}.playlist-entry .sequence-label{min-width:100px}.playlist-library #playlist-source-list{max-height:600px}.calendar-agenda.week{grid-template-columns:repeat(4,minmax(0,1fr))}.calendar-toolbar .period-switch{min-width:240px}.announcement-heading{align-items:start}.announcement-totals{gap:18px}.announcement-totals strong{font-size:23px}}
@media(max-width:700px){html{font-size:14px}.sidebar{display:block;position:sticky;padding:12px 14px 9px}.sidebar .brand-menu{width:178px;margin-bottom:10px}.brand-menu>summary.brand{min-height:43px;gap:10px;margin:0}.brand-menu .brand-mark{width:39px;height:39px;flex-basis:39px}.brand-menu>summary.brand>span:nth-child(2){font-size:15px}.brand-menu>summary.brand>span:nth-child(2) small{font-size:7px}.brand-menu>summary.brand>.brand-chevron{width:19px;height:22px;flex-basis:19px}.brand-dropdown{top:calc(100% + 9px);left:0;width:258px}.sidebar nav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:4px;padding-bottom:0;scrollbar-width:none}.sidebar nav button{flex-shrink:0;min-height:40px;padding:9px 12px;gap:8px}.sidebar nav button span{font-size:11px}.sidebar nav button .ui-icon{width:16px;height:16px}.sidebar~main{padding:20px 14px 28px}.workspace-bar{gap:10px;align-items:center;margin-bottom:23px}.company-context{gap:8px;flex:1;min-width:0}.company-context-label{display:none}.company-context select{min-width:0;width:100%;max-width:215px;font-size:12px;min-height:38px;padding:7px 26px 7px 11px}.company-context strong{font-size:13px}.local-label{font-size:8px;padding:5px 8px}.sidebar~main>header{align-items:start;flex-wrap:wrap;gap:16px;margin-bottom:25px}.sidebar~main>header>div:first-child{min-width:0;flex:1}.header-actions{width:auto;justify-content:flex-start;gap:8px}.header-actions button{font-size:11px;padding:9px 12px;min-height:40px}h1{font-size:28px;letter-spacing:-.6px}h2{font-size:18px}h3{font-size:15px}.eyebrow{font-size:9px;letter-spacing:1.2px}.muted{font-size:13px}.fine{font-size:11px}.metrics{gap:11px;margin-bottom:22px}.metric{padding:17px 15px;border-radius:13px}.metric .label{font-size:11px}.metric .number{font-size:27px;margin:10px 0 7px}.metric .sub{font-size:10px;line-height:1.6}.asset-card,.order-card,.campaign-card,.screen-card,.occupancy-card{padding:19px;border-radius:14px}.asset-grid,.screen-grid{grid-template-columns:1fr;gap:15px}.order-card .client{font-size:19px}.order-card .campaign-title{font-size:16px}.order-meta{font-size:11px;gap:9px}.order-meta strong{font-size:12px}.campaign-actions{gap:9px;margin-top:17px}.campaign-actions button{font-size:11px;min-height:39px;padding:9px 12px}.form-grid,.filter-grid,.check-grid{grid-template-columns:1fr;gap:0}.check-grid{gap:7px}label{font-size:12px;margin-bottom:16px}input,select,textarea{min-height:44px;font-size:14px;padding:11px 12px}input::placeholder{font-size:12px}.info{font-size:11px;padding:13px;line-height:1.8}dialog,.order-dialog,.screen-config-dialog,.preview-dialog{width:calc(100% - 22px);max-width:calc(100% - 22px);padding:23px 18px;border-radius:16px;max-height:calc(100dvh - 28px)}.dialog-header{margin-bottom:23px}.dialog-header h2{font-size:20px}.dialog-header button{width:31px;min-height:31px;flex-basis:31px}.form-actions{gap:9px}.form-actions button{flex:1 1 140px}.table-scroll{border-radius:12px}th{font-size:9px;padding:13px 14px}td{font-size:12px;padding:16px 14px}td strong{font-size:12px}td small{font-size:10px}.table-actions button{font-size:11px;min-height:36px}.library-filters{gap:10px;margin-bottom:20px}.library-filters input{flex-basis:100%;width:100%;min-width:0}.library-filters select{font-size:12px;flex:1 1 calc(50% - 5px);width:calc(50% - 5px)}.library-filters .fine{flex:1;font-size:10px}.library-view-switch{margin-left:auto}.library-view-switch button{font-size:11px;min-height:34px;padding:7px 11px}#asset-list.library-list .library-table{min-width:480px}#asset-list.library-list .library-table td:first-child{min-width:210px;padding:17px 14px}#asset-list.library-list .library-table td:last-child{min-width:240px;width:240px}#asset-list.library-list .media-actions{gap:17px}#asset-list:not(.library-list){grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}#asset-list:not(.library-list) .media-thumbnail{height:120px}#asset-list:not(.library-list) .media-card h3{font-size:13px}.media-actions .text-button{font-size:11px!important}.playlist-workspace{display:flex;flex-direction:column;gap:15px}.playlist-workspace>aside,.playlist-editor{width:100%;padding:18px;border-radius:14px}.playlist-index{order:0}.playlist-library{order:1}.playlist-editor{order:2}.playlist-workspace h2{font-size:18px}.playlist-workspace .eyebrow{font-size:9px}.playlist-new-button{font-size:12px;min-height:40px;width:auto;padding:9px 14px}.playlist-index #playlist-list{max-height:200px;min-height:0;display:flex;flex-direction:row;gap:10px;padding-bottom:4px}.playlist-index-item{flex:0 0 180px;padding:12px}.playlist-select b{font-size:13px}.playlist-select small{font-size:10px}.playlist-index-item>.text-button{font-size:10px!important}.playlist-library .playlist-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.playlist-library .playlist-categories button{font-size:11px;min-height:39px;padding:8px 4px}.playlist-library input{font-size:13px}.playlist-library #playlist-source-list{min-height:100px;max-height:300px}.playlist-source-card{padding:13px 10px;gap:8px}.playlist-source-card b{font-size:12px}.playlist-source-card small{font-size:10px}.source-add,.source-preview{width:30px;min-height:36px;height:36px}.playlist-entry{padding:13px 9px;flex-wrap:wrap;gap:6px}.playlist-entry .sequence-label{min-width:100px}.playlist-entry .sequence-label>b{font-size:12px}.playlist-entry .sequence-label small{font-size:10px}.playlist-entry .quiet{width:27px;min-height:34px;font-size:16px;padding:4px}.playlist-dropzone{min-height:180px;padding:10px}.playlist-editor #playlist-form>.fine{font-size:11px}.playlist-editor .form-actions button{font-size:12px}.report-filter-details summary{font-size:12px}.filter-panel{padding:18px}.report-actions button,.report-actions a{font-size:11px;min-height:39px;padding:9px 12px}.report-actions .fine{font-size:10px;line-height:1.7}.chart-heading{margin-top:24px;flex-direction:column;align-items:start;gap:16px}.chart-heading h2{font-size:19px}.period-switch{width:100%;min-width:0}.period-switch button{font-size:12px;min-height:39px;padding:9px 12px}.playback-chart{padding:18px 10px 14px;border-radius:14px}.playback-chart figcaption{font-size:10px;gap:8px 10px;line-height:1.6}.announcement-heading{flex-direction:column;gap:18px;margin:28px 0 18px}.announcement-heading h2{font-size:18px}.announcement-totals{width:100%;gap:18px;text-align:left}.announcement-totals>div{min-width:130px;flex:1}.announcement-totals span{font-size:10px}.announcement-totals strong{font-size:25px}.announcement-totals small{font-size:9px}.calendar-panel{padding:18px 10px;border-radius:14px;margin-top:20px}.calendar-toolbar{gap:11px}.calendar-toolbar>div:first-child{min-width:125px}.calendar-toolbar h2{font-size:20px}.calendar-controls button{font-size:11px;min-height:35px;padding:8px 9px}.calendar-toolbar .period-switch{min-width:0;flex-basis:100%;width:100%}.calendar-panel>.fine{font-size:11px;margin-bottom:18px}.calendar-weekdays span{font-size:9px;padding:10px 0}.calendar-cell{min-height:66px;padding:3px}.calendar-date{font-size:10px;width:24px;min-height:25px}.calendar-month .calendar-event{padding:4px 2px;border-left-width:2px}.calendar-month .calendar-event b{font-size:8px}.calendar-month .calendar-event small{display:none}.calendar-year{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.calendar-year section{padding:8px}.calendar-year h3{font-size:12px}.calendar-mini .calendar-date{font-size:8px;width:20px}.calendar-legend{font-size:10px;gap:7px}.calendar-agenda.week{grid-template-columns:1fr}.calendar-agenda section{min-height:75px;padding:12px}.schedule-card{padding:18px;flex-wrap:wrap;gap:16px}.schedule-card>div{flex-basis:100%}.schedule-card h3{font-size:16px}.schedule-card p{font-size:12px}.schedule-card small{font-size:11px}.schedule-card button{min-height:39px;font-size:12px}.schedule-weekdays{gap:10px 15px}.schedule-weekdays label{font-size:12px!important}.subcampaign-row{flex-wrap:wrap;gap:10px}.subcampaign-row>div{flex-basis:100%}.subcampaign-row small{font-size:11px}.subcampaign-row button{font-size:11px}.preview-with-links{grid-template-columns:1fr}.preview-dialog #media-preview-stage{height:40dvh;min-height:190px}.report-sheet{padding:24px 14px;margin:0 auto!important}.report-brand h1{font-size:25px}.auth-card{padding:28px 24px}.auth-card h1{font-size:29px}.brand-menu .ui-icon{width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){button,.brand-chevron svg{transition:none}}

[hidden]{display:none!important}@media(max-width:600px){.section-heading>.muted{width:100%;flex:1 1 100%;max-width:none}}
/* Biblioteca organizada por carpetas. */
.library-layout{display:grid;grid-template-columns:235px minmax(0,1fr);align-items:start;gap:22px}.library-content{min-width:0}.library-content>h2{margin:0 0 18px;font-size:18px}.folder-panel{padding:18px 12px;background:#fff;border:1px solid #e0e7f0;border-radius:16px;position:sticky;top:95px}.folder-heading{display:flex;align-items:center;justify-content:space-between;padding:0 6px}.folder-heading h2{font-size:17px;margin:0}.folder-heading button{background:#edf3ff;color:#2563eb;min-height:34px;width:34px;padding:4px;font-size:20px}.folder-panel>.fine{padding:0 6px;font-size:11px;margin:12px 0 18px}.folder-row{display:flex;align-items:center;gap:2px;border:1px solid transparent;border-radius:10px;min-width:0;margin:3px 0}.folder-filter{display:flex;align-items:center;justify-content:space-between;gap:9px;flex:1;min-width:0;width:100%;padding:11px 9px;font-size:12px;color:#496483;text-align:left;background:transparent;border:0;font-weight:500;line-height:1.5}.folder-filter span{overflow-wrap:anywhere}.folder-filter small{color:#93a3ba;font-size:10px;flex:none}.folder-row.selected,.folder-filter.selected{background:#edf4ff;color:#1c59c7;border-radius:10px}.folder-row:hover,.folder-filter:hover{background:#f2f6fd}.folder-grip,.folder-edit,.asset-grip{flex:none;border:0;background:transparent;color:#91a5bf;box-shadow:none;padding:3px;width:25px;min-height:32px;cursor:grab;font-size:19px;touch-action:none}.folder-edit{cursor:pointer;width:25px}.folder-grip:hover,.asset-grip:hover,.folder-edit:hover{background:#e5efff;color:#225de0}.folder-trash{margin-top:22px;padding:16px 7px 0;border-top:1px solid #e4eaf3;font-size:11px;color:#8393aa}.folder-trash summary{cursor:pointer}.folder-trash #folder-trash-list>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.folder-trash span{overflow-wrap:anywhere;min-width:0}.folder-trash button{font-size:10px!important}.library-asset-name{display:flex;align-items:center;gap:8px;min-width:0}.library-asset-name strong,.library-asset-name h3{min-width:0;overflow-wrap:anywhere}.library-asset-name h3{margin:0}.folder-drag-ghost{position:fixed;z-index:2000;pointer-events:none;background:#1c58dc;color:white;padding:10px 15px;border-radius:10px;font-size:12px;box-shadow:0 10px 25px #12327133}.folder-drop-over{background:#dceaff!important;border:1px dashed #2563eb!important;box-shadow:0 0 0 3px #2563eb18}.folder-dragging{cursor:grabbing!important;user-select:none}.library-content .library-filters{flex-wrap:wrap}.library-content .library-filters input{min-width:160px}.library-content .library-filters select{min-width:130px}.library-content .asset-grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr))}@media(max-width:1000px){.library-layout{grid-template-columns:205px minmax(0,1fr);gap:15px}.folder-panel{padding:16px 8px}.library-content .library-filters>*{flex-grow:1}.library-content .library-filters input{flex-basis:100%}}@media(max-width:680px){.library-layout{grid-template-columns:1fr;gap:20px}.folder-panel{position:static;padding:17px 12px}.folder-panel>.fine{margin-bottom:12px}.folder-row{min-height:43px}.folder-grip,.folder-edit,.asset-grip{width:32px;min-height:38px}.folder-filter{font-size:13px}.folder-panel #folder-tree{max-height:270px;overflow:auto}.folder-trash{margin-top:14px}.library-content .library-filters{gap:9px}.library-content>h2{font-size:18px}.folder-panel .folder-heading button{min-height:38px;width:38px}}
/* Selección múltiple y carga masiva. */
.bulk-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 15px;margin:0 0 17px;background:#edf4ff;border:1px solid #dae6fa;border-radius:11px;font-size:12px}.bulk-toolbar>label{display:inline-flex;flex-direction:row;align-items:center;gap:9px;margin:0;font-size:12px;font-weight:500}.bulk-toolbar button{min-height:34px;padding:7px 11px;font-size:11px}.bulk-count{color:#245dc4;font-weight:700}.bulk-pick{display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:22px;height:25px;margin:0 0 9px!important;padding:0;vertical-align:middle;cursor:pointer}.bulk-pick input{width:17px;height:17px}.bulk-pick[hidden]{display:none!important}td>.bulk-pick{float:left;margin:4px 7px 0 0!important}.folder-row>.bulk-pick{width:19px;margin:0 1px 0 4px!important}.folder-bulk-toolbar{padding:8px 5px;gap:7px;font-size:10px}.folder-bulk-toolbar>label{font-size:10px}.folder-bulk-toolbar .bulk-count{font-size:10px}.folder-bulk-toolbar button{font-size:10px;min-height:30px;padding:5px 7px}.bulk-record-trash{margin-top:25px;border-top:1px solid #e0e7f0;padding:18px 0;color:#7d90ac;font-size:12px}.bulk-record-trash summary{cursor:pointer}.bulk-delete-names{max-height:240px;overflow:auto;background:#f6f9ff;border:1px solid #e2eaf6;border-radius:10px;padding:10px 14px;margin:18px 0}.bulk-delete-names>div{padding:7px 0;border-bottom:1px solid #e3eafa;font-size:13px;overflow-wrap:anywhere}.bulk-delete-names>div:last-child{border:0}.bulk-upload-dialog{width:min(1000px,calc(100% - 32px))}.bulk-upload-list .table-scroll{max-height:52dvh;overflow:auto;margin-bottom:18px}.bulk-upload-list table{min-width:630px}.bulk-upload-list th{position:sticky;top:0;background:#f3f7ff;z-index:1}.bulk-upload-list td:first-child{width:50%;min-width:260px}.bulk-upload-list td:nth-child(2){width:100px}.bulk-upload-list td input{width:100%;min-height:38px}.bulk-upload-list td input[type=number]{width:95px}.upload-state{font-size:11px;color:#6b839e;overflow-wrap:anywhere}.upload-state.error{color:#be4055}.upload-progress{font-size:13px;line-height:1.6;color:#235cc5;font-weight:600;overflow-wrap:anywhere}.bulk-upload-dialog input[type=file]{width:100%}.bulk-upload-dialog .primary{min-width:180px}@media(max-width:600px){.bulk-toolbar{padding:11px;gap:10px}.bulk-toolbar>label{font-size:11px}.bulk-toolbar button{font-size:10px}.bulk-upload-dialog{padding:20px}.folder-bulk-toolbar{padding:8px}.bulk-pick{width:28px;height:32px}.bulk-pick input{width:18px;height:18px}}
