/* "Can we move it?" plan. Blueprint: pale lines on their black; new work in their rose. */
.mv { display: grid; gap: 1.75rem; }
@media (min-width: 961px) { .mv { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; } }
.mv-board { position: relative; background: var(--ink-3); border: 1px solid var(--line-dim); padding: .6rem; margin: 0 calc(var(--gut) * -.4); }
@media (min-width: 961px) { .mv-board { margin: 0; padding: 1rem; } }
.plan { width: 100%; height: auto; user-select: none; -webkit-user-select: none; }
.plan .gridline { fill: none; stroke: rgba(244, 241, 238, .05); stroke-width: .4; }
.plan .wall { stroke: rgba(244, 241, 238, .8); stroke-width: .9; }
.plan .hatch { stroke: rgba(244, 241, 238, .35); stroke-width: .6; }
.plan .opening { fill: var(--ink-3); }
.plan .win { stroke: rgba(244, 241, 238, .75); stroke-width: .7; fill: none; }
.plan .door { fill: none; stroke: rgba(244, 241, 238, .55); stroke-width: .7; stroke-dasharray: 2 2; }
.plan .drain-old { fill: none; stroke: rgba(244, 241, 238, .45); stroke-width: 1; stroke-dasharray: 4 3; }
.plan .sewer { fill: rgba(244, 241, 238, .75); }
.plan .pipe-new { fill: none; stroke: var(--rose-lt); stroke-width: 1.6; stroke-dasharray: 5 3; }
.plan .waste-new { fill: var(--rose-lt); }
.plan .cutband { fill: url(#cut); stroke: var(--rose-lt); stroke-width: .5; opacity: .9; }
.plan .cutline { stroke: var(--rose-lt); stroke-width: .7; }
.plan .tags text { fill: rgba(244, 241, 238, .7); font: 600 6px var(--sans); letter-spacing: .14em; }
.plan .tags .dimt { letter-spacing: .05em; font-weight: 400; }
.plan .dim { fill: none; stroke: rgba(244, 241, 238, .45); stroke-width: .5; }
.plan .ghost { fill: none; stroke: none; }
.plan .ghost.on { fill: rgba(201, 178, 176, .1); stroke: var(--rose-lt); stroke-width: .8; stroke-dasharray: 3 2; cursor: pointer; }
.plan .ghost.on.blocked { fill: rgba(244, 241, 238, .03); stroke: rgba(244, 241, 238, .3); cursor: not-allowed; }
.plan .fx { cursor: grab; touch-action: none; outline: none; }
.plan .fx.dragging { cursor: grabbing; }
.plan .fx-body, .plan .fx-floor { fill: var(--ink-2); stroke: rgba(244, 241, 238, .9); stroke-width: .9; }
.plan .fx-floor { fill: rgba(27, 27, 27, .55); }
.plan .fx-line, .plan .fx-flute, .plan .fx-glass { fill: none; stroke: rgba(244, 241, 238, .8); stroke-width: .7; }
.plan .fx-glass { stroke-width: 1.4; stroke: rgba(201, 225, 235, .85); }
.plan .fx-drain { fill: none; stroke: rgba(244, 241, 238, .9); stroke-width: .7; }
.plan .fx-dot { fill: rgba(244, 241, 238, .9); }
.plan .fx.moved .fx-body, .plan .fx.moved .fx-floor, .plan .fx.moved .fx-line, .plan .fx.moved .fx-drain, .plan .fx.moved .fx-flute { stroke: var(--rose-lt); }
.plan .fx.sel .fx-body, .plan .fx.sel .fx-floor { stroke-width: 1.6; }
.plan .fx:focus-visible .fx-body, .plan .fx:focus-visible .fx-floor { stroke: #fff; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) { .mv.live .plan .fx:not(.dragging) { transition: transform .45s var(--ease); } }
.mv-key { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .78rem; opacity: .8; margin: .6rem .3rem .1rem; list-style: none; padding: 0; }
.mv-key li::before { content: ""; display: inline-block; width: 1.4rem; height: 0; border-top: 1.5px dashed rgba(244, 241, 238, .55); vertical-align: middle; margin-right: .45rem; }
.mv-key li.new::before { border-color: var(--rose-lt); }
.mv-key li.cut::before { height: .55rem; border: 1px solid var(--rose-lt); background: repeating-linear-gradient(-45deg, var(--rose-lt) 0 1px, transparent 1px 4px); }
.mv-hint { position: absolute; left: 50%; top: .9rem; transform: translateX(-50%); background: var(--paper); color: var(--ink); font-size: .84rem; font-weight: 600; padding: .45rem .8rem; border-radius: 2px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: opacity .4s; pointer-events: none; }
.mv-hint.done { opacity: 0; }
.no-js .mv-hint, .no-js .mv-ctl, .no-js .mv-go { display: none; }
.mv-static { font-size: .95rem; opacity: .85; }
.js .mv-static { display: none; }

.mv-ctl { display: grid; gap: .75rem; margin-bottom: 1.1rem; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--rose-lt); margin-bottom: .45rem; padding: 0; }
.seg .opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg label { position: relative; flex: none; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label > span { display: block; padding: .55rem .75rem; border: 1px solid var(--line-dim); border-radius: 2px; font-size: .88rem; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.seg input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.seg input:focus-visible + span { outline: 2px solid var(--rose-lt); outline-offset: 2px; }
.seg input:disabled + span { opacity: .38; text-decoration: line-through; text-decoration-thickness: 1px; }
.seg .taken { font-size: .78rem; display: inline; }
.seg .taken:empty { display: none; }

.meter { border-top: 1px solid var(--line-dim); padding-top: 1.1rem; }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-bottom: .8rem; }
.bars span { height: .45rem; background: rgba(244, 241, 238, .14); transition: background .35s var(--ease); }
.meter[data-level="0"] .bars span:nth-child(-n+1),
.meter[data-level="1"] .bars span:nth-child(-n+2),
.meter[data-level="2"] .bars span { background: var(--rose-lt); }
.bars-k { display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin: -.4rem 0 .8rem; }
.meter-h { font: 400 1.55rem/1.2 var(--serif); margin: 0 0 .3rem; }
.meter-p { margin: 0 0 .9rem; opacity: .85; }
.under:empty { display: none; }
.under { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; font-size: .92rem; }
.under li { padding-left: 1.1rem; position: relative; opacity: .8; }
.under li::before { content: ""; position: absolute; left: 0; top: .65em; width: .5rem; height: 1px; background: rgba(244, 241, 238, .5); }
.under li[data-level="1"], .under li[data-level="2"] { opacity: 1; }
.under li[data-level="1"]::before, .under li[data-level="2"]::before { background: var(--rose-lt); height: 2px; }
.mv-fine { font-size: .82rem; opacity: .7; margin: 1rem 0 0; }
.mv-go { display: flex; flex-wrap: wrap; gap: .6rem; }
.mv-go .btn { flex: 1 1 auto; }
#piece { padding-top: 3rem; }
#piece .lede { margin-bottom: 1.4rem; }
.mv-go .reset { border-color: var(--line-dim); }
