@media (max-width: 640px) { figure svg.dg-wide { display: none !important; } }
@media (min-width: 641px) { figure svg.dg-tall { display: none !important; } }
.iv-hero { margin: 0 0 2.2rem; }
.prose p.room-head { margin: 1.5rem 0 .35rem; font-family: var(--display); font-size: 1.12rem; }
.prose p.room-head + ul { margin-top: 0; }
.iv-bar { fill: var(--brick); }
.iv-bar-2 { fill: var(--bay); }
.iv-track { fill: var(--concrete); }
.iv-grid { stroke: oklch(0.27 0.025 40 / .16); stroke-width: 1; }
.iv-tick { stroke: oklch(0.27 0.025 40 / .5); stroke-width: 1.2; }
.dg text.iv-ax { font-size: 12px; fill: oklch(0.27 0.025 40 / .75); }
.dg text.iv-end { font-weight: 600; font-size: 13px; }
.dg text.iv-ttl { font-family: var(--display); font-weight: 700; font-size: 14px; }
.dg text.iv-in { fill: var(--paper); font-weight: 600; font-size: 13px; }
.iv-note { font-size: .92rem; background: var(--concrete); border-radius: 8px; padding: .7rem .9rem; margin: .8rem 0 0; }
.iv-plan-fig { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.2rem 1.6rem; align-items: start; }
.iv-plan-fig > figcaption { grid-column: 1 / -1; }
.iv-wall { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: square; }
.iv-part { fill: none; stroke: var(--ink); stroke-width: 2.4; }
.iv-yard { fill: oklch(0.44 0.068 195 / .16); }
.iv-floor { fill: var(--paper); }
.iv-garage { fill: var(--concrete); }
.iv-deck { fill: var(--manila); stroke: oklch(0.27 0.025 40 / .35); stroke-width: 1; }
.iv-board { fill: none; stroke: oklch(0.27 0.025 40 / .2); stroke-width: 1; }
.iv-hatch { fill: oklch(0.5 0.125 33 / .1); stroke: var(--brick); stroke-width: 1.6; stroke-dasharray: 4 3; }
.iv-route { fill: none; stroke: var(--brick); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .1 7; }
.iv-thing { fill: var(--paper); stroke: oklch(0.27 0.025 40 / .45); stroke-width: 1.2; }
.iv-pot { fill: oklch(0.44 0.068 195 / .55); }
.dg text.iv-rm { font-size: 13px; fill: oklch(0.27 0.025 40 / .82); }
.dg text.iv-door { font-size: 12px; font-weight: 600; fill: var(--brick); }
.iv-key { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.iv-key li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .05rem .6rem; padding: .5rem 0; border-bottom: 1px solid oklch(0.27 0.025 40 / .12); line-height: 1.4; }
.iv-key li:first-child { padding-top: 0; }
.iv-n { grid-row: span 2; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bay); color: var(--paper); font-family: var(--display); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.iv-key b { font-weight: 600; }
.iv-key .iv-miss { grid-column: 2; font-size: .9rem; color: oklch(0.27 0.025 40 / .82); }
.iv-miss em { font-style: normal; font-weight: 600; color: var(--brick); }
.iv-sheet { background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.2rem; }
.iv-sheet .kicker { display: block; margin-bottom: .3rem; }
.iv-legend { font-size: .9rem; margin: 0 0 1rem; color: oklch(0.27 0.025 40 / .85); }
.iv-rooms { display: grid; gap: 1.3rem 1.8rem; }
.iv-rt { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.iv-rt caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.04rem; padding: 0 0 .3rem; }
.iv-rt th { font-size: .76rem; font-weight: 600; color: var(--bay); text-align: left; padding: .3rem .25rem; border-bottom: 1.5px solid oklch(0.27 0.025 40 / .3); vertical-align: bottom; line-height: 1.25; }
.iv-rt td { padding: .3rem .25rem; border-bottom: 1px solid oklch(0.27 0.025 40 / .14); vertical-align: middle; line-height: 1.3; }
.iv-rt .c-item { width: 26%; } .iv-rt .c-qty { width: 7%; } .iv-rt .c-pile { width: 46%; } .iv-rt .c-act { width: 10%; } .iv-rt .c-notes { width: 11%; }
.iv-box { display: inline-block; width: .8rem; height: .8rem; border: 1.5px solid oklch(0.27 0.025 40 / .55); border-radius: 3px; margin-right: .25rem; vertical-align: -.08rem; }
.iv-pile { display: flex; flex-wrap: wrap; gap: .1rem .5rem; font-size: .76rem; }
.iv-pile span { white-space: nowrap; }
.iv-rt tr.iv-blank td { height: 1.9rem; }
.iv-foot { margin: 1.1rem 0 0; padding-top: .8rem; border-top: 1px solid oklch(0.27 0.025 40 / .14); font-weight: 600; }
.iv-carton-art { display: block; width: 100%; max-width: 31rem; height: auto; margin: 0 auto; }
.iv-card-fill { fill: oklch(0.8 0.07 72); stroke: oklch(0.42 0.06 60); stroke-width: 1.4; }
.iv-card-top { fill: oklch(0.86 0.06 76); stroke: oklch(0.42 0.06 60); stroke-width: 1.4; }
.iv-card-side { fill: oklch(0.72 0.07 68); stroke: oklch(0.42 0.06 60); stroke-width: 1.4; }
.iv-tape { fill: oklch(0.9 0.04 80 / .85); }
.iv-cut { fill: oklch(0.6 0.06 62); }
.iv-paper { fill: oklch(0.96 0.012 85); stroke: oklch(0.27 0.025 40 / .35); stroke-width: 1; }
.iv-goods { fill: oklch(0.44 0.068 195 / .5); stroke: oklch(0.27 0.025 40 / .4); stroke-width: 1; }
.iv-fill { fill: none; stroke: var(--brick); stroke-width: 2; stroke-dasharray: 6 4; }
.iv-dim { fill: none; stroke: var(--brick); stroke-width: 1.4; }
.dg text.iv-mark { font-family: "Comic Sans MS", "Bradley Hand", var(--body); font-size: 14px; font-weight: 600; fill: oklch(0.3 0.04 260); }
.dg text.iv-red { fill: var(--brick); font-weight: 600; }
.iv-piles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.iv-pile-card { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow); padding: 1rem 1.05rem 1.1rem; border-top: 4px solid var(--bay); }
.iv-pile-card.p2 { border-top-color: var(--brick); }
.iv-pile-card.p3 { border-top-color: oklch(0.27 0.025 40 / .45); }
.iv-pile-card svg { display: block; width: 76px; height: 56px; margin-bottom: .5rem; }
.iv-pile-card h3 { font-size: 1.06rem; margin: 0 0 .35rem; }
.iv-pile-card p { margin: 0; font-size: .95rem; }
table.plain.iv-stack { min-width: 0; margin: 0; font-size: .95rem; }
.iv-stack th, .iv-stack td { overflow-wrap: break-word; }
.iv-stack td:first-child { font-weight: 600; }
.iv-stack td:last-child { font-size: .88rem; }
.iv-stack .c1 { width: 27%; } .iv-stack .c2 { width: 50%; } .iv-stack .c3 { width: 23%; }
.iv-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.iv-tl li { position: relative; padding: 0 0 1.1rem 2.6rem; }
.iv-tl li::before { content: ""; position: absolute; left: .82rem; top: 1.7rem; bottom: 0; width: 2px; background: oklch(0.72 0.08 80); }
.iv-tl li:last-child::before { display: none; }
.iv-tl .iv-n { position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; font-size: .85rem; }
.iv-tl b { display: block; font-family: var(--display); font-size: 1.02rem; margin-bottom: .1rem; }
.iv-tl span.iv-tx { display: block; font-size: .95rem; line-height: 1.45; }
.iv-glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.iv-gc { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow); padding: .95rem 1.05rem; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; }
.iv-gc:first-child { grid-column: 1 / -1; background: var(--bay-deep); color: var(--paper); }
.iv-gc p { margin: 0; font-size: .98rem; line-height: 1.45; }
.iv-gc strong { color: var(--brick); font-family: var(--display); font-weight: 700; font-size: 1.12em; }
.iv-gc:first-child strong { color: var(--kiln); font-size: 1.45em; }
.iv-gc .iv-gsrc { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bay); }
.iv-gc:first-child .iv-gsrc { color: var(--concrete); }
@media (min-width: 1100px) {
.iv-wide { width: min(66rem, 100vw - 6rem); margin-left: calc(50% - min(33rem, 50vw - 3rem)); }
.iv-wide .iv-rooms { grid-template-columns: 1fr 1fr; }
.iv-tl.iv-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0 1rem; }
.iv-tl.iv-row li { padding: 2.6rem 0 0; }
.iv-tl.iv-row li::before { left: 1.75rem; right: -1rem; top: .86rem; bottom: auto; width: auto; height: 2px; }
.iv-tl.iv-row .iv-n { top: 0; }
}
@media (max-width: 640px) {
.iv-plan-fig { grid-template-columns: 1fr; }
.iv-piles { grid-template-columns: 1fr; }
.iv-glance { grid-template-columns: 1fr; }
.iv-sheet { padding: 1rem .75rem; }
.iv-rt { font-size: .84rem; }
.iv-rt .c-item { width: 31%; } .iv-rt .c-qty { width: 11%; } .iv-rt .c-pile { width: 30%; } .iv-rt .c-act { width: 13%; } .iv-rt .c-notes { width: 15%; }
.iv-pile { flex-direction: column; }
.iv-rt tr.iv-blank + tr.iv-blank { display: none; }
.iv-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.iv-stack, .iv-stack tbody, .iv-stack tr, .iv-stack td { display: block; }
.iv-stack tr { background: var(--paper); border-radius: 10px; box-shadow: var(--shadow); padding: .5rem 0 .7rem; margin-bottom: .9rem; }
table.plain.iv-stack td, table.plain.iv-stack tr:nth-child(even) td { border-bottom: 0; padding: .35rem 1rem; background: none; }
.iv-stack td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bay); }
.iv-stack td:first-child { font-family: var(--display); font-size: 1.08rem; }
.iv-stack td:first-child::before { display: none; }
}