:root{color-scheme:light;--canvas:#f5f6f3;--paper:#fff;--paper-2:#fafbf9;--ink:#25332f;--muted:#697670;--subtle:#8b9791;--line:#e3e9e3;--line-2:#edf0eb;--accent:#537c70;--accent-bg:#e9f1eb;--accent-ink:#315e50;--danger:#a76059;--danger-bg:#fbefed;--warning:#a37b4c;--warning-bg:#f9f2e8;--shadow:0 9px 28px rgba(34,55,43,.055);--radius:14px}
:root[data-theme="dark"]{color-scheme:dark;--canvas:#090b0e;--paper:#14171c;--paper-2:#1b1f26;--ink:#f2f4f7;--muted:#b3bbc7;--subtle:#929cab;--line:#2c323c;--line-2:#252b34;--accent:#6079ac;--accent-bg:#222b3d;--accent-ink:#c5d3f5;--danger:#e2a09a;--danger-bg:#382527;--warning:#e0ba80;--warning-bg:#342b20;--shadow:0 12px 34px rgba(0,0,0,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font:14px/1.48 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased;touch-action:manipulation}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}::selection{background:var(--accent-bg);color:var(--accent-ink)}[hidden]{display:none!important}
.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--paper);border-right:1px solid var(--line);padding:26px 15px 20px;display:flex;flex-direction:column;gap:35px;z-index:40}.brand{display:flex;align-items:center;gap:10px;padding:2px 11px;color:var(--ink)}.brand strong{display:block;font-size:22px;font-weight:700;letter-spacing:-.07em;line-height:1}.brand small{display:block;margin-top:6px;color:var(--subtle);font-size:8px;font-weight:750;letter-spacing:.21em}.brand-mark{width:26px;height:26px;display:grid;grid-template-columns:1fr 1fr;gap:2px;transform:rotate(-12deg)}.brand-mark span{border-radius:4px;background:#6d9884}.brand-mark span:nth-child(2){opacity:.55}.brand-mark span:nth-child(3){opacity:.75}.brand-mark span:nth-child(4){opacity:.35}.sidebar-group{display:grid;gap:10px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:.15em;color:var(--subtle)}.sidebar-group>.eyebrow{padding:0 12px}.sidebar nav{display:grid;gap:3px}.sidebar nav a{display:flex;align-items:center;gap:10px;height:38px;padding:0 12px;border-radius:9px;color:var(--muted);font-size:13px;font-weight:550;transition:background .2s,color .2s}.sidebar nav a:hover{background:var(--paper-2);color:var(--ink)}.sidebar nav a.active{background:var(--accent-bg);color:var(--accent-ink);font-weight:650}.nav-icon{display:inline-grid;place-items:center;width:18px;font-size:16px;font-weight:400}.sidebar-bottom{margin-top:auto;display:grid;gap:14px}.support-card{padding:15px;background:var(--paper-2);border:1px solid var(--line-2);border-radius:12px}.support-card p{font-size:12px;color:var(--muted);margin:8px 0 9px}.support-card a{font-size:12px;color:var(--accent-ink);font-weight:650}.sidebar-theme{border:0;background:none;color:var(--muted);text-align:left;padding:7px 10px;font-size:12px}.sidebar-theme span{font-size:16px;margin-right:6px}.main-column{min-width:0;display:flex;flex-direction:column}.topbar{height:69px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3vw,48px);gap:14px}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.topbar-label{font-size:10px;color:var(--subtle);font-weight:800;letter-spacing:.14em}.sep{opacity:.5}.topbar-actions{display:flex;align-items:center;gap:9px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#82b499;margin-right:4px}.account-button,.balance-pill{border:1px solid var(--line);background:var(--paper);border-radius:9px;height:34px;padding:0 12px;color:var(--ink);font-size:12px;font-weight:650}.account-button span{margin-left:10px;color:var(--accent)}.balance-pill{background:var(--accent-bg);border-color:transparent;color:var(--accent-ink)}.icon-button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:9px;width:34px;height:34px}.mobile-menu{display:none}main{width:min(1220px,100%);margin:0 auto;padding:35px clamp(20px,3vw,48px) 70px;flex:1}.site-footer{border-top:1px solid var(--line);padding:17px clamp(20px,3vw,48px);display:flex;justify-content:space-between;color:var(--subtle);font-size:11px;gap:10px}
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px}.page-head h1{font-size:27px;letter-spacing:-.045em;font-weight:650;line-height:1.1;margin:7px 0 0}.page-head p{color:var(--muted);font-size:13px;max-width:550px;margin:9px 0 0}.page-actions,.toolbar,.button-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.hero{border:1px solid var(--line);background:linear-gradient(126deg,var(--paper) 0%,var(--paper) 62%,var(--accent-bg) 100%);border-radius:var(--radius);padding:27px 30px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:25px;min-height:170px;margin-bottom:26px;box-shadow:var(--shadow)}.hero h2{font-size:25px;letter-spacing:-.055em;line-height:1.14;max-width:440px;margin:13px 0 10px;font-weight:650}.hero p{font-size:12px;color:var(--muted);margin:0;max-width:430px}.hero-meta{align-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:8px;color:var(--muted);font-size:11px}.hero-meta strong{font-size:24px;color:var(--ink);font-weight:600;letter-spacing:-.04em}.hero .eyebrow{color:var(--accent-ink)}.notice{background:var(--accent-bg);border:1px solid var(--line);color:var(--accent-ink);border-radius:10px;padding:11px 14px;margin-bottom:18px;font-size:12px}.notice.warning{background:var(--warning-bg);color:var(--warning)}.toolbar{justify-content:space-between;margin-bottom:17px}.filters{display:flex;gap:6px;overflow:auto;padding-bottom:2px}.filter-chip,.small-button,.text-button{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:8px;padding:7px 11px;font-size:11px;font-weight:650;white-space:nowrap;transition:.18s}.filter-chip:hover,.small-button:hover,.text-button:hover{border-color:var(--accent);color:var(--accent-ink)}.filter-chip.active{border-color:var(--accent-bg);background:var(--accent-bg);color:var(--accent-ink)}.small-button.primary,.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}.small-button.primary:hover,.button.primary:hover{filter:brightness(.94)}.small-button.danger{background:var(--danger-bg);border-color:transparent;color:var(--danger)}.small-button.ghost{background:transparent}.small-button:disabled,.button:disabled{opacity:.45;cursor:not-allowed}.search-field{border:1px solid var(--line);background:var(--paper);border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--subtle);height:33px;min-width:192px}.search-field input{border:0;background:transparent;color:var(--ink);outline:none;font-size:12px;min-width:0;width:100%}.search-field input::placeholder{color:var(--subtle)}
.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:26px 0 13px}.section-heading h2{font-size:14px;letter-spacing:-.02em;margin:0;font-weight:700}.section-heading small{font-size:11px;color:var(--subtle)}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{border:1px solid var(--line);background:var(--paper);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);transition:transform .2s,border-color .2s}.product-card:hover{transform:translateY(-2px);border-color:#c9d9cb}.product-art{height:134px;background:linear-gradient(135deg,#dce8df,#f0f1e9);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-art::before{content:"";width:150px;height:150px;border:1px solid rgba(67,99,79,.23);border-radius:28px;transform:rotate(30deg);position:absolute;right:-45px;top:-76px}.product-art::after{content:"";width:80px;height:80px;border:1px solid rgba(67,99,79,.19);border-radius:20px;transform:rotate(30deg);position:absolute;left:-30px;bottom:-52px}.product-art img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1}.product-monogram{font-size:26px;font-weight:700;color:#6a8f79;letter-spacing:-.1em;position:relative;z-index:1}.product-card:nth-child(3n+2) .product-art{background:linear-gradient(135deg,#e7e7e0,#dce8e7)}.product-card:nth-child(3n+3) .product-art{background:linear-gradient(135deg,#e9e0d9,#e9eee7)}.product-art .floating-tag{position:absolute;z-index:2;top:11px;left:11px}.floating-tag,.status-pill{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.88);color:#4d6358;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;backdrop-filter:blur(10px)}.status-pill{background:var(--accent-bg);color:var(--accent-ink);border-color:transparent}.status-pill.out{background:var(--danger-bg);color:var(--danger)}.status-pill.warn{background:var(--warning-bg);color:var(--warning)}.product-content{padding:16px 17px 14px;flex:1;display:flex;flex-direction:column}.product-content .eyebrow{font-size:9px}.product-content h3{font-size:17px;letter-spacing:-.035em;margin:7px 0 5px;font-weight:660}.product-content p{font-size:11px;color:var(--muted);margin:0 0 12px;min-height:31px}.product-plan-list{border-top:1px solid var(--line-2);margin-top:auto}.product-plan{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 0;border-bottom:1px solid var(--line-2);font-size:11px}.product-plan:last-child{border-bottom:0}.product-plan span{color:var(--muted)}.product-plan strong{font-size:12px;font-weight:700}.product-footer{margin-top:13px;display:flex;justify-content:space-between;align-items:center}.product-footer small{font-size:10px;color:var(--subtle)}.link-button{border:0;background:none;color:var(--accent-ink);font-size:11px;font-weight:700;padding:0}.link-button:hover{text-decoration:underline}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel-pad{padding:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 19px;border-bottom:1px solid var(--line-2)}.panel-header h2,.panel-header h3{font-size:14px;margin:0;font-weight:700}.panel-header small{font-size:11px;color:var(--subtle)}.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:17px}.three-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.stat-card{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:15px 17px;min-height:85px}.stat-card small{font-size:10px;letter-spacing:.1em;color:var(--subtle);font-weight:750;text-transform:uppercase}.stat-card strong{font-size:22px;font-weight:650;letter-spacing:-.05em;display:block;margin-top:8px}.stat-card span{font-size:11px;color:var(--muted)}.wallet-total{font-size:36px;font-weight:600;letter-spacing:-.06em;margin:6px 0 0}.wallet-total small{font-size:13px;color:var(--subtle);letter-spacing:0}.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.method-card{border:1px solid var(--line);border-radius:10px;background:var(--paper);text-align:left;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink)}.method-card:hover,.method-card.active{border-color:var(--accent);background:var(--accent-bg)}.method-card strong{font-size:12px}.method-card small{display:block;color:var(--subtle);font-size:10px;margin-top:2px}.method-card b{font-size:15px;color:var(--accent)}.form-grid{display:grid;gap:12px}.form-row{display:grid;gap:6px}.form-row label{font-size:11px;color:var(--muted);font-weight:650}.input,.textarea,.select{width:100%;border:1px solid var(--line);background:var(--paper);border-radius:8px;color:var(--ink);padding:9px 10px;min-height:37px;font-size:12px}.input::placeholder,.textarea::placeholder{color:var(--subtle)}.textarea{min-height:98px;resize:vertical}.input:focus,.textarea:focus,.select:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--accent-bg)}.form-help{font-size:11px;color:var(--muted);margin:0}.button{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:9px;min-height:37px;padding:8px 13px;font-size:12px;font-weight:680}.button:hover{border-color:var(--accent)}.button.danger{border-color:transparent;background:var(--danger-bg);color:var(--danger)}.button-row{margin-top:14px}.quiet{color:var(--muted)}.muted{color:var(--subtle)}.small{font-size:11px}.empty{padding:35px 20px;text-align:center;color:var(--muted);font-size:12px}.empty strong{color:var(--ink);display:block;font-size:15px;margin-bottom:6px}.empty .button{margin-top:12px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:var(--subtle);padding:12px 16px;background:var(--paper-2);font-weight:750}.data-table td{padding:11px 16px;border-top:1px solid var(--line-2);font-size:11px;color:var(--muted)}.data-table td strong{color:var(--ink);font-weight:650}.data-table tr:hover td{background:var(--paper-2)}.data-table .action-cell{text-align:right}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:-.02em}.key-preview{white-space:normal;max-width:290px;word-break:break-all}.key-preview code{background:var(--paper-2);padding:4px 6px;border:1px solid var(--line-2);border-radius:5px;color:var(--ink)}.row-list{display:grid}.row-list>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line-2);font-size:12px}.row-list>div:last-child{border-bottom:0}.row-list span{color:var(--muted)}.row-list strong{font-weight:650;text-align:right}
.admin-tabs{display:flex;gap:6px;margin-bottom:17px;overflow-x:auto;padding-bottom:3px}.admin-tabs button{border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--muted);padding:7px 10px;font-size:11px;white-space:nowrap;font-weight:650}.admin-tabs button.active{background:var(--accent-bg);border-color:var(--accent-bg);color:var(--accent-ink)}.admin-split{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:15px}.inline-form{display:flex;gap:8px;align-items:center}.inline-form .input{min-width:0}.inline-form .button{white-space:nowrap}.feature-list{display:grid;gap:8px}.feature-list>div{display:flex;align-items:center;gap:10px;font-size:12px}.feature-list i{color:var(--accent);font-style:normal}.code-block{display:block;background:var(--paper-2);border:1px solid var(--line);padding:12px;border-radius:9px;white-space:pre-wrap;word-break:break-all;font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.subhead{font-size:12px;font-weight:700;margin:16px 0 8px}.divider{height:1px;background:var(--line-2);margin:18px 0}
.modal-root{position:fixed;inset:0;z-index:100;background:rgba(21,35,28,.36);display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}.modal{width:min(470px,100%);max-height:min(90vh,850px);overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:0 25px 90px rgba(0,0,0,.18)}.modal.wide{width:min(680px,100%)}.modal-head{padding:20px 23px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line-2)}.modal-head h2{font-size:19px;letter-spacing:-.04em;margin:3px 0;font-weight:670}.modal-head p{font-size:11px;color:var(--muted);margin:5px 0 0}.modal-body{padding:20px 23px 24px}.modal-close{width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--line);background:var(--paper-2);color:var(--muted);border-radius:8px;font-size:16px}.modal-foot{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:16px}.auth-switch{font-size:11px;color:var(--muted)}.auth-switch button{border:0;background:none;color:var(--accent-ink);font-weight:700;padding:0}.receipt-top{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:17px}.receipt-mark{font-size:11px;font-weight:800;letter-spacing:.13em}.receipt-id{font-size:12px;color:var(--muted)}.receipt-total{display:flex;justify-content:space-between;align-items:baseline;margin:18px 0;font-size:12px}.receipt-total strong{font-size:22px;letter-spacing:-.04em}.receipt-items{display:grid;gap:8px;margin:16px 0}.receipt-item{border:1px solid var(--line);border-radius:9px;padding:10px 11px}.receipt-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.receipt-item-head strong{font-weight:700}.receipt-item code{display:block;word-break:break-all;color:var(--ink);font-size:11px;margin-top:9px;padding:8px;background:var(--paper-2);border-radius:6px}.receipt-note{border-top:1px solid var(--line);padding-top:13px;color:var(--muted);font-size:11px}.qty-control{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden}.qty-control button{border:0;background:var(--paper-2);width:31px;height:31px;color:var(--ink)}.qty-control input{border:0;width:45px;height:31px;text-align:center;background:var(--paper);color:var(--ink);outline:none}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:8px}.toast{background:var(--ink);color:var(--paper);border-radius:9px;padding:10px 13px;box-shadow:var(--shadow);font-size:11px;max-width:300px}.toast.error{background:var(--danger);color:#fff}.mobile-nav{display:none}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-split{grid-template-columns:1fr}.two-col{grid-template-columns:1fr}}
@media(max-width:780px){.shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:234px;transform:translateX(-101%);transition:transform .2s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-grid;place-items:center}.topbar{height:59px;padding:0 16px}.breadcrumbs{margin-right:auto}.topbar-label,.breadcrumbs .sep{display:none}main{padding:24px 17px 85px}.site-footer{padding:16px 17px 80px}.mobile-nav{display:flex;position:fixed;z-index:35;bottom:0;left:0;right:0;padding-bottom:env(safe-area-inset-bottom);height:62px;background:var(--paper);border-top:1px solid var(--line);justify-content:space-around}.mobile-nav a{font-size:10px;color:var(--muted);display:grid;place-items:center;align-content:center;gap:0;min-width:60px}.mobile-nav a span{font-size:19px}.mobile-nav a.active{color:var(--accent-ink);font-weight:700}.hero{padding:22px;min-height:160px}.hero h2{font-size:22px}.hero-meta{display:none}.three-stats{gap:8px}.stat-card{padding:11px}.stat-card strong{font-size:18px}.page-head h1{font-size:24px}.page-actions{display:none}.modal-root{align-items:flex-end;padding:0}.modal{max-height:92vh;width:100%;border-radius:17px 17px 0 0}.modal.wide{width:100%}.toast-stack{bottom:76px}}
@media(max-width:540px){.product-grid{grid-template-columns:1fr}.product-card{display:grid;grid-template-columns:105px minmax(0,1fr)}.product-art{height:100%;min-height:180px}.product-content{padding:12px}.product-content h3{font-size:15px}.product-content p{min-height:0}.product-plan{padding:6px 0}.product-footer{margin-top:8px}.toolbar{align-items:stretch}.filters{width:100%}.search-field{width:100%}.method-grid{grid-template-columns:1fr}.page-head{align-items:flex-start}.topbar-actions .connection-dot{display:none}.account-button{padding:0 9px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.balance-pill{padding:0 8px}.hero{display:block}.site-footer{display:block}.site-footer span{display:block;margin-bottom:4px}}
@media print{.sidebar,.topbar,.mobile-nav,.site-footer,.modal-close,.button-row,.modal-foot{display:none!important}.modal-root{position:static;background:none;padding:0}.modal{box-shadow:none;border:0;max-height:none}.modal-body{padding:0}body{background:white;color:black}}

/* Catalogue imagery and navigation refinements. */
.method-card.sold-out,.method-card.sold-out:hover,.method-card.sold-out:focus-visible{border-color:var(--line);background:var(--paper-2);color:var(--muted);box-shadow:none;cursor:not-allowed;opacity:.7}
.method-card.sold-out strong{color:var(--muted)}
.method-card.sold-out small{color:var(--danger)}
.button:disabled,.small-button:disabled{cursor:not-allowed;opacity:.55}
.topbar{position:sticky;top:0;z-index:50}
.product-art{height:200px;background:var(--paper-2)}
.product-art::before,.product-art::after{display:none}
.product-card.no-art .product-content{min-height:200px}
.product-card.no-art .eyebrow{margin-top:3px}
.inline-featured{position:static;align-self:flex-start;margin-bottom:9px;background:var(--accent-bg);color:var(--accent-ink);border-color:transparent}
@media(max-width:780px){
  .sidebar{z-index:60}
  main{padding-bottom:35px}
  .site-footer{padding-bottom:20px}
  .toast-stack{bottom:18px}
  .mobile-nav{display:none}
}
@media(max-width:540px){
  .product-card.has-art{grid-template-columns:minmax(145px,42%) minmax(0,1fr)}
  .product-card.has-art .product-art{height:100%;min-height:220px}
  .product-card.no-art{display:block}
  .product-card.no-art .product-content{min-height:0;padding:17px}
}

/* A shorter, grouped wallet flow. */
.wallet-page{max-width:890px;margin:0 auto;display:grid;gap:18px}
.wallet-intro h1{margin:4px 0 2px;font-size:30px;letter-spacing:-.05em;line-height:1.2}
.wallet-intro p,.wallet-section-head p{margin:0;color:var(--muted);font-size:12px}
.wallet-summary{display:flex;align-items:center;gap:22px;padding:22px 24px;background:linear-gradient(115deg,var(--paper),var(--accent-bg))}
.wallet-mark{width:62px;height:62px;border-radius:17px;display:grid;place-items:center;flex:none;background:var(--accent-bg);color:var(--accent-ink);border:1px solid var(--line)}
.wallet-mark svg{width:37px;height:37px}
.wallet-summary .wallet-total{margin:1px 0;font-size:33px;line-height:1.15}
.wallet-summary-copy p{margin:0;color:var(--muted);font-size:11px}
.wallet-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.wallet-section-head h2{font-size:16px;letter-spacing:-.025em;margin:0}
.wallet-section-head>small{font-size:11px;color:var(--subtle);white-space:nowrap}
.wallet-tabs{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;scrollbar-width:none}
.wallet-tabs::-webkit-scrollbar{display:none}
.wallet-tab{border:1px solid var(--line);background:var(--paper);color:var(--muted);border-radius:8px;padding:7px 11px;font-size:11px;font-weight:650;white-space:nowrap}
.wallet-tab span{color:var(--subtle);font-size:10px;margin-left:3px}
.wallet-tab.active{background:var(--accent-bg);border-color:var(--accent);color:var(--accent-ink)}
.wallet-tab.active span{color:var(--accent-ink)}
.wallet-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.wallet-method{min-width:0;min-height:66px;border:1px solid var(--line);background:var(--paper);border-radius:11px;padding:10px 12px;display:flex;align-items:center;gap:10px;text-align:left;color:var(--ink);box-shadow:var(--shadow)}
.wallet-method:hover{border-color:var(--accent);background:var(--accent-bg)}
.wallet-method-icon{width:35px;height:35px;flex:none;border-radius:9px;display:grid;place-items:center;background:var(--accent-bg);color:var(--accent-ink);font-size:18px;font-weight:750}
.wallet-method-copy{min-width:0;flex:1}
.wallet-method-copy strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-method-copy small{display:block;color:var(--muted);font-size:10px;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wallet-method-arrow{color:var(--accent-ink);font-size:15px}
.wallet-activity{overflow:hidden}
.wallet-activity summary{cursor:pointer;list-style:none;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.wallet-activity summary::-webkit-details-marker{display:none}
.wallet-activity summary strong,.wallet-activity summary small{display:block}
.wallet-activity summary strong{font-size:12px}
.wallet-activity summary small{font-size:10px;color:var(--muted);margin-top:1px}
.wallet-activity-chevron{font-size:18px;color:var(--muted);transition:transform .2s}
.wallet-activity[open] .wallet-activity-chevron{transform:rotate(180deg)}
.wallet-activity-body{padding:0 17px 12px;border-top:1px solid var(--line-2)}
.wallet-activity-body>.link-button{margin-top:10px}
.wallet-activity-body .empty{padding:18px}
@media(max-width:540px){
  .wallet-page{gap:14px}
  .wallet-intro h1{font-size:25px}
  .wallet-intro p{font-size:11px}
  .wallet-summary{gap:15px;padding:17px}
  .wallet-mark{width:52px;height:52px;border-radius:14px}
  .wallet-mark svg{width:32px;height:32px}
  .wallet-summary .wallet-total{font-size:28px}
  .wallet-method{padding:8px;gap:7px;min-height:60px}
  .wallet-method-icon{width:29px;height:29px;border-radius:7px;font-size:15px}
  .wallet-method-copy strong{font-size:11px}
  .wallet-method-copy small{font-size:9px}
  .wallet-method-arrow{display:none}
}

.theme-button{display:grid;place-items:center;color:var(--accent-ink)}
.theme-button svg{width:17px;height:17px}
:root[data-theme="dark"] .theme-button{color:#e7bc72;background:#2d332c;border-color:#434639}
.owner-photo-panel{display:flex;gap:15px;align-items:flex-start}
.owner-photo-preview{width:125px;height:105px;flex:none;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);overflow:hidden;display:grid;place-items:center;color:var(--subtle);font-size:11px;text-align:center}
.owner-photo-preview img{width:100%;height:100%;object-fit:cover}
.owner-photo-controls{min-width:0;display:grid;gap:5px;flex:1}
.owner-photo-controls strong{font-size:12px}
.owner-photo-controls p,.owner-photo-controls small{margin:0;color:var(--muted);font-size:10px}
.owner-photo-controls .input{font-size:10px;min-height:35px;padding:5px}
.owner-photo-controls .small-button{justify-self:start}
@media(max-width:780px){.sidebar{width:220px}}
@media(max-width:400px){
  .topbar{gap:7px;padding:0 11px}
  .topbar-actions{gap:5px}
  .account-button{max-width:89px}
  .owner-photo-panel{gap:10px}
  .owner-photo-preview{width:95px;height:95px}
}

@media(max-width:780px){
  .product-management-table,.product-management-table tbody{display:block;width:100%;white-space:normal}
  .product-management-table thead{display:none}
  .product-management-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px;border-bottom:1px solid var(--line-2);gap:8px 12px}
  .product-management-table td{border:0;padding:0;font-size:11px;min-width:0}
  .product-management-table td:first-child,.product-management-table td:last-child{grid-column:1/-1}
  .product-management-table td::before{display:block;color:var(--subtle);font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:3px}
  .product-management-table td:nth-child(2)::before{content:'Duration'}
  .product-management-table td:nth-child(3)::before{content:'Customer'}
  .product-management-table td:nth-child(4)::before{content:'Reseller'}
  .product-management-table td:nth-child(5)::before{content:'Stock'}
  .product-management-table td:nth-child(6)::before{content:'On web'}
  .product-management-table td:last-child{text-align:left;margin-top:3px}
}

/* Compact product checkout and clear navigation on small screens. */
.product-card{width:100%;padding:0;text-align:left;color:var(--ink);font:inherit;cursor:pointer}
.product-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.product-card:hover .product-footer .link-button{text-decoration:underline}
.nav-icon svg,.mobile-menu svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-icon svg{width:17px;height:17px}
.sidebar-backdrop{display:none}
.product-options-modal{display:flex;flex-direction:column;overflow:hidden;max-height:min(88dvh,780px);width:min(560px,100%)}
.product-options-modal .modal-head{flex:none;padding-bottom:16px}
.product-options-modal .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-top:17px;padding-bottom:18px}
.product-options-modal .modal-foot{flex:none;margin:0;padding:14px 23px 18px;border-top:1px solid var(--line-2);background:var(--paper)}
.product-options-modal .modal-foot .button{min-width:135px}
.product-modal-intro{display:flex;align-items:center;gap:14px;padding:10px;background:var(--paper-2);border:1px solid var(--line-2);border-radius:12px}
.product-modal-intro img,.product-modal-placeholder{width:76px;height:76px;flex:none;object-fit:cover;border-radius:9px}
.product-modal-placeholder{display:grid;place-items:center;background:var(--accent-bg);color:var(--accent-ink);font-size:26px}
.product-modal-intro .form-help{margin-top:5px;line-height:1.4}
.product-options-modal .method-grid{margin-top:8px}
.product-options-modal .method-card{min-height:64px}
.product-modal-order{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--line-2);padding-top:13px}
.product-modal-order>div{min-width:0;display:grid;gap:2px}
.product-modal-order span{font-size:10px;color:var(--subtle)}
.product-modal-order strong{font-size:12px;overflow-wrap:anywhere}
.wallet-method-icon{background:#f7faf8;border:1px solid rgba(35,50,40,.07)}
.wallet-method-icon img{display:block;width:23px;height:23px;object-fit:contain}
.wallet-method-icon svg{width:21px;height:21px;color:var(--accent-ink)}
.wallet-method-icon.bybit{background:#141a1e}
.wallet-method-icon.bybit img{width:28px;height:28px}
.wallet-method-icon.cryptobot{padding:0;overflow:hidden;background:#17aae4}
.wallet-method-icon.cryptobot img{width:100%;height:100%;object-fit:cover}
@media(max-width:780px){
  .sidebar{width:min(260px,calc(100vw - 55px));z-index:70}
  .sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:65;border:0;background:rgba(10,19,16,.52);backdrop-filter:blur(3px)}
  .modal-root.product-modal-root{align-items:center;padding:15px}
  .product-options-modal,.product-options-modal.wide{width:min(560px,100%);max-height:min(88dvh,780px);border-radius:18px}
  .product-options-modal .modal-head{padding:17px 18px 13px}
  .product-options-modal .modal-body{padding:15px 18px}
  .product-options-modal .modal-foot{padding:13px 18px max(13px,env(safe-area-inset-bottom))}
}
@media(max-width:540px){
  .product-options-modal .method-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .product-options-modal .method-card{min-width:0;min-height:64px;padding:9px;display:grid;align-content:center;gap:4px}
  .product-options-modal .method-card strong{font-size:11px}
  .product-options-modal .method-card small{font-size:9px}
  .product-modal-intro img,.product-modal-placeholder{width:62px;height:62px}
  .wallet-method-icon img{width:20px;height:20px}
  .wallet-method-icon.bybit img{width:25px;height:25px}
}
@media(max-width:400px){
  .product-card.has-art{display:block}
  .product-card.has-art .product-art{height:158px;min-height:0}
  .product-card.has-art .product-content{padding:15px}
  .product-options-modal .modal-foot{gap:7px}
  .product-options-modal .modal-foot .small-button{padding:8px;font-size:10px;white-space:normal}
  .product-options-modal .modal-foot .button{min-width:120px}
}
@media(max-width:340px){.product-options-modal .method-grid{grid-template-columns:1fr}}

/* Keep every dialog centered, including long forms on a phone. */
.modal-root:not([hidden]){animation:modal-backdrop-in .22s ease-out both}
.modal-root:not([hidden])>.modal{animation:modal-panel-in .26s cubic-bezier(.2,.8,.2,1) both}
@keyframes modal-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes modal-panel-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal,.product-options-modal{overscroll-behavior:contain}
.button,.small-button,.method-card,.modal-close{transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease,opacity .18s ease}
.button:active:not(:disabled),.small-button:active:not(:disabled),.method-card:active:not(:disabled){transform:scale(.985)}
.purchase-confirm{display:grid;gap:16px}
.purchase-confirm-title{display:grid;gap:3px;padding:15px;border:1px solid var(--line-2);border-radius:12px;background:var(--paper-2)}
.purchase-confirm-title strong{font-size:17px;letter-spacing:-.03em}
.purchase-confirm-title>span:last-child{font-size:12px;color:var(--muted)}
.purchase-confirm .row-list>div{padding:8px 0}
.purchase-confirm .purchase-confirm-total{margin-top:3px;padding-top:13px;border-top:1px solid var(--line)}
.purchase-confirm-total strong{font-size:20px;color:var(--accent-ink)}
.purchase-confirm-warning{color:var(--danger)}
.purchase-confirm-actions{display:flex;justify-content:flex-end;gap:8px}
.purchase-confirm-actions .button{min-width:126px}
@media(max-width:780px){
  .modal-root,.modal-root.product-modal-root{align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))}
  .modal,.modal.wide,.product-options-modal,.product-options-modal.wide{width:min(100%,560px);max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:18px}
  .modal:not(.product-options-modal){display:flex;flex-direction:column;overflow:hidden}
  .modal:not(.product-options-modal) .modal-head{flex:none;padding:17px 18px 13px}
  .modal:not(.product-options-modal) .modal-body{min-height:0;overflow-y:auto;padding:17px 18px 20px;overscroll-behavior:contain}
}
@media(max-width:380px){.purchase-confirm-actions{display:grid;grid-template-columns:1fr 1fr}.purchase-confirm-actions .button{min-width:0;padding-inline:7px}}
@media(prefers-reduced-motion:reduce){.modal-root:not([hidden]),.modal-root:not([hidden])>.modal{animation:none}.button,.small-button,.method-card,.modal-close{transition:none}}
@media print{.modal,.modal.wide{max-height:none;overflow:visible}.modal-body{overflow:visible!important}}

