/* The plots use the same open surface, type and fine rules as Vienna’s market atlas. */
.brief-structure .sf-figure {
  --sf-rule: color-mix(in srgb, var(--slate) 24%, transparent);
  --sf-grid: color-mix(in srgb, var(--slate) 15%, transparent);
  margin: 0; padding: clamp(1rem, 2vw, 1.6rem) 0; border-block: 1px solid var(--sf-rule);
  background: transparent; color: var(--slate); container-type: inline-size;
}
.brief-structure .sf-figure figcaption {
  margin: 0; padding: 0; border: 0; color: inherit; text-wrap: pretty;
  font: 400 clamp(1.17rem, 1.5vw, 1.55rem)/1.35 var(--serif); letter-spacing: -.025em;
}
.brief-structure .sf-legend {
  display: flex; flex-wrap: wrap; gap: .32rem 1.2rem; padding: 0;
  margin: .9rem 0 1.35rem; list-style: none;
  font: 500 .77rem/1.4 var(--sans);
}
.sf-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.sf-key { display: inline-block; width: 1.2rem; height: .46rem; }
.sf-key.sf-fixed { border: 1px solid var(--slate); }
.sf-key.sf-variable { background: var(--sage); }
.sf-key.sf-managed { background: var(--slate); }
/* The open chart header and scenario switch follow the Vienna market atlas. */
.brief-structure .sf-annual { --sf-axis: 1.55rem; --sf-stage-height: clamp(10.5rem, 19vw, 16rem); min-width: 0; }
.brief-structure .sf-annual figcaption h3 {
  margin: 0; max-width: 30ch; color: var(--slate);
  font: 400 clamp(1.4rem, 2.32vw, 2.26rem)/1.16 var(--serif);
  letter-spacing: -.045em; text-wrap: balance;
}
.brief-structure .sf-annual figcaption p, .brief-structure .sf-annual .sf-annual-meta p {
  margin: .46rem 0 0; font: 400 .84rem/1.45 var(--sans); letter-spacing: 0; color: var(--slate);
}
.brief-structure .sf-annual-controls {
  display: inline-flex; max-width: 100%; box-sizing: border-box; align-items: stretch; gap: 2px;
  margin: 1.25rem 0 .3rem; padding: 3px; border: 1px solid var(--sf-rule); border-radius: 999px;
}
.sf-annual-controls[hidden] { display: none !important; }
.sf-annual-controls button {
  appearance: none; border: 0; border-radius: 999px; color: var(--slate); background: transparent;
  min-height: 2.7rem; padding: .38rem clamp(.45rem, 1.5cqw, 1rem);
  cursor: pointer; font: 500 clamp(.75rem, 2.1cqw, .88rem)/1.2 var(--sans);
}
.sf-annual-controls button:hover { background: color-mix(in srgb, var(--sage) 24%, transparent); }
.sf-annual-controls button[aria-pressed=true] { background: var(--slate); color: white; }
.sf-annual-controls button:focus-visible, .sf-annual-data summary:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.brief-structure .sf-scenario-name { margin: .75rem 0 1.2rem; font: 500 .88rem/1.35 var(--sans); }
.sf-annual[data-ready] .sf-scenario-name { position: absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }
.sf-column-plot { position: relative; margin: clamp(2rem, 4vw, 3.6rem) 0 0; }
.sf-column-axis { position: absolute; top: 0; left: var(--sf-axis); right: 0; height: var(--sf-stage-height); pointer-events: none; }
.sf-column-axis span {
  position: absolute; inset-inline: 0; bottom: var(--position); height: 1px;
  background: var(--sf-grid);
}
.sf-column-axis span:first-child { background: color-mix(in srgb, var(--slate) 52%, transparent); }
.sf-column-axis b {
  position: absolute; inset-inline-end: calc(100% + .5rem); top: 50%; transform: translateY(-50%);
  font: 450 .78rem/1 var(--sans); font-variant-numeric: tabular-nums;
}
.brief-structure .sf-columns { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0 0 0 var(--sf-axis); }
.sf-column { display: grid; min-width: 0; grid-template-rows: var(--sf-stage-height) auto; text-align: center; }
.brief-structure .sf-column dt {
  grid-row: 2; padding: .7rem .18rem 0; color: var(--slate); text-wrap: balance;
  font: 500 clamp(.76rem, 2.2cqw, 1.02rem)/1.32 var(--sans); overflow-wrap: break-word; hyphens: auto;
}
.brief-structure .sf-column dd { position: relative; grid-row: 1; margin: 0; }
.sf-column-height {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: clamp(2.35rem, 11cqw, 5.8rem); max-width: 76%; height: var(--height);
}
.sf-column-height svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.sf-column.sf-fixed rect { stroke: var(--slate); stroke-width: 1.35px; fill: var(--paper); }
.sf-column.sf-variable rect { fill: var(--sage); }
.sf-column.sf-managed rect { fill: var(--slate); }
.sf-column-value {
  position: absolute; left: 50%; bottom: calc(100% + .48rem); transform: translateX(-50%);
  font: 400 clamp(1.25rem, 4.7cqw, 2.4rem)/1 var(--serif); letter-spacing: -.055em;
  font-variant-numeric: lining-nums tabular-nums; color: var(--slate); white-space: nowrap;
}
.sf-column.sf-highest .sf-column-height::after {
  content: ""; position: absolute; inset-inline: .4%; top: 0; height: 4px; background: var(--signal);
}
.sf-annual-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.2rem; margin-top: 1.4rem; }
.sf-annual-key { display: inline-flex; align-items: center; gap: .42rem; font: 500 .76rem/1.4 var(--sans); }
.sf-annual-key::before { content: ""; width: 1rem; height: 4px; background: var(--signal); }
.brief-structure .sf-annual .sf-annual-meta p { margin: 0; font-size: .76rem; }
.sf-annual-meta strong { font-weight: 600; white-space: nowrap; }
.sf-annual-data { margin-top: 1.15rem; border-block: 1px solid var(--sf-rule); }
.sf-annual-data summary { cursor: pointer; width: fit-content; max-width: 100%; padding-block: .7rem; font: 500 .86rem/1.45 var(--sans); }
.sf-annual-data table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-bottom: .65rem; color: var(--slate); }
.sf-annual-data caption { text-align: left; font: 450 .8rem/1.4 var(--sans); padding-block: .5rem; }
.sf-annual-data td, .sf-annual-data th { padding: .58rem .15rem; text-align: end; font: 400 .84rem/1.4 var(--sans); border: 0; border-top: 1px solid var(--sf-rule); hyphens:auto; overflow-wrap: anywhere; }
.sf-annual-data thead th { font-weight: 550; vertical-align: bottom; }
.sf-annual-data th:first-child { width: 33%; text-align: start; }
.sf-annual-data td { font-variant-numeric: tabular-nums; }
.sf-annual-data tfoot th, .sf-annual-data tfoot td { color: var(--slate); }
@media (prefers-reduced-motion:no-preference) {
  .sf-annual[data-ready] .sf-column-height { transition: height .45s cubic-bezier(.2,.7,.2,1); }
  .sf-annual-controls button { transition: color .2s ease, background-color .2s ease; }
}
.brief-structure .sf-note, .brief-structure .sf-source {
  margin: .8rem 0 0; font: 400 .8rem/1.55 var(--sans); color: var(--slate);
}
.brief-structure .sf-source { padding-top: .6rem; border-top: 1px solid var(--sf-rule); }
.sf-source a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
@container (max-width: 23rem) {
  .sf-annual-meta { display: grid; }
  .sf-annual-data td, .sf-annual-data th { font-size: .76rem; }
}
@media print {
  .sf-annual-controls, .sf-annual-data > summary { display: none !important; }
  .sf-annual-data::details-content { display: contents; }
}

