@charset "UTF-8";
[hidden]{display:none!important}
:root{--bg:#f7f5f3;--paper:#fff;--text:#29242c;--muted:#8c8490;--accent:#87778b;--soft:#eee8f0;--line:#e9e4e8;--green:#3b7e62;--red:#b45f68;--safe:env(safe-area-inset-bottom,0px);--top-safe:var(--tg-content-safe-area-inset-top,0px);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-size:15px;line-height:1.45;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.5;cursor:wait}button,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent)}button{color:inherit}a{color:var(--accent)}svg{width:22px;height:22px;flex-shrink:0;vertical-align:middle;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:650;letter-spacing:-.9px;line-height:1.18;margin:7px 0 12px}h2{font-size:21px;line-height:1.25;letter-spacing:-.4px}h3{font-size:16px;font-weight:600}p{margin:8px 0;color:var(--muted)}b,strong{font-weight:650}small{font-size:12px;color:var(--muted)}#app{max-width:760px;margin:auto;min-height:100dvh;padding-top:var(--top-safe)}.top{height:68px;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;border-bottom:1px solid var(--line)}.wordmark{letter-spacing:2.2px;font-size:12px;font-weight:450}.wordmark b{font-weight:700}.mark,.avatar{display:grid;place-items:center;border-radius:50%;width:36px;height:36px;background:var(--accent);color:white;font-family:Georgia,serif;font-size:18px}.avatar{width:60px;height:60px;font-family:inherit;font-size:22px}.top .icon-button{background:transparent;border:0}.top .icon-button svg{width:21px}main{padding:20px 20px calc(108px + var(--safe));animation:appear .18s ease}.eyebrow{text-transform:uppercase;letter-spacing:1.7px;color:var(--accent);font-size:11px;font-weight:650}.subtitle{font-size:14px;max-width:520px}.hero{background:linear-gradient(120deg,#ede5ef,#f1ede8);padding:24px;border-radius:22px;position:relative;overflow:hidden;margin:22px 0}.hero h2{max-width:250px;font-size:26px;font-family:Georgia,serif;font-weight:400;line-height:1.15}.hero p{max-width:250px;font-size:13px;color:#786e7c;margin:12px 0 18px}.hero .orb{position:absolute;width:170px;height:170px;border:1px solid #c9bfcc;border-radius:50%;right:-75px;top:6px}.hero .orb:after{content:"";position:absolute;inset:18px;border:1px solid #c9bfcc;border-radius:50%}.hero .orb:before{content:"PD";position:absolute;left:22px;top:50px;letter-spacing:2px;color:#ac9baf;font:40px Georgia,serif}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:26px 0 12px}.section-heading h2{font-size:18px}.section-heading span{color:var(--muted);font-size:12px}.search-button,.searchbox{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:14px;background:var(--paper);padding:12px 14px;width:100%;text-align:left;min-height:50px;color:var(--muted)}.searchbox input{border:0;background:transparent;min-width:0;width:100%;padding:2px;color:var(--text)}.searchbox input:focus{outline:0}.searchbox button{background:var(--accent);color:white;border:0;border-radius:10px;width:40px;height:38px}.searchbox button svg{width:18px}.segments{display:flex;gap:4px;background:#eae6e8;padding:4px;border-radius:12px;margin:18px 0}.segments button{flex:1;background:transparent;border:0;border-radius:9px;padding:10px 7px;font-size:13px}.segments .active{background:white;box-shadow:0 1px 5px #4638490a}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.brand{border:1px solid var(--line);border-radius:17px;background:white;min-height:135px;text-align:left;padding:17px;display:flex;flex-direction:column;justify-content:space-between}.monogram{font:24px Georgia,serif;color:var(--accent);letter-spacing:1px}.brand-title{font-weight:600;font-size:15px}.brand-bottom{display:flex;justify-content:space-between;align-items:center}.brand-bottom svg{width:16px;color:var(--muted)}.card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:17px;margin:12px 0}.card-button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;min-height:83px}.card-button .body{flex:1;min-width:0}.card-button small{display:block;margin-top:4px}.card-button>.chevron{width:17px;color:#b7aeba}.swatch{width:49px;height:57px;border-radius:11px;background:var(--soft);display:grid;place-items:center;color:var(--accent);font:19px Georgia,serif;flex-shrink:0}.swatch svg{height:34px;width:28px;stroke-width:1}.btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;width:100%;padding:12px 16px;border-radius:13px;border:1px solid transparent;background:var(--accent);color:white;font-weight:600;font-size:14px}.btn.secondary{background:var(--soft);color:var(--accent)}.btn.ghost{background:white;color:var(--text);border-color:var(--line)}.btn.danger{background:#f7e8ea;color:var(--red)}.btn.compact{width:auto;min-height:40px;padding:9px 14px;font-size:12px}.row{display:flex;gap:10px;align-items:center}.row>*{min-width:0}.row .btn{flex:1}.spread{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:10px}.muted{color:var(--muted)}.back{display:flex;align-items:center;gap:7px;min-height:40px;border:0;background:transparent;padding:0;color:var(--muted);font-size:13px;margin:-8px 0 14px}.back svg{width:17px}.price{font-size:25px;font-weight:650;letter-spacing:-.6px}.tag{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;padding:4px 9px;border-radius:7px;font-size:11px;background:var(--soft);color:var(--accent);font-weight:550}.tag.green{background:#eaf3ed;color:var(--green)}.tag.red{background:#f9e9ec;color:var(--red)}.tag svg{width:12px;height:12px}.product-art{height:170px;display:grid;place-items:center;background:linear-gradient(150deg,#f4f0ed,#e9e2ec);border-radius:20px;margin:12px 0 22px}.product-art svg{height:105px;width:70px;stroke-width:.9;color:#978a9b}.product-art .monogram{font-size:42px}.product-title{font-size:25px;margin:7px 0 12px;line-height:1.22;overflow-wrap:anywhere}.note{border-radius:13px;background:var(--soft);padding:14px 16px;font-size:13px;color:var(--accent);margin:15px 0}.note.warn{background:#f6ede5;color:#96744f}.note.success{background:#eaf3ed;color:var(--green)}.detail{display:flex;justify-content:space-between;gap:15px;padding:9px 0;font-size:13px}.detail>span:first-child{color:var(--muted)}.detail b{text-align:right;overflow-wrap:anywhere}.divider{height:1px;background:var(--line);margin:15px 0}.empty{padding:45px 15px;text-align:center;color:var(--muted)}.empty svg{height:44px;width:44px;margin-bottom:15px;color:#b4a5b8}.empty h2{font-size:18px;color:var(--text);margin-bottom:8px}.empty p{font-size:13px}.empty .btn{margin:22px auto 0;max-width:260px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);display:flex;justify-content:space-around;padding:10px 8px calc(10px + var(--safe));border-top:1px solid var(--line);background:#fffefef5;backdrop-filter:blur(16px);z-index:10}.bottom-nav button{min-height:48px;flex:1;border:0;background:transparent;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:10px;color:var(--muted);position:relative}.bottom-nav button.active{color:var(--accent);font-weight:650}.bottom-nav .badge{position:absolute;top:-3px;left:calc(50% + 7px);background:var(--accent);color:white;min-width:16px;height:16px;display:grid;place-items:center;font-size:9px;border-radius:8px;border:2px solid white}.sticky{position:sticky;bottom:calc(70px + var(--safe));background:var(--bg);padding:17px 0 0;z-index:2;border-top:1px solid var(--line);margin-top:22px}.sticky .spread{margin-bottom:15px}.sticky small{display:block;font-size:12px}.sticky strong{font-size:22px}.stepper{display:flex;border:1px solid var(--line);border-radius:10px;background:var(--bg);height:36px;align-items:center;gap:0}.stepper button{background:transparent;border:0;padding:0 8px;height:34px;min-width:34px}.stepper svg{width:15px}.stepper span{min-width:27px;text-align:center;font-size:13px;font-weight:550}.icon-button{border:0;border-radius:9px;background:var(--bg);width:40px;height:40px;display:grid;place-items:center;padding:0}.cart-title{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.cart-card .row.topline{align-items:flex-start}.cart-card .body{flex:1}.cart-card .row.bottomline{margin-top:14px;justify-content:space-between}.cart-card .price{font-size:17px}.cart-card .icon-button{color:var(--muted)}.form-field{display:flex;flex-direction:column;gap:7px;margin:16px 0}.form-field>span{color:var(--muted);font-size:12px}.form-field input,.form-field textarea,.form-field select{border:1px solid var(--line);background:white;color:var(--text);padding:12px 14px;border-radius:11px;width:100%;min-height:48px}.form-field input:read-only{background:var(--bg)}.form-field textarea{resize:vertical;min-height:92px}.form-field .row input{flex:1}.form-field .row .btn{flex:initial}.check{display:flex;align-items:flex-start;gap:9px;font-size:13px;margin:15px 0}.check input{width:18px;height:18px;accent-color:var(--accent);margin:1px 0}.payment-option{display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:white;padding:16px;border-radius:13px;margin:10px 0}.payment-option:has(input:checked){border-color:var(--accent);background:#f5f0f6}.payment-option input{accent-color:var(--accent);height:18px;width:18px}.payment-option strong{display:block;font-size:14px}.payment-option small{display:block}.profile-head{display:flex;align-items:center;gap:15px;margin:8px 0 25px}.profile-head h1{font-size:23px;margin:0 0 3px}.menu-list{background:white;border:1px solid var(--line);border-radius:16px;padding:0 16px;margin:17px 0}.menu-list button{width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;gap:12px;min-height:59px;text-align:left;font-size:14px}.menu-list button:last-child{border-bottom:0}.menu-list .label{flex:1}.menu-list .chevron{width:16px;color:var(--muted)}.menu-list button>svg:first-child{color:var(--accent)}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.metric{padding:17px;background:white;border:1px solid var(--line);border-radius:17px;text-align:left}.metric svg{color:var(--accent);width:19px}.metric strong{display:block;font-size:26px;margin-top:8px;letter-spacing:-.5px}.metric span{display:block;font-size:12px;color:var(--muted);margin-top:4px}.metric.big strong{font-size:20px}.metric.positive{background:#eaf3ed}.metric.positive strong{color:var(--green)}.progress{height:8px;background:#e5dfe8;border-radius:5px;overflow:hidden;margin:14px 0}.progress>span{display:block;height:100%;background:var(--accent);border-radius:5px}.invite-code{font-family:monospace;font-size:25px;letter-spacing:3px;color:var(--accent)}.steps{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:22px 0}.steps span{display:flex;align-items:center;gap:6px}.steps i{font-style:normal;border:1px solid var(--line);border-radius:50%;width:22px;height:22px;display:grid;place-items:center;background:white;color:var(--accent)}.timeline{padding-left:17px;border-left:1px solid var(--line);margin:22px 7px}.timeline>div{position:relative;padding:0 0 20px 12px}.timeline>div:before{content:"";position:absolute;left:-22px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--accent);border:2px solid var(--bg)}.timeline strong{display:block;font-size:13px}.timeline small{display:block;margin-top:3px}.chat-message{border-radius:13px;background:var(--soft);padding:15px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.loading{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted);font-size:13px}.spinner{display:inline-block;width:26px;height:26px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.load-more{margin:20px 0}.sheet-backdrop{position:fixed;inset:0;background:#24172e55;z-index:40;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(3px)}.sheet{background:var(--bg);width:min(100%,680px);border-radius:23px 23px 0 0;padding:24px 22px calc(24px + var(--safe));max-height:92dvh;overflow-y:auto;animation:slide .2s ease}.sheet .handle{width:34px;height:4px;background:#cfc6d2;border-radius:3px;margin:-13px auto 20px}.sheet h2{font-size:22px;margin-bottom:10px}.sheet .stack{margin-top:20px}.sheet pre{white-space:pre-wrap;overflow-wrap:anywhere;background:white;border-radius:12px;padding:14px;border:1px solid var(--line);font-size:12px;max-height:40dvh;overflow:auto}#toast{position:fixed;bottom:calc(92px + var(--safe));left:50%;transform:translateX(-50%) translateY(10px);background:#302633;color:white;border-radius:12px;padding:12px 18px;max-width:calc(100% - 36px);width:max-content;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.error{background:#f9e9ec;color:var(--red);padding:13px;border-radius:11px;margin:12px 0;font-size:13px}.chart{display:block;width:100%;height:190px;stroke-width:2;overflow:visible}.chart text{stroke:none;fill:var(--muted);font-size:10px}.chart .grid-line{stroke:var(--line);stroke-width:1}.legend{display:flex;gap:15px;margin-top:12px;font-size:11px;color:var(--muted)}.legend span:before{content:"";display:inline-block;width:6px;height:6px;border-radius:3px;background:var(--accent);margin-right:5px}.legend span:last-child:before{background:var(--green)}.filters{display:flex;gap:7px;overflow:auto;padding:2px 0 12px;margin-top:14px;scrollbar-width:none}.filters button{white-space:nowrap;border:1px solid var(--line);background:white;border-radius:10px;padding:8px 12px;font-size:12px;min-height:36px}.filters button.active{background:var(--soft);border-color:#cbbdce;color:var(--accent)}.number{font-variant-numeric:tabular-nums}.mono{font-family:monospace}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.admin-label{font-size:10px;letter-spacing:1px;color:var(--accent);border:1px solid var(--line);border-radius:6px;padding:4px 6px}.price-input{font-size:23px!important;font-weight:600}.mini-lines{font-size:13px}.mini-lines div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.mini-lines div:last-child{border-bottom:0}.mini-lines span{max-width:70%;overflow-wrap:anywhere}.mini-lines strong{white-space:nowrap}.copy{border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:copy}.helper{font-size:12px;color:var(--muted);margin:7px 0}.shell-error{text-align:center;padding:50px 15px}.shell-error h1{font-size:23px}.shell-error p{margin:15px 0 22px}.supplement{margin-top:20px}.balance-positive{color:var(--green)}.balance-negative{color:var(--red)}
.bottom-nav.with-admin button{min-width:0;padding-left:2px;padding-right:2px}.bottom-nav.with-admin button>span:not(.badge){max-width:100%;font-size:9px;line-height:12px;overflow-wrap:anywhere}
.alphabet{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:8px;margin:16px 0 24px}.alphabet button{min-height:50px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--accent);font-size:20px;font-weight:600;padding:8px 4px}.alphabet button:active{background:var(--soft)}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes appear{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@keyframes slide{from{transform:translateY(20px);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(min-width:600px){main{padding-left:32px;padding-right:32px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero h2{max-width:420px;font-size:30px}.hero p{max-width:420px}.hero .orb{right:-30px}.sheet-backdrop{align-items:center}.sheet{border-radius:23px;padding-bottom:24px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

.registration-phone{display:flex;align-items:center;gap:8px;color:var(--green);font-weight:600;margin:16px 0}.registration-telegram{margin-top:20px;border-top:1px solid var(--line);padding-top:8px}#registration-form>.btn{margin-top:15px}#registration-form .form-field:last-child{margin-bottom:0}

/* Keep single-finger scrolling, including nested sheets, without pinch or double-tap zoom. */
*{touch-action:pan-x pan-y}
/* iPhone focuses small inputs by zooming; keep form text at least 16px. */
input,select,textarea{font-size:16px}
/* Contain the page itself; horizontal lists keep their own scroll area. */
html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;touch-action:pan-y}
#app{width:100%;min-width:0}
.sheet{max-width:100%;min-width:0;overflow-x:hidden;touch-action:pan-y}
input,select,textarea{min-width:0;max-width:100%}
.sheet>textarea{width:100%}
.brand-bottom,.brand-title,.profile-head>div,.menu-list .label{min-width:0;overflow-wrap:anywhere}
h1,h2,h3,.metric strong{overflow-wrap:anywhere}
.filters,.sheet pre{min-width:0;max-width:100%;touch-action:pan-x pan-y}
.filters button{flex-shrink:0}
