:root{--bg:#f7f8fb;--surface:#fff;--surface-container-low:#f2f5fa;--surface-container:#e9eef7;--surface-container-high:#dfe7f4;--ink:#080808;--muted:#5f6360;--line:#d8dee8;--primary:#116dff;--on-primary:#fff;--primary-container:#d8e6ff;--on-primary-container:#001b3d;--secondary-container:#e8ebef;--on-secondary-container:#1d2024;--tertiary-container:#fff0c2;--on-tertiary-container:#2a2100;--danger:#ba1a1a;--danger-container:#ffdad6;--on-danger-container:#410002;--ok:#1f6f43;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--shadow-1:0 1px 2px #0808081f, 0 1px 3px #08080814}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{border:0}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{background:var(--surface);border-bottom:1px solid var(--line);z-index:5;grid-template-columns:auto minmax(280px,520px) auto;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 24px;display:grid;position:sticky;top:0}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brand-mark{background:var(--primary);width:40px;height:40px;color:var(--on-primary);border-radius:12px;place-items:center;font-weight:800;display:grid}.brand-logo{object-fit:contain;object-position:left center;flex:none;width:clamp(118px,16vw,158px);height:52px}.brand-title{font-size:18px;font-weight:750}.brand-subtitle{color:var(--muted);margin-top:2px;font-size:12px}.topbar-search{gap:6px;min-width:0;display:grid}.main{width:min(1480px,100%);margin:0 auto;padding:24px 24px 36px}@media (max-width:1050px){.workspace-grid{grid-template-columns:1fr}.workspace-card{min-height:220px}.buildings-layout{grid-template-columns:1fr}.buildings-sidebar{border-right:0;border-bottom:1px solid var(--line)}.building-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}}@media (max-width:700px){.building-hero{grid-template-columns:54px minmax(0,1fr)}.building-hero-icon{width:54px;height:54px}.building-hero-meta{grid-column:1/-1}.building-hero-actions{grid-column:1/-1;justify-content:stretch}.building-hero-actions .button{flex:1}.building-dashboard-grid{grid-template-columns:1fr}.inspection-timeline-row{grid-template-columns:58px minmax(0,1fr)}.inspection-status,.timeline-count{grid-column:2;justify-self:start}.building-review-grid{grid-template-columns:1fr}.building-review-grid .wide{grid-column:auto}.category-choice-grid{grid-template-columns:1fr}}@media (max-width:900px){.hood-manual-card{grid-template-columns:48px minmax(0,1fr)}.hood-manual-support,.hood-manual-download{grid-column:2;justify-self:start}}.correction-layout{grid-template-columns:280px minmax(0,1fr);width:min(1600px,100%);min-height:calc(100vh - 72px);margin:0 auto;display:grid}.correction-work-area{min-width:0}.login-wrap{place-items:center;min-height:100vh;padding:20px;display:grid}.login-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);width:min(420px,100%);box-shadow:var(--shadow-1);padding:28px}.login-brand{margin-bottom:24px}.login-brand .brand-logo{width:min(210px,46vw);height:80px}.login-button{width:100%;margin-top:18px}.workspace-home{background:radial-gradient(circle at 10% 0%, #116dff21, transparent 34%), var(--bg);min-height:100vh;padding:24px}.workspace-home-header,.section-header{justify-content:space-between;align-items:center;gap:20px;width:min(1180px,100%);margin:0 auto;display:flex}.workspace-brand .brand-logo{width:150px}.workspace-picker{width:min(1040px,100%);margin:clamp(70px,11vh,130px) auto 40px}.workspace-heading{margin-bottom:30px}.workspace-heading h1,.hood-welcome h1{letter-spacing:-.04em;margin:5px 0 8px;font-size:clamp(32px,5vw,52px)}.workspace-heading p,.hood-welcome p{color:var(--muted);margin:0;line-height:1.5}.workspace-eyebrow{color:var(--primary);letter-spacing:.09em;text-transform:uppercase;font-size:12px;font-weight:800}.workspace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.workspace-card{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);min-height:280px;color:var(--ink);box-shadow:var(--shadow-1);cursor:pointer;text-align:left;flex-direction:column;align-items:flex-start;padding:28px;transition:transform .16s,border-color .16s,box-shadow .16s;display:flex}.workspace-card:hover,.workspace-card:focus-visible{border-color:var(--primary);outline:none;transform:translateY(-4px);box-shadow:0 16px 34px #0808081f}.workspace-card strong,.workspace-card small{display:block}.workspace-card strong{margin-top:24px;font-size:24px}.workspace-card small{color:var(--muted);margin-top:9px;font-size:14px;line-height:1.5}.workspace-icon{background:var(--primary-container);width:64px;height:64px;color:var(--primary);border-radius:18px;place-items:center;display:grid}.workspace-card.hood .workspace-icon,.workspace-icon.hood{color:#006b5d;background:#e2f3ef}.workspace-card.buildings .workspace-icon,.workspace-icon.buildings{color:#0b57d0;background:#d8e6ff}.buildings-shell{background:var(--bg)}.buildings-header{z-index:8;position:sticky;top:0}.buildings-layout{grid-template-columns:310px minmax(0,1fr);width:min(1600px,100%);min-height:calc(100vh - 84px);margin:0 auto;display:grid}.buildings-sidebar{background:var(--surface-container-low);border-right:1px solid var(--line);padding:24px 18px}.buildings-sidebar-title{justify-content:space-between;align-items:center;gap:12px;margin:0 6px 18px;display:flex}.buildings-sidebar-title>div{gap:3px;min-width:0;display:grid}.buildings-sidebar-title strong{font-size:19px;display:block}.buildings-sidebar-title small{color:var(--muted);font-size:12px}.building-add-button{background:var(--primary);color:#fff;cursor:pointer;border:0;border-radius:18px;flex:0 0 52px;place-items:center;width:52px;height:52px;transition:transform .16s,box-shadow .16s;display:grid;box-shadow:0 8px 18px #0b57d047}.building-add-button:hover{transform:translateY(-1px);box-shadow:0 11px 24px #0b57d057}.building-add-button:active{transform:scale(.97)}.building-list{gap:7px;margin-top:16px;display:grid}.building-list-item{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border-radius:18px;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;display:grid}.building-list-item:hover{background:var(--surface)}.building-list-item.active{background:var(--primary-container);color:var(--on-primary-container)}.building-list-item strong,.building-list-item small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.building-list-item small{color:var(--muted);margin-top:3px;font-size:12px}.building-avatar{background:var(--surface);width:42px;height:42px;color:var(--primary);border-radius:14px;place-items:center;display:grid}.building-count{background:var(--surface);min-width:28px;height:28px;color:var(--muted);border-radius:14px;place-items:center;font-size:12px;font-weight:800;display:grid}.buildings-content{min-width:0;padding:24px clamp(18px,3vw,42px) 48px}.buildings-content .upload-band{margin-bottom:22px}.building-create-dialog{background:var(--surface);border-radius:30px;width:min(720px,100%);max-height:calc(100vh - 40px);padding:26px;overflow:auto;box-shadow:0 26px 80px #0f172a47}.building-create-head{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.building-create-head h2{letter-spacing:-.025em;margin:4px 0 0;font-size:27px}.building-create-options{gap:12px;display:grid}.building-create-option{border:1px solid var(--line);background:var(--surface-container-low);width:100%;color:var(--ink);text-align:left;cursor:pointer;border-radius:22px;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:15px;padding:18px;transition:background .16s,border-color .16s,transform .16s;display:grid}.building-create-option:hover{background:var(--primary-container);border-color:#a9c7ff;transform:translateY(-1px)}.building-create-option:disabled{opacity:.58;cursor:wait}.building-create-option strong,.building-create-option small{display:block}.building-create-option strong{margin-bottom:5px;font-size:16px}.building-create-option small{color:var(--muted);line-height:1.45}.building-create-icon{background:var(--primary);color:#fff;border-radius:18px;place-items:center;width:54px;height:54px;display:grid}.building-create-status{color:var(--primary);text-align:center;margin:15px 0 0;font-weight:750}.building-report-settings{gap:18px;display:grid}.building-report-settings h3{margin:5px 0 4px;font-size:20px}.building-report-settings p{color:var(--muted);margin:0}.report-setting-toggle{background:var(--primary-container);cursor:pointer;border:1px solid #a9c7ff;border-radius:19px;grid-template-columns:22px minmax(0,1fr) 34px;align-items:center;gap:13px;padding:17px 18px;display:grid}.report-setting-toggle input{width:19px;height:19px;accent-color:var(--primary);cursor:pointer}.report-setting-toggle strong,.report-setting-toggle small{display:block}.report-setting-toggle strong{color:var(--on-primary-container);margin-bottom:4px}.report-setting-toggle small{color:var(--muted);line-height:1.4}.report-setting-toggle>svg{background:var(--primary);color:#fff;opacity:1;border-radius:12px;width:32px;height:32px;padding:7px}.report-setting-toggle:has(input:not(:checked)){border-color:var(--line);background:var(--surface-container-low)}.report-setting-toggle:has(input:not(:checked))>svg{opacity:0}.building-hero{background:linear-gradient(125deg,#e7efff,#f8f9ff 70%);border:1px solid #cbdafb;border-radius:28px;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:20px;padding:clamp(22px,4vw,34px);display:grid}.building-hero-icon{background:var(--primary);color:#fff;border-radius:20px;place-items:center;width:64px;height:64px;display:grid;box-shadow:0 8px 20px #116dff3d}.building-hero h1{letter-spacing:-.035em;margin:4px 0;font-size:clamp(28px,4vw,42px)}.building-hero p{color:var(--muted);margin:0}.building-hero-meta{background:#ffffffbf;border-radius:18px;min-width:140px;padding:14px 18px}.building-hero-meta span,.building-hero-meta strong{display:block}.building-hero-meta span{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;font-size:11px}.building-hero-meta strong{margin-top:5px}.building-hero-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.button.danger.building-delete-button{background:var(--secondary-container);color:var(--muted)}.building-dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;display:grid}.building-dashboard-card{width:100%;min-height:88px;box-shadow:var(--shadow-1);color:var(--primary);font:inherit;text-align:left;cursor:pointer;background:linear-gradient(125deg,#e7efff,#f8f9ff);border:1px solid #cbdafb;border-radius:22px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:20px;transition:transform .16s,box-shadow .16s,background .16s;display:grid}.building-dashboard-card:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 9px 24px #0f172a1f}.building-dashboard-card:active:not(:disabled){background:var(--primary);border-color:var(--primary);color:#fff;transform:translateY(0)scale(.985);box-shadow:0 5px 14px #0b57d040}.building-dashboard-card:active:not(:disabled) span,.building-dashboard-card:active:not(:disabled) strong{color:#fff}.building-dashboard-card:disabled{cursor:default;opacity:.62}.building-dashboard-card span{color:var(--muted);font-size:13px}.building-dashboard-card strong{color:var(--ink);justify-self:end;font-size:30px;line-height:1}.building-dashboard-card.primary{background:var(--primary);border-color:var(--primary);color:#fff}.building-dashboard-card.primary span,.building-dashboard-card.primary strong{color:#fff}.building-modules-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-1);border-radius:24px;margin-bottom:18px;overflow:hidden}.building-module-tabs{border-bottom:1px solid var(--line);background:var(--surface-container-low);flex-wrap:wrap;gap:9px;padding:16px 20px;display:flex}.building-module-chip{background:var(--surface);min-height:42px;color:var(--ink);border:1px solid var(--line);cursor:pointer;border-radius:15px;align-items:center;gap:8px;padding:8px 13px;display:inline-flex}.building-module-chip strong{background:var(--surface-container);border-radius:12px;place-items:center;min-width:24px;height:24px;padding:0 7px;font-size:11px;display:grid}.building-module-chip.active{background:var(--primary);border-color:var(--primary);color:#fff}.building-module-chip.active strong{background:#fff3}.building-inventory-head{justify-content:space-between;align-items:center;gap:12px;padding:17px 22px 10px;display:flex}.building-inventory-head strong,.building-inventory-head span{display:block}.building-inventory-head strong{font-size:18px}.building-inventory-head span{color:var(--muted);margin-top:3px;font-size:12px}.building-inventory-table-wrap{padding:0 16px 18px;overflow-x:auto}.building-inventory-table{border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:17px;width:100%;overflow:hidden}.building-inventory-table th{background:var(--surface-container-low);color:var(--muted);text-align:left;text-transform:uppercase;letter-spacing:.05em;padding:11px 13px;font-size:10px}.building-inventory-table .column-sort{color:inherit;font-size:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer;background:0 0;align-items:center;gap:5px;padding:0;font-weight:800;display:inline-flex}.building-inventory-table .column-sort:hover{color:var(--primary)}.building-inventory-table td{border-top:1px solid var(--line);padding:12px 13px;font-size:13px}.building-inventory-table td small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.building-inventory-table .equipment-code{background:var(--primary-container);color:var(--primary);letter-spacing:.04em;white-space:nowrap;border-radius:9px;padding:6px 9px;font-size:12px;display:inline-flex}.building-inventory-table .equipment-code.has-history{color:#6b2fa0;background:#f2e7ff;box-shadow:inset 0 0 0 1px #d9b8ff}.building-inventory-table .equipment-delete{width:36px;height:36px;color:var(--muted);background:var(--secondary-container)}.equipment-actions{white-space:nowrap;justify-content:flex-end;align-items:center;display:flex;position:relative}.equipment-actions-menu{z-index:20;border:1px solid var(--line);background:var(--surface);border-radius:15px;align-items:center;gap:5px;padding:6px;display:flex;position:absolute;top:50%;right:43px;transform:translateY(-50%);box-shadow:0 8px 24px #08080829}.equipment-actions-menu .icon-button,.equipment-settings{width:36px;height:36px;color:var(--muted);background:var(--secondary-container)}.equipment-actions.open .equipment-settings{color:var(--primary);background:var(--primary-container)}.asset-note-dialog{width:min(680px,100%)}.asset-current-note{color:var(--muted);gap:7px;font-size:12px;font-weight:750;display:grid}.asset-current-note .textarea{min-height:100px}.asset-current-photos{margin-top:14px}.asset-current-photos>strong{margin-bottom:7px;font-size:13px;display:block}.asset-current-photos>div,.asset-history-photos{flex-wrap:wrap;gap:7px;display:flex}.asset-current-photos a,.asset-history-photos a{background:var(--primary-container);color:var(--primary);border-radius:10px;align-items:center;gap:5px;padding:7px 9px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.asset-history{margin-top:20px}.asset-history h3{margin:0 0 10px;font-size:16px}.asset-history-event{border-top:1px solid var(--line);grid-template-columns:12px 1fr;gap:10px;padding:13px 4px;display:grid}.asset-history-dot{background:var(--primary);border-radius:50%;width:10px;height:10px;margin-top:4px}.asset-history-event.deficiency .asset-history-dot{background:var(--danger)}.inspection-log-dialog{width:min(820px,100%);max-height:calc(100vh - 40px);overflow:auto}.inspection-audit-list{border:1px solid var(--line);border-radius:18px;gap:0;margin-top:16px;display:grid;overflow:hidden}.inspection-audit-list article{background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:10px minmax(0,1fr);align-items:start;gap:12px;padding:14px 16px;display:grid}.inspection-audit-list article:last-child{border-bottom:0}.inspection-audit-list strong{font-size:13px;line-height:1.45}.inspection-audit-list p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.45}.inspection-audit-dot{background:var(--primary);border-radius:50%;width:9px;height:9px;margin-top:5px}.asset-history-event.correction .asset-history-dot{background:var(--ok)}.asset-history-event p{margin:4px 0}.asset-history-event small{color:var(--muted)}.asset-history-photos{margin-top:8px}.building-inventory-table th:first-child{width:90px}.building-inventory-table th:last-child{width:52px}.building-inventory-table.inspection-mode th:nth-child(2){width:80px}.building-inventory-table.inspection-mode th:nth-child(5),.building-inventory-table.inspection-mode td:nth-child(5){width:122px;padding-right:4px}.building-inventory-table.inspection-mode th:nth-child(6),.building-inventory-table.inspection-mode td:nth-child(6){padding-left:4px}.building-inventory-table.inspection-mode th:nth-child(6){width:24%}.building-inventory-table tbody tr:hover{background:#f8faff}.building-inventory-table tbody tr.emergency-battery-unit td{background:#f3f7ff;border-top-color:#c7d8f7}.building-inventory-table tbody tr.emergency-battery-unit td:first-child{box-shadow:inset 4px 0 #3975d5}.building-inventory-table tbody tr.emergency-light-head td{color:#596273;background:#fafbfe}.building-inventory-table tbody tr.emergency-light-head td:first-child{padding-left:25px;box-shadow:inset 2px 0 #b5c7e8}.building-inventory-table tbody tr.emergency-light-head .equipment-code{color:#68758a;background:#edf1f8}.emergency-device-label{align-items:center;gap:7px;display:inline-flex}.building-inventory-table td small.emergency-power-warning{color:#b3261e;align-items:center;gap:4px;font-weight:750;display:flex}.emergency-role-options{grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0;display:grid}.emergency-role-options button{border:1px solid var(--line);background:var(--surface-container-low);color:var(--text);text-align:left;cursor:pointer;border-radius:16px;justify-items:start;gap:5px;padding:15px;display:grid}.emergency-role-options button span{color:var(--muted);font-size:11px}.emergency-role-options button.active{border-color:var(--primary);background:var(--primary-container);color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}.building-inventory-table tbody tr.focused-equipment{scroll-margin-block:140px;animation:3s ease-out focus-equipment}.building-inventory-table tbody tr.focused-equipment td{background:#dbe8ff;box-shadow:inset 0 2px #116dff,inset 0 -2px #116dff}.building-inventory-table tbody tr.focused-equipment td:first-child{box-shadow:inset 3px 0 #116dff,inset 0 2px #116dff,inset 0 -2px #116dff}.building-inventory-table tbody tr.focused-equipment td:last-child{box-shadow:inset -3px 0 #116dff,inset 0 2px #116dff,inset 0 -2px #116dff}@keyframes focus-equipment{0%,72%{filter:saturate(1.15)}to{filter:none}}.inventory-status{background:var(--secondary-container);color:var(--on-secondary-container);white-space:nowrap;border-radius:10px;padding:6px 9px;font-size:11px;font-weight:750;display:inline-flex}.building-module-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.inspection-progress-summary{align-items:center;gap:8px;display:flex}.inspection-progress-summary>strong{color:var(--primary);font-size:20px}.inspection-progress-summary>span{color:var(--muted);margin-right:8px;font-size:12px}.inspection-status-buttons{gap:6px;display:flex}.inspection-status-buttons button{background:var(--surface-container);min-width:37px;height:37px;color:var(--muted);cursor:pointer;border-radius:12px;padding:0 8px;font-weight:850}.inspection-status-buttons button.active.ok{color:#075b31;background:#ccebd8}.inspection-status-buttons button.active.deficiency{background:var(--danger-container);color:var(--danger)}.inspection-status-buttons button.active.corrected{color:#0b57d0;background:#d8e6ff;box-shadow:inset 0 0 0 1px #a8c7fa}.inspection-status-buttons button.repaired-ok{background:var(--surface-container);color:#16854d;box-shadow:none}.inspection-status-buttons button:disabled:not(.active){color:#a6abb3;opacity:1;cursor:not-allowed;background:#eceff3}.category-choice-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.category-choice-grid label{border:1px solid var(--line);cursor:pointer;border-radius:16px;grid-template-columns:22px 1fr 20px;align-items:center;gap:8px;min-height:50px;padding:10px 13px;display:grid}.category-choice-grid label.active{background:var(--primary-container);color:var(--on-primary-container);border-color:#a8c7fa}.category-choice-grid label svg{opacity:0}.category-choice-grid label.active svg{opacity:1;color:var(--primary)}.category-choice-grid input{accent-color:var(--primary)}.building-settings-dialog{width:min(760px,100%)}.building-settings-tabs{background:var(--surface-container-low);border-radius:18px;gap:7px;margin:18px 0;padding:5px;display:flex}.building-settings-tabs button{min-height:42px;color:var(--muted);cursor:pointer;background:0 0;border-radius:14px;flex:1;padding:8px 14px;font-weight:750}.building-settings-tabs button.active{background:var(--surface);color:var(--primary);box-shadow:var(--shadow-1)}.building-settings-content{min-height:280px}.building-inspection-settings{gap:12px;display:grid}.building-inspection-settings section{border:1px solid var(--line);background:var(--surface-container-low);border-radius:18px;padding:17px}.building-inspection-settings h3{margin:0 0 5px;font-size:16px}.building-inspection-settings p{color:var(--muted);margin:0 0 13px;font-size:13px}.building-inspection-settings label{vertical-align:bottom;color:var(--muted);gap:6px;margin-right:9px;font-size:12px;font-weight:700;display:inline-grid}.building-inspection-settings label .input{width:120px}.building-inspection-settings .report-setting-toggle{width:100%;color:var(--ink);margin:2px 0 0;display:grid}.report-id-setting{border:1px solid var(--line);background:var(--surface-container-low);border-radius:19px;grid-template-columns:minmax(0,1fr) minmax(190px,245px);align-items:center;gap:16px;padding:17px 18px;display:grid}.report-id-setting strong,.report-id-setting small{display:block}.report-id-setting strong{margin-bottom:4px}.report-id-setting small{color:var(--muted);line-height:1.4}.building-delete-settings .building-delete-button{color:var(--muted)}.building-drive-status{gap:9px;display:grid}.building-drive-status>span{color:var(--ok);align-items:center;gap:7px;display:flex}.building-drive-status>small{color:var(--muted)}.building-drive-status>div{flex-wrap:wrap;gap:8px;display:flex}.building-drive-conflict{background:var(--danger-container);color:var(--on-danger-container);border-radius:13px;align-items:flex-start;gap:8px;margin-top:12px;padding:11px 13px;font-size:12px;font-weight:700;display:flex}.building-deficiency-card{margin-bottom:18px}.building-deficiency-list{padding:8px 16px 16px}.building-deficiency-list article{border-bottom:1px solid var(--line);grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 10px;display:grid}.building-deficiency-list article.deficiency-link{cursor:pointer;border-radius:14px;transition:background .18s,transform .18s}.building-deficiency-list article.deficiency-link:hover{background:var(--surface-container-low);transform:translate(3px)}.building-deficiency-list article.deficiency-link:focus-visible{outline-offset:2px;outline:3px solid #116dff59}.building-deficiency-list article:last-child{border-bottom:0}.deficiency-dot{background:var(--danger);border-radius:50%;width:10px;height:10px}.building-deficiency-list article.corrected .deficiency-dot{background:var(--ok)}.building-deficiency-list p{margin:4px 0}.building-deficiency-list small{color:var(--muted)}.inspection-archive-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-1);border-radius:24px;overflow:hidden}.inspection-archive-head{border-bottom:1px solid var(--line);padding:22px 24px 16px}.collapsible-panel-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.collapsible-panel-head .icon-button{background:var(--surface-container-low);color:var(--primary);flex:none}.inspection-archive-head h2{margin:5px 0 0;font-size:21px}.inspection-timeline{padding:8px 16px 16px}.inspection-timeline-row{border-bottom:1px solid var(--line);grid-template-columns:66px minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:74px;padding:12px 8px;display:grid}.inspection-timeline-row:last-child{border-bottom:0}.inspection-timeline-row.active{background:#f5f8ff}.timeline-actions{gap:7px;display:flex}.timeline-actions .button{min-height:36px;padding:7px 10px;font-size:11px}.timeline-year{background:var(--primary-container);width:56px;height:42px;color:var(--primary);border-radius:14px;place-items:center;font-weight:850;display:grid}.inspection-timeline-row strong,.inspection-timeline-row small{display:block}.inspection-timeline-row small{color:var(--muted);margin-top:4px}.inspection-status{background:var(--tertiary-container);color:var(--on-tertiary-container);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.timeline-count{color:var(--muted);font-size:12px}.building-empty{text-align:center;min-height:180px;color:var(--muted);align-content:center;place-items:center;gap:8px;padding:30px;display:grid}.building-empty.large{border:1px dashed var(--line);background:var(--surface);border-radius:28px;min-height:420px}.building-empty strong{color:var(--ink);font-size:18px}.building-dialog-backdrop{z-index:50;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0f172a73;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.building-dialog{background:var(--surface);border-radius:28px;width:min(650px,100%);max-height:calc(100vh - 40px);padding:30px;overflow:auto;box-shadow:0 24px 70px #00000040}.building-dialog-icon{background:var(--primary-container);width:54px;height:54px;color:var(--primary);border-radius:17px;place-items:center;margin-bottom:18px;display:grid}.building-dialog h2{margin:6px 0 22px;font-size:26px}.building-review-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.building-review-grid label,.building-target{color:var(--muted);gap:7px;font-size:12px;font-weight:700;display:grid}.building-review-grid .wide{grid-column:1/-1}.building-target{margin-top:16px}.building-dialog-note{background:var(--surface-container-low);color:var(--muted);border-radius:14px;padding:12px 14px;font-size:13px}.building-dialog-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.workspace-card-action{color:var(--primary);margin-top:auto;padding-top:28px;font-size:14px;font-weight:800}.section-header{background:var(--surface);border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);width:100%;min-height:84px;margin:0;padding:12px 24px;display:grid}.section-header .brand{text-align:left;grid-area:1/2;justify-self:center;margin:0}.section-header>.button:first-child,.section-header>.button:last-child{grid-area:1/1;justify-self:start}.section-header .hood-header-actions{grid-area:1/3;justify-self:end}.hood-main{width:min(1180px,100%);margin:0 auto;padding:50px 24px}.hood-welcome{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-1);align-items:center;gap:24px;padding:34px;display:flex}.field{gap:7px;display:grid}.input-with-suffix{align-items:stretch;display:flex}.input-with-suffix .input{border-radius:var(--radius-sm) 0 0 var(--radius-sm);min-width:0}.input-with-suffix>span{border:1px solid var(--line);border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--muted);background:#f3f5f8;border-left:0;align-items:center;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.label{color:var(--muted);letter-spacing:0;text-transform:uppercase;font-size:12px;font-weight:700}.input,.select,.textarea{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-height:44px;color:var(--ink);outline:none;padding:10px 12px}.input:focus,.select:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #116dff29}.textarea{resize:vertical;min-height:80px}.input-with-icon{position:relative}.input-with-icon svg{color:var(--muted);position:absolute;top:14px;left:12px}.input-with-icon .input{padding-left:38px}.button{cursor:pointer;white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-weight:700;display:inline-flex}.button.filled{background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow-1)}.button.tonal{background:var(--secondary-container);color:var(--on-secondary-container)}.button.ghost{color:var(--primary);background:0 0}.button.danger{background:var(--danger-container);color:var(--on-danger-container)}.upload-band{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-1);grid-template-columns:minmax(280px,1fr) auto;align-items:center;gap:20px;padding:22px;display:grid}.upload-title{margin:0 0 6px;font-size:24px;font-weight:760}.upload-copy{color:var(--muted);max-width:780px;margin:0;line-height:1.45}.upload-button{min-height:48px;padding:0 22px}.upload-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:inline-flex;position:relative}.upload-popover{z-index:12;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);gap:8px;width:min(360px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 10px);right:0;box-shadow:0 16px 36px #0808082e}.upload-choice{border-radius:var(--radius-sm);background:var(--surface-container-low);color:var(--ink);text-align:left;cursor:pointer;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.upload-choice:hover{background:var(--primary-container)}.upload-choice strong,.upload-choice small{display:block}.upload-choice small{color:var(--muted);margin-top:3px;font-size:12px;line-height:1.35}.upload-cancel{border-radius:var(--radius-sm);min-height:36px;color:var(--primary);cursor:pointer;background:0 0;font-weight:700}.form-error{color:var(--danger);margin:10px 0 0}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;display:grid}.stat{background:var(--surface-container-low);border-radius:var(--radius-md);border:1px solid #0000;padding:16px}.stat strong{font-size:28px;line-height:1.05;display:block}.stat span{color:var(--muted);font-size:13px}.tab-row{justify-content:space-between;align-items:center;gap:12px;margin:18px 0 0;display:flex}.tabs,.tab-actions{background:var(--surface-container);border-radius:999px;gap:4px;padding:4px;display:inline-flex}.tab-actions{background:#eef3ff;margin-left:auto}.tab{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:8px;padding:0 14px;font-weight:700;display:inline-flex}.tab.active{background:var(--primary-container);color:var(--on-primary-container)}.action-tab.documents{color:#003b7a;background:#dce9ff}.action-tab.correct{color:#0b572d;background:#e4f5e8}.action-tab.delete{background:var(--danger-container);color:var(--on-danger-container)}.action-tab:disabled{color:var(--muted);box-shadow:none;background:0 0}.toolbar{background:var(--surface-container-low);border-radius:var(--radius-lg);grid-template-columns:repeat(4,minmax(130px,1fr));align-items:end;gap:10px;margin:18px 0;padding:14px;display:grid}.delete-building{align-self:end}.table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-1);overflow:auto}table{border-collapse:collapse;width:100%;min-width:1040px}th,td{border-bottom:1px solid var(--line);vertical-align:top;text-align:left;padding:12px 14px;font-size:14px}th{color:var(--muted);text-transform:uppercase;background:var(--surface-container-low);letter-spacing:0;font-size:12px}tr:last-child td{border-bottom:0}.pill{background:var(--surface-container);min-height:28px;color:var(--ink);border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.pill.open{background:var(--tertiary-container);color:var(--on-tertiary-container)}.pill.done,.pill.none{color:var(--ok);background:#d9f2df}.pill.blocked{background:var(--danger-container);color:var(--on-danger-container)}.pill.subcontractor{color:#6d28d9;background:#ede9fe}.pill.fixed{color:#174574;background:#d7e3ff}.actions{flex-wrap:wrap;gap:8px;display:flex}.table-sort{color:inherit;font:inherit;font-weight:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;display:inline-flex}.table-sort:hover,.table-sort:focus-visible{color:var(--primary)}.technician-field{align-items:center;gap:8px;min-height:40px;display:flex}.technician-field span{color:var(--muted);text-transform:uppercase;font-size:12px;font-weight:800}.technician-field .input{width:190px;min-height:40px}.icon-button{background:var(--surface-container);width:38px;height:38px;color:var(--ink);cursor:pointer;border-radius:999px;place-items:center;display:grid}.icon-button:hover{background:var(--surface-container-high)}.modal-backdrop{z-index:40;background:#08080875;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.settings-dialog{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:min(520px,100%);max-height:calc(100vh - 40px);padding:22px;overflow-y:auto;box-shadow:0 24px 64px #08080847}.settings-dialog-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.settings-dialog-header h2{margin:0;font-size:22px}.settings-dialog-header p,.settings-security{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.45}.settings-form{gap:16px;margin-top:22px;display:grid}.settings-form h3{margin:0;font-size:16px}.settings-section,.settings-session{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.view-mode-switch{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.settings-session{justify-content:flex-end;display:flex}.mobile-task-view{gap:12px;display:grid}.mobile-sort-bar{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.task-cards{gap:12px;display:grid}.task-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}.task-card summary{cursor:pointer;padding:15px 42px 15px 15px;list-style:none;position:relative}.task-card summary::-webkit-details-marker{display:none}.task-card summary:after{content:"+";color:var(--primary);font-size:22px;position:absolute;top:16px;right:16px}.task-card[open] summary:after{content:"−"}.task-card-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.task-card-location,.task-card-equipment{margin-top:8px}.task-card-equipment{color:var(--muted);font-size:13px}.task-card-details{border-top:1px solid var(--line);background:var(--surface-container-low);gap:14px;padding:15px;display:grid}.task-card-details p{margin:5px 0 0}.task-card-actions .button{flex:140px}.mobile-mode .main{width:min(760px,100%)}.settings-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}.attention{color:#7a5600;vertical-align:text-bottom;margin-left:8px;display:inline-flex}.muted{color:var(--muted);margin-top:4px}.source-line{font-size:12px}.note-cell{min-width:240px}.empty{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--muted);text-align:center;padding:30px}.document-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 18px;display:grid}.document-section{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:var(--shadow-1);padding:14px}.document-section h2{justify-content:space-between;align-items:center;gap:8px;margin:0 0 12px;font-size:16px;display:flex}.document-status{color:var(--ok);background:#d9f2df;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.document-list{gap:10px;display:grid}.document-item{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-container-low);gap:10px;padding:10px;display:grid}.document-empty{color:var(--muted);font-size:14px}.table-footer{border-top:1px solid var(--line);padding:12px}.snackbar{z-index:20;border-radius:var(--radius-sm);color:#fff;background:#322f35;align-items:center;max-width:min(560px,100vw - 32px);min-height:48px;padding:12px 18px;font-weight:700;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #1c1b1f47}.snackbar.warning{background:#4c3a00}.snackbar.error{background:var(--danger)}.hood-shell{background:var(--bg)}.hood-topbar{z-index:15;position:sticky;top:0}.hood-topbar .brand{margin:0}.hood-header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.hood-layout{grid-template-columns:280px minmax(0,1fr);width:min(1600px,100%);min-height:calc(100vh - 84px);margin:0 auto;display:grid}.hood-job-panel{background:var(--surface);border-right:1px solid var(--line);padding:20px 16px}.hood-job-panel-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.hood-job-panel-head strong,.hood-job-panel-head span{display:block}.hood-job-panel-head strong{margin-top:3px;font-size:20px}.hood-job-list{gap:6px;margin-top:12px;display:grid}.hood-job{border-radius:var(--radius-sm);width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;padding:13px}.hood-job:hover{background:var(--surface-container-low)}.hood-job.active{background:var(--primary-container);color:var(--on-primary-container)}.hood-job strong,.hood-job span{display:block}.hood-job span{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.35}.hood-job-empty,.hood-inline-empty{color:var(--muted);text-align:center;padding:18px 10px;font-size:13px}.hood-work-area{min-width:0;padding:28px}.hood-empty-state{text-align:center;align-content:center;place-items:center;min-height:65vh;display:grid}.hood-empty-state h1{margin:20px 0 6px}.hood-empty-state p{color:var(--muted);margin:0 0 22px}.hood-job-title{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:20px;display:flex}.hood-job-title h1{letter-spacing:-.035em;margin:4px 0 0;font-size:clamp(27px,4vw,40px)}.hood-form{gap:14px;display:grid}.hood-block-heading{border-radius:var(--radius-md);color:#173e76;background:#e7f0ff;border:1px solid #bfd4f8;border-left:7px solid #2563eb;align-items:center;gap:16px;margin-top:28px;padding:20px 22px;display:flex;box-shadow:0 5px 16px #2563eb1a}.hood-block-heading:first-child{margin-top:0}.hood-block-heading>span{color:#fff;background:#2563eb;border-radius:50%;flex:0 0 46px;place-items:center;width:46px;height:46px;font-size:20px;font-weight:900;display:grid}.hood-block-heading strong,.hood-block-heading small{display:block}.hood-block-heading strong{font-size:clamp(20px,2.2vw,25px);line-height:1.15}.hood-block-heading small{color:currentColor;opacity:.78;margin-top:5px;font-size:14px;font-weight:650}.hood-block-heading.block-two,.hood-block-heading.block-three,.hood-block-heading.block-four{color:#173e76;background:#e7f0ff;border-color:#bfd4f8 #bfd4f8 #bfd4f8 #2563eb;box-shadow:0 5px 16px #2563eb1a}.hood-block-heading.block-two>span,.hood-block-heading.block-three>span,.hood-block-heading.block-four>span{background:#2563eb}.hood-block-heading.block-five{color:#35383d;background:#e5e7ea;border-color:#c8cbd0 #c8cbd0 #c8cbd0 #62676f;box-shadow:0 5px 16px #373c441a}.hood-block-heading.block-five>span{background:#62676f}.hood-section{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-1);overflow:hidden}.hood-section summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:0 18px;font-weight:800;list-style:none;display:flex}.hood-section summary::-webkit-details-marker{display:none}.hood-section summary span{align-items:center;gap:10px;display:inline-flex}.hood-section[open] summary{border-bottom:1px solid var(--line)}.hood-section[open] summary>svg{transform:rotate(180deg)}.hood-section-job,.hood-section-system{border-color:var(--line);background:#fff}.hood-section-job summary,.hood-section-system summary{color:#164b94;background:#fff}.hood-identification-groups{display:grid}.hood-identification-group+.hood-identification-group{border-top:1px solid #d9dee6}.hood-identification-group-head{padding:17px 18px 0}.hood-identification-group-head strong,.hood-identification-group-head small{display:block}.hood-identification-group-head strong{color:#164b94;font-size:16px}.hood-identification-group-head small{color:var(--muted);margin-top:3px;font-size:12px}.hood-equipment-lines{gap:10px;padding:14px 18px 18px;display:grid}.hood-equipment-line{border-radius:var(--radius-sm);background:#fafbfc;border:1px solid #d9dee6;grid-template-columns:105px repeat(3,minmax(0,1fr));align-items:end;gap:12px;padding:13px;display:grid}.hood-equipment-line>strong{color:#164b94;align-self:center;font-size:14px}.hood-equipment-line.cartouche{grid-template-columns:105px repeat(3,minmax(0,1fr))}.hood-section-notes{background:#eef0f2;border-color:#cfd2d6}.hood-section-notes summary{color:#3f4349;background:#dfe2e5}.hood-section-notes summary small{color:#555a61;background:#fff;border-radius:999px;place-items:center;min-width:25px;padding:3px 7px;font-size:11px;display:inline-grid}.hood-section-notes .hood-fields{background:#eef0f2}.hood-section-notes .textarea{background:#f9fafb;border-color:#c8ccd1}.hood-photo-panel{background:#eef0f2;padding:18px}.hood-photo-head{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.hood-photo-head p{color:#555a61;margin:0;font-size:13px}.hood-photo-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;display:grid}.hood-photo-card{border-radius:var(--radius-md);box-shadow:var(--shadow-1);background:#fff;border:1px solid #c8ccd1;margin:0;overflow:hidden}.hood-photo-card>a{aspect-ratio:4/3;background:#d9dcdf;display:block;overflow:hidden}.hood-photo-card img{object-fit:cover;width:100%;height:100%;display:block}.hood-photo-card figcaption{justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:7px 8px 7px 12px;display:flex}.hood-photo-card figcaption span{color:#44484e;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:750;overflow:hidden}.hood-metric-field .input{color:#164b94;background:#f7f8fa;font-weight:850}.hood-diagram-panel{padding:18px}.hood-diagram-panel>.muted{margin:0 0 12px}.hood-diagram-upload{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.hood-diagram-upload p{margin:0}.hood-diagram-image{justify-items:end;gap:8px;display:grid}.hood-diagram-image a{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;display:block;overflow:hidden}.hood-diagram-image img{object-fit:contain;width:100%;height:auto;max-height:620px;display:block}.hood-diagram-canvas{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:auto}.hood-diagram-canvas svg{width:100%;min-width:620px;max-height:520px;display:block}.hood-diagram-line{stroke:#2563eb;stroke-width:2.5px;fill:none}.hood-diagram-line.frame{stroke:#0f172a;stroke-width:3px}.hood-diagram-shape{stroke:#0f172a;stroke-width:2px;fill:#eff6ff}.hood-diagram-text{fill:#0f172a;text-anchor:middle;dominant-baseline:middle;font:700 14px Arial,sans-serif}.hood-diagram-legend{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.hood-diagram-legend span{background:var(--surface-2);color:var(--text-muted);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700}.hood-fields{gap:14px;padding:18px;display:grid}.hood-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.hood-fields.three{grid-template-columns:repeat(3,minmax(0,1fr))}.hood-fields.four{grid-template-columns:repeat(4,minmax(0,1fr))}.hood-conditional-lines{gap:12px;padding:18px;display:grid}.hood-conditional-line{border-radius:var(--radius-sm);background:var(--surface-container-low);grid-template-columns:minmax(280px,1.2fr) repeat(2,minmax(180px,1fr));align-items:end;gap:12px;padding:12px;display:grid}.hood-textarea{min-height:120px}.hood-switch-field{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-container-low);justify-content:space-between;align-items:center;gap:12px;min-height:67px;padding:10px 12px;display:flex}.hood-switch-field strong,.hood-switch-field small{display:block}.hood-switch-field small{color:var(--muted);margin-top:3px}.hood-switch-field input{width:22px;height:22px;accent-color:var(--primary)}.hood-nozzle-head{justify-content:space-between;align-items:center;gap:12px;padding:10px 18px;display:flex}.hood-nozzle-head strong,.hood-nozzle-head span{display:block}.hood-nozzle-head span{color:var(--muted);margin-top:3px;font-size:12px}.hood-capacity-calculator{border-radius:var(--radius-md);background:linear-gradient(135deg,#e7f0ff,#f8fbff);border:1px solid #bfd4f8;margin:0 18px 16px;padding:18px;box-shadow:0 5px 16px #2563eb1a}.hood-capacity-calculator-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.hood-capacity-calculator-head strong{color:#173e76;margin-top:4px;font-size:18px;display:block}.hood-capacity-results{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px;display:grid}.hood-capacity-results>div{border-radius:var(--radius-md);min-height:86px;box-shadow:var(--shadow-1);text-align:center;background:#fff;align-content:center;justify-items:center;padding:12px;display:grid}.hood-capacity-results small,.hood-capacity-results strong{display:block}.hood-capacity-results small{color:var(--muted);text-transform:uppercase;font-size:11px;font-weight:800}.hood-capacity-results strong{color:var(--primary);margin-top:6px;font-size:24px}.hood-capacity-results .ok strong{color:var(--ok)}.hood-capacity-results .danger strong{color:var(--danger)}.hood-capacity-verdict{border-radius:var(--radius-sm);align-items:center;gap:9px;margin-top:12px;padding:12px 15px;font-weight:800;display:flex}.hood-capacity-verdict.ok{background:var(--ok-container);color:#12613d}.hood-capacity-verdict.danger{background:var(--danger-container);color:var(--danger)}.hood-capacity-warning{color:#8a4b08;margin:10px 0 0;font-size:12px;font-weight:700}.hood-capacity-calculator>.muted{margin:12px 0 0;font-size:11px}.hood-manual-card{border-radius:var(--radius-md);box-shadow:var(--shadow-1);background:linear-gradient(135deg,#eef4ff,#fbfdff);border:1px solid #c7d8f4;grid-template-columns:48px minmax(220px,1fr) auto auto;align-items:center;gap:14px;margin-top:16px;padding:15px 16px;display:grid}.hood-manual-card.unknown{background:var(--surface-container-low);border-color:#d9dee6}.hood-manual-icon{width:48px;height:48px;color:var(--primary);background:#dbe8ff;border-radius:15px;place-items:center;display:grid}.hood-manual-card.unknown .hood-manual-icon{color:var(--muted);background:#e8ebef}.hood-manual-copy strong,.hood-manual-copy small{display:block}.hood-manual-copy strong{color:#173e76;margin-top:3px;font-size:16px}.hood-manual-copy small{max-width:650px;color:var(--muted);margin-top:4px;line-height:1.35}.hood-manual-support{white-space:nowrap;color:#12613d;background:var(--ok-container);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:800}.hood-manual-support.capacity,.hood-manual-support.nozzles{color:#174d92;background:#dbe8ff}.hood-manual-support.manual{color:#805000;background:#fff0c2}.hood-manual-download{white-space:nowrap}.hood-nozzles,.hood-fuses,.hood-appliances{gap:8px;padding:0 18px 18px;display:grid}.hood-appliance-row{border-left:4px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-container-low);grid-template-columns:34px minmax(150px,1fr) 125px minmax(140px,1fr) 120px 90px 38px;align-items:center;gap:8px;padding:8px;display:grid}.hood-appliance-row.changed{background:#fff8eb;border-left-color:#d97706}.hood-compact-check{min-height:42px;color:var(--muted);justify-content:center;align-items:center;gap:6px;font-size:11px;font-weight:800;display:flex}.hood-compact-check input{width:19px;height:19px;accent-color:var(--primary)}.hood-nozzle-row{grid-template-columns:34px minmax(110px,.55fr) 72px auto minmax(95px,.45fr) minmax(160px,1fr) 38px;align-items:center;gap:8px;display:grid}.hood-fuse-row{grid-template-columns:34px 150px minmax(220px,1fr) 38px;align-items:center;gap:8px;display:grid}.hood-nozzle-number{background:var(--surface-container);border-radius:50%;place-items:center;width:30px;height:30px;font-size:12px;font-weight:800;display:grid}.hood-local-options{border:1px dashed var(--line);border-radius:var(--radius-md);margin:0 18px 18px}.hood-local-options>summary{cursor:pointer;padding:12px 14px;font-size:13px;font-weight:800}.hood-local-options .hood-option-settings{border-radius:0 0 var(--radius-md) var(--radius-md)}.hood-modal-backdrop{z-index:40;background:#00000075;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.hood-reference-modal{border-radius:var(--radius-lg);background:var(--surface);width:min(1050px,100%);max-height:calc(100vh - 48px);padding:24px;overflow:auto;box-shadow:0 24px 70px #00000047}.hood-previous-modal{border-radius:var(--radius-lg);background:var(--surface);width:min(760px,100%);max-height:calc(100vh - 48px);padding:24px;overflow:auto;box-shadow:0 24px 70px #00000047}.hood-reference-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.hood-reference-head h2{margin:4px 0 0;font-size:28px}.hood-settings-menu{border-radius:var(--radius-md);background:var(--surface-container-low);gap:8px;margin-top:18px;padding:5px;display:flex;overflow-x:auto}.hood-settings-menu button{border-radius:var(--radius-sm);min-height:42px;color:var(--muted);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0 17px;font-size:13px;font-weight:800}.hood-settings-menu button:hover{background:var(--surface);color:var(--text)}.hood-settings-menu button.active{background:var(--surface);color:var(--primary);box-shadow:0 2px 8px #00000014}.hood-reference-columns,.hood-reference-edit{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px;display:grid}.hood-reference-edit.single{display:block}.hood-reference-edit.single .hood-textarea{min-height:460px}.hood-reference-edit.single>p{margin:10px 0 0}.hood-settings-lists{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px;display:grid}.hood-option-settings{border-radius:var(--radius-md);background:var(--surface-container-low);padding:18px}.hood-option-settings h3{margin:0 0 12px}.hood-option-list{gap:8px;display:grid}.hood-option-row,.hood-option-add{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.hood-option-add{margin-top:12px}.hood-reference-columns>div{border-radius:var(--radius-md);background:var(--surface-container-low);padding:18px}.hood-reference-columns h3{margin:0 0 14px}.hood-checklist{gap:10px;display:grid}.hood-checklist label{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:9px;font-size:14px;line-height:1.4;display:grid}.hood-checklist input{width:18px;height:18px;accent-color:var(--primary)}.hood-reference-edit .hood-textarea{min-height:420px}.hood-reference-edit .actions{grid-column:1/-1}.hood-edit-reference{margin-top:20px}.hood-settings-actions{justify-content:flex-end;margin-top:18px}.hood-previous-values{gap:7px;max-height:390px;padding:12px 18px 18px;display:grid;overflow:auto}.hood-previous-values>div{border-radius:var(--radius-sm);background:var(--surface-container-low);grid-template-columns:30px minmax(0,1fr);align-items:start;gap:10px;padding:9px 11px;display:grid}.hood-previous-values>div>span{background:var(--surface-container);border-radius:50%;place-items:center;width:24px;height:24px;font-size:11px;font-weight:800;display:grid}.hood-previous-values p{margin:2px 0 0;font-size:13px;line-height:1.4}.hood-compliance-head{justify-content:space-between;align-items:center;gap:16px;padding:14px 18px 10px;display:flex}.hood-compliance-head p{color:var(--muted);margin:0;font-size:13px}.hood-compliance-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.hood-compliance-list,.hood-deficiencies{gap:8px;padding:0 18px 18px;display:grid}.hood-check-group{gap:8px;display:grid}.hood-check-group+.hood-check-group{border-top:1px solid var(--line);margin-top:10px;padding-top:16px}.hood-check-group-title{color:var(--text);align-items:center;gap:8px;padding:2px 4px;display:flex}.hood-check-group-title span{background:var(--primary-container);min-width:24px;height:24px;color:var(--primary);border-radius:999px;place-items:center;padding:0 7px;font-size:11px;font-weight:800;display:grid}.hood-compliance-row{border-left:4px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-container-low);grid-template-columns:46px minmax(240px,1.4fr) minmax(180px,1fr) 38px;align-items:center;gap:8px;padding:8px;display:grid}.hood-comment-field{min-width:0;position:relative}.hood-comment-field .input{width:100%;padding-right:42px}.hood-clear-comment{color:#1859a9;cursor:pointer;background:#e8f1ff;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:5px;right:5px}.hood-clear-comment:hover{background:#d5e6ff}.hood-clear-comment:disabled{opacity:.35;cursor:default}.hood-compliance-row.conform{border-left-color:var(--ok)}.hood-compliance-row.nonconform{border-left-color:var(--danger);background:#fff4f2}.hood-compliance-row.na{border-left-color:var(--muted)}.hood-check-control{color:var(--muted);place-items:center;gap:2px;font-size:10px;font-weight:800;display:grid}.hood-check-control input{width:20px;height:20px;accent-color:var(--primary)}.hood-check-control.number-only span{background:var(--surface-container);border-radius:50%;place-items:center;width:26px;height:26px;font-size:11px;display:grid}.hood-conclusion-content{grid-template-columns:minmax(0,2fr) minmax(220px,.7fr);align-items:stretch;gap:18px;padding:22px;display:grid}.hood-conformity-result{border-radius:var(--radius-md);border:2px solid;align-items:center;gap:20px;min-height:145px;padding:22px 24px;display:flex}.hood-conformity-result.conform{color:#12613d;background:linear-gradient(135deg,#eaf9f1,#f8fffb);border-color:#60b98a}.hood-conformity-result.nonconform{color:#9b2924;background:linear-gradient(135deg,#fff0ee,#fff9f8);border-color:#e17770}.hood-conformity-icon{background:currentColor;border-radius:50%;flex:0 0 62px;place-items:center;width:62px;height:62px;display:grid}.hood-conformity-icon svg{color:#fff}.hood-conformity-result small,.hood-conformity-result strong{display:block}.hood-conformity-result small{letter-spacing:.04em;text-transform:uppercase;opacity:.75;margin-bottom:5px;font-size:13px;font-weight:800}.hood-conformity-result strong{letter-spacing:-.025em;font-size:clamp(24px,3vw,34px);line-height:1.08}.hood-conformity-result p{color:currentColor;opacity:.82;margin:9px 0 0;font-size:15px;font-weight:650}.hood-conclusion-content>.field{align-self:center}.hood-deficiency-row{border-radius:var(--radius-sm);background:var(--danger-container);grid-template-columns:34px minmax(220px,1.2fr) minmax(140px,.8fr) minmax(220px,1.2fr) 140px 38px;align-items:center;gap:8px;padding:8px;display:grid}.hood-dev-section{border-radius:var(--radius-md);background:#f8f5ff;border:1px dashed #aab6ca;grid-template-columns:240px minmax(0,1fr);gap:18px;margin-top:22px;padding:18px;display:grid}.hood-dev-section h3{margin:3px 0 6px}.hood-dev-section p{color:var(--muted);margin:0;font-size:13px;line-height:1.4}.hood-dev-section .textarea{min-height:140px}@media (max-width:1180px){.topbar{grid-template-columns:1fr auto}.topbar-search{grid-area:2/1/auto/-1}.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.hood-header-actions{margin-left:0}.hood-fields.three{grid-template-columns:repeat(2,minmax(0,1fr))}.hood-compliance-row{grid-template-columns:46px minmax(220px,1fr) minmax(180px,1fr) 38px}.hood-conditional-line{grid-template-columns:repeat(2,minmax(0,1fr))}.hood-conditional-line .hood-switch-field{grid-column:1/-1}.hood-appliance-row{grid-template-columns:34px minmax(160px,1fr) 120px minmax(140px,1fr) 100px 38px}.hood-appliance-row .hood-compact-check{grid-column:2/6;justify-content:flex-start}.hood-deficiency-row{grid-template-columns:34px minmax(180px,1fr) 140px 38px}.hood-deficiency-row>.input:nth-of-type(3){grid-column:2/4}.delete-building{justify-self:start}}@media (max-width:760px){.topbar{grid-template-columns:1fr;align-items:flex-start;padding:14px}.topbar-search{width:100%}.main{padding:14px}.workspace-home{padding:16px}.workspace-home-header{align-items:flex-start}.workspace-brand .brand-title,.workspace-brand .brand-subtitle{display:none}.workspace-picker{margin-top:70px}.workspace-grid{grid-template-columns:1fr}.workspace-card{min-height:240px}.section-header{padding:12px 14px}.section-header .brand-title,.section-header .brand-subtitle{display:none}.hood-main{padding:24px 14px}.hood-welcome{flex-direction:column;align-items:flex-start;padding:24px}.hood-topbar .brand{display:flex}.hood-topbar .hood-header-actions{grid-area:2/1/auto/-1;justify-self:stretch}.hood-header-actions{justify-content:stretch;width:100%}.hood-header-actions>.button,.hood-header-actions .upload-actions,.hood-header-actions .upload-actions>.button{flex:1;width:100%}.hood-layout,.correction-layout{display:block}.hood-job-panel{border-right:0;border-bottom:1px solid var(--line)}.hood-job-list{grid-auto-columns:minmax(220px,75vw);grid-auto-flow:column;overflow-x:auto}.hood-work-area{padding:18px 14px}.hood-job-title{flex-direction:column;align-items:stretch}.hood-job-title .actions,.hood-job-title .button{width:100%}.hood-block-heading{padding:17px 15px}.hood-block-heading>span{flex-basis:40px;width:40px;height:40px;font-size:18px}.hood-conclusion-content{grid-template-columns:1fr;padding:14px}.hood-conformity-result{align-items:flex-start;min-height:0;padding:19px 16px}.hood-conformity-icon{flex-basis:50px;width:50px;height:50px}.hood-photo-head{flex-direction:column;align-items:stretch}.hood-photo-head .button{width:100%}.hood-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.hood-equipment-line{grid-template-columns:1fr}.hood-equipment-line>strong{border-bottom:1px solid #d9dee6;padding-bottom:8px}.hood-fields.two,.hood-fields.three,.hood-fields.four,.hood-reference-columns,.hood-reference-edit,.hood-settings-lists,.hood-conditional-line{grid-template-columns:1fr}.hood-nozzle-head{flex-direction:column;align-items:stretch}.hood-nozzle-row{grid-template-columns:30px minmax(0,1fr) 72px 38px}.hood-nozzle-row>span:nth-of-type(2){display:none}.hood-nozzle-row>.hood-nozzle-reference{grid-area:2/2/auto/-1}.hood-nozzle-row>.select{grid-area:3/2/auto/-1}.hood-nozzle-row>.icon-button{grid-area:1/4}.hood-fuse-row{grid-template-columns:30px minmax(0,1fr) 38px}.hood-fuse-row>.input{grid-area:2/2/auto/-1}.hood-fuse-row>.icon-button{grid-area:1/3}.hood-appliance-row{grid-template-columns:30px minmax(0,1fr) 38px}.hood-appliance-row>.select,.hood-appliance-row>.input,.hood-appliance-row .hood-compact-check{grid-column:2/-1}.hood-appliance-row>.icon-button{grid-area:1/3}.hood-modal-backdrop{padding:0}.hood-reference-modal,.hood-previous-modal{border-radius:0;min-height:100vh;max-height:100vh;padding:20px 14px}.hood-compliance-head{flex-direction:column;align-items:stretch}.hood-compliance-row{grid-template-columns:38px minmax(0,1fr) 38px}.hood-compliance-row>.input:nth-of-type(2){grid-column:2/3}.hood-deficiency-row{grid-template-columns:30px minmax(0,1fr) 38px}.hood-deficiency-row>.input,.hood-deficiency-row>.select{grid-column:2/3}.hood-dev-section,.upload-band,.document-panel,.toolbar,.stats{grid-template-columns:1fr}.upload-actions,.upload-button,.delete-building{width:100%}.upload-popover{width:100%;left:0;right:auto}.technician-field,.technician-field .input{width:100%}.tab-row{flex-direction:column;align-items:stretch}.tabs,.tab-actions{width:100%;overflow-x:auto}.tab{flex:1 0 auto}.brand-subtitle{display:none}.brand-logo{width:136px;height:52px}}
