/* Shared owner-facing hierarchy, independent of Agent/transport behavior. */
:root{--cx-focus:#176bba;--cx-ink:#233443;--cx-muted:#526575;--cx-border:#dce4e9}
body{font-size:.9375rem;line-height:1.5;background:#f4f6f8}
.content{width:100%;max-width:1440px;padding:24px 28px 48px;min-width:0}
.page-heading{align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
.page-heading h1{font-size:1.75rem;line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:0}
.page-heading p{font-size:.9rem;max-width:64ch;margin:6px 0 0}
h2{font-size:1.125rem;font-weight:600;line-height:1.35;margin-bottom:14px}h3{font-size:1rem;font-weight:600}
.eyebrow{font-size:.65rem;letter-spacing:.09em;margin-bottom:5px}
.panel{padding:20px;border-radius:12px;box-shadow:none!important}.panel>.page-heading{margin-bottom:12px}.panel p{max-width:78ch}
.btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.25;padding:9px 14px;border-radius:8px;text-decoration:none;white-space:normal}
.btn-sm{min-height:36px;padding:7px 11px}.btn:disabled,.btn[disabled]{cursor:not-allowed;opacity:.55;pointer-events:none}
.btn-outline-secondary{background:white;border-color:#bac7d0;color:#3c5363}.btn-outline-danger{border-color:#c88c8c;color:#9d2626}
.status-chip{display:inline-flex;align-items:center;background:#eef2f5;color:#425768;border-radius:999px;padding:3px 9px;font-size:.75rem;font-weight:500;cursor:default}
.entity-link{font-weight:600;text-underline-offset:3px;display:inline-flex;gap:8px;align-items:center}.entity-link:hover{background:#eef6f3}
a.panel,a.summary-row{cursor:pointer;border:1px solid var(--cx-border)}a.panel:hover,a.summary-row:hover{background:#f3f9f6;border-color:#91b5a7}
.context-actions{gap:8px}.context-actions form{margin:0}
select,.form-select{cursor:pointer;min-height:42px;border-color:#b7c5cf;border-radius:8px;padding-right:32px}
input[type=checkbox],input[type=radio]{width:18px;height:18px;vertical-align:middle;accent-color:#196755}
.operational-tabs,.period-tabs{gap:4px;padding:4px;border-bottom:1px solid var(--cx-border);margin:16px 0;overflow-x:auto}
.operational-tabs a,.period-tabs a{border:0;border-radius:7px;color:#455b6a;white-space:nowrap;padding:9px 13px}
.operational-tabs a.active,.period-tabs a.active,.operational-tabs [aria-current=page],.period-tabs [aria-current=page]{background:#e1efe9;color:#124f3f;font-weight:600;box-shadow:inset 0 -2px #196755}
.operational-tabs a:hover,.period-tabs a:hover{background:#edf3f1}
summary{min-height:40px;padding:9px 0;list-style:none;display:flex;gap:10px;align-items:center;cursor:pointer}summary::-webkit-details-marker{display:none}summary::before{content:'›';font-size:1.25rem;line-height:1;flex:0 0 12px}details[open]>summary::before{transform:rotate(90deg)}
details[open]>summary{margin-bottom:8px}.technical-disclosure{background:#f8fafb}.technical-content{border-top:1px solid var(--cx-border);padding-top:16px}.context-help{font-size:.85rem;margin:6px 0}
.attention-item{padding:16px 0;align-items:center}.attention-item h3{margin:7px 0 4px}.attention-item p{margin:4px 0}
.acknowledged-state{border-left:3px solid #b28c45;background:#fffaf0;padding:12px 16px;margin-top:14px;border-radius:6px}.acknowledged-state h3{font-size:.85rem;color:#775719}
.pulse-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:10px}.pulse-strip>a{max-width:none;padding:14px;border:1px solid var(--cx-border);border-radius:9px;background:#fafcfc}.pulse-strip>a:hover{background:#edf6f1;border-color:#8caf9e}.pulse-strip strong{font-size:1.6rem;letter-spacing:-.025em}
.table td,.table th{padding:12px 14px}.filter-bar{gap:12px;padding:12px}.pagination-bar a{padding:9px 12px;border:1px solid var(--cx-border);border-radius:7px;text-decoration:none;background:white}
.category-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:14px 0}.category-controls label{display:flex;flex-direction:column;justify-content:space-between;gap:6px}.evidence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}.evidence-card{border:1px solid var(--cx-border);border-radius:10px;overflow:hidden}.evidence-card img{width:100%;aspect-ratio:16/9;object-fit:contain;background:#1b272e}.evidence-card>div{padding:12px}
:is(a,button,input,select,textarea,summary):focus-visible,.btn:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
@media(max-width:700px){.content{padding:18px 14px 32px}.page-heading h1{font-size:1.5rem}.panel{padding:16px}.page-heading{align-items:flex-start}.context-actions{width:100%}.attention-item{align-items:stretch}.operational-tabs{flex-wrap:nowrap}.form-grid{grid-template-columns:1fr}.pulse-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Dense, usable directories and progressively disclosed detail on narrow screens. */
.table-responsive{max-width:100%;overflow-x:auto}.table td{overflow-wrap:anywhere}.table small{display:block;color:var(--cx-muted)}
.panel,.filter-bar,.form-grid>*{min-width:0}input,select,textarea{max-width:100%}details dd{overflow-wrap:anywhere}
.wall-summary{font-weight:600;color:var(--cx-muted)}.wall-card>header p{font-size:.8rem;margin:4px 0}.live-viewer:not(.wall-thumbnail){display:flex;flex-direction:column}.live-viewer:not(.wall-thumbnail) .live-screen{order:1}.live-viewer:not(.wall-thumbnail) .live-options{order:2}.live-viewer:not(.wall-thumbnail)>[data-result]{order:3}.live-viewer:not(.wall-thumbnail)>details{order:4}
.endpoint-form fieldset{max-height:260px;overflow-y:auto}.endpoint-form [role=status]:empty{display:none}
.admin-scope-checklist{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;max-height:240px;overflow:auto;padding:12px;border:1px solid var(--cx-border);border-radius:8px;background:var(--ov-surface, #172a35)}.admin-scope-checklist label{display:flex;align-items:flex-start;gap:9px;padding:7px 9px;border-radius:6px;cursor:pointer}.admin-scope-checklist label:hover{background:var(--ov-raised, #1d313d)}.admin-scope-checklist input{margin-top:4px;flex:0 0 auto}
.role-list{display:grid;gap:12px}.role-card{margin:0;border:1px solid var(--cx-border);background:var(--ov-surface, #172a35);border-radius:10px;padding:14px 18px}.role-card>summary{flex-wrap:wrap}.role-card>p{margin:6px 0 12px}.role-permission-group{min-width:0;margin:14px 0;padding:12px 14px;border:1px solid var(--cx-border);border-radius:9px;background:var(--ov-surface, #172a35)}.role-permission-group legend{float:none;width:auto;padding:0 6px;font-size:.92rem;font-weight:600}.role-permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:6px 12px}.role-permission-grid label{display:flex;align-items:flex-start;gap:9px;padding:7px 8px;border-radius:6px;cursor:pointer}.role-permission-grid label:hover{background:var(--ov-raised, #1d313d)}.role-permission-grid input{flex:0 0 auto;margin-top:4px}.role-confirm{border-top:1px solid var(--cx-border);padding-top:8px}.role-create-form,.role-edit-form{max-width:none}
@media(max-width:700px){.filter-bar{align-items:stretch}.filter-bar label{flex:1 1 160px;min-width:0}.live-options{gap:10px}.live-options label{flex:1 1 140px}.live-options button{flex:1 1 120px}.table td,.table th{padding:10px;min-width:100px}summary{min-height:44px}}
.form-select:focus-visible,.form-control:focus-visible,.form-check-input:focus-visible{outline:3px solid var(--cx-focus);outline-offset:3px}
.page-heading>div>small{display:block;color:var(--cx-muted);margin-top:4px}.attention-item{padding:12px 0}.attention-item .context-help{margin:0}.attention-item h3{margin-top:5px}

/* Effective-dated work schedule and group controls. */
.group-directory-table{table-layout:fixed;min-width:900px}.group-directory-table th:nth-child(1){width:19%}.group-directory-table th:nth-child(2){width:15%}.group-directory-table th:nth-child(3){width:35%}.group-directory-table th:nth-child(4){width:31%}.group-directory-table td.fw-semibold{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group-directory-table td{vertical-align:middle}.group-directory-table td:last-child .d-flex{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px!important}.group-directory-table td:last-child .btn{white-space:nowrap}.group-schedule-control{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:7px 10px;align-items:end;min-width:0}.group-schedule-control .form-label{margin:0;min-width:0}.group-schedule-control .form-select{min-width:0}.group-schedule-control small,.group-schedule-control [role=status]{grid-column:1/-1;color:var(--cx-muted);line-height:1.35}.group-schedule-control .btn{min-height:38px;padding:7px 10px;white-space:nowrap}.schedule-default-panel,.schedule-default-controls,.month-summary-controls{display:grid;gap:14px}.schedule-default-panel{grid-template-columns:minmax(0,1fr) minmax(280px,1fr);align-items:center}.schedule-default-controls{grid-template-columns:minmax(0,1fr) auto;align-items:end}.schedule-default-controls .form-label{margin:0}.work-schedule-layout{grid-template-columns:minmax(230px,.8fr) minmax(0,1.6fr)}.schedule-list{display:grid;gap:8px;max-height:560px;overflow:auto}.schedule-list-item{display:grid;gap:3px;text-align:left;padding:11px 13px;border:1px solid var(--cx-border);border-radius:9px;background:var(--ov-surface, #172a35);color:inherit}.schedule-list-item:hover,.schedule-list-item.selected{border-color:var(--cx-focus);background:var(--ov-raised, #1d313d)}.schedule-list-item small{color:var(--cx-muted)}.schedule-days{margin:15px 0;padding:12px;border:1px solid var(--cx-border);border-radius:9px}.schedule-day-options{display:flex;flex-wrap:wrap;gap:8px 14px;margin:6px 0}.schedule-day-options label,.schedule-toggle{display:inline-flex;align-items:center;gap:6px}.schedule-breaks{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;align-items:end}.schedule-breaks button{grid-column:1/-1;justify-self:start}.month-summary-controls{grid-template-columns:repeat(2,minmax(160px,260px));margin-bottom:14px}.schedule-summary-metrics{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.schedule-summary-metrics .metric-card{display:grid;gap:5px;padding:12px 14px}.schedule-summary-metrics .metric-card span{color:var(--cx-muted);font-size:.85rem}.schedule-summary-metrics .metric-card strong{font-size:1.35rem}.schedule-calendar-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--cx-border)}.automated-message-matrix{min-width:850px}.automated-message-matrix th:first-child{min-width:160px}.automated-message-matrix td{text-align:center;vertical-align:middle}.automated-message-matrix td input[type=checkbox]{width:19px;height:19px}.automated-message-matrix td .form-control{min-width:115px}.automated-message-text{padding:0 8px}.automated-message-text .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.calendar-month-summary{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:14px 0;padding:12px 14px;border:1px solid var(--cx-border);border-radius:9px;background:var(--ov-surface,#172a35)}.calendar-month-summary>div{display:grid;min-width:190px}.calendar-month-summary small{color:var(--cx-muted)}.calendar-month-summary>span{display:inline-flex;gap:5px;align-items:center;color:var(--cx-muted)}.calendar-month-summary>span strong{color:inherit}.calendar-month-summary>a{margin-left:auto}
@media(max-width:850px){.work-schedule-layout,.schedule-default-panel{grid-template-columns:1fr}.schedule-default-controls{grid-template-columns:1fr}.group-directory-table{min-width:780px}.group-schedule-control{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:600px){.month-summary-controls,.automated-message-text .form-grid{grid-template-columns:1fr}.schedule-breaks{grid-template-columns:1fr 1fr}.schedule-breaks label:first-child,.schedule-breaks button{grid-column:1/-1}.schedule-calendar-link{align-items:flex-start;flex-direction:column}.schedule-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
