
*{box-sizing:border-box}body{margin:0;background:#eee;color:#1b1b1b;font:16px/1.5 system-ui}header{background:white;border-bottom:1px solid #aaa}header>div,main{max-width:980px;margin:auto;padding:20px}header>div{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}small{font-size:14px}h1{line-height:1.12;margin:0 0 12px;font-size:clamp(2rem,6vw,3rem)}h2{font-size:1.2rem;margin:0 0 10px}p{margin:0 0 16px}nav,.actions{display:flex;gap:8px;flex-wrap:wrap}.actions{margin-top:20px}button,input,select,textarea{font:inherit}button{min-height:44px;padding:8px 14px;border:1px solid #444;background:white;color:#151515;border-radius:4px;cursor:pointer}button:hover{background:#ddd}button.primary,button[aria-current]{background:#232323;color:white}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #111;outline-offset:3px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.box{padding:20px;background:white;border:1px solid #888;border-radius:6px}.muted{color:#444}.top{margin:12px 0 20px}.plan{min-height:185px;display:grid;place-items:center;border:1px dashed #666;background:repeating-linear-gradient(45deg,#eee,#eee 10px,#e4e4e4 10px,#e4e4e4 20px);text-align:center;padding:20px}.plan span{border:1px solid #555;background:white;padding:12px}.field{display:block;margin:12px 0}.field input:not([type=checkbox]):not([type=radio]),select,textarea{display:block;width:100%;padding:8px;border:1px solid #666;border-radius:3px;background:white}fieldset{border:1px solid #aaa;margin:12px 0;padding:12px}fieldset label{display:block;padding:6px 0}table{width:100%;border-collapse:collapse;overflow-wrap:anywhere}th,td{padding:8px;text-align:left;border-bottom:1px solid #aaa;vertical-align:top}caption{text-align:left;margin-bottom:8px}.notice{margin:14px 0;padding:12px;border-left:4px solid #555;background:#eee}.design-stage{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.design-stage>.box{min-width:0}.pool-questions{margin:0 0 12px}.wizard-actions{position:sticky;bottom:0;z-index:2;padding:10px 0;background:#f4f6f6}.wizard-actions button{min-height:44px}.designer-options summary{min-height:44px;display:flex;align-items:center}@media(max-width:600px){.design-stage .plan-canvas #editor-svg{height:clamp(240px,42dvh,360px)}.pool-questions button{min-height:44px}}.design-stage .plan-canvas #editor-svg{height:clamp(350px,64vh,720px);max-height:none}.designer-options{background:#fff;border:1px solid #cbd5d8;border-radius:10px;padding:10px 14px}.designer-options summary{cursor:pointer;font-weight:650}.map-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}.map-tools output{min-width:52px;text-align:center}.map-tools button[aria-pressed="true"]{background:#253f47;color:white}.panning #editor-svg,.panning .plan-object{cursor:grab}.panning #editor-svg:active{cursor:grabbing}.plan-canvas>svg{display:block;width:100%;max-height:500px;background:#eee}.plan-object{cursor:move;touch-action:none}.plan-object:focus-visible{outline:2px solid #174d68;outline-offset:2px}.plan-canvas #editor-svg{touch-action:pan-y}.panning #editor-svg{touch-action:none}.plan-object circle[data-edge]{cursor:crosshair}.geometry-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}.geometry-fields input{width:100%}.wizard-progress{display:block;margin:0 0 16px}.wizard-progress progress{display:block;width:100%;margin-top:6px}.property-map{width:100%;height:300px;border:1px solid #aaa;margin-top:12px;display:block}.aerial{margin-bottom:18px}.aerial figure{margin:0 0 12px}.aerial img{width:100%;max-height:440px;object-fit:contain;background:#eee}.aerial figcaption{font-size:14px}.water-item{display:grid;grid-template-columns:minmax(85px,120px) 1fr;gap:10px;align-items:center;margin:10px 0}.water-item svg{width:100%}.scale-preview svg{display:block;width:min(100%,320px);margin:12px auto}.scale-preview{border-top:1px solid #888;margin-top:16px;padding-top:12px}.gallery{margin-bottom:18px}.actions[aria-label="Design steps"]{margin:0 0 16px}.layout-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin-bottom:14px}.layout-card{display:flex;flex-direction:column;gap:3px;text-align:left;padding:8px}.layout-card[aria-pressed=true]{outline:2px solid #222;outline-offset:1px;background:#e2e2e2}.layout-card svg{width:100%;display:block}.layout-card span{font-size:14px}.plan svg{width:min(100%,320px);display:block}.gallery h3{font-size:1rem;margin:10px 0}details{border-top:1px solid #aaa;padding:10px 0}summary{cursor:pointer;font-weight:650;padding:6px 0}.specs{padding-left:22px}.specs li{margin:4px 0}footer{margin:20px 0;color:#444} @media(max-width:650px){.layout{grid-template-columns:1fr}header>div,main,.box{padding:14px}th,td{padding:6px}}
@media(max-width:600px){.design-stage .plan-canvas #editor-svg{height:clamp(240px,42dvh,360px)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Mobile is the default. Canvas and questions stay in their reading order. */
.wizard-shell{min-width:0}
.wizard-content,.wizard-content>.box,.designer-settings,.designer-canvas{min-width:0}
.wizard-actions .actions{margin:0}
.wizard-actions .primary{flex:1}
.wizard-actions{padding:8px 0 max(8px,env(safe-area-inset-bottom));border-top:1px solid #d3dcde}
.designer-settings:focus-visible,.wizard-content:focus-visible{outline:2px solid #174d68;outline-offset:-3px}
#choice-feedback:empty{display:none}
@media(max-width:600px){
  .map-tools{gap:4px}
  .map-tools button{padding-inline:8px}
  .map-tools output{min-width:42px}
  .pool-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .wizard-shell .top{margin:4px 0 12px}
}
/* Desktop keeps the workspace and its actions inside the visible window. */
@media(min-width:960px) and (min-height:460px){
  body:has(.wizard-shell){height:100dvh;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
  body:has(.wizard-shell) header>div{max-width:1480px;padding:8px 20px}
  #app:has(.wizard-shell){height:100%;width:100%;min-height:0;max-width:1480px;margin:0 auto;padding:8px 20px}
  #app:has(.wizard-shell)>footer{display:none}
  .wizard-shell{height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px}
  .wizard-shell .top{margin:0}
  .wizard-shell .top h1{font-size:clamp(1.4rem,3.5vh,2.25rem);margin:0 0 4px}
  .wizard-shell .top p,.wizard-shell .wizard-progress{margin:0}
  .wizard-shell .wizard-progress progress{height:8px;margin-top:2px}
  .wizard-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .wizard-content:has(.design-stage){overflow:hidden;scrollbar-gutter:auto}
  .wizard-actions{position:static;padding:6px 0;background:transparent}
  .wizard-actions .primary{flex:0}
  .design-stage{height:100%;min-height:0;grid-template-columns:minmax(0,1fr) minmax(290px,360px);align-items:stretch;gap:12px}
  .designer-settings{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
  .designer-canvas{min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:12px}
  .designer-canvas>h2,.designer-canvas>.canvas-note,.designer-canvas #choice-feedback{flex:none;margin:0 0 4px}
  .designer-canvas #preview,.designer-canvas .shared-plan{flex:1;min-height:0;display:flex;flex-direction:column}
  .designer-canvas #preview>p,.designer-canvas #preview>ul{margin:0 0 3px;font-size:14px}
  .designer-canvas .shared-plan>p{margin:2px 0}
  .designer-canvas .shared-plan>p small,.designer-canvas .canvas-note{font-size:13px}
  .designer-canvas .map-tools{margin:0 0 4px}
  .designer-canvas .plan-canvas{flex:1;min-height:0}
  .design-stage .designer-canvas .plan-canvas #editor-svg{height:100%;min-height:0;max-height:none}
  .wizard-content>.box{max-width:980px;margin:auto}
  .wizard-content .property-map{height:clamp(160px,42dvh,340px)}
}
.plan-guides{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.plan-guides span{padding:2px 6px;background:#edf2f2;border-radius:4px;font-size:14px}.wizard-content svg[aria-label="Combined property and pool plan"]{vertical-align:middle}.concept-preview svg{display:block;width:100%;height:240px;background:#edf2f2}.proposal-table{overflow:auto}.proposal-table table{min-width:24rem}.visual-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.visual-choice{display:grid;align-content:center;gap:6px;min-height:48px;text-align:left;padding:9px}.visual-choice svg{width:100%;height:52px}.visual-choice[aria-pressed="true"]{outline:2px solid #276760;outline-offset:-2px;background:#edf5ef;color:#193e39}.question-count{font-size:14px;color:#46635c;margin-bottom:6px}
.option-cards{min-width:0}.option-cards .visual-choice{cursor:pointer;border:1px solid #a0aaa7;border-radius:6px}.option-cards .visual-choice:has(input:checked){outline:2px solid #276760;outline-offset:-2px;background:#edf5ef}.option-cards .visual-choice input{margin:0;justify-self:start}.option-cards .visual-choice svg{height:54px}.designer-settings .wizard-actions{margin-top:12px}
@media(min-width:960px) and (min-height:460px){.designer-settings{display:flex;flex-direction:column;overflow:hidden}.designer-options-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding:2px 4px 4px}.designer-settings .wizard-actions{margin-top:auto;flex:none;padding-top:10px}.wizard-shell{grid-template-rows:auto auto minmax(0,1fr) auto}}

body{background:#f6f8f5;color:#182c27}
header{border-color:#d5ded8}
header>div{flex-wrap:nowrap;padding-block:8px}
button.primary,button[aria-current]{background:#24554a;color:#fff;border-color:#24554a}
.wizard-shell .top{margin:0}
.wizard-shell h1{font-size:clamp(1.45rem,5.5vw,2.25rem);margin:0}
.wizard-progress{display:block;width:100%;height:5px;accent-color:#367868;margin:9px 0}
.wizard-content .box{border-color:#d5ded8;border-radius:12px}
.designer-canvas{position:relative;padding:8px}
.design-stage .plan-canvas #editor-svg{height:clamp(120px,27svh,250px);background:#edf3ee;border-radius:6px}
.designer-settings{padding:10px 12px}
.wizard-actions{background:#fff}
.wizard-actions .actions{gap:6px}
.wizard-actions .primary{margin-left:auto}
.wizard-actions button{padding-inline:10px}
.visual-choices,.designer-options-scroll>.layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.visual-choice,.designer-options-scroll>.layout-grid>.layout-card{border:1px solid #aabbaf;border-radius:8px;position:relative;background:#fff;padding:8px;text-align:center;line-height:1.25}
.visual-choice svg,.designer-options-scroll>.layout-grid>.layout-card svg{height:42px;width:100%}
.visual-choice:has(:checked),.designer-options-scroll>.layout-grid>.layout-card[aria-pressed="true"]{outline:2px solid #276760;outline-offset:-2px;background:#edf5ef}
.visual-choice input:is([type=radio],[type=checkbox]){position:absolute;top:5px;left:5px;accent-color:#276760}
.visual-choice input[type=number],.object-tools input[data-wall-length]{width:100%;min-width:0;min-height:44px}
.object-tools label:has([data-wall-length]){max-width:132px}
.visual-choice:has(input){padding-inline:25px 8px}
.option-cards{margin:0;border:0;padding:0;min-width:0}
.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.project-menu,.lot-tools{position:relative;border:0;padding:0}
.project-menu summary,.lot-tools summary{display:flex;align-items:center;min-height:44px;padding:0 8px}
.project-menu nav,.lot-tools button{position:absolute;z-index:4;right:0;top:100%;white-space:nowrap;background:#fff}
.project-menu nav{display:grid;min-width:150px;border:1px solid #aabbaf;padding:6px;border-radius:8px}
.lot-tools{position:absolute;right:8px;bottom:8px;background:#fff;border-radius:6px;z-index:3}
.lot-tools button{top:auto;bottom:100%}
.plan-help{border:0;padding:0;margin:0;width:fit-content;font-size:14px}
.plan-help summary{padding:2px 4px}
.design-stage .map-tools button{min-height:36px;padding-block:3px;font-size:14px}
.wizard-shell #site-message:empty{display:none}
@media(min-width:960px) and (min-height:460px){
  .wizard-shell{grid-template-rows:auto auto minmax(0,1fr)}
  .wizard-shell .wizard-progress{margin:0}
  .designer-settings{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
  .designer-options-scroll{overflow:auto;min-height:0;padding:3px;overscroll-behavior:contain}
  .design-stage .designer-canvas .plan-canvas #editor-svg{height:100%}
}
@media(max-width:959px){
  .designer-settings{padding-bottom:0}
  .wizard-actions .primary{flex:0 1 auto}
}
@media(max-width:600px){
  header>div,main{padding-inline:10px}
  .designer-canvas{padding:5px}
  .design-stage .map-tools button{min-height:44px}
  .visual-choice,.designer-options-scroll>.layout-grid>.layout-card{min-height:50px}
}

.plan-canvas #editor-svg,.panning #editor-svg{touch-action:none;user-select:none;-webkit-user-select:none}
.map-tools,.object-tools{display:flex;gap:5px;align-items:center}
.design-stage .map-tools button,.object-tools button{min-width:44px;min-height:44px;padding:4px;touch-action:manipulation}
.canvas-button svg{display:block;margin:auto;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.object-tools{margin:4px 0 2px;flex-wrap:wrap}
.object-tools output{min-width:42px;text-align:center;font-variant-numeric:tabular-nums}
.illustrated-field{display:flex;align-items:center;gap:12px}
.illustrated-field>svg{width:56px;height:56px;flex:none}
.illustrated-field .field{flex:1;min-width:0}
.visual-choice:focus-within{outline:2px solid #174d68;outline-offset:2px}
@media(pointer:coarse){
  .plan-object [data-edge="rotate"],.plan-object [data-edge="scale"]{display:none}
  .design-stage .map-tools output{min-width:33px;font-size:13px}
  .map-tools{gap:3px}
}

.plan-status{min-height:1.25em;margin:3px 0;font-size:14px;color:#24554a}
.plan-status:empty{display:none}
.plan-placement{padding:0;border:0;font-size:14px}
.plan-placement summary{display:flex;align-items:center;min-height:44px}
.placement-items{display:flex;gap:5px;flex-wrap:wrap;max-height:150px;overflow:auto}
.placement-items button{min-height:44px}
.placement-items [aria-pressed="true"]{background:#e1eee6;border-color:#24554a}
.plan-placement[open]{position:relative}
@media(min-width:960px) and (min-height:460px){
  .plan-placement[open] .placement-items{position:absolute;z-index:4;bottom:100%;background:#fff;border:1px solid #aabbaf;border-radius:8px;padding:6px}
}

.object-tools .canvas-button[data-go^="scale-"]{position:relative;border-color:transparent;background:transparent}
.object-tools .canvas-button[data-go^="scale-"]::before{content:"";position:absolute;inset:7px;border:1px solid #637d70;border-radius:5px;background:#fff}
.object-tools .canvas-button[data-go^="scale-"] svg{position:relative;width:16px;height:16px}
.object-tools .canvas-button[data-go^="scale-"]:hover::before,.object-tools .canvas-button[data-go^="scale-"]:active::before{background:#dcebe3}
.edge-handle,.wall-hit{cursor:crosshair}
.plan-object[data-object="house"] .edge-handle circle:first-of-type{stroke-width:12px}
.plan-object[data-object="house"] .edge-handle circle:nth-of-type(2){stroke-width:8px}
.corner-handle[data-edge="scale"]{cursor:nwse-resize}
.corner-handle[data-edge="rotate"]{cursor:grab}
.canopy-control{display:flex;align-items:center;gap:5px;font-size:14px}
.canopy-control input{width:76px;min-height:44px;padding:4px;border:1px solid #637d70;border-radius:5px}
.wall-add{margin-block:12px}
.wall-row{display:flex;gap:5px;flex-wrap:wrap;margin-block:6px}

.plan-frame{position:relative;display:flex;flex-direction:column;flex:1;min-height:0}
.plan-overview{position:absolute;right:5px;top:5px;width:74px;padding:3px 3px 1px;background:#fff;border:1px solid #8da497;line-height:1.1;font-size:12px}
.plan-overview svg{width:100%;height:48px;display:block}
.plan-overview:hover{background:#e1eee6}
.map-tools .canvas-button:has(span){display:flex;gap:3px;align-items:center;justify-content:center}
.map-tools .canvas-button span{font-size:12px}
@media(max-width:430px){.map-tools .canvas-button:has(span) svg{width:15px}}

.pool-dimensions{display:flex;gap:8px;flex-wrap:wrap}
.pool-dimensions label{display:flex;align-items:center;gap:4px;font-size:14px}
.pool-dimensions input{width:66px;min-height:44px;padding:4px;border:1px solid #637d70;border-radius:5px}
.builder-plan svg{display:block;width:100%;height:clamp(200px,42vh,440px);background:#f6faf7}
.proposal-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:12px 0}
.proposal-highlights section{border:1px solid #a9bbb0;padding:10px;border-radius:6px}
.proposal-highlights ul{margin:6px 0 0;padding-left:20px}

.designer-heading{min-width:0;margin-bottom:8px}
.designer-heading .top h1{margin:0;font-size:clamp(1.25rem,4vw,1.7rem)}
.zone-progress{margin-bottom:10px}
.zone-label{display:block;font-size:13px;color:#405f54;font-weight:650}
.zone-track{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin-top:4px}
.zone-track span{height:5px;border-radius:3px;background:#dfe8e2}
.zone-track .done{background:#9cbdab}
.zone-track .current{background:#24554a}
.zone-transition{display:flex;align-items:center;gap:7px;padding:6px 8px;margin-bottom:8px;border-radius:6px;background:#e6f0e9;color:#255244;font-size:14px}
.zone-transition svg{flex:none;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:960px) and (min-height:460px){
  .wizard-shell{grid-template-rows:minmax(0,1fr)}
  .designer-settings{grid-template-rows:auto minmax(0,1fr) auto}
}

:root {
  color-scheme: light;
  --studio-ink: #30262d;
  --studio-paper: #f2ede3;
  --studio-white: #fcfbf8;
  --studio-line: #d8d0c6;
  --studio-muted: #5e5353;
  --studio-teal: #245b5d;
  --studio-selected: #e5eeea;
}
body { background: var(--studio-white); color: var(--studio-ink); font-family: "Helvetica Neue", Arial, sans-serif; }
header { background: var(--studio-paper); border-color: var(--studio-line); }
.studio-header { min-height: 64px; gap: 12px; }
.studio-brand { display: flex; align-items: center; min-height: 44px; flex: none; }
.studio-brand img { display: block; width: clamp(105px, 16vw, 174px); height: auto; }
.studio-label { color: var(--studio-muted); margin-right: auto; }
.studio-feedback { margin-left: auto; }
.studio-feedback, .studio-review a { color: var(--studio-ink); text-underline-offset: .24em; }
.project-menu summary { border: 1px solid var(--studio-line); border-radius: 2px; background: var(--studio-white); }
.project-menu nav { border-color: var(--studio-line); border-radius: 3px; }
button, input, select, textarea { color: var(--studio-ink); }
button.primary, button[aria-current] { background: var(--studio-ink); border-color: var(--studio-ink); color: white; }
button.primary:hover { background: var(--studio-teal); border-color: var(--studio-teal); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--studio-teal); outline-offset: 3px; }
.box, .wizard-content .box { background: var(--studio-white); border: 1px solid var(--studio-line); border-radius: 4px; }
.wizard-actions { background: var(--studio-white); border-color: var(--studio-line); }
.wizard-shell h1 { letter-spacing: -.035em; line-height: 1.1; font-weight: 600; }
.zone-track span { background: #ded9cf; }
.zone-track .done { background: #a4b6a6; }
.zone-track .current, .map-tools button[aria-pressed="true"] { background: var(--studio-teal); }
.zone-label { color: var(--studio-muted); }
.visual-choice, .option-cards .visual-choice, .designer-options-scroll>.layout-grid>.layout-card { border-color: #9a9082; border-radius: 3px; background: #fffefa; }
.visual-choice:has(:checked), .visual-choice[aria-pressed="true"], .designer-options-scroll>.layout-grid>.layout-card[aria-pressed="true"] { background: var(--studio-selected); outline-color: var(--studio-teal); color: #234746; }
.design-stage .plan-canvas #editor-svg, .plan-canvas>svg { background: var(--studio-paper); border-radius: 2px; }
.studio-review { display: grid; gap: 16px; grid-template-columns: minmax(0,2.1fr) minmax(260px,1fr); align-items: stretch; }
.studio-review .studio-plan { border: 1px solid var(--studio-line); padding: 10px; background: var(--studio-white); min-width: 0; }
.studio-plan svg { height: clamp(230px,55vh,610px); background: #f3eddf; }
.studio-summary { background: var(--studio-paper); padding: clamp(15px,2vw,26px); }
.studio-summary h2 { font-size: clamp(1.35rem,2.7vw,2rem); font-weight: 550; letter-spacing: -.035em; }
.studio-summary .actions { margin: 8px 0 16px; }
.studio-summary .primary { width: 100%; min-height: 48px; }
.studio-summary p:last-child { margin-bottom: 0; }
@media (min-width:960px) and (min-height:460px) {
  .wizard-content>.box:has(.studio-review) { max-width: 1480px; }
}
@media (max-width:760px) {
  .studio-review { grid-template-columns: minmax(0,1fr); }
  .studio-plan svg { height: clamp(235px,45vh,420px); }
  .studio-label { display: none; }
}
.studio-feedback { min-height:44px; background:transparent; border-color:transparent; text-decoration:underline; text-underline-offset:.24em; }
#screen-feedback { width:min(460px,calc(100% - 28px)); max-height:calc(100dvh - 28px); color:var(--studio-ink); background:var(--studio-white); border:1px solid var(--studio-line); border-radius:4px; padding:clamp(16px,4vw,26px); }
#screen-feedback::backdrop { background:rgba(48,38,45,.48); }
.feedback-heading { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.feedback-heading h2 { margin:0; font-size:1.35rem; }
.feedback-heading button { min-width:44px; padding:0 9px; border:1px solid var(--studio-line); font-size:1.35rem; }
#feedback-context { color:var(--studio-teal); margin:8px 0 12px; }
.feedback-note { color:var(--studio-muted); margin:12px 0; }
.feedback-note a { color:inherit; text-underline-offset:.22em; }
.feedback-actions { display:flex; gap:8px; }
#feedback-status { color:var(--studio-teal); margin:.6em 0 0; }
#feedback-status:empty { display:none; }
#tour-welcome{width:min(440px,calc(100% - 28px));color:var(--studio-ink);background:var(--studio-white);border:1px solid var(--studio-line);border-radius:4px;padding:clamp(20px,4vw,30px)}
#tour-welcome::backdrop{background:rgba(48,38,45,.48)}
#tour-welcome h2{font-size:1.55rem;line-height:1.15;letter-spacing:-.03em}
.tour-welcome-actions{display:flex;flex-wrap:wrap;gap:8px}
.studio-tour-popover.driver-popover{color:var(--studio-ink);background:var(--studio-white);border:1px solid var(--studio-line);border-radius:4px;max-width:min(330px,calc(100vw - 24px));font-family:"Helvetica Neue",Arial,sans-serif}
.studio-tour-popover .driver-popover-title{font-size:1.17rem;line-height:1.2;padding-right:32px}
.studio-tour-popover .driver-popover-description{font-size:1rem;line-height:1.42}
.studio-tour-popover .driver-popover-footer button{min-height:44px;min-width:44px;font:inherit;text-shadow:none;border-radius:3px}
.studio-tour-popover .driver-popover-next-btn{background:var(--studio-ink);color:#fff;border-color:var(--studio-ink)}
.studio-tour-popover .driver-popover-close-btn{min-height:44px;min-width:44px;color:var(--studio-ink)}
.studio-tour-popover .driver-popover-progress-text{color:var(--studio-muted)}
.studio-drafts { min-width: 0; padding: 4px 6px; background: transparent; border-color: transparent; line-height: 1.2; }
.studio-drafts span, .studio-drafts small { display: block; }
.studio-drafts span { text-decoration: underline; text-underline-offset: .2em; }
.studio-drafts small { font-size: .75rem; color: var(--studio-muted); }
.phase-progress { display: flex; flex-wrap: wrap; gap: 3px 10px; margin: 0 0 4px; padding: 0; list-style: none; font-size: .875rem; color: var(--studio-muted); }
.phase-progress [aria-current] { font-weight: 700; color: var(--studio-teal); text-decoration: underline; text-underline-offset: .2em; }
.zone-progress .zone-label { font-size: .875rem; }
.map-reference-link { margin-top: 8px; }
.map-reference-link button { text-decoration: underline; border-color: transparent; }
.lot-size-more summary { min-height: 44px; }
.studio-review .studio-plan .canvas-button svg { width: 21px; height: 21px; background: none; }
.studio-review .studio-plan #editor-svg { height: clamp(230px, 55dvh, 610px); }
.review-access-note { font-size: 1rem; color: var(--studio-muted); }
@media (max-width: 760px) {
  .studio-review .studio-plan #editor-svg { height: clamp(125px, 24svh, 235px); }
  .studio-review { gap: 9px; }
  .studio-summary { padding: 12px; }
  .studio-summary h2 { margin-bottom: 4px; }
  .studio-summary .actions { margin: 4px 0 8px; }
}
@media (max-width: 400px) {
  .studio-header { padding-inline: 8px; gap: 3px; }
  .studio-header .studio-brand img { width: clamp(77px, 24vw, 105px); }
  .studio-feedback, .project-menu summary { padding-inline: 5px; }
  .studio-drafts { padding-inline: 3px; }
}
.pool-estimate { border-top: 1px solid var(--studio-line); margin: 14px 0 8px; padding-top: 12px; }
.pool-estimate h3 { margin: 0 0 4px; font-size: 1.0625rem; line-height: 1.25; }
.pool-estimate p { margin: 0 0 4px; color: var(--studio-muted); }
.pool-estimate a { display: inline-flex; align-items: center; min-height: 44px; color: var(--studio-teal); text-underline-offset: .24em; font-weight: 650; }
.project-menu nav>a { display:flex; align-items:center; min-height:44px; padding:8px 14px; color:var(--studio-teal); text-underline-offset:.22em; }
