/* Overrides only inside the isolated original menu document. Original layout containers are retained. */
html,body{color-scheme:dark;min-width:0}body{background:var(--bg);color:var(--ink)}.app{background:var(--bg);color:var(--ink)}body[data-layout=modern] .app{background:radial-gradient(ellipse at 12% -10%,var(--accent2),transparent 41%),var(--bg)}body[data-mode=light]{color-scheme:light}body[data-layout=modern][data-mode=light] .app{background:var(--bg)}.card{background:var(--panel);border-color:var(--line);border-top-color:var(--accent)}.card h2{color:var(--ink)}.row{border-bottom-color:var(--line)}.row .price{color:var(--ink);text-align:right;font-variant-numeric:tabular-nums;letter-spacing:-.015em}.row .name{overflow-wrap:anywhere;min-width:0}.price-guide{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.7em));gap:.35em;font-size:clamp(10px,.7vw,24px);padding:4px 0;color:var(--muted);text-align:right}.price-guide span:first-child{text-align:left}.row.multi{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.7em));gap:.35em;font-size:clamp(12px,.95vw,37px)}.row.multi .price{font-size:.82em}.row:not(.multi){grid-template-columns:minmax(0,1fr) auto}.row.multi .name{font-size:1em}.row .price{white-space:nowrap}.panel{border-color:var(--accent);background:var(--panel)}.column:nth-child(2) .panel{background:var(--blue);border-color:var(--accent)}.mast .title{background:var(--accent);color:var(--bg)}.mast .right,.footer,.small,.desc,.column:nth-child(2) .desc{color:var(--muted)}.panel h3,.column:nth-child(2) .panel h3{background:var(--panel);border-block:1px solid var(--line);color:var(--ink)}.footer b{color:var(--ink)}.mark{color:var(--bg)}.footer{height:auto;min-height:22px;gap:1em;font-size:clamp(10px,.75vw,30px);padding:0}.note,.small{font-size:clamp(12px,.8vw,30px);line-height:1.5}.mobilebar button,.nav button{font:inherit;min-height:44px;background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:10px 12px}.mobilebar button.on,.nav button.on{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:bold}.mobilebar,.nav{scrollbar-width:thin;min-height:48px;padding:4px;gap:8px}button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}section[hidden]{display:none!important}.controls{display:none}
/* Larger TV panels use width-based typography so 4K does not retain HD-sized text. */
@media(min-width:1201px){.brand h1{font-size:3vw}.brand small{font-size:.8vw}.brand .mark{width:5vw;height:5vw;font-size:2.5vw}.card h2{font-size:1.65vw}.card h2 span{font-size:.63vw}.row{font-size:1.15vw}.row.multi{font-size:.92vw}.card{padding:1vw;overflow:visible}.card:nth-child(2){flex:.72}.brand{font-size:2.4vw}.mast .title{font-size:3.7vw}.mast .right{font-size:.85vw}.panel h2{font-size:2vw}.panel h3{font-size:1.35vw}.flag{font-size:1.35vw}.desc{font-size:.62em}.app{gap:1.2vh}.panel{padding:.85vw}.row{padding:.43vh 0}.panel.grow{flex:1}.status{font-size:.85vw}.status strong{font-size:1.25em}}
@media(max-width:1200px){html,body{overflow:visible;min-height:0}.app{height:auto;min-height:0;padding:16px;gap:14px}.layout,.columns{flex:none;min-height:0}.card.active{min-height:0;overflow:visible}.row.multi{font-size:17px}.price-guide{font-size:12px}.price-guide,.row.multi{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.55em))}.card h2{font-size:25px}.panel h2{font-size:25px}.panel h3{font-size:20px}.brand{font-size:27px}.mast{flex:none}.brand small{letter-spacing:.09em}.footer{flex-wrap:wrap;font-size:11px}.mobilebar,.nav{display:flex}.card{padding:16px}.row{padding:8px 0;font-size:17px}.note,.small{font-size:14px}}
@media(max-width:650px){.app{padding:14px;gap:14px}.brand h1{font-size:22px}.brand small{font-size:9px;letter-spacing:.06em}.brand{gap:12px}.brand .mark{width:45px;height:45px;font-size:24px}.row.multi{font-size:15px}.price-guide,.row.multi{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.45em));gap:4px}.row.multi .price{font-size:.83em}.row.multi .desc{font-size:.7em}.panel{padding:14px}.row{padding:9px 0}.panel h2{font-size:25px}.card{padding:14px}.mast .title{font-size:34px}.flag{font-size:18px}.brand{font-size:26px}.footer{line-height:1.5}.layout,.columns{display:block}.mobilebar,.nav{max-width:100%}.footer{min-height:0}.card h2 span{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Header and values share identical track sizes, independent of their font size. */
.price-guide,.row.multi{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.5vw));gap:.35vw}
@media(max-width:1200px){.price-guide,.row.multi{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.35rem));gap:4px}}
@media(max-width:650px){.price-guide,.row.multi{grid-template-columns:minmax(0,1fr) repeat(3,minmax(0,3.1rem));gap:4px}}
/* 1.0.2: the menu viewport may be considerably narrower than the host phone. */
html,body{min-width:0;width:100%}.app,.brand,.brand>div,.mast,.layout,.columns,.col,.column,.card,.panel,.rows,[data-group],.row,.footer,.footer>span{min-width:0}
@media(max-width:650px){.brand h1,.brand small,.brand,.panel h2,.panel h3,.card h2,.note,.small,.footer>span{overflow-wrap:anywhere}.brand>div:last-child{flex:1;min-width:0}.mobilebar,.nav{flex-wrap:wrap;overflow:visible;min-height:0;height:auto;padding:4px;gap:6px}.mobilebar button,.nav button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;flex:1 1 auto}.footer{flex-wrap:wrap}.row:not(.multi) .price{white-space:normal;overflow-wrap:anywhere}.flag{flex-wrap:wrap}}
@media(max-width:300px){.app{padding:10px;gap:12px}.card,.panel{padding:10px}.brand{gap:8px}.brand .mark{width:35px;height:35px;font-size:20px;flex:none}.brand h1{font-size:18px}.brand small{font-size:9px}.brand{font-size:22px}.mast .title{font-size:30px}.price-guide{display:none}.row.multi{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;font-size:16px}.row.multi .name{grid-column:1 / -1;font-size:16px}.row.multi .price{font-size:13px;text-align:right;white-space:normal;overflow-wrap:anywhere}.row.multi .sr-only{position:static;width:auto;height:auto;clip-path:none;overflow:visible;display:block;white-space:normal;color:var(--muted);font-size:10px;line-height:1.5}.row{gap:8px;font-size:15px}.row:not(.multi){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,5.5em)}.row .price{font-size:14px}.panel h2,.card h2{font-size:22px}.mobilebar button,.nav button{font-size:13px;padding:9px 8px}}
@media(max-width:300px){.row.multi .price{font:700 clamp(11px,5.3vw,13px)/1.5 Arial,Helvetica,sans-serif;white-space:nowrap;overflow-wrap:normal;letter-spacing:-.025em}}
/* 1.0.4: product labels have their own responsive type scale. Price tracks,
   amounts and gram labels retain their existing compact typography. */
