.iesdesk-scene-board {
  display: grid;
  gap: var(--space-sm);
  width: 100%;
  min-width: 0;
}
/* Room layouts are not scenes: kit tabs under the scene row. */
.iesdesk-scene-layouts { margin-block-start: var(--space-xs); }
.iesdesk-scene-board .iesdesk-scene-selector { margin-bottom: 0; }
/* The picture row scrolls inside its box on a phone; the board never widens the page. */
.iesdesk-scene-board > * { min-width: 0; }
/* Settings are a strip above the result, so the canvases take the full
   width (MEMORY 2026-10-16 app-pages-layout): fields of 160-220px side by
   side, label above, wrapping to a new row, with Update preview at the end.
   The field hints stay for screen readers only; the pending note shows. */
.iesdesk-scene__workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); align-items: start; }
/* The entry form uses the same strip as the result settings, with its hints shown (UI audit P1-01). */
.iesdesk-scene__settings { padding-bottom: var(--space-lg); border-bottom: 1px solid var(--rule); }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-md) var(--space-lg); margin: 0; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > * { flex-basis: 100%; margin: 0; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]) { flex: 1 1 180px; min-width: 160px; max-width: 220px; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > button[type=submit] { flex: 0 0 auto; }
/* Give unit choices enough room for their full text and the select arrow. */
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field:has(> select[name="unit"]) { flex-basis: 280px; max-width: 400px; }
/* On the entry form, the heading and the scene text take a whole row and
   keep the app measure; fields line up at the top, as their hints differ. */
.iesdesk-scene-entry form.agustos-fieldset { align-items: flex-start; }
.iesdesk-scene-entry form.agustos-fieldset > :not(.agustos-field, button, input[type=hidden]) {
  flex: 0 0 100%; max-width: none; padding-inline-end: max(0px, calc(100% - var(--app-measure, 860px)));
}
.iesdesk-scene-entry form > button[type=submit] { align-self: flex-end; }
.iesdesk-scene__settings .agustos-field > .agustos-hint {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.iesdesk-scene__settings summary { min-height: var(--control-min); margin: 0 0 var(--space-md); cursor: pointer; }
.iesdesk-scene__result { min-width: 0; }
.iesdesk-scene__viewer { margin-top: var(--space-lg); }
.iesdesk-scene__handoff { margin-top: var(--space-xl); }
/* The scale row has no rule of its own: the rule of Notes below closes the
   scene, and two rules drew an empty band (QA 2026-11-19). */
.iesdesk-scene__display { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-sm) 0; }
.iesdesk-scene__display p { margin: 0; flex: 1; }
.iesdesk-scene__figures { padding-top: var(--space-xl); }
/* A Room with several products (MEMORY 2026-11-21 multi-product-scenes): the count and the colour of a product under its name, and the bar of its share. */
.iesdesk-scene__share-detail { display: block; margin: 0; }
.iesdesk-scene__share-bar { display: block; inline-size: 100%; min-inline-size: 5rem; accent-color: var(--ink); }
.iesdesk-scene-product { margin: 0; padding: 0; border: 0; }
/* Its name starts on the edge of the rows, as the group names do (QA 2026-11-26). */
.iesdesk-scene-product > legend { padding-inline: 0; }
/* The rows of a product sit as the rows of layer 2: no margin of their own (Product Owner, 2026-11-26: one look for every setting). */
.iesdesk-scene-product > .agustos-field { margin: 0; }
.iesdesk-scene-product > .agustos-field ~ .agustos-field { margin-top: var(--space-xs); }
/* The key of the colour of the luminaires of each product of a Room with
   several products. These are data colours (DESIGN.md, 3D view), in the
   order of PRODUCT_COLOURS in light_view/stage.js; the ink ring keeps the
   yellow visible on the paper. */
.iesdesk-product-key { display: inline-grid; place-items: center; inline-size: 1.5em; block-size: 1.5em; margin-inline-end: var(--space-2xs); border: 1px solid var(--ink); border-radius: 50%; font-size: var(--size-footnote); font-weight: 600; line-height: 1; vertical-align: middle; color: #440154; }
/* The number on a dark key takes the lightest data colour. */
:is(.iesdesk-product-key--4, .iesdesk-product-key--5, .iesdesk-product-key--6, .iesdesk-product-key--8) { color: #fde725; }
.iesdesk-product-key--1 { background: #fde725; }
.iesdesk-product-key--2 { background: #21918c; }
.iesdesk-product-key--3 { background: #5ec962; }
.iesdesk-product-key--4 { background: #3b528b; }
.iesdesk-product-key--5 { background: #440154; }
.iesdesk-product-key--6 { background: #2c728e; }
.iesdesk-product-key--7 { background: #addc30; }
.iesdesk-product-key--8 { background: #472d7b; }
.iesdesk-product-key--9 { background: #28ae80; }
.iesdesk-product-key--10 { background: #7ad151; }
@media (max-width: 639px) {
  :is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]) { max-width: none; flex-basis: 100%; }
}

/* One scene picker on every page: picture, name, description and a
   selected mark (MEMORY 2026-10-19 one-scene-picker). All scenes sit in
   one row from 1024px, however many there are (UI audit P1-02). */
.iesdesk-scene-selector { margin-bottom: var(--space-xl); }
.iesdesk-scene-selector__heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-md); }
.iesdesk-scene-selector__heading p { margin: 0; }
.iesdesk-scene-selector__choices { display: grid; grid-template-columns: repeat(var(--scene-choice-count, 7), minmax(0, 1fr)); gap: var(--space-xs); margin: var(--space-sm) 0; }
.iesdesk-scene-selector__choice { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--space-2xs); min-width: 0; padding: var(--space-xs) var(--space-xs) var(--space-sm); text-align: left; white-space: normal; line-height: var(--leading-body); }
/* Two class levels more than the kit, so a disabled selected button keeps its look on hover. */
.iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice:is([aria-pressed="true"], [aria-current="page"]) { border-color: var(--ink); background: var(--surface); color: var(--ink); opacity: 1; }
.iesdesk-scene-selector__choice svg { display: block; width: 100%; max-height: 5rem; height: auto; margin-bottom: var(--space-2xs); pointer-events: none; border-radius: var(--radius-md); background: var(--surface); }
.iesdesk-scene-selector__choice:is([aria-pressed="true"], [aria-current="page"]) svg { background: var(--paper); }
.iesdesk-scene-selector__label { overflow-wrap: anywhere; }
.iesdesk-scene-selector__detail { margin: 0; font-weight: 400; color: var(--ink-soft); }
.iesdesk-scene-selector__mark { margin: 0; margin-top: auto; }
.iesdesk-scene__settings, .iesdesk-scene__side, .iesdesk-scene__result { min-width: 0; }
@media (max-width: 1023px) {
  .iesdesk-scene-selector__choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* On a phone the scenes scroll sideways in one row, so the upload box and
   the settings stay near the top (UI audit P2-02). */
@media (max-width: 639px) {
  .iesdesk-scene-selector__choices {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(8.5rem, 40%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding-block-end: var(--space-2xs);
  }
  .iesdesk-scene-selector__choice { scroll-snap-align: start; }
}

.iesdesk-scene-file-notes { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); }

/* Native page links keep both View sections available. */
.iesdesk-view-links { padding-block: var(--space-sm); border-bottom: 1px solid var(--rule); }
.iesdesk-view-section { scroll-margin-top: calc(var(--control-min) + var(--space-2xl)); }
/* The tool strip of View (MEMORY 2026-11-10 tool-strip) stays under the
   sticky top menu while the page scrolls, so a section that a link opens
   starts below the menu and the strip. */
.iesdesk-tool-strip { position: sticky; top: var(--site-header-height); z-index: 3; background: var(--paper); }
.iesdesk-view-page:has(.iesdesk-tool-strip) .iesdesk-view-section { scroll-margin-top: calc(2 * var(--control-min) + var(--space-2xl)); }
/* Compare keeps its strip under the top menu too; each section that a link opens starts below both. */
.iesdesk-compare-sheet > .iesdesk-tool-strip { padding-block: var(--space-xs); border-bottom: 1px solid var(--rule); }
.iesdesk-compare-sheet:has(> .iesdesk-tool-strip) [id] { scroll-margin-top: calc(2 * var(--control-min) + var(--space-2xl)); }
/* The BUG, ULOR and UGR section: one half for each use, and in the outdoor half the
   BUG rating beside the ULOR from 1024px. */
.iesdesk-glare__half { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-md); }
.iesdesk-glare__half + .iesdesk-glare__half { border-top: 1px solid var(--rule); }
.iesdesk-glare__results { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
@media (min-width: 1024px) {
  .iesdesk-glare__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.iesdesk-scene__notes { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--rule); }
.iesdesk-scene__notes summary { cursor: pointer; min-height: var(--control-min); }
.iesdesk-scene__notes > p { max-width: var(--app-measure, 860px); }

/* The wide workspace (MEMORY 2026-11-10 wide-workspace, Package B of the
   usability review). The View, Compare and Lighting Scenes results take up
   to 1760px of content, and the top menu bar follows them. From 1280px the
   scene is two columns: the scene choices and the settings on the left, the
   scene on the right, as wide as the window allows and as high as the window
   lets the figure row and the scene share the first screen. Below 1280px the
   page keeps one column. */
.iesdesk-workspace,
.site-frame.iesdesk-frame--workspace { max-width: calc(1760px + 2 * 32px); }
/* The workspace opens with the compact page head (trail and file name in one
   row), so it starts close under the top menu as a page with a trail does. */
.container.iesdesk-workspace { padding-block-start: var(--space-md); }
.iesdesk-workspace > .iesdesk-page-head { margin-block-end: var(--space-xl); }

/* The figures of a scene in one row: the heading, then each figure as label
   and value, then the area hints in small type under the row. */
.iesdesk-scene__figure-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.iesdesk-scene__figure-row[hidden] { display: none; }
/* Compare: one box of figures above the scene of each file. The file name
   heads the box, so the figure heading is for screen readers only, and the
   area hints, the same for every file, show under the first box only. */
.iesdesk-scene__figure-columns > .iesdesk-compare-view__column { display: grid; gap: var(--space-xs); align-content: start; padding: var(--space-md) var(--space-lg); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.iesdesk-scene__figure-columns .iesdesk-scene__figures > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.iesdesk-scene__figure-columns .agustos-notice { padding: var(--space-xs) var(--space-sm); font-size: var(--size-footnote); }
.iesdesk-scene__figure-columns .agustos-notice p { margin: 0; font-size: inherit; line-height: var(--leading-body); }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card) { display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-md); padding: 0; border: 0; background: none; box-shadow: none; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card) > :is(p, .agustos-hint) { order: 2; margin: 0; font-size: var(--size-footnote); }
/* The tread table of Stairs takes its own line under the figures and the hints. */
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card) > :is(.iesdesk-tread-table, .iesdesk-tread-details) { order: 3; flex-basis: 100%; }
.iesdesk-tread-details > summary { cursor: pointer; padding-block: var(--space-sm); font-size: var(--size-footnote); font-weight: 600; }
/* A line break: the hints flow in one paragraph under the figures. */
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card)::after { content: ""; flex-basis: 100%; order: 1; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card) > :is(h2, h3) { margin: 0; }
/* A card with sub-headings (Corridor: End areas) keeps each hint under its
   heading: one item to a line. A card whose groups are a heading and its
   figures (Wall: Luminaire, Wall, Floor) puts each group on one line, its
   name before its figures. */
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card):has(> h3)::after { display: none; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card):has(> h3) > :is(h3, p, .agustos-hint) { flex-basis: 100%; order: 0; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card):has(> h3 + table) { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: var(--space-2xs) var(--space-lg); }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card):has(> h3 + table) > :not(h3, h3 + table) { grid-column: 1 / -1; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table { width: auto; max-inline-size: none; margin: 0; }
/* A table with columns (the end areas of Corridor) scrolls inside the row on a phone, so the page never scrolls sideways. */
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card) > * { min-width: 0; max-width: 100%; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:has(thead) { display: block; overflow-x: auto; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) tbody { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-xl); }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) tr { display: flex; align-items: baseline; gap: var(--space-xs); border: 0; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) :is(th, td) { padding: 0; border: 0; white-space: normal; }
:is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) td { font-size: var(--size-deck); }

@media (min-width: 1280px) {
  .iesdesk-workspace .iesdesk-scene__workspace:not(.iesdesk-scene__workspace--column) {
    grid-template-columns: clamp(20rem, 21vw, 24rem) minmax(0, 1fr);
    gap: var(--space-3xl) var(--space-5xl);
  }
  .iesdesk-workspace .iesdesk-scene__side { display: grid; gap: var(--space-3xl); align-content: start; }
  .iesdesk-workspace .iesdesk-scene__side > .iesdesk-scene-selector { margin: 0; }
  .iesdesk-workspace .iesdesk-scene__result { display: grid; gap: var(--space-xl); align-content: start; }
  .iesdesk-workspace .iesdesk-scene__result .iesdesk-scene__viewer { margin-top: var(--space-md); }
  .iesdesk-workspace .iesdesk-scene__result > :is(h2, p) { margin: 0; }

  /* The choices: three small cards in a row, picture and name. */
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene-selector__choices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin-top: var(--space-md); }
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene-selector__choice { padding: var(--space-2xs) var(--space-2xs) var(--space-xs); font-size: var(--size-footnote); }
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene-selector__choice svg { max-height: 3rem; }
  .iesdesk-workspace .iesdesk-scene__side :is(.iesdesk-scene-selector__detail, .iesdesk-scene-selector__mark) {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }

  /* The settings: two number fields in a row, as wide as the column. */
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene__settings { padding: 0; border: 0; }
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene__settings summary { margin-bottom: var(--space-lg); }
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene__settings :is(form, div):has(> .agustos-field) { gap: var(--space-lg); }
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene__settings :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]) { flex: 1 1 calc(50% - var(--space-lg)); min-width: 0; max-width: none; }
  /* A choice list takes the whole row, so its longest choice ("Metres and lux",
     "Feet and foot-candles") is never cut short. */
  .iesdesk-workspace .iesdesk-scene__side .iesdesk-scene__settings :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]):has(> select) { flex-basis: 100%; }

  /* The scene grows with the window: about 520px high on a 1080px screen. */
  .iesdesk-workspace .iesdesk-scene__result .iesdesk-light-view__stage { height: clamp(28rem, calc(100vh - 35rem), 58rem); }
  .iesdesk-workspace .iesdesk-scene__result .iesdesk-light-view__stage--compare { height: clamp(24rem, calc(100vh - 38rem), 48rem); }

  /* Below the scene: the light distribution, then the Summary, and the four
     diagrams in one row. */
  .iesdesk-workspace .iesdesk-view-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-3xl) var(--space-5xl);
    align-items: start;
  }
  .iesdesk-workspace .iesdesk-view-page > * { grid-column: 1 / -1; }
  /* The file facts and the page links share one row. */
  .iesdesk-workspace .iesdesk-view-page > .iesdesk-scene-file-notes { grid-column: 1; align-self: center; }
  .iesdesk-workspace .iesdesk-view-page > .iesdesk-view-links { grid-column: 2; grid-row: 1; justify-self: end; border: 0; padding: 0; }
  /* The tool strip spans the page under the file facts, so it covers the
     whole width while it stays under the top menu (MEMORY 2026-11-10 tool-strip). */
  .iesdesk-workspace .iesdesk-view-page > .iesdesk-tool-strip { grid-column: 1 / -1; grid-row: auto; justify-self: stretch; padding-block: var(--space-sm); border-bottom: 1px solid var(--rule); }
  .iesdesk-workspace .iesdesk-view-page > .iesdesk-scene-file-notes:has(~ .iesdesk-tool-strip) { grid-column: 1 / -1; }
  .iesdesk-workspace .iesdesk-view-page > [data-controller="view-preview"] { display: contents; }
  .iesdesk-workspace .iesdesk-view-page > [data-controller="view-preview"] > * { grid-column: 1 / -1; }
  /* The light distribution and the Summary follow one another at full
     width, as the scene does (Product Owner, 2026-11-19, MEMORY 2026-11-19
     scene-layout-b). */
  /* Two diagrams to a row: four in a row drew each one at 330 px on a
     1440 px screen, with 7 px text (View and Compare consistency, 2026-11-20). */
  .iesdesk-workspace .iesdesk-view-page .iesdesk-diagrams__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The view buttons (finding 6 of the review): a choice of two is one
   segmented control with the pressed half outlined; Top view and Reset view
   are small outlined buttons, not red links. */
