*{box-sizing:border-box}:root{--brand:#a31f2b;--brand-dark:#7e1720;--bg:#f5f7fb;--card:#fff;--text:#1f2937;--muted:#6b7280;--border:#e5e7eb}html,body{background:var(--bg);color:var(--text);margin:0;padding:0;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.topbar{border-bottom:1px solid var(--border);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:76px;padding:12px 22px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand img{width:auto;height:48px}.brand-title{font-size:22px;font-weight:800}.brand-subtitle{color:var(--muted);margin-top:3px;font-size:12px}.layout{grid-template-columns:230px 1fr;min-height:calc(100vh - 76px);display:grid}.sidebar{border-left:1px solid var(--border);background:#fff;padding:18px 12px}.nav-link{border-radius:10px;margin-bottom:6px;padding:11px 12px;display:block}.nav-link:hover{background:#f3f4f6}.content{width:100%;max-width:none;margin:0 auto;padding:20px}.cards{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:18px;box-shadow:0 2px 8px #0000000a}.metric-label{color:var(--muted);font-size:14px}.metric-value{margin-top:8px;font-size:32px;font-weight:800}.btn{background:var(--brand);color:#fff;border:0;border-radius:10px;padding:10px 14px;font-weight:700}.btn:hover{background:var(--brand-dark)}.btn.secondary{color:var(--text);border:1px solid var(--border);background:#fff}.form{gap:14px;display:grid}.field label{margin-bottom:6px;font-weight:700;display:block}.field input,.field select,.field textarea{background:#fff;border:1px solid #d1d5db;border-radius:9px;width:100%;padding:11px}.auth-wrap{place-items:center;min-height:100vh;padding:20px;display:grid}.auth-card{border:1px solid var(--border);background:#fff;border-radius:18px;width:min(420px,100%);padding:26px}.auth-logo{text-align:center;margin-bottom:20px}.auth-logo img{height:70px}.alert{border-radius:10px;margin-bottom:12px;padding:11px}.alert.error{color:#991b1b;background:#fee2e2}.alert.success{color:#166534;background:#dcfce7}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.table-wrap{border:1px solid var(--border);background:#fff;border-radius:14px;overflow:auto}table{border-collapse:collapse;width:100%}th,td{border-bottom:1px solid var(--border);text-align:right;white-space:nowrap;padding:12px}th{background:#f9fafb}.badge{background:#f3f4f6;border-radius:999px;padding:4px 8px;font-size:12px;display:inline-block}@media (max-width:900px){.layout{grid-template-columns:1fr}.sidebar{border-left:0;border-bottom:1px solid var(--border);padding:8px;display:flex;overflow:auto}.nav-link{white-space:nowrap;margin:0 4px}.cards{grid-template-columns:repeat(2,1fr)}}@media (max-width:520px){.topbar{padding:10px 12px}.brand-title{font-size:18px}.brand img{height:38px}.content{padding:12px}.cards{grid-template-columns:1fr}}.btn.danger{background:#dc2626}.btn.danger:hover{background:#b91c1c}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-weekdays>div{text-align:center;color:var(--muted);padding:8px;font-weight:700}.calendar-grid{border-top:1px solid var(--border);border-right:1px solid var(--border)}.calendar-day{border-left:1px solid var(--border);border-bottom:1px solid var(--border);background:#fff;min-height:125px;padding:7px}.calendar-day.outside{color:#9ca3af;background:#f9fafb}.calendar-day.today{outline:3px solid var(--brand);outline-offset:-3px;background:#fff7ed}.calendar-number{margin-bottom:6px;font-weight:800}.shift-chip{text-align:right;border:0;border-radius:8px;flex-direction:column;width:100%;margin-bottom:5px;padding:6px;font-size:12px;display:flex}.shift-chip.warehouse{background:#dbeafe}.shift-chip.field{background:#ede9fe}.shift-chip.office{background:#e5e7eb}.shift-chip.other{background:#fef3c7}.status-approved{background:#dcfce7}.status-pending{background:#fef3c7}.status-rejected{background:#fee2e2}@media (max-width:700px){.calendar-day{min-height:82px;padding:4px}.shift-chip span:last-child{display:none}}.tabbar{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.tabbar button,.scan-mode button{border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 14px;font-weight:700}.tabbar button.active,.scan-mode button.active{background:var(--brand);color:#fff}.table-wrap input{border:1px solid var(--border);border-radius:7px;max-width:240px;padding:7px}.scan-toggle{border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px 10px}.scan-toggle.done{color:#166534;background:#dcfce7}.scan-mode{gap:8px;display:flex}.scan-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;display:grid}.scan-cell{border:1px solid var(--border);background:#fff;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:90px;display:flex}.scan-cell strong{font-size:28px}.scan-cell span{font-size:11px}.scan-cell.done{background:#dcfce7;border-color:#22c55e}.labels-pages{direction:ltr}.labels-page{page-break-after:always;background:#fff;grid-template-rows:repeat(4,74.25mm);grid-template-columns:105mm 105mm;width:210mm;height:297mm;display:grid}.case-label{grid-template-rows:auto 1fr;grid-template-columns:1fr 30mm;width:105mm;height:74.25mm;padding:7mm;display:grid;overflow:hidden}.label-title{text-align:center;flex-direction:column;font-family:Georgia,serif;display:flex}.label-title strong{font-size:18pt}.label-title span{font-size:14pt}.label-logo{justify-self:center;width:24mm}.label-case{grid-column:1;justify-content:center;align-items:center;font-family:Georgia,serif;font-size:34pt;display:flex}.label-qr{grid-column:2;place-self:end center;width:25mm;height:25mm}@media print{@page{size:A4 portrait;margin:0}body{background:#fff}.topbar,.sidebar,.no-print{display:none!important}.layout{display:block}.content{max-width:none;padding:0}.labels-page{page-break-after:always}}.vacation-chip{color:#166534;background:#dcfce7;border-radius:8px;justify-content:space-between;gap:5px;margin-top:5px;padding:6px;font-size:12px;display:flex}.vacation-chip.sick{color:#991b1b;background:#fee2e2}.chip-actions{flex-wrap:wrap;gap:3px;margin-top:5px;display:flex}.chip-actions button{color:#333;background:#fff;border:0;border-radius:5px;padding:3px 5px;font-size:10px}.my-day-card{max-width:720px}.clock-actions{margin-top:20px}.clock-in,.clock-out{width:100%;padding:16px 24px;font-size:22px}.timeline-list{gap:10px;display:grid}.project-day{border:1px solid var(--border);background:#fff;border-radius:14px;justify-content:space-between;align-items:center;padding:14px;display:flex}.project-day>div{flex-wrap:wrap;align-items:center;gap:14px;display:flex}.project-day span{font-weight:800}.project-day small{color:var(--muted)}.day-flight_out,.day-flight_return{border-right:6px solid #3b82f6}.day-setup{border-right:6px solid #f59e0b}.day-operation{border-right:6px solid #22c55e}.checklist{gap:9px;display:grid}.check-item{border:1px solid var(--border);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;padding:12px;display:flex}.check-item label{align-items:center;gap:10px;margin:0;display:flex}.check-item.done span{color:var(--muted);text-decoration:line-through}.whatsapp-btn{display:inline-block;color:#fff!important;background:#25d366!important}.location-card{margin-top:16px}.location-actions{flex-wrap:wrap;gap:8px;display:flex}.taxi-screen{color:#fff;z-index:9999;text-align:center;cursor:pointer;background:#000;justify-content:center;align-items:center;padding:30px;display:flex;position:fixed;inset:0}.taxi-screen h1{text-transform:uppercase;margin:0 0 30px;font-size:clamp(42px,9vw,100px)}.taxi-screen p{margin:0;font-size:clamp(28px,5vw,60px);line-height:1.3}.taxi-close{color:#fff;background:0 0;border:1px solid #fff;border-radius:50%;width:50px;height:50px;font-size:25px;position:absolute;top:20px;right:20px}.project-count-btn{background:var(--brand);color:#fff;border:0;border-radius:999px;padding:6px 10px;font-weight:700}.user-project-list{border:1px solid var(--border);z-index:10;background:#fff;border-radius:12px;min-width:320px;margin-top:8px;padding:10px;position:absolute;box-shadow:0 8px 30px #00000026}.user-project-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:8px;display:flex}.user-project-list small{color:var(--muted);display:block}.activity-chip{text-align:right;cursor:pointer;background:#ffedd5;border:1px solid #fdba74;border-radius:8px;flex-direction:column;margin-bottom:5px;padding:6px;display:flex}.activity-chip span,.activity-chip small{font-size:11px}.modal-backdrop{z-index:1000;background:#0000008c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-card{background:#fff;border-radius:18px;width:min(720px,100%);max-height:92vh;padding:22px;position:relative;overflow:auto}.modal-close{background:#f3f4f6;border:0;border-radius:50%;width:38px;height:38px;font-size:20px;position:absolute;top:14px;left:14px}.modal-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.shift-task-list{gap:9px;display:grid}.shift-task{border:1px solid var(--border);border-radius:10px;grid-template-columns:minmax(180px,1fr) minmax(160px,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.shift-task.done{background:#dcfce7}.shift-task.done strong{text-decoration:line-through}.shift-task label{align-items:center;gap:8px;display:flex}.shift-task input[type=text],.shift-task input:not([type]){border:1px solid var(--border);border-radius:8px;padding:8px}.shift-task small{color:var(--muted);grid-column:1/-1}.report-card{border:1px solid var(--border);text-align:right;cursor:pointer;font:inherit;color:inherit}.report-card:hover{border-color:var(--brand);transform:translateY(-1px)}.report-detail{margin-top:16px}.report-actions{flex-wrap:wrap;gap:6px;display:flex}.status-rejected{color:#991b1b;background:#fee2e2}.status-pending{color:#92400e;background:#fef3c7}.status-approved{color:#166534;background:#dcfce7}@media (max-width:700px){.shift-task{grid-template-columns:1fr}.report-actions{min-width:260px}}.dashboard-click-card{text-align:right;border:1px solid var(--border);font:inherit;color:inherit;cursor:pointer;display:block}.dashboard-click-card:hover{border-color:var(--brand);transform:translateY(-1px)}.dashboard-project-list{gap:8px;display:grid}.dashboard-project-list>div{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:11px;display:flex}.dashboard-project-list span{color:var(--muted);margin-top:4px;font-size:13px;display:block}.day-add{color:var(--brand);margin-right:4px;font-size:16px}.project-range-chip{background:#e0f2fe;border:1px solid #7dd3fc;border-radius:8px;flex-direction:column;margin-bottom:4px;padding:5px;font-size:11px;display:flex}.project-calendar-chip{border-radius:8px;flex-direction:column;margin-bottom:4px;padding:5px;font-size:11px;display:flex}.project-calendar-chip.day-flight_out,.project-calendar-chip.day-flight_return{background:#ede9fe;border:1px solid #c4b5fd}.project-calendar-chip.day-setup{background:#fef3c7;border:1px solid #fcd34d}.project-calendar-chip.day-operation{background:#dcfce7;border:1px solid #86efac}.notification-card{margin-bottom:16px}.notification-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.notification-row p{margin:5px 0}.notification-row small{color:var(--muted)}.forgot-password-link{text-align:center;border:1px solid var(--brand);color:var(--brand);border-radius:10px;margin-top:4px;padding:10px;font-weight:700;display:block}@media (max-width:700px){.dashboard-project-list>div,.notification-row{flex-direction:column;align-items:stretch}}.notification-with-reply{align-items:stretch}.notification-content{flex:1;min-width:220px}.notification-reply-box{gap:8px;min-width:min(360px,100%);display:grid}.notification-reply-box textarea{border:1px solid var(--border);border-radius:9px;width:100%;min-height:76px;padding:9px}.notification-reply-box>div{flex-wrap:wrap;gap:8px;display:flex}.existing-reply{background:#f3f4f6;border-radius:8px;margin-top:8px;padding:8px}.dashboard-project-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (max-width:700px){.notification-with-reply{flex-direction:column}.dashboard-project-row{flex-direction:column;align-items:stretch!important}.dashboard-project-actions{justify-content:flex-start}}.alert.info{color:#075985;background:#e0f2fe}.my-projects-list{gap:8px;display:grid}.my-projects-list>div{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px;display:flex}.my-projects-list span{color:var(--muted);margin-top:4px;font-size:13px;display:block}.dashboard-projects-details{display:none}.dashboard-projects-details summary{cursor:pointer;list-style:none}.dashboard-projects-details summary::-webkit-details-marker{display:none}.label-controls{align-items:end;gap:12px;margin-bottom:16px;display:flex}.label-print-note{background:#fff7ed;border-radius:10px;max-width:520px;padding:10px}.labels-pages{direction:ltr;background:#fff;width:210mm;margin:0 auto}.labels-page{page-break-after:always;break-after:page;background:#fff;overflow:hidden;flex-wrap:wrap!important;align-content:flex-start!important;width:210mm!important;height:297mm!important;display:flex!important}.case-label{font-family:Georgia,Times New Roman,serif;overflow:hidden;flex:0 0 105mm!important;width:105mm!important;height:74.25mm!important;padding:0!important;display:block!important;position:relative!important}.label-title{text-align:center;width:52mm;position:absolute;top:3.2mm;left:9mm;display:block!important}.label-title strong{font-size:18pt;line-height:1.05;display:block}.label-title span{margin-top:1mm;font-size:15pt;line-height:1.05;display:block}.label-logo{position:absolute;top:3mm;right:8mm;width:22mm!important;height:auto!important}.label-case{text-align:center;line-height:1;position:absolute;top:27mm;left:10mm;right:10mm;font-size:31pt!important;display:block!important}.label-qr{position:absolute;bottom:6mm;right:8mm;width:22mm!important;height:22mm!important}@media (max-width:700px){.my-projects-list>div{flex-direction:column;align-items:stretch}.dashboard-projects-details,.dashboard-projects-panel{display:block}.label-controls{flex-direction:column;align-items:stretch}}@media print{@page{size:A4 portrait;margin:0!important}html,body{background:#fff!important;width:210mm!important;height:auto!important;margin:0!important;padding:0!important}.topbar,.sidebar,.no-print{display:none!important}.shell,.layout,.content{width:210mm!important;max-width:210mm!important;margin:0!important;padding:0!important;display:block!important}.labels-pages{width:210mm!important;margin:0!important}.labels-page{margin:0!important;transform:none!important}}.dashboard-projects-details-card{grid-column:span 1;overflow:visible;padding:0!important}.dashboard-projects-details-card>summary{cursor:pointer;min-height:100%;padding:18px;list-style:none}.dashboard-projects-details-card>summary::-webkit-details-marker{display:none}.dashboard-projects-details-card[open]{grid-column:1/-1}.dashboard-project-list-inside{padding:0 18px 18px}.dashboard-project-list-inside .dashboard-project-row{background:#fff}@media (max-width:700px){.dashboard-projects-details-card,.dashboard-projects-details-card[open]{grid-column:1/-1}}.topbar-user{align-items:center;gap:10px;display:flex}.page-back-row{justify-content:flex-start;margin-bottom:12px;display:flex}.global-back-button{border:1px solid var(--border);color:var(--text);cursor:pointer;background:#fff;border-radius:10px;padding:8px 13px;font-weight:700}.global-back-button:hover{border-color:var(--brand);color:var(--brand)}.dashboard-projects-modal{z-index:20000!important}.dashboard-projects-modal-card{z-index:20001;width:min(920px,100%);max-height:92vh;overflow:auto}.dashboard-projects-modal .dashboard-project-list{z-index:1;position:relative}.qr-camera-frame{--scanner-frame:#f59e0b;width:min(520px,100%);margin:0 auto;position:relative}.qr-camera-frame.scan-success{--scanner-frame:#16a34a}.qr-camera-frame.scan-error{--scanner-frame:#dc2626}.qr-camera-frame.scan-info{--scanner-frame:#f59e0b}.qr-camera-frame .camera-pinch-zoom-preview:after{content:"";z-index:20;pointer-events:none;border:5px solid var(--scanner-frame);opacity:0;border-radius:14px;width:min(250px,68vw);height:min(250px,68vw);transition:border-color .15s,opacity .15s;position:absolute;top:calc(50% + 8px);left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 9999px #00000014}.qr-camera-frame.scan-success .camera-pinch-zoom-preview:after,.qr-camera-frame.scan-error .camera-pinch-zoom-preview:after{opacity:1}.qr-camera-frame #qr-reader{border-radius:14px;overflow:hidden}.qr-camera-frame #qr-reader video{border-radius:14px}.camera-pinch-zoom-preview{touch-action:none;position:relative}.camera-pinch-zoom-preview video{border-radius:14px}.camera-digital-zoom{overflow:hidden}.camera-digital-zoom video{transform:scale(var(--camera-digital-zoom));transform-origin:50%}.camera-zoom-decoder{visibility:hidden;pointer-events:none;width:320px;height:240px;position:absolute;top:0;left:-10000px}.camera-zoom-control{z-index:30;color:var(--text);background:#fffffff0;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:7px;font-size:12px;font-weight:700;display:flex;position:absolute;top:24px;right:8px;box-shadow:0 2px 12px #0000002e}.camera-zoom-control button{border:1px solid var(--border);width:44px;height:44px;color:var(--text);cursor:pointer;touch-action:manipulation;background:#fff;border-radius:10px;font-size:26px;font-weight:700;line-height:1}.camera-zoom-control button:disabled{opacity:.4;cursor:not-allowed}.camera-zoom-control button:not(:disabled):active{background:var(--brand);color:#fff}.camera-zoom-note{color:var(--muted);margin:8px 4px 0;font-size:12px;display:block}.password-reset-modal{width:min(520px,100%)}.user-email{color:var(--muted);margin-top:4px;display:block}.account-card{max-width:620px}.forgot-password-help{text-align:center;color:var(--muted);background:#f3f4f6;border-radius:10px;margin-top:4px;padding:10px;font-size:13px}@media (max-width:700px){.topbar-user .metric-label{display:none}.page-back-row{z-index:50;background:var(--bg);padding:4px 0;position:sticky;top:0}.dashboard-projects-modal{align-items:end!important;padding:8px!important}.dashboard-projects-modal-card{border-radius:18px 18px 0 0;width:100%;max-height:88vh;margin:0}.dashboard-project-actions{grid-template-columns:1fr;display:grid}.dashboard-project-actions .btn{text-align:center;width:100%}}.inventory-kpis{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.inventory-import-card{margin-top:16px}.inventory-filters{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(150px,1fr));gap:10px;margin:16px 0;display:grid}.inventory-edit-modal{width:min(900px,100%)}.inventory-units-modal{width:min(1000px,100%)}.inventory-unit-form{grid-template-columns:repeat(3,minmax(140px,1fr)) auto;align-items:end;gap:10px;margin-bottom:16px;display:grid}.inventory-status-broken,.inventory-status-missing{color:#991b1b;background:#fee2e2}.inventory-status-check_required{color:#92400e;background:#fef3c7}.inventory-status-repair{color:#9a3412;background:#ffedd5}.inventory-status-ok{color:#166534;background:#dcfce7}.inventory-status-retired{color:#374151;background:#e5e7eb}.inventory-status-rented_out,.inventory-status-on_project{color:#1e40af;background:#dbeafe}.project-files-admin{grid-template-columns:repeat(2,minmax(280px,1fr))}.worker-import-card{margin-bottom:16px}.employee-report-section{margin-top:16px}.report-filter-grid{grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;margin-bottom:14px;display:grid}.report-project-links{flex-wrap:wrap;gap:6px;display:flex}.report-project-links a{background:#f3f4f6;border-radius:8px;padding:4px 7px}@media (max-width:850px){.inventory-filters,.inventory-unit-form,.report-filter-grid,.project-files-admin{grid-template-columns:1fr}}html[dir=ltr] .sidebar{border-left:0;border-right:1px solid var(--border)}html[dir=ltr] th,html[dir=ltr] td,html[dir=ltr] .shift-chip,html[dir=ltr] .activity-chip{text-align:left}html[dir=ltr] .project-day.day-flight_out,html[dir=ltr] .project-day.day-flight_return{border-right:1px solid var(--border);border-left:6px solid #3b82f6}html[dir=ltr] .project-day.day-setup{border-right:1px solid var(--border);border-left:6px solid #f59e0b}html[dir=ltr] .project-day.day-operation{border-right:1px solid var(--border);border-left:6px solid #22c55e}.inventory-table-wrap{max-width:100%;overflow:auto visible}.inventory-table-wrap th:first-child,.inventory-table-wrap td:first-child{white-space:normal;min-width:280px;max-width:420px}.inventory-table-wrap th:last-child,.inventory-table-wrap td:last-child{z-index:2;background:#fff;position:sticky;right:0;box-shadow:-8px 0 12px #0000000d}.inventory-table-wrap th:last-child{z-index:3;background:#f9fafb}.inventory-table-wrap .report-actions{flex-wrap:nowrap;gap:6px;display:flex}@media (max-width:700px){.inventory-table-wrap table{min-width:1100px}.inventory-table-wrap th:last-child,.inventory-table-wrap td:last-child{box-shadow:none;position:static}}.language-switcher{border:1px solid var(--border);background:#fff;border-radius:9px;padding:8px 10px}html[dir=rtl] .sidebar{border-right:0;border-left:1px solid var(--border)}html[dir=rtl] th,html[dir=rtl] td{text-align:right}.notification-bell-wrap{position:relative}.notification-bell-button{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:relative}.notification-badge{color:#fff;background:#a12d31;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:800;display:grid;position:absolute;top:-5px;right:-5px}.notification-popover{z-index:30000;border:1px solid var(--border);background:#fff;border-radius:16px;width:min(380px,100vw - 24px);max-height:70vh;position:absolute;top:48px;right:0;overflow:auto;box-shadow:0 18px 45px #0003}.notification-popover-head{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;padding:14px;display:flex;position:sticky;top:0}.notification-popover-head button{cursor:pointer;background:0 0;border:0;font-size:18px}.notification-popover-item{border-bottom:1px solid var(--border);padding:14px}.notification-popover-item small{color:var(--muted);margin-top:4px;display:block}.notification-popover-item p{white-space:pre-wrap;margin:8px 0}.notification-popover-item>div{gap:10px;display:flex}.notification-popover-item a,.notification-popover-item button{color:var(--brand);cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.notification-empty{color:var(--muted);padding:18px}.project-messages{gap:16px;display:grid}.project-message-compose{max-width:760px}.project-message-list{gap:12px;display:grid}.project-message-head{justify-content:space-between;align-items:start;gap:14px;display:flex}.project-message-card p{white-space:pre-wrap}.next-activity-card{border-inline-start:5px solid var(--brand);background:linear-gradient(135deg,#fff,#f8fafc);margin-bottom:16px}.next-activity-date{color:#991b1b;background:#fee2e2;border-radius:999px;margin-bottom:8px;padding:5px 10px;font-weight:800;display:inline-block}.next-activity-card h2{margin:0 0 8px}.next-activity-card h3{margin:0 0 8px;font-size:24px}.case-content-form{margin-bottom:16px}.case-equipment-search{grid-template-columns:2fr 1fr;gap:12px;display:grid}.case-search-results{border:1px solid var(--border);background:#f8fafc;border-radius:12px;gap:7px;max-height:280px;padding:8px;display:grid;overflow:auto}.case-search-result{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:10px;display:flex}.case-search-result.selected{border-color:var(--brand);box-shadow:0 0 0 2px #a12d3124}.case-search-result small{color:var(--muted)}.selected-case-equipment{color:#166534;background:#dcfce7;border-radius:10px;padding:10px}.case-add-row{grid-template-columns:180px 1fr;align-items:end;gap:12px;display:grid}@media (max-width:700px){.notification-popover{width:auto;position:fixed;top:70px;left:12px;right:12px}.project-message-head{flex-direction:column}.case-equipment-search,.case-add-row{grid-template-columns:1fr}}.settings-checklist{margin-top:16px}.checklist-template-form{grid-template-columns:220px 1fr auto;align-items:end;gap:10px;display:grid}.checklist-template-list{gap:8px;margin-top:14px;display:grid}.checklist-template-row{border:1px solid var(--border);border-radius:10px;grid-template-columns:180px 1fr auto auto auto;align-items:center;gap:8px;padding:9px;display:grid}.expense-toolbar{align-items:end;gap:16px;margin-bottom:16px;display:flex}.expense-toolbar .field{min-width:220px}.expense-form-grid{grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;display:grid}.expense-description{grid-column:span 2}.expense-dropzone{text-align:center;background:#f8fafc;border:2px dashed #9ca3af;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:150px;padding:20px;display:flex}.expense-upload-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;display:flex}.visually-hidden{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.expense-receipt-previews,.expense-saved-receipts{flex-wrap:wrap;gap:10px;width:100%;margin-top:10px;display:flex}.expense-receipt-preview{text-align:left;background:#fff;border:1px solid #d7dde5;border-radius:10px;grid-template-rows:84px auto;gap:6px;width:120px;padding:8px;display:grid;position:relative}.expense-receipt-preview img,.expense-saved-receipt img{object-fit:cover;background:#eef1f5;border-radius:7px;width:100%;height:84px}.expense-receipt-preview>span,.expense-saved-receipt>span:last-child{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.expense-file-placeholder{color:#596273;background:#eef1f5;border-radius:7px;justify-content:center;align-items:center;width:100%;height:84px;font-weight:800;display:flex}.expense-remove-file{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:999px;width:26px;height:26px;font-size:19px;line-height:1;position:absolute;top:3px;right:3px}.expense-saved-receipt{text-align:left;cursor:pointer;background:#fff;border:1px solid #d7dde5;border-radius:9px;grid-template-rows:64px auto;gap:5px;width:96px;padding:6px;display:grid}.expense-saved-receipt img,.expense-saved-receipt .expense-file-placeholder{height:64px}.expense-saved-receipt:disabled{cursor:wait;opacity:.65}.expense-report-card{margin-top:16px}.expense-actions,.report-export-actions{flex-wrap:wrap;gap:8px;display:flex}.expense-report-list{margin-top:16px}.link-button{color:var(--brand);cursor:pointer;text-align:left;background:0 0;border:0;padding:2px 0;text-decoration:underline;display:block}@media (max-width:900px){.expense-form-grid{grid-template-columns:1fr 1fr}.expense-description{grid-column:span 2}.checklist-template-form,.checklist-template-row{grid-template-columns:1fr}.expense-toolbar{flex-direction:column;align-items:stretch}}@media (max-width:600px){.expense-form-grid{grid-template-columns:1fr}.expense-description{grid-column:span 1}}.equipment-plan-head{gap:16px}.equipment-plan-actions{flex-wrap:wrap;gap:8px;display:flex}.equipment-plan-empty{text-align:center;padding:36px}.equipment-plan-scroll{border:1px solid var(--border);background:#fff;border-radius:16px;max-height:72vh;overflow:auto}.equipment-plan-table{border-collapse:separate;border-spacing:0;width:100%;min-width:max-content}.equipment-plan-table th,.equipment-plan-table td{border-inline-end:1px solid var(--border);border-bottom:1px solid var(--border);vertical-align:top;padding:0}.equipment-plan-table thead th{z-index:5;background:#f8fafc;position:sticky;top:0}.equipment-plan-row-heading,.equipment-plan-row-label{z-index:6;text-align:left;min-width:190px;max-width:190px;position:sticky;left:0;background:#fff!important;padding:12px!important}.equipment-plan-row-heading{z-index:8;background:#f8fafc!important}.equipment-plan-row-heading small,.equipment-plan-row-label small{color:var(--muted);margin-top:4px;display:block}.equipment-plan-row-label{z-index:6;position:sticky;left:0;box-shadow:8px 0 12px #0000000f;padding-right:30px!important}.equipment-plan-row-label button{color:#991b1b;cursor:pointer;background:0 0;border:0;position:absolute;top:8px;right:8px}.equipment-plan-area-heading{text-align:left;min-width:210px;max-width:210px;padding:12px!important}.equipment-plan-area-heading span,.equipment-plan-area-heading small{margin-top:4px;display:block}.equipment-plan-area-heading small{white-space:pre-line;color:var(--muted)}.equipment-plan-area-heading button{color:#991b1b;cursor:pointer;background:0 0;border:0;padding:6px 0;font-size:12px;font-weight:700}.equipment-plan-cell{text-align:left;cursor:pointer;background:#fff;border:0;flex-direction:column;gap:7px;width:100%;min-width:210px;min-height:82px;padding:10px;display:flex}.equipment-plan-cell:hover:not(:disabled){background:#fff7ed}.equipment-plan-cell.required{background:#fffbea}.equipment-plan-cell.allocated{background:#f0fdf4}.equipment-plan-cell:disabled{cursor:default}.equipment-plan-placeholder{color:#9ca3af}.equipment-allocation{background:#e5e7eb;border-radius:8px;padding:5px 7px;font-size:12px;display:block}.source-simul{color:#991b1b;background:#fee2e2}.source-venue{color:#1e40af;background:#dbeafe}.source-rental{color:#92400e;background:#fef3c7}.source-client{color:#166534;background:#dcfce7}.source-freelancer{color:#5b21b6;background:#ede9fe}.source-other{color:#374151;background:#f3f4f6}.equipment-plan-small-modal{width:min(520px,100%)}.equipment-requirement-modal{width:min(1100px,100%);max-height:92vh;overflow:auto}.equipment-requirement-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.equipment-multi-select-help{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin:2px 0 7px;font-size:12px;line-height:1.35;display:flex}.equipment-multi-select-help strong{color:var(--brand);background:#fee2e2;border-radius:999px;flex:none;padding:4px 8px}.equipment-source-results{border:1px solid var(--border);background:#f8fafc;border-radius:12px;gap:7px;max-height:230px;padding:8px;display:grid;overflow:auto}.equipment-source-results button{border:1px solid var(--border);text-align:left;cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:9px;display:flex}.equipment-source-results button.selected{border-color:var(--brand);background:#fff1f2;box-shadow:0 0 0 2px #a12d3124}.equipment-selected-check{background:var(--brand);color:#fff;border-radius:999px;place-items:center;width:23px;height:23px;font-weight:900;display:grid;position:absolute;top:8px;right:9px}.equipment-source-results small{color:var(--muted)}.equipment-rental-cost{grid-template-columns:1fr 120px;gap:10px;display:grid}.equipment-allocation-list{margin-top:16px}.equipment-allocation-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.equipment-allocation-list>div>div{flex-direction:column;gap:5px;display:flex}.equipment-plan-modal-footer{justify-content:flex-end;margin-top:16px;display:flex}@media (max-width:800px){.equipment-plan-actions{width:100%}.equipment-plan-actions .btn{text-align:center;flex:1}.equipment-requirement-grid{grid-template-columns:1fr}.equipment-requirement-modal{max-height:95vh}.equipment-rental-cost{grid-template-columns:1fr}}.content>.card,.content>.section-head,.content>.cards,.content>.table-wrap,.content>.tabbar{width:100%}.project-create-form,.settings-section{max-width:1100px}.project-form-grid{grid-template-columns:repeat(3,minmax(180px,1fr))}.project-list-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.project-card-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.two-column-form{grid-template-columns:repeat(2,minmax(180px,1fr))}.settings-section{margin-top:16px}.template-list{gap:8px;margin-top:16px;display:grid}.template-list>div{border:1px solid var(--border);border-radius:10px;justify-content:space-between;align-items:center;padding:10px;display:flex}.template-list small{color:var(--muted);margin-top:3px;display:block}.availability-panel h3{margin-top:20px}.availability-conflict{background:#fee2e2}.availability-tech-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;display:grid}.availability-tech-list small{color:var(--muted);margin-top:6px;display:block}.plan-heading-actions{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.plan-heading-actions button{margin-right:8px;padding:2px 0!important}.equipment-plan-cell.status-not_started{background:#fff}.equipment-plan-cell.status-in_progress{background:#fef3c7}.equipment-plan-cell.status-ready{background:#dcfce7}.equipment-plan-cell.status-issue{background:#fee2e2}.equipment-plan-cell.status-out{background:#dbeafe}.equipment-plan-cell.status-returned{background:#e5e7eb}.project-logistics{margin-top:26px}.logistics-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.logistics-card{flex-direction:column;gap:8px;display:flex}.logistics-card.status-in_progress{background:#fffbeb;border-color:#f59e0b}.logistics-card.status-ready{background:#f0fdf4;border-color:#22c55e}.logistics-card.status-issue{background:#fef2f2;border-color:#ef4444}.logistics-card.status-out{background:#eff6ff;border-color:#3b82f6}.logistics-card.status-returned{background:#f3f4f6;border-color:#6b7280}.project-notes-card{margin-top:22px}.project-notes-card textarea{border:1px solid var(--border);border-radius:10px;width:100%;min-height:130px;padding:12px}.field select[multiple]{min-height:160px}@media (max-width:900px){.project-form-grid,.two-column-form{grid-template-columns:1fr}.content{padding:12px}}.technician-picker{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.technician-option{border:1px solid var(--border);color:#166534;cursor:pointer;background:#f0fdf4;border-radius:10px;align-items:flex-start;gap:10px;padding:10px;display:flex}.technician-option.busy{color:#991b1b;background:#fef2f2;border-color:#fecaca}.technician-option.selected{box-shadow:0 0 0 2px #1f29371f}.technician-option input{width:auto;margin-top:3px}.technician-option span{flex-direction:column;gap:3px;display:flex}.technician-option small{font-size:12px}.cell-context-menu{z-index:40000;border:1px solid var(--border);background:#fff;border-radius:12px;width:220px;padding:8px;position:fixed;box-shadow:0 18px 45px #00000040}.cell-context-menu strong{color:var(--muted);padding:8px 10px;font-size:13px;display:block}.cell-context-menu button{text-align:left;width:100%;color:var(--text);background:0 0;border:0;border-radius:8px;padding:10px;display:block}.cell-context-menu button:hover:not(:disabled){background:#f3f4f6}.cell-context-menu button:disabled{opacity:.4;cursor:not-allowed}.cell-context-menu .danger-action{color:#b91c1c}.inventory-availability-line{flex-wrap:wrap;gap:10px;font-size:12px;font-weight:700;display:flex}.inventory-allocation-locations{color:var(--muted);gap:2px;margin-top:5px;display:grid}.equipment-source-results button.overallocated{background:#fef2f2;border-color:#ef4444}.logistics-empty{text-align:center;grid-column:1/-1}.settings-tabs,.settings-subtabs{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.settings-tabs button,.settings-subtabs button{border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 14px;font-weight:700}.settings-tabs button.active,.settings-subtabs button.active{background:var(--brand);color:#fff}.location-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.location-list article small{color:var(--muted);margin-top:5px;display:block}.permission-toggle{white-space:nowrap;align-items:center;gap:8px;display:flex}.permission-toggle input{width:auto}.row-heading-actions{flex-wrap:wrap;gap:7px;margin-top:6px;display:flex}.row-heading-actions button{padding:3px 0!important;position:static!important}.delete-row-button{color:#b91c1c!important}@media (max-width:700px){.settings-tabs,.settings-subtabs{grid-template-columns:1fr 1fr;display:grid}}.equipment-plan-cell.cell-selected{outline-offset:-3px;z-index:2;outline:3px solid #2563eb;position:relative}.multi-cell-toolbar{z-index:35000;border:1px solid var(--border);background:#fff;border-radius:14px;flex-wrap:wrap;align-items:center;gap:7px;max-width:calc(100vw - 24px);padding:10px 12px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 16px 40px #00000038}.multi-cell-toolbar button{border:1px solid var(--border);background:#fff;border-radius:8px;padding:8px 10px}.context-status-grid{grid-template-columns:1fr 1fr;gap:5px;margin:4px 0 8px;display:grid}.context-status-grid button{border:1px solid var(--border);background:#fff}.allocation-date-tag{color:#7c2d12;background:#fff;border-radius:6px;margin-top:4px;padding:3px 6px;font-weight:800;display:block}.allocation-note,.cell-note{white-space:normal;color:#374151;margin-top:4px;font-style:italic;display:block}.warehouse-view{margin-bottom:24px}.warehouse-view-list{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;display:grid}.warehouse-item{grid-template-columns:minmax(180px,1fr) 1.4fr;align-items:start;gap:14px;display:grid}.warehouse-item h3{margin:4px 0}.warehouse-item small{color:var(--muted)}.warehouse-destinations{gap:5px;display:grid}.warehouse-destinations span{background:#f3f4f6;border-radius:8px;padding:7px 9px}@media (max-width:700px){.multi-cell-toolbar{justify-content:center;left:12px;right:12px;transform:none}.warehouse-item{grid-template-columns:1fr}}.case-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin-top:16px;display:flex}.case-create-form{flex-wrap:wrap;align-items:end;gap:10px;margin:0;display:flex}.ready-load-active{background:#15803d!important;border-color:#15803d!important}.physical-case-select,.manual-case-name{width:100%;min-width:240px;display:block}.manual-case-name{margin-top:6px}.case-option-used{color:#b91c1c}.selected-physical-case{color:#166534;margin-top:4px;display:block}.my-areas-toggle{border:1px solid var(--border);background:#fff;border-radius:9px;align-items:center;gap:7px;padding:8px 10px;font-weight:700;display:flex}.my-areas-toggle input{width:auto}.inline-date-add{gap:8px;display:flex}.requested-date-list{flex-wrap:wrap;gap:7px;margin-bottom:12px;display:flex}.requested-date-list span{background:#f3f4f6;border-radius:8px;align-items:center;gap:6px;padding:6px 9px;display:flex}.requested-date-list button{background:0 0;border:0;font-weight:900}.shift-change-form{margin-top:14px}.shift-change-requests{margin-bottom:16px}.shift-change-requests article{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.request-date-actions{flex-wrap:wrap;gap:7px;display:flex}@media (max-width:700px){.shift-change-requests article{flex-direction:column;align-items:flex-start}.physical-case-select,.manual-case-name{min-width:180px}}.searchable-case-picker{min-width:280px;position:relative}.searchable-case-picker>input{width:100%;min-width:260px}.case-search-results{z-index:120;border:1px solid var(--border);background:#fff;border-radius:11px;max-height:280px;padding:7px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 14px 34px #0003}.case-search-results button{text-align:left;background:#fff;border:0;border-radius:8px;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:9px;display:flex}.case-search-results button:hover:not(:disabled){background:#f3f4f6}.case-search-results button:disabled,.case-search-results .case-result-used{color:#b91c1c;opacity:.75;cursor:not-allowed;background:#fef2f2}.case-search-results .manual-case-result{border-top:1px solid var(--border);color:var(--brand);margin-top:5px;font-weight:700}@media print{body.printing-equipment-plan .page-back-row,body.printing-equipment-plan .tabbar,body.printing-equipment-plan .equipment-plan-actions,body.printing-equipment-plan .multi-cell-toolbar,body.printing-equipment-plan .project-notes-card button,body.printing-equipment-plan .plan-heading-actions,body.printing-equipment-plan .row-heading-actions{display:none!important}body.printing-equipment-plan .equipment-plan-scroll{border:0!important;max-height:none!important;overflow:visible!important}body.printing-equipment-plan .equipment-plan-table{font-size:9pt}body.printing-equipment-plan .equipment-plan-table th,body.printing-equipment-plan .equipment-plan-table td{break-inside:avoid;position:static!important}body.printing-equipment-plan .equipment-plan-cell{-webkit-print-color-adjust:exact;print-color-adjust:exact;min-height:55px}body.printing-equipment-plan .project-logistics,body.printing-equipment-plan .project-notes-card{break-before:page}}.content,.content h1,.content h2,.content h3,.content p,.content .metric-label,.content .metric-value,.content small{text-align:left}.section-head{align-items:flex-start;width:100%}.card{text-align:left}.dashboard-metrics-grid{grid-template-columns:repeat(5,minmax(180px,1fr));align-items:stretch;gap:14px;display:grid}.dashboard-metric-card{flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;min-height:150px;padding:20px;display:flex;text-align:left!important}.dashboard-metric-card .metric-label,.dashboard-metric-card .metric-value,.dashboard-metric-card small{width:100%;text-align:left!important}.dashboard-metric-card .metric-value{margin-top:10px}.dashboard-metric-card small{color:var(--text);margin-top:auto;padding-top:10px;display:block}.dashboard-click-card{justify-content:flex-start}.dashboard-project-row,.dashboard-project-row>div:first-child{text-align:left}.dashboard-project-actions{justify-content:flex-start}.cards>.card,.cards>button.card,.cards>a.card{height:100%}.form,.field,.field label,.field input,.field select,.field textarea,.table-wrap th,.table-wrap td{text-align:left}@media (max-width:1450px){.dashboard-metrics-grid{grid-template-columns:repeat(3,minmax(200px,1fr))}}@media (max-width:900px){.dashboard-metrics-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media (max-width:560px){.dashboard-metrics-grid{grid-template-columns:1fr}.dashboard-metric-card{min-height:130px}}.auth-logo .login-brand-logo{object-fit:contain;width:min(300px,85%);margin:0 auto 18px;display:block;height:auto!important}.auth-logo h1{text-align:center;margin:0 0 12px}.auth-logo .metric-label{text-align:center!important}.team-tabs,.crew-view-toggle{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.team-tabs button,.crew-view-toggle button{border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 14px;font-weight:700}.team-tabs button.active,.crew-view-toggle button.active{background:var(--brand);color:#fff}.crew-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:16px;display:flex}.crew-toolbar>input{border:1px solid var(--border);border-radius:9px;flex:1;min-width:260px;padding:10px}.crew-assign-form{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.crew-card-grid,.hall-view-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.crew-person-card,.hall-crew-card{flex-direction:column;gap:9px;display:flex}.crew-assignments,.hall-member-list{gap:7px;display:grid}.crew-assignments>div{border:1px solid var(--border);background:#f9fafb;border-radius:9px;padding:8px}.crew-assignments span,.hall-member-list span{color:var(--muted);margin-top:3px;font-size:13px;display:block}.project-summary-card{padding-top:28px;position:relative}.project-card-top-right{z-index:6;align-items:center;gap:6px;display:flex;position:absolute;top:10px;right:12px}.project-card-menu-wrap{position:relative}.project-card-menu>summary{cursor:pointer;border-radius:8px;padding:4px 9px;font-size:24px;line-height:1;list-style:none}.project-card-menu>summary::-webkit-details-marker{display:none}.project-card-menu[open]>summary{background:#f3f4f6}.project-card-menu>div{border:1px solid var(--border);background:#fff;border-radius:12px;gap:3px;min-width:220px;padding:8px;display:grid;position:absolute;top:34px;right:0;box-shadow:0 14px 35px #0000002e}.project-card-menu a,.project-card-menu button,.project-card-menu strong{text-align:left;background:0 0;border:0;border-radius:7px;padding:9px}.project-card-menu a:hover,.project-card-menu button:hover{background:#f3f4f6}.project-card-menu .danger-menu-item{color:#b91c1c}.case-print-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.case-checklist-print-root{display:none}@media print{body.printing-case-checklists>:not(.shell),body.printing-case-checklists .topbar,body.printing-case-checklists .sidebar,body.printing-case-checklists .page-back-row,body.printing-case-checklists .content>:not(.case-checklist-print-root){display:none!important}body.printing-case-checklists .case-checklist-print-root{display:block!important}body.printing-case-checklists .layout,body.printing-case-checklists .content{width:auto!important;max-width:none!important;padding:0!important;display:block!important}@page{size:A4 portrait;margin:12mm}.case-checklist-page{page-break-after:always;color:#000;background:#fff;flex-direction:column;width:100%;min-height:270mm;font-family:Arial,Helvetica,sans-serif;display:flex!important}.case-checklist-page header{border-bottom:3px solid #000;justify-content:space-between;align-items:flex-start;padding-bottom:8px;display:flex}.case-checklist-page h1{margin:0 0 4px;font-size:24pt}.case-checklist-page header p{margin:0;font-size:14pt}.case-checklist-number{font-size:20pt;font-weight:800}.case-checklist-meta{flex-wrap:wrap;gap:18px;padding:10px 0;font-size:11pt;display:flex}.case-checklist-page table{border-collapse:collapse;width:100%;font-size:11pt}.case-checklist-page th,.case-checklist-page td{text-align:left;white-space:normal;border:1px solid #000;height:12mm;padding:8px}.case-checklist-page th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e5e7eb!important}.case-checklist-page .check-box{text-align:center;width:14mm;font-size:18pt}.case-checklist-page footer{gap:12px;margin-top:auto;padding-top:14px;font-size:11pt;display:grid}}.project-location-actions{align-items:start;gap:10px;display:grid}.location-action-group{border:1px solid var(--border);background:#f9fafb;border-radius:10px;flex-wrap:wrap;align-items:center;gap:7px;padding:8px;display:flex}.location-action-group>strong{min-width:145px}.equipment-plan-actions-left{flex-wrap:wrap;align-items:center;gap:10px;width:100%;display:flex;justify-content:flex-start!important}.equipment-edit-actions,.equipment-view-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.equipment-view-actions{border-left:1px solid var(--border);padding-left:10px}.crew-contact-actions{flex-wrap:wrap;gap:7px;display:flex}.next-activity-location-groups{gap:8px;margin-top:12px;display:grid}.activity-search{border:1px solid var(--border);border-radius:9px;min-width:260px;padding:10px}.online-user-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-bottom:16px}.online-user-card{gap:8px;padding-left:42px;display:grid;position:relative}.presence-dot{background:#9ca3af;border-radius:50%;width:14px;height:14px;position:absolute;top:20px;left:16px}.presence-dot.online{background:#16a34a}.presence-dot.idle{background:#f59e0b}.presence-dot.offline{background:#9ca3af}.presence-label{font-size:12px}.presence-label.online{color:#15803d}.presence-label.idle{color:#b45309}.presence-label.offline{color:#6b7280}.activity-log-card{margin-top:16px}.inventory-case-checklist-page{display:none}@media print{body.printing-inventory-case-checklist .topbar,body.printing-inventory-case-checklist .sidebar,body.printing-inventory-case-checklist .page-back-row,body.printing-inventory-case-checklist .content>:not(.modal-backdrop){display:none!important}body.printing-inventory-case-checklist .modal-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important}body.printing-inventory-case-checklist .case-contents-modal>:not(.inventory-case-checklist-page){display:none!important}body.printing-inventory-case-checklist .case-contents-modal{border-radius:0!important;width:auto!important;max-width:none!important;max-height:none!important;padding:0!important;overflow:visible!important}body.printing-inventory-case-checklist .inventory-case-checklist-page{color:#000;background:#fff;flex-direction:column;min-height:270mm;display:flex!important}@page{size:A4 portrait;margin:12mm}.inventory-checklist-header{border-bottom:3px solid #000;justify-content:space-between;align-items:center;margin-bottom:5mm;padding-bottom:8mm;display:flex}.inventory-checklist-header img{width:52mm;height:auto}.inventory-checklist-header h1{margin:0;font-size:22pt;text-align:right!important}.inventory-checklist-header p{margin:2mm 0 0;text-align:right!important}.inventory-checklist-case-info{grid-template-columns:1fr 1fr;gap:3mm 10mm;margin-bottom:5mm;font-size:11pt;display:grid}.inventory-case-checklist-page table{border-collapse:collapse;width:100%;font-size:10.5pt}.inventory-case-checklist-page th,.inventory-case-checklist-page td{white-space:normal;border:1px solid #000;height:11mm;padding:3mm;text-align:left!important}.inventory-case-checklist-page th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e5e7eb!important}.inventory-case-checklist-page .print-check{width:13mm;font-size:17pt;text-align:center!important}.inventory-case-checklist-page footer{gap:5mm;margin-top:auto;padding-top:8mm;font-size:11pt;display:grid}}@media (max-width:700px){.equipment-view-actions{border-left:0;border-top:1px solid var(--border);width:100%;padding-top:8px;padding-left:0}.location-action-group>strong{min-width:100%}}.equipment-plan-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin:-4px 0 10px;display:flex}.equipment-view-actions-left,.equipment-edit-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.equipment-plan-scroll.compact{max-height:calc(100vh - 205px)}.equipment-plan-scroll.compact .equipment-plan-cell{min-height:52px;padding:5px;font-size:12px;line-height:1.15}.equipment-plan-scroll.compact th,.equipment-plan-scroll.compact td{padding:5px;font-size:12px}.equipment-plan-scroll.compact .equipment-allocation{margin-top:2px;padding:3px 4px}.equipment-plan-scroll.compact .equipment-plan-area-heading span,.equipment-plan-scroll.compact .equipment-plan-area-heading small{font-size:10px}.project-settings-card{max-width:820px}.danger-zone{background:#fff7f7;border:1px solid #fecaca;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-top:16px;padding:16px;display:flex}.danger-zone h3{margin:0 0 5px}.danger-zone p{color:var(--muted);margin:0}@media (max-width:700px){.equipment-plan-heading{margin-bottom:6px}.equipment-plan-toolbar{align-items:stretch;margin-bottom:6px}.equipment-view-actions-left{flex-wrap:nowrap;order:1;justify-content:flex-start;width:100%;padding-bottom:3px;overflow-x:auto}.equipment-edit-actions{order:2;justify-content:flex-start;width:100%}.equipment-plan-toolbar .btn,.equipment-plan-toolbar .my-areas-toggle{white-space:nowrap;min-height:36px;padding:7px 9px;font-size:12px}.equipment-plan-scroll{max-height:calc(100vh - 170px)!important}.equipment-plan-scroll.compact .equipment-plan-cell{min-height:44px;padding:3px;font-size:10.5px}.equipment-plan-scroll.compact th,.equipment-plan-scroll.compact td{padding:3px;font-size:10.5px}.equipment-plan-scroll.compact .equipment-plan-row-heading,.equipment-plan-scroll.compact .equipment-plan-row-label{min-width:105px;max-width:105px}.equipment-plan-scroll.compact .equipment-plan-area-heading{min-width:115px}.project-action-short{padding:8px 10px}.tabbar{flex-wrap:nowrap;gap:5px;padding-bottom:4px;overflow-x:auto}.tabbar button{white-space:nowrap;padding:7px 9px;font-size:12px}.danger-zone{flex-direction:column;align-items:stretch}}.message-center-actions{justify-content:flex-start;margin-bottom:10px;display:flex}.daily-brief-builder{margin-bottom:14px}.daily-brief-halls{gap:7px;margin:10px 0;display:grid}.daily-brief-halls>div{border:1px solid var(--border);border-radius:9px;grid-template-columns:1fr 130px;align-items:center;gap:10px;padding:8px;display:grid}.daily-brief-halls input{border:1px solid var(--border);border-radius:8px;padding:8px}.daily-brief-preview{white-space:pre-wrap;border:1px solid var(--border);background:#f9fafb;border-radius:10px;padding:12px;font-family:inherit}.message-template-actions{flex-wrap:wrap;gap:8px;display:flex}@media (max-width:700px){.crew-toolbar .btn{padding:7px 9px;font-size:12px}.daily-brief-halls>div{grid-template-columns:1fr 105px}.message-template-actions .btn{flex:1;min-width:110px}}.chat-shortcut-wrap{position:relative}.topbar-icon-button{border:1px solid var(--border);background:#fff;border-radius:10px;padding:8px 10px;font-size:18px;position:relative}.topbar-icon-button span{background:var(--brand);color:#fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:11px;display:grid;position:absolute;top:-7px;right:-6px}.chat-shortcut-panel{border:1px solid var(--border);z-index:30000;background:#fff;border-radius:13px;width:min(360px,100vw - 20px);max-height:70vh;padding:10px;position:absolute;top:46px;right:0;overflow:auto;box-shadow:0 15px 40px #0003}.chat-shortcut-panel .section-head{margin-bottom:5px}.chat-shortcut-panel .section-head button{background:#f3f4f6;border:0;border-radius:50%;width:30px;height:30px}.chat-shortcut-panel>a{border-bottom:1px solid var(--border);border-radius:8px;gap:3px;padding:10px;display:grid}.chat-shortcut-panel>a:hover{background:#f9fafb}.chat-shortcut-panel small{color:var(--muted)}.chat-shortcut-panel .chat-all-projects{color:var(--brand);border-bottom:0;margin-top:6px;font-weight:700}@media (max-width:700px){.topbar-user .metric-label{display:none}.topbar-user{gap:5px}.topbar-icon-button{padding:7px 8px}.chat-shortcut-panel{width:auto;position:fixed;top:72px;left:10px;right:10px}}.chat-drawer-backdrop{z-index:50000;background:#0f172a73;justify-content:flex-end;display:flex;position:fixed;inset:0}.chat-drawer{background:#fff;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;width:min(470px,100vw);height:100dvh;display:grid;overflow:hidden;box-shadow:-16px 0 45px #00000040}.chat-drawer-header{border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.chat-drawer-header h2{margin:0}.chat-drawer-header small{color:var(--muted);margin-top:2px;display:block}.chat-back,.chat-close{background:#f3f4f6;border:0;border-radius:50%;width:38px;height:38px;font-size:20px}.chat-back{display:none}.chat-project-tabs{border-bottom:1px solid var(--border);gap:6px;padding:8px 10px;display:flex;overflow-x:auto}.chat-project-tabs button{border:1px solid var(--border);white-space:nowrap;background:#fff;border-radius:999px;padding:7px 12px;font-weight:700;position:relative}.chat-project-tabs button.active{background:var(--brand);color:#fff}.chat-project-tabs button span{min-width:18px;height:18px;color:var(--brand);background:#fff;border-radius:999px;place-items:center;margin-left:5px;padding:0 4px;font-size:10px;display:inline-grid}.chat-tools{border-bottom:1px solid var(--border);gap:6px;padding:8px 10px;display:flex;overflow-x:auto}.chat-tools button{border:1px solid var(--border);white-space:nowrap;background:#fff;border-radius:8px;padding:7px 9px}.chat-notice{color:#1d4ed8;background:#eff6ff;padding:7px 10px;font-size:12px}.chat-template-card{border-bottom:1px solid var(--border);max-height:45dvh;padding:10px;overflow:auto}.chat-template-card .section-head{margin-bottom:8px}.chat-template-card input,.chat-template-card textarea{border:1px solid var(--border);border-radius:8px;width:100%;padding:8px}.chat-template-halls{gap:6px;margin:8px 0;display:grid}.chat-template-halls label{grid-template-columns:1fr 110px;align-items:center;gap:8px;display:grid}.chat-template-card pre{white-space:pre-wrap;border:1px solid var(--border);background:#f9fafb;border-radius:8px;max-height:150px;padding:8px;overflow:auto}.chat-template-buttons{flex-wrap:wrap;gap:6px;display:flex}.chat-template-buttons button{background:var(--brand);color:#fff;border:0;border-radius:8px;padding:8px 10px}.chat-message-scroll{scroll-behavior:smooth;background:#f5f7fb;flex-direction:column;gap:9px;padding:12px;display:flex;overflow-y:auto}.chat-bubble{border:1px solid var(--border);background:#fff;border-radius:4px 14px 14px;align-self:flex-start;width:min(88%,390px);padding:9px 10px;box-shadow:0 1px 3px #0000000a}.chat-bubble.mine{background:#dcfce7;border-radius:14px 4px 14px 14px;align-self:flex-end}.chat-bubble-head{justify-content:space-between;gap:8px;font-size:11px;display:flex}.chat-bubble-head time{color:var(--muted)}.chat-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0}.chat-reply-quote{text-align:left;border:0;border-left:3px solid var(--brand);background:#ffffffa6;border-radius:6px;gap:2px;width:100%;padding:6px 8px;display:grid}.chat-reply-quote span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.chat-message-actions{opacity:.45;flex-wrap:wrap;gap:2px;display:flex}.chat-bubble:hover .chat-message-actions,.chat-bubble:focus-within .chat-message-actions{opacity:1}.chat-message-actions button{background:0 0;border:0;padding:3px;font-size:12px}.chat-reaction-summary{flex-wrap:wrap;gap:4px;display:flex}.chat-reaction-summary span{border:1px solid var(--border);background:#fff;border-radius:999px;padding:2px 6px;font-size:11px}.chat-empty{color:var(--muted);margin:auto;text-align:center!important}.chat-compose{border-top:1px solid var(--border);background:#fff;padding:8px;position:relative}.chat-compose-reply{border-left:3px solid var(--brand);background:#f3f4f6;border-radius:7px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;padding:6px 8px;display:flex}.chat-compose-reply div{min-width:0;display:grid}.chat-compose-reply span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.chat-compose-reply button{background:0 0;border:0}.chat-compose-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:6px;display:grid}.chat-compose-row>button{background:#f3f4f6;border:0;border-radius:9px;min-width:40px;height:40px}.chat-compose-row textarea{resize:none;border:1px solid var(--border);border-radius:10px;max-height:120px;padding:10px}.chat-compose-row .chat-send{background:var(--brand);color:#fff;padding:0 12px}.emoji-picker{border:1px solid var(--border);background:#fff;border-radius:12px;grid-template-columns:repeat(6,38px);gap:3px;padding:7px;display:grid;position:absolute;bottom:58px;left:8px;box-shadow:0 12px 30px #0000002e}.emoji-picker button{background:#fff;border:0;border-radius:6px;height:36px;font-size:21px}.emoji-picker button:hover{background:#f3f4f6}@media (max-width:700px){.chat-drawer-backdrop{background:#fff}.chat-drawer{width:100vw;height:100dvh;box-shadow:none}.chat-back{display:block}.chat-close{display:none}.chat-drawer-header{padding-top:max(10px,env(safe-area-inset-top));min-height:58px}.chat-project-tabs{padding:6px 8px}.chat-project-tabs button{padding:6px 9px;font-size:12px}.chat-tools{padding:6px 8px}.chat-tools button{padding:6px 8px;font-size:12px}.chat-message-scroll{padding:8px}.chat-bubble{width:92%;padding:7px 8px;font-size:13px}.chat-message-actions{opacity:1}.chat-compose{padding:7px 8px max(7px,env(safe-area-inset-bottom))}.chat-compose-row textarea{padding:8px;font-size:14px}.chat-compose-row>button{min-width:38px;height:38px}.chat-template-card{max-height:50dvh}.chat-template-halls label{grid-template-columns:1fr 95px;font-size:12px}.project-message-compose .section-head,.daily-brief-builder .section-head{flex-direction:column;align-items:stretch}.project-message-card{padding:12px}.project-message-head{flex-direction:column;align-items:flex-start!important}.project-message-head .btn{padding:7px 9px;font-size:12px}}.manual-case-item-form{margin:16px 0}.manual-case-item-grid{grid-template-columns:minmax(220px,2fr) 100px minmax(180px,1fr) auto;align-items:end;gap:10px;display:grid}.case-photo-manager{margin-top:16px}.case-photo-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;display:grid}.case-photo-grid article{border:1px solid var(--border);background:#fff;border-radius:12px;gap:8px;padding:9px;display:grid}.case-photo-grid img{object-fit:contain;background:#f3f4f6;border-radius:8px;width:100%;height:150px}.case-photo-grid input{border:1px solid var(--border);border-radius:8px;width:100%;padding:8px}.case-photo-grid article>div{flex-wrap:wrap;gap:6px;display:flex}.scanned-case-checklist{width:min(760px,100%)}.scanned-case-meta{color:var(--muted);flex-wrap:wrap;gap:12px;margin:10px 0;display:flex}.scanned-checklist-list{gap:8px;margin:16px 0;display:grid}.scanned-checklist-list label{border:1px solid var(--border);background:#fff;border-radius:10px;align-items:flex-start;gap:10px;padding:11px;display:flex}.scanned-checklist-list input{flex:none;width:22px;height:22px}.scanned-checklist-list small{color:var(--muted);margin-top:4px;display:block}.scanned-case-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.scanned-case-photo-grid a{border:1px solid var(--border);background:#fff;border-radius:10px;gap:5px;padding:7px;display:grid}.scanned-case-photo-grid img{object-fit:contain;background:#f3f4f6;border-radius:7px;width:100%;height:220px}.inventory-print-photo-grid{page-break-inside:avoid;grid-template-rows:repeat(2,95mm);grid-template-columns:repeat(2,1fr);gap:5mm;margin-top:5mm;display:grid}.inventory-print-photo-grid figure{border:1px solid #777;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:3mm;display:flex;overflow:hidden}.inventory-print-photo-grid img{object-fit:contain;max-width:100%;max-height:82mm}.inventory-print-photo-grid figcaption{text-align:center;margin-top:2mm;font-size:9pt}@media (max-width:700px){.manual-case-item-grid{grid-template-columns:1fr}.case-contents-modal,.scanned-case-checklist{border-radius:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;padding:16px!important}.scanned-case-photo-grid{grid-template-columns:1fr}.scanned-case-photo-grid img{height:auto;max-height:50dvh}}.user-edit-modal{width:min(920px,100vw - 24px);max-height:92dvh;overflow:auto}.equipment-print-paper{border:1px solid var(--border);background:#fff;border-radius:9px;padding:8px 9px;font-weight:700}.equipment-print-root{display:none}@media print{body.printing-equipment-plan .shell,body.printing-equipment-plan .layout,body.printing-equipment-plan .content{background:#fff!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}body.printing-equipment-plan .topbar,body.printing-equipment-plan .sidebar,body.printing-equipment-plan .page-back-row,body.printing-equipment-plan .content>:not(.equipment-print-root){display:none!important}body.printing-equipment-plan .equipment-print-root{display:block!important}body.printing-equipment-plan .equipment-print-section{page-break-after:always;break-after:page;color:#000;background:#fff;display:block!important}body.printing-equipment-plan .equipment-print-section:last-child{page-break-after:auto;break-after:auto}body.printing-equipment-plan .equipment-print-header{border-bottom:2px solid #111;justify-content:space-between;align-items:flex-start;gap:12mm;margin-bottom:4mm;padding-bottom:4mm;display:flex}body.printing-equipment-plan .equipment-print-header h1{margin:0 0 2mm;font-size:17pt;text-align:left!important}body.printing-equipment-plan .equipment-print-header p,body.printing-equipment-plan .equipment-print-header small{margin:0;display:block;text-align:left!important}body.printing-equipment-plan .equipment-print-header>div:last-child{text-align:right}body.printing-equipment-plan .equipment-print-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:8.5pt}body.printing-equipment-plan .equipment-print-table thead{display:table-header-group}body.printing-equipment-plan .equipment-print-table tr{page-break-inside:avoid!important;break-inside:avoid!important}body.printing-equipment-plan .equipment-print-table th,body.printing-equipment-plan .equipment-print-table td{vertical-align:top;overflow-wrap:anywhere;-webkit-print-color-adjust:exact;print-color-adjust:exact;border:1px solid #9ca3af;padding:2mm;white-space:normal!important;page-break-inside:avoid!important;break-inside:avoid!important}body.printing-equipment-plan .equipment-print-table th>span,body.printing-equipment-plan .equipment-print-table th>small,body.printing-equipment-plan .equipment-print-table td>small{margin-top:1mm;font-size:7pt;display:block}body.printing-equipment-plan .equipment-print-requirement{width:31mm;background:#f3f4f6!important}body.printing-equipment-plan .equipment-print-allocation{background:#f9fafb;border-radius:2mm;margin-top:1mm;padding:1mm;display:block}body.printing-equipment-plan .status-ready{color:#111!important;background:#dcfce7!important}body.printing-equipment-plan .status-in_progress{color:#111!important;background:#fef9c3!important}body.printing-equipment-plan .status-issue{color:#111!important;background:#fee2e2!important}body.printing-equipment-plan .status-out{color:#111!important;background:#dbeafe!important}body.printing-equipment-plan .status-returned{color:#111!important;background:#e5e7eb!important}body.printing-equipment-plan .case-auto-assigned{color:#111!important;background:#fef9c3!important}body.printing-equipment-plan .case-auto-out{color:#111!important;background:#dcfce7!important}body.printing-equipment-plan .case-auto-returned{color:#111!important;background:#dbeafe!important}body.printing-equipment-plan .equipment-print-table td strong,body.printing-equipment-plan .equipment-print-table td small{color:inherit!important}}@page{margin:8mm}body.printing-equipment-a4 .equipment-print-table,body.printing-equipment-a3 .equipment-print-table{font-size:8pt}@media (max-width:700px){.user-edit-modal .two-column-form{grid-template-columns:1fr!important}.equipment-print-paper{padding:7px 8px;font-size:12px}}@page equipmentA4{size:A4 landscape;margin:8mm}@page equipmentA3{size:A3 landscape;margin:8mm}@media print{body.printing-equipment-a4 .equipment-print-section{page:equipmentA4}body.printing-equipment-a3 .equipment-print-section{page:equipmentA3}}.inventory-header-actions{flex-wrap:wrap;gap:8px;display:flex}.project-title-status{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.project-title-status h1{margin:0}.project-status-active{color:#166534;background:#dcfce7}.case-qr-print-modal{width:min(980px,100vw - 20px);max-height:94dvh;overflow:auto}.permanent-case-qr-pages{background:#fff}.permanent-case-qr-page{grid-template-rows:repeat(4,74.25mm);grid-template-columns:repeat(2,105mm);width:210mm;min-height:297mm;display:grid}.permanent-case-qr-label{border:0;grid-template-rows:auto 1fr;padding:5mm;display:grid;position:relative;overflow:hidden}.permanent-case-qr-label h2{margin:0;padding-right:28mm;font-size:17pt;line-height:1.1}.permanent-case-qr-logo{width:23mm;position:absolute;top:4mm;right:5mm}.permanent-case-qr-block{flex-direction:column;place-self:center;align-items:center;gap:1.5mm;width:58mm;min-width:0;display:flex}.permanent-case-qr-code{width:34mm;height:34mm;display:block}.permanent-case-qr-id{text-align:center;white-space:nowrap;width:100%;font-size:12pt;font-weight:900;line-height:1.1}.permanent-case-qr-weight{text-align:center;font-size:10pt;font-weight:700;line-height:1.1}.case-manifest-print-root{display:none}@media print{body.printing-permanent-case-qr .topbar,body.printing-permanent-case-qr .sidebar,body.printing-permanent-case-qr .content>:not(.modal-backdrop),body.printing-permanent-case-qr .case-qr-print-modal>.no-print,body.printing-permanent-case-qr .modal-close{display:none!important}body.printing-permanent-case-qr .modal-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important}body.printing-permanent-case-qr .case-qr-print-modal{width:210mm!important;max-width:210mm!important;max-height:none!important;padding:0!important;display:block!important;overflow:visible!important}.permanent-case-qr-page{page-break-after:always;break-after:page}.permanent-case-qr-page:last-child{page-break-after:auto;break-after:auto}body.printing-case-manifest .topbar,body.printing-case-manifest .sidebar,body.printing-case-manifest .page-back-row,body.printing-case-manifest .content>:not(.case-manifest-print-root){display:none!important}body.printing-case-manifest .case-manifest-print-root{color:#000;background:#fff;display:block!important}.case-manifest-print-root header{border-bottom:2px solid #000;align-items:center;gap:12mm;padding-bottom:5mm;display:flex}.case-manifest-print-root header img{width:38mm}.case-manifest-print-root h1{margin:0;font-size:20pt}.case-manifest-summary{gap:20mm;padding:6mm 0;font-size:14pt;display:flex}.case-manifest-print-root table{border-collapse:collapse;width:100%}.case-manifest-print-root th,.case-manifest-print-root td{text-align:left;border:1px solid #555;padding:3mm}.case-manifest-print-root thead{display:table-header-group}}@media (max-width:700px){.project-title-status .btn{padding:7px 10px}.inventory-header-actions{width:100%}.inventory-header-actions .btn{flex:1}.case-qr-print-modal{padding:12px}.permanent-case-qr-pages{overflow:auto}}.project-card-status-row{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.case-label-copy-grid{gap:8px;margin:12px 0;display:grid}.case-label-copy-grid label{grid-template-columns:1fr 90px;align-items:center;gap:10px;display:grid}.case-label-copy-grid input{width:100%}.equipment-case-legend{border:1px solid var(--border);background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0;padding:10px 12px;font-size:12px;display:flex}.equipment-case-legend span{border-radius:7px;padding:5px 8px}.legend-yellow,.case-auto-assigned{background:#fef9c3!important}.legend-green,.case-auto-out{background:#dcfce7!important}.legend-blue,.case-auto-returned{background:#dbeafe!important}.legend-white,.case-auto-unlinked{background:#fff!important}.case-auto-label{margin-top:4px;font-weight:800;display:block}.equipment-plan-cell.case-auto-assigned,.equipment-plan-cell.case-auto-out,.equipment-plan-cell.case-auto-returned,.equipment-plan-cell.case-auto-unlinked{-webkit-print-color-adjust:exact;print-color-adjust:exact}.layout,.content{min-width:0}.content{overflow-x:hidden}.project-control-panel{border:1px solid var(--border);background:#f8fafc;border-radius:14px;grid-template-columns:minmax(220px,320px) minmax(280px,1fr);align-items:end;gap:18px;margin-bottom:18px;padding:16px;display:grid}.project-chat-switch{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:11px;justify-content:space-between;align-items:center;gap:16px;padding:11px 13px;display:flex}.project-chat-switch span{gap:3px;display:grid}.project-chat-switch small{color:var(--muted);font-weight:400}.project-chat-switch input{opacity:0;pointer-events:none;position:absolute}.project-chat-switch i{background:#d1d5db;border-radius:999px;flex:none;width:48px;height:27px;transition:all .2s;position:relative}.project-chat-switch i:after{content:"";background:#fff;border-radius:50%;width:21px;height:21px;transition:all .2s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #00000040}.project-chat-switch input:checked+i{background:#22c55e}.project-chat-switch input:checked+i:after{transform:translate(21px)}.lifecycle-draft{color:#92400e;background:#fef3c7}.lifecycle-in_progress{color:#1d4ed8;background:#dbeafe}.lifecycle-live{color:#166534;background:#dcfce7}.lifecycle-done{color:#374151;background:#e5e7eb}.chat-state.on{color:#166534;background:#dcfce7}.chat-state.off{color:#991b1b;background:#fee2e2}.equipment-plan-scroll{overscroll-behavior:contain;isolation:isolate;width:100%;max-width:100%;position:relative;overflow:auto}.equipment-plan-table{width:max-content;min-width:100%}.equipment-plan-table thead th{z-index:20;position:sticky;top:0}.equipment-plan-row-heading,.equipment-plan-row-label{box-shadow:8px 0 12px -12px #0f172acc;z-index:25!important;position:sticky!important;left:0!important}.equipment-plan-row-heading{z-index:30!important}.equipment-plan-cell{background:#fff!important}.equipment-allocation.allocation-case-assigned{color:#92400e!important;background:#fef3c7!important}.equipment-allocation.allocation-case-out{color:#166534!important;background:#dcfce7!important}.equipment-allocation.allocation-case-returned{color:#1d4ed8!important;background:#dbeafe!important}.equipment-allocation.allocation-case-unlinked{border:1px solid var(--border);color:inherit!important;background:#fff!important}.allocation-case-label{margin-top:2px;font-size:10px;font-weight:700;display:block}.equipment-allocation-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:9px 0;display:flex}.equipment-allocation-row>div{flex-wrap:wrap;gap:6px;display:flex}.chat-drawer{border-radius:16px 0 0 16px;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;width:min(820px,100vw - 36px);height:min(86dvh,900px);margin-block:auto}.chat-channel-picker{border-bottom:1px solid var(--border);gap:8px;padding:8px 10px;display:flex}.chat-channel-picker select{border:1px solid var(--border);background:#fff;border-radius:8px;flex:1;min-width:0;padding:8px}.chat-compose{z-index:5;position:sticky;bottom:0}.chat-compose-row textarea{min-height:44px;max-height:150px}.chat-bubble{width:min(78%,560px)}.case-contents-modal{width:min(1180px,100vw - 24px);max-height:94dvh;padding-bottom:32px;overflow:auto}.case-photo-manager{scroll-margin-bottom:20px}.case-photo-grid article{min-width:0}.case-photo-actions{grid-template-columns:auto auto 1fr 1fr;gap:6px!important;display:grid!important}.case-photo-actions .btn{white-space:nowrap;justify-content:center;align-items:center;min-width:0;padding:8px 10px;display:flex}@media (max-width:700px){.project-control-panel{grid-template-columns:1fr}.chat-drawer-backdrop{background:#fff;display:block}.chat-drawer{border-radius:0;grid-template-rows:auto auto auto auto minmax(0,1fr) auto;width:100vw;height:100dvh;max-height:none;margin:0}.chat-channel-picker{overflow-x:auto}.chat-channel-picker select{flex:none;min-width:145px}.chat-bubble{width:92%}.case-photo-actions{grid-template-columns:1fr 1fr}.case-contents-modal{padding-bottom:max(28px,env(safe-area-inset-bottom))!important}}.monthly-status-card{margin-bottom:16px}.monthly-status-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.monthly-status-grid>div{border:1px solid var(--border);border-radius:12px;gap:5px;padding:12px;display:grid}.monthly-status-grid small{color:var(--muted)}.monthly-status-grid strong{font-size:17px}.overtime-box{background:#fff7ed;border-color:#fb923c!important}.progress-track{background:#e5e7eb;border-radius:999px;height:10px;margin-top:12px;overflow:hidden}.progress-track span{background:#16a34a;height:100%;display:block}@media (max-width:700px){.monthly-status-grid{grid-template-columns:1fr 1fr}}.shift-chip.sick{color:#991b1b!important;background:#fee2e2!important;border-color:#ef4444!important}.push-enable-card{border:1px solid var(--border);background:var(--surface-2,#f8fafc);border-radius:14px;flex-wrap:wrap;align-items:center;gap:14px;margin:14px 0;padding:16px;display:flex}.push-enable-card>div{flex:1;min-width:220px}.push-enable-card p{color:var(--muted);margin:4px 0 0}.push-enable-card small{width:100%}.push-permission-prompt{z-index:1100;background:#fff;width:min(520px,100vw - 36px);margin:0;position:fixed;bottom:18px;right:18px;box-shadow:0 18px 48px #0f172a3d}@media (max-width:600px){.push-permission-prompt{width:calc(100vw - 20px);bottom:10px;right:10px}}.notification-settings-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin:16px 0;display:grid}.notification-popover-item.unread{background:#2563eb0f;border-left:4px solid}.shift-chip.no-show{color:#713f12!important;background:#fef08a!important;border:1px solid #eab308!important}.shift-chip.missing-out{color:#9a3412!important;background:#fed7aa!important;border:1px solid #f97316!important}.shift-chip.active,.shift-chip.completed{border:1px solid #22c55e!important}.shift-chip small{margin-top:2px;font-size:10px}.monthly-status-detail{text-align:left;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;width:100%;padding:0}.monthly-status-detail:hover strong{text-decoration:underline}.monthly-detail-modal{width:min(620px,100% - 24px);max-height:85vh;overflow:auto}.monthly-detail-list{gap:8px;margin-top:16px;display:grid}.monthly-detail-list>div{border:1px solid var(--border);background:#f9fafb;border-radius:9px;grid-template-columns:110px minmax(90px,1fr) minmax(120px,2fr);align-items:center;gap:8px;padding:10px 12px;display:grid}.monthly-detail-list small{color:var(--muted)}@media (max-width:640px){.monthly-detail-list>div{grid-template-columns:1fr}.monthly-detail-list>div span,.monthly-detail-list>div small{display:block}}.project-attendance-live,.project-attendance-done{color:#166534;margin-top:4px;font-weight:700}.attendance-stat-grid{grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin:14px 0;display:grid}.attendance-stat{border:1px solid var(--border);background:var(--card);text-align:left;cursor:pointer;border-radius:12px;padding:12px}.attendance-stat strong{font-size:24px;display:block}.attendance-stat span{color:var(--muted);font-size:12px}.attendance-filter-grid{grid-template-columns:repeat(5,minmax(150px,1fr));align-items:end;gap:10px;margin:14px 0;display:grid}.attendance-groups{gap:10px;display:grid}.attendance-group{border:1px solid var(--border);background:var(--card);border-radius:12px;overflow:hidden}.attendance-group-head{text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;gap:18px;width:100%;padding:14px;display:flex}.attendance-group-head>div:first-child{gap:3px;display:grid}.attendance-group-head span{color:var(--muted);font-size:13px}.attendance-group-summary{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;display:flex}.attendance-group-summary span{font-size:12px}.attendance-group-summary b{font-size:20px}.attendance-group-body{border-top:1px solid var(--border);background:color-mix(in srgb,var(--card) 94%,var(--border));gap:8px;padding:10px;display:grid}.attendance-record{background:var(--card);border:1px solid var(--border);border-radius:10px;grid-template-columns:1.1fr 1.1fr .7fr .9fr minmax(180px,1.4fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.attendance-record>div{gap:3px;display:grid}.attendance-note input{min-width:160px}.attendance-actions-menu{position:relative}.attendance-actions-menu summary{cursor:pointer;list-style:none}.attendance-actions-menu summary::-webkit-details-marker{display:none}.attendance-actions-menu>div{z-index:5;background:var(--card);border:1px solid var(--border);border-radius:10px;gap:6px;min-width:190px;padding:8px;display:grid;position:absolute;right:0;box-shadow:0 10px 30px #0000002e}.attendance-pagination{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;font-size:13px;display:flex}.attendance-pagination>div{align-items:center;gap:10px;display:flex}@media (max-width:1000px){.attendance-filter-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.attendance-record{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-note{grid-column:1/-1}.attendance-actions-menu{justify-self:start}.attendance-stat-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media (max-width:600px){.attendance-filter-grid,.attendance-stat-grid{grid-template-columns:1fr}.attendance-group-head{display:grid}.attendance-group-summary{justify-content:flex-start}.attendance-record{grid-template-columns:1fr}.attendance-pagination{display:grid}.attendance-pagination>div{flex-wrap:wrap}}.account-preferences-card{margin-bottom:16px}.account-preference-row{justify-content:space-between;align-items:center;gap:16px;display:flex}.my-day-quick-actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.leave-message{color:#1e293b;background:#f8fafc;border-color:#cbd5e1}.sick-message{background:#eff6ff;border-color:#bfdbfe}.vacation-message{background:#ecfdf5;border-color:#a7f3d0}.neutral-message{color:#475569;background:#f8fafc;border-color:#e2e8f0}.scanner-heading{align-items:flex-start}@media (max-width:760px){.topbar{min-height:auto;padding:10px 12px}.brand img{width:112px;height:auto}.brand-title{font-size:1.05rem}.brand-subtitle{font-size:.72rem}.topbar-user{gap:8px}.topbar-user>.metric-label{display:none}.content{padding:14px}.monthly-status-card .section-head{align-items:flex-start;gap:10px}.monthly-status-card .section-head h2{font-size:1.12rem}.monthly-status-card .metric-label{font-size:.78rem}.monthly-status-card input[type=month]{max-width:145px;font-size:.86rem}.monthly-status-grid{gap:8px;grid-template-columns:1fr!important}.monthly-status-grid>div,.monthly-status-detail{min-width:0;padding:10px 12px}.monthly-status-grid strong{white-space:nowrap;font-size:.95rem}.monthly-status-grid small{font-size:.74rem;line-height:1.25}.progress-track{height:6px}.calendar-day{min-width:0;padding:4px!important}.calendar-number{font-size:.78rem}.project-range-chip,.project-calendar-chip,.activity-chip,.shift-chip,.vacation-chip{min-width:0;margin-top:3px!important;padding:4px 5px!important}.project-range-chip strong,.project-calendar-chip strong,.activity-chip strong,.shift-chip strong{text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;line-height:1.1;display:block;overflow:hidden}.project-range-chip span,.project-calendar-chip span,.activity-chip span,.shift-chip span,.vacation-chip span{text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;line-height:1.1;display:block;overflow:hidden}.project-range-chip small,.project-calendar-chip small,.activity-chip small,.shift-chip small{font-size:.58rem}.scanner-heading{display:block}.scanner-heading>div:first-child{margin-bottom:12px}.scanner-heading h1{margin-bottom:4px;font-size:1.4rem}.scan-mode{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;display:grid!important}.scan-mode button{white-space:nowrap;min-width:0;padding:8px 4px;font-size:.78rem}.account-preference-row{flex-direction:column;align-items:flex-start}.my-day-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.my-day-quick-actions .btn{width:100%;padding-inline:8px}}:root{--type-page-title:clamp(1.35rem,2.2vw,1.8rem);--type-section-title:1.08rem;--type-body:.9rem;--type-caption:.76rem;--type-value:1rem}.calendar-month-nav{text-align:center;grid-template-columns:44px 1fr 44px;align-items:center;gap:10px;margin-bottom:16px;display:grid}.calendar-month-nav h2{margin:0;font-size:1.25rem;line-height:1.1}.calendar-month-nav>div{justify-items:center;gap:5px;display:grid}.calendar-nav-arrow{border:1px solid var(--border);width:44px;height:40px;color:var(--text);background:#fff;border-radius:10px;font-size:1.8rem;font-weight:700;line-height:1}.calendar-today-button{color:var(--brand);background:0 0;border:0;padding:0;font-size:.78rem;font-weight:700}.calendar-view-controls{justify-content:flex-end;margin-bottom:8px;display:flex}.calendar-view-controls label{color:var(--muted);align-items:center;gap:8px;font-size:.82rem;font-weight:800;display:flex}.calendar-view-controls select{border:1px solid var(--border);min-width:170px;height:38px;color:var(--text);font:inherit;background:#fff;border-radius:9px;padding:0 34px 0 11px}@media (max-width:900px){.page-back-row{display:none!important}}@media (max-width:760px){.topbar{gap:6px;height:58px!important;padding:6px 9px!important}.brand{gap:7px;min-width:0}.brand img{object-fit:contain;max-width:76px;width:auto!important;height:31px!important}.brand-title{white-space:nowrap;line-height:1.05;font-size:.94rem!important}.brand-subtitle{margin-top:2px;line-height:1;font-size:.62rem!important}.topbar-user{min-width:0;gap:5px!important}.topbar-user button,.topbar-user a{min-width:40px;min-height:40px;padding:7px!important}.layout{min-height:calc(100vh - 58px)}.content{padding:10px!important}.content h1{font-size:var(--type-page-title);line-height:1.15}.content h2,.monthly-status-card .section-head h2{line-height:1.2;font-size:var(--type-section-title)!important}.content p,.content .metric-label{font-size:var(--type-body)}.monthly-status-card{padding:14px}.monthly-status-card .section-head{margin-bottom:12px}.monthly-status-card .metric-label{line-height:1.25;font-size:var(--type-caption)!important}.monthly-status-grid{gap:7px!important}.monthly-status-grid>div,.monthly-status-detail{gap:4px!important;padding:10px 11px!important}.monthly-status-grid small{line-height:1.25;font-size:var(--type-caption)!important}.monthly-status-grid strong{overflow-wrap:anywhere;line-height:1.25;font-size:var(--type-value)!important;white-space:normal!important}.calendar-month-nav{grid-template-columns:38px 1fr 38px;gap:6px;margin-bottom:10px}.calendar-month-nav h2{font-size:1rem}.calendar-nav-arrow{border-radius:9px;width:38px;height:34px;padding:0;font-size:1.55rem}.calendar-today-button{font-size:.7rem}.calendar-weekdays>div{padding:5px 1px;font-size:.67rem}.calendar-day{min-height:92px!important;padding:3px!important}.calendar-number{margin-bottom:3px;font-size:.72rem!important}.project-range-chip,.project-calendar-chip,.activity-chip,.shift-chip,.vacation-chip{overflow:hidden;text-align:left!important;border-radius:6px!important;margin:3px 0 0!important;padding:5px 4px!important}.project-range-chip strong,.project-calendar-chip strong,.activity-chip strong,.shift-chip strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:800;white-space:normal!important;text-overflow:clip!important;font-size:.64rem!important;line-height:1.08!important;display:-webkit-box!important;overflow:hidden!important}.project-range-chip span,.project-calendar-chip span,.activity-chip span,.shift-chip span,.vacation-chip span{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:2px;white-space:normal!important;text-overflow:clip!important;font-size:.58rem!important;line-height:1.08!important;display:-webkit-box!important;overflow:hidden!important}.project-range-chip small,.project-calendar-chip small,.activity-chip small,.shift-chip small{font-size:.55rem!important}}.monthly-status-card .section-head h2{margin:0;font-size:clamp(18px,4.5vw,24px);line-height:1.2}.monthly-status-grid>*{min-width:0}.monthly-status-grid strong{overflow-wrap:anywhere;font-size:clamp(15px,4vw,20px);line-height:1.25}@media (max-width:700px){.monthly-status-card .section-head{grid-template-columns:1fr auto;display:grid}.monthly-status-card input[type=month]{min-width:0;max-width:145px}.monthly-status-grid{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))!important}.monthly-status-grid>*{padding:10px!important}.monthly-status-detail small:last-child{font-size:10px}}.localized-input-wrap{width:100%;display:block;position:relative}.localized-input-wrap>input[type=text]{width:100%;padding-right:42px}.localized-picker-button{cursor:pointer;width:34px;height:34px;color:var(--text);background:0 0;border:0;border-radius:7px;font-size:17px;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.localized-picker-button:hover{background:#f3f4f6}.localized-native-picker{bottom:0;right:0;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;position:absolute!important}@media print{.localized-picker-button,.localized-native-picker{display:none!important}body.printing-equipment-plan .equipment-print-table td,body.printing-equipment-plan .equipment-print-table td *,body.printing-equipment-plan .equipment-print-allocation,body.printing-equipment-plan .equipment-print-allocation *{color:#111!important}body.printing-equipment-plan .equipment-print-allocation{background:#ffffffb8!important}}.brand{color:inherit;text-decoration:none}.today-activity-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.today-activity-kicker{letter-spacing:.02em;color:var(--muted);margin-bottom:3px;font-size:.76rem;font-weight:800}.today-activity-heading h2{margin:0}.today-live-badge{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:.76rem;font-weight:800;display:inline-flex}.today-live-badge>span{background:#16a34a;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #16a34a1f}.today-activity-time{margin:8px 0 0;font-size:1rem}.today-progress-panel{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;margin-top:14px;padding:13px}.today-progress-summary{color:#166534;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.today-progress-summary>span{font-size:1.15rem;font-weight:900}.today-progress-track{background:#d1fae5;border-radius:999px;height:10px;overflow:hidden}.today-progress-track>span{border-radius:inherit;background:#22c55e;height:100%;transition:width .4s;display:block}.today-timer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.today-timer-grid>div{background:#fff;border:1px solid #dcfce7;border-radius:9px;min-width:0;padding:9px 10px}.today-timer-grid span{color:var(--muted);margin-bottom:2px;font-size:.72rem;display:block}.today-timer-grid strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.95rem}.today-activity-actions{margin-top:14px}@media (max-width:760px){.calendar-page-card{margin-left:-4px!important;margin-right:-4px!important;padding-left:6px!important;padding-right:6px!important}.calendar-page-card .calendar-weekdays,.calendar-page-card .calendar-grid{width:100%}.today-activity-card{padding:14px!important}.today-activity-heading{gap:8px}.today-live-badge{padding:5px 8px;font-size:.7rem}.today-progress-panel{padding:11px}.today-timer-grid{gap:6px}.today-timer-grid>div{padding:8px}.today-activity-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.today-activity-actions .btn{min-width:0;font-size:.76rem;padding:9px 6px!important}}input[placeholder="DD/MM/YYYY"],input[placeholder=HH\:MM]{font-variant-numeric:tabular-nums;letter-spacing:.01em}.equipment-allocation.allocation-case-assigned,.equipment-allocation.allocation-case-out,.equipment-allocation.allocation-case-returned{color:#111827!important}@media print{body.printing-equipment-plan,body.printing-equipment-plan *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}body.printing-equipment-plan .case-auto-assigned{color:#111827!important;background:#fef9c3!important}body.printing-equipment-plan .case-auto-out{color:#111827!important;background:#dcfce7!important}body.printing-equipment-plan .case-auto-returned{color:#111827!important;background:#dbeafe!important}body.printing-equipment-plan .equipment-print-allocation,body.printing-equipment-plan .equipment-print-allocation *{color:#111827!important}}.monthly-status-card{overflow:hidden}.monthly-status-card .section-head{align-items:flex-start;gap:12px}.monthly-status-card .section-head h2{font-size:clamp(1.05rem,4.5vw,1.35rem);line-height:1.2}.monthly-status-card .section-head input[type=month]{min-width:145px;max-width:100%;font-size:14px}.monthly-status-grid>*{overflow-wrap:anywhere;min-width:0}.monthly-status-grid small{font-size:12px;line-height:1.25}.monthly-status-grid strong{font-size:clamp(.92rem,3.8vw,1.08rem);line-height:1.3}@media (max-width:640px){.monthly-status-card{padding:14px}.monthly-status-card .section-head{grid-template-columns:1fr;gap:8px;display:grid}.monthly-status-card .section-head input[type=month]{width:100%}.monthly-status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.monthly-status-grid>*{padding:10px 8px}}.physical-case-readonly{border:1px solid var(--border);background:#f8fafc;border-radius:9px;gap:3px;min-width:180px;padding:9px 10px;display:grid}.physical-case-readonly strong{color:#111827;font-size:14px}.physical-case-readonly small{color:var(--muted);font-size:11px}.monthly-status-grid>*{text-align:left;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;display:flex}.monthly-status-label{color:var(--muted);font-size:12px;font-weight:700;line-height:1.2;display:block}.monthly-status-grid strong{white-space:normal;margin:2px 0 0;display:block}.monthly-status-detail-line{color:var(--muted);font-size:12px;line-height:1.3;display:block}@media print{body.printing-equipment-plan .equipment-print-table td,body.printing-equipment-plan .status-ready,body.printing-equipment-plan .status-in_progress,body.printing-equipment-plan .status-issue,body.printing-equipment-plan .status-out,body.printing-equipment-plan .status-returned,body.printing-equipment-plan .case-auto-assigned,body.printing-equipment-plan .case-auto-out,body.printing-equipment-plan .case-auto-returned{color:#111827!important;background:#fff!important}body.printing-equipment-plan .equipment-print-allocation{color:#111827!important;background:#fff!important;border:1px solid #d1d5db!important;border-left-width:3px!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-assigned{border-left-color:#ca8a04!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-out{border-left-color:#16a34a!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-returned{border-left-color:#2563eb!important}}.expense-add-toggle{white-space:nowrap;align-self:end;margin-left:auto}@media (max-width:900px){.expense-add-toggle{align-self:stretch;width:100%;margin-left:0}}.inventory-table-wrap table{table-layout:fixed;min-width:1120px}.inventory-table-wrap th:first-child,.inventory-table-wrap td:first-child{text-align:center;width:36px!important;min-width:36px!important;max-width:36px!important;padding-left:6px!important;padding-right:6px!important}.inventory-table-wrap .inventory-name-column{white-space:normal;overflow-wrap:anywhere;width:220px;max-width:220px}.inventory-table-wrap .inventory-name-column strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box;overflow:hidden}.inventory-table-wrap .inventory-actions-cell{width:110px;min-width:110px}.table-sort-button{appearance:none;font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.inventory-actions-menu{position:relative}.inventory-actions-menu>summary{cursor:pointer;white-space:nowrap;list-style:none}.inventory-actions-menu>summary::-webkit-details-marker{display:none}.inventory-actions-menu>div{z-index:30;border:1px solid var(--border);background:#fff;border-radius:10px;gap:5px;min-width:180px;padding:8px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 12px 28px #0f172a2e}.inventory-actions-menu>div .btn{text-align:left;justify-content:flex-start;width:100%}.automatic-spare-line{align-items:center;gap:6px;display:flex!important}.automatic-spare-line span{color:#075985;background:#e0f2fe;border-radius:999px;padding:2px 5px;font-size:10px;font-weight:700}@media (max-width:700px){.inventory-filters.search-active select{display:none}.inventory-table-wrap .inventory-name-column{width:180px;max-width:180px}}@media print{body.printing-equipment-plan .equipment-print-table td.status-ready{color:#111827!important;background:#dcfce7!important}body.printing-equipment-plan .equipment-print-table td.status-in_progress{color:#111827!important;background:#fef9c3!important}body.printing-equipment-plan .equipment-print-table td.status-issue{color:#111827!important;background:#fee2e2!important}body.printing-equipment-plan .equipment-print-table td.status-out{color:#111827!important;background:#dbeafe!important}body.printing-equipment-plan .equipment-print-table td.status-returned{color:#111827!important;background:#e5e7eb!important}body.printing-equipment-plan .equipment-print-table td.case-auto-assigned{color:#111827!important;background:#fef9c3!important}body.printing-equipment-plan .equipment-print-table td.case-auto-out{color:#111827!important;background:#dcfce7!important}body.printing-equipment-plan .equipment-print-table td.case-auto-returned{color:#111827!important;background:#dbeafe!important}body.printing-equipment-plan .equipment-print-allocation{background:0 0!important;border:0!important}}.inventory-actions-cell{position:relative;overflow:visible}.inventory-actions-menu[open]{z-index:1001;position:relative}.inventory-actions-cell:has(.inventory-actions-menu[open]){z-index:1000}.inventory-table-wrap tbody tr:has(.inventory-actions-menu[open]){z-index:999;position:relative}.inventory-actions-menu[open]>div{z-index:1002}.inventory-units-inline{border:1px solid var(--border);background:#f8fafc;border-radius:14px;grid-column:1/-1;max-height:52vh;margin-top:8px;padding:16px;overflow:auto}.inventory-units-inline .inventory-unit-form{grid-template-columns:repeat(5,minmax(130px,1fr));align-items:end;gap:10px;display:grid}.inventory-units-inline .table-wrap{background:#fff;margin-top:14px}.automatic-spare-line{cursor:context-menu;-webkit-user-select:none;user-select:none}.spare-hidden-row{opacity:.58}.spare-context-menu{z-index:10020}@media (max-width:800px){.inventory-units-inline .inventory-unit-form{grid-template-columns:1fr}.inventory-units-inline{max-height:none;padding:12px}}@media print{body.printing-equipment-plan .equipment-print-table td,body.printing-equipment-plan .equipment-print-table td.status-ready,body.printing-equipment-plan .equipment-print-table td.status-in_progress,body.printing-equipment-plan .equipment-print-table td.status-issue,body.printing-equipment-plan .equipment-print-table td.status-out,body.printing-equipment-plan .equipment-print-table td.status-returned,body.printing-equipment-plan .equipment-print-table td.case-auto-assigned,body.printing-equipment-plan .equipment-print-table td.case-auto-out,body.printing-equipment-plan .equipment-print-table td.case-auto-returned{color:#111827!important;background:#fff!important}body.printing-equipment-plan .equipment-print-allocation{color:#111827!important;background:#fff!important;border:1px solid #d1d5db!important;border-radius:7px!important;margin:3px 0!important;padding:4px 7px!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-assigned{background:#fef9c3!important;border-color:#eab308!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-out{background:#dcfce7!important;border-color:#16a34a!important}body.printing-equipment-plan .equipment-print-allocation.allocation-case-returned{background:#dbeafe!important;border-color:#2563eb!important}body.printing-equipment-plan .equipment-print-table{margin-right:auto}body.printing-equipment-plan .equipment-print-logistics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4mm;display:grid}body.printing-equipment-plan .equipment-print-logistics-card{break-inside:avoid;page-break-inside:avoid;color:#111827;background:#fff;border:1px solid #9ca3af;padding:3mm}body.printing-equipment-plan .equipment-print-logistics-card h2{margin:0 0 2mm;font-size:10pt}body.printing-equipment-plan .equipment-print-logistics-card p{margin:0 0 2mm}body.printing-equipment-plan .equipment-print-logistics-card>div{margin:1mm 0;font-size:8.5pt}body.printing-equipment-plan .equipment-print-logistics-card small{color:#4b5563;font-size:7pt;display:inline}body.printing-equipment-plan .equipment-print-empty{color:#6b7280}}.cmr-print-root{display:none}@media print{body.printing-cmr-document .topbar,body.printing-cmr-document .sidebar,body.printing-cmr-document .page-back-row,body.printing-cmr-document .content>:not(.cmr-print-root){display:none!important}body.printing-cmr-document .cmr-print-root{color:#000;background:#fff;display:block!important}body.printing-cmr-document .layout,body.printing-cmr-document .content{width:auto!important;max-width:none!important;padding:0!important;display:block!important}.cmr-sheet{border:1px solid #111;width:190mm;margin:0 auto;font-family:Arial,sans-serif;font-size:9pt}.cmr-header{border-bottom:1px solid #111;justify-content:space-between;align-items:center;padding:8mm;display:flex}.cmr-header h1{margin:2mm 0;font-size:25pt}.cmr-header img{width:36mm}.cmr-header span{font-size:11pt;font-weight:700}.cmr-grid{display:grid}.cmr-grid.two{grid-template-columns:1fr 1fr}.cmr-grid.one{grid-template-columns:1fr}.cmr-grid article{border-bottom:1px solid #111;border-right:1px solid #111;min-height:20mm;padding:3mm}.cmr-grid article:nth-child(2n){border-right:0}.cmr-grid p{margin:2mm 0 0;line-height:1.35}.cmr-goods{border-collapse:collapse;width:100%}.cmr-goods th,.cmr-goods td{text-align:left;border-bottom:1px solid #111;border-right:1px solid #111;padding:2.5mm}.cmr-goods th:last-child,.cmr-goods td:last-child{border-right:0}.signatures article{min-height:27mm}}.logistics-print-control{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex;position:relative}.logistics-print-control>label{gap:5px;font-size:12px;font-weight:800;display:grid}.logistics-print-control select{border:1px solid var(--border);min-width:245px;color:var(--text);background:#fff;border-radius:9px;padding:9px 34px 9px 10px}.logistics-print-menu{position:relative}.logistics-print-options{z-index:30;border:1px solid var(--border);background:#fff;border-radius:10px;min-width:190px;padding:6px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 30px #0f172a2e}.logistics-print-options button{text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:9px 10px;display:block}.logistics-print-options button:hover{background:#f1f5f9}@media print{.cmr-goods{table-layout:fixed;font-size:8.2pt}.cmr-goods th{white-space:normal;overflow-wrap:anywhere;vertical-align:top;padding:2mm 1.4mm;line-height:1.2}.cmr-goods th span{margin-bottom:.6mm;font-weight:800;display:block}.cmr-goods td{overflow-wrap:anywhere;padding:2.2mm 1.4mm}.cmr-col-marks,.cmr-col-packages{width:16%}.cmr-col-packing{width:18%}.cmr-col-goods{width:24%}.cmr-col-weight{width:16%}.cmr-col-volume{width:10%}body.printing-logistics-documents .topbar,body.printing-logistics-documents .sidebar,body.printing-logistics-documents .page-back-row,body.printing-logistics-documents .content>:not(.case-manifest-print-root):not(.cmr-print-root){display:none!important}body.printing-logistics-documents .layout,body.printing-logistics-documents .content{width:auto!important;max-width:none!important;padding:0!important;display:block!important}body.printing-logistics-documents .cmr-print-root,body.printing-logistics-documents .case-manifest-print-root{color:#000;background:#fff;display:block!important}body.printing-logistics-documents .cmr-print-root{break-after:page;page-break-after:always}}@media (max-width:700px){.logistics-print-control,.logistics-print-control>label,.logistics-print-control select,.logistics-print-menu,.logistics-print-menu>.btn{width:100%}.logistics-print-options{width:100%;left:0;right:auto}}.equipment-print-dialog{width:min(720px,100vw - 24px)}.equipment-print-dialog-actions{gap:8px;margin:14px 0;display:flex}.equipment-print-area-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:46dvh;padding:2px;display:grid;overflow:auto}.equipment-print-area-list label{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:10px;align-items:flex-start;gap:10px;padding:11px;display:flex}.equipment-print-area-list label.empty-area{opacity:.55;cursor:not-allowed;background:#f8fafc}.equipment-print-area-list span{gap:2px;display:grid}.equipment-print-area-list small{color:var(--muted)}.equipment-print-dialog-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:end;gap:12px;margin-top:16px;padding-top:14px;display:flex}.equipment-print-dialog-footer label{gap:5px;font-size:12px;font-weight:800;display:grid}.equipment-print-dialog-footer select{border:1px solid var(--border);background:#fff;border-radius:9px;padding:9px}@media (max-width:700px){.equipment-print-area-list{grid-template-columns:1fr}.equipment-print-dialog-footer{flex-direction:column;align-items:stretch}.equipment-print-dialog-footer .btn,.equipment-print-dialog-footer label,.equipment-print-dialog-footer select{width:100%}}@media print{@page{margin:10mm}body.printing-equipment-plan .equipment-print-section{margin:0;padding:0}body.printing-equipment-plan .equipment-print-header{margin-bottom:3mm;padding-bottom:3mm}body.printing-equipment-plan .equipment-print-table{table-layout:fixed;font-size:7.7pt;width:100%!important}body.printing-equipment-plan .equipment-print-requirement{width:30mm}body.printing-equipment-plan .equipment-print-table th:not(.equipment-print-requirement){width:auto}body.printing-equipment-plan .equipment-print-table th,body.printing-equipment-plan .equipment-print-table td{padding:1.35mm;line-height:1.18}body.printing-equipment-plan .equipment-print-allocation{margin:1mm 0!important;padding:1mm 1.3mm!important}body.printing-case-manifest .layout,body.printing-case-manifest .content{width:auto!important;max-width:none!important;padding:0!important;display:block!important}.case-manifest-print-root{font-family:Arial,sans-serif;font-size:9pt}.case-manifest-print-root .packing-list-header{border-bottom:2px solid #111;grid-template-columns:34mm 1fr 25mm;align-items:start;gap:7mm;padding:0 0 4mm;display:grid}.case-manifest-print-root .packing-list-header>img:first-child{width:32mm;margin-top:1mm}.case-manifest-print-root .packing-list-header .packing-list-qr{justify-self:end;width:24mm;height:24mm}.case-manifest-print-root .packing-list-title h1{letter-spacing:.5px;margin:0 0 1mm;font-size:19pt}.case-manifest-print-root .packing-list-title p{margin:1mm 0}.case-manifest-print-root .packing-list-title small{margin-top:1mm;font-weight:700;display:block}.packing-list-route{border:1px solid #777;border-bottom:0;grid-template-columns:1fr 1fr;margin-top:4mm;display:grid}.packing-list-route>div{gap:1mm;padding:2.5mm;display:grid}.packing-list-route>div+div{border-left:1px solid #777}.packing-list-route span{line-height:1.3}.case-manifest-summary{border:1px solid #777;grid-template-columns:repeat(3,1fr);gap:0;margin-bottom:4mm;padding:0;display:grid}.case-manifest-summary>div{text-align:center;gap:1mm;padding:2.5mm;display:grid}.case-manifest-summary>div+div{border-left:1px solid #777}.case-manifest-summary span{text-transform:uppercase;letter-spacing:.3px;font-size:8pt}.case-manifest-summary strong{font-size:13pt}.case-manifest-print-root table{table-layout:fixed;font-size:8.3pt}.case-manifest-print-root th,.case-manifest-print-root td{vertical-align:top;padding:2mm 1.5mm}.case-manifest-print-root th:first-child{width:8%}.case-manifest-print-root th:nth-child(2){width:27%}.case-manifest-print-root th:nth-child(3){width:11%}.case-manifest-print-root th:nth-child(4){width:21%}.case-manifest-print-root th:nth-child(5){width:11%}.case-manifest-print-root th:nth-child(6){width:9%}.case-manifest-print-root th:nth-child(7){width:13%}.case-manifest-print-root tfoot th{font-weight:800;background:#e5e7eb!important}.packing-loaded-box{font-size:13pt;font-weight:700;text-align:center!important}.packing-list-footer{grid-template-columns:1fr 1fr .65fr;gap:10mm;margin-top:14mm;display:grid}.packing-list-footer>div{border-bottom:1px solid #111;height:12mm;position:relative}.packing-list-footer span{font-size:8pt;font-weight:700;position:absolute;bottom:-5mm;left:0}.cmr-grid.three{grid-template-columns:1.5fr .75fr .75fr}.cmr-grid.three article{min-height:16mm}.cmr-grid.three article:last-child{border-right:0}.cmr-fields-13-15 article{padding:2.5mm}.cmr-header{padding:5mm}.cmr-header img{width:30mm}.cmr-header h1{margin:1mm 0;font-size:23pt}.cmr-grid article{padding:2.5mm}@page{margin:10mm 12mm}body.printing-equipment-plan .equipment-print-section{box-sizing:border-box;width:100%}body.printing-equipment-plan .equipment-print-table{margin-left:auto!important;margin-right:auto!important}.cmr-direction{letter-spacing:.2px;margin-top:1.4mm;font-size:10pt;font-weight:800;display:block}.signatures article{min-height:38mm}.cmr-goods td{vertical-align:top}@page equipmentA4{size:A4 landscape;margin:8mm 14mm}@page equipmentA3{size:A3 landscape;margin:8mm 14mm}body.printing-equipment-plan .equipment-print-root{width:100%!important;margin:0!important;padding:0!important}body.printing-equipment-plan .equipment-print-section{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0 auto!important;padding:0!important}body.printing-equipment-plan .equipment-print-section:last-child{page-break-after:auto!important;break-after:auto!important}body.printing-equipment-plan .equipment-print-table{width:100%!important;margin-left:auto!important;margin-right:auto!important}body.printing-equipment-plan .equipment-print-final-footer{color:#374151;border-top:1px solid #9ca3af;justify-content:space-between;gap:8mm;margin-top:3mm;padding-top:2mm;font-size:7pt;display:flex}body.printing-case-manifest .case-manifest-print-root,body.printing-logistics-documents .case-manifest-print-root{box-sizing:border-box!important;width:auto!important;max-width:none!important;margin:0 15mm!important}.case-manifest-print-root table{width:100%!important}.cmr-col-marks{width:14%}.cmr-col-packages{width:15%}.cmr-col-packing{width:17%}.cmr-col-goods{width:30%}.cmr-col-weight{width:15%}.cmr-col-volume{width:9%}.cmr-goods td{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}}@page equipmentA4{size:A4 landscape;margin:7mm 8mm}@page equipmentA3{size:A3 landscape;margin:7mm 8mm}@media print{body.printing-equipment-plan .equipment-print-root,body.printing-equipment-plan .equipment-print-section{width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}body.printing-equipment-plan .equipment-print-table{table-layout:fixed!important;width:100%!important;max-width:none!important;margin:0 auto!important}body.printing-equipment-plan .equipment-print-requirement{width:27mm!important}body.printing-equipment-plan .equipment-print-table th,body.printing-equipment-plan .equipment-print-table td{padding:1.1mm 1.55mm!important;line-height:1.13!important}body.printing-equipment-plan .equipment-print-allocation{margin:.65mm 0!important;padding:.7mm 1mm!important}body.printing-equipment-plan .equipment-print-section:last-child{page-break-after:auto!important;break-after:auto!important}body.printing-case-manifest .case-manifest-print-root,body.printing-logistics-documents .case-manifest-print-root{flex-direction:column!important;min-height:277mm!important;margin:0 12mm!important;display:flex!important}.case-manifest-print-root .packing-list-header{grid-template-columns:34mm 1fr 28mm;gap:6mm}.case-manifest-print-root .packing-list-header .packing-list-qr{width:27mm;height:27mm}.case-manifest-print-root .packing-list-prepared{font-size:7.5pt;margin-top:1mm!important;font-weight:400!important}.packing-list-route>div{align-content:start;min-height:14mm}.packing-loaded-box{vertical-align:middle!important;font-size:16pt!important;line-height:1!important}.case-manifest-print-root tfoot th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#e5e7eb!important}.packing-list-footer{margin-top:auto!important;padding-top:10mm!important}html.printing-equipment-plan,html.printing-equipment-plan body{background:#fff!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}html.printing-equipment-plan body .shell,html.printing-equipment-plan body .layout,html.printing-equipment-plan body .content,html.printing-equipment-plan body .equipment-print-root,html.printing-equipment-plan body .equipment-print-section{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;overflow:visible!important}html.printing-equipment-plan body .equipment-print-header,html.printing-equipment-plan body .equipment-print-table{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}html.printing-equipment-plan body .equipment-print-table{table-layout:fixed!important}html.printing-equipment-plan body .equipment-print-section:last-child{page-break-after:auto!important;break-after:auto!important}html.printing-equipment-plan body .equipment-print-section{padding-left:3mm!important;padding-right:3mm!important}html.printing-equipment-plan body .equipment-print-header,html.printing-equipment-plan body .equipment-print-table{width:100%!important;margin-left:auto!important;margin-right:auto!important}}.daily-briefing{gap:16px;display:grid}.daily-briefing-head{align-items:end}.daily-briefing-head label{gap:6px;font-weight:700;display:grid}.daily-briefing-halls,.briefing-hall-card{gap:14px;display:grid}.briefing-hall-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.briefing-hall-title h3{margin:0}.briefing-hall-title small{color:var(--muted);margin-top:5px;display:block}.briefing-view-state{color:var(--muted);font-size:12px;font-weight:700}.briefing-main-fields{grid-template-columns:220px 1fr;gap:12px;display:grid}.briefing-main-fields label{gap:6px;display:grid}.briefing-main-fields span{font-size:12px;font-weight:800}.briefing-rehearsal-head{justify-content:space-between;align-items:center;display:flex}.briefing-rehearsal-head h4{margin:0}.briefing-rehearsal-row{grid-template-columns:105px 105px minmax(170px,1fr) minmax(170px,1fr) 100px 38px;align-items:center;gap:8px;display:grid}.briefing-unassigned{gap:10px;display:grid}.briefing-unassigned-row{grid-template-columns:minmax(180px,1fr) 130px minmax(220px,2fr);align-items:center;gap:10px;display:grid}.briefing-preview pre{white-space:pre-wrap;background:var(--surface-soft,#f6f7f9);border-radius:12px;padding:14px;font-family:inherit;line-height:1.55}.briefing-actions{z-index:5;background:#fffffff0;border-radius:14px;justify-content:flex-end;gap:10px;padding:12px;display:flex;position:sticky;bottom:12px;box-shadow:0 8px 30px #00000014}.briefing-published-bar{background:#eef8f0;border-radius:12px;flex-wrap:wrap;align-items:center;gap:14px;padding:12px 14px;display:flex}.briefing-published-bar span{color:var(--muted)}.employee-briefing-card{gap:14px;margin:16px 0;display:grid}.employee-briefing-date{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:12px;font-weight:800}.employee-required-card{text-align:center;background:var(--surface-soft,#f5f7fa);border-radius:16px;padding:20px}.employee-required-card span{font-weight:800;display:block}.employee-required-card strong{margin:8px 0;font-size:48px;line-height:1.05;display:block}.employee-required-card p{margin:0;font-weight:700}.employee-required-card small{margin-top:9px;font-size:14px;display:inline-block}.employee-rehearsals{gap:8px;display:grid}.employee-rehearsals h3{margin:0}.employee-rehearsals>div{border-bottom:1px solid var(--border);grid-template-columns:110px 1fr;gap:10px;padding:10px 0;display:grid}.employee-rehearsals small{color:var(--muted);grid-column:2}.employee-briefing-note{background:var(--surface-soft,#f5f7fa);border-left:3px solid;margin:0;padding:10px 12px}@media (max-width:900px){.briefing-main-fields,.briefing-unassigned-row{grid-template-columns:1fr}.briefing-rehearsal-row{grid-template-columns:1fr 1fr}.briefing-rehearsal-row input:nth-of-type(3),.briefing-rehearsal-row input:nth-of-type(4){grid-column:1/-1}.briefing-actions{position:static}.employee-required-card strong{font-size:40px}}.daily-briefing-full-date{margin:4px 0 0;font-size:16px;font-weight:800}.daily-briefing input[placeholder=HH\:MM]{font-variant-numeric:tabular-nums;letter-spacing:.04em}.briefing-preview-split{grid-template-columns:1fr 1fr;gap:22px;display:grid}.briefing-preview-split h4{margin:0 0 12px}.briefing-preview-item{border-bottom:1px solid var(--border);gap:3px;padding:9px 0;display:grid}.briefing-preview-item small{color:var(--muted)}.briefing-preview details{margin-top:16px}.briefing-preview summary{cursor:pointer;font-weight:800}.briefing-preview details pre{margin-top:10px}@media (max-width:760px){.briefing-preview-split{grid-template-columns:1fr}}.briefing-rehearsal-note{color:var(--muted);margin-top:3px;font-style:italic;display:block}.briefing-test-panel{margin-top:16px}.briefing-test-controls{grid-template-columns:minmax(220px,1fr) repeat(3,auto);align-items:end;gap:10px;display:grid}.briefing-test-controls label{gap:6px;display:grid}.briefing-test-controls select{min-height:40px}.briefing-notification-log{margin-top:18px}.briefing-notification-log table{border-collapse:collapse;width:100%}.briefing-notification-log th,.briefing-notification-log td{border-bottom:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px}@media (max-width:900px){.briefing-test-controls{grid-template-columns:1fr}.briefing-test-controls .btn{width:100%}}.briefing-save-state{color:var(--muted);margin:6px 0 0;font-size:12px}.employee-briefing-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.briefing-change-list{background:var(--surface-soft,#f5f7fa);border-radius:12px;padding:12px}.briefing-change-list p{margin:6px 0}.employee-briefing-card>h2{margin:0}@media (max-width:600px){.daily-briefing-head{align-items:stretch}.daily-briefing-head label{width:100%}.briefing-hall-title{flex-direction:column}.briefing-actions{grid-template-columns:1fr;display:grid}.briefing-actions .btn{width:100%}.employee-briefing-footer{align-items:stretch}.employee-briefing-footer .btn{width:100%}.employee-required-card{padding:16px}.employee-required-card strong{font-size:38px}}.employee-briefing-screen{border:1px solid var(--border);background:var(--card,#fff);border-radius:24px;width:100%;max-width:760px;margin:18px auto;overflow:hidden;box-shadow:0 14px 40px #0f172a14}.employee-briefing-hero{background:linear-gradient(145deg,var(--surface-soft,#f3f6fb),var(--card,#fff));border-bottom:1px solid var(--border);padding:24px 24px 20px}.employee-briefing-eyebrow{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:900;display:flex}.employee-briefing-hero h2{margin:13px 0 4px;font-size:clamp(28px,5vw,42px);line-height:1.05}.employee-briefing-project{color:var(--muted);font-size:17px;font-weight:800}.employee-briefing-day{align-items:center;gap:8px;margin-top:18px;font-weight:750;display:flex}.employee-briefing-countdown{text-align:center;background:var(--text,#10213b);color:var(--card,#fff);border-radius:20px;margin:18px 20px 0;padding:22px}.employee-briefing-countdown>span{letter-spacing:.06em;text-transform:uppercase;opacity:.75;font-size:13px;font-weight:850;display:block}.employee-briefing-countdown>strong{margin:8px 0 10px;font-size:clamp(48px,11vw,72px);line-height:1;display:block}.employee-briefing-countdown>div{opacity:.9;justify-content:center;align-items:center;gap:7px;font-weight:750;display:flex}.employee-briefing-grid{gap:14px;padding:20px;display:grid}.employee-briefing-panel{border:1px solid var(--border);background:var(--card,#fff);border-radius:18px;padding:18px}.employee-briefing-location{align-items:center;gap:14px;display:flex}.employee-briefing-panel-icon{background:var(--surface-soft,#f3f6fb);border-radius:13px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.employee-briefing-location span,.employee-briefing-meta span{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:12px;font-weight:850;display:block}.employee-briefing-location strong{margin-top:3px;font-size:19px;display:block}.employee-briefing-panel-heading{align-items:center;gap:12px;margin-bottom:14px;display:flex}.employee-briefing-panel-heading h3{margin:0;font-size:18px}.employee-briefing-timeline{display:grid}.employee-briefing-timeline-row{border-top:1px solid var(--border);grid-template-columns:100px 1fr;gap:14px;padding:13px 0;display:grid}.employee-briefing-timeline-row:first-child{border-top:0;padding-top:2px}.employee-briefing-timeline-row time{font-size:16px;font-weight:900}.employee-briefing-timeline-row div{gap:4px;display:grid}.employee-briefing-timeline-row small{color:var(--muted);line-height:1.4}.employee-briefing-empty{color:var(--muted);margin:0}.employee-briefing-notes p{white-space:pre-wrap;margin:0;line-height:1.55}.employee-briefing-meta{justify-content:space-between;align-items:center;gap:16px;padding:0 20px 20px;display:flex}.employee-briefing-meta strong{margin-top:3px;font-size:13px;display:block}.employee-briefing-meta small{color:var(--muted);margin-top:3px;display:block}.employee-briefing-change-button{border:1px solid var(--border);background:var(--card,#fff);cursor:pointer;border-radius:12px;align-items:center;gap:6px;padding:10px 12px;font-weight:800;display:inline-flex}.employee-briefing-changes{background:var(--surface-soft,#f3f6fb);border-radius:16px;margin:0 20px 20px;padding:15px}.employee-briefing-changes p{margin:7px 0 0}.briefing-employee-preview{border:1px dashed var(--border);background:var(--surface-soft);border-radius:18px;margin-top:18px;padding:18px}.briefing-employee-preview>h4{margin:0 0 14px}.briefing-phone-preview{max-width:430px;margin:auto}.briefing-phone-preview .employee-briefing-screen{border-radius:28px;margin:0;box-shadow:0 18px 45px #0f172a24}@media (max-width:600px){.employee-briefing-screen{border-radius:18px;margin:10px 0}.employee-briefing-hero{padding:20px 18px 18px}.employee-briefing-countdown{margin:14px 14px 0;padding:19px}.employee-briefing-grid{gap:12px;padding:14px}.employee-briefing-panel{padding:15px}.employee-briefing-timeline-row{grid-template-columns:82px 1fr;gap:10px}.employee-briefing-meta{flex-direction:column;align-items:flex-start;padding:0 14px 16px}.employee-briefing-change-button{justify-content:center;width:100%}.briefing-employee-preview{padding:10px}.briefing-phone-preview{max-width:none}}.project-duplicate-modal{width:min(620px,100vw - 32px);max-height:calc(100vh - 32px);margin:auto;overflow:auto}.project-duplicate-actions{justify-content:flex-end;gap:10px;display:flex}.checkbox-row{align-items:center;gap:10px;display:flex}.project-card-menu button:disabled{opacity:.55;cursor:wait}@media (max-width:640px){.project-duplicate-modal{width:calc(100vw - 20px);padding:18px}.project-duplicate-actions{flex-direction:column-reverse}.project-duplicate-actions .btn{width:100%}}.employee-briefing-screen{margin-left:0;margin-right:auto}.programme-import-card{align-items:end;gap:12px;margin-bottom:14px;display:flex}.programme-import-card label{flex:1;gap:6px;display:grid}.programme-import-card input{width:100%}.programme-toolbar{justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.programme-day-tabs{margin:0}.programme-day{margin-top:12px}.programme-day h3{margin:0 0 10px}.programme-session-list{gap:8px;display:grid}.programme-session{border-bottom:1px solid var(--border);grid-template-columns:110px minmax(0,1fr) auto;align-items:start;gap:12px;padding:10px 0;display:grid}.programme-session:last-child{border-bottom:0}.programme-session time{font-variant-numeric:tabular-nums;font-weight:800}.programme-session div{gap:4px;display:grid}.programme-session span{color:var(--muted);font-size:.9rem}.programme-session em{color:#b45309;font-style:normal}.programme-session a{font-size:.85rem}@media (max-width:700px){.programme-import-card{flex-direction:column;align-items:stretch}.programme-toolbar{flex-direction:column;align-items:flex-start}.programme-session{grid-template-columns:86px minmax(0,1fr)}.programme-session>a{grid-column:2}}.programme-filter-toggles{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.programme-link-label{color:#8b1e2d;font-weight:700}.programme-link-dialog select{width:100%;min-height:42px;margin:12px 0}.programme-link-dialog{min-width:min(520px,92vw)}.programme-hall-grid{grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px;display:grid}.programme-hall-card{min-width:0}.programme-now-next{grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;display:grid}.programme-now-next>div{border:1px solid var(--border,#d9dee8);background:#f8fafc;border-radius:12px;padding:14px}.programme-now-next span{letter-spacing:.08em;color:#64748b;margin-bottom:6px;font-size:12px;font-weight:800;display:block}.programme-now-next strong{margin-bottom:5px;display:block}.programme-now-next p{margin:0}.my-programme-card{margin-bottom:18px}.programme-session.is-current{background:#f0fdf4;border-left:4px solid #16a34a}.programme-session.is-next{background:#eff6ff;border-left:4px solid #2563eb}.programme-modal{width:min(900px,100vw - 32px);max-height:88vh;overflow:auto}.programme-filter-toggles{flex-wrap:wrap}.form-grid select,.my-programme-card select{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:100%;padding:9px}@media (max-width:700px){.programme-now-next,.programme-hall-grid{grid-template-columns:1fr}}.programme-combined-timeline .programme-session{background:#fff}.programme-combined-timeline .programme-arrival{background:#fff5bf;border-color:#e6c84f}.programme-combined-timeline .programme-rehearsal{background:#dcecff;border-color:#78aee8}.programme-combined-timeline .programme-programme{background:#fff}.programme-upcoming{border:1px solid var(--border);background:var(--surface-soft,#f7f8fa);border-radius:14px;gap:6px;padding:16px;display:grid}.programme-upcoming span{letter-spacing:.06em;color:var(--muted);font-size:12px;font-weight:800}.programme-upcoming strong{font-size:22px}.programme-upcoming p{margin:0}.employee-dashboard-card,.employee-briefing-screen{width:100%;max-width:760px;margin-left:auto;margin-right:auto}.my-programme-card{margin-top:0;margin-bottom:18px}.programme-combined-timeline{gap:6px;padding:4px 0}.programme-combined-timeline .programme-session{border:1px solid var(--border);border-radius:8px;grid-template-columns:108px minmax(0,1fr);gap:14px;padding:10px 12px;font-size:14px;line-height:1.25}.programme-combined-timeline .programme-session time,.programme-combined-timeline .programme-session strong{font-size:14px}@media (max-width:700px){.employee-dashboard-card,.employee-briefing-screen{max-width:100%}.programme-combined-timeline .programme-session{grid-template-columns:96px minmax(0,1fr);gap:10px;padding:9px 10px;font-size:13px}.programme-combined-timeline .programme-session time,.programme-combined-timeline .programme-session strong{font-size:13px}}.employee-programme-panel{display:block}.employee-programme-panel-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.employee-programme-panel-head h3{margin:0}.employee-programme-now-next{grid-template-columns:1fr 1fr;gap:10px;display:grid}.employee-programme-compact-item{border:1px solid var(--border,#d9dee8);background:#fff;border-radius:10px;min-width:0;padding:10px 12px}.employee-programme-compact-item>span{letter-spacing:.08em;color:#64748b;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.employee-programme-compact-item strong{margin-bottom:3px;font-size:14px;display:block}.employee-programme-compact-item p{margin:0;font-size:13px;line-height:1.35}.employee-programme-compact-item.programme-rehearsal{background:#eff6ff;border-color:#bfdbfe}.employee-programme-compact-item.programme-arrival{background:#fef9c3;border-color:#fde68a}.employee-programme-modal{width:min(820px,100vw - 28px);max-height:88vh;overflow:auto}.next-activity-card.employee-dashboard-card{width:100%;max-width:760px;margin-left:auto;margin-right:auto}@media (max-width:700px){.employee-programme-now-next{grid-template-columns:1fr}.employee-programme-panel-head{flex-direction:column;align-items:flex-start}.employee-programme-panel-head .btn{width:100%}}.draft-project-chip{opacity:.9;color:#4b5563!important;background:#e5e7eb!important;border-color:#9ca3af!important}.project-programme-now-next{margin:0 0 14px}.project-programme-days{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.taxi-screen>div{width:min(1200px,100%)}.taxi-screen p{overflow-wrap:anywhere;white-space:pre-line;font-size:clamp(40px,7vw,84px);line-height:1.28}@media (max-width:700px){.taxi-screen{padding:24px 18px}.taxi-screen h1{margin-bottom:34px;font-size:clamp(42px,13vw,72px);line-height:1.05}.taxi-screen p{font-size:clamp(38px,10.5vw,64px);line-height:1.22}}.programme-kind-label{letter-spacing:.08em;text-transform:uppercase;color:#64748b;margin:0 0 3px;font-size:10px;font-weight:800;line-height:1.1;display:block}.programme-rehearsal .programme-kind-label{color:#2563eb}.programme-arrival .programme-kind-label{color:#8a6500}.programme-programme .programme-kind-label{color:#64748b}.employee-programme-compact-item .programme-kind-label{margin-top:3px}.programme-viewer-v2{width:min(1100px,100vw - 32px);max-height:92vh;overflow:auto}.programme-viewer-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.programme-search{border:1px solid var(--border);background:var(--card);width:100%;color:inherit;border-radius:10px;margin:12px 0;padding:11px 13px}.programme-compact-title{-webkit-line-clamp:3;-webkit-box-orient:vertical;max-height:3.75em;line-height:1.25;overflow:hidden;display:-webkit-box!important}.programme-viewer-v2 .programme-hall-grid{align-items:start}@media (max-width:700px){.programme-viewer-v2{width:calc(100vw - 16px);max-height:95vh}.programme-viewer-toolbar{align-items:stretch}.programme-viewer-toolbar>.tabbar{width:100%;overflow-x:auto}.project-programme-days{flex-wrap:nowrap;overflow-x:auto}.project-programme-days button{white-space:nowrap}}.project-summary-card{scroll-margin-top:88px}.project-summary-card:target{outline-offset:3px;outline:2px solid #b51f2d8c;animation:1.5s ease-out project-card-target-pulse}@keyframes project-card-target-pulse{0%{box-shadow:0 0 #b51f2d47}to{box-shadow:0 0 0 14px #b51f2d00}}.simul-ai-page{gap:14px;width:min(860px,100%);margin:0 auto;display:grid}.simul-ai-hero{align-items:center;gap:14px;padding:4px 2px;display:flex}.simul-ai-hero h1{margin:0;font-size:28px}.simul-ai-hero p{color:var(--muted);margin:3px 0 0}.simul-ai-logo{color:#fff;background:#111827;border-radius:14px;place-items:center;width:46px;height:46px;display:grid}.simul-ai-chat{border:1px solid var(--border);background:var(--card);border-radius:18px;flex-direction:column;gap:16px;min-height:420px;max-height:62vh;padding:18px;display:flex;overflow:auto}.simul-ai-message{align-items:flex-start;gap:10px;max-width:88%;display:flex}.simul-ai-message.user{flex-direction:row-reverse;align-self:flex-end}.simul-ai-message.assistant{align-self:flex-start}.simul-ai-avatar{color:#374151;background:#eef1f5;border-radius:10px;flex:0 0 32px;place-items:center;width:32px;height:32px;display:grid}.simul-ai-message.user .simul-ai-avatar{color:#fff;background:#111827}.simul-ai-message>div:last-child{background:#f3f4f6;border-radius:14px;min-width:0;padding:11px 13px}.simul-ai-message.user>div:last-child{color:#fff;background:#111827}.simul-ai-message strong{margin-bottom:4px;font-size:12px;display:block}.simul-ai-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.45}.simul-ai-thinking{align-items:center;gap:7px;display:flex}.simul-ai-thinking svg{animation:1s linear infinite simul-ai-spin}@keyframes simul-ai-spin{to{transform:rotate(360deg)}}.simul-ai-suggestions{flex-wrap:wrap;gap:8px;display:flex}.simul-ai-suggestions button{border:1px solid var(--border);background:var(--card);cursor:pointer;color:inherit;border-radius:999px;padding:9px 12px}.simul-ai-suggestions button:hover{background:#f3f4f6}.simul-ai-form{grid-template-columns:1fr auto;align-items:stretch;gap:10px;display:grid}.simul-ai-form textarea{resize:none;border:1px solid var(--border);background:var(--card);width:100%;color:inherit;font:inherit;border-radius:13px;padding:12px 14px}.simul-ai-form .btn{justify-content:center;align-items:center;gap:7px;min-width:105px;height:100%;display:flex}.simul-ai-note{text-align:center;color:var(--muted);margin:0;font-size:12px;line-height:1.4}@media (max-width:700px){.simul-ai-chat{min-height:55vh;max-height:62vh;padding:12px}.simul-ai-message{max-width:96%}.simul-ai-form{grid-template-columns:1fr}.simul-ai-form .btn{height:44px}.simul-ai-suggestions{display:grid}.simul-ai-suggestions button{text-align:left}.simul-ai-hero h1{font-size:24px}}.simul-ai-escalation-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.simul-ai-escalation-actions .btn{align-items:center;gap:6px;display:inline-flex}.ai-center-page{gap:16px;display:grid}.ai-center-summary{grid-template-columns:repeat(2,minmax(0,220px));gap:12px;display:grid}.ai-center-summary .card{grid-template-columns:auto auto 1fr;align-items:center;gap:10px;display:grid}.ai-center-summary strong{font-size:26px}.ai-center-summary span{color:var(--muted)}.ai-question-list,.ai-question-card{gap:12px;display:grid}.ai-question-card h3{margin:0;font-size:18px}.ai-question-card p{white-space:pre-wrap;margin:0}.ai-question-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;font-size:13px;display:flex}.ai-question-meta strong{color:inherit}.ai-question-meta time{margin-left:auto}.ai-question-card textarea{resize:vertical;border:1px solid var(--border);background:var(--card);width:100%;color:inherit;border-radius:10px;padding:11px}.ai-answer-actions{flex-wrap:wrap;gap:8px;display:flex}.ai-empty{color:var(--muted);align-items:center;gap:10px;display:flex}@media (max-width:700px){.simul-ai-escalation-actions{display:grid}.simul-ai-escalation-actions .btn{justify-content:center}.ai-center-summary{grid-template-columns:1fr 1fr}.ai-question-meta time{width:100%;margin-left:0}.ai-answer-actions{display:grid}.ai-answer-actions .btn{width:100%}}.simul-ai-choice-actions{gap:8px;min-width:min(360px,100%);margin-top:12px;display:grid}.simul-ai-choice{appearance:none;color:#152033;width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #d9dee8;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-weight:700;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex}.simul-ai-choice:hover{border-color:#b7202e;transform:translateY(-1px);box-shadow:0 3px 12px #19233717}.simul-ai-choice:disabled{cursor:not-allowed;opacity:.55;transform:none}@media (max-width:700px){.simul-ai-choice-actions{min-width:100%}}.simul-ai-feedback{color:var(--muted);align-items:center;gap:6px;margin-top:9px;display:flex}.simul-ai-feedback code{margin-right:auto;font-size:10px}.simul-ai-feedback button{color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:4px;display:grid}.simul-ai-feedback button:hover,.simul-ai-feedback button.active{color:#111827;background:#e5e7eb}.simul-ai-feedback button:disabled{cursor:default}.ai-analytics-page{gap:16px;display:grid}.ai-analytics-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.ai-analytics-summary .card{grid-template-columns:auto 1fr;align-items:center;gap:3px 10px;display:grid}.ai-analytics-summary svg{grid-row:1/3}.ai-analytics-summary strong{font-size:24px}.ai-analytics-summary span{color:var(--muted);font-size:12px}.ai-analytics-filters{gap:10px;display:flex}.ai-search{border:1px solid var(--border);border-radius:10px;flex:1;align-items:center;gap:8px;padding:0 10px;display:flex}.ai-search input{width:100%;color:inherit;background:0 0;border:0;outline:0;padding:10px 0}.ai-analytics-filters select{border:1px solid var(--border);background:var(--card);color:inherit;border-radius:10px;padding:0 10px}.ai-analytics-grid{grid-template-columns:minmax(0,1fr) 260px;align-items:start;gap:16px;display:grid}.ai-log-list{gap:8px;display:grid}.ai-log-row{text-align:left;cursor:pointer;border-left:4px solid #9ca3af;grid-template-columns:minmax(0,1fr) 220px 160px;align-items:center;gap:12px;width:100%;display:grid}.ai-log-row.success{border-left-color:#16a34a}.ai-log-row.failure,.ai-log-row.error{border-left-color:#dc2626}.ai-log-row.clarification{border-left-color:#d97706}.ai-log-row div{gap:4px;min-width:0;display:grid}.ai-log-row strong,.ai-log-row span,.ai-log-row code{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ai-log-row span,.ai-log-row time{color:var(--muted);font-size:12px}.ai-tool-ranking{gap:9px;display:grid}.ai-tool-ranking div{border-bottom:1px solid var(--border);justify-content:space-between;gap:8px;padding-bottom:8px;display:flex}.ai-replay-overlay{z-index:80;background:#0f172a8f;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.ai-replay{width:min(760px,100%);max-height:88vh;overflow:auto}.ai-replay dl{grid-template-columns:140px 1fr;gap:12px;margin:0;display:grid}.ai-replay dt{font-weight:700}.ai-replay dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.ai-replay pre{background:#f3f4f6;border-radius:8px;max-height:220px;margin:0;padding:10px;overflow:auto}@media (max-width:900px){.ai-analytics-summary{grid-template-columns:1fr 1fr}.ai-analytics-grid,.ai-log-row{grid-template-columns:1fr}.ai-analytics-filters{display:grid}.ai-replay dl{grid-template-columns:1fr;gap:4px}.ai-replay dd{margin-bottom:10px}}.ai-decision-section{margin:18px 0}.ai-decision-section h3{margin:0 0 4px}.ai-intent-candidates{gap:8px;margin:12px 0;display:grid}.ai-intent-candidate{border:1px solid var(--border,#dfe3ea);background:#fff;border-radius:12px;justify-content:space-between;gap:16px;padding:12px 14px;display:flex}.ai-intent-candidate.selected{background:#f0fff8;border:2px solid #12a36d}.ai-intent-candidate>div{flex-direction:column;gap:3px;display:flex}.ai-intent-candidate>div:last-child{text-align:right;align-items:flex-end}.ai-intent-candidate span,.ai-intent-candidate small{color:#667085;font-size:.83rem}.ai-intent-candidate b{font-size:1.1rem}.ai-suggested-fix{background:#fff9e8;margin:12px 0}.ai-suggested-fix p{margin:6px 0 0}.ai-trace-timeline{gap:7px;display:grid}.ai-trace-timeline div{border-bottom:1px solid #eceff3;justify-content:space-between;padding-bottom:6px;display:flex}.ai-trace-timeline div:last-child{border-bottom:0}.ai-replay{max-width:760px}.ai-replay dd{overflow-wrap:anywhere}@media (max-width:600px){.ai-intent-candidate{gap:8px;padding:10px}.ai-intent-candidate span,.ai-intent-candidate small{font-size:.75rem}}.ai-improvement-section{gap:10px;display:grid}.ai-review-list{gap:8px;display:grid}.ai-review-row{text-align:left;cursor:pointer;border-left:4px solid #dc2626;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;display:grid}.ai-review-row div{gap:4px;min-width:0;display:grid}.ai-review-row span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.ai-review-row code{font-size:11px}.ai-tool-bars>div{grid-template-columns:minmax(90px,1fr) 1fr auto;align-items:center;display:grid}.ai-tool-bar{background:#e5e7eb;border-radius:999px;height:8px;overflow:hidden}.ai-tool-bar i{opacity:.75;background:currentColor;border-radius:999px;height:100%;display:block}.ai-analytics-summary{grid-template-columns:repeat(5,minmax(0,1fr))}@media (max-width:1100px){.ai-analytics-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:700px){.ai-analytics-summary{grid-template-columns:1fr 1fr}.ai-review-row{grid-template-columns:auto 1fr}.ai-review-row code{grid-column:2}}.inventory-actions-portal{z-index:10050;border:1px solid var(--border);background:var(--card);border-radius:10px;gap:5px;min-width:190px;padding:8px;display:grid;position:fixed;box-shadow:0 16px 38px #0f172a3d}.inventory-actions-portal .btn{text-align:left;justify-content:flex-start;width:100%}.case-contents-modal{flex-direction:column;display:flex;overflow:hidden!important}.case-contents-split{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:16px;min-height:420px;display:grid;overflow:hidden}.case-search-pane,.case-current-pane{border:1px solid var(--border);background:var(--card);border-radius:14px;flex-direction:column;min-width:0;padding:14px;display:flex;overflow:hidden}.case-search-results,.case-current-scroll{overscroll-behavior:contain;min-height:0;overflow:auto}.case-search-results{flex:1;max-height:none!important}.case-current-scroll{flex:1}.case-current-scroll .table-wrap{height:100%;overflow:auto}.case-empty-state{text-align:center;color:var(--muted);white-space:normal;padding:24px}@media (max-width:850px){.case-contents-split{grid-template-columns:1fr;overflow:auto}.case-search-pane,.case-current-pane{min-height:320px}.case-contents-modal{overflow:auto!important}}.case-type-row{background:var(--surface-soft,#f8fafc);font-weight:700}.physical-case-row td:nth-child(2){padding-left:28px}.case-type-toggle{text-align:left;cursor:pointer;color:inherit;background:0 0;border:0;grid-template-columns:auto 1fr;align-items:center;gap:2px 7px;display:grid}.case-type-toggle small{color:var(--muted);grid-column:2;font-weight:500}.case-search-pane .case-content-form{flex-direction:column;flex:1;min-height:0;display:flex}.case-search-pane .case-search-results{align-content:start;gap:6px;min-height:140px;display:grid;overflow-y:auto}.case-current-pane .case-current-scroll{overflow-y:auto}.physical-case-row{background:var(--card)}.case-search-pane .case-content-form{flex:auto;min-height:0;margin-bottom:0;display:flex;overflow:hidden}.case-search-pane .case-search-results{box-shadow:none;scrollbar-gutter:stable;background:0 0;border:0;border-radius:0;flex:1 1 0;margin-top:10px;padding:4px;z-index:auto!important;width:auto!important;min-height:0!important;max-height:none!important;position:static!important;inset:auto!important;overflow:hidden auto!important}.case-search-pane .case-search-result{flex:none;width:100%}.case-current-pane .case-current-scroll{scrollbar-gutter:stable;flex:1 1 0;min-height:0;overflow:auto!important}@media (min-width:851px){.case-contents-split{height:min(46vh,520px);min-height:360px}}.project-calendar-link{color:inherit;cursor:pointer;text-decoration:none;display:block}.project-calendar-link:hover{filter:brightness(.97);transform:translateY(-1px)}.ai-core-tabs{margin-bottom:18px;overflow-x:auto}.ai-core-grid{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:16px;display:grid}.ai-cap-list h2,.ai-simulator h2,.ai-history-list+h2{align-items:center;gap:8px;display:flex}.ai-cap-list button{border:0;border-bottom:1px solid var(--border);text-align:left;background:0 0;flex-direction:column;align-items:flex-start;width:100%;padding:11px;display:flex}.ai-cap-list button.active{background:var(--surface-2)}.ai-cap-list button span,.ai-synonym-list small{opacity:.65;font-size:12px}.ai-cap-editor label,.ai-core-grid label,.ai-simulator label{gap:6px;margin:12px 0;display:grid}.ai-cap-editor textarea,.ai-core-grid textarea,.ai-simulator textarea{min-height:90px}.ai-synonym-list>div,.ai-history-list>div{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.ai-synonym-list span{flex-direction:column;display:flex}.ai-history-list time{opacity:.7;font-size:12px}.ai-simulator-result{background:var(--surface-2);border-radius:10px;margin-top:18px;padding:14px}.ai-simulator-result pre{white-space:pre-wrap;max-height:420px;font-size:12px;overflow:auto}.checkbox-row{align-items:center;grid-template-columns:auto 1fr!important;display:flex!important}.checkbox-row input{width:auto}.ai-learning-center>.ai-analytics-page>.section-head{display:none}@media (max-width:800px){.ai-core-grid{grid-template-columns:1fr}.ai-core-tabs{white-space:nowrap;display:flex}}.simul-ai-shortcut{border:1px solid var(--border);min-height:42px;color:var(--text);background:#fff;border-radius:999px;align-items:center;gap:7px;padding:4px 10px 4px 5px;font-weight:800;text-decoration:none;display:inline-flex;position:relative;box-shadow:0 4px 14px #3925761a}.simul-ai-shortcut-ring{background:#fff;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:relative;overflow:hidden;box-shadow:0 0 0 2px #7c3aed,0 0 12px 3px #3b82f66b,0 0 18px 5px #a855f747}.simul-ai-shortcut-ring img{object-fit:contain;width:28px;height:28px}.simul-ai-shortcut-ring b{color:#fff;letter-spacing:.2px;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:5px;padding:0 3px;font-size:9px;line-height:12px;position:absolute;bottom:0;right:1px}.simul-ai-shortcut-badge{background:var(--brand);color:#fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:11px;display:grid;position:absolute;top:-7px;right:-5px}@media (max-width:700px){.simul-ai-shortcut{padding:4px}.simul-ai-shortcut-label{display:none}}.simul-ai-shortcut{font:inherit;cursor:pointer}.simul-ai-drawer-layer{z-index:1200;justify-content:flex-end;display:flex;position:fixed;inset:0}.simul-ai-drawer-backdrop{cursor:pointer;background:#0f172a61;border:0;position:absolute;inset:0}.simul-ai-drawer{background:var(--bg,#f8fafc);width:min(720px,94vw);height:100dvh;padding:22px;animation:.18s ease-out simul-ai-drawer-in;position:relative;overflow:hidden;box-shadow:-14px 0 40px #0f172a38}.simul-ai-drawer-close{z-index:2;border:1px solid var(--border);background:var(--card);width:38px;height:38px;color:var(--text);cursor:pointer;border-radius:11px;place-items:center;display:grid;position:absolute;top:16px;right:16px}.simul-ai-page.embedded{grid-template-rows:auto minmax(0,1fr) auto auto;gap:10px;width:100%;height:100%;margin:0;padding-top:2px}.simul-ai-page.embedded .simul-ai-hero{flex-wrap:wrap;padding-right:42px}.simul-ai-page.embedded .simul-ai-hero h1{font-size:24px}.simul-ai-page.embedded .simul-ai-chat{height:100%;min-height:0;max-height:none}@keyframes simul-ai-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@media (max-width:700px){.simul-ai-drawer{width:100vw;padding:14px}.simul-ai-drawer-close{top:10px;right:10px}.simul-ai-page.embedded .simul-ai-hero{padding-right:40px}.simul-ai-page.embedded .simul-ai-hero .btn{padding:8px;font-size:12px}.simul-ai-page.embedded .simul-ai-chat{max-height:none}}.attendance-actions-dismiss{z-index:12040;cursor:default;background:0 0;border:0;padding:0;position:fixed;inset:0}.attendance-actions-portal{z-index:12050;border:1px solid var(--border);background:var(--card);isolation:isolate;border-radius:10px;gap:6px;min-width:210px;max-width:calc(100vw - 16px);padding:8px;display:grid;position:fixed;box-shadow:0 18px 44px #0f172a47}.attendance-actions-portal .btn{text-align:left;white-space:nowrap;justify-content:flex-start;width:100%}.activity-audit-page{gap:16px;display:grid}.activity-filter-card{gap:14px;display:grid}.activity-filter-grid{grid-template-columns:repeat(6,minmax(130px,1fr));gap:12px;display:grid}.activity-filter-grid label{color:var(--muted);gap:6px;font-size:12px;font-weight:700;display:grid}.activity-filter-grid select,.activity-filter-grid input{width:100%}.activity-filter-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.activity-detail-modal{background:var(--card);border:1px solid var(--border);border-radius:16px;width:min(980px,100vw - 28px);max-height:88vh;padding:22px;overflow:auto;box-shadow:0 24px 70px #0f172a52}.activity-detail-modal>.section-head{align-items:flex-start}.activity-detail-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 20px;display:grid}.activity-detail-summary div{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;min-width:0;padding:12px}.activity-detail-summary dt{text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:800}.activity-detail-summary dd{overflow-wrap:anywhere;margin:4px 0 0}.activity-detail-section{gap:10px;display:grid}.activity-detail-section h3{margin:0}.activity-detail-modal table{min-width:700px}.activity-detail-modal td{vertical-align:top}.activity-detail-value{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;color:inherit;max-width:340px;margin:0}.activity-metadata-list{gap:10px;margin:0;display:grid}.activity-metadata-list>div{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;grid-template-columns:minmax(130px,220px) 1fr;gap:14px;padding:12px;display:grid}.activity-metadata-list dt{text-transform:capitalize;font-weight:800}.activity-metadata-list dd{min-width:0;margin:0}.activity-log-card td{vertical-align:top}@media (max-width:1100px){.activity-filter-grid{grid-template-columns:repeat(3,minmax(150px,1fr))}}@media (max-width:700px){.activity-filter-grid,.activity-detail-summary{grid-template-columns:1fr 1fr}.activity-log-card table{min-width:900px}.activity-detail-modal{padding:16px}.activity-metadata-list>div{grid-template-columns:1fr}}@media (max-width:480px){.activity-filter-grid,.activity-detail-summary{grid-template-columns:1fr}}.equipment-plan-fullscreen-shell{min-width:0}.equipment-plan-fullscreen-toggle{z-index:40;border:1px solid var(--border);width:34px;height:34px;color:var(--text);cursor:pointer;background:#fff;border-radius:9px;place-items:center;font-size:21px;font-weight:800;line-height:1;display:grid;position:absolute;top:7px;right:7px;box-shadow:0 3px 10px #0f172a1f}.equipment-plan-fullscreen-toggle:hover{background:#f1f5f9}.equipment-plan-row-heading{padding-right:50px!important;position:sticky!important}.equipment-plan-fullscreen-shell.is-fullscreen{z-index:13000;background:#fff;width:100vw;min-width:0;height:100dvh;display:flex;position:fixed;inset:0}.equipment-plan-fullscreen-shell.is-fullscreen .equipment-plan-scroll{overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;border:0;border-radius:0;flex:auto;width:100%;height:100dvh;margin:0;overflow:auto;max-height:none!important}.equipment-plan-fullscreen-shell.is-fullscreen .equipment-plan-table thead th{top:0}.equipment-plan-fullscreen-shell.is-fullscreen .equipment-plan-row-heading,.equipment-plan-fullscreen-shell.is-fullscreen .equipment-plan-row-label{left:0!important}@media (max-width:700px){.equipment-plan-fullscreen-toggle{width:38px;height:38px;font-size:24px;top:5px;right:5px}.equipment-plan-row-heading{padding-right:48px!important}}.inventory-view-qr-modal{width:min(920px,100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.inventory-view-qr-actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.inventory-view-qr-actions form{flex:1;gap:8px;min-width:min(100%,360px);display:flex}.inventory-view-qr-actions input{flex:1;min-width:0}.inventory-view-case-result{position:relative}.view-only-badge{color:#075985;background:#e0f2fe;border-radius:999px;margin-bottom:8px;padding:6px 10px;font-weight:800;display:inline-flex}.inventory-view-case-result .scanned-case-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:14px 0 20px;display:grid}.inventory-view-case-result .scanned-case-meta span{display:block}@media (max-width:640px){.inventory-view-qr-modal{border-radius:0;width:100vw;max-width:none;height:100dvh;max-height:none}.inventory-view-case-result .scanned-case-meta{grid-template-columns:1fr}.inventory-view-qr-actions form{min-width:100%}}.inventory-parent-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}@media (max-width:760px){.inventory-parent-actions{grid-template-columns:1fr;min-width:150px;display:grid}.inventory-parent-actions .btn{width:100%;padding:8px 10px}}@media (max-width:700px){.equipment-plan-row-heading,.equipment-plan-row-label{overflow-wrap:anywhere;word-break:normal;-webkit-hyphens:auto;hyphens:auto;white-space:normal!important;width:120px!important;min-width:120px!important;max-width:120px!important;padding:10px!important}.equipment-plan-row-heading{padding-right:46px!important}.equipment-plan-row-label{padding-right:10px!important}.equipment-plan-row-heading span,.equipment-plan-row-label strong,.equipment-plan-row-label small{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;display:block}.equipment-plan-row-label strong{line-height:1.2}.equipment-plan-row-label small{margin-top:5px;line-height:1.2}.equipment-plan-row-label .row-heading-actions{margin-top:7px;position:static}}.row-heading-menu-toggle,.row-heading-mobile-menu{display:none}@media (max-width:700px){.equipment-plan-row-heading,.equipment-plan-row-label{width:100px!important;min-width:100px!important;max-width:100px!important;padding:8px!important}.equipment-plan-row-heading{padding-right:43px!important}.equipment-plan-row-label{position:sticky;padding-right:8px!important}.equipment-plan-row-label .row-heading-actions{display:none!important}.equipment-plan-row-label strong{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;word-break:break-word;-webkit-box-orient:vertical;line-height:1.18;display:-webkit-box;overflow:hidden}.equipment-plan-row-label small{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;line-height:1.15;overflow:hidden}.row-heading-menu-toggle{color:#253044;background:#fff;border:1px solid #d7dce3;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;margin-top:7px;padding:0;font-size:22px;font-weight:800;line-height:1;display:flex}.row-heading-mobile-menu{z-index:60;background:#fff;border:1px solid #d7dce3;border-radius:10px;flex-direction:column;gap:2px;min-width:128px;padding:6px;display:flex;position:absolute;top:calc(100% - 8px);left:8px;box-shadow:0 10px 28px #0f172a2e}.row-heading-mobile-menu button{text-align:left;width:100%;font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:9px 10px;font-weight:700}.row-heading-mobile-menu button:active{background:#f1f5f9}.row-heading-mobile-menu .danger-action{color:#9f1d27}}.case-contents-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.direct-serial-product-backdrop{z-index:1300}.direct-serial-product-modal{width:min(980px,100vw - 28px);max-height:92vh;overflow:auto}.direct-product-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.direct-serial-entry-card{border:1px solid var(--border);background:var(--surface-soft,#f8fafc);border-radius:14px;margin-top:18px;padding:16px}.direct-serial-entry-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.direct-serial-count{color:var(--muted);margin:10px 0}.direct-serial-list{gap:8px;max-height:260px;display:grid;overflow:auto}.direct-serial-list>div{border:1px solid var(--border);background:var(--card);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;display:flex}.direct-serial-list .btn{padding:7px 10px}.direct-serial-product-actions{background:var(--card);justify-content:flex-end;gap:10px;margin-top:18px;padding:12px 0 2px;display:flex;position:sticky;bottom:-1px}@media (max-width:700px){.case-contents-header-actions{justify-content:stretch;width:100%}.case-contents-header-actions .btn{flex:1}.direct-product-details-grid,.direct-serial-entry-row{grid-template-columns:1fr}.direct-serial-entry-row .btn{width:100%}.direct-serial-product-actions{grid-template-columns:1fr;display:grid}.direct-serial-product-actions .btn{width:100%}}.equipment-plan-fullscreen-shell.is-fullscreen~.modal-backdrop{z-index:14000}.monthly-special-hours{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.monthly-special-hour-card{border:1px solid var(--border);background:#fff;border-radius:12px;min-width:0;padding:12px 14px;box-shadow:0 1px 2px #0f172a08}.monthly-special-hour-card span{color:var(--muted);margin-bottom:5px;font-size:12px;font-weight:700;line-height:1.25;display:block}.monthly-special-hour-card strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:1.05rem;line-height:1.2;display:block}.monthly-target-progress{margin-top:14px}.monthly-target-progress-head{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;font-size:12px;font-weight:700;display:flex}.monthly-target-progress-head strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:12px}@media (max-width:640px){.monthly-special-hours{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.monthly-special-hour-card{padding:10px 11px}.monthly-special-hour-card strong{font-size:1rem}}.inventory-unit-row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.inventory-unit-editing-row td{vertical-align:top;background:#fffdf5}.inventory-unit-editing-row input,.inventory-unit-editing-row select{width:100%;min-width:150px}.inventory-unit-date-fields{gap:6px;min-width:170px;display:grid}.inventory-unit-date-fields label{color:var(--muted);gap:3px;font-size:12px;display:grid}.inventory-unit-next-inspection{color:var(--muted);margin-top:4px;display:block}@media (max-width:800px){.inventory-unit-row-actions{min-width:180px}.inventory-unit-editing-row input,.inventory-unit-editing-row select{min-width:135px}}.case-search-pane .case-add-row:has(>.selected-case-equipment){align-items:stretch;grid-template-columns:minmax(0,1fr) minmax(160px,1fr)!important}.case-search-pane .case-add-row:has(>.selected-case-equipment)>.btn{align-self:stretch;width:100%;min-height:42px;visibility:visible!important;opacity:1!important;display:flex!important}.case-content-mode{flex-wrap:wrap;gap:8px;display:flex}.case-current-pane td small{opacity:.72;margin-top:3px;display:block}.case-search-pane>.section-head{align-items:center;gap:12px}@media (max-width:700px){.case-content-mode{width:100%}.case-content-mode .btn{flex:1}.case-search-pane>.section-head{flex-direction:column;align-items:stretch}}.rf-module{gap:16px;display:grid}.rf-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.rf-reserved-single{grid-template-columns:180px minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.rf-reserved-bulk{grid-template-columns:1fr auto;align-items:end;gap:10px;margin-top:12px;display:grid}.rf-chip-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.rf-chip{background:var(--surface-2,#eef2f7);border-radius:999px;align-items:center;gap:5px;padding:7px 10px;display:inline-flex}.rf-chip button{cursor:pointer;background:0 0;border:0;font-size:18px}.rf-chip-reserved{border:1px solid #efb4b4}.rf-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.rf-frequency-list{gap:8px;display:grid}.rf-frequency-row{border:1px solid var(--border,#dfe4ea);border-radius:12px;grid-template-columns:minmax(190px,1fr) minmax(180px,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.rf-frequency-main{gap:2px;display:grid}.rf-frequency-main strong{font-size:18px}.rf-frequency-main small{opacity:.7}.rf-warning{background:#fffaf0;border-color:#e5a800}.rf-danger{background:#fff4f4;border-color:#d64545}.rf-frequency-status{flex-wrap:wrap;gap:6px;display:flex}.rf-warning-badge{color:#6b4e00!important;background:#fff0b8!important}.rf-danger-badge{color:#8b1111!important;background:#ffd8d8!important}.rf-row-actions{justify-content:flex-end;gap:6px;display:flex}.rf-edit-grid{grid-column:1/-1;grid-template-columns:180px 1fr 150px 1fr auto;align-items:center;gap:8px;display:grid}@media (max-width:900px){.rf-form-grid{grid-template-columns:1fr 1fr}.rf-overview,.rf-frequency-row{grid-template-columns:1fr}.rf-row-actions{justify-content:flex-start}.rf-edit-grid{grid-template-columns:1fr}}@media (max-width:560px){.rf-form-grid,.rf-reserved-single,.rf-reserved-bulk{grid-template-columns:1fr}}.presentation-status-page{gap:16px;display:grid}.presentation-status-head{margin-bottom:0}.presentation-refresh{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.presentation-refresh>span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.presentation-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.presentation-metric{border:1px solid var(--border);min-width:0;color:var(--text);font:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;display:flex;box-shadow:0 2px 8px #0f172a0a}.presentation-metric span{color:var(--muted);font-size:12px;font-weight:800}.presentation-metric strong{font-size:24px}.presentation-metric.danger{background:#fff7f7;border-color:#fecaca}.presentation-metric.danger strong{color:#b91c1c}.presentation-metric.success{background:#f5fff8;border-color:#bbf7d0}.presentation-metric.success strong{color:#15803d}.presentation-metric.info{background:#f0fdff;border-color:#a5f3fc}.presentation-metric.info strong{color:#0e7490}.presentation-metric.finished{background:#fcf8ff;border-color:#e9d5ff}.presentation-metric.finished strong{color:#7e22ce}.presentation-metric.active{border-color:var(--brand);outline:3px solid #b21f2d26}.presentation-filters{gap:14px;display:grid}.presentation-date-tabs{white-space:nowrap;overflow-x:auto}.presentation-filter-grid{grid-template-columns:minmax(150px,190px) minmax(150px,190px) minmax(240px,1fr) minmax(220px,1fr);gap:12px;display:grid}.presentation-filter-grid label{gap:6px;display:grid}.presentation-filter-grid label>span{color:var(--muted);font-size:12px;font-weight:800}.presentation-legend{flex-wrap:wrap;gap:7px;display:flex}.presentation-legend button{border:1px solid var(--border);color:var(--text);font:inherit;cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:700;display:inline-flex}.presentation-legend button.active{border-color:var(--brand);box-shadow:0 0 0 2px #b21f2d1f}.presentation-legend i{border:1px solid;border-radius:3px;width:11px;height:11px}.presentation-hall-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.presentation-hall-card{content-visibility:auto;contain-intrinsic-size:600px;min-width:0;padding:0;overflow:hidden}.presentation-hall-title{border-bottom:1px solid var(--border);background:var(--surface-2,#f8fafc);justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;display:flex}.presentation-hall-title h3{margin:0}.presentation-hall-title span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.presentation-hall-title>strong{color:#b91c1c;font-size:12px}.presentation-list{display:grid}.presentation-row{border-bottom:1px solid var(--border);grid-template-columns:54px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:11px 14px;display:grid}.presentation-row:last-child{border-bottom:0}.presentation-row time{font-variant-numeric:tabular-nums;font-weight:900}.presentation-person{gap:3px;min-width:0;display:grid}.presentation-person strong{overflow-wrap:anywhere}.presentation-person>span{color:var(--muted);-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.3;display:-webkit-box;overflow:hidden}.presentation-flags{gap:4px;display:flex}.presentation-flags span{color:#3730a3;background:#e0e7ff;border-radius:5px;padding:3px 5px;font-size:9px;font-weight:900}.presentation-status-badge{white-space:nowrap;border-radius:999px;justify-content:center;min-width:92px;padding:6px 8px;font-size:11px;font-weight:900;display:inline-flex}.presentation-empty,.presentation-loading{text-align:center;padding:30px}.presentation-empty h3{margin-bottom:5px}.presentation-empty p{color:var(--muted);margin:0}@media (max-width:1050px){.presentation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.presentation-hall-grid{grid-template-columns:1fr}}@media (max-width:700px){.presentation-status-head{align-items:flex-start}.presentation-refresh{justify-content:space-between;width:100%}.presentation-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.presentation-metric{padding:11px 12px}.presentation-metric strong{font-size:20px}.presentation-filter-grid{grid-template-columns:1fr 1fr}.presentation-session-filter,.presentation-search{grid-column:1/-1}.presentation-row{grid-template-columns:48px minmax(0,1fr) auto}.presentation-status-badge{grid-column:2/-1;justify-self:start;min-width:0}.presentation-hall-title{padding:13px}.presentation-row{padding:10px 12px}}.equipment-plan-cell.setup-done{box-shadow:inset 0 0 0 2px #86efac;background:#dcfce7!important}.equipment-plan-cell.setup-partial{box-shadow:inset 0 0 0 2px #facc15;background:#fef3c7!important}.equipment-plan-cell.setup-done .equipment-allocation,.equipment-plan-cell.setup-partial .equipment-allocation{color:inherit!important;background:#ffffffb8!important}.setup-overview-label{letter-spacing:.03em;margin-top:5px;font-size:10px;font-weight:900;display:block}.equipment-plan-cell.setup-done .setup-overview-label{color:#166534}.equipment-plan-cell.setup-partial .setup-overview-label{color:#854d0e}.setup-overview-note{white-space:normal;background:#ffffffc7;border-radius:6px;margin-top:4px;padding:4px 6px;font-size:11px;line-height:1.3;display:block}.equipment-plan-scroll td.equipment-plan-table-cell.setup-done{box-shadow:inset 0 0 0 2px #86efac;background:#dcfce7!important}.equipment-plan-scroll td.equipment-plan-table-cell.setup-partial{box-shadow:inset 0 0 0 2px #facc15;background:#fef3c7!important}.equipment-plan-scroll td.equipment-plan-table-cell.setup-done .equipment-plan-cell,.equipment-plan-scroll td.equipment-plan-table-cell.setup-partial .equipment-plan-cell{box-shadow:none!important;background:0 0!important}.hotel-room-control{justify-content:space-between;align-items:center;gap:18px;margin:0 0 14px;padding:16px 18px;display:flex}.hotel-room-control h3{margin:0 0 4px}.hotel-room-control p{color:var(--muted);margin:0;font-size:13px}.hotel-room-control-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hotel-room-publication.private{color:#4b5563;background:#f3f4f6}.hotel-room-publication.published{color:#166534;background:#dcfce7}.hotel-room-summary{color:#1e3a5f;background:#eff6ff;border:1px solid #bfdbfe;border-radius:11px;flex-direction:column;gap:5px;padding:10px 11px;display:flex}.hotel-room-summary>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.hotel-room-summary span{color:#1d4ed8;font-size:12px;font-weight:700}.hotel-room-summary small{color:#475569;font-size:12px}.hotel-room-summary .actual-room-admin{color:#166534;font-weight:800}.hotel-room-editor{border:1px solid var(--border);background:#fafafa;border-radius:11px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:10px;display:grid}.hotel-room-editor label{color:#475569;flex-direction:column;gap:4px;font-size:11px;font-weight:800;display:flex}.hotel-room-editor select,.hotel-room-editor input{border:1px solid var(--border);width:100%;min-width:0;font:inherit;color:var(--text);background:#fff;border-radius:8px;padding:8px 9px}.hotel-room-editor .hotel-room-notes{grid-column:1/-1}.hotel-room-editor-actions{grid-column:1/-1;align-items:center;gap:8px;display:flex}.hotel-room-editor-actions .btn{padding:8px 10px;font-size:12px}.hotel-room-editor-actions .text-button{color:#991b1b;background:0 0;border:0}.hotel-room-checkin{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:11px;flex-direction:column;gap:6px;padding:11px;display:flex}.hotel-room-checkin label{color:#166534;font-size:12px;font-weight:900}.hotel-room-checkin>div{gap:7px;display:flex}.hotel-room-checkin input{background:#fff;border:1px solid #86efac;border-radius:8px;flex:1;min-width:0;padding:9px}.hotel-room-checkin .btn{padding:8px 12px}.hotel-room-checkin small{color:#166534;font-weight:700}@media (max-width:760px){.hotel-room-control{flex-direction:column;align-items:stretch}.hotel-room-control-actions{justify-content:space-between}.hotel-room-editor{grid-template-columns:1fr}.hotel-room-editor .hotel-room-notes,.hotel-room-editor-actions{grid-column:1}}.hotel-room-planner{gap:14px;margin-bottom:14px;padding:18px;display:grid}.hotel-room-planner-head{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.hotel-room-planner-head h3{margin:0 0 4px}.hotel-room-planner-head p{color:var(--muted);margin:0;font-size:13px}.hotel-room-create{align-items:center;gap:8px;display:flex}.hotel-room-create select,.hotel-room-card select,.hotel-room-add-person select,.hotel-room-replace-person select{border:1px solid var(--border);min-width:0;color:var(--text);font:inherit;background:#fff;border-radius:9px;padding:9px 10px}.hotel-room-stats{flex-wrap:wrap;gap:8px;display:flex}.hotel-room-stats span{color:#475569;background:#f3f4f6;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.hotel-room-stats .warning{color:#854d0e;background:#fef3c7}.hotel-room-stats .complete{color:#166534;background:#dcfce7}.hotel-room-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.hotel-room-card{border:1px solid var(--border);background:#fff;border-radius:13px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.hotel-room-card.full{border-color:#86efac;box-shadow:0 0 0 2px #22c55e14}.hotel-room-card>header{border-bottom:1px solid var(--border);background:#f8fafc;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:11px 12px;display:grid}.hotel-room-card>header>div{flex-direction:column;min-width:0;display:flex}.hotel-room-card>header strong{font-size:16px}.hotel-room-card>header span{color:var(--muted);font-size:11px}.hotel-room-card .text-button{color:#991b1b;background:0 0;border:0;padding:7px}.hotel-room-booking{border-bottom:1px solid var(--border);background:#fffbeb;padding:10px 12px}.hotel-room-booking-print{color:#78350f;flex-wrap:wrap;gap:8px 18px;font-size:12px;display:flex}.hotel-room-booking-edit{grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;margin-top:8px;display:grid}.hotel-room-booking-edit label{color:#475569;gap:4px;font-size:11px;font-weight:800;display:grid}.hotel-room-booking-edit input{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:8px 9px}.hotel-room-occupants{gap:7px;min-height:76px;padding:11px;display:grid}.hotel-room-occupants>div{background:#eff6ff;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:8px 9px;display:grid}.hotel-room-occupants>div span{font-weight:800}.hotel-room-occupants>div small{color:var(--muted);grid-column:1}.hotel-room-occupants>div button{color:#991b1b;cursor:pointer;background:0 0;border:0;grid-area:1/2/3;font-size:22px}.hotel-room-occupants>p{color:var(--muted);margin:auto;font-size:12px}.hotel-room-add-person{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:auto;padding:10px 11px;display:grid}.hotel-room-add-person .btn{padding:8px 11px}.hotel-room-replace-person{border-top:1px solid var(--border);background:#fff7ed;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px;margin-top:auto;padding:10px 11px;display:grid}.hotel-room-replace-person .btn{padding:8px 11px}.hotel-room-replace-person select:disabled{color:var(--muted);background:#f8fafc}.hotel-room-empty{border:1px dashed var(--border);text-align:center;color:var(--muted);border-radius:12px;flex-direction:column;grid-column:1/-1;gap:4px;padding:24px;display:flex}.hotel-unassigned{color:#9a3412;background:#fff7ed;border-radius:10px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:12px;display:flex}.hotel-unassigned strong{white-space:nowrap}.hotel-room-print-title{display:none}.hotel-room-private-card{background:linear-gradient(135deg,#f8fbff,#fff);border-color:#bfdbfe;gap:14px;margin-bottom:14px;padding:18px;display:grid}.hotel-room-private-card>header{border-bottom:1px solid #dbeafe;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.hotel-room-private-card>header small{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px;font-weight:800;display:block}.hotel-room-private-card>header h3{margin:0}.hotel-room-private-card>header>strong{color:#fff;white-space:nowrap;background:#1d4ed8;border-radius:10px;padding:8px 12px;font-size:16px}.hotel-room-private-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.hotel-room-private-details a,.hotel-room-private-details span{color:#1e3a5f;overflow-wrap:anywhere;background:#eff6ff;border-radius:9px;align-items:center;min-width:0;padding:10px 11px;font-size:13px;font-weight:700;text-decoration:none;display:flex}.hotel-room-private-details a:hover{text-decoration:underline}@media (max-width:1100px){.hotel-room-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.hotel-room-planner-head{flex-direction:column;align-items:stretch}.hotel-room-create{grid-template-columns:1fr auto;display:grid}.hotel-room-list{grid-template-columns:1fr}.hotel-room-card>header{grid-template-columns:minmax(0,1fr) auto}.hotel-room-card>header .text-button{grid-column:1/-1;justify-self:start}.hotel-room-booking-edit{grid-template-columns:1fr}.hotel-unassigned{flex-direction:column}.hotel-room-private-card>header{flex-direction:column;align-items:stretch}.hotel-room-private-card>header>strong{align-self:flex-start}.hotel-room-private-details{grid-template-columns:1fr}}@media print{body.printing-hotel-room-list *{visibility:hidden!important}body.printing-hotel-room-list .hotel-room-list-printable,body.printing-hotel-room-list .hotel-room-list-printable *{visibility:visible!important}body.printing-hotel-room-list .hotel-room-list-printable{background:#fff;padding:20px;position:absolute;inset:0;display:block!important}body.printing-hotel-room-list .hotel-room-print-title{margin-bottom:18px;display:block}body.printing-hotel-room-list .hotel-room-print-title h2{margin:0 0 4px}body.printing-hotel-room-list .hotel-room-print-title p{color:#666;margin:0}body.printing-hotel-room-list .hotel-room-card{break-inside:avoid;border:1px solid #bbb;margin-bottom:10px}body.printing-hotel-room-list .hotel-room-card>header{justify-content:space-between;display:flex}body.printing-hotel-room-list .hotel-room-card select{appearance:none;background:0 0;border:0;padding:0}body.printing-hotel-room-list .hotel-room-role{display:none!important}body.printing-hotel-room-list .hotel-room-booking{background:#fff;padding:8px 12px}body.printing-hotel-room-list .no-print{display:none!important}}.hotel-room-event-assignments{background:#fff;border:1px solid #dbeafe;border-radius:10px;gap:8px;padding:12px;display:grid}.hotel-room-event-assignments>strong{color:#1e3a5f;text-transform:uppercase;letter-spacing:.04em;font-size:13px}.hotel-room-event-assignments>div{color:#172554;background:#eef6ff;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;font-weight:800;display:flex}.hotel-room-event-assignments>div small{color:var(--muted);white-space:nowrap}.hotel-room-private-details>strong{color:#172554;grid-column:1/-1;font-size:15px}@media (max-width:760px){.hotel-room-event-assignments>div{flex-direction:column;align-items:flex-start;gap:3px}}.quotation-page{gap:16px;display:grid}.quotation-head{margin-bottom:0}.quotation-head .btn,.quotation-editor-toolbar button,.quotation-section button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.quotation-layout{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:16px;display:grid}.quotation-list{gap:8px;max-height:calc(100vh - 115px);padding:12px;display:grid;position:sticky;top:92px;overflow:auto}.quotation-list-title{justify-content:space-between;align-items:center;padding:5px 4px 10px;display:flex}.quotation-list-title span{text-align:center;background:#f3f4f6;border-radius:999px;min-width:28px;padding:4px 8px;font-size:12px;font-weight:800}.quotation-list-row{border:1px solid var(--border);width:100%;color:var(--text);font:inherit;text-align:left;background:#fff;border-radius:11px;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px;display:flex}.quotation-list-row:hover,.quotation-list-row.active{border-color:var(--brand);background:#fff8f8}.quotation-list-row span{gap:4px;min-width:0;display:grid}.quotation-list-row span:last-child{justify-items:end}.quotation-list-row small{max-width:145px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quotation-status{text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal;font-weight:900}.quotation-status.draft{color:#475569;background:#e5e7eb}.quotation-status.sent{color:#1d4ed8;background:#dbeafe}.quotation-status.approved{color:#166534;background:#dcfce7}.quotation-status.rejected{color:#991b1b;background:#fee2e2}.quotation-editor{min-width:0;padding:16px}.quotation-editor-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;display:flex}.quotation-editor-toolbar>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.quotation-editor-toolbar select,.quotation-total select{border:1px solid var(--border);background:#fff;border-radius:9px;padding:9px 10px}.quotation-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.quotation-form-grid label,.quotation-notes label{gap:5px;display:grid}.quotation-form-grid span,.quotation-notes span{color:var(--muted);font-size:12px;font-weight:800}.quotation-form-grid input,.quotation-notes textarea{border:1px solid var(--border);background:#fff;border-radius:9px;width:100%;padding:10px}.quotation-sections{gap:14px;margin-top:18px;display:grid}.quotation-section{background:#fff;border:1px solid #cbd5e1;border-radius:12px;overflow:hidden}.quotation-section>header{background:#e5e7eb;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.quotation-section>header input{background:0 0;border:0;flex:1;min-width:0;font-weight:900}.quotation-section .text-button{color:#991b1b;background:0 0;border:0;font-size:12px}.quotation-items-head,.quotation-item{grid-template-columns:minmax(180px,1.5fr) 100px 70px 70px 115px minmax(140px,1fr) 100px;align-items:center;gap:7px;display:grid}.quotation-items-head{color:#64748b;background:#f8fafc;padding:8px 10px;font-size:11px;font-weight:900}.quotation-item{border-top:1px solid var(--border);padding:8px 10px}.quotation-item input{border:1px solid var(--border);border-radius:7px;width:100%;min-width:0;padding:8px}.quotation-item strong{text-align:right;white-space:nowrap;font-size:13px}.quotation-section>footer{border-top:1px solid var(--border);background:#f8fafc;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.quotation-section>footer .btn{padding:7px 10px;font-size:12px}.quotation-add-section{justify-self:start}.quotation-total{background:#dbe5f5;border-radius:12px;justify-content:flex-end;align-items:end;gap:22px;margin-top:18px;padding:15px 18px;display:flex}.quotation-total label{gap:5px;font-size:11px;font-weight:800;display:grid}.quotation-total>div{justify-items:end;gap:2px;display:grid}.quotation-total>div span{font-size:12px;font-weight:800}.quotation-total>div strong{font-size:26px}.quotation-notes{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-top:16px;display:grid}.quotation-notes textarea{resize:vertical;min-height:90px}.quotation-empty{min-height:170px;color:var(--muted);text-align:center;align-content:center;justify-items:center;gap:8px;display:grid}.quotation-empty h2,.quotation-empty p{margin:0}@media (max-width:1150px){.quotation-layout{grid-template-columns:240px minmax(0,1fr)}.quotation-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quotation-items-head{display:none}.quotation-item{grid-template-columns:repeat(4,minmax(0,1fr))}.quotation-item input:first-child,.quotation-item input:nth-child(6){grid-column:span 2}.quotation-item strong{padding:8px}.quotation-item button{justify-self:end}.quotation-notes{grid-template-columns:1fr}}@media (max-width:760px){.quotation-layout{grid-template-columns:1fr}.quotation-list{max-height:290px;position:static}.quotation-editor-toolbar{flex-direction:column;align-items:stretch}.quotation-editor-toolbar>div:last-child{grid-template-columns:1fr 1fr;display:grid}.quotation-editor-toolbar .icon-btn{grid-column:1/-1}.quotation-form-grid{grid-template-columns:1fr}.quotation-item{grid-template-columns:1fr 1fr}.quotation-item input:first-child,.quotation-item input:nth-child(6){grid-column:1/-1}.quotation-section>footer{flex-direction:column;align-items:stretch}.quotation-total{justify-content:space-between;align-items:stretch}.quotation-total>div{justify-items:end}}.external-events-card{gap:14px;margin-bottom:16px;padding:16px;display:grid}.external-events-card.is-collapsed{gap:0;padding-top:11px;padding-bottom:11px}.external-events-content{gap:14px;display:grid}.external-events-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.external-events-head h2{align-items:center;gap:8px;margin:0 0 4px;display:flex}.external-events-head p{margin:0}.external-events-head-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.external-events-head .btn{white-space:nowrap;align-items:center;gap:7px;display:inline-flex}.spin{animation:.8s linear infinite external-spin}@keyframes external-spin{to{transform:rotate(360deg)}}.external-events-table-wrap{border:1px solid var(--border);border-radius:12px;overflow:auto}.external-events-table{border-collapse:collapse;width:100%;min-width:980px}.external-events-table th{color:#64748b;text-align:left;text-transform:uppercase;background:#f8fafc;padding:10px 12px;font-size:11px}.external-events-table td{border-top:1px solid var(--border);vertical-align:middle;padding:11px 12px}.external-events-table td>small,.external-events-table td>strong{display:block}.external-events-table td>small{color:var(--muted);margin-top:4px}.external-status,.worker-reply{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;display:inline-flex}.external-status.approved,.worker-reply.yes{color:#166534;background:#dcfce7}.external-status.not-approved,.worker-reply.no{color:#991b1b;background:#fee2e2}.external-status.proposal{color:#1d4ed8;background:#dbeafe}.external-status.pending,.worker-reply.waiting{color:#475569;background:#f1f5f9}.crew-reply-summary{gap:5px;display:flex}.crew-reply-summary span{border-radius:999px;padding:3px 7px;font-size:11px;font-weight:900}.crew-reply-summary .yes{color:#166534;background:#dcfce7}.crew-reply-summary .waiting{color:#92400e;background:#fef3c7}.crew-reply-summary .no{color:#991b1b;background:#fee2e2}.external-workers-cell{background:#f8fafc;padding:0!important;display:table-cell!important}.external-workers-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;display:grid}.external-worker{border:1px solid var(--border);background:#fff;border-radius:9px;grid-template-columns:auto 1fr;align-items:center;gap:3px 9px;padding:9px;display:grid}.external-worker .worker-reply{grid-row:1/3;align-self:center}.external-worker span:not(.worker-reply),.external-worker small{color:var(--muted);font-size:12px}.external-worker small{grid-column:2}.external-events-empty{color:var(--muted);justify-items:center;gap:8px;padding:24px;display:grid}@media (max-width:760px){.external-events-head{flex-direction:column;align-items:stretch}.external-events-head-actions{width:100%}.external-events-head-actions .btn{flex:1;justify-content:center}.external-workers-list{grid-template-columns:1fr}.calendar-view-controls{justify-content:stretch}.calendar-view-controls label,.calendar-view-controls select{width:100%}}.external-events-filters{grid-template-columns:minmax(260px,1fr) 230px 190px;align-items:center;gap:9px;display:grid}.external-events-filters select,.external-events-search{border:1px solid var(--border);background:#fff;border-radius:10px;height:42px}.external-events-filters select{color:var(--text);font:inherit;padding:0 11px}.external-events-search{color:var(--muted);align-items:center;gap:8px;padding:0 11px;display:flex}.external-events-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.external-events-result-count{color:var(--muted);font-size:12px}.external-status.cancelled{color:#475569;background:#e5e7eb;text-decoration:line-through}.external-event-group.is-cancelled{opacity:.66}.external-open-project{white-space:nowrap;padding:7px 10px!important;font-size:12px!important;display:inline-flex!important}.external-event-calendar-chip{color:#172554;background:#dbeafe;border:1px solid #93c5fd;border-radius:8px;flex-direction:column;min-width:0;margin-bottom:4px;padding:5px;font-size:11px;text-decoration:none;display:flex}.external-event-calendar-chip:hover{filter:brightness(.98)}.external-event-calendar-chip strong,.external-event-calendar-chip span,.external-event-calendar-chip small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.external-event-calendar-chip span,.external-event-calendar-chip small{font-size:10px}.external-event-calendar-chip.approved{color:#14532d;background:#dcfce7;border-color:#86efac}.external-event-calendar-chip.not-approved{color:#7f1d1d;background:#fee2e2;border-color:#fca5a5}.external-event-calendar-chip.proposal{color:#1e3a8a;background:#dbeafe;border-color:#93c5fd}.external-event-calendar-chip.pending{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.external-event-calendar-chip.cancelled{color:#6b7280;background:#f3f4f6;border-color:#d1d5db;text-decoration:line-through}@media (max-width:900px){.external-events-filters{grid-template-columns:1fr 1fr}.external-events-search{grid-column:1/-1}}@media (max-width:760px){.external-events-filters{grid-template-columns:1fr}.external-events-search{grid-column:auto}.external-event-calendar-chip{margin-top:3px!important;padding:4px!important}.external-event-calendar-chip strong{font-size:.68rem}.external-event-calendar-chip span,.external-event-calendar-chip small{font-size:.6rem}}.external-quotation-links{gap:5px;min-width:132px;display:grid}.external-quotation-links a{color:var(--text);background:#f8fafc;border:1px solid #dbe4ef;border-radius:9px;gap:1px;padding:7px 9px;text-decoration:none;display:grid}.external-quotation-links a:hover{border-color:var(--brand);background:#fff}.external-quotation-links strong{font-size:12px}.external-quotation-links small{color:var(--muted);text-transform:capitalize;font-size:11px}.project-quotations{padding:18px}.project-quotations>header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.project-quotations h2{align-items:center;gap:8px;margin:0 0 3px;display:flex}.project-quotation-list{gap:9px;display:grid}.project-quotation-row{color:var(--text);background:#fff;border:1px solid #dce4ee;border-radius:12px;grid-template-columns:42px minmax(180px,1fr) minmax(150px,.7fr) 96px 120px;align-items:center;gap:12px;padding:12px;text-decoration:none;display:grid}.project-quotation-row:hover{border-color:var(--brand);box-shadow:0 6px 18px #1f293714}.project-quotation-row>span:not(.quotation-status){gap:3px;display:grid}.project-quotation-row small{color:var(--muted);font-size:12px}.project-quotation-row em{font-style:normal;font-weight:800}.project-quotation-row>b{text-align:right}.project-quotation-icon{width:38px;height:38px;color:var(--brand);background:#f6e7e9;border-radius:10px;place-items:center;display:grid!important}.project-quotations-empty{text-align:center;color:var(--muted);border:1px dashed #cbd5e1;border-radius:12px;justify-items:center;gap:8px;padding:34px;display:grid}.project-quotations-empty strong{color:var(--text);font-size:17px}.project-quotations-empty p{margin:0 0 4px}@media (max-width:800px){.project-quotations>header{flex-direction:column;align-items:flex-start}.project-quotation-row{grid-template-columns:42px 1fr auto}.project-quotation-row>span:nth-child(3){grid-column:2}.project-quotation-row>.quotation-status{grid-area:1/3}.project-quotation-row>b{grid-area:2/3}.external-events-table{min-width:1040px}}.calendar-year-jump{justify-content:center;align-items:center;gap:6px;display:flex}.calendar-year-jump button,.calendar-year-jump select{border:1px solid var(--border);color:var(--text);font:inherit;background:#fff;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:800}.calendar-year-jump button:hover{border-color:var(--brand);color:var(--brand)}.project-browser-toolbar{gap:12px;margin-bottom:16px;padding:14px;display:grid}.project-view-tabs,.project-filter-controls{align-items:center;gap:9px;display:flex}.project-view-tabs button{border:1px solid var(--border);color:var(--text);font:inherit;background:#fff;border-radius:10px;align-items:center;gap:7px;padding:9px 13px;font-weight:800;display:flex}.project-view-tabs button.active{border-color:var(--brand);background:var(--brand);color:#fff}.project-view-tabs span{background:#94a3b833;border-radius:999px;min-width:23px;padding:2px 6px;font-size:11px}.project-filter-controls input{border:1px solid var(--border);border-radius:10px;flex:1;min-width:0;padding:10px 12px}.project-filter-controls select{border:1px solid var(--border);background:#fff;border-radius:10px;padding:10px 12px}.project-filter-empty{color:var(--muted);text-align:center;padding:24px}@media (max-width:650px){.calendar-year-jump button{font-size:0}.calendar-year-jump button:first-child:after{content:"« Year";font-size:11px}.calendar-year-jump button:last-child:after{content:"Year »";font-size:11px}.project-filter-controls{flex-direction:column;align-items:stretch}.project-view-tabs button{flex:1;justify-content:center}}.budget-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.budget-summary article{background:#fff;border:1px solid #e1e5ec;border-radius:16px;gap:6px;padding:18px;display:grid}.budget-summary span,.budget-summary small{color:#657084}.budget-summary strong{font-size:1.45rem}.budget-summary .positive strong{color:#247a3b}.budget-summary .negative strong{color:#aa2f35}.budget-settings{grid-template-columns:150px 190px minmax(260px,1fr) auto;align-items:end;gap:12px;margin-bottom:12px;display:grid}.budget-settings label,.supplier-upload label{gap:6px;font-weight:700;display:grid}.budget-settings input,.budget-settings select,.budget-add input,.budget-add select,.supplier-upload input,.supplier-upload select{background:#fff;border:1px solid #d7dce5;border-radius:10px;min-height:42px;padding:8px 10px}.budget-add{grid-template-columns:170px minmax(220px,1fr) 110px 130px minmax(180px,1fr) auto;align-items:center;gap:8px;margin-bottom:14px;display:grid}.budget-groups{gap:14px;display:grid}.budget-group{padding:0;overflow:hidden}.budget-group header{background:#f7f8fa;border-bottom:1px solid #e5e8ee;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.budget-group h3{margin:0}.budget-table{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(220px,2fr) 120px 140px 150px minmax(180px,1fr) 44px;align-items:center;gap:8px;padding:8px 14px;display:grid}.budget-table input{border:1px solid #dfe3ea;border-radius:8px;width:100%;min-height:38px;padding:6px 8px}.budget-table-head{color:#657084;background:#fafbfc;font-size:.8rem;font-weight:800}.supplier-upload{grid-template-columns:1.2fr 160px 1.2fr 1.2fr auto auto;align-items:end;gap:10px;margin-bottom:16px;display:grid}.supplier-file-picker{white-space:nowrap;position:relative;overflow:hidden}.supplier-file-picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.supplier-file-list{gap:10px;display:grid}.supplier-file-row{grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;display:grid}.supplier-file-row>div{gap:3px;display:grid}.supplier-file-row span,.supplier-file-row small{color:#657084}.crew-person-card.external-pending{background:#fff;border-color:#dfe3ea}.crew-person-card.external-confirmed{background:#f2fff5;border-color:#b9e8c2}.crew-person-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.crew-person-title h3{margin-top:0}.crew-confirmation{white-space:nowrap;color:#596273;background:#fff;border:1px solid #d7dce5;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}.crew-confirmation.confirmed{color:#216b35;background:#dff7e4;border-color:#a8deb3}.excel-editor-overlay{z-index:1200;background:#1018288c;place-items:center;padding:3vh 2vw;display:grid;position:fixed;inset:0}.excel-editor{background:#fff;border-radius:18px;grid-template-rows:auto auto minmax(0,1fr) auto;width:min(1500px,96vw);height:94vh;display:grid;overflow:hidden;box-shadow:0 24px 80px #00000047}.excel-editor>header{border-bottom:1px solid #e2e6ed;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.excel-editor>header h2,.excel-editor>header p{margin:0}.excel-editor>header>div:last-child{gap:8px;display:flex}.excel-sheet-tabs{background:#f4f6f8;border-bottom:1px solid #dfe3ea;gap:4px;padding:8px 12px;display:flex;overflow-x:auto}.excel-sheet-tabs button{background:#fff;border:1px solid #d6dbe4;border-radius:8px;padding:7px 12px}.excel-sheet-tabs button.active{color:#fff;background:#a62d34;border-color:#a62d34}.excel-grid-wrap{overflow:auto}.excel-grid{border-collapse:collapse;table-layout:fixed}.excel-grid th{z-index:2;color:#586174;background:#f3f5f8;font-size:.75rem;position:sticky}.excel-grid thead th{top:0}.excel-grid tbody th{left:0}.excel-grid th,.excel-grid td{border:1px solid #dfe3ea;min-width:110px;height:34px;padding:0}.excel-grid th:first-child{min-width:48px}.excel-grid input{background:0 0;border:0;width:100%;height:33px;padding:5px 7px}.excel-grid td.formula{background:#f5f7fa}.excel-grid td.formula input{color:#596273}.excel-editor>footer{color:#657084;border-top:1px solid #e2e6ed;justify-content:space-between;gap:14px;padding:10px 16px;font-size:.82rem;display:flex}.excel-editor-loading{place-items:center;font-weight:700;display:grid}@media (max-width:900px){.budget-summary{grid-template-columns:repeat(2,1fr)}.budget-settings,.budget-add,.supplier-upload{grid-template-columns:1fr 1fr}.budget-table{grid-template-columns:minmax(170px,1.5fr) 90px 110px 120px minmax(140px,1fr) 40px}.excel-editor-overlay{padding:0}.excel-editor{border-radius:0;width:100vw;height:100dvh}.supplier-file-row{grid-template-columns:auto minmax(0,1fr) auto}.supplier-file-row .btn{grid-column:2}.supplier-file-row>.icon-btn{grid-area:1/3}}@media (max-width:600px){.budget-summary,.budget-settings,.budget-add,.supplier-upload{grid-template-columns:1fr}.budget-table-head{display:none}.budget-table{grid-template-columns:1fr 1fr}.budget-table>:first-child,.budget-table>:nth-child(5){grid-column:1/-1}.budget-table .icon-btn{justify-self:end}.crew-person-title{display:grid}.excel-editor>header{align-items:flex-start}.excel-editor>header>div:last-child{flex-wrap:wrap}.excel-editor>footer{display:grid}}.excel-editor-inline{margin:-2px 0 16px;scroll-margin-top:16px}.excel-editor-inline .excel-editor{border:1px solid #cbd6e5;border-radius:14px;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;width:100%;height:min(72vh,760px);min-height:480px;box-shadow:0 12px 32px #1927401f}.excel-editor-inline .excel-editor>header{background:#f8fafc}.excel-editor-inline .excel-editor>header p{color:#657084;margin-top:3px}.excel-editor-alert{margin:10px 12px 0}.excel-grid-wrap{overscroll-behavior:contain}.excel-grid input:focus{outline-offset:-2px;background:#fff;outline:2px solid #a62d34}.excel-row-pagination{color:#657084;background:#fafbfc;border-top:1px solid #e2e6ed;justify-content:space-between;align-items:center;gap:12px;padding:8px 14px;font-size:.82rem;display:flex}.excel-row-pagination>div{align-items:center;gap:8px;display:flex}.excel-row-pagination .icon-btn{width:32px;height:32px}.excel-row-pagination svg{width:17px}@media (max-width:900px){.excel-editor-inline .excel-editor{border-radius:14px;width:100%;height:70dvh;min-height:520px}}.quotation-av-section-meta{border-bottom:1px solid var(--border);background:#f8fafc;grid-template-columns:minmax(220px,1fr) repeat(3,180px);gap:10px;padding:10px 12px;display:grid}.quotation-av-section-meta label{color:var(--muted);gap:5px;font-size:.76rem;font-weight:700;display:grid}.quotation-av-section-meta input{background:#fff;border:1px solid #d1d5db;border-radius:8px;width:100%;padding:8px 9px}.quotation-av-table{width:100%;overflow-x:auto}.quotation-section-av .quotation-items-head-av,.quotation-section-av .quotation-item-av{grid-template-columns:130px 170px 130px minmax(220px,1.4fr) minmax(220px,1.4fr) 100px 70px 70px 115px minmax(140px,1fr) 100px;min-width:1596px;display:grid}.quotation-section-av .quotation-item-av{align-items:stretch}.quotation-section-av .quotation-item-av textarea{resize:vertical;background:#fff;border:1px solid #d1d5db;border-radius:7px;width:100%;min-height:58px;padding:8px;line-height:1.35}.quotation-section-av .quotation-item-av strong{align-self:center}@media (max-width:760px){.quotation-av-section-meta{grid-template-columns:1fr}}.quotation-page{--brand:#7b0000;--brand-dark:#5f0000}.quotation-row-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.quotation-row-actions .icon-btn{width:28px;min-width:28px;height:28px;padding:0}.quotation-row-actions .icon-btn:disabled{cursor:not-allowed;opacity:.3}.quotation-category{color:#334155;letter-spacing:.03em;background:#f8fafc;border:1px solid #cbd5e1;border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal;font-weight:900}.quotation-category.audio_visual{color:#7b0000;background:#f4eaea;border-color:#7b0000}.quotation-category.eposters{color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.quotation-section-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.quotation-section-actions .compact{align-items:center;gap:5px;padding:6px 9px;font-size:12px;display:inline-flex}@media (max-width:760px){.quotation-section>header{flex-direction:column;align-items:stretch}.quotation-section-actions{justify-content:space-between}}.carnet-readiness-modal{width:min(1400px,96vw);max-height:92vh;overflow:auto}.carnet-readiness-summary{grid-template-columns:repeat(3,minmax(140px,1fr));gap:12px;margin:0 0 14px;display:grid}.carnet-readiness-summary>div{border:1px solid var(--border);background:#f8fafc;border-radius:12px;flex-direction:column;gap:3px;padding:14px;display:flex}.carnet-readiness-summary strong{font-size:26px}.carnet-readiness-summary span{color:var(--muted);font-size:13px}.carnet-readiness-filters{grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;display:grid}.carnet-readiness-filters input{border:1px solid #d1d5db;border-radius:9px;width:100%;padding:10px}.carnet-readiness-filters label{align-items:center;gap:8px;font-weight:700;display:flex}.carnet-missing-list{flex-wrap:wrap;gap:5px;display:flex}.carnet-missing-list span{color:#991b1b;background:#fff1f2;border-radius:999px;padding:4px 7px;font-size:12px}.badge.carnet-ready{color:#166534;background:#dcfce7}.badge.carnet-missing{color:#92400e;background:#fef3c7}.inventory-unit-photo-input{gap:4px;min-width:180px;display:grid}.inventory-unit-photo-input input{max-width:200px}.asset-label-modal{width:min(1200px,96vw);max-height:94vh;overflow:auto}.asset-label-controls{grid-template-columns:minmax(240px,1fr) 180px auto auto;align-items:end;gap:10px;margin-bottom:12px;display:grid}.asset-label-controls>input,.asset-label-controls label input{border:1px solid #d1d5db;border-radius:9px;width:100%;padding:10px}.asset-label-controls label{gap:5px;font-size:13px;font-weight:700;display:grid}.asset-label-unit-list{border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:360px;padding:10px;display:grid;overflow:auto}.asset-label-prepare-list{background:#fffbeb;border:1px solid #f59e0b;border-radius:12px;gap:8px;margin-bottom:10px;padding:10px;display:grid}.asset-label-prepare-list>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.asset-label-prepare-list span{gap:3px;display:grid}.asset-label-prepare-list small{color:#92400e}.asset-label-unit-list label{border:1px solid var(--border);border-radius:9px;align-items:flex-start;gap:8px;padding:8px;display:flex}.asset-label-unit-list span{gap:3px;min-width:0;display:grid}.asset-label-unit-list small{color:var(--muted)}.asset-label-pages{background:#d1d5db;margin-top:18px;padding:12px}.asset-label-page{box-sizing:border-box;page-break-after:always;background:#fff;grid-template-columns:repeat(4,45.7mm);grid-auto-rows:21.2mm;align-content:start;column-gap:2.6mm;width:210mm;height:297mm;margin:0 auto 12px;padding:21.3mm 9.7mm;display:grid;overflow:hidden}.asset-label{box-sizing:border-box;color:#111;background:#fff;grid-template-columns:19mm 1fr;align-items:center;gap:1.1mm;width:45.7mm;height:21.2mm;padding:1.2mm 1.4mm;display:grid;overflow:hidden}.asset-label-qr{width:18.2mm;height:18.2mm;display:block}.asset-label-text{flex-direction:column;justify-content:center;min-width:0;height:18mm;display:flex;overflow:hidden}.asset-label-text img{object-fit:contain;object-position:left center;width:16mm;height:5mm;margin-bottom:.4mm}.asset-label-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:8.2pt;line-height:1.05;overflow:hidden}.asset-label-text span{max-height:4.6mm;font-size:5.8pt;line-height:1.1;overflow:hidden}.asset-label-text small{white-space:nowrap;text-overflow:ellipsis;font-size:5.2pt;line-height:1.1;overflow:hidden}@media (max-width:900px){.carnet-readiness-summary,.carnet-readiness-filters,.asset-label-controls,.asset-label-unit-list{grid-template-columns:1fr}}@media print{body.printing-asset-labels>*{display:none!important}body.printing-asset-labels .modal-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important}body.printing-asset-labels .asset-label-modal{width:auto!important;max-width:none!important;max-height:none!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}body.printing-asset-labels .asset-label-pages{background:#fff!important;margin:0!important;padding:0!important;display:block!important}body.printing-asset-labels .asset-label-page{margin:0!important;display:grid!important}body.printing-asset-labels .asset-label-page:last-child{page-break-after:auto}body.printing-asset-labels .asset-label{break-inside:avoid}}.hotel-booking-group{display:contents}.hotel-booking-group-title{display:none}@media print{body.printing-hotel-room-list .hotel-booking-group{display:block}body.printing-hotel-room-list .hotel-booking-group+.hotel-booking-group{break-before:page;page-break-before:always}body.printing-hotel-room-list .hotel-booking-group-title{color:#4c0519;background:#f8eeee;border:2px solid #7b0000;border-radius:8px;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 12px;padding:10px 12px;display:flex}body.printing-hotel-room-list .hotel-booking-group-title h2{margin:2px 0 0;font-size:19px}body.printing-hotel-room-list .hotel-booking-group-title small{text-transform:uppercase;letter-spacing:.05em;font-weight:800}body.printing-hotel-room-list .hotel-booking-group-title>div:last-child{text-align:right;gap:3px;display:grid}body.printing-hotel-room-list .hotel-room-booking{display:none!important}}.hotel-room-actual-number,.hotel-room-billing-footer{display:none}@media print{body.printing-hotel-room-list .hotel-room-actual-number{color:#166534;margin-top:5px;font-size:12px;font-weight:800;display:block}body.printing-hotel-room-list .hotel-room-actual-number.missing{color:#9a3412}body.printing-hotel-room-list .hotel-room-billing-footer{break-inside:avoid;page-break-inside:avoid;color:#111827;border-top:2px solid #7b0000;border-bottom:1px solid #cbd5e1;gap:3px;margin-top:22px;padding:12px 14px;display:grid}body.printing-hotel-room-list .hotel-room-billing-footer small{text-transform:uppercase;letter-spacing:.05em;color:#7b0000;font-weight:800}body.printing-hotel-room-list .hotel-room-billing-footer strong{font-size:16px}body.printing-hotel-room-list .topbar,body.printing-hotel-room-list .sidebar,body.printing-hotel-room-list .page-back-row,body.printing-hotel-room-list .content>:not(.hotel-room-planner){display:none!important}body.printing-hotel-room-list .layout,body.printing-hotel-room-list .content{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}body.printing-hotel-room-list .hotel-room-planner{box-shadow:none!important;border:0!important;margin:0!important;padding:0!important;display:block!important}body.printing-hotel-room-list .hotel-room-planner>:not(.hotel-room-list-printable){display:none!important}body.printing-hotel-room-list .hotel-room-list-printable{width:100%!important;margin:0!important;padding:0!important;position:static!important;inset:auto!important}body.printing-hotel-room-list .hotel-booking-group:last-of-type{break-after:auto!important;page-break-after:auto!important}body.printing-hotel-room-list .hotel-room-billing-footer{break-before:auto!important;page-break-before:auto!important}body.printing-hotel-room-list .hotel-room-billing-footer span strong{font-size:inherit}}.equipment-row-label-main{align-items:flex-start;gap:8px;min-width:0;display:flex}.equipment-row-label-main>div{flex:1;min-width:0}.equipment-plan-row-label .equipment-row-drag-handle{touch-action:none;-webkit-user-select:none;user-select:none;border-radius:7px;flex:0 0 28px;width:28px;height:30px;font-size:18px;font-weight:900;line-height:1;color:#64748b!important;cursor:grab!important;background:#f8fafc!important;border:1px solid #cbd5e1!important;padding:0!important;position:static!important}.equipment-plan-row-label .equipment-row-drag-handle:hover{border-color:var(--brand)!important;color:var(--brand)!important;background:#fff7f7!important}.equipment-plan-row-label .equipment-row-drag-handle:active{cursor:grabbing!important}.equipment-plan-table tr.equipment-row-dragging>th,.equipment-plan-table tr.equipment-row-dragging>td{opacity:.45}.equipment-plan-table tr.equipment-row-drag-over>th,.equipment-plan-table tr.equipment-row-drag-over>td{border-top:3px solid var(--brand)!important}@media (max-width:700px){.equipment-row-label-main{gap:5px}.equipment-plan-row-label .equipment-row-drag-handle{flex-basis:25px;width:25px;height:28px;font-size:16px}}@media print{body.printing-equipment-plan .equipment-row-drag-handle{display:none!important}}@media (min-width:901px) and (max-width:1500px){.layout{min-height:calc(100vh - 76px);display:block}.sidebar{z-index:19;border-left:0;border-bottom:1px solid var(--border);scrollbar-width:thin;align-items:center;gap:4px;width:100%;min-height:52px;padding:7px 16px;display:flex;position:sticky;top:76px;overflow-x:auto;box-shadow:0 2px 7px #0f172a0a}.sidebar .nav-link{white-space:nowrap;flex:none;margin:0;padding:8px 11px;font-size:14px}.content{padding:16px}}.accounting-shell .layout{min-height:calc(100vh - 76px);display:block}.accounting-shell .sidebar{z-index:19;border-left:0;border-bottom:1px solid var(--border);align-items:center;gap:5px;width:100%;min-height:50px;padding:7px 16px;display:flex;position:sticky;top:76px;overflow-x:auto;box-shadow:0 2px 7px #0f172a0a}.accounting-shell .sidebar .nav-link{white-space:nowrap;flex:none;margin:0;padding:8px 12px}.accounting-shell .content{width:100%;max-width:none;padding:16px}.inventory-unit-form,.inventory-units-inline .inventory-unit-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.inventory-unit-identity-fields{gap:8px;min-width:160px;display:grid}.inventory-unit-identity-fields label{gap:4px;font-size:12px;display:grid}@media (max-width:800px){.inventory-unit-form,.inventory-units-inline .inventory-unit-form{grid-template-columns:1fr}}
