/* Shared product identity; desktop geometry deliberately unchanged. */
:root { --sz-brand:#0b7f55; --sz-ink:#10231e; --sz-paper:#f6faf8; --sz-surface:#fff; --sz-line:#ddeae5; }
:root[data-theme="dark"] { --sz-brand:#57e8ad; --sz-ink:#e8f5ee; --sz-paper:#091512; --sz-surface:#162922; --sz-line:#355149; }
.sz-native-panel {padding:16px;border:1px solid var(--sz-line);border-radius:16px;background:var(--sz-surface);color:var(--sz-ink);margin-block:12px;}
.sz-native-panel button {min-height:48px;padding:10px 14px;border-radius:12px;font:inherit;}
.sz-native-panel h2 {font-size:18px;margin-block:0 12px;}
.sz-native-panel details p {overflow-wrap:anywhere;}
.sz-native .ma-price {display:none;}
#szi-status,#szi-conflicts {position:fixed;z-index:10000;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));max-width:560px;margin-inline:auto;max-height:38dvh;overflow:auto;box-shadow:0 12px 48px #0003;}
#szi-preferences {display:grid;gap:12px;}
#szi-preferences fieldset {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;border:1px solid var(--sz-line);}
#szi-preferences label {display:flex;align-items:center;gap:8px;font-size:14px;}
#szi-preferences input[type=checkbox] {width:24px;min-height:24px;}
@media(max-width:720px) {
  html.sz-native {--bg:#f6faf8;--paper:#fff;--wash:#f0f8f4;--t1:#10231e;--t2:#526b63;--t3:#5f7369;--hair:#ddeae5;--strong:#0b7f55;}
  html.sz-native[data-theme="dark"] {--bg:#091512;--paper:#162922;--wash:#1e352e;--t1:#e8f5ee;--t2:#b3cfc1;--t3:#9ab8a8;--hair:#355149;--strong:#57e8ad;}
  html.sz-native,html.sz-native body{overscroll-behavior:none;}
  .sz-native button,.sz-native input,.sz-native select{min-height:48px;}
  .sz-native .body{padding-bottom:calc(92px + env(safe-area-inset-bottom));}
  .sz-native .mas-composer{padding-bottom:env(safe-area-inset-bottom);}
  .sz-native .ma-page,.sz-native .mb-page{max-width:100%;}
  .sz-native .mdv-hero{min-height:0!important;padding:16px!important;}
  .sz-native .mas-sheet,.sz-native .mb-sheet{max-height:calc(100dvh - env(safe-area-inset-top));overflow:auto;}
  .sz-native *{scroll-margin-bottom:110px;}
}
.sz-native-panel [data-szi="buy"]{display:block;width:100%;margin-block:8px;text-align:left;border:1px solid var(--sz-line);background:var(--sz-paper);color:var(--sz-ink);}
.mb-invoice {display:grid;gap:10px;padding-block:12px;}
.mb-invoice label{display:grid;gap:5px;font-size:14px;}
.mb-invoice input,.mb-invoice textarea{font:inherit;border:1px solid var(--sz-line);border-radius:8px;padding:10px;max-width:100%;}
@media(prefers-reduced-motion:reduce){.sz-native *{scroll-behavior:auto!important;animation:none!important;}}

/* Status messages must not inherit the marketing root type scale. */
#szi-status{box-sizing:border-box;width:calc(100% - 32px);max-width:440px;padding:12px 16px;font-size:14px;line-height:1.5;bottom:calc(24px + env(safe-area-inset-bottom));}
#szi-status button{font-size:14px;line-height:1.3;min-height:36px;padding:6px 10px;margin:4px 0 0 10px;border:1px solid var(--sz-line);background:var(--sz-paper);color:var(--sz-ink);}
@media(max-width:720px){#szi-status{bottom:calc(80px + env(safe-area-inset-bottom));}}
