: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:#171d1b;--paper:#202825;--paper-2:#1c2421;--ink:#e4ece5;--muted:#a6b4aa;--subtle:#7f9186;--line:#344139;--line-2:#2d3831;--accent:#8ab7a2;--accent-bg:#263a31;--accent-ink:#b2dbc5;--danger:#d58e86;--danger-bg:#3d2a29;--warning:#d8ae72;--warning-bg:#403529;--shadow:0 12px 30px rgba(0,0,0,.12)}
*{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. */
.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}
}
