.prose h2[id] { scroll-margin-top: 92px; }
.fig { margin: 1.8rem 0; }
.fig__frame { border: 1px solid var(--line); border-left: 4px solid var(--cove); border-radius: var(--radius); background: var(--paper); padding: 1rem; }
.fig svg { display: block; width: 100%; height: auto; }
.fig__cap { font-family: var(--f-mono); font-size: .74rem; line-height: 1.6; color: var(--ink-soft); margin: .55rem 0 0; letter-spacing: .02em; }
.fig__src { font-family: var(--f-mono); font-size: .7rem; line-height: 1.7; color: var(--ink-soft); margin: .5rem 0 0; overflow-wrap: anywhere; }
.fig__src b { color: var(--ink); font-weight: 500; }
.fig__title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin: 0 0 .75rem; }
figure svg.viz-phone { display: none !important; }
@media (max-width: 700px) {
figure svg.viz-wide { display: none !important; }
figure svg.viz-phone { display: block !important; }
}
.fig--photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper-2); }
.prose > .fig--hero:first-child { margin-top: 0; }
.dtable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.dtable th, .dtable td { text-align: left; padding: .6rem .7rem; vertical-align: top; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; color: var(--ink); }
.dtable thead th { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--eucalypt); border-bottom: 2px solid var(--line); }
.dtable tbody tr:last-child td, .dtable tbody tr:last-child th { border-bottom: 0; }
.dtable tbody th { font-weight: 600; min-width: 9rem; overflow-wrap: normal; }
.dtable tbody th .cf-code { display: block; width: fit-content; margin: 0 0 .3rem; }
.dtable ul { margin: 0; padding-left: 1.05rem; }
.dtable li { margin: 0 0 .3rem; }
.cf-code { display: inline-block; min-width: 2.4rem; font-family: var(--f-mono); font-weight: 500; font-size: .9rem; color: #fff; background: var(--cove); border-radius: 3px; padding: .05rem .4rem; margin-right: .35rem; text-align: center; }
.cf-c3 .cf-code { background: #7fa39c; }
.cf-c4 .cf-code { background: #4f7f77; }
.cf-c5 .cf-code { background: #2c6a61; }
.cf-cx .cf-code { background: var(--cove-d); }
@media (max-width: 640px) {
.dtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dtable tr { display: block; margin-bottom: .7rem; padding: .45rem .2rem; border: 1px solid var(--line); border-left: 4px solid var(--cove); border-radius: var(--radius); background: #fbf8f1; }
.dtable td, .dtable th { display: block; border: 0 !important; padding: .3rem .8rem; }
.dtable td.dt-blank { display: none; }
.dtable tbody tr:last-child { margin-bottom: 0; }
.dtable td[data-l]::before { content: attr(data-l); display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--eucalypt); }
}
.chk { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fbf8f1; }
.chk li { margin: 0; padding: .05rem .95rem; border-top: 1px solid var(--line-soft); }
.chk li:first-child { border-top: 0; }
.chk label { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; padding: .65rem 0; font-size: .97rem; line-height: 1.5; color: var(--ink); }
.chk input { flex: none; width: 1.05rem; height: 1.05rem; margin: .22rem 0 0; accent-color: var(--cove); }
.chk input:checked + span { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: var(--eucalypt); }
@media print { .chk li { break-inside: avoid; } }
.cf-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.cf-block { margin: 0; padding: .8rem .9rem .9rem; background: #fbf8f1; border: 1px solid var(--line); border-top: 4px solid var(--cove); border-radius: var(--radius); display: flex; flex-direction: column; gap: .45rem; }
.cf-block-h { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em; color: var(--cove-d); }
.cf-block ul { margin: 0; padding: 0; list-style: none; }
.cf-block li { margin: 0; padding: .4rem 0; border-top: 1px solid var(--line-soft); font-size: .9rem; line-height: 1.45; color: var(--ink); }
.cf-block li .cf-code { font-size: .78rem; min-width: 2rem; }
.cf-fn { margin-top: auto !important; padding-top: .35rem; font-family: var(--f-mono); font-size: .66rem; line-height: 1.6; color: var(--ink-soft); overflow-wrap: anywhere; }
@media (max-width: 760px) { .cf-glance { grid-template-columns: 1fr; } }
.srcs { list-style: none; padding: 0; margin: 0; }
.srcs li { margin-bottom: .8rem; font-size: .95rem; overflow-wrap: anywhere; }
.ws-panels { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.4rem; }
.ws-panel { padding: 1rem; background: #fbf8f1; border: 1px solid var(--line); border-radius: var(--radius); }
.ws-bars { list-style: none; margin: 0; padding: 0; }
.ws-bars li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) 2.6rem; align-items: center; gap: .2rem .5rem; margin: 0 0 .8rem; }
.ws-yr { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-soft); }
.ws-track { display: block; height: 22px; }
.ws-fill { display: block; height: 100%; background: var(--steel); border-radius: 0 3px 3px 0; }
.ws-fill.is-rec { background: var(--cove-d); }
.ws-num { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1; color: var(--ink); }
.ws-tag { grid-column: 2 / -1; margin: 0; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); }
.ws-one { display: flex; align-items: center; gap: .5rem; }
.ws-one-bar { flex: 1; display: block; height: 30px; background: #9fb6c0; border-radius: 3px; overflow: hidden; }
.ws-one-seg { display: block; height: 100%; background: repeating-linear-gradient(135deg, #2f6f8f 0 6px, #3f84a6 6px 12px); }
.ws-key { display: flex; align-items: center; gap: .5rem; margin: .5rem 0 0; font-size: .88rem; color: var(--ink); }
.ws-sw { flex: none; display: inline-block; width: 16px; height: 16px; border-radius: 2px; background: repeating-linear-gradient(135deg, #2f6f8f 0 4px, #3f84a6 4px 8px); }
@media (max-width: 700px) { .ws-panels { grid-template-columns: minmax(0, 1fr); } }
.ws-plan { max-width: 640px; margin: 0 auto; }
.ws-lawn { fill: #dfe7d4; }
.ws-house { fill: var(--paper-2); stroke: var(--steel); stroke-width: 2; }
.ws-zone { fill: none; stroke: #9fb6c0; stroke-width: 30; opacity: .45; }
.ws-paving { fill: var(--paper); }
.ws-pool { fill: #8fc3d8; stroke: #2f6f8f; stroke-width: 3; }
.ws-fence { stroke: var(--ink); stroke-width: 5; fill: none; }
.ws-fence--b { stroke: var(--timber-d); stroke-width: 9; }
.ws-gate { stroke: var(--cove); stroke-width: 5; stroke-linecap: round; }
.ws-hinge { fill: var(--ink); }
.ws-sign { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.ws-route { fill: none; stroke: var(--cove); stroke-width: 3; stroke-dasharray: 9 7; }
.ws-stop { fill: var(--cove); stroke: #fff; stroke-width: 2; }
.ws-stop-n { font: 600 16px var(--f-body); fill: #fff; }
.ws-walker { fill: var(--timber); }
.ws-lab { font: 500 14px var(--f-mono); fill: var(--ink-soft); }
.ws-lab--w { fill: var(--ink); font-weight: 600; }
.ws-keys { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem 1.2rem; }
.ws-keys li { display: flex; gap: .55rem; align-items: flex-start; margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink); }
.ws-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--cove); color: #fff; font-size: .8rem; font-weight: 600; }
@media (max-width: 700px) { .ws-keys { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ws-walker { display: none; } }
.ws-tick { width: 3.5rem; text-align: center !important; }
.ws-tick input { width: 1.2rem; height: 1.2rem; accent-color: var(--cove); }
@media (max-width: 640px) { .ws-measure td.ws-tick { text-align: left !important; } .ws-measure td.ws-tick::before { content: "Tick "; font-family: var(--f-mono); font-size: .72rem; } }
.ws-arc { fill: #9fb6c0; opacity: .55; }
.ws-strip { fill: #8fc3d8; opacity: .55; }
.ws-ground { stroke: var(--ink); stroke-width: 3; }
.ws-fencex { stroke: var(--ink); stroke-width: 6; }
.ws-picket { stroke: var(--ink); stroke-width: 2; }
.ws-dim { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.ws-dimt { font: 600 15px var(--f-mono); fill: var(--ink); }
.ws-ico { fill: none; stroke: var(--steel); stroke-width: 2.5; stroke-linejoin: round; }
.ws-x { stroke: #a4271c; stroke-width: 4; stroke-linecap: round; }
.ws-ok { fill: none; stroke: var(--eucalypt); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.ws-zkey { list-style: none; margin: .7rem 0 0; padding: 0; }
.ws-zkey li { display: flex; gap: .55rem; align-items: center; margin: 0 0 .35rem; font-size: .92rem; color: var(--ink); }
.ws-sw--arc { background: #9fb6c0; }
.ws-sw--strip { background: #8fc3d8; }
.ws-person { fill: none; stroke: var(--steel); stroke-width: 2.5; }
.ws-line { list-style: none; position: relative; margin: 1rem .5rem 0; padding: 0; height: 7.5rem; border-top: 5px solid var(--cove); }
.ws-line li { position: absolute; top: -12px; left: var(--at); width: 9.5rem; margin: 0; padding-top: 1.2rem; transform: translateX(-50%); text-align: center; }
.ws-line li:first-child { transform: none; text-align: left; }
.ws-line li:last-child { transform: translateX(-100%); text-align: right; }
.ws-line li::before { content: ""; position: absolute; top: 2px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--cove); border: 2px solid #fff; border-radius: 50%; }
.ws-line li:first-child::before { left: 0; margin-left: 0; }
.ws-line li:last-child::before { left: auto; right: 0; }
.ws-line li.is-day::before { background: var(--timber); width: 18px; height: 18px; margin-left: -9px; top: 0; }
.ws-d { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; line-height: 1.15; color: var(--ink); }
.ws-t { display: block; font-size: .85rem; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 640px) {
.ws-line { height: auto; border-top: 0; border-left: 5px solid var(--cove); margin: .5rem 0 0 .5rem; padding: 0 0 0 1rem; }
.ws-line li { position: relative; left: auto; top: auto; width: auto; transform: none !important; text-align: left !important; padding: 0 0 .9rem; }
.ws-line li::before { left: calc(-1rem - 10px) !important; right: auto !important; margin-left: 0 !important; top: 2px; }
}
.ws-glance { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 640px) { .ws-dimt { font-size: 21px; } .ws-lab { font-size: 18px; } }