.dd-decision>:not(.pd-top):not(.ac-view-switch):not(.ds-select):not(.ds-heading):not(.dd-app){display:none!important}.dd-decision>.ds-heading>button,.dd-decision label:has(>#ds-basis){display:none!important}.dd-app{background:#fff;border:1px solid #d3e1e8;border-radius:9px;margin:18px 0;padding:22px;color:#183c4e}.dd-app *{box-sizing:border-box}.dd-app h3{font-size:20px;margin:18px 0 12px}.dd-app p{line-height:1.6}.dd-app label{display:block;font-size:13px;font-weight:600;color:#294e63}.dd-app input,.dd-app select,.dd-app textarea{display:block;width:100%;margin:6px 0 12px;border:1px solid #c5d7e2;border-radius:5px;padding:10px;font:inherit;font-weight:400;background:#fff;color:#23475d}.dd-app button{font:inherit;border:1px solid #b9d0dc;border-radius:5px;background:#fff;color:#185d75;padding:9px 13px;cursor:pointer}.dd-app button:hover{background:#edf5f7}.dd-app :is(input,select,textarea,button,a):focus-visible{outline:3px solid #b47613;outline-offset:2px}.dd-badge{display:inline-block;background:#eff3f6;color:#536c79;padding:5px 9px;border-radius:4px;font-size:12px;margin-bottom:18px}.dd-filters,.dd-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dd-tabs{display:flex;gap:8px;border-bottom:1px solid #dce5eb;padding-bottom:10px;margin:12px 0 20px}.dd-tabs [aria-selected=true]{background:#1b6375;color:#fff;border-color:#1b6375}.dd-muted{color:#536e7b;font-size:13px}.dd-chart{margin:20px 0}.dd-chart figcaption{font-size:15px;font-weight:600;margin-bottom:10px}.dd-chart svg{width:100%;max-height:440px}.dd-table{overflow:auto;border:1px solid #d9e4ea;border-radius:6px}.dd-table table{border-collapse:collapse;width:100%;font-size:13px}.dd-table :is(th,td){padding:12px;border-bottom:1px solid #e0e8ed;vertical-align:top;text-align:left}.dd-table thead th{background:#f1f5f8}.dd-table th small{display:block;font-size:11px;font-weight:400;margin-top:4px}.dd-table td{font-variant-numeric:tabular-nums}.dd-table tbody tr:last-child :is(td,th){border:0}.dd-selected{background:#f1f8f6}.dd-summary{margin-top:22px;border:1px solid #ccdedf;background:#f5faf9;padding:18px;border-radius:6px}.dd-summary h3{margin-top:0}.dd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.dd-form-grid>div p{font-size:13px;margin:6px 0}.dd-details{border-top:1px solid #dce5eb;margin-top:20px;padding:15px 0 0}.dd-details summary{cursor:pointer;font-weight:600}.dd-sources{font-size:13px;padding-left:20px}.dd-sources li{margin:14px 0}.dd-sources span{display:block;color:#637b87;font-size:12px}.dd-sources p{margin:4px 0}.dd-alert{background:#fff6e7;border-left:3px solid #b98025;padding:12px;font-size:13px;line-height:1.6}.dd-message{background:#edf6f0;padding:12px;font-size:13px}.dd-actions,.dd-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.dd-footer{padding-top:15px;border-top:1px solid #dce5eb;font-size:13px}.dd-statistics{display:flex;gap:25px;flex-wrap:wrap;margin:15px 0}.dd-statistics dt{font-size:12px;color:#536c79}.dd-statistics dd{font-size:22px;font-weight:600;margin:5px 0}.dd-evidence-list{list-style:none;padding:0}.dd-evidence-list li{display:flex;justify-content:space-between;gap:20px;font-size:13px;padding:8px 0;border-bottom:1px solid #dce5eb}.dd-evidence-list strong{font-weight:500}.dd-evidence-list span{min-width:110px}.dd-map-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:14px}.dd-map-images figure{margin:0}.dd-map-images img{width:100%;height:auto}.dd-map-images figcaption{font-size:14px;font-weight:600;margin-bottom:8px}.domain-review-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.domain-review-overview strong{display:block;margin-bottom:6px}.domain-review-overview p{font-size:14px;margin:0}.domain-review-note{border-left:3px solid #5c8393;background:#f3f8fa;padding:12px 16px;font-size:14px}.domain-review-first .actions{display:flex;gap:12px;margin:15px 0}@media print{.dd-tabs,.dd-footer,.dd-orders,.dd-filters,.dd-summary button,.dd-app form{display:none!important}.dd-summary{break-inside:avoid}.dd-table{overflow:visible}}
/* published verification */
.dd-verification{display:inline-block;padding:5px 9px;margin:0 8px 14px 8px;border-radius:4px;background:#f0f2f4;color:#4b606c;font-size:12px}.dd-verification.dd-verified{background:#e5f3ec;color:#18593e}.dd-verification-name{display:inline-block;font-size:12px;color:#3b5865;margin-bottom:14px}
/* PES clarity */
.pes-overview{margin:0 0 18px}.pes-overview>p{font-size:14px;margin:8px 0}.pes-intro{padding:12px 16px;background:#f3f8f8;border:1px solid #d4e5e4;border-radius:6px;margin:10px 0 18px}.pes-intro summary{font-weight:600;cursor:pointer}.pes-intro li{margin:0}.pes-intro ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;padding-left:20px;font-size:13px}.pes-intro p{font-size:14px}.pes-task{font-size:15px}.dd-app .dd-tabs [aria-selected="true"]{background:#1b6375!important;color:white!important}
/* END PES clarity */
/* BEGIN static reference styles */
.dd-context-layout.dd-has-context{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:24px}.dd-reference-map{margin:12px 0;max-width:650px}.dd-reference-map img{display:block;max-width:100%;max-height:300px;width:auto;height:auto;border:1px solid #d3dfe4}.dd-reference-map figcaption{font-size:12px;line-height:1.6;margin-top:8px;color:#365967}
/* END static reference styles */

/* Earlier saved models retain their table and source mapping. */
.ds-dashboard:has([data-earlier-method]) .pd-card:has(>.ds-chart){display:none}
/* A decision has its own selector; retain panel navigation on the panel views. */
#shared-prototype:has([data-domain-decision]) :is(#sh-panel-nav,.side-group),#shared-prototype:has(.lus-badge) :is(#sh-panel-nav,.side-group){display:none!important}
[data-domain-decision] [role="tabpanel"] > .dd-table{max-height:32rem;overflow:auto}
[data-domain-decision] [role="tabpanel"] > .dd-table thead{position:sticky;top:0;z-index:1;background:#f2f6fa}
@media print{[data-domain-decision] [role="tabpanel"] > .dd-table{max-height:none;overflow:visible}[data-domain-decision] [role="tabpanel"] > .dd-table thead{position:static}}
[data-domain-decision] .dd-long-chart{max-height:32rem;overflow:auto}
[data-domain-decision] .dd-long-chart svg{max-height:none;display:block}
[data-domain-decision] .dd-long-chart figcaption{position:sticky;top:0;z-index:1;background:#fff;padding:5px 0}
@media print{[data-domain-decision] .dd-long-chart{max-height:none;overflow:visible}[data-domain-decision] .dd-long-chart figcaption{position:static}}

/* Case evidence and unsent draft outputs. */
.dd-case-table caption{text-align:left;font-weight:600;margin-bottom:10px}.dd-case-table th,.dd-case-table td{vertical-align:top;white-space:normal;max-width:250px}.dd-case-table small{display:block;color:#526b79;font-weight:400;margin-top:5px}.dd-task,.dd-meaning{max-width:85ch;line-height:1.65}.dd-draft{margin-top:24px;padding:20px;border:1px solid #9fbec9;border-radius:6px;background:#f5fafb}.dd-draft dl{display:grid;grid-template-columns:170px 1fr;gap:8px 16px}.dd-draft dt{font-weight:600}.dd-draft dd{margin:0;overflow-wrap:anywhere}.dd-draft h3{margin-top:0}.dd-summary li{line-height:1.6;margin-bottom:7px}


/* Readable case and comparison tables. */
.dd-value-table th,.dd-value-table td{vertical-align:top;white-space:normal;max-width:320px;overflow-wrap:anywhere;line-height:1.55}.dd-value-table small{display:block;color:#526b79;margin-top:5px}.dd-value-table caption{text-align:left;font-weight:600;margin-bottom:10px}.q29-formats:empty{display:none}

/* Saved official weather maps share one selector, independent of record filters. */
.dd-weather-maps{margin:0 0 24px;padding:18px 22px;background:white;border:1px solid #d4e2e9;border-radius:6px}.dd-weather-maps>summary{font-size:1.15rem;font-weight:600;cursor:pointer}.dd-weather-maps>label{display:block;margin-top:18px;max-width:640px}.dd-weather-map-body{display:grid;grid-template-columns:minmax(250px,1fr) minmax(260px,1fr);gap:28px;margin-top:18px;align-items:start}.dd-weather-map-body figure{margin:0;text-align:center}.dd-weather-map-body img{display:block;width:auto;height:auto;max-width:100%;max-height:570px;margin:0 auto;object-fit:contain}.dd-weather-map-body figcaption{font-size:.85rem;color:#526b79;margin-top:10px}.dd-weather-map-body h3{margin:8px 0}.dd-weather-map-body p{line-height:1.6}.dd-weather-map-body .dd-muted{font-size:.9rem}.dd-weather-map-body .dd-details{margin-top:10px}@media(max-width:900px){.dd-weather-map-body{grid-template-columns:1fr}}

.lus-decision>:not(.pd-top):not(.ac-view-switch):not(.ds-select):not(.ds-heading):not(.lus-app){display:none!important}.lus-decision>.ds-heading>button,.lus-decision label:has(>#ds-basis){display:none!important}.lus-app{background:white;border:1px solid #d3e1e8;border-radius:9px;padding:22px;margin:18px 0;color:#183c4e}.lus-app *{box-sizing:border-box}.lus-app .lus-badge{font-size:12px;color:#536c79;background:#eff3f6;display:inline-block;padding:5px 9px;border-radius:4px;margin-bottom:18px}.lus-filters{display:grid;grid-template-columns:1.3fr .8fr .8fr 1.4fr;gap:14px}.lus-filters label,.lus-input label{font-size:13px;color:#294e63;font-weight:600}.lus-filters select,.lus-input input:not([type=checkbox]),.lus-input select{display:block;width:100%;font:inherit;font-weight:400;background:#fff;color:#23475d;border:1px solid #c5d7e2;border-radius:5px;padding:10px;margin-top:6px}.lus-app button{font:inherit;color:#185d75;background:#fff;border:1px solid #b9d0dc;border-radius:5px;padding:9px 13px;cursor:pointer}.lus-app button:hover{background:#edf5f7}.lus-app button:focus-visible,.lus-app select:focus-visible,.lus-app input:focus-visible,.lus-app a:focus-visible{outline:3px solid #b47613;outline-offset:2px}.lus-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dce5eb;margin:20px 0 12px;padding-bottom:10px}.lus-tabs button[aria-selected=true]{background:#1b6375;color:#fff;border-color:#1b6375}.lus-quality{display:flex;flex-wrap:wrap;gap:7px 20px;color:#536d7a;font-size:12px;background:#f3f7f9;padding:9px 12px;border-radius:4px;margin-bottom:14px}.lus-warning{padding:10px 12px;border-left:3px solid #b28b33;background:#fbf6e9;font-size:13px;margin:12px 0}.lus-error{background:#fff0ed;color:#873c2b;border-left:3px solid #b94c36;padding:12px 15px}.lus-small{font-size:13px;color:#536e7b;line-height:1.6;margin:10px 0 16px}.lus-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.lus-chart-card{border:1px solid #dce6eb;border-radius:7px;padding:14px 13px 5px;background:#fff;min-width:0}.lus-chart-card h3{display:flex;gap:7px;align-items:baseline;font-size:14px!important;line-height:1.4;min-height:21px;margin:0 0 8px!important}.lus-chart-card h3 i{width:9px;height:9px;flex-shrink:0;border-radius:2px;display:inline-block}.lus-chart-meta{display:flex;justify-content:space-between;gap:10px;align-items:baseline;font-size:12px;color:#5b7280;flex-wrap:wrap}.lus-chart-meta strong{font-size:18px;color:#173e52}.lus-chart-card svg{width:100%;height:auto;display:block}.lus-panel h3{font-size:18px;margin:20px 0 10px}.lus-table{overflow:auto;margin:12px 0}.lus-table table{width:100%;border-collapse:collapse;font-size:13px}.lus-table th,.lus-table td{padding:11px 12px;border:1px solid #d9e4eb;text-align:right;vertical-align:top}.lus-table th:first-child,.lus-table td:first-child{text-align:left}.lus-table thead th{background:#edf3f6;text-align:right;font-size:12px}.lus-table thead th:first-child{text-align:left}.lus-table tbody th{font-weight:500}.lus-table:has(th:nth-child(4):last-child) td:nth-child(2),.lus-table:has(th:nth-child(4):last-child) td:last-child,.lus-details .lus-table td{text-align:left}.lus-map-labels{display:grid;grid-template-columns:1fr 1fr;margin:18px 0 8px;font-size:14px}.lus-map{display:block;width:100%;max-width:1100px;height:auto;border:1px solid #d7e0e4}.lus-legend{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:12px;margin:12px 0}.lus-legend span{display:flex;align-items:center;gap:6px}.lus-legend i{width:12px;height:12px;display:inline-block;border:1px solid #778675}.lus-details{border-top:1px solid #dce6eb;margin:18px 0;padding:14px 0 0;font-size:13px;line-height:1.65}.lus-details summary{cursor:pointer;font-weight:600;color:#234d63}.lus-details li{margin:6px 0}.lus-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid #d9e4ea;padding-top:16px;margin-top:20px;font-size:12px;color:#637885}.lus-footer>div{display:flex;align-items:center;gap:16px}.lus-app a{color:#11687f;text-underline-offset:3px}.lus-input-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lus-input .lus-inline{display:grid;grid-template-columns:1fr 2fr;gap:20px;align-items:center;margin:18px 0}.lus-input .lus-inline label:first-child{font-weight:400}.lus-source-hint{font-size:13px;background:#f2f6f8;padding:11px 13px;margin:15px 0}.lus-file-label{display:block;margin:18px 0}.lus-input-result{margin-top:16px;padding:14px;border:1px solid #d8e4ea;border-radius:5px;font-size:13px;background:#f3f8fa}.lus-input-result:empty{display:none}.lus-input-result ul{padding-left:20px}.lus-review-note{background:#f3f7fa;border-left:3px solid #ac914d;padding:12px 16px}.lus-review-note p{margin:6px 0}.lus-review-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.lus-review-overview>div{border:1px solid #dae4e9;padding:12px;border-radius:5px}.lus-review-overview strong{display:block;margin-bottom:6px}.lus-review-first h3{margin-top:22px}.lus-review-first .lu-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lus-review-first .lu-form-grid label{display:block}.lus-review-first .lu-extra{margin:18px 0}.lus-review-first .lu-extra summary{cursor:pointer;font-weight:600}.lus-review-first .lu-extra li{margin:8px 0}.lus-review-first .lus-table{font-size:14px}.lus-review-first img{max-width:100%;height:auto}@media(max-width:1150px){.lus-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lus-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{.lus-filters,.lus-tabs,.lus-footer,.lus-input button{display:none}.lus-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lus-app{padding:0;border:0}.lus-chart-card{break-inside:avoid}}
.lus-app .lus-tabs button[aria-selected=true]{background:#1b6375!important;color:#fff!important;border-color:#1b6375!important}
#shared-prototype:has(.lus-decision) #sh-panel-nav,#shared-prototype:has(.lus-decision) .side-group:has(+ #sh-panel-nav){display:none!important}

.lus-review-first .lus-table th,.lus-review-first .lus-table td,.lus-details .lus-table thead th{text-align:left}

.lus-order-controls,.lus-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.lus-order-controls label,.lus-summary label,.lus-snapshot label{font-size:13px;font-weight:600}.lus-order-controls select,.lus-summary select,.lus-summary input,.lus-snapshot input,.lus-snapshot select{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #c5d7e2;border-radius:5px;background:white;color:#23475d;font:inherit}.lus-summary{border:1px solid #cddfe4;border-radius:6px;padding:16px;margin-top:24px;background:#f5faf9}.lus-summary h3{margin-top:0}.lus-summary-grid{grid-template-columns:1fr 1.2fr 1fr}.lus-summary-grid p{font-size:13px;line-height:1.6;margin:8px 0}.lus-note{display:block;margin-top:12px}.lus-map-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.lus-map-pair figure{margin:0}.lus-map-pair figcaption{font-size:18px;font-weight:600;margin-bottom:10px}.lus-snapshot-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.lus-input-actions{display:flex;gap:12px;margin-top:16px}.lus-message{background:#edf6f0;padding:10px 12px;font-size:13px}.lus-transition td:first-child,.lus-transition td:nth-child(2),.lus-ranking td:nth-child(2),.lus-ranking td:nth-child(5){text-align:left}.lus-transition td:last-child{ text-align:right}.lus-summary .lus-details{margin-bottom:0}@media print{#common-top-menu,#shared-prototype .topbar,#shared-prototype aside,.lus-tabs,.lus-footer,.lus-input,.lus-snapshot,.lus-order-controls,.lus-ranking button,.lus-summary button{display:none!important}#shared-prototype .shell{display:block!important}#shared-prototype main{padding:0!important}.lus-summary,.lus-table{break-inside:avoid}.lus-summary details:not([open])>*:not(summary){display:block}.lus-summary details summary{display:none}}

.static-reference-widget{padding:20px;border:1px solid #d4e1e5;border-radius:10px;background:#fff;color:#193e4d;max-width:1100px;margin:16px 0}.static-reference-widget h2{margin:0 0 14px}.static-reference-widget label{display:block;max-width:480px;font-weight:600}.static-reference-widget select{display:block;width:100%;padding:10px;margin:6px 0 16px;border:1px solid #b8cbd4;border-radius:5px;background:#fff;color:inherit}.static-reference-widget figure{margin:0;max-width:680px}.static-reference-widget img{display:block;max-width:100%;max-height:500px;width:auto;height:auto;border:1px solid #d4e1e5}.static-reference-widget figcaption,.static-reference-note{font-size:14px;line-height:1.55;max-width:850px}.static-reference-widget figcaption{padding-top:10px}.static-reference-widget a{color:#1f687e}.static-reference-note{color:#426271}.static-reference-widget [role=status]{padding:18px;background:#f0f5f7}.static-reference-legend{display:flex;flex-wrap:wrap;gap:18px}.static-reference-legend i{display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:middle}.historical-reference-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.historical-reference-pair img{width:420px;image-rendering:pixelated;max-width:100%;height:auto}
/* Keep institutional reference images beside the evidence, at a readable size. */
.domain-review .static-reference{margin:18px 0;max-width:650px}
.domain-review .static-reference img{display:block;width:auto!important;max-width:100%;max-height:300px;height:auto;object-fit:contain}
.domain-review .static-reference figcaption{font-size:12px;line-height:1.6;margin-top:8px}

/* Scoped inside each dashboard view. Original Institution review controls remain outside. */
:host{display:block;color:#183c4e;font:14px/1.55 Arial,sans-serif}
*{box-sizing:border-box}a{color:#176d8a;text-underline-offset:3px}button,input,select,textarea{font:inherit}summary{cursor:pointer}table{border-collapse:collapse}svg{max-width:100%;height:auto}
.dd-app,.lus-app{padding:0;margin:16px 0 26px;border:0;background:white}
.dd-app>p,.lus-app>p{max-width:95ch}.dd-app .dd-footer>a[href*="review-pack-"],.lus-app .lus-footer a[href*="review-pack-"]{display:none}
.lus-app [data-lus-print]{display:none}
.dd-app .dd-reference-map img{display:block;max-width:100%;max-height:460px;width:auto;height:auto;margin:12px 0}
.dd-app .dd-reference-map{margin:18px 0}.dd-app .dd-reference-map figcaption{font-size:13px;line-height:1.65}
@media print{:host{font-size:11pt}.dd-app,.lus-app{margin:0}.dd-table,.lus-table{max-height:none!important;overflow:visible!important}.dd-weather-map-body{grid-template-columns:1fr 1fr}.dd-weather-map-body img{max-height:440px}.dd-weather-maps{break-inside:avoid}}

/* Use a vertical process track with explanations alongside each stage. */
.decision-flow {
  --df-blue: #4589ff;
  --df-line: #78a9ff;
  --df-ink: #161616;
  --df-muted: #525252;
  margin: 0 0 20px;
  border: 1px solid #d6d6d6;
  background: #fff;
  color: var(--df-ink);
  font: 14px/1.45 var(--shared-font, "Segoe UI", sans-serif);
}

.decision-flow > summary {
  padding: 10px 14px;
  background: #f4f4f4;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.df-diagram {
  max-width: 1032px;
  margin: auto;
  padding: 16px;
}

.df-start,
.df-step {
  display: grid;
  grid-template-columns: 54px minmax(142px, 29%) minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}

.df-start > .df-box {
  grid-column: 2;
  align-self: stretch;
  padding: 8px 10px;
  background: #edf5ff;
  text-align: center;
}

.df-start p {
  margin: 4px 0 0;
  font-size: 13px;
}

.df-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.df-step-number {
  color: var(--df-muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.df-track {
  position: relative;
  display: grid;
  align-items: center;
  align-self: stretch;
  padding: 16px 0;
}

.df-track::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--df-blue);
  content: "";
}

.df-step:last-child .df-track::before {
  bottom: 50%;
}

.df-box {
  margin: 0;
  border: 1px solid var(--df-line);
  border-radius: 6px;
  background: #fff;
  color: var(--df-ink);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.df-track .df-box {
  position: relative;
  padding: 8px 10px;
  text-align: center;
}

.df-track .df-box::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 0;
  height: 0;
  border-inline: 4px solid transparent;
  border-top: 6px solid var(--df-blue);
  transform: translateX(-50%);
  content: "";
}

.df-step:last-child .df-box {
  background: #edf5ff;
}

.df-notes {
  padding: 8px 0;
  overflow-wrap: anywhere;
}

.df-notes p {
  margin: 0 0 4px;
}

.df-notes ul {
  margin: 0;
  padding-left: 18px;
}

.df-notes li {
  margin: 2px 0;
}

.df-scope,
.df-branch {
  color: var(--df-muted);
  font-size: 13px;
}

.df-more {
  margin-top: 3px;
  font-size: 13px;
}

.df-more > summary {
  color: var(--shared-link, #0043ce);
  cursor: pointer;
}

@media (max-width: 720px) {
  .df-diagram { padding: 10px; }
  .df-start, .df-step { grid-template-columns: 42px minmax(0, 1fr); gap: 0 10px; }
  .df-step-number { align-self: start; padding-top: 22px; }
  .df-track { padding: 12px 0 0; }
  .df-notes { grid-column: 2; padding-bottom: 12px; }
}

@media print {
  .decision-flow { break-inside: auto; }
  .df-step { break-inside: avoid; }
  .df-diagram { padding: 8px; }
}

/* These decision views run both in the prototype and inside Institution review. */
.dd-app,
#shared-prototype .dd-app {
  font-family: var(--shared-font, "Segoe UI", sans-serif);
  color: var(--shared-ink, #161616);
  border-color: var(--shared-line, #d6d6d6);
  border-radius: 0;
}

.dd-app :is(h2, h3, label) {
  color: var(--shared-ink, #161616);
  font-weight: 600;
}

.dd-app :is(input, select, textarea),
#shared-prototype .dd-app :is(input, select, textarea) {
  border: 0;
  border-bottom: 1px solid #8d8d8d;
  border-radius: 0;
  background: var(--shared-layer, #f4f4f4);
  color: var(--shared-ink, #161616);
}

.dd-app :is(button, input, select, textarea, summary, a):focus-visible {
  outline: 2px solid var(--shared-blue, #0f62fe);
  outline-offset: 2px;
}

.dd-app .dd-tabs {
  gap: 0;
  padding-bottom: 0;
  flex-wrap: wrap;
  border-color: var(--shared-line, #d6d6d6);
}

.dd-app .dd-tabs button,
#shared-prototype .dd-app .dd-tabs button {
  min-height: 42px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--shared-muted, #525252);
  font-weight: 400;
}

.dd-app .dd-tabs button:hover,
.dd-app .dd-tabs button[aria-selected=true],
#shared-prototype .dd-app .dd-tabs button:hover,
#shared-prototype .dd-app .dd-tabs button[aria-selected=true] {
  background: var(--shared-layer, #f4f4f4);
  color: var(--shared-ink, #161616);
}

.dd-app .dd-tabs button[aria-selected=true],
#shared-prototype .dd-app .dd-tabs button[aria-selected=true] {
  border-bottom-color: var(--shared-blue, #0f62fe);
  font-weight: 600;
}

.dd-app .dd-table {
  border-color: var(--shared-line, #d6d6d6);
  border-radius: 0;
}

.dd-app .dd-table thead th {
  background: #e8e8e8;
  color: var(--shared-ink, #161616);
  font-weight: 600;
}

.dd-app .dd-table tbody tr:hover,
.dd-app .dd-table .dd-selected {
  background: var(--shared-selected, #e8f1ff);
}

.dd-app .dd-summary {
  background: var(--shared-layer, #f4f4f4);
  border-color: var(--shared-line, #d6d6d6);
  border-left: 3px solid var(--shared-blue, #0f62fe);
  border-radius: 0;
}

.dd-app .dd-chart svg text {
  font-family: var(--shared-font, "Segoe UI", sans-serif);
}
