/* Survetify shared interface — approved Workday design language.
   Presentation only: no changes to permissions, persistence or field-release rules. */
:root{color-scheme:light;--bg:#f7f9fc;--card:#fff;--ink:#10213f;--muted:#5f7190;--line:#e4ebf4;--line-2:#edf2f8;--blue:#0759ef;--blue-2:#064bc9;--green:#08744b;--amber:#965b08;--red:#b42318;--radius:10px;--shadow:0 1px 3px #10213f08;--ops-ink:#10213f;--ops-muted:#5f7190;--ops-blue:#0759ef}
body{color:var(--ink);background:var(--bg);font-size:14px;line-height:1.5}
h1,h2,h3,h4{color:var(--ink);font-weight:650;letter-spacing:-.025em}
button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}
button:disabled{cursor:not-allowed;opacity:.55}input:disabled,select:disabled,textarea:disabled{background:#f2f5f9;color:#687891;opacity:1}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #8bb7ff;outline-offset:3px}
.page-header{gap:20px;margin-bottom:24px;align-items:center}.page-header h1{font-size:30px;line-height:1.2;margin:5px 0 0}.page-header p{font-size:14px;max-width:760px;line-height:1.55;color:var(--muted)}.eyebrow,.code{font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--muted)}
.btn{min-height:42px;padding:10px 16px;border:1px solid var(--blue);border-radius:7px;background:var(--blue);color:#fff;font-size:14px;font-weight:600;box-shadow:none;line-height:1.4}.btn:hover{background:var(--blue-2);box-shadow:none;transform:none}.btn.secondary,.btn.ghost{background:#fff;color:var(--blue);border-color:#cbdaf0}.btn.secondary:hover,.btn.ghost:hover{background:#f0f6ff}.btn.danger{background:#fff;color:var(--red);border-color:#efc2bd}.btn.danger:hover{background:#fff0ed}.btn.small{font-size:12px;min-height:34px;padding:7px 11px}.btn.ai-soft{background:#eff5ff;color:var(--blue);border-color:#ccdefa}.action,.text-link{color:var(--blue);font-size:13px;font-weight:600;min-height:32px}.btn.full{width:100%}
.card,.request-card,.project-card,.metric,.stat-card,.home-section,.ops-decision-queue,.ops-resource-dock,.ops-brief-card,.ops-coverage-card{border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow)}
.toolbar,.request-toolbar{gap:12px;margin-bottom:18px;flex-wrap:wrap}.search-box{background:#fff;border:1px solid #cdd8e8;border-radius:7px;min-height:42px}.search-box input{background:transparent;border:0;box-shadow:none;font-size:14px}.search-box:focus-within{outline:3px solid #dbe9ff;border-color:#82abef}.toolbar-meta,.result-count{font-size:13px;color:var(--muted)}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{border:1px solid #c5d1e2;border-radius:7px;background:#fff;color:var(--ink);font-size:14px;line-height:1.5;padding:10px 12px;min-height:43px;max-width:100%;box-shadow:0 1px 2px #10213f04}textarea{resize:vertical;min-height:100px}input::placeholder,textarea::placeholder{color:#71819a;opacity:1}input[type=checkbox],input[type=radio]{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0}input[type=range]{accent-color:var(--blue)}input[type=file]{padding:8px;font-size:13px}input::file-selector-button{border:1px solid #cbdaf0;border-radius:5px;background:#f4f8ff;color:var(--blue);padding:7px 11px;margin-right:12px;font:inherit;cursor:pointer}
.field{min-width:0;gap:6px}.field>span{color:#344766;font-size:13px;font-weight:600;line-height:1.5}.field>span b{color:var(--red);margin-left:3px}.field small{font-size:12px;color:var(--muted);line-height:1.5}.field:has(textarea){grid-column:1/-1}.form-grid{gap:20px 24px;align-items:start}.form-grid>h3,.form-grid>.notice,.form-grid>.error-box{grid-column:1/-1}
.modal-backdrop{padding:28px;background:#10213f66;backdrop-filter:blur(3px)}.modal{border:1px solid #dce5f0;border-radius:12px;box-shadow:0 24px 80px #10213f29;max-height:calc(100dvh - 56px);background:#fff}.modal-head{padding:22px 26px;border-bottom:1px solid var(--line);background:#fff;gap:16px}.modal-head h2{font-size:24px;line-height:1.25;margin:4px 0 0}.modal-head p{font-size:13px;color:var(--muted);margin:6px 0 0}.modal-x{width:38px;height:38px;flex-shrink:0;border:1px solid var(--line);border-radius:7px;background:#f8faff;color:#526785;display:grid;place-items:center}.modal-x:hover{background:#edf3fc;color:var(--ink)}.modal-body{padding:24px 26px}.modal-actions{position:sticky;bottom:-24px;z-index:3;gap:10px;background:#fff;border-top:1px solid var(--line);padding:18px 0 2px;margin-top:26px;flex-wrap:wrap}.modal-actions .btn{min-width:96px}.modal .notice,.modal .error-box{margin-bottom:18px}.small-modal{width:min(640px,100%)}
.wizard-steps{background:#f6f9fe;border-bottom:1px solid var(--line);padding:14px 24px;gap:12px}.wizard-steps button{min-height:42px;border-radius:7px;box-shadow:none;font-size:13px}.wizard-steps button.active{background:#e8f1ff;color:var(--blue)}.wizard-steps button span{background:#e9f1ff;color:var(--blue)}.inline-help{border:1px solid var(--line);border-radius:8px;background:#f8faff;padding:12px 15px}.inline-help summary{color:#344766;font-size:13px;font-weight:600;cursor:pointer;min-height:28px}.inline-help[open]>summary{margin-bottom:14px}.inline-help .form-grid{margin-top:12px}.request-ai-intake,.drawing-ai-panel,.automation-panel{border-radius:9px;box-shadow:none}
.pill{font-size:11px;line-height:1.4;padding:4px 9px;font-weight:600;border-radius:20px}.notice,.error-box{border-radius:8px;font-size:13px;line-height:1.55;padding:14px 16px}.notice{background:#f0f6ff;color:#254c85;border-color:#ccddf6}.notice.warning{background:#fff8eb;color:#85540e;border-color:#efdbb6}.notice.danger,.error-box{background:#fff3f1;color:#982a20;border-color:#edc6c1}.empty{padding:48px 22px;color:var(--muted)}.empty h3{font-size:17px;color:var(--ink)}.empty p{font-size:14px;line-height:1.6}
table{font-size:14px}th{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--muted);background:#f6f9fd;padding:13px 16px}td{padding:15px 16px;border-color:var(--line-2);vertical-align:middle}.modern-table{border:1px solid var(--line);border-radius:10px;box-shadow:none}.modern-table tbody tr:hover{background:#f8fbff}.row-menu-popover,.search-popover,.top-user-popover{border-radius:9px;border-color:#d5dfed;box-shadow:0 12px 35px #10213f1f}.row-menu-popover button{font-size:13px;font-weight:500}.row-menu-trigger{border:1px solid transparent;min-height:36px}.row-menu-trigger:hover{border-color:var(--line)}
.filter-chips,.segmented{background:#eff3f9;border-radius:8px;padding:4px;gap:4px}.filter-chips button,.segmented button{font-size:13px;font-weight:500;padding:8px 12px}.filter-chips button.active,.segmented button.active{color:var(--blue);background:#fff;box-shadow:0 1px 3px #10213f0d}
.project-grid{gap:18px}.project-card{padding:20px;text-align:left}.project-card:hover{border-color:#acc7ef;background:#fff;box-shadow:0 4px 16px #10213f08;transform:none}.project-card h3{font-size:19px;line-height:1.35;margin:6px 0}.project-card p{font-size:13px;color:var(--muted)}.project-card-top{gap:14px}.project-card .wd-project-photo{width:100%;height:148px;object-fit:cover;border-radius:7px;margin-bottom:18px}.project-card .wd-project-photo img{width:100%;height:100%;object-fit:cover}.project-card-stats{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;gap:10px}.project-card-stats strong{font-size:22px}.project-card-stats span{font-size:11px;color:var(--muted)}.project-card-open{color:var(--blue);font-size:13px;font-weight:600;border-color:var(--line)}
.project-tabs,.workspace-tabs{border-bottom:1px solid var(--line);gap:6px}.project-tabs button,.workspace-tabs button{font-size:13px;font-weight:600;padding:11px 15px;border-radius:6px 6px 0 0}.project-tabs button.active,.workspace-tabs button.active{color:var(--blue);background:#edf4ff;box-shadow:none}.project-overview-grid{gap:18px}.request-card{padding:18px 54px 18px 20px}.request-body h3{font-size:16px}.request-body p,.request-meta>span{font-size:13px}.request-meta b{font-size:10px}.request-meta{gap:16px}.request-project>span:first-child{font-size:12px;font-weight:600}.register-group{border:1px solid var(--line);border-radius:9px;box-shadow:none}.register-group>summary{padding:16px 18px;background:#f6f9fd}.register-group>summary strong{font-size:15px}
.calendar,.calendar-grid,.calendar-shell{border-color:var(--line);border-radius:10px;box-shadow:none}.calendar-day{background:#fff;border-color:var(--line);padding:10px}.calendar-day.today{background:#f0f6ff}.calendar-event{border-radius:6px;border:1px solid #d8e6fb;background:#f3f7ff;color:#254b82;padding:8px;font-size:12px}.calendar-toolbar{gap:12px;margin-bottom:18px}.calendar-toolbar h2{font-size:21px}.calendar-header{background:#f6f9fd;color:var(--muted)}
.plan-room,.plan-room-panel,.plan-room-sidebar,.pdf-toolbar,.pdf-controls,.markup-toolbar,.plan-room-head{border-color:var(--line);box-shadow:none}.plan-room-head,.pdf-toolbar,.pdf-controls,.markup-toolbar{background:#fff;color:var(--ink);border-radius:8px;gap:8px}.pdf-toolbar button,.markup-toolbar button,.pdf-controls button{min-height:36px;border-radius:6px;font-size:12px}.pdf-toolbar button.active,.markup-toolbar button.active{background:#e9f2ff;color:var(--blue);border-color:#a9c8f5}.pdf-stage{background:#e8edf4;border:1px solid #d5dfea;border-radius:8px}.plan-room-sidebar{background:#fff;border-radius:9px}
.copilot-panel,.copilot-drawer,.notification-drawer{background:#fff;border-color:var(--line);box-shadow:0 12px 45px #10213f1a}.copilot-header,.copilot-drawer-head,.notification-drawer-head{background:#f8faff;border-color:var(--line);color:var(--ink)}.copilot-header h2,.copilot-drawer-head h2{color:var(--ink)}.chat-message{border-radius:10px;font-size:14px;line-height:1.65}.copilot-composer{background:#fff;border-color:var(--line)}
.ops-command-shell,.ops-command-shell.has-stop,.ops-command-shell.has-review{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:none;overflow:visible}.ops-command-shell.has-stop{border-left:4px solid var(--red)}.ops-command-shell.has-review{border-left:4px solid var(--amber)}.ops-command-shell h1,.ops-command-shell h2,.ops-command-shell strong,.ops-command-foot b{color:var(--ink)}.ops-command-shell p,.ops-command-shell small,.ops-command-shell .ops-command-eyebrow,.ops-summary-stat span,.ops-command-foot span{color:var(--muted)}.ops-command-foot{background:#f6f9fd;border-color:var(--line);border-radius:0 0 10px 10px}.ops-summary-stat,.ops-command-foot span{border-color:var(--line)}.ops-summary-stat.stop strong{color:var(--red)}.ops-summary-stat.review strong{color:var(--amber)}.ops-primary-action{background:var(--blue);color:#fff;border-radius:7px;font-size:13px;font-weight:600;box-shadow:none}.ops-brief-card{background:#fff}.ops-section-head p,.ops-resource-head p,.ops-brief-card p{font-size:13px}.ops-project-copy strong{font-size:16px}.ops-project-copy small,.ops-linked-actions>button small,.ops-coverage-row span{font-size:12px}.ops-linked-actions>button span,.ops-resource-card>summary strong{font-size:13px}.ops-resource-card>summary small{font-size:12px}.ops-command-foot span{font-size:12px}
.auth-page{background:#f7f9fc}.auth-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 40px #10213f0d}.auth-card h1{font-size:28px}.auth-card p{font-size:14px;color:var(--muted)}
@media(max-width:1050px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.request-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.page-header{flex-wrap:wrap}.ops-command-foot{flex-wrap:wrap}}
@media(max-width:650px){.page-header{align-items:flex-start;gap:14px}.page-header h1{font-size:26px}.page-header p{font-size:13px}.page-header .actions{width:100%;flex-wrap:wrap}.project-grid{grid-template-columns:1fr}.project-card .wd-project-photo{height:160px}.modal-backdrop{padding:8px}.modal,.project-setup-modal,.request-wizard-modal,.setout-signoff-modal{width:100%;max-height:calc(100dvh - 16px);border-radius:10px}.modal-head{padding:17px 18px}.modal-head h2{font-size:21px}.modal-body{padding:18px}.form-grid{grid-template-columns:minmax(0,1fr);gap:18px}.modal-actions{bottom:-18px;margin-top:22px;padding-top:14px}.modal-actions .btn{min-height:44px;flex:1;min-width:80px}.wizard-steps{padding:10px 14px;gap:5px;overflow-x:auto}.wizard-steps button{font-size:12px;padding:8px;white-space:nowrap}.request-card{padding:16px 44px 16px 16px}.request-meta{gap:12px}.toolbar>*{max-width:100%}.search-box{width:100%;max-width:none}.filter-chips{max-width:100%;overflow-x:auto}.filter-chips button{white-space:nowrap}.ops-command-foot{padding:10px}.ops-command-foot span{padding:6px 8px}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea{font-size:16px}.modern-table .table-wrap{overflow-x:auto}.modern-table{max-width:100%}.wd-home input,.wd-home select{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* QA corrections: compound search controls and wizard action edges. */
.search-box input:not([type=checkbox]):not([type=radio]){border:0;background:transparent;box-shadow:none;min-height:38px;padding:8px 4px}.search-box input:focus-visible{outline:0}
.wizard-steps{overflow-y:hidden;flex-shrink:0}.wizard-steps button.active span{background:var(--blue);color:#fff}
.modal>.modal-actions,.modal>form>.modal-actions.wizard-actions{padding:16px 24px;margin-top:0;bottom:0}.modal-body>.modal-actions{padding-left:0;padding-right:0}
.project-card-stats>div{background:transparent}.project-card-stats span{text-transform:none;font-weight:500;letter-spacing:0}
/* Keep dialogs above mobile navigation and keep their actions readable. */
.modal-backdrop{z-index:2300}.modal{display:flex;flex-direction:column;overflow:hidden}.modal-head{flex-shrink:0}.modal-body{min-height:0;overflow:auto}.modal-actions{bottom:0;padding:16px 0;background:#fff;flex-shrink:0}.modal>.modal-actions{padding:16px 24px}.modal-body>.modal-actions{margin-bottom:-24px;padding-bottom:20px}.wizard-steps{flex-shrink:0}
@media(max-width:650px){.modal-body>.modal-actions{margin-bottom:-18px;padding-bottom:18px}.modal-actions{bottom:0}.modal>.modal-actions{padding:14px 18px}}
body:has(.modal-backdrop){overflow:hidden}
.project-overview-hero,.operations-hero,.operations-hero.has-stop{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:10px;box-shadow:none}.project-overview-hero h1,.project-overview-hero h2,.project-overview-hero strong,.operations-hero h1{color:var(--ink)}.project-overview-hero p,.project-overview-hero small,.operations-hero p{color:var(--muted)}.operations-hero.has-stop{border-left:4px solid var(--red)}
.ops-command-summary{background:#f7faff;border:1px solid var(--line);border-radius:8px;backdrop-filter:none}.ops-command-nav{border-color:var(--line)}.ops-command-copy h1{font-size:32px;letter-spacing:-.025em;line-height:1.2}.ops-command-shell.is-clear .ops-live-state{color:var(--green)}.ops-command-shell.has-review .ops-live-state{color:var(--amber)}.ops-command-shell.has-stop .ops-live-state{color:var(--red)}
.operations-briefing,.operations-briefing.has-stop,.operations-briefing.has-attention,.operations-briefing.clear,.setout-handover-intro,.ai-balance-hero{background:#f8faff;border-radius:9px;box-shadow:none}
.ops-scan-button{min-height:36px;border:1px solid #cbdaf0;border-radius:7px;background:#f4f8ff;color:var(--blue);font-size:13px;font-weight:600;padding:8px 12px}.ops-scan-button:hover{background:#e8f1ff}.project-primary-tabs,.project-tabs,.agent-tabs{overflow-y:hidden}.project-primary-tabs button{font-size:13px;font-weight:600;padding:12px 4px;color:var(--muted)}.project-primary-tabs button.active{color:var(--blue);border-bottom-color:var(--blue)}
.auth-screen{background:#f7f9fc}.auth-layout{border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 45px #10213f0d}.auth-brand-panel{background:#f1f6ff;color:var(--ink);border-right:1px solid var(--line)}.auth-brand-panel h1,.auth-brand-panel h2,.auth-brand-panel strong{color:var(--ink)}.auth-brand-panel p,.auth-brand-panel small{color:var(--muted)}.auth-card{border:0;box-shadow:none;border-radius:0;padding:32px}.auth-tabs button{min-height:40px;font-size:13px;font-weight:600}.auth-tabs button.active{background:#e9f2ff;color:var(--blue)}