/* Owner workspace: keep controls readable and reachable on narrow screens. */
#owner-content,#owner-content .panel,#owner-content .two-col{min-width:0}
#owner-content .panel-header{min-width:0}
#owner-content .panel-header h2{overflow-wrap:anywhere}
#owner-content .row-list>div{min-width:0}
#owner-content .row-list strong,#owner-content .row-list span{overflow-wrap:anywhere}
.admin-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.modal .row-list>div{min-width:0;align-items:flex-start}
.modal .row-list span,.modal .row-list strong{min-width:0;overflow-wrap:anywhere}
.modal .row-list strong{max-width:60%}

@media(max-width:780px){
  .admin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;overflow:visible;padding:0;margin:0 0 16px}
  .admin-tabs button{min-width:0;min-height:39px;padding:8px 5px;border-radius:10px;text-align:center;white-space:normal;font-size:11px;line-height:1.15}
  .admin-tabs button.active{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
  #owner-content .three-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:13px}
  #owner-content .three-stats .stat-card:last-child{grid-column:1/-1}
  #owner-content .stat-card{min-width:0;min-height:88px;padding:13px 14px}
  #owner-content .stat-card strong{font-size:23px}
  #owner-content .panel-header{flex-wrap:wrap;align-items:flex-start;padding:14px 15px;gap:8px}
  #owner-content .panel-pad{padding:16px}
  #owner-content .two-col{gap:12px}
  #owner-content .row-list>div{align-items:flex-start}
  #owner-content .row-list strong{max-width:57%}
  #owner-content .table-wrap{overflow:visible}
  #owner-content .owner-mobile-table,#owner-content .owner-mobile-table tbody{display:block;width:100%;white-space:normal}
  #owner-content .owner-mobile-table thead{display:none}
  #owner-content .owner-mobile-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:15px;border-bottom:1px solid var(--line-2)}
  #owner-content .owner-mobile-table tr:last-child{border-bottom:0}
  #owner-content .owner-mobile-table td{display:block;min-width:0;padding:0;border:0;background:none!important;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
  #owner-content .owner-mobile-table td:first-child,#owner-content .owner-mobile-table td:last-child{grid-column:1/-1}
  #owner-content .owner-mobile-table td:first-child strong{font-size:13px}
  #owner-content .owner-mobile-table td::before{display:block;margin:0 0 3px;color:var(--subtle);font-size:10px;line-height:1.2;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
  #owner-content .owner-mobile-table .action-cell{text-align:left}
  #owner-content .owner-mobile-table .action-cell .small-button{min-height:36px;padding:8px 14px}
  #owner-content .owner-stock-table .key-preview{max-width:none}
  #owner-content .owner-stock-table .key-preview code{display:block;white-space:normal;overflow-wrap:anywhere}
  #owner-content .owner-stock-table td:nth-child(1)::before{content:'Key'}
  #owner-content .owner-stock-table td:nth-child(2)::before{content:'Added'}
  #owner-content .owner-account-table td:nth-child(1)::before{content:'Account'}
  #owner-content .owner-account-table td:nth-child(2)::before{content:'Role'}
  #owner-content .owner-account-table td:nth-child(3)::before{content:'Status'}
  #owner-content .owner-account-table td:nth-child(4)::before{content:'Balance'}
  #owner-content .owner-payment-table td:nth-child(1)::before{content:'Customer'}
  #owner-content .owner-payment-table td:nth-child(2)::before{content:'Method'}
  #owner-content .owner-payment-table td:nth-child(3)::before{content:'Requested'}
  #owner-content .owner-payment-table td:nth-child(4)::before{content:'Status'}
  #owner-content .owner-payment-table td:nth-child(5)::before{content:'Submitted'}
  #owner-content .owner-order-table td:nth-child(1)::before{content:'Order'}
  #owner-content .owner-order-table td:nth-child(2)::before{content:'Buyer'}
  #owner-content .owner-order-table td:nth-child(3)::before{content:'Product'}
  #owner-content .owner-order-table td:nth-child(4)::before{content:'Paid'}
  #owner-content .owner-order-table td:nth-child(5)::before{content:'Date'}
  #owner-content .owner-order-table td:nth-child(2),#owner-content .owner-order-table td:nth-child(3){grid-column:1/-1}
  #owner-content .owner-account-panel .panel-header .search-field{flex:1 1 100%;width:100%;min-width:0}
  #owner-content .owner-account-panel .panel-header .search-field input{min-width:0;width:100%}
  #owner-content .owner-payment-table .action-cell,#owner-content .owner-account-table .action-cell{margin-top:2px}
  #owner-content .product-management-table tr{gap:10px 12px;padding:15px}
  #owner-content .product-management-table td{overflow-wrap:anywhere;font-size:12px}
  #owner-content .product-management-table td:first-child strong{font-size:13px}
  #owner-content .product-management-table .action-cell .small-button{min-height:36px;padding:8px 14px}
}
@media(max-width:420px){
  .admin-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
  .breadcrumbs{min-width:0;overflow:hidden}
  #page-crumb{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #owner-content .row-list>div{font-size:11px}
  .owner-photo-panel{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px}
  .owner-photo-preview{width:82px;height:82px;grid-row:1/3}
  .owner-photo-controls{display:contents}
  .owner-photo-controls strong,.owner-photo-controls p{grid-column:2}
  .owner-photo-controls .input,.owner-photo-controls small{grid-column:1/-1}
  .owner-photo-controls .input{max-width:100%;font-size:12px}
}