.iesdesk-light-view__controls { align-items: center; }
.iesdesk-light-view__group[role="group"]:not([aria-label="Lines"]) { gap: 2px; padding: 2px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--surface); }
.iesdesk-light-view__controls .iesdesk-light-view__group .agustos-button--quiet { min-height: calc(var(--control-min) - 6px); padding-inline: var(--space-sm); border-radius: calc(var(--radius-md) - 2px); text-decoration: none; color: var(--ink-soft); }
.iesdesk-light-view__controls .iesdesk-light-view__group[role="group"] .agustos-button--quiet[aria-pressed="true"] { border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
/* Shape, Isolux lines and Grid switch on and off one by one: check boxes.
   Top view and Reset view are outlined buttons. */
.iesdesk-light-view__controls .iesdesk-light-view__group[aria-label="Lines"] { align-items: center; gap: var(--space-2xs) var(--space-md); }
.iesdesk-light-view__controls .iesdesk-light-view__group:not([role="group"]) .agustos-button--quiet { border: 1px solid var(--rule); background: var(--paper); color: var(--ink); }
.iesdesk-light-view__controls .iesdesk-light-view__group .agustos-button--quiet:hover { color: var(--ink); }

/* --- The result page of Lighting Scenes in one column (MEMORY 2026-11-19
   scene-layout-b): the top bar (compact scene picker, Standard, Unit), the
   settings row, the figures, the scene, the say line and the notes, at
   every width. */
.iesdesk-scene__workspace--column { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
.iesdesk-scene__topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-xl); }
.iesdesk-scene__topbar > .iesdesk-scene-picker { min-width: 0; }
.iesdesk-scene__choices { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.iesdesk-scene__choices .agustos-hint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.iesdesk-scene__workspace--column > .iesdesk-scene__settings { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md) var(--space-2xl); padding: var(--space-md) 0; border-block: 1px solid var(--rule); }
.iesdesk-scene__workspace--column > .iesdesk-scene__settings > form.agustos-fieldset { flex: 1 1 32rem; min-width: 0; }
/* View and Compare keep their settings in a details box: one block, its
   fields in the strip of the settings row. */
