/* HyggeHous member apps. Login styles are separate in account.css. */
body[data-member=checking] .account-layout,body[data-member=checking] #dashboard,body[data-member=true] .account-layout{display:none}
#account-loading{display:none;min-height:100svh;place-content:center;color:var(--muted);font:18px system-ui}body[data-member=checking] #account-loading{display:grid}
#dashboard{--paper:#fffdf9;--wash:#f2eee6;--peach:#efdfd2;--rust:#a26145;--green:#344f40;--shadow:0 4px 18px #39352606;min-height:100svh;background:var(--bg)}
:root[data-theme=dark] #dashboard{--paper:#252b25;--wash:#2c332b;--peach:#4a382e;--rust:#e4aa83;--green:#bfd0a8;--shadow:0 4px 18px #0001}
#dashboard button,#dashboard a{touch-action:manipulation}#dashboard button:focus-visible,#dashboard a:focus-visible{outline:3px solid var(--rust);outline-offset:4px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.section-heading .eyebrow{margin:0 0 5px}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 21px}.workspace-heading .eyebrow{margin:0 0 7px;font-size:9px;color:var(--rust)}.workspace-heading h1{font-size:34px;letter-spacing:-.035em;margin:0}.back-button{background:none;border:0;color:var(--muted);padding:5px 0;font-size:12px}.studio-intro{font-size:14px;color:var(--muted);margin:8px 0 25px}.studio-main h1{letter-spacing:-.035em}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.remodel-grid{grid-template-columns:350px minmax(0,1fr);gap:22px}.tool-panel{padding:25px;border:1px solid var(--line);background:var(--paper);border-radius:20px;min-width:0}.remodel-controls{max-height:calc(100svh - 265px);overflow-y:auto;overscroll-behavior:contain;padding:21px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.control-heading{display:flex;align-items:center;gap:9px;margin-bottom:13px}.control-heading h2{font:600 13px system-ui;margin:0}.step-number{font:italic 14px Fraunces,Georgia,serif;color:var(--rust);margin-right:5px}.tool-panel label{font-size:12px;margin:16px 0 8px}.tool-panel input,.tool-panel textarea,.tool-panel select{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px;max-width:100%;width:100%;font:14px system-ui;padding:12px;min-height:44px}.tool-panel textarea{resize:vertical;min-height:82px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field-pair>div{min-width:0}
label.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:155px;padding:18px;margin:0;border:1px dashed #a4a78f;border-radius:14px;background:var(--wash);text-align:center;cursor:pointer}.upload-zone .upload-symbol{font-size:25px;color:var(--rust)}.upload-zone strong{font-size:12px}.upload-zone>span{font-size:10px;color:var(--muted)}.upload-zone .choose-photo{color:var(--ink);font-size:11px;padding:5px 0;text-decoration:underline;text-underline-offset:4px}.upload-zone input{position:absolute;width:1px;height:1px;min-height:0;padding:0;clip-path:inset(50%);overflow:hidden}.upload-zone:focus-within{outline:2px solid var(--rust);outline-offset:3px}#photo-preview{width:62px;height:47px;object-fit:cover;border-radius:6px}.upload-zone:has(#photo-preview:not([hidden])){min-height:106px;display:grid;grid-template-columns:62px 1fr;text-align:left;gap:3px 12px}.upload-zone:has(#photo-preview:not([hidden])) .upload-symbol{display:none}.upload-zone:has(#photo-preview:not([hidden])) img{grid-row:1/4}.upload-zone:has(#photo-preview:not([hidden])) .choose-photo{grid-column:2}.upload-zone #upload-description{overflow-wrap:anywhere;max-width:100%}
.style-ideas{border:0;padding:0;margin:22px 0 17px}.style-ideas legend{font:600 13px system-ui;padding:0}.style-ideas .small{font-size:11px;margin:8px 0 12px}.style-chips{display:flex;flex-wrap:wrap;gap:7px}.style-chips button{border:1px solid var(--line);border-radius:20px;background:transparent;color:var(--muted);padding:8px 11px;font:11px system-ui;min-height:34px}.style-chips button[aria-pressed=true]{background:var(--peach);border-color:var(--peach);color:var(--ink)}.more-styles{margin-top:10px!important}.more-styles summary{font-size:11px;color:var(--rust);padding:3px 0;cursor:pointer}.more-styles[open] summary{margin-bottom:10px}.create-area{position:sticky;bottom:-21px;background:var(--paper);padding:12px 0 7px;margin-top:0}.tool-primary,.tool-secondary,.paypal-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:0;border-radius:12px;padding:12px 15px;background:var(--accent);color:var(--on-accent);font:600 13px system-ui;text-decoration:none}.tool-primary{margin-top:15px}.tool-primary span{font-size:10px;font-weight:400}.tool-primary .create-label{font-size:12px;font-weight:600}.create-area .tool-primary{margin-top:0;flex-direction:column;gap:5px}.create-area .small{text-align:center;font-size:9px;margin:8px 0 0}.tool-secondary{background:var(--paper);border:1px solid var(--line);color:var(--ink);width:auto;min-height:35px;font-size:11px;padding:8px 12px}.design-details{font-size:10px;color:var(--muted);margin-top:9px!important}.design-details summary{cursor:pointer}.small,.muted{color:var(--muted)}.error{color:var(--error)}#tool-notice:empty{display:none}#tool-notice{border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:12px;padding:12px 16px;margin:0 0 15px;overflow-wrap:anywhere}
.preview-stage{border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:20px;min-width:0;position:sticky;top:20px;scroll-margin-top:16px;box-shadow:var(--shadow)}.preview-stage:focus{outline:none}.preview-stage:focus-visible{outline:2px solid var(--rust)}.preview-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.preview-top .eyebrow{font-size:8px;color:var(--rust);letter-spacing:.15em}.preview-top h2{font-size:23px;margin:5px 0 0}.preview-stamp{display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;width:39px;height:39px;color:var(--rust);font:italic 24px Fraunces,Georgia,serif;transform:rotate(-9deg)}.preview-empty{position:relative;border-radius:14px;overflow:hidden;background:var(--wash)}.preview-empty>img{width:100%;height:clamp(280px,calc(100svh - 410px),510px);object-fit:cover;display:block}.preview-empty[data-photo=true]>img{object-fit:contain}.preview-caption{padding:19px;text-align:center;background:var(--wash)}.preview-caption p{font:italic 20px Fraunces,Georgia,serif;margin:0 0 5px}.preview-caption .small{font-size:11px}.preview-flower{display:none}.generation-progress{display:flex;gap:17px;align-items:center;padding:18px 10px 4px}.working-dot{display:block;flex-shrink:0;width:11px;height:11px;background:var(--rust);border-radius:50%;box-shadow:0 0 0 6px var(--peach);animation:breathe 1.6s ease-in-out infinite}.generation-progress strong{font-size:12px}.generation-progress p{font-size:11px;color:var(--muted);margin:5px 0}.preview-stage[data-generating=true] .preview-empty img{opacity:.55}.design-result{margin:0}.result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 13px}.comparison-tabs{display:flex;gap:3px;padding:3px;border-radius:20px;background:var(--wash)}.comparison-tabs button{border:0;border-radius:16px;padding:7px 12px;font:11px system-ui;background:none;color:var(--muted)}.comparison-tabs button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 2px 5px #0001}.result-images{border-radius:13px;background:var(--wash);overflow:hidden}.result-images figure{margin:0}.result-images img{width:100%;height:clamp(290px,calc(100svh - 385px),570px);object-fit:contain;display:block}.result-images figcaption{padding:9px;text-align:center;font-size:10px;color:var(--muted)}.try-again{display:block;margin:9px auto 0;font-size:11px}.workspace-switch{display:none}
.history-section{padding-top:25px;margin-top:30px;border-top:1px solid var(--line)}.history-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.history-item{border:1px solid var(--line);border-radius:15px;background:var(--paper);padding:0 0 13px;overflow:hidden;color:var(--ink);text-align:left;display:flex;flex-direction:column;gap:5px;min-width:0}.history-item img{width:100%;height:115px;object-fit:cover;margin-bottom:8px;background:var(--wash)}.history-item>span,.history-item>small{padding:0 14px}.history-item>span{font-size:12px}.history-item small{font-size:10px;color:var(--muted)}.history-item:not(:has(img)){padding-top:18px}.history-item:hover{border-color:var(--rust)}.studio-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:23px 0;margin-top:38px;font-size:11px;color:var(--muted)}.studio-footer>span{font:italic 17px Fraunces,Georgia,serif}.studio-footer>div{display:flex;gap:18px}.payment-number{font:clamp(35px,4vw,55px) Fraunces,Georgia,serif;letter-spacing:-.04em;margin:15px 0 7px}.payment-estimate{background:var(--wash);position:sticky;top:20px}.payment-estimate>.muted{font-size:12px}.breakdown-row{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.loan-totals{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:25px 0}.loan-totals small,.loan-totals strong{display:block}.loan-totals small{font-size:10px;color:var(--muted);margin-bottom:7px}.loan-totals strong{font-size:15px}.loan-bar{height:10px;background:#c79977;border-radius:20px;overflow:hidden}.loan-bar span{height:100%;display:block;background:#94ae7e}.tool-panel details{margin-top:22px;font-size:12px}.tool-panel summary{cursor:pointer}.calculator-note{max-width:750px;margin-top:20px}.credit-summary{display:flex;gap:13px;align-items:baseline;padding-bottom:25px}.credit-summary>span:first-child{color:var(--rust);font-size:25px}.credit-summary strong{font:50px Fraunces,Georgia,serif}.credit-summary>span:last-child{font-size:13px;color:var(--muted)}.credit-pack{border:1px solid var(--line);border-radius:22px;background:var(--paper);padding:30px}.credit-pack h3{font:35px Fraunces,Georgia,serif;margin:13px 0}.pack-price{font-size:23px;margin:0}.credit-pack>.muted{font-size:12px}.paypal-button{background:#ffc439;color:#18315b;margin-top:10px}.credit-pack .eyebrow{margin:0;color:var(--rust)}#purchase-section{margin-top:30px}
@keyframes breathe{50%{opacity:.4}}
@media(min-width:1100px){.remodel-workspace{margin-top:-5px}.remodel-grid{grid-template-columns:350px minmax(0,1fr)}}
@media(max-width:1050px){.member-label{display:none}.remodel-grid{grid-template-columns:310px minmax(0,1fr);gap:16px}.app-art{height:220px}.app-card-body{padding:21px}.app-card h2{font-size:25px}.studio-note{flex-basis:160px}.studio-welcome h1{font-size:40px}.preview-top h2{font-size:20px}.preview-stage{padding:16px}}
@media(max-width:760px){#dashboard .studio-header{padding:15px 19px}.studio-header .brand{font-size:27px}.studio-header-actions{gap:13px}.studio-header-actions>a{display:none}.studio-header-actions .link{font-size:10px}.balance-pill{padding:7px 10px;font-size:11px}.balance-pill>span:last-child{display:none}.studio-nav{padding:10px 12px;justify-content:space-between;gap:2px}.studio-nav>button{display:flex;flex-direction:column;gap:3px;align-items:center;font-size:10px;padding:8px 10px;border-radius:13px}.studio-nav>button>span{font-size:19px;margin:0}.studio-nav>button.selected{background:var(--peach)}main.studio-main{padding:24px 18px 0}.studio-welcome{padding:0 0 25px;gap:0}.studio-note{display:none}.studio-welcome h1{font-size:35px;line-height:1.14;margin:12px 0 15px}.studio-welcome>div>p:last-child{font-size:12px;line-height:1.7;max-width:310px}.studio-welcome .eyebrow{font-size:8px}.tiny-spark{font-size:20px}.tools-heading h2{font-size:21px}.tools-heading>.small{display:none}.app-grid,.tools-grid{grid-template-columns:1fr;gap:18px}.app-art{height:205px}.app-card{border-radius:20px}.app-card-body{padding:20px}.app-card h2{font-size:28px}.photo-label{font-size:22px}.welcome-strip{padding:17px;gap:12px;flex-wrap:wrap}.welcome-strip>div{flex:1 1 220px}.welcome-strip .link{margin-left:35px}.section-heading h2{font-size:23px}.history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.history-item img{height:105px}.studio-footer{align-items:flex-start;flex-direction:column;gap:15px;margin-top:30px}.workspace-heading{margin-bottom:17px;align-items:flex-start}.workspace-heading h1{font-size:27px;max-width:260px;line-height:1.1}.workspace-heading .eyebrow{font-size:8px}.workspace-heading .back-button{font-size:10px;white-space:nowrap;padding-top:4px}.workspace-switch{display:flex;position:sticky;top:0;z-index:3;gap:4px;background:var(--wash);border:1px solid var(--line);padding:4px;border-radius:14px;margin-bottom:16px}.workspace-switch button{flex:1;border:0;border-radius:10px;background:none;color:var(--muted);font:12px system-ui;padding:12px 5px}.workspace-switch button[aria-pressed=true]{background:var(--paper);color:var(--ink);box-shadow:0 2px 6px #0001}.workspace-grid,.remodel-grid{grid-template-columns:1fr;gap:18px}.remodel-controls{max-height:none;overflow:visible;padding:20px}.remodel-workspace[data-workspace=edit] .preview-stage{display:none}.remodel-workspace[data-workspace=preview] .remodel-controls{display:none}.preview-stage{position:relative;top:auto;padding:15px;scroll-margin-top:65px}.preview-top{margin-bottom:13px}.preview-top h2{font-size:22px}.preview-empty>img{height:clamp(220px,42svh,400px)}.preview-caption{padding:16px}.preview-caption p{font-size:18px}.preview-caption .small{font-size:10px}.result-images img{height:clamp(250px,52svh,500px)}.result-toolbar{gap:7px}.comparison-tabs button{font-size:10px;padding:7px 10px}.result-toolbar .tool-secondary{font-size:10px;padding:8px 10px}.style-chips button{font-size:12px;padding:9px 13px;min-height:38px}.style-ideas .small{font-size:11px}.tool-panel label{font-size:13px}.tool-panel textarea{font-size:16px}.create-area{bottom:-1px;padding:12px 0 5px;z-index:2}.create-area .tool-primary{flex-direction:row;justify-content:space-between;padding:14px}.create-area .tool-primary .create-label{font-size:13px}.create-area .small{font-size:10px}.upload-zone .upload-symbol{font-size:29px}label.upload-zone{min-height:145px}.upload-zone strong{font-size:13px}.upload-zone>span{font-size:11px}.choose-photo{font-size:12px!important}.payment-estimate{position:relative;top:auto}.tool-panel{padding:20px}.field-pair{gap:12px}.payment-number{font-size:43px}.credit-pack{padding:25px}.generation-progress{padding:19px 6px 7px}.try-again{font-size:12px}}
@media(prefers-reduced-motion:reduce){.app-card,.app-art>img{transition:none}.app-card:hover,.app-card:hover .app-art>img{transform:none}.working-dot{animation:none}}
#remodel-notice:empty{display:none}#remodel-notice{font-size:12px;margin:0 0 15px;line-height:1.5}

/* App shell: compact utility navigation and a consistent icon-led launcher. */
#dashboard { --bg:#f7f7f2; --line:#e1e3d9; font:14px/1.5 system-ui,sans-serif; }
:root[data-theme=dark] #dashboard { --bg:#1c211d; --line:#3b453b; }
#dashboard h1,#dashboard h2,#dashboard h3 { font-family:system-ui,sans-serif; font-style:normal; letter-spacing:-.035em; font-weight:650; }
#dashboard h1 { font-size:30px; line-height:1.2; }
#dashboard h2 { font-size:19px; line-height:1.35; }
#dashboard .studio-header { display:flex; align-items:center; justify-content:space-between; min-height:76px; padding:16px 32px; gap:20px; border-bottom:1px solid var(--line); background:var(--paper); }
#dashboard .studio-header .brand { font-size:29px; }
.studio-header-actions { display:flex; align-items:center; gap:24px; font-size:12px; }
.studio-header-actions>a { text-decoration:none; }
.studio-header-actions .link { font-size:12px; text-decoration:none; }
.balance-pill { display:flex; align-items:center; gap:7px; padding:9px 14px; border:1px solid var(--line); border-radius:10px; background:var(--wash); color:var(--ink); font-size:12px; }
.balance-pill>span:first-child { color:var(--rust); }
.studio-layout { display:grid; grid-template-columns:224px minmax(0,1fr); max-width:1600px; margin:auto; min-height:calc(100svh - 76px); }
.studio-nav { display:flex; flex-direction:column; align-items:stretch; gap:5px; padding:30px 16px 20px; border-right:1px solid var(--line); background:var(--paper); position:sticky; top:0; height:calc(100svh - 76px); }
.studio-nav>.eyebrow,.nav-group-label { display:block; font-size:9px; color:var(--muted); letter-spacing:.13em; font-weight:650; margin:3px 12px 13px; }
.nav-group-label { margin-top:27px; margin-bottom:9px; }
.studio-nav>button { display:flex; align-items:center; gap:11px; width:100%; min-height:44px; text-align:left; border:0; padding:10px 12px; border-radius:9px; background:transparent; color:var(--muted); font:500 12px/1.5 system-ui; white-space:nowrap; }
.studio-nav>button>svg { width:19px; height:19px; flex-shrink:0; }
.studio-nav>button>span { font:inherit; margin:0; }
.studio-nav>button:hover { background:var(--wash); color:var(--ink); }
.studio-nav>button.selected { background:var(--wash); color:var(--ink); box-shadow:inset 3px 0 var(--rust); }
.member-label { display:flex; align-items:center; gap:9px; border-top:1px solid var(--line); padding:20px 7px 0; margin-top:auto; min-width:0; }
.member-dot { display:grid; place-items:center; width:32px; height:32px; flex-shrink:0; background:var(--peach); color:var(--rust); border-radius:50%; font-weight:650; }
.member-label>div { min-width:0; }
.member-label small { color:var(--muted); font-size:10px; }
.member-label p { margin:2px 0 0; font-size:10px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
main.studio-main { padding:38px clamp(24px,3vw,48px) 0; width:100%; max-width:1250px; margin:0 auto; min-width:0; display:flex; flex-direction:column; }
.launcher-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin:0 0 40px; }
.workspace-kicker { font-size:9px; letter-spacing:.14em; font-weight:650; color:var(--muted); margin:0 0 10px; }
.launcher-heading h1 { margin:0 0 12px; }
.launcher-heading p:last-child { font-size:14px; color:var(--muted); margin:0; }
.workspace-label { display:flex; gap:7px; align-items:center; color:var(--muted); font-size:11px; padding:8px 10px; border:1px solid var(--line); border-radius:7px; white-space:nowrap; margin-top:3px; }
.workspace-label>span { width:6px; height:6px; background:#779176; border-radius:50%; }
.tools-heading { margin:0 0 17px; }
#dashboard .tools-heading h2 { font-size:14px; font-weight:600; letter-spacing:-.015em; }
.app-count { color:var(--muted); font-size:11px; }
.tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.app-card { display:flex; flex-direction:column; text-align:left; min-width:0; padding:26px; color:var(--ink); background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:0 3px 4px #17241402; transition:transform .18s,border-color .18s,box-shadow .18s; }
.app-card:hover { transform:translateY(-3px); border-color:#b6bfae; box-shadow:0 12px 28px #2435240c; }
.app-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; width:100%; margin-bottom:23px; }
.app-icon { width:84px; height:84px; display:block; flex-shrink:0; filter:drop-shadow(0 5px 6px #402f2514); }
.app-type { color:var(--muted); font-size:9px; font-weight:600; letter-spacing:.1em; border:1px solid var(--line); border-radius:5px; padding:4px 6px; margin-top:3px; }
.app-card-body { display:flex; flex-direction:column; gap:9px; padding:0; align-items:flex-start; width:100%; }
.app-title { font-size:20px; line-height:1.3; letter-spacing:-.035em; font-weight:650; }
.app-description { color:var(--muted); font-size:13px; line-height:1.65; max-width:320px; min-height:43px; }
.app-card-footer { display:flex; align-items:center; justify-content:space-between; gap:9px; width:100%; border-top:1px solid var(--line); padding-top:20px; margin-top:25px; }
.app-launch { display:flex; align-items:center; gap:16px; font-size:12px; font-weight:600; }
.app-launch>span { font-size:17px; transition:transform .18s; }
.app-card:hover .app-launch>span { transform:translateX(3px); }
.app-cost { font-size:10px; color:var(--muted); }
.welcome-strip { display:flex; align-items:center; gap:13px; padding:20px; margin:24px 0 32px; background:var(--wash); border:1px solid var(--line); border-radius:12px; }
.credit-emblem { display:grid; place-items:center; flex-shrink:0; width:38px; height:38px; border-radius:10px; background:var(--paper); color:var(--rust); }
.credit-emblem svg { width:20px; height:20px; }
.welcome-strip strong { font-size:12px; font-weight:600; }
.welcome-strip p { font-size:11px; color:var(--muted); margin:4px 0 0; }
.welcome-strip .link { margin-left:auto; font-size:11px; text-decoration:none; white-space:nowrap; }
.welcome-strip .link>span { margin-left:7px; }
.studio-footer { margin-top:auto; padding-top:22px; }
.studio-footer>span { font:500 11px system-ui; }
.studio-main:has(.history-section:not([hidden])) .studio-footer { margin-top:30px; }
.history-section { margin-top:12px; }
.history-section .eyebrow { display:none; }
#dashboard .preview-top h2 { font-size:19px; }
.preview-caption p { font:500 16px system-ui; }
.preview-stamp { font:600 18px system-ui; transform:none; }
.step-number { font:500 11px system-ui; }
.remodel-grid { grid-template-columns:310px minmax(0,1fr); gap:20px; }
.remodel-controls { max-height:calc(100svh - 210px); }
.preview-stage,.tool-panel { border-radius:14px; box-shadow:none; }
.preview-stage { top:16px; }
.workspace-heading { margin-bottom:24px; }
#dashboard .workspace-heading h1 { font-size:27px; }
.payment-number { font:600 clamp(32px,3vw,48px) system-ui; }
.credit-summary strong { font:600 45px system-ui; }
@media(min-width:1500px) { .studio-layout { border-left:1px solid var(--line); border-right:1px solid var(--line); } }
@media(max-width:1100px) and (min-width:761px) {
 .studio-layout { grid-template-columns:190px minmax(0,1fr); }
 .studio-nav { padding-left:10px; padding-right:10px; }
 .studio-nav>button { font-size:11px; gap:9px; }
 main.studio-main { padding:30px 24px 0; }
 .app-card { padding:20px; }
 .app-title { font-size:18px; }
 .app-card-footer { align-items:flex-start; flex-direction:column; gap:8px; }
 .workspace-label { display:none; }
 .remodel-grid { grid-template-columns:265px minmax(0,1fr); gap:14px; }
 .remodel-controls { padding:16px; }
 .preview-stage { padding:12px; }
 .result-toolbar { flex-wrap:wrap; }
 .welcome-strip { flex-wrap:wrap; }
 .welcome-strip .link { margin-left:51px; }
}
@media(max-width:760px) {
 #dashboard .studio-header { min-height:64px; padding:14px 18px; gap:12px; }
 #dashboard .studio-header .brand { font-size:26px; }
 .studio-header-actions { gap:13px; }
 .studio-header-actions>a { display:none; }
 .studio-header-actions .link { font-size:10px; }
 .balance-pill { padding:7px 9px; font-size:11px; }
 .balance-pill>span:last-child { display:none; }
 .studio-layout { display:flex; flex-direction:column; min-height:calc(100svh - 64px); }
 .studio-nav { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); position:relative; height:auto; padding:7px 10px; gap:4px; border:0; border-bottom:1px solid var(--line); }
 .studio-nav>.eyebrow,.nav-group-label,.member-label { display:none; }
 .studio-nav>button { flex-direction:column; gap:4px; padding:9px 2px; align-items:center; justify-content:center; white-space:normal; text-align:center; min-height:61px; font-size:9px; border-radius:8px; }
 .studio-nav>button>svg { width:20px; height:20px; }
 .studio-nav>button.selected { box-shadow:inset 0 -2px var(--rust); }
 main.studio-main { padding:27px 18px 0; flex:1; }
 .launcher-heading { margin-bottom:28px; }
 #dashboard .launcher-heading h1 { font-size:28px; margin-bottom:9px; }
 .launcher-heading p:last-child { font-size:12px; max-width:270px; }
 .workspace-kicker { font-size:8px; }
 .workspace-label { display:none; }
 .tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .app-card { padding:16px 13px; border-radius:14px; }
 .app-card-top { flex-direction:column; gap:15px; margin-bottom:13px; }
 .app-icon { width:66px; height:66px; }
 .app-type { border:0; padding:0; margin:0; font-size:8px; }
 .app-title { font-size:16px; min-height:42px; line-height:1.3; }
 .app-description { font-size:11px; line-height:1.6; min-height:72px; }
 .app-card-footer { margin-top:auto; padding-top:13px; flex-direction:column; align-items:flex-start; gap:7px; }
 .app-card-body { margin-bottom:18px; }
 .app-launch { font-size:11px; gap:12px; }
 .app-cost { font-size:9px; }
 .welcome-strip { padding:15px; gap:11px; flex-wrap:wrap; margin:18px 0 30px; }
 .welcome-strip>div { flex:1 1 190px; }
 .welcome-strip .link { margin-left:49px; }
 .welcome-strip strong { font-size:11px; }
 .welcome-strip p { font-size:10px; }
 .studio-footer { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:15px; margin-top:auto; padding:20px 0; }
 .studio-footer>div { gap:12px; }
 .studio-footer,.studio-footer>span { font-size:10px; }
 .remodel-grid { grid-template-columns:1fr; }
 .remodel-controls { max-height:none; }
 #dashboard .workspace-heading h1 { font-size:24px; }
 .preview-stage { top:auto; }
 .workspace-heading .eyebrow { font-size:8px; }
 .preview-top .eyebrow { font-size:7px; }
 #dashboard .preview-top h2 { font-size:19px; }
}
@media(prefers-reduced-motion:reduce) { .app-card,.app-launch>span { transition:none; } .app-card:hover,.app-card:hover .app-launch>span { transform:none; } }
.subscription-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:28px;max-width:980px;margin:28px 0}
.subscription-plan,.subscription-wallet{padding:30px;border:1px solid var(--line);border-radius:20px;background:var(--paper)}
.subscription-plan{display:grid;gap:16px;box-shadow:0 12px 40px #172c1910}.subscription-plan h2{margin:0!important;font-size:28px!important}.subscription-plan>p{margin:0}
.subscription-wallet{align-self:start;background:var(--wash)}.subscription-wallet p{font-size:14px;line-height:1.65}.subscription-wallet .credit-summary{display:flex;flex-wrap:wrap;gap:8px;padding:14px 0}.subscription-wallet .credit-summary strong{font-size:32px}
.billing-choice{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:var(--wash);border:1px solid var(--line);border-radius:12px}.billing-choice button{border:0;border-radius:8px;padding:12px;font:600 14px system-ui;background:transparent;color:var(--ink);cursor:pointer}.billing-choice button[aria-pressed=true]{background:var(--accent);color:var(--on-accent);box-shadow:0 2px 8px #0002}
.subscription-price{display:flex;align-items:baseline;gap:10px}.subscription-price strong{font:750 44px/1.1 system-ui;letter-spacing:-2px}.subscription-price span{color:var(--muted);font-size:14px}.subscription-allowance{font-weight:700;font-size:18px}
.subscription-features{padding-left:20px;margin:0;display:grid;gap:10px;font-size:14px}.subscription-plan .tool-primary,.subscription-plan .paypal-button,.subscription-secondary{width:100%;min-height:48px;border-radius:10px;font-weight:700;cursor:pointer}.subscription-secondary{background:transparent;color:var(--ink);border:1px solid var(--line)}
.subscription-plan button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.subscription-plan button:disabled{opacity:.6;cursor:wait}.subscription-status{display:grid;gap:14px;padding-top:12px;border-top:1px solid var(--line)}.subscription-status p{margin:0;font-size:14px}.subscription-status>.link{justify-self:start;padding:8px 0}.subscription-terms{max-width:900px;line-height:1.7}
@media(max-width:760px){.subscription-layout{grid-template-columns:1fr;gap:16px;margin-top:22px}.subscription-plan,.subscription-wallet{padding:22px}.subscription-price strong{font-size:40px}.subscription-wallet{padding:18px 22px}.subscription-wallet .credit-summary{margin:0}.subscription-terms{font-size:12px}}