/* True charcoal dark mode; colour remains a small accent, not a surface tint. */
:root[data-theme="dark"] .brand-mark span{background:#8da3d3}
:root[data-theme="dark"] .connection-dot{background:#9aadd7}
:root[data-theme="dark"] .product-card:hover{border-color:#596c92}
:root[data-theme="dark"] .wallet-method-icon{background:#222938;border-color:#30394a}
:root[data-theme="dark"] .wallet-method-icon.bybit{background:#141a1e}
:root[data-theme="dark"] .wallet-method-icon.cryptobot{background:#17aae4}
:root[data-theme="dark"] .theme-button{color:#edc781;background:#242832;border-color:#373d49}
:root[data-theme="dark"] .modal-root{background:rgba(3,5,8,.68)}

/* Featured product: artwork, useful purchase facts, and one clear action. */
.product-name-with-logo{display:inline-flex;align-items:flex-start;gap:8px;max-width:100%;vertical-align:middle}
.product-name-with-logo>img{display:block;width:19px;height:19px;flex:none;object-fit:cover;border-radius:5px;margin-top:.09em}
.product-name-with-logo>span{min-width:0;overflow-wrap:anywhere}
.featured-hero .product-name-with-logo>img{width:27px;height:27px;border-radius:7px;margin-top:.08em}
.modal-head .product-name-with-logo>img{width:23px;height:23px;border-radius:6px;margin-top:.08em}
.featured-hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(220px,.88fr);align-items:stretch;gap:22px;min-height:254px;padding:20px;background:var(--paper);overflow:hidden}
.featured-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:14px 8px 12px 12px}
.featured-label{display:inline-flex;align-items:center;gap:7px;color:var(--accent-ink);font-size:10px;font-weight:750;letter-spacing:.13em}
.featured-label>span{font-size:17px;line-height:1;letter-spacing:0}
.featured-hero h2{font-size:clamp(23px,2.6vw,31px);margin:18px 0 8px;max-width:550px;overflow-wrap:anywhere}
.featured-hero p{font-size:12px;line-height:1.5;max-width:480px;margin:0 0 14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.featured-facts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;color:var(--muted);font-size:11px}
.featured-facts strong{color:var(--ink);font-size:18px;font-weight:700;letter-spacing:-.04em;margin-left:3px}
.featured-facts-divider{height:14px;width:1px;background:var(--line)}
.featured-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:37px;margin-top:16px;padding:8px 13px!important;font-size:11px!important}
.featured-cta span{font-size:15px;line-height:1}
.featured-art{min-width:0;min-height:210px;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;display:grid;place-items:center;background:radial-gradient(circle at 50% 42%,rgba(113,138,197,.19),transparent 63%),var(--paper-2)}
.featured-art img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
.featured-art-fallback{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:3px;position:relative;isolation:isolate}
.featured-art-fallback::before{content:"";position:absolute;z-index:-1;width:180px;height:180px;left:50%;top:50%;transform:translate(-50%,-50%) rotate(28deg);border:1px solid var(--accent);border-radius:34px;opacity:.26}
.featured-art-fallback strong{font-size:65px;line-height:1;font-weight:650;letter-spacing:-.12em;color:var(--accent-ink);padding-right:.12em}
.featured-art-fallback span{font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.featured-art-empty>span{font-size:62px;color:var(--accent-ink);opacity:.8}
@media(max-width:780px){
  .featured-hero{grid-template-columns:1fr;gap:0;min-height:0;padding:12px}
  .featured-art{grid-row:1;height:166px;min-height:0}
  .featured-copy{grid-row:2;padding:17px 8px 8px}
  .featured-hero h2{font-size:23px;margin:11px 0 7px}
  .featured-hero p{margin-bottom:0}
  .featured-facts{margin-top:15px}
  .featured-cta{margin-top:17px}
}
@media(max-width:400px){
  .featured-art{height:148px}
  .featured-art-fallback strong{font-size:55px}
  .featured-hero h2{font-size:22px}
}

/* Official Oxide flame icon within the shop's compact navigation. */
.brand-mark-fire{width:32px;height:32px;display:block;flex:none;transform:none}
.brand-mark-fire img{display:block;width:100%;height:100%;border-radius:8px}
.topbar-fire{display:none}
@media(max-width:780px){
  .topbar-fire{display:block;width:25px;height:25px;flex:none;border-radius:7px}
  .breadcrumbs{min-width:0}
}
@media(max-width:420px){
  #page-crumb{display:none}
}

/* Product screenshots: a quiet, full-size viewer that works in both themes. */
.product-footer{gap:9px;flex-wrap:wrap}
.product-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;margin-left:auto}
.preview-chip{display:inline-flex;align-items:center;gap:8px;min-height:28px;padding:4px 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper-2);color:var(--ink);font-size:10px;font-weight:700;line-height:1;white-space:nowrap}
.preview-chip:hover{border-color:var(--accent);background:var(--accent-bg);color:var(--accent-ink)}
.preview-chip span{font-size:13px;color:var(--accent-ink)}
.featured-cta-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:16px}
.featured-cta-row .featured-cta{margin-top:0}
.featured-preview{min-height:37px;padding:8px 11px}
.preview-modal.wide{width:min(820px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow:hidden}
.preview-modal .modal-head{flex:none}
.preview-modal .modal-body{min-height:0;overflow:auto;padding:15px 18px 18px}
.preview-gallery{display:grid;gap:12px}
.preview-stage{position:relative;display:grid;place-items:center;min-height:260px;height:min(56vh,510px);overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#0d1015;touch-action:pan-y}
.preview-stage>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.preview-stage-top{position:absolute;top:10px;left:10px;right:10px;display:flex;justify-content:space-between;gap:8px;pointer-events:none}
.preview-stage-top span{padding:5px 8px;border-radius:6px;background:rgba(7,9,13,.68);color:#f3f5f8;font-size:9px;font-weight:750;letter-spacing:.1em;backdrop-filter:blur(8px)}
.preview-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:38px;border:1px solid rgba(255,255,255,.22);border-radius:9px;background:rgba(8,11,16,.62);color:white;font-size:27px;line-height:1;display:grid;place-items:center;backdrop-filter:blur(8px)}
.preview-arrow:hover{background:rgba(35,45,65,.9)}
.preview-arrow.previous{left:10px}.preview-arrow.next{right:10px}
.preview-thumbs{display:flex;gap:7px;overflow-x:auto;padding:1px 1px 5px;scrollbar-width:thin}
.preview-thumb{width:75px;height:53px;flex:none;padding:2px;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--paper-2);opacity:.62;transition:opacity .18s,border-color .18s}
.preview-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:5px}
.preview-thumb:hover,.preview-thumb.active{opacity:1;border-color:var(--accent)}
.preview-thumb.active{box-shadow:0 0 0 1px var(--accent)}
.preview-gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:2px 1px 0}
.preview-gallery-footer p{font-size:11px;color:var(--muted);margin:3px 0 0;max-width:560px}
.preview-empty{min-height:250px;border:1px solid var(--line);border-radius:13px;background:var(--paper-2);display:grid;align-content:center;justify-items:center;text-align:center;padding:30px 18px}
.preview-empty-art{display:grid;place-items:center;width:60px;height:60px;border:1px solid var(--line);border-radius:17px;color:var(--accent-ink);background:var(--accent-bg);font-size:27px;margin-bottom:18px}
.preview-empty strong{font-size:15px;letter-spacing:-.02em}.preview-empty p{font-size:11px;color:var(--muted);max-width:270px;margin:7px 0 0}
.owner-preview-panel{display:grid;gap:11px}
.owner-preview-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.owner-preview-heading h3{font-size:14px;letter-spacing:-.02em;margin:5px 0 3px}
.owner-preview-heading p{font-size:11px;color:var(--muted);margin:0}
.owner-preview-heading>small{white-space:nowrap;color:var(--subtle);font-size:10px}
.owner-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.owner-preview-empty{grid-column:1/-1;padding:23px 14px;border:1px dashed var(--line);border-radius:10px;background:var(--paper-2);color:var(--muted);font-size:11px;text-align:center}
.owner-preview-tile{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--paper-2)}
.owner-preview-tile>img{display:block;width:100%;height:85px;object-fit:cover}
.owner-preview-tile-actions{min-height:31px;padding:4px 5px;display:flex;justify-content:space-between;align-items:center;gap:3px}
.owner-preview-tile-actions span{font-size:9px;color:var(--subtle);margin-right:auto;white-space:nowrap}
.owner-preview-tile-actions button{display:grid;place-items:center;min-width:22px;height:22px;padding:0 3px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--muted);font-size:11px}
.owner-preview-tile-actions button:hover:not(:disabled){color:var(--ink);border-color:var(--accent)}
.owner-preview-tile-actions button.danger{color:var(--danger)}
.owner-preview-tile-actions button:disabled{opacity:.35;cursor:default}
.owner-preview-upload{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px dashed var(--accent);border-radius:10px;padding:10px 12px;background:var(--accent-bg);color:var(--accent-ink);font-size:11px;font-weight:700}
.owner-preview-upload input{width:min(230px,60%);min-width:0;font-size:10px;color:var(--muted)}
.owner-preview-upload input::file-selector-button{border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:5px 8px;margin-right:7px;cursor:pointer}
@media(max-width:600px){.preview-modal .modal-body{padding:11px}.preview-stage{height:min(52dvh,430px);min-height:210px}.preview-gallery-footer{align-items:flex-start;flex-direction:column}.preview-arrow{width:30px;height:34px}.owner-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-preview-upload{align-items:flex-start;flex-direction:column}.owner-preview-upload input{width:100%}.product-footer-actions{width:100%;justify-content:space-between;margin-left:0}}
@media(max-width:380px){.preview-stage{height:44dvh;min-height:185px}.preview-thumb{width:64px;height:48px}.owner-preview-tile>img{height:70px}}

