.office-board{min-width:0}.office-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px;border:1px solid var(--app-line,#dce3e8);border-radius:16px;background:var(--app-surface,#fff)}.office-filters label{display:grid;gap:6px;font-size:13px;font-weight:600}.office-filters input,.office-filters select{min-width:0;width:100%}.office-search{grid-column:span 2}.office-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.office-metric{background:var(--app-surface,#fff);color:var(--app-text,#172d43);border:1px solid var(--app-line,#dce3e8);text-align:left;border-radius:14px;padding:16px}.office-metric strong{display:block;font-size:30px;margin-top:6px}.office-workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);border:1px solid var(--app-line,#dce3e8);border-radius:18px;overflow:hidden;background:var(--app-surface,#fff);margin:12px 0 22px}.office-map-pane,.office-list-pane{min-width:0}.office-map-pane{background:#dcebf0;color:#172d43;display:flex;flex-direction:column}.office-map{width:100%;height:480px;display:block;flex:1;min-height:360px}.office-map-tools{display:flex;gap:5px;flex-wrap:wrap;padding:10px}.office-map-tools button{padding:8px 10px;background:#fff;color:#172d43;border:1px solid #a6b7c2}.office-map-caption{font-size:12px;margin:0;padding:10px 14px;background:#eef4f6}.office-map-caption a{color:#17497b}.office-marker{cursor:pointer;outline:none}.office-marker circle{fill:#143c5d;stroke:#fff;stroke-width:1.5px;vector-effect:non-scaling-stroke}.office-marker text{fill:#fff;font-family:system-ui;font-weight:700;pointer-events:none}.office-marker:hover circle,.office-marker:focus circle,.office-marker.is-selected circle{fill:#b85118;stroke:#111;stroke-width:3px}.office-list-pane{padding:0 14px 12px}.office-list-pane h2{font-size:18px}.office-list{list-style:none;padding:0;margin:0;max-height:560px;overflow:auto}.office-row{padding:14px 10px;border-top:1px solid var(--app-line,#dce3e8);border-left:3px solid transparent}.office-row.is-selected{border-left-color:#d97632;background:var(--app-surface-alt,#f3f5f7)}.office-row p{font-size:13px;margin:4px 0;overflow-wrap:anywhere}.office-row-title{display:block;border:0;background:none;color:var(--app-text,#172d43);padding:3px 0;font-size:16px;text-align:left;font-weight:700;overflow-wrap:anywhere}.office-position-state,.office-data-label{font-size:11px;display:block;margin:5px 0;color:var(--app-muted,#566778)}.office-position-state{font-weight:700}.office-detail article+article{border-top:1px solid var(--app-line,#dce3e8);margin-top:16px;padding-top:8px}.office-detail p{margin:6px 0}.office-view-switch{display:flex;gap:8px}.office-board[data-office-view=map] .office-list-pane,.office-board[data-office-view=list] .office-map-pane{display:none}.office-board[data-office-view=map] .office-workspace,.office-board[data-office-view=list] .office-workspace{grid-template-columns:1fr}.office-board button:focus-visible,.office-board input:focus-visible,.office-board select:focus-visible{outline:3px solid #d97632;outline-offset:2px}@media(max-width:1150px){.office-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.office-workspace{grid-template-columns:1fr}.office-list{max-height:400px}.office-map{height:440px}}@media(max-width:640px){.office-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.office-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.office-metric{padding:12px}.office-metric strong{font-size:25px}.office-map{height:370px;min-height:300px}.office-board .pagehead{display:block}.office-board .actions{flex-wrap:wrap}.office-view-switch{flex-wrap:wrap}}

.office-navigation{display:flex;flex-direction:column;gap:4px}.office-navigation>a{display:block}.office-nav-group{border:0}.office-nav-group summary{padding:12px 13px;font-weight:650;cursor:pointer;font-size:14px;border-radius:9px}.office-nav-group summary:hover{background:#ffffff12}.office-nav-group>a{display:block;padding-left:24px;font-size:14px}.office-filter-extra{grid-column:1/-1}.office-filter-extra summary{cursor:pointer;font-weight:600;font-size:14px}.office-filter-extra-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:12px}.office-marker text.office-marker-caption{fill:#14304b;stroke:#fff;stroke-width:3px;paint-order:stroke;vector-effect:non-scaling-stroke;font-weight:650}.office-marker.is-unplanned circle{fill:#975021}.office-map-legend{padding:8px 14px;font-size:12px;margin:0}.office-map-legend span{margin-right:14px}.office-map-legend .planned{color:#143c5d}.office-map-legend .unplanned{color:#975021}@media(max-width:700px){.office-navigation{width:100%;display:grid;grid-template-columns:1fr 1fr}.office-nav-group{min-width:0}.office-navigation>a{margin:0}.office-nav-group summary{font-size:13px;padding:9px}.office-nav-group>a{font-size:12px}.office-filter-extra-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.draft-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;list-style:none;gap:8px}.draft-steps button{width:100%;height:100%;text-align:left}.draft-steps [aria-current=step] button{border:2px solid #d97632}.draft-fields{border:0;padding:0;margin:18px 0;min-width:0}.draft-fields .full{grid-column:1/-1}.draft-fields label{min-width:0}.draft-fields input,.draft-fields textarea,.draft-fields select{max-width:100%;min-width:0}.draft-document-choices{display:grid;gap:10px;max-height:300px;overflow:auto;margin:14px 0}.draft-document-choices label{display:flex;gap:8px;align-items:center;overflow-wrap:anywhere}.draft-document-choices input{width:auto}.draft-list-entry{border-top:1px solid var(--app-line,#dce3e8);padding:16px 0}.order-draft [aria-busy=true]{cursor:progress}.order-draft dd{overflow-wrap:anywhere}.order-draft .actions{flex-wrap:wrap}@media(max-width:700px){.draft-steps{grid-template-columns:1fr 1fr}.draft-steps button{font-size:13px}.draft-fields{grid-template-columns:1fr}.order-draft .kv{grid-template-columns:1fr}.order-draft .kv dd{margin:0 0 12px}}

.office-planning-origin{display:flex;gap:10px 20px;align-items:center;flex-wrap:wrap;padding:14px 18px;border:1px solid #aec9d4;border-radius:10px;background:#eef6f8;margin:12px 0}.office-planning-origin span{flex:1;min-width:220px;font-size:13px}.office-planning-origin a{font-weight:650}.office-map{height:550px;min-height:400px}.office-place{pointer-events:none}.office-place text{fill:#334b60;stroke:#fff;stroke-width:4px;paint-order:stroke;vector-effect:non-scaling-stroke;font-weight:650}.office-place circle{fill:#526b80;stroke:white;stroke-width:1px;vector-effect:non-scaling-stroke}.office-place-job text{fill:#173849;font-weight:750}.office-place-origin text{fill:#075985;font-weight:800}.office-origin{pointer-events:none}.office-origin path{fill:#0369a1;stroke:white;stroke-width:2px;vector-effect:non-scaling-stroke}.office-origin text{fill:white;font-weight:800}.office-marker.office-urgency-green circle{fill:#2c7a4b}.office-marker.office-urgency-orange circle{fill:#b96909}.office-marker.office-urgency-red circle{fill:#bd3535}.office-marker.office-urgency-unknown circle,.office-marker.office-urgency-closed circle{fill:#6b7280}.office-marker.is-selected circle{stroke:#0f172a;stroke-width:3px}.office-deadline{padding:6px 8px;border-radius:5px;border-left:4px solid #6b7280;background:#f3f4f6}.office-deadline-green{border-color:#2c7a4b;background:#edf7ef}.office-deadline-orange{border-color:#b96909;background:#fff5e6}.office-deadline-red{border-color:#bd3535;background:#fff0f0}.office-map-legend{display:flex;flex-wrap:wrap;gap:7px 16px;background:white;border-top:1px solid #dce3e8}.office-map-legend span{margin:0}.deadline-green{color:#23603c}.deadline-orange{color:#945408}.deadline-red{color:#a42727}.deadline-unknown{color:#545b65}.office-deadline-summary{padding:4px 14px;font-size:12px;margin:0}.office-map-scale{pointer-events:none}.office-map-scale path{stroke:#324c5d;stroke-width:2px;vector-effect:non-scaling-stroke;fill:none}.office-map-scale text{fill:#243b4c;stroke:white;stroke-width:3px;paint-order:stroke;vector-effect:non-scaling-stroke}.office-map-pane:focus{outline:2px solid #075985;outline-offset:3px}@media(max-width:700px){.office-map{height:430px;min-height:340px}.office-planning-origin{display:block}.office-planning-origin span{display:block;margin:8px 0}.office-map-legend{font-size:11px}}

.office-marker.office-urgency-closed circle{fill:#465970}.deadline-closed{color:#34465c}.office-deadline-closed{border-color:#465970;background:#eef2f7}

.office-marker.office-urgency-past circle{fill:#765299}.office-deadline-past{border-color:#765299;background:#f4eff9}.deadline-past{color:#67428a}

/* Daily office: compact, scoped and theme-aware; no fixed financial colors. */
.office-today-heading h1{margin:.3rem 0}.office-today-heading>p:first-child{font-weight:650}.office-today-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.office-today-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin:18px 0}.office-today-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--app-line);border-radius:12px;background:var(--app-surface);color:var(--app-text);text-decoration:none;min-width:0}.office-today-card strong{font-size:28px;line-height:1.2}.office-today-card small{color:var(--app-muted)}.office-today-card:hover,.office-today-card:focus-visible{outline:2px solid var(--app-accent);outline-offset:2px}.office-today-item{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:16px 0;border-bottom:1px solid var(--app-line);overflow-wrap:anywhere}.office-today-item h3{margin:0 0 6px}.office-today-item p{margin:5px 0}.office-today-item>div{min-width:0}.office-today-item>div:last-child{flex-shrink:0;max-width:35%}.office-today-pagination{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:16px 0}.office-today-source{margin-top:20px;padding:12px;border:1px solid var(--app-line);border-radius:10px}.office-rights-details{margin:12px 0}.office-today-source summary,.office-rights-details summary{cursor:pointer;font-weight:650}form[data-office-today-filters]{display:grid;grid-template-columns:minmax(150px,2fr) minmax(160px,1fr) auto;align-items:end;gap:12px}form[data-office-today-filters] label{min-width:0}form[data-office-today-filters] input,form[data-office-today-filters] select{width:100%;box-sizing:border-box}@media(max-width:640px){.office-today-grid{grid-template-columns:1fr 1fr}.office-today-item{display:block}.office-today-item>div:last-child{max-width:100%;margin-top:12px}.office-today-item .button,.office-today-item button{max-width:100%;white-space:normal}form[data-office-today-filters]{grid-template-columns:1fr}.office-today-actions .button,.office-today-actions button{white-space:normal}.office-today-pagination{flex-wrap:wrap}}@media(max-width:360px){.office-today-grid{grid-template-columns:1fr}}

.office-today-tools{margin:12px 0}.office-today-tools>summary{font-weight:650;cursor:pointer}.office-today-tools .office-today-actions{margin:8px 0}@media(max-width:640px){.office-today-card{padding:10px;gap:4px}.office-today-card>span{font-size:14px}.office-today-card>strong{font-size:24px}.office-today-card>small{display:none}}
