.sg-workshop{--sg-ink:#1e2529;--sg-grey:#52616a;--sg-border:#cbd3d7;--sg-light:#eef0f1;--sg-yellow:#f2dd1e;color:var(--sg-ink);font:15px Arial,sans-serif;max-width:1800px;margin:auto}.sg-workshop *{box-sizing:border-box}.sg-workshop button,.sg-workshop input,.sg-workshop select,.sg-workshop textarea{font:inherit}.sg-workshop button{cursor:pointer;border:1px solid var(--sg-border);border-radius:5px;min-height:44px;padding:10px 14px;background:white;color:var(--sg-ink)}.sg-workshop button:disabled{cursor:default;opacity:.55}.sg-workshop button:focus-visible,.sg-workshop input:focus-visible,.sg-workshop select:focus-visible,.sg-workshop textarea:focus-visible{outline:3px solid #0877b1;outline-offset:2px}.sg-heading{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:25px 28px;background:var(--sg-ink);color:white;border-bottom:5px solid var(--sg-yellow);border-radius:8px 8px 0 0}.sg-eyebrow{font-size:11px;letter-spacing:1.1px;font-weight:bold}.sg-heading h1{font-size:29px;line-height:1.2;margin:7px 0 10px}.sg-heading p{color:#d6dee2;line-height:1.5;margin:0}.sg-save-state{padding:9px 12px;max-width:260px;font-size:12px;line-height:1.4;background:#ffffff1c;border-radius:4px;flex-shrink:0}.sg-save-state[data-state=saved]{background:#def0e5;color:#15583a}.sg-save-state[data-state=error]{background:#ffe1e1;color:#8c1428}.sg-save-state[data-state=pending]{background:#fff0b9;color:#614800}.sg-stage-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.sg-stage-bar button{border-top:5px solid var(--sg-phase);text-align:left;padding:13px 15px}.sg-stage-bar span,.sg-stage-bar strong,.sg-stage-bar small{display:block}.sg-stage-bar span{font-size:12px;font-weight:bold;color:var(--sg-grey)}.sg-stage-bar strong{font-size:17px;margin:6px 0;line-height:1.2}.sg-stage-bar small{font-size:11px;color:var(--sg-grey)}.sg-stage-bar button[aria-pressed=true]{outline:2px solid var(--sg-ink);outline-offset:-2px;background:#fffdf0}.sg-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.sg-stat{border:1px solid var(--sg-border);border-left:5px solid #82939c;background:white;padding:12px 16px;border-radius:5px}.sg-stat b{font-size:27px;line-height:1;display:block}.sg-stat span{display:block;font-size:12px;margin-top:6px;color:var(--sg-grey)}.sg-stat.protect{border-left-color:#19704a}.sg-stat.open{border-left-color:#c59b00}.sg-stat.neutral{border-left-color:#73869a}.sg-critical{display:flex;justify-content:space-between;gap:18px;background:#fff0eb;border:1px solid #e0a08f;border-left:6px solid #ac3b2c;padding:15px 18px;border-radius:5px;margin:14px 0}.sg-critical b{font-size:16px}.sg-critical p{line-height:1.5;margin:6px 0 0;font-size:12px}.sg-critical>div:last-child{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.sg-critical button{font-size:12px;border-color:#dfaa9c;min-height:38px}.sg-viewbar{display:flex;align-items:stretch;justify-content:space-between;gap:14px;margin:16px 0}.sg-modes{display:flex;gap:8px;flex:1}.sg-modes button{text-align:left;flex:1;padding:12px 14px}.sg-modes b,.sg-modes small{display:block}.sg-modes b{font-size:15px}.sg-modes small{font-size:11px;line-height:1.4;color:var(--sg-grey);margin-top:5px}.sg-modes button[aria-pressed=true]{border:2px solid var(--sg-ink);background:#fffce1;box-shadow:inset 5px 0 var(--sg-yellow)}.sg-add{font-weight:bold;max-width:200px;background:var(--sg-yellow)!important;border-color:#d6c400!important}.sg-main{display:grid;grid-template-columns:270px minmax(320px,1fr) minmax(360px,420px);gap:14px;align-items:start}.sg-object-panel,.sg-map-panel,.sg-editor-panel{min-width:0;border:1px solid var(--sg-border);background:white;border-radius:6px;overflow:hidden}.sg-object-panel{position:sticky;top:12px}.sg-object-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px;border-bottom:3px solid var(--sg-yellow)}.sg-object-heading h2{font-size:17px;margin:0}.sg-object-heading span{font-size:11px;color:var(--sg-grey)}.sg-search-label{display:block;padding:12px}.sg-search-label>span{display:block;font-size:11px;font-weight:bold;margin-bottom:6px}.sg-search-label input{width:100%;min-width:0;padding:10px;border:1px solid var(--sg-border);border-radius:4px}.sg-object-list{max-height:730px;overflow:auto;scrollbar-gutter:stable;padding:0 8px 8px}.sg-object{width:100%;display:block;text-align:left!important;margin:0 0 8px;border-left:5px solid #85939a!important;padding:12px!important}.sg-object.protect{border-left-color:#19704a!important}.sg-object.open{border-left-color:#d0a500!important}.sg-object.risk{border-left-color:#b13c2b!important}.sg-object[aria-pressed=true]{outline:2px solid var(--sg-ink);outline-offset:-2px;background:#fffdf1}.sg-object-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.sg-object-top>b{font-size:11px;letter-spacing:.5px;color:var(--sg-grey)}.sg-rank-small{font-size:10px;font-weight:bold;padding:4px 6px;border-radius:3px;background:#eef1f2;white-space:nowrap}.sg-object>strong{display:block;font-size:14px;line-height:1.3;margin:8px 0 5px}.sg-object-location{display:block;font-size:11px;color:var(--sg-grey);line-height:1.45}.sg-object-state{display:block;font-size:11px;font-weight:bold;margin-top:9px;line-height:1.4}.sg-object>small{display:block;font-size:10px;color:var(--sg-grey);line-height:1.5;margin-top:4px}.sg-map-panel{position:sticky;top:12px}.sg-map-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid var(--sg-border);font-size:12px;font-weight:bold;line-height:1.5}.sg-map-kind{font-size:10px;color:var(--sg-grey);white-space:nowrap;border:1px solid var(--sg-border);padding:4px 7px}.sg-map{width:100%;height:560px;position:relative;background:#e2e8e6;isolation:isolate}.sg-map-empty{padding:70px 20px;text-align:center;color:var(--sg-grey)}.sg-map-legend{display:flex;gap:11px;flex-wrap:wrap;padding:12px 13px;font-size:10px;line-height:1.4;border-top:1px solid var(--sg-border)}.sg-map-legend span{display:flex;align-items:center;gap:5px}.sg-dot{width:9px;height:9px;display:inline-block;border-radius:50%;border:1px solid #0003;flex:0 0 9px}.sg-dot-protect{background:#19704a}.sg-dot-open{background:#d7ad00}.sg-dot-rest{background:#64748b}.sg-dot-risk{background:#b13c2b}.sg-map-foot{font-size:10px;line-height:1.5;color:var(--sg-grey);margin:0;padding:0 13px 12px}.sg-editor-heading{padding:17px 18px;background:var(--sg-ink);color:white;display:flex;justify-content:space-between;align-items:start;gap:10px}.sg-editor-heading .sg-eyebrow{color:#d3dce1;font-size:9px}.sg-editor-heading h2{font-size:21px;line-height:1.2;margin:7px 0}.sg-editor-heading p{font-size:11px;line-height:1.5;margin:0;color:#d0dbe1}.sg-approval{font-size:10px;line-height:1.4;font-weight:bold;padding:6px 8px;background:#fff0bb;color:#604800;border-radius:3px;max-width:116px;flex-shrink:0}.sg-approval.plenum{background:#d9eee1;color:#17543b}.sg-approval.field{background:#d5eaf6;color:#164f6f}.sg-active-phase{border-left:6px solid var(--sg-phase);background:#edf0f2;padding:12px 15px}.sg-active-phase b,.sg-active-phase span{display:block}.sg-active-phase b{font-size:12px}.sg-active-phase span{font-size:10px;color:var(--sg-grey);line-height:1.5;margin-top:4px}.sg-editor-body{padding:16px}.sg-form-section{margin-bottom:22px;padding-bottom:20px;border-bottom:1px solid var(--sg-border)}.sg-form-section h3{font-size:17px;line-height:1.35;margin:0 0 10px}.sg-help{font-size:11px;color:var(--sg-grey);line-height:1.6;margin:6px 0 12px}.sg-importance{display:grid;grid-template-columns:1fr 1fr;gap:7px}.sg-importance button{display:flex;align-items:center;gap:8px;text-align:left;min-height:58px;padding:9px!important}.sg-importance button>b{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;background:#eef0f1;font-size:14px;border-radius:4px}.sg-importance button>span{font-size:11px;line-height:1.4;font-weight:bold}.sg-importance button[aria-pressed=true]{background:#fffbe0;border:2px solid var(--sg-ink)}.sg-importance button[aria-pressed=true]>b{background:var(--sg-yellow)}.sg-check{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.4}.sg-check input{width:18px;height:18px;margin:0;flex-shrink:0;accent-color:var(--sg-ink)}.sg-check small{display:block;color:var(--sg-grey);font-size:10px;line-height:1.5;margin-top:5px}.sg-required-action{background:#fff1ec;border:1px solid #e6bcb0;border-radius:4px;padding:12px;margin-top:14px}.sg-risk-details{padding:13px 11px 0;border:1px solid #e6bcb0;border-top:0}.sg-risk-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.sg-risk-choices .sg-check{font-size:11px}.sg-field{display:block;margin:14px 0}.sg-field>span,.sg-field-label{display:block;font-size:12px;font-weight:bold;line-height:1.5;margin-bottom:6px}.sg-field input,.sg-field select,.sg-field textarea{display:block;width:100%;max-width:100%;min-width:0;padding:11px;border:1px solid #b4c0c7;border-radius:4px;color:var(--sg-ink);background:white;font-size:13px;line-height:1.5;min-height:44px}.sg-field textarea{resize:vertical}.sg-field small{display:block;font-size:10px;color:var(--sg-grey);line-height:1.5;margin-top:6px}.sg-field input:disabled,.sg-field select:disabled,.sg-field textarea:disabled{background:#f1f3f4;color:#52616a}.sg-capability-help{font-size:11px;padding:10px;background:#eef3f5;color:#465963;line-height:1.55;margin:8px 0}.sg-priority{border:1px solid var(--sg-border);border-radius:4px;margin:16px 0}.sg-priority>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;background:#eef1f2}.sg-priority>div>span{font-size:10px;font-weight:bold}.sg-priority>div>b{font-size:17px;white-space:nowrap}.sg-priority details{font-size:11px;padding:11px;line-height:1.6}.sg-priority summary{cursor:pointer;font-weight:bold}.sg-priority ul{padding-left:18px;margin:8px 0}.sg-priority p{color:var(--sg-grey);font-size:10px}.sg-open-checks{font-size:11px;line-height:1.6;border-left:4px solid #c5a000;background:#fff9df;padding:11px;margin:12px 0}.sg-open-checks summary{cursor:pointer;font-weight:bold}.sg-open-checks ul{padding-left:17px}.sg-ready{font-size:11px;line-height:1.5;color:#17543b;background:#e7f4ec;padding:11px;margin:12px 0}.sg-workshop .sg-primary{background:var(--sg-yellow);border-color:#d5c300;font-weight:bold;width:100%;padding:13px 10px;font-size:12px}.sg-fieldwalk{background:#f4f7f8;margin:0 -3px 15px;padding:14px;border:1px solid var(--sg-border);border-radius:4px}.sg-fieldwalk .sg-eyebrow{font-size:9px;color:var(--sg-grey)}.sg-fieldwalk h3{margin-top:7px}.sg-fieldwalk button{width:100%;font-size:12px;font-weight:bold}.sg-review-stamp{font-size:10px;line-height:1.6;margin:12px 0;color:var(--sg-grey)}.sg-review-stamp b,.sg-review-stamp span{display:block}.sg-save-button{font-size:11px!important;width:100%}.sg-editor-empty,.sg-empty{padding:24px 18px;line-height:1.6;color:var(--sg-grey);font-size:12px}.sg-editor-empty h2{font-size:20px;color:var(--sg-ink);line-height:1.3}.sg-empty>b{display:block;color:var(--sg-ink)}.sg-handover{margin:18px 0;padding:20px;background:white;border:1px solid var(--sg-border);border-top:4px solid var(--sg-yellow);border-radius:5px;display:grid;grid-template-columns:1fr auto;gap:14px}.sg-handover .sg-eyebrow{font-size:9px;color:var(--sg-grey)}.sg-handover h2{font-size:20px;margin:7px 0}.sg-handover p{font-size:12px;line-height:1.6;color:var(--sg-grey);margin:0;max-width:750px}.sg-export-actions{display:flex;gap:8px;align-items:center}.sg-export-actions button{font-size:12px}.sg-export-result{grid-column:1/-1}.sg-dialog-backdrop{position:fixed;inset:0;background:#172126b8;display:grid;place-items:center;z-index:2000;padding:16px;overflow:auto}.sg-dialog-backdrop[hidden],.sg-risk-details[hidden]{display:none}.sg-new-point{width:min(100%,500px);padding:25px;background:white;border-radius:7px;box-shadow:0 15px 60px #0004}.sg-new-point h2{font-size:25px;line-height:1.3;margin:10px 0}.sg-new-point>p{font-size:12px;line-height:1.6;color:var(--sg-grey)}.sg-new-point>small{font-size:11px;color:var(--sg-grey)}.sg-new-point>div{display:flex;gap:10px;margin-top:16px}.sg-new-point .sg-primary{width:auto;flex:1}.sg-dialog-error{color:#a4252f!important}.sg-workshop [hidden]{display:none!important}@media(max-width:1300px){.sg-main{grid-template-columns:240px minmax(300px,1fr)}.sg-editor-panel{grid-column:1/-1}.sg-editor-body{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sg-editor-body .sg-form-section{min-width:0;margin-bottom:0}.sg-editor-body .sg-review-stamp,.sg-editor-body>.sg-save-button{grid-column:1/-1}.sg-editor-heading h2{font-size:24px}.sg-map{height:570px}.sg-object-list{max-height:680px}}@media(max-width:800px){.sg-heading{padding:20px;display:block}.sg-heading h1{font-size:25px}.sg-save-state{display:block;margin-top:14px;max-width:none}.sg-stage-bar{grid-template-columns:1fr 1fr}.sg-stage-bar strong{font-size:15px}.sg-stats{grid-template-columns:1fr 1fr}.sg-stat b{font-size:25px}.sg-viewbar{display:block}.sg-modes{display:grid;grid-template-columns:1fr 1fr}.sg-modes button:first-child{grid-column:1/-1}.sg-add{width:100%;max-width:none;margin-top:10px}.sg-main{display:flex;flex-direction:column}.sg-map-panel{position:static;width:100%;order:0}.sg-object-panel{position:static;width:100%;order:1}.sg-editor-panel{width:100%;order:2}.sg-map{height:430px}.sg-object-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;max-height:340px}.sg-object{margin:0}.sg-editor-body{display:block;padding:16px}.sg-form-section{margin-bottom:22px!important}.sg-critical{display:block}.sg-critical>div:last-child{margin-top:12px}.sg-handover{display:block}.sg-export-actions{margin-top:15px;flex-wrap:wrap}.sg-handover .sg-export-result{margin-top:12px}.sg-map-heading{font-size:11px}.sg-editor-heading{display:block}.sg-approval{display:inline-block;max-width:none;margin-top:12px}}@media(max-width:480px){.sg-heading h1{font-size:23px}.sg-heading{padding:18px 15px}.sg-heading p{font-size:12px}.sg-stage-bar button{padding:11px}.sg-stage-bar{gap:8px}.sg-stage-bar strong{font-size:14px}.sg-stat{padding:11px 12px}.sg-object-list{grid-template-columns:1fr;max-height:300px}.sg-map{height:390px}.sg-map-kind{display:none}.sg-modes b{font-size:13px}.sg-modes small{font-size:10px}.sg-importance{gap:6px}.sg-new-point{padding:20px}.sg-new-point h2{font-size:22px}.sg-priority>div{padding:10px}.sg-priority>div>b{font-size:16px}.sg-export-actions button{width:100%}.sg-editor-heading h2{font-size:23px}}@media(prefers-reduced-motion:reduce){.sg-workshop *{scroll-behavior:auto!important}}

.sg-handover-status{grid-column:1/-1;background:#fff8d4;border-left:4px solid #d3ac00;padding:10px 12px!important;width:100%;max-width:none!important}
@media(min-width:801px){.sg-handover .sg-export-actions{grid-column:2;grid-row:1}}
/* All four capability assessments stay visible for fast object-by-object review. */
.sg-feasibility-section{grid-column:1/-1}.sg-feasibility-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;align-items:start}.sg-feasibility-card{min-width:0;border:1px solid var(--sg-border);border-top:5px solid var(--sg-phase);border-radius:5px;background:#fafbfb;padding:12px}.sg-feasibility-card>header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:12px}.sg-feasibility-card header b,.sg-feasibility-card header span{display:block}.sg-feasibility-card header b{font-size:14px;line-height:1.4}.sg-feasibility-card header span{font-size:11px;color:var(--sg-grey);line-height:1.5;margin-top:3px}.sg-feasibility-card header small{font-size:9px;line-height:1.5;max-width:105px;color:var(--sg-grey);text-align:right}.sg-feasibility-card .sg-field{margin:10px 0}.sg-feasibility-card .sg-field select,.sg-feasibility-card .sg-field textarea{font-size:12px;padding:10px;min-width:0}.sg-feasibility-card .sg-capability-help{margin:8px 0 10px;padding:8px;font-size:10px}.sg-feasibility-notes{border-top:1px solid var(--sg-border);padding-top:10px;margin-top:10px}.sg-feasibility-notes>summary{cursor:pointer;font-size:11px;font-weight:bold;line-height:1.5}.sg-feasibility-notes[open]>summary{margin-bottom:10px}@media(max-width:600px){.sg-feasibility-grid{grid-template-columns:1fr}.sg-feasibility-card{padding:12px}.sg-feasibility-card>header{margin-bottom:9px}}
/* When the editor moves below map/list, they must not cover the assessment on scroll. */
@media(max-width:1300px){.sg-main>.sg-map-panel,.sg-main>.sg-object-panel{position:static}}
/* Planning map first, view controls at the right; no duplicate object list. */
.sg-main{grid-template-columns:minmax(0,1fr) 300px}.sg-main>.sg-map-panel{grid-column:1;grid-row:1;position:static}.sg-main>.sg-controls-panel{grid-column:2;grid-row:1}.sg-main>.sg-editor-panel{grid-column:1/-1;grid-row:2}.sg-controls-panel{min-width:0;border:1px solid var(--sg-border);background:white;border-radius:6px;overflow:hidden}.sg-controls-heading{padding:15px;border-bottom:3px solid var(--sg-yellow)}.sg-controls-heading h2{font-size:17px;margin:0 0 6px}.sg-controls-heading span{font-size:11px;color:var(--sg-grey)}.sg-map-controls{padding:0 12px 12px;max-height:630px;overflow:auto}.sg-control-group{border-top:1px solid var(--sg-border);padding:12px 0}.sg-control-group summary{font-size:12px;font-weight:bold;cursor:pointer;line-height:1.5;margin-bottom:8px}.sg-layer-row{display:flex;align-items:flex-start;gap:8px;padding:8px 0;font-size:11px;line-height:1.5;cursor:pointer}.sg-layer-row input{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;flex:0 0 18px;accent-color:#1e2529}.sg-layer-row span{min-width:0;overflow-wrap:anywhere}.sg-layer-row small{display:block;color:var(--sg-grey);font-size:9px;line-height:1.5;margin-top:3px}.sg-layer-help{font-size:10px;color:var(--sg-grey);line-height:1.5}.sg-layer-actions{display:flex;gap:6px}.sg-layer-actions button{font-size:10px;min-height:36px;padding:6px 9px}.sg-photo-panel{padding:16px;border-bottom:1px solid var(--sg-border)}.sg-photo-panel h3{font-size:15px;margin:0 0 10px}.sg-photo-panel p{font-size:12px;color:var(--sg-grey);line-height:1.5}.sg-photo-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.sg-photo-item{display:flex;flex-direction:column;gap:7px;padding:7px!important;text-align:left;min-width:0}.sg-photo-item img{display:block;width:100%;height:120px;object-fit:cover;border-radius:3px}.sg-photo-item>span{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.sg-photo-unavailable{display:grid;place-items:center;min-height:100px;background:#eef0f1;padding:10px;color:var(--sg-grey)}.sg-main .sg-editor-body{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sg-main .sg-editor-body .sg-form-section{min-width:0}.sg-main .sg-editor-body>.sg-review-stamp,.sg-main .sg-editor-body>.sg-save-button{grid-column:1/-1}.sg-modes{flex-wrap:wrap}.sg-modes button{flex:1 1 200px}@media(max-width:800px){.sg-main{display:flex;flex-direction:column}.sg-main>.sg-map-panel{width:100%;order:0}.sg-main>.sg-controls-panel{width:100%;order:1}.sg-main>.sg-editor-panel{width:100%;order:2}.sg-map-controls{max-height:410px}.sg-main .sg-editor-body{display:block}.sg-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-modes button{min-width:0}.sg-modes button:first-child{grid-column:auto}.sg-photo-item img{height:100px}}

/* v135: more map space, one decision pass and shared stage-measure assignments. */
.sg-controls-toggle{font-size:11px!important;padding:8px 11px!important;min-height:40px;white-space:normal;max-width:230px;text-align:right;flex:0 1 auto}
.sg-main.sg-controls-collapsed{grid-template-columns:minmax(0,1fr)}
.sg-main.sg-controls-collapsed>.sg-map-panel{grid-column:1/-1}
.sg-decision-section,.sg-measures-section{grid-column:1/-1}
.sg-decision-grid,.sg-measure-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px;align-items:start}
.sg-decision-card,.sg-measure-stage{min-width:0;background:#fafbfb;border:1px solid var(--sg-border);border-top:5px solid var(--sg-phase);border-radius:5px;padding:12px}
.sg-decision-card>header,.sg-measure-stage>header{margin-bottom:12px}
.sg-decision-card>header b,.sg-decision-card>header span,.sg-measure-stage>header b,.sg-measure-stage>header span{display:block}
.sg-decision-card>header b,.sg-measure-stage>header b{font-size:14px}
.sg-decision-card>header span,.sg-measure-stage>header span{font-size:11px;margin-top:4px;color:var(--sg-grey)}
.sg-decision-card .sg-field{margin:10px 0}
.sg-decision-card .sg-field select,.sg-decision-card .sg-field textarea{font-size:12px;padding:10px}
.sg-decision-card summary,.sg-measure-stage summary{cursor:pointer;font-size:12px;font-weight:bold;line-height:1.5}
.sg-decision-card>small{display:block;color:var(--sg-grey);font-size:10px;margin-top:12px}
.sg-decision-section>.sg-primary{margin-top:14px}
.sg-measure-card{background:white;border:1px solid var(--sg-border);border-radius:4px;padding:11px;margin-bottom:10px;min-width:0;overflow-wrap:anywhere}
.sg-measure-card>b{display:block;font-size:13px;line-height:1.5}
.sg-measure-card>small{display:block;font-size:10px;color:var(--sg-grey);margin:5px 0 9px}
.sg-measure-card [data-sg-inherited-from]{color:#17657a}
.sg-measure-card p{font-size:12px;line-height:1.6;margin:10px 0}
.sg-measure-card p strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px}
.sg-measure-card button,.sg-document-button{font-size:11px!important;min-height:40px;padding:8px!important;width:100%}
.sg-measure-options{margin-top:10px;max-height:340px;overflow:auto;border-top:1px solid var(--sg-border);padding-top:8px}
.sg-measure-options .sg-check{margin:0;padding:8px 0;gap:8px;font-size:12px;align-items:flex-start}
.sg-measure-options .sg-check input{flex:0 0 18px;min-width:18px}
.sg-measure-options .sg-check span{min-width:0;overflow-wrap:anywhere}
.sg-measure-options .sg-check small{display:block;font-size:10px;color:#17657a;margin-top:4px}
.sg-measure-empty{font-size:12px;color:var(--sg-grey);padding:10px;background:white;border:1px dashed var(--sg-border)}
.sg-measure-warning{padding:8px;background:#fff4ce;color:#765615}
.sg-document-button{margin-top:12px!important}
@media(max-width:600px){.sg-decision-grid,.sg-measure-grid{grid-template-columns:minmax(0,1fr)}.sg-controls-toggle{font-size:10px!important;max-width:155px}.sg-map-heading{gap:10px;align-items:center}.sg-map-heading>span{min-width:0}.sg-decision-card,.sg-measure-stage{padding:12px}}
/* Plenum completion and actionable validation, scoped to this workspace. */
.sg-finalize{margin-top:20px;padding-top:18px;border-top:3px solid var(--sg-yellow)}
.sg-finalize>[data-sg-approve]{display:block;width:100%;min-height:52px;font-weight:bold;margin-top:14px}
.sg-workshop .sg-issues-summary{display:block;width:100%;text-align:left;font-weight:bold;background:#fff8dc;border:0;border-left:4px solid #c8a300;border-radius:0;padding:14px}
.sg-issues-summary small{display:block;font-size:12px;font-weight:normal;margin-top:7px;line-height:1.5}
.sg-open-checks li button{display:block;width:100%;text-align:left;white-space:normal;line-height:1.5;background:#fffdf3;border:1px solid #e5d590;margin:7px 0}
.sg-workshop .sg-issue-highlight{outline:3px solid #b07b00;outline-offset:4px;background:#fff8dc;scroll-margin-top:110px;scroll-margin-bottom:24px}
.sg-issue-message{border-left:4px solid #b07b00;padding:9px 12px;margin:10px 0 14px;font-weight:bold;font-size:12px;line-height:1.5;color:#634200;background:#fff8dc}
.sg-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.sg-measure-card-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}
.sg-measure-card-heading>b{min-width:0;overflow-wrap:anywhere}
.sg-workshop .sg-measure-card-heading .sg-measure-remove{width:auto;flex:0 0 auto;font-size:11px!important;min-height:38px;border-color:#c9a5a5;color:#8a2830;background:#fff9f9;padding:7px 10px!important}
.sg-workshop .sg-measure-add{width:100%;font-weight:bold;min-height:44px;margin:10px 0;background:#fffce3;border:1px solid #d1bd30}
.sg-measure-stage details[data-sg-measure-picker]>summary{font-size:12px;line-height:1.5}
@media(max-width:600px){.sg-measure-card-heading{flex-wrap:wrap}.sg-workshop .sg-measure-card-heading .sg-measure-remove{margin-left:auto}.sg-open-checks li button{padding:10px}.sg-finalize>[data-sg-approve]{padding:14px;font-size:13px}}
/* Sammelupgrade: Bearbeitungsphasen sind von Einsatzstufen getrennt. */
.sg-workflow-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 8px}
.sg-workflow-nav button{display:grid;grid-template-columns:30px minmax(0,1fr);gap:5px 10px;align-items:center;min-height:82px;text-align:left;background:#fff;border:1px solid var(--sg-border);padding:12px!important}
.sg-workflow-nav button>span{grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;background:#edf0f2;border-radius:50%;font-weight:850}
.sg-workflow-nav button>b{font-size:16px;line-height:1.3}
.sg-workflow-nav button>small{font-size:11px;color:var(--sg-grey);line-height:1.4}
.sg-workflow-nav button[aria-pressed=true]{background:#fffbd9;border:2px solid var(--sg-ink)}
.sg-workflow-nav button[aria-pressed=true]>span{background:var(--sg-yellow)}
.sg-workflow-description{padding:11px 14px;border-left:4px solid var(--sg-yellow);background:#fff;font-size:12px;line-height:1.6;color:var(--sg-grey);margin:0 0 12px}
.sg-review-timeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--sg-border);list-style:none;padding:1px;margin:0;border-bottom:1px solid var(--sg-border)}
.sg-review-timeline li{min-width:0;display:grid;gap:5px;padding:12px;background:#f3f5f6;line-height:1.45}
.sg-review-timeline li>b{font-size:12px}.sg-review-timeline li>span{font-size:11px;font-weight:700}.sg-review-timeline li>small{font-size:10px;color:var(--sg-grey);overflow-wrap:anywhere}
.sg-review-timeline li.confirmed{background:#e5f3eb;color:#15583b}.sg-review-timeline li.stale{background:#fff4d4;color:#745400}.sg-review-timeline li.blocked{color:#5d6870}
.sg-fieldnotes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sg-stage-blocked{padding:9px;border-left:3px solid #a2adb3;background:#edf0f2;font-size:11px;line-height:1.5;color:#53616b}
.sg-approval.confirmed{background:#d9eee1;color:#17543b}.sg-approval.stale{background:#fff2c3;color:#745400}.sg-approval.blocked{background:#e9edf0;color:#53616b}
.sg-workshop .sg-modes button{min-height:64px}.sg-workshop :is(button,select,summary):focus-visible{outline:3px solid #146c9a;outline-offset:3px}
@media(max-width:800px){.sg-workflow-nav{gap:7px}.sg-workflow-nav button{grid-template-columns:24px minmax(0,1fr);gap:5px 7px;padding:10px!important}.sg-workflow-nav button>span{width:24px;height:24px}.sg-workflow-nav button>b{font-size:13px}.sg-workflow-nav button>small{font-size:10px}.sg-modes{grid-template-columns:minmax(0,1fr)}.sg-review-timeline li{padding:10px}.sg-review-timeline li>b{font-size:11px}.sg-fieldnotes-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){.sg-workflow-nav{grid-template-columns:minmax(0,1fr)}.sg-workflow-nav button{min-height:56px}.sg-workflow-nav button>b{font-size:15px}.sg-workflow-nav button>small{font-size:11px}.sg-review-timeline{grid-template-columns:minmax(0,1fr)}.sg-review-timeline li{grid-template-columns:100px minmax(0,1fr);gap:3px 8px}.sg-review-timeline li>small{grid-column:2}.sg-workshop .sg-modes{grid-template-columns:minmax(0,1fr)}}