/* Owner products are grouped around the shared photo and preview gallery. */
.owner-products-panel .panel-header{align-items:flex-start}
.owner-products-panel .panel-header .form-help{margin-top:5px}
.owner-product-list{display:grid;gap:10px;padding:13px}
.owner-product-item{min-width:0;border:1px solid var(--line);border-radius:11px;background:var(--paper-2);padding:12px}
.owner-product-summary{display:flex;align-items:center;gap:12px;min-width:0}
.owner-product-cover{display:grid;place-items:center;flex:none;width:58px;height:58px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--accent-ink);font-size:24px}
.owner-product-cover img{display:block;width:100%;height:100%;object-fit:cover}
.owner-product-name{flex:1;min-width:0}
.owner-product-name h3{margin:3px 0 4px;color:var(--ink);font-size:14px;line-height:1.2;overflow-wrap:anywhere}
.owner-product-name p{margin:0;color:var(--muted);font-size:10px;line-height:1.4}
.owner-product-edit{flex:none}
.owner-product-plan-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:6px;margin-top:11px}
.owner-product-plan-strip>div{display:grid;gap:3px;min-width:0;padding:8px 9px;border:1px solid var(--line);border-radius:8px;background:var(--paper);font-size:10px;color:var(--muted)}
.owner-product-plan-strip strong{color:var(--ink);font-size:11px}
.owner-product-plan-strip small{color:var(--subtle);font-size:10px}
.owner-product-plan-strip .owner-stock-out{color:var(--danger)}
.owner-product-modal.wide{width:min(740px,100%)}
.owner-edit-intro{padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:var(--paper-2)}
.owner-edit-intro p,.owner-duration-heading p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
.owner-duration-list{display:grid;gap:9px}
.owner-duration-card{min-width:0;margin:0;padding:8px 12px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2)}
.owner-duration-card legend{padding:0 6px;color:var(--ink);font-size:13px;font-weight:750}
.owner-duration-stock{margin-bottom:9px;color:var(--muted);font-size:10px}
.owner-duration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.owner-duration-fields label{display:grid;gap:5px;min-width:0;color:var(--muted);font-size:10px;font-weight:650}
.owner-duration-visible{display:flex;align-items:center;gap:8px;margin-top:9px;color:var(--ink);font-size:11px}
.owner-duration-visible input{accent-color:var(--accent)}
@media(max-width:600px){
  .owner-product-list{padding:9px}
  .owner-product-item{padding:10px}
  .owner-product-summary{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 10px}
  .owner-product-cover{width:48px;height:48px}
  .owner-product-edit{grid-column:1/-1;justify-self:stretch;min-height:34px}
  .owner-product-plan-strip{grid-template-columns:1fr;gap:5px}
  .owner-product-modal.wide{width:min(100%,560px)}
}
@media(max-width:380px){.owner-duration-fields{grid-template-columns:1fr}}

