@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--background:0 0% 100%;--foreground:240 10% 3.9%;--card:0 0% 100%;--card-foreground:240 10% 3.9%;--muted:240 4.8% 95.9%;--muted-foreground:240 3.8% 46.1%;--accent:240 4.8% 95.9%;--accent-foreground:240 5.9% 10%;--border:240 5.9% 90%;--input:240 5.9% 90%;--ring:240 5% 64.9%;--destructive:0 84.2% 60.2%;--success:152 55% 30%;--success-soft:150 45% 95%;--warning:35 90% 34%;--warning-soft:45 95% 93%;--ai:258 50% 44%;--ai-soft:258 60% 96.5%;--sidebar:0 0% 7%;--sidebar-foreground:0 0% 98%;--radius:.5rem;--radius-lg:.75rem;--radius-sm:6px;--radius-xs:4px;--shadow-xs:0 1px 2px #18181b0d;--shadow-sm:0 1px 3px #18181b14, 0 1px 2px #18181b0d;font-family:Inter Variable,Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.section-label{color:hsl(var(--muted-foreground));letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:500}*{box-sizing:border-box}b,strong{font-weight:600}html{background:hsl(var(--muted))}body{min-width:320px;color:hsl(var(--foreground));background:hsl(var(--muted));margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select{letter-spacing:0}.auth-shell{background:hsl(var(--background));place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));width:min(100%,420px);color:hsl(var(--card-foreground));gap:18px;padding:24px;display:grid;box-shadow:0 1px 2px #0000000f}.auth-card h2{letter-spacing:0;margin:0;font-size:24px;line-height:1.15}.auth-card dl{gap:12px;margin:0;display:grid}.auth-card dt{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:12px;font-weight:500}.auth-card dd{overflow-wrap:anywhere;margin:2px 0 0;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.auth-card-header{align-items:center;gap:12px;display:flex}.auth-card-header-branded{flex-direction:column;align-items:flex-start;gap:14px}.auth-logo{width:auto;max-width:100%;height:40px;display:block}.auth-icon,.brand-mark,.metric-icon{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));width:38px;height:38px;color:hsl(var(--foreground));place-items:center;display:inline-grid}.auth-copy{color:hsl(var(--muted-foreground));margin:0;font-size:14px;line-height:1.5}.auth-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.eyebrow{color:hsl(var(--muted-foreground));letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:12px;font-weight:500}.app-shell{background:hsl(var(--muted));grid-template-columns:280px minmax(0,1fr);align-items:start;min-height:100vh;display:grid}.sidebar{border-right:1px solid hsl(var(--border));background:hsl(var(--background));overscroll-behavior:contain;flex-direction:column;align-self:start;height:100vh;min-height:0;padding:16px;display:flex;position:sticky;top:0;overflow-y:auto}.app-shell.sidebar-collapsed{grid-template-columns:82px minmax(0,1fr)}.brand-lockup{align-items:center;gap:12px;min-height:58px;padding:0 4px 14px;display:flex}.brand-copy{min-width:0}.brand-logo{width:auto;display:block}.brand-logo-full{max-width:190px;height:30px}.brand-logo-symbol{height:30px;display:none}.sidebar-toggle{flex:none;margin-left:auto}.brand-lockup strong,.brand-lockup span{display:block}.brand-lockup strong{font-size:15px}.brand-lockup span{color:hsl(var(--muted-foreground));margin-top:2px;font-size:13px}.nav-list{border-top:1px solid hsl(var(--border));gap:5px;padding-top:10px;display:grid}.nav-button{border-radius:var(--radius);width:100%;min-height:40px;color:hsl(var(--muted-foreground));text-align:left;background:0 0;border:1px solid #0000;align-items:center;gap:10px;padding:0 11px;font-size:14px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s,transform .15s,box-shadow .15s;display:flex;position:relative}.nav-button svg{flex:none;transition:transform .15s}.nav-button-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-button:hover{background:hsl(var(--accent));border-color:hsl(var(--border));color:hsl(var(--accent-foreground));transform:translate(1px)}.nav-button.active{background:hsl(var(--foreground));border-color:hsl(var(--foreground));color:hsl(var(--background));box-shadow:0 1px 2px #0000001f}.nav-button.active:before{background:hsl(var(--background));content:"";border-radius:999px;width:3px;height:18px;position:absolute;left:6px}.nav-button.active svg{margin-left:7px}.sidebar-collapsed .sidebar{padding:16px 12px}.sidebar-collapsed .brand-lockup{justify-items:center;gap:8px;padding-inline:0;display:grid}.sidebar-collapsed .brand-copy,.sidebar-collapsed .brand-logo-full,.sidebar-collapsed .nav-button-label,.sidebar-collapsed .sidebar-footer-label{display:none}.sidebar-collapsed .brand-logo-symbol{display:block}.sidebar-collapsed .brand-mark,.sidebar-collapsed .sidebar-toggle{margin:0}.sidebar-collapsed .nav-button{justify-content:center;padding:0}.sidebar-collapsed .nav-button.active:before{left:4px}.sidebar-collapsed .nav-button.active svg{margin-left:0}.sidebar-collapsed .sidebar-footer{justify-content:center}.sidebar-collapsed .workspace{padding-left:24px}.sidebar-footer{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:16px;font-size:13px;display:flex}.sidebar-footer span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.workspace{--workspace-content-height:calc(100vh - 96px);min-width:0;padding:22px 24px}.workspace.project-workspace-mode{background:hsl(var(--background));--workspace-content-height:100vh;min-height:100vh;padding:0}.project-workspace-mode>.view-stack{gap:0;min-height:100vh}.workspace-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;display:flex}.workspace-header h1{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:650;line-height:1.1}.header-actions{align-items:center;gap:10px;display:flex}.primary-button,.secondary-button,.ghost-button,.icon-button{border-radius:var(--radius);white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 14px;font-size:14px;font-weight:500;transition:background-color .14s,border-color .14s,color .14s;display:inline-flex}.full-width-button{width:100%}.telegram-actions{gap:8px;display:grid}.primary-button{border:1px solid hsl(var(--foreground));background:hsl(var(--foreground));color:hsl(var(--background));box-shadow:var(--shadow-xs)}.primary-button:hover{border-color:hsl(var(--foreground) / .9);background:hsl(var(--foreground) / .9)}.secondary-button{background:hsl(var(--muted));color:hsl(var(--foreground));border:1px solid #0000}.secondary-button:hover{background:hsl(var(--muted) / .7)}.ghost-button,.icon-button{border:1px solid hsl(var(--input));background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:var(--shadow-xs)}.ghost-button:hover,.icon-button:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.icon-button{width:36px;padding:0}.surface{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-lg);color:hsl(var(--card-foreground));box-shadow:var(--shadow-xs)}.grid{display:grid}.metrics-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.metric-card{border-left:1px solid hsl(var(--border));align-content:center;gap:8px;min-width:0;min-height:116px;padding:0 16px;display:grid}.metric-card span{color:hsl(var(--muted-foreground));letter-spacing:.05em;text-transform:uppercase;font-size:11px;font-weight:500}.metric-card strong{letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:650;line-height:1}.metric-card small{color:hsl(var(--muted-foreground));font-size:11px}.context-bar{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:0;display:grid}.admin-filter-bar{grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(150px,.8fr) minmax(120px,.58fr) minmax(140px,.66fr) minmax(142px,.58fr);align-items:end;gap:10px;min-width:0;display:grid}.quick-actions,.section-heading,.card-row,.detail-header,.timeline-meta{align-items:center;display:flex}.quick-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px}.view-stack{align-content:start;gap:14px;display:grid}.overview-export-actions.compact .ghost-button{min-height:30px;padding:0 10px}.section-heading{justify-content:space-between;gap:14px}.section-heading h2{font-size:20px;line-height:1.2}.muted-text{color:hsl(var(--muted-foreground));margin:6px 0 0;font-size:14px;line-height:1.5}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.status-tile{border-radius:var(--radius);background:hsl(var(--muted) / .6);gap:4px;min-width:0;padding:10px 12px;display:grid}.status-tile span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.status-tile strong{overflow-wrap:anywhere;font-size:16px}.button-count{border:1px solid hsl(var(--border));min-width:22px;height:22px;color:hsl(var(--muted-foreground));border-radius:999px;place-items:center;font-size:12px;display:inline-grid}.panel-header-actions{align-items:center;gap:8px;display:flex}.project-status-select .status-dot.success{background:hsl(var(--success))}.project-status-select .status-dot.attention{background:hsl(var(--warning))}.project-status-select .status-dot.danger{background:hsl(var(--destructive))}.form-error{border:1px solid hsl(var(--destructive) / .35);border-radius:var(--radius);background:hsl(var(--destructive) / .06);color:hsl(var(--destructive));padding:10px 12px;font-size:13px;font-weight:500}.compact-site-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card-row,.detail-header{justify-content:space-between;gap:12px}.compact-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;display:grid}.compact-facts dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.compact-facts dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:14px}.timeline-panel{grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.detail-panel{grid-template-rows:auto auto minmax(0,1fr);gap:12px;min-height:0;max-height:100%;padding:14px;display:grid}.list-stack{gap:8px;padding:12px;display:grid}.compact-empty{color:hsl(var(--muted-foreground));padding:18px 16px;font-size:14px;font-weight:500}.tabs-surface{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tab-button,.pill{border:1px solid hsl(var(--border));background:hsl(var(--background));min-height:30px;color:hsl(var(--muted-foreground));border-radius:999px;justify-content:center;align-items:center;padding:0 10px;font-size:12px;font-weight:500;display:inline-flex}.tab-button.active{border-color:hsl(var(--foreground));background:hsl(var(--foreground));color:hsl(var(--background))}.tab-count{background:hsl(var(--muted));min-width:18px;height:18px;color:hsl(var(--foreground));border-radius:999px;place-items:center;margin-left:6px;font-size:11px;line-height:1;display:inline-grid}.tab-button.active .tab-count{background:hsl(var(--background))}.person-flow-group .timeline-item+.timeline-item{border-top:1px solid hsl(var(--border))}.pill.success{color:#126e34;background:#e7f8ed;border-color:#bae8cb}.pill.danger{border-color:hsl(var(--destructive) / .3);background:hsl(var(--destructive) / .08);color:hsl(var(--destructive))}.settings-grid{grid-template-columns:minmax(280px,520px);align-items:start;gap:14px;display:grid}.settings-panel{gap:14px;padding:16px;display:grid}.settings-panel h2{margin:0;font-size:18px;line-height:1.2}.settings-actions{flex-wrap:wrap;gap:8px;display:flex}.settings-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.settings-facts div{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--muted));padding:10px}.settings-facts dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.settings-facts dd{margin:4px 0 0;font-size:18px;font-weight:500}.panel-title-stack{gap:2px;display:grid}.panel-title-stack p{color:hsl(var(--muted-foreground));margin:0;font-size:13px}.inline-select{color:hsl(var(--muted-foreground));align-items:center;gap:8px;font-size:12px;font-weight:500;display:flex}.inline-select select{border:1px solid hsl(var(--border));background:hsl(var(--background));min-width:150px;min-height:32px;color:hsl(var(--foreground));border-radius:999px;padding:0 32px 0 10px;font-size:13px;font-weight:500}.panel-count{background:hsl(var(--muted) / .6);min-width:22px;height:22px;color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;border-radius:999px;place-items:center;padding:0 7px;font-size:12px;font-weight:500;display:inline-grid}.project-module-nav .tab-button.active{color:hsl(var(--foreground));background:0 0}.project-module-nav .tab-button.active:after{background:hsl(var(--foreground))}.ghost-button.icon-only{padding-inline:8px}.section-kicker{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;margin-bottom:3px;font-size:10px;font-weight:700;display:block}.weekly-cost-legend .planned,.bar-pair .planned{background:hsl(var(--muted-foreground) / .32)}.weekly-cost-legend .actual,.bar-pair .actual{background:hsl(var(--foreground))}.bar-pair{justify-content:center;align-items:flex-end;gap:3px;height:100%;display:flex}.bar-pair i{border-radius:2px 2px 0 0;width:min(12px,38%);min-height:2px;display:block}@keyframes invoice-parsing-spin{to{transform:rotate(360deg)}}.project-workspace{grid-template-columns:1fr;align-items:start;gap:0;min-height:0;display:grid}.project-command-bar{z-index:20;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background) / .97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);justify-content:space-between;align-items:center;gap:18px;min-height:58px;padding:8px 24px;display:flex;position:sticky;top:0}.project-identity{flex:1;align-items:center;gap:14px;min-width:0;display:flex}.project-identity-switcher{border-radius:var(--radius-sm);cursor:pointer;gap:1px;min-width:0;max-width:480px;margin-left:-8px;padding:4px 8px;display:grid;position:relative}.project-identity-switcher:hover{background:hsl(var(--muted) / .7)}.project-identity-name{align-items:center;gap:6px;min-width:0;display:flex}.project-identity-name strong{text-overflow:ellipsis;white-space:nowrap;letter-spacing:-.01em;font-size:15px;font-weight:650;overflow:hidden}.project-identity-name svg{color:hsl(var(--muted-foreground));flex:none}.project-identity-meta{text-overflow:ellipsis;white-space:nowrap;color:hsl(var(--muted-foreground));font-size:12px;overflow:hidden}.project-identity-switcher select{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.project-identity-switcher select:focus-visible+*{outline:2px solid hsl(var(--ring))}.project-identity-status{flex:none;align-items:center;gap:8px;display:flex}.project-command-actions{flex:none;justify-content:flex-end;align-items:center;gap:8px;display:flex}.project-command-menu{position:relative}.project-command-menu-list{z-index:30;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));min-width:180px;padding:5px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 24px #18181b1f}.project-command-menu-list button{border-radius:var(--radius-sm);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:9px;padding:8px 10px;font-size:13px;display:flex}.project-command-menu-list button:hover{background:hsl(var(--muted) / .7)}.project-command-menu-list button svg{color:hsl(var(--muted-foreground))}.project-status-confirm.floating{z-index:30;margin:0;position:absolute;top:calc(100% + 8px);left:24px;right:24px;box-shadow:0 10px 30px #18181b24}.project-context-bar{grid-template-columns:minmax(280px,1fr) auto auto;align-items:end;gap:10px;padding:14px 16px;display:grid}.project-context-actions{flex-wrap:wrap;justify-content:flex-end}.project-select-field{gap:6px;min-width:0;display:grid}.project-select-field span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.project-select-field select{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;min-height:36px;color:hsl(var(--foreground));font:inherit;box-shadow:var(--shadow-xs);padding:0 38px 0 12px;font-weight:500}.project-list-panel{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.project-picker-list{gap:8px;min-height:0;max-height:min(560px,100vh - 250px);padding:12px;display:grid;overflow-y:auto}.project-picker-row{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));width:100%;color:inherit;text-align:left;gap:4px;padding:12px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.project-picker-row:hover,.project-picker-row:focus-visible{border-color:hsl(var(--ring));background:hsl(var(--muted) / .35);box-shadow:var(--shadow-sm)}.project-picker-row.active{border-color:hsl(var(--foreground));box-shadow:inset 3px 0 0 hsl(var(--foreground))}.project-picker-row strong,.project-picker-row span,.project-picker-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.project-picker-row strong{font-size:15px}.project-picker-row span,.project-picker-row small{color:hsl(var(--muted-foreground));font-weight:500}.project-picker-row small{font-size:12px}.project-detail-panel{background:hsl(var(--background));align-content:start;gap:0;min-width:0;padding:0;display:grid}.project-detail-hero{justify-content:space-between;align-items:center;gap:16px;min-width:0;padding:18px 24px 14px;display:flex}.project-title-stack{gap:8px;min-width:0;display:grid}.project-badge-row,.project-detail-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.project-status-select{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .5);border-radius:999px;align-items:center;gap:7px;min-height:32px;padding:0 10px 0 12px;display:inline-flex}.project-status-select .status-dot{background:hsl(var(--muted-foreground));border-radius:999px;flex:none;width:8px;height:8px}.project-status-select select{color:hsl(var(--foreground));font:inherit;cursor:pointer;background:0 0;border:0;padding:0 2px;font-size:13px;font-weight:500}.project-status-select select:focus{outline:none}.project-gate-hint{border-radius:var(--radius);background:hsl(var(--warning-soft));color:hsl(var(--warning));align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:13px;display:inline-flex}.project-status-control{gap:6px;margin-bottom:4px;display:grid}.project-status-confirm{border:1px solid hsl(var(--ai) / .3);border-radius:var(--radius);background:hsl(var(--ai-soft));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:2px;padding:10px 12px;font-size:13px;line-height:1.4;display:flex}.project-status-confirm-actions{align-items:center;gap:8px;display:flex}.project-detail-actions{justify-content:flex-end}.project-detail-hero h2{overflow-wrap:anywhere;letter-spacing:0;margin:0;font-size:24px;font-weight:650;line-height:1.2}.project-detail-hero p{color:hsl(var(--muted-foreground));margin:6px 0 0;font-weight:500}.project-detail-section{border-top:1px solid hsl(var(--border));gap:8px;padding-top:10px;display:grid}.project-detail-section h3{margin:0;font-size:15px}.project-section-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.project-section-heading small{color:hsl(var(--muted-foreground));font-weight:500}.project-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 20px;display:grid}.project-overview-fact{border-top:1px solid hsl(var(--border));gap:4px;min-width:0;padding:10px 12px 0 0;display:grid}.project-overview-fact dt{color:hsl(var(--muted-foreground));letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:6px;font-size:11px;font-weight:500;display:flex}.project-overview-fact dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:14px;font-weight:500}.project-focus-section{margin-top:16px}.project-focus-count{color:hsl(var(--muted-foreground));font-size:12px;font-weight:600}.project-focus-list{margin:0;padding:0;list-style:none;display:grid}.project-focus-list li{border-top:1px solid hsl(var(--border));grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:8px 0;display:grid}.project-focus-icon{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);width:28px;height:28px;color:hsl(var(--muted-foreground));place-items:center;display:grid}.project-focus-icon.risk{border-color:hsl(var(--warning) / .4);background:hsl(var(--warning-soft));color:hsl(var(--warning))}.project-focus-main,.project-focus-meta{gap:2px;min-width:0;display:grid}.project-focus-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;font-weight:600;overflow:hidden}.project-focus-main small,.project-focus-meta{color:hsl(var(--muted-foreground));font-size:11.5px}.project-focus-action{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:9.5px;font-weight:650}.project-focus-meta{text-align:right;justify-items:end}@media (width<=720px){.project-focus-list li{grid-template-columns:30px minmax(0,1fr)}.project-focus-meta{text-align:left;grid-column:2;grid-auto-flow:column;justify-content:start;justify-items:start}}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.project-card{gap:12px;padding:14px;display:grid}.project-card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.project-card-title{min-width:0}.project-card p{color:hsl(var(--muted-foreground));margin:4px 0 0;font-size:14px}.project-card-action{flex:none;min-height:34px;padding:0 10px;font-size:13px}.project-description{line-height:1.45}.site-started-prompt{border:1px solid hsl(var(--ai) / .3);border-radius:var(--radius);background:hsl(var(--ai-soft));color:hsl(var(--ai));grid-column:1/-1;margin:0;padding:9px 13px;font-size:12.5px}.project-fields-edit{gap:14px;display:grid}.project-fields-edit textarea{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);background:hsl(var(--background));font:inherit;resize:vertical;padding:8px 10px;font-size:13px}.project-fields-edit>.field>span{color:hsl(var(--muted-foreground));font-size:11.5px;font-weight:500}.project-site-list{gap:8px;display:grid}.project-site-list small{color:hsl(var(--muted-foreground));font-weight:500}.project-site-row{grid-template-columns:minmax(180px,.85fr) minmax(260px,1.35fr) auto;align-items:center;gap:12px;min-width:0;display:grid}.project-site-main{gap:3px;min-width:0;display:grid}.project-site-main span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.project-site-main small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.project-site-party-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;margin:0;display:grid}.project-site-party-facts dt{color:hsl(var(--muted-foreground));font-size:11px;font-weight:500}.project-site-party-facts dd{color:hsl(var(--foreground));text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12px;font-weight:500;overflow:hidden}.project-site-row .badge{flex:none}.project-ata-list{gap:8px;display:grid}.project-ata-list.empty{color:hsl(var(--muted-foreground));grid-template-columns:auto minmax(0,1fr);align-items:center;font-weight:500}.project-ata-row{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;color:inherit;text-align:left;border-radius:8px;gap:5px;padding:9px 10px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid}.project-ata-row:hover,.project-ata-row:focus-visible{border-color:hsl(var(--ring));background:hsl(var(--muted) / .35);box-shadow:var(--shadow-sm)}.project-ata-row-top{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.project-ata-row-top strong{letter-spacing:.02em;flex:none;font-size:13px}.project-ata-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.project-ata-status{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-radius:999px;flex:none;padding:2px 8px;font-size:11px;font-weight:500}.project-ata-status.approved,.project-ata-status.closed{color:#146732;background:#e0f5e8}.project-ata-status.rejected{color:#a91919;background:#fde3e3}.project-ata-status.in_review{color:#81530e;background:#fdf3d8}.project-ata-row small{color:hsl(var(--muted-foreground));font-weight:500}.project-tabs{margin-top:0}.project-tab-body{gap:20px;min-width:0;padding:22px 24px 36px;display:grid}.project-module-nav{z-index:15;border-bottom:1px solid hsl(var(--border));background:hsl(var(--background) / .97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);align-items:stretch;gap:4px;min-width:0;min-height:44px;padding:0 24px;display:flex;position:sticky;top:58px;overflow:auto hidden}.project-module-nav .tab-button{min-height:45px;color:hsl(var(--muted-foreground));background:0 0;border:0;border-radius:0;flex:none;padding:0 12px;font-size:13px;font-weight:600;position:relative}.project-module-nav .tab-button:after{content:"";background:0 0;height:2px;position:absolute;bottom:-1px;left:10px;right:10px}.project-module-nav .tab-button:hover{color:hsl(var(--foreground))}.project-document-section{gap:12px;display:grid}.project-document-section-heading{gap:2px;display:grid}.project-document-section-heading h3{margin:0;font-size:15px;font-weight:650;line-height:1.25}.project-document-section-heading p{color:hsl(var(--muted-foreground));margin:0;font-size:13px;line-height:1.45}.project-document-upload{border:1px dashed hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .35);gap:10px;padding:12px;display:grid}.project-document-filters{grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(150px,.75fr));align-items:end;gap:10px;display:grid}.project-document-search{min-width:0}.project-document-loading{color:hsl(var(--muted-foreground));margin:0;font-size:13px}.project-document-picker{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.project-document-picker strong{min-width:0;color:hsl(var(--muted-foreground));text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.project-document-file-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;margin:-1px;overflow:hidden;width:1px!important;max-width:1px!important;height:1px!important;padding:0!important;position:absolute!important}.project-document-list{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));display:grid;overflow:hidden}.project-document-row{border-top:1px solid hsl(var(--border));grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;padding:10px 12px;display:grid}.project-document-edit-fields{grid-column:2/-1;grid-template-columns:minmax(0,1.4fr) minmax(130px,.7fr) minmax(100px,.55fr) auto;align-items:end;gap:8px;display:grid}.project-document-edit-actions,.project-document-actions,.project-document-delete-confirm{align-items:center;gap:4px;display:flex}.project-document-delete-confirm{grid-column:3/-1;justify-content:flex-end}.project-document-row:first-child{border-top:0}.project-document-row:hover{background:hsl(var(--muted) / .4)}.project-document-row>svg{color:hsl(var(--muted-foreground))}.project-document-main{min-width:0;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;gap:2px;padding:0;display:grid}.project-document-main:hover strong{text-underline-offset:3px;text-decoration:underline}.project-document-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;overflow:hidden}.project-document-row span{color:hsl(var(--muted-foreground));font-size:12px}.project-document-row small{color:hsl(var(--destructive));text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.project-document-row small.project-document-filename{color:hsl(var(--muted-foreground))}.project-document-status{letter-spacing:.02em;white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:500}.project-document-status.success{background:hsl(var(--success-soft));color:hsl(var(--success))}.project-document-status.warning{background:hsl(var(--warning-soft));color:hsl(var(--warning))}.project-document-status.danger{background:hsl(var(--destructive) / .1);color:hsl(var(--destructive))}.project-document-status.neutral{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.project-document-delete{border-radius:var(--radius-sm);width:28px;height:28px;color:hsl(var(--muted-foreground));background:0 0;border:0;place-items:center;transition:background-color .14s,color .14s;display:inline-grid}.project-document-delete:hover{background:hsl(var(--destructive) / .08);color:hsl(var(--destructive))}.project-knowledge-add-actions{gap:8px;display:flex}.project-knowledge-inline-form{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .3);gap:10px;padding:12px 14px;display:grid}.project-knowledge-inline-form>strong{font-size:13px}.project-knowledge-form-fields{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.project-knowledge-form-fields .field{gap:3px;display:grid}.project-knowledge-form-fields .field span{color:hsl(var(--muted-foreground));font-size:11px;font-weight:500}.project-knowledge-form-fields input,.project-knowledge-form-fields select{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);background:hsl(var(--background));font:inherit;min-width:0;padding:6px 9px;font-size:12.5px}.project-knowledge-row.editing{align-items:end;gap:8px;display:grid}.project-knowledge-row-side{flex-shrink:0;align-items:center;gap:6px;display:flex}.project-knowledge-row-actions{opacity:.65;gap:4px;display:flex}.project-knowledge-row:hover .project-knowledge-row-actions,.project-knowledge-row.editing .project-knowledge-row-actions{opacity:1}.project-knowledge-row-actions .compact-button{padding:4px 7px}.project-knowledge-row-actions .danger{color:hsl(var(--destructive));border-color:hsl(var(--destructive) / .4)}.project-knowledge-empty{color:hsl(var(--muted-foreground));margin:0;font-size:13px;line-height:1.5}.project-knowledge-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px 20px;display:grid}.project-knowledge-section{gap:6px;min-width:0;display:grid}.project-knowledge-section.wide{grid-column:span 3}.project-knowledge-section h4{color:hsl(var(--muted-foreground));letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:6px;margin:0;font-size:11px;font-weight:500;display:flex}.project-knowledge-section h4 span{background:hsl(var(--muted) / .6);font-variant-numeric:tabular-nums;letter-spacing:0;border-radius:999px;padding:0 6px;font-size:11px}.project-knowledge-rows{min-width:0;display:grid}.project-knowledge-row{border-top:1px solid hsl(var(--border));grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:7px 0;display:grid}.project-knowledge-row>div{gap:1px;min-width:0;display:grid}.project-knowledge-row strong{align-items:baseline;gap:7px;font-size:13.5px;font-weight:500;line-height:1.4;display:flex}.project-knowledge-row strong code{color:hsl(var(--ai));flex:none;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:12px}.project-knowledge-row small{-webkit-line-clamp:2;color:hsl(var(--muted-foreground));-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.project-knowledge-row-text.clickable{cursor:pointer}.project-knowledge-row-text.clickable:hover small{color:hsl(var(--foreground) / .75)}.project-knowledge-row.expanded small{-webkit-line-clamp:unset;display:block;overflow:visible}.project-knowledge-badge{background:hsl(var(--muted) / .6);color:hsl(var(--muted-foreground));white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:500}.project-knowledge-more{border-top:1px solid hsl(var(--border))}.project-knowledge-more>summary{color:hsl(var(--muted-foreground));cursor:pointer;padding:7px 0;font-size:12px;font-weight:500;list-style:none}.project-knowledge-more>summary::-webkit-details-marker{display:none}.economy-preview{gap:18px;display:grid}.economy-workspace{gap:18px;min-width:0;display:grid}.economy-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;min-width:0;display:flex}.economy-toolbar-actions{flex:none;align-items:center;gap:8px;display:flex}.economy-baseline-chip{border:1px solid hsl(var(--success) / .35);background:hsl(var(--success-soft));color:hsl(var(--success));white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:500;display:inline-flex}.economy-upload-button{cursor:pointer;position:relative}.economy-upload-button input[type=file]{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.economy-view-tabs{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .35);min-width:0;display:flex;overflow-x:auto}.economy-view-tabs button{border:0;border-left:1px solid hsl(var(--border));min-height:36px;color:hsl(var(--muted-foreground));font:inherit;white-space:nowrap;background:0 0;justify-content:center;align-items:center;gap:7px;padding:0 12px;font-size:12px;font-weight:600;display:inline-flex}.economy-view-tabs button:first-child{border-left:0}.economy-view-tabs button.active{background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:0 0 0 1px hsl(var(--border))}.economy-baseline-setup{border:1px solid hsl(var(--warning) / .35);border-radius:var(--radius);background:hsl(var(--warning-soft) / .62);grid-template-columns:minmax(0,1fr) minmax(360px,auto);align-items:center;gap:20px;padding:14px 16px;display:grid}.economy-project-basis{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .28);grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);align-items:center;gap:12px 20px;padding:14px 16px;display:grid}.economy-project-basis p{color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:12px}.economy-project-basis>.economy-error{grid-column:1/-1}.economy-project-basis-fields{flex-wrap:wrap;justify-content:flex-end;align-items:flex-end;gap:8px;display:flex}.economy-project-basis-fields label{flex:150px;gap:4px;min-width:0;max-width:210px;display:grid}.economy-project-basis-fields .primary-button{flex:none;margin-left:auto}.economy-project-basis-fields label span{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650}.economy-project-basis-fields input{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;min-width:0;min-height:36px;color:hsl(var(--foreground));padding:0 10px}.economy-baseline-copy{align-items:flex-start;gap:12px;display:flex}.economy-baseline-copy p,.economy-baseline-copy small{color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:12px;display:block}.economy-baseline-icon{border:1px solid hsl(var(--warning) / .35);border-radius:var(--radius);background:hsl(var(--background));width:34px;height:34px;color:hsl(var(--warning));flex:none;place-items:center;display:inline-grid}.economy-baseline-action{justify-content:flex-end;align-items:center;gap:8px;display:flex}.economy-baseline-action select{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));min-width:230px;min-height:36px;color:hsl(var(--foreground));padding:0 34px 0 10px}.economy-signal-strip{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));grid-template-columns:repeat(6,minmax(0,1fr));display:grid;overflow:hidden}.economy-signal-strip>div{border-left:1px solid hsl(var(--border));align-content:center;gap:4px;min-width:0;min-height:88px;padding:12px 15px;display:grid}.economy-signal-strip>div:first-child{border-left:0}.economy-signal-strip span{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650}.economy-signal-strip strong{font-variant-numeric:tabular-nums;white-space:nowrap;min-width:0;font-size:19px;line-height:1.15}.economy-signal-strip strong.economy-signal-value--dense{font-size:16px}.economy-signal-strip strong.economy-signal-value--compact{font-size:14px}.economy-signal-strip small{color:hsl(var(--muted-foreground));text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.economy-signal-strip .success,.cost-control-row .success{color:hsl(var(--success))}.economy-signal-strip .danger,.cost-control-row .danger{color:hsl(var(--destructive))}.economy-summary-grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:16px;display:grid}.cost-control-ledger,.economy-attention-panel{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));min-width:0}.cost-control-ledger>header{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px;display:flex}.cost-control-ledger h4,.economy-attention-panel h4{margin:0;font-size:14px}.cost-control-ledger p{color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:12px}.cost-control-table{min-width:720px;overflow:hidden}.cost-control-ledger{overflow-x:auto}.cost-control-row{border-top:1px solid hsl(var(--border) / .7);font-variant-numeric:tabular-nums;grid-template-columns:minmax(145px,1.35fr) repeat(5,minmax(90px,1fr));align-items:center;gap:10px;min-height:43px;padding:7px 16px;font-size:12px;display:grid}.cost-control-row:first-child{border-top:0}.cost-control-row>span:not(:first-child),.cost-control-row>strong:not(:first-child){text-align:right}.cost-control-row.head{background:hsl(var(--muted) / .35);min-height:34px;color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650}.cost-control-row.total{border-top:1px solid hsl(var(--foreground) / .25);background:hsl(var(--muted) / .22);font-weight:650}.cost-control-row small{color:hsl(var(--muted-foreground));text-align:right;grid-column:2/-1;margin-top:-5px}.economy-attention-panel{gap:0;padding:14px;display:grid}.economy-attention-panel>header{align-items:center;gap:8px;padding-bottom:10px;display:flex}.economy-attention-row{border-top:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:12px;display:flex}.economy-attention-row span{color:hsl(var(--muted-foreground))}.economy-attention-panel .ghost-button{margin-top:12px}.economy-costs-layout{gap:16px;display:grid}.economy-preview-banner{border:1px solid hsl(var(--ai) / .3);border-radius:var(--radius);background:hsl(var(--ai-soft));color:hsl(var(--ai));align-items:center;gap:8px;margin:0;padding:9px 13px;font-size:12.5px;display:flex}.economy-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.economy-kpi{border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--card));gap:4px;padding:14px 16px;display:grid}.economy-kpi-label{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:500}.economy-kpi-value{font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:20px;font-weight:600}.economy-kpi-value.success{color:hsl(var(--success))}.economy-kpi-value.danger{color:hsl(var(--destructive))}.economy-kpi-sub{color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;font-size:12px}.economy-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.economy-section{border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--card));align-content:start;gap:12px;padding:16px;display:grid}.economy-section-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.economy-section-head h3{margin:0;font-size:14px;font-weight:600}.economy-section-head small{color:hsl(var(--muted-foreground));font-size:12px}.economy-table{gap:2px;display:grid}.economy-row{border-radius:var(--radius-sm);grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));align-items:center;gap:8px;padding:8px 6px;font-size:13px;display:grid}.economy-row.head{color:hsl(var(--muted-foreground));letter-spacing:.03em;text-transform:uppercase;font-size:11px;font-weight:500}.economy-row:not(.head):nth-child(2n){background:hsl(var(--muted) / .5)}.economy-cell-main{gap:1px;min-width:0;display:grid}.economy-cell-main small{color:hsl(var(--muted-foreground));font-size:11.5px}.economy-num{font-variant-numeric:tabular-nums;text-align:right}.economy-num.strong{font-weight:600}.economy-foot{color:hsl(var(--muted-foreground));margin:0;font-size:12px}.economy-delay-badge{border:1px solid hsl(var(--warning) / .35);background:hsl(var(--warning-soft));color:hsl(var(--warning));white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:12px;font-weight:500;display:inline-flex}.economy-delay-badge.on-track{border-color:hsl(var(--success) / .35);background:hsl(var(--success-soft));color:hsl(var(--success))}.economy-forecast-actions{align-items:center;gap:10px;display:flex}.economy-info-toggle{color:hsl(var(--muted-foreground));cursor:pointer;vertical-align:middle;background:0 0;border:none;align-items:center;margin-left:6px;padding:2px;display:inline-flex}.economy-info-toggle:hover{color:hsl(var(--foreground))}.economy-forecast-info{border:1px solid hsl(var(--ai) / .25);border-radius:var(--radius);background:hsl(var(--ai-soft));gap:6px;padding:10px 13px;font-size:12.5px;line-height:1.5;display:grid}.economy-forecast-info p{margin:0}.economy-loading,.economy-empty{color:hsl(var(--muted-foreground));font-size:12.5px}.economy-error{border:1px solid hsl(var(--destructive) / .35);border-radius:var(--radius);background:hsl(var(--destructive) / .07);color:hsl(var(--destructive));margin:0;padding:8px 12px;font-size:12.5px}.economy-rate-button{border-radius:var(--radius-xs);color:inherit;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;-webkit-text-decoration:underline dotted hsl(var(--muted-foreground) / .6);text-decoration:underline dotted hsl(var(--muted-foreground) / .6);text-underline-offset:3px;background:0 0;border:none;padding:2px 6px}.economy-rate-button:hover{background:hsl(var(--muted) / .8)}.economy-basis{border:1px solid hsl(var(--warning) / .35);border-radius:var(--radius-lg);background:hsl(var(--warning-soft));gap:12px;padding:14px 16px;display:grid}.economy-basis-hint{color:hsl(var(--warning));align-items:center;gap:8px;margin:0;font-size:12.5px;font-weight:500;display:flex}.economy-basis-fields{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.economy-basis-fields .field{gap:4px;min-width:150px;display:grid}.economy-basis-fields .field span{color:hsl(var(--muted-foreground));font-size:11.5px;font-weight:500}.economy-basis-fields input{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);background:hsl(var(--background));font:inherit;padding:7px 10px;font-size:13px}.forecast-history{border-top:1px solid hsl(var(--border));gap:8px;margin-top:6px;padding-top:12px;display:grid}.forecast-history-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.forecast-history-legend{color:hsl(var(--muted-foreground));align-items:center;gap:6px;font-size:11.5px;display:inline-flex}.forecast-legend-dot{border-radius:999px;width:8px;height:8px;display:inline-block}.forecast-legend-dot.progress{background:hsl(var(--ai))}.forecast-legend-dot.margin{background:hsl(var(--success))}.forecast-history-chart{width:100%;height:96px}.forecast-axis{stroke:hsl(var(--border));stroke-width:1px}.forecast-line{fill:none;stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.forecast-line.progress{stroke:hsl(var(--ai))}.forecast-line.margin{stroke:hsl(var(--success));stroke-dasharray:5 4}.forecast-dot{fill:hsl(var(--ai))}.dialog-panel.cost-rate-dialog-panel{width:min(400px,94vw)}.cost-rate-form{gap:14px;padding:16px;display:grid}.economy-schedule{gap:8px;display:grid}.economy-schedule-track{background:hsl(var(--muted));border-radius:999px;height:10px;position:relative;overflow:hidden}.economy-schedule-plan{background:repeating-linear-gradient(90deg, hsl(var(--border)) 0 6px, transparent 6px 12px);position:absolute;inset:0}.economy-schedule-actual{background:hsl(var(--ai));border-radius:999px;position:absolute;top:0;bottom:0;left:0}.economy-schedule-labels{color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;justify-content:space-between;font-size:12px;display:flex}@media (width<=900px){.economy-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.economy-columns{grid-template-columns:minmax(0,1fr)}}.economy-row.invoice{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) auto}button.economy-row.invoice{text-align:left;cursor:pointer;width:100%;font:inherit;color:inherit;background:0 0;border:none}button.economy-row.invoice:hover{background:hsl(var(--muted) / .7)}.economy-row.invoice-line{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}.dialog-panel.invoice-dialog-panel{width:min(680px,94vw)}.invoice-detail{gap:18px;padding:18px 20px 20px;display:grid}.invoice-detail-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.invoice-detail-amountblock{gap:3px;display:grid}.invoice-status-field{justify-items:end;gap:5px;display:grid}.invoice-head-actions{align-items:flex-end;gap:12px;display:flex}.invoice-edit{gap:16px;display:grid}.invoice-edit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.invoice-edit-grid .field{gap:4px;display:grid}.invoice-edit-grid .field span{color:hsl(var(--muted-foreground));font-size:11.5px;font-weight:500}.invoice-edit-grid input,.invoice-edit-grid select,.invoice-edit-line input,.invoice-edit-line select{border:1px solid hsl(var(--border));border-radius:var(--radius-sm);background:hsl(var(--background));font:inherit;min-width:0;padding:7px 10px;font-size:13px}.invoice-edit-lines{justify-items:start;gap:8px;display:grid}.invoice-edit-line{grid-template-columns:minmax(0,1.7fr) minmax(0,.6fr) minmax(0,.55fr) minmax(0,.75fr) minmax(0,.8fr) minmax(160px,1.35fr) auto;align-items:center;gap:6px;width:100%;display:grid}.invoice-edit-line-remove{padding:6px}@media (width<=720px){.invoice-edit-grid,.invoice-edit-line{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-edit-line-description,.invoice-edit-line select,.invoice-edit-line-remove{grid-column:1/-1}.invoice-edit-line-remove{justify-self:end}}.invoice-detail-amount{font-variant-numeric:tabular-nums;letter-spacing:-.01em;font-size:24px;font-weight:600}.invoice-summary{border:1px solid hsl(var(--ai) / .25);border-radius:var(--radius);background:hsl(var(--ai-soft));gap:6px;padding:12px 14px;display:grid}.invoice-summary .section-label{color:hsl(var(--ai));align-items:center;gap:5px;display:inline-flex}.invoice-parsing-spinner{animation:1s linear infinite invoice-parsing-spin}.invoice-summary p{margin:0;font-size:13.5px;line-height:1.5}.invoice-detail-columns{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;display:grid}.invoice-detail-block{align-content:start;gap:10px;display:grid}.invoice-detail-block h4{letter-spacing:.03em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:0;font-size:12px;font-weight:600}.invoice-kv{gap:6px;margin:0;display:grid}.invoice-kv-row{justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;display:flex}.invoice-kv-row dt{color:hsl(var(--muted-foreground))}.invoice-kv-row dd{font-variant-numeric:tabular-nums;margin:0;font-weight:500}.invoice-original{justify-items:start}.invoice-doc-preview{border:1px dashed hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .4);width:100%;min-height:150px;color:hsl(var(--muted-foreground));text-align:center;align-content:center;justify-items:center;gap:6px;padding:18px;display:grid}.invoice-doc-preview span{color:hsl(var(--foreground));font-size:13px;font-weight:500}.invoice-doc-preview small{font-size:11.5px}@media (width<=720px){.invoice-detail-columns{grid-template-columns:minmax(0,1fr)}}.weekly-cost-overview{gap:16px;min-width:0;display:grid}.weekly-cost-chart,.weekly-cost-ledger,.weekly-cost-detail,.weekly-category-ledger,.weekly-cost-issues,.weekly-cost-empty{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));min-width:0}.weekly-cost-chart>header,.weekly-cost-ledger>header,.weekly-cost-detail>header,.weekly-category-ledger>header,.weekly-cost-issues>header{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;display:flex}.weekly-cost-chart h3,.weekly-cost-ledger h3,.weekly-cost-detail h3,.weekly-category-ledger h3,.weekly-cost-issues h3{margin:0;font-size:15px}.weekly-cost-legend{color:hsl(var(--muted-foreground));align-items:center;gap:14px;font-size:11px;display:flex}.weekly-cost-legend span{align-items:center;gap:6px;display:inline-flex}.weekly-cost-legend i{border-radius:2px;width:9px;height:9px}.weekly-cost-bars{align-items:stretch;gap:2px;height:190px;padding:18px 16px 12px;display:flex;overflow-x:auto}.weekly-cost-bars>button{min-width:42px;color:hsl(var(--muted-foreground));font:inherit;background:0 0;border:0;border-bottom:2px solid #0000;flex:1 0 42px;grid-template-rows:minmax(0,1fr) auto;gap:7px;padding:0 5px 4px;font-size:10px;display:grid}.weekly-cost-bars>button:hover,.weekly-cost-bars>button.selected{border-bottom-color:hsl(var(--foreground));color:hsl(var(--foreground))}.weekly-cost-grid{grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);align-items:start;gap:16px;display:grid}.cost-plan-version,.week-state{border:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));border-radius:999px;padding:3px 8px;font-size:10px;font-weight:650}.week-state.current{border-color:hsl(var(--warning) / .4);background:hsl(var(--warning-soft));color:hsl(var(--warning))}.week-state.completed{border-color:hsl(var(--success) / .35);background:hsl(var(--success-soft));color:hsl(var(--success))}.weekly-cost-table,.weekly-category-table{overflow-x:auto}.weekly-cost-row{border:0;border-top:1px solid hsl(var(--border) / .72);width:100%;min-height:48px;color:inherit;font:inherit;text-align:left;background:0 0;grid-template-columns:minmax(150px,1.4fr) repeat(3,minmax(90px,1fr));align-items:center;gap:12px;padding:8px 16px;font-size:12px;display:grid}.weekly-cost-row:first-child{border-top:0}button.weekly-cost-row:hover,button.weekly-cost-row.selected{background:hsl(var(--muted) / .38)}.weekly-cost-row>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.weekly-cost-row span:first-child{gap:2px;display:grid}.weekly-cost-row small{color:hsl(var(--muted-foreground));font-size:10px}.weekly-cost-row.head,.weekly-category-row.head{background:hsl(var(--muted) / .3);min-height:34px;color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.weekly-cost-row .danger,.weekly-category-row .danger{color:hsl(var(--destructive))}.weekly-cost-row .success,.weekly-category-row .success{color:hsl(var(--success))}.week-detail-totals{border-bottom:1px solid hsl(var(--border));grid-template-columns:1fr 1fr;display:grid}.week-detail-totals>div{border-left:1px solid hsl(var(--border));gap:5px;padding:14px 16px;display:grid}.week-detail-totals>div:first-child{border-left:0}.week-detail-totals span,.week-detail-hours span,.week-detail-categories span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.week-detail-totals strong{font-variant-numeric:tabular-nums;font-size:17px}.week-detail-hours,.week-detail-categories>div{border-bottom:1px solid hsl(var(--border) / .72);justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:12px;display:flex}.week-detail-categories>div:last-child{border-bottom:0}.week-detail-categories small{color:hsl(var(--muted-foreground));font-weight:400}.weekly-cost-detail.empty,.weekly-cost-empty{min-height:110px;color:hsl(var(--muted-foreground));justify-content:center;align-items:center;gap:12px;padding:20px;display:flex}.weekly-cost-empty{justify-content:flex-start}.weekly-cost-empty p{margin:3px 0 0;font-size:12px}.weekly-category-ledger>header small{color:hsl(var(--muted-foreground));font-size:11px}.weekly-category-row{border-top:1px solid hsl(var(--border) / .72);grid-template-columns:minmax(150px,1.3fr) repeat(5,minmax(90px,1fr));align-items:center;gap:12px;min-width:760px;min-height:44px;padding:8px 16px;font-size:12px;display:grid}.weekly-category-row:first-child{border-top:0}.weekly-category-row>span{text-align:right;font-variant-numeric:tabular-nums}.weekly-cost-issues{border-color:hsl(var(--warning) / .35)}.weekly-cost-issues>header{color:hsl(var(--warning));justify-content:flex-start}.weekly-cost-issues p{border-top:1px solid hsl(var(--border) / .7);margin:0;padding:9px 16px;font-size:12px}.compliance-workspace{overscroll-behavior:contain;gap:12px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.compliance-workspace.empty{align-content:center;min-height:180px}.compliance-toolbar{justify-content:space-between;align-items:end;gap:16px;padding:14px 16px;display:flex}.compliance-toolbar h2,.compliance-card-head h3,.compliance-list-panel h2{margin:0}.compliance-toolbar p,.compliance-card-head p,.compliance-help-text{color:hsl(var(--muted-foreground));margin:4px 0 0;line-height:1.4}.compliance-download-fallback{color:hsl(var(--muted-foreground));margin:0;font-size:13px;line-height:1.35}.compliance-download-fallback a{color:hsl(var(--foreground));text-underline-offset:3px;font-weight:500;text-decoration:underline}.compliance-period-fields{grid-template-columns:repeat(2,minmax(160px,1fr));gap:10px;min-width:min(100%,360px);display:grid}.compliance-period-fields.with-site-picker{grid-template-columns:minmax(220px,1.3fr) repeat(2,minmax(150px,.8fr));min-width:min(100%,640px)}.compliance-grid,.compliance-detail-grid{align-items:stretch;gap:12px;display:grid}.compliance-grid{grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);align-items:start}.compliance-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compliance-readiness-card,.compliance-export-card,.compliance-list-panel{min-width:0;padding:14px}.compliance-readiness-card,.compliance-export-card{align-content:start;gap:14px;display:grid}.compliance-export-actions{gap:8px;display:grid}.compliance-export-action{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;min-height:64px;color:hsl(var(--foreground));text-align:left;cursor:pointer;border-radius:8px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px;transition:border-color .16s,background-color .16s,box-shadow .16s;display:grid}.compliance-export-action:hover:not(:disabled),.compliance-export-action:focus-visible{border-color:hsl(var(--ring));box-shadow:0 10px 22px hsl(var(--foreground) / .08)}.compliance-export-action.primary{background:hsl(var(--foreground));border-color:hsl(var(--foreground));color:hsl(var(--background))}.compliance-export-action:disabled{cursor:not-allowed;opacity:.5}.compliance-export-action-icon{background:hsl(var(--muted));width:34px;height:34px;color:hsl(var(--foreground));border-radius:999px;place-items:center;display:inline-grid}.compliance-export-action.primary .compliance-export-action-icon{background:hsl(var(--background) / .14);color:currentColor}.compliance-export-action strong,.compliance-export-action small{overflow-wrap:anywhere;min-width:0;display:block}.compliance-export-action strong{font-size:15px;line-height:1.2}.compliance-export-action small{color:hsl(var(--muted-foreground));margin-top:3px;font-size:13px;line-height:1.3}.compliance-export-action.primary small{color:hsl(var(--background) / .72)}.compliance-readiness-card.ready{background:#f0faf3;border-color:#abe3bf}.compliance-readiness-card.attention{background:#fef9f0;border-color:#fbdca7}.compliance-card-head{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;display:grid}.compliance-card-head h3{font-size:17px;line-height:1.2}.compliance-icon{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:999px;place-items:center;width:34px;height:34px;display:inline-grid}.compliance-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.compliance-facts div{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--background));min-width:0;padding:9px 10px}.compliance-facts dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.compliance-facts dd{text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:15px;font-weight:500;overflow:hidden}.compliance-list-panel{grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.compliance-list{min-height:0;display:grid;overflow-y:auto}.compliance-list-row{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:start;gap:12px;padding:12px 0;display:flex}.compliance-list-row:last-child{border-bottom:0}.compliance-list-row strong,.compliance-list-row p,.compliance-list-row small{overflow-wrap:anywhere}.compliance-list-row p,.compliance-list-row small{color:hsl(var(--muted-foreground));margin:4px 0 0;line-height:1.35;display:block}.id06-action-row{justify-content:flex-end;margin-left:auto;display:flex}.id06-image-preview{gap:12px;display:grid}.id06-image-preview img{object-fit:contain;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));width:100%;max-height:70vh}.compliance-issue-list{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));gap:4px;margin:0;padding:8px 0 0 18px;font-size:13px;font-weight:500;display:grid}.personnel-workspace{height:var(--workspace-content-height);grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(320px,.72fr) minmax(0,1.28fr);align-items:start;gap:14px;min-height:0;display:grid}.personnel-heading{grid-column:1/-1}.personnel-list,.detail-panel,.action-panel{min-width:0;overflow:hidden}.personnel-list,.detail-panel{align-self:stretch}.personnel-list{max-height:100%;overflow-y:auto}.person-profile-header{justify-content:space-between;align-items:flex-start;gap:18px;min-width:0;display:flex}.person-profile-title{min-width:0}.person-profile-title h2{overflow-wrap:anywhere;margin:0}.person-profile-title p{color:hsl(var(--muted-foreground));margin:4px 0 0;font-size:14px;font-weight:500}.person-profile-actions{flex:none}.person-compliance-strip{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:0;min-width:0;padding:10px 12px;display:grid}.person-compliance-strip div{border-left:1px solid hsl(var(--border));min-width:0;padding:0 12px}.person-compliance-strip div:first-child{border-left:0;padding-left:0}.person-compliance-strip .wide{grid-column:span 2}.person-compliance-strip span,.person-profile-facts dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500;display:block}.person-compliance-strip strong,.person-profile-facts dd{overflow-wrap:anywhere;word-break:break-word;white-space:normal;min-width:0;color:hsl(var(--foreground));margin:4px 0 0;font-size:14px;font-weight:500;line-height:1.35;display:block}.person-compliance-strip .attention strong{color:hsl(var(--destructive))}.person-row,.action-item{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));width:100%;color:hsl(var(--foreground));text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.person-row strong,.person-row span{display:block}.person-row span,.action-item p{color:hsl(var(--muted-foreground));margin:4px 0 0;font-size:13px}.person-row.active{border-color:hsl(var(--foreground));box-shadow:inset 3px 0 0 hsl(var(--foreground))}.person-flow-card{gap:10px;min-height:0;display:grid}.person-flow-section{grid-template-rows:auto minmax(0,1fr);gap:12px;min-width:0;min-height:0;display:grid}.person-tabs{scrollbar-width:thin;flex-wrap:nowrap;min-width:0;padding-bottom:2px;overflow:auto hidden}.person-tabs .tab-button{flex:none}.person-flow-scroll{overscroll-behavior:contain;min-height:0;max-height:100%;padding:0 4px 2px 0;overflow-y:auto}.person-profile-content{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:18px;min-width:0;display:grid}.person-profile-section{align-content:start;gap:10px;min-width:0;display:grid}.person-flow-card h3,.person-profile-section h3{margin:0;font-size:15px}.person-site-list,.person-flow-list{gap:8px;display:grid}.person-flow-group{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--background));gap:0;padding:0 12px 6px;display:grid}.person-flow-group .person-flow-date{padding:10px 0 4px}.person-site-item,.person-flow-item{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--background));min-width:0}.person-site-item{gap:3px;padding:10px 12px;display:grid}.person-site-item span{color:hsl(var(--muted-foreground));font-size:13px}.person-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.person-profile-facts div{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--background));min-width:0;padding:9px 10px}.id06-inline-button{justify-self:start}.person-flow-item{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:10px 12px;display:grid}.person-flow-item strong{overflow-wrap:anywhere;font-size:15px}.person-flow-item time{color:hsl(var(--muted-foreground));flex:none;font-size:12px;font-weight:500}.person-flow-item p{color:hsl(var(--muted-foreground));margin:5px 0 0;font-size:13px;line-height:1.45}.person-flow-meta{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:8px;margin-top:8px;font-size:12px;font-weight:500;display:flex}.overview-stack{height:var(--workspace-content-height);grid-template-rows:auto auto minmax(0,1fr);gap:12px;min-height:0;overflow:hidden}.overview-hero{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;padding:0;display:grid}.overview-operations-header{border-bottom:1px solid hsl(var(--border));grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-width:0;padding:14px 20px;display:grid}.overview-copy h2{letter-spacing:-.01em;font-size:18px;font-weight:650}.overview-copy{align-content:start;gap:6px;min-width:0;display:grid}.overview-copy h2{letter-spacing:0;margin:0;font-size:21px;line-height:1.15}.overview-copy p{color:hsl(var(--muted-foreground));margin:0;font-size:14px;line-height:1.45}.overview-export-actions,.overview-quick-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px;display:flex}.overview-export-actions .ghost-button,.overview-quick-actions .ghost-button{min-height:34px;padding:0 10px;font-size:13px}.overview-export-actions{max-width:100%}.overview-export-actions.compact{justify-content:flex-end;margin-top:0}.overview-export-actions .ghost-button{white-space:nowrap;flex:0 auto}.overview-primary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:14px 20px;display:grid}.overview-primary-metrics .metric-card{min-height:64px;padding:0 20px}.overview-primary-metrics .metric-card:first-child{border-left:0;padding-left:0}@media (width<=1120px){.overview-operations-header{grid-template-columns:1fr;gap:10px}.overview-export-actions.compact{justify-content:flex-start}}.overview-main{grid-template-columns:minmax(0,1.65fr) minmax(320px,.62fr);align-items:stretch;gap:18px;min-height:0;display:grid}.overview-main .timeline-panel{align-self:stretch}.overview-main .action-panel{align-self:start;max-height:100%}.records-stack{height:var(--workspace-content-height);grid-template-rows:auto auto minmax(0,1fr);min-height:0;overflow:hidden}.section-heading.actions-only{justify-content:flex-end}.section-heading h2,.records-summary h2,.project-card h3,.detail-panel h2,.records-placeholder h3{letter-spacing:0;margin:0}.records-summary{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);align-items:start;gap:14px;padding:14px 18px;display:grid}.records-toolbar{min-width:0;display:block}.records-filter-bar{grid-template-columns:minmax(190px,1fr) minmax(210px,1fr) minmax(170px,.85fr) minmax(190px,220px);align-items:end;gap:10px;min-width:0;display:grid}.records-date-field{min-width:190px}.records-date-field .field,.records-date-field input{width:100%;min-width:0}.records-actions-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.records-actions-row .tabs-surface{min-width:0;overflow-x:auto}.records-create-actions{flex-wrap:wrap;flex:0 auto;align-items:center;gap:8px;min-width:0;display:flex}.records-create-button{flex:none}.records-management-panel{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.records-management-header{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.records-management-header>div{align-items:center;gap:10px;min-width:0;display:flex}.records-management-header h2{margin:0;font-size:22px;line-height:1.15}.records-management-icon{border:1px solid hsl(var(--border));background:hsl(var(--muted));border-radius:999px;flex:none;place-items:center;width:36px;height:36px;display:grid}.records-management-list{min-height:0;overflow-y:auto}.records-work-row{border:0;border-bottom:1px solid hsl(var(--border));background:hsl(var(--card));width:100%;color:inherit;text-align:left;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 18px;display:grid}.records-work-row.clickable{cursor:pointer}.records-work-row.clickable:hover{background:hsl(var(--muted))}.records-work-main{gap:4px;min-width:0;display:grid}.records-work-main strong{font-size:18px;line-height:1.2}.records-work-main p{color:hsl(var(--muted-foreground));margin:0;line-height:1.35}.records-work-meta{color:hsl(var(--muted-foreground));flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;font-weight:500;display:flex}.records-work-meta time{white-space:nowrap}.overview-secondary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.ata-case-form{gap:12px}.ata-case-form-section{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .28);gap:10px;padding:12px;display:grid}.ata-case-section-head{gap:3px;display:grid}.ata-case-section-head h3{margin:0;font-size:15px}.ata-case-section-head p{color:hsl(var(--muted-foreground));margin:0;font-size:12px;line-height:1.4}.ata-case-number-panel{border:1px dashed hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));padding:10px;display:grid}.ata-management-form{gap:14px}.ata-management-hero{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:10px;display:flex}.ata-management-hero div{gap:4px;min-width:0;display:grid}.ata-management-hero span:first-child{color:hsl(var(--muted-foreground));letter-spacing:.03em;font-size:12px;font-weight:500}.ata-management-hero h3{margin:0;font-size:clamp(22px,2.4vw,34px);line-height:1.08}.ata-management-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ata-management-summary div{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .35);gap:4px;padding:10px;display:grid}.ata-management-summary span,.ata-management-sites h3{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.ata-management-summary strong{overflow-wrap:anywhere;font-size:15px}.ata-management-sites{gap:8px;display:grid}.ata-management-sites h3,.ata-management-sites p{margin:0}.ata-management-sites div{flex-wrap:wrap;gap:8px;display:flex}.ata-management-sites span{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .45);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:500}.ata-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ata-detail-grid div{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .36);gap:4px;min-width:0;padding:10px 12px;display:grid}.ata-detail-grid span,.ata-management-section-head span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.ata-detail-grid strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.ata-management-section{gap:10px;padding-top:4px;display:grid}.ata-management-section-head{align-items:center;gap:8px;display:flex}.ata-management-section-head h3{flex:1;margin:0;font-size:16px}.ata-detail-list,.ata-evidence-list,.ata-history-list{gap:8px;display:grid}.ata-detail-row{border-top:1px solid hsl(var(--border));justify-content:space-between;gap:14px;min-width:0;padding:10px 0;display:flex}.ata-detail-row div{gap:4px;min-width:0;display:grid}.ata-detail-row strong{font-size:14px}.ata-detail-row p,.ata-detail-row small{color:hsl(var(--muted-foreground));margin:0}.ata-detail-row>span{color:hsl(var(--foreground));flex:none;font-weight:500}.ata-evidence-button{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));color:inherit;text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 8px;padding:10px 12px;display:grid}.ata-evidence-button:hover,.ata-evidence-button:focus-visible{border-color:hsl(var(--ring))}.ata-evidence-button small{color:hsl(var(--muted-foreground));grid-column:2}.ata-history-list div{border-top:1px solid hsl(var(--border));justify-content:space-between;gap:10px;padding-top:8px;display:flex}.ata-history-list small{color:hsl(var(--muted-foreground));white-space:nowrap;font-weight:500}.action-panel{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.action-list{overscroll-behavior:contain;min-height:0;display:grid;overflow-y:auto}.action-row{border:0;border-bottom:1px solid hsl(var(--border));width:100%;color:inherit;font:inherit;text-align:left;background:0 0;justify-items:start;gap:6px;padding:12px 16px;display:grid}.action-row.clickable{cursor:pointer}.action-row.clickable:hover{background:hsl(var(--muted) / .5)}.action-row>.badge{width:fit-content}.action-row>div{justify-items:start;gap:3px;min-width:0;display:grid}.action-row>div .badge{width:fit-content;max-width:100%;margin-top:4px}.action-row:last-child{border-bottom:0}.action-row strong,.action-row p{overflow-wrap:anywhere}.action-row strong{font-size:14px;line-height:1.35}.action-row p{color:hsl(var(--muted-foreground));margin:0;font-size:13px;line-height:1.4}.records-placeholder,.records-empty-panel{min-height:126px;color:hsl(var(--muted-foreground));text-align:left;align-content:start;justify-items:start;gap:8px;padding:18px;display:grid}.records-placeholder p,.records-empty-panel p{max-width:560px;margin:0;line-height:1.5}.timeline-groups{gap:6px;display:grid}.timeline-scroll{overscroll-behavior:contain;min-height:0;padding-right:4px;overflow-y:auto}.timeline-day-group{border-top:0;gap:0;display:grid}.timeline-day-trigger{border-radius:calc(var(--radius) - 2px);width:100%;min-height:34px;color:hsl(var(--foreground));text-align:left;background:0 0;border:0;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 4px;display:grid}.timeline-day-trigger:hover{background:hsl(var(--accent))}.timeline-day-trigger span{text-transform:capitalize;font-size:13px;font-weight:500}.timeline-day-trigger small{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.chevron{color:hsl(var(--muted-foreground));transition:transform .14s}.chevron.open{transform:rotate(180deg)}.timeline-day-label,.person-flow-date{color:hsl(var(--muted-foreground));text-transform:capitalize;padding:10px 16px 6px;font-size:12px;font-weight:500}.timeline-list{gap:0;padding:0 0 4px;display:grid;position:relative}.timeline-list:before{content:"";background:hsl(var(--border));width:1px;position:absolute;top:4px;bottom:4px;left:30px}.timeline-item{width:100%;color:hsl(var(--foreground));text-align:left;border-radius:calc(var(--radius) - 2px);background:0 0;border:0;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:6px 4px;display:grid;position:relative}.timeline-item.compact{padding:8px 0}.timeline-item.clickable:hover{background:hsl(var(--background))}.timeline-icon{z-index:1;border:1px solid hsl(var(--border));background:hsl(var(--background));width:28px;height:28px;color:hsl(var(--muted-foreground));box-shadow:0 0 0 4px hsl(var(--background));border-radius:999px;place-items:center;display:grid}.timeline-icon svg{width:14px;height:14px}.timeline-body{min-width:0;padding:1px 0 6px}.timeline-item-top{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.timeline-item strong{overflow-wrap:anywhere;font-size:14px;line-height:1.35}.timeline-item time{color:hsl(var(--muted-foreground));flex:none;font-size:12px;font-weight:500}.timeline-item p{color:hsl(var(--muted-foreground));margin:4px 0 0;font-size:13px;line-height:1.45}.timeline-preview-stack{gap:2px;margin-top:4px;display:grid}.timeline-preview-stack p{margin:0}.timeline-preview-label{color:hsl(var(--foreground));margin-right:6px;font-weight:500;display:inline-block}.timeline-meta{color:hsl(var(--muted-foreground));gap:7px;margin-top:6px;font-size:12px;font-weight:500}.badge{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .6);min-height:22px;color:hsl(var(--muted-foreground));letter-spacing:.01em;border-radius:999px;align-items:center;padding:0 9px;font-size:11px;font-weight:500;display:inline-flex}.badge.warning{border-color:hsl(var(--destructive) / .25);background:hsl(var(--destructive) / .08);color:hsl(var(--destructive))}.status-badge.success{border-color:hsl(var(--success) / .3);background:hsl(var(--success-soft));color:hsl(var(--success))}.status-badge.danger{border-color:hsl(var(--destructive) / .25);background:hsl(var(--destructive) / .08);color:hsl(var(--destructive))}.status-badge.attention{border-color:hsl(var(--warning) / .3);background:hsl(var(--warning-soft));color:hsl(var(--warning))}.empty-state{min-height:96px;color:hsl(var(--muted-foreground));text-align:center;place-items:center;gap:6px;padding:14px;display:grid}.empty-state strong{color:hsl(var(--foreground));font-size:15px}.empty-state p{max-width:380px;margin:0;font-size:14px;line-height:1.45}.dialog-backdrop{z-index:50;background:#0000006b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.dialog-panel{border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--background));width:min(100%,620px);max-height:min(760px,100vh - 36px);overflow-y:auto;box-shadow:0 16px 48px #18181b24}.export-dialog-panel,.timeline-export-dialog-panel,.site-period-summary-list-panel,.site-dialog-panel,.personnel-dialog-panel,.companies-dialog-panel{width:min(100%,980px)}.companies-dialog-body{padding:14px}.company-list-table{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));display:grid;overflow:hidden}.company-list-row{border-top:1px solid hsl(var(--border));grid-template-columns:minmax(0,1.4fr) minmax(130px,.8fr) minmax(90px,.4fr) minmax(120px,.5fr);align-items:center;gap:14px;min-height:54px;padding:12px 14px;display:grid}.company-list-row.header{background:hsl(var(--muted));min-height:42px;color:hsl(var(--muted-foreground));border-top:0;font-size:13px;font-weight:500}.company-list-row strong,.company-list-row span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media (width<=620px){.company-list-row{grid-template-columns:1fr;align-items:start;gap:4px}.company-list-row.header{display:none}}.export-dialog-body{padding:14px}.export-dialog-body .compliance-workspace{max-height:calc(100vh - 170px)}.timeline-export-dialog-body{gap:14px;padding:16px;display:grid}.timeline-export-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.site-period-summary-dialog{gap:16px}.site-period-summary-list-dialog{gap:14px;padding:16px;display:grid}.summary-list-toolbar{justify-content:flex-end;display:flex}.site-period-summary-list{gap:8px;display:grid}.site-period-summary-list-row{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.summary-list-row-icon{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .45);border-radius:999px;place-items:center;width:38px;height:38px;display:grid}.summary-list-row-main{gap:4px;min-width:0;display:grid}.summary-list-row-main strong,.summary-list-row-main p,.summary-list-row-main small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.summary-list-row-main p,.summary-list-row-main small{color:hsl(var(--muted-foreground));margin:0}.summary-list-row-main small{font-size:12px;font-weight:500}.summary-list-row-actions{align-items:center;gap:8px;display:flex}@media (width<=680px){.site-period-summary-list-row{grid-template-columns:auto minmax(0,1fr)}.summary-list-row-actions{grid-column:1/-1;justify-content:flex-start}}.summary-coverage-strip,.summary-status-meta{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.summary-status-strip{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .5);justify-content:space-between;gap:16px;padding:12px;display:flex}.summary-status-strip strong,.summary-lead h3,.summary-item-row strong{color:hsl(var(--foreground))}.summary-status-strip p,.summary-lead p,.summary-item-row p{color:hsl(var(--muted-foreground));margin:0;line-height:1.45}.summary-status-meta{color:hsl(var(--muted-foreground));justify-content:flex-end;font-size:13px;font-weight:500}.site-period-summary-content{gap:12px;display:grid}.summary-lead{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));gap:8px;padding:14px;display:grid}.summary-lead h3{margin:0;font-size:18px}.summary-item-list{gap:8px;display:grid}.summary-item-row{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));gap:6px;padding:10px;display:grid}.dialog-header{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;padding:16px;display:flex}.dialog-header h2{margin:0;font-size:18px}.event-dialog-panel{border:1px solid hsl(var(--border));border-radius:var(--radius-lg);background:hsl(var(--background));width:min(100%,760px);max-height:min(820px,100vh - 36px);position:relative;overflow-y:auto;box-shadow:0 16px 48px #18181b24}.floating-close-button{z-index:2;float:right;width:36px;height:36px;color:hsl(var(--foreground));cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;margin:12px 12px 0 0;display:inline-flex;position:sticky;top:12px}.floating-close-button:hover{background:hsl(var(--accent))}.event-detail{gap:14px;padding:20px 24px 24px;display:grid}.event-detail-header{gap:6px;padding-right:46px;display:grid}.event-detail-header h2{max-width:680px;margin:0;font-size:clamp(24px,3vw,34px);line-height:1.12}.event-detail-header p{color:hsl(var(--muted-foreground));margin:0;font-size:14px;font-weight:500}.review-strip{border:1px solid hsl(var(--destructive) / .22);border-radius:var(--radius);background:hsl(var(--destructive) / .045);gap:10px;padding:12px 14px;display:grid}.review-strip strong{margin-bottom:4px;font-size:14px;display:block}.review-strip ul{gap:2px;margin:0;padding-left:18px;font-size:14px;display:grid}.review-strip audio{width:min(100%,520px)}.review-actions{flex-wrap:wrap;gap:8px;display:flex}.decision-strip{border-top:1px solid hsl(var(--border));gap:10px;padding:12px 0;display:grid}.decision-strip strong{margin-bottom:3px;font-size:14px;display:block}.decision-strip p{color:hsl(var(--muted-foreground));margin:0;font-size:14px;line-height:1.4}.decision-strip.success-strip{border-top-color:#8be4b0}.decision-strip.success-strip strong{color:#176337}.decision-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.attendance-correction-panel{align-items:stretch}.attendance-correction-grid{grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:10px;display:grid}.ghost-button.success{color:#176337;border-color:#8be4b0}.ghost-button.danger{border-color:hsl(var(--destructive) / .32);color:hsl(var(--destructive))}.media-gallery-section{gap:10px;display:grid}.section-heading-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading-row h3{margin:0;font-size:16px}.compact-button{min-height:34px;padding:0 12px}.media-gallery{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.media-preview{min-width:0}.media-preview-image{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));display:block;overflow:hidden}.media-preview-image img{object-fit:cover;width:100%;max-height:260px;display:block}.media-preview-image span{color:hsl(var(--muted-foreground));padding:8px 10px;font-size:12px;font-weight:500;display:block}.media-preview-audio{border:1px solid hsl(var(--border));border-radius:var(--radius);gap:7px;padding:10px;display:grid}.media-preview-audio span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.media-preview-audio audio{width:100%}.media-preview-file{min-height:38px;color:hsl(var(--foreground));align-items:center;font-weight:500;display:inline-flex}.detail-editor{gap:10px;display:grid}.detail-editor label{gap:6px;display:grid}.detail-editor span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.detail-editor input,.detail-editor textarea{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;color:hsl(var(--foreground));font:inherit}.detail-editor input{min-height:38px;padding:0 10px}.detail-editor textarea{resize:vertical;min-height:138px;padding:10px;line-height:1.45}.detail-editor-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.compact-domain-section{padding-top:2px}.work-item-list{gap:8px;display:grid}.work-item-row{border-top:1px solid hsl(var(--border));grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding:10px 0;display:grid}.work-item-row strong{font-size:15px}.domain-list{color:hsl(var(--foreground));gap:5px;margin:0;padding-left:18px;font-size:14px;display:grid}.raw-text-details{border-top:1px solid hsl(var(--border));padding-top:12px}.raw-text-details summary{color:hsl(var(--muted-foreground));cursor:pointer;font-size:13px;font-weight:500}.raw-text-details p{color:hsl(var(--muted-foreground));margin:10px 0 0;font-size:14px;line-height:1.5}.dialog-form{gap:12px;padding:16px;display:grid}.timeline-detail{gap:14px;padding:16px;display:grid}.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.detail-facts.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-facts div{border:1px solid hsl(var(--border));border-radius:calc(var(--radius) - 2px);background:hsl(var(--muted));min-width:0;padding:10px}.detail-facts dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.detail-facts dd{overflow-wrap:anywhere;margin:4px 0 0;font-size:14px;font-weight:500}.detail-section{gap:8px;display:grid}.detail-section h3{margin:0;font-size:15px}.detail-section p{color:hsl(var(--muted-foreground));overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.5}.time-allocation-list{gap:8px;margin-top:2px;display:grid}.time-allocation-row{border-top:1px solid hsl(var(--border));justify-content:space-between;align-items:flex-start;gap:16px;padding:8px 0;display:flex}.time-allocation-row strong,.time-allocation-row span{font-size:14px;font-weight:500}.time-allocation-row span{white-space:nowrap}.review-section{border:1px solid hsl(var(--destructive) / .25);border-radius:var(--radius);background:hsl(var(--destructive) / .06);padding:10px 12px}.review-section ul{color:hsl(var(--foreground));gap:4px;margin:0;padding-left:18px;font-size:14px;display:grid}.media-review{justify-items:start;gap:8px;display:grid}.media-review audio{width:min(100%,520px)}.error-text{color:hsl(var(--destructive));font-size:13px;font-weight:500}.structured-data{gap:10px;display:grid}.structured-row{border:0;border-bottom:1px solid hsl(var(--border));background:0 0;border-radius:0;gap:4px;padding:0 0 10px;display:grid}.structured-row:last-child{border-bottom:0;padding-bottom:0}.structured-row>span,.structured-data dt{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.structured-data dl,.structured-data ul{gap:5px;margin:0;padding:0;display:grid}.structured-data li{margin-left:18px}.structured-data dd{overflow-wrap:anywhere;margin:2px 0 0;font-size:14px}.two-column-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.span-all{grid-column:1/-1}.personnel-dialog-form{gap:14px}.dialog-form-section{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .45);gap:10px;padding:12px;display:grid}.project-create-mode{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .5);gap:4px;margin:0 0 14px;padding:4px;display:flex}.project-create-mode-tab{border-radius:calc(var(--radius) - 2px);min-height:34px;color:hsl(var(--muted-foreground));background:0 0;border:0;flex:1;justify-content:center;align-items:center;gap:7px;font-size:14px;font-weight:500;display:inline-flex}.project-create-mode-tab.active{background:hsl(var(--background));color:hsl(var(--foreground));box-shadow:var(--shadow-xs)}.dialog-section-heading{gap:3px;display:grid}.dialog-section-heading h3{margin:0;font-size:15px;line-height:1.2}.dialog-section-heading p{color:hsl(var(--muted-foreground));margin:0;font-size:13px;line-height:1.45}.personnel-id06-panel{padding:12px}.dialog-actions{justify-content:flex-end;gap:10px;display:flex}.dashboard-lists{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;margin-top:14px;display:grid}.list-large{grid-column:1/-1}.list-medium,.list-small{grid-column:auto}.dashboard-lists .table-panel{min-height:240px}.dashboard-lists .table-wrap{max-height:330px;overflow:hidden auto}.action-page{align-items:start;display:grid}.action-grid{grid-template-columns:repeat(2,minmax(320px,1fr));align-items:start;gap:14px;display:grid}.action-card{width:min(100%,460px)}.stack{gap:14px;display:grid}.form-panel{gap:12px;padding:16px;display:grid}.compact-form{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-form h2,.compact-form .primary-button{grid-column:1/-1}.form-panel h2,.table-panel h2{letter-spacing:0;margin:0;font-size:16px;line-height:1.25}.field{gap:6px;display:grid}.form-note{color:hsl(var(--muted-foreground));margin:-4px 0 0;font-size:13px;line-height:1.45}.status-note{color:hsl(var(--muted-foreground));margin:-2px 0 0;font-size:13px;font-weight:500;line-height:1.45}.field span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.field input,.field select,.field textarea{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;min-height:36px;color:hsl(var(--foreground));box-shadow:var(--shadow-xs);padding:0 10px;transition:border-color .14s,box-shadow .14s}.field textarea{resize:vertical;min-height:88px;padding:10px}.field input:focus,.field select:focus,.field textarea:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .25);outline:none}.primary-button:focus-visible,.secondary-button:focus-visible,.ghost-button:focus-visible,.icon-button:focus-visible,.nav-button:focus-visible{box-shadow:0 0 0 3px hsl(var(--ring) / .35);outline:none}.choice-panel{border:1px solid hsl(var(--border));border-radius:var(--radius);gap:10px;min-width:0;margin:0;padding:10px;display:grid}.choice-panel legend{color:hsl(var(--muted-foreground));padding:0 4px;font-size:12px;font-weight:500}.checkbox-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.checkbox-row{min-width:0;color:hsl(var(--foreground));align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.checkbox-row input{flex:none;width:16px;height:16px}.checkbox-row span{overflow-wrap:anywhere;min-width:0}.file-field{gap:6px;display:grid}.file-field span{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}.file-field input[type=file]{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;min-height:42px;color:hsl(var(--foreground));padding:8px 10px}.file-field strong{font-size:14px;font-weight:500}.file-field small,.field-error{color:hsl(var(--muted-foreground));font-size:13px;font-weight:500}.field-error{color:hsl(var(--destructive));margin:0}.inline-create-field{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;display:grid}.party-facts{grid-template-columns:1fr}.checklist-section{gap:10px;min-width:0;display:grid}.checklist-section-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.checklist-section-header h3{color:hsl(var(--muted-foreground));letter-spacing:0;margin:0;font-size:13px;font-weight:500}.checklist-builder{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));gap:0;display:grid}.checklist-empty{border-bottom:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));margin:0;padding:14px 16px;font-weight:500}.checklist-row{border-bottom:1px solid hsl(var(--border));grid-template-columns:24px minmax(0,1fr) 32px;align-items:start;gap:10px;min-width:0;padding:10px;display:grid}.checklist-row:last-of-type{border-bottom:0}.checklist-index{width:24px;height:36px;color:hsl(var(--muted-foreground));border:0;border-radius:999px;justify-content:center;align-items:center;font-size:13px;font-weight:500;display:inline-flex}.checklist-fields{grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);gap:8px;min-width:0;display:grid}.checklist-row input,.checklist-row textarea,.personnel-select{border:1px solid hsl(var(--input));border-radius:var(--radius);background:hsl(var(--background));width:100%;min-height:38px;color:hsl(var(--foreground));font:inherit;padding:0 10px;font-size:14px}.checklist-row textarea{resize:none;min-height:56px;padding:8px 10px;line-height:1.35;overflow:hidden}.checklist-row input:focus,.checklist-row textarea:focus,.personnel-select:focus{outline:2px solid hsl(var(--ring));outline-offset:2px}.compact-icon{width:34px;min-height:34px}.checklist-remove{width:32px;min-height:36px;box-shadow:none;background:0 0;border-color:#0000}.compact-icon:disabled,.primary-button:disabled{cursor:not-allowed;opacity:.45}.inline-form-button{justify-self:start}.checklist-add-button{margin:10px}.personnel-picker{gap:8px;display:grid}.selected-personnel-list{gap:6px;display:grid}.selected-personnel-row{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:6px 8px;display:flex}.selected-personnel-row span{overflow-wrap:anywhere;min-width:0;font-size:14px;font-weight:500}.table-panel{min-width:0;overflow:hidden}.panel-header{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.panel-header h2{letter-spacing:-.01em;margin:0;font-size:16px;font-weight:650;line-height:1.2}.timeline-panel .panel-header{border-bottom:0;padding:0 0 8px}.timeline-panel .panel-header h2{font-size:18px}.table-wrap{overflow-x:hidden}table{border-collapse:collapse;table-layout:fixed;width:100%}th,td{border-bottom:1px solid hsl(var(--border));text-align:left;vertical-align:top;padding:11px 16px}th{color:hsl(var(--muted-foreground));font-size:12px;font-weight:500}td{overflow-wrap:anywhere;font-size:14px}tbody tr:hover{background:hsl(var(--muted))}.error-banner{border:1px solid hsl(var(--destructive) / .35);border-radius:var(--radius);background:hsl(var(--destructive) / .06);color:hsl(var(--destructive));overflow-wrap:anywhere;margin-bottom:14px;padding:12px 14px;font-size:14px;font-weight:500}.centered-state{min-height:180px;color:hsl(var(--muted-foreground));place-items:center;font-weight:500;display:grid}.workspace-skeleton{gap:14px;display:grid}.auth-skeleton-shell{background:hsl(var(--background));min-height:100vh;padding:22px 24px}.auth-skeleton-shell .workspace-skeleton{max-width:1280px;margin:0 auto}.skeleton-row,.skeleton-grid{gap:12px;display:grid}.skeleton-row.header{grid-template-columns:minmax(180px,280px) minmax(120px,180px);justify-content:space-between}.skeleton-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr)}.skeleton-card,.skeleton-row span{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));position:relative;overflow:hidden}.skeleton-row span{height:34px}.skeleton-card{align-content:start;gap:14px;padding:18px;display:grid}.skeleton-card.hero{grid-template-columns:repeat(3,minmax(0,1fr));min-height:110px}.skeleton-card.tall{min-height:420px}.skeleton-card span{background:hsl(var(--muted));border-radius:999px;height:24px;display:block}.skeleton-card span:nth-child(2){width:72%}.skeleton-card span:nth-child(3){width:54%}.skeleton-card span:nth-child(4){width:82%}.skeleton-card:after,.skeleton-row span:after{content:"";background:linear-gradient(90deg,#0000,#ffffff8c,#0000);animation:1.4s ease-in-out infinite skeleton-shimmer;position:absolute;inset:0;transform:translate(-100%)}@keyframes skeleton-shimmer{to{transform:translate(100%)}}.link-code-box{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));gap:4px;padding:12px;display:grid}.link-code-box span{letter-spacing:0;font-family:Cascadia Mono,SFMono-Regular,Consolas,monospace;font-size:19px;font-weight:650}.estimate-workspace{--estimate-accent:204 68% 38%;--estimate-accent-soft:204 70% 96%;--estimate-ink-soft:215 16% 35%;gap:14px;min-width:0;display:grid}.estimate-version-bar,.estimate-section-heading,.estimate-editor-heading,.price-catalog-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.estimate-version-bar{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;min-height:44px;padding:0 0 10px}.estimate-version-selectors,.estimate-version-actions,.estimate-tree-actions,.estimate-row-command-group,.estimate-adjustment-actions{align-items:center;gap:7px;display:flex}.estimate-version-selectors label,.price-catalog-toolbar label{color:hsl(var(--muted-foreground));align-items:center;gap:7px;font-size:11px;font-weight:600;display:flex}.estimate-version-selectors select,.price-catalog-toolbar select,.estimate-resource-row select,.price-item-row select{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-width:0;min-height:30px;color:hsl(var(--foreground));font:inherit;padding:0 28px 0 8px;font-size:12px}.estimate-version-status{border:1px solid hsl(var(--success) / .28);background:hsl(var(--success-soft));min-height:24px;color:hsl(var(--success));border-radius:999px;align-items:center;padding:0 8px;font-size:11px;font-weight:650;display:inline-flex}.estimate-version-status.locked{border-color:hsl(var(--warning) / .3);background:hsl(var(--warning-soft));color:hsl(var(--warning))}.estimate-summary{gap:10px;display:grid}.estimate-summary-metrics{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.estimate-summary-metrics>div{border-left:1px solid hsl(var(--border));align-content:center;gap:3px;min-width:0;min-height:74px;padding:10px 14px;display:grid}.estimate-summary-metrics>div:first-child{border-left:0}.estimate-summary-metrics dt{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.estimate-summary-metrics dt,.estimate-kicker,.estimate-line-fields label>span:first-child,.estimate-adjustments label>span:first-child,.price-catalog-toolbar label>span:first-child{color:hsl(var(--muted-foreground));text-transform:uppercase;letter-spacing:0;font-size:10px;font-weight:650}.estimate-summary-metrics dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;min-width:0;margin:0;font-size:16px;font-weight:650}.estimate-summary-metrics .estimate-summary-selling{box-shadow:inset 3px 0 0 hsl(var(--estimate-accent));background:hsl(var(--estimate-accent-soft))}.estimate-summary-selling dd{color:hsl(var(--estimate-accent))}.estimate-adjustments{flex-wrap:wrap;align-items:end;gap:8px 12px;display:flex}.estimate-adjustments label{flex:150px;max-width:220px}.estimate-adjustments label>span:first-child,.estimate-line-fields label>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.estimate-adjustment-actions{margin-left:auto}.estimate-adjustments label,.estimate-line-fields label{gap:4px;min-width:0;display:grid}.estimate-percent-input,.estimate-input-unit{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));align-items:center;min-width:0;min-height:30px;display:flex}.estimate-percent-input input,.estimate-input-unit input{background:0 0;border:0;flex:auto;width:0}.estimate-percent-input>span,.estimate-input-unit small{color:hsl(var(--muted-foreground));flex:none;padding:0 7px;font-size:10px}.estimate-workbench{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));grid-template-columns:minmax(0,1fr);min-width:0;min-height:420px;display:grid;overflow:hidden}.estimate-tree,.estimate-line-editor,.price-catalog-panel{min-width:0}.estimate-line-editor,.price-catalog-panel{padding:12px}.estimate-section-heading,.estimate-editor-heading{min-height:46px;padding-bottom:10px}.estimate-tree-heading{border-bottom:1px solid hsl(var(--border));padding:10px 12px}.estimate-section-heading h3,.estimate-section-heading h4,.estimate-editor-heading h3,.estimate-empty-editor h3,.estimate-empty-state h3{letter-spacing:0;margin:2px 0 0;font-size:14px;font-weight:650}.estimate-tree-table,.estimate-resource-table,.price-item-table{font-variant-numeric:tabular-nums;min-width:0;font-size:12px;overflow-x:auto}.estimate-tree-table{--estimate-tree-columns:minmax(300px, 1fr) 120px 120px 170px 190px}.price-item-row{min-width:500px}.estimate-tree-row{--estimate-depth:0;grid-template-columns:var(--estimate-tree-columns);border-bottom:1px solid hsl(var(--border) / .72);min-height:36px;color:hsl(var(--estimate-ink-soft));cursor:default;align-items:center;display:grid}.estimate-tree-row>span,.estimate-tree-row>button{min-width:0;padding:7px 8px}.estimate-tree-row.head,.estimate-resource-row.head,.price-item-row.head{background:hsl(var(--muted) / .48);min-height:30px;color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.estimate-tree-row.section{background:hsl(var(--muted) / .2);color:hsl(var(--foreground))}.estimate-tree-section-main{grid-column:1/span 2}.estimate-tree-row>span:nth-child(2),.estimate-tree-row>span:nth-child(3),.estimate-tree-row>span:nth-child(4){text-align:right}.estimate-tree-sum{color:hsl(var(--muted-foreground));font-size:11px}.estimate-tree-row.line:hover,.estimate-tree-row.section:hover,.price-item-row:not(.head):hover{background:hsl(var(--estimate-accent-soft))}.estimate-tree-row.selected{box-shadow:inset 3px 0 0 hsl(var(--estimate-accent));background:hsl(var(--estimate-accent-soft));color:hsl(var(--foreground))}.estimate-tree-main{color:inherit;font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:6px;display:flex;overflow:hidden;padding-left:calc(8px + var(--estimate-depth) * 18px)!important}.estimate-tree-main>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.estimate-line-marker{border:1px solid hsl(var(--estimate-accent));background:hsl(var(--background));flex:none;width:7px;height:7px}.estimate-row-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.estimate-row-actions button,.estimate-inline-icon,.estimate-icon-button{border-radius:var(--radius-xs);width:28px;height:28px;color:hsl(var(--muted-foreground));background:0 0;border:1px solid #0000;place-items:center;padding:0;display:inline-grid}.estimate-row-actions button:hover:not(:disabled),.estimate-inline-icon:hover:not(:disabled){border-color:hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground))}.estimate-line-fields{border-top:1px solid hsl(var(--border));grid-template-columns:minmax(56px,.6fr) repeat(3,minmax(0,1fr));gap:8px;padding:10px 0 12px;display:grid}.estimate-line-fields .estimate-field-wide{grid-column:2/-1;min-width:0}.estimate-line-fields input,.estimate-resource-row input,.price-item-row input,.estimate-search-field input{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));width:100%;min-width:0;min-height:30px;color:hsl(var(--foreground));font:inherit;padding:5px 7px;font-size:12px}.norm-picker{border-top:1px solid hsl(var(--border));border-bottom:1px solid hsl(var(--border))}.norm-picker-current{min-height:42px;color:hsl(var(--muted-foreground));align-items:center;gap:8px;font-size:12px;display:flex}.norm-picker-current>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:hsl(var(--foreground));flex:auto;overflow:hidden}.estimate-search-field{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);align-items:center;gap:5px;padding-left:8px;display:flex}.estimate-search-field input{border:0}.estimate-resources{padding-top:12px}.estimate-resource-row{border-bottom:1px solid hsl(var(--border) / .72);grid-template-columns:minmax(96px,.8fr) minmax(0,1fr) minmax(0,1fr) minmax(88px,auto);grid-template-areas:"typ namn namn actions""atgang spill pris kostnad";align-items:end;gap:7px 8px;padding:9px 0 10px;display:grid}.estimate-resource-row.head{display:none}.estimate-resource-row label{gap:3px;min-width:0;display:grid}.estimate-resource-row>label:first-of-type{grid-area:typ}.estimate-resource-row>label:nth-of-type(2){grid-area:namn}.estimate-resource-row>label:nth-of-type(3){grid-area:atgang}.estimate-resource-row>label:nth-of-type(4){grid-area:spill}.estimate-resource-row>label:nth-of-type(5){grid-area:pris}.estimate-resource-row>.estimate-resource-cost{grid-area:kostnad}.estimate-resource-row>.estimate-row-actions{grid-area:actions;justify-content:flex-end;align-self:start}.estimate-resource-row>.estimate-labor-allocation{grid-area:auto/1/auto/-1}.estimate-resource-row label:before,.estimate-resource-cost:before{content:attr(data-label);color:hsl(var(--muted-foreground));letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;font-size:9px;font-weight:650;overflow:hidden}.estimate-resource-cost{text-align:right;gap:3px;min-width:0;font-weight:600;line-height:30px;display:grid}.estimate-resource-cost:before{line-height:1}.estimate-norm-toggle{white-space:nowrap;align-items:center;gap:5px;min-height:30px;font-size:11px;display:flex}.estimate-norm-toggle input{width:14px;min-height:14px}.estimate-labor-consumption{gap:4px;min-width:0;display:grid}.estimate-labor-allocation{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:2px;display:grid}.estimate-labor-allocation>span{gap:3px;min-width:0;display:grid}.estimate-labor-allocation>span>small{color:hsl(var(--muted-foreground));letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;font-size:9px;font-weight:650;overflow:hidden}.estimate-labor-summary{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));display:grid;overflow:hidden}.estimate-labor-summary-head{justify-content:space-between;align-items:center;gap:18px;padding:10px 14px;display:flex}.estimate-labor-summary-head h3{margin:2px 0 0;font-size:14px;font-weight:650}.estimate-labor-summary-head p{color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:11px}.estimate-workday-control{align-items:end;gap:6px;display:flex}.estimate-workday-control label{gap:3px;width:112px;display:grid}.estimate-workday-control label>span:first-child{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:9px;font-weight:650}.estimate-time-totals{border-top:1px solid hsl(var(--border));grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.estimate-time-totals>span{border-left:1px solid hsl(var(--border));grid-template-columns:auto 1fr;align-items:center;gap:1px 8px;min-height:54px;padding:8px 16px;display:grid}.estimate-time-totals>span:first-child{border-left:0}.estimate-time-totals svg{color:hsl(var(--muted-foreground));grid-row:1/3}.estimate-time-totals small{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:9px;font-weight:650}.estimate-time-totals strong{font-variant-numeric:tabular-nums;font-size:15px}.estimate-labor-totals{align-items:stretch;gap:8px;display:flex}.estimate-labor-totals>span{border-left:1px solid hsl(var(--border));grid-template-columns:auto auto;align-items:center;gap:1px 7px;min-width:150px;padding:8px 10px;display:grid}.estimate-labor-totals svg{color:hsl(var(--muted-foreground));grid-row:1/3}.estimate-labor-totals small{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:650}.estimate-labor-totals strong{font-variant-numeric:tabular-nums;font-size:15px}.estimate-labor-warning{border-top:1px solid hsl(var(--warning) / .3);border-bottom:1px solid hsl(var(--warning) / .3);background:hsl(var(--warning-soft));color:hsl(var(--warning));align-items:center;gap:8px;padding:8px 16px;font-size:11px;display:flex}.estimate-time-group-heading{border-top:1px solid hsl(var(--border) / .7);margin:0;padding:10px 16px 6px;font-size:12px;font-weight:650}.estimate-labor-table{min-width:0}.estimate-labor-row{border-top:1px solid hsl(var(--border) / .7);font-variant-numeric:tabular-nums;grid-template-columns:minmax(190px,1.7fr) repeat(4,minmax(90px,1fr));align-items:center;gap:12px;min-height:40px;padding:6px 16px;font-size:11px;display:grid}.estimate-labor-row.estimate-time-row{grid-template-columns:minmax(180px,1.6fr) repeat(5,minmax(82px,1fr))}.estimate-staffing-value{justify-content:flex-end;align-items:center;gap:5px;display:inline-flex}.estimate-time-sections{border-top:1px solid hsl(var(--border));display:grid}.estimate-time-sections>div{border-bottom:1px solid hsl(var(--border) / .65);font-variant-numeric:tabular-nums;grid-template-columns:minmax(180px,1fr) 120px 140px;align-items:center;gap:12px;min-height:34px;padding:6px 16px;font-size:11px;display:grid}.estimate-time-sections>div>span:not(:first-child){text-align:right}.estimate-time-sections .estimate-time-sections-head{background:hsl(var(--muted) / .24)}.estimate-time-sections-head small{color:hsl(var(--muted-foreground));text-align:right;grid-column:2/-1}.estimate-sources{border-top:1px solid hsl(var(--border));gap:10px;padding-top:14px;display:grid}.estimate-sources .estimate-section-heading p{color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:11px}.estimate-source-form{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--muted) / .2);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;display:grid}.estimate-source-form label{gap:3px;min-width:0;display:grid}.estimate-source-form :is(input,select,textarea){width:100%;min-width:0;max-width:100%}.estimate-source-form label>span:first-child{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:9px;font-weight:650}.estimate-source-form .estimate-source-document-field,.estimate-source-form .estimate-source-wide{grid-column:span 2}.estimate-source-form .primary-button{place-self:end}.estimate-source-list{display:grid}.estimate-source-row{border-bottom:1px solid hsl(var(--border) / .68);grid-template-columns:auto minmax(180px,1fr) minmax(0,auto) auto;align-items:center;gap:10px;min-height:48px;padding:7px 0;display:grid}.estimate-source-row>svg{color:hsl(var(--muted-foreground))}.estimate-source-main{grid-template-columns:minmax(110px,.32fr) minmax(220px,1fr);gap:4px 18px;min-width:0;display:grid}.estimate-source-main small{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:650}.estimate-source-target,.estimate-source-citation{align-items:baseline;gap:7px;min-width:0;display:flex}.estimate-source-target>span,.estimate-source-citation>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.estimate-source-target>span{color:hsl(var(--muted-foreground));font-size:10px}.estimate-source-citation em{color:hsl(var(--muted-foreground));flex:none;font-size:10px;font-style:normal}.estimate-source-main q{color:hsl(var(--foreground) / .78);text-overflow:ellipsis;white-space:nowrap;grid-column:1/-1;font-size:11px;overflow:hidden}.estimate-source-main>span{color:hsl(var(--muted-foreground));font-size:11px}.estimate-source-main>span:last-child:not(.estimate-source-citation):not(.estimate-source-target){grid-column:1/-1}.estimate-source-delete{width:30px;height:30px;color:hsl(var(--muted-foreground));background:0 0;border:0;place-items:center;display:grid}.estimate-source-delete:hover{color:hsl(var(--danger))}.estimate-labor-row>span:not(:first-child){text-align:right}.estimate-labor-row.head{background:hsl(var(--muted) / .32);min-height:30px;color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:650}.estimate-labor-trade{gap:1px;display:grid}.estimate-labor-trade small{color:hsl(var(--muted-foreground));font-size:10px}.price-catalog-toolbar{border-top:1px solid hsl(var(--border));border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;justify-content:flex-start;padding:8px 0}.price-catalog-toolbar label{flex:210px}.price-catalog-toolbar select{flex:auto}.price-item-row{border-bottom:1px solid hsl(var(--border) / .72);grid-template-columns:92px 76px minmax(120px,1fr) 58px 100px 86px;align-items:center;gap:5px;min-height:38px;padding:4px 0;display:grid}.price-item-row.head{padding:0 5px}.price-item-add{border:1px dashed hsl(var(--border));border-radius:var(--radius-xs);width:100%;min-height:32px;color:hsl(var(--muted-foreground));background:0 0;justify-content:center;align-items:center;gap:5px;margin-top:5px;font-size:11px;display:flex}.estimate-empty-editor,.estimate-empty-state,.estimate-loading{min-height:220px;color:hsl(var(--muted-foreground));text-align:center;align-content:center;place-items:center;padding:24px;display:grid}.estimate-empty-state{border:1px dashed hsl(var(--border));border-radius:var(--radius)}.estimate-empty-editor p,.estimate-empty-state p{max-width:420px;margin:5px 0 12px;font-size:12px;line-height:1.5}.estimate-empty-mark{border:1px solid hsl(var(--estimate-accent) / .35);width:42px;height:42px;color:hsl(var(--estimate-accent));place-items:center;font-size:23px;font-weight:600;display:grid}.estimate-error-banner,.estimate-error-row,.estimate-state-row{margin:0;font-size:12px}.estimate-error-banner{border:1px solid hsl(var(--destructive) / .25);border-radius:var(--radius);background:hsl(var(--destructive) / .06);color:hsl(var(--destructive));align-items:center;gap:7px;padding:8px 12px;display:flex}.estimate-error-row{color:hsl(var(--destructive));padding:8px}.estimate-state-row{color:hsl(var(--muted-foreground));padding:10px}.estimate-loading{grid-auto-flow:column;gap:7px;min-height:120px}.estimate-spinner{animation:.8s linear infinite estimate-spin}@media (prefers-reduced-motion:reduce){.estimate-spinner{animation:none}}@media (width<=900px){.estimate-version-bar{flex-direction:column;align-items:flex-start}.estimate-version-selectors,.estimate-version-actions{flex-wrap:wrap;width:100%}.estimate-tree-table{max-height:520px;overflow:auto}.estimate-labor-summary-head{flex-direction:column;align-items:stretch}.estimate-labor-totals>span:first-child{border-left:0}.estimate-labor-row.estimate-time-row{grid-template-columns:minmax(150px,1.5fr) repeat(5,minmax(76px,1fr));overflow-x:auto}}@media (width<=640px){.estimate-version-selectors label,.estimate-version-selectors select,.estimate-version-actions .ghost-button{width:100%}.estimate-version-selectors label{display:grid}.estimate-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.estimate-summary-metrics>div{min-height:62px}.estimate-summary-metrics>div:nth-child(odd){border-left:0}.estimate-summary-metrics>div:nth-child(n+3){border-top:1px solid hsl(var(--border))}.estimate-adjustments label{max-width:none}.estimate-adjustment-actions{justify-content:flex-end;width:100%}.estimate-tree-heading,.estimate-editor-heading,.estimate-section-heading{flex-direction:column;align-items:stretch}.estimate-tree-actions>button,.estimate-editor-heading .primary-button{flex:auto}.estimate-tree-row.head{display:none}.estimate-tree-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:7px 8px}.estimate-tree-row>span,.estimate-tree-row>button{padding:3px 0}.estimate-tree-row .estimate-tree-main{grid-column:1/-1}.estimate-tree-row.line>span[data-label]:before{content:attr(data-label);color:hsl(var(--muted-foreground));text-transform:uppercase;margin-right:5px;font-size:9px;font-weight:650}.estimate-tree-row.line>span[data-label]{font-size:11px}.estimate-tree-row.line>span:nth-of-type(3){grid-column:1}.estimate-tree-row .estimate-row-actions{grid-area:2/2/span 2}.estimate-line-fields,.estimate-dialog.xl .estimate-line-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.estimate-line-fields label,.estimate-line-fields label:nth-last-child(-n+2),.estimate-dialog.xl .estimate-line-fields label{grid-column:auto}.estimate-line-fields .estimate-field-wide,.estimate-dialog.xl .estimate-line-fields .estimate-field-wide{grid-column:1/-1}.estimate-labor-allocation,.estimate-source-form,.estimate-time-totals{grid-template-columns:minmax(0,1fr)}.estimate-source-form .estimate-source-document-field,.estimate-source-form .estimate-source-wide{grid-column:auto}.estimate-source-row{grid-template-columns:auto minmax(0,1fr) auto}.estimate-source-row .ghost-button{grid-column:2/-1;justify-content:flex-start}.estimate-source-main{grid-template-columns:minmax(0,1fr)}.estimate-source-main q,.estimate-source-main>span:last-child:not(.estimate-source-citation):not(.estimate-source-target){grid-column:auto}.estimate-time-sections>div{grid-template-columns:minmax(0,1fr) auto}.estimate-time-sections>div>span:last-child{grid-column:2}.estimate-time-sections-head small{text-align:left;grid-column:1/-1}.estimate-picker-layout{grid-template-columns:minmax(0,1fr)}.estimate-picker-tree{max-height:150px}.price-item-row.head{display:none}.price-item-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0;padding:9px 0}.price-item-row>input:nth-child(3),.price-item-row .estimate-row-actions{grid-column:1/-1}.price-item-row .estimate-row-actions{justify-content:flex-end}.estimate-resource-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"typ actions""namn namn""atgang spill""pris kostnad"}.estimate-labor-totals{grid-template-columns:1fr 1fr;display:grid}.estimate-labor-totals>span{min-width:0}.estimate-labor-row.head{display:none}.estimate-labor-row{grid-template-columns:1fr 1fr;gap:6px 12px;padding:10px 16px}.estimate-labor-trade{grid-column:1/-1}}.estimate-dialog-backdrop{z-index:60;background:#14141461;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.estimate-dialog{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:8px;gap:14px;width:min(420px,100%);padding:16px;display:grid;box-shadow:0 18px 52px #0000003d}.estimate-dialog.wide{align-content:start;gap:10px;width:min(820px,100%);max-height:min(80vh,760px);overflow:hidden}.estimate-picker-layout{grid-template-columns:240px minmax(0,1fr);gap:10px;min-height:0;display:grid}.estimate-picker-tree{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--muted) / .25);grid-template-rows:auto minmax(0,1fr);max-height:min(46vh,430px);display:grid;overflow:hidden}.estimate-picker-tree-scroll{align-content:start;gap:1px;min-height:0;padding:4px;display:grid;overflow-y:auto}.estimate-picker-node{border-radius:var(--radius-xs);width:100%;min-width:0;color:hsl(var(--foreground));font:inherit;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;padding:5px 8px;scroll-margin:8px;font-size:12px;display:block;overflow:hidden}.estimate-picker-node.root{border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .6);border-radius:0;padding:8px 12px}.estimate-picker-node:hover{background:hsl(var(--background))}.estimate-picker-node.active{background:hsl(var(--estimate-accent-soft));color:hsl(var(--estimate-accent));font-weight:600}.estimate-picker-node.root{font-weight:600}.estimate-picker-node.sub{color:hsl(var(--estimate-ink-soft));padding-left:22px;font-size:11px}.estimate-picker-node.sub.active{color:hsl(var(--estimate-accent))}.estimate-picker-node-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.estimate-picker-node-toggle{border-radius:var(--radius-xs);width:24px;height:24px;color:hsl(var(--muted-foreground));background:0 0;border:0;place-items:center;padding:0;display:grid}.estimate-picker-node-toggle:hover{background:hsl(var(--background));color:hsl(var(--foreground))}.estimate-dialog.xl{align-content:start;gap:0;width:min(940px,100%);max-height:min(88vh,860px);padding:6px 18px 16px;overflow-y:auto}.estimate-dialog.xl .estimate-editor-heading{z-index:2;background:hsl(var(--background));padding-top:10px;position:sticky;top:0}.estimate-dialog.xl .estimate-line-fields{grid-template-columns:minmax(72px,.6fr) minmax(0,2.2fr) repeat(4,minmax(0,1fr))}.estimate-dialog.xl .estimate-line-fields .estimate-field-wide{grid-column:auto}.estimate-picker-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.estimate-picker-head h3{margin:2px 0 0;font-size:15px;font-weight:650}.estimate-picker-filters{flex-wrap:wrap;gap:8px;display:flex}.estimate-picker-filters .estimate-search-field{flex:2 220px;min-height:32px}.estimate-picker-filters select{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-width:0;min-height:32px;color:hsl(var(--foreground));font:inherit;flex:170px;padding:0 28px 0 8px;font-size:12px}.estimate-picker-types{flex-wrap:wrap;gap:5px;display:flex}.estimate-picker-type{border:1px solid hsl(var(--border));background:hsl(var(--background));min-height:26px;color:hsl(var(--muted-foreground));border-radius:999px;padding:0 11px;font-size:11px;font-weight:600}.estimate-picker-type.active{border-color:hsl(var(--estimate-accent));background:hsl(var(--estimate-accent-soft));color:hsl(var(--estimate-accent))}.estimate-picker-results{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);align-content:start;min-height:180px;max-height:min(46vh,430px);display:grid;overflow-y:auto}.estimate-picker-placement{gap:4px;display:grid}.estimate-picker-placement>span{color:hsl(var(--muted-foreground));letter-spacing:.03em;text-transform:uppercase;font-size:10px;font-weight:650}.estimate-picker-placement select{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-width:0;min-height:32px;color:hsl(var(--foreground));font:inherit;padding:0 28px 0 8px;font-size:12px}.estimate-picker-section{display:grid}.estimate-picker-group-head{z-index:1;border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .6);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;padding:6px 14px;font-size:10px;font-weight:650;position:sticky;top:0}.estimate-picker-more{background:hsl(var(--muted) / .3);min-height:38px;color:hsl(var(--estimate-accent));font:inherit;border:0;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.estimate-picker-more:hover:not(:disabled){background:hsl(var(--estimate-accent-soft))}.estimate-picker-row{border:0;border-bottom:1px solid hsl(var(--border) / .72);width:100%;color:hsl(var(--foreground));font:inherit;text-align:left;background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:8px 14px;display:flex}.estimate-picker-row:not(.static):hover{background:hsl(var(--estimate-accent-soft))}.estimate-picker-row-main{gap:1px;min-width:0;display:grid}.estimate-picker-row-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.estimate-picker-row-main small{color:hsl(var(--muted-foreground));text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.estimate-picker-row-price{text-align:right;font-variant-numeric:tabular-nums;flex:none;gap:1px;display:grid}.estimate-picker-row-price strong{font-size:12px}.estimate-picker-row-price small{color:hsl(var(--muted-foreground));font-size:10px}.estimate-picker-row-bases{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:4px;display:flex}.estimate-picker-row-bases button{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-width:64px;color:hsl(var(--foreground));gap:1px;padding:4px 7px;font-size:10px;display:grid}.estimate-picker-row-bases button:hover{border-color:hsl(var(--estimate-accent));color:hsl(var(--estimate-accent))}.estimate-picker-foot{justify-content:space-between;align-items:end;gap:10px;display:flex}.estimate-picker-custom{flex:auto;gap:4px;display:grid}.estimate-picker-custom>span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.estimate-picker-custom input{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-height:30px;color:hsl(var(--foreground));font:inherit;padding:5px 8px;font-size:12px}.estimate-pricelists-body{min-height:0;overflow-y:auto}.estimate-review-strip{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));display:grid;overflow:hidden}.estimate-review-head{min-height:42px;color:hsl(var(--foreground));font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:6px 12px;display:flex}.estimate-review-head strong{font-size:13px;font-weight:650}.estimate-review-head small{color:hsl(var(--muted-foreground));font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.estimate-review-list{gap:2px;margin:0;padding:0 12px 10px 34px;list-style:none;display:grid}.estimate-review-list button,.estimate-review-list span{border-radius:var(--radius-xs);width:100%;color:hsl(var(--estimate-ink-soft));font:inherit;text-align:left;background:0 0;border:0;padding:4px 6px;font-size:12px;display:block}.estimate-review-list button:hover{background:hsl(var(--estimate-accent-soft));color:hsl(var(--estimate-accent))}.estimate-review-list li.removed span{color:hsl(var(--muted-foreground));text-decoration:line-through}.estimate-diff-badge{letter-spacing:.03em;text-transform:uppercase;border-radius:999px;flex:none;padding:1px 7px;font-size:9px;font-weight:650}.estimate-diff-badge.new{background:hsl(var(--success-soft));color:hsl(var(--success))}.estimate-diff-badge.changed{background:hsl(var(--warning-soft));color:hsl(var(--warning))}.estimate-name-cell{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.estimate-source-chip{border:1px solid hsl(var(--estimate-accent) / .3);background:hsl(var(--estimate-accent-soft));color:hsl(var(--estimate-accent));text-transform:uppercase;border-radius:999px;padding:2px 7px;font-size:9px;font-weight:650}.estimate-resource-row.dirty{box-shadow:inset 2px 0 0 hsl(var(--warning))}.estimate-lock-flags{border:1px solid hsl(var(--warning) / .3);border-radius:var(--radius-xs);background:hsl(var(--warning-soft));gap:5px;padding:10px 12px;font-size:12px;display:grid}.estimate-lock-flags ul{gap:2px;margin:0;padding-left:16px;display:grid}.estimate-dialog-body{gap:9px;display:grid}.estimate-dialog-body h3{margin:0;font-size:16px}.estimate-dialog-body p{color:hsl(var(--muted-foreground));margin:0;font-size:13px}.estimate-dialog-field{gap:5px;display:grid}.estimate-dialog-actions{justify-content:flex-end;gap:8px;display:flex}@keyframes estimate-spin{to{transform:rotate(360deg)}}.estimate-workspace :is(button,input,select):focus-visible,.estimate-tree-row:focus-visible{outline:2px solid hsl(var(--estimate-accent));outline-offset:1px}.schedule-workspace{--schedule-critical:2 77% 53%;min-width:0;color:hsl(var(--foreground));font-variant-numeric:tabular-nums;gap:14px;display:grid}.schedule-version-bar{border-bottom:1px solid hsl(var(--border));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;min-height:44px;padding-bottom:10px;display:flex}.schedule-version-selectors,.schedule-version-actions{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.schedule-version-selectors label{align-items:center;gap:7px;min-width:0;display:flex}.schedule-version-selectors label>span,.schedule-form-grid label>span,.schedule-staffing-row label>span,.schedule-dependency-row label>span,.schedule-setup-fields label>span{color:hsl(var(--muted-foreground));font-size:11px;font-weight:650}.schedule-version-selectors select{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));min-width:0;max-width:260px;min-height:30px;color:hsl(var(--foreground));font:inherit;padding:0 28px 0 8px;font-size:12px}.schedule-form-grid input,.schedule-form-grid select,.schedule-form-grid textarea,.schedule-staffing-row input,.schedule-dependency-row input,.schedule-dependency-row select,.schedule-setup-fields input,.schedule-setup-fields select{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));width:100%;min-height:34px;color:hsl(var(--foreground));font:inherit;padding:6px 9px;font-size:13px}.schedule-version-actions{flex-wrap:wrap;justify-content:flex-end}.schedule-spin{animation:.8s linear infinite schedule-spin}@keyframes schedule-spin{to{transform:rotate(360deg)}}.schedule-error,.schedule-loading{border:1px solid hsl(var(--border));border-radius:6px;align-items:center;gap:9px;min-height:44px;padding:10px 12px;font-size:13px;display:flex}.schedule-error{border-color:hsl(var(--destructive) / .35);color:hsl(var(--destructive));background:hsl(var(--destructive) / .05)}.schedule-empty{border:1px dashed hsl(var(--border));border-radius:var(--radius);text-align:center;place-items:center;gap:10px;min-height:310px;display:grid}.schedule-empty svg{color:hsl(var(--muted-foreground))}.schedule-empty h3,.schedule-empty p{margin:0}.schedule-empty p{max-width:480px;color:hsl(var(--muted-foreground))}.schedule-context-line{color:hsl(var(--muted-foreground));flex-wrap:wrap;align-items:center;gap:8px 18px;margin-top:-7px;font-size:12px;display:flex}.schedule-context-line strong{color:hsl(var(--foreground))}.schedule-summary{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));grid-template-columns:minmax(240px,1.1fr) minmax(0,2.9fr);display:grid;overflow:hidden}.schedule-readiness{border-right:1px solid hsl(var(--border));align-items:center;gap:10px;min-width:0;padding:13px 16px;display:flex}.schedule-readiness.ready svg{color:#22a056}.schedule-readiness.attention svg{color:#ce8909}.schedule-readiness div{gap:2px;min-width:0;display:grid}.schedule-readiness strong{font-size:13px}.schedule-readiness small{color:hsl(var(--muted-foreground));text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.schedule-metrics{grid-template-columns:1.5fr 1fr 1fr 1fr;margin:0;display:grid}.schedule-metrics>div{border-left:1px solid hsl(var(--border));grid-template-columns:auto 1fr;align-content:center;gap:2px 8px;min-width:0;padding:11px 16px;display:grid}.schedule-metrics>div:first-child{border-left:0}.schedule-metrics svg{color:hsl(var(--muted-foreground));grid-row:1/span 2;align-self:center}.schedule-metrics dt{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.schedule-metrics dd{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:650;overflow:hidden}.schedule-calendar-section{gap:10px;min-width:0;display:grid}.schedule-section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.schedule-section-head>div{gap:1px;display:grid}.schedule-section-head h3{margin:0;font-size:14px;font-weight:650}.schedule-kicker{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.schedule-calendar{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));overflow:hidden}.schedule-cal-toolbar{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;min-height:46px;padding:0 12px;display:flex}.schedule-cal-nav{align-items:center;gap:6px;display:flex}.schedule-cal-nav strong{text-align:center;min-width:140px;font-size:14px;font-weight:650}.schedule-cal-nav .icon-button{width:30px;height:30px}.schedule-cal-weekdays{border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .4);grid-template-columns:40px repeat(7,minmax(0,1fr));display:grid}.schedule-cal-weekdays span{color:hsl(var(--muted-foreground));text-transform:uppercase;padding:6px 8px;font-size:10px;font-weight:650}.schedule-cal-week{min-height:calc(34px + var(--cal-lanes) * 26px);border-top:1px solid hsl(var(--border) / .72);grid-template-columns:40px minmax(0,1fr);display:grid}.schedule-cal-week:first-of-type{border-top:0}.schedule-cal-weeknum{border-right:1px solid hsl(var(--border) / .72);background:hsl(var(--muted) / .25);color:hsl(var(--muted-foreground));justify-content:center;padding-top:7px;font-size:9px;font-weight:650;display:flex}.schedule-cal-week{position:relative}.schedule-cal-days{grid-template-columns:repeat(7,minmax(0,1fr));display:grid;position:absolute;inset:0 0 0 40px}.schedule-cal-day{border-left:1px solid hsl(var(--border) / .55);text-align:right;min-width:0;padding:5px 7px}.schedule-cal-day:first-child{border-left:0}.schedule-cal-day.weekend{background:hsl(var(--muted) / .35)}.schedule-cal-day span{min-width:22px;height:22px;color:hsl(var(--muted-foreground));border-radius:999px;justify-content:center;align-items:center;font-size:11px;font-weight:650;display:inline-flex}.schedule-cal-day.outside span{opacity:.45}.schedule-cal-day.today span{background:hsl(var(--schedule-critical));color:#fff}.schedule-cal-events{z-index:1;pointer-events:none;grid-column:2;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:22px;align-content:start;gap:4px 0;margin:32px 0 6px;display:grid;position:relative}.schedule-cal-event{--cal-color:204 60% 44%;background:hsl(var(--cal-color) / .16);box-shadow:inset 3px 0 0 hsl(var(--cal-color));color:hsl(var(--cal-color));font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;pointer-events:auto;border:0;border-radius:5px;margin:0 3px;padding:0 8px;font-size:11px;font-weight:650;line-height:22px;overflow:hidden}.schedule-cal-event:hover{background:hsl(var(--cal-color) / .26)}.schedule-cal-event.critical{box-shadow:inset 3px 0 0 hsl(var(--schedule-critical))}.schedule-cal-event.clip-start{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:0}.schedule-cal-event.clip-end{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}.schedule-cal-legend{color:hsl(var(--muted-foreground));flex-wrap:wrap;justify-content:flex-end;gap:8px 16px;font-size:10px;display:flex}.schedule-cal-legend span{align-items:center;gap:5px;display:flex}.schedule-cal-legend i{--cal-color:204 60% 44%;background:hsl(var(--cal-color) / .2);width:14px;height:8px;box-shadow:inset 2px 0 0 hsl(var(--cal-color));border-radius:2px}.schedule-cal-legend i.critical{box-shadow:inset 2px 0 0 hsl(var(--schedule-critical))}.schedule-cal-undated{border-radius:var(--radius);background:#ce890912;border:1px solid #ce890959;flex-wrap:wrap;align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:flex}.schedule-cal-undated strong{font-weight:650}.schedule-cal-undated small{color:hsl(var(--muted-foreground))}.schedule-cal-undated button{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));font:inherit;cursor:pointer;border-radius:999px;padding:3px 9px;font-size:11px}.schedule-cal-undated button:hover{border-color:#ce8909}.schedule-cal-empty{border:1px dashed hsl(var(--border));border-radius:var(--radius);color:hsl(var(--muted-foreground));text-align:center;padding:30px 14px;font-size:13px}.schedule-delete-button{color:hsl(var(--destructive));margin-right:auto}.schedule-dialog-backdrop{z-index:120;background:#10131885;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.schedule-activity-dialog,.schedule-setup-dialog,.schedule-confirm-dialog{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:8px;flex-direction:column;width:min(920px,100%);max-height:min(860px,100vh - 36px);display:flex;overflow:hidden;box-shadow:0 18px 50px #0a0c103d}.schedule-setup-dialog{width:min(640px,100%)}.schedule-confirm-dialog{width:min(480px,100%)}.schedule-confirm-dialog>p{color:hsl(var(--muted-foreground));margin:0;padding:18px 20px}.schedule-dialog-head{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.schedule-dialog-head>div{gap:1px;display:grid}.schedule-dialog-head h2{margin:0;font-size:16px;font-weight:650}.schedule-dialog-body{padding:0 18px;overflow-y:auto}.schedule-dialog-actions{border-top:1px solid hsl(var(--border));justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.schedule-form-section{border-top:1px solid hsl(var(--border));padding:16px 0}.schedule-form-section:first-child{border-top:0}.schedule-form-section>h3,.schedule-form-heading h3{margin:0;font-size:14px}.schedule-form-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.schedule-form-heading>div{gap:2px;display:grid}.schedule-form-heading h3{align-items:center;gap:6px;display:flex}.schedule-form-heading p{color:hsl(var(--muted-foreground));margin:0;font-size:11px}.schedule-form-heading>span{color:hsl(var(--muted-foreground));font-size:11px;font-weight:650}.schedule-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin-top:10px;display:grid}.schedule-form-grid label,.schedule-staffing-row label,.schedule-dependency-row label,.schedule-setup-fields label{gap:5px;min-width:0;display:grid}.schedule-form-grid label.wide{grid-column:1/-1}.schedule-form-grid textarea{resize:vertical}.schedule-manual-calculator{border-top:1px solid hsl(var(--border));padding:16px 0}.schedule-calculation-preview{border-block:1px solid hsl(var(--border));grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px;display:grid}.schedule-calculation-preview>div{border-left:1px solid hsl(var(--border));gap:3px;min-width:0;padding:10px 12px;display:grid}.schedule-calculation-preview>div:first-child{border-left:0}.schedule-calculation-preview span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.schedule-calculation-preview strong{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:15px}.schedule-formula-note{color:hsl(var(--muted-foreground));margin:8px 0 0;font-size:10px}.schedule-allocation-list,.schedule-repeat-list{gap:5px;display:grid}.schedule-allocation-list{max-height:250px;overflow-y:auto}.schedule-allocation-row{border-top:1px solid hsl(var(--border));grid-template-columns:auto minmax(0,1fr) 82px auto;align-items:center;gap:8px;min-height:42px;padding:5px 8px;display:grid}.schedule-allocation-row>span{min-width:0;display:grid}.schedule-allocation-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.schedule-allocation-row small{color:hsl(var(--muted-foreground));font-size:10px}.schedule-allocation-row>input[type=number]{border:1px solid hsl(var(--border));border-radius:5px;min-height:32px;padding:5px 7px}.schedule-allocation-row em{color:hsl(var(--muted-foreground));font-size:11px;font-style:normal}.schedule-staffing-row{grid-template-columns:minmax(0,1fr) 120px auto;align-items:end;gap:8px;display:grid}.schedule-dependency-row{grid-template-columns:minmax(0,1.5fr) minmax(140px,.8fr) 130px auto;align-items:end;gap:8px;display:grid}.schedule-inline-empty{color:hsl(var(--muted-foreground));margin:0;padding:10px 0;font-size:12px}.schedule-setup-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;display:grid}@media (width<=900px){.schedule-summary{grid-template-columns:1fr}.schedule-readiness{border-right:0;border-bottom:1px solid hsl(var(--border))}.schedule-cal-nav strong{min-width:0}}@media (width<=640px){.schedule-version-selectors{grid-template-columns:1fr 1fr;display:grid}.schedule-version-selectors label,.schedule-version-selectors label:first-child{min-width:0}.schedule-version-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.schedule-version-actions .ghost-button{width:100%}.schedule-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-metrics>div:nth-child(3){border-left:0}.schedule-metrics>div:nth-child(n+3){border-top:1px solid hsl(var(--border))}.schedule-readiness small{white-space:normal}.schedule-section-head{flex-direction:column;align-items:stretch;gap:8px}.schedule-cal-weekdays{grid-template-columns:28px repeat(7,minmax(0,1fr))}.schedule-cal-week{grid-template-columns:28px minmax(0,1fr)}.schedule-cal-days{inset:0 0 0 28px}.schedule-cal-event{padding:0 4px;font-size:9px}.schedule-form-grid,.schedule-setup-fields{grid-template-columns:1fr}.schedule-form-grid label.wide{grid-column:auto}.schedule-calculation-preview{grid-template-columns:1fr}.schedule-calculation-preview>div{border-top:1px solid hsl(var(--border));border-left:0}.schedule-calculation-preview>div:first-child{border-top:0}.schedule-staffing-row,.schedule-dependency-row{grid-template-columns:minmax(0,1fr) auto}.schedule-staffing-row label,.schedule-dependency-row label{grid-column:1}.schedule-staffing-row .icon-button,.schedule-dependency-row .icon-button{grid-area:1/2/span 3;align-self:center}.schedule-form-heading{flex-direction:column;align-items:stretch}.schedule-form-heading .ghost-button{width:100%}.schedule-dialog-backdrop{padding:0}.schedule-activity-dialog,.schedule-setup-dialog,.schedule-confirm-dialog{border-radius:0;width:100%;max-height:100dvh}.schedule-dialog-body{padding:0 14px}.schedule-dialog-actions{padding:10px 14px}.schedule-dialog-actions .ghost-button,.schedule-dialog-actions .primary-button{flex:1 1 0;width:auto}}.schedule-workspace :is(button,input,select,textarea):focus-visible{outline:2px solid hsl(var(--ring));outline-offset:1px;border-radius:var(--radius-xs)}.workflow-panel{font-variant-numeric:tabular-nums;align-content:start;gap:14px;min-width:0;min-height:0;display:grid;overflow-y:auto}.workflow-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.workflow-panel-head h2{margin:2px 0 0;font-size:16px;font-weight:650}.workflow-panel-head p{max-width:62ch;color:hsl(var(--muted-foreground));margin:3px 0 0;font-size:12px}.workflow-kicker{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:650}.workflow-head-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.workflow-error,.workflow-loading{border:1px solid hsl(var(--border));border-radius:var(--radius);align-items:center;gap:8px;padding:9px 12px;font-size:12px;display:flex}.workflow-error{border-color:hsl(var(--destructive) / .35);background:hsl(var(--destructive) / .06);color:hsl(var(--destructive))}.workflow-spin{animation:.8s linear infinite workflow-spin}@keyframes workflow-spin{to{transform:rotate(360deg)}}.workflow-muted{color:hsl(var(--muted-foreground));font-size:12px}.workflow-subsection{gap:9px;min-width:0;display:grid}.workflow-subsection h3{color:hsl(var(--muted-foreground));letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:10px;font-weight:650}.workflow-table{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));min-width:0;overflow:hidden}.workflow-row{border-top:1px solid hsl(var(--border) / .7);grid-template-columns:minmax(220px,2.2fr) minmax(110px,1fr) minmax(120px,1fr) minmax(110px,.9fr) minmax(80px,.6fr) minmax(120px,auto);align-items:center;gap:8px;min-height:46px;padding:0 10px;font-size:12px;display:grid}.workflow-row-group:first-child .workflow-row,.workflow-row.head{border-top:0}.workflow-row.head{background:hsl(var(--muted) / .4);min-height:32px;color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:10px;font-weight:650}.workflow-row.cancelled .workflow-row-main strong{text-decoration:line-through}.workflow-row-main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;padding:6px 0;display:flex}.workflow-row-main>span{gap:1px;min-width:0;display:grid}.workflow-row-main strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:650;overflow:hidden}.workflow-row-main small,.workflow-row>span>small{color:hsl(var(--muted-foreground));text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.workflow-row-actions{justify-content:flex-end;align-items:center;gap:2px;display:flex}.workflow-row-actions .icon-button{width:28px;height:28px}.workflow-badge{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border-radius:999px;align-items:center;padding:1px 8px;font-size:10px;font-style:normal;font-weight:650;display:inline-flex}.workflow-badge.success{background:hsl(var(--success-soft));color:hsl(var(--success))}.workflow-badge.attention{background:hsl(var(--warning-soft));color:hsl(var(--warning))}.workflow-badge.danger{background:hsl(var(--destructive) / .12);color:hsl(var(--destructive))}.workflow-row-detail{border-top:1px dashed hsl(var(--border));background:hsl(var(--muted) / .18);gap:8px;padding:4px 12px 12px 34px;display:grid}.workflow-row-detail p{white-space:pre-wrap;margin:0;font-size:12px;line-height:1.5}.workflow-recipient-list{gap:4px;margin:0;padding:0;list-style:none;display:grid}.workflow-recipient-list li{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;font-size:11px;display:grid}.workflow-recipient-list strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.workflow-recipient-list small{color:hsl(var(--muted-foreground))}.workflow-answer-list{border-left:2px solid hsl(var(--border));background:hsl(var(--muted) / .4);border-radius:var(--radius);grid-column:1/-1;gap:6px;margin:6px 0 2px;padding:8px 10px;display:grid}.workflow-answer-list dt{color:hsl(var(--muted-foreground));font-size:11px}.workflow-answer-list dd{white-space:pre-wrap;margin:2px 0 0;font-size:12px;line-height:1.5}.workflow-template-list{gap:8px;display:grid}.workflow-template{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--card));overflow:hidden}.workflow-template-head{justify-content:space-between;align-items:center;gap:10px;padding:4px 10px;display:flex}.workflow-version-list{gap:1px;margin:0;padding:0 10px 8px 32px;list-style:none;display:grid}.workflow-version-list li{border-top:1px solid hsl(var(--border) / .6);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:5px 0;font-size:12px;display:grid}.workflow-version-list li>span:first-child{gap:1px;min-width:0;display:grid}.workflow-version-list small{color:hsl(var(--muted-foreground));font-size:10px}.workflow-panel :is(button,input,select,textarea):focus-visible,.workflow-form :is(button,input,select,textarea):focus-visible{outline:2px solid hsl(var(--ring,var(--foreground)));outline-offset:1px;border-radius:var(--radius-xs)}.workflow-locked-note{border:1px solid hsl(var(--warning) / .3);border-radius:var(--radius-xs);background:hsl(var(--warning-soft));color:hsl(var(--warning));align-items:center;gap:8px;margin:0;padding:9px 12px;font-size:12px;display:flex}.workflow-form{gap:14px;padding:16px 18px 18px;display:grid}.workflow-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;display:grid}.workflow-form-grid label{gap:4px;min-width:0;display:grid}.workflow-form-grid label.wide{grid-column:1/-1}.workflow-form-grid label>span,.workflow-publish-field>span,.workflow-personnel legend{color:hsl(var(--muted-foreground));letter-spacing:.03em;text-transform:uppercase;font-size:10px;font-weight:650}.workflow-form input,.workflow-form select,.workflow-form textarea{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);background:hsl(var(--background));width:100%;min-width:0;min-height:34px;color:hsl(var(--foreground));font:inherit;padding:6px 9px;font-size:13px}.workflow-form textarea{resize:vertical;line-height:1.5}.workflow-form input[type=checkbox]{width:auto;min-height:0}.workflow-publish-field{gap:4px;display:grid}.workflow-personnel{border:0;gap:6px;margin:0;padding:0;display:grid}.workflow-personnel-list{border:1px solid hsl(var(--border));border-radius:var(--radius-xs);grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:4px 10px;max-height:190px;padding:8px 10px;display:grid;overflow-y:auto}.workflow-personnel-list label{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex;overflow:hidden}.workflow-form-actions{justify-content:flex-end;gap:8px;display:flex}.workflow-dialog-wide{width:min(760px,100%)}.workflow-questions{gap:10px;display:grid}.workflow-question{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted) / .2);gap:8px;padding:10px 12px;display:grid}.workflow-question header{align-items:center;gap:10px;display:flex}.workflow-question header strong{flex:none;font-size:11px;font-weight:650}.workflow-question header select{flex:0 170px}.workflow-question header .icon-button{margin-left:auto}.workflow-inline-check{color:hsl(var(--muted-foreground));white-space:nowrap;align-items:center;gap:6px;font-size:11px;display:inline-flex}.workflow-inline-options{gap:14px;display:flex}.workflow-question-options{gap:5px;display:grid}.workflow-option-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}@media (width<=900px){.workflow-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:8px 10px}.workflow-row.head{display:none}.workflow-row-main{grid-area:1/1}.workflow-row-actions{grid-area:1/2}.workflow-row>span[data-label]{color:hsl(var(--muted-foreground));grid-column:1/-1;font-size:11px}.workflow-row>span[data-label]:before{content:attr(data-label) ": ";font-weight:650}.workflow-row-detail{padding-left:12px}.workflow-form-grid{grid-template-columns:minmax(0,1fr)}.workflow-form-grid label.wide{grid-column:auto}.workflow-question header{flex-wrap:wrap}.workflow-version-list{padding-left:12px}}@media (width<=1180px){.project-knowledge-grid{grid-template-columns:1fr}.project-knowledge-section.wide{grid-column:auto}.metrics-grid,.economy-signal-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.economy-signal-strip>div:nth-child(4){border-top:1px solid hsl(var(--border));border-left:0}.economy-signal-strip>div:nth-child(n+4){border-top:1px solid hsl(var(--border))}.weekly-cost-grid{grid-template-columns:minmax(0,1fr)}.overview-hero,.overview-main,.records-summary,.compliance-grid,.compliance-detail-grid,.project-context-bar,.project-overview-grid,.project-workspace,.skeleton-grid,.personnel-workspace{grid-template-columns:1fr}.personnel-workspace{grid-template-rows:auto;height:auto}.overview-stack,.records-stack{height:auto;overflow:visible}.detail-panel{max-height:none}.timeline-panel{overflow:visible}.timeline-scroll,.action-list,.person-flow-scroll{overflow-y:visible}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-form{grid-template-columns:1fr}}@media (width<=620px){.economy-toolbar{grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}.economy-view-tabs{width:100%}.economy-toolbar-actions{flex-wrap:wrap;min-width:0}.economy-toolbar-actions .ghost-button{width:auto}.economy-signal-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.economy-signal-strip>div:nth-child(odd){border-left:0}.economy-signal-strip>div:nth-child(n+3){border-top:1px solid hsl(var(--border))}.weekly-cost-chart>header,.weekly-category-ledger>header{flex-direction:column;align-items:flex-start}.weekly-cost-bars{height:160px}}@media (width<=920px){.app-shell,.app-shell.sidebar-collapsed{grid-template-columns:1fr}.sidebar{height:auto;min-height:auto;position:static;overflow-y:visible}.project-command-bar{grid-template-columns:1fr;align-items:stretch;position:static}.project-command-actions{flex-wrap:wrap;justify-content:flex-start}.project-module-nav{position:static}.economy-workspace-head{flex-direction:column;align-items:stretch}.economy-summary-grid,.economy-baseline-setup,.economy-project-basis{grid-template-columns:1fr}.economy-baseline-action{justify-content:flex-start}.economy-project-basis-fields{flex-wrap:wrap;justify-content:flex-start}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics-grid,.overview-primary-metrics,.overview-secondary-metrics,.dashboard-lists,.action-grid,.project-workspace,.project-grid,.settings-grid,.context-bar,.admin-filter-bar,.records-filter-bar,.records-toolbar{grid-template-columns:1fr}.quick-actions,.project-detail-hero,.project-section-heading,.records-actions-row,.compliance-toolbar,.section-heading,.personnel-heading{flex-direction:column;align-items:stretch}th,td{padding:10px 12px}}@media (width<=620px){.project-document-filters,.project-document-edit-fields{grid-template-columns:minmax(0,1fr)}.project-document-row{grid-template-columns:auto minmax(0,1fr)}.project-document-status,.project-document-actions,.project-document-delete-confirm,.project-document-edit-fields{grid-column:2}.project-document-actions,.project-document-delete-confirm{flex-wrap:wrap;justify-content:flex-start}.workspace{padding:16px}.workspace.project-workspace-mode{padding:0}.project-command-bar,.project-detail-hero,.project-module-nav,.project-tab-body{padding-left:16px;padding-right:16px}.project-command-bar,.project-command-actions,.project-module-nav{min-width:0;max-width:100%}.project-command-bar{overflow:hidden}.project-command-actions,.project-module-nav{overscroll-behavior-x:contain;overflow-x:auto}.project-command-actions .ghost-button,.project-command-actions .primary-button{width:auto}.economy-signal-strip{grid-template-columns:1fr 1fr}.economy-signal-strip>div,.economy-signal-strip>div:nth-child(4),.economy-signal-strip>div:nth-child(5){border-top:1px solid hsl(var(--border));border-left:1px solid hsl(var(--border))}.economy-signal-strip>div:nth-child(odd){border-left:0}.economy-signal-strip>div:first-child,.economy-signal-strip>div:nth-child(2){border-top:0}.economy-baseline-action{flex-direction:column;align-items:stretch}.economy-baseline-action select,.economy-baseline-action .primary-button{width:100%}.economy-project-basis-fields{flex-direction:column;align-items:stretch}.economy-project-basis-fields label,.economy-project-basis-fields .primary-button{width:100%;max-width:none;margin-left:0}.workspace-header,.header-actions{flex-direction:column;align-items:stretch}.header-actions,.ghost-button,.primary-button{width:100%}.metrics-grid,.overview-primary-metrics,.overview-secondary-metrics,.status-grid,.person-compliance-strip,.person-profile-content,.compliance-facts,.compliance-period-fields,.compliance-period-fields.with-site-picker,.compact-facts,.checklist-fields,.inline-create-field,.two-column-form{grid-template-columns:1fr}.person-compliance-strip div{border-top:1px solid hsl(var(--border));border-left:0;padding:8px 0}.person-compliance-strip div:first-child{border-top:0;padding-top:0}.person-compliance-strip div:last-child{padding-bottom:0}.person-compliance-strip .wide,.span-all{grid-column:auto}.records-work-row,.project-site-row,.project-site-party-facts{grid-template-columns:1fr}.records-work-meta{justify-content:flex-start}.nav-list{grid-template-columns:1fr}.auth-card{width:min(100%,390px)}.schedule-workspace{gap:14px;min-width:0}}