body[data-layout="premium"]{--sm-product-name-size:17px}
body[data-layout="premium"] .row .name{font-size:var(--sm-product-name-size);line-height:1.15;min-width:0;overflow-wrap:anywhere}
@media(min-width:1201px){body[data-layout="premium"]{--sm-product-name-size:1.15vw}}
@media(max-width:300px){body[data-layout="premium"]{--sm-product-name-size:16px}}

/* 1.0.4: Modern TV product names use one scale in regular and 1g/3g/5g rows.
   Section titles and prices intentionally retain their distinct hierarchies. */
body[data-layout="modern"]{--sm-modern-product-name-size:17px}
body[data-layout="modern"] .row .name{font-size:var(--sm-modern-product-name-size);line-height:1.15;min-width:0;overflow-wrap:anywhere}
@media(min-width:1201px){body[data-layout="modern"]{--sm-modern-product-name-size:1.15vw}}
@media(max-width:300px){body[data-layout="modern"]{--sm-modern-product-name-size:16px}}

/* 1.0.5: All product prices use one visual size within a menu, regardless
   of whether the row has one amount or 1g/3g/5g columns. Keep names,
   group headings, gram labels and column geometry unchanged. */
body[data-layout="modern"],body[data-layout="premium"]{--sm-price-size:14px}
body[data-layout="modern"] .row .price,
body[data-layout="premium"] .row .price{font-size:var(--sm-price-size);line-height:1.15;font-weight:800;letter-spacing:-.025em;font-variant-numeric:tabular-nums}
@media(min-width:1201px){
  body[data-layout="modern"],body[data-layout="premium"]{--sm-price-size:1vw}
}
@media(max-width:300px){
  body[data-layout="modern"],body[data-layout="premium"]{--sm-price-size:12px}
}
/* 1.0.6: clear visual gutters between premium 1g/3g/5g amounts on TV. */
@media (min-width: 1201px) {
  body[data-layout="premium"] .price-guide,
  body[data-layout="premium"] .row.multi {
    grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 3.6vw));
    column-gap: .8vw;
  }
}