/* Keep checkout visible when the product has Preview and refresh actions. */
@media(max-width:600px){
  .product-options-modal .modal-foot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .product-options-modal .modal-foot .small-button{width:100%;min-width:0;white-space:normal}
  .product-options-modal .modal-foot .button[data-action="buy-selected"]{grid-column:1/-1;grid-row:1;width:100%;min-width:0}
}

/* Single Telegram sign-in path for every customer and the owner. */
.telegram-auth{display:grid;justify-items:center;gap:11px;padding:8px 2px 3px;text-align:center}
.telegram-auth-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid var(--line);border-radius:17px;background:var(--paper-2)}
.telegram-auth-icon img{width:34px;height:34px;object-fit:contain}
.telegram-auth h3{margin:2px 0 0;font-size:17px;letter-spacing:-.035em}
.telegram-auth p{max-width:300px;margin:0 0 4px;color:var(--muted);font-size:12px;line-height:1.55}
.telegram-auth .button{width:100%}

/* Compact product gallery, with an optional larger image view. */
.preview-modal.wide{width:min(640px,100%);max-height:calc(100dvh - 32px)}
.preview-modal .modal-head{padding:15px 18px 12px}
.preview-modal .modal-head h2{font-size:17px}
.preview-modal .modal-body{padding:12px 14px 14px}
.preview-gallery{gap:9px}
.preview-stage{height:min(42dvh,390px);min-height:220px;border-radius:11px;background:radial-gradient(circle at 50% 42%,#202a39 0%,#10151d 67%)}
.preview-stage>img{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;object-fit:contain}
.preview-stage-top{top:8px;left:8px;right:8px}
.preview-stage-top span{font-size:9px;padding:4px 7px;border-radius:5px}
.preview-arrow{width:29px;height:33px;font-size:22px;border-radius:8px}
.preview-arrow.previous{left:7px}.preview-arrow.next{right:7px}
.preview-expand{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.27);border-radius:7px;background:rgba(8,11,16,.7);color:#fff;font-size:19px;line-height:1;backdrop-filter:blur(8px)}
.preview-expand:hover{background:rgba(35,45,65,.94)}
.preview-thumbs{gap:6px;padding-bottom:2px}
.preview-thumb{width:63px;height:44px;border-radius:7px}
.preview-thumb img{border-radius:4px}
.preview-gallery-footer{min-height:34px;gap:10px}
.preview-gallery-footer>span{min-width:0;color:var(--muted);font-size:10px}
.preview-gallery-footer .small-button{flex:none}
.preview-empty{min-height:180px;padding:24px 16px}
.preview-empty-art{width:43px;height:43px;border-radius:12px;font-size:21px;margin-bottom:11px}
.preview-empty strong{font-size:13px}
.preview-empty p{font-size:10px}
.preview-modal.is-expanded.wide{width:min(900px,100%);max-height:calc(100dvh - 24px)}
.preview-modal.is-expanded .preview-stage{height:min(72dvh,680px);min-height:260px}
@media(max-width:600px){
  .preview-modal.wide{width:min(100%,420px);max-height:calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
  .preview-modal .modal-head{padding:13px 15px 11px}
  .preview-modal .modal-body{padding:10px 11px 12px}
  .preview-stage{height:min(36dvh,300px);min-height:185px}
  .preview-thumbs .preview-thumb{width:57px;height:40px}
  .preview-gallery-footer{flex-direction:row;align-items:center;justify-content:space-between}
  .preview-gallery-footer .small-button{padding:7px 9px;font-size:10px}
  .preview-modal.is-expanded.wide{width:min(100%,560px)}
  .preview-modal.is-expanded .preview-stage{height:min(68dvh,600px);min-height:250px}
}
@media(max-width:380px){.preview-stage{height:min(34dvh,270px);min-height:180px}}

/* Show a compact, human-readable Telegram identity in the sticky header. */
.account-button.signed-in{display:inline-flex;align-items:center;gap:6px;min-width:0;max-width:165px;background:var(--paper-2);border-color:var(--line);text-align:left}
.account-button.signed-in span{margin-left:0}
.account-button .account-online{width:6px;height:6px;flex:none;border-radius:50%;background:#70b48f;box-shadow:0 0 0 3px rgba(112,180,143,.13)}
.account-button .account-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.account-button .account-chevron{flex:none;color:var(--subtle)}
@media(max-width:540px){.account-button.signed-in{max-width:118px;padding:0 9px}}
@media(max-width:400px){.account-button.signed-in{max-width:103px}}
@media(max-width:350px){.account-button.signed-in{max-width:88px}.account-button .account-chevron{display:none}}

/* My keys: compact mobile library instead of two wide history tables. */
.mykeys-page{width:min(760px,100%);margin:0 auto}
.mykeys-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.mykeys-heading h1{margin:5px 0 2px;color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-.045em;line-height:1.1}
.mykeys-heading p{margin:0;color:var(--muted);font-size:11px}
.mykeys-refresh{display:grid;place-items:center;flex:none;width:33px;height:33px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--muted);font-size:20px}
.mykeys-refresh:hover{color:var(--accent-ink);border-color:var(--accent)}
.mykeys-toolbar{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}
.mykeys-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;flex:1;min-width:0;padding:3px;border-radius:8px;background:var(--paper-2)}
.mykeys-tabs button{min-width:0;min-height:29px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:11px;font-weight:650}
.mykeys-tabs button.active{background:var(--paper);color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.09)}
.mykeys-tabs button span{margin-left:4px;color:var(--subtle);font-size:10px}
.mykeys-tabs button.active span{color:var(--accent-ink)}
.mykeys-search{display:flex;align-items:center;gap:6px;flex:0 1 210px;min-width:0;height:35px;padding:0 9px;border:1px solid var(--line);border-radius:7px;color:var(--subtle)}
.mykeys-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:11px}
.mykeys-search input::placeholder{color:var(--subtle)}
.mykeys-result-count{min-height:24px;padding:11px 2px 5px;color:var(--subtle);font-size:10px;font-weight:700;letter-spacing:.04em}
.mykeys-list{display:grid;gap:7px}
.mykeys-item{min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.mykeys-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.mykeys-item-title{display:grid;gap:4px;min-width:0}
.mykeys-item-title strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:12px;font-weight:700}
.mykeys-item-title small{color:var(--subtle);font-size:10px}
.mykeys-item-price{flex:none;color:var(--ink);font-size:11px;font-weight:750}
.mykeys-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:9px}
.mykeys-key-value{display:block;min-width:0;height:31px;overflow:hidden;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper-2);text-align:left}
.mykeys-key-value:hover{border-color:var(--accent)}
.mykeys-key-value code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:29px}
.mykeys-copy{min-width:54px;height:31px;padding:5px 10px;color:var(--accent-ink)}
.mykeys-receipt-actions{display:flex;gap:7px;margin-top:9px}
.mykeys-receipt-actions .small-button{min-height:30px;padding:6px 9px}
.mykeys-more{width:100%;min-height:37px;margin-top:9px;border:1px dashed var(--line);border-radius:9px;background:var(--paper-2);color:var(--muted);font-size:11px;font-weight:650}
.mykeys-more:hover{color:var(--accent-ink);border-color:var(--accent)}
#keys-content .empty{padding:25px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.saved-key-full{display:grid;gap:8px;margin:18px 0 13px;padding:13px;border:1px solid var(--line);border-radius:9px;background:var(--paper-2)}
.saved-key-full code{overflow-wrap:anywhere;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;line-height:1.5}
.saved-key-copy{width:100%}
@media(max-width:600px){
  .mykeys-heading{margin-bottom:12px}
  .mykeys-heading h1{font-size:23px}
  .mykeys-toolbar{display:grid;gap:6px;padding:6px}
  .mykeys-search{width:100%;flex:auto}
  .mykeys-item{padding:10px 11px}
}

