/* Field-service presentation, scoped to office and the shared form workspace. */
body[data-role=office]{background:#f3f4f6;--sidebar:218px;--blue:#235a96}
body[data-role=office]>header{background:#112b49;color:white;min-height:66px;padding:10px 22px;border:0}
body[data-role=office]>header .brand strong,body[data-role=office]>header .brand small{color:white}
body[data-role=office]>header .brand-mark{background:#2d6099}
body[data-role=office]>header .brand{gap:10px}
body[data-role=office]>header .brand>div{display:flex;align-items:center;gap:16px}
body[data-role=office]>header .brand small{font-size:.85rem;letter-spacing:0;padding-left:16px;border-left:1px solid #67809b}
body[data-role=office]>header #font-toggle{color:white;min-height:42px;border:1px solid #72869d;border-radius:3px;font-size:.8rem}
body[data-role=office] .role-switch{background:#193a60;border:1px solid #72869d}
body[data-role=office] .role-switch button{color:#e2ecf9}
body[data-role=office] .role-switch button[aria-pressed=true]{color:#123b65;background:white;box-shadow:none}
body[data-role=office]>#main-nav{background:#eef0f3;color:#283544;border-right:1px solid #d0d5dd;padding:18px 10px}
body[data-role=office]>#main-nav .sidebar-heading{color:#465769;font-size:.7rem;letter-spacing:0;font-weight:650}
body[data-role=office]>#main-nav .sidebar-heading small{color:#5b6978}
body[data-role=office]>#main-nav .office-nav-item{color:#2c3e53;border-radius:0;min-height:44px;font-size:.84rem}
body[data-role=office]>#main-nav .office-nav-item:hover{background:#e0e6ed}
body[data-role=office]>#main-nav .office-nav-item[aria-current=page]{color:#164a80;background:#fff;box-shadow:inset 3px 0 #2564a5}
body[data-role=office]>#main-nav .office-nav-item:focus-visible{outline-color:#245f9d}
body[data-role=office] .nav-count{color:#2d4e73;background:#dbe5f0}
body[data-role=office] .queue-dot{background:#697d93}
body[data-role=office] .queue-unassigned{background:#9b6616}
body[data-role=office] .queue-working{background:#2c6cae}
body[data-role=office] .queue-review{background:#735093}
body[data-role=office] .sidebar-note{color:#526275;border-color:#cbd2dc}
body[data-role=office] .sidebar-note strong{color:#344b67}
body[data-role=office]>main{padding:22px}
body[data-role=office] .office-title h1{font-size:1.45rem;font-weight:600}
body[data-role=office] .office-title>button{border-radius:3px}
body[data-role=office] .office-filters,body[data-role=office] .office-body{border-radius:2px}
body[data-role=office] .office-filters{border-bottom:1px solid #d8dfe6;box-shadow:0 1px 3px #152d4310}
body[data-role=office] .office-filter input,body[data-role=office] .office-filter select{border-radius:2px!important}
body[data-role=office] .order-table tbody tr:nth-child(even){background:#fff}
body[data-role=office] .order-table tbody tr:hover{background:#eef4fc}
body[data-role=office] .order-table th{background:#f7f8fa;border-bottom:1px solid #c8d1db}
body[data-role=office] .order-table .column-sort{color:#34475d}
body[data-role=office] .office-app .order-link{color:#155da1}
body[data-role=office] .dashboard-totals>div{border-radius:2px;border-top:3px solid #819bb9!important}
body[data-role=office] .dashboard-totals>div:nth-child(2){border-top-color:#b17d29!important}
body[data-role=office] .dashboard-totals>div:nth-child(3){border-top-color:#3776b1!important}
body[data-role=office] .dashboard-totals>div:nth-child(4){border-top-color:#8260a0!important}
.workspace-commandbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #ccd5df;border-bottom:0;padding:8px 16px;font-size:.8rem;color:#486079}
.workspace-commandbar .text-button{font-size:.85rem;min-height:44px;padding:8px}
.workspace-memory{color:#586c80;font-size:.74rem}
body[data-role=office] .order-workspace .office-dossier-container{border:1px solid #ccd5df;background:white}
body[data-role=office] .order-workspace .dossier{background:#fff}
body[data-role=office] .order-workspace .dossier-title{padding:24px 24px 20px;align-items:flex-start;gap:24px}
body[data-role=office] .order-workspace .dossier-title h1{font-size:1.35rem;margin:0;line-height:1.4}
body[data-role=office] .order-workspace .dossier-title .eyebrow{font-size:.75rem;letter-spacing:.5px;color:#4b617a}
.record-subtitle{font-size:.86rem;color:#506174;margin:8px 0 0}
.order-process{display:flex;list-style:none;margin:0;padding:0 24px 20px;gap:4px;overflow-x:auto;border-bottom:1px solid #d7dfe8}
.order-process li{display:flex;align-items:center;gap:9px;flex:1;padding:12px 14px;min-width:145px;background:#f0f3f7;color:#516275;font-size:.82rem;border-bottom:3px solid transparent;white-space:nowrap}
.order-process li>span{border:1px solid #90a2b4;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;flex-shrink:0;font-size:.74rem}
.order-process .current{color:#154c80;background:#e7effa;border-color:#2564a5;font-weight:650}
.order-process .current>span{background:#2564a5;color:#fff;border-color:#2564a5}
.order-process .past{color:#2e6246;background:#eef5f1}
body[data-role=office] .order-workspace .dossier-tabs{padding:0 24px;gap:20px;background:#fff;border-bottom:1px solid #ccd5df}
body[data-role=office] .order-workspace .dossier-tabs button{font-size:.87rem;min-height:50px;border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 1px;background:none;box-shadow:none}
body[data-role=office] .order-workspace .dossier-tabs button[aria-selected=true]{border-bottom-color:#2564a5;color:#164b80}
.record-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;background:#f5f7f9}
body[data-role=office] .order-workspace .dossier-body{padding:22px;max-height:none;overflow:visible}
.record-context{padding:22px 20px 22px 0;min-width:0}
.context-card,.record-section{background:white;border:1px solid #d1dae4;border-radius:3px;padding:20px;margin:0 0 18px}
.context-card h2,.record-section h2{font-size:1.03rem;font-weight:650;margin:0 0 18px}
.context-card p,.record-section>p{font-size:.85rem;color:#4c6178;line-height:1.5}
.record-section>p:last-child{margin-bottom:0}
.context-card ul{padding-left:20px;font-size:.84rem;line-height:1.65;color:#304a65}
.context-card .office-field{margin-bottom:16px}
.context-card .text-button{width:100%;justify-content:flex-start;text-align:left;white-space:normal;font-size:.83rem!important}
.context-card #office-edit-message{font-size:.76rem;margin:10px 0 0}
body[data-role=office] .record-context .assignment-panel{margin:0 0 18px;border:1px solid #b6c9dc;border-top:3px solid #3e73a6;border-radius:3px;background:white;padding:20px}
body[data-role=office] .record-context .assignment-panel h3{font-size:1.03rem}
body[data-role=office] .record-context .assignment-panel select{min-height:44px!important;font-size:.87rem}
body[data-role=office] .record-context .assignment-panel p{font-size:.77rem;line-height:1.5}
.record-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}
.record-fields .span-all{grid-column:1/-1}
body[data-role=office] .record-section .office-field{margin-bottom:18px}
body[data-role=office] .order-workspace .office-field>span{font-size:.85rem;margin-bottom:7px}
body[data-role=office] .order-workspace .office-field input,body[data-role=office] .order-workspace .office-field select,body[data-role=office] .order-workspace .office-field textarea{min-height:44px!important;font-size:.9rem;border-radius:3px!important}
body[data-role=office] .order-workspace .office-field textarea{line-height:1.6}
.record-form-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #dde4ec;font-size:.88rem}
.record-form-list strong,.record-form-list small{display:block}.record-form-list small{color:#53677d;margin-top:5px;font-size:.78rem}
.record-form-list button{min-height:44px;font-size:.84rem;border-radius:3px;flex-shrink:0}
.requested-forms{list-style:none;padding:0;margin:0}.requested-forms li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #dce4ed;font-size:.87rem}.requested-forms span{font-size:.77rem;color:#51667f;white-space:nowrap}
.workspace-note{background:#edf3f9;border-left:3px solid #6d8fae;padding:12px 14px;font-size:.83rem;line-height:1.5;color:#3c5570}
.record-empty{padding:24px;background:#f7f9fc;border:1px dashed #adbccd;font-size:.89rem}
body[data-role=office] .order-workspace .survey-record{padding:18px;border-radius:4px;margin-top:18px}
.survey-record-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.survey-record-heading h3{font-size:1rem;margin:0}
.survey-record>p{font-size:.84rem;color:#47617a}.survey-record h4{font-size:.88rem}
.survey-answer{border:1px solid #c9d5e1;margin:12px 0;border-radius:3px}.survey-answer summary{min-height:48px;font-size:.86rem;font-weight:600;background:#f4f7fb;padding:13px 15px}.survey-answer>p{padding:12px}
.answer-section{padding:12px 16px}.answer-section h4{margin:8px 0}.answer-section dl{margin:0}.answer-section dl>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:9px 0;border-bottom:1px solid #e0e6ee;font-size:.82rem}.answer-section dt{color:#4d647c}.answer-section dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.answer-registration{font-size:.78rem;font-weight:650}
.record-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.record-photos>div{display:flex;flex-direction:column;gap:8px;padding:14px;background:#edf2f8;border:1px solid #c5d3e2;font-size:.8rem}.record-photos>div>span{font-size:2rem;color:#426d99}.record-photos small{font-size:.74rem;color:#4a6078}
.schedule-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:16px;background:#fff;border:1px solid #cbd6e2;border-radius:3px}.schedule-toolbar button{min-height:44px;font-size:.84rem;border-radius:3px}.schedule-toolbar .office-filter{min-width:165px}.schedule-toolbar .office-filter select,.schedule-toolbar .office-filter input{min-height:44px!important;font-size:.85rem}.schedule-range{display:flex;gap:18px;justify-content:space-between;align-items:center;margin:20px 0 14px;flex-wrap:wrap}.schedule-range h2{font-size:1.05rem;margin:0;font-weight:650}.schedule-range>span{font-size:.85rem;color:#536a83}.schedule-notice:empty{display:none}
.schedule-scroll{overflow:auto;border:1px solid #c4d0dd;background:white;border-radius:3px;max-height:65vh}.schedule-board{width:100%;min-width:1350px;border-collapse:separate;border-spacing:0;table-layout:fixed}.schedule-board th,.schedule-board td{border-right:1px solid #dbe2ea;border-bottom:1px solid #dbe2ea;padding:10px;vertical-align:top}.schedule-board th{font-size:.85rem;background:#f2f5f9;color:#304e6e;font-weight:600;text-transform:capitalize}.schedule-board thead th{position:sticky;top:0;z-index:2}.schedule-board th:first-child{width:160px;position:sticky;left:0;background:#f7f9fc;z-index:1}.schedule-board thead th:first-child{z-index:3}.schedule-board th small{display:block;color:#53677b;font-size:.7rem;text-transform:none;margin-top:5px}.schedule-board .demo-day{background:#f3f7fe}.schedule-board thead .demo-day{background:#e4eefc}.schedule-board td{height:185px}.schedule-empty{color:#687788;font-size:.76rem}
.schedule-card{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-width:0;text-align:left;white-space:normal;padding:11px;margin-bottom:10px;border:1px solid #a8bfd9;border-left:3px solid #3b73ab;border-radius:3px;background:white;font-size:.79rem;font-weight:400;box-shadow:0 2px 3px #1b385610}.schedule-card>strong{color:#1d578d;font-size:.82rem}.schedule-card small{font-size:.74rem;color:#5a6f85}.schedule-card-top{display:flex;flex-direction:column;gap:5px}.schedule-card-top strong{font-size:.78rem}.schedule-card .table-status{font-size:.67rem!important;padding:2px 5px!important}.schedule-card:hover{background:#eef5ff;border-color:#477eb2}.schedule-card:focus-visible,.schedule-scroll:focus-visible{outline:3px solid #235a96;outline-offset:2px}.schedule-hint{font-size:.78rem;color:#536a82;margin:12px 0 24px}.schedule-awaiting{padding:20px;border:1px solid #cbd5e1;border-radius:3px;background:white}.schedule-awaiting h2{font-size:1.05rem;margin:0}.schedule-awaiting>p{font-size:.85rem;color:#526880;margin:10px 0 18px}.schedule-awaiting>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.schedule-awaiting .schedule-card{margin:0}
.form-workspace{display:grid;grid-template-columns:245px minmax(0,760px);gap:28px;max-width:1100px;margin:0 auto}.form-workspace>.wizard{margin:0;min-width:0;max-width:none;width:100%}.form-outline{align-self:start;background:white;border:1px solid #c4d0df;border-radius:5px;padding:18px 12px;position:sticky;top:20px}.form-outline h2{font-size:.95rem;margin:0 10px 16px}.form-outline ol{list-style:none;padding:0;margin:0}.form-outline li{margin:4px 0}.form-outline button{display:flex;align-items:flex-start;gap:11px;width:100%;text-align:left;justify-content:flex-start;font-size:.84rem;min-height:54px;background:white;border:0;border-radius:3px;padding:12px 10px}.form-outline button>span:first-child{display:grid;place-items:center;flex-shrink:0;width:23px;height:23px;border:1px solid #90a3b8;border-radius:50%;font-size:.74rem}.form-outline button[aria-current=step]{background:#e7effa;color:#164a80;font-weight:650;box-shadow:inset 3px 0 #2564a5}.form-outline button small{display:block;color:#536b83;font-size:.72rem;font-weight:400;margin-top:5px}.form-outline>p{font-size:.76rem;color:#536b83;margin:18px 10px 0}.repeat-card{padding:20px;border:1px solid #b8cadb;border-left:4px solid #5e84ae;background:#fbfdff;border-radius:5px;margin-bottom:22px}.repeat-card>h2{font-size:1.08rem;color:#305a85;margin:0 0 22px}.form-workspace .field label,.form-workspace .field legend{line-height:1.45}.form-workspace .step-label{font-size:.92rem}.form-workspace .form-panel{border-radius:5px}.form-workspace .field-error{font-size:.9rem}
@media(max-width:1250px){body[data-role=office]>main{padding:18px}.record-layout{grid-template-columns:minmax(0,1fr) 260px}.record-context{padding:18px 14px 18px 0}body[data-role=office] .order-workspace .dossier-body{padding:18px}.record-section{padding:18px}.record-fields{grid-template-columns:1fr}.record-fields .span-all{grid-column:auto}.form-workspace{grid-template-columns:210px minmax(0,1fr);gap:20px}.form-outline{padding:16px 8px}.order-process{padding:0 18px 16px}}
@media(max-width:1000px){.record-layout{grid-template-columns:1fr}.record-context{padding:0 18px 18px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.record-context .context-card,body[data-role=office] .record-context .assignment-panel{margin:0}.form-workspace{display:block}.form-outline{position:static;margin:0 0 20px}.form-outline ol{display:flex;overflow-x:auto;gap:8px}.form-outline li{min-width:200px}.form-outline>p{margin-top:10px}.order-process li{min-width:155px}.workspace-memory{display:none}body[data-role=office] .order-workspace .dossier-tabs{gap:15px;padding:0 18px}}
@media(max-width:720px){body[data-role=office]>main{padding:14px 10px}.record-context{grid-template-columns:1fr}.record-fields{grid-template-columns:1fr}.record-layout{display:flex;flex-direction:column}.record-layout .dossier-body,.record-context{width:100%}body[data-role=office] .order-workspace .dossier-title{padding:20px 16px;flex-direction:column;gap:12px}body[data-role=office] .order-workspace .dossier-title h1{font-size:1.18rem}.order-process{padding:0 14px 14px}.record-section{padding:16px}.record-form-list>div{align-items:flex-start;flex-wrap:wrap}.requested-forms li{align-items:flex-start;flex-direction:column;gap:5px}.answer-section dl>div{grid-template-columns:1fr;gap:5px}.form-outline{display:none}.form-workspace .repeat-card{padding:16px}.workspace-commandbar{padding:8px 12px}.workspace-commandbar>span:not(.commandbar-spacer){display:none}.schedule-toolbar{padding:12px;gap:10px}.schedule-toolbar>label{flex:1}.schedule-toolbar>button{flex:1}.schedule-board{min-width:1320px}.schedule-board th:first-child{width:130px}.schedule-awaiting{padding:16px}body[data-role=office]>header .brand>div{gap:10px}body[data-role=office]>header .brand small{padding-left:10px;font-size:.8rem}}

.record-form-list>div{flex-wrap:wrap}.preparation-answers{flex-basis:100%;width:100%;margin:0}.order-workspace .dossier-tabs button:focus-visible{outline:3px solid #245f9d;outline-offset:-3px}

/* Schedule: one visible tray, existing week board, no dialog needed to move an order. */
.schedule-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}
.schedule-layout .schedule-awaiting{padding:16px;max-height:65vh;overflow:auto}
.schedule-layout .schedule-awaiting>div{display:flex;flex-direction:column;gap:14px}
.schedule-layout .schedule-awaiting>p{font-size:.85rem;line-height:1.5}
.schedule-layout .schedule-scroll{min-width:0}
.schedule-item{border:1px solid #afc3d8;border-radius:4px;background:#fff;margin-bottom:12px;overflow:hidden}
.schedule-item .schedule-card{margin:0;border:0;border-left:3px solid #3b73ab;border-radius:0;box-shadow:none;font-size:.86rem;padding:11px;gap:7px}
.schedule-item .schedule-card>strong{font-size:.9rem}
.schedule-item .schedule-card small{font-size:.8rem}
.schedule-card[draggable=true]{cursor:grab}
.schedule-card[draggable=true]:active{cursor:grabbing}
.schedule-card.schedule-dragging{opacity:.5}
.schedule-grip{font-size:.78rem;color:#385c7a;margin-top:3px}
.schedule-pick{width:100%;min-height:44px!important;border:0!important;border-top:1px solid #dce5ee!important;border-radius:0!important;background:#f7faff;color:#215586;font-size:.85rem!important;text-align:left;padding:9px 12px!important}
.schedule-pick:hover,.schedule-pick[aria-pressed=true]{background:#e3efff;color:#123b69}
.schedule-item[data-selected=true]{outline:3px solid #2365a5;outline-offset:1px}
.schedule-locked{font-size:.76rem;color:#52647a;margin:0;padding:9px 12px;border-top:1px solid #e3e8ef;background:#f4f6f8}
.schedule-board td[data-schedule-day]{transition:background-color .12s;min-height:185px}
.schedule-board td.schedule-drop-over{background:#dbeeff;box-shadow:inset 0 0 0 3px #1f63a3}
.schedule-place{display:block;width:100%;min-height:44px!important;margin-bottom:12px;border:2px dashed #25639f!important;border-radius:3px!important;color:#134a80;background:#edf6ff;font-size:.85rem!important;white-space:normal}
.schedule-feedback:not(:empty){display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid #abc6df;border-left:4px solid #25639f;padding:12px 16px;margin-bottom:16px;background:#f1f7ff;color:#173e66;font-size:.9rem;line-height:1.5}
.schedule-feedback:empty{display:none}
.schedule-feedback .schedule-notice{margin:0;flex:1;min-width:220px}
.schedule-feedback button{min-height:44px;font-size:.85rem}
.schedule-placement{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:1 1 100%}
.schedule-placement span{flex:1;min-width:200px}
.schedule-feedback:focus-visible,.schedule-item button:focus-visible,.schedule-place:focus-visible{outline:3px solid #1b5590;outline-offset:-3px}
@media(max-width:1000px){.schedule-layout{grid-template-columns:1fr}.schedule-layout .schedule-awaiting{max-height:280px}.schedule-layout .schedule-awaiting>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.schedule-layout .schedule-draft-note{margin-bottom:0}.schedule-board{min-width:1280px}.schedule-board th:first-child{width:125px}}
@media(prefers-reduced-motion:reduce){.schedule-board td[data-schedule-day]{transition:none}}

/* The dashboard lists parent work areas; individual points stay in the dossier. */
.workarea-dashboard .workarea-totals{grid-template-columns:repeat(3,minmax(0,1fr))}
.workarea-filter-note{font-size:.85rem;color:#415c75;line-height:1.5;margin:14px 0 0}
.workarea-table td small{display:block;margin-top:5px;color:#52647a;font-size:.8rem}
.workarea-table .order-link{white-space:normal;text-align:left;min-height:44px;font-size:.95rem}
.workarea-table .column-sort{min-height:44px;white-space:normal}
.workarea-empty{padding:28px 22px;border:1px solid #d4deea;background:#f7faff;line-height:1.6}
.workarea-empty h2{font-size:1.1rem;margin-top:0}
.workarea-dashboard .dashboard-map-panel{margin-bottom:16px}
@media(max-width:640px){.workarea-dashboard .workarea-totals{grid-template-columns:1fr}.workarea-filter-note{font-size:.9rem}}