.iesdesk-scene__workspace--column > details.iesdesk-scene__settings { display: block; }
.iesdesk-scene__workspace--column > details.iesdesk-scene__settings > summary { margin-bottom: var(--space-sm); }
/* Lighting Scenes keeps its settings row in a details that folds on a phone
   (scene_fold_controller.js). Wider, the summary hides, the box stays open
   and its body is the row of before. */
.iesdesk-scene__settings--fold > .iesdesk-scene__settings-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-md) var(--space-2xl); }
.iesdesk-scene__settings--fold > .iesdesk-scene__settings-body > form.agustos-fieldset { flex: 1 1 32rem; min-width: 0; }
@media (min-width: 640px) {
  .iesdesk-scene__workspace--column > details.iesdesk-scene__settings--fold > summary { display: none; }
}
@media (max-width: 639px) {
  .iesdesk-scene__workspace--column > details.iesdesk-scene__settings:not([open]) > summary { margin-bottom: 0; }
}
.iesdesk-scene__workspace--column .iesdesk-scene__result { display: grid; gap: var(--space-md); align-content: start; }
.iesdesk-scene__workspace--column .iesdesk-scene__result > :is(h2, p) { margin: 0; }
.iesdesk-scene__workspace--column .iesdesk-scene__viewer { margin-top: var(--space-sm); }
/* The scene takes the full width and most of the window height. */
.iesdesk-scene .iesdesk-scene__workspace--column .iesdesk-light-view__stage { height: clamp(26rem, calc(100vh - 22rem), 58rem); }
.iesdesk-scene__manual { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.iesdesk-scene__manual[hidden] { display: none; }
.iesdesk-scene__manual > p { margin: 0; }

/* The say line: one bar with the last changed setting and its hint. */
.iesdesk-scene__say { margin: 0; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-size: var(--size-footnote); }
.iesdesk-scene__say strong { margin-inline-end: var(--space-xs); }

/* The compact scene picker: one row of buttons, a small line icon and the name. */
.iesdesk-scene-selector--compact { margin: 0; }
.iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices {
  display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 3px; overflow: visible;
  border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--paper);
}
.iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact {
  flex-direction: row; align-items: center; gap: var(--space-xs);
  min-height: calc(var(--control-min) - 8px); padding: 0 var(--space-sm) 0 var(--space-xs);
  border: 0; border-radius: calc(var(--radius-md) - 2px); background: none; color: var(--ink);
  font: inherit; font-size: var(--size-footnote); line-height: 1; white-space: nowrap; cursor: pointer;
}
.iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact:hover { background: var(--surface); }
.iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact[aria-pressed="true"] { background: var(--ink); color: var(--paper); opacity: 1; cursor: default; }
.iesdesk-scene-selector .iesdesk-scene-selector__choice--compact svg.iesdesk-scene-icon { width: 40px; height: 27px; max-height: none; margin: 0; flex: none; border-radius: 0; background: none; color: var(--ink-soft); }
.iesdesk-scene-selector .iesdesk-scene-selector__choice--compact[aria-pressed="true"] svg.iesdesk-scene-icon { color: var(--paper); background: none; }

/* A segmented row of radios: the frame of the kit control, the checked
   choice in ink. The radio stays in the page for the keyboard and screen
   readers. */
.iesdesk-segmented { min-width: 0; margin: 0; padding: 0; border: 0; }
.iesdesk-segmented__legend { padding: 0; margin: 0 0 var(--space-2xs); color: var(--ink-soft); font-weight: 400; }
.iesdesk-segmented__options { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--paper); }
.iesdesk-segmented__option {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: calc(var(--control-min) - 8px); padding: 0 var(--space-sm);
  border: 0; border-radius: calc(var(--radius-md) - 2px); background: none; color: var(--ink);
  font: inherit; font-size: var(--size-footnote); line-height: 1; white-space: nowrap; cursor: pointer;
}
.iesdesk-segmented__option:hover { background: var(--surface); }
.iesdesk-segmented__input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.iesdesk-segmented__option:has(> .iesdesk-segmented__input:checked),
.iesdesk-segmented__option[aria-pressed="true"] { background: var(--ink); color: var(--paper); opacity: 1; cursor: default; }
.iesdesk-segmented__option:has(> .iesdesk-segmented__input:focus-visible),
.iesdesk-segmented__option:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
/* Standard and Unit in the top bar: the name before the choices, in one line. */
.iesdesk-segmented--compact { display: flex; flex-direction: row; align-items: center; gap: var(--space-xs); margin: 0; }
.iesdesk-segmented--compact > .iesdesk-segmented__legend { margin: 0; font-size: var(--size-footnote); }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-segmented { flex: 0 1 auto; max-width: none; }
.iesdesk-segmented--layout { display: grid; gap: 0; margin: 0; }

