/* G4.3: restrained environment colours; shared shell and bounded desktop panels. */
main[data-environment]{background:var(--environment)}
.module-context{display:flex;gap:8px;align-items:center;position:sticky;top:-1px;z-index:450;background:var(--environment);color:var(--environment-ink);min-height:48px;padding:8px 4px;border-bottom:1px solid #bac9c5;margin-bottom:10px;flex-wrap:wrap}
.module-context svg{width:24px;height:24px}.module-context span{font-size:.85rem}.module-context strong{letter-spacing:.04em}
.module-home{max-width:860px;margin:auto}.module-home-actions{display:grid;grid-template-columns:1fr;gap:12px}.module-home-actions button{min-height:56px;justify-content:flex-start}
.case-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:1400px;margin:auto;min-width:0}.case-identity{display:flex;gap:10px 20px;flex-wrap:wrap;background:#ffffffd9;padding:12px;border-radius:10px;border:1px solid #cbd9d3;overflow-wrap:anywhere}.case-identity div{display:flex;flex-direction:column;gap:3px;min-width:0}.case-identity div:first-child{flex:1 1 200px}.case-identity small{color:#4c5d69}.case-identity p{width:100%;margin:0;font-size:.85rem}.case-history{background:#fff;border:1px solid #cbd9d3;border-radius:10px;padding:10px;min-width:0;max-height:260px;overflow:auto;overscroll-behavior:contain}.case-history h2{font-size:1rem;margin:0 0 8px}.history-controls{display:flex;gap:6px;position:sticky;top:-10px;background:white;padding:6px 0;z-index:1}.history-controls button{min-height:44px;padding:8px}.history-controls #history-current{flex:1;font-size:.85rem}#case-events{list-style:none;margin:0;padding:0}#case-events li{margin:6px 0}.history-event{display:block;width:100%;text-align:left;white-space:normal;font-size:.85rem;min-height:44px}.history-event small{display:block;margin-top:4px;font-size:.75rem}.history-event.selected{outline:2px solid var(--environment-ink);outline-offset:-2px;background:var(--environment);color:var(--environment-ink)}.case-focus{min-width:0}.case-focus .cycle-panel{margin:0;max-width:none}.case-focus h2{font-size:1.1rem}.case-focus h3{font-size:.95rem}.case-focus p{margin:8px 0}.case-focus .cycle-steps{margin-top:0}.case-focus .compact-photos{max-height:210px;overflow:auto}.case-focus .cycle-actions{margin:10px 0}.case-focus .cycle-actions button{flex:1 1 170px}.case-focus [hidden]{display:none!important}#history-detail{overflow-wrap:anywhere;margin:0}#history-detail dd{margin:4px 0 12px;white-space:pre-wrap;font-size:.9rem}#history-detail button{margin:5px 0}.form-guidance{background:var(--environment);padding:10px;border-radius:8px;font-size:.9rem}
@media(min-width:768px){.module-home-actions{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){
 .app-shell:has(#workspace:not([hidden])) #platform-sidebar:not([hidden]){background-image:linear-gradient(160deg,#073c66ed,#07588be8 55%,#092c50f5),var(--town-image,none);background-size:cover;background-position:center;padding:12px 8px;gap:1px;color:white}
 #platform-sidebar .sidebar-brand{color:white;margin-bottom:10px}#platform-sidebar button{color:#fff;padding:8px;min-height:44px;border-radius:6px;flex-shrink:0}#platform-sidebar button:hover,#platform-sidebar button:focus-visible{background:#ffffff29;outline-color:white}
 .app-shell:has(#workspace:not([hidden])) main{padding:12px 18px}
 .case-workspace{grid-template-columns:minmax(220px,.85fr) minmax(0,1.8fr);grid-template-rows:auto minmax(0,1fr);height:calc(100dvh - 166px);min-height:420px}
 .case-identity{grid-column:1/-1}.case-history{max-height:none;min-height:0}.case-focus{min-height:0;overflow:auto;overscroll-behavior:contain}.case-workspace+.cycle-legacy{margin-top:6px}.cycle-form form{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}.cycle-form form>fieldset,.cycle-form form>h3,.cycle-form form>p,.cycle-form form>button,.cycle-form form>.g41-photo-field{grid-column:1/-1}.cycle-form textarea{min-height:80px}
}
@media print{.module-context{position:static}.case-workspace{display:block;height:auto}.case-history,.history-controls{display:none}.case-focus{overflow:visible}.case-focus .compact-photos{max-height:none}}

.initial-evidence>summary{min-height:44px;padding:12px 0;cursor:pointer}
/* 4.3.9: independent labelled fields, common to every operational list. */
.card.operational-list-row{--row-tint:#f4f7fa;display:grid;grid-template-columns:64px minmax(140px,.95fr) minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.15fr) 14px;align-items:center;width:100%;min-width:0;gap:16px;padding:12px;text-align:left;background:var(--row-tint);color:#23323f;font-weight:400;font-size:13px;line-height:1.3}
.card.operational-list-row[data-row-module="SEGNAL"]{--row-tint:#f0f8f2}
.card.operational-list-row[data-row-module="IDRICO"]{--row-tint:#eff7fc}
.card.operational-list-row[data-row-module="STRADE"]{--row-tint:#fff5e9}
.card.operational-list-row:hover{filter:none;box-shadow:inset 0 0 0 1px #6c879855}
.operational-row:has(.row-select:checked) .operational-list-row{box-shadow:inset 0 0 0 2px #487b6955}
.operational-list-row .row-identity,.operational-list-row .row-location,.operational-list-row .row-timeline,.operational-list-row .row-assignment,.operational-list-row .row-summary{display:grid;align-content:center;gap:8px;min-width:0;margin:0}
.operational-list-row .row-field{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;overflow-wrap:anywhere}
.operational-list-row .row-label{display:block;font-size:10px;line-height:1.2;font-weight:600;letter-spacing:.025em;color:#526477;text-transform:uppercase}
.operational-list-row .row-value{display:block;min-width:0;max-width:100%;font-size:13px;line-height:1.3;color:#23323f;overflow-wrap:anywhere}
.operational-list-row .row-value strong{font-size:12px;line-height:1.3;margin:0;font-weight:700}
.operational-list-row .module-badge{font-size:11px;gap:4px}
.operational-list-row .module-badge svg{width:17px;height:17px}
.operational-list-row .work-row-photo{display:flex;align-items:center;justify-content:center;width:64px;height:64px;min-width:0}
.card.operational-list-row .work-row-photo img,.operational-list-row .work-row-placeholder{display:block;width:64px;height:64px;min-width:0;max-width:100%;object-fit:contain;border-radius:6px;background:#e8edf2}
.operational-list-row .work-row-placeholder{display:grid;place-items:center;color:#536777;font-size:26px}
.operational-list-row .work-status-cell{display:inline-block;padding:3px 6px;border-radius:4px;font-size:12px;font-weight:500;max-width:100%;white-space:normal}
.operational-list-row .row-date-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:0}
.operational-list-row .previous-work-count{display:inline-block;margin-left:6px;font-size:11px;color:#506172}
#work-results .operational-list-row .status-closed,.operational-list-row .status-closed{background:#e6f4e9;color:#205b30}
#work-results .operational-list-row .status-working,.operational-list-row .status-working{background:#fff0d8;color:#864800}
#work-results .operational-list-row .status-scheduled,.operational-list-row .status-scheduled{background:#fce8e8;color:#812727}
#work-results .operational-list-row .status-cancelled,.operational-list-row .status-cancelled{background:#eef0f2;color:#414b55}
#work-results .operational-list-row .status-neutral,.operational-list-row .status-neutral{background:#f5f6f7;color:#344453}
.operational-list-row>.chevron{align-self:center;font-size:22px;color:#234c70}
.operational-list-row:focus-visible{outline:3px solid #006be3;outline-offset:2px}
/* The list owns its available width, including space taken by the sidebar. */
/* 4.3.11: one semantic row, recomposed by usable list width.
   CSS queries, traditional media fallback, and measured width share the same rules. */
.list-results,.control-rows,#work-results,#recent-activities,.operational-list-host{container-type:inline-size;container-name:operational-list}
@supports not (container-type:inline-size){
@media(max-width:649px){
.operational-list-row .row-field,.operational-list-row .row-label{overflow-wrap:normal;word-break:normal}
.operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}
.operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.operational-list-row .row-value{word-break:normal}
.operational-list-row .row-identity strong{font-size:11px}
.operational-list-row .row-photo,.operational-list-row .row-identity,.operational-list-row .row-location,.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{align-self:start;min-width:0}
.operational-list-row .work-row-photo,.card.operational-list-row .work-row-photo img,.operational-list-row .work-row-placeholder{width:56px;height:56px}

.card.operational-list-row{grid-template-columns:56px minmax(0,1fr) 14px;gap:14px 10px;padding:12px;align-items:start}
.operational-list-row .row-photo{grid-column:1;grid-row:1}
.operational-list-row .row-identity{grid-column:2;grid-row:1;gap:5px}
.operational-list-row .row-location{grid-column:1/-1;grid-row:2;grid-template-columns:1fr;gap:10px}
.operational-list-row .row-timeline{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row .row-summary{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row .row-assignment{grid-column:1/-1;grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row>.chevron{grid-column:3;grid-row:1;align-self:center}
.operational-list-row .row-date-pair{grid-template-columns:1fr}
}
@media(min-width:650px) and (max-width:1099px){
.operational-list-row .row-field,.operational-list-row .row-label{overflow-wrap:normal;word-break:normal}
.operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}
.operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.operational-list-row .row-value{word-break:normal}
.operational-list-row .row-identity strong{font-size:11px}
.operational-list-row .row-photo,.operational-list-row .row-identity,.operational-list-row .row-location,.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{align-self:start;min-width:0}
.operational-list-row .work-row-photo,.card.operational-list-row .work-row-photo img,.operational-list-row .work-row-placeholder{width:56px;height:56px}

.card.operational-list-row{grid-template-columns:56px minmax(138px,.9fr) minmax(160px,1.25fr) minmax(124px,1fr) 14px;gap:10px 12px;padding:12px;align-items:start}
.operational-list-row .row-photo{grid-column:1;grid-row:1 / span 2}
.operational-list-row .row-identity{grid-column:2;grid-row:1 / span 2}
.operational-list-row .row-location{grid-column:3;grid-row:1}
.operational-list-row .row-timeline{grid-column:4;grid-row:1}
.operational-list-row .row-summary{grid-column:3;grid-row:2;gap:6px}
.operational-list-row .row-assignment{grid-column:4;grid-row:2;gap:6px}
.operational-list-row>.chevron{grid-column:5;grid-row:1 / span 2;align-self:center}
.operational-list-row .row-date-pair{grid-template-columns:1fr}
}
@media(min-width:1100px){.card.operational-list-row.work-sheet-row{grid-template-columns:64px minmax(120px,.85fr) minmax(0,1.2fr) minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.95fr) 14px;gap:12px}}
@media(max-width:359px){.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{grid-template-columns:1fr}}
}
@container operational-list (min-width:1100px){.card.operational-list-row.work-sheet-row{grid-template-columns:64px minmax(120px,.85fr) minmax(0,1.2fr) minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.95fr) 14px;gap:12px}}
@container operational-list (min-width:650px) and (max-width:1099px){
.operational-list-row .row-field,.operational-list-row .row-label{overflow-wrap:normal;word-break:normal}
.operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}
.operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.operational-list-row .row-value{word-break:normal}
.operational-list-row .row-identity strong{font-size:11px}
.operational-list-row .row-photo,.operational-list-row .row-identity,.operational-list-row .row-location,.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{align-self:start;min-width:0}
.operational-list-row .work-row-photo,.card.operational-list-row .work-row-photo img,.operational-list-row .work-row-placeholder{width:56px;height:56px}

.card.operational-list-row{grid-template-columns:56px minmax(138px,.9fr) minmax(160px,1.25fr) minmax(124px,1fr) 14px;gap:10px 12px;padding:12px;align-items:start}
.operational-list-row .row-photo{grid-column:1;grid-row:1 / span 2}
.operational-list-row .row-identity{grid-column:2;grid-row:1 / span 2}
.operational-list-row .row-location{grid-column:3;grid-row:1}
.operational-list-row .row-timeline{grid-column:4;grid-row:1}
.operational-list-row .row-summary{grid-column:3;grid-row:2;gap:6px}
.operational-list-row .row-assignment{grid-column:4;grid-row:2;gap:6px}
.operational-list-row>.chevron{grid-column:5;grid-row:1 / span 2;align-self:center}
.operational-list-row .row-date-pair{grid-template-columns:1fr}
}
@container operational-list (max-width:649px){
.operational-list-row .row-field,.operational-list-row .row-label{overflow-wrap:normal;word-break:normal}
.operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}
.operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.operational-list-row .row-value{word-break:normal}
.operational-list-row .row-identity strong{font-size:11px}
.operational-list-row .row-photo,.operational-list-row .row-identity,.operational-list-row .row-location,.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{align-self:start;min-width:0}
.operational-list-row .work-row-photo,.card.operational-list-row .work-row-photo img,.operational-list-row .work-row-placeholder{width:56px;height:56px}

.card.operational-list-row{grid-template-columns:56px minmax(0,1fr) 14px;gap:14px 10px;padding:12px;align-items:start}
.operational-list-row .row-photo{grid-column:1;grid-row:1}
.operational-list-row .row-identity{grid-column:2;grid-row:1;gap:5px}
.operational-list-row .row-location{grid-column:1/-1;grid-row:2;grid-template-columns:1fr;gap:10px}
.operational-list-row .row-timeline{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row .row-summary{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row .row-assignment{grid-column:1/-1;grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.operational-list-row>.chevron{grid-column:3;grid-row:1;align-self:center}
.operational-list-row .row-date-pair{grid-template-columns:1fr}
}
@container operational-list (max-width:359px){.operational-list-row .row-timeline,.operational-list-row .row-summary,.operational-list-row .row-assignment{grid-template-columns:1fr}}
[data-row-layout="desktop"] .card.operational-list-row.work-sheet-row{grid-template-columns:64px minmax(120px,.85fr) minmax(0,1.2fr) minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.95fr) 14px;gap:12px}
[data-row-layout="tablet"] .operational-list-row .row-field,[data-row-layout="tablet"] .operational-list-row .row-label{overflow-wrap:normal;word-break:normal}[data-row-layout="tablet"] .operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}[data-row-layout="tablet"] .operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}[data-row-layout="tablet"] .operational-list-row .row-value{word-break:normal}[data-row-layout="tablet"] .operational-list-row .row-identity strong{font-size:11px}[data-row-layout="tablet"] .operational-list-row .row-photo,[data-row-layout="tablet"] .operational-list-row .row-identity,[data-row-layout="tablet"] .operational-list-row .row-location,[data-row-layout="tablet"] .operational-list-row .row-timeline,[data-row-layout="tablet"] .operational-list-row .row-summary,[data-row-layout="tablet"] .operational-list-row .row-assignment{align-self:start;min-width:0}[data-row-layout="tablet"] .operational-list-row .work-row-photo,[data-row-layout="tablet"] .card.operational-list-row .work-row-photo img,[data-row-layout="tablet"] .operational-list-row .work-row-placeholder{width:56px;height:56px}[data-row-layout="tablet"] .card.operational-list-row{grid-template-columns:56px minmax(138px,.9fr) minmax(160px,1.25fr) minmax(124px,1fr) 14px;gap:10px 12px;padding:12px;align-items:start}[data-row-layout="tablet"] .operational-list-row .row-photo{grid-column:1;grid-row:1 / span 2}[data-row-layout="tablet"] .operational-list-row .row-identity{grid-column:2;grid-row:1 / span 2}[data-row-layout="tablet"] .operational-list-row .row-location{grid-column:3;grid-row:1}[data-row-layout="tablet"] .operational-list-row .row-timeline{grid-column:4;grid-row:1}[data-row-layout="tablet"] .operational-list-row .row-summary{grid-column:3;grid-row:2;gap:6px}[data-row-layout="tablet"] .operational-list-row .row-assignment{grid-column:4;grid-row:2;gap:6px}[data-row-layout="tablet"] .operational-list-row>.chevron{grid-column:5;grid-row:1 / span 2;align-self:center}[data-row-layout="tablet"] .operational-list-row .row-date-pair{grid-template-columns:1fr}

[data-row-layout="phone"] .operational-list-row .row-field,[data-row-layout="phone"] .operational-list-row .row-label{overflow-wrap:normal;word-break:normal}[data-row-layout="phone"] .operational-list-row .row-label{white-space:nowrap;letter-spacing:0;font-size:9px}[data-row-layout="phone"] .operational-list-row .row-identity .row-value{overflow-wrap:normal;word-break:normal;white-space:nowrap}[data-row-layout="phone"] .operational-list-row .row-value{word-break:normal}[data-row-layout="phone"] .operational-list-row .row-identity strong{font-size:11px}[data-row-layout="phone"] .operational-list-row .row-photo,[data-row-layout="phone"] .operational-list-row .row-identity,[data-row-layout="phone"] .operational-list-row .row-location,[data-row-layout="phone"] .operational-list-row .row-timeline,[data-row-layout="phone"] .operational-list-row .row-summary,[data-row-layout="phone"] .operational-list-row .row-assignment{align-self:start;min-width:0}[data-row-layout="phone"] .operational-list-row .work-row-photo,[data-row-layout="phone"] .card.operational-list-row .work-row-photo img,[data-row-layout="phone"] .operational-list-row .work-row-placeholder{width:56px;height:56px}[data-row-layout="phone"] .card.operational-list-row{grid-template-columns:56px minmax(0,1fr) 14px;gap:14px 10px;padding:12px;align-items:start}[data-row-layout="phone"] .operational-list-row .row-photo{grid-column:1;grid-row:1}[data-row-layout="phone"] .operational-list-row .row-identity{grid-column:2;grid-row:1;gap:5px}[data-row-layout="phone"] .operational-list-row .row-location{grid-column:1/-1;grid-row:2;grid-template-columns:1fr;gap:10px}[data-row-layout="phone"] .operational-list-row .row-timeline{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}[data-row-layout="phone"] .operational-list-row .row-summary{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}[data-row-layout="phone"] .operational-list-row .row-assignment{grid-column:1/-1;grid-row:5;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}[data-row-layout="phone"] .operational-list-row>.chevron{grid-column:3;grid-row:1;align-self:center}[data-row-layout="phone"] .operational-list-row .row-date-pair{grid-template-columns:1fr}

[data-row-narrow="true"] .operational-list-row .row-timeline,[data-row-narrow="true"] .operational-list-row .row-summary,[data-row-narrow="true"] .operational-list-row .row-assignment{grid-template-columns:1fr}

/* Shared chronology keeps the whole initial photograph visible in all modules. */
.case-workspace .photo-thumb img{object-fit:contain}

/* B2 SEGNAL: compact scoped layout; shared pages remain intact. */
.segnal-flow{max-width:900px;margin-inline:auto;font-size:1rem}.segnal-flow fieldset{min-width:0;border:0;padding:0;margin:16px 0}.segnal-flow fieldset[hidden]{display:none}.segnal-heading h2{margin:.3rem 0}.segnal-current{display:block;background:#e5f3f4;border-left:4px solid #08747c;padding:12px;margin:12px 0}.segnal-flow legend{font-size:1.2rem;font-weight:700;margin-bottom:12px}.segnal-flow label{display:block;margin:14px 0}.segnal-flow input:not([type=checkbox]):not([type=file]),.segnal-flow select,.segnal-flow textarea{width:100%;min-height:46px;font-size:1rem;box-sizing:border-box}.segnal-flow textarea{min-height:80px}.segnal-flow details{border:1px solid #d8e0e5;border-radius:8px;padding:12px;margin:12px 0}.segnal-flow summary{cursor:pointer;font-weight:600;min-height:28px}.segnal-actions{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.segnal-actions button{min-height:48px;font-size:1rem}.segnal-confirm{display:flex!important;gap:10px;align-items:flex-start;padding:12px;background:#f3f6f8}.segnal-confirm input{width:22px;height:22px;flex-shrink:0}.draft-note{font-size:.9rem;color:#465464}.segnal-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:6px}.segnal-steps li{overflow-wrap:anywhere}.segnal-flow [hidden]{display:none!important}@media(max-width:600px){.segnal-flow{padding:14px}.segnal-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.segnal-actions{flex-direction:column-reverse}.segnal-actions button{width:100%}}
