/* Approved homepage layout. Scoped separately from account and checkout pages. */
body.homepage-layout{background:#fff;color:#172033}
.homepage-layout .launch-note{display:flex;justify-content:center;gap:8px;padding:9px 16px;background:#edf3ff;color:#34528c;font-size:10px;letter-spacing:.07em}
.homepage-layout .launch-note span{display:inline}.homepage-layout .launch-note .status-dot{flex-shrink:0}
.homepage-layout header{padding-block:17px;min-height:78px}
.homepage-layout header .logo{width:190px;height:auto}
.homepage-layout header nav{gap:22px;font-size:12px}
.homepage-layout .preview-nav-order{display:inline-flex;align-items:center;gap:8px;background:#2455e8;color:white;padding:11px 17px;border-radius:9px}
.homepage-layout .preview-hero{max-width:1240px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:65px;padding:62px 5% 68px;overflow:clip;align-items:center}
.preview-hero-left{min-width:0;position:relative;z-index:3}
.homepage-layout .hero-glow,.homepage-layout .hero-grid{display:none}
.homepage-layout .order-hero h1{font-size:clamp(38px,4vw,54px);line-height:1.08;letter-spacing:-.05em;margin-bottom:18px}
.homepage-layout .order-hero .lede{font-size:15px;line-height:1.7;margin-bottom:18px}
.homepage-layout .order-hero-copy>.eyebrow{font-size:9px;margin-bottom:15px}
.homepage-layout .hero-points{display:none}
.homepage-layout .hero-proof{margin:0 0 22px;gap:16px}
.homepage-layout .rating-line{padding:0;border:0;box-shadow:none;background:none;gap:10px}
.homepage-layout .rating-line strong{font-size:15px}
.homepage-layout .rating-line>span:last-child{font-size:11px}
.homepage-layout .rating-line small{display:none}
.homepage-layout .hero-proof .quiet-link{display:none}
.homepage-layout .order-card{padding:20px 22px;border-radius:16px;box-shadow:0 15px 50px #2946810c}
.homepage-layout .order-card-head{margin-bottom:6px}
.homepage-layout .order-card-example{font-size:10px}
.homepage-layout .order-card-head .eyebrow{font-size:9px}
.homepage-layout .order-card .vin-field input{min-height:52px;border-radius:9px}
.homepage-layout .order-submit{min-height:52px;border-radius:9px;font-size:14px;box-shadow:0 7px 20px #2455e820}
.homepage-layout .trust-row{margin-bottom:0}
.homepage-layout .report-stage{width:100%;min-height:570px;margin:0;align-self:center;padding-bottom:80px}
.homepage-layout .report-stage .hero-paper{margin-left:9%;width:80%;min-height:470px;padding:29px;top:35px}
.homepage-layout .report-stage .paper-back{left:9%;width:80%}
.homepage-layout .report-stage .hero-paper h2{font-size:30px}
.homepage-layout .report-stage .floating-pdf{display:none}
.homepage-layout .report-stage .report-chip{bottom:60px;left:0}
.homepage-layout .report-stage .stage-label{left:0;right:0;font-size:9px}
.homepage-layout .brand-section{max-width:1240px;padding:34px 5% 60px;border-top:1px solid #edf1f8}
.homepage-layout .brand-heading{margin-bottom:24px;gap:22px}
.homepage-layout .brand-heading h2{font-size:24px;letter-spacing:-.035em}
.homepage-layout .brand-heading p{font-size:12px;max-width:280px}
.homepage-layout .brand-highlights{gap:12px}
.homepage-layout .brand-highlights>a{min-height:124px;padding:15px 8px;border-radius:12px}
.homepage-layout .brand-more{margin-top:18px}
.homepage-layout .journey-strip{max-width:none;background:#f5f8ff;padding:60px max(5%,calc((100vw - 1116px)/2))}
.homepage-layout .journey-strip-title{font-size:30px;line-height:1.25;text-transform:none;letter-spacing:-.04em;color:#172033;max-width:600px;margin:0 auto 32px}
.homepage-layout .journey-rail{max-width:1050px;gap:40px;margin:0 auto;align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}
.homepage-layout .journey-rail article{display:flex;flex-direction:column;align-items:center;text-align:center;padding:0;background:none;border:0;box-shadow:none}
.homepage-layout .journey-animation{width:82px;height:64px;margin-bottom:15px;background:#fff}
.homepage-layout .journey-number{font-size:10px;margin-bottom:8px}
.homepage-layout .journey-rail h3{font-size:18px;margin:0 0 10px;line-height:1.4}
.homepage-layout .journey-rail p{font-size:13px;line-height:1.75;max-width:280px;margin:0}
.homepage-layout .journey-strip .journey-note{margin-top:25px;font-size:11px}
.preview-walkthrough,.preview-formats{max-width:1240px;padding:72px 5%;margin:auto}
.preview-section-head{text-align:center;max-width:660px;margin:0 auto 34px}
.preview-section-head .eyebrow{font-size:10px;letter-spacing:.16em;color:#2455e8;margin:0 0 13px}
.preview-section-head h2,.homepage-layout .section-heading h2{font-size:clamp(27px,3vw,36px);line-height:1.2;letter-spacing:-.04em;margin:0 0 16px;font-weight:650}
.preview-section-head>p:last-child{font-size:14px;line-height:1.8;color:#65768f;margin:0}
.walkthrough-shell{border:1px solid #dfe7f5;border-radius:18px;overflow:hidden;box-shadow:0 18px 60px #2946810a}
.walkthrough-bar{display:flex;align-items:center;gap:20px;padding:16px 24px;border-bottom:1px solid #e6ecf6;font-size:10px;font-weight:750;letter-spacing:.1em}
.walkthrough-bar>span:last-child{margin-left:auto;font-weight:450;color:#6c7e99;letter-spacing:0}
.walkthrough-dots{display:flex;gap:5px}.walkthrough-dots i{width:6px;height:6px;border-radius:50%;background:#d6e1f4}
.walkthrough-body{display:grid;grid-template-columns:.85fr 1.2fr;min-height:354px}
.walkthrough-tabs{padding:35px 28px;display:flex;flex-direction:column;justify-content:center;gap:12px}
.walkthrough-tabs button{display:flex;align-items:center;gap:14px;text-align:left;background:white;border:1px solid transparent;border-radius:11px;padding:17px 15px;color:#667895;font:inherit;font-size:13px;line-height:1.5;cursor:pointer}
.walkthrough-tabs button[aria-pressed=true]{border-color:#d6e2ff;background:#f2f6ff;color:#172033}
.walkthrough-tabs button>svg{margin-left:auto;width:15px;flex-shrink:0}.walkthrough-tabs button small{display:block;font-size:9px;font-weight:800;color:#2455e8;margin-bottom:3px}
.walkthrough-icon{display:grid;place-items:center;width:38px;height:40px;color:#2455e8;flex-shrink:0}
.walkthrough-icon svg{width:27px;height:27px}
.walkthrough-screen{display:grid;align-items:center;position:relative;background:radial-gradient(ellipse at top,#f0f5ff,#f9fbff);padding:34px 35px;text-align:center;min-width:0}
.walkthrough-screen article[hidden]{display:none}.walkthrough-screen article{max-width:410px;margin:auto}
.demo-symbol{display:grid;place-items:center;width:56px;height:56px;background:#fff;border:1px solid #dbe5f9;border-radius:14px;color:#2455e8;margin:0 auto 18px;box-shadow:0 5px 14px #2455e808}
.demo-symbol svg{width:28px;height:28px}.walkthrough-screen .eyebrow{font-size:9px;margin:0 0 10px}
.walkthrough-screen h3{font-size:21px;letter-spacing:-.035em;line-height:1.35;margin:0 0 20px}
.walkthrough-screen p:last-child{font-size:12px;color:#65768f;line-height:1.8;margin:17px 0 0}
.demo-vin{background:#fff;border:1px solid #d9e3f7;border-radius:9px;padding:15px;font:600 14px/1.5 monospace;white-space:nowrap;color:#2455e8}.demo-vin span{color:#9cacca}
.demo-tags,.demo-files{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.demo-tags span,.demo-files span{padding:10px;background:#fff;border:1px solid #dce6f8;border-radius:8px;font-size:10px;color:#48628b}
.demo-files span{display:flex;align-items:center;gap:8px}
.walkthrough-progress{position:absolute;bottom:0;height:3px;background:#e8eefb;left:0;right:0}.walkthrough-progress i{display:block;height:100%;width:var(--demo-progress,33.333%);background:#2455e8;transition:width .25s}
.preview-formats{padding-top:30px;padding-bottom:72px}
.formats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.format-canvas{height:342px;overflow:hidden;border:1px solid #e2eaf8;border-radius:15px;background:radial-gradient(ellipse at 50% 20%,#f7faff,#e7effe);padding:35px 50px 0;display:flex;justify-content:center}
.format-paper{flex-shrink:0;width:300px;height:350px;padding:25px;background:white;border:1px solid #dce4f2;border-radius:7px;box-shadow:0 15px 35px #263e7420;transform:rotate(-4deg);color:#172033}
.format-paper-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.format-paper-top img{width:120px}.format-paper-top b{font-size:10px;color:#8596b4}
.format-paper>p{font-size:7px;letter-spacing:.13em;text-transform:uppercase;color:#2455e8;margin:0 0 7px}.format-paper h3{font-size:21px;line-height:1.3;letter-spacing:-.025em;margin:0 0 15px}
.format-rule{height:3px;background:#2455e8;margin-bottom:12px}.format-row{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf1f8;font-size:8px}.format-row span{color:#2455e8}.format-row b{font-weight:600}.format-row i{margin-left:auto;width:30px;height:3px;background:#dfe7f6}.format-paper>small{display:block;font-size:6px;letter-spacing:.1em;margin-top:18px;color:#8796ae}
.print-canvas{background:#f4f6f9}.format-paper-mono{filter:grayscale(1);transform:rotate(4deg)}
.format-caption{display:flex;align-items:center;justify-content:space-between;padding:22px 6px 0}.format-caption .eyebrow{font-size:9px;color:#7486a3}.format-caption h3{font-size:20px;letter-spacing:-.035em;margin:7px 0}.format-caption p{font-size:12px;color:#6c7e98;margin:0}.format-caption>a{display:grid;place-items:center;width:44px;height:44px;background:#f0f5ff;border:1px solid #e0e9fb;border-radius:50%;color:#2455e8}
.preview-formats>.text-link{display:flex;width:fit-content;margin:32px auto 0;font-size:13px;gap:12px}
.homepage-layout .section{padding-block:65px;max-width:1240px}
.homepage-layout .section-heading{max-width:640px;text-align:center;margin:0 auto 32px}.homepage-layout .section-heading>p:last-child{font-size:14px;line-height:1.8;margin-inline:auto}
.homepage-layout .section-heading h2 br{display:none}.homepage-layout .section-heading h2 em{margin-left:.15em}
.homepage-layout .report-experience{border-top:1px solid #edf1f8}
.homepage-layout .insight-grid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.homepage-layout .insight-card{padding:25px;border-radius:14px;min-height:0}.homepage-layout .insight-card h3{font-size:23px;line-height:1.25}.homepage-layout .insight-card p{font-size:13px;line-height:1.8}
.homepage-layout .closing-section{padding-block:55px}
@media(min-width:1101px){.homepage-layout header{padding-inline:max(5%,calc((100vw - 1116px)/2))}.homepage-layout header nav{gap:17px}}
@media(max-width:1100px){.homepage-layout header nav{display:none}.homepage-layout header .menu{display:inline-flex}.homepage-layout .preview-hero{gap:28px}.homepage-layout .report-stage .hero-paper{padding:24px}.homepage-layout .report-stage .hero-paper h2{font-size:27px}.homepage-layout .order-card{padding:18px}.homepage-layout .brand-highlights{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.homepage-layout header{padding:14px 5%}.homepage-layout header .logo{width:160px}.homepage-layout .preview-hero{grid-template-columns:1fr;gap:28px;padding:38px 5% 35px}.homepage-layout .order-hero h1{font-size:44px}.homepage-layout .order-hero .lede{max-width:100%}.homepage-layout .report-stage{max-width:470px;min-height:525px;margin:0 auto;padding-bottom:65px}.homepage-layout .report-stage .hero-paper{min-height:445px}.homepage-layout .brand-heading{display:block}.homepage-layout .brand-heading p{max-width:100%}.homepage-layout .journey-strip{padding-block:45px}.homepage-layout .journey-strip-title{font-size:27px}.homepage-layout .journey-rail{gap:22px}.homepage-layout .journey-rail h3{font-size:15px}.homepage-layout .journey-rail p{font-size:12px}.preview-walkthrough,.preview-formats{padding-block:46px}.walkthrough-body{grid-template-columns:1fr}.walkthrough-tabs{flex-direction:row;gap:6px;padding:15px}.walkthrough-tabs button{flex:1;justify-content:center;gap:6px;padding:10px 6px;font-size:11px}.walkthrough-tabs button>svg{display:none}.walkthrough-icon{width:25px}.walkthrough-icon svg{width:21px}.walkthrough-screen{min-height:340px}.formats-grid{gap:16px}.format-canvas{height:300px;padding:30px 15px 0}.format-paper{width:255px;padding:22px}.homepage-layout .insight-grid{grid-template-columns:1fr}.homepage-layout .section{padding-block:46px}}
@media(max-width:520px){.homepage-layout .launch-note{font-size:8px;letter-spacing:0;padding-inline:8px}.homepage-layout header .logo{width:134px}.homepage-layout header .header-controls{gap:8px}.homepage-layout header .flag-trigger{min-height:40px;padding:7px;font-size:12px}.homepage-layout .menu{font-size:11px;padding:6px}.homepage-layout .order-hero h1{font-size:39px}.homepage-layout .order-hero .lede{font-size:14px}.homepage-layout .order-card{padding:16px}.homepage-layout .order-card-example{font-size:9px}.homepage-layout .order-card-head{gap:7px}.homepage-layout .order-card-head .eyebrow{font-size:8px;letter-spacing:.08em}.homepage-layout .brand-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-layout .brand-heading h2{font-size:22px}.homepage-layout .journey-rail{grid-template-columns:1fr;gap:32px}.homepage-layout .journey-rail h3{font-size:18px}.homepage-layout .journey-rail p{font-size:13px}.walkthrough-tabs{padding:10px 8px}.walkthrough-tabs button{flex-direction:column;text-align:center;font-size:10px}.walkthrough-tabs button small{display:none}.walkthrough-bar{padding:14px;font-size:8px;gap:12px}.walkthrough-screen{padding:28px 18px;min-height:345px}.demo-vin{font-size:11px;padding:12px 6px}.formats-grid{grid-template-columns:1fr;gap:32px}.format-canvas{height:325px}.format-paper{width:270px}.preview-section-head h2{font-size:28px}.homepage-layout .report-stage .floating-pdf{right:0}.homepage-layout .report-stage .report-chip{left:0}.homepage-layout .report-stage .hero-paper{padding:22px}.homepage-layout .brand-section{padding-bottom:40px}}
@media(prefers-reduced-motion:reduce){.walkthrough-progress i{transition:none}}
@media(max-width:900px){.homepage-layout .preview-hero{grid-template-columns:1fr;gap:30px}.homepage-layout .preview-hero-left{max-width:600px;width:100%;margin:auto}.homepage-layout .report-stage{max-width:470px;margin:0 auto}.homepage-layout .report-stage .hero-paper h2{font-size:28px}.homepage-layout .report-stage .floating-pdf{top:auto;bottom:142px}}
html[lang=no] .homepage-layout .report-stage .hero-paper h2{font-size:26px}

/* Automatic walkthrough: a quiet timer, explicit controls and a soft transition. */
.walkthrough-bar>span:nth-child(3){margin-left:auto;font-weight:450;color:#6c7e99;letter-spacing:0}
.demo-controls{display:flex;align-items:center;gap:14px;margin-left:8px;flex-shrink:0}
.demo-controls>span{font-size:10px;color:#7a8ba7;letter-spacing:.07em;font-variant-numeric:tabular-nums}
.demo-controls button{display:flex;align-items:center;gap:6px;border:1px solid #dce5f5;background:#fff;color:#365483;padding:7px 10px;border-radius:7px;min-height:34px;font:inherit;font-size:10px;letter-spacing:0;cursor:pointer}
.demo-controls svg{width:13px;height:13px}.demo-controls .demo-play-icon{display:none}
.demo-paused .demo-play-icon{display:block}.demo-paused .demo-pause-icon{display:none}
.walkthrough-progress i{width:var(--demo-progress,0%);transition:none}
.walkthrough-screen article:not([hidden]){animation:demo-appear .4s ease both}
@keyframes demo-appear{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}

/* Give the contents cards the whole row instead of nesting narrow columns. */
.homepage-layout #inside{display:block;padding-top:66px;padding-bottom:72px}
.homepage-layout #inside .section-heading{max-width:650px;margin:0 auto 38px;text-align:center}
.homepage-layout #inside .section-heading>p:last-of-type{max-width:540px;margin:18px auto;font-size:14px;line-height:1.8;color:#65768f}
.homepage-layout #inside .section-heading h2{max-width:none;margin:0;font-size:clamp(29px,3.2vw,39px);line-height:1.2}
.homepage-layout #inside .text-link{font-size:12px}
.homepage-layout #inside .insight-grid{grid-template-columns:1.12fr 1fr 1fr;gap:20px;align-items:stretch}
.homepage-layout #inside .insight-card{grid-column:auto;display:flex;flex-direction:column;padding:28px 26px;border:1px solid #dfe7f5;border-radius:18px;background:#fff;box-shadow:0 8px 30px #29468105;min-height:370px}
.homepage-layout #inside .feature-main{background:linear-gradient(145deg,#f2f6ff,#fff 75%);border-color:#d5e1fb}
.homepage-layout #inside .feature-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#edf3ff;color:#2455e8;margin:0 0 28px}
.homepage-layout #inside .feature-index{top:43px;right:24px;font-size:8px;letter-spacing:.08em;color:#7286a6}
.homepage-layout #inside .insight-card h3{font-size:25px;line-height:1.22;letter-spacing:-.035em;margin:0 0 14px;max-width:250px}
.homepage-layout #inside .insight-card p{font-size:13px;line-height:1.8;margin:0 0 24px;color:#667994}
.homepage-layout #inside .spec-table{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0}
.homepage-layout #inside .spec-table>div{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-top:1px solid #e4ebf8}
.homepage-layout #inside .spec-table span{font-size:10px;color:#7386a3}.homepage-layout #inside .spec-table b{font-size:10px;text-align:right;max-width:55%;color:#344d73;font-weight:600}
.homepage-layout #inside .insight-card>small{margin:13px 0 0;font-size:10px;line-height:1.7;color:#7b8ca7}
.homepage-layout #inside .option-tags{margin-top:auto;padding-top:12px;gap:8px}
.homepage-layout #inside .option-tags span{font-size:11px;padding:8px 11px;background:#f4f7fd;border-color:#e1e9f7;border-radius:7px}
.homepage-layout #inside .small-link{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:auto;padding:17px 0 3px;border-top:1px solid #e4ebf8;font-size:12px;color:#2455e8}
@media(max-width:1000px){.homepage-layout #inside .insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.homepage-layout #inside .feature-main{grid-column:1/-1;min-height:0}.homepage-layout #inside .feature-main h3{max-width:none}.homepage-layout #inside .spec-table{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.homepage-layout #inside .spec-table>div{display:block}.homepage-layout #inside .spec-table b{max-width:none;text-align:left;display:block;margin-top:5px}}
@media(max-width:600px){.walkthrough-bar{gap:10px;flex-wrap:wrap}.walkthrough-bar>span:nth-child(3){display:none}.demo-controls{margin-left:auto;gap:9px}.homepage-layout #inside{padding-block:44px}.homepage-layout #inside .insight-grid{grid-template-columns:1fr;gap:16px}.homepage-layout #inside .insight-card{padding:25px;min-height:0}.homepage-layout #inside .insight-card h3{max-width:none;font-size:25px}.homepage-layout #inside .feature-index{top:40px}.homepage-layout #inside .spec-table{display:flex;gap:0}.homepage-layout #inside .spec-table>div{display:flex}.homepage-layout #inside .spec-table b{max-width:55%;text-align:right;margin:0}.homepage-layout #inside .option-tags{padding-top:0}.homepage-layout #inside .section-heading h2{max-width:300px;margin:auto}}
@media(prefers-reduced-motion:reduce){.walkthrough-screen article:not([hidden]){animation:none}}
@media(max-width:600px){.homepage-layout #inside .section-heading h2 em{display:block;margin-left:0}}
.homepage-layout .sticky-cta-price strong,.homepage-layout .order-submit-price{font-variant-numeric:proportional-nums;letter-spacing:-.035em;font-kerning:normal}

/* Shared header: keep translated desktop labels together and use the compact menu before they crowd. */
body header{gap:24px}
body header>a,body header .header-controls{flex-shrink:0}
body header nav>a{white-space:nowrap;flex-shrink:0;line-height:1.5}
body header .account-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px}
body header .preview-nav-order{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 18px;background:#2455e8;color:#fff;border-radius:9px}
@media(min-width:1400px){
 body header,.homepage-layout header{padding-inline:max(3%,calc((100vw - 1440px)/2))}
 body header nav,.homepage-layout header nav{display:flex;gap:20px;flex-shrink:0}
 body header nav a{font-size:13px}
 body header .menu,.homepage-layout header .menu{display:none}
 body #mobile-nav{display:none}
}
@media(max-width:1399px){
 body header nav,.homepage-layout header nav{display:none}
 body header .menu,.homepage-layout header .menu{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
}
@media(max-width:380px){body header{gap:12px}}

@media(max-width:520px){body header .header-controls{flex:1;min-width:0;justify-content:flex-end}body header .header-controls .language-picker{min-width:0}body header .menu{flex-shrink:0}body header .flag-trigger{max-width:100%}}

@media(max-width:520px){body header .header-controls .flag-trigger{width:100%;max-width:100%}body header .flag-trigger>span{min-width:0}body header .menu,.homepage-layout header .menu{font-size:0;gap:0;width:44px}body header .menu .ui-icon{width:20px;height:20px}}

/* Translated copy must fit the available column, including compound words on narrow phones. */
main :is(h1,h2,h3,h4,p,li,td,th,label){overflow-wrap:anywhere}
main :is(h1,h2,h3,h4){hyphens:auto}
main .primary{white-space:normal;max-width:100%;text-align:center;overflow-wrap:anywhere}
.formats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.formats-grid>article,.format-caption>div{min-width:0}
.format-caption{gap:12px}
.format-caption>a{flex-shrink:0}
.order-card label[for=vin]{gap:8px}
.order-card #vin-count{flex-shrink:0;white-space:nowrap}
.pricing-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere;hyphens:auto}
@media(max-width:520px){.formats-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:380px){.pricing-tabs{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.pricing-tabs button{width:100%;font-size:12px}}

/* Account layouts: translated balances, statuses and downloads must fit narrow screens. */
.dashboard-top{gap:16px;flex-wrap:wrap}
.dashboard-top h1{margin-bottom:0;min-width:0}
.account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-stats>div{min-width:0;overflow-wrap:anywhere}
.account-stats strong{hyphens:auto}
.account-stats #membership{font-size:clamp(20px,2.5vw,28px);line-height:1.35;margin:12px 0}
.account-stats .secondary,#signout{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere}
#orders .order-row>div,#receipts .order-row>div{min-width:0;max-width:100%;overflow-wrap:anywhere}
#orders .order-row>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
#orders .secondary,#receipts .secondary{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.receipt-row .receipt-amount{flex-shrink:0}
@media(max-width:740px){.account-stats{grid-template-columns:minmax(0,1fr)}}

/* Receipt dialogs live outside main, so they need their own text-wrapping rules. */
.receipt-head>div{min-width:0;max-width:100%}
.receipt-head dl{min-width:0}
.receipt-doc :is(dt,dd,td,th){min-width:0;overflow-wrap:anywhere}
.receipt-actions button{min-width:0;max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;text-align:center}
@media(max-width:560px){
 .receipt-doc .receipt-total{max-width:none}
 .receipt-total>div{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;padding-block:8px}
 .receipt-total dd{text-align:left}
 .receipt-items th:last-child,.receipt-items td:last-child{white-space:normal}
}
