/* Fit-out planner (lift-out with planner.js). Fine-line plan: navy ink, green zones. */
.pl { display: grid; gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (min-width: 960px) { .pl { grid-template-columns: 5fr 6fr; } .pl-draw { order: 2; position: sticky; top: calc(58px + 20px); } }
.pl-draw { background: #fbfaf7; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 10px; position: sticky; top: 58px; z-index: 5; box-shadow: 0 18px 40px -30px rgba(16, 36, 73, .5); }
@media (max-width: 959px) { .pl-draw { margin-inline: calc(var(--gut) * -.5); } }
.pl-svg { width: 100%; height: auto; display: block; max-height: 42svh; }
@media (min-width: 960px) { .pl-svg { max-height: none; } }
.pl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 2px 4px 6px; }
.pl-head .spec { margin: 0; font-size: .66rem; }
.pl-area { font-weight: 600; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.pl-area b { font-size: 1.35rem; letter-spacing: -.02em; }
.pl-note { font: 400 .64rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 6px 4px 2px; margin: 0; }

.pl-grid line { stroke: var(--navy); stroke-opacity: .07; stroke-width: 1; }
.pl-grid line.g5 { stroke-opacity: .16; }
.pl-wall { fill: none; stroke: var(--navy); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.pl-foot { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 6 5; }
.pl-glass line { stroke: var(--navy); stroke-width: 1; }
.pl-swing { fill: none; stroke: var(--navy); stroke-width: 1; stroke-dasharray: 3 3; }
.pl-zone { fill: rgba(60, 174, 73, .07); stroke: var(--green); stroke-width: 1.5; }
.pl-piece { fill: #fff; stroke: var(--navy); stroke-width: 1; }
.pl-t { font: 400 10.5px var(--mono); letter-spacing: .04em; fill: var(--navy); text-transform: uppercase; }
.pl-dt { font-size: 11px; }
.pl-dt-bg { fill: #fbfaf7; }
.pl-cap { fill: var(--ink-2); font-size: 10px; letter-spacing: .12em; }
.pl-sc { font-size: 9.5px; fill: var(--ink-2); }
.pl-dim line { stroke: var(--navy); stroke-width: 1; }
.pl-dim line.tick { stroke-width: 1.5; }
.pl-dim line.ext { stroke-opacity: .35; }
.pl-scale rect { fill: #fff; stroke: var(--navy); stroke-width: 1; }
.pl-scale rect.on { fill: var(--navy); }
.is-live .pl-zones { animation: pl-in .45s var(--ease); }
@keyframes pl-in { from { opacity: .35; } }

.pl-controls { display: grid; gap: 28px; }
.pl-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-step > legend, .pl-step > .lbl { display: flex; align-items: baseline; gap: 10px; font-weight: 600; color: var(--navy); font-size: 1.06rem; margin-bottom: 12px; padding: 0; }
.pl-step > legend::before, .pl-step > .lbl::before { font: 400 .7rem var(--mono); color: var(--green-ink); letter-spacing: .08em; }
.pl-controls { counter-reset: pls; }
.pl-step > legend, .pl-step > .lbl { counter-increment: pls; }
.pl-step > legend::before, .pl-step > .lbl::before { content: "0" counter(pls); }
.pl-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .pl-types { grid-template-columns: repeat(3, 1fr); } }
.pl-types .chip span { width: 100%; min-height: 54px; white-space: normal; line-height: 1.2; padding: 8px 12px; font-size: .93rem; }
.pl-types .chip .i { width: 26px; height: 26px; stroke-width: 1.4; }
.pl-size { display: grid; gap: 16px; }
.pl-range { display: grid; gap: 6px; }
.pl-range label { display: flex; justify-content: space-between; font-weight: 500; color: var(--ink); font-size: .95rem; }
.pl-range output { font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
input[type="range"].pl-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; margin: 0; }
.pl-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10px), var(--paper-2); }
.pl-slider::-moz-range-track { height: 6px; border-radius: 3px; background: var(--paper-2); }
.pl-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 9px; background: #fff; border: 2px solid var(--navy); box-shadow: 0 4px 10px -4px rgba(16, 36, 73, .5); }
.pl-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 9px; background: #fff; border: 2px solid var(--navy); }
.pl-slider:focus-visible { outline: none; }
.pl-slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(60, 174, 73, .5); }
.pl-slider:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(60, 174, 73, .5); }
.pl-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-checks .chip span { min-height: 42px; font-size: .92rem; padding: 0 13px; }
.pl-checks .chip span::before { content: ""; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 4px; opacity: .6; }
.pl-checks .chip input:checked + span::before { background: var(--green); border-color: var(--green); opacity: 1; }
.pl-brief { white-space: pre-line; font: 400 .84rem/1.6 var(--mono); color: var(--navy); background: #fbfaf7; border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 16px; }
.pl-send { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 3vw, 28px); }
.pl-send h2 { font-size: 1.5rem; margin-bottom: .3em; }
.pl-key-box { fill: #fff; stroke: var(--green); stroke-width: 1.25; }
.pl-key-n { font-size: 9px; letter-spacing: 0; }
.pl-key { font: 400 .7rem/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); padding: 4px 4px 0; margin: 0; }
@media (max-width: 959px) {
  .pl-draw { padding: 8px 8px 6px; }
  .pl-head { padding-bottom: 0; }
  .pl-note { display: none; }
}
