:root{font-family:Inter,Manrope,Segoe UI,sans-serif;color:#221a2c;background:#f7f6fa;color-scheme:light;--bg: #f7f6fa;--surface: #fff;--text: #221a2c;--muted: #675d75;--line: #ebe6f0;--brand: #733fb0;--soft: #f1e8fa;--green: #237153;--grid: #ede8f2;--inset-top: max(env(safe-area-inset-top, 0px), var(--tg-content-safe-area-inset-top, 0px));--inset-bottom: max(env(safe-area-inset-bottom, 0px), var(--tg-content-safe-area-inset-bottom, 0px));--inset-left: max(env(safe-area-inset-left, 0px), var(--tg-content-safe-area-inset-left, 0px));--inset-right: max(env(safe-area-inset-right, 0px), var(--tg-content-safe-area-inset-right, 0px))}.startup-message{padding:20px;font-weight:700}[data-theme=dark]{color-scheme:dark;color:#f4eefb;background:#18141f;--bg: #18141f;--surface: #211b2b;--text: #f4eefb;--muted: #b9aec7;--line: #382f46;--brand: #d4adfa;--soft: #38264b;--green: #8adab2;--grid: #3a3146}*{box-sizing:border-box}body{margin:0;min-width:320px}button,select,input{font:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}h1,h2,p{margin:0}.app-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh;min-height:var(--tg-viewport-stable-height, 100dvh)}.sidebar{min-height:100vh;position:sticky;top:0;height:100vh;background:#231630;color:#fff;display:flex;flex-direction:column;padding:30px 16px 18px}.brand{display:flex;align-items:center;gap:10px}.sidebar .brand{padding:0 8px 31px}.brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#7d49bc;color:#fff}.brand strong,.brand small,.sidebar-footer strong,.sidebar-footer small{display:block}.brand strong{font-size:25px;line-height:1.07;letter-spacing:-.06em}.brand-dot{color:#dcaafd}.brand small{color:#c2b4d2;font-size:12px;margin-top:4px}.desktop-nav{display:grid;gap:5px}.desktop-nav button,.mobile-nav button{border:0;background:transparent;color:inherit}.desktop-nav button{display:flex;align-items:center;gap:11px;padding:12px;border-radius:9px;color:#d4c7df;text-align:left;font-size:14px}.desktop-nav button:hover,.desktop-nav button[aria-current]{color:#fff;background:#42295a}.sidebar-footer{display:flex;gap:9px;align-items:center;margin-top:auto;border-top:1px solid #4a3958;padding:16px 7px 0}.avatar{background:#4c3562;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.sidebar-footer strong{font-size:13px}.sidebar-footer small{color:#c2b4d2;font-size:12px;margin-top:3px}.workspace{min-width:0;background:var(--bg)}.workspace-inner{max-width:1420px;margin-inline:auto;padding:28px 29px 38px;display:grid;gap:17px}.workspace-heading{display:flex;justify-content:space-between;align-items:end;gap:16px}h1{font-size:clamp(27px,3.4vw,42px);line-height:1.08;letter-spacing:-.055em}.page-title p{color:var(--muted);font-size:14px;margin-top:7px}.filters{display:flex;flex-wrap:wrap;gap:8px}.selector{color:var(--muted);display:flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:0 8px;min-width:0}.selector select{appearance:none;min-width:0;border:0;padding:9px 1px;background:transparent;color:var(--text);font-size:14px;cursor:pointer}.selector option{background:var(--surface)}.selector svg{flex-shrink:0;pointer-events:none}.hero{overflow:hidden;position:relative;min-height:210px;border-radius:17px;color:#fff;background:#251632 url(/bouquet.jpg) right 43% / min(67%,770px) auto no-repeat;isolation:isolate;display:flex;align-items:center}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#251632 18%,#251632 32%,#25163277 55%,transparent 77%)}.hero-content{padding:21px 27px}.hero-eyebrow{display:inline-flex;align-items:center;gap:6px;color:#e0bbf6;font-size:13px;font-weight:650}.hero-eyebrow span{display:inline-block;width:14px;height:2px;background:#d8a4f1}.hero h2{font-size:clamp(31px,4vw,51px);line-height:.99;letter-spacing:-.056em;margin-top:9px}.hero p{margin-top:10px;color:#e0d0e8;font-size:14px;line-height:1.4}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.surface{border:1px solid var(--line);background:var(--surface);border-radius:13px}.metric{min-width:0;padding:13px;display:flex;flex-direction:column;gap:9px}.metric-heading,.metric-foot{display:flex;gap:7px;align-items:center;font-size:14px;color:var(--muted)}.metric-heading{font-weight:620}.metric-foot{font-size:12px;flex-wrap:wrap;gap:4px}.metric-value{font-size:clamp(20px,2.65vw,33px);letter-spacing:-.048em;white-space:nowrap}.trend{display:inline-flex;align-items:center;color:var(--green);font-weight:700;gap:1px}.icon-tile{flex:0 0 auto;display:inline-grid;place-items:center;width:36px;height:36px;border-radius:9px;color:#7447bc;background:#f2eafa}.icon-tile.pink{background:#fae8f2;color:#a0487e}.icon-tile.green{background:#e4f2ec;color:#38775c}.icon-tile.peach{background:#fcefe4;color:#a15e28}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:13px}.panel{min-width:0;padding:16px}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:12px}.panel h2,.order-dialog h2{font-size:20px;line-height:1.17;letter-spacing:-.032em}.panel-heading p,.store-card p{color:var(--muted);font-size:13px;margin-top:4px;line-height:1.4}.chart-legend{display:flex;flex-wrap:wrap;gap:6px 10px;color:var(--muted);font-size:11px}.chart-legend span{display:flex;align-items:center;gap:4px;white-space:nowrap}.chart-legend i{width:8px;height:8px;border-radius:3px;background:#8b53c7}.chart-legend span:nth-child(2) i{background:#d8bdef}.chart{display:flex;gap:7px;margin-top:10px;--plot-height: 143px }.chart-axis{height:var(--plot-height);display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:11px;line-height:1;flex:0 0 auto;align-items:end}.chart-body{position:relative;min-width:0;flex:1}.chart-grid{display:flex;height:var(--plot-height);inset:4px 0 auto;position:absolute;justify-content:space-between;flex-direction:column;pointer-events:none}.chart-grid i{border-top:1px dashed var(--grid)}.chart-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));position:relative}.chart-column{border:0;background:transparent;padding:0;border-radius:5px;color:var(--muted);font-size:11px;min-width:0}.chart-column:hover,.chart-column[aria-pressed=true]{background:var(--soft);color:var(--text)}.bars{display:flex;gap:3px;align-items:end;justify-content:center;height:calc(var(--plot-height) + 4px)}.bars i{width:min(27%,18px);border-radius:4px 4px 0 0;background:linear-gradient(#a369e1,#8048bd)}.bars i:nth-child(2){background:#d8bdef}.chart-label{display:block;margin-top:7px}.chart-detail{margin-top:9px;border-radius:6px;background:var(--soft);color:var(--text);font-size:13px;padding:6px 8px}.list{display:grid}.list-row{display:flex;align-items:center;gap:8px;border:0;border-bottom:1px solid var(--line);padding:9px 0;color:var(--text);min-width:0}.list-row:last-child{border-bottom:0}.row-main{flex:1;min-width:0;text-align:left;line-height:1.18}.row-main strong{display:block;font-size:14px;overflow-wrap:anywhere}.row-main small{display:block;margin-top:4px;color:var(--muted);font-size:12px}.stock-value{color:var(--green);font-weight:700;font-size:13px;white-space:nowrap}.stock-value.low{color:#a65324;background:#faecdf;padding:5px;border-radius:5px}.panel-footer{border-top:1px solid var(--line);margin-top:7px;padding-top:6px}.panel-link{color:var(--brand);background:none;border:0;display:inline-flex;gap:1px;align-items:center;white-space:nowrap;padding:6px 1px;font-weight:650;font-size:13px}.panel-link:hover{text-decoration:underline}.order-row{width:100%;background:none}.order-row:hover{background:var(--soft)}.order-total{font-size:14px;white-space:nowrap}.order-status{color:#5e3c9c;background:#efe7fa;font-size:12px;font-weight:650;white-space:nowrap;border-radius:5px;padding:4px 6px}.order-status.progress{color:#8a581c;background:#fbedd8}.order-status.ready{color:#267050;background:#e2f2e7}.row-chevron{color:var(--muted);flex-shrink:0}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.store-card h2{margin-top:9px}.store-card dl,.order-dialog dl{margin:12px 0;display:grid;gap:6px}.store-card dl div,.order-dialog dl div{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 0;border-bottom:1px solid var(--line)}dt{color:var(--muted);font-size:14px}dd{margin:0;color:var(--text);font-weight:650}.segments{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:3px}.segments button{border:1px solid var(--line);border-radius:6px;padding:6px 9px;color:var(--muted);background:var(--surface);font-size:13px}.segments button[aria-pressed=true]{color:var(--brand);background:var(--soft);font-weight:650}.search-box{display:flex;align-items:center;gap:7px;padding:7px;width:min(220px,100%);border:1px solid var(--line);border-radius:7px;color:var(--muted)}.search-box input{width:100%;min-width:0;border:0;background:transparent;color:var(--text);font-size:14px}.empty{color:var(--muted);padding:12px 0;font-size:14px}.order-dialog{color:var(--text);padding:0;width:min(420px,calc(100% - 28px));overflow:visible}.order-dialog::backdrop{background:#1d112c9c}.dialog-inner{padding:19px}.dialog-inner .panel-heading p{margin-bottom:5px}.close-button{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;color:var(--text);background:var(--soft);flex-shrink:0}.dialog-total dd{font-size:20px}.mobile-nav,.mobile-header{display:none}@media(max-width:1150px){.app-shell{grid-template-columns:181px minmax(0,1fr)}.workspace-inner{padding-inline:18px}.metric{padding:10px}}@media(max-width:820px){.app-shell{display:block}.sidebar{display:none}.workspace{min-height:var(--tg-viewport-stable-height, 100dvh);padding:var(--inset-top) var(--inset-right) calc(57px + var(--inset-bottom)) var(--inset-left)}.workspace-inner{padding:15px 13px 17px;gap:12px}.mobile-header{display:flex;justify-content:space-between;align-items:center;padding:8px 13px;border-bottom:1px solid var(--line);background:var(--surface)}.mobile-header .brand-icon{width:34px;height:34px;border-radius:8px}.mobile-header .brand-icon svg{width:21px}.mobile-header .brand strong{font-size:21px}.mobile-header .brand small{color:var(--muted);font-size:11px}.mobile-demo{color:var(--muted);background:var(--soft);font-size:12px;padding:5px 6px;border-radius:5px}.mobile-nav{position:fixed;z-index:2;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:3px var(--inset-right) calc(3px + var(--inset-bottom)) var(--inset-left);background:var(--surface);border-top:1px solid var(--line)}.mobile-nav button{display:flex;flex-direction:column;gap:3px;justify-content:center;align-items:center;color:var(--muted);min-height:48px;font-size:12px;padding:2px}.mobile-nav button[aria-current]{color:var(--brand);font-weight:700}}@media(max-width:560px){.workspace-heading{align-items:start;flex-direction:column;gap:9px}.hero{min-height:166px;border-radius:12px;background-size:auto 135%;background-position:right center}.hero:before{background:linear-gradient(90deg,#251632 5%,#251632d9 47%,#25163240 78%,transparent)}.hero-content{padding:14px}.hero p{max-width:205px;font-size:13px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-heading{font-size:13px;gap:5px}.metric-foot{font-size:11px}.metric-value{font-size:clamp(19px,6vw,29px)}.metric .icon-tile{width:29px;height:29px}.metric .icon-tile svg{width:16px}.overview-grid,.store-grid{grid-template-columns:minmax(0,1fr);gap:10px}.panel{padding:12px}.sales-heading,.page-panel-heading{flex-wrap:wrap}.chart{margin-top:6px;--plot-height: 122px }.order-row{display:grid;grid-template-columns:31px minmax(0,1fr) auto;column-gap:7px;row-gap:4px}.order-row .icon-tile{width:30px;height:30px;grid-row:span 2}.order-row .row-main{grid-row:span 2}.order-status{justify-self:end}.order-row .order-total{justify-self:end;grid-column:3}.order-row .row-chevron{display:none}}