/* The mobile drawer keeps its help card reachable on short phones. */
@media(max-width:780px){
  .sidebar{bottom:auto;height:100dvh;max-height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;gap:18px;padding:max(16px,env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));scrollbar-width:thin}
  .sidebar-group{gap:8px;flex:none}
  .sidebar nav a{height:36px}
  .sidebar-bottom{flex:none;margin-top:auto}
  .sidebar .support-card{padding:12px}
  .sidebar .support-card p{margin:6px 0 7px}
}

/* Reseller workspace: legible selection and a complete price review. */
.reseller-page{width:min(1030px,100%);margin:0 auto}
.reseller-intro{margin:0 0 21px}.reseller-intro h1{margin:7px 0 5px;font-size:clamp(27px,3.3vw,38px);line-height:1.12;letter-spacing:-.052em;font-weight:710}.reseller-intro p{margin:0;color:var(--muted);font-size:13px}
.reseller-balance{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 25px;margin-bottom:17px;background:linear-gradient(112deg,var(--paper) 0%,var(--paper) 50%,var(--accent-bg) 100%)}
.reseller-balance strong{display:block;margin:3px 0 1px;font-size:34px;line-height:1.1;letter-spacing:-.055em}.reseller-balance small{display:block;color:var(--muted);font-size:11px}.reseller-balance-actions{display:flex;gap:7px;align-self:end}
.reseller-workgrid{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(240px,.85fr);gap:17px;align-items:start}.reseller-generator{padding:25px}.reseller-section-title{display:flex;align-items:flex-start;gap:13px;margin-bottom:24px}.reseller-step{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:10px;background:var(--accent-bg);color:var(--accent-ink);font-size:11px;font-weight:800}.reseller-section-title h2,.reseller-side h2{font-size:22px;line-height:1.15;letter-spacing:-.04em;margin:3px 0 4px}.reseller-section-title p{margin:0;color:var(--muted);font-size:11px}
.reseller-field{margin-bottom:20px}.reseller-field>label,.reseller-field-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px;color:var(--ink);font-size:12px;font-weight:700}.reseller-field small{font-size:10px;font-weight:500;color:var(--muted)}.reseller-field .select{height:43px;border-radius:10px;padding:0 12px;font-size:13px;font-weight:600}
.reseller-durations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reseller-duration{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;min-height:68px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);color:var(--ink);text-align:left}.reseller-duration:hover:not(:disabled),.reseller-duration.active{background:var(--accent-bg);border-color:var(--accent)}.reseller-duration strong,.reseller-duration small{display:block}.reseller-duration strong{font-size:12px;line-height:1.2}.reseller-duration small{margin-top:4px;font-size:10px}.reseller-duration b{flex:none;font-size:13px;white-space:nowrap}.reseller-duration:disabled{opacity:.55;cursor:not-allowed}.reseller-duration:disabled small{color:var(--danger)}
.reseller-quantity{display:flex;width:min(220px,100%);height:43px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--paper)}.reseller-quantity button{width:44px;flex:none;border:0;background:var(--paper-2);color:var(--ink);font-size:21px}.reseller-quantity button:hover{background:var(--accent-bg);color:var(--accent-ink)}.reseller-quantity input{min-width:0;width:100%;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);background:var(--paper);color:var(--ink);text-align:center;font-weight:700;font-size:14px;appearance:textfield;-moz-appearance:textfield}.reseller-quantity input::-webkit-inner-spin-button,.reseller-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}
.reseller-summary{padding:5px 15px;border:1px solid var(--line);border-radius:11px;background:var(--paper-2)}.reseller-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.reseller-summary>div:last-child{border-bottom:0}.reseller-summary span{color:var(--muted)}.reseller-summary strong{color:var(--ink);text-align:right}.reseller-summary-total{font-size:14px!important}.reseller-summary-total span,.reseller-summary-total strong{color:var(--ink)!important;font-weight:750}
.reseller-hint{min-height:18px;margin:11px 0;color:var(--muted);font-size:11px}.reseller-hint.is-error{color:var(--danger)}.reseller-submit{width:100%;min-height:45px;font-size:13px}.reseller-side{display:grid;gap:13px}.reseller-side-card{padding:22px}.reseller-side h2{font-size:18px;margin:6px 0 21px}.reseller-side-item{display:flex;gap:10px;margin:0 0 18px}.reseller-side-item:last-child{margin-bottom:0}.reseller-side-item>b{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:7px;background:var(--accent-bg);color:var(--accent-ink);font-size:12px}.reseller-side-item strong,.reseller-side-item small{display:block}.reseller-side-item strong{font-size:12px}.reseller-side-item small{margin-top:2px;color:var(--muted);font-size:10px;line-height:1.4}.reseller-mini{display:grid;gap:4px;padding:16px 20px}.reseller-mini>span{font-size:10px;text-transform:uppercase;color:var(--subtle);letter-spacing:.08em}.reseller-mini>strong{font-size:23px;line-height:1.2}.reseller-mini>.link-button{justify-self:start;margin-top:4px}
.reseller-welcome{display:flex;justify-content:space-between;gap:30px;padding:29px;background:linear-gradient(115deg,var(--paper) 45%,var(--accent-bg))}.reseller-welcome h2{max-width:540px;margin:8px 0;font-size:25px;line-height:1.15;letter-spacing:-.05em}.reseller-welcome p{max-width:540px;margin:0 0 17px;color:var(--muted);font-size:12px}.reseller-welcome-amount{display:grid;align-content:center;justify-items:center;min-width:155px;color:var(--accent-ink)}.reseller-welcome-amount small,.reseller-welcome-amount span{font-size:11px}.reseller-welcome-amount strong{font-size:43px;letter-spacing:-.06em}.reseller-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.reseller-benefits>div{display:grid;gap:5px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.reseller-benefits b{color:var(--accent-ink);font-size:11px}.reseller-benefits strong{font-size:14px}.reseller-benefits span{color:var(--muted);font-size:11px}
@media(max-width:780px){.reseller-workgrid{grid-template-columns:1fr}.reseller-side{grid-template-columns:repeat(2,minmax(0,1fr))}.reseller-balance{padding:18px}.reseller-generator{padding:20px}}
@media(max-width:540px){.reseller-intro h1{font-size:28px}.reseller-intro p{font-size:12px}.reseller-balance{display:block;padding:17px}.reseller-balance strong{font-size:29px}.reseller-balance-actions{margin-top:14px}.reseller-balance-actions .small-button{flex:1;text-align:center}.reseller-generator{padding:17px}.reseller-section-title{margin-bottom:18px}.reseller-section-title h2{font-size:20px}.reseller-durations{gap:7px}.reseller-duration{padding:9px;min-height:62px}.reseller-duration b{font-size:11px}.reseller-side{grid-template-columns:1fr}.reseller-welcome{padding:21px;display:block}.reseller-welcome h2{font-size:23px}.reseller-welcome-amount{display:flex;gap:7px;justify-content:flex-start;margin-top:18px}.reseller-welcome-amount strong{font-size:25px}.reseller-benefits{grid-template-columns:1fr}.reseller-benefits>div{grid-template-columns:26px 1fr;gap:2px 8px;padding:13px}.reseller-benefits b{grid-row:span 2}}

/* Guided activation for customers; active reseller workspace is unchanged. */
.reseller-start{width:min(870px,100%);margin:0 auto}
.reseller-start-head{margin:0 0 19px}
.reseller-start-head h1{margin:6px 0 6px;font-size:clamp(27px,3vw,36px);line-height:1.15;letter-spacing:-.05em;font-weight:720}
.reseller-start-head p{max-width:580px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.reseller-start-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(210px,.9fr);gap:26px;align-items:center;padding:24px 27px;background:linear-gradient(115deg,var(--paper) 35%,var(--accent-bg))}
.reseller-start-price{margin:7px 0 8px;color:var(--ink);font-size:38px;line-height:1.12;letter-spacing:-.055em;font-weight:710}
.reseller-start-price span{display:inline-block;margin-left:6px;color:var(--muted);font-size:12px;font-weight:600;letter-spacing:0}
.reseller-start-hero p{max-width:380px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.reseller-start-flow{display:grid;gap:12px;padding-left:21px;border-left:1px solid var(--line)}
.reseller-start-flow>div{display:flex;align-items:center;gap:9px;color:var(--ink);font-size:11px;font-weight:650}
.reseller-start-flow b{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:7px;background:var(--paper);color:var(--accent-ink);font-size:10px}
.reseller-start-methods{margin-top:14px;padding:21px 23px}
.reseller-start-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:15px}
.reseller-start-section-head h2{margin:4px 0 0;color:var(--ink);font-size:17px;letter-spacing:-.03em}
.reseller-start-section-head>span{color:var(--subtle);font-size:10px;white-space:nowrap}
.reseller-start-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.reseller-start-method{display:flex;align-items:center;gap:10px;min-width:0;min-height:63px;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:var(--paper-2);color:var(--ink);text-align:left}
.reseller-start-method:hover{border-color:var(--accent);background:var(--accent-bg)}
.reseller-start-method>.wallet-method-icon{flex:none}
.reseller-start-method>span:nth-child(2){min-width:0;flex:1}
.reseller-start-method strong,.reseller-start-method small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reseller-start-method strong{font-size:12px}
.reseller-start-method small{margin-top:2px;color:var(--muted);font-size:10px}
.reseller-start-arrow{color:var(--accent-ink);font-size:15px}
.reseller-start-method-note{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.reseller-start-check{display:block;margin:15px auto 0;border:0;background:transparent;color:var(--accent-ink);font-size:11px;font-weight:700}
.reseller-start-check:hover{text-decoration:underline}
@media(max-width:700px){
  .reseller-start-hero{grid-template-columns:1fr;gap:16px;padding:20px}
  .reseller-start-flow{padding:15px 0 0;border-left:0;border-top:1px solid var(--line);gap:9px}
  .reseller-start-methods{padding:18px}
}
@media(max-width:410px){
  .reseller-start-head h1{font-size:27px}
  .reseller-start-price{font-size:34px}
  .reseller-start-method{gap:7px;min-height:59px;padding:8px}
  .reseller-start-method>.wallet-method-icon{width:29px;height:29px}
  .reseller-start-method strong{font-size:11px}
  .reseller-start-method small{font-size:9px}
  .reseller-start-arrow{display:none}
}

/* A dedicated page for inspecting and resetting purchased keys. */
.reset-page{width:min(730px,100%);margin:0 auto}
.reset-heading{margin-bottom:19px}
.reset-heading h1{margin:6px 0 5px;font-size:31px;line-height:1.12;letter-spacing:-.05em;font-weight:710}
.reset-heading p{max-width:590px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.reset-form-panel{padding:22px}
.reset-form-panel label{display:block;margin-bottom:9px;color:var(--ink);font-size:12px;font-weight:700}
.reset-input-line{display:flex;gap:9px}
.reset-input-line .input{flex:1;min-width:0;min-height:43px;border-radius:9px;font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.reset-input-line .button{flex:none;min-height:43px;padding-inline:17px}
.reset-form-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;color:var(--muted);font-size:10px}
.reset-form-foot .link-button{flex:none;font-size:10px}
.reset-provider-note{margin:13px 0 0;padding-top:12px;border-top:1px solid var(--line-2);color:var(--subtle);font-size:10px}
.reset-result-card{margin-top:15px;overflow:hidden}
.reset-result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line-2)}
.reset-result-head>div{min-width:0}
.reset-result-head h2{margin:4px 0 0;overflow-wrap:anywhere;color:var(--ink);font:650 15px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.reset-result-head .status-pill{flex:none}
.reset-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:7px 20px}
.reset-facts>div{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;padding:11px 0;border-bottom:1px solid var(--line-2);font-size:11px}
.reset-facts span{color:var(--muted)}
.reset-facts strong{min-width:0;color:var(--ink);font-weight:680;text-align:right;overflow-wrap:anywhere}
.reset-result-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 20px 20px}
.reset-result-footer p{max-width:390px;margin:0;color:var(--muted);font-size:11px;line-height:1.4}
.reset-result-footer .button{flex:none}
.reset-result-footer .button:disabled{opacity:.5}
.reset-success{display:grid;gap:3px;margin-top:15px;padding:15px 17px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-bg);color:var(--accent-ink);font-size:11px}
.reset-success strong{font-size:13px}
.reset-explain{margin-top:18px;padding:0 2px}
.reset-explain strong{color:var(--ink);font-size:11px}
.reset-explain p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
@media(max-width:600px){
  .reset-heading h1{font-size:27px}
  .reset-form-panel{padding:17px}
  .reset-result-head{padding:15px 16px}
  .reset-facts{grid-template-columns:1fr;padding:4px 16px}
  .reset-result-footer{display:block;padding:14px 16px 17px}
  .reset-result-footer .button{width:100%;margin-top:12px}
}
@media(max-width:390px){
  .reset-input-line{display:grid;grid-template-columns:1fr}
  .reset-form-foot{align-items:flex-start}
}

