/* Geometry editors: layout, readable answers and functional drawings. Controls use the shared theme. */
.public-app-shell .en-geometry-review{font-size:18px;line-height:1.6;color:var(--ui-ink);overflow-wrap:anywhere;min-width:0}
.public-app-shell .en-geometry-review .geo-metrics{margin:24px 0}
.public-app-shell .en-geometry-review .geo-answer .labor-hours__note{grid-column:1/-1;margin:0}
.public-app-shell .en-geometry-review .geo-answer .labor-hours__actions{grid-column:1/-1}
.public-app-shell .en-geometry-review *{box-sizing:border-box;min-width:0}
.public-app-shell .en-geometry-review [hidden]{display:none!important}
.public-app-shell .en-geometry-review :is(h2,h3){margin:0 0 16px;color:inherit}
.public-app-shell .en-geometry-review p{margin:0 0 16px;color:inherit}
.public-app-shell .en-geometry-review small{display:block;font-size:16px;line-height:1.5;color:var(--ui-muted)}
.public-app-shell .en-geometry-review :is(a){color:var(--color-primary)}
.public-app-shell .en-geometry-review .geo-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12em),1fr));gap:8px 24px;margin:24px 0}
.public-app-shell .en-geometry-review .geo-fields>label{display:grid;grid-row:span 3;grid-template-rows:subgrid;gap:8px;margin-bottom:16px}
.public-app-shell .en-geometry-review .geo-fields>label>:is(input,select,.building-quick__mixed,.water-quick__control){grid-row:2;width:100%;align-self:start}
.public-app-shell .en-geometry-review .geo-label{align-self:end}
.public-app-shell .en-geometry-review :is(input,select){width:100%;min-width:0}
.public-app-shell .en-geometry-review :is(.area-lab__workspace,.volume-lab__workspace){padding:0;border:0;background:transparent;margin-top:32px}
.public-app-shell .en-geometry-review :is(.area-lab__tabs,.volume-lab__tabs){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9em),1fr));gap:12px;margin-bottom:24px}
.public-app-shell .en-geometry-review :is(.area-lab__mode,.volume-lab__mode){border-top:1px solid var(--ui-line);padding-top:24px}
.public-app-shell .en-geometry-review :is(.area-lab__examples,.volume-lab__examples,.room-plan__presets,.water-quick__presets){display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0}
.public-app-shell .en-geometry-review :is(.area-lab__visuals,.volume-lab__visuals){display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:24px 0}
.public-app-shell .en-geometry-review :is(.area-lab__chart,.volume-lab__chart){min-width:0}
.public-app-shell .en-geometry-review .geo-diagram-pan{max-width:100%;overflow:auto;background:#fff;color:#344054;border-radius:var(--radius-box);padding:8px}
/* Fixed glyph sizes are part of the frozen drawing engines. Enlarge the entire drawing and allow pan. */
.public-app-shell .en-geometry-review .geo-diagram-pan canvas{display:block;width:600px!important;min-width:600px;max-width:none;max-height:none;zoom:1.5}
.public-app-shell .en-geometry-review :is(.area-lab__formula,.volume-lab__formula){padding:16px;background:var(--color-base-100);border:1px solid var(--ui-line);border-radius:var(--radius-box);font-family:ui-monospace,SFMono-Regular,monospace;font-size:16px;line-height:1.6}
.public-app-shell .en-geometry-review :is(.area-lab__warning,.volume-lab__warning){margin-top:16px}
.public-app-shell .en-geometry-review :is(.area-lab__error,.volume-lab__error):empty{display:none}
.public-app-shell .en-geometry-review :is(.area-lab__error,.volume-lab__error){margin:24px 0}
.public-app-shell .en-geometry-review :is(.area-lab__detail,.volume-lab__detail,.volume-converter){margin:32px 0}
.public-app-shell .en-geometry-review :is(.area-lab__table-scroll,.volume-lab__table-scroll,.volume-converter__reference,.water-quick__reference){max-width:100%;overflow-x:auto;margin:24px 0}
.public-app-shell .en-geometry-review table{width:100%}
.public-app-shell .en-geometry-review table :is(td,th){font-size:18px;white-space:normal;min-width:8em}
.public-app-shell .en-geometry-review :is(.area-lab__content,.volume-lab__content){display:grid;grid-template-columns:1fr;gap:16px;margin-top:32px}
.public-app-shell .en-geometry-review :is(.km-collapse,.geo-presets){margin:16px 0}
.public-app-shell .en-geometry-review .km-collapse>.km-collapse{margin-inline:0}
.public-app-shell .en-geometry-review :is(.room-plan,.building-quick,.water-quick){margin:0 0 32px;background:transparent;border:0;border-radius:0;padding:0}
.public-app-shell .en-geometry-review :is(.room-plan__head,.room-plan__body,.building-quick__grid,.water-quick__grid){display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.public-app-shell .en-geometry-review .room-plan__head{gap:0}
.public-app-shell .en-geometry-review :is(.room-plan__rows,.area-lab__rows,.volume-lab__rows){display:grid;gap:24px;margin:24px 0}
.public-app-shell .en-geometry-review :is(.room-plan__row,.area-lab__row,.volume-lab__row){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10em),1fr));gap:8px 16px;padding:16px;border:1px solid var(--ui-line);border-radius:var(--radius-box);background:var(--color-base-100)}
.public-app-shell .en-geometry-review :is(.room-plan__row,.area-lab__row,.volume-lab__row)>label{display:grid;grid-template-rows:subgrid;grid-row:span 3;gap:8px;margin-bottom:16px}
.public-app-shell .en-geometry-review :is(.room-plan__row,.area-lab__row,.volume-lab__row)>label>:is(input,select){grid-row:2;width:100%}
.public-app-shell .en-geometry-review :is(.room-plan__remove,.area-lab__remove,.volume-lab__remove){align-self:start;justify-self:start}
.public-app-shell .en-geometry-review .room-plan__area{font-size:16px;font-weight:650}
.public-app-shell .en-geometry-review :is(.area-lab__head,.volume-lab__head){display:none}
.public-app-shell .en-geometry-review .room-plan__controls>button{grid-row:span 3;align-self:center}
.public-app-shell .en-geometry-review :is(.building-quick__mixed,.water-quick__control){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.public-app-shell .en-geometry-review .building-quick__mixed>span{display:grid;gap:8px}
.public-app-shell .en-geometry-review .building-quick__mixed em{font-style:normal;font-size:16px;color:var(--ui-muted)}
.public-app-shell .en-geometry-review :is(.building-quick__eyebrow,.water-quick__eyebrow,.volume-converter__badge){font-size:16px;color:var(--ui-muted);margin-bottom:8px}
.public-app-shell .en-geometry-review :is(.building-quick__handoff,.building-quick__note){margin-top:24px}
.public-app-shell .en-geometry-review .building-quick__handoff a{display:inline-flex;align-items:center;min-height:44px}
.public-app-shell .en-geometry-review .geo-svg-pan{overflow:auto;max-width:100%;background:#f8fafc;color:#344054;padding:16px;border-radius:var(--radius-box)}
.public-app-shell .en-geometry-review .geo-svg-pan svg{display:block;width:100%;height:auto;min-width:360px}
.public-app-shell .en-geometry-review .geo-svg-pan p{color:#344054;margin:16px 0 0;font-size:18px}
.public-app-shell .en-geometry-review .room-plan__visual svg{min-width:360px}
.public-app-shell .en-geometry-review .building-quick__visual svg{min-width:380px}
.public-app-shell .en-geometry-review .water-quick__visual svg{min-width:360px}
.public-app-shell .en-geometry-review .room-plan__visual{align-self:start}
.public-app-shell .en-geometry-review :is(.building-quick__floor,.water-quick__depth){transition:opacity .2s ease}
.public-app-shell .en-geometry-review .room-plan__row.is-excluded{border-style:dashed}
.public-app-shell .en-geometry-review .volume-converter__swap{align-self:center;grid-row:span 3}
.public-app-shell .en-geometry-review .volume-converter__head{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}
@media(min-width:1100px){
 .public-app-shell .en-geometry-review :is(.room-plan__body,.building-quick__grid,.water-quick__grid){grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
 .public-app-shell .en-geometry-review :is(.area-lab__content,.volume-lab__content){grid-template-columns:repeat(2,minmax(0,1fr))}
 .public-app-shell .en-geometry-review :is(.area-lab__wide,.volume-lab__wide){grid-column:1/-1}
}
@media(max-width:767px){
 .public-app-shell .en-geometry-review :is(.room-plan,.building-quick,.water-quick,.area-lab__workspace,.volume-lab__workspace){padding:0;border:0;background:transparent}
 .public-app-shell .en-geometry-review .geo-fields{grid-template-columns:minmax(0,1fr)}
 .public-app-shell .en-geometry-review :is(.area-lab__row,.volume-lab__row,.room-plan__row){grid-template-columns:minmax(0,1fr)}
 .public-app-shell .en-geometry-review .volume-converter__swap{grid-row:auto;justify-self:start}
}
@media(prefers-reduced-motion:reduce){.public-app-shell .en-geometry-review :is(.building-quick__floor,.water-quick__depth){transition:none}}

/* Tabular data keeps readable column widths with native horizontal access. */
.public-app-shell .en-geometry-review[data-ui-reviewed] .km-table{table-layout:auto;width:100%}
.public-app-shell .en-geometry-review[data-ui-reviewed] .km-table :is(th,td){min-width:8em;overflow-wrap:normal}
.public-app-shell .en-geometry-review[data-ui-reviewed] .km-table td{white-space:nowrap}
