:root{--navy:#103a5c;--navy2:#0b2a43;--blue:#176b87;--cyan:#64ccc5;--sand:#f4ebd0;--ink:#16313f;--muted:#6c7c85;--line:#d7e0e5;--bg:#f3f6f8;--white:#fff;--green:#2f8f5b;--green-bg:#e0f4e8;--amber:#9b6a00;--amber-bg:#fff1c7;--red:#b53b3b;--red-bg:#f9d7d7;--shadow:0 12px 30px rgba(13,47,68,.10)}
[data-theme="dark"]{--ink:#e8f1f5;--muted:#a8bbc5;--line:#35505e;--bg:#102631;--white:#173440;--sand:#6b5a2b;--green-bg:#21483a;--amber-bg:#55451d;--red-bg:#522b31;--shadow:0 12px 30px rgba(0,0,0,.28)}
@media(prefers-color-scheme:dark){[data-theme="system"]{--ink:#e8f1f5;--muted:#a8bbc5;--line:#35505e;--bg:#102631;--white:#173440;--sand:#6b5a2b;--green-bg:#21483a;--amber-bg:#55451d;--red-bg:#522b31;--shadow:0 12px 30px rgba(0,0,0,.28)}}
body{background:var(--bg);color:var(--ink)}
.boot-card .boot-version{color:#8a98a0;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.boot-screen{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:22px;background:linear-gradient(145deg,var(--navy2),var(--blue))}.boot-card{width:min(390px,92vw);display:grid;justify-items:center;gap:10px;padding:30px;border-radius:20px;background:#fff;color:#16313f;box-shadow:0 30px 90px rgba(0,0,0,.3);text-align:center}.initial-logo-crop{width:min(280px,85%);aspect-ratio:1200/485;overflow:hidden}.initial-logo-crop img{display:block;width:100%;height:auto}.boot-card strong{font-size:20px}.boot-card span{color:#6c7c85;font-size:12px}.boot-card i{width:30px;height:30px;margin-top:6px;border:3px solid #d7e0e5;border-top-color:var(--blue);border-radius:50%;animation:bootSpin .8s linear infinite}@keyframes bootSpin{to{transform:rotate(360deg)}}.boot-card .btn{margin-top:8px}
[data-theme="dark"] .topbar,[data-theme="dark"] .card,[data-theme="dark"] .kpi,[data-theme="dark"] .project-card,[data-theme="dark"] .table-wrap,[data-theme="dark"] .modal-panel,[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea,[data-theme="dark"] .btn.ghost,[data-theme="system"] .topbar,[data-theme="system"] .card,[data-theme="system"] .kpi,[data-theme="system"] .project-card,[data-theme="system"] .table-wrap,[data-theme="system"] .modal-panel{background:var(--white);color:var(--ink)}
.welcome-screen{position:fixed;inset:0;z-index:300;background:linear-gradient(145deg,var(--navy2),var(--blue));display:grid;place-items:center;padding:24px;overflow:auto}.welcome-panel{width:min(760px,96vw);background:var(--white);color:var(--ink);border-radius:22px;padding:32px;box-shadow:0 35px 100px rgba(0,0,0,.4);text-align:center}.welcome-panel>img{width:min(260px,75%);height:auto}.welcome-kicker{display:block;color:var(--blue);font-weight:850;text-transform:uppercase;letter-spacing:.12em;font-size:12px;margin-top:8px}.welcome-panel h1{margin:8px 0;font-size:30px}.welcome-panel>p{color:var(--muted);margin:0 0 22px}.welcome-projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;text-align:left;max-height:290px;overflow:auto}.welcome-project{border:1px solid var(--line);border-radius:12px;padding:14px;background:var(--white);color:var(--ink);cursor:pointer;text-align:left;display:grid;gap:5px}.welcome-project:hover{background:var(--blue);border-color:var(--blue);color:#fff}.welcome-project span{font-size:12px;color:var(--muted)}.welcome-project:hover span{color:rgba(255,255,255,.8)}.welcome-actions{display:flex;justify-content:center;gap:10px;margin-top:18px}.welcome-later{margin-top:16px;border:0;background:transparent;color:var(--muted);text-decoration:underline;cursor:pointer}.about-hero{max-width:900px;margin:auto;text-align:center}.about-hero img{width:min(480px,90%);height:auto}.about-hero h2{font-size:25px;max-width:700px;margin:22px auto 12px}.about-hero p{max-width:700px;margin:auto;color:var(--muted);line-height:1.7}.about-signature{display:flex;align-items:center;justify-content:center;gap:13px;margin:28px auto 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.about-signature strong{color:var(--ink);letter-spacing:.08em}.about-signature>i{width:3px;height:3px;border-radius:50%;background:var(--line)}.about-powered{display:inline-flex;align-items:center;gap:7px}.about-powered img{width:auto;height:34px;object-fit:contain}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}.hidden{display:none!important}
.app-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--navy2),var(--navy));color:#fff;padding:24px 16px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 20px;border-bottom:1px solid rgba(255,255,255,.12)}.brand strong{display:block;letter-spacing:.12em;font-size:18px}.brand span{display:block;font-size:12px;color:rgba(255,255,255,.68);margin-top:2px}.brand-logo{width:58px;height:42px;padding:6px;border-radius:9px;background:#fff;display:grid;place-items:center;box-shadow:0 5px 14px rgba(0,0,0,.16)}.brand-logo img{display:block;width:100%;height:100%;object-fit:contain}
nav{display:flex;flex-direction:column;gap:8px;margin-top:14px;overflow:auto}.nav-group{display:grid;gap:2px}.nav-group-items{display:grid;gap:2px}.nav-group-items>button{border:0;background:transparent;color:rgba(255,255,255,.78);padding:9px 10px;border-radius:9px;text-align:left;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px}.nav-group-items>button>span{width:18px;text-align:center;font-weight:800}.nav-group-items>button:hover,.nav-group-items>button.active{background:rgba(100,204,197,.16);color:#fff}.nav-group-items>button.active{box-shadow:inset 3px 0 var(--cyan)}.nav-group-toggle{width:100%;border:0;background:transparent;color:rgba(255,255,255,.48);padding:7px 9px 4px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;text-align:left;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.nav-group-toggle:hover{color:rgba(255,255,255,.8)}.nav-group-toggle b{font-size:13px;transition:transform .18s}.nav-group.collapsed .nav-group-items{display:none}.nav-group.collapsed .nav-group-toggle b{transform:rotate(-90deg)}.sidebar-bottom{margin-top:auto;display:grid;gap:8px}.side-action{border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;padding:9px;border-radius:9px;cursor:pointer;text-align:left}.side-action:hover{background:rgba(255,255,255,.08)}.sidebar-bottom small{color:rgba(255,255,255,.55);padding:8px}
.workspace{min-width:0}.topbar{height:92px;padding:18px 28px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:10}.topbar h1{font-size:22px;margin:0}.topbar p{margin:4px 0 0;color:var(--muted);font-size:13px}.top-actions{display:flex;align-items:center;gap:14px}.user-name,.project-switcher{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.user-name input,.project-switcher select{border:1px solid var(--line);border-radius:8px;padding:7px 9px;color:var(--ink);background:#fff}.user-name input{width:120px}.project-switcher select{width:210px}.content{padding:26px;max-width:1700px;margin:auto}
.notification-center{position:relative}.notification-btn{position:relative;width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--blue);display:grid;place-items:center;padding:0;cursor:pointer}.notification-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.mobile-user-initials{display:none;font-size:12px;font-weight:900;letter-spacing:.03em}.notification-btn:hover{background:#e7f5f7}.notification-btn:focus-visible{outline:3px solid rgba(100,204,197,.45);outline-offset:2px}.notification-btn b{position:absolute;right:-5px;top:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;display:grid;place-items:center;background:var(--red);color:#fff;font-size:10px;border:2px solid #fff}.notification-panel{position:absolute;right:0;top:48px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 55px rgba(7,29,44,.22);overflow:hidden;z-index:30}.notification-head{padding:13px 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.notification-head button,.notification-view-all{border:0;background:transparent;color:var(--blue);font:inherit;font-size:11px;font-weight:750;cursor:pointer}.notification-mini-list{max-height:440px;overflow:auto}.notification-card{width:100%;display:grid;grid-template-columns:34px 1fr;gap:10px;text-align:left;padding:12px 14px;border:0;border-bottom:1px solid #edf1f3;background:#fff;color:var(--ink);cursor:pointer}.notification-card:hover{background:#f1f8f9}.notification-card.unread{background:#f5fbfc}.notification-card.unread strong:after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--blue);margin-left:7px}.notification-card>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}.notification-card strong{font-size:12px}.notification-card small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis}.notification-card time{font-size:10px;color:#91a0a8}.notification-symbol{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;font-weight:900}.notification-symbol.critical{background:#ffe9e8;color:var(--red)}.notification-symbol.warning{background:#fff2cf;color:#946800}.notification-symbol.info{background:#e4f5f7;color:var(--blue)}.notification-view-all{display:block;width:100%;padding:12px;border-top:1px solid var(--line);font-size:12px}.notification-empty{padding:24px;text-align:center;color:var(--muted);font-size:12px}.notification-page-list{display:grid;gap:8px}.notification-page-list .notification-card{border:1px solid var(--line);border-radius:11px;grid-template-columns:40px 1fr}.notification-page-list .notification-symbol{width:36px;height:36px}
.document-artists{display:grid;gap:12px}.document-artist{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden}.document-artist>summary{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px 17px;cursor:pointer;list-style:none;transition:.18s}.document-artist>summary::-webkit-details-marker{display:none}.document-artist>summary:hover{background:#edf8fa}.document-artist[open]>summary{background:#e7f5f7;border-bottom:1px solid var(--line)}.document-artist-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--navy);color:#fff;font-weight:900;font-size:17px}.document-artist summary>span:nth-child(2){display:grid;gap:3px}.document-artist summary strong{font-size:16px}.document-artist summary small{font-size:10px;color:var(--muted)}.document-artist-chevron{font-size:20px;color:var(--blue);transition:.18s}.document-artist[open] .document-artist-chevron{transform:rotate(180deg)}.document-artist>.document-groups{padding:14px;background:#f7fafb}.document-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.document-group{background:var(--white);border:1px solid var(--line);border-radius:14px;overflow:hidden}.document-group>header{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;padding:16px;border-bottom:1px solid var(--line)}.document-group h2{font-size:17px;margin:3px 0}.document-group header p{margin:0;color:var(--muted);font-size:11px}.eyebrow{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--blue)}.document-latest{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px}.document-file-icon{width:42px;height:42px;border-radius:9px;background:#e6f3f6;color:var(--blue);display:grid;place-items:center;font-size:12px;font-weight:900}.document-latest>div:nth-child(2),.document-version>span{display:flex;flex-direction:column;gap:4px;min-width:0}.document-latest strong,.document-version strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.document-latest small,.document-version small{font-size:10px;color:var(--muted)}.document-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.document-version-toggle{width:100%;border:0;border-top:1px solid var(--line);padding:10px 15px;background:#f8fbfc;color:var(--blue);font-weight:750;font-size:11px;cursor:pointer;text-align:left}.document-versions{border-top:1px solid var(--line)}.document-version{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 15px;border-bottom:1px solid #edf1f3}.document-preview{min-height:60vh}.document-preview-frame{width:100%;height:68vh;border:1px solid var(--line);border-radius:8px}.document-preview-image{display:block;max-width:100%;max-height:68vh;margin:auto;border-radius:8px}
.backline-tabs{display:flex;gap:5px;margin-bottom:12px;background:#eaf0f2;padding:4px;border-radius:10px;width:max-content}.backline-tabs button{border:0;border-radius:7px;background:transparent;padding:9px 15px;font:inherit;font-size:12px;font-weight:800;color:var(--muted);cursor:pointer}.backline-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(7,29,44,.08)}.backline-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:15px}.backline-summary span{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px;color:var(--muted);font-size:11px}.backline-summary strong{display:block;color:var(--blue);font-size:22px;margin-bottom:2px}.backline-summary .warning strong{color:#a26100}.supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.supplier-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.supplier-card>header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:#f3f8f9;border-bottom:1px solid var(--line)}.supplier-card header span{font-size:9px;text-transform:uppercase;color:var(--muted);letter-spacing:.07em}.supplier-card h2{font-size:16px;margin:3px 0 0}.supplier-card>header>strong{color:var(--blue)}.supplier-card p{display:grid;grid-template-columns:38px 1fr;gap:3px 9px;padding:10px 15px;margin:0;border-bottom:1px solid #edf1f3}.supplier-card p>b{grid-row:1/3;color:var(--blue)}.supplier-card p>span{font-size:12px}.supplier-card p>small{font-size:10px;color:var(--muted)}
.input-smart-tabs{display:flex;gap:5px;margin-bottom:12px;background:#eaf0f2;padding:4px;border-radius:10px;width:max-content}.input-smart-tabs button{border:0;border-radius:7px;background:transparent;padding:9px 15px;font:inherit;font-size:12px;font-weight:800;color:var(--muted);cursor:pointer}.input-smart-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(7,29,44,.08)}.input-analysis-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}.input-analysis-summary span{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px;color:var(--muted);font-size:11px}.input-analysis-summary strong{display:block;color:var(--blue);font-size:23px}.input-analysis-summary .danger strong{color:var(--red)}.input-conflicts{margin-bottom:13px}.input-conflicts .card-body{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.input-conflicts p{display:flex;flex-direction:column;gap:3px;margin:0;padding:9px;border-radius:8px;background:#fff0ef}.input-conflicts p b{font-size:12px;color:var(--red)}.input-conflicts p span{font-size:10px;color:var(--muted)}.notice.success{border-left-color:#31a36c;background:#eaf8f1}.notice.danger{border-left-color:var(--red);background:#fff0ef}.day-patch-wrap{max-height:65vh}.day-patch-table{font-size:11px}.day-patch-table th{position:sticky;top:0;z-index:2;min-width:145px}.day-patch-table th:first-child{min-width:48px}.day-patch-table td{vertical-align:top}.day-patch-table td b,.day-patch-table td small{display:block}.day-patch-table td small{color:var(--muted);margin-top:3px}
.shift-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.shift-view-tabs{display:flex;gap:4px;padding:4px;border-radius:10px;background:#e7eef1}.shift-view-tabs button{border:0;background:transparent;color:var(--muted);padding:9px 14px;border-radius:7px;font-weight:800;font-size:12px;cursor:pointer}.shift-view-tabs button.active{background:var(--white);color:var(--blue);box-shadow:0 2px 9px rgba(13,47,68,.1)}.shift-days{display:flex;gap:8px;overflow:auto;padding:1px 1px 10px}.shift-days button{position:relative;min-width:112px;display:grid;grid-template-columns:1fr auto;gap:2px 9px;text-align:left;border:1px solid var(--line);border-radius:11px;background:var(--white);color:var(--ink);padding:10px 12px;cursor:pointer}.shift-days button strong{text-transform:capitalize;font-size:12px}.shift-days button span{grid-column:1;font-size:10px;color:var(--muted)}.shift-days button b{grid-column:2;grid-row:1/3;align-self:center;display:grid;place-items:center;min-width:27px;height:27px;padding:0 5px;border-radius:50%;background:var(--bg);color:var(--blue);font-size:11px}.shift-days button.active{border-color:var(--blue);background:var(--blue);color:#fff}.shift-days button.active span{color:rgba(255,255,255,.72)}.shift-days button.active b{background:rgba(255,255,255,.18);color:#fff}.shift-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:4px 0 15px}.shift-summary span{border:1px solid var(--line);border-radius:10px;background:var(--white);padding:11px 13px;font-size:11px;color:var(--muted)}.shift-summary b{display:block;font-size:21px;color:var(--blue)}.shift-summary .warning b{color:var(--red)}.shift-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(285px,1fr));gap:13px;align-items:start}.shift-lane{background:var(--white);border:1px solid var(--line);border-radius:13px;overflow:hidden}.shift-lane>header{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid var(--line);background:linear-gradient(145deg,var(--white),var(--bg))}.shift-lane h2{margin:0;font-size:14px}.shift-lane header small{color:var(--muted);font-size:10px}.shift-department-dot{width:10px;height:32px;border-radius:5px;background:#176b87}.shift-lane-cards{display:grid;gap:8px;padding:9px}.shift-card{position:relative;border:1px solid var(--line);border-left:5px solid #176b87;border-radius:10px;padding:11px;background:var(--white);cursor:pointer;transition:transform .15s,box-shadow .15s}.shift-card:hover,.shift-card:focus{transform:translateY(-1px);box-shadow:0 8px 20px rgba(13,47,68,.11);outline:0}.shift-card-time{display:flex;align-items:center;gap:6px;color:var(--blue);font-variant-numeric:tabular-nums;font-size:12px}.shift-card-time small{margin-left:auto;color:var(--muted);font-size:9px;background:var(--bg);padding:3px 5px;border-radius:5px}.shift-card h3{margin:9px 0 2px;font-size:14px}.shift-card>p{margin:0;color:var(--muted);font-size:11px}.shift-card-meta{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.shift-card-meta span{background:var(--bg);border-radius:6px;padding:4px 6px;font-size:9px;color:var(--muted)}.shift-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.shift-delete{border:0;background:transparent;color:var(--muted);font-size:18px;cursor:pointer;line-height:1}.shift-delete:hover{color:var(--red)}.shift-color-0{border-left-color:#176b87}.shift-department-dot.shift-color-0{background:#176b87}.shift-color-1{border-left-color:#7656a8}.shift-department-dot.shift-color-1{background:#7656a8}.shift-color-2{border-left-color:#d28124}.shift-department-dot.shift-color-2{background:#d28124}.shift-color-3{border-left-color:#2f8f5b}.shift-department-dot.shift-color-3{background:#2f8f5b}.shift-color-4{border-left-color:#b84f68}.shift-department-dot.shift-color-4{background:#b84f68}.shift-color-5{border-left-color:#248c9f}.shift-department-dot.shift-color-5{background:#248c9f}.shift-color-6{border-left-color:#8b7134}.shift-department-dot.shift-color-6{background:#8b7134}.shift-empty{display:grid;place-items:center;text-align:center;padding:65px 20px;background:var(--white);border:1px dashed var(--line);border-radius:14px}.shift-empty>span{font-size:42px;color:var(--cyan)}.shift-empty h2{margin:10px 0 2px}.shift-empty p{margin:0 0 16px;color:var(--muted);font-size:12px}
.report-center{display:grid;gap:16px}.report-picker{display:grid;gap:13px}.report-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.report-type-grid button{display:grid;grid-template-columns:36px 1fr;gap:3px 10px;text-align:left;border:1px solid var(--line);border-radius:11px;background:var(--white);color:var(--ink);padding:12px;cursor:pointer}.report-type-grid button>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#e7f5f7;color:var(--blue);font-size:18px;font-weight:900}.report-type-grid strong{font-size:12px}.report-type-grid small{color:var(--muted);font-size:9px}.report-type-grid button:hover,.report-type-grid button.active{border-color:var(--blue);box-shadow:0 5px 16px rgba(13,47,68,.09)}.report-type-grid button.active{background:#f3fbfc}.report-filters{display:flex;align-items:end;gap:9px;flex-wrap:wrap;padding:12px;background:var(--white);border:1px solid var(--line);border-radius:11px}.report-filters label{display:grid;gap:5px;font-size:10px;font-weight:800}.report-filters select{min-width:190px;border:1px solid var(--line);border-radius:8px;padding:9px;background:var(--white);color:var(--ink)}.report-document{min-height:420px;background:#fff;color:#172f3b;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 5px 18px rgba(13,47,68,.06);overflow:auto}.report-document-header{display:flex;justify-content:space-between;gap:25px;align-items:flex-start;padding-bottom:15px;border-bottom:3px solid #103a5c;margin-bottom:18px}.report-document-header span{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#176b87;font-weight:850}.report-document-header h1{font-size:25px;margin:5px 0 3px}.report-document-header p,.report-document-header small{display:block;margin:0;color:#6c7c85;font-size:10px}.report-document-header>div:last-child{text-align:right}.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:22px}.report-kpis span{border:1px solid #d7e0e5;border-radius:8px;padding:10px;color:#6c7c85;font-size:9px}.report-kpis b{display:block;color:#176b87;font-size:22px}.report-document>h2{margin:24px 0 8px;font-size:14px}.report-table{width:100%;min-width:0;border-collapse:collapse}.report-table th{position:static;background:#103a5c;color:#fff;padding:7px 8px;font-size:8px}.report-table td{padding:7px 8px;font-size:9px;border-bottom:1px solid #dfe6ea}.report-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.report-input-list{break-inside:avoid}.report-input-list h2{font-size:13px;margin:0}.report-input-list>p{font-size:8px;color:#6c7c85;margin:2px 0 7px}.report-input-list .report-table th,.report-input-list .report-table td{padding:4px 5px}
.btn{border:0;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.btn.primary{background:var(--blue);color:#fff}.btn.primary:hover{background:#115b75}.btn.secondary{background:var(--cyan);color:var(--navy2)}.btn.ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.danger{background:var(--red-bg);color:var(--red)}.btn.small{padding:6px 9px;font-size:12px}.btn.full{width:100%}.icon-btn{border:0;background:transparent;font-size:24px;cursor:pointer;color:var(--ink)}.mobile-only{display:none}
.cassette-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-width:2px;font-weight:850;letter-spacing:.01em;box-shadow:inset 0 1px rgba(255,255,255,.2),0 3px 0 rgba(5,18,30,.28);transform:translateY(0);transition:background .16s,border-color .16s,box-shadow .16s,transform .08s}.cassette-control:active{box-shadow:inset 0 1px 3px rgba(0,0,0,.2),0 1px 0 rgba(5,18,30,.25);transform:translateY(2px)}.cassette-symbol{display:inline-flex;align-items:center;justify-content:center;min-width:18px;font-size:14px;line-height:1}.btn.cassette-play[data-workflow-action="on_stage"]{border:2px solid #176b3c;background:#238a4f;color:#fff}.btn.cassette-play[data-workflow-action="on_stage"]:hover{border-color:#125832;background:#1d7543}.btn.cassette-stop[data-workflow-action="off_stage"]{border:2px solid #991b1b;background:#dc2626;color:#fff}.btn.cassette-stop[data-workflow-action="off_stage"]:hover{border-color:#7f1d1d;background:#b91c1c}.btn.cassette-play[data-workflow-action="soundcheck_start"]{border:2px solid #176b3c;background:#238a4f;color:#fff}.btn.cassette-play[data-workflow-action="soundcheck_start"]:hover{border-color:#125832;background:#1d7543}.btn.cassette-stop[data-workflow-action="soundcheck_loadout"]{border:2px solid #991b1b;background:#dc2626;color:#fff}.btn.cassette-stop[data-workflow-action="soundcheck_loadout"]:hover{border-color:#7f1d1d;background:#b91c1c}.btn.cassette-rewind{border:2px solid #60758a;background:#e8edf2;color:#20364a}.btn.cassette-rewind:hover{border-color:#41566b;background:#d8e0e8;color:#152b3e}.cassette-control:focus-visible{outline:3px solid rgba(88,190,225,.38);outline-offset:2px}.btn.cassette-stop:focus-visible{outline-color:rgba(248,113,113,.45)}.btn.cassette-play:focus-visible{outline-color:rgba(74,222,128,.42)}
.user-session{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}.user-session strong{font-size:12px;color:var(--ink)}.user-session span{font-size:10px;color:var(--muted);margin-top:3px}.signout-link{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid rgba(181,59,59,.38);border-radius:9px;background:var(--red-bg);color:var(--red);font:inherit;font-size:12px;font-weight:850;cursor:pointer;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s}.signout-link::before{content:"↪";font-size:15px;line-height:1;transform:rotate(180deg)}.signout-link:hover{border-color:var(--red);background:var(--red);color:#fff;box-shadow:0 5px 14px rgba(181,59,59,.22);transform:translateY(-1px)}.signout-link:focus-visible{outline:3px solid rgba(181,59,59,.24);outline-offset:2px}.access-role{display:flex;flex-direction:column;gap:3px}.access-role small{color:var(--muted)}.permission-list{display:flex;gap:6px;flex-wrap:wrap}.read-only [data-edit],.read-only [data-delete],.read-only [data-new],.read-only [data-edit-row],.read-only [data-delete-row],.read-only [data-delete-doc],.read-only [data-delete-shift],.read-only [data-edit-schedule],.read-only [data-edit-artist],.read-only [data-artist-inputs],.read-only [data-edit-project],.read-only #addBtn,.read-only #addShift,.read-only #emptyAddShift,.read-only #newProject,.read-only #importProject,.read-only .sticky-actions,.read-only #quickAdd,.read-only #settingsForm button[type="submit"]{display:none!important}.read-only .input-table input:disabled,.read-only .input-table select:disabled,.read-only #settingsForm input:disabled,.read-only #settingsForm select:disabled,.read-only #settingsForm textarea:disabled{opacity:1;color:var(--ink);background:#f7f9fa;cursor:default}
.mobile-session{align-items:center;justify-content:space-between;gap:10px;padding:11px 10px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.06)}.mobile-session>div{display:grid;min-width:0}.mobile-session small{padding:0;color:rgba(255,255,255,.5);font-size:9px;text-transform:uppercase;letter-spacing:.07em}.mobile-session strong,.mobile-session span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-session strong{font-size:12px;color:#fff;margin-top:3px}.mobile-session span{font-size:10px;color:rgba(255,255,255,.62);margin-top:2px}.mobile-session button{min-height:40px;display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.24);border-radius:8px;padding:8px 12px;background:#b53b3b;color:#fff;font:inherit;font-size:11px;font-weight:850;cursor:pointer;box-shadow:0 5px 14px rgba(0,0,0,.18)}.mobile-session button::before{content:"↪";font-size:14px;line-height:1;transform:rotate(180deg)}.mobile-session button:hover{background:#c94a4a}.mobile-session button:focus-visible{outline:3px solid rgba(255,255,255,.38);outline-offset:2px}
.module-read-only [data-edit],.module-read-only [data-delete],.module-read-only [data-new],.module-read-only [data-edit-row],.module-read-only [data-delete-row],.module-read-only [data-delete-doc],.module-read-only [data-delete-shift],.module-read-only [data-status-doc],.module-read-only [data-new-version],.module-read-only [data-edit-schedule],.module-read-only [data-edit-artist],.module-read-only [data-artist-inputs],.module-read-only [data-edit-project],.module-read-only #addBtn,.module-read-only #addShift,.module-read-only #emptyAddShift,.module-read-only #newProject,.module-read-only #importProject,.module-read-only .sticky-actions,.module-read-only #quickAdd,.module-read-only #settingsForm button[type="submit"]{display:none!important}
.module-access-picker{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;padding:13px;background:#f8fbfc}.module-access-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.module-access-heading>div{display:flex;flex-direction:column;gap:3px}.module-access-heading small{color:var(--muted);font-weight:500}.permission-grid{display:grid;grid-template-columns:minmax(180px,1fr) 90px 90px;align-items:center;background:#fff;border:1px solid #e1e8eb;border-radius:8px;overflow:hidden}.permission-grid>*{padding:8px 10px;border-bottom:1px solid #e8edef}.permission-grid>*:nth-last-child(-n+3){border-bottom:0}.permission-grid>strong{background:#edf4f6;font-size:11px;text-transform:uppercase;letter-spacing:.03em}.permission-grid label{align-items:center!important}.permission-grid input{width:auto!important;margin:auto}
.history-list{display:grid;gap:10px}.history-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px 16px;background:var(--white);border:1px solid var(--line);border-radius:12px}.history-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e7f5f7;color:var(--blue);font-weight:900;font-size:18px}.history-main{display:flex;flex-direction:column;gap:3px}.history-main strong{font-size:13px}.history-main span{font-size:12px;color:var(--ink)}.history-main small{font-size:11px;color:var(--muted)}.history-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.history-detail{overflow:auto}.history-detail table{width:100%;border-collapse:collapse}.history-detail th,.history-detail td{padding:9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;white-space:normal}.history-detail td{max-width:320px;overflow-wrap:anywhere}
@media(max-width:720px){.history-item{grid-template-columns:36px 1fr}.history-actions{grid-column:1/-1;justify-content:stretch}.history-actions .btn{flex:1}.permission-grid{grid-template-columns:minmax(130px,1fr) 70px 70px}}
.grid{display:grid;gap:18px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 4px 14px rgba(13,47,68,.04);text-align:left}.kpi-link{width:100%;font:inherit;color:inherit;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s,background-color .18s}.kpi-link:hover{transform:translateY(-2px);background:var(--blue);border-color:var(--blue);box-shadow:0 12px 26px rgba(13,47,68,.22)}.kpi-link:hover .label,.kpi-link:hover .value,.kpi-link:hover .hint,.kpi-link.alert:hover .value{color:#fff}.kpi-link:focus-visible{outline:3px solid rgba(100,204,197,.45);outline-offset:3px}.kpi .label{color:var(--muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.kpi .value{font-size:34px;font-weight:850;color:var(--navy);margin-top:6px}.kpi .hint{font-size:12px;color:var(--muted);margin-top:2px}.kpi.alert .value{color:var(--red)}.section-grid{grid-template-columns:1.6fr 1fr;margin-top:18px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 14px rgba(13,47,68,.04);overflow:hidden}.card-header{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.card-header h2,.card-header h3{margin:0;font-size:16px}.card-body{padding:18px}.day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.day-card{border:1px solid var(--line);border-radius:12px;padding:14px;background:linear-gradient(145deg,#fff,#f8fbfc)}.day-card header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.day-card h3{margin:0;font-size:15px}.day-card small{color:var(--muted)}.slot{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-top:1px dashed var(--line);font-size:13px}.slot:first-of-type{border-top:0}.slot .order{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--sand);font-weight:800}.slot .empty{color:#9aa7ad;font-style:italic}.slot time{color:var(--muted)}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search{min-width:260px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px 12px}.sort-help{color:var(--muted);font-size:12px}.filter{border:1px solid var(--line);background:#fff;border-radius:9px;padding:9px 12px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 14px rgba(13,47,68,.04)}table{width:100%;border-collapse:collapse;min-width:850px}th{position:sticky;top:0;background:var(--navy);color:#fff;text-align:left;padding:11px 12px;font-size:11px;text-transform:uppercase;letter-spacing:.035em;z-index:1}.sort-button{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;padding:0;display:flex;align-items:center;gap:6px;width:100%;cursor:pointer;text-align:left}.sort-mark{color:var(--cyan);font-size:13px}.sortable-table th[data-sort-field]:hover,.sortable-table th[data-sort-field]:focus-within{background:#195b78}.sortable-table th[aria-sort="ascending"] .sort-button,.sortable-table th[aria-sort="descending"] .sort-button{color:#fff}.sort-button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px;border-radius:2px}td{padding:10px 12px;border-bottom:1px solid #e7edf0;font-size:13px;vertical-align:top}tr:hover td{background:#f8fbfc}td.actions{white-space:nowrap;text-align:right}.link{color:var(--blue);font-weight:750;cursor:pointer;text-decoration:none}.muted{color:var(--muted)}.empty-state{text-align:center;padding:50px;color:var(--muted)}
.badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#eef2f4;color:#50616a;white-space:nowrap}.badge.green{background:var(--green-bg);color:var(--green)}.badge.amber{background:var(--amber-bg);color:var(--amber)}.badge.red{background:var(--red-bg);color:var(--red)}.badge.blue{background:#dceff5;color:var(--blue)}
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}.modal-backdrop{position:absolute;inset:0;background:rgba(7,29,44,.62);backdrop-filter:blur(3px)}.modal-panel{position:relative;background:#fff;border-radius:16px;width:min(980px,96vw);max-height:92vh;overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.35)}.modal-panel>header{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.modal-panel h2{margin:0;font-size:19px}.modal-panel header p{margin:4px 0 0;color:var(--muted);font-size:12px}.modal-panel form{padding:20px 22px}.modal-panel footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);margin:22px -22px -20px;padding:16px 22px;background:#fafcfd}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750;color:#4e6069}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px 11px;color:var(--ink);background:#fff}.form-grid textarea{min-height:90px;resize:vertical}.form-error{color:var(--red);font-size:12px;margin-top:10px}.password-field{display:grid;grid-template-columns:1fr auto;gap:7px}.password-field .btn{white-space:nowrap}.project-access-picker{grid-column:1/-1;border:1px solid var(--line);border-radius:10px;padding:13px;display:grid;gap:10px;background:#f8fbfc}.project-access-picker>strong{font-size:12px;color:var(--ink)}.project-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.multi-select-field{grid-column:1/-1;margin:0;border:1px solid var(--line);border-radius:10px;padding:12px;background:#f8fbfc}.multi-select-field legend{padding:0 5px;font-size:12px;font-weight:800;color:#4e6069}.multi-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.form-grid .check-option{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:650;color:var(--ink);padding:7px 9px;border:1px solid #e1e8eb;border-radius:8px;background:#fff}.form-grid .check-option input{width:auto;margin:0}.form-grid .check-option:has(input:disabled){opacity:.55}
.artist-hero{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;background:linear-gradient(120deg,var(--navy2),var(--blue));color:#fff;border-radius:16px;padding:24px;margin-bottom:18px}.artist-hero h2{font-size:28px;margin:0 0 6px}.artist-hero p{margin:3px 0;color:rgba(255,255,255,.75)}.status-ring{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--cyan) var(--progress),rgba(255,255,255,.18) 0);position:relative}.status-ring:after{content:"";position:absolute;inset:9px;border-radius:50%;background:var(--navy)}.status-ring span{position:relative;z-index:1;font-size:22px;font-weight:900}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.detail-card{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.artist-collapsible>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:14px 16px;cursor:pointer;list-style:none;font-size:14px;font-weight:800;transition:background .18s,color .18s}.artist-collapsible>summary::-webkit-details-marker{display:none}.artist-collapsible>summary:hover,.artist-collapsible>summary:focus-visible{background:#edf8fa;color:var(--blue);outline:none}.artist-collapsible[open]>summary{background:#f2f8fa;border-bottom:1px solid var(--line)}.artist-section-chevron{color:var(--blue);font-size:20px;line-height:1;transition:transform .18s}.artist-collapsible[open]>summary .artist-section-chevron{transform:rotate(180deg)}.artist-section-body{padding:10px 16px 14px}.artist-section-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 16px 0}.detail-row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px dashed var(--line);font-size:12px}.detail-row:last-child{border-bottom:0}.detail-row span:first-child{color:var(--muted)}.subsection{margin-top:14px}.subsection .artist-collapsible>summary{font-size:17px;padding:15px 18px}.subsection .artist-collapsible>.card-body{padding-top:12px}
.input-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.input-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750}.input-controls select{min-width:230px;border:1px solid var(--line);border-radius:8px;padding:10px}.input-table input,.input-table select{border:1px solid #dbe3e7;border-radius:6px;padding:7px;width:100%;min-width:80px;font-size:12px}.input-table td{padding:5px}.input-table .ch{font-weight:900;color:var(--navy);text-align:center;min-width:45px}.sticky-actions{position:sticky;bottom:12px;display:flex;justify-content:flex-end;margin-top:14px;pointer-events:none}.sticky-actions .btn{pointer-events:auto;box-shadow:var(--shadow)}.print-input-area{display:none}
.input-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.input-import-panel{max-width:620px}.input-import-panel .card-body{display:grid;gap:18px}.input-import-choices{display:grid;gap:12px}.input-import-choices>label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:13px;font-weight:750}.input-import-choices input[type="radio"]{width:18px;height:18px;margin:0}.input-import-choices .input-import-source{display:grid;align-items:stretch;gap:6px}.input-import-source[hidden]{display:none}.input-import-source select{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:9px 10px;background:var(--white);color:var(--ink)}.input-import-actions{display:flex;justify-content:flex-end;gap:10px}.input-import-actions .btn{min-height:44px}
@media(max-width:780px){.input-controls>label:first-child{flex:1 1 100%;min-width:0}.input-controls>label:first-child select{width:100%;min-width:0}}
@media(max-width:780px){.input-card-actions{width:100%;justify-content:stretch}.input-card-actions .btn{width:100%;min-height:44px}.input-import-panel{max-width:100%;overflow:hidden}.input-import-choices,.input-import-actions{grid-template-columns:1fr;width:100%;min-width:0}.input-import-actions{display:grid}.input-import-actions .btn{width:100%}}
.timeline-day{margin-bottom:18px}.timeline-day>header{display:flex;align-items:center;gap:12px;margin-bottom:10px}.timeline-day>header h2{margin:0}.timeline{display:grid;gap:10px}.timeline-item{display:grid;grid-template-columns:85px 38px 1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}.timeline-time{font-weight:850;color:var(--blue)}.timeline-order{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--sand);font-weight:900}.timeline-title{font-weight:800}.timeline-meta{color:var(--muted);font-size:12px;margin-top:3px}.artist-link{appearance:none;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;padding:0;text-align:left;cursor:pointer}.artist-link:hover,.artist-link:focus-visible{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.festival-board{display:grid;gap:18px}.festival-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;background:linear-gradient(125deg,var(--navy2),var(--navy));color:#fff;padding:20px 22px;border-radius:16px}.festival-toolbar h2{margin:7px 0 0;font-size:22px}.live-pill{display:inline-flex;align-items:center;gap:7px;text-transform:uppercase;font-size:10px;font-weight:850;letter-spacing:.12em;color:var(--cyan)}.live-pill i{width:8px;height:8px;border-radius:50%;background:#ff5a5f;box-shadow:0 0 0 5px rgba(255,90,95,.16);animation:livePulse 1.5s infinite}.festival-controls{display:flex;align-items:flex-end;gap:18px}.festival-controls label{display:grid;gap:5px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.7)}.festival-controls select{min-width:210px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;border-radius:9px;padding:9px}.festival-clock{text-align:right}.festival-clock span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.65)}.festival-clock strong{font-size:25px;font-variant-numeric:tabular-nums}.festival-hero{display:grid;grid-template-columns:1.7fr 1fr .7fr;gap:14px}.festival-hero>article{border-radius:16px;padding:22px;min-height:225px;display:flex;flex-direction:column}.festival-now{background:linear-gradient(135deg,var(--blue),var(--navy2));color:#fff;box-shadow:var(--shadow)}.festival-next,.festival-changeover{background:var(--white);border:1px solid var(--line)}.festival-card-label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}.festival-now .festival-card-label{color:rgba(255,255,255,.7)}.festival-now h1{font-size:clamp(30px,4vw,54px);line-height:1;margin:24px 0 20px}.festival-times{display:flex;gap:28px;margin:auto 0 18px}.festival-times span{display:grid;gap:3px;color:rgba(255,255,255,.7);font-size:11px}.festival-times strong{color:#fff;font-size:18px}.festival-next h2{font-size:25px;margin:24px 0 3px}.next-time{font-size:42px;font-weight:900;color:var(--blue);font-variant-numeric:tabular-nums}.festival-next p,.festival-changeover p{color:var(--muted);font-size:12px}.festival-order{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--sand);color:var(--ink)}.festival-card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto}.festival-card-actions .btn{align-self:flex-start}.festival-changeover{justify-content:center;text-align:center}.festival-changeover .festival-card-label{position:absolute;align-self:flex-start;top:auto}.festival-changeover>strong{font-size:clamp(26px,3vw,42px);color:var(--blue);font-variant-numeric:tabular-nums}.festival-lower{display:grid;grid-template-columns:1.6fr 1fr;gap:18px}.festival-slot{width:100%;display:grid;grid-template-columns:70px 32px minmax(0,1fr) auto auto;align-items:center;gap:10px;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);padding:11px 8px;text-align:left}.festival-slot:last-child{border-bottom:0}.festival-slot:hover{background:var(--bg)}.festival-slot time{font-weight:850;color:var(--blue);font-variant-numeric:tabular-nums}.festival-slot-order{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--sand);font-weight:850}.festival-slot-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.festival-action{white-space:nowrap}.festival-slot.is-live{background:var(--green-bg);box-shadow:inset 4px 0 var(--green)}.festival-slot.is-next{background:#e9f8f6;box-shadow:inset 4px 0 var(--cyan)}@keyframes livePulse{50%{opacity:.45;transform:scale(.85)}}
.festival-live-badge{color:#fff;border-color:#b91c1c;background:#dc2626;font-weight:800;box-shadow:0 0 12px rgba(220,38,38,.65);animation:festival-live-badge-pulse 1.1s steps(1,end) infinite}
@keyframes festival-live-badge-pulse{0%,52%{color:#fff;border-color:#b91c1c;background:#dc2626;box-shadow:0 0 12px rgba(220,38,38,.65);opacity:1}53%,100%{color:#fecaca;border-color:#7f1d1d;background:#7f1d1d;box-shadow:none;opacity:.55}}
@media(prefers-reduced-motion:reduce){.festival-live-badge{animation:none}}
@media print{.festival-live-badge{animation:none!important}}
.festival-next-meta{display:flex;align-items:center;gap:7px}.festival-delay-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;background:var(--red);color:#fff;font-size:10px;font-weight:900;letter-spacing:.04em;white-space:nowrap}.festival-delay-badge[hidden]{display:none}.festival-delay-badge b{font-variant-numeric:tabular-nums}.festival-next.is-late{background:linear-gradient(145deg,var(--red-bg),var(--white));border-color:var(--red);box-shadow:inset 0 4px var(--red)}.festival-next.is-late h2,.festival-next.is-late .next-time{color:var(--red)}.festival-slot.is-late{background:var(--red-bg);box-shadow:inset 4px 0 var(--red)}.festival-slot.is-late time,.festival-slot.is-late .festival-slot-name{color:var(--red)}
.workflow-strip{grid-column:1/-1;display:grid;grid-template-columns:repeat(7,minmax(74px,1fr));gap:0;padding:9px 4px 2px;overflow-x:auto}.workflow-step{position:relative;display:grid;justify-items:center;gap:2px;min-width:74px;color:var(--muted);font-size:9px;text-align:center}.workflow-step:before{content:"";position:absolute;top:5px;left:0;right:0;height:2px;background:var(--line)}.workflow-step:first-child:before{left:50%}.workflow-step:last-child:before{right:50%}.workflow-step i{position:relative;z-index:1;width:12px;height:12px;border:2px solid var(--line);border-radius:50%;background:var(--white)}.workflow-step b{font-size:9px;white-space:nowrap}.workflow-step small{font-variant-numeric:tabular-nums}.workflow-step.is-done:before{background:var(--cyan)}.workflow-step.is-done i{border-color:var(--cyan);background:var(--cyan)}.workflow-step.is-done{color:var(--blue)}.workflow-step.is-current i{border-color:var(--blue);box-shadow:0 0 0 3px rgba(21,116,143,.15)}.workflow-step.is-current b{color:var(--blue);font-weight:900}
.festival-smart-alerts-host{display:contents}.festival-smart-alerts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;padding:11px;border:1px solid #efc65e;border-radius:14px;background:#fff9e9}.festival-smart-alerts-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;color:#785700;font-size:12px}.festival-smart-alerts-head span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.festival-smart-alerts .notification-card{border:1px solid #f0d993;border-radius:10px;padding:9px 11px}.festival-smart-alerts .notification-card:last-child{border-bottom:1px solid #f0d993}
.changeover-checklist{grid-column:1/-1;margin:8px 4px 4px;border:1px solid #9cd6d1;border-radius:11px;background:#f3fbfa;overflow:hidden}.changeover-checklist>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#def4f1}.changeover-checklist>header>div{display:grid;gap:1px}.changeover-checklist>header strong{font-size:11px}.changeover-checklist>header span{font-size:9px;color:var(--muted)}.changeover-checklist>header>b{display:grid;place-items:center;min-width:38px;height:25px;border-radius:999px;background:var(--blue);color:#fff;font-size:10px}.changeover-checklist>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px}.changeover-checklist label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;padding:7px;border:1px solid var(--line);border-radius:8px;background:#fff;cursor:pointer}.changeover-checklist label.is-done{border-color:#76cbbf;background:#e4f7f3}.changeover-checklist input{width:17px;height:17px;accent-color:var(--blue)}.changeover-checklist label>span{display:grid;min-width:0}.changeover-checklist label strong{font-size:10px}.changeover-checklist label small{font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.changeover-checklist.needs-attention{animation:checklistAttention .55s ease-in-out 3}@keyframes checklistAttention{50%{border-color:#ef4444;box-shadow:0 0 0 5px rgba(239,68,68,.35)}}
@media(max-width:780px){.changeover-checklist>div{grid-template-columns:1fr}.changeover-checklist .checklist-required-alert{grid-template-columns:30px 1fr}.checklist-required-alert small{grid-column:2}.changeover-checklist label{padding:9px}.changeover-checklist label strong{font-size:11px}.changeover-checklist label small{font-size:9px}}
.festival-final .card-header>div:first-child{display:grid;gap:5px}.festival-final .card-header h2{font-size:19px}.live-pill.final{color:var(--green)}.live-pill.final i{background:var(--green);box-shadow:0 0 0 5px rgba(47,143,91,.14);animation:none}.festival-final-actions{display:flex;gap:8px;flex-wrap:wrap}.festival-final-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.festival-final-summary span{display:grid;gap:4px;padding:13px;border-radius:10px;background:var(--bg);color:var(--muted);font-size:11px}.festival-final-summary b{color:var(--ink);font-size:21px}.festival-final table{min-width:1000px}.festival-final-note{margin:13px 0 0;color:var(--muted);font-size:11px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.notice{border-left:4px solid var(--cyan);background:#e9f8f6;padding:14px 16px;border-radius:8px;font-size:13px}.login-screen{position:fixed;inset:0;background:linear-gradient(140deg,var(--navy2),var(--blue));display:grid;place-items:center;padding:20px}.login-card{background:#fff;width:min(430px,92vw);padding:32px;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.3);text-align:center}.login-logo{width:min(330px,100%);margin:0 auto 16px}.login-card p{color:var(--muted);margin:0 0 22px}.login-card label{text-align:left;display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:750}.login-card input{border:1px solid var(--line);border-radius:8px;padding:11px;margin-bottom:14px}.login-card .login-error{min-height:20px;margin:-4px 0 10px;color:var(--red);font-size:12px;text-align:left}.login-form button{margin-top:2px}.toast{position:fixed;right:24px;bottom:24px;background:var(--navy2);color:#fff;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);z-index:200;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:none}.toast.error{background:var(--red)}.toast.blocking{max-width:min(520px,calc(100vw - 24px));padding:17px 20px;border:2px solid #fecaca;background:#b91c1c;font-size:15px;font-weight:850;box-shadow:0 18px 50px rgba(127,29,29,.5)}
.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.project-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;box-shadow:0 4px 14px rgba(13,47,68,.04)}.project-card.active{border:2px solid var(--cyan)}.project-card.is-archived{opacity:.78}.project-card h2{margin:12px 0 6px;font-size:19px}.project-card p{margin:0 0 6px;color:var(--muted);font-size:13px}.project-card small{color:var(--muted)}.project-actions{display:flex;gap:8px;flex-wrap:wrap}.project-admin-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid var(--line)}.project-admin-actions>span{color:var(--muted);font-size:11px;font-weight:800}.project-admin-actions>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.archived-projects{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.archived-projects summary{width:max-content;margin-bottom:14px;color:var(--muted);font-size:13px;font-weight:800;cursor:pointer}.project-delete-warning{border:1px solid rgba(199,52,58,.28);border-radius:10px;padding:14px;background:var(--red-bg);color:var(--red)}.project-delete-warning p{margin:6px 0 0;color:var(--ink);font-size:12px}.duplicate-options{border:1px solid var(--line);border-radius:10px;padding:13px}.duplicate-options legend{font-size:12px;font-weight:850;padding:0 5px}.duplicate-options>p{margin:0 0 10px;color:var(--muted);font-size:10px}.duplicate-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.duplicate-options label{display:grid!important;grid-template-columns:auto 1fr;align-items:center!important;gap:9px!important;border:1px solid var(--line);border-radius:8px;padding:9px;background:var(--white)}.duplicate-options input{width:auto!important;margin:0}.duplicate-options span{display:flex;flex-direction:column;gap:2px}.duplicate-options b{font-size:11px}.duplicate-options small{font-size:9px;color:var(--muted)}
.no-project-state{max-width:640px;margin:9vh auto 0;text-align:center}.no-project-state .card-body{padding:48px 32px}.no-project-state h2{margin:18px 0 8px;font-size:24px}.no-project-state p{margin:0 auto 24px;max-width:460px;color:var(--muted)}#nav button[data-view]:disabled{opacity:.38;cursor:not-allowed;filter:grayscale(.35)}
.app-credit{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:8px;font-size:10px;line-height:1.35;letter-spacing:.02em;opacity:.72}.app-credit img{width:auto;height:27px;object-fit:contain}.login-card .app-credit{margin-top:20px;color:var(--muted)}.login-card .app-credit img{height:34px}.sidebar-bottom .app-credit{padding-top:0;color:rgba(255,255,255,.72);flex-wrap:wrap}.sidebar-bottom .app-credit img{height:30px;padding:2px;filter:brightness(0) invert(1)}.powered-logo{display:inline-flex;align-items:center;gap:7px}.powered-logo img{width:auto;height:44px;object-fit:contain}
@media(max-width:1100px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.section-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:repeat(2,1fr)}.top-actions .user-session{display:none}.festival-hero{grid-template-columns:1.5fr 1fr}.festival-changeover{grid-column:1/-1;min-height:135px}.festival-lower{grid-template-columns:1fr}}
@media(max-width:780px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:250px;transition:.2s}.sidebar.open{left:0}.mobile-only{display:block}.topbar{height:auto;padding:14px 16px}.top-actions .btn{display:none}.content{padding:16px}.kpi-grid,.day-grid,.detail-grid,.settings-grid,.document-groups,.supplier-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.artist-hero{grid-template-columns:1fr}.status-ring{display:none}.timeline-item{grid-template-columns:64px 32px 1fr}.timeline-item .actions{grid-column:3}.search{min-width:100%}.welcome-panel{padding:22px}.welcome-projects{grid-template-columns:1fr}.welcome-actions{flex-direction:column}.festival-toolbar{align-items:stretch;flex-direction:column}.festival-controls{align-items:stretch;flex-direction:column}.festival-controls select{width:100%;min-width:0}.festival-clock{text-align:left}.festival-hero{grid-template-columns:1fr}.festival-changeover{grid-column:auto}.festival-hero>article{min-height:190px}.festival-slot{grid-template-columns:55px 28px 1fr}.festival-slot .badge{grid-column:3}.festival-now h1{font-size:34px}.festival-times{gap:18px}.document-latest{grid-template-columns:40px 1fr}.document-latest .document-actions{grid-column:1/-1;justify-content:stretch}.document-version{grid-template-columns:1fr auto}.document-version .document-actions{grid-column:1/-1}.backline-tabs,.input-smart-tabs{width:100%;overflow:auto}.backline-tabs button,.input-smart-tabs button{white-space:nowrap}.backline-summary{grid-template-columns:repeat(2,1fr)}.input-analysis-summary{grid-template-columns:1fr}.input-conflicts .card-body{grid-template-columns:1fr}.shift-toolbar{align-items:stretch}.shift-view-tabs{overflow:auto}.shift-view-tabs button{white-space:nowrap}.shift-summary{grid-template-columns:repeat(2,1fr)}.shift-board{grid-template-columns:1fr}}
.time-range-field{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}.time-range-field>span{font-size:18px;font-weight:700;color:var(--muted);text-align:center}.form-grid .time-range-field input{min-width:0}
@media(max-width:780px){.festival-final .card-header{align-items:stretch;flex-direction:column}.festival-final-actions .btn{flex:1}.festival-final-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.about-signature{flex-wrap:wrap;gap:8px 11px}.about-signature>i{display:none}.about-powered{flex-basis:100%;justify-content:center}}
@media(max-width:780px){.multi-select-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.festival-changeover .festival-card-label{position:static;align-self:stretch;margin-bottom:22px}
.festival-slot-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
@media print{
  @page{size:A4 portrait;margin:12mm}
  html,body{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}.sidebar,.topbar,.toolbar,.sticky-actions,.btn{display:none!important}.app-shell{display:block!important;width:auto!important;max-width:none!important;margin:0!important}.content{width:auto!important;max-width:none!important;margin:0!important;padding:0!important}.table-wrap{border:0;box-shadow:none}table{min-width:0}th{background:#ddd!important;color:#000!important;position:static}.input-table input,.input-table select{border:0;padding:0}.input-table select{appearance:none;-webkit-appearance:none;background:none}.workspace{width:auto!important;max-width:none!important;margin:0!important}
  .printing-inputs #content>*:not(.print-input-area){display:none!important}
  .printing-festival-log .festival-board>*:not(.festival-final){display:none!important}.printing-festival-log .festival-final{border:0;box-shadow:none}.printing-festival-log .festival-final-actions{display:none!important}.printing-festival-log .festival-final table{min-width:0;font-size:8pt}.printing-festival-log .festival-final th,.printing-festival-log .festival-final td{padding:5px}
  body.printing-inputs{background:#fff!important}
  .printing-inputs .print-input-area{display:block!important;width:180mm!important;max-width:180mm!important;margin:0 auto!important;padding:0!important;color:#102d3d;overflow:visible!important;background:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .print-artist-sheet{width:180mm;max-width:180mm;height:255mm;max-height:255mm;margin:0 auto;box-sizing:border-box;display:grid;grid-template-rows:19mm 95mm minmax(0,1fr) 5mm;gap:2mm;break-inside:avoid;page-break-inside:avoid;break-after:page;page-break-after:always;overflow:hidden;contain:layout;background:#fff!important}
  .print-artist-sheet:last-child{break-after:auto;page-break-after:auto}
  .print-master-sheet{grid-template-rows:19mm minmax(0,1fr) 5mm}.print-master-sheet .print-input-section{height:100%}
  .print-sheet-header{position:relative;width:100%;min-width:0;display:grid;grid-template-columns:44mm minmax(0,1fr) 68mm;gap:3mm;align-items:center;border-bottom:1.2mm solid #123f5d;padding-bottom:2mm;box-sizing:border-box;overflow:hidden}
  .print-brand{grid-column:1;display:flex;align-items:center;gap:2.5mm}.print-brand img{width:12mm;height:12mm;object-fit:contain}.print-brand span{display:grid}.print-brand strong{font-size:12pt;letter-spacing:.12em;line-height:1}.print-brand small{font-size:5.3pt;letter-spacing:.03em;margin-top:.8mm}
  .print-project{position:absolute;left:50%;top:50%;width:72mm;transform:translate(-50%,-50%);text-align:center;display:grid;gap:.8mm}.print-project strong{font-size:8pt}.print-project span{font-size:5.8pt;color:#596d77}
  .print-artist{grid-column:3;position:relative;right:2mm;text-align:right;min-width:0}.print-artist>span{font-size:5.5pt;color:#19758d;font-weight:800;letter-spacing:.1em}.print-artist h1{font-size:13pt;line-height:1;margin:.5mm 0;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.print-artist p{font-size:6pt;margin:0;color:#596d77}
  .print-stage-section,.print-input-section{width:calc(100% - 2mm);max-width:calc(100% - 2mm);min-width:0;min-height:0;margin:0 auto;box-sizing:border-box;display:grid;grid-template-rows:7mm minmax(0,1fr);border:.35mm solid #8fa3ad;border-radius:2mm;box-shadow:none;overflow:hidden}
  .print-section-title{display:flex;align-items:center;justify-content:space-between;padding:0 2.5mm;background:#123f5d!important;color:#fff!important}.print-section-title strong{font-size:7pt;text-transform:uppercase;letter-spacing:.11em}.print-section-title span{font-size:5.4pt;max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .print-stage-frame{position:relative;min-height:0;padding:0;background:#fff!important;overflow:hidden}.print-stage-frame>img{position:absolute;left:50%;top:50%;display:block;width:auto;height:auto;max-width:calc(100% - 4mm);max-height:calc(100% - 4mm);object-fit:contain;object-position:center center;transform:translate(-50%,-50%);border:0}.print-stage-frame>object{position:absolute;inset:2mm;display:block;width:calc(100% - 4mm);height:calc(100% - 4mm);border:0}.print-stage-empty{position:absolute;inset:2mm;width:auto;height:auto;display:grid;place-content:center;text-align:center;gap:1.5mm;border:.35mm dashed #aebdc4;color:#73858e}.print-stage-empty strong{font-size:10pt}.print-stage-empty span{font-size:6.5pt}
  .print-input-section{grid-template-rows:7mm minmax(0,1fr)}.print-channel-columns{width:100%;max-width:100%;min-width:0;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2mm;padding:1.5mm;background:#fff!important;min-height:0;overflow:hidden}
  .print-channel-table{width:100%;max-width:100%;min-width:0;height:100%;border-collapse:collapse;table-layout:fixed}.print-channel-table th,.print-channel-table td{position:static;box-sizing:border-box;border:.18mm solid #8fa1aa;padding:.45mm .6mm;background:#fff!important;color:#102d3d!important;font-size:6.8pt;line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.print-channel-table th{height:3.8mm;background:#dceaf0!important;font-size:6.1pt;text-transform:uppercase;font-weight:900;letter-spacing:.03em}.print-channel-table td:first-child,.print-channel-table th:first-child{width:7mm;text-align:center;font-weight:900}.print-channel-table th:nth-child(2){width:34mm}.print-channel-table th:nth-child(3){width:23mm}.print-channel-table th:nth-child(4){width:auto}.print-channel-table td:nth-child(2){text-transform:uppercase}.print-channel-table tr.unused td{color:#8a989f!important}.print-channel-table tr.used td:nth-child(2){font-weight:800}
  .channels-32 .print-channel-table th,.channels-32 .print-channel-table td{font-size:8pt;padding:.7mm .8mm}.channels-32 .print-channel-table th{font-size:7.1pt}
  .print-sheet-footer{display:flex;align-items:end;justify-content:space-between;border-top:.25mm solid #b7c4ca;padding-top:1mm;font-size:5pt;color:#6c7d85}
}

/* Relatório do Dia: configurador de alto contraste e linguagem editorial comum à preview/impressão. */
.daily-report-config{color:#111827;background:#fff;border-color:#d7dee5;box-shadow:0 12px 30px rgba(15,42,61,.08)}
.daily-report-config header span,.daily-report-config legend{color:#116a9b}
.daily-report-config header h2{color:#18365c;font-size:1rem;font-weight:750}
.daily-report-config label{color:#263746}
.daily-report-config input{accent-color:#ffcc00}
.daily-report-section-options label,.daily-report-field-options label{border-color:#d7dee5;background:#f8fafb;color:#18365c}
.daily-report-section-options label:has(input:checked){border-color:#18365c;background:#18365c;color:#fff;box-shadow:inset 0 0 0 1px #18365c}
.daily-report-section-options label:has(input:checked) input{accent-color:#ffcc00}
.daily-report-more{color:#18365c;border-top-color:#d7dee5}
.daily-report-more>summary,.daily-report-more details>summary{display:flex;align-items:center;gap:8px;color:#18365c;list-style:none}
.daily-report-more>summary::-webkit-details-marker,.daily-report-more details>summary::-webkit-details-marker{display:none}
.daily-report-more>summary::before,.daily-report-more details>summary::before{content:'▶';width:12px;color:#116a9b;font-size:9px}
.daily-report-more[open]>summary::before,.daily-report-more details[open]>summary::before{content:'▼'}
.daily-report-more>fieldset,.daily-report-more>details{border-color:#d7dee5;background:#fff}
.daily-report-config>footer .btn.ghost{border:1px solid #b9c4ce;background:#fff;color:#18365c}
.daily-report-config>footer .btn.primary,.daily-report-preview-actions .btn.primary{border-color:#ffcc00;background:#ffcc00;color:#111827}
.operational-report-preview .reports-selection-heading{display:none}
.daily-report{color:#111827;border-color:#d7dee5;background:#fff}
.daily-report-header{align-items:flex-start;padding-bottom:16px;border-bottom:2px solid #116a9b}
.daily-report-header h1{margin:0;color:#18365c;font-size:30px;font-weight:900;line-height:1;letter-spacing:.015em}
.daily-report-header .daily-report-date{margin:8px 0 13px;color:#263746;font-size:17px;font-weight:700}
.daily-report-header h2{margin:0 0 3px;color:#263746;font-size:15px;font-weight:750}
.daily-report-header .daily-report-context{margin:0;color:#4b5563;font-size:11px}
.daily-report-header img{width:92px}
.daily-report-status{align-items:center;margin:16px 0 0;padding:10px 0;border-top:1px solid #d7dee5;border-bottom:1px solid #d7dee5;border-radius:0;background:#fff;color:#111827}
.daily-report-status div{gap:2px}.daily-report-status span,.daily-report-status small{color:#4b5563}.daily-report-status strong{color:#18365c;font-size:14px}
.daily-report section{margin-top:20px}.daily-report section>h2{margin:0 0 9px;color:#18365c;font-size:15px;font-weight:850;break-after:avoid;page-break-after:avoid}
.daily-report-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;margin:0;border-top:1px solid #d7dee5}
.daily-report-summary-grid div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #d7dee5}
.daily-report-summary-grid dt,.daily-report-summary-grid dd{margin:0}.daily-report-summary-grid dt{color:#4b5563}.daily-report-summary-grid dd{color:#111827;font-weight:800;text-align:right}
.daily-report-summary-line{color:#4b5563;border-color:#d7dee5}.daily-report-summary-line b{color:#111827}
.daily-report-indicators{gap:0 28px}.daily-report-indicators div{border-bottom-color:#b7c2cb}.daily-report-indicators dt{color:#4b5563}.daily-report-indicators dd{color:#111827}
.daily-report-table-wrap{border-color:#d7dee5;border-radius:3px}.daily-report-table th{background:#eef3f6;color:#18365c;font-weight:600;border-bottom-color:#7d8b94}.daily-report-table th,.daily-report-table td{border-bottom-style:solid}.daily-report-table td{color:#111827;background:#fff;border-bottom-color:#d7dee5}
.daily-report-empty{margin:0;padding:8px 0;color:#4b5563;font-size:11px}
.daily-report-task-lists{gap:24px}.daily-report-task-lists h3{color:#18365c;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.daily-report-task{position:relative;padding:10px 0;border-bottom-color:#d7dee5}.daily-report-task-priority{display:inline-block;margin-bottom:5px;padding:2px 6px;border:1px solid #7c8791;border-radius:999px;background:#f8fafb;color:#263746;font-size:8px;font-weight:850;letter-spacing:.04em}
.daily-report-task p{color:#263746}.daily-report-task small{color:#4b5563}
.daily-report-notes{gap:0}.daily-report-notes article{padding:10px 0 10px 12px;border-left:2px solid #116a9b;border-bottom:1px solid #d7dee5;background:#fff}.daily-report-notes article:last-child{border-bottom:0}.daily-report-notes strong{color:#18365c}
.daily-report>footer{margin-top:18px;padding-top:9px;border-top-color:#d7dee5;color:#4b5563}
.daily-report-method{margin:7px 0 0;color:#64717c;font-size:9px;line-height:1.35}
@media(max-width:780px){.daily-report-config{overflow:hidden}.daily-report-section-options label,.daily-report-field-options label{min-height:44px}.daily-report-summary-grid{grid-template-columns:1fr}.daily-report-header h1{font-size:23px}.daily-report-header .daily-report-date{font-size:14px}.daily-report-task-lists{grid-template-columns:1fr}.daily-report-preview .daily-report-table-wrap{max-width:100%;overflow-x:auto}.daily-report{min-width:0}.daily-report-config>footer .btn{min-height:44px}}
@media print{
  body.report-printing .reports-selection-heading{display:none!important}
  body.report-printing .daily-report{min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;break-after:auto;page-break-after:auto}
  body.report-printing .daily-report+.daily-report{break-before:page;page-break-before:always}
  body.report-printing .daily-report-header{border-bottom:1.1mm solid #116a9b}
  body.report-printing .daily-report-header h1{color:#18365c!important;font-size:22pt}
  body.report-printing .daily-report-header .daily-report-date{color:#263746!important;font-size:12pt}
  body.report-printing .daily-report-header h2{color:#263746!important;font-size:10pt}
  body.report-printing .daily-report-header .daily-report-context{color:#4b5563!important;font-size:8pt}
  body.report-printing .daily-report-status{padding:3mm 0;border-color:#d7dee5;background:#fff!important;color:#111827!important;break-inside:avoid;page-break-inside:avoid}
  body.report-printing .daily-report-status strong{color:#18365c!important}
  body.report-printing .daily-report section>h2{color:#18365c!important}
  body.report-printing .daily-report-summary-grid div,body.report-printing .daily-report-indicators div{break-inside:avoid;page-break-inside:avoid}
  body.report-printing .daily-report-table th{background:#eef3f6!important;color:#18365c!important;border-bottom:1px solid #7d8b94!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  body.report-printing .daily-report-table td{background:#fff!important;color:#111827!important}
  body.report-printing .daily-report-task-priority{border-color:#525f69!important;background:#fff!important;color:#111827!important}
  body.report-printing .daily-report-notes article{background:#fff!important}
  body.report-printing .daily-report>footer{position:static!important;min-height:0!important;margin-top:5mm;padding-top:2.5mm;break-inside:avoid;page-break-inside:avoid}
}

/* Relatório diário: ordem visual compacta, margens seguras e grelha comum. */
.operational-report-preview .daily-report-header h1{font-size:21px}
.operational-report-preview .daily-report-header .daily-report-date{font-size:12px}
.operational-report-preview .daily-report-header h2{font-size:11px}
.operational-report-preview .daily-report-status{align-items:center;gap:18px;padding:8px 12px}
.operational-report-preview .daily-report-status>div{min-width:0}
.operational-report-preview .daily-report-status strong{font-size:11px}
.operational-report-preview .daily-report-status small{min-width:0;font-size:8px}
.operational-report-preview .daily-report section{margin-top:12px}
.operational-report-preview .daily-report section>h2{margin-bottom:5px;font-size:11px}
.operational-report-preview .daily-report-summary-grid{font-size:9px}
.operational-report-preview .daily-report-summary-grid div,.operational-report-preview .daily-report-indicators div{padding:4px 0}
.operational-report-preview .daily-report-summary-grid dd,.operational-report-preview .daily-report-indicators dd{font-size:9px}
.operational-report-preview .daily-report-table{font-size:8px}
.operational-report-preview .daily-report-table th,.operational-report-preview .daily-report-table td{padding:5px}
.operational-report-preview .daily-report-timeline-table{table-layout:fixed}
.operational-report-preview .daily-report-timeline-table [data-report-field="artist"]{width:22%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="artist"]{width:25%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="planned"]{width:18%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="start"],.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="onStage"]{width:18%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="end"],.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="offStage"]{width:18%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="delayMinutes"]{width:13%}
.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="state"],.operational-report-preview .daily-report-timeline-table.is-aligned-timeline [data-report-field="status"]{width:8%}
.operational-report-preview .daily-report-table-wrap:has(.is-aligned-timeline){overflow-x:hidden}
.operational-report-preview .daily-report-method{font-size:7.5px}
@media print{
  body.report-printing .daily-report-header h1{font-size:19pt}
  body.report-printing .daily-report-header .daily-report-date{font-size:10.5pt}
  body.report-printing .daily-report-header h2{font-size:9pt}
  body.report-printing .daily-report-status{padding:2.5mm 3mm}
  body.report-printing .daily-report section{margin-top:3.2mm}
  body.report-printing .daily-report section>h2{margin-bottom:1.4mm;font-size:9pt}
  body.report-printing .daily-report-table{font-size:7pt}
  body.report-printing .daily-report-table th,body.report-printing .daily-report-table td{padding:1.25mm}
  body.report-printing .daily-report-timeline-table{table-layout:fixed!important}
  body.report-printing .daily-report-timeline-table [data-report-field="artist"]{width:22%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="artist"]{width:25%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="planned"]{width:18%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="start"],body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="onStage"]{width:18%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="end"],body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="offStage"]{width:18%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="delayMinutes"]{width:13%}
  body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="state"],body.report-printing .daily-report-timeline-table.is-aligned-timeline [data-report-field="status"]{width:8%}
}

/* Running order: keep status and workflow controls in a stable, contained grid. */
.festival-running-order .festival-slot{grid-template-columns:70px 32px minmax(0,1fr) auto;overflow:hidden}
.festival-slot-status{display:flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0;flex-wrap:wrap}
.festival-running-order .festival-slot-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;min-width:0;margin-top:2px;flex-wrap:wrap}
.festival-running-order .festival-slot-actions:empty{display:none}
.festival-running-order .festival-slot-actions .festival-action{max-width:100%}
.nav-group-items>button.has-operational-activity>span{color:#ff2d2d;transform-origin:center;animation:operational-nav-pulse 1.15s ease-in-out infinite}
.nav-group-items>button.has-operational-activity>span svg{filter:drop-shadow(0 0 4px rgba(255,45,45,1)) drop-shadow(0 0 10px rgba(220,38,38,.9))}
@keyframes operational-nav-pulse{0%,100%{color:#ff2d2d;opacity:1;transform:scale(1);filter:brightness(1.22)}50%{color:#b91c1c;opacity:.38;transform:scale(.84);filter:brightness(.72)}}
@media(prefers-reduced-motion:reduce){.nav-group-items>button.has-operational-activity>span{color:#ff2d2d;animation:none}.nav-group-items>button.has-operational-activity>span svg{filter:drop-shadow(0 0 5px rgba(255,45,45,1)) drop-shadow(0 0 11px rgba(220,38,38,.9))}}
@media print{.nav-group-items>button.has-operational-activity>span{animation:none!important}}
.festival-open-schedule{width:auto;max-width:100%;flex:0 0 auto;white-space:normal;text-align:center}
@media(max-width:780px){
  .festival-running-order .festival-slot{grid-template-columns:50px 26px minmax(0,1fr)}
  .festival-running-order .festival-slot-status{grid-column:3;justify-content:flex-start}
  .festival-running-order .festival-slot-actions{grid-column:1/-1;justify-content:stretch}
  .festival-running-order .festival-slot-actions .festival-action{flex:1 1 180px;width:auto;margin-top:0}
  .festival-running-order .card-header{align-items:center}
  .festival-open-schedule{width:auto}
}

/* Ficha externa do artista: documento A4, sem elementos operacionais. */
.artist-sheet-open{overflow:hidden}.artist-sheet-overlay{position:fixed;z-index:1400;inset:0;overflow:auto;padding:76px 24px 32px;background:#e9eef1;color:#102d3d}.artist-sheet-actions{position:fixed;z-index:2;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:10px 22px;border-bottom:1px solid #c8d3d9;background:rgba(255,255,255,.97);box-shadow:0 3px 14px rgba(16,45,61,.08)}.artist-sheet-actions>div{display:flex;gap:8px;flex-wrap:wrap}.artist-print-sheet{box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto;padding:12mm;background:#fff;color:#142f3e;box-shadow:0 12px 36px rgba(16,45,61,.14);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.artist-sheet-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18mm;padding-bottom:7mm;border-bottom:1.2mm solid #103a5c}.artist-sheet-brand{display:flex;align-items:center;gap:4mm}.artist-sheet-brand img{width:25mm;height:auto}.artist-sheet-brand span{max-width:33mm;color:#536a75;font-size:7.5pt;line-height:1.25}.artist-sheet-project{display:grid;gap:1.2mm;max-width:80mm;text-align:right}.artist-sheet-project strong{font-size:11pt}.artist-sheet-project span{color:#667b85;font-size:7.5pt}.artist-sheet-title{padding:8mm 0 7mm}.artist-sheet-title>p{margin:0 0 2mm;color:#087a9a;font-size:7pt;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.artist-sheet-title h1{margin:0 0 6mm;color:#0c2d45;font-size:25pt;line-height:1;letter-spacing:-.035em}.artist-sheet-facts{display:grid;grid-template-columns:1.65fr 1.35fr .8fr .9fr;border-top:.3mm solid #c8d4da;border-bottom:.3mm solid #c8d4da}.artist-sheet-facts>span{display:grid;gap:1.5mm;min-width:0;padding:3.5mm 4mm;border-left:.3mm solid #d8e1e5}.artist-sheet-facts>span:first-child{border-left:0;padding-left:0}.artist-sheet-facts small,.artist-sheet-contact small{color:#6b7e87;font-size:6.2pt;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.artist-sheet-facts strong{font-size:10pt;line-height:1.2}.artist-sheet-warning{margin:0 0 5mm;padding:2.5mm 3mm;border-left:1mm solid #d79b24;background:#fff8e7;color:#624e23;font-size:7.5pt}.artist-sheet-section{display:grid;grid-template-columns:48mm 1fr;gap:7mm;margin-top:6mm;padding-top:5mm;border-top:.35mm solid #c7d4da}.artist-sheet-section-heading{display:flex;gap:3mm}.artist-sheet-section-heading>span{display:grid;flex:0 0 auto;place-items:center;width:8mm;height:8mm;background:#103a5c;color:#fff;font-size:6.5pt;font-weight:900}.artist-sheet-section-heading h2{margin:0 0 1.5mm;color:#103a5c;font-size:12pt;line-height:1.1}.artist-sheet-section-heading p{margin:0;color:#70828b;font-size:6.5pt;line-height:1.35}.artist-sheet-section table{width:100%;border-collapse:collapse}.artist-sheet-section th,.artist-sheet-section td{padding:2.35mm 1mm;border-bottom:.2mm solid #d9e2e6;vertical-align:middle}.artist-sheet-section th{width:53%;color:#526974;font-size:7.3pt;font-weight:650;text-align:left}.artist-sheet-section td{color:#092b43;font-size:10.2pt;font-weight:850;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.artist-sheet-section td small{color:#087a9a;font-size:5.8pt;font-weight:850}.artist-sheet-range-separator{display:inline-block;padding:0 1mm;color:#809098}.artist-sheet-contact{display:grid;grid-template-columns:1fr 1fr;gap:8mm;margin-top:7mm;padding:4mm 0;border-top:.4mm solid #103a5c;border-bottom:.2mm solid #c8d4da}.artist-sheet-contact>div{display:grid;gap:1mm;min-width:0}.artist-sheet-contact strong{font-size:9pt;overflow-wrap:anywhere}.artist-sheet-contact span{color:#6a7e88;font-size:6.5pt}.artist-sheet-information{margin-top:6mm;padding:4mm 5mm;border-left:1.2mm solid #087a9a;background:#f1f7f8}.artist-sheet-information h2{margin:0 0 2mm;color:#103a5c;font-size:10pt}.artist-sheet-information p{margin:0;font-size:8pt;line-height:1.45;white-space:pre-wrap}.artist-print-sheet>footer{display:flex;justify-content:space-between;gap:8mm;margin-top:8mm;padding-top:2.5mm;border-top:.2mm solid #c8d4da;color:#71838c;font-size:5.8pt}.artist-print-sheet>footer span:last-child{text-align:right}
@media(max-width:780px){.artist-sheet-overlay{padding:calc(118px + env(safe-area-inset-top)) 0 calc(18px + env(safe-area-inset-bottom))}.artist-sheet-actions{align-items:stretch;flex-direction:column;padding:calc(8px + env(safe-area-inset-top)) 10px 9px}.artist-sheet-actions>div{display:grid;grid-template-columns:1.45fr 1fr .75fr}.artist-sheet-actions .btn{min-height:44px;padding-inline:8px}.artist-print-sheet{width:100%;min-height:0;padding:20px 16px;box-shadow:none}.artist-sheet-header{gap:16px}.artist-sheet-brand img{width:78px}.artist-sheet-brand span{display:none}.artist-sheet-project{max-width:50%;font-size:11px}.artist-sheet-title h1{font-size:31px}.artist-sheet-facts{grid-template-columns:1fr 1fr}.artist-sheet-facts>span:nth-child(3){border-left:0}.artist-sheet-section{grid-template-columns:1fr;gap:10px}.artist-sheet-section-heading p{font-size:10px}.artist-sheet-section th{font-size:11px}.artist-sheet-section td{font-size:14px}.artist-sheet-contact{grid-template-columns:1fr}.artist-print-sheet>footer{align-items:flex-start;flex-direction:column}.artist-actions .toolbar-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.artist-actions .toolbar-right .btn{min-height:44px}}
@page artist-sheet{size:A4 portrait;margin:12mm}
@media print{body.printing-artist-sheet{overflow:visible!important;background:#fff!important}body.printing-artist-sheet>*:not(#artistSheetOverlay){display:none!important}body.printing-artist-sheet .artist-sheet-overlay{position:static;display:block!important;overflow:visible;padding:0;background:#fff}body.printing-artist-sheet .no-print{display:none!important}body.printing-artist-sheet .artist-print-sheet{page:artist-sheet;width:100%;min-height:0;margin:0;padding:0;border:0;box-shadow:none}body.printing-artist-sheet .artist-sheet-section,body.printing-artist-sheet .artist-sheet-contact,body.printing-artist-sheet .artist-sheet-information,body.printing-artist-sheet tr{break-inside:avoid;page-break-inside:avoid}body.printing-artist-sheet .artist-sheet-header{break-after:avoid;page-break-after:avoid}body.printing-artist-sheet .artist-sheet-section td,body.printing-artist-sheet .artist-sheet-facts strong{font-variant-numeric:tabular-nums}}
.artist-sheet-overlay{overflow-x:hidden}.artist-print-sheet{width:min(210mm,100%);max-width:210mm;overflow:hidden}.artist-sheet-facts{grid-template-columns:repeat(auto-fit,minmax(30mm,1fr))}.artist-sheet-section table{max-width:100%;table-layout:fixed}.artist-sheet-section td{width:47%;white-space:normal;overflow-wrap:anywhere}.artist-print-sheet>footer span{min-width:0;overflow-wrap:anywhere}.artist-sheet-config-group{padding:14px 0;border-top:1px solid var(--border)}.artist-sheet-config-group:first-of-type{border-top:0}

/* Editable rider review: normal-case hierarchy, localized updates and touch-first editing. */
.rider-review-panel{display:grid;gap:16px;margin-top:6px;padding:18px;border:1px solid #9fcfd2;border-radius:14px;background:#f7fbfc;box-shadow:0 8px 24px rgba(13,47,68,.08)}
.rider-review-heading,.rider-review-section>header,.rider-stage-elements>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.rider-review-heading h2{margin:8px 0 4px;font-size:23px;letter-spacing:0}.rider-review-heading p,.rider-review-section>header p{margin:0;color:var(--muted);font-size:12px}.rider-review-section h3{margin:0;font-size:18px;letter-spacing:0}.rider-review-section h4{margin:0;font-size:14px}
.rider-review-tabs{display:flex;flex-direction:row;gap:5px;margin:0;padding:4px;overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:#e8f0f2;scrollbar-width:thin}.rider-review-tabs button{flex:0 0 auto;min-height:40px;border:0;border-radius:8px;padding:8px 12px;background:transparent;color:var(--muted);font:inherit;font-size:11px;font-weight:750;letter-spacing:0;cursor:pointer;white-space:nowrap}.rider-review-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 2px 8px rgba(13,47,68,.1)}.rider-review-tabs button:focus-visible{outline:3px solid rgba(20,149,160,.3);outline-offset:1px}
.rider-review-body{display:grid;gap:14px;min-width:0}.rider-review-section{display:grid;gap:13px;min-width:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.rider-review-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rider-review-field{display:grid;gap:5px;min-width:150px}.rider-review-field>span{display:flex;align-items:center;justify-content:space-between;gap:6px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:0}.rider-review-field>span b{border-radius:999px;padding:3px 6px;background:#fff1d0;color:#8a5b00;font-size:8px}.rider-review-field input,.rider-review-field select,.rider-review-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #bdcbd1;border-radius:8px;padding:8px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.rider-review-field textarea{resize:vertical}.rider-review-field input:focus,.rider-review-field select:focus,.rider-review-field textarea:focus{border-color:var(--blue);outline:3px solid rgba(20,149,160,.16)}.rider-review-field.is-changed input,.rider-review-field.is-changed select,.rider-review-field.is-changed textarea{border-color:#d6a742;background:#fffaf0}.rider-review-field [disabled],.rider-review-field [readonly]{background:#f1f4f5;color:#53656d}
.rider-field-compare{margin-top:2px}.rider-field-compare>summary{color:var(--blue);font-size:9px;cursor:pointer}.rider-field-compare>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;margin-top:5px;padding:7px;border-radius:7px;background:#f2f6f7;font-size:9px}.rider-field-compare span{color:var(--muted)}.rider-field-compare strong{overflow-wrap:anywhere}.rider-source{display:inline-flex;width:max-content;max-width:100%;margin-top:6px;border-radius:999px;padding:4px 7px;background:#e5f4f5;color:#176b78;font-size:9px}.rider-source.missing{background:#fff1d8;color:#8b5b00}
.rider-review-table-wrap{width:100%;max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:10px;-webkit-overflow-scrolling:touch}.rider-review-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.rider-review-table th{position:sticky;z-index:2;top:0;padding:9px;background:var(--navy);color:#fff;font-size:9px;text-align:left;white-space:nowrap}.rider-review-table th:first-child{left:0;z-index:3}.rider-review-table td{min-width:150px;max-width:260px;padding:8px;border-right:1px solid #e2e8eb;border-bottom:1px solid #e2e8eb;vertical-align:top;background:#fff}.rider-review-table td:first-child{position:sticky;z-index:1;left:0}.rider-review-table tr.is-changed td{background:#fffaf0}.rider-review-table tr.needs-review td:first-child{box-shadow:inset 4px 0 #d6a742}.rider-review-table tr.is-duplicate td:first-child{background:#fff0ef;box-shadow:inset 4px 0 var(--red)}.rider-review-table tr.is-empty td:first-child{background:#fff7e5}.rider-review-table .rider-review-field{min-width:145px}.rider-review-table .rider-review-field>span{display:none}.rider-inline-check{display:flex;align-items:center;gap:6px;font-size:10px}.rider-row-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.rider-row-actions .btn{min-height:34px}
.rider-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rider-stage-elements{display:grid;gap:9px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#f8fafb}.rider-stage-element{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.rider-stage-element.is-changed{border-color:#d6a742;background:#fffaf0}.rider-stage-element .rider-row-actions,.rider-stage-element .rider-source{grid-column:1/-1}
.rider-warning-list{display:grid;gap:9px}.rider-warning{display:grid;gap:8px;padding:12px;border-left:4px solid #5b8795;border-radius:9px;background:#f4f7f8}.rider-warning.warning{border-color:#d6a742;background:#fff9eb}.rider-warning.blocking{border-color:var(--red);background:#fff1f0}.rider-warning>header{display:flex;align-items:center;justify-content:space-between;gap:8px}.rider-warning>header>span{font-size:10px;font-weight:850}.rider-warning>small{color:var(--muted)}.rider-warning-explanation{margin:0;color:#405760;font-size:11px;line-height:1.45}.rider-warning-action{display:grid;gap:2px;margin:0;padding:9px;border-radius:8px;background:rgba(255,255,255,.72);font-size:10px}.rider-warning-action b{color:var(--navy)}.rider-warning-action span{color:#405760}.rider-validation-list{display:grid;gap:6px}.rider-validation-list h4{margin:4px 0}.rider-validation-list p{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr);gap:3px 8px;margin:0;padding:8px;border-radius:8px;background:#f3f6f7;font-size:10px}.rider-validation-list p.warning{background:#fff7e5}.rider-validation-list p.blocking{background:#fff0ef;color:#8f2727}.rider-validation-list p strong{min-width:70px}.rider-validation-list p small{grid-column:2;color:var(--muted)}
.rider-review-actions{position:sticky;z-index:4;bottom:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 -18px -18px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.rider-review-actions .btn.primary{min-width:170px}.rider-review-actions .btn.primary.has-changes{box-shadow:0 0 0 3px rgba(20,149,160,.18)}.rider-review-actions .btn.secondary{margin-left:auto}.rider-review-live{min-height:18px;color:var(--green);font-size:11px}.rider-review-live.is-error{color:var(--red)}.rider-review-loading{padding:24px;text-align:center;color:var(--muted)}
.rider-review-errors{display:grid;gap:6px;padding:11px;border:1px solid #e8aaa5;border-radius:9px;background:#fff1f0;color:#8d2929}.rider-review-errors>strong{font-size:12px}.rider-review-errors p{display:grid;grid-template-columns:minmax(90px,auto) 1fr;gap:8px;margin:0;font-size:10px}.rider-review-errors p span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.artist-open-row{cursor:pointer;touch-action:pan-y;-webkit-tap-highlight-color:rgba(20,149,160,.12)}.artist-open-row:hover td{background:#f2f9fa}.artist-open-row:focus-visible{outline:3px solid var(--cyan);outline-offset:-3px}.artist-open-row:active td{background:#e4f4f5}

@media(max-width:780px){
  .rider-review-panel{margin-inline:-8px;padding:13px;border-radius:11px}.rider-review-heading h2{font-size:20px}.rider-review-heading>.btn{width:100%;min-height:44px}.rider-review-tabs{margin-inline:-3px}.rider-review-tabs button{min-height:44px}.rider-review-form,.rider-stage-grid,.rider-stage-element{grid-template-columns:1fr}.rider-review-section{padding:12px}.rider-review-table-wrap{overflow:visible;border:0}.rider-review-table,.rider-review-table tbody{display:block;width:100%}.rider-review-table thead{display:none}.rider-review-table tr{display:grid;width:100%;margin-bottom:10px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.rider-review-table td,.rider-review-table td:first-child{position:static;display:grid;grid-template-columns:108px minmax(0,1fr);gap:8px;width:100%;min-width:0;max-width:none;box-sizing:border-box;padding:9px;border-right:0}.rider-review-table td::before{content:attr(data-label);color:var(--muted);font-size:9px;font-weight:800}.rider-review-table td .rider-review-field{min-width:0}.rider-review-table td .rider-review-field>span{display:none}.rider-review-table td .rider-field-compare,.rider-review-table td .rider-row-actions,.rider-review-table td .rider-source{grid-column:2}.rider-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rider-row-actions .danger{grid-column:1/-1}.rider-review-actions{display:grid;grid-template-columns:1fr;margin:0 -13px -13px;padding-inline:13px}.rider-review-actions .btn,.rider-review-actions .btn.primary{width:100%;min-width:0;min-height:48px}.rider-review-actions .btn.secondary{margin-left:0}.rider-warning>header{align-items:flex-start;flex-direction:column}.rider-validation-list p{grid-template-columns:1fr}.rider-validation-list p small{grid-column:1}
}

/* Rider Imports foundation */
.rider-imports .card-body{display:grid;gap:18px}.rider-import-intro,.rider-history-heading,.rider-pending-footer,.rider-import-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.rider-import-intro p{max-width:720px;margin:5px 0 0;color:var(--muted);font-size:12px}.rider-upload-actions{display:flex;gap:9px;flex-wrap:wrap}.rider-dropzone{display:grid;place-items:center;gap:5px;min-height:118px;padding:20px;border:2px dashed #a8bec7;border-radius:14px;background:#f7fbfc;color:var(--navy);cursor:pointer;text-align:center;transition:.18s}.rider-dropzone span{color:var(--muted);font-size:11px}.rider-dropzone:hover,.rider-dropzone:focus-visible,.rider-dropzone.is-dragging{border-color:var(--cyan);background:#eaf9f8;outline:none}.rider-pending{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fbfcfd}.rider-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:11px}.rider-page-card{display:grid;grid-template-columns:60px minmax(0,1fr);gap:10px;align-items:center;min-width:0;padding:9px;border:1px solid var(--line);border-radius:11px;background:#fff}.rider-page-card[draggable="true"]{cursor:grab}.rider-page-card[draggable="true"]:active{cursor:grabbing}.rider-page-preview{position:relative;width:60px;height:70px;overflow:hidden;border:0;border-radius:8px;background:#e8f1f4;color:var(--navy);display:grid;place-items:center;font-size:11px;font-weight:900}.rider-preview-button{padding:0;cursor:pointer}.rider-page-preview img{width:100%;height:100%;object-fit:cover}.rider-page-preview b{position:absolute;right:4px;bottom:4px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:999px;background:var(--navy);color:#fff;font-size:10px}.rider-page-meta{display:grid;gap:4px;min-width:0}.rider-page-meta strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.rider-page-meta small{color:var(--muted)}.rider-page-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:5px}.rider-upload-progress{height:7px;overflow:hidden;border-radius:999px;background:#dfe8eb}.rider-upload-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--cyan));transition:width .15s}.rider-pending-footer>span,.rider-import-footer>span{color:var(--muted);font-size:11px}.rider-import-error{margin:0;padding:10px 12px;border-radius:9px;background:#fff0f0;color:var(--red);font-size:12px}.rider-history{display:grid;gap:10px;padding-top:4px}.rider-history-heading h3{margin:0;font-size:16px}.rider-history-heading span{color:var(--muted);font-size:11px}.rider-import-history{overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}.rider-import-history>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;cursor:pointer;list-style:none}.rider-import-history>summary::-webkit-details-marker{display:none}.rider-import-history>summary>span:first-child{display:grid;gap:2px}.rider-import-history>summary small{color:var(--muted);font-size:10px}.rider-import-history[open]>summary{border-bottom:1px solid var(--line);background:#f7fafb}.rider-import-history-body{display:grid;gap:13px;padding:14px}.rider-import-footer{padding-top:3px}.rider-import-footer .btn[disabled]{cursor:not-allowed;opacity:.55}
.rider-analysis-summary{display:grid;gap:12px;padding:14px;border:1px solid #a9d8d5;border-radius:12px;background:#effaf8}.rider-analysis-summary header{display:flex;justify-content:space-between;gap:12px;align-items:center}.rider-analysis-summary header strong{color:var(--navy);letter-spacing:.05em}.rider-analysis-summary header span{color:var(--muted);font-size:10px}.rider-analysis-summary>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.rider-analysis-summary p{display:grid;gap:3px;margin:0;padding:9px;border-radius:9px;background:#fff}.rider-analysis-summary p span{color:var(--muted);font-size:10px}.rider-analysis-summary p b{font-size:12px}.rider-analysis-result{display:grid;gap:16px;max-height:68vh;overflow:auto;padding-right:4px}.rider-analysis-section{display:grid;gap:9px}.rider-analysis-section h3{margin:0;color:var(--navy);font-size:15px}.rider-analysis-section p{margin:0}.rider-analysis-section dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.rider-analysis-section dl div{padding:9px;border:1px solid var(--line);border-radius:8px}.rider-analysis-section dt{color:var(--muted);font-size:10px}.rider-analysis-section dd{margin:3px 0 0;font-size:12px;font-weight:700}
@media(max-width:780px){.rider-upload-actions{display:grid;grid-template-columns:1fr}.rider-upload-actions .btn{width:100%;min-height:48px}.rider-pages{grid-template-columns:1fr}.rider-page-card{grid-template-columns:54px minmax(0,1fr) auto}.rider-page-preview{width:54px;height:64px}.rider-page-actions{grid-column:3;align-self:stretch;display:grid;grid-template-columns:repeat(2,38px)}.rider-page-actions .btn{min-width:38px;padding:6px}.rider-page-actions .danger{grid-column:1/-1}.rider-pending-footer,.rider-import-footer{align-items:stretch;flex-direction:column}.rider-pending-footer .btn,.rider-import-footer .btn{width:100%;min-height:46px}.rider-import-intro{align-items:flex-start}.rider-dropzone{min-height:92px}.rider-analysis-summary>div,.rider-analysis-section dl{grid-template-columns:repeat(2,minmax(0,1fr))}.rider-analysis-summary header{align-items:flex-start;flex-direction:column}}
@media(max-width:780px){.report-type-grid{grid-template-columns:1fr}.report-filters{align-items:stretch}.report-filters label,.report-filters select{width:100%}.report-document{padding:16px}.report-document-header{flex-direction:column}.report-document-header>div:last-child{text-align:left}.report-kpis{grid-template-columns:repeat(2,1fr)}.report-input-grid{grid-template-columns:1fr}}
@media print{.printing-report .report-picker{display:none!important}.printing-report .report-center{display:block!important}.printing-report .report-document{display:block!important;border:0;box-shadow:none;padding:0;overflow:visible}.printing-report .report-input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.printing-report .report-input-list{break-inside:avoid}}

/* Mobile stability: keep the application viewport fixed while wide data
   modules scroll inside their own containers. */
html,body{max-width:100%;overflow-x:hidden}
.app-shell,.workspace,.content,.content>*{min-width:0;max-width:100%}
.table-wrap,.day-patch-wrap{width:100%;max-width:100%;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
img,iframe{max-width:100%}

@media(max-width:780px){
  .app-shell{width:100%;overflow-x:hidden}
  .workspace{width:100%;overflow-x:hidden}
  .sidebar{top:0;bottom:0;height:100dvh;max-width:86vw;overflow:hidden;box-shadow:18px 0 45px rgba(7,29,44,.28)}
  .sidebar nav{overscroll-behavior:contain}
  .topbar{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;width:100%;min-width:0}
  .topbar>div:nth-child(2){min-width:0}
  .topbar h1,.topbar p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar h1{font-size:18px}
  .topbar p{font-size:11px}
  .top-actions{min-width:0;gap:8px}
  .top-actions .project-switcher,.top-actions .user-session,.top-actions .signout-link{display:none}
  .notification-btn svg{display:none}
  .notification-btn .mobile-user-initials{display:block}
  .mobile-session.mobile-only{display:flex}
  .content{width:100%;padding:14px;overflow-x:hidden}
  .content>*{width:100%}
  .toolbar,.toolbar-left,.toolbar-right,.input-controls{min-width:0}
  .toolbar-left,.toolbar-right{width:100%}
  .toolbar .btn,.toolbar select,.toolbar input,.input-controls label,.input-controls select{max-width:100%}
  .search{width:100%;min-width:0}
  .card-header{align-items:flex-start;flex-wrap:wrap}
  .card-header>.actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
  .kpi-grid{gap:10px}
  .kpi{padding:16px}
  .day-card,.detail-card,.project-card,.supplier-card,.shift-lane{min-width:0}
  .slot{grid-template-columns:28px minmax(0,1fr) auto}
  .slot>*{min-width:0}
  .timeline-item{grid-template-columns:54px 28px minmax(0,1fr);gap:8px;padding:11px}
  .timeline-meta{overflow-wrap:anywhere}
  .festival-toolbar,.festival-hero>article,.artist-hero{padding:17px}
  .festival-now h1{overflow-wrap:anywhere}
  .festival-slot{grid-template-columns:50px 26px minmax(0,1fr);gap:7px;padding-inline:4px}
  .festival-slot>*{min-width:0}
  .festival-slot .festival-action{grid-column:1/-1;width:100%;margin-top:3px}
  .festival-card-actions{width:100%}
  .festival-card-actions .btn{flex:1 1 0;align-self:stretch;min-width:0;height:64px;padding:8px 10px;line-height:1.15;text-align:center}
  .document-artist>summary{grid-template-columns:36px minmax(0,1fr) 18px;padding:12px}
  .document-artist-avatar{width:36px;height:36px}
  .document-artist summary strong,.document-latest strong,.document-version strong{overflow-wrap:anywhere}
  .document-group>header{flex-direction:column}
  .input-controls>*{width:100%}
  .input-controls .btn{width:100%}
  .sticky-actions{bottom:8px}
  .sticky-actions .btn{width:100%}
  .modal{padding:8px}
  .modal-panel{width:100%;max-width:100%;max-height:96dvh;border-radius:13px}
  .modal-panel>header{padding:15px}
  .modal-panel form{padding:15px}
  .modal-panel footer{margin:18px -15px -15px;padding:13px 15px;flex-wrap:wrap}
  .modal-panel footer .btn{flex:1}
  .password-field{grid-template-columns:minmax(0,1fr)}
  .project-checks,.multi-select-grid{grid-template-columns:1fr}
  .toast{left:12px;right:12px;bottom:12px;text-align:center}
}

@media(max-width:420px){
  .content{padding:11px}
  .kpi-grid,.backline-summary,.shift-summary,.report-kpis{grid-template-columns:1fr}
  .festival-times{flex-wrap:wrap}
  .btn{max-width:100%;white-space:normal}
}
.festival-live-timer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.09)}.festival-live-timer span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.72)}.festival-live-timer strong{font-size:28px;font-variant-numeric:tabular-nums;color:#fff}
.festival-loadouts .card-header>div{display:flex;align-items:baseline;gap:10px}.festival-loadouts .card-header small{color:var(--muted)}.festival-loadout{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.festival-loadout:last-child{border-bottom:0}.festival-loadout>div{display:grid;gap:4px}.festival-loadout span{font-size:12px;color:var(--muted)}.festival-loadout time{font-weight:900;color:var(--blue);font-variant-numeric:tabular-nums}@media(max-width:780px){.festival-loadout{grid-template-columns:1fr auto}.festival-loadout .btn{grid-column:1/-1;width:100%}}
.festival-title-block{min-width:0;flex:1 1 260px}.festival-title-topline{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}.festival-title{min-width:0;overflow-wrap:anywhere}.festival-display-switch{display:inline-flex;align-items:center;flex:0 0 auto;width:max-content;min-width:0;padding:3px;gap:2px;border:1px solid rgba(255,255,255,.32);border-radius:12px;background:rgba(255,255,255,.1)}.festival-display-switch button{min-width:0;min-height:38px;border:0;border-radius:9px;padding:0 10px;background:transparent;color:rgba(255,255,255,.82);font:inherit;font-size:10px;font-weight:850;line-height:1;white-space:nowrap;cursor:pointer;touch-action:manipulation}.festival-display-switch button.is-active{background:#fff;color:var(--navy)}.festival-toolbar>.festival-controls{min-width:0;flex:0 1 auto}.festival-day-selector{min-width:0}.festival-day-selector select{max-width:100%;box-sizing:border-box}.festival-clock{flex-shrink:0;white-space:nowrap}
.festival-board.is-operational{gap:12px}.festival-board.is-operational .festival-smart-alerts,.festival-board.is-operational .festival-final{display:none}.festival-board.is-operational .festival-toolbar{padding:14px 16px}.festival-board.is-operational .festival-toolbar h2{font-size:18px}.festival-board.is-operational .festival-hero{grid-template-columns:1.6fr 1fr}.festival-board.is-operational .festival-hero>article{min-height:180px;padding:18px}.festival-board.is-operational .festival-changeover{grid-column:1/-1;min-height:105px}.festival-board.is-operational .festival-now h1{margin:16px 0;font-size:clamp(30px,5vw,48px)}.festival-board.is-operational .festival-lower{grid-template-columns:1.5fr 1fr}.festival-board.is-operational .festival-running-order .workflow-strip{display:none}.festival-board.is-operational .festival-slot{padding-block:9px}.festival-board.is-operational .festival-issues .card-header h2::after{content:' críticas'}
@media(max-width:780px){.festival-toolbar{padding-top:calc(17px + env(safe-area-inset-top));padding-left:calc(17px + env(safe-area-inset-left));padding-right:calc(17px + env(safe-area-inset-right));overflow:visible}.festival-title-topline{align-items:stretch}.festival-title-topline .festival-eyebrow{align-self:center}.festival-display-switch{flex:0 0 auto;width:max-content;max-width:100%;box-sizing:border-box}.festival-display-switch button{flex:0 1 auto;min-width:0}.festival-board.is-operational{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.festival-board.is-operational .festival-toolbar{gap:12px}.festival-board.is-operational .festival-controls{gap:10px}.festival-board.is-operational .festival-clock{display:flex;align-items:center;justify-content:space-between}.festival-board.is-operational .festival-clock strong{font-size:21px}.festival-board.is-operational .festival-hero,.festival-board.is-operational .festival-lower{grid-template-columns:1fr}.festival-board.is-operational .festival-hero>article{min-height:0;padding:16px}.festival-board.is-operational .festival-now{order:1}.festival-board.is-operational .festival-changeover{order:2}.festival-board.is-operational .festival-next{order:3}.festival-board.is-operational .festival-now h1{margin:14px 0;font-size:36px}.festival-board.is-operational .festival-times{margin:0 0 12px}.festival-board.is-operational .festival-live-timer{margin-bottom:12px}.festival-board.is-operational .festival-now .festival-card-actions{position:fixed;z-index:30;left:calc(12px + env(safe-area-inset-left));right:calc(12px + env(safe-area-inset-right));bottom:calc(10px + env(safe-area-inset-bottom));padding:8px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 8px 30px rgba(15,32,55,.22);backdrop-filter:blur(10px)}.festival-board.is-operational .festival-now .festival-card-actions:empty{display:none}.festival-board.is-operational .festival-now .festival-card-actions .btn{min-height:58px}.festival-board.is-operational .festival-slot{grid-template-columns:48px 28px minmax(0,1fr);gap:7px}.festival-board.is-operational .festival-slot .workflow-strip{display:none}.festival-board.is-operational .festival-slot .festival-action{min-height:50px}.festival-board.is-operational .festival-loadout .btn{min-height:54px}.festival-board.is-operational .festival-issues{order:-1}}
@media(max-width:520px){.festival-display-switch button{min-height:44px}}

/* Festival header: compact two-row operational controls. */
.festival-root{position:relative}.festival-main{display:grid;gap:18px;min-width:0}
.festival-operational-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,230px);grid-template-areas:"brand clock" "switches day";align-items:center;column-gap:24px;row-gap:8px;min-height:0;padding:12px 16px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:linear-gradient(135deg,var(--blue),var(--navy2));box-shadow:0 10px 24px rgba(15,32,55,.16)}
.festival-board.is-operational .festival-operational-header{gap:8px 24px;padding:12px 16px}.festival-board.is-operational .festival-operational-header h2{font-size:20px}
.festival-header-brand{grid-area:brand;align-self:center;min-width:0}.festival-header-brand .festival-eyebrow{font-size:9px;font-weight:700;letter-spacing:.08em;color:#16d4db}.festival-header-brand .festival-eyebrow i{width:7px;height:7px;box-shadow:none}.festival-operational-header .festival-title{overflow:hidden;margin:4px 0 0;font-size:20px;font-weight:850;line-height:1.1;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}
.festival-operational-header .festival-clock{grid-area:clock;align-self:center;text-align:right}.festival-operational-header .festival-clock span{font-size:8px;letter-spacing:.08em;color:rgba(255,255,255,.68)}.festival-operational-header .festival-clock strong{display:block;margin-top:3px;font-size:24px;font-weight:700;line-height:1;letter-spacing:.02em}
.festival-header-switches{grid-area:switches;display:flex;align-items:center;gap:10px;min-width:0}.festival-view-control{display:flex;align-items:center;gap:6px;min-width:0}.festival-view-control>span{flex:0 0 auto;font-size:9px;color:rgba(255,255,255,.72)}
.festival-operational-header .operational-mode-switch,.festival-operational-header .festival-display-switch{height:34px;padding:2px;border-color:rgba(255,255,255,.25);border-radius:9px;background:rgba(1,17,29,.26);box-sizing:border-box}.festival-operational-header .operational-mode-switch button,.festival-operational-header .festival-display-switch button{min-width:0;min-height:28px;border-radius:7px;padding:0 9px;font-size:10px;font-weight:800;line-height:1;text-transform:none;letter-spacing:0;color:#fff}.festival-operational-header .operational-mode-switch button.is-active,.festival-operational-header .festival-display-switch button.is-active{background:#0798a0;color:#fff;box-shadow:none}
.festival-operational-header .festival-day-selector{grid-area:day;display:grid;align-self:center;gap:3px;min-width:0;font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:rgba(255,255,255,.7)}.festival-operational-header .festival-day-selector select{width:100%;min-width:0;height:34px;border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:0 10px;background:rgba(255,255,255,.1);color:#fff;font-size:10px}
@media(max-width:780px){.festival-operational-header,.festival-board.is-operational .festival-operational-header{grid-template-columns:minmax(0,1fr) minmax(120px,38vw);grid-template-areas:"brand clock" "switches day";gap:9px 10px;padding:12px 13px;border-radius:13px}.festival-header-brand .festival-eyebrow{font-size:8px}.festival-operational-header .festival-title,.festival-board.is-operational .festival-operational-header h2{margin-top:3px;font-size:17px}.festival-board.is-operational .festival-operational-header .festival-clock{display:block;min-width:0;width:auto;overflow:hidden;text-align:right}.festival-board.is-operational .festival-operational-header .festival-clock strong{margin-top:2px;font-size:20px}.festival-header-switches{align-items:center;flex-direction:row;gap:5px;width:auto}.festival-view-control{display:flex;gap:5px}.festival-view-control>span{display:none}.festival-operational-header .operational-mode-switch,.festival-operational-header .festival-display-switch{display:inline-flex;width:max-content;height:30px}.festival-operational-header .operational-mode-switch button,.festival-operational-header .festival-display-switch button{width:auto;min-width:0;min-height:24px;padding-inline:5px;font-size:9px}.festival-operational-header .festival-day-selector select{max-width:100%;height:30px;overflow:hidden;padding-inline:7px;font-size:9px;text-overflow:ellipsis}}
@media(max-width:380px){.festival-operational-header,.festival-board.is-operational .festival-operational-header{grid-template-columns:minmax(0,1fr) 88px;column-gap:8px;padding-inline:11px}.festival-operational-header .festival-title,.festival-board.is-operational .festival-operational-header h2{font-size:15px}.festival-operational-header .festival-clock span,.festival-operational-header .festival-day-selector{font-size:7px}.festival-board.is-operational .festival-operational-header .festival-clock strong{font-size:18px}.festival-operational-header .operational-mode-switch button,.festival-operational-header .festival-display-switch button{padding-inline:3px;font-size:7px}.festival-header-switches{gap:3px}.festival-operational-header .festival-day-selector select{padding-inline:4px;font-size:8px}}
.festival-hero>article>.festival-card-label{width:100%;min-height:28px;flex:0 0 auto;align-items:center;line-height:1}.festival-card-label>span:first-child{display:inline-flex;align-items:center;min-height:28px}.festival-card-label>.badge,.festival-card-label>.festival-next-meta{min-height:28px}.festival-changeover{justify-content:flex-start}.festival-changeover .festival-card-label{margin-bottom:0;text-align:left}.festival-changeover>strong{margin:auto 0 0}.festival-changeover>p{margin:0 0 auto}
.festival-toggle-debug{position:fixed;z-index:1000;right:8px;bottom:8px;display:grid;gap:2px;max-width:min(310px,calc(100vw - 16px));max-height:70vh;overflow:auto;padding:10px 12px;border:2px solid #62d6c8;border-radius:10px;background:#0d2f44;color:#fff;box-shadow:0 8px 30px rgba(0,0,0,.35);font:11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace}.festival-toggle-debug strong{color:#62d6c8}.festival-toggle-debug span{display:block}.festival-toggle-debug b{overflow-wrap:anywhere}
@media print{.printing-festival-log .festival-board>.festival-main{display:grid!important}.printing-festival-log .festival-main>*:not(.festival-final){display:none!important}}
@media(max-width:780px){.festival-root>.festival-toolbar{padding-top:17px}.festival-main{gap:12px}.festival-toggle-debug{right:calc(8px + env(safe-area-inset-right));bottom:calc(8px + env(safe-area-inset-bottom));left:calc(8px + env(safe-area-inset-left));max-width:none}}

/* Modo Operacional: Showtime e Soundcheck partilham a mesma superfície e o mesmo polling. */
.operational-panel{display:grid;gap:18px;min-width:0}.operational-panel[hidden]{display:none!important}.operational-mode-switch{display:inline-flex;align-items:center;flex:0 0 auto;width:max-content;min-width:0;padding:3px;gap:2px;border:1px solid rgba(255,255,255,.28);border-radius:10px;background:rgba(255,255,255,.08)}.operational-mode-switch button{min-width:0;min-height:38px;border:0;border-radius:7px;padding:7px 12px;background:transparent;color:rgba(255,255,255,.72);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.operational-mode-switch button.is-active{background:#fff;color:var(--navy);box-shadow:0 2px 9px rgba(0,0,0,.16)}.soundcheck-panel .festival-hero{grid-template-columns:1.7fr 1fr}.soundcheck-now{background:linear-gradient(135deg,#087f8c,#18365c)}.soundcheck-live-badge{color:#083344;border-color:#67e8f9;background:#cffafe;font-weight:850;box-shadow:0 0 0 4px rgba(103,232,249,.16)}.soundcheck-lower{grid-template-columns:1fr}.soundcheck-slot{grid-template-columns:70px 32px minmax(0,1fr) auto auto auto}.festival-check-progress{display:inline-grid;place-items:center;min-width:42px;height:27px;border-radius:999px;background:#dff7f4;color:#075f63;font-size:10px;font-weight:850}.soundcheck-checklist>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;background:#def4f1;cursor:pointer;list-style:none}.soundcheck-checklist>summary::-webkit-details-marker{display:none}.soundcheck-checklist>summary>span{display:grid;gap:1px}.soundcheck-checklist>summary strong{font-size:11px}.soundcheck-checklist>summary small{font-size:9px;color:var(--muted)}.soundcheck-checklist>summary>b{display:grid;place-items:center;min-width:38px;height:25px;border-radius:999px;background:var(--blue);color:#fff;font-size:10px}.soundcheck-checklist[open]>summary{border-bottom:1px solid #9cd6d1}.festival-live-timer small{display:block;margin-top:3px;color:rgba(255,255,255,.7);font-size:10px}.festival-board.is-operational .soundcheck-checklist:not([open])>div{display:none}.festival-board.is-operational .soundcheck-checklist>summary{min-height:44px}.festival-board.is-operational .soundcheck-panel .workflow-strip{display:none}.festival-board.is-operational .soundcheck-lower{grid-template-columns:1fr}
@media(max-width:780px){.operational-panel{gap:12px}.operational-mode-switch{flex:0 0 auto;width:max-content;max-width:100%}.operational-mode-switch button{flex:0 1 auto;min-width:0}.soundcheck-panel .festival-hero{grid-template-columns:1fr}.soundcheck-slot{grid-template-columns:48px 28px minmax(0,1fr)}.soundcheck-slot .festival-state-badge,.soundcheck-slot .festival-check-progress{grid-column:3}.soundcheck-slot .festival-action{grid-column:1/-1;width:100%;min-height:50px}.soundcheck-checklist>div{grid-template-columns:1fr}}
@media(max-width:520px){.operational-mode-switch button{min-height:44px;padding-inline:9px}}
@media(max-width:600px){.festival-operational-header,.festival-board.is-operational .festival-operational-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand clock" "switches switches" "day day";gap:8px 10px;padding:10px 11px 11px;overflow:hidden}.festival-header-switches{align-items:center;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;gap:8px;width:100%;max-width:100%;padding-top:9px;border-top:1px solid rgba(255,255,255,.14);overflow:visible}.festival-header-switches>*{flex:1 1 0;max-width:none}.festival-view-control{width:auto}.festival-operational-header .operational-mode-switch,.festival-operational-header .festival-display-switch{display:flex;width:100%;height:44px;max-width:none}.festival-operational-header .operational-mode-switch button,.festival-operational-header .festival-display-switch button{flex:1 1 0;min-height:40px;padding-inline:7px;font-size:9px}.festival-operational-header .festival-day-selector{align-self:center;width:100%}.festival-operational-header .festival-day-selector select{height:44px;padding-inline:9px;font-size:9px}}
.festival-daily-report-button{margin-top:10px;min-height:36px;border:1px solid rgba(255,255,255,.35);border-radius:9px;padding:7px 11px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.festival-daily-report-button:hover{background:rgba(255,255,255,.18)}
.operational-reports,.reports-module-header,.operational-report-preview,.reports-selection-heading,.operational-report-preview>.daily-report{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.operational-reports{display:grid;gap:18px}.reports-module-header{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.reports-module-header>div{flex:1 1 420px;min-width:0}.reports-module-header>div:first-child>span,.reports-selection-heading>span{color:var(--blue);font-size:11px;font-weight:850;letter-spacing:.12em}.reports-module-header h2,.reports-selection-heading h1{margin:6px 0}.reports-module-header p,.reports-selection-heading p{margin:0;color:var(--muted)}.operational-report-type{flex:1 1 220px;max-width:360px;min-width:0}.operational-report-type select{width:100%;max-width:100%;min-width:0}.operational-report-filters{position:sticky;z-index:4;top:0;display:flex;align-items:end;flex-wrap:wrap;gap:12px;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:var(--shadow);backdrop-filter:blur(10px)}.operational-report-filters label{flex:1 1 220px;max-width:360px;min-width:0}.operational-report-filters select{width:100%;max-width:100%;min-width:0}.operational-report-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:100%;min-width:0;margin-left:auto}.operational-report-actions .btn{min-width:0}.operational-report-preview{display:grid;gap:18px}.reports-selection-heading{padding:22px 26px;border:1px solid var(--line);border-radius:14px;background:#fff}.operational-report-preview>.daily-report{margin:0 auto}.operational-report-preview>.daily-report+.daily-report{margin-top:10px}.report-table-wrapper{width:100%;max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.daily-report-config{display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.daily-report-config header span,.daily-report-config legend{color:var(--blue);font-size:11px;font-weight:850;letter-spacing:.1em}.daily-report-config header h2{margin:5px 0 0}.daily-report-config fieldset{display:flex;flex-wrap:wrap;gap:9px 18px;margin:0;border:0;padding:0}.daily-report-config legend{width:100%;margin-bottom:8px}.daily-report-config label{display:flex;align-items:center;gap:8px;min-height:38px;color:var(--ink);font-size:12px;font-weight:700}.daily-report-config input{width:18px;height:18px;margin:0}.daily-report-section-options,.daily-report-field-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:100%}.daily-report-section-options label,.daily-report-field-options label{padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}.daily-report-more{border-top:1px solid var(--line);padding-top:14px}.daily-report-more>summary,.daily-report-more details>summary{min-height:44px;color:var(--blue);font-size:12px;font-weight:800;cursor:pointer}.daily-report-more>fieldset,.daily-report-more>details{margin:8px 0 0;padding:12px;border:1px solid var(--line);border-radius:10px}.daily-report-more details:not([open]) .daily-report-field-options{display:none}.daily-report-config>footer,.daily-report-preview-actions{display:flex;justify-content:flex-end;gap:9px}.daily-report-preview-actions{position:sticky;z-index:4;top:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.96)}.daily-report-summary-line{display:flex;flex-wrap:wrap;gap:8px 22px;padding:12px 0;border-top:1px solid #cbd6dc;border-bottom:1px solid #cbd6dc;font-size:11px}.daily-report-summary-line b{color:var(--navy)}.daily-report-indicators{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}.daily-report-indicators div{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px dotted #aab8c0}.daily-report-indicators dt,.daily-report-indicators dd{margin:0}.daily-report-indicators dd{font-weight:800;color:var(--navy)}.daily-report-portrait{max-width:210mm!important}.daily-report-landscape{max-width:297mm!important}
.daily-report-open{overflow:hidden}.daily-report-overlay{position:fixed;z-index:1000;inset:0;overflow:auto;background:#eef2f6;color:var(--ink)}.daily-report-actions{position:sticky;z-index:5;top:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}.daily-report-actions>div{display:flex;gap:8px;flex-wrap:wrap}.daily-report{width:min(1480px,calc(100% - 40px));margin:22px auto;padding:32px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}.daily-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;padding-bottom:20px;border-bottom:3px solid var(--blue)}.daily-report-header span{color:var(--blue);font-size:11px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.daily-report-header h1{margin:7px 0 4px;font-size:28px}.daily-report-header p{margin:0;color:var(--muted)}.daily-report-header img{width:120px;height:auto}.daily-report-status{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:20px 0;padding:18px;border-radius:12px;background:var(--navy);color:#fff}.daily-report-status div{display:grid;gap:4px}.daily-report-status span,.daily-report-status small{color:rgba(255,255,255,.7);font-size:11px}.daily-report-status strong{font-size:20px}.daily-report section{margin-top:26px}.daily-report h2{margin:0 0 12px;font-size:17px}.daily-report-kpis{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px}.daily-report-kpis article{display:grid;gap:5px;min-height:78px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.daily-report-kpis span,.daily-report-kpis small{color:var(--muted);font-size:10px}.daily-report-kpis strong{font-size:17px}.daily-report-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:10px}.daily-report-table{width:100%;border-collapse:collapse;font-size:11px}.daily-report-table th{background:var(--navy);color:#fff;text-align:left;white-space:nowrap}.daily-report-table th,.daily-report-table td{padding:9px;border-bottom:1px solid var(--line);vertical-align:top}.daily-report-table td small{display:block;margin-top:3px;color:var(--muted)}.daily-report-table tbody tr:last-child td{border-bottom:0}.daily-report-notes{display:grid;gap:8px}.daily-report-notes article{padding:12px;border-left:3px solid var(--cyan);background:var(--bg)}.daily-report-notes p{margin:4px 0 0;white-space:pre-wrap}.daily-report>footer{margin-top:28px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;text-align:center}
@media(max-width:780px){.festival-daily-report-button{width:100%;min-height:44px}.daily-report-actions{align-items:stretch;flex-direction:column;padding:10px}.daily-report-actions>div{display:grid;grid-template-columns:1fr 1fr}.daily-report-actions .btn{min-height:44px}.daily-report{width:calc(100% - 20px);margin:10px auto;padding:16px;border-radius:12px}.daily-report-header img{width:82px}.daily-report-header h1{font-size:22px}.daily-report-status{align-items:flex-start;flex-direction:column}.daily-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-report-table{min-width:1150px}.daily-report-header{gap:15px}}
@media(max-width:1023px){.operational-report-actions{flex:1 1 100%;width:100%;margin-left:0}.operational-report-actions .btn{flex:1 1 140px}}
@media(max-width:780px){.reports-module-header{padding:16px}.operational-report-type{width:100%;max-width:none}.operational-report-filters{position:static;align-items:stretch;flex-direction:column;padding:12px}.operational-report-filters label{width:100%;max-width:none;min-width:0}.operational-report-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-left:0}.operational-report-actions .btn{width:100%;min-height:44px}.operational-report-preview>.daily-report{width:100%;margin:0}.reports-selection-heading{padding:16px}}
@media(max-width:780px){.daily-report-config{padding:16px}.daily-report-section-options,.daily-report-field-options{grid-template-columns:1fr}.daily-report-config label,.daily-report-config>footer .btn,.daily-report-preview-actions .btn{min-height:44px}.daily-report-config>footer,.daily-report-preview-actions{display:grid;grid-template-columns:1fr 1fr}.daily-report-indicators{grid-template-columns:1fr}.daily-report-portrait,.daily-report-landscape{width:100%!important;max-width:100%!important}.daily-report-preview{overflow:hidden}.daily-report-preview .daily-report-table-wrap{overflow-x:auto}}
@media(max-width:359px){.operational-report-actions{grid-template-columns:1fr}}
@media print{body.printing-daily-report>*:not(#dailyReportOverlay){display:none!important}body.printing-daily-report{overflow:visible;background:#fff}body.printing-daily-report .daily-report-overlay{position:static;overflow:visible;background:#fff}body.printing-daily-report .daily-report-actions{display:none!important}body.printing-daily-report .daily-report{width:100%;margin:0;padding:0;border:0;box-shadow:none}body.printing-daily-report .daily-report-table-wrap{overflow:visible;border-color:#b9c2cc}body.printing-daily-report .daily-report-table{font-size:8pt}body.printing-daily-report .daily-report-table th{background:#18365c!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}body.printing-daily-report .daily-report-table thead{display:table-header-group}body.printing-daily-report .daily-report-table tr,body.printing-daily-report .daily-report-kpis article,body.printing-daily-report .daily-report-notes article{break-inside:avoid;page-break-inside:avoid}body.printing-daily-report .daily-report-status{background:#18365c!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}@page{size:A4 landscape;margin:12mm}}

.artist-task-list{display:grid;gap:10px}.artist-task{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.artist-task>div{display:grid;min-width:0;gap:4px}.artist-task strong,.artist-task small{overflow-wrap:anywhere}.artist-task small{color:var(--muted)}.artist-task-priority{width:max-content;padding:2px 7px;border-radius:999px;background:var(--bg);color:var(--muted);font-size:.72rem;font-weight:700}.artist-task-priority.priority-critica{background:#fee2e2;color:#991b1b}.artist-task-priority.priority-alta{background:#fff3cd;color:#7c4a03}.artist-task-resolve{min-height:44px;white-space:nowrap;background:var(--white);color:var(--ink);border-color:var(--line)}.artist-task-resolve:hover{background:var(--bg)}.artist-task-resolve.is-resolved,.artist-task-resolve.is-resolved:hover{background:var(--green-bg);color:var(--green);border-color:var(--green)}.daily-report-task-lists{display:grid;grid-template-columns:1fr 1fr;gap:18px}.daily-report-task-lists>div{min-width:0}.daily-report-task-lists h3{margin:0 0 8px;font-size:.85rem}.daily-report-task{padding:9px 0;border-bottom:1px solid #dce2e8;break-inside:avoid;page-break-inside:avoid}.daily-report-task strong,.daily-report-task p,.daily-report-task small{display:block;margin:0}.daily-report-task p{margin-top:3px}.daily-report-task small{margin-top:3px;color:#536170}
@media(max-width:780px){.artist-task{align-items:stretch;flex-direction:column}.artist-task-resolve{width:100%}.daily-report-task-lists{grid-template-columns:1fr}}
@media print{.daily-report-tasks,.daily-report-task,.daily-report-task-lists>div{background:#fff!important;color:#111!important}.daily-report-task{break-inside:avoid;page-break-inside:avoid}}

@media print{@page{size:A4 landscape;margin:10mm}html,body{width:auto!important;height:auto!important;overflow:visible!important;background:#fff!important}body.report-printing .app-sidebar,body.report-printing .topbar,body.report-printing .reports-module-header,body.report-printing .reports-toolbar,body.report-printing .reports-actions,body.report-printing .operational-report-filters,body.report-printing .no-print{display:none!important}body.report-printing #app,body.report-printing .workspace,body.report-printing #content,body.report-printing .operational-reports,body.report-printing .report-print-area{display:block!important;visibility:visible!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;transform:none!important;opacity:1!important;contain:none!important;margin:0!important;padding:0!important}body.report-printing .reports-selection-heading{border:0;padding:0 0 8mm;box-shadow:none}body.report-printing .daily-report{width:100%;margin:0 0 10mm;padding:0;border:0;box-shadow:none;break-after:page}body.report-printing .daily-report:last-child{break-after:auto}body.report-printing .report-table-wrapper,body.report-printing .daily-report-table-wrap{width:100%!important;max-width:none!important;overflow:visible!important}body.report-printing .report-table,body.report-printing .daily-report-table{width:100%!important;min-width:0!important;table-layout:auto!important;font-size:8pt}body.report-printing thead{display:table-header-group}body.report-printing tr,body.report-printing .daily-report-kpis article,body.report-printing .daily-report-notes article{break-inside:avoid;page-break-inside:avoid}body.report-printing .report-section,body.report-printing .daily-report section{break-inside:auto;page-break-inside:auto}}
@media print{body.report-printing .daily-report-config,body.report-printing .daily-report-preview-actions{display:none!important}body.report-printing .daily-report{background:#fff!important;color:#111!important}body.report-printing .daily-report-header{border-bottom-color:#116a9b}body.report-printing .daily-report-status{border:1px solid #697983;background:#fff!important;color:#111!important}body.report-printing .daily-report-status span,body.report-printing .daily-report-status small{color:#4e5d66!important}body.report-printing .daily-report-table th{background:#e5edf2!important;color:#111!important;border-bottom:1px solid #7d8b94!important}body.report-printing .daily-report-table thead{display:table-header-group}body.report-printing .daily-report-table tr{break-inside:avoid;page-break-inside:avoid}body.report-print-portrait .daily-report{page:daily-report-portrait}body.report-print-landscape .daily-report{page:daily-report-landscape}@page daily-report-portrait{size:A4 portrait;margin:12mm}@page daily-report-landscape{size:A4 landscape;margin:10mm}}

/* Relatório diário: composição editorial compacta e estável em PDF. */
.operational-report-preview .daily-report{padding:24px}.operational-report-preview .daily-report-header{align-items:center;gap:24px}.operational-report-preview .daily-report-header>div{min-width:0;padding-left:2px}.operational-report-preview .daily-report-header img{flex:0 0 auto;margin-right:2px;width:78px}.operational-report-preview .daily-report-header h1{font-size:23px}.operational-report-preview .daily-report-header .daily-report-date{margin:5px 0 8px;font-size:13px}.operational-report-preview .daily-report-header h2{font-size:12px}.operational-report-preview .daily-report-status{gap:16px;margin-top:12px;padding:7px 2px}.operational-report-preview .daily-report-status strong{font-size:12px}.operational-report-preview .daily-report-status small{font-size:9px;text-align:right}.operational-report-preview .daily-report section{margin-top:14px}.operational-report-preview .daily-report section>h2{margin-bottom:6px;font-size:12px}.operational-report-preview .daily-report-summary-grid{gap:0 18px;font-size:10px}.operational-report-preview .daily-report-summary-grid div,.operational-report-preview .daily-report-indicators div{padding:5px 0}.operational-report-preview .daily-report-summary-grid dd,.operational-report-preview .daily-report-indicators dd{font-size:10px}.operational-report-preview .daily-report-table{font-size:9px}.operational-report-preview .daily-report-table th,.operational-report-preview .daily-report-table td{padding:6px}.operational-report-preview .daily-report-indicators{gap:0 20px}.operational-report-preview .daily-report-method{font-size:8px}
@media print{body.report-printing .daily-report-header{align-items:center;gap:8mm;padding-bottom:4mm}body.report-printing .daily-report-header>div{padding-left:0}body.report-printing .daily-report-header img{width:20mm;margin-right:0}body.report-printing .daily-report-header h1{font-size:16pt}body.report-printing .daily-report-header .daily-report-date{margin:1.5mm 0 2mm;font-size:9pt}body.report-printing .daily-report-header h2{font-size:8pt}body.report-printing .daily-report-header .daily-report-context{font-size:7pt}body.report-printing .daily-report-status{margin:3mm 0 0;padding:2mm 0}body.report-printing .daily-report-status strong{font-size:9pt}body.report-printing .daily-report-status small{font-size:6.5pt;text-align:right}body.report-printing .daily-report section{margin-top:4mm}body.report-printing .daily-report section>h2{margin-bottom:2mm;font-size:9pt}body.report-printing .daily-report-summary-grid,body.report-printing .daily-report-indicators{font-size:7.5pt}body.report-printing .daily-report-summary-grid div,body.report-printing .daily-report-indicators div{padding:1.5mm 0}body.report-printing .daily-report-summary-grid dd,body.report-printing .daily-report-indicators dd{font-size:7.5pt}body.report-printing .daily-report-table{font-size:6.8pt}body.report-printing .daily-report-table th,body.report-printing .daily-report-table td{padding:1.6mm}body.report-printing .daily-report-changeovers>h2{break-after:avoid;page-break-after:avoid}body.report-printing .daily-report-method{font-size:6.5pt}}

/* Exportação configurável da Equipa Técnica. */
.crew-export-modal .modal-panel{width:min(1040px,96vw)}.crew-export-config{display:grid;gap:13px;min-width:0}.crew-export-section{min-width:0;border:1px solid var(--line);border-radius:12px;padding:13px;background:var(--white)}.crew-export-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.crew-export-section-title>div{display:flex;flex-wrap:wrap;gap:6px}.crew-export-section-title strong{font-size:13px}.crew-export-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.crew-export-filters label,.crew-export-output label{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:11px;font-weight:750}.crew-export-filters select,.crew-export-output select{width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:var(--white);color:var(--ink)}.crew-export-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.crew-export-fields label{display:flex;align-items:center;gap:9px;min-width:0;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:var(--bg);color:var(--ink);font-size:12px;font-weight:700}.crew-export-fields input{flex:0 0 auto;width:17px!important;height:17px;margin:0}.crew-export-output{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crew-export-preview{display:grid;gap:9px}.crew-export-preview-summary{font-size:12px;color:var(--muted)}.crew-export-preview-summary strong{font-size:18px;color:var(--ink)}.crew-export-preview-table{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:9px}.crew-export-table{width:100%;border-collapse:collapse;font-size:11px}.crew-export-table th,.crew-export-table td{padding:8px 9px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.crew-export-table th{background:var(--navy);color:#fff;white-space:nowrap}.crew-export-table tbody tr:last-child td{border-bottom:0}.crew-export-print{display:none}
@media(max-width:780px){.crew-export-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.crew-export-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.crew-filter-toolbar .toolbar-right{width:100%}.crew-filter-toolbar .toolbar-right .btn{flex:1 1 0;min-height:44px}.crew-export-modal{padding:7px;overflow:hidden}.crew-export-modal .modal-panel{display:flex;flex-direction:column;width:100%;max-width:100%;max-height:calc(100dvh - 14px);overflow:hidden}.crew-export-modal .modal-panel>header{flex:0 0 auto}.crew-export-modal .modal-panel form{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;overflow:auto;padding:12px 12px 0}.crew-export-config{gap:10px}.crew-export-section{padding:11px}.crew-export-section-title{align-items:flex-start;flex-direction:column}.crew-export-section-title>div{width:100%}.crew-export-section-title .btn{flex:1 1 auto;min-height:44px;padding-inline:8px}.crew-export-filters,.crew-export-fields,.crew-export-output{grid-template-columns:1fr}.crew-export-filters select,.crew-export-output select,.crew-export-fields label{min-height:44px}.crew-export-preview-table{display:none}.crew-export-modal .modal-panel footer{position:sticky;z-index:2;bottom:0;flex:0 0 auto;margin:12px -12px 0;padding:12px;background:var(--white);box-shadow:0 -8px 18px rgba(13,47,68,.08)}.crew-export-modal .modal-panel footer .btn{min-height:44px}.crew-export-modal .modal-panel footer .btn.primary{flex:1.5 1 160px}}
.shift-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.crew-export-filters input{width:100%;min-width:0;height:40px;border:1px solid var(--line);border-radius:8px;padding:0 10px;background:var(--white);color:var(--ink)}
.export-source-table{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.output-pdf-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.output-pdf-groups>.output-pdf-table{margin:0 0 5mm}.output-pdf-groups>.output-pdf-table:last-child{margin-bottom:0}.output-pdf-artist th{background:#103a5c!important;color:#fff!important;text-transform:none!important}.output-pdf-artist strong{font-size:10pt}.output-pdf-artist small{margin-left:3mm;color:#d7e7ee;font-size:6.5pt}.output-pdf-table td:first-child:empty{background:inherit!important}
@media(max-width:780px){.output-controls{align-items:stretch}.output-pdf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-left:0}.output-pdf-actions .btn{width:100%;min-height:44px}}
@media print{.output-pdf-groups>.output-pdf-table{break-inside:auto;page-break-inside:auto}.output-pdf-artist{break-after:avoid;page-break-after:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact}.output-pdf-artist th{background:#103a5c!important;color:#fff!important}.output-pdf-table td:first-child:empty{background:transparent!important}}
@media(max-width:780px){.shift-toolbar{align-items:stretch;flex-direction:column}.shift-toolbar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.shift-toolbar-actions .btn{width:100%;min-height:44px}}
@media(max-width:600px){.crew-export-filters input{min-height:44px}.shift-export-modal .crew-export-fields{grid-template-columns:1fr}.shift-export-modal .modal-panel footer .btn{min-height:44px}}
@page crew-export-portrait{size:A4 portrait;margin:0}@page crew-export-landscape{size:A4 landscape;margin:0}
@media print{body.printing-crew-export>*:not(#crewExportPrint){display:none!important}body.printing-crew-export{background:#fff!important;color:#102d3d!important}.crew-export-print{width:100%;margin:0;padding:0;color:#102d3d}.crew-export-print.crew-export-portrait{display:block;page:crew-export-portrait}.crew-export-print.crew-export-landscape{display:block;page:crew-export-landscape}.crew-export-print .report-document-header{margin-bottom:8mm}.crew-export-print-table{width:100%;overflow:visible}.crew-export-print .crew-export-table{width:100%;table-layout:auto;border-collapse:collapse;font-size:8pt}.crew-export-print .crew-export-table thead{display:table-header-group}.crew-export-print .crew-export-table th{background:#103a5c!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.crew-export-print .crew-export-table th,.crew-export-print .crew-export-table td{padding:2.2mm;border:.2mm solid #aab8bf;overflow-wrap:anywhere}.crew-export-print .crew-export-table tr{break-inside:avoid;page-break-inside:avoid}}

/* Linguagem editorial partilhada pelos documentos GTF. */
.report-title-block{display:flex;align-items:flex-start;gap:14px;min-width:0}.report-brand-mark{display:grid;flex:0 0 auto;place-items:center;width:52px;height:52px;border-radius:12px;background:#103a5c;color:#fff}.report-brand-mark img{width:27px;height:27px;object-fit:contain;filter:brightness(0) invert(1)}.report-brand-mark span{margin-top:-5px;color:#fff!important;font-size:7px!important;letter-spacing:.16em!important}.report-project-block{display:grid;gap:3px;max-width:34%;padding:10px 0 10px 18px;border-left:1px solid #cfdbe1;text-align:right}.report-project-block strong{font-size:13px;line-height:1.15}.report-document-footer{display:flex;justify-content:space-between;gap:16px;margin-top:18px;padding-top:10px;border-top:1px solid #c8d4da;color:#687983;font-size:8px;letter-spacing:.02em}.report-document-footer strong{color:#103a5c}
@media(max-width:780px){.report-project-block{max-width:none;padding:10px 0 0;border-left:0;border-top:1px solid #cfdbe1;text-align:left}.report-document-footer{align-items:flex-start;flex-direction:column;gap:4px}}
.crew-export-print.is-paginating{position:fixed!important;z-index:-1;top:0;left:-10000px;display:block!important;visibility:hidden;pointer-events:none}.export-print-page{box-sizing:border-box;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:5mm;width:210mm;height:297mm;padding:10mm 12mm}.crew-export-landscape .export-print-page{width:297mm;height:210mm;padding:8mm 10mm}.export-print-page-body{min-height:0;overflow:hidden}.export-print-page-header,.export-print-page-footer{min-width:0}.crew-export-print.is-paginating .report-document-header{align-items:center;gap:8mm;margin:0;padding-bottom:5mm;border-bottom:1.1mm solid #103a5c}.crew-export-print.is-paginating .report-title-block{align-items:center;gap:5mm}.crew-export-print.is-paginating .report-brand-mark{width:20mm;height:20mm;border-radius:0;background:#fff;color:#103a5c}.crew-export-print.is-paginating .report-brand-mark img{width:16mm;height:16mm;filter:none}.crew-export-print.is-paginating .report-brand-mark span{display:none}.crew-export-print.is-paginating .report-document-header h1{margin:1.2mm 0 .8mm;font-size:18pt;line-height:1.02}.crew-export-print.is-paginating .report-project-block{padding:2mm 0 2mm 5mm}.crew-export-print.is-paginating .crew-export-table{table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:8.2pt}.crew-export-print.is-paginating .crew-export-table th{padding:2.4mm 2.2mm;font-size:6.7pt}.crew-export-print.is-paginating .crew-export-table td{padding:2.6mm 2.2mm;line-height:1.25}.crew-export-print.is-paginating .report-document-footer{margin:0;padding-top:2.5mm;font-size:6.2pt}

@media print{
  html,body,body.printing-crew-export{margin:0!important;padding:0!important}
  .crew-export-print{width:auto;margin:0;padding:0;color:#102d3d;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .crew-export-print .export-print-page{break-after:page;page-break-after:always}
  .crew-export-print .export-print-page:last-child{break-after:auto;page-break-after:auto}
  .crew-export-print .report-document-header{position:static;align-items:center;gap:8mm;margin:0;padding-bottom:5mm;border-bottom:1.1mm solid #103a5c;background:#fff!important}
  .crew-export-print .report-title-block{align-items:center;gap:5mm;min-width:0}
  .crew-export-print .report-brand-mark{width:20mm;height:20mm;border-radius:0;background:#fff!important;color:#103a5c!important}
  .crew-export-print .report-brand-mark img{width:16mm;height:16mm;filter:none}
  .crew-export-print .report-brand-mark span{display:none!important}
  .crew-export-print .report-document-kicker{font-size:6.5pt}
  .crew-export-print .report-document-header h1{margin:1.2mm 0 .8mm;font-size:18pt;line-height:1.02;letter-spacing:-.02em}
  .crew-export-print .report-document-header p{font-size:7.5pt}
  .crew-export-print .report-project-block{display:grid;gap:.8mm;max-width:38%;padding:2mm 0 2mm 5mm;border-top:0;border-left:.25mm solid #b6c6cd;text-align:right}
  .crew-export-print .report-project-block span{font-size:5.8pt}
  .crew-export-print .report-project-block strong{font-size:9pt;line-height:1.15}
  .crew-export-print .report-project-block small{font-size:6.5pt}
  .crew-export-print .crew-export-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:8.2pt}
  .crew-export-print .crew-export-table thead{display:table-header-group!important;break-inside:avoid;page-break-inside:avoid}
  .crew-export-print .crew-export-table tbody{display:table-row-group}
  .crew-export-print .crew-export-table th{position:static;padding:2.4mm 2.2mm;border:0;border-bottom:.65mm solid #103a5c;background:#e6f0f3!important;color:#103a5c!important;font-size:6.7pt;font-weight:900;letter-spacing:.05em;text-align:left;text-transform:uppercase;white-space:nowrap}
  .crew-export-print .crew-export-table td{padding:2.6mm 2.2mm;border:0;border-bottom:.2mm solid #cfd9de;line-height:1.25;overflow-wrap:anywhere;vertical-align:top}
  .crew-export-print .crew-export-table tbody tr:nth-child(even) td:not(.export-cell-group-placeholder){background:#f5f8f9!important}
  .crew-export-print .crew-export-table tr{break-inside:avoid;page-break-inside:avoid}
  .crew-export-print .export-day-group{margin-top:2.5mm}
  .crew-export-print .export-day-group:first-child{margin-top:0}
  .crew-export-print .export-day-divider th{padding:1.8mm 2.2mm;border:0;background:#103a5c!important;color:#fff!important;font-size:7pt;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
  .crew-export-print .export-day-group .export-column-headings th{border-top:0}
  .crew-export-print .export-cell-group-placeholder{background:#fff!important;color:transparent}
  .crew-export-print .export-cell-primary{font-weight:850;color:#102d3d}
  .crew-export-print .export-cell-date,.crew-export-print .export-cell-time{font-variant-numeric:tabular-nums;white-space:nowrap}
  .crew-export-print .export-cell-time{font-weight:750;color:#145f78}
  .crew-export-print .export-cell-status{font-size:7.3pt;font-weight:800}
  .crew-export-print .export-cell-empty{color:#91a0a8}
  .crew-export-print .report-document-footer{position:static;display:flex;justify-content:space-between;gap:5mm;margin:0;padding-top:2.5mm;border-top:.25mm solid #b9c8cf;background:#fff!important;font-size:6.2pt}
  .crew-export-print.export-document-programacao-tecnica .export-cell-primary{font-size:9pt}
  .crew-export-print.export-document-programacao-tecnica .export-cell-time{font-size:8.5pt}
  .crew-export-print.export-document-artistas .export-cell-primary{font-size:9pt}
  .crew-export-print.export-document-turnos .export-cell-primary{font-size:8.8pt}
  .crew-export-print.export-document-turnos .export-cell-time{font-size:9pt}
}

/* Mantém o acabamento do Relatório do Dia acima das regras legadas na cascata. */
.operational-reports .daily-report-config{color:#111827;background:#fff;border-color:#d7dee5;box-shadow:0 12px 30px rgba(15,42,61,.08)}
.operational-reports .daily-report-config header span,.operational-reports .daily-report-config legend{color:#116a9b}.operational-reports .daily-report-config header h2{color:#18365c}.operational-reports .daily-report-config label{color:#263746}
.operational-reports .daily-report-section-options label,.operational-reports .daily-report-field-options label{border-color:#d7dee5;background:#f8fafb;color:#18365c}.operational-reports .daily-report-section-options label:has(input:checked){border-color:#18365c;background:#18365c;color:#fff}
.operational-reports .daily-report-more>summary,.operational-reports .daily-report-more details>summary{color:#18365c}.operational-reports .daily-report-config>footer .btn.ghost{border:1px solid #b9c4ce;background:#fff;color:#18365c}.operational-reports .daily-report-config>footer .btn.primary,.operational-reports .daily-report-preview-actions .btn.primary{border-color:#ffcc00;background:#ffcc00;color:#111827}
.operational-report-preview .daily-report{color:#111827;border-color:#d7dee5;background:#fff}.operational-report-preview .daily-report-header{align-items:flex-start;padding-bottom:16px;border-bottom:2px solid #116a9b}.operational-report-preview .daily-report-header h1{margin:0;color:#18365c;font-size:30px;font-weight:900;line-height:1;letter-spacing:.015em}.operational-report-preview .daily-report-header .daily-report-date{margin:8px 0 13px;color:#263746;font-size:17px;font-weight:700}.operational-report-preview .daily-report-header h2{margin:0 0 3px;color:#263746;font-size:15px;font-weight:750}.operational-report-preview .daily-report-header .daily-report-context{margin:0;color:#4b5563;font-size:11px}.operational-report-preview .daily-report-header img{width:92px}
.operational-report-preview .daily-report-status{align-items:center;margin:16px 0 0;padding:10px 0;border-top:1px solid #d7dee5;border-bottom:1px solid #d7dee5;border-radius:0;background:#fff;color:#111827}.operational-report-preview .daily-report-status span,.operational-report-preview .daily-report-status small{color:#4b5563}.operational-report-preview .daily-report-status strong{color:#18365c;font-size:14px}
.operational-report-preview .daily-report section{margin-top:20px}.operational-report-preview .daily-report section>h2{margin:0 0 9px;color:#18365c;font-size:15px}.operational-report-preview .daily-report-table-wrap{border-color:#d7dee5;border-radius:3px}.operational-report-preview .daily-report-table th{background:#eef3f6;color:#18365c}.operational-report-preview .daily-report-table td{color:#111827;background:#fff}.operational-report-preview .daily-report-notes article{background:#fff}
@media(max-width:780px){.operational-report-preview .daily-report-header h1{font-size:23px}.operational-report-preview .daily-report-header .daily-report-date{font-size:14px}}
@media print{body.report-printing .daily-report{min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;break-after:auto!important;page-break-after:auto!important}body.report-printing .daily-report+.daily-report{break-before:page;page-break-before:always}body.report-printing .daily-report-table th{background:#eef3f6!important;color:#18365c!important}body.report-printing .daily-report-status{background:#fff!important;color:#111827!important}body.report-printing .daily-report>footer{position:static!important;min-height:0!important;margin-top:5mm;padding-top:2.5mm;break-inside:avoid;page-break-inside:avoid}}

/* Relatório diário: mantém o estado final afastado das extremidades no ecrã e no PDF. */
.operational-report-preview .daily-report-status{padding:10px 14px}
@media print{body.report-printing .daily-report-status{padding:2.5mm 4mm!important}}

/* Evita que o fundo escuro da aplicação apareça sob relatórios curtos no PDF. */
@media print{body.report-printing #app,body.report-printing .workspace,body.report-printing #content,body.report-printing .operational-reports,body.report-printing .operational-report-preview,body.report-printing .report-print-area{background:#fff!important;background-image:none!important;box-shadow:none!important}}

.festival-delay-badge[data-delay-kind="missing"]{background:transparent;color:var(--muted);border:1px solid var(--line)}
#dailyReportFeedback:not([hidden]){margin-top:12px;color:#9e2341;font-weight:700}