/* Compact key information and reset workspace. */
.reset-page{width:min(760px,100%)}
.reset-heading{margin-bottom:17px}
.reset-heading h1{font-size:30px}
.reset-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(350px,100%);margin-bottom:13px;padding:4px;background:var(--paper-2);border:1px solid var(--line);border-radius:11px}
.reset-tabs button{min-height:37px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}
.reset-tabs button.active{background:var(--paper);color:var(--ink);box-shadow:0 2px 9px rgba(0,0,0,.1)}
.reset-tabs button span{margin-left:4px}
.reset-form-panel{padding:19px 20px}
.reset-form-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}
.reset-form-title h2{margin:3px 0 0;color:var(--ink);font-size:17px;font-weight:690;letter-spacing:-.025em}
.reset-form-mark{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:9px;background:var(--accent-bg);color:var(--accent-ink);font-size:21px}
.reset-form-panel label{font-size:11px}
.reset-form-foot{margin-top:12px}
.reset-form-foot .link-button{padding:0;border:0;background:none;white-space:nowrap}
.reset-idle{display:grid;justify-items:center;gap:5px;margin-top:13px;padding:27px 18px;border:1px dashed var(--line);border-radius:11px;background:var(--paper-2);text-align:center}
.reset-idle>span{display:grid;place-items:center;width:37px;height:37px;margin-bottom:3px;border-radius:10px;background:var(--accent-bg);color:var(--accent-ink);font-size:21px}
.reset-idle strong{color:var(--ink);font-size:12px}
.reset-idle p{margin:0;color:var(--muted);font-size:11px}
.reset-result-head{align-items:flex-start;padding:18px 20px}
.reset-game{display:flex;align-items:center;gap:13px;min-width:0}
.reset-game-logo{display:grid;place-items:center;flex:none;width:49px;height:49px;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--paper-2);color:var(--accent-ink);font-size:25px}
.reset-game-logo img{width:100%;height:100%;object-fit:contain}
.reset-game-copy{min-width:0}
.reset-result-head .reset-game-copy h2{margin:2px 0 3px;color:var(--ink);font:700 16px/1.24 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;letter-spacing:-.025em}
.reset-game-copy code{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:10px}
.reset-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px 20px 8px}
.reset-highlights>div{display:grid;gap:4px;min-width:0;padding:13px 14px;border-radius:10px;background:var(--paper-2);border:1px solid var(--line-2)}
.reset-highlights span{color:var(--subtle);font-size:9px;font-weight:750;letter-spacing:.12em}
.reset-highlights strong{color:var(--ink);font-size:16px;font-weight:700;letter-spacing:-.025em}
.reset-facts{padding-top:0}
.reset-result-footer{border-top:1px solid var(--line-2)}
.reset-picker{display:grid;gap:6px;max-height:min(54dvh,400px);overflow:auto}
.reset-picker-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);text-align:left}
.reset-picker-row:hover{border-color:var(--accent);background:var(--paper-2)}
.reset-picker-row>span:first-child{display:grid;gap:3px;min-width:0}
.reset-picker-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.reset-picker-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font:10px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media(max-width:600px){
  .reset-heading h1{font-size:26px}
  .reset-form-panel{padding:16px}
  .reset-result-head{padding:15px 16px}
  .reset-game-logo{width:43px;height:43px;border-radius:10px}
  .reset-highlights{padding:14px 16px 7px;gap:7px}
  .reset-highlights>div{padding:11px}
  .reset-highlights strong{font-size:14px}
  .reset-facts{padding:0 16px}
  .reset-result-footer{padding:14px 16px 17px}
}
@media(max-width:390px){
  .reset-tabs{width:100%}
  .reset-result-head{gap:7px}
  .reset-result-head .status-pill{font-size:9px;padding:4px 6px}
  .reset-game{gap:8px}
  .reset-game-logo{width:38px;height:38px}
  .reset-form-foot{display:grid;justify-content:start;gap:5px}
}