/* A continuous operating scenario and the one-off rent relief case are deliberately separate. */
.brief-structure .sf-model {
  margin-top: clamp(3rem, 6vw, 6.5rem); padding: clamp(1.5rem,4vw,3.5rem) 0 0;
  background: transparent; border-top: 1px solid var(--slate); color: var(--slate);
}
.brief-structure .sf-model .structure-range [data-model-percent] { color: var(--slate); }
.sf-model .structure-range input { accent-color: var(--slate); height: 2.75rem; }
.sf-model .structure-range input::-webkit-slider-thumb { cursor: grab; }
.sf-model .sf-result-unit {
  font: 500 .79rem/1.4 var(--sans); margin: 0 0 1rem; letter-spacing: .02em;
}
.sf-model .structure-track { background: color-mix(in srgb, var(--sage) 22%, transparent); height: .48rem; }
.sf-model .structure-bar .structure-fill { background: transparent; border: 1px solid var(--slate); box-sizing: border-box; }
.sf-model .structure-bar:nth-child(2) .structure-fill { background: var(--sage); border-color: var(--sage); }
.sf-model .structure-bar:nth-child(3) .structure-fill { background: var(--slate); border-color: var(--slate); }
.sf-model .structure-bar dt, .sf-model .structure-amount { color: var(--slate); }
.sf-model .structure-gop { border-left: 2px dashed var(--slate); box-shadow: -1px 0 0 var(--paper); }
.brief-structure .sf-model .structure-legend { color: var(--slate); font-size: .82rem; }
.sf-model .structure-presets { gap: .2rem .9rem; }
.sf-model .structure-presets button {
  position: relative; border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  background: transparent; padding: .35rem 0; min-height: 44px; color: var(--slate); font-size: .85rem;
}
.sf-model .structure-presets button[aria-pressed=true] { background: transparent; color: var(--ink); border-color: var(--signal); }
.sf-model .structure-presets button:hover, .sf-model .structure-presets button:focus-visible { border-color: var(--signal); }
.sf-model .structure-assumptions, .sf-model .structure-model-curves, .sf-model #structure-result { border-color: var(--fine-rule); }
.brief-structure .sf-model .structure-model-curves .sf-figure { padding: .9rem 0 1.4rem; background: transparent; color: var(--slate); border: 0; }
.sf-curves .sf-key { position: relative; height: 3px; }
.sf-curves .sf-key.sf-fixed { border: 0; border-top: 2px dashed var(--slate); }
.sf-curves .sf-key.sf-variable { background: none; border-top: 3px dotted var(--slate); }
.sf-line-plot { display: grid; grid-template-columns: 1.35rem minmax(0,1fr); margin: 1.4rem .9rem .1rem 0; }
.sf-y-labels { position: relative; grid-column: 1; }
.sf-y-labels span, .sf-x-labels span { position: absolute; font: 400 .73rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.sf-y-labels span { top: var(--at); transform: translateY(-50%); }
.sf-lines {
  position: relative; height: clamp(10rem, 23vw, 16rem); border-block-end: 1px solid var(--sf-grid);
  background: repeating-linear-gradient(to bottom, var(--sf-grid) 0 1px, transparent 1px 20%);
}
.sf-lines svg { display: block; width: 100%; height: 100%; overflow: visible; }
.sf-line { fill: none; stroke: var(--slate); vector-effect: non-scaling-stroke; stroke-width: 2.5px; }
.sf-line.sf-fixed { stroke-dasharray: 7 4; stroke-width: 1.6px; }
.sf-line.sf-variable { stroke-dasharray: 1 5; stroke-linecap: round; stroke-width: 2.8px; }
.sf-probe { position: absolute; height: 100%; top: 0; border-inline-start: 1px solid var(--slate); }
.sf-point { position: absolute; left: 0; top: var(--at); transform: translate(-50%, -50%); height: .57rem; width: .57rem; border-radius: 50%; background: var(--signal); border: 1px solid var(--slate); }
.sf-x-labels { position: relative; grid-column: 2; height: 1.5rem; }
.sf-x-labels span { top: .5rem; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.sf-x-labels small { font-size: inherit; }
.sf-x-labels span:first-child { transform: none; }
.sf-x-labels span:last-child { transform: translateX(-100%); }
.brief-structure .sf-axis-caption { text-align: center; font: 400 .82rem/1.4 var(--sans); }
.sf-data { margin-top: 1rem; }
.sf-data summary { cursor: pointer; font: 500 .85rem/1.35 var(--sans); padding: .7rem 0; }
.sf-data table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sf-data th, .sf-data td { text-align: end; font: 400 .82rem/1.4 var(--sans); padding: .55rem .15rem; border-bottom: 1px solid var(--sf-grid); overflow-wrap: anywhere; hyphens: auto; }
.sf-data th:first-child { text-align: start; }
.sf-data th[scope=col] { font-weight: 550; }
