.cal-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}@media(max-width:1080px){.cal-layout{grid-template-columns:1fr}}.cal-stage{padding:10px;display:flex;flex-direction:column;gap:10px;position:sticky;top:76px}@media(max-width:1080px){.cal-stage{position:static}}.cal-frame{position:relative;line-height:0;border-radius:8px;overflow:hidden;background:#000}.cal-frame img{width:100%;display:block;-webkit-user-select:none;user-select:none}.cal-frame-error{padding:80px 20px;text-align:center;line-height:1.5;color:var(--text-faint);font-size:12.5px;background:var(--surface-2)}.cal-svg{position:absolute;inset:0;width:100%;height:100%;cursor:crosshair;touch-action:none}.cal-svg.measuring{cursor:copy}.cal-zone{fill:#000;fill-opacity:.5;pointer-events:none}.cal-grid{fill:none;stroke:#22d3ee;stroke-opacity:.75;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}.cal-shape{fill:#f59e0b;fill-opacity:.14;stroke:#f59e0b;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}.cal-edge-label text{fill:#fff;font-weight:700;font-family:IBM Plex Mono,monospace;paint-order:stroke;stroke:#000;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.cal-handle{cursor:grab}.cal-handle:active{cursor:grabbing}.cal-handle circle{fill:#f59e0b;stroke:#000;stroke-width:2;vector-effect:non-scaling-stroke}.cal-handle text{fill:#000;font-weight:800;font-family:IBM Plex Sans,sans-serif;pointer-events:none}.cal-measure line{stroke:#ef4444;stroke-width:2.5;vector-effect:non-scaling-stroke}.cal-measure circle{fill:#ef4444}.cal-loupe{position:absolute;width:120px;height:120px;border-radius:50%;border:2px solid #f59e0b;box-shadow:var(--shadow);pointer-events:none;background-repeat:no-repeat;z-index:5}.cal-loupe:before,.cal-loupe:after{content:"";position:absolute;background:#f59e0b}.cal-loupe:before{left:59px;top:44px;width:2px;height:32px}.cal-loupe:after{top:59px;left:44px;height:2px;width:32px}.cal-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--text-dim);padding:0 4px}.cal-legend label{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:600}.cal-steps{display:flex;flex-direction:column;gap:12px}.cal-step{padding:16px;display:flex;flex-direction:column;gap:12px}.cal-step h3{font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:9px}.cal-step-n{width:22px;height:22px;border-radius:50%;background:var(--accent);color:var(--accent-ink);display:inline-flex;align-items:center;justify-content:center;font-size:11.5px;flex:none}.cal-step .segmented,.cal-step>.btn-ghost{align-self:flex-start}.cal-step .field{margin-bottom:0}.cal-unit{margin-top:-4px}.cal-input-row{display:flex;align-items:center;gap:8px}.cal-input-row .text-input{flex:1}.cal-unit-label{font-family:IBM Plex Mono,monospace;font-size:12px;color:var(--text-dim);width:18px}.cal-presets{margin-top:8px}.cal-corner-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:var(--text-dim)}.cal-corner-list li{display:flex;align-items:center;gap:9px}.cal-corner-list li.next{color:var(--text);font-weight:600}.cal-corner-list li.done{color:var(--text-faint)}.cal-dot{width:22px;height:22px;border-radius:50%;border:2px solid var(--border-strong);display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex:none}.cal-corner-list li.next .cal-dot{border-color:#f59e0b;color:#f59e0b}.cal-corner-list li.done .cal-dot{background:#f59e0b;border-color:#f59e0b;color:#000}.cal-points{min-width:0;font-size:12px}.cal-points td,.cal-points th{padding:4px 6px}.cal-points .text-input{padding:5px 7px}.cal-checks{display:flex;flex-direction:column;gap:8px}.cal-check{display:flex;gap:9px;align-items:flex-start;padding:9px 11px;border-radius:9px;font-size:12.5px;line-height:1.5;background:var(--surface-2);color:var(--text)}.cal-check svg{flex:none;margin-top:2px}.cal-check .btn{margin-top:6px}.cal-check.good svg{color:var(--good)}.cal-check.info svg{color:var(--accent-2-strong)}.cal-check.warn{background:var(--warn-soft)}.cal-check.warn svg{color:var(--warn)}.cal-check.bad{background:var(--critical-soft)}.cal-check.bad svg{color:var(--critical)}.cal-live{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#000}.cal-step-n svg{width:12px;height:12px}.cal-progress{height:6px;border-radius:3px;background:var(--surface-2);overflow:hidden}.cal-progress>div{height:100%;background:var(--accent);transition:width .6s ease}.cal-reasons{margin:0;padding-left:18px;font-size:12.5px;color:var(--text);display:flex;flex-direction:column;gap:3px}
