/* Studio Setup planner (views/studio-setup.php, assets/js/studio-setup.js). The plan is an SVG in metres: strokes and
   text sizes below are in metres too. */
.ss { padding: calc(var(--header-h) + 36px) 0 96px; }
.ss-wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.ss-intro { margin-bottom: 28px; }
.ss-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--copper, var(--flare-1)); }
.ss-title { margin: 0 0 12px; font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; }
.ss-lead { max-width: 760px; margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
.ss-sub { margin: 0; font-size: 14px; color: var(--muted); }
.ss-banner { display: inline-block; margin: 8px 0 0; padding: 10px 16px; border-radius: 8px; background: var(--tint); border-left: 3px solid var(--copper, var(--flare-1)); font-size: 14.5px; }

.ss-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 2px 0; font-size: 12.5px; color: var(--muted); }
.ss-key { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; }
.ss-key--block { background: repeating-linear-gradient(45deg, rgb(255 255 255 / .22) 0 2px, transparent 2px 5px), rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .3); }
.ss-key--keep { border: 1.5px dashed var(--copper, #e3b08f); }
.ss-key--grid { border: 1px solid rgb(255 255 255 / .18); background: linear-gradient(rgb(255 255 255 / .12) 1px, transparent 1px) 0 0 / 7px 7px; }

/* the plan */
.ss-floor { fill: #19131a; }
.ss-grid { stroke: rgb(255 255 255 / .05); stroke-width: .008; }
.ss-grid--m { stroke: rgb(255 255 255 / .11); stroke-width: .01; }
.ss-wall { fill: none; stroke: #d9cfc9; stroke-width: .07; }
.ss-ruler { font-size: .13px; fill: var(--muted); }
.ss-zone--block { stroke: rgb(255 255 255 / .28); stroke-width: .015; }
.ss-hatch { stroke: rgb(255 255 255 / .13); stroke-width: .02; }
.ss-zone--keep { fill: rgb(227 176 143 / .06); stroke: #e3b08f; stroke-width: .018; stroke-dasharray: .07 .05; }
.ss-label { font-size: .135px; fill: rgb(244 236 230 / .62); pointer-events: none; letter-spacing: .005px; }
.ss-label--wall { font-size: .15px; fill: var(--ink); font-weight: 600; }
.ss-label--obj { font-size: .13px; fill: var(--ink); }
.ss-roll { stroke: rgb(255 255 255 / .5); stroke-width: .012; }
.ss-sight { stroke: rgb(255 255 255 / .22); stroke-width: .015; stroke-dasharray: .06 .06; }
.ss-hit { fill: transparent; }
.ss-obj, .ss-light { cursor: grab; outline: none; }
.is-readonly .ss-obj, .is-readonly .ss-light { cursor: pointer; }
.ss-obj:active, .ss-light:active { cursor: grabbing; }
.ss-cam-body { fill: #2c2430; stroke: #f4ece6; stroke-width: .02; }
.ss-cam-lens { fill: #f4ece6; }
.ss-body { fill: rgb(244 236 230 / .22); stroke: #f4ece6; stroke-width: .018; }
.ss-head { fill: #f4ece6; }
.ss-obj.is-sel .ss-body, .ss-obj.is-sel .ss-cam-body, .ss-obj:focus-visible .ss-body, .ss-obj:focus-visible .ss-cam-body { stroke: #e3b08f; stroke-width: .035; }
.ss-leg { stroke: #8f8389; stroke-width: .025; stroke-linecap: round; }
.ss-arm { stroke: #b5a9ae; stroke-width: .035; stroke-linecap: round; }
.ss-mod { fill: rgb(255 255 255 / .14); stroke: #e8e0db; stroke-width: .018; stroke-linejoin: round; }
.ss-mod--open { fill: none; stroke-width: .03; }
.ss-face { stroke: #fff; stroke-width: .03; }
.ss-grid-face { stroke: #fff; stroke-width: .012; stroke-dasharray: .02 .02; }
.ss-flap { stroke: #e8e0db; stroke-width: .022; stroke-linecap: round; }
.ss-extras { border: 0; padding: 0; }
.ss-extras legend { margin-bottom: 5px; padding: 0; font-size: 13px; color: var(--muted); }
.ss-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; color: var(--ink); }
.ss-check input { accent-color: #e3b08f; width: 16px; height: 16px; }
.ss-check small { color: var(--muted); }
.ss-check:has(input:disabled) { opacity: .5; }
.ss-shaft { stroke: #b5a9ae; stroke-width: .012; }
.ss-lhead { stroke: #f4ece6; stroke-width: .016; }
.ss-head-flash { fill: #3b3240; } .ss-head-tungsten { fill: #6b4423; } .ss-head-led { fill: #2f4157; } .ss-head-rgb { fill: #5a2d6e; }
.ss-num { fill: #f4ece6; }
.ss-num-t { font-size: .15px; font-weight: 700; fill: #110c10; pointer-events: none; }
.ss-ring { fill: none; stroke: #e3b08f; stroke-width: .02; stroke-dasharray: .06 .04; }
.ss-light:focus-visible .ss-num { fill: #e3b08f; }
.ss-light.is-bad .ss-num { fill: #ff8f80; }
.ss-light.is-bad .ss-lhead { stroke: #ff8f80; stroke-width: .03; }
.ss-aimline { stroke: #e3b08f; stroke-width: .012; stroke-dasharray: .03 .03; }
.ss-aim { fill: #e3b08f; stroke: #110c10; stroke-width: .02; cursor: crosshair; }

/* the panel */
.ss-card { padding: 18px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.ss-h { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; }
.ss-hint { margin: 0; font-size: 13.5px; color: var(--muted); }
.ss-hint--warm { margin: -6px 0 12px; font-size: 12.5px; color: #ffbf73; }
.ss-insp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ss-insp-head strong { flex: 1; font-size: 1.05rem; }
.ss-insp-head img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.ss-num-b { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 700; }
.ss-insp-ro { margin: 0; font-size: 14px; line-height: 1.55; }
.ss-field { display: block; margin: 0 0 12px; }
.ss-field > span { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; color: var(--muted); }
.ss-field output { color: var(--ink); font-weight: 600; }
.ss-field select, .ss-field input[type="text"], .ss-field textarea { width: 100%; padding: 9px 11px; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14.5px; }
.ss-field select:focus, .ss-field input:focus, .ss-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ss-field input[type="range"] { width: 100%; accent-color: #e3b08f; }
.ss-insp-actions { display: flex; gap: 8px; margin: 4px 0 10px; }
.ss-btn { flex: 1; padding: 9px 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; }
.ss-btn:hover { border-color: var(--copper, var(--ink)); }
.ss-btn--danger:hover { border-color: var(--danger); color: var(--danger); }

.ss-tray { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ss-tray button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.ss-tray button:hover:not(:disabled) { border-color: var(--copper, var(--ink)); background: var(--tint); }
.ss-tray button:disabled { opacity: .45; cursor: not-allowed; }
.ss-tray img, .ss-ph { flex: none; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--tint); }
.ss-tray-n { flex: 1; font-size: 14px; }
.ss-tray-n small { display: block; font-size: 12px; color: var(--muted); }
.ss-plus { font-size: 20px; line-height: 1; color: var(--copper, var(--ink)); }

.ss-list { display: grid; gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; counter-reset: none; }
.ss-list button { display: flex; gap: 10px; width: 100%; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; line-height: 1.45; text-align: left; cursor: pointer; }
.ss-list button:hover, .ss-list .is-sel button { background: var(--tint); color: var(--ink); }
.ss-empty { padding: 8px; font-size: 13.5px; color: var(--muted); }
.ss-list small { display: block; color: var(--muted); font-style: italic; }
.ss-backdrop { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; }
.ss-swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); }

.ss-actions .btn { display: flex; justify-content: center; }
.ss-status { min-height: 1.4em; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.ss-status.is-bad { color: var(--danger); }
.ss-more { margin-top: 6px; font-size: 13.5px; color: var(--muted); text-align: center; }
.ss-link { padding: 0; border: 0; background: none; color: var(--copper, var(--accent)); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }


@media print {
  .site-header, .mh, .site-footer, footer, .ss-tray, .ss-actions, .ss-more, .ss-insp-actions, [data-ss-inspector], .consent, .to-top { display: none !important; }
  .ss { padding: 0; }
  .ss-grid { grid-template-columns: 1fr; }
  .ss-stage { position: static; }
  .ss-card, .ss-plan { box-shadow: none; border: 1px solid #999; }
  .ss-plan svg { max-height: 62vh; }
}

/* "Add a light" builder */
.ss-steps { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.ss-steps li { display: flex; align-items: center; gap: 6px; flex: 1; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.ss-steps li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; }
.ss-steps li.is-cur { color: var(--ink); border-color: #e3b08f; font-weight: 600; }
.ss-steps li.is-cur span { background: #e3b08f; border-color: #e3b08f; color: #110c10; }
.ss-steps li.is-done { color: var(--ink-2); border-color: rgb(227 176 143 / .45); }
.ss-steps li.is-skip { opacity: .4; }
.ss-step-q { margin: 0 0 10px; font-size: 14.5px; color: var(--ink); }
.ss-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.ss-tile { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 6px 8px; border: 1.5px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; }
.ss-tile:hover:not(:disabled) { border-color: rgb(227 176 143 / .7); background: var(--tint); }
.ss-tile:active:not(:disabled) { transform: scale(.98); }
.ss-tile.is-on { border-color: #e3b08f; background: rgb(227 176 143 / .1); box-shadow: inset 0 0 0 1px #e3b08f; }
.ss-tile:disabled { opacity: .4; cursor: not-allowed; }
.ss-tile img, .ss-tile-ph { width: 100%; aspect-ratio: 1; border-radius: 5px; object-fit: cover; background: #f2f2f2; }
.ss-tile-ph { display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: 22px; }
.ss-tile-n { font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.ss-tile small { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.ss-build-sum { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.ss-build-nav { display: flex; gap: 8px; }
.ss-btn--go { border-color: #e3b08f; background: #e3b08f; color: #110c10; font-weight: 600; }
.ss-btn--go:hover:not(:disabled) { filter: brightness(1.08); }
.ss-btn--go:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .ss-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* backdrop: colour and how far the paper rolls out */
.ss-bd { margin: 4px 0 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ss-field-l { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.ss-field-l strong { color: var(--ink); }
.ss-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.ss-sw { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 3px; border: 1.5px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink-2); font: inherit; cursor: pointer; }
.ss-sw img { width: 100%; aspect-ratio: 1; border-radius: 4px; object-fit: cover; }
.ss-sw span { position: absolute; top: 7px; right: 7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .5); }
.ss-sw img + span { }
.ss-sw:not(:has(img)) span { position: static; width: 100%; height: auto; aspect-ratio: 1; border-radius: 4px; border: 0; }
.ss-sw small { font-size: 11px; line-height: 1.25; text-align: center; }
.ss-sw:hover { border-color: rgb(227 176 143 / .7); }
.ss-sw.is-on { border-color: #e3b08f; box-shadow: inset 0 0 0 1px #e3b08f; color: var(--ink); }
.ss-paper-edge { stroke: rgb(255 255 255 / .35); stroke-width: .015; stroke-dasharray: .05 .04; }

/* readable on any paper colour: dark halos around labels, outlines and the subject */
.ss-label--obj, .ss-label--wall { paint-order: stroke; stroke: #110c10; stroke-width: .045px; stroke-linejoin: round; }
.ss-mod, .ss-lhead, .ss-body, .ss-cam-body { paint-order: stroke; }
.ss-light .ss-mod, .ss-light .ss-face { filter: drop-shadow(0 0 .02px #110c10) drop-shadow(0 0 .02px #110c10); }
.ss-body { fill: rgb(17 12 16 / .55); }
.ss-head { stroke: #110c10; stroke-width: .02; }

/* pin to subject */
.ss-pin { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 14px; padding: 10px 12px; border-radius: 8px; background: var(--tint); cursor: pointer; }
.ss-app .ss-pin input[type="checkbox"] { flex: none; appearance: none; -webkit-appearance: none; width: 34px; height: 20px; min-width: 34px; margin: 1px 0 0; padding: 0; border: 0; border-radius: 999px; background: var(--line-2) !important; position: relative; cursor: pointer; transition: background .2s; }
.ss-app .ss-pin input[type="checkbox"]::before { display: none; }
.ss-app .ss-pin input[type="checkbox"]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.ss-app .ss-pin input[type="checkbox"]:checked { background: #e3b08f !important; }
.ss-app .ss-pin input[type="checkbox"]:checked::after { transform: translateX(14px); }
.ss-pin input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ss-pin-t { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--ink); }
.ss-pin-t small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.ss-pinline { stroke: #e3b08f; stroke-width: .012; stroke-dasharray: .02 .05; opacity: .7; }
/* the save button: the site's lens-flare button (the dark page's button colours didn't reach it) */
.ss-actions .btn--primary { border: 0; background: var(--lens-flare); color: #fff; font-weight: 600; }
.ss-actions .btn--primary:hover:not(:disabled) { filter: brightness(1.12); }
.ss-actions .btn--primary:disabled { opacity: .5; cursor: not-allowed; }

/* several setups: tabs, the booking's timeline, the setup's name and time */
.ss-setups:empty { display: none; }
.ss-setups { margin-bottom: 10px; }
.ss-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ss-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.ss-tab small { font-size: 11.5px; color: var(--muted); }
.ss-tab.is-on { border-color: #e3b08f; color: var(--ink); box-shadow: inset 0 0 0 1px #e3b08f; }
.ss-tab--add { justify-content: center; border-style: dashed; color: #e3b08f; }
.ss-tab--add:disabled { opacity: .4; cursor: not-allowed; }
.ss-timeline { display: flex; gap: 2px; height: 16px; margin: 4px 0 6px; border-radius: 4px; overflow: hidden; }
.ss-tl { display: grid; place-items: center; min-width: 4px; font-size: 10px; font-weight: 700; }
.ss-tl--setup { background: rgb(227 176 143 / .35); color: var(--ink); }
.ss-tl--setup.is-on { background: #e3b08f; color: #110c10; }
.ss-tl--change { background: repeating-linear-gradient(45deg, rgb(255 255 255 / .25) 0 3px, transparent 3px 6px); }
.ss-tl--spare { background: var(--tint); }
.ss-time { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.ss-time.is-bad { color: var(--danger); }
.ss-setup-ctl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: end; margin-bottom: 4px; }
.ss-setup-ctl .ss-field { margin: 0; }
.ss-min { display: flex; align-items: center; gap: 6px; }
.ss-min .ss-btn { flex: none; width: 34px; padding: 6px 0; }
.ss-min output { min-width: 64px; text-align: center; color: var(--ink); font-weight: 600; font-size: 14px; }
.ss-setup-act { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* print: only the setups and their notes */
.ss-print { display: none; }
@media print {
  html, body { background: #fff !important; }
  body *:not(:has(.ss-print)):not(.ss-print):not(.ss-print *) { display: none !important; }   /* only the print view (and the elements around it) */
  body *:has(.ss-print) { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; max-width: none !important; display: block !important; position: static !important; }
  .ss-print { display: block !important; width: 100%; padding: 0; color: #000; background: #fff; font-family: var(--f-body); }
  .ss-print h1, .ss-print h2 { color: #000 !important; }
  .ssp-title { margin: 0 0 2px; font-size: 20pt; font-weight: 300; color: #000; }
  .ssp-when { margin: 0 0 12pt; font-size: 11pt; color: #444; }
  .ssp-setup { break-inside: avoid; page-break-inside: avoid; margin-bottom: 14pt; }
  .ssp-setup ~ .ssp-setup { break-before: page; page-break-before: always; }
  .ssp-setup h2 { margin: 0 0 6pt; font-size: 14pt; font-weight: 600; color: #000; }
  .ssp-plan svg { display: block; width: auto; max-width: 100%; height: 15cm; margin: 0 auto 8pt; }
  .ssp-plan .ss-floor { fill: #fff; } .ssp-plan .ss-wall { stroke: #333; }
  .ssp-plan .ss-grid { stroke: #ddd; } .ssp-plan .ss-grid--m { stroke: #bbb; }
  .ssp-plan .ss-label, .ssp-plan .ss-ruler { fill: #333; } .ssp-plan .ss-label--obj, .ssp-plan .ss-label--wall { fill: #000; stroke: #fff; }
  .ssp-plan .ss-zone--block { stroke: #999; } .ssp-plan .ss-hatch { stroke: #ccc; }
  .ssp-plan .ss-mod, .ssp-plan .ss-face, .ssp-plan .ss-flap { stroke: #222; } .ssp-plan .ss-mod { fill: #f2f2f2; }
  .ssp-plan .ss-num { fill: #000; } .ssp-plan .ss-num-t { fill: #fff; }
  .ssp-plan .ss-sight { stroke: #999; } .ssp-plan .ss-leg { stroke: #777; }
  .ssp-bd, .ssp-note, .ssp-change { margin: 0 0 6pt; font-size: 11pt; color: #000; }
  .ssp-change { padding: 4pt 8pt; border: 1px dashed #999; }
  .ssp-list { margin: 0 0 6pt; padding: 0; list-style: none; font-size: 10.5pt; color: #000; }
  .ssp-list li { margin-bottom: 3pt; }
  .ssp-list .ss-num-b { display: inline-grid; place-items: center; width: 16pt; height: 16pt; border-radius: 50%; background: #000; color: #fff; font-size: 8pt; }
}

/* no browser focus frame or tap flash when clicking the plan (keyboard users still see the copper focus marks) */
.ss-plan, .ss-plan svg, .ss-plan svg * { -webkit-tap-highlight-color: transparent; }
.ss-plan svg:focus, .ss-plan svg *:focus { outline: none; }
.ss-plan:focus-within { outline: none; }

/* "Start from a look" */
.ss-looks-card summary { display: flex; flex-direction: column; gap: 2px; list-style: none; cursor: pointer; margin: 0; }
.ss-looks-card summary::-webkit-details-marker { display: none; }
.ss-looks-card summary small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.ss-looks-card[open] summary { margin-bottom: 12px; }
.ss-looks { display: grid; gap: 8px; max-height: 460px; overflow-y: auto; padding-right: 2px; }
.ss-look { display: flex; gap: 10px; align-items: stretch; width: 100%; padding: 6px; border: 1.5px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.ss-look:hover { border-color: rgb(227 176 143 / .7); background: var(--tint); }
.ss-look.is-armed { border-color: #e3b08f; background: rgb(227 176 143 / .1); }
.ss-look-ph { flex: none; width: 88px; border-radius: 5px; overflow: hidden; background: #19131a; }
.ss-look-ph svg { display: block; width: 100%; height: auto; pointer-events: none; }
.ss-look-ph .ss-label, .ss-look-ph .ss-ruler, .ss-look-ph .ss-num, .ss-look-ph .ss-num-t, .ss-look-ph .ss-hit { display: none; }
.ss-look-t { display: flex; flex-direction: column; gap: 3px; padding: 2px 0; }
.ss-look-t strong { font-size: 14px; }
.ss-look-t small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.ss-look-go { margin-top: auto; font-style: normal; font-size: 12px; font-weight: 600; color: #e3b08f; }


/* the planner has its own bars: no back-to-top button here */
.to-top { display: none !important; }

/* ================================================================== layout: an app on desktop, adapted on phones */
.ss-plan { touch-action: none; }
.ss-plan svg { display: block; user-select: none; -webkit-user-select: none; font-family: var(--f-ui); }
.ss-bar-home svg { display: block; height: 26px; width: auto; }
.ss-bar-title { display: flex; flex-direction: column; min-width: 0; }
.ss-bar-title strong { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.ss-bar-title small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-bar-act { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ss-bar-act .ss-status { margin: 0; max-width: 340px; font-size: 12.5px; text-align: right; }
.ss-save { flex: none; white-space: nowrap; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--lens-flare); color: #fff; font-weight: 600; }
.ss-save:hover:not(:disabled) { filter: brightness(1.12); }
.ss-save:disabled { opacity: .5; cursor: not-allowed; }
.ss-ibtn { width: 38px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.ss-ibtn:hover { border-color: #e3b08f; }
.ss-menu { position: relative; }
.ss-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; padding: 6px; border-radius: 10px; background: var(--surface); box-shadow: 0 12px 34px rgb(0 0 0 / .5); border: 1px solid var(--line); }
.ss-menu-pop[hidden] { display: none; }
.ss-menu-pop button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ss-menu-pop button:hover { background: var(--tint); }
.ss-rail { display: none; }
.ss-pane-h { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; }
.ss-pane-lead { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.ss-pane[hidden] { display: none; }
.ss-help p, .ss-help li { font-size: 14px; line-height: 1.55; }
.ss-help ul { padding-left: 18px; margin: 0 0 14px; }
.ss-help li { margin-bottom: 6px; }
.ss-insp-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: 14px; cursor: pointer; }
.ss-insp-close:hover { background: var(--line-2); }
.ss-insp .ss-insp-head { padding-right: 40px; }
.ss-ptab-n { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 3px; padding: 0 5px; border-radius: 999px; background: var(--tint); font-size: 11px; color: var(--ink); }
.ss-mobile-note { display: none; }

@media (min-width: 1100px) {
  /* desktop: the planner fills the screen like an app; the page header and footer stay behind it */
  html.ss-full, html.ss-full body { overflow: hidden; }
  .ss-intro { display: none; }
  .ss { padding: 0; }
  .ss-app { position: fixed; inset: 0; z-index: 1000; display: grid; background: var(--bg);
    grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: 62px minmax(0, 1fr) auto; grid-template-areas: "bar bar" "rail stage" "rail foot"; }
  .ss-bar { grid-area: bar; display: flex; align-items: center; gap: 18px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
  .ss-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lens-flare); }
  .ss-setups { margin: 0 auto 0 12px; min-width: 0; }
  .ss-setups .ss-tabs { flex-wrap: nowrap; margin: 0; overflow-x: auto; }
  .ss-setups .ss-tab { padding: 5px 10px; }
  .ss-rail { grid-area: rail; display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; background: var(--surface); border-right: 1px solid var(--line); z-index: 15; }
  .ss-rbtn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background .2s, color .2s; }
  .ss-rbtn:hover { background: var(--tint); color: var(--ink); }
  .ss-rbtn.is-on { background: rgb(227 176 143 / .14); color: var(--ink); }
  .ss-rbtn.is-on .ss-ricon { background: #e3b08f; color: #110c10; }
  .ss-ricon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--tint); font-size: 16px; color: var(--ink); }
  .ss-rbtn--help { margin-top: auto; }
  .ss-rbtn .ss-ptab-n { margin: 0; }
  .ss-drawer { position: absolute; left: 76px; top: 62px; bottom: 0; width: 380px; z-index: 12; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line);
    box-shadow: 14px 0 40px rgb(0 0 0 / .45); transform: translateX(calc(-100% - 80px)); transition: transform .32s var(--ease); }
  .ss-app.drawer-open .ss-drawer { transform: none; }
  .ss-ptabs { display: none; }
  .ss-panes { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  .ss-pane { padding: 18px 20px 24px; }
  .ss-stage { grid-area: stage; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 18px; transition: padding .32s var(--ease); }
  .ss-app.drawer-open .ss-stage { padding-left: 398px; }
  .ss-app.has-sel .ss-stage { padding-right: 378px; }
  .ss-plan { height: 100%; max-width: 100%; aspect-ratio: 6.22 / 8.12; border-radius: 12px; background: var(--panel, var(--surface)); box-shadow: var(--shadow); overflow: hidden; }
  .ss-plan svg { width: 100%; height: 100%; }
  .ss-insp { position: absolute; right: 0; top: 62px; bottom: 0; width: 360px; z-index: 12; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 24px; background: var(--surface);
    border-left: 1px solid var(--line); box-shadow: -14px 0 40px rgb(0 0 0 / .45); transform: translateX(110%); transition: transform .32s var(--ease); }
  .ss-app.has-sel .ss-insp { transform: none; }
  .ss-foot { grid-area: foot; padding: 8px 18px 10px; background: var(--surface); border-top: 1px solid var(--line); z-index: 11; }
  .ss-foot:empty { display: none; }
  .ss-foot .ss-timeline { margin-top: 0; }
  .ss-foot .ss-setup-ctl { grid-template-columns: minmax(0, 360px) auto 1fr; align-items: center; }
  .ss-foot .ss-setup-act { grid-column: auto; text-align: right; }
}

@media (max-width: 1099px) {
  /* tablets and phones: the plan pinned at the top, the tools below, tabs and Save at the bottom of the screen */
  .ss-mobile-note { display: block; margin: 8px 0 0; font-size: 13px; color: #e3b08f; }
  .ss-app { display: flex; flex-direction: column; padding: 0 var(--gutter) calc(var(--ss-bottom, 140px) + 16px); }
  .ss-setups { order: 1; } .ss-stage { order: 2; } .ss-foot { order: 3; } .ss-drawer { order: 4; }
  .ss-bar { display: contents; }
  .ss-bar-home, .ss-bar-title { display: none; }
  .ss-setups { margin-bottom: 8px; }
  .ss-bar-act { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 22px rgb(0 0 0 / .35); }
  .ss-bar-act .ss-status { order: -1; flex: 1 1 100%; max-width: none; text-align: left; }
  .ss-bar-act .ss-status:empty { display: none; }
  .ss-save { flex: 1; }
  .ss-menu-pop { top: auto; bottom: calc(100% + 6px); }
  .ss-stage { position: sticky; top: var(--header-h); z-index: 6; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 6px; background: var(--bg); }
  .ss-plan { border-radius: 10px; background: var(--panel, var(--surface)); overflow: hidden; }
  .ss-plan svg { width: 100%; height: auto; max-height: 46vh; margin: 0 auto; }
  .ss-foot { margin: 4px 0 8px; }
  .ss-drawer { border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); display: flex; flex-direction: column; }
  .ss-ptabs { order: 2; display: flex; position: sticky; bottom: var(--ss-act-h, 64px); z-index: 30; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 16px rgb(0 0 0 / .3); }
  .ss-ptab { flex: 1; padding: 11px 4px; border: 0; border-top: 2px solid transparent; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
  .ss-ptab.is-on { color: var(--ink); border-top-color: #e3b08f; }
  .ss-panes { order: 1; }
  .ss-pane { padding: 16px; }
  /* a selected light: its settings slide up as a sheet over the tools */
  .ss-insp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 58vh; overflow-y: auto; padding: 18px var(--gutter) calc(18px + env(safe-area-inset-bottom));
    background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: 0 -14px 40px rgb(0 0 0 / .55); transform: translateY(105%); transition: transform .3s var(--ease); }
  .ss-app.has-sel .ss-insp { transform: none; }
}

.ss-drawer .ss-looks { max-height: none; overflow: visible; }

/* the client's kept setups and the "save for the future" window */
.ss-mine-h { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: var(--track-wide); text-transform: uppercase; color: #e3b08f; }
.ss-looks--mine { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ss-look-wrap { position: relative; }
.ss-forget { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--tint); color: var(--muted); font-size: 11px; cursor: pointer; }
.ss-forget:hover, .ss-forget.is-armed { background: var(--danger); color: #fff; }
.ss-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgb(8 5 8 / .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ss-modal[hidden] { display: none; }
.ss-modal-box { width: min(440px, 100%); padding: 22px 22px 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 30px 80px rgb(0 0 0 / .6); border-top: 3px solid transparent; border-image: var(--lens-flare) 1; border-image-slice: 1 0 0 0; }
.ss-modal .ss-build-nav { margin-top: 6px; }
.ss-keep-never { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ss-modal .ss-status:empty { display: none; }

/* the backdrop on the plan: tap it for colour and paper */
.ss-bdobj { cursor: pointer; }
.ss-bdobj:hover .ss-roll, .ss-bdobj.is-sel .ss-roll { stroke: #e3b08f; stroke-width: .03; }
.ss-bdsel { fill: none; stroke: #e3b08f; stroke-width: .022; stroke-dasharray: .07 .05; pointer-events: none; }
.ss-insp .ss-insp-head .ss-swatch { width: 24px; height: 24px; }
.ss-beams, .ss-sight, .ss-label, .ss-zone--keep { pointer-events: none; }

/* desktop: the right panel's resting state (nothing picked) */
.ss-app.none-sel .ss-insp-close { display: none; }
.ss-quick { display: grid; gap: 6px; margin: 12px 0; }
.ss-quick-b { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.ss-quick-b:hover { border-color: rgb(227 176 143 / .7); background: var(--tint); }
.ss-quick-b small { display: block; font-size: 12px; color: var(--muted); }
.ss-quick-b .ss-swatch { flex: none; width: 24px; height: 24px; }
.ss-quick-add { width: 100%; }

/* light notes on the plan */
.ss-callout { cursor: pointer; }
.ss-callout-line { stroke: #e3b08f; stroke-width: .012; stroke-dasharray: .03 .03; }
.ss-callout-box { fill: rgb(28 21 25 / .94); stroke: #e3b08f; stroke-width: .014; }
.ss-callout.is-sel .ss-callout-box { stroke-width: .028; }
.ss-callout-t { font-size: .115px; fill: #f4ece6; pointer-events: none; }
.ss-look-ph .ss-callouts { display: none; }
@media print {
  .ssp-plan .ss-callout-box { fill: #fff; stroke: #000; }
  .ssp-plan .ss-callout-t { fill: #000; }
  .ssp-plan .ss-callout-line { stroke: #000; }
}

/* the paper's grab handle */
.ss-sweep-h { cursor: ns-resize; }
.ss-sweep-pill { fill: #e3b08f; stroke: #110c10; stroke-width: .015; }
.ss-sweep-arrows { fill: none; stroke: #110c10; stroke-width: .025; stroke-linecap: round; stroke-linejoin: round; }
.ss-sweep-h:hover .ss-sweep-pill { fill: #f0c6a8; }

/* the export's equipment page */
.ssp-equip { break-before: page; page-break-before: always; }
.ssp-equip h2 { margin: 0 0 4pt; font-size: 16pt; font-weight: 600; color: #000; }
.ssp-equip-lead { margin: 0 0 10pt; font-size: 10pt; color: #444; }
.ssp-equip h3 { margin: 10pt 0 6pt; font-size: 11pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #000; }
.ssp-equip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8pt; }
.ssp-eq { display: flex; gap: 8pt; align-items: center; padding: 6pt; border: 1px solid #ccc; border-radius: 6px; break-inside: avoid; page-break-inside: avoid; }
.ssp-eq img, .ssp-eq-ph { flex: none; width: 54px; height: 54px; border-radius: 4px; object-fit: cover; background: #eee; }
.ssp-eq strong { display: block; font-size: 10.5pt; color: #000; }
.ssp-eq small { display: block; margin-top: 2pt; font-size: 8.5pt; color: #555; }

/* the prep sheet on screen (?sheet=1): the export as white pages */
html.ss-sheet .ss-intro, html.ss-sheet .ss-app > *:not(.ss-print):not(.ss-sheet-bar) { display: none !important; }
html.ss-sheet .ss-app { position: static; display: block; padding: 0 var(--gutter) 60px; }
html.ss-sheet .ss { padding-top: calc(var(--header-h) + 24px); }
html.ss-sheet .ss-print { display: block; max-width: 900px; margin: 0 auto; padding: 36px 40px; background: #fff; color: #000; border-radius: 6px; box-shadow: var(--shadow); font-family: var(--f-body); }
html.ss-sheet .ss-print h1, html.ss-sheet .ss-print h2 { color: #000; }
html.ss-sheet .ssp-title { margin: 0 0 2px; font-size: 28px; font-weight: 300; }
html.ss-sheet .ssp-when { margin: 0 0 18px; color: #444; }
html.ss-sheet .ssp-setup, html.ss-sheet .ssp-equip { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #ddd; }
html.ss-sheet .ssp-setup h2 { font-size: 20px; }
html.ss-sheet .ssp-plan svg { display: block; width: auto; max-width: 100%; height: 560px; margin: 0 auto 10px; }
html.ss-sheet .ssp-plan .ss-floor { fill: #fff; } html.ss-sheet .ssp-plan .ss-wall { stroke: #333; }
html.ss-sheet .ssp-plan .ss-grid { stroke: #e2e2e2; } html.ss-sheet .ssp-plan .ss-grid--m { stroke: #c8c8c8; }
html.ss-sheet .ssp-plan .ss-label, html.ss-sheet .ssp-plan .ss-ruler { fill: #333; } html.ss-sheet .ssp-plan .ss-label--obj, html.ss-sheet .ssp-plan .ss-label--wall { fill: #000; stroke: #fff; }
html.ss-sheet .ssp-plan .ss-zone--block { stroke: #999; } html.ss-sheet .ssp-plan .ss-hatch { stroke: #ccc; }
html.ss-sheet .ssp-plan .ss-mod, html.ss-sheet .ssp-plan .ss-face { stroke: #222; } html.ss-sheet .ssp-plan .ss-mod { fill: #f2f2f2; }
html.ss-sheet .ssp-plan .ss-num { fill: #000; } html.ss-sheet .ssp-plan .ss-num-t { fill: #fff; }
html.ss-sheet .ssp-plan .ss-callout-box { fill: #fff; stroke: #000; } html.ss-sheet .ssp-plan .ss-callout-t { fill: #000; }
html.ss-sheet .ssp-list { margin: 0 0 8px; padding: 0; list-style: none; } html.ss-sheet .ssp-list li { margin-bottom: 4px; color: #000; }
html.ss-sheet .ssp-list .ss-num-b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #000; color: #fff; font-size: 11px; }
html.ss-sheet .ssp-bd, html.ss-sheet .ssp-note { color: #000; }
html.ss-sheet .ssp-change { padding: 6px 10px; border: 1px dashed #999; color: #000; }
html.ss-sheet .ssp-equip h3 { color: #000; }
.ss-sheet-bar { display: none; }
html.ss-sheet .ss-sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 900px; margin: 0 auto 14px; color: var(--ink); }
html.ss-sheet .ss-sheet-bar .ss-btn { display: inline-block; flex: none; width: auto; padding: 9px 16px; text-decoration: none; }
@media print { .ss-sheet-bar { display: none !important; } html.ss-sheet .ss-print { box-shadow: none; padding: 0; max-width: none; } }
@media (max-width: 700px) { .ssp-equip-grid { grid-template-columns: 1fr 1fr; } html.ss-sheet .ss-print { padding: 18px; } }

/* the light panel's controls: photo chips and pills instead of browser dropdowns */
.ss-field-l2 { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.ss-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ss-chip { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 5px; border: 1.5px solid var(--line); border-radius: 8px; background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.ss-chip img, .ss-chip-ph { width: 100%; aspect-ratio: 1; border-radius: 5px; object-fit: cover; background: #f2f2f2; }
.ss-chip-ph { display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: 18px; }
.ss-chip-n { font-size: 11.5px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ss-chip-n small { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.ss-chip:hover:not(:disabled) { border-color: rgb(227 176 143 / .7); background: var(--tint); }
.ss-chip.is-on { border-color: #e3b08f; background: rgb(227 176 143 / .12); box-shadow: inset 0 0 0 1px #e3b08f; }
.ss-chip:disabled { opacity: .35; cursor: not-allowed; }
.ss-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-pill { padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ss-pill:hover { border-color: rgb(227 176 143 / .7); color: var(--ink); }
.ss-pill.is-on { border-color: #e3b08f; background: #e3b08f; color: #110c10; font-weight: 600; }
/* the remaining fields: text inputs, checkboxes and sliders in the site's style */
.ss-app .ss-field input[type="text"], .ss-app .ss-field textarea { border-radius: 8px; border-color: var(--line); background: var(--tint); }
.ss-app input[type="range"] { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: var(--line-2); accent-color: #e3b08f; }
.ss-app input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #e3b08f; border: 2px solid #110c10; box-shadow: 0 1px 4px rgb(0 0 0 / .5); cursor: pointer; }
.ss-app input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #e3b08f; border: 2px solid #110c10; cursor: pointer; }
.ss-app .ss-check input[type="checkbox"] { width: 18px; height: 18px; border-radius: 5px; }
.ss-app .ss-check input[type="radio"] { width: 18px; height: 18px; }

/* the export, branded: the ALR Photography logo, the lens flare, the studio's details */
.ss-print { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ssp-brand { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14pt; padding: 12pt 0 10pt; color: #000; }
.ssp-brand::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--lens-flare); }
.ssp-logo svg { display: block; height: 34px; width: auto; color: #000; }
.ssp-contact { font-size: 9pt; line-height: 1.45; color: #333; text-align: right; }
.ssp-contact strong { display: block; font-size: 8pt; letter-spacing: .14em; text-transform: uppercase; color: #640d2c; }
.ssp-title { color: #000; }
.ssp-setup h2, .ssp-equip h2 { padding-left: 10px; border-left: 4px solid #640d2c; }
.ssp-equip h3 { color: #640d2c !important; }
.ssp-list .ss-num-b, html.ss-sheet .ssp-list .ss-num-b { background: #320c3b !important; }
.ssp-plan .ss-num { fill: #320c3b !important; }
.ssp-foot { margin-top: 14pt; padding-top: 6pt; border-top: 1px solid #ddd; font-size: 8.5pt; color: #666; text-align: center; }
@media print { .ss-print { width: auto !important; padding: 0 3px !important; } .ssp-foot { break-inside: avoid; } }

/* the studio's view: locked until unlocked */
.ss-adminbar { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 999px; background: rgb(227 176 143 / .12); border: 1px solid rgb(227 176 143 / .5); }
.ss-adminbar-t { font-size: 12.5px; font-weight: 600; color: #e3b08f; white-space: nowrap; }
.ss-adminbar .ss-btn { flex: none; width: auto; padding: 6px 14px; }
.ss-app.admin-locked .ss-save, .ss-app.admin-locked .ss-menu, .ss-app.admin-locked [data-ptab="looks"], .ss-app.admin-locked [data-ptab="add"],
.ss-app.admin-locked [data-pane="looks"], .ss-app.admin-locked [data-pane="add"], .ss-app.admin-locked .ss-tab--add, .ss-app.admin-locked .ss-setup-ctl,
.ss-app.admin-locked .ss-sweep-h { display: none !important; }
.ss-app.admin-locked .ss-plan { box-shadow: 0 0 0 2px rgb(227 176 143 / .35), var(--shadow); }
@media (max-width: 1099px) { .ss-adminbar { order: 0; margin-bottom: 8px; border-radius: 10px; } }

.ss-demo-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--lens-flare); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
a.ss-save { display: inline-flex; align-items: center; text-decoration: none; }

/* colour gels */
.ss-gels { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-gel { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-size: 12.5px; cursor: pointer; }
.ss-gel span { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); }
.ss-gel:hover { border-color: rgb(227 176 143 / .7); color: var(--ink); }
.ss-gel.is-on { border-color: #e3b08f; color: var(--ink); box-shadow: inset 0 0 0 1px #e3b08f; }
.ss-geldot { stroke: #110c10; stroke-width: .012; }

/* subject direction; aim choice */
.ss-nose { fill: #f4ece6; }
.ss-seg2 { display: flex; padding: 3px; border-radius: 10px; background: var(--tint); }
.ss-seg2 button { flex: 1; padding: 7px 6px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ss-seg2 button:hover { color: var(--ink); }
.ss-seg2 button.is-on { background: #e3b08f; color: #110c10; }
.ss-seg2 + .ss-hint { display: block; margin-top: 6px; font-size: 12px; }

/* the public demo: a normal page with the site's header and footer; the planner embedded, no export */
.ss-intro--demo { margin-bottom: 22px; }
.ss-intro-act { display: flex; align-items: center; gap: 18px; margin: 16px 0 0; }
.ss-intro-book { display: inline-flex; padding: 11px 22px; border: 0; border-radius: 999px; background: var(--lens-flare); color: #fff; font-weight: 600; text-decoration: none; }
@media (min-width: 1100px) {
  .ss-intro.ss-intro--demo { display: block; }
  .ss:has(.ss-app.is-demo) { padding: calc(var(--header-h) + 36px) 0 64px; }
  .ss-app.is-demo { position: relative; inset: auto; z-index: 1; width: min(1500px, calc(100% - 2 * var(--gutter))); height: max(640px, calc(100vh - var(--header-h) - 60px)); margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .45), 0 0 0 1px var(--line); }
}
.ssp-demo { margin: 40pt 0; font-size: 14pt; color: #000; text-align: center; }

/* removing a setup: the ✕ on its tab */
.ss-tabw { position: relative; display: inline-flex; }
.ss-tabw .ss-tab { padding-right: 30px; }
.ss-tab-x { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--muted); font: inherit; font-size: 10px; line-height: 1; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s, color .2s; }
.ss-tabw:hover .ss-tab-x, .ss-tab-x:focus-visible { opacity: 1; }
.ss-tab-x:hover, .ss-tab-x.is-armed { background: var(--danger); border-color: var(--danger); color: #fff; opacity: 1; }
.ss-tab-x.is-armed { font-size: 11px; font-weight: 600; white-space: nowrap; }

/* phones and tablets: the tools (Looks, Add a light, Setup, Help) open as full sheets from a tab bar above Save,
   like a light's settings – the plan stays the page */
@media (max-width: 1099px) {
  .ss-ptabs { display: none !important; }
  .ss-rail { display: flex; position: fixed; left: 0; right: 0; bottom: var(--ss-act-h, 64px); z-index: 46; justify-content: space-around; gap: 2px; padding: 6px 6px 4px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgb(0 0 0 / .35); }
  .ss-rbtn { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 3px; padding: 5px 2px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
  .ss-rbtn .ss-ricon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: var(--ink); font-size: 15px; }
  .ss-rbtn.is-on { color: var(--ink); }
  .ss-rbtn.is-on .ss-ricon { background: #e3b08f; color: #110c10; }
  .ss-rbtn .ss-ptab-n { margin: 0; }
  .ss-rbtn--help { margin-top: 0; }
  .ss-drawer { position: fixed; left: 0; right: 0; bottom: calc(var(--ss-act-h, 64px) + 62px); z-index: 45; max-height: min(72vh, calc(100vh - var(--header-h) - 150px)); display: flex; flex-direction: column;
    border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: 0 -16px 44px rgb(0 0 0 / .55); transform: translateY(calc(100% + 140px)); transition: transform .3s var(--ease); overflow: hidden; }
  .ss-drawer::before { content: ""; flex: none; width: 44px; height: 4px; margin: 9px auto 0; border-radius: 4px; background: var(--line-2); }
  .ss-app.drawer-open .ss-drawer { transform: none; }
  .ss-panes { overflow-y: auto; overscroll-behavior: contain; }
  .ss-app { padding-bottom: calc(var(--ss-act-h, 64px) + 80px); }
  .ss-insp { z-index: 50; }
}
.ss-bignote { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; padding: 12px 10px 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--tint); color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ss-bignote[hidden] { display: none; }
.ss-bignote > svg { flex: none; margin-top: 1px; color: #e3b08f; }
.ss-bignote strong { display: block; color: var(--ink); }
.ss-bignote-x { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: -5px 0 0 auto; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
@media print { .ss-bignote { display: none !important; } }
