@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";:root{color:#17243c;font-synthesis:none;--blue:#145bd7;--nav:#103f9e;--ink:#17243c;--muted:#64748b;--line:#dfe7f0;--card:#fff;--shadow:0 8px 30px #19355b12;--page:#f4f7fb;--surface-soft:#f8fafc;--surface-muted:#f7f9fc;--surface-raised:#fbfcfe;--field:#fff;--field-border:#c7d3e1;--field-border-hover:#9fb1c7;--field-focus:#2f7de8;--field-focus-ring:#2f7de82e;--field-placeholder:#8290a4;--field-shadow:0 1px 2px #19355b0a, inset 0 1px 0 #ffffffb8;background:#f4f7fb;font-family:DM Sans,system-ui,sans-serif}[data-theme=dark]{--blue:#6ea4ff;--nav:#0b2d68;--ink:#e8eef8;--muted:#9aabc2;--line:#2c3a4e;--card:#172235;--page:#0d1522;--surface-soft:#121d2d;--surface-muted:#152134;--surface-raised:#1a2639;--field:#101a29;--field-border:#40506a;--field-border-hover:#5b6e8a;--field-focus:#79a9ff;--field-focus-ring:#6ea4ff33;--field-placeholder:#8190a6;--field-shadow:0 1px 2px #00000038, inset 0 1px 0 #ffffff06;--shadow:0 10px 34px #0000003d;color:var(--ink);background:var(--page)}*{box-sizing:border-box}body{background:var(--page);min-width:320px;color:var(--ink);margin:0;transition:background-color .18s,color .18s}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #f3b63f}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;color:var(--ink);background:#fff;border-radius:8px;padding:12px 18px;position:fixed;top:-60px;left:16px}.skip-link:focus{top:12px}.app-shell{min-height:100vh}.sidebar{z-index:30;color:#fff;background:linear-gradient(165deg,#154eb8,#0b347f);flex-direction:column;width:248px;padding:24px 14px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:11px;padding:0 8px 25px;display:flex}.brand-mark{color:#154cae;background:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font:800 13px Manrope;display:grid}.brand strong,.brand span,.sidebar-foot strong,.sidebar-foot span{display:block}.brand span,.sidebar-foot span{color:#c9d8f5;margin-top:2px;font-size:12px}.brand .icon-button{color:#fff;margin-left:auto}.sidebar nav{flex-direction:column;gap:5px;display:flex}.nav-label{text-transform:uppercase;letter-spacing:.12em;color:#a9c1ed;padding:0 13px 7px;font-size:10px;font-weight:700}.sidebar nav button{color:#dce7fa;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;padding:11px 13px;display:flex}.sidebar nav button svg{width:18px}.sidebar nav button:hover,.sidebar nav button.active{color:#fff;background:#ffffff24}.sidebar nav button.active{box-shadow:inset 3px 0 #78b3ff}.sidebar-foot{border-top:1px solid #ffffff26;align-items:center;gap:10px;margin-top:auto;padding:20px 8px 4px;display:flex}.avatar{background:#72a4ed;border-radius:50%;place-items:center;width:35px;height:35px;font-size:12px;font-weight:700;display:grid}.app-main{min-height:100vh;margin-left:248px}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);z-index:20;background:#ffffffeb;justify-content:space-between;align-items:center;height:76px;padding:0 32px;display:flex;position:sticky;top:0}.topbar strong{font:700 18px Manrope;display:block}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:#718096;font-size:10px;font-weight:800}.top-actions,.detail-hero>div:last-child{align-items:center;gap:12px;display:flex}.source-badge{border:1px solid var(--line);background:#f8fafc;border-radius:20px;padding:7px 11px;font-size:12px}.theme-toggle{color:var(--ink);border:1px solid var(--line);background:var(--surface-soft)}.theme-toggle svg{width:17px;height:17px}.live-dot{background:#26a77b;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block;box-shadow:0 0 0 3px #d6f5ea}.button{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:10px 15px;font-weight:700;display:inline-flex}.button.secondary{color:#1755ba;background:#edf3ff}.button:disabled{opacity:.55;cursor:not-allowed}.icon-button{cursor:pointer;width:38px;height:38px;color:inherit;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.icon-button svg{width:20px}.page-wrap{max-width:1540px;margin:auto;padding:34px}.page-wrap.narrow{max-width:950px}.hero-row{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:26px;display:flex}.hero-row h1,.detail-hero h1{margin:5px 0;font:800 clamp(28px,3vw,42px) Manrope}.hero-row p,.detail-hero p{color:var(--muted);margin:0}.discipline-tabs{background:#e9eef6;border-radius:10px;flex-wrap:wrap;padding:4px;display:flex}.discipline-tabs button{color:#516078;cursor:pointer;background:0 0;border:0;border-radius:7px;padding:9px 14px}.discipline-tabs button:first-child{color:#174fa9;background:#fff;box-shadow:0 2px 8px #cbd5e1}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.stat-card{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:13px;grid-template-rows:auto auto;grid-template-columns:42px 1fr;column-gap:13px;padding:19px;display:grid;position:relative}.stat-card>div{color:#2166d7;background:#eaf2ff;border-radius:11px;grid-row:1/3;place-items:center;width:42px;height:42px;display:grid}.stat-card>div svg{width:20px}.stat-card span{color:var(--muted);font-size:12px}.stat-card strong{font:800 24px Manrope}.stat-card.warn>div{color:#c47614;background:#fff2db}.overview-grid{grid-template-columns:minmax(280px,.75fr) minmax(480px,1.6fr);gap:18px;margin-bottom:18px;display:grid}.card{background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;padding:22px}.card h2{margin:4px 0 15px;font:700 19px Manrope}.card h3{margin:24px 0 5px;font:700 14px Manrope}.card-title{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.card-title>svg{color:#8ca0b7}.filters-card{flex-direction:column;gap:16px;display:flex}.filters-card label,.project-form label{color:#526177;font-size:12px;font-weight:700}.filters-card input,.filters-card select,.project-form input,.project-form select,.project-form textarea,.calendar-controls input,.prompt-box textarea{width:100%;color:var(--ink);background:#fff;border:1px solid #cad5e2;border-radius:8px;margin-top:7px;padding:10px 11px}.input-with-icon{min-width:260px;position:relative}.input-with-icon svg{color:#8494a9;pointer-events:none;width:17px;height:17px;position:absolute;top:50%;left:11px;transform:translateY(-50%)}.text-button{color:#1759c2;cursor:pointer;background:0 0;border:0;width:max-content;padding:5px 0;font-weight:700}.chart-card{justify-content:space-around;align-items:center;gap:20px;display:flex}.donut-wrap{align-items:center;gap:32px;display:flex}.donut{width:180px;height:180px}.donut circle{vector-effect:non-scaling-stroke}.donut-number{fill:#17243c;font:800 6px Manrope}.donut-label{fill:#728096;font-size:2.5px}.legend{min-width:200px}.legend>div{grid-template-columns:9px 1fr auto;align-items:center;gap:8px;padding:6px 0;font-size:12px;display:grid}.legend i{border-radius:50%;width:8px;height:8px}.records-card{padding:0;overflow:hidden}.records-card>.card-title{padding:20px 22px 12px}.muted{color:var(--muted);font-size:13px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;color:#718096;text-transform:uppercase;letter-spacing:.08em;background:#f8fafc;font-size:10px}th,td{vertical-align:middle;border-top:1px solid #e7edf4;padding:12px 14px}tbody tr:hover{background:#fafcff}.row-toggle{cursor:pointer;color:#64748b;background:0 0;border:0;width:28px}.row-toggle svg{width:16px}.record-link{color:#1759bd;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.record-link.large{font:700 17px Manrope}.subcell{color:#7b8a9d;max-width:340px;margin-top:3px;font-size:11px;display:block}.status{color:#506075;white-space:nowrap;background:#eef2f6;border-radius:20px;align-items:center;padding:5px 9px;font-size:11px;font-weight:700;display:inline-flex}.status.complete{color:#167258;background:#dcf5ea}.status.active{color:#185ac2;background:#e4efff}.status.risk{color:#ae4b29;background:#ffeadf}.nested-row>td{background:#f8fbff}.nested-list{border:1px solid #e4eaf1;border-radius:9px;flex-direction:column;display:flex;overflow:hidden}.nested-list>div{border-bottom:1px solid #e8edf3;grid-template-columns:minmax(220px,1fr) 130px 140px 210px;align-items:center;gap:14px;padding:10px 13px;display:grid}.nested-list>div:last-child{border:0}.nested-list small{color:#718096}.table-note,.snapshot-note{color:#718096;padding:0 22px 15px;font-size:11px}.snapshot-note{text-align:center;padding:12px}.calendar-controls{gap:10px;display:flex}.calendar-controls>input{width:160px;margin:0}.compact input{margin:0}.calendar-layout{grid-template-columns:minmax(0,1fr) 290px;gap:18px;display:grid}.calendar-card{padding:0;overflow:hidden}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-weekdays span{text-align:center;color:#748296;text-transform:uppercase;background:#f7f9fc;padding:12px;font-size:10px;font-weight:800}.calendar-day{border-top:1px solid var(--line);border-right:1px solid var(--line);min-height:126px;padding:9px;overflow:hidden}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:#fafbfd}.calendar-day>strong{font-size:12px}.calendar-event{text-align:left;cursor:pointer;color:#164eaa;white-space:nowrap;text-overflow:ellipsis;background:#e7f0ff;border:0;border-left:3px solid #3975d9;border-radius:4px;width:100%;margin-top:6px;padding:5px 7px;font-size:10px;display:block;overflow:hidden}.calendar-day>small{color:#687991}.calendar-more{color:#3567ad;cursor:pointer;background:0 0;border:0;margin-top:5px;padding:2px 0;font-size:10px}.unscheduled{max-height:720px;padding:20px;overflow:hidden}.job-stack{max-height:590px;overflow:auto}.job-stack>div,.job-stack>button{border-top:1px solid var(--line);padding:13px 0}.job-stack>button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border-bottom:0;border-left:0;border-right:0}.job-stack strong,.job-stack span{font-size:12px;display:block}.job-stack span{color:var(--muted);margin:3px 0 7px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.project-card{padding:19px}.project-meta{justify-content:space-between;align-items:center;margin:12px 0;display:flex}.project-card ul{margin:0;padding:0;list-style:none}.project-card li{border-top:1px solid #edf1f5;justify-content:space-between;gap:10px;padding:8px 0;font-size:12px;display:flex}.project-card li small{color:var(--muted)}.chips{flex-wrap:wrap;gap:4px;display:flex}.chips span,.priority-pill{background:#edf2f7;border-radius:15px;padding:4px 8px;font-size:10px}.source-page{max-width:none}.source-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:46px;margin:-10px 0 16px;padding:8px 0;display:flex}.source-toolbar strong,.source-tool-buttons,.source-tool-buttons button{align-items:center;gap:7px;display:flex}.source-toolbar strong svg,.source-tool-buttons svg{width:14px;height:14px}.source-tool-buttons button,.timeline-controls button{color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 9px}.source-tool-buttons button:hover,.timeline-controls button:hover{background:var(--surface-muted)}.dashboard-source-grid{grid-template-columns:220px minmax(420px,1fr);gap:16px;display:grid}.dashboard-number,.dashboard-chart,.dashboard-pivot{padding:22px}.dashboard-number{text-align:center;place-content:center;min-height:220px;display:grid}.dashboard-number span{color:var(--muted);font-size:13px}.dashboard-number strong{margin-top:14px;font-size:64px;line-height:1}.dashboard-chart h2,.dashboard-pivot h2{margin:0 0 18px;font-size:16px}.dashboard-chart button{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:160px minmax(100px,1fr) 42px;align-items:center;gap:10px;padding:5px 0;display:grid}.dashboard-chart button i{background:#2f7ee6;border-radius:3px;height:18px;display:block}.dashboard-chart button b{text-align:right}.dashboard-pivot{grid-column:1/-1}.timeline-filters{background:var(--surface-muted);border:1px solid var(--line);border-radius:9px;grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;margin-bottom:10px;padding:14px;display:grid}.timeline-filters label{color:var(--muted);font-size:11px;font-weight:700}.timeline-filters :is(input,select){margin:4px 0 0;padding:8px 10px}.timeline-controls{align-items:center;gap:6px;min-height:44px;display:flex}.timeline-controls button{border:1px solid var(--line)}.timeline-controls button svg{width:15px;height:15px}.timeline-controls strong{margin-left:8px}.timeline-controls span{color:var(--muted);margin-left:auto;font-size:12px}.timeline-controls span+span{border:1px solid var(--line);border-radius:6px;margin-left:6px;padding:5px 8px}.gantt-card{min-width:840px;padding:0;overflow:auto}.gantt-head,.gantt-row{border-bottom:1px solid var(--line);grid-template-columns:280px minmax(620px,1fr);min-height:49px;display:grid}.gantt-head>span{color:var(--muted);text-transform:uppercase;padding:15px;font-size:11px;font-weight:800}.gantt-head>div{border-left:1px solid var(--line);grid-template-columns:repeat(9,1fr);align-items:center;display:grid}.gantt-head i{text-align:center;color:var(--muted);font-size:10px;font-style:normal}.gantt-label{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:7px 14px;overflow:hidden}.gantt-label strong,.gantt-label span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.gantt-label strong{font-size:12px}.gantt-label span{color:var(--muted);margin-top:3px;font-size:10px}.gantt-track{border-left:1px solid var(--line);background:repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), var(--line) calc(12.5% - 1px), var(--line) 12.5%);position:relative}.gantt-bar{color:#fff;cursor:pointer;background:#3b82f6;border:0;border-radius:4px;min-width:5px;height:23px;position:absolute;top:13px;overflow:hidden}.gantt-bar.bim{background:#8b5cf6}.gantt-bar.cad{background:#f59e0b}.gantt-bar.other{background:#64748b}.gantt-bar span{white-space:nowrap;text-overflow:ellipsis;padding:4px 7px;font-size:10px;display:block;overflow:hidden}.hidden-job-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;padding:18px;display:grid}.hidden-job-list h2{grid-column:1/-1;margin:0 0 8px;font-size:15px}.hidden-job-list>button{border:1px solid var(--line);background:var(--surface-soft);color:inherit;text-align:left;cursor:pointer;border-radius:7px;grid-template-columns:1fr auto;gap:3px 8px;padding:10px;display:grid}.hidden-job-list>button span:not(.status){color:var(--muted);font-size:10px}.hidden-job-list .status{grid-area:1/2/span 2}.cell-link,.cell-links button{color:#1f63c5;text-align:left;cursor:pointer;background:0 0;border:0;padding:2px 0;display:block}.cell-links button{margin:2px 0}.cell-links small{color:var(--muted);display:block}.intake-files{border:1px solid var(--line);border-radius:10px;grid-template-columns:1fr 1fr;gap:12px;padding:17px;display:grid}.intake-files legend{padding:0 7px;font-weight:800}.intake-files>p{color:var(--muted);grid-column:1/-1;margin:0;font-size:12px}.source-form-note{color:#685514;background:#fff7d6;border:1px solid #ead889;border-radius:8px;margin:18px 0 0;padding:12px 14px}.intake-document-links{margin-top:14px}.back{margin-bottom:14px}.detail-hero{color:#fff;background:linear-gradient(125deg,#123f96,#2168d9);border-radius:16px;justify-content:space-between;align-items:center;padding:30px;display:flex}.detail-hero .eyebrow,.detail-hero p{color:#d1dff8}.detail-hero .priority-pill{background:#ffffff26}.detail-tabs{border-bottom:1px solid var(--line);gap:3px;margin:18px 0;display:flex;overflow:auto}.detail-tabs button{color:#5f6e80;cursor:pointer;background:0 0;border:0;border-bottom:3px solid #0000;padding:12px 17px}.detail-tabs button[aria-selected=true]{color:#1653ad;border-color:#2167d4;font-weight:700}.detail-grid{grid-template-columns:1.3fr .7fr;gap:18px;display:grid}.span-two{grid-column:1/-1}.definition-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.definition-grid div{background:#f7f9fc;border-radius:8px;padding:12px}.definition-grid dt{color:var(--muted);font-size:11px}.definition-grid dd{margin:4px 0 0;font-weight:700}.detail-item{border-top:1px solid var(--line);gap:10px;padding:11px 0;display:flex}.detail-item svg{color:#3972c7;width:18px}.detail-item strong,.detail-item span{display:block}.detail-item span{color:var(--muted);font-size:12px}.discipline-panel{grid-template-columns:.6fr 1.4fr;gap:30px;display:grid}.discipline-workspace{gap:18px;display:grid}.view-stage{animation:.26s cubic-bezier(.2,.72,.25,1) both view-enter}.tab-stage{animation:.21s ease-out both tab-enter}.reveal-panel,.workspace-form{transform-origin:top;animation:.22s cubic-bezier(.2,.72,.25,1) both panel-reveal}.record-list article,.gate-list article{animation:.24s ease-out both item-enter}.record-list article:nth-child(2),.gate-list article:nth-child(2){animation-delay:30ms}.record-list article:nth-child(3),.gate-list article:nth-child(3){animation-delay:55ms}.record-list article:nth-child(4),.gate-list article:nth-child(4){animation-delay:75ms}.card,.button,.detail-tabs button,.sidebar button{transition:transform .16s,box-shadow .18s,border-color .16s,background-color .16s,color .16s}.button:not(:disabled):active{transform:translateY(1px)scale(.99)}.detail-tabs button:hover{transform:translateY(-1px)}@keyframes view-enter{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes tab-enter{0%{opacity:0;transform:translate(5px)}to{opacity:1;transform:translate(0)}}@keyframes panel-reveal{0%{opacity:0;transform:translateY(-5px)scaleY(.985)}to{opacity:1;transform:translateY(0)scaleY(1)}}@keyframes item-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.project-links{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.project-links a{border:1px solid var(--line);border-radius:999px;padding:6px 10px;font-size:12px;text-decoration:none}.production-record-form{padding:24px}.project-form{padding:28px}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.project-form textarea{resize:vertical}.form-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.error-message{color:#b0382e;background:#fff0ee;border-radius:8px;padding:10px}.drawer-layer{z-index:60;position:fixed;inset:0}.drawer-scrim{background:#0b182c6b;border:0;width:100%;position:absolute;inset:0}.copilot{background:#f7f9fc;flex-direction:column;width:min(460px,100%);display:flex;position:absolute;top:0;bottom:0;right:0;box-shadow:-20px 0 50px #1023402e}.copilot>header{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:12px;padding:20px;display:flex}.copilot>header h2{margin:3px 0;font:700 18px Manrope}.copilot>header .icon-button{margin-left:auto}.bot-mark{color:#145bd0;background:#e5efff;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.copilot-body{flex:1;padding:18px;overflow:auto}.ai-intro{color:#31547e;background:#eaf2ff;border:1px solid #cfe0fb;border-radius:10px;gap:10px;padding:13px;display:flex}.ai-intro svg{flex:none;width:18px}.ai-intro p{margin:0;font-size:12px}.ai-answer,.proposal{border:1px solid var(--line);background:#fff;border-radius:10px;margin-top:15px;padding:15px;font-size:13px;line-height:1.55}.proposal{border-left:4px solid #eba52c}.proposal h3{margin:4px 0}.proposal ul{padding-left:18px}.suggestions{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.suggestions button{color:#31577f;cursor:pointer;background:#fff;border:1px solid #cad7e8;border-radius:18px;padding:7px 10px;font-size:11px}.prompt-box{background:#fff;border:1px solid #cbd7e5;border-radius:12px;margin:14px;padding:8px;position:relative}.prompt-box textarea{resize:none;border:0;margin:0;padding:7px 45px 7px 7px}.prompt-box textarea:focus{outline:0}.prompt-box .send{color:#fff;background:#185dcb;position:absolute;bottom:10px;right:10px}.loading,.empty{min-height:calc(100vh - 76px);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.loading div{border:3px solid #dce6f2;border-top-color:#1761d5;border-radius:50%;width:32px;height:32px;animation:.8s linear infinite spin}.mobile-only{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.stats-grid{grid-template-columns:1fr 1fr}.overview-grid{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr 1fr}.nested-list>div{grid-template-columns:minmax(180px,1fr) 110px 120px}.nested-list>div small:last-child{display:none}.calendar-layout{grid-template-columns:1fr}.unscheduled{max-height:400px}}@media (width<=760px){.mobile-only{display:grid}.sidebar{transition:transform .2s;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.scrim{z-index:25;background:#09183080;border:0;position:fixed;inset:0}.app-main{margin-left:0}.topbar{gap:10px;height:68px;padding:0 14px}.topbar>div:first-of-type{flex:1}.source-badge{display:none}.top-actions .button{width:42px;padding:10px;font-size:0}.top-actions .button svg{margin:0}.page-wrap{padding:22px 14px}.hero-row{flex-direction:column;align-items:flex-start}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:13px}.chart-card{flex-direction:column;align-items:flex-start}.donut-wrap{gap:12px;width:100%}.donut{width:130px}.legend{flex:1;min-width:0}.project-grid,.dashboard-source-grid{grid-template-columns:1fr}.dashboard-pivot{grid-column:auto}.timeline-filters{grid-template-columns:1fr 1fr}.hidden-job-list{grid-template-columns:1fr}.hidden-job-list h2{grid-column:auto}.source-toolbar{flex-direction:column;align-items:flex-start}.source-tool-buttons{flex-wrap:wrap;width:100%}.source-tool-buttons .input-with-icon{flex:1}.calendar-controls{flex-direction:column;width:100%}.calendar-controls>input,.calendar-controls .input-with-icon{width:100%}.calendar-day{min-height:85px;padding:5px}.calendar-event{height:8px;padding:0;font-size:0}.calendar-weekdays span{font-size:8px}.detail-hero{flex-direction:column;align-items:flex-start;gap:20px}.detail-grid,.discipline-panel{grid-template-columns:1fr}.span-two{grid-column:auto}.form-grid{grid-template-columns:1fr}.form-grid .span-two{grid-column:auto}.nested-list>div{grid-template-columns:1fr auto}.nested-list>div small{display:none}.input-with-icon{width:100%;min-width:0}.intake-files{grid-template-columns:1fr}.intake-files>p{grid-column:auto}.hero-row>.input-with-icon{width:100%}.records-card>.card-title{flex-direction:column;align-items:flex-start}.card-title>.muted{display:none}}.feedback-widget{z-index:90;position:fixed;bottom:20px;right:20px}.feedback-launcher,.feedback-tag,.feedback-submit{justify-content:center;align-items:center;gap:8px;display:inline-flex}.feedback-launcher{border-radius:9px;min-height:44px;padding-inline:17px;box-shadow:0 14px 35px #103f9e40}.feedback-launcher svg,.feedback-tag svg,.feedback-submit svg,.feedback-actions svg{width:15px;height:15px}.feedback-panel{border:1px solid var(--line);background:var(--card);border-radius:10px;width:min(390px,100vw - 32px);overflow:hidden;box-shadow:0 24px 65px #0f23413d}.feedback-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:10px 12px 10px 15px;display:flex}.feedback-panel>header>span,.feedback-context h3{align-items:center;gap:8px;font-weight:700;display:flex}.feedback-panel>header svg,.feedback-context h3 svg{width:16px;height:16px}.feedback-panel form{gap:12px;padding:14px;display:grid}.feedback-tag,.feedback-submit{width:100%}.feedback-target{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:4px;padding:10px;display:grid}.feedback-target span,.feedback-fields label{color:var(--muted);font-size:11px;font-weight:700}.feedback-target strong{font-size:12px}.feedback-target code{overflow-wrap:anywhere;color:var(--muted);font-size:10px}.feedback-fields{gap:10px;display:grid}.feedback-fields.two{grid-template-columns:1fr 1fr}.feedback-fields label{gap:5px;display:grid}.feedback-fields label>span{font-weight:500}.feedback-fields :is(input,select,textarea){width:100%}.feedback-fields textarea{resize:vertical}.feedback-message{color:var(--muted);align-items:flex-start;gap:7px;margin:0;font-size:12px;display:flex}.feedback-message svg{width:15px;min-width:15px;margin-top:1px}.feedback-highlight{pointer-events:none;border-radius:3px;position:fixed}.feedback-highlight.hover{z-index:88;background:#ffffff1f;border:2px solid #fff;box-shadow:0 0 0 9999px #0f172a2e}.feedback-highlight.selected{z-index:87;background:#ee4f631f;border:2px solid #ee4f63}.feedback-page{gap:18px;display:grid}.feedback-summary{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.feedback-summary h1{margin:5px 0 6px}.feedback-summary p{max-width:690px;color:var(--muted);margin:0}.feedback-kpis{grid-template-columns:repeat(3,minmax(86px,1fr));gap:8px;min-width:310px;display:grid}.feedback-kpis span{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:2px;padding:10px 12px;display:grid}.feedback-kpis small{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:700}.feedback-kpis strong{font-size:20px}.feedback-tabs{gap:8px;display:flex}.feedback-tabs .active,.feedback-actions .active{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 10%, var(--card));color:var(--blue)}.feedback-list{gap:14px;display:grid}.feedback-card-head{justify-content:space-between;gap:24px;display:flex}.feedback-card-head h2{margin:9px 0 6px}.feedback-card-head p{white-space:pre-wrap;margin:0 0 8px}.feedback-card-head small{color:var(--muted)}.italic{font-style:italic}.feedback-badges,.feedback-actions{flex-wrap:wrap;gap:7px;display:flex}.feedback-badges span{background:var(--surface-muted);color:var(--muted);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.feedback-badges .feedback-status.open{color:#8a5b00;background:#fff3d4}.feedback-badges .feedback-status.in_progress{color:#215da8;background:#e1ecff}.feedback-badges .feedback-status.resolved{color:#176d45;background:#dcf7e9}.feedback-actions{justify-content:flex-end;min-width:410px}.feedback-actions .button{min-height:34px;padding:7px 9px;font-size:11px}.feedback-actions .danger{color:#c63d50}.feedback-context{grid-template-columns:.9fr 1.1fr;gap:12px;margin-top:16px;display:grid}.feedback-context>div{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;min-width:0;padding:13px}.feedback-context h3{margin:0 0 12px;font-size:12px}.feedback-context dl{grid-template-columns:82px 1fr;gap:7px 10px;margin:0;font-size:11px;display:grid}.feedback-context dt{color:var(--muted);font-weight:700}.feedback-context dd{overflow-wrap:anywhere;min-width:0;margin:0}.feedback-context pre{color:#b9c9df;white-space:pre-wrap;overflow-wrap:anywhere;background:#0c1624;border-radius:6px;max-height:260px;margin:0;padding:11px;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.feedback-empty{text-align:center;padding-block:55px}.feedback-empty>svg{width:30px;height:30px;color:var(--muted)}.feedback-empty h2{margin:12px 0 5px}.feedback-empty p{color:var(--muted);margin:0}@media (width<=900px){.feedback-summary,.feedback-card-head{flex-direction:column;align-items:stretch}.feedback-kpis,.feedback-actions{min-width:0}.feedback-actions{justify-content:flex-start}.feedback-context{grid-template-columns:1fr}}@media (width<=560px){.feedback-widget{bottom:12px;right:12px}.feedback-fields.two,.feedback-kpis{grid-template-columns:1fr}}[data-theme=dark] .feedback-badges .feedback-status.open{color:#ffd777;background:#493b1d}[data-theme=dark] .feedback-badges .feedback-status.in_progress{color:#9bc0ff;background:#1c365d}[data-theme=dark] .feedback-badges .feedback-status.resolved{color:#82d9ad;background:#173d2d}:is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){border:1px solid var(--field-border);background:var(--field);color:var(--ink);box-shadow:var(--field-shadow);caret-color:var(--field-focus);border-radius:10px;transition:border-color .15s,box-shadow .15s,background-color .15s}:is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){min-height:42px}:is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):hover:not(:disabled){border-color:var(--field-border-hover)}:is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea):focus-visible{border-color:var(--field-focus);outline:2px solid var(--field-focus-ring);outline-offset:1px;box-shadow:0 0 0 3px var(--field-focus-ring), var(--field-shadow)}:is(input,textarea)::placeholder{color:var(--field-placeholder);opacity:1}:is(textarea){line-height:1.5}:is(input,select,textarea):disabled{cursor:not-allowed;opacity:.62}:is(input,textarea):read-only{background:var(--surface-muted)}.input-with-icon input{padding-left:39px!important}.input-with-icon svg{color:var(--field-placeholder);transition:color .15s;left:13px}.input-with-icon:focus-within svg{color:var(--field-focus)}input[type=file]{color:var(--muted);font-size:12px}input[type=file]::file-selector-button{border:1px solid var(--field-border);background:var(--surface-raised);color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;margin-right:10px;padding:7px 10px;font-weight:700;transition:border-color .15s,background-color .15s}input[type=file]::file-selector-button:hover{border-color:var(--field-border-hover);background:var(--surface-soft)}:root{--airtable-blue:#1f73e8;--airtable-blue-deep:#1764cd;--airtable-canvas:#f7f8fa}[data-theme=light] .sidebar{background:var(--airtable-blue);box-shadow:inset -1px 0 #00000014}[data-theme=light] .sidebar nav button.active{color:#1d2b3d;box-shadow:none;background:#fff}[data-theme=light] .sidebar nav button:hover:not(.active){background:#ffffff2e}.airtable-overview{max-width:1500px;padding-top:24px}.workspace-links{flex-wrap:wrap;gap:8px;margin-bottom:28px;display:flex}.workspace-links a{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:6px;padding:8px 14px;font-size:13px;font-weight:600;text-decoration:none;box-shadow:0 1px 2px #0f172a0d}.source-instruction{letter-spacing:-.025em;margin:0 0 20px;font:700 clamp(21px,2vw,30px)/1.25 Manrope,sans-serif}.source-instruction span{color:var(--muted);font-weight:600}.records-instruction{margin-top:42px}.source-filter-grid{grid-template-columns:minmax(320px,1fr);align-items:stretch}.source-filter-grid>.card{border-radius:8px;box-shadow:0 1px 4px #0f172a14}.records-card{border-radius:8px}.records-card tbody tr{background:var(--card)}.records-card tbody tr:hover{background:var(--surface-soft)}.project-drawer-layer{z-index:80;grid-template-columns:1fr minmax(580px,690px);display:grid;position:fixed;inset:0}.drawer-scrim{cursor:default;background:#151c2861;border:0;width:auto;position:static;inset:auto}.project-drawer{background:var(--page);color:var(--ink);animation:.19s cubic-bezier(.2,.8,.2,1) drawer-in;overflow-y:auto;box-shadow:-10px 0 30px #0f172a33}@keyframes drawer-in{0%{opacity:.6;transform:translate(24px)}to{opacity:1;transform:none}}.project-drawer .page-wrap{padding:0 22px 40px}.drawer-toolbar{z-index:4;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--card) 94%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);height:48px;color:var(--muted);justify-content:space-between;align-items:center;margin:0 -22px 18px;padding:0 12px;font-size:12px;font-weight:600;display:flex;position:sticky;top:0}.project-drawer .detail-hero{box-shadow:none;background:0 0;border:0;padding:4px 0 18px}.project-drawer .detail-hero h1{font-size:25px}.project-drawer .detail-hero h1,.project-drawer .detail-hero p,.project-drawer .detail-hero .eyebrow{color:var(--ink)}.project-drawer .detail-hero .eyebrow{color:var(--muted)}.project-drawer .detail-hero .priority-pill{color:var(--ink);background:#edf2f7}.project-drawer .detail-tabs{z-index:3;background:var(--page);padding:8px 0;position:sticky;top:48px;overflow-x:auto}.project-drawer .detail-grid{grid-template-columns:1fr}.project-drawer .span-two{grid-column:auto}.project-drawer .card{border-radius:6px;box-shadow:0 1px 3px #0f172a12}.project-drawer .definition-grid{grid-template-columns:repeat(3,1fr);gap:10px}.project-drawer .definition-grid>div{background:var(--surface-muted);border-radius:5px;padding:12px}.secondary-fields{margin-top:12px}.secondary-fields summary{cursor:pointer;color:var(--blue);font-weight:600}.secondary-fields dl{grid-template-columns:1fr 1fr;gap:10px;display:grid}.company-card strong{font-size:14px}.chat-card{margin-top:16px;overflow:hidden;padding:0!important}.chat-heading{border-bottom:1px solid var(--line);align-items:center;gap:8px;height:48px;padding:0 16px;display:flex}.chat-heading h2{margin:0;font-size:16px}.chat-heading span{color:var(--muted);font-size:12px}.airtable-feed{background:var(--surface-muted);max-height:520px;padding:8px 16px;overflow-y:auto}.airtable-feed article{border:0;border-bottom:1px solid var(--line);background:0 0;border-radius:0;grid-template-columns:30px 1fr;gap:10px;padding:12px 0;display:grid}.comment-avatar{color:#fff;background:#6c66d5;border-radius:50%;place-items:center;width:30px;height:30px;font-size:10px;font-weight:800;display:grid}.comment-content>div{align-items:baseline;gap:8px;display:flex}.comment-content strong{font-size:13px}.comment-content time{color:var(--muted);font-size:11px}.comment-content p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0;line-height:1.45}.comment-content a,.comment-attachments a{width:fit-content;margin-top:5px;font-size:12px;display:block}.comment-content small{color:var(--muted)}.comment-reply{margin-left:30px}.comment-composer{border-top:1px solid var(--line);background:var(--card);padding:12px 16px}.comment-composer textarea{resize:vertical;border-radius:6px;width:100%;min-height:66px}.comment-composer details{color:var(--muted);margin-top:8px;font-size:12px}.comment-composer summary{cursor:pointer}.comment-composer .attachment-fields{margin-top:10px}.comment-actions{justify-content:space-between;align-items:center;gap:12px;min-height:34px;margin-top:8px;display:flex}.comment-actions span{color:var(--muted);font-size:12px}.comment-attachments{border-top:1px solid var(--line);background:var(--card);padding:12px 16px}@media (width<=900px){.source-filter-grid,.donut-wrap{grid-template-columns:1fr}.project-drawer-layer{grid-template-columns:0 minmax(0,1fr)}.drawer-scrim{overflow:hidden}}@media (prefers-reduced-motion:reduce){.project-drawer{animation:none}}[data-theme=dark] .topbar{background:#0d1522eb}[data-theme=dark] .skip-link,[data-theme=dark] .source-badge,[data-theme=dark] .stat-card,[data-theme=dark] .database-summary,[data-theme=dark] .automation-head,[data-theme=dark] .source-table td:first-child,[data-theme=dark] .copilot>header,[data-theme=dark] .ai-answer,[data-theme=dark] .proposal,[data-theme=dark] .suggestions button,[data-theme=dark] .prompt-box{background:var(--card);color:var(--ink)}[data-theme=dark] :is(input,select,textarea,.workspace-form input,.workspace-form textarea,.workspace-form select,.inline-form input,.inline-form select,.compact-edit input,.compact-edit select,.compact-edit textarea){background:var(--field);color:var(--ink);border-color:#40506a}[data-theme=dark] :is(input,textarea)::placeholder{color:#73839a}[data-theme=dark] :is(th,.nested-row>td,.calendar-day.outside,.calendar-weekdays span,.definition-grid div,.service-picker label,.attachment-fields,.activity-feed article,.record-list article,.gate-list article,.knowledge-grid>div,.view-chips span,.source-table th:first-child,.automation-flow>div){background:var(--surface-muted);border-color:var(--line)}[data-theme=dark] tbody tr:hover,[data-theme=dark] .automation-head:hover{background:var(--surface-raised)}[data-theme=dark] :is(.discipline-tabs,.chips span,.priority-pill,.status){color:#b8c5d8;background:#243249}[data-theme=dark] .discipline-tabs button{color:#aab9cd}[data-theme=dark] .discipline-tabs button:first-child{color:#93b9ff;background:#253653;box-shadow:0 2px 8px #0000003d}[data-theme=dark] :is(.stat-card>div,.calendar-event,.cell-pill,.automation-count,.active-summary,.progress-badge,.table-nav button:hover,.table-nav button.active){color:#a9c9ff;background:#203b66}[data-theme=dark] .stat-card.warn>div{color:#ffd08a;background:#4b361b}[data-theme=dark] .status.complete{color:#8de0c4;background:#193e36}[data-theme=dark] .status.active{color:#a9c9ff;background:#203b66}[data-theme=dark] .status.risk{color:#ffb497;background:#4b2e25}[data-theme=dark] .button.secondary{color:#b8d2ff;background:#203b66}[data-theme=dark] :is(.record-link,.text-button){color:#89b4ff}[data-theme=dark] :is(th,td,.nested-list,.project-card li,.source-table td,.timeline-row){border-color:var(--line)}[data-theme=dark] .donut-number{fill:var(--ink)}[data-theme=dark] .donut-label{fill:var(--muted)}[data-theme=dark] .copilot{background:var(--page)}[data-theme=dark] .ai-intro{color:#b7d1fb;background:#182f52;border-color:#294d7f}[data-theme=dark] .timeline-track{background:repeating-linear-gradient(90deg,#26354a 0 1px,#0000 1px 25%)}.service-picker{border:1px solid #cad5e2;border-radius:10px;grid-template-columns:repeat(3,1fr);gap:10px;padding:16px;display:grid}.service-picker legend{color:#526177;padding:0 5px;font-size:12px;font-weight:800}.service-picker>p{color:var(--muted);grid-column:1/-1;margin:0 0 3px;font-size:11px}.service-picker label{cursor:pointer;background:#f7f9fc;border:1px solid #e3e9f1;border-radius:8px;align-items:center;gap:8px;padding:10px;display:flex}.service-picker input{flex:none;height:16px;width:16px!important;margin:0!important}@media (width<=760px){.service-picker{grid-template-columns:1fr}}.progress-badge{color:#1758bb;background:#e6f0ff;border-radius:18px;padding:7px 10px;font-size:11px;font-weight:800}.workspace-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:start;gap:18px;display:grid}.workspace-form,.workspace-form label,.attachment-fields,.time-entry-form form{flex-direction:column;gap:11px;display:flex}.workspace-form label,.inline-form label{color:var(--muted);font-size:11px;font-weight:700}.workspace-form input,.workspace-form textarea,.workspace-form select,.inline-form input,.inline-form select{width:100%;color:var(--ink);background:#fff;border:1px solid #cad5e2;border-radius:8px;margin-top:5px;padding:9px 10px}.workspace-form textarea{resize:vertical}.attachment-fields{background:#f9fbfd;border:1px dashed #bdcad9;border-radius:9px;padding:12px}.activity-feed,.record-list,.gate-list{gap:10px;display:grid}.activity-feed article,.record-list article,.gate-list article{border:1px solid var(--line);background:#fbfcfe;border-radius:10px;padding:13px}.activity-feed article strong,.activity-feed article time{display:block}.activity-feed article time,.record-list article span,.record-list article small,.gate-list article p{color:var(--muted);font-size:10px}.activity-feed article p,.record-list article p{white-space:pre-wrap;margin:8px 0;line-height:1.5}.record-list article{grid-template-columns:1fr auto;gap:5px 12px;display:grid}.record-list article>p,.record-list article>a,.record-list article>small{grid-column:1/-1}.gate-list article{grid-template-columns:1fr auto auto;align-items:center;gap:16px;display:grid}.gate-list article h3{margin:3px 0}.gate-list article p{margin:0}.inline-form{grid-template-columns:2fr 1.2fr 1fr .7fr 1fr 2fr auto;align-items:end;display:grid!important}.inline-form .button{margin-bottom:1px}.form-message{color:#176b52;margin-bottom:0;font-size:12px}.edit-project{margin-top:18px}.compact-edit{border-top:1px solid var(--line);margin-top:14px;padding-top:2px}.compact-edit label{color:var(--muted);font-size:11px;font-weight:700}.compact-edit input,.compact-edit select,.compact-edit textarea{border:1px solid #cad5e2;border-radius:8px;width:100%;margin-top:5px;padding:9px 10px}@media (width<=1050px){.inline-form{grid-template-columns:repeat(3,1fr)}.inline-form .grow{grid-column:span 2}}@media (width<=760px){.workspace-grid,.inline-form{grid-template-columns:1fr}.inline-form .grow{grid-column:auto}.gate-list article{grid-template-columns:1fr auto}.gate-list article .button{grid-column:1/-1}}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.knowledge-grid>div{background:#f8fafc;border:1px solid #e1e8f0;border-radius:9px;padding:12px}.knowledge-grid strong{text-transform:uppercase;letter-spacing:.06em;color:#60728a;font-size:10px}.knowledge-grid p{white-space:pre-wrap;margin:5px 0 0;font-size:12px;line-height:1.5}@media (width<=760px){.knowledge-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}html,body,#root,.app-shell,.app-main,.page-wrap,.overview-grid,.stats-grid,.card{min-width:0;max-width:100%}html,body,#root{overflow-x:hidden}@media (width<=420px){.stats-grid{grid-template-columns:1fr}.stat-card{grid-template-columns:42px minmax(0,1fr)}.donut-wrap{flex-direction:column;align-items:flex-start}.discipline-tabs{grid-template-columns:1fr 1fr;width:100%;display:grid}.discipline-tabs button{padding:9px 7px}.hero-row p{max-width:100%}}.database-summary{border:1px solid var(--line);background:#fff;border-radius:12px;grid-template-columns:auto auto;align-items:baseline;gap:2px 9px;padding:12px 18px;display:grid}.database-summary strong{text-align:right;font:800 17px Manrope}.database-summary span{color:var(--muted);font-size:11px}.database-layout{grid-template-columns:250px minmax(0,1fr);align-items:start;gap:18px;display:grid}.table-nav{max-height:calc(100vh - 118px);padding:8px;position:sticky;top:94px;overflow:auto}.table-nav button{text-align:left;width:100%;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:flex-start;gap:10px;padding:10px;display:flex}.table-nav button:hover,.table-nav button.active{color:#174fae;background:#eaf2ff}.table-nav button svg{flex:none;width:16px;margin-top:2px}.table-nav button span,.table-nav button strong,.table-nav button small{display:block}.table-nav button strong{font-size:12px}.table-nav button small{color:#76879b;margin-top:3px;font-size:10px}.data-grid-card{min-height:540px;padding:0;overflow:hidden}.data-grid-head{justify-content:space-between;align-items:center;gap:20px;padding:20px 22px 12px;display:flex}.data-grid-head h2{margin-bottom:3px}.data-grid-head p{color:var(--muted);margin:0;font-size:12px}.view-chips{gap:6px;padding:0 22px 14px;display:flex;overflow:auto}.view-chips span{white-space:nowrap;border:1px solid var(--line);background:#f8fafc;border-radius:15px;padding:5px 8px;font-size:10px}.source-table-wrap{border-block:1px solid var(--line);max-height:620px;overflow:auto}.source-table{table-layout:fixed;width:max-content;min-width:100%}.source-table th,.source-table td{text-overflow:ellipsis;white-space:nowrap;min-width:150px;max-width:260px;height:45px;overflow:hidden}.source-table th{z-index:2;border-right:1px solid var(--line);position:sticky;top:0}.source-table th small{text-transform:none;letter-spacing:0;color:#94a2b3;margin-top:2px;font-weight:400;display:block}.source-table td{border-right:1px solid #edf1f5}.source-table th:first-child,.source-table td:first-child{z-index:3;background:#f8fafc;min-width:135px;max-width:135px;position:sticky;left:0}.source-table td:first-child{z-index:1;background:#fff}.record-id{color:#5f7188;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.cell-list,.cell-list span{display:inline}.cell-list span:not(:last-child):after{content:", ";color:#94a3b8}.cell-pill{background:#e9f1fc;border-radius:12px;padding:3px 7px;display:inline-block}.cell-json{color:#5e6f84;font-size:10px}.pagination{justify-content:flex-end;align-items:center;gap:14px;padding:13px 18px;display:flex}.pagination span{color:var(--muted);font-size:11px}.pagination .button{padding:7px 10px;font-size:11px}.automation-count{color:#1757bd;background:#eaf2ff;border-radius:12px;grid-template-columns:auto auto;align-items:center;gap:0 8px;padding:12px 18px;display:grid}.automation-count svg{grid-row:1/3;width:24px}.automation-count strong{font:800 20px Manrope}.automation-count span{font-size:10px}.automation-list{gap:10px;display:grid}.automation-card{padding:0;overflow:hidden}.automation-head{text-align:left;cursor:pointer;width:100%;color:var(--ink);background:#fff;border:0;grid-template-columns:10px minmax(0,1fr) auto 24px;align-items:center;gap:14px;padding:17px 20px;display:grid}.automation-head:hover{background:#fbfcff}.automation-head>span:nth-child(2),.automation-head strong,.automation-head small{display:block}.automation-head strong{font:700 14px Manrope}.automation-head small{color:var(--muted);margin-top:3px;font-size:11px}.automation-head>svg{color:#718096;width:18px}.automation-state{background:#95a3b5;border-radius:50%;width:9px;height:9px}.automation-state.deployed{background:#2cad83;box-shadow:0 0 0 4px #e0f5ed}.automation-flow{border-top:1px solid var(--line);gap:0;padding:18px 24px 22px 42px;display:flex;overflow:auto}.automation-flow>div{background:#f8fafc;border:1px solid #d7e1ed;border-radius:9px;min-width:180px;margin-right:28px;padding:13px 18px;position:relative}.automation-flow>div:not(:last-child):after{content:"→";color:#7890aa;position:absolute;top:22px;right:-22px}.automation-flow span,.automation-flow strong,.automation-flow code{display:block}.automation-flow span{text-transform:uppercase;letter-spacing:.1em;color:#718096;font-size:9px;font-weight:800}.automation-flow strong{margin:5px 0;font-size:11px}.automation-flow code{color:#6b7e93;white-space:normal;font-size:9px}.nav-label.spaced{margin-top:18px}@media (width<=900px){.database-layout{grid-template-columns:1fr}.table-nav{max-height:none;display:flex;position:static;overflow:auto}.table-nav button{min-width:190px}.data-grid-head{flex-direction:column;align-items:flex-start}.automation-flow{padding-left:18px}}.active-summary{color:#1757bd;background:#e8f1ff;border-radius:12px;grid-template-columns:auto auto;align-items:center;gap:0 8px;padding:12px 18px;display:grid}.active-summary strong{grid-row:1/3;font:800 27px Manrope}.active-summary span{font-size:11px}.check-label{align-items:center;display:flex;gap:8px!important;font-weight:600!important}.check-label input{height:16px;width:16px!important;margin:0!important}.timeline-card{padding:18px 20px;overflow:hidden}.timeline-title{justify-content:space-between;align-items:flex-start;display:flex}.timeline-title h2{margin-bottom:8px}.timeline-head,.timeline-row{grid-template-columns:230px minmax(430px,1fr);display:grid}.timeline-head>span{text-transform:uppercase;letter-spacing:.1em;color:#718096;padding:8px 8px 8px 0;font-size:9px;font-weight:800}.timeline-head>div{color:#7a899c;justify-content:space-between;align-items:center;padding:8px 0;font-size:9px;display:flex}.timeline-body{border-top:1px solid var(--line);position:relative;overflow:visible}.timeline-row{border-bottom:1px solid #edf1f5;align-items:center;min-height:42px}.timeline-row>div:first-child{padding:7px 10px 7px 0;overflow:hidden}.timeline-row strong,.timeline-row>div:first-child span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.timeline-row strong{font-size:10px}.timeline-row>div:first-child span{color:#718096;margin-top:2px;font-size:9px}.timeline-track{background:repeating-linear-gradient(90deg,#f2f5f9 0 1px,#0000 1px 25%);height:18px;position:relative}.project-bar{background:#6f87a3;border-radius:5px;min-width:3px;height:10px;position:absolute;top:4px;overflow:hidden}.project-bar>span{opacity:.95;border-right:1px solid #ffffffa6;position:absolute;inset-block:0}.phase-scan{background:#2b74d8!important}.phase-bim{background:#7a62d3!important}.phase-cad{background:#1c9b8a!important}.phase-qc{background:#e09a33!important}.phase-delivery{background:#35a66f!important}.phase-other{background:#71869e!important}.today-line{z-index:2;pointer-events:none;background:#dd4f61;width:2px;position:absolute;top:0;bottom:0}.today-line span{color:#c33d50;text-transform:uppercase;font-size:9px;font-weight:800;position:absolute;top:-20px;left:4px}.timeline-body{min-width:660px}.timeline-card{overflow-x:auto}@media (width<=760px){.active-summary{align-self:flex-start}.timeline-head,.timeline-row{grid-template-columns:180px minmax(400px,1fr)}.timeline-body{min-width:580px}.today-line{display:none}}.scope-page{max-width:1100px}.scope-back{width:fit-content;color:var(--blue);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;margin-bottom:10px;padding:0;font-size:13px;font-weight:700;display:flex}.scope-back svg{width:15px;height:15px}.scope-meta{flex-wrap:wrap;align-items:center;gap:10px;display:flex;margin-top:6px!important}.scope-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.scope-actions svg,.button.small svg{width:16px;height:16px}.button.small{padding:7px 11px;font-size:13px}.scope-pill{background:var(--surface-muted);color:var(--muted);white-space:nowrap;border-radius:20px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;font-weight:700;display:inline-flex}.scope-pill svg{width:12px;height:12px}.scope-pill.ok{color:#167258;background:#dcf5ea}.scope-pill.warn{color:#7a5b0c;background:#fff4d6}.scope-pill.danger{color:#a3342a;background:#ffe7e3}.scope-pill.internal{color:#5a3fb0;background:#efeafd}.scope-save{color:var(--muted);font-size:12px}.scope-save.error{color:#b0382e}.scope-banner{border:1px solid;border-radius:10px;margin-bottom:18px;padding:12px 16px;scroll-margin-top:90px;font-size:14px}.scope-banner strong{align-items:center;gap:8px;display:flex}.scope-banner svg{width:17px;height:17px}.scope-banner ul{columns:2;column-gap:28px;margin:8px 0 0;padding-left:22px;font-size:13px}.scope-banner.danger{color:#8f2c23;background:#fff0ee;border-color:#f4c7c1}.scope-banner.warn{color:#685514;background:#fff7d6;border-color:#ead889}.scope-section{margin-bottom:14px;padding:0}.scope-section>summary{cursor:pointer;align-items:center;gap:10px;padding:16px 22px;font:700 16px Manrope;list-style:none;display:flex}.scope-section>summary::-webkit-details-marker{display:none}.scope-section>summary:after{content:"▾";color:var(--muted);margin-left:auto;font-size:13px}.scope-section:not([open])>summary:after{content:"▸"}.scope-section>summary:focus-visible{outline:2px solid var(--field-focus);outline-offset:-2px;border-radius:13px}.scope-section[open]>summary{border-bottom:1px solid var(--line)}.scope-section>.form-grid,.scope-section>.scope-areas{padding:20px 22px 22px}.scope-section-id{background:var(--surface-muted);width:26px;height:26px;color:var(--blue);border-radius:7px;place-items:center;font-size:13px;display:inline-grid}.scope-section-note{margin:14px 22px 0!important}.scope-field{flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:700;display:flex}.scope-field>span{color:var(--ink)}.scope-field small{font-weight:400}.scope-field.invalid input,.scope-field.invalid select,.scope-field.invalid textarea{border-color:#d05a4e}.field-error{color:#b0382e;font-size:12px;font-weight:600}.required-mark{color:#c2410c}.scope-checks{flex-wrap:wrap;gap:8px 16px;display:flex}.scope-checks legend{margin-bottom:6px;font-size:12px;font-weight:700}.scope-checks.invalid{border-color:#d05a4e}.scope-checks .field-error{flex-basis:100%}.scope-files{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.scope-file{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;align-items:center;gap:2px;padding:2px 2px 2px 10px;font-weight:500;display:inline-flex}.scope-file .icon-button{width:28px;height:28px}.scope-file .icon-button svg{width:15px}.scope-upload{cursor:pointer}.scope-areas{flex-direction:column;gap:14px;display:flex}.scope-area{border:1px solid var(--line);background:var(--surface-raised);border-radius:11px;padding:14px 16px 18px}.scope-area-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.scope-area-head .icon-button svg{width:17px}.scope-areas-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.scope-ledger{margin-bottom:18px}.scope-ledger.has-error{border-color:#f4c7c1}.scope-ledger-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;display:grid}.scope-ledger-grid>label{flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.scope-ledger-source{flex-direction:column;gap:12px;min-width:0;display:flex}.scope-ledger-upload{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.scope-ledger-help{margin:0 0 14px}.scope-ledger-paste{border:1px solid var(--line);border-radius:9px;padding:9px 13px}.scope-ledger-paste summary{cursor:pointer;color:var(--blue);font-size:13px;font-weight:700}.scope-ledger-paste p{margin:10px 0;font-size:13px}.scope-ledger-paste label{flex-direction:column;gap:6px;margin-top:12px;font-size:12px;font-weight:700;display:flex}.scope-ledger-input{resize:vertical;white-space:pre;font:12px/1.55 ui-monospace,Cascadia Mono,Consolas,monospace}.scope-ledger-checks{flex-direction:column;gap:6px;padding-top:20px;display:flex}.scope-check{align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:1.45;display:flex}.scope-check svg{flex:none;width:16px;height:16px;margin-top:2px}.scope-check.good svg{color:#167258}.scope-check.bad{color:#a3342a}.scope-check.warn svg{color:#b7791f}.scope-check.info svg{color:var(--blue)}.scope-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.scope-metrics>div{background:var(--surface-muted);border-radius:9px;padding:11px 13px}.scope-metrics span{color:var(--muted);font-size:11px;font-weight:700;display:block}.scope-metrics strong{font:800 19px Manrope}.signal.green{color:#167258}.signal.yellow,.signal.amber{color:#9a6b00}.signal.red{color:#b0382e}.scope-ledger-lines{margin-top:12px;font-size:13px}.scope-ledger-lines summary{cursor:pointer;color:var(--blue);font-weight:700}.scope-ledger-lines table{margin-top:10px}.scope-tabs{margin-top:0}.scope-sheet{padding:22px 24px 10px}.scope-sheet-note{color:var(--muted);align-items:center;gap:7px;margin:0 0 14px;font-size:13px;display:flex}.scope-sheet-note.guard{color:#7a5b0c;background:#fff7d6;border-radius:8px;padding:8px 12px}.scope-sheet-note svg{width:16px;height:16px}.scope-sheet-section{margin-bottom:18px}.scope-sheet-section h3{margin:16px 0 4px!important}.scope-row{border-top:1px solid var(--line);grid-template-columns:minmax(140px,.36fr) minmax(0,1fr) 36px;align-items:start;gap:12px;padding:7px 0;font-size:14px;display:grid}.scope-row-label{color:var(--muted);padding-top:2px;font-size:13px}.scope-row-value{white-space:pre-wrap;overflow-wrap:anywhere}.scope-copy{width:32px;height:32px;color:var(--muted)}.scope-copy svg{width:15px}.scope-copy:hover{color:var(--blue);background:var(--surface-muted)}.scope-create{border:1px dashed var(--field-border);border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:8px;padding:14px 16px;display:grid}.scope-create>svg{width:22px;height:22px;color:var(--blue)}.scope-create p{margin:2px 0 0}.scope-create.done{background:var(--surface-soft);border-style:solid}.scope-create.done>svg{color:#167258}.scope-create .error-message{grid-column:1/-1;margin:0}.scope-empty{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:40px 20px;display:flex}.scope-empty>svg{width:28px;height:28px;color:var(--muted)}[data-theme=dark] .scope-pill.ok{color:#7fe0bd;background:#123d31}[data-theme=dark] .scope-pill.warn{color:#f2d27a;background:#3d3212}[data-theme=dark] .scope-pill.danger{color:#ffb2a8;background:#45201c}[data-theme=dark] .scope-pill.internal{color:#c6b6ff;background:#2c2350}[data-theme=dark] .scope-banner.danger{color:#ffc4bc;background:#3a1b18;border-color:#6b3029}[data-theme=dark] .scope-banner.warn,[data-theme=dark] .scope-sheet-note.guard{color:#f2d27a;background:#33290f;border-color:#5f4d1b}[data-theme=dark] .scope-check.bad,[data-theme=dark] .field-error,[data-theme=dark] .scope-save.error{color:#ff9d91}[data-theme=dark] .signal.green{color:#7fe0bd}@media (width<=760px){.scope-ledger-grid{grid-template-columns:minmax(0,1fr)}.scope-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.scope-ledger-checks{padding-top:0}.scope-banner ul{columns:1}.scope-row{grid-template-columns:minmax(0,1fr) 36px}.scope-row-label{grid-column:1/-1;padding:0}.scope-create{grid-template-columns:auto minmax(0,1fr)}.scope-create>.button{grid-column:1/-1}}@media print{.sidebar,.topbar,.scope-back,.scope-actions,.scope-tabs,.scope-copy,.scope-create,.feedback-widget{display:none!important}.scope-row{break-inside:avoid}}.comment-name{flex:0 180px;min-width:0;padding:6px 8px;font-size:12px}.comment-actions [role=status]{flex:1}.attachment-expired{color:var(--muted);font-size:12px;text-decoration:line-through}.production-record-form label{color:var(--muted);flex-direction:column;gap:5px;font-size:11px;font-weight:700;display:flex}.production-record-form input,.production-record-form textarea{width:100%;color:var(--ink);background:var(--field,#fff);border:1px solid #cad5e2;border-radius:8px;padding:9px 10px;font-weight:400}.project-drawer .discipline-panel{grid-template-columns:1fr;gap:18px}.row-actions{white-space:nowrap;text-align:right;width:1%}.project-menu-trigger{width:32px;height:32px;color:var(--muted)}.project-menu-trigger svg{width:18px}.project-menu-trigger:hover,.project-menu-trigger[aria-expanded=true]{background:var(--surface-muted);color:var(--ink)}.drawer-toolbar-end{align-items:center;gap:8px;display:flex}.menu-popover{z-index:105;border:1px solid var(--line);background:var(--card);min-width:172px;color:var(--ink);border-radius:10px;padding:5px;position:fixed;box-shadow:0 12px 32px #0f172a2e}.menu-item{width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:9px;padding:9px 10px;font-size:13px;font-weight:600;display:flex}.menu-item svg{flex:none;width:16px;height:16px}.menu-item:hover,.menu-item:focus-visible{background:var(--surface-muted);outline:none}.menu-item.danger{color:#c4372c}.menu-item.danger:hover,.menu-item.danger:focus-visible{background:#fdecea}.confirm-layer{z-index:110;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.confirm-scrim{cursor:default;background:#0f172a8c;border:0;position:absolute;inset:0}.confirm-dialog{background:var(--card);width:min(470px,100%);color:var(--ink);border-radius:14px;outline:none;padding:24px 24px 20px;position:relative;box-shadow:0 24px 60px #0f172a59}.confirm-dialog h2{margin:0 0 10px;font-size:20px}.confirm-dialog p{margin:0 0 10px;line-height:1.5}.confirm-dialog ul{color:var(--muted);margin:0 0 4px;padding-left:18px;font-size:14px;line-height:1.5}.confirm-dialog li+li{margin-top:6px}.confirm-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.button.danger{color:#fff;background:#c4372c}.button.danger:not(:disabled):hover{background:#a82d23}.form-message.notice{background:#e8f7f1;border-radius:9px;margin:14px 34px 0;padding:10px 14px;font-size:13px;font-weight:600}[data-theme=dark] .menu-item.danger{color:#ff9d91}[data-theme=dark] .menu-item.danger:hover,[data-theme=dark] .menu-item.danger:focus-visible{background:#3a1b18}[data-theme=dark] .button.danger{background:#d9493d}[data-theme=dark] .form-message.notice{color:#8fe0c2;background:#12342b}.gantt-body{position:relative}.gantt-today{z-index:2;pointer-events:none;background:#dd4f61;width:2px;position:absolute;top:0;bottom:0}.gantt-today span{color:#c33d50;text-transform:uppercase;font-size:9px;font-weight:800;position:absolute;top:3px;left:5px}.gantt-project{background:var(--card)}.gantt-job{background:var(--surface-soft)}.gantt-job .gantt-label{padding-left:38px}.gantt-label-project{align-items:center;gap:4px;min-width:0;padding:5px 10px 5px 6px;display:flex}.gantt-fold{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.gantt-fold:hover{background:var(--surface-muted);color:var(--ink)}.gantt-fold svg{width:16px;height:16px}.gantt-name{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;padding:2px 4px}.gantt-name strong,.gantt-name span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.gantt-name strong{font-size:12px}.gantt-name span{color:var(--muted);margin-top:3px;font-size:10px}.gantt-name:hover strong{color:var(--blue)}.gantt-project-bar{background:#cfdcef;border-radius:5px;min-width:6px;height:19px;position:absolute;top:15px;overflow:hidden}.gantt-project-bar i{background:#3b82f6;border-right:1px solid #ffffffb3;position:absolute;top:0;bottom:0}.gantt-project-bar i.bim{background:#8b5cf6}.gantt-project-bar i.cad{background:#f59e0b}.gantt-project-bar i.other{background:#64748b}[data-theme=dark] .gantt-project-bar{background:#2c3a4e}[data-theme=dark] .gantt-today span{color:#ff8a98}.timeline-controls button:disabled{opacity:.5;cursor:not-allowed}.signin{background:var(--page);place-items:center;min-height:100vh;padding:24px;display:grid}.signin-card{text-align:center;background:var(--card);width:min(400px,100%);box-shadow:var(--shadow);border-radius:16px;flex-direction:column;align-items:center;gap:10px;padding:34px 30px 28px;display:flex}.signin-card .brand-mark{background:var(--blue);color:#fff;width:48px;height:48px;font-size:14px}.signin-card h1{margin:6px 0 0;font-size:24px}.signin-card p{margin:0}.signin-problem{color:#8f2c23;text-align:left;background:#fff0ee;border-radius:9px;padding:10px 12px;font-size:13px;line-height:1.45}.signin-button{width:100%;margin-top:10px;padding:12px 15px;text-decoration:none}.signin-button svg{width:18px;height:18px}.small-print{margin-top:4px;font-size:12px}.signout{border:1px solid var(--line);background:var(--card);color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:7px;max-width:260px;padding:6px 12px;font-size:12px;font-weight:600;display:inline-flex}.signout span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.signout svg{flex:none;width:15px;height:15px}.signout:hover{background:var(--surface-muted)}.access-page .card{margin-bottom:18px}.access-page tr.off td{opacity:.55}.access-page tr.off td:last-child{opacity:1}.access-page select{max-width:220px}.invite-form{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.invite-form h3{align-items:center;gap:8px;margin:0 0 12px;font-size:15px;display:flex}.invite-form h3 svg{width:17px;height:17px}.key-form{align-items:flex-end;gap:10px;display:flex}.key-form label{flex:1}.key-reveal{color:#5c4608;background:#fff7d6;border-radius:11px;margin:14px 0;padding:14px 16px}.key-reveal strong{align-items:center;gap:8px;display:flex}.key-reveal strong svg{width:17px;height:17px}.key-reveal p{margin:6px 0 10px;font-size:13px}.key-secret{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.key-secret code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;background:#fffbea;border-radius:8px;flex:1;min-width:0;padding:8px 10px;font-size:12px}[data-theme=dark] .signin-problem{color:#ffc4bc;background:#3a1b18}[data-theme=dark] .key-reveal{color:#f2dfa0;background:#3b3216}[data-theme=dark] .key-secret code{background:#2c2610}@media (width<=760px){.signout span{display:none}.key-form{flex-direction:column;align-items:stretch}}.scope-banner.ok{color:#176b52;background:#e8f7f1;border-color:#bfe6d6;justify-content:space-between;align-items:center;gap:12px;display:flex}[data-theme=dark] .scope-banner.ok{color:#8fe0c2;background:#12342b;border-color:#25584a}
