:root{color-scheme:light;--paper:#f5f2eb;--ink:#292b28;--muted:#85847c;--line:#e5e1d8;--orange:#de602e;--green:#5a7966;--white:#fffdfa;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:var(--ink);background:#e5e5df}*{box-sizing:border-box;letter-spacing:0}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}a{color:inherit}svg{width:19px;height:19px;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid var(--line);border-radius:8px;background:transparent;padding:10px 13px;font-weight:500}button:hover{background:#ede9df}input,textarea,select{min-width:0;background:var(--white);border:1px solid var(--line);border-radius:8px;padding:12px;color:var(--ink);max-width:100%}input[type=checkbox]{accent-color:var(--orange);width:18px;height:18px;flex-shrink:0}input[type=number]{width:75px;text-align:center}textarea{resize:vertical;width:100%;min-height:120px}p{line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:23px;font-weight:650;line-height:1.25;margin-bottom:7px}h2{font-size:18px;font-weight:600}h3{font-size:14px;font-weight:600}small,.muted{color:var(--muted)}.shell{width:100%;max-width:480px;height:100dvh;min-height:400px;margin:0 auto;display:flex;flex-direction:column;background:var(--paper);box-shadow:0 0 70px #292b2810}.topbar{height:72px;min-height:72px;display:flex;justify-content:space-between;align-items:center;padding:10px 20px;gap:10px}.wordmark{display:flex;gap:8px;align-items:center;font-size:19px;font-weight:750;line-height:1;border:0;padding:0;min-height:38px}.wordmark b{font-weight:450}.wordmark img{object-fit:cover;border-radius:8px}.header-actions{display:flex;gap:3px}.icon-button{width:38px;min-height:38px;padding:0;flex-shrink:0}.header-actions .icon-button{border:0}.header-cart{position:relative}.header-cart b{position:absolute;right:0;top:0;min-width:14px;height:14px;padding:1px 3px;border-radius:4px;background:var(--orange);color:white;font-size:9px}.online-dot{width:5px;height:5px;border-radius:50%;background:var(--green);flex-shrink:0}main{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:10px 20px 24px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 12px;border-top:1px solid var(--line);padding:9px 0 7px;flex-shrink:0;background:var(--paper);z-index:5}.navigation button{position:relative;border:0;color:var(--muted);font-size:10px;min-width:0;flex-direction:column;gap:5px;padding:5px 1px;min-height:49px}.navigation button svg{width:20px;height:20px}.navigation button.active{color:var(--orange)}.navigation button.active:before{content:'';position:absolute;top:-10px;height:2px;width:24px;background:var(--orange)}footer{display:flex;justify-content:center;gap:8px;flex-shrink:0;color:#a6a397;font-size:9px;padding:4px 20px calc(8px + env(safe-area-inset-bottom))}.home-greeting{display:flex;justify-content:space-between;align-items:center;margin:2px 0 19px;gap:10px}.home-greeting small{font-size:11px}.home-greeting h1{font-size:20px;margin:4px 0 0;overflow-wrap:anywhere}.connection-status{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--green);white-space:nowrap}.home-balance{position:relative;background:var(--ink);color:#f9f6f0;border-radius:8px;padding:20px 21px 13px;border-top:3px solid var(--orange);overflow:hidden}.balance-top{display:flex;justify-content:space-between;align-items:center;color:#d3d0c7;font-size:12px}.balance-top svg{color:#d5ab85}.home-amount{font-size:36px;font-weight:550;line-height:1.25;margin:13px 0 19px;overflow-wrap:anywhere}.balance-id{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff21;padding-top:8px;font-size:10px;color:#c4c4bb}.balance-id button{border:0;color:#e1c5ab;padding:0;min-height:26px;width:26px}.balance-id button:hover{background:#ffffff15}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 25px}.quick-actions button{display:flex;flex-direction:column;gap:9px;padding:12px 2px 10px;border:1px solid var(--line);background:var(--white);font-size:11px;min-width:0}.quick-actions button>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:var(--orange);background:#f9eee5;border-radius:8px}.quick-actions button:nth-child(2)>span{color:var(--green);background:#edf0e8}.quick-actions button:nth-child(3)>span{color:#77694b;background:#f3eedf}.home-section-title{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px}.home-section-title h2{font-size:14px;margin:0}.home-section-title button{border:0;min-height:26px;padding:0;font-size:11px;color:var(--muted);gap:3px}.home-section-title button svg{width:13px;height:13px}.home-orders{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-orders button{justify-content:flex-start;gap:9px;min-width:0;padding:12px 10px;background:var(--white)}.home-orders button>span:not(.stat-icon){display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.home-orders strong{font-size:18px;font-weight:600}.home-orders small{font-size:9px;white-space:nowrap}.home-orders button>svg{margin-left:auto;width:12px;height:12px;color:var(--muted)}.stat-icon{color:var(--green)}.stat-icon.warm{color:#ab8c4f}.activity-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:126px;border:1px dashed #dbd6ca;border-radius:8px;color:#a5a093}.activity-empty>svg{width:25px;height:25px;margin-bottom:9px}.activity-empty strong{font-size:12px;font-weight:500;color:#77766d}.activity-empty p{margin:5px 8px 0;font-size:10px;text-align:center}.operation{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.operation-icon{width:32px;height:32px;display:grid;place-items:center;background:#eae7de;border-radius:8px;color:#807b6a;flex-shrink:0}.operation>div{min-width:0;flex:1}.operation strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.operation small{display:block;font-size:9px;margin-top:4px}.operation>b{font-size:12px;white-space:nowrap;font-weight:600}.positive{color:var(--green)}.help-link{width:100%;justify-content:flex-start;font-size:11px;border:0;padding:17px 0 0;margin-top:7px;color:var(--muted)}.help-link>svg{width:16px;height:16px}.help-link span{margin-left:auto;display:flex;gap:4px;align-items:center;color:var(--ink);font-size:10px}.help-link span svg{width:13px;height:13px}.section-head{margin:5px 0 20px}.section-head p{color:var(--muted);font-size:11px;margin:0}.section-art{display:none}.eyebrow{font-size:10px;color:var(--muted);margin-bottom:10px}.filters{display:flex;flex-direction:column;gap:11px;margin-bottom:16px}.search{position:relative;display:block;min-width:0}.search svg{position:absolute;left:12px;top:12px;color:var(--muted);width:17px}.search input{padding-left:37px;width:100%;font-size:12px;height:42px}.category-tabs{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.category-tabs button{white-space:nowrap;font-size:11px;min-height:32px;padding:7px 10px;border-color:transparent;background:#ebe7de}.category-tabs button.active{background:var(--ink);color:white}.filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.filter-row select{font-size:10px;width:100%;padding:9px 5px;min-height:34px;background:transparent}.results-heading{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin:0 0 11px;gap:7px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:10px;display:flex;flex-direction:column;min-width:0;overflow:hidden}.country-photo{display:block;width:calc(100% + 20px);height:108px;object-fit:cover;margin:-10px -10px 10px;background:#eeeae2}.product-top{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:9px}.country{font-size:11px;display:flex;align-items:center;gap:4px}.flag{font-size:14px}.protocol{font-size:8px;color:var(--green);padding:3px 4px;background:#eef1e9;border-radius:3px}.product h3{font-size:12px;overflow-wrap:anywhere;margin-bottom:5px}.product .description{font-size:10px;color:var(--muted);margin-bottom:12px}.stock{display:flex;gap:4px;font-size:8px;line-height:1.6;color:var(--muted);align-items:center;flex-wrap:wrap;margin-bottom:10px}.product-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:4px}.price{font-size:18px;font-weight:600;white-space:nowrap}.price small{display:block;font-size:8px;font-weight:400;margin-top:3px}.product-bottom .icon-button{width:31px;min-height:32px}.product-bottom svg{width:17px;height:17px}.primary{background:var(--orange);border-color:var(--orange);color:white}.primary:hover{background:#c94e22;border-color:#c94e22}.secondary{background:var(--ink);color:white;border-color:var(--ink)}.wide{width:100%;margin-top:8px}.empty{padding:36px 8px;text-align:center;color:var(--muted)}.empty>svg{width:30px;height:30px;margin-bottom:13px}.empty h2{color:var(--ink);font-size:17px}.empty p{font-size:12px}.empty button{margin-top:8px}.split{display:flex;flex-direction:column;gap:24px}.summary{border-top:2px solid var(--ink);padding-top:20px}.summary .total{font-size:29px;margin:12px 0}.summary p{font-size:11px;color:var(--muted)}.row{padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.row h3{margin-bottom:5px;font-size:12px}.row small{display:block;line-height:1.6;font-size:10px}.row>div{min-width:0}.row-title{overflow-wrap:anywhere}.row-buttons{display:flex;gap:5px;align-items:center;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;max-width:132px}.stepper{display:flex;align-items:center;gap:2px}.stepper button{min-height:32px;width:28px;padding:0;border:0}.stepper span{width:23px;text-align:center}.row-total{font-weight:600;white-space:nowrap;font-size:11px}.row-buttons .icon-button{width:30px;min-height:32px}.badge{display:inline-flex;font-size:9px;padding:5px 7px;border-radius:4px;background:#e7ece3;color:var(--green);white-space:nowrap}.badge.pending{background:#f8ead7;color:#99733c}.balance-panel{padding:10px 0 22px;border-bottom:1px solid var(--line)}.balance-number{font-size:38px;margin:10px 0 22px;font-weight:600}.payment-methods{display:flex;gap:8px;flex-wrap:wrap}.payment-methods button{flex:1;min-width:140px;background:var(--white);justify-content:space-between;font-size:11px}.balance-panel p{font-size:11px}.section-label{font-size:10px;color:var(--muted);margin:24px 0 10px}.account-links{display:flex;gap:8px;margin:20px 0}.account-links button{flex:1;justify-content:space-between;min-width:0;font-size:11px;padding:12px 9px;background:var(--white)}.account-links button svg{width:16px;height:16px}.settings-profile{display:flex;gap:12px;align-items:center;margin:22px 0}.profile-avatar{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:8px;background:#e7dfcd;color:#766b4b;font-size:20px}.settings-profile strong{display:block;font-weight:600}.settings-profile small{display:block;margin-top:5px;font-size:10px}.settings-list button{display:flex;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;justify-content:flex-start;padding:17px 0;gap:12px}.settings-icon{width:34px;height:34px;display:grid;place-items:center;background:#eae6dc;border-radius:8px;color:#8b7860}.settings-list button>span:not(.settings-icon){text-align:left;min-width:0}.settings-list strong{display:block;font-weight:500;font-size:12px}.settings-list small{display:block;font-size:10px;margin-top:5px}.settings-list button>svg{margin-left:auto;width:15px;color:var(--muted)}.app-version{display:flex;justify-content:center;align-items:center;gap:8px;margin:28px 0;color:var(--muted);font-size:12px}.app-version img{border-radius:6px}.app-version small{display:block;font-size:9px;margin-top:4px}.ticket-compose{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.ticket-compose p{font-size:11px}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.form-actions button{font-size:12px}.message{padding:12px;max-width:90%;background:#eae6dc;margin:10px 0;border-radius:8px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6;font-size:12px}.message.admin{margin-left:auto;background:#e4eade}.message small{display:block;font-size:9px;margin-bottom:5px}.document-text{white-space:pre-wrap;line-height:1.75;font-size:12px;overflow-wrap:anywhere}.acceptance{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;margin:20px 0}.acceptance input{margin-top:2px}.referral-stats{display:flex;gap:38px;padding:20px 0;border-block:1px solid var(--line)}.referral-stats strong{display:block;font-size:32px;font-weight:500}.copy-field{display:flex;gap:7px;margin:20px 0}.copy-field input{width:100%;font-size:10px}.issuance{white-space:pre-wrap;overflow-wrap:anywhere;background:#e8ecdf;padding:15px;line-height:1.7;border-radius:8px;font-family:monospace;font-size:11px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0;font-size:12px}.details-grid small{display:block;margin-bottom:5px;font-size:10px}dialog{width:440px;max-width:calc(100% - 20px);max-height:88dvh;overflow-y:auto;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:20px;color:var(--ink)}dialog::backdrop{background:#20262088;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-header small{font-size:10px}.country-detail{width:100%;height:155px;object-fit:cover;border-radius:8px;margin-bottom:18px}.quantity-picker{display:flex;justify-content:space-between;align-items:center;border-block:1px solid var(--line);padding:16px 0;margin:20px 0}.quantity-picker .stepper{gap:4px}.dialog-total{display:flex;justify-content:space-between;align-items:center;margin:20px 0}.dialog-total strong{font-size:25px}#notice{position:fixed;left:50%;transform:translateX(-50%);top:12px;z-index:20;max-width:min(440px,calc(100% - 24px));width:max-content;background:var(--ink);color:white;padding:13px 17px;border-radius:8px;box-shadow:0 6px 30px #0002;font-size:12px}#notice:empty{display:none}.loading{min-height:50vh;display:flex;gap:10px;align-items:center;justify-content:center;color:var(--muted);font-size:12px}.spinner{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--orange);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-screen{padding:35px 0}.error-screen h1{font-size:23px}.error-screen p{color:var(--muted);font-size:12px}[hidden]{display:none!important}@media(max-width:359px){.topbar{padding-inline:14px}main{padding-inline:14px}.wordmark{font-size:17px}.header-actions{gap:0}.header-actions .icon-button{width:32px}.home-orders{gap:7px}.home-orders button{padding:11px 7px;gap:6px}.home-orders small{font-size:8px}.price{font-size:16px}.product{padding:8px}.country{font-size:10px}.country-photo{width:calc(100% + 16px);margin:-8px -8px 10px}.home-amount{font-size:32px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.home-balance {
  background: #fffaf0;
  color: var(--ink);
  border: 1px solid #e5ddcd;
  border-left: 3px solid var(--orange);
  padding: 17px 19px 12px;
}

.balance-top {
  color: #817a6c;
  font-size: 11px;
}

.balance-top svg {
  color: var(--orange);
  width: 18px;
  height: 18px;
}

.home-amount {
  color: var(--ink);
  font-size: 34px;
  margin: 10px 0 15px;
  font-weight: 600;
}

.balance-id {
  border-top-color: #e9e1d2;
  color: #8b8373;
}

.balance-id button {
  color: var(--orange);
}

.balance-id button:hover {
  background: #f5e8d8;
}

@media (max-width: 359px) {
  .home-amount { font-size: 30px; }
}
