/* Scoped lot sheet: import beside the main viewer stylesheet. */
.lot-dim-sheet { --ld-ink: #173e32; --ld-muted: #657369; --ld-gold: #a58345; color: var(--ld-ink); background: #fffef9; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; width: 100%; min-width: 0; }
.lot-dim-sheet *, .lot-dim-sheet *::before, .lot-dim-sheet *::after { box-sizing: border-box; }
.lot-dim-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 2px 0 20px; }
.lot-dim-eyebrow { margin: 0 0 8px; color: var(--ld-muted); font-size: 10px; font-weight: 650; letter-spacing: .12em; line-height: 1.4; }
.lot-dim-title { margin: 0; font-size: clamp(26px, 5vw, 34px); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.lot-dim-area { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.lot-dim-area-label { color: var(--ld-muted); font-size: 11px; line-height: 1.3; }
.lot-dim-area strong { font-size: clamp(17px, 3.5vw, 22px); font-weight: 600; line-height: 1.2; white-space: nowrap; letter-spacing: -.025em; }
.lot-dim-figure { margin: 0; }
.lot-dim-canvas { width: 100%; max-width: 720px; margin: 0 auto; border: 1px solid #e4e8df; border-radius: 12px; overflow: hidden; background: #fafaf4; }
.lot-dim-svg { display: block; width: 100%; height: auto; overflow: hidden; font-family: inherit; }
.lot-dim-svg path, .lot-dim-svg circle { vector-effect: non-scaling-stroke; }
.lot-dim-plan-label { fill: #788579; font-size: 9px; font-weight: 600; letter-spacing: .1em; }
.lot-dim-north { fill: #657369; stroke: #657369; stroke-width: 1; }
.lot-dim-north path { fill: none; }
.lot-dim-north text { stroke: none; font-size: 9px; font-weight: 650; }
.lot-dim-outline { fill: #e4ebdc; stroke: #173e32; stroke-width: 1.5; stroke-linejoin: round; }
.lot-dim-edge { fill: none; stroke: transparent; stroke-width: 1; pointer-events: none; }
.lot-dim-center { text-anchor: middle; fill: #173e32; pointer-events: none; }
.lot-dim-center-id { font-size: 23px; font-weight: 650; letter-spacing: -.02em; }
.lot-dim-center-area { font-size: 17px; font-weight: 450; fill: #566d58; font-variant-numeric: tabular-nums; }
.lot-dim-extension { fill: none; stroke: #8a9a87; stroke-width: .65; }
.lot-dim-measure, .lot-dim-arrow, .lot-dim-tick { fill: none; stroke: #8b723f; stroke-width: .85; }
.lot-dim-leader { fill: none; stroke: #a68e5e; stroke-width: .8; stroke-dasharray: 2 3; }
.lot-dim-dot { fill: #a58345; stroke: none; }
.lot-dim-label-box rect { fill: #fafaf4; stroke: none; }
.lot-dim-reference .lot-dim-label-box rect { fill: #f0eadb; stroke: #ddcfad; stroke-width: .6; }
.lot-dim-measure-text { fill: #31523d; font-weight: 500; font-variant-numeric: tabular-nums; }
.lot-dim-reference .lot-dim-measure-text { fill: #765d2e; font-weight: 600; }
.lot-dim-annotation.is-active .lot-dim-label-box rect { fill: #dfc88f; }
.lot-dim-highlight { fill: none; stroke: #b17d25; stroke-width: 3.5; stroke-linecap: round; pointer-events: none; }
.lot-dim-caption { margin: 13px 0 0; color: var(--ld-muted); font-size: 12px; line-height: 1.6; }
.lot-dim-active { min-height: 21px; margin: 5px 0 16px; color: #526650; font-size: 12px; line-height: 1.6; }
.lot-dim-details { border-top: 1px solid #e1e7da; border-bottom: 1px solid #e1e7da; }
.lot-dim-details > summary { min-height: 48px; padding: 15px 3px; color: #173e32; font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.4; touch-action: manipulation; }
.lot-dim-details > summary::marker { color: #9a7a3e; font-size: 12px; }
.lot-dim-details > summary:focus-visible, .lot-dim-segment:focus-visible { outline: 2px solid #437d60; outline-offset: 3px; border-radius: 4px; }
.lot-dim-detail-note { margin: 0 0 15px; max-width: 60ch; color: var(--ld-muted); font-size: 12px; line-height: 1.6; }
.lot-dim-table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 0 0 12px; table-layout: fixed; font-size: 12px; line-height: 1.45; }
.lot-dim-table th { padding: 9px 10px; color: #6a786a; background: #f3f5ec; font-size: 10px; font-weight: 650; text-align: left; letter-spacing: .02em; }
.lot-dim-table th:first-child { width: 24%; border-radius: 5px 0 0 5px; }
.lot-dim-table th:last-child { width: 34%; text-align: right; border-radius: 0 5px 5px 0; }
.lot-dim-table td { padding: 3px 10px; border-bottom: 1px solid #edf0e7; vertical-align: middle; }
.lot-dim-table tr:last-child td { border-bottom: 0; }
.lot-dim-table tr.is-active td { background: #f5efdf; }
.lot-dim-segment { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: -7px; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: #173e32; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; touch-action: manipulation; }
.lot-dim-kind { color: #657369; overflow-wrap: anywhere; }
.lot-dim-length { color: #254c37; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lot-dim-source { margin: 12px 0 0; color: #73806f; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.lot-dim-error { margin: 0; padding: 24px; color: #657369; line-height: 1.6; }
.lot-dim-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) { .lot-dim-segment:hover { background: #e7ecdd; } .lot-dim-details > summary:hover { color: #386847; } }
@media (max-width: 520px) { .lot-dim-header { gap: 12px; padding-bottom: 16px; } .lot-dim-eyebrow { font-size: 9px; letter-spacing: .09em; } .lot-dim-center-id { font-size: 20px; } .lot-dim-center-area { font-size: 15px; } .lot-dim-caption, .lot-dim-active, .lot-dim-detail-note { font-size: 11px; } .lot-dim-table th, .lot-dim-table td { padding-left: 7px; padding-right: 7px; } }
@media print { .lot-dim-details { break-inside: avoid; } .lot-dim-details > * { display: block; } .lot-dim-details > table { display: table; } .lot-dim-active { display: none; } }