/* A number setting: the label and the value on one line, the slider, the limits. */
.iesdesk-slider-field { display: grid; gap: 0; }
/* The emergency output shows only while Check emergency lighting is on (QA 2026-11-21). */
.iesdesk-emergency, .iesdesk-emergency__output { display: contents; }
.iesdesk-emergency:not(:has(input[type="checkbox"]:checked)) .iesdesk-emergency__output { display: none; }
.iesdesk-slider-field__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xs); }
.iesdesk-slider-field__label { margin: 0; color: var(--ink-soft); font-weight: 400; }
.iesdesk-slider-field__value { display: inline-flex; align-items: baseline; gap: var(--space-2xs); color: var(--ink); font-weight: 600; }
/* A degree sign touches its number (unit beside the value, 2026-11-26). */
.iesdesk-slider-field__unit--tight { margin-inline-start: calc(-1 * var(--space-2xs)); }
.iesdesk-slider-field__input {
  min-height: var(--control-min); width: auto; min-width: 2ch; padding: 0; border: 0; border-bottom: 1px solid transparent; border-radius: 0;
  background: none; color: var(--ink); font: inherit; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; cursor: text;
}
.iesdesk-slider-field__input:hover { border-bottom-color: var(--rule); }
.iesdesk-slider-field__input:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-bottom-color: var(--ink); }
.iesdesk-slider-field__limits { display: flex; justify-content: space-between; margin: 0; color: var(--ink-soft); font-size: var(--size-footnote); }
.iesdesk-slider-field__limits[hidden] { display: none; }
/* The kit has no slider: a native range in a composed class (pending a kit
   slider). The track is the hairline, the filled part and the thumb are ink. */
.iesdesk-slider { display: block; width: 100%; height: calc(var(--control-min) / 2); margin: 0; background: none; cursor: pointer; appearance: none; -webkit-appearance: none; }
.iesdesk-slider[hidden] { display: none; }
.iesdesk-slider::-webkit-slider-runnable-track { height: 4px; border-radius: var(--radius-md); background: linear-gradient(90deg, var(--ink) var(--iesdesk-slider-fill, 0%), var(--rule) var(--iesdesk-slider-fill, 0%)); }
.iesdesk-slider::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: var(--radius-md); background: var(--ink); appearance: none; -webkit-appearance: none; }
.iesdesk-slider::-moz-range-track { height: 4px; border-radius: var(--radius-md); background: var(--rule); }
.iesdesk-slider::-moz-range-progress { height: 4px; border-radius: var(--radius-md); background: var(--ink); }
.iesdesk-slider::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: var(--radius-md); background: var(--ink); }
.iesdesk-slider:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-slider-field { flex: 1 1 11rem; min-width: 10rem; max-width: 15rem; }
/* The three reflectances of a Room as one group, side by side, with one
   hint under them (MEMORY 2026-11-20 room-interreflections). */
.iesdesk-reflectances { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-sm); min-width: 0; margin: 0; padding: 0; border: 0; }
.iesdesk-reflectances__legend { padding: 0; margin: 0 0 var(--space-2xs); }
.iesdesk-reflectances > .agustos-hint { grid-column: 1 / -1; }
/* One wall of its own (MEMORY 2026-11-26 one-wall-reflectance): under the three surfaces, the full width. */
.iesdesk-one-wall { grid-column: 1 / -1; display: grid; gap: var(--space-2xs); min-width: 0; }
.iesdesk-one-wall .agustos-hint, .iesdesk-one-wall__choices-title { margin: 0; }
.iesdesk-one-wall__choices { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
/* On a phone the three sliders stack: side by side their names ran into
   their values and the Floor slider ran out of the page (QA 2026-11-24). */
@media (max-width: 639px) {
  .iesdesk-reflectances { grid-template-columns: minmax(0, 1fr); }
}
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-reflectances { flex: 1 1 30rem; min-width: 0; max-width: 45rem; }
/* In a row of settings a long name ("Maintenance factor") wraps to two lines;
   every head of the row takes two lines, so the sliders stay on one line
   (QA 2026-11-19). */
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-slider-field > .iesdesk-slider-field__head { min-height: max(var(--control-min), 2lh); }
@media (max-width: 639px) {
  :is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-slider-field { max-width: none; flex-basis: 100%; }
  :is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-slider-field > .iesdesk-slider-field__head { min-height: var(--control-min); }
  .iesdesk-scene__topbar { align-items: flex-start; }
}

/* Quality check, 2026-11-19. A choice list (the car park class) keeps its
   whole text; the Corridor line of luminaires and end gaps follows the
   fields instead of splitting their row; on a phone the Wall figures take
   one column; on the dark theme the stage groups keep a hairline edge. */
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]):has(> select) { flex: 1 1 22rem; max-width: 32rem; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > [data-lighting-scene-target="layoutSummary"] { order: 1; }
:is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .iesdesk-scene__manual { order: 2; }
@media (max-width: 639px) {
  :is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) :is(.iesdesk-scene__figures, .agustos-card):has(> h3 + table) { grid-template-columns: minmax(0, 1fr); }
  :is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) tr { flex-wrap: wrap; }
  :is(.iesdesk-scene__figure-row, .iesdesk-scene__figure-columns) .iesdesk-figures-table:not(:has(thead)) td { text-align: left; }
}

/* The full-screen scene (Product Owner, 2026-11-20, MEMORY 2026-11-20
   fullscreen-scene; mockup fullscreen-scenes-mockup/son-hal-*.png). From
   1280px the scene fills the window under the page head, and the scene
   strip, the settings and the figures float on it. Since 2026-11-21 (MEMORY
   2026-11-21 scene-layout-right-settings) the scene strip sits at the top
   right in two rows, the settings under it, and the figures fold to their
   name at the top left, under the camera bar. The display group of the
   stage bar sits at the foot in the middle, and the hint at the foot on the
   left (MEMORY 2026-11-20 stage-bar-icons). Every other part of the result (the notes, the hints,
   the say line) follows under the scene, in the order of the page. The
   markup keeps its order, so a phone and a page with no script read as
   before; only the grid places the parts. */
@media (min-width: 1280px) {
  .iesdesk-scene__workspace--full {
    --scene-frame: clamp(36rem, calc(100dvh - 10rem), 64rem);
    --scene-panel: 23rem;
    /* The two rows of the scene strip: an icon, a name and the padding. */
    --scene-strip: 7rem;
    grid-template-rows: var(--scene-frame);
    gap: var(--space-md);
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__result,
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section { display: contents; }
  .iesdesk-scene__workspace--full > :is(.iesdesk-scene__topbar, .iesdesk-scene__settings),
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > .iesdesk-scene__figure-row,
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section > :is(.iesdesk-scene__viewer, .iesdesk-light-view__body) { grid-row: 1; grid-column: 1; }
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section > :is(.iesdesk-scene__viewer, .iesdesk-light-view__body) { align-self: stretch; margin: 0; min-height: 0; }
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section .iesdesk-light-view__stage { height: 100%; }
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  /* The floating parts: paper boxes on the scene. */
  .iesdesk-scene__workspace--full > :is(.iesdesk-scene__topbar, .iesdesk-scene__settings),
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > .iesdesk-scene__figure-row {
    z-index: 2; align-self: start; margin: var(--space-md);
    border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper);
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__topbar { justify-self: end; box-sizing: border-box; width: var(--scene-panel); padding: var(--space-2xs); }
  .iesdesk-scene__workspace--full > .iesdesk-scene__topbar :is(.iesdesk-scene-picker, .iesdesk-scene-selector) { flex: 1 1 auto; width: 100%; margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings,
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > .iesdesk-scene__figure-row {
    width: var(--scene-panel); overflow: auto; padding: var(--space-md) var(--space-lg);
  }
  /* The settings sit on the right under the scene strip, down to the foot of the frame. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings {
    justify-self: end; margin-top: calc(var(--space-md) + var(--scene-strip) + var(--space-xs));
    max-height: calc(var(--scene-frame) - 2 * var(--space-md) - var(--scene-strip) - var(--space-xs));
  }
  /* The figures sit on the left under the camera bar, folded to their name
     until the visitor opens them; they stop above the foot of the stage. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > .iesdesk-scene__figure-row {
    justify-self: start; display: block;
    margin: calc(var(--space-sm) + var(--control-min) + var(--space-xs)) var(--space-sm) var(--space-sm);
    max-height: calc(var(--scene-frame) - 2 * var(--space-sm) - var(--control-min) - var(--space-xs) - var(--control-min) - var(--space-md));
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > details.iesdesk-scene__figure-row:not([open]) { width: 12rem; padding: var(--space-sm) var(--space-md); }
  /* In the panel, each setting takes the whole width, one under the other. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings :is(form, div):has(> .agustos-field) { gap: var(--space-xs); }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings :is(form, div):has(> .agustos-field) > .agustos-field:not([data-controller~="file-drop"]) { flex: 1 1 100%; min-width: 0; max-width: none; }
  /* The three reflectances too: side by side they overlapped in the 20rem panel (2026-11-20). */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-reflectances { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-reflectances > * { margin: 0; }
  /* A number setting is one row: the name, a short slider and the value,
     with no line of limits, as in an image editor (Product Owner,
     2026-11-21). Its hint, if any, takes the row under it. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field {
    grid-template-columns: var(--scene-label, 7.5rem) minmax(0, 1fr) minmax(4.5rem, max-content); align-items: center; column-gap: var(--space-sm); row-gap: 0; min-height: 0;
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-slider-field > .iesdesk-slider-field__head { display: contents; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field__label { grid-row: 1; grid-column: 1; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field > .iesdesk-slider { grid-row: 1; grid-column: 2; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field__value { grid-row: 1; grid-column: 3; justify-self: end; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field__input { min-height: 0; height: 1.75rem; padding-block: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field__limits { display: none; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-slider-field > .agustos-hint { grid-column: 1 / -1; margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings :is(form, div, fieldset):has(> .iesdesk-slider-field) { gap: var(--space-2xs); }
  /* A choice reads on one row too: its name in the first column and its
     options or its list beside it; a long choice wraps under its name
     (Product Owner, 2026-11-21: the Street options read as a mixed list). */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented:not(.iesdesk-segmented--layout) {
    display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--space-sm); row-gap: var(--space-2xs);
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented:not(.iesdesk-segmented--layout) > .iesdesk-segmented__legend { float: left; flex: 0 0 var(--scene-label, 7.5rem); margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented > .iesdesk-segmented__options { flex: 1 1 0; padding: 2px; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented > :not(.iesdesk-segmented__legend, .iesdesk-segmented__options) { flex: 1 1 100%; margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented:not(.iesdesk-segmented--layout) > .iesdesk-segmented__options { display: flex; flex-wrap: nowrap; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-segmented__option { flex: 1 1 auto; min-height: 1.75rem; padding: 0 var(--space-xs); font-size: var(--size-footnote); }
  /* A choice with long names, such as the North America Traffic of a
     Tunnel, wraps each name inside its option and stays in the panel
     (QA 2026-11-24: the third option ran out of the panel). An option
     keeps the width of its longest word, so a one-word name beside two
     long names stays inside its box (QA 2026-11-25: "Inactive" of the
     Warehouse aisle ran out of its option). When the options cannot fit
     beside the name even so, they move under it, on the whole width. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented > .iesdesk-segmented__options { min-width: min-content; max-width: 100%; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-segmented__option { min-width: min-content; padding-block: 2px; white-space: normal; text-align: center; line-height: 1.2; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-select) {
    display: grid; grid-template-columns: var(--scene-label, 7.5rem) minmax(0, 1fr); align-items: center; column-gap: var(--space-sm); row-gap: var(--space-2xs);
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-select) > .agustos-label { margin: 0; color: var(--ink-soft); font-weight: 400; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-select) > :not(.agustos-label, .agustos-select) { grid-column: 1 / -1; margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field > .agustos-select { min-height: 0; height: 2rem; padding-block: 0; font-size: var(--size-footnote); }
  /* A typed number reads as a row too, as a list does (Product Owner,
     2026-11-24: one pattern for every setting): the name on the left, the
     box on the right, its hint under both. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-input) {
    display: grid; grid-template-columns: var(--scene-label, 7.5rem) minmax(0, 1fr); align-items: center; column-gap: var(--space-sm); row-gap: var(--space-2xs);
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-input) > .agustos-label { margin: 0; color: var(--ink-soft); font-size: var(--size-footnote); font-weight: 400; line-height: 1.3; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field:has(> .agustos-input) > :not(.agustos-label, .agustos-input) { grid-column: 1 / -1; margin: 0; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings div.agustos-field > .agustos-input { min-height: 0; height: 2rem; padding-block: 0; font-size: var(--size-footnote); }
  /* A box reads at the size of the other names. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field > .agustos-check { color: var(--ink-soft); font-size: var(--size-footnote); }
  /* A choice keeps each option on one line; a long choice moves whole options to the next line, never a broken word. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .agustos-field.iesdesk-segmented:not(.iesdesk-segmented--layout) > .iesdesk-segmented__options { flex: 1 1 auto; flex-wrap: wrap; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings .iesdesk-segmented__option { padding-inline: var(--space-2xs); white-space: nowrap; }
  /* In the panel, the figures read as a list: the name on the left, the value on the right. */
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row :is(.iesdesk-scene__figures, .agustos-card) { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row :is(.iesdesk-scene__figures, .agustos-card)::after { display: none; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row :is(.iesdesk-scene__figures, .agustos-card) > * { order: 0; grid-column: 1 / -1; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-figures-table:not(:has(thead)) tbody { display: grid; gap: var(--space-2xs); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-figures-table:not(:has(thead)) tr { justify-content: space-between; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-figures-table:not(:has(thead)) td { font-size: inherit; text-align: right; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row table { width: 100%; }
  /* A panel that scrolls fades at its foot, so the visitor sees there is more; the extra room at the end lets the last line clear the fade. */
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings,
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > .iesdesk-scene__figure-row {
    padding-bottom: var(--space-2xl);
    -webkit-mask-image: linear-gradient(to bottom, var(--ink) calc(100% - var(--space-xl)), transparent);
    mask-image: linear-gradient(to bottom, var(--ink) calc(100% - var(--space-xl)), transparent);
  }
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings:not([open]) { padding-bottom: var(--space-md); -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 1280px) {
  /* Wall: its stage fills the frame, and its colour choice follows under
     the scene with the other parts. */
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section > .iesdesk-light-view__body:not([hidden]) { display: contents; }
  .iesdesk-scene__workspace--full .iesdesk-scene__frame-section > .iesdesk-light-view__body > .iesdesk-light-view__stage { grid-row: 1; grid-column: 1; align-self: stretch; height: auto; min-height: 0; margin: 0; }
}

/* The Standard and the Unit in the page head (lighting_scenes/_region): the
   two usual pairs as one switch, and a settings button that opens both
   choices on their own. */
.iesdesk-page-head__controls { display: flex; align-items: center; }
.iesdesk-scene-region { position: relative; display: flex; align-items: center; gap: var(--space-xs); }
.iesdesk-scene-region__pairs { margin: 0; }
.iesdesk-scene-region__more > summary { list-style: none; }
.iesdesk-scene-region__more > summary::-webkit-details-marker { display: none; }
.iesdesk-scene-region__button { width: var(--control-min); padding: 0; }
.iesdesk-scene-region__panel {
  position: absolute; z-index: 5; top: calc(100% + var(--space-xs)); right: 0;
  display: grid; gap: var(--space-md); width: max-content; max-width: min(26rem, calc(100vw - 2 * var(--space-md)));
  padding: var(--space-md); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--ink) 8%, transparent);
}
.iesdesk-scene-region__panel .agustos-hint { margin: var(--space-2xs) 0 0; }

/* With the full-screen scene the scene strip shows each scene as an icon
   over its name, in one row; on a phone the row scrolls. */
.iesdesk-scene__workspace--full > .iesdesk-scene__topbar,
.iesdesk-scene__workspace--full .iesdesk-scene-selector.iesdesk-scene-selector--compact { min-width: 0; }
.iesdesk-scene__workspace--full .iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices { position: relative; flex-wrap: nowrap; overflow-x: auto; min-width: 0; }
.iesdesk-scene__workspace--full .iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact {
  flex: 1 0 auto; flex-direction: column; justify-content: center; gap: var(--space-2xs); padding: var(--space-xs) var(--space-sm);
}
.iesdesk-scene__workspace--full .iesdesk-scene-selector .iesdesk-scene-selector__choice--compact svg.iesdesk-scene-icon { width: 32px; height: 22px; }
@media (min-width: 1280px) {
  .iesdesk-scene__workspace--full .iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices { border: 0; padding: 0; }
  /* In the panel on the right the strip takes two rows of four. */
  .iesdesk-scene__workspace--full .iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; overflow: visible;
  }
  .iesdesk-scene__workspace--full .iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact {
    min-width: 0; padding: var(--space-2xs) 0; font-size: var(--size-footnote);
  }
  .iesdesk-scene__workspace--full .iesdesk-scene-selector .iesdesk-scene-selector__choice--compact svg.iesdesk-scene-icon { width: 30px; height: 20px; }
}
@media (max-width: 639px) {
  .iesdesk-page-head__controls { flex-basis: 100%; }
  .iesdesk-scene-region { flex: 1; }
  .iesdesk-scene-region__pairs { flex: 1; }
  .iesdesk-scene-region__pairs .iesdesk-segmented__options { display: flex; flex-wrap: nowrap; }
  .iesdesk-scene-region__pairs .iesdesk-segmented__option { flex: 1; justify-content: center; white-space: nowrap; }
}
@media (min-width: 1280px) {
  /* The settings panel shows its name, and folds to it. */
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings > summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    min-height: 0; margin: 0 0 var(--space-md); font-size: var(--size-body); font-weight: 600; list-style: none;
  }
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings > summary::-webkit-details-marker { display: none; }
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings > summary::after { content: "▾"; color: var(--ink-soft); }
  /* The name stays at the top while the settings scroll under it (quality check, 2026-11-20). */
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings[open] > summary {
    position: sticky; top: calc(-1 * var(--space-md)); z-index: 1;
    margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-lg)) var(--space-sm);
    padding: var(--space-md) var(--space-lg) var(--space-xs); background: var(--paper);
  }
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings:not([open]) > summary { margin: 0; }
  .iesdesk-scene__workspace--full > details.iesdesk-scene__settings:not([open]) > summary::after { content: "▸"; }
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings--fold > .iesdesk-scene__settings-body { display: grid; gap: var(--space-md); }
}
/* The Figures panel folds to its name only on the full-screen scene; below
   1280px the figures stay a row above the scene, with no name to click. */
.iesdesk-scene__figure-summary { display: none; }
@media (min-width: 1280px) {
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
    font-size: var(--size-body); font-weight: 600; list-style: none; cursor: pointer;
  }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-summary::-webkit-details-marker { display: none; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-summary::after { content: "▸"; color: var(--ink-soft); }
  .iesdesk-scene__workspace--full details[open] > .iesdesk-scene__figure-summary { margin-bottom: var(--space-sm); }
  .iesdesk-scene__workspace--full details[open] > .iesdesk-scene__figure-summary::after { content: "▾"; }
  /* The name of the panel is the heading, so the heading inside it stays for a screen reader only. */
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row :is(.iesdesk-scene__figures, .agustos-card) > h2 {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .iesdesk-scene__workspace--full > .iesdesk-scene__result > details.iesdesk-scene__figure-row:not([open]) {
    padding-bottom: var(--space-sm); -webkit-mask-image: none; mask-image: none;
  }
}
@media (min-width: 1280px) {
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row :is(.iesdesk-scene__figures, .agustos-card) > h2 { font-size: var(--size-body); font-weight: 600; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-scene__figures > h3 { margin-top: var(--space-xs); font-size: var(--size-footnote); font-weight: 600; color: var(--ink-soft); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-scene__figures > :is(p, .agustos-hint) { font-size: var(--size-footnote); }
  /* A warning and the answer of a layout search read at the size of the
     figures, so the lux figures of Find an even layout show without a
     scroll at 1440px (quality check, 2026-11-20). */
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row > .iesdesk-scene__warning { padding: var(--space-xs) var(--space-sm); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row > .iesdesk-scene__warning > p { margin: 0; font-size: var(--size-footnote); line-height: 1.5; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row > .iesdesk-scene__layout-result > :is(p, .agustos-hint) { margin: 0; font-size: var(--size-footnote); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-summary__list { width: 100%; min-width: 0; font-size: var(--size-footnote); }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-summary__list > div { padding-block: 0; border-bottom: 0; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-summary__list dd { font-size: inherit; }
  /* A check row (lighting class, emergency) holds a value and its limit, too
     long for one line beside its name in the panel: the name sits on top and
     the value under it, on one line (quality check, 2026-11-20). */
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-figures-table--check tr { flex-direction: column; align-items: stretch; gap: 0; }
  .iesdesk-scene__workspace--full .iesdesk-scene__figure-row .iesdesk-figures-table--check td { font-size: var(--size-body-compact); }
}
@media (min-width: 1280px) {
  /* The camera bar sits at the top left, the display group at the foot in
     the middle, and the hint at the foot on the left, small and quiet
     (Product Owner, 2026-11-21). */
  /* On View the sticky section strip stays above the scene, so the frame is 1rem shorter. */
  .iesdesk-view-preview > .iesdesk-scene__workspace--full { --scene-frame: clamp(36rem, calc(100dvh - 11rem), 64rem); }
  .iesdesk-scene__workspace--full .iesdesk-stage-bar:not([hidden]) { inset: var(--space-sm); grid-template-rows: auto 1fr auto; }
  /* The camera icons take the whole top row, so a wider display group at
     the foot never wraps them (QA 2026-11-24). */
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__camera { grid-row: 1; grid-column: 1 / -1; justify-self: start; align-self: start; }
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__start { grid-row: 3; }
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__foot {
    left: var(--space-sm); bottom: var(--space-xs);
    /* Half the display group with its Layers is about 15rem: with 12rem the
       Simplified picture badge ran under Real light at 1440px (QA 2026-11-24). */
    max-width: calc(50% - 17rem);
  }
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__hint { padding: 0; border: 0; background: none; font-size: 0.75rem; }
  .iesdesk-scene__workspace--full .iesdesk-light-view__stage:not([data-view="false-colour"]) .iesdesk-stage-bar__hint { color: color-mix(in srgb, white 60%, transparent); }
  .iesdesk-scene__workspace--full .iesdesk-light-view__stage[data-view="false-colour"] .iesdesk-stage-bar__hint { border: 0; color: var(--ink-soft); }
  /* The trackpad choice reads as the hint before it (Product Owner, 2026-11-26). */
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__choice { padding: 0; border: 0; background: none; font-size: 0.75rem; }
  .iesdesk-scene__workspace--full .iesdesk-light-view__stage:not([data-view="false-colour"]) .iesdesk-stage-bar__choice { color: color-mix(in srgb, white 60%, transparent); }
  .iesdesk-scene__workspace--full .iesdesk-light-view__stage[data-view="false-colour"] .iesdesk-stage-bar__choice { color: var(--ink-soft); }
  .iesdesk-scene__workspace--full .iesdesk-stage-bar__line > .iesdesk-light-view__panel--badge { padding: 0; border: 0; background: none; font-size: 0.75rem; opacity: 0.75; }
}
/* From 1440px the panels take a little more room. */
@media (min-width: 1440px) {
  .iesdesk-scene__workspace--full { --scene-panel: 22rem; }
}
/* The pole geometry figure of a Street (lighting_scenes/_pole_geometry). */
.iesdesk-pole-figure { margin: 0; max-width: 20rem; color: var(--ink); }
.iesdesk-pole-figure svg { display: block; width: 100%; height: auto; }
.iesdesk-pole-figure__dimension { opacity: 0.6; }

/* The entry page of Find a pole layout and Find an even layout (Emre,
   2026-11-21): the class list takes its own row, so its whole name shows,
   and the two targets sit under it with their names on one line; Calculate
   has its own row under the settings (MEMORY 2026-11-21
   scene-drop-starts-work). */
.iesdesk-scene-entry form.agustos-fieldset > .agustos-field:has(> select[name="parking_class"]) { flex: 1 1 100%; max-width: none; }
.iesdesk-scene-entry form.agustos-fieldset > .agustos-field:has(> select[name="parking_class"]) > :is(select, .agustos-hint) { max-width: 36rem; }
.iesdesk-scene-entry form.agustos-fieldset > .agustos-field:has(> input.agustos-input) { flex: 0 1 20rem; min-width: 0; max-width: 20rem; }
.iesdesk-scene-entry form.agustos-fieldset > .iesdesk-scene-entry__actions { padding-inline-end: 0; }

/* The entry page with scene cards (MEMORY 2026-11-22 scene-entry-cards):
   the drop box first, then six cards, two in a row in the page column and
   one on a phone. The name is the link of the card and covers it; the
   option links sit above that cover. */
.iesdesk-scene-cards { margin-top: var(--space-2xl); }
.iesdesk-scene-cards__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-xs); }
.iesdesk-scene-cards__title { margin: 0; }
.iesdesk-scene-cards__tag { padding: 0 var(--space-xs); border: 1px solid var(--rule); border-radius: var(--radius-md); color: var(--ink-soft); font-size: var(--size-footnote); }
.iesdesk-scene-cards__deck { max-width: 41rem; margin: var(--space-2xs) 0 var(--space-md); color: var(--ink-soft); font-size: var(--size-body-compact); }
.iesdesk-scene-cards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.iesdesk-scene-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--space-md); border: 1px solid var(--rule); border-radius: var(--radius-lg); background: var(--paper); }
.iesdesk-scene-card:hover { border-color: var(--ink-soft); }
.iesdesk-scene-card--selected { border-color: var(--ink); background: var(--surface); }
.iesdesk-scene-card__row { display: flex; gap: var(--space-md); }
.iesdesk-scene-card__pic { flex: none; display: grid; place-items: center; width: 4.5rem; height: 3.5rem; border-radius: var(--radius-md); background: var(--surface); color: var(--ink); }
.iesdesk-scene-card--selected .iesdesk-scene-card__pic { background: var(--paper); }
.iesdesk-scene-card__pic svg.iesdesk-scene-icon { width: 3.5rem; height: auto; }
.iesdesk-scene-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.iesdesk-scene-card__name { color: var(--ink); font-weight: 600; text-decoration: none; }
.iesdesk-scene-card__name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.iesdesk-scene-card__name:focus-visible { outline: none; }
.iesdesk-scene-card:has(.iesdesk-scene-card__name:focus-visible) { outline: 2px solid var(--signal); outline-offset: 2px; }
.iesdesk-scene-card__text { color: var(--ink-soft); font-size: var(--size-footnote); }
/* Two options to a row, so a card with four or five never cuts one off. */
.iesdesk-scene-card__options {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  margin-top: var(--space-sm); padding: 2px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--paper);
}
.iesdesk-scene-card__option {
  padding: var(--space-2xs); border-radius: calc(var(--radius-md) - 2px); color: var(--ink); font-size: var(--size-footnote); font-weight: 400;
  text-align: center; text-decoration: none; white-space: nowrap;
}
.iesdesk-scene-card__option:hover { background: var(--surface); }
.iesdesk-scene-card__option:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.iesdesk-scene-card__option[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 639px) {
  .iesdesk-scene-cards__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .iesdesk-scene-card { padding: var(--space-sm); }
  .iesdesk-scene-card__row { gap: var(--space-sm); }
  .iesdesk-scene-card__pic { width: 3.5rem; height: 2.75rem; }
  .iesdesk-scene-card__pic svg.iesdesk-scene-icon { width: 2.75rem; }
}

/* The scene list in the title of the settings (Product Owner, 2026-11-22,
   MEMORY 2026-11-22 scene-menu-in-settings): "Settings · Room ▾" opens the
   scenes with their small icons, in rows under the title. The full-screen
   settings then start at the top right, with no strip above them. On a
   phone the title of the settings fold already names the scene, so the
   list title reads "Scenes". */
.iesdesk-scene-menu { flex: 1 1 100%; min-width: 0; margin: 0; }
.iesdesk-scene-menu__summary { display: flex; align-items: center; gap: var(--space-xs); min-height: var(--control-min); margin: 0; cursor: pointer; list-style: none; }
.iesdesk-scene-menu__summary::-webkit-details-marker { display: none; }
.iesdesk-scene-menu__caret { color: var(--ink-soft); font-size: var(--size-footnote); transition: transform 0.15s; }
.iesdesk-scene-menu[open] .iesdesk-scene-menu__caret { transform: rotate(180deg); }
.iesdesk-scene-menu__phone { display: none; }
.iesdesk-scene-menu__list { margin: var(--space-xs) 0 var(--space-sm); }
.iesdesk-scene-menu .iesdesk-scene-picker { margin: 0; }
.iesdesk-scene .iesdesk-scene-menu .iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); grid-auto-flow: row; overflow: visible; }
.iesdesk-scene-menu .iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact { justify-content: flex-start; }
.iesdesk-scene__settings:has(.iesdesk-scene-menu) > .iesdesk-scene__settings-body { row-gap: var(--space-xs); }
/* The title of the list replaces the title of the settings fold from 640px:
   one title, which opens the scenes (the panel no longer folds to its name).
   Layer 1 is that title on a page with no scene list too, as on the Room
   with several products (Product Owner, 2026-11-26: one look for every scene). */
@media (min-width: 640px) {
  .iesdesk-scene__workspace--column > details.iesdesk-scene__settings:is(:has(.iesdesk-scene-menu), :has(.iesdesk-layer--scene)) > summary { display: none; }
}
.iesdesk-scene-menu .iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact { flex-direction: row; gap: var(--space-xs); padding: var(--space-2xs) var(--space-sm) var(--space-2xs) var(--space-2xs); }
@media (max-width: 639px) {
  .iesdesk-scene-menu__title { display: none; }
  .iesdesk-scene-menu__phone { display: inline; }
  .iesdesk-scene-menu__summary { font-size: var(--size-body); font-weight: 600; }
}
@media (min-width: 1280px) {
  .iesdesk-scene__workspace--full > .iesdesk-scene__settings:has(.iesdesk-scene-menu) {
    margin-top: var(--space-md);
    max-height: calc(var(--scene-frame) - 2 * var(--space-md));
  }
  .iesdesk-scene .iesdesk-scene__workspace--full .iesdesk-scene-menu .iesdesk-scene-selector.iesdesk-scene-selector--compact .iesdesk-scene-selector__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iesdesk-scene__workspace--full .iesdesk-scene-menu .iesdesk-scene-selector .iesdesk-scene-selector__choices > .iesdesk-scene-selector__choice--compact { flex-direction: row; justify-content: flex-start; padding: var(--space-2xs) var(--space-xs); }
  .iesdesk-scene__workspace--full .iesdesk-scene-menu__summary { justify-content: space-between; min-height: 0; font-size: var(--size-body); font-weight: 600; }
}
/* The Scene report of a result (design 2026-11-21 scene-report-design, piece 2): the project name and the button on one row where they fit. */
.iesdesk-scene__report { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--space-md); margin-top: var(--space-lg); }
.iesdesk-scene__report .agustos-field { flex: 1 1 16rem; max-width: 28rem; margin: 0; }

/* The scene screen of 2026-11-23 (Product Owner, scene screen final
   proposal): the scene on the left and the settings on the right, in three
   numbered layers: 1 Scene, 2 Settings (Space, Surfaces, Targets) and
   3 Luminaires. Each layer is a card whose title folds it. */
.iesdesk-layer { min-width: 0; padding: var(--space-sm) var(--space-md); border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--paper); }
.iesdesk-layer + .iesdesk-layer { margin-top: var(--space-sm); }
.iesdesk-layer__head { display: flex; align-items: center; gap: var(--space-xs); min-height: var(--control-min); margin: 0; font-size: var(--size-body); font-weight: 600; cursor: pointer; list-style: none; }
.iesdesk-layer__head::-webkit-details-marker { display: none; }
.iesdesk-layer__no {
  display: inline-flex; flex: none; align-items: center; justify-content: center; box-sizing: border-box;
  width: 1.5rem; height: 1.5rem; border: 1px solid var(--ink); border-radius: 50%;
  font-family: var(--body); font-size: var(--size-footnote); font-weight: 600; line-height: 1;
}
.iesdesk-layer__body { padding-top: var(--space-2xs); }
/* One space between groups: the hairline under the last row, then the
   padding. A group with no field of its own (the emergency check alone)
   kept a margin that every other group lost, so it stood apart (QA
   2026-11-26). */
.iesdesk-scene__settings .iesdesk-layer__group + .iesdesk-layer__group { margin-top: 0; padding-top: var(--space-md); border-top: 1px solid var(--rule); }
.iesdesk-layer__group > .iesdesk-layer__group-title { flex-basis: 100%; margin: 0; }
/* A part inside a group, such as the Windows of a Facade, names itself in the small type of the names. */
.iesdesk-layer__group .iesdesk-layer__subtitle { margin: var(--space-xs) 0 0; font-size: var(--size-footnote); }
/* The Surfaces group names the reflectances already; their own name stays for a screen reader only. */
.iesdesk-layer__group .iesdesk-reflectances__legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* The product row of layer 3: the selected product has a light surface and an ink edge on the left. */
.iesdesk-layer__row { margin: 0 0 var(--space-sm); padding: var(--space-xs) var(--space-sm); border-left: 3px solid var(--ink); border-radius: var(--radius-sm); background: var(--surface); font-size: var(--size-footnote); overflow-wrap: anywhere; }
.iesdesk-layer--scene .iesdesk-scene-menu { margin: 0; }
.iesdesk-scene .iesdesk-layer--scene .iesdesk-scene-menu__summary { justify-content: flex-start; min-height: var(--control-min); margin: 0; font-size: var(--size-body); font-weight: 600; }
.iesdesk-layer--scene .iesdesk-scene-menu__caret { margin-left: auto; }
.iesdesk-layer--scene > .iesdesk-scene-picker { margin-top: var(--space-xs); }
.iesdesk-layer__reset { margin-left: auto; min-height: 0; padding: var(--space-2xs) var(--space-xs); font-size: var(--size-footnote); font-weight: 400; }
/* A setting that differs from the value the scene opened with (scene_undo_controller.js). */
.iesdesk-scene__settings .agustos-field[data-scene-changed] > .agustos-label::after,
.iesdesk-scene__settings .agustos-field[data-scene-changed] > legend::after,
.iesdesk-scene__settings .agustos-field[data-scene-changed] > .iesdesk-slider-field__head > .agustos-label::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin-left: var(--space-2xs); border-radius: 50%; background: var(--ink); vertical-align: middle; }
.iesdesk-scene__workspace--layers .iesdesk-scene__settings-body { display: block; }

/* The result strip: the verdict, the average and the uniformity, and the
   Figures button. Above the scene on a narrow screen, at the top right of
   the scene from 1280px. */
.iesdesk-scene__verdict { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.iesdesk-scene__verdict-text { margin: 0; font-size: var(--size-footnote); }
.iesdesk-scene__verdict-button {
  min-height: calc(var(--control-min) - 8px); padding: 0 var(--space-sm);
  border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: var(--size-footnote); font-weight: 500; cursor: pointer;
}
.iesdesk-scene__verdict-button[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.iesdesk-scene__verdict-button:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }

@media (min-width: 1280px) {
  .iesdesk-scene__workspace--layers { --scene-panel: 25rem; --scene-label: 9rem; grid-template-columns: minmax(0, 1fr) var(--scene-panel); column-gap: var(--space-md); }
  /* Every part under the scene takes both columns; the scene, the strip and the Figures panel take the first. */
  .iesdesk-scene__workspace--layers > .iesdesk-scene__result > *,
  .iesdesk-scene__workspace--layers .iesdesk-scene__frame-section > * { grid-column: 1 / -1; }
  .iesdesk-scene__workspace--layers > .iesdesk-scene__settings {
    grid-row: 1; grid-column: 2; justify-self: stretch; align-self: stretch; box-sizing: border-box;
    width: auto; max-height: none; margin: 0; padding: 0 var(--space-2xs) var(--space-md) 0;
    border: 0; border-radius: 0; background: none; overflow: auto; overscroll-behavior: contain;
    -webkit-mask-image: none; mask-image: none;
  }
  .iesdesk-scene__workspace--layers > .iesdesk-scene__result > .iesdesk-scene__verdict {
    z-index: 2; grid-row: 1; grid-column: 1; justify-self: end; align-self: start;
    max-width: min(40rem, calc(100% - 20rem)); margin: var(--space-sm); padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-sm);
    border-radius: var(--radius-md); background: var(--paper); box-shadow: 0 2px 8px rgb(0 0 0 / 0.45);
  }
  /* The hint and the key sit at the foot on the right; the display group holds the foot on the left. */
  .iesdesk-scene__workspace--layers .iesdesk-stage-bar__foot { left: auto; right: var(--space-sm); align-items: flex-end; max-width: calc(50% - 4rem); text-align: right; }
  .iesdesk-scene__workspace--layers .iesdesk-stage-bar__line { justify-content: flex-end; }
  .iesdesk-scene__workspace--layers > .iesdesk-scene__settings:has(.iesdesk-scene-menu) { margin-top: 0; max-height: none; }
  /* The strip opens the panel, so a folded panel shows nothing of itself. */
  .iesdesk-scene__workspace--layers > .iesdesk-scene__result > details.iesdesk-scene__figure-row:not([open]) { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  /* On a narrower screen the hint keeps its first sentence only. */
  .iesdesk-scene__workspace--layers [data-lighting-scene-target="key"] { display: none; }
  /* The display group of a Room holds three toggles; the hint wraps beside it, never under it. */
  .iesdesk-scene__workspace--layers .iesdesk-light-view__stage .iesdesk-stage-bar__foot { max-width: calc(50% - 10rem); }
}
@media (min-width: 1440px) {
  .iesdesk-scene__workspace--layers { --scene-panel: 30rem; }
}
/* The three best layouts of a layout search in Targets (scene screen, part 5). */
.iesdesk-layout-choices { display: grid; gap: var(--space-xs); margin-top: var(--space-sm); }
.iesdesk-layout-choices__title { margin: 0; font-weight: 600; }
.iesdesk-layout-choices__find { justify-self: start; }
.iesdesk-layout-choices__list { display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.iesdesk-layout-choices__item { display: grid; grid-template-columns: 1fr auto; column-gap: var(--space-sm); align-items: center; padding: var(--space-xs) var(--space-sm); border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.iesdesk-layout-choices__item.is-shown { border-color: var(--ink); }
.iesdesk-layout-choices__name { grid-column: 1; font-weight: 600; }
.iesdesk-layout-choices__figures { grid-column: 1; }
.iesdesk-layout-choices__use { grid-column: 2; grid-row: 1 / span 2; min-height: 0; padding: var(--space-2xs) var(--space-xs); }
/* Select in the scene (scene screen, part 6): the name of a product selects it, and a selected product is marked in the list. */
.iesdesk-scene-product__select { display: inline-flex; align-items: center; gap: var(--space-2xs); padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.iesdesk-scene-product__select:hover { text-decoration: underline; }
.iesdesk-scene-product.is-selected { padding-left: var(--space-sm); border-left: 3px solid var(--ink); }

/* Settings panel check, 2026-11-26 (before 1.5.31). Update preview of a
   layout search sits one layer gap under the last layer, not on its edge.
   The name of a list and of the file field of Add a product reads as
   the other names of the panel, below 1280px too. On a phone a short choice fills the row, as a slider and
   a long choice do. */
.iesdesk-scene__workspace--layers .iesdesk-scene__settings .iesdesk-scene__manual { margin-top: var(--space-sm); }
.iesdesk-scene__settings :is(.iesdesk-scene-product .agustos-label, div.agustos-field:has(> .agustos-select) > .agustos-label) { color: var(--ink-soft); font-weight: 400; }
@media (max-width: 639px) {
  :is(.iesdesk-scene__settings, .iesdesk-scene-entry) :is(form, div):has(> .agustos-field) > .agustos-field.iesdesk-segmented:not(.iesdesk-segmented--compact) { flex-basis: 100%; }
  .iesdesk-scene__settings .iesdesk-segmented:not(.iesdesk-segmented--compact) > .iesdesk-segmented__options { display: flex; }
  .iesdesk-scene__settings .iesdesk-segmented:not(.iesdesk-segmented--compact) .iesdesk-segmented__option { flex: 1 1 auto; justify-content: center; text-align: center; }
}
