@font-face{font-family:Manrope;src:url('/assets/Manrope.ttf')}*{box-sizing:border-box}body{margin:0;background:#edf1f5;color:#162a3f;font:16px/1.55 Manrope,system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #1379be;outline-offset:3px}.app{max-width:680px;margin:auto;min-height:100vh;background:#fff;padding-bottom:calc(100px + env(safe-area-inset-bottom))}.preview{padding:9px 18px;background:#ffedb3;color:#514014;font-size:12px}.preview a{margin-left:8px;font-weight:700}header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 14px;gap:16px}.brand{display:block;width:186px}.brand img{width:100%;display:block}.language{border:1px solid #dce2e8;border-radius:50%;background:white;width:46px;height:46px;font-weight:800}main{padding:10px 24px 25px}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1px;line-height:1.2}h2{font-size:21px;line-height:1.3}h3{font-size:16px;line-height:1.35}.muted{color:#647284;font-size:14px}.balance{position:relative;background:#162a3f;border-radius:24px;color:white;padding:24px;overflow:hidden;margin-bottom:25px}.balance:after{content:"";position:absolute;width:9px;right:29px;top:0;bottom:0;background:repeating-linear-gradient(to bottom,#ffc400 0 20px,transparent 20px 40px);transform:skew(-15deg);opacity:.7}.balance>*{position:relative;z-index:1;max-width:88%}.balance .muted{color:#c5d1dd}.balance .value{font-size:42px;line-height:1.35;letter-spacing:-1px;font-weight:800;margin:7px 0}.balance small{color:#ffc400;font-size:14px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 16px}.section-head span{font-size:14px;color:#647284}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product{border:1px solid #e5eaf0;border-radius:20px;overflow:hidden;padding:12px;position:relative}.product-art{height:150px;display:grid;place-items:center;background:#f2f5f7;border-radius:12px;margin-bottom:12px;color:#73879b}.product-art img{width:100%;height:100%;object-fit:contain}.product .heart{position:absolute;right:18px;top:18px;border:0;border-radius:50%;background:#fff;min-width:38px;min-height:38px;color:#162a3f;font-size:22px}.heart[aria-pressed=true]{background:#ffc400!important}.product h3{min-height:43px;margin-bottom:8px;overflow-wrap:anywhere}.price{font-weight:800;margin-bottom:8px}.primary,.secondary,.plain{border:0;border-radius:12px;padding:13px 18px;font-size:14px;font-weight:800;min-height:46px}.primary{background:#ffc400;color:#162a3f}.secondary{background:#edf1f5;color:#162a3f}.plain{background:none;color:#52647b}.full{width:100%}.empty{background:#f5f7fa;border:1px dashed #d5dfe8;border-radius:20px;text-align:center;padding:34px 22px;display:grid;justify-items:center;gap:12px;margin:18px 0}.empty .mark{width:62px;height:62px;border-radius:20px;background:#e5ebf2;display:grid;place-items:center;color:#61748b}.empty .mark svg{width:30px;height:30px}.empty p{max-width:380px}.links{display:grid;gap:10px;margin-top:25px}.link-row{display:flex;align-items:center;justify-content:space-between;text-align:left;text-decoration:none;padding:16px;background:#f2f5f7;border:0;border-radius:16px;gap:12px}.link-row strong{font-size:15px}.link-row p{font-size:13px;color:#647284}.link-row svg{width:22px;flex-shrink:0}.nav-icon svg{width:23px;height:23px}nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);background:#fff;border-top:1px solid #e6ebf0;display:flex;padding:10px 10px calc(10px + env(safe-area-inset-bottom));gap:4px}nav button{position:relative;flex:1;border:0;background:white;display:grid;justify-items:center;gap:4px;padding:9px 3px;color:#697b8d;font-size:12px;min-height:58px;border-radius:13px}nav button.active{background:#fff4c8;color:#162a3f;font-weight:800}.count{position:absolute;top:0;right:22%;background:#162a3f;color:white;border-radius:20px;padding:0 5px;font-size:11px}.line-item{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #e6eaf0;align-items:center}.line-item .info{flex:1;min-width:0}.line-item h3{overflow-wrap:anywhere}.quantity{display:flex;gap:10px;align-items:center}.quantity button{background:#edf1f5;border:0;width:32px;height:34px;border-radius:8px}.summary{background:#162a3f;border-radius:20px;padding:20px;color:#fff;margin-top:22px}.summary .row{display:flex;justify-content:space-between;margin-bottom:12px}.summary .primary{margin-top:5px}.note{font-size:13px;color:#657386;margin:16px 0}.prefs{display:grid;gap:12px;margin-top:24px}.prefs label{display:flex;justify-content:space-between;gap:20px;background:#f3f6f8;border-radius:16px;padding:15px}.prefs input{width:22px;accent-color:#162a3f}.order{padding:16px;border:1px solid #dce4eb;border-radius:16px;margin:12px 0}.order strong{font-size:14px}.order p{font-size:14px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}.chips button{border:0;border-radius:24px;padding:8px 13px;background:#edf1f5;font-size:14px}.chips .selected{background:#162a3f;color:white}#toast{position:fixed;z-index:20;bottom:104px;left:50%;transform:translateX(-50%);background:#162a3f;color:#fff;border-radius:14px;padding:14px 20px;max-width:90%;box-shadow:0 5px 20px #162a3f33;font-size:14px}dialog{border:0;border-radius:24px;padding:25px;max-width:calc(100% - 30px);width:440px;color:#162a3f}dialog::backdrop{background:#07132177}dialog .actions{display:flex;gap:10px;margin-top:20px}dialog p{margin-top:12px}svg{display:block;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.admin-shell{max-width:1100px;margin:auto;padding:30px 22px}.admin-shell header{padding:0 0 20px}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.admin-nav button{padding:10px 14px;border:1px solid #dce2e8;border-radius:10px;background:white}.admin-nav button.active{background:#162a3f;color:#fff}.admin-panel{padding:24px;background:white;border-radius:20px;margin:15px 0}.admin-panel form{display:grid;gap:15px;max-width:700px;margin-top:15px}.admin-panel label{display:grid;gap:5px;font-size:14px}.admin-panel input,.admin-panel textarea,.admin-panel select{border:1px solid #cbd6df;border-radius:9px;padding:12px;width:100%;background:#fff;color:#162a3f}.admin-panel textarea{min-height:100px}.admin-panel .two{display:grid;grid-template-columns:1fr 1fr;gap:15px}.list-row{border-bottom:1px solid #e2e8ef;padding:15px 0;display:flex;justify-content:space-between;gap:14px;align-items:center}.list-row .actions{display:flex;gap:5px}.pending{color:#9a6710;background:#fff2cd;padding:12px 16px;border-radius:10px;margin:15px 0;font-size:14px}.admin-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#edf2f7;padding:15px;border-radius:12px;font-size:13px}.admin-panel p{margin:10px 0}.admin-panel .mini{font-size:13px;color:#647284}.admin-panel .smallbutton{font-size:13px;border:1px solid #dbe3ea;background:white;padding:8px 12px;border-radius:8px}@media(max-width:400px){header{padding:18px 18px 12px}main{padding:10px 16px 20px}.balance{padding:20px}.grid{gap:10px}.product{padding:9px}.product-art{height:122px}.primary{padding:12px}.admin-panel .two{grid-template-columns:1fr}.section-head h1{font-size:25px}nav button{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.summary .note{color:#d0dae4}.link-row .info{flex:1}.admin-panel input[type=checkbox]{width:20px;height:20px;vertical-align:middle;accent-color:#162a3f}.product-title{display:block;text-align:left;border:0;background:none;padding:0;color:inherit;width:100%}.product-art>svg{width:58px;height:58px}@media(max-width:650px){.admin-panel .two{grid-template-columns:1fr}.list-row{flex-wrap:wrap}}

.knowledge-row[hidden],.source-row[hidden]{display:none}.source-row{padding:12px 0;border-bottom:1px solid #e3e9ee}#source-list,#knowledge-list{max-height:560px;overflow:auto;margin-top:16px}.knowledge-row>div{min-width:0;overflow-wrap:anywhere}.knowledge-row .smallbutton{flex-shrink:0}
