:root{--orange:rgb(255,88,12);--ink:#073f4c;--muted:#53666c;--line:#d8e2e2;--soft:#fff2e9}*{box-sizing:border-box}body{margin:0;background:#fff;font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink)}main{max-width:920px;margin:auto;padding:28px 24px}h1{font-size:clamp(26px,4vw,36px);line-height:1.15;margin:10px 0}h2{font-size:24px;margin:0 0 8px;line-height:1.25}p{margin:8px 0 20px}.eyebrow{font-size:14px;letter-spacing:.09em;font-weight:750;color:var(--muted)}header p,.hint{color:var(--muted)}nav{margin:26px 0}ol{display:flex;list-style:none;padding:0;gap:8px;counter-reset:step}li{flex:1;border-bottom:4px solid var(--line);padding:0 0 12px;font-size:15px}li:before{counter-increment:step;content:counter(step) ' · ';font-weight:bold}li.active{border-color:var(--orange);font-weight:750}fieldset{border:0;padding:0;margin:24px 0}legend{font-weight:750;margin-bottom:12px;font-size:18px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cards.four{grid-template-columns:repeat(4,minmax(0,1fr))}.choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:2px solid var(--line);border-radius:16px;cursor:pointer;padding:20px 18px;gap:8px;min-width:0;background:#fff}.choice:has(input:checked){border-color:var(--orange);background:var(--soft)}.choice:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:3px}.choice input{appearance:none;flex:none;width:20px;height:20px;border:1.8px solid var(--ink);border-radius:50%;margin:0;background:white}.choice input:checked{border:5px solid var(--orange)}.choice strong{font-size:16px}.choice small{font-size:14px;color:var(--muted)}.choice.photo{padding:0 0 20px;overflow:hidden;justify-content:flex-start}.photo img{width:100%;aspect-ratio:3/2;object-fit:cover}.photo input{margin-top:8px}.photo strong,.photo small{padding:0 14px}.icon{font-size:30px;line-height:1.2}.measure{display:flex;align-items:center;gap:12px;margin:16px 0}.measure input{width:160px;border:2px solid var(--line);border-radius:12px;padding:12px;font:700 24px system-ui;color:var(--ink)}.shortcuts{display:flex;gap:8px;flex-wrap:wrap}button,a.cta{font:700 16px/1.4 system-ui;cursor:pointer;border-radius:12px;padding:14px 22px;border:0}button.primary,a.cta{background:var(--orange);color:#122f36}button.secondary,.shortcuts button{background:#edf3f3;color:var(--ink)}.shortcuts button{padding:8px 16px}.shortcuts button[aria-pressed=true]{background:var(--soft);outline:2px solid var(--orange)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}footer{display:flex;justify-content:space-between;gap:12px;margin-top:24px}#next{margin-left:auto}#error{color:#a62922;font-weight:650;margin:8px 0}#error:empty{display:none}.hint{font-size:15px}.budget{padding:26px;border-radius:20px;background:var(--soft);border:1px solid #ffd4bf;margin:20px 0}.budget strong{display:block;font-size:clamp(30px,6vw,46px);line-height:1.2;margin:8px 0}.badge{display:inline-block;background:#e8f1ef;padding:7px 12px;border-radius:8px;margin:4px;font-size:15px}.cta{display:block;text-align:center;text-decoration:none;margin:24px 0 8px}.result-note{padding:14px 18px;background:#f2f6f6;border-radius:12px;font-size:15px}.result-note p{margin:5px 0}details{margin:20px 0}summary{cursor:pointer;font-weight:700}.costrow{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}.costrow span:last-child{white-space:nowrap}.copyhint{text-align:center;font-size:15px;color:var(--muted)}#toast:not(:empty){position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 20px;border-radius:12px;width:max-content;max-width:calc(100% - 24px);box-shadow:0 5px 25px #0002;z-index:4}textarea{width:100%;min-height:180px;font:15px/1.5 system-ui;padding:12px;border:1px solid var(--line);border-radius:10px}[hidden]{display:none!important}@media(max-width:600px){main{padding:20px 14px}li{font-size:14px}.cards.four{grid-template-columns:repeat(2,minmax(0,1fr))}.cards.photos{grid-template-columns:1fr}.choice.photo{display:grid;grid-template-columns:92px 1fr 24px;gap:4px 12px;padding:0 14px 0 0;text-align:left}.photo img{grid-row:1/3;height:112px;aspect-ratio:auto}.photo input{grid-column:3;grid-row:1/3;margin:0}.photo strong{grid-column:2;grid-row:1;align-self:end;padding:0}.photo small{grid-column:2;grid-row:2;align-self:start;padding:0}.choice{padding:16px 8px;gap:8px}.choice strong{font-size:16px}.budget{padding:22px 16px}.costrow{flex-wrap:wrap}}
