/* Roomora v5. Loaded after styles.css and v4.css.
   Guided workspace rules are scoped to v5 classes; edit/plan keep their layout. */
:root{
  --v5-panel:#fff;
  --v5-border:#dedfe5;
  --v5-tint:#f6f4fc;
  --v5-sage:#edf2ec;
  --v5-caption:#606575;
  --v5-shadow:0 8px 28px rgba(32,38,51,.035);
}

/* Landing: clearer first action, readable supporting text, no new carousel. */
.v5-site .v4-hero{padding-top:62px}
.v5-site .v4-hero-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:44px}
.v5-site .v4-hero-copy{padding-bottom:8px;min-width:0}
.v5-site .v4-kicker{font-size:13px;letter-spacing:.12px;line-height:1.5}
.v5-site .v4-hero-copy h1{font-size:clamp(42px,4.1vw,58px);letter-spacing:-2.4px;line-height:1.11;max-width:620px;margin:24px 0 22px}
.v5-site .v4-lead{font-size:17px;line-height:1.75;max-width:480px;color:#555c69}
.v5-hero-path{display:flex;gap:12px 22px;flex-wrap:wrap;list-style:none;margin:23px 0 0;padding:0}
.v5-hero-path li{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
.v5-hero-path li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--brand);font-size:10px;font-weight:700}
.v5-site .v4-hero-actions{gap:10px;margin-top:27px}
.v5-site .v4-hero-actions .btn{min-height:52px;font-size:14px;white-space:normal;padding:13px 20px}
.v5-site .v4-hero-actions .btn.secondary{background:transparent;border-color:#d8d5e2}
.v5-site .v4-hero-actions .btn.secondary:hover{background:#fff}
.v5-site .v4-hero-benefits{gap:12px 20px;margin-top:20px;font-size:13px;color:var(--muted)}
.v5-site .v4-hero-benefits .i{width:17px;height:17px}
.v5-site .v5-prototype-note{font-size:13px;line-height:1.7;max-width:495px;margin-top:24px;padding:13px 0 0;border-top:1px solid #e3e1e7;color:#656b77}
.v5-prototype-note strong{font-weight:700;color:#424956}
.v5-site .v4-preview-top{font-size:13px;line-height:1.5;padding:14px 16px}
.v5-site .v4-tiny-tag{font-size:12px;line-height:1.4}
.v5-site .v4-compare-caption{font-size:13px;line-height:1.5;gap:10px;padding:8px 12px 8px 16px}
.v5-site .v4-compare-caption>span{min-width:0;display:flex;align-items:center;gap:7px}
.v5-site .v4-play{width:44px;height:44px;min-width:44px;flex:none}
.v5-site .v4-hero-mini{gap:12px;padding:17px}
.v5-site .v4-hero-mini strong{font-size:14px;line-height:1.5}
.v5-site .v4-hero-mini div>span{font-size:13px;line-height:1.6;margin-top:3px}
.v5-site .v4-hero-mini .icon-btn{width:44px;height:44px;flex:none}
.v5-site .v4-stats{margin-top:49px;padding-top:27px;padding-bottom:25px;gap:22px}
.v5-site .v4-stats>div>span,.v5-site .v4-stats p{font-size:13px;line-height:1.6}
.v5-site .v4-stats p button{display:inline-flex;align-items:center;min-height:44px;font-size:13px;padding:8px 0;gap:5px;text-align:left}
.v5-site .v4-section{padding-top:86px;padding-bottom:86px}
.v5-site .v4-section-title{margin-bottom:33px;gap:28px}
.v5-site .v4-section-title h2{line-height:1.18;letter-spacing:-1.3px}
.v5-site .v4-section-title p{font-size:15px;line-height:1.75;max-width:365px}
.v5-site .section-label{font-size:12px;line-height:1.5;letter-spacing:.7px}
.v5-site .v4-note,.v5-site .proof-note,.v5-site .pricing-disclaimer{font-size:13px;line-height:1.75;color:var(--muted)}
.v5-site .v4-task-body p,.v5-site .v4-audience p{font-size:14px;line-height:1.75}
.v5-site .v4-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;white-space:normal;text-align:left}
.v5-site .v4-task-body{padding:25px}
.v5-site .v4-task-heading h3{font-size:20px;line-height:1.35}
.v5-site .v4-walk-step{min-height:106px}
.v5-site .v4-walk-step strong{font-size:16px}
.v5-site .v4-walk-step>span>span{font-size:13px;line-height:1.7}
.v5-site .v4-walk-footer{font-size:13px;line-height:1.55}
.v5-site .v4-feature-nav button{min-height:96px}
.v5-site .v4-feature-nav strong{font-size:15px;line-height:1.5}
.v5-site .v4-feature-nav small{font-size:13px;line-height:1.6}
.v5-site .v4-feature-description p{font-size:15px;line-height:1.8}
.v5-site .v4-feature-chips button{min-height:44px;font-size:13px}
.v5-site .v4-gallery-toolbar{gap:16px;flex-wrap:wrap}
.v5-site .gallery-filters{gap:8px;flex-wrap:wrap}
.v5-site .gallery-filters button{min-height:44px;font-size:13px;padding:10px 16px}
.v5-site .case-info p{font-size:13px;line-height:1.6}
.v5-site .case-info .icon-btn{width:44px;height:44px;flex:none}
.v5-site .v4-audience{padding:27px}
.v5-site .v4-audience h3{font-size:20px;line-height:1.35}
.v5-site .v4-plan-copy>p{font-size:15px;line-height:1.8}
.v5-site .v4-plan-copy .v4-note{font-size:13px}
.v5-site .v4-plan-steps li{font-size:14px;line-height:1.7}
.v5-site .v4-credit-calc{gap:18px;flex-wrap:wrap}
.v5-site .v4-credit-calc>div:first-child span{font-size:13px;line-height:1.65}
.v5-site .v4-credit-calc label{font-size:13px;line-height:1.6}
.v5-site .v4-credit-calc input{font-size:16px;min-height:44px}
.v5-site .v4-calc-total span{font-size:13px}
.v5-site .price-card{min-width:0}
.v5-site .price-card p,.v5-site .price-card li,.v5-site .price-card .quota{font-size:13px;line-height:1.7}
.v5-site .price-card .btn{min-height:48px;font-size:14px;white-space:normal}
.v5-site .v4-popular{min-height:76px;padding:18px 20px;font-size:14px;line-height:1.5}
.v5-site .v4-article-card-copy p{font-size:15px;line-height:1.8}
.v5-site .faq-layout>div>p{font-size:15px;line-height:1.75}
.v5-site .faq-list summary{min-height:56px;font-size:15px;line-height:1.55;padding-top:18px;padding-bottom:18px}
.v5-site .faq-list details p{font-size:14px;line-height:1.8}
.v5-site .v4-final>div>p{font-size:16px;line-height:1.75}
.v5-site .v4-final .btn{min-height:50px;white-space:normal}
.v4-header .nav button,.v4-header .nav>a{min-height:44px;font-size:13px;display:inline-flex;align-items:center;padding:9px 3px}
.v4-header .nav{gap:18px}
.v4-header .btn{min-height:44px}
.v4-header .menu-toggle{width:44px;height:44px}
.v4-footer-main>div>button,.v4-footer-main>div>a{min-height:44px;display:flex;align-items:center;font-size:13px;line-height:1.5;padding:9px 0}
.v4-footer-brand p,.v4-footer-bottom p{font-size:13px;line-height:1.7}
.v4-footer-bottom button{min-height:44px;font-size:13px}
.v4-floating-help{width:48px;height:48px}

/* Scenario examples are editorial content, not fabricated testimonials. */
.v5-site .v5-scenarios{background:#f5f3ed}
.v5-scenario-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.v5-scenario-card{min-width:0;background:rgba(255,255,255,.82);border:1px solid #e2ded4;border-radius:16px;padding:28px;display:flex;flex-direction:column;align-items:flex-start}
.v5-scenario-icon{width:44px;height:44px;background:var(--v5-sage);color:#4f6857;border-radius:12px;display:grid;place-items:center;margin-bottom:24px}
.v5-scenario-card h3{font-size:20px;line-height:1.4;letter-spacing:-.4px;margin-bottom:13px}
.v5-scenario-card>p{font-size:15px;line-height:1.8;margin-bottom:23px;color:#545b66}
.v5-scenario-role{font-size:13px;line-height:1.65;color:#657167;margin-top:auto}
.v5-scenarios>.container>.v4-note{margin-top:20px;max-width:800px}
.v5-media-check{margin-top:30px;border-top:1px solid #dcd8cf;border-bottom:1px solid #dcd8cf}
.v5-media-check>summary{min-height:56px;padding:16px 2px;font-size:14px;font-weight:600;color:#555e68;cursor:pointer;line-height:1.6}
.v5-media-check>summary::marker{color:var(--brand)}
.v5-media-check-body{padding:3px 0 24px}
.v5-media-check-body>p{font-size:13px;line-height:1.75;max-width:790px}
.v5-media-check .v4-media-names{margin:20px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v5-media-check .v4-media-names button{min-height:72px;min-width:0;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:12px 15px;background:rgba(255,255,255,.6);border:1px solid #ddd9d1;border-radius:10px}
.v5-media-check .v4-media-names strong{font-size:14px;font-weight:600}
.v5-media-check .v4-media-names span{font-size:13px;color:var(--muted);line-height:1.4}

/* Guided studio: a readable three-step path and one primary action per panel. */
.v5-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px;padding:0}
.v5-step{display:flex;align-items:center;gap:12px;min-width:0;min-height:86px;padding:15px 18px;text-align:left;border:1px solid var(--v5-border);border-radius:13px;background:#fff;box-shadow:0 2px 8px rgba(32,38,51,.015);transition:border-color .16s,background .16s}
.v5-step:hover:not(:disabled):not(.disabled){border-color:#b5aae6;background:#fcfbff}
.v5-step-number{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#f1f1f3;color:#646b78;font-size:14px;font-weight:700}
.v5-step>span:not(.v5-step-number){display:flex;min-width:0;flex-direction:column;gap:3px}
.v5-step strong{display:block;font-size:14px;line-height:1.45;font-weight:700}
.v5-step small{display:block;font-size:13px;line-height:1.5;color:var(--v5-caption);font-weight:400}
.v5-step.active{background:#f5f2ff;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.v5-step.active .v5-step-number{background:var(--brand);color:#fff}
.v5-step.active strong{color:#4839b0}
.v5-step.done .v5-step-number{background:#e7f0e9;color:#267356}
.v5-step.done{border-color:#cddad0}
.v5-step:disabled,.v5-step.disabled,.v5-step[aria-disabled="true"]{opacity:1;background:#f3f3f1;color:#727783;box-shadow:none;cursor:default}
.v5-step:disabled .v5-step-number,.v5-step.disabled .v5-step-number{background:#eaeaec;color:#757b85}
.v5-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,420px);gap:28px;align-items:start;min-width:0}
.v5-workspace>.work-area{min-width:0;width:100%}
.v5-workspace .canvas-card{border-radius:16px;box-shadow:var(--v5-shadow)}
.v5-workspace .canvas-toolbar{padding:16px 18px;min-width:0}
.v5-workspace .canvas-toolbar>div:first-child{min-width:0}
.v5-workspace .canvas-toolbar strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.v5-workspace .canvas-toolbar small{font-size:13px;line-height:1.55}
.v5-workspace .canvas-actions{flex-shrink:0;flex-wrap:wrap;justify-content:flex-end}
.v5-workspace .canvas-actions .icon-btn{width:44px;height:44px}
.v5-workspace .canvas-bottom{padding:15px 18px;flex-wrap:wrap}
.v5-workspace .canvas-bottom .segments{min-width:0}
.v5-workspace .canvas-bottom .segments button{min-height:44px;font-size:13px;padding:10px 13px}
.v5-workspace .canvas-bottom .btn{min-height:44px;font-size:13px}
.v5-workspace .result-note{font-size:13px;line-height:1.7}
.v5-workspace .uploader{min-height:355px;padding:38px 28px;border:1px dashed #bcb4d2;border-radius:16px;background:linear-gradient(145deg,#fff 50%,#f5f3fc);box-shadow:var(--v5-shadow)}
.v5-workspace .uploader.dragging{background:var(--soft);border-color:var(--brand)}
.v5-workspace .uploader-inner{max-width:430px}
.v5-workspace .uploader-inner h2{font-size:25px;line-height:1.35;letter-spacing:-.65px}
.v5-workspace .uploader-inner p,.v5-workspace .uploader-inner small{font-size:13px;line-height:1.75}
.v5-workspace .uploader .btn{min-height:48px;white-space:normal}
.v5-panel{min-width:0;width:100%;background:var(--v5-panel);border:1px solid var(--v5-border);border-radius:16px;box-shadow:var(--v5-shadow);position:relative;max-height:none;height:auto;overflow:visible;align-self:start}
.v5-panel-head{padding:24px 24px 21px;border-bottom:1px solid #e8e8ee}
.v5-panel-head h2{font-size:21px;line-height:1.35;letter-spacing:-.55px;margin:0 0 8px}
.v5-panel-head p{font-size:13px;line-height:1.7;margin:0;color:var(--v5-caption)}
.v5-panel-head .eyebrow,.v5-panel-head .section-label{font-size:11px;line-height:1.5;margin-bottom:9px;letter-spacing:.55px}
.v5-panel-body{padding:24px;overflow:visible;max-height:none;min-width:0}
.v5-panel-body>section+section,.v5-panel-body>.field+.field{margin-top:22px}
.v5-panel-body h3{font-size:16px;line-height:1.45;letter-spacing:-.2px;margin-bottom:13px}
.v5-panel-body h4{font-size:14px;line-height:1.5;margin:0 0 10px}
.v5-panel .field-label{font-size:13px;line-height:1.5;margin-bottom:9px;color:#39414e}
.v5-panel .field-label .muted{font-weight:400;font-size:13px}
.v5-panel .field{margin-bottom:22px;min-width:0}
.v5-panel .field:last-child{margin-bottom:0}
.v5-panel p,.v5-panel small,.v5-panel .input-help,.v5-panel .demo-info{font-size:13px;line-height:1.7}
.v5-panel .input-help{margin-top:8px;color:var(--v5-caption)}
.v5-panel .text-input,.v5-panel .select-input,.v5-panel select,.v5-panel textarea,.v5-panel input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]){width:100%;max-width:100%;min-width:0;min-height:46px;height:auto;font-size:16px;line-height:1.5;border-radius:9px;padding:11px 13px}
.v5-panel textarea{min-height:106px;resize:vertical}
.v5-panel input[type="color"]{width:46px;height:46px;min-width:46px;padding:3px;border:1px solid var(--line);border-radius:8px;background:#fff}
.v5-panel input[type="checkbox"],.v5-panel input[type="radio"],.v5-quality-check input{width:19px;height:19px;min-width:19px;flex:none;accent-color:var(--brand);margin:2px 0 0}
.v5-panel .btn,.v5-panel .icon-btn{min-height:44px;font-size:13px;white-space:normal}
.v5-panel .segments{min-width:0;display:flex;flex-wrap:wrap}
.v5-panel .segments button{min-height:44px;font-size:13px;min-width:0;white-space:normal;padding:10px 11px}
.v5-panel-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 24px 24px;border-top:1px solid #e8e8ee;border-radius:0 0 16px 16px;background:#fff}
.v5-panel-foot>.btn{flex:1;min-width:0;min-height:48px;font-size:14px}
.v5-panel-foot>p,.v5-panel-foot>small,.v5-panel-foot>.cost-line,.v5-panel-foot>.v5-save-state{flex-basis:100%;margin:0}
.v5-panel-foot .cost-line{font-size:13px;line-height:1.5}
.v5-panel-foot .cost-line strong{font-size:14px}
.v5-upload-help{margin-top:22px;padding:25px;background:#f5f5f0;border:1px solid #e2e3d9;border-radius:16px}
.v5-upload-help h2,.v5-upload-help h3{font-size:18px;line-height:1.4;letter-spacing:-.3px;margin-bottom:10px}
.v5-upload-help>p,.v5-upload-help small{font-size:13px;line-height:1.7;color:var(--v5-caption)}
.v5-example-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.v5-example-pair>*{min-width:0;margin:0}
.v5-example-pair img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;border:1px solid #dedfd7}
.v5-example-pair figcaption,.v5-example-pair small,.v5-example-pair span{display:block;font-size:13px;line-height:1.6;color:#606575;margin-top:7px}
.v5-tip-list{margin:16px 0 0;padding-left:19px;display:grid;gap:8px;font-size:13px;line-height:1.75;color:#545e59}
.v5-tip-list li::marker{color:#63816a}
.v5-upload-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 13px;padding:13px 16px;margin:13px 0;background:#f3f4ef;border-radius:10px;font-size:13px;line-height:1.6;color:#606575;min-width:0;overflow-wrap:anywhere;word-break:break-word}
.v5-upload-meta strong{color:#3e4850;overflow-wrap:anywhere}
.v5-upload-meta .btn{min-height:44px;font-size:13px;margin-left:auto}
.v5-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 24px}
.v5-goal{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;text-align:left;min-width:0;min-height:143px;padding:17px 15px;background:#fff;border:1px solid #dcdde6;border-radius:12px;transition:background .16s,border-color .16s;white-space:normal}
.v5-goal>.i{width:24px;height:24px;color:#807a92;margin-bottom:4px}
.v5-goal strong{font-size:15px;line-height:1.45;color:var(--ink);letter-spacing:-.15px}
.v5-goal small{font-size:13px;line-height:1.65;color:var(--v5-caption);font-weight:400}
.v5-goal:hover{border-color:#b7ace6;background:#fcfbff}
.v5-goal.active,.v5-goal[aria-pressed="true"]{border-color:var(--brand);background:#f4f0ff;box-shadow:0 0 0 1px var(--brand)}
.v5-goal.active>.i,.v5-goal[aria-pressed="true"]>.i{color:var(--brand)}
.v5-direction{margin-top:24px;padding-top:23px;border-top:1px solid #e8e8ee}
.v5-direction>h3{margin-bottom:8px}
.v5-direction>p{margin:0 0 16px}
.v5-style-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.v5-style-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:132px;padding:13px;text-align:left;border:1px solid #dcdde6;border-radius:11px;background:#fff;white-space:normal;transition:background .16s,border-color .16s}
.v5-style-card:hover{border-color:#b7ace6;background:#fcfbff}
.v5-palette{display:flex;width:100%;height:31px;gap:0;border-radius:6px;overflow:hidden;margin-bottom:3px;border:1px solid rgba(32,38,51,.06)}
.v5-palette i{display:block;min-width:0;flex:1;height:100%}
.v5-style-card strong{font-size:14px;line-height:1.45}
.v5-style-card small{font-size:13px;line-height:1.6;color:var(--v5-caption);font-weight:400}
.v5-style-card.active,.v5-style-card[aria-pressed="true"]{background:#f6f3ff;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.v5-style-neutral{grid-column:1/-1;min-height:62px;display:flex;flex-direction:row;align-items:center;gap:12px;padding:13px 15px;text-align:left}
.v5-style-neutral .i{color:#807a92;flex:none}
.v5-style-neutral>span:not(.i){display:flex;flex-direction:column;gap:3px}
.v5-reference{margin-top:22px;padding:19px;background:#f7f7f3;border:1px solid #e1e1d8;border-radius:12px;min-width:0}
.v5-reference>h3{font-size:15px;margin-bottom:8px}
.v5-reference>p{font-size:13px;line-height:1.7;margin-bottom:13px}
.v5-reference .btn{font-size:13px;min-height:44px}
.v5-reference-preview{display:flex;align-items:flex-start;gap:13px;min-width:0;margin:14px 0}
.v5-reference-preview img{width:88px;height:88px;flex:none;border-radius:9px;object-fit:cover;background:#e7e6df}
.v5-reference-preview>div,.v5-reference-preview>span{min-width:0;overflow-wrap:anywhere}
.v5-reference-preview strong{display:block;font-size:13px;line-height:1.5;margin-bottom:4px}
.v5-reference-preview p,.v5-reference-preview small{font-size:13px;line-height:1.6;margin:0}
.v5-reference-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.v5-reference-chips label{display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:0;padding:9px 11px;background:#fff;border:1px solid #dcdde3;border-radius:9px;font-size:13px;line-height:1.4;cursor:pointer}
.v5-reference-chips label:has(input:checked){background:#f2eeff;border-color:#a99be2;color:#493b9b}
.v5-details{margin-top:23px}
.v5-details details,details.v5-details{border-top:1px solid #e5e5eb}
.v5-details details>summary,details.v5-details>summary{min-height:50px;padding:14px 2px;font-size:14px;font-weight:700;line-height:1.6;color:#46505d;cursor:pointer}
.v5-details summary::marker{color:var(--brand)}
.v5-details details[open]>summary,details.v5-details[open]>summary{margin-bottom:8px}
.v5-details details>div{padding-bottom:15px}
.v5-preserve-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 18px}
.v5-preserve-checks label{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px;background:#f6f6f7;border:1px solid transparent;border-radius:8px;min-width:0;font-size:13px;line-height:1.5;cursor:pointer}
.v5-preserve-checks label:has(input:checked){background:#f1edf9;border-color:#d5cbed}
.v5-summary{margin:0}
.v5-summary dl{margin:0;display:grid;gap:0}
.v5-summary dl>div,.v5-summary>div:not(.v5-summary-photo){display:grid;grid-template-columns:minmax(84px,.8fr) minmax(0,1.5fr);gap:12px;padding:13px 0;border-bottom:1px solid #e9e9ee;align-items:start}
.v5-summary dt{font-size:13px;line-height:1.6;color:var(--v5-caption);margin:0}
.v5-summary dd{font-size:14px;line-height:1.65;font-weight:600;color:#37404e;margin:0;min-width:0;overflow-wrap:anywhere}
.v5-summary-photo{display:flex;align-items:center;gap:13px;margin:0 0 16px;padding:13px;border-radius:11px;background:#f4f5ef;min-width:0}
.v5-summary-photo img{width:72px;height:64px;object-fit:cover;flex:none;border-radius:7px}
.v5-summary-photo>div,.v5-summary-photo>span{min-width:0;overflow-wrap:anywhere}
.v5-summary-photo strong{display:block;font-size:14px;line-height:1.5;margin-bottom:3px}
.v5-summary-photo small,.v5-summary-photo p{font-size:13px;line-height:1.6;margin:0}
.v5-review-note{display:flex;align-items:flex-start;gap:10px;margin-top:20px;padding:15px;background:var(--v5-sage);border:1px solid #dfe6dc;border-radius:10px;font-size:13px;line-height:1.75;color:#4e6054}
.v5-review-note .i{width:20px;height:20px;flex:none;margin-top:2px;color:#59765f}
.v5-review-note p{font-size:13px;line-height:1.75;color:inherit;margin:0}
.v5-result-next{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:18px;margin:23px 0;padding:23px 25px;border:1px solid #ddd4f5;border-radius:15px;background:#f4f0ff}
.v5-result-next>div{min-width:0;flex:1}
.v5-result-next h2,.v5-result-next h3{font-size:19px;line-height:1.4;letter-spacing:-.35px;margin:0 0 7px}
.v5-result-next p{font-size:13px;line-height:1.75;max-width:620px;margin:0}
.v5-result-next .btn{min-height:44px;font-size:13px;white-space:normal}
.v5-board-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:24px 0 16px}
.v5-board-toolbar h2,.v5-board-toolbar h3{font-size:20px;line-height:1.4;letter-spacing:-.4px;margin:0}
.v5-board-toolbar p,.v5-board-toolbar span{font-size:13px;line-height:1.6;color:var(--v5-caption)}
.v5-board-toolbar .btn{min-height:44px;font-size:13px;white-space:normal}
.v5-version-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.v5-version-card{min-width:0;overflow:hidden;border:1px solid #dcdde5;border-radius:15px;background:#fff;box-shadow:var(--v5-shadow)}
.v5-version-card.selected,.v5-version-card[aria-selected="true"]{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.v5-version-card>img,.v5-version-card>div>img{width:100%;aspect-ratio:3/2;object-fit:contain;background:#eeeee8;border-bottom:1px solid #e5e5e9}
.v5-version-card>header,.v5-version-card .v5-version-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:16px 17px}
.v5-version-card header strong,.v5-version-card h3{font-size:15px;line-height:1.5;letter-spacing:0;margin:0}
.v5-version-card header small,.v5-version-card p{font-size:13px;line-height:1.65;color:var(--v5-caption);margin:3px 0 0}
.v5-version-card>.btn,.v5-version-card>button{margin:0 16px 16px;width:calc(100% - 32px);min-height:44px;font-size:13px;white-space:normal}
.v5-version-card button.selected,.v5-version-card button[aria-pressed="true"]{background:var(--soft);border-color:var(--brand);color:var(--brand)}
.v5-quality-check{margin-top:22px;padding:21px 23px;background:#f6f6f1;border:1px solid #e2e4d9;border-radius:13px;display:grid;gap:6px}
.v5-quality-check h3{font-size:16px;line-height:1.5;letter-spacing:-.2px;margin:0 0 8px}
.v5-quality-check label{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;font-size:13px;line-height:1.7;color:#46534b;cursor:pointer}
.v5-quality-check p{font-size:13px;line-height:1.7;margin:3px 0 0}
.v5-save-state{display:inline-flex;align-items:center;gap:7px;font-size:13px;line-height:1.6;color:#4e6856}
.v5-save-state .i{width:17px;height:17px;flex:none}
.v5-mobile-switch,.v5-compact-source{display:none}
.v5-site :is(button,a,input,select,textarea,summary):focus-visible,
.v5-steps button:focus-visible,
.v5-workspace :is(button,a,input,select,textarea,summary):focus-visible,
.v5-version-board button:focus-visible{outline:3px solid var(--brand);outline-offset:3px}

@media(max-width:1180px){
  .v5-workspace{grid-template-columns:minmax(0,1fr) minmax(340px,390px);gap:22px}
  .v5-panel-head,.v5-panel-body{padding:21px}
  .v5-panel-foot{padding:18px 21px 21px}
  .v5-site .v4-hero-grid{gap:32px}
  .v5-site .v4-hero-copy h1{font-size:clamp(40px,4.05vw,48px);letter-spacing:-1.9px}
  .v5-site .v4-hero-actions .btn{padding:12px 16px;font-size:13px}
  .v5-site .v4-stats{gap:18px}
  .v5-site .v4-section{padding-top:73px;padding-bottom:73px}
  .v4-header .nav{gap:13px}
}
@media(min-width:761px) and (max-width:1030px){
  .v5-workspace{grid-template-columns:minmax(0,1fr)}
  .v5-panel{width:100%}
  .v5-panel-head,.v5-panel-body,.v5-panel-foot{padding-left:26px;padding-right:26px}
  .v5-style-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
  .v5-style-neutral{grid-column:1/-1}
  .v5-goals{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v5-workspace .uploader{min-height:300px}
}
@media(max-width:960px){
  .v5-site .v4-hero-grid{grid-template-columns:1fr;gap:35px}
  .v5-site .v4-hero-copy{max-width:640px}
  .v5-site .v4-hero-copy h1{font-size:clamp(42px,6.3vw,60px);letter-spacing:-2.2px}
  .v5-site .v4-hero-preview{width:100%;max-width:760px}
  .v5-site .v4-hero-actions .btn{min-height:50px;font-size:14px;padding:13px 20px}
  .v5-site .v4-lead{max-width:550px}
  .v5-site .v5-prototype-note{max-width:600px}
  .v5-site .v4-stats{margin-top:35px}
  .v5-scenario-grid{gap:14px}
  .v5-scenario-card{padding:21px}
}
@media(max-width:760px){
  .v5-site .v4-hero{padding-top:34px}
  .v5-site .v4-hero-copy h1{font-size:clamp(37px,6.5vw,48px);line-height:1.13;letter-spacing:-1.7px;margin:22px 0 18px}
  .v5-site .v4-lead{font-size:16px;line-height:1.75}
  .v5-hero-path{gap:12px 17px;margin-top:20px}
  .v5-site .v4-hero-actions{align-items:stretch;gap:10px}
  .v5-site .v4-hero-actions .btn{min-height:50px;font-size:14px}
  .v5-site .v4-preview-top{font-size:13px;flex-wrap:wrap;gap:8px}
  .v5-site .v4-hero-mini{padding:15px;gap:10px}
  .v5-site .v4-hero-mini .v4-mini-icon{display:none}
  .v5-site .v4-hero-mini strong{font-size:14px}
  .v5-site .v4-hero-mini div>span{font-size:13px}
  .v5-site .v4-compare-caption{font-size:13px}
  .v5-site .v4-compare-caption>.i{display:none}
  .v5-site .v4-stats{gap:19px 22px;padding-top:23px;padding-bottom:22px}
  .v5-site .v4-stats strong{font-size:30px;letter-spacing:-1px}
  .v5-site .v4-stats>div>span,.v5-site .v4-stats p{font-size:13px}
  .v5-site .v4-section{padding-top:58px;padding-bottom:58px}
  .v5-site .v4-section-title{gap:16px;margin-bottom:26px}
  .v5-site .v4-section-title h2{font-size:31px;line-height:1.22;letter-spacing:-1px}
  .v5-site .v4-section-title p{font-size:14px;line-height:1.75;max-width:none}
  .v5-site .v4-task-body{padding:23px}
  .v5-site .v4-task-body p{font-size:14px}
  .v5-site .v4-walk-step{min-height:105px;padding-top:17px;padding-bottom:17px}
  .v5-site .v4-feature-nav button{min-height:80px}
  .v5-site .v4-feature-nav strong{font-size:14px}
  .v5-site .v4-feature-nav small{font-size:13px}
  .v5-site .v4-feature-description p{font-size:14px}
  .v5-site .v4-feature-chips{gap:7px}
  .v5-site .v4-audience{padding:23px}
  .v5-site .v4-audience h3{font-size:19px}
  .v5-site .v4-plan-copy>p{font-size:14px}
  .v5-site .gallery-filters{width:100%;gap:7px}
  .v5-site .gallery-filters button{flex:1;min-width:100px;padding:10px 12px;font-size:13px}
  .v5-site .v4-credit-calc{gap:14px}
  .v5-site .v4-credit-calc>div:first-child{flex-basis:100%}
  .v5-site .v4-credit-calc label{flex:1;min-width:95px}
  .v5-site .v4-calc-total{flex-basis:100%;text-align:left}
  .v5-site .v4-popular{min-height:72px;font-size:14px}
  .v5-site .faq-list summary{font-size:14px}
  .v5-site .faq-list details p{font-size:14px;padding-right:4px}
  .v5-scenario-grid{grid-template-columns:1fr;gap:14px}
  .v5-scenario-card{padding:23px}
  .v5-scenario-icon{margin-bottom:18px}
  .v5-scenario-card>p{font-size:14px;line-height:1.8}
  .v5-media-check .v4-media-names{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v4-header .nav button,.v4-header .nav>a{min-height:44px;font-size:14px;padding:11px 18px}
  .v4-footer-main>div>button,.v4-footer-main>div>a{min-height:44px}

  .v5-steps{gap:8px;margin-bottom:17px}
  .v5-step{min-height:93px;padding:12px 10px;gap:7px;align-items:flex-start;flex-direction:column}
  .v5-step-number{width:28px;height:28px;font-size:13px}
  .v5-step strong{font-size:13px;line-height:1.45}
  .v5-step small{font-size:13px;line-height:1.45}
  .v5-workspace{display:block;min-width:0}
  .v5-panel{margin-top:20px;border-radius:14px;max-height:none}
  .v5-panel-head{padding:21px 20px 18px}
  .v5-panel-head h2{font-size:21px}
  .v5-panel-body{padding:21px 20px;overflow:visible;max-height:none}
  .v5-panel-foot{position:sticky;bottom:0;z-index:8;padding:16px 20px 18px;background:#fff;border-top:1px solid #e2deed;border-radius:0 0 14px 14px;box-shadow:0 -7px 17px rgba(32,38,51,.035)}
  .v5-panel-foot>.btn{min-height:48px;font-size:14px}
  .v5-panel .field-label{font-size:13px}
  .v5-panel .text-input,.v5-panel select,.v5-panel textarea{font-size:16px;min-height:46px}
  .v5-mobile-switch{display:flex;gap:5px;background:#eae8ef;border:1px solid #dfdce7;border-radius:11px;padding:4px;margin:0 0 18px}
  .v5-mobile-switch button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;min-height:44px;padding:10px 12px;font-size:14px;font-weight:600;border:0;border-radius:8px;background:transparent;color:#626775;white-space:normal}
  .v5-mobile-switch button.active,.v5-mobile-switch button[aria-pressed="true"],.v5-mobile-switch button[aria-selected="true"]{background:#fff;color:var(--brand);box-shadow:0 2px 5px rgba(32,38,51,.06)}
  .v5-workspace.v5-has-photo[data-mobile-view="settings"]>.work-area{display:none}
  .v5-workspace.v5-has-photo[data-mobile-view="photo"]>.v5-panel{display:none}
  .v5-workspace.v5-has-photo[data-mobile-view="settings"]>.v5-panel{margin-top:0}
  .v5-compact-source{display:flex;align-items:center;gap:12px;padding:13px 15px;margin-bottom:18px;border-radius:10px;background:#f4f5ef;min-width:0}
  .v5-compact-source img{width:61px;height:54px;flex:none;object-fit:cover;border-radius:7px}
  .v5-compact-source>div,.v5-compact-source>span{min-width:0;overflow-wrap:anywhere}
  .v5-compact-source strong{display:block;font-size:13px;line-height:1.5}
  .v5-compact-source p,.v5-compact-source small{font-size:13px;line-height:1.6;margin:2px 0 0}
  .v5-compact-source .btn{min-height:44px;font-size:13px;padding:9px;margin-left:auto;flex:none}
  .v5-workspace .uploader{min-height:305px;padding:28px 20px}
  .v5-workspace .uploader-inner h2{font-size:23px}
  .v5-workspace .uploader-inner .btn{min-height:48px}
  .v5-workspace .canvas-toolbar{padding:13px;gap:10px;flex-wrap:wrap}
  .v5-workspace .canvas-toolbar>div:first-child{flex:1 1 160px}
  .v5-workspace .canvas-toolbar small{font-size:13px}
  .v5-workspace .canvas-actions{gap:5px}
  .v5-workspace .canvas-bottom{padding:12px}
  .v5-workspace .canvas-bottom .segments{width:100%;min-width:0}
  .v5-workspace .canvas-bottom .segments button{flex:1;min-height:44px}
  .v5-upload-help{padding:21px 19px;margin-top:18px}
  .v5-example-pair{gap:9px}
  .v5-upload-meta{padding:12px 13px;gap:7px 10px}
  .v5-goals{gap:9px}
  .v5-goal{min-height:145px;padding:15px 12px}
  .v5-goal strong{font-size:14px}
  .v5-goal small{font-size:13px}
  .v5-style-card{padding:12px;min-height:134px}
  .v5-style-neutral{min-height:66px}
  .v5-reference{padding:16px}
  .v5-reference-preview img{width:72px;height:76px}
  .v5-reference-chips{gap:6px}
  .v5-reference-chips label{padding:9px;min-height:44px}
  .v5-preserve-checks{gap:6px}
  .v5-summary dl>div,.v5-summary>div:not(.v5-summary-photo){grid-template-columns:minmax(76px,.75fr) minmax(0,1.4fr);gap:9px}
  .v5-summary-photo{padding:12px;gap:11px}
  .v5-result-next{padding:20px;gap:15px;margin:20px 0}
  .v5-result-next>div{flex-basis:100%}
  .v5-result-next>.btn{width:100%;min-height:48px}
  .v5-board-toolbar{align-items:flex-start;margin-top:22px}
  .v5-version-board{gap:13px}
  .v5-version-card>header,.v5-version-card .v5-version-header{padding:14px}
  .v5-version-card>.btn,.v5-version-card>button{margin:0 13px 13px;width:calc(100% - 26px)}
  .v5-quality-check{padding:19px}

  /* Existing detail editor / plan: preserve layout, enlarge touch controls only. */
  .app-shell .settings .input-help,.app-shell .settings small{font-size:13px;line-height:1.65}
  .app-shell .settings .field-label{font-size:13px;line-height:1.5}
  .app-shell .settings .text-input,.app-shell .settings .select-input{font-size:16px;min-height:44px}
  .app-shell .settings input.text-input{height:auto;min-height:44px}
  .app-shell .settings button,.app-shell .canvas-toolbar .icon-btn,.app-shell .canvas-bottom button{min-height:44px}
  .app-shell .canvas-toolbar .icon-btn,.app-shell .brush-tools .icon-btn{width:44px;height:44px}
  .app-shell .brush-tools{flex-wrap:wrap;gap:7px}
  .app-shell .brush-tools .btn{font-size:13px;padding:10px}
  .app-shell .plan-room{min-height:44px;font-size:14px}
}
@media(max-width:520px){
  .v5-site .v4-hero-actions{display:grid;grid-template-columns:1fr;width:100%}
  .v5-site .v4-hero-actions .btn{width:100%;justify-content:center}
  .v5-site .v4-hero-copy h1{font-size:clamp(35px,8.6vw,42px);letter-spacing:-1.65px}
  .v5-site .v4-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 19px}
  .v5-site .v4-stats>p{grid-column:1/-1;max-width:none}
  .v5-site .v4-stats strong{font-size:31px}
  .v5-site .v4-stats>div{min-width:0}
  .v5-site .v4-preview-top .v4-tiny-tag{font-size:11px}
  .v5-site .v4-compare-caption>span .i{display:none}
  .v5-site .v4-final h2{font-size:32px;letter-spacing:-1.05px;line-height:1.22}
  .v5-site .v4-final .btn{width:100%}
  .v5-version-board{grid-template-columns:1fr}
}
@media(max-width:360px){
  .v5-site .v4-hero-copy h1{font-size:34px;letter-spacing:-1.4px}
  .v5-hero-path{gap:9px 12px}
  .v5-hero-path li{gap:6px;font-size:13px}
  .v5-site .v4-hero-benefits{gap:10px 14px}
  .v5-site .v4-section-title h2{font-size:28px}
  .v5-panel-head,.v5-panel-body{padding-left:16px;padding-right:16px}
  .v5-panel-foot{padding-left:16px;padding-right:16px}
  .v5-step{padding:11px 8px}
  .v5-step small{font-size:13px}
  .v5-goals{gap:7px}
  .v5-goal{padding:13px 10px}
  .v5-style-cards{gap:8px}
  .v5-style-card{padding:11px 10px}
  .v5-reference-preview{gap:9px;flex-wrap:wrap}
  .v5-preserve-checks{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .v5-site *, .v5-site *::before,.v5-site *::after,
  .v5-steps *, .v5-workspace *,.v5-version-board *{
    animation:none!important;transition:none!important;scroll-behavior:auto!important;
  }
}

/* Matches the final guided markup, including the optional reference and review. */
.v5-panel.v5-upload-help{padding:0;margin-top:0;background:#fff;border-color:var(--v5-border)}
.v5-panel.v5-upload-help .v5-panel-head h2{font-size:21px;line-height:1.35}
.v5-panel.v5-upload-help .v5-example-pair{margin-top:0}
.v5-tip-list{list-style:none;padding-left:0}
.v5-tip-list li{display:flex;align-items:flex-start;gap:9px}
.v5-tip-list li .i{width:18px;height:18px;flex:none;margin-top:3px;color:#5b775e}
.v5-style-neutral{width:100%;margin-top:10px;background:#f8f7fb;border:1px solid #dcdde6;border-radius:9px;font-size:13px;line-height:1.6;justify-content:flex-start;white-space:normal;color:#555d6b}
.v5-style-neutral:hover{background:#f3f0fb;border-color:#b7ace6}
.v5-style-neutral.active,.v5-style-neutral[aria-pressed="true"]{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand);background:var(--soft);color:#493b9b}
.v5-reference>summary{padding:8px 0;line-height:1.6;font-size:13px}
.v5-reference>summary>.i{width:19px;height:19px;margin-right:5px;color:#777087}
.v5-reference-chips>.field-label{flex-basis:100%;margin:0 0 3px}
.v5-panel .v5-result-next{display:block;padding:18px 16px;margin:22px 0 0}
.v5-panel .v5-result-next>h3{margin-bottom:7px;font-size:17px}
.v5-panel .v5-result-next>.btn{width:100%;margin-top:13px;min-height:46px}
.v5-panel .v5-result-next>.input-help{margin-top:11px}
.v5-panel .v5-quality-check{margin-top:18px;padding:15px 0 0;background:transparent;border:0;border-top:1px solid #ded6ee;border-radius:0;gap:3px}
.v5-panel .v5-quality-check>.field-label{margin-bottom:5px}
.v5-panel .v5-quality-check label{padding:10px 0;font-size:13px}
.v5-step-number>.i{width:18px;height:18px}

/* Scenario calculator in the demo-package dialog. */
.v5-package-calc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0 14px;padding:18px 20px;border:1px solid #e3deef;border-radius:12px;background:#f6f4fc}
.v5-package-calc label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:600;line-height:1.5;color:#4b5060}
.v5-package-calc input{width:100%;min-width:0;min-height:48px;font-size:16px;line-height:1.5;padding:11px 13px;border:1px solid #d6d2e3;border-radius:8px;background:#fff;color:var(--ink)}
.v5-package-calc~.input-help,.dialog-body:has(.v5-package-calc) .input-help{font-size:13px;line-height:1.75}
.dialog-body:has(.v5-package-calc) .dialog-price{min-height:78px;gap:14px}
.dialog-body:has(.v5-package-calc) .dialog-price small{font-size:13px;line-height:1.65;margin-top:5px}
.dialog-body:has(.v5-package-calc) .order-lines{font-size:14px;line-height:1.6}
.dialog-body:has(.v5-package-calc) .order-lines>div{gap:15px;align-items:flex-start}
.dialog-body:has(.v5-package-calc) .order-lines strong{text-align:right}
.dialog-body:has(.v5-package-calc) .dialog-actions{flex-wrap:wrap}
.dialog-body:has(.v5-package-calc) .dialog-actions>.btn{min-height:48px;min-width:145px;flex:1;font-size:14px;white-space:normal}
.v5-package-calc input:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
@media(max-width:760px){
  .v5-panel.v5-upload-help{margin-top:19px}
  .v5-workspace.v5-has-photo[data-mobile-view="settings"]>.v5-panel.v5-upload-help{margin-top:0}
  .v5-panel.v5-upload-help .v5-panel-head h2{font-size:21px}
  .v5-package-calc{padding:16px;gap:12px}
  .dialog-body:has(.v5-package-calc) .dialog-price{padding:14px}
  .dialog-body:has(.v5-package-calc) .dialog-price strong{font-size:14px}
  .dialog-body:has(.v5-package-calc) .dialog-price .cost{font-size:18px;white-space:nowrap}
}

/* Keep the existing mobile-only help item out of desktop navigation. */
.v4-header .nav .v4-mobile-help{display:none}
.v4-header .v4-version{font-size:13px}
@media(max-width:800px){.v4-header .nav .v4-mobile-help{display:inline-flex}}

/* Integrated visual QA: one marker per photo guidance line. */
.v5-tip-list{list-style:none;padding-left:0}

/* Compact navigation keeps the actual task visible above the fold on phones. */
@media(max-width:760px){
  .v5-steps{gap:7px;margin-bottom:14px}
  .v5-step{min-height:68px;gap:7px;padding:10px 9px;flex-direction:row;align-items:center}
  .v5-step small{display:none}
  .v5-step strong{font-size:12px;line-height:1.35}
  .v5-step-number{width:24px;height:24px;font-size:11px}
  .v5-panel-foot{gap:9px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
  .v5-panel-foot>.input-help{display:none}
  .v5-compact-source{padding:11px;gap:9px}
  .v5-compact-source img{width:48px;height:48px}
  .v5-compact-source .icon-btn{flex:none;margin-left:auto}
}
