:root{--muted:#65715f}
.simple-shell{margin-left:0}.site-header{background:#fff;border-bottom:1px solid var(--line)}.simple-shell .topbar{height:76px;max-width:1100px;margin:auto;padding:0 32px;border:0;gap:30px}.simple-shell .brand{padding:0;gap:10px;flex-shrink:0}.simple-shell .brand-logo{width:32px;height:32px}.simple-shell .brand-name{font-size:21px;letter-spacing:1px}.top-navigation{display:flex;gap:30px;margin:0 auto}.top-navigation .nav-item{width:auto;background:transparent;border-radius:0;padding:27px 2px 25px;font-size:13px;font-weight:450;gap:0;border-bottom:2px solid transparent;color:#65715f}.top-navigation .nav-item:hover{color:#315a43}.top-navigation .nav-item.active{background:transparent;color:#315a43;font-weight:600;border-bottom-color:#315a43}.top-navigation .nav-item:after{display:none}.simple-shell .current-profile{font-size:12px;gap:8px;color:#46533e;flex-shrink:0}.admin-label{font-size:12px;color:#65715f}.simple-shell .content{max-width:980px;padding:46px 32px 24px;animation:none}.admin-shell .content{max-width:1200px}.simple-shell .page-header{margin-bottom:22px;align-items:center}.simple-shell .page-header h1{font-size:24px;font-weight:600;letter-spacing:0;text-wrap:balance}.simple-shell .page-header p{font-size:12px;color:#65715f;margin-top:9px;line-height:1.8}.simple-shell .section-heading p{color:#65715f}.simple-shell .btn{font-size:12px;min-height:42px;padding:11px 18px}.simple-shell .page-footer{margin-top:60px;padding-top:20px;font-size:11px;color:#65715f;align-items:center}.simple-shell .page-footer .text-button{font-size:11px}.simple-shell .text-button{color:#536849}.simple-shell .cell-secondary{color:#697560;font-size:11px}.simple-shell th{color:#65715f;font-size:11px}.simple-shell .form-help,.simple-shell .form-preview,.simple-shell .modal-help{color:#65715f}.simple-shell .form-panel h2{font-size:16px}.simple-shell .table-wrap{border-radius:10px}.simple-shell input::placeholder,.simple-shell textarea::placeholder{color:#697560}.simple-shell .form-error{color:#8b482e}.wallet-focus{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:32px 0 40px;border-bottom:1px solid var(--line)}.wallet-label{font-size:13px;color:#65715f}.wallet-amount{font-size:56px;line-height:1.2;letter-spacing:-1px;font-weight:550;margin-top:10px;color:#315a43}.wallet-amount small{font-size:14px;font-weight:400;letter-spacing:0;margin-left:12px;color:#65715f}.wallet-pending{font-size:12px;color:#65715f;margin-top:12px}.wallet-actions{display:flex;gap:10px}.disclosure{margin-top:18px;border-bottom:1px solid var(--line)}.disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px 0;font-size:13px;font-weight:500;cursor:pointer;list-style:none}.disclosure>summary::-webkit-details-marker{display:none}.disclosure>summary small{font-size:12px;font-weight:400;color:#65715f;margin-left:7px}.disclosure>summary svg{color:#65715f;transition:transform .15s}.disclosure[open]>summary svg{transform:rotate(90deg)}.disclosure>div{padding-bottom:18px}.simple-list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-top:1px solid var(--line)}.simple-list-row:first-child{border-top:0}.ledger-value{font-size:13px;font-weight:500}.ledger-date{font-size:11px;color:#65715f;margin-top:5px}.ledger-right{text-align:right;min-width:80px}.simple-empty{font-size:12px;color:#65715f;padding:17px 0}.simple-description{font-size:12px;color:#65715f;line-height:1.9}.invite-focus{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 0 38px;border-bottom:1px solid var(--line)}.simple-invite-code{display:flex;align-items:center;gap:16px;font-size:31px;font-weight:500;letter-spacing:3px;color:#315a43;margin:14px 0}.simple-invite-code .copy-icon{color:#536849}.inline-balance{display:flex;align-items:center;gap:10px;font-size:12px;color:#65715f}.inline-balance strong{font-size:14px;font-weight:550;color:#315a43}.benefit-list{border-top:1px solid var(--line)}.benefit-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0;border-bottom:1px solid var(--line)}.benefit-info{display:flex;align-items:center;gap:15px;min-width:0}.benefit-info .product-icon{height:43px;width:43px;font-size:17px}.benefit-info h2{font-size:15px;font-weight:550;line-height:1.7}.benefit-info p{font-size:12px;color:#65715f;margin-top:6px;line-height:1.8}.benefit-choice{display:flex;align-items:center;gap:25px;flex-shrink:0}.benefit-price{font-size:16px;font-weight:550;color:#315a43;white-space:nowrap}.benefit-price small{font-size:12px;margin-left:6px;font-weight:400}.simple-note{font-size:11px;color:#65715f;margin-top:20px;line-height:1.9}.record-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:18px 0}.record-row:first-child{border-top:0}.record-row h3{font-size:13px;font-weight:500}.record-row p{font-size:11px;color:#65715f;margin-top:7px;line-height:1.8}.management-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:-10px 0 30px}.management-tabs .tab{font-size:12px;color:#65715f}.management-tabs .tab.active{color:#315a43}.simple-register{max-width:400px;margin:15px auto 60px}.simple-register .form-panel{padding:32px;border-radius:12px}.simple-register h1{font-size:23px;font-weight:600;margin:0 0 30px}.simple-register .field{font-size:12px;color:#53634c}.simple-register .register-inviter{color:#536849}.simple-register .btn{width:100%}.simple-register .success-panel{padding:12px 0}.simple-shell .notice{font-size:12px;color:#536849}.simple-shell .notice.warning{color:#806340}.simple-shell .activity-row p{color:#53634c}.simple-shell .activity-row time{color:#65715f}.simple-shell .settings-info{color:#65715f}.simple-shell .settings-info h3{color:#465a3c}
@media(max-width:700px){.simple-shell .topbar{height:auto;min-height:67px;padding:16px 20px 0;gap:15px;flex-wrap:wrap}.simple-shell .brand{order:0}.simple-shell .current-profile{order:1;margin-left:auto;font-size:11px}.top-navigation{order:2;width:100%;justify-content:space-between;gap:20px;overflow:visible}.top-navigation .nav-item{font-size:12px;padding:15px 0 14px;flex:1;justify-content:center}.simple-shell .content{padding:30px 20px 20px}.simple-shell .page-header{align-items:flex-start;gap:15px}.simple-shell .page-header h1{font-size:22px}.simple-shell .page-header p{max-width:none}.simple-shell .page-actions{gap:8px}.simple-shell .btn{min-height:41px;padding:10px 14px;font-size:12px}.wallet-focus{padding:20px 0 30px;align-items:flex-start;flex-direction:column;gap:25px}.wallet-amount{font-size:52px}.wallet-actions{width:100%}.wallet-actions .btn{flex:1}.simple-shell .page-footer{margin-top:45px}.simple-shell .page-footer span:last-child{max-width:none}.invite-focus{align-items:flex-start;flex-direction:column;gap:23px;padding-top:18px}.invite-focus>.btn{width:100%}.simple-invite-code{font-size:29px}.inline-balance{font-size:11px;white-space:nowrap}.inline-balance strong{font-size:12px}.benefit-item{align-items:flex-start;flex-wrap:wrap;gap:15px;padding:23px 0}.benefit-info{width:100%}.benefit-choice{width:100%;justify-content:space-between;padding-left:58px;gap:15px}.benefit-choice .btn{min-width:85px}.benefit-info .product-icon{height:42px;width:42px}.benefit-info h2{font-size:14px}.benefit-info p{font-size:11px}.record-row{gap:15px}.record-row h3{font-size:12px}.simple-register{margin-top:8px}.simple-register .form-panel{padding:26px 22px}.management-tabs{gap:23px;margin-top:-4px;overflow:auto;white-space:nowrap}.simple-shell .toolbar .filter-group{flex:1;justify-content:flex-end}.simple-shell .topbar:has(.top-navigation:empty){padding-bottom:16px}}
dialog{box-shadow:none}dialog .modal-header p,dialog .modal-help,dialog .form-help,dialog .form-preview,dialog .modal-summary dt{color:#65715f}dialog label.field{color:#53634c;font-size:12px}dialog input::placeholder,dialog textarea::placeholder{color:#697560}dialog .modal-summary dd{color:#465a3c}.avatar{color:#4c6546}#toast{left:50%}
@media(prefers-reduced-motion:reduce){.disclosure>summary svg{transition:none}}
.tenant-selector{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#65715f;font-size:12px;margin:-8px 0 26px}.tenant-selector select{width:210px;font-size:12px;background:#fff}.registration-shop{font-size:13px;color:#315a43;line-height:1.8;margin:-12px 0 25px}.tenant-products{margin-top:26px}.signout-button{font-size:11px;margin-left:8px;min-height:36px}.simple-shell .brand-name{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:18px;letter-spacing:0}.simple-shell .public-shop-contact{margin-bottom:22px}
@media(max-width:700px){.simple-shell .brand-name{max-width:170px;font-size:16px}.simple-shell .current-profile{gap:6px}.signout-button{margin-left:1px;font-size:10px}.tenant-selector{justify-content:space-between;margin:0 0 24px}.tenant-selector select{width:200px}.simple-shell .page-header .btn{white-space:nowrap}.simple-shell .current-profile .avatar{width:26px;height:26px}.simple-shell .brand-logo{width:28px;height:28px}}
.shop-shortcut{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0}.shop-shortcut .text-button{flex-shrink:0;min-height:40px}.shop-onboarding{display:grid;grid-template-columns:1fr 1fr;gap:55px;margin-top:35px;align-items:start}.shop-explanation h2{font-size:20px;font-weight:550;line-height:1.8;margin-bottom:22px;max-width:20ch}.shop-explanation p{font-size:13px;color:#65715f;line-height:2;margin-top:15px;max-width:40ch}.shop-share{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:7px 0 28px}.shop-share p{font-size:13px;color:#465a3c}.shop-share span{display:block;font-size:12px;color:#65715f;margin-top:8px}.shop-share-actions{display:flex;align-items:center;gap:10px}.shop-price-list{border-top:1px solid var(--line)}.shop-price-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 0;border-bottom:1px solid var(--line)}.shop-price-row .benefit-info h2{font-size:14px}.shop-price-row .benefit-info p strong{font-weight:500;color:#465a3c}.shop-price-controls{display:flex;align-items:center;gap:26px}.price-field{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#65715f;width:142px;flex-shrink:0}.price-field input{font-size:16px;color:#315a43;font-weight:500;font-variant-numeric:tabular-nums;background:#fff}.price-difference{font-size:11px;line-height:1.7;min-height:18px}.shop-check{display:flex;align-items:center;gap:8px;font-size:12px;color:#53634c;cursor:pointer;min-height:44px}.shop-check input{width:17px;height:17px;accent-color:#315a43;padding:0}.shop-save{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:24px 0}.shop-save p{max-width:55ch;font-size:11px}.shop-save .btn{flex-shrink:0}.shop-invite-link{padding-top:24px}.public-shop-heading{padding:12px 0 30px}.public-shop-heading .page-header{margin-bottom:28px}.public-shop-heading h1{font-size:30px!important}.public-shop-contact{display:flex;align-items:baseline;gap:18px;font-size:12px;line-height:1.8}.public-shop-contact span{color:#65715f;flex-shrink:0}.public-shop-contact strong{font-weight:450;overflow-wrap:anywhere}.public-shop-price{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}.public-shop-price span{font-size:11px;color:#65715f}.public-shop-price strong{font-size:23px;font-weight:550;color:#315a43}.order-tabs{margin-bottom:28px}.simple-shell .shop-price-list+.shop-save .btn{min-width:100px}
@media(max-width:700px){.shop-onboarding{grid-template-columns:1fr;gap:25px;margin-top:20px}.shop-explanation h2{font-size:18px;max-width:none;margin-bottom:12px}.shop-explanation p{max-width:none;font-size:12px}.shop-onboarding .form-panel{padding:23px}.shop-share{align-items:flex-start;flex-direction:column;gap:20px}.shop-share-actions{flex-wrap:wrap}.shop-share>.shop-share-actions{width:100%}.shop-share-actions .btn{flex:1;white-space:nowrap}.shop-price-row{align-items:flex-start;flex-direction:column;gap:18px;padding:24px 0}.shop-price-controls{width:100%;justify-content:space-between;padding-left:58px}.price-field{width:155px}.shop-price-row>.price-field{margin-left:58px}.shop-save{align-items:flex-start;flex-direction:column;gap:18px}.shop-save .btn{width:100%}.shop-shortcut{align-items:flex-start;gap:12px}.shop-shortcut .simple-description{font-size:11px}.shop-shortcut .text-button{font-size:12px}.public-shop-heading h1{font-size:26px!important}.public-shop-contact{gap:12px;font-size:12px}.public-shop-price{width:100%;flex-direction:row;align-items:center;justify-content:space-between;padding-left:58px}.public-shop-price strong{font-size:22px}.disclosure .simple-list-row .shop-share-actions{justify-content:flex-end}.shop-price-controls .price-field{width:155px}}

/* Storefront hierarchy: page purpose, benefit details, then supporting price. */
.storefront-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 36px}
.storefront-heading h1{margin:0;font-size:32px;line-height:1.3;font-weight:650;letter-spacing:0;text-wrap:balance;color:#25382c}
.storefront-heading p{font-size:14px;line-height:1.8;color:#59665d;margin-top:12px;max-width:65ch;text-wrap:pretty}
.storefront-account{display:flex;align-items:center;gap:20px}
.storefront-register{font-size:13px;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#4c5e51;text-decoration:none}
.simple-shell .storefront-account .btn{min-height:44px;padding:12px 20px;font-size:13px}
.storefront-contact{display:flex;align-items:baseline;gap:16px;margin:-12px 0 28px;font-size:13px;line-height:1.8}
.storefront-contact>span{color:#59665d;flex-shrink:0}
.storefront-contact p{margin:0;color:#34483a;overflow-wrap:anywhere}
.storefront-catalog{border-top:1px solid #dce3dd}
.storefront-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:start;gap:20px;padding:28px 0;border-bottom:1px solid #e5e9e5}
.storefront-item>.product-icon{height:44px;width:44px;font-size:17px;margin-top:2px}
.storefront-item h2{font-size:18px;line-height:1.5;font-weight:600;margin:0;color:#293c30;text-wrap:balance}
.storefront-description{font-size:13px;line-height:1.8;margin:8px 0 10px;color:#59665d;max-width:60ch;text-wrap:pretty}
.storefront-duration{font-size:12px;color:#59665d;line-height:1.7}
.storefront-price{display:flex;align-items:baseline;gap:12px;padding-top:4px;white-space:nowrap}
.storefront-price>span{font-size:12px;color:#59665d}
.storefront-price strong{font-size:17px;font-weight:500;line-height:1.5;color:#3c5142;font-variant-numeric:tabular-nums}
.storefront-help{margin-top:24px;font-size:13px;line-height:1.8;color:#59665d}
.storefront-help>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:44px;width:fit-content;color:#4c5e51}
.storefront-help>summary::-webkit-details-marker{display:none}
.storefront-help>summary svg{transition:transform .18s ease-out}
.storefront-help[open]>summary svg{transform:rotate(90deg)}
.storefront-help>div{max-width:70ch;padding:8px 0 0}
.storefront-help p+p{margin-top:10px}
.storefront-register:hover,.storefront-help>summary:hover{color:#315a43;text-decoration:underline;text-underline-offset:4px}
.storefront-register:focus-visible,.storefront-help>summary:focus-visible{outline:2px solid #315a43;outline-offset:4px;border-radius:4px}
@media(max-width:700px){
  .simple-shell .topbar:has(.storefront-account){padding-bottom:16px}
  .storefront-account{gap:12px}
  .simple-shell .storefront-account .btn{padding:11px 14px;font-size:12px}
  .storefront-heading{align-items:flex-start;margin:8px 0 28px;gap:16px}
  .storefront-heading h1{font-size:28px}
  .storefront-heading p{font-size:13px;margin-top:10px;max-width:30ch}
  .storefront-item{grid-template-columns:36px minmax(0,1fr);gap:12px 16px;padding:24px 0}
  .storefront-item>.product-icon{width:36px;height:36px;font-size:15px}
  .storefront-item h2{font-size:17px}
  .storefront-description{margin:6px 0 8px;font-size:13px}
  .storefront-price{grid-column:2;gap:10px;padding-top:0}
  .storefront-price strong{font-size:16px}
  .storefront-contact{font-size:12px;margin:-8px 0 24px;gap:12px}
  .storefront-help{margin-top:16px;font-size:12px}
}
@media(prefers-reduced-motion:reduce){.storefront-help>summary svg{transition:none}}

/* Stable navigation and personal/shop page groups. */
.page-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#59665d;margin:-12px 0 24px;min-height:36px}
.page-breadcrumbs a{display:inline-flex;align-items:center;min-height:36px;color:#59665d}
.page-breadcrumbs a:hover{text-decoration:underline;text-underline-offset:4px}
.page-breadcrumbs [aria-current]{color:#293c30}
.top-navigation a.nav-item{text-decoration:none}
.account-identity{display:flex;align-items:center;gap:16px;padding:8px 0 28px}
.account-identity>.avatar{width:44px;height:44px;font-size:18px}
.account-identity h2{font-size:18px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.account-identity p{font-size:12px;color:#59665d;margin-top:4px;line-height:1.8;overflow-wrap:anywhere}
.account-menu{border-top:1px solid var(--line)}
.account-entry{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;min-height:78px;border-bottom:1px solid var(--line);color:#293c30;text-decoration:none}
.account-entry strong{font-size:15px;font-weight:550;line-height:1.6}
.account-entry p{font-size:12px;color:#59665d;margin-top:5px;line-height:1.8}
.account-entry>span{display:flex;align-items:center;gap:16px;font-size:12px;color:#59665d;flex-shrink:0}
.account-entry:hover strong{color:#315a43;text-decoration:underline;text-underline-offset:4px}
.account-entry:focus-visible,.page-breadcrumbs a:focus-visible,.auth-switch a:focus-visible{outline:2px solid #315a43;outline-offset:4px;border-radius:4px}
.account-shop{margin-top:36px}
.account-shop>h2{font-size:14px;font-weight:550;color:#59665d;margin-bottom:16px}
.account-signout{margin-top:28px;min-height:44px;font-size:12px}
.account-password,.redeem-panel{max-width:540px}
.account-password h2{margin-bottom:24px}
.auth-switch{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:#59665d;line-height:1.8;text-align:center}
.auth-switch a{display:inline-flex;align-items:center;min-height:44px;margin-left:6px;color:#315a43}
.catalog-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:16px;flex-shrink:0}
.storefront-item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:16px}
.storefront-item-actions>.benefit-choice{gap:20px}
.catalog-records{margin-top:28px;border-top:1px solid var(--line)}
.shop-tabs{margin-top:0;overflow:auto;white-space:nowrap}
.shop-tabs .tab{min-height:44px;display:inline-flex;align-items:center}
.current-profile [aria-label="我的账号"]{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){
 .page-breadcrumbs{font-size:11px;margin:-8px 0 20px;gap:6px}
 .account-identity{padding-bottom:24px;gap:12px}
 .account-identity p{font-size:11px}
 .account-entry{padding:20px 0;gap:12px}
 .account-entry strong{font-size:14px}
 .account-entry p{font-size:12px}
 .account-entry>span{gap:8px;font-size:11px}
 .account-shop{margin-top:28px}
 .catalog-actions{align-items:flex-end;flex-direction:column;gap:12px}
 .storefront-item-actions{grid-column:2;align-items:stretch;gap:12px}
 .storefront-item-actions>.storefront-price{grid-column:auto;justify-content:flex-start}
 .storefront-item-actions>.benefit-choice{padding-left:0;justify-content:space-between}
 .current-profile [aria-label="我的账号"]{max-width:100px}
}

/* 鸡皮T — shared product language. Older variable names remain as aliases. */
:root {
  --bg: oklch(0.969 0.007 257);
  --surface: oklch(1 0 0);
  --ink: oklch(0.265 0.036 257);
  --muted: oklch(0.485 0.021 257);
  --line: oklch(0.9 0.012 257);
  --primary: oklch(0.47 0.135 258);
  --primary-hover: oklch(0.405 0.135 258);
  --primary-soft: oklch(0.95 0.025 258);
  --primary-line: oklch(0.85 0.045 258);
  --warning: oklch(0.46 0.105 55);
  --warning-soft: oklch(0.97 0.027 72);
  --warning-line: oklch(0.86 0.063 72);
  --success: oklch(0.43 0.085 165);
  --success-soft: oklch(0.96 0.025 165);
  --danger: oklch(0.47 0.135 28);
  --danger-soft: oklch(0.96 0.024 28);
  --accent: oklch(0.76 0.115 45);
  --soft: oklch(0.96 0.009 257);
  --green: var(--primary);
  --green-dark: var(--primary-hover);
  --sage: var(--soft);
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
}
body { color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button,input,select,textarea { font: inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
button,a { transition: color 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out; }
.simple-shell { min-height: 100svh; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.simple-shell .topbar { max-width: 1200px; height: 80px; padding: 0 32px; gap: 32px; }
.simple-shell .brand { gap: 12px; text-decoration: none; color: var(--ink); }
.simple-shell .brand-logo { display: flex; width: 36px; height: 36px; }
.brand-lockup { display: flex; align-items: baseline; gap: 14px; }
.simple-shell .brand-name { font-size: 23px; letter-spacing: 1px; font-weight: 700; }
.simple-shell .brand-caption { font-size: 12px; letter-spacing: 0; color: var(--muted); font-weight: 400; margin: 0; }
.top-navigation { gap: 8px; align-items: center; }
.top-navigation .nav-item { padding: 10px 16px; min-height: 40px; border: 0; border-radius: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.top-navigation .nav-item:hover { background: var(--soft); color: var(--ink); }
.top-navigation .nav-item.active { background: var(--primary-soft); border: 0; color: var(--primary); font-weight: 650; }
.simple-shell .current-profile { color: var(--ink); font-size: 13px; gap: 12px; }
.simple-shell .current-profile .text-button { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; }
.simple-shell .current-profile .text-button svg { transform: rotate(180deg); }
.simple-shell .content { max-width: 1160px; padding: 36px 32px 28px; }
.admin-shell .content { max-width: 1280px; }
.simple-shell .page-header { margin-bottom: 28px; }
.simple-shell .page-header h1 { font-size: 30px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; color: var(--ink); }
.simple-shell .page-header p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.simple-shell .btn,.btn { min-height: 44px; padding: 11px 18px; font-size: 13px; font-weight: 600; border-radius: 9px; border-color: var(--line); color: var(--ink); background: var(--surface); box-shadow: none; text-decoration: none; }
.simple-shell .btn:hover,.btn:hover { background: var(--soft); border-color: oklch(0.79 0.018 257); }
.simple-shell .btn.primary,.btn.primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.simple-shell .btn.primary:hover,.btn.primary:hover { border-color: var(--primary-hover); background: var(--primary-hover); }
.simple-shell .btn:active,.btn:active { transform: translateY(1px); }
.simple-shell .btn:disabled,.btn:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.simple-shell .text-button,.text-button { font-size: 13px; color: var(--primary); }
.simple-shell .text-button:hover,.text-button:hover { color: var(--primary-hover); }
.field,label.field,.simple-shell .field,dialog label.field { color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; }
.field input,.field select,.field textarea { width: 100%; min-height: 46px; padding: 12px 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-weight: 400; transition: border-color 160ms ease-out, outline-color 160ms ease-out; }
.field textarea { line-height: 1.7; }
.field input:hover,.field select:hover,.field textarea:hover { border-color: oklch(0.76 0.012 257); }
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--primary); outline: 3px solid oklch(0.9 0.017 257); outline-offset: 1px; box-shadow: none; }
.simple-shell input::placeholder,.simple-shell textarea::placeholder,dialog input::placeholder,dialog textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 1000px var(--surface) inset; }
.simple-shell .form-help,.simple-shell .modal-help,.form-help,.modal-help,dialog .form-help,dialog .modal-help { font-size: 12px; line-height: 1.7; color: var(--muted); font-weight: 400; }
.form-error,.simple-shell .form-error { background: oklch(0.96 0.025 35); color: oklch(0.42 0.13 32); font-size: 13px; line-height: 1.7; padding: 12px 14px; }
.form-panel { border-color: var(--line); background: var(--surface); border-radius: 12px; }
.simple-shell .page-footer { margin-top: 56px; padding: 24px 0 8px; font-size: 12px; color: var(--muted); border-color: var(--line); }
.simple-shell .page-footer span:first-child { color: var(--ink); font-weight: 600; }

/* A focused auth flow: product context on the left, a quiet form on the right. */
.auth-shell { background: var(--surface); }
.auth-shell .site-header { position: static; }
.simple-shell.auth-shell .content { max-width: 1200px; padding-top: 40px; }
.auth-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 72px; align-items: stretch; }
.auth-intro { display: flex; flex-direction: column; min-height: 552px; padding: 40px; border-radius: 16px; background: oklch(0.95 0.012 248); overflow: hidden; }
.service-label { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.service-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.auth-intro h2 { margin: 24px 0 16px; color: var(--ink); font-size: 42px; font-weight: 650; letter-spacing: -.025em; line-height: 1.35; text-wrap: balance; }
.auth-intro-copy>p { color: var(--muted); font-size: 14px; line-height: 1.9; }
.auth-membership { margin: 36px 0 28px; }
.member-pass { display: flex; position: relative; flex-direction: column; justify-content: space-between; min-height: 182px; padding: 24px; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(120deg,#192638,#38495b); box-shadow: 0 16px 28px #19263817; overflow: hidden; }
.pass-provider { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.member-pass>strong { display: block; font-size: 40px; font-weight: 550; letter-spacing: -.025em; line-height: 1.15; }
.pass-duration { font-size: 12px; line-height: 1.5; opacity: .9; }
.pass-symbol { position: absolute; top: 20px; right: 22px; color: #f49a74; font-size: 13px; line-height: 1; font-weight: 500; letter-spacing: 1px; }
.pass-selection { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; color: var(--muted); font-size: 11px; }
.pass-selection span+span { padding-left: 12px; border-left: 1px solid oklch(0.8 0.015 250); }
.auth-intro-note { margin-top: auto; color: var(--muted); font-size: 12px; line-height: 1.8; }
.auth-form-region { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; padding: 16px 0; }
.auth-panel.form-panel { border: 0; box-shadow: none; padding: 0; border-radius: 0; width: 100%; max-width: 390px; background: none; }
.auth-heading { margin-bottom: 32px; }
.auth-heading h1 { font-size: 32px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; margin: 0; color: var(--ink); }
.auth-heading p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 10px; }
.auth-panel .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.auth-panel .field input { min-height: 49px; }
.auth-panel .auth-submit { min-height: 48px; width: 100%; justify-content: space-between; margin-top: 6px; padding: 13px 16px; font-size: 14px; }
.auth-help { margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.auth-help summary { min-height: 32px; display: flex; align-items: center; width: fit-content; cursor: pointer; list-style: none; color: var(--muted); }
.auth-help summary::-webkit-details-marker { display: none; }
.auth-help summary:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.auth-help p { margin-top: 6px; max-width: 48ch; }
.auth-panel .auth-switch { display: flex; align-items: center; gap: 10px; margin-top: 30px; padding-top: 24px; text-align: left; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.auth-panel .auth-switch a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 550; min-height: 32px; }
.auth-shell .page-footer { margin-top: 32px; }
.auth-layout--register .auth-heading { margin-bottom: 24px; }
.auth-layout--register .auth-intro { min-height: 596px; }
.auth-layout--register .register-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
.register-form .field { margin-bottom: 0; }
.register-form .form-error,.register-form .invitation-field,.register-form .auth-submit { grid-column: 1/-1; }
.register-form .register-inviter { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.6; }
.register-form .form-help { font-size: 11px; }

/* Memberships remain a browsable list, with real subscription cards as identifiers. */
.storefront-heading { align-items: center; margin: 0 0 32px; }
.storefront-heading h1 { font-size: 32px; color: var(--ink); font-weight: 650; letter-spacing: -.025em; }
.storefront-heading p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.storefront-catalog { display: flex; flex-direction: column; gap: 16px; border: 0; }
.storefront-item { grid-template-columns: 164px minmax(0,1fr) auto; gap: 26px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.storefront-item h2 { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.storefront-description { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 10px 0 12px; max-width: 54ch; }
.storefront-duration { font-size: 12px; color: var(--muted); }
.plan-visual { display: flex; flex-direction: column; justify-content: space-between; position: relative; min-height: 118px; padding: 16px; border-radius: 10px; background: #243247; color: #fff; overflow: hidden; }
.plan-visual>strong { font-size: 24px; font-weight: 550; line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.plan-visual .pass-provider { font-size: 10px; }
.plan-visual .pass-duration { font-size: 10px; }
.plan-visual .pass-symbol { top: 14px; right: 15px; font-size: 10px; letter-spacing: 0; }
.plan-visual.sand { background: #e8ecf1; color: #263349; }
.plan-visual.sand .pass-symbol { color: #51627a; }
.plan-visual.blue { background: #34383f; }
.storefront-item-actions { align-items: flex-end; gap: 16px; }
.storefront-price { flex-direction: column; align-items: flex-end; gap: 3px; padding: 0; }
.storefront-price>span { font-size: 11px; color: var(--muted); }
.storefront-price strong { font-size: 18px; font-weight: 550; color: var(--ink); }
.storefront-help { color: var(--muted); margin-top: 28px; }
.storefront-help>summary { color: var(--primary); }
.storefront-contact { color: var(--muted); padding: 16px 20px; border-radius: 10px; background: var(--soft); margin: -12px 0 24px; }
.storefront-contact p,.storefront-contact>span { color: var(--ink); }
.storefront-account { gap: 20px; }
.storefront-register { font-size: 13px; color: var(--muted); }
.inline-balance { color: var(--muted); font-size: 13px; }
.inline-balance strong,.benefit-price { color: var(--primary); }
.catalog-records { margin-top: 24px; border: 1px solid var(--line); padding: 20px 24px; border-radius: 12px; background: var(--surface); }

/* Personal pages and shop tools share the same surfaces and controls. */
.account-identity { margin: 4px 0 24px; padding: 24px; gap: 16px; background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 12px; }
.account-identity .avatar,.current-profile .avatar { background: var(--soft); color: var(--primary); border-radius: 12px; }
.account-identity h2 { font-size: 18px; color: var(--ink); }
.account-identity p { font-size: 13px; color: var(--primary); }
.account-menu { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 24px; }
.account-menu .account-entry:last-child { border-bottom: 0; }
.account-entry { padding: 20px 0; color: var(--ink); border-color: var(--line); }
.account-entry strong { color: var(--ink); font-size: 15px; }
.account-entry p,.account-entry>span { font-size: 12px; color: var(--muted); }
.account-entry:hover { background: var(--soft); }
.account-entry:hover strong { color: var(--primary); }
.account-shop { margin-top: 32px; }
.account-shop h2 { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.account-signout { margin-top: 24px; }
.page-breadcrumbs { margin-bottom: 22px; font-size: 12px; color: var(--muted); }
.page-breadcrumbs a { color: var(--muted); }
.page-breadcrumbs [aria-current] { color: var(--ink); }
.wallet-focus { padding: 30px; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; }
.wallet-label,.wallet-pending,.wallet-amount small { color: var(--muted); font-size: 13px; }
.wallet-amount { color: var(--ink); font-size: 54px; letter-spacing: -.025em; }
.disclosure { padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-top: 18px; }
.disclosure>summary { padding: 20px 0; font-size: 14px; }
.disclosure>summary small,.disclosure>summary svg { color: var(--muted); }
.simple-list-row,.record-row { border-color: var(--line); }
.record-row h3 { color: var(--ink); font-size: 14px; }
.record-row p,.simple-shell .cell-secondary,.simple-empty,.simple-shell th { color: var(--muted); font-size: 12px; }
.management-tabs { gap: 24px; border-color: var(--line); }
.management-tabs .tab { font-size: 13px; color: var(--muted); padding: 16px 0; }
.management-tabs .tab.active { color: var(--primary); border-color: var(--primary); }
.shop-profile,.shop-settings,.shop-enroll { border-color: var(--line); background: var(--surface); }
.table-wrap { border-color: var(--line); background: var(--surface); }
.simple-shell th { padding-top: 16px; padding-bottom: 16px; background: var(--soft); color: var(--ink); font-weight: 600; }
.simple-shell td { padding-top: 17px; padding-bottom: 17px; font-size: 13px; }
.search-box,.filter-select,.tenant-selector select { border-color: var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.tenant-selector { font-size: 12px; color: var(--muted); }
.form-preview { border-color: var(--line); background: var(--soft); color: var(--ink); font-size: 13px; }
.notice { border-color: var(--line); background: var(--soft); color: var(--ink); }
dialog { border: 0; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 72px #19263830; }
dialog::backdrop { background: #19263866; backdrop-filter: none; }
.modal-header { border-color: var(--line); }
.modal-header h2 { font-size: 21px; font-weight: 600; }
dialog .modal-header p,dialog .modal-help,dialog .form-help,dialog .form-preview,dialog .modal-summary dt { color: var(--muted); }
dialog .modal-summary dd { color: var(--ink); }
.cdk-code { background: var(--soft); border-color: oklch(0.76 0.03 255); color: var(--ink); }
.cdk-receipt-mark { color: var(--primary); background: var(--soft); }
.topup-result { color: var(--primary); }
#toast { left: 50%; background: var(--primary); color: #fff; border-radius: 9px; box-shadow: none; font-size: 13px; }

/* Color communicates actions and progress consistently across all workspaces. */
.badge { font-size: 12px; font-weight: 550; line-height: 1.5; padding: 6px 10px; border-radius: 6px; background: var(--soft); color: var(--muted); }
.badge.pending,.badge.waiting { background: var(--warning-soft); color: var(--warning); }
.badge.paid,.badge.reserved { background: var(--primary-soft); color: var(--primary); }
.badge.completed,.badge.approved,.badge.available,.badge.paid-out { background: var(--success-soft); color: var(--success); }
.badge.refunded,.badge.rejected { background: var(--danger-soft); color: var(--danger); }
.badge.cancelled,.badge.used,.badge.redeemed { background: var(--soft); color: var(--muted); }
.simple-shell .cell-primary { color: var(--ink); font-size: 14px; font-weight: 550; }
.simple-shell .cell-secondary.negative { color: var(--danger); }
.simple-shell tbody tr:hover { background: var(--primary-soft); }
.table-footer { border-color: var(--line); color: var(--muted); background: var(--surface); }
.simple-shell .table-wrap th,.simple-shell .table-wrap td { border-color: var(--line); }
.simple-shell .table-wrap td.num { font-weight: 600; color: var(--ink); }
.row-actions { gap: 16px; }
.row-actions .text-button[data-action="order-deliver"] { padding: 7px 12px; border-radius: 6px; background: var(--primary); color: var(--surface); font-weight: 600; }
.row-actions .text-button[data-action="order-deliver"]:hover { background: var(--primary-hover); }
.row-actions .text-button[data-action="order-detail"] { color: var(--muted); }
.user-actions summary { color: var(--muted); }
.management-tabs .tab.active::after { background: var(--primary); height: 3px; border-radius: 2px 2px 0 0; }
.management-tabs .tab:hover { color: var(--primary); }
.storefront-price strong,.admin-supply-price .benefit-price { color: var(--primary); font-weight: 650; }
.storefront-contact { background: var(--primary-soft); color: var(--primary); }
.storefront-contact p,.storefront-contact>span { color: var(--primary); }
.account-entry>span { color: var(--primary); font-weight: 550; }
.account-identity .avatar { background: var(--surface); color: var(--primary); }
.account-shop .account-menu { background: var(--soft); }
.shop-share { padding: 20px 24px; margin-bottom: 24px; border: 1px solid var(--primary-line); border-radius: 12px; background: var(--primary-soft); }
.shop-share p { color: var(--primary); font-weight: 600; }
.shop-share span { color: var(--primary); }
.shop-price-list { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 24px; }
.shop-price-row:last-child { border-bottom: 0; }
.admin-shell .benefit-list { padding: 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.admin-shell .benefit-item:last-child { border-bottom: 0; }
.simple-shell .content>.simple-list { padding: 0 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.shop-review-contact { background: var(--primary-soft); border-color: var(--primary-line); }
.shop-review-contact strong { color: var(--primary); }
.notice.warning { background: var(--warning-soft); border-color: var(--warning-line); color: var(--warning); }
.form-error { background: var(--danger-soft); color: var(--danger); }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
dialog .close-button { background: var(--soft); color: var(--muted); }
dialog .close-button:hover { background: var(--primary-soft); color: var(--primary); }
@media(max-width:700px) {
  .account-identity { padding: 20px; }
  .shop-share { padding: 18px; gap: 18px; }
  .shop-price-list,.admin-shell .benefit-list,.simple-shell .content>.simple-list { padding-left: 18px; padding-right: 18px; }
}

@media(max-width:1000px) {
  .auth-layout { gap: 40px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .auth-intro { padding: 30px; }
  .auth-intro h2 { font-size: 36px; }
  .auth-panel.form-panel { max-width: none; }
  .storefront-item { grid-template-columns: 140px minmax(0,1fr) auto; gap: 20px; }
  .plan-visual { padding: 14px; }
  .simple-shell .brand-caption { display: none; }
}
@media(max-width:800px) {
  .auth-layout { display: block; max-width: 420px; margin: 0 auto; }
  .auth-intro { display: none; }
  .auth-form-region { padding: 18px 0 8px; }
  .simple-shell.auth-shell .content { padding-top: 24px; }
  .auth-shell .page-footer { margin-top: 52px; }
  .auth-layout--register .register-form { gap: 18px 14px; }
}
@media(max-width:700px) {
  .simple-shell .topbar { height: auto; min-height: 72px; padding: 16px 20px 0; gap: 12px; flex-wrap: wrap; }
  .auth-shell .topbar { padding-bottom: 16px; }
  .simple-shell .brand-name { font-size: 22px; }
  .simple-shell .brand-logo,.simple-shell .brand-logo svg { width: 33px; height: 33px; }
  .simple-shell .current-profile { margin-left: auto; font-size: 12px; gap: 8px; }
  .simple-shell .current-profile .text-button { font-size: 12px; }
  .simple-shell .top-navigation { order: 3; width: 100%; margin: 6px 0 0; gap: 8px; padding: 0 0 12px; justify-content: space-between; overflow: visible; }
  .top-navigation .nav-item { flex: 1; padding: 10px 8px; justify-content: center; text-align: center; font-size: 13px; }
  .simple-shell .content { padding: 30px 20px 24px; }
  .simple-shell .page-header h1 { font-size: 27px; }
  .simple-shell .page-header p { font-size: 13px; }
  .simple-shell .page-footer { font-size: 11px; margin-top: 40px; padding-bottom: 8px; }
  .auth-heading h1 { font-size: 30px; }
  .auth-heading p { font-size: 13px; }
  .auth-heading { margin-bottom: 30px; }
  .auth-panel .field { margin-bottom: 20px; }
  .auth-panel .auth-switch { margin-top: 24px; }
  .auth-layout--register .register-form { grid-template-columns: 1fr; gap: 18px; }
  .register-form .field { margin-bottom: 0; }
  .storefront-heading { align-items: flex-start; gap: 16px; margin-bottom: 24px; }
  .storefront-heading h1 { font-size: 28px; }
  .storefront-heading p { font-size: 13px; max-width: 30ch; }
  .catalog-actions { flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
  .storefront-heading .btn { padding: 10px 13px; min-height: 40px; }
  .storefront-item { grid-template-columns: 92px minmax(0,1fr); gap: 16px; padding: 18px; border-radius: 12px; }
  .plan-visual { min-height: 112px; padding: 12px; border-radius: 8px; align-self: start; }
  .plan-visual>strong { font-size: 21px; }
  .plan-visual .pass-symbol { display: none; }
  .plan-visual .pass-duration { font-size: 9px; }
  .storefront-item h2 { font-size: 16px; }
  .storefront-description { font-size: 12px; line-height: 1.8; margin: 8px 0 10px; }
  .storefront-duration { font-size: 11px; }
  .storefront-item-actions { grid-column: 1/-1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); gap: 20px; }
  .storefront-item-actions>.storefront-price { align-items: baseline; justify-content: flex-start; flex-direction: row; gap: 10px; }
  .storefront-price strong { font-size: 19px; }
  .storefront-item-actions>.benefit-choice { gap: 12px; }
  .storefront-contact { font-size: 12px; padding: 14px 16px; }
  .account-menu { padding: 0 18px; }
  .account-entry strong { font-size: 14px; }
  .account-entry p { font-size: 12px; }
  .account-identity p { font-size: 12px; overflow-wrap: anywhere; }
  .wallet-focus { padding: 24px; gap: 26px; }
  .wallet-amount { font-size: 48px; }
  .wallet-actions { gap: 8px; }
  .wallet-actions .btn { font-size: 12px; padding: 11px 14px; }
  .disclosure { padding: 0 18px; }
  .management-tabs { gap: 22px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}

.field input,.field select,.field textarea { box-shadow: none; }
.field-title .muted { margin-left: 5px; font-size: 12px; font-weight: 400; color: var(--muted); }
.simple-shell .brand { min-width: 0; flex-shrink: 1; }
.simple-shell .brand-logo { flex-shrink: 0; }
.simple-shell .brand-wordmark { display: block; width: auto; height: 52px; max-width: none; flex-shrink: 0; }
.simple-shell .brand-symbol { display: block; width: 52px; height: 52px; overflow: hidden; flex-shrink: 0; }
.page-footer .footer-wordmark { display: block; width: auto; height: 24px; }
@media(max-width:700px) {
  .simple-shell .brand-wordmark { height: 44px; }
  .simple-shell .brand-symbol { width: 44px; height: 44px; }
}
.brand-lockup { min-width: 0; }
.simple-shell .brand-name { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media(max-width:700px) { .brand-lockup { max-width: 180px; } .simple-shell .brand-name { max-width: 100%; } }
.benefit-info h2,.shop-price-row .benefit-info h2 { font-size: 15px; color: var(--ink); }
.benefit-info p,.shop-share span,.shop-explanation p,.simple-description { color: var(--muted); }
.shop-share p,.shop-price-row .benefit-info p strong { color: var(--ink); }
.price-field { font-size: 12px; color: var(--muted); }
.price-field input { border-color: var(--line); border-radius: 8px; min-height: 46px; padding: 11px 13px; color: var(--ink); box-shadow: none; }
.price-field input:focus { border-color: var(--primary); outline: 3px solid var(--soft); box-shadow: none; }
.product-icon.sage,.product-icon.blue { background: var(--soft); color: var(--primary); }
.product-icon.sand { background: #e8ecf1; color: #51627a; }
.invite-focus { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.simple-invite-code,.simple-invite-code .copy-icon,.public-shop-price strong { color: var(--primary); }
@media(max-width:700px) { .invite-focus { padding: 22px; } }
input[type="checkbox"],input[type="radio"] { accent-color: var(--primary); }
.page-loading { display: grid; gap: 18px; max-width: 390px; margin: 15svh auto; padding: 32px; }
.loading-wordmark { font-size: 26px; font-weight: 650; color: var(--ink); }
.loading-copy { font-size: 13px; color: var(--muted); }
.loading-lines i { display: block; height: 14px; margin-top: 16px; border-radius: 4px; background: var(--line); }
.loading-lines i:nth-child(2) { width: 75%; }
.loading-lines i:nth-child(3) { width: 45%; }

/* Authentication stays focused on the form. */
.auth-layout { display: block; max-width: 400px; margin: 24px auto 0; }
.auth-layout--register { max-width: 460px; }
.auth-form-region { padding: 8px 0; }
.auth-panel.form-panel { max-width: none; }
.auth-shell .page-footer { margin-top: 56px; }
@media(max-width:800px) { .auth-layout { margin-top: 12px; } }

/* Secondary account actions remain available without crowding each user row. */
.user-actions { display: inline-block; vertical-align: top; margin-left: 8px; }
.user-actions summary { cursor: pointer; color: var(--primary); font-size: 12px; padding: 6px 0; }
.user-actions>div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 10px; }
.admin-shell .page-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.admin-supply-price { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.admin-supply-price>span { font-size: 12px; color: var(--muted); }

.product-cover { display: block; width: 132px; max-width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; border-radius: 8px; flex: 0 0 auto; }
.benefit-info>.product-cover { width: 70px; }
@media(max-width:700px) { .storefront-item>.product-cover { width: 88px; } .benefit-info>.product-cover { width: 58px; } }
.catalog-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.admin-material-preview { margin: 0; display: flex; justify-content: center; }
.admin-material-preview img { display: block; width: auto; max-width: 100%; height: auto; max-height: 58svh; object-fit: contain; border-radius: 6px; }

/* Purchasing guidance is public; catalog and account access keep their own rules. */
.footer-guide { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 12px; }
.footer-guide:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.purchase-guide { max-width: 820px; margin: 0 auto; }
.purchase-guide-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.purchase-guide-eyebrow { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.purchase-guide-heading h1 { font-size: 34px; line-height: 1.4; font-weight: 650; letter-spacing: -.025em; }
.purchase-guide-heading>p:last-of-type { margin-top: 12px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.purchase-guide-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.purchase-guide-tags span { padding: 7px 12px; border-radius: 7px; background: var(--soft); color: var(--primary); font-size: 12px; }
.purchase-guide-section { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 22px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.purchase-guide-number { font-size: 13px; line-height: 29px; color: var(--muted); font-variant-numeric: tabular-nums; }
.purchase-guide-section h2 { font-size: 20px; line-height: 1.5; font-weight: 600; margin-bottom: 14px; }
.purchase-guide-section ul { padding-left: 20px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.purchase-guide-section li+li { margin-top: 9px; }
.purchase-guide-warranty { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.purchase-guide-warranty-lead { margin: 0 0 14px; font-size: 15px; line-height: 1.7; font-weight: 600; color: var(--primary); }
.purchase-guide-bottom { padding-top: 24px; }
.purchase-guide-bottom>p { font-size: 12px; line-height: 1.9; color: var(--muted); }
.purchase-guide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.product-purchase-details { margin-top: 10px; font-size: 12px; color: var(--muted); }
.product-purchase-details>summary { display: flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; cursor: pointer; list-style: none; color: var(--primary); }
.product-purchase-details>summary::-webkit-details-marker { display: none; }
.product-purchase-details[open]>summary svg { transform: rotate(90deg); }
.product-purchase-details>div { padding: 2px 0 8px; line-height: 1.9; overflow-wrap: anywhere; }
.product-purchase-details h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin: 12px 0 6px; }
.product-activation-instructions { white-space: pre-line; }
.product-purchase-details .product-warranty-note { color: var(--ink); margin-top: 12px; }
.product-purchase-details a,.storefront-help a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--primary); text-underline-offset: 4px; }
@media(max-width:700px) {
  .purchase-guide-heading h1 { font-size: 28px; }
  .purchase-guide-heading { padding-bottom: 24px; }
  .purchase-guide-tags { gap: 8px; }
  .purchase-guide-tags span { padding: 6px 9px; font-size: 11px; }
  .purchase-guide-section { grid-template-columns: 24px minmax(0,1fr); gap: 12px; padding: 24px 0; }
  .purchase-guide-section h2 { font-size: 18px; }
  .purchase-guide-section ul { font-size: 13px; }
  .purchase-guide-warranty { padding: 20px 16px; }
  .storefront-item-actions>.benefit-choice { width: auto; padding-left: 0; }
}

.membership-guides { padding: 28px 0; border-bottom: 1px solid var(--line); }
.membership-guides>h2 { font-size: 20px; font-weight: 600; line-height: 1.5; }
.membership-guides>p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.membership-guide-list { display: grid; gap: 12px; margin-top: 18px; }
.membership-guide { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.membership-guide>summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; padding: 18px 22px; cursor: pointer; list-style: none; }
.membership-guide>summary::-webkit-details-marker { display: none; }
.membership-guide>summary strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.6; }
.membership-guide>summary small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.membership-guide>summary svg { color: var(--muted); flex-shrink: 0; }
.membership-guide[open]>summary { border-bottom: 1px solid var(--line); }
.membership-guide[open]>summary svg { transform: rotate(90deg); }
.membership-guide-body { padding: 20px 22px 22px; color: var(--muted); font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }
.membership-guide-introduction { color: var(--ink); }
.membership-guide-body h3 { margin: 20px 0 10px; color: var(--ink); font-size: 14px; font-weight: 600; }
.membership-guide-body ul,.membership-guide-body ol,.product-purchase-details ul { padding-left: 20px; margin: 0; }
.membership-guide-body li+li,.product-purchase-details li+li { margin-top: 8px; }
.membership-guide-warranty { margin-top: 20px; padding: 14px 16px; border-radius: 8px; background: var(--soft); color: var(--primary); }
@media(max-width:700px) {
  .membership-guides>h2 { font-size: 18px; }
  .membership-guide>summary { padding: 16px; }
  .membership-guide>summary strong { font-size: 15px; }
  .membership-guide-body { padding: 16px; }
}

/* Shared reading rhythm; standalone shortcuts keep their own inner spacing. */
:root { font-size: 16px; }
body { font-size: 1rem; line-height: 1.65; font-kerning: normal; }
.simple-shell h1,.simple-shell h2,.simple-shell h3 { text-wrap: balance; }
.simple-shell p { text-wrap: pretty; overflow-wrap: anywhere; }
.simple-shell .page-header h1 { font-size: 1.875rem; line-height: 1.35; }
.simple-shell .page-header p,.storefront-heading p { font-size: .9375rem; line-height: 1.75; max-width: 65ch; }
.top-navigation .nav-item { font-size: .9375rem; line-height: 1.4; white-space: nowrap; }
.simple-shell .current-profile .text-button { font-size: .875rem; }
.simple-shell .current-profile .management-entry { font-weight: 600; }
.simple-shell .current-profile .management-entry svg { transform: none; }
.storefront-item-content { min-width: 0; }
.storefront-item h2 { font-size: 1.25rem; line-height: 1.45; }
.storefront-description { font-size: 1rem; line-height: 1.8; margin: 10px 0; max-width: 64ch; }
.storefront-duration { display: block; font-size: .875rem; line-height: 1.6; }
.product-purchase-details { margin-top: 12px; font-size: .875rem; }
.product-purchase-details h3 { font-size: .9375rem; }
.storefront-help { font-size: .9375rem; line-height: 1.8; }
.storefront-help p+p { margin-top: 10px; }
.account-entry { gap: 24px; align-items: center; }
.account-entry>div { min-width: 0; }
.account-entry strong { display: block; font-size: 1rem; line-height: 1.5; font-weight: 600; }
.account-entry p { font-size: .875rem; line-height: 1.7; margin-top: 5px; }
.account-entry>span { flex-shrink: 0; font-size: .875rem; line-height: 1.5; gap: 10px; white-space: nowrap; }
.account-entry>span svg { flex-shrink: 0; }
.account-entry.catalog-records { margin-top: 28px; padding: 22px 24px; }
.record-row { gap: 20px; padding: 22px 0; }
.record-row h3 { font-size: 1rem; line-height: 1.5; }
.record-row p { font-size: .875rem; line-height: 1.75; }
.simple-empty,.simple-description,.simple-note { font-size: .875rem; line-height: 1.8; }
@media(max-width:700px) {
  .simple-shell .page-header h1,.storefront-heading h1 { font-size: 1.625rem; }
  .simple-shell .page-header p,.storefront-heading p { font-size: .875rem; max-width: 36ch; }
  .top-navigation .nav-item { font-size: .875rem; }
  .storefront-item { gap: 18px; padding: 20px; }
  .storefront-item h2 { font-size: 1.125rem; }
  .storefront-description { font-size: .9375rem; line-height: 1.8; }
  .storefront-duration { font-size: .8125rem; }
  .account-entry { gap: 16px; }
  .account-entry.catalog-records { padding: 20px; }
  .account-entry p { font-size: .875rem; }
}
/* Shop applications stay separate from approved shop tools. */
.account-shop-pitch,.account-shop-detail{display:block;max-width:64ch}
.account-shop-pitch{color:var(--ink)}
.account-shop-detail{margin-top:6px}
.shop-opening-benefits{max-width:760px;margin:0 0 32px}
.shop-opening-benefits h2{font-size:18px;line-height:1.6;margin:0 0 12px}
.shop-opening-benefits dl{margin:0}
.shop-opening-benefits dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}
.shop-opening-benefits dt{color:var(--ink);font-weight:600;font-size:15px;line-height:1.8}
.shop-opening-benefits dd{margin:0;color:var(--muted);font-size:14px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:700px){.shop-opening-benefits dl>div{grid-template-columns:1fr;gap:4px;padding:14px 0}.shop-opening-benefits{margin-bottom:24px}}
.shop-review-contact{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;margin:0 0 24px;border:1px solid var(--line);border-radius:16px;background:#fff}
.shop-review-contact h2,.shop-application-status h2,.shop-application-panel h2{font-size:18px;line-height:1.6;margin:0 0 12px}
.shop-review-contact p,.shop-application-status p{line-height:1.8;margin:8px 0;overflow-wrap:anywhere}
.shop-review-contact .btn{flex-shrink:0}
.shop-application-panel,.shop-application-status{max-width:760px;margin-bottom:32px}
.shop-application-panel form{margin-top:20px}
.shop-application-status .badge{margin-bottom:16px}
.shop-application-reviews>h2,.shop-approved-heading{font-size:18px;line-height:1.6;margin:28px 0 16px}
.shop-application-reviews h2 small{font-size:13px;color:var(--muted);font-weight:400;margin-left:8px}
.shop-application-reviews .cell-secondary{overflow-wrap:anywhere}
.shop-approved-heading small{margin-left:8px;font-size:13px;font-weight:400;color:var(--muted)}
.admin-shop-list{border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.admin-shop-row{display:flex;align-items:center;gap:32px;padding:24px;border-bottom:1px solid var(--line)}
.admin-shop-row:last-child{border-bottom:0}
.admin-shop-identity{flex:1;min-width:0}
.admin-shop-identity h3{margin:0 0 10px;font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.admin-shop-identity p{margin:0;font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
.admin-shop-counts{display:flex;gap:28px;margin:0}
.admin-shop-counts div{min-width:48px}
.admin-shop-counts dt{font-size:12px;line-height:1.7;color:var(--muted)}
.admin-shop-counts dd{margin:6px 0 0;font-size:22px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums}
.admin-shop-counts .count-empty dd{color:var(--muted);font-weight:450}
.admin-shop-counts .count-pending dt,.admin-shop-counts .count-pending dd{color:var(--warning)}
.admin-shop-counts .count-paid dt,.admin-shop-counts .count-paid dd{color:var(--primary)}
.shop-application-reviews:has([data-action="shop-review"]){padding:20px 24px;border:1px solid var(--warning-line);background:var(--warning-soft);border-radius:12px;margin-bottom:28px}
.shop-application-reviews:has([data-action="shop-review"])>h2{margin-top:0;color:var(--warning)}
.shop-application-reviews .disclosure{background:var(--surface)}
.admin-shop-actions{display:flex;gap:10px;flex-shrink:0}
@media(max-width:1000px){.admin-shop-row{flex-wrap:wrap;gap:22px}.admin-shop-identity{flex-basis:calc(100% - 280px)}.admin-shop-actions{width:100%}}
@media(max-width:600px){.admin-shop-identity{flex-basis:100%}.admin-shop-counts{gap:36px}.admin-shop-actions{flex-wrap:wrap}.admin-shop-actions .btn{flex:1}}
@media(max-width:700px){.shop-review-contact{padding:20px;align-items:flex-start;flex-direction:column;gap:8px}.shop-application-reviews .simple-list-row{align-items:flex-start;flex-wrap:wrap;gap:16px}.shop-application-panel,.shop-application-status{padding:22px}}

/* Keep the customer order and its next action together on small screens. */
.shop-order-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.shop-customer-order>div:first-child{min-width:0}
.shop-customer-order p{overflow-wrap:anywhere}
@media(max-width:700px){.shop-customer-order{flex-direction:column;align-items:stretch;gap:12px}.shop-order-actions{justify-content:space-between}.shop-customer-order h3{line-height:1.6}}

/* Familiar symbols replace repeated explanations; names stay visible. */
.top-navigation .nav-item{gap:8px}
.top-navigation .nav-item svg{flex-shrink:0}
.simple-shell .btn.icon-button,.text-button.icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;min-height:44px;padding:0;flex-shrink:0}
.simple-shell .current-profile .icon-button svg{transform:none}
.current-profile .icon-button:hover{border-radius:8px;background:var(--primary-soft)}
.review-status{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:7px;padding:7px 11px;white-space:nowrap}
.review-status svg{color:var(--success)}
.shop-application-reviews:empty{display:none}
.admin-shop-identity{display:flex;align-items:center;gap:14px}
.admin-shop-identity>div{min-width:0}
.admin-shop-symbol{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:10px;background:var(--primary-soft);color:var(--primary)}
.admin-shop-actions .icon-button{flex:0 0 44px}
.account-entry>.account-entry-symbol{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:9px;background:var(--primary-soft);color:var(--primary)}
.account-entry>.account-entry-label{flex:1;min-width:0}
.account-entry>.account-entry-meta{display:inline-flex;align-items:center}
.account-menu .account-entry{padding-top:16px;padding-bottom:16px;gap:16px}
.account-shop .account-entry p{max-width:46ch;font-size:13px}
.visual-empty{display:flex;align-items:center;justify-content:center;gap:12px;padding:36px 20px}
.visual-empty svg{color:var(--muted);flex-shrink:0}
.storefront-access-note{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:var(--muted);font-size:13px}
.storefront-duration{display:inline-flex;align-items:center;gap:7px;margin-top:8px}
.inline-help{font-size:13px;color:var(--muted);max-width:60ch}
.inline-help>summary{display:inline-flex;align-items:center;gap:7px;cursor:pointer;min-height:44px;list-style:none}
.inline-help>summary::-webkit-details-marker{display:none}
.inline-help p{margin-top:6px;font-size:13px;line-height:1.75}
.shop-share-label{display:flex;align-items:center;gap:10px;color:var(--primary)}
.shop-share-label p{margin:0}
.account-signout{gap:8px}
@media(max-width:700px){.top-navigation .nav-item{gap:6px;padding-left:6px;padding-right:6px}.top-navigation .nav-item svg{width:17px;height:17px}.admin-shop-identity{gap:12px}.account-menu .account-entry{gap:12px}.account-entry>.account-entry-symbol{flex-basis:36px;width:36px;height:36px}}