/* The game and owned key are chosen before a compact info card appears. */
.reset-page{width:min(680px,100%)}
.reset-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.reset-heading h1{margin:3px 0 0;font-size:26px}
.reset-heading p{max-width:260px;margin:0;color:var(--muted);font-size:11px;line-height:1.38}
.reset-tabs{width:min(240px,100%);margin-bottom:10px}
.reset-tabs button{min-height:30px;font-size:11px}
.reset-form-panel{padding:14px 16px}
.reset-picker-head,.reset-key-label{display:flex;align-items:center;justify-content:space-between;gap:9px}
.reset-picker-head strong,.reset-key-label label{margin:0;color:var(--ink);font-size:11px;font-weight:700}
.reset-picker-head>span{color:var(--subtle);font-size:10px}
.reset-game-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}
.reset-game-choice{display:flex;align-items:center;gap:7px;min-width:0;min-height:51px;padding:7px 8px;border:1px solid var(--line);border-radius:9px;background:var(--paper-2);color:var(--ink);text-align:left;transition:border-color .18s,background .18s}
.reset-game-choice.active{border-color:var(--accent);background:var(--accent-bg)}
.reset-game-choice img{display:block;flex:none;width:27px;height:27px;border-radius:7px;object-fit:contain}
.reset-game-choice span{display:grid;gap:2px;min-width:0}
.reset-game-choice strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:720}
.reset-game-choice small{color:var(--muted);font-size:9px}
.reset-key-picker{margin-top:12px;padding-top:11px;border-top:1px solid var(--line-2)}
.reset-key-label{margin-bottom:7px}
.reset-key-label .link-button{font-size:10px}
.reset-key-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.reset-key-row select{min-width:0;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:var(--paper-2);color:var(--ink);font-size:11px;outline:none}
.reset-key-row select:focus-visible{border-color:var(--accent)}
.reset-key-row .button,.reset-input-line .button{min-height:38px;padding:0 12px;font-size:11px}
.reset-input-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.reset-input-line .input{min-height:38px;font-size:11px}
.reset-empty-hint{margin:7px 0 0;color:var(--muted);font-size:10px}
.reset-result-card{margin-top:10px}
.reset-result-head{align-items:center;padding:12px 16px}
.reset-game-logo{width:40px;height:40px;border-radius:10px}
.reset-highlights{gap:7px;padding:10px 16px}
.reset-highlights>div{padding:9px 11px}
.reset-highlights span{font-size:8px}
.reset-highlights strong{font-size:14px}
.reset-more{border-top:1px solid var(--line-2)}
.reset-more summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:10px 16px;color:var(--muted);font-size:11px;font-weight:650}
.reset-more summary::-webkit-details-marker{display:none}
.reset-more summary span{font-size:17px;line-height:1;transition:transform .18s}
.reset-more[open] summary span{transform:rotate(180deg)}
.reset-more .reset-facts{padding:0 16px 7px}
.reset-more .reset-facts>div{padding:7px 0}
.reset-result-footer{gap:10px;padding:10px 16px 14px}
.reset-result-footer p{font-size:10px}
.reset-result-footer .button{min-height:35px;padding:0 12px;font-size:11px}
.reset-success{margin-top:10px;padding:10px 13px}
@media(max-width:600px){
  .reset-heading{display:block}
  .reset-heading h1{font-size:24px}
  .reset-heading p{max-width:none;margin-top:3px;font-size:10px}
  .reset-form-panel{padding:13px}
  .reset-game-choice{gap:5px;min-height:48px;padding:6px}
  .reset-game-choice img{width:23px;height:23px}
  .reset-game-choice strong{font-size:9px}
  .reset-result-head{padding:11px 13px}
  .reset-highlights{padding:9px 13px}
  .reset-more summary{padding:9px 13px}
  .reset-more .reset-facts{padding:0 13px 7px}
  .reset-result-footer{display:flex;align-items:center;padding:10px 13px 13px}
  .reset-result-footer .button{width:auto;margin:0;white-space:nowrap}
}
@media(max-width:350px){
  .reset-game-choice img{width:20px;height:20px}
  .reset-game-choice strong{font-size:8.5px}
  .reset-key-row{grid-template-columns:1fr}
  .reset-key-row .button{width:100%}
}
