.floor-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.floor-kpis .metric{padding:13px}
.floor-kpis .value{font-size:clamp(19px,1.9vw,26px);font-variant-numeric:tabular-nums}
.floor-kpis .label{min-height:38px;font-weight:550}
.floor-layout{display:grid;grid-template-columns:minmax(0,1.78fr) minmax(300px,1fr);gap:16px;align-items:start}
.floor-card-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}
.floor-card-heading p{margin:4px 0 0}
.floor-card-heading .sub{display:block}
.floor-room-picker{display:grid;gap:4px;font-size:13px;color:var(--muted);max-width:52%}
.floor-room-picker select{max-width:100%}
.floor-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px;margin:14px 0 9px}
.floor-tabs,.floor-zoom{display:flex;flex-wrap:wrap;gap:4px}
.floor-tools button{padding:7px 9px}
.floor-tools button[aria-pressed=true]{background:#eaf1ff;border-color:#b7ccf8;color:#174dbd}
.floor-tools button:disabled{opacity:.45;cursor:default}
.floor-scroll{overflow:auto;max-height:630px;border:1px solid #e0e9f4;border-radius:10px;background:#f2f6fa}
.floor-map{display:block;height:auto;max-width:none;user-select:none}
.floor-outline{fill:#fefefe;stroke:#7085a3;stroke-width:4}
.floor-map-pdf .floor-outline{display:none}
.floor-grid{pointer-events:none;stroke:#5d7495;stroke-opacity:.32;stroke-width:1.5;stroke-dasharray:10 7}
.floor-grid text{fill:#536987;stroke:none;opacity:.85;font-size:18px;text-anchor:middle}
.floor-columns{pointer-events:none;fill:#fcfdff;stroke:#6a81a1;stroke-width:2.3}
.floor-partitions{pointer-events:none;fill:none;stroke:#5d7495;stroke-width:2.8}
.floor-room-shape{stroke:#526c90;stroke-width:2.8;stroke-linejoin:round}
.floor-zone{cursor:pointer;outline:none}
.floor-zone text{pointer-events:none;fill:#182e4d;stroke:#fff;stroke-width:3;paint-order:stroke;text-anchor:middle;font-size:25px;font-weight:760}
.floor-zone .floor-small{font-size:19px}
.floor-zone .floor-map-value{font-size:19px;font-weight:650}
.floor-zone:hover .floor-room-shape,.floor-zone:focus-visible .floor-room-shape,.floor-zone-selected .floor-room-shape{stroke:#1d58d0;stroke-width:5.5}
.floor-zone:focus-visible .floor-room-shape{stroke-dasharray:7 4}
.floor-map-pdf .floor-room-shape{fill-opacity:.52}
.floor-legend{display:flex;gap:7px 13px;flex-wrap:wrap;margin:12px 0;color:var(--muted);font-size:13px}
.floor-legend span{display:inline-flex;gap:5px;align-items:center}
.floor-legend i{display:block;width:11px;height:11px;border-radius:3px;border:1px solid #182e4d22}
.floor-detail-block{padding:14px 0;border-bottom:1px solid var(--line)}
.floor-detail-block p{margin:7px 0;line-height:1.45}
.floor-details > details:last-child,.floor-plan-card > details:last-child{border-bottom:0;padding-bottom:0}
.floor-action h3{margin-top:8px}
.floor-bars{display:grid;gap:8px;margin:8px 0}
.floor-bars-row,.floor-delta{display:grid;grid-template-columns:1fr auto;gap:5px 8px;font-size:14px}
.floor-bars-row strong,.floor-delta strong,.floor-pay-summary strong{font-variant-numeric:tabular-nums}
.floor-delta{align-items:center;background:#f4f7fb;padding:8px 9px;border-radius:7px;margin-top:8px}
.floor-money-risk{color:#963736}
.pill.red{color:#923a3e;background:#fbe7e7}
.floor-effect{margin-top:10px}
.floor-effect strong{display:block;font-size:25px;margin:2px 0 4px}
.floor-empty{color:var(--muted);font-size:14px}
.floor-pay-summary{display:grid;gap:6px}
.floor-pay-table{min-width:355px}
.floor-pay-table td,.floor-pay-table th{padding:8px 5px}
@media(max-width:1200px){.floor-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.floor-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.floor-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.floor-kpis .metric{padding:9px}.floor-map-value{display:none}.floor-card-heading{flex-wrap:wrap}.floor-room-picker{max-width:100%}}

.floor-tour-card{margin-bottom:16px;background:#fff;border-top:3px solid #6690ef}
.floor-tour-launch,.floor-tour-body{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.floor-tour-launch p,.floor-tour-body p{margin:5px 0 0}
.floor-tour-body{margin-top:13px;padding:13px;background:#edf3ff;border-radius:9px}
.floor-tour-body h2{margin-top:2px}
.floor-tour-body p{max-width:65ch}
.floor-tour-buttons{display:flex;flex-wrap:wrap;gap:6px}
.floor-story-controls{display:grid;gap:10px;margin-top:13px;padding:10px;background:#f4f7fb;border:1px solid var(--line);border-radius:9px}
.floor-months label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px}
.floor-months label output{color:#174dbd}
.floor-months input,.floor-sim input[type=range]{width:100%;margin:8px 0 0;accent-color:#275fe2}
.floor-month-labels{display:flex;justify-content:space-between}
.floor-month-step{font-size:13px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--muted)}
.floor-month-step[aria-pressed=true]{background:#dbe8ff;color:#174dbd;font-weight:700}
.floor-compare{display:flex;flex-wrap:wrap;gap:6px}
.floor-compare button[aria-pressed=true]{background:#e5eeff;color:#174dbd;border-color:#adc5f5}
.floor-forecast-summary{padding:10px;margin-top:8px;background:#eaf4ff;border:1px solid #cadef6;border-radius:8px;font-size:14px}
.floor-forecast-summary div{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:5px}
.floor-forecast-summary p{margin:5px 0 0}
.floor-why,.floor-sim{margin-top:11px;padding:11px;background:#f5f8fc;border-radius:8px}
.floor-vent-chart{margin:9px 0 4px}
.floor-vent-row{display:grid;gap:1px;font-size:13px;color:var(--muted)}
.floor-vent-row svg{display:block;width:100%;height:22px}
.floor-vent-ticks{display:flex;justify-content:space-between;gap:3px;color:var(--muted);font-size:12px}
.floor-sim-inputs{display:grid;gap:8px}
.floor-sim-inputs label{display:grid;gap:3px;color:var(--muted);font-size:14px}
.floor-sim-inputs input[type=number]{width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:6px;font:inherit;color:#24344a}
.floor-sim-inputs output{font-weight:700;color:#174dbd}
@media(min-width:540px) and (max-width:1050px){.floor-story-controls{grid-template-columns:1fr auto;align-items:center}}

.floor-task{margin:14px 0;border:1px solid #cbdaf4;border-radius:9px;background:#f4f8ff}
.floor-task>summary{padding:11px 12px;cursor:pointer;color:#174dbd;font-weight:680}
.floor-task[open]>summary{border-bottom:1px solid #dce6f6}
.floor-task-content{padding:12px}
.floor-task-content p{margin:8px 0;line-height:1.45}
.floor-task-heading{display:flex;flex-wrap:wrap;gap:7px;justify-content:space-between;align-items:start}
.floor-task-heading h3{margin:4px 0 0}
.floor-task-fields,.floor-task-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:11px 0}
.floor-task-fields label,.floor-task-metrics div{display:grid;gap:4px;font-size:13px}
.floor-task-fields select,.floor-task-fields input{width:100%;border:1px solid var(--line);border-radius:7px;background:white;padding:7px;font:inherit;color:#24344a}
.floor-task-metrics div{padding:8px;border-radius:7px;background:#fff;border:1px solid #e0e9f7}
.floor-task-metrics strong{font-size:15px}
.floor-task-checklist{list-style:none;padding:0;margin:5px 0;display:grid;gap:7px}
.floor-task-checklist label{display:flex;align-items:start;gap:6px;font-size:14px}
.floor-task-checklist input{margin-top:3px;accent-color:#215be0}
@media(max-width:375px){.floor-task-fields{grid-template-columns:1fr}}
