
:root{--ink:#191b30;--muted:#73788c;--purple:#5546ff;--line:#e9e9f1;--bg:#f6f7fb;--surface:#fff;--nav:#101225;--radius:20px;font-family:Inter,Manrope,'Segoe UI',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:34px;line-height:1.15;letter-spacing:-1.3px;margin-bottom:12px}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.6}.muted,.sub{color:var(--muted)}.sub{font-size:13px}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:2px;font-weight:700;color:var(--muted);margin-bottom:14px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.gap{gap:24px}.stack{display:grid;gap:16px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;color:var(--ink);padding:12px 18px;border-radius:11px;font-size:13px;font-weight:600;min-height:44px}.btn:hover{border-color:#c8c1ff;background:#f8f7ff}.btn.primary{background:var(--purple);border-color:var(--purple);color:#fff;box-shadow:0 5px 15px #5546ff20}.btn.primary:hover{background:#4534ef}.btn.danger{color:#b33150;background:#fff4f6}.btn.small{padding:8px 12px;min-height:36px}.iconbtn{border:0;background:transparent;color:inherit;padding:10px;border-radius:10px}.brand{font-size:27px;font-weight:800;letter-spacing:-1.2px;display:flex;align-items:center;gap:12px}.shelf{display:inline-grid;gap:4px;transform:skewY(-10deg);width:31px}.shelf i{height:7px;border-radius:2px;background:linear-gradient(110deg,#7b70ff,#e3c6ff 75%,#fff0e8);box-shadow:0 2px 8px #8272ff30}.shelf i:nth-child(2){opacity:.85}.shelf i:nth-child(3){opacity:.7}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#f7f7ff;padding:32px 23px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{margin-bottom:39px}.scope{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:#7c809e;margin:0 14px 12px}.nav{display:grid;gap:7px}.nav a{display:flex;align-items:center;gap:13px;font-size:13px;color:#a7abc1;padding:14px;border-radius:11px}.nav a:hover{color:#fff;background:#ffffff08}.nav a.active{background:#5546ff;color:white;box-shadow:0 5px 18px #5546ff30}.nav svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff12;padding-top:20px}.workspace{min-width:0}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 42px;background:#ffffffbb;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{font-size:13px;color:var(--muted)}.avatar{width:35px;height:35px;border-radius:12px;background:#ebe8ff;color:var(--purple);display:grid;place-items:center;font-weight:700}.content{max-width:1350px;padding:36px 42px 60px;margin:auto}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.pagehead p{margin-bottom:0;font-size:14px}.hero{border-radius:22px;background:linear-gradient(115deg,#252044,#37316d);color:#fff;padding:30px 34px;position:relative;overflow:hidden;min-height:190px;margin-bottom:26px;display:flex;align-items:center;justify-content:space-between;gap:24px}.hero h2{font-size:27px;max-width:440px}.hero p{color:#c3bfdf;font-size:13px;max-width:440px;margin-bottom:20px}.hero .eyebrow{color:#aca2ec}.hero-art{position:relative;min-width:180px;height:130px;display:flex;align-items:center;justify-content:center}.hero-art .shelf{width:125px;gap:13px;transform:rotate(-10deg) skewY(-10deg)}.hero-art .shelf i{height:22px;box-shadow:0 9px 25px #0004;border:1px solid #ffffff80}.orb{position:absolute;right:8px;top:4px;width:29px;height:29px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ddd0ff,#6e38ff 50%,#391298);box-shadow:0 0 30px #9450ff}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px}.stat-label{color:var(--muted);font-size:12px;display:flex;justify-content:space-between;gap:8px}.stat strong{display:block;font-size:29px;letter-spacing:-1px;margin:12px 0 8px}.stat small{color:var(--muted);font-size:11px}.stat-icon{color:var(--purple);background:#f1efff;padding:6px;border-radius:8px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px}.panel h2{margin-bottom:18px}.grid2{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.business-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:24px;transition:transform .2s,box-shadow .2s}.business-card:hover{transform:translateY(-2px);box-shadow:0 10px 30px #191b3008}.business-icon{width:48px;height:48px;border-radius:15px;background:linear-gradient(140deg,#f0ebff,#fcefe7);color:var(--purple);display:grid;place-items:center;font-size:21px;font-weight:700;margin-bottom:19px}.business-card h3{font-size:18px;margin-bottom:5px}.business-card .sub{margin-bottom:20px}.card-meta{padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0;display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.tag{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:6px 9px;border-radius:7px;white-space:nowrap;background:#efedf9;color:#6c6294}.tag.green{background:#edf8f1;color:#30885e}.tag.orange{background:#fff5e8;color:#a97928}.tag.red{background:#fff0f3;color:#ad4765}.tag.blue{background:#eeedff;color:#6250d8}.dot{width:5px;height:5px;border-radius:100%;background:currentColor}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.search{max-width:340px;flex:1;min-width:180px}.search input{background:#fff}.filters{display:flex;gap:6px;background:#eceef5;border-radius:10px;padding:4px}.filter{border:0;background:transparent;padding:8px 12px;border-radius:7px;font-size:12px;color:var(--muted)}.filter.active{background:#fff;color:var(--ink);box-shadow:0 2px 6px #191b3008}.empty{text-align:center;padding:46px 20px}.empty-symbol{width:62px;height:62px;border-radius:18px;background:#f0edff;color:var(--purple);margin:0 auto 20px;display:grid;place-items:center}.empty p{color:var(--muted);font-size:14px;max-width:380px;margin:0 auto 22px}.checklist{display:grid;gap:0}.checkrow{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid var(--line);font-size:13px}.checkrow:last-child{border-bottom:0}.checkmark{width:25px;height:25px;border-radius:8px;background:#f0edff;color:var(--purple);display:grid;place-items:center}.checkmark.done{background:#edf8f1;color:#30885e}.checkrow .btn{margin-left:auto}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-size:11px;font-weight:500;border-bottom:1px solid var(--line);padding:12px 16px}td{padding:18px 16px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}td strong{display:block;margin-bottom:4px}.product-mini{width:42px;height:42px;border-radius:12px;background:#f4f0ff;font-size:25px;display:grid;place-items:center}.number{font-variant-numeric:tabular-nums}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}label{display:grid;gap:8px;font-size:12px;font-weight:600;color:#555b70}input,textarea,select{width:100%;min-height:44px;border:1px solid #dedfe9;border-radius:10px;padding:12px 13px;color:var(--ink);background:#fff}input:focus,textarea:focus,select:focus{outline:2px solid #a397ff;border-color:transparent}textarea{resize:vertical;min-height:92px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--purple)}.checkbox{display:flex;align-items:center;gap:10px}.form-note{font-size:12px;color:var(--muted);line-height:1.6}.error{color:#ac3151;background:#fff0f3;border-radius:9px;padding:12px;font-size:13px;line-height:1.5}.error:empty{display:none}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}dialog{border:0;border-radius:23px;padding:30px;width:min(580px,calc(100% - 28px));max-height:90vh;box-shadow:0 30px 100px #14112940;color:var(--ink)}dialog::backdrop{background:#14112970;backdrop-filter:blur(4px)}.dialog-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-title h2{margin:0}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--ink);color:#fff;padding:14px 22px;border-radius:12px;box-shadow:0 10px 40px #0002;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10;max-width:90%}#toast.show{opacity:1;transform:translate(-50%,0)}.loading{padding:80px;text-align:center;color:var(--muted)}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.auth-art{background:radial-gradient(ellipse at 60% 75%,#4d3185,#151527 65%);color:white;padding:55px 65px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.auth-art h1{font-size:54px;max-width:480px;letter-spacing:-2px}.auth-art p{color:#c1bbd6;max-width:390px}.auth-shelf{display:grid;place-items:center;padding:40px;position:relative;min-height:220px}.auth-shelf .shelf{width:180px;gap:24px;transform:skewY(-10deg) rotate(-8deg)}.auth-shelf .shelf i{height:32px;border:1px solid #ffffff90;box-shadow:0 15px 35px #0005}.auth-box{display:flex;align-items:center;justify-content:center;padding:50px}.auth-form{width:360px;max-width:100%}.auth-form h1{font-size:30px}.auth-form>p{font-size:14px}.auth-form form{margin-top:30px}.notice{border-radius:12px;background:#f3f0ff;padding:15px;font-size:12px;line-height:1.6;color:#6d628f}.shop{background:#fbfafc;min-height:100vh}.shop-header{max-width:1180px;margin:auto;padding:28px 32px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.shop-logo{font-weight:750;font-size:23px;letter-spacing:-.5px}.shop-main{max-width:1180px;padding:32px;margin:auto}.shop-hero{border-radius:24px;padding:48px;background:linear-gradient(120deg,#ede7ff,#f6eae3);display:flex;justify-content:space-between;gap:25px;margin-bottom:30px}.shop-hero h1{font-size:45px;max-width:540px}.shop-hero p{color:#706880;max-width:540px}.shop-hero .hero-art{min-width:190px}.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{background:#fff;border:1px solid var(--line);padding:12px;border-radius:19px}.product-visual{height:195px;border-radius:13px;background:linear-gradient(140deg,#f2eef9,#f8f0e8);display:grid;place-items:center;font-size:77px}.product-card:nth-child(3n+2) .product-visual{background:linear-gradient(135deg,#e8eef6,#f4f7fa)}.product-card:nth-child(3n) .product-visual{background:linear-gradient(135deg,#f2efe2,#f9f7ef)}.product-info{padding:18px 8px 8px}.product-info h3{font-size:17px;margin:8px 0}.product-info p{font-size:13px;color:var(--muted);margin-bottom:20px}.product-info .btn{padding:10px 14px}.shop-footer{padding:35px;text-align:center;color:var(--muted);font-size:12px}.cartline{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:15px 0}.qty{display:flex;align-items:center;gap:12px;white-space:nowrap}.qty button{width:32px;height:32px;border:1px solid var(--line);background:#fff;border-radius:8px}.success{max-width:620px;margin:55px auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:38px}.success-icon{width:64px;height:64px;border-radius:20px;background:#eef8f2;color:#258157;display:grid;place-items:center;font-size:30px;margin-bottom:24px}.order-lines{font-size:13px;padding:18px 0;display:grid;gap:12px}.timeline{padding:15px 0;color:var(--muted);font-size:12px;display:grid;gap:12px}.mobile-brand{display:none}.progress{height:6px;background:#eeecf8;border-radius:20px;overflow:hidden;margin:15px 0 22px}.progress span{display:block;height:100%;background:var(--purple)}.progress.p0 span{width:0}.progress.p1 span{width:33%}.progress.p2 span{width:66%}.progress.p3 span{width:100%}.invite-link{word-break:break-all;font-size:13px}.attention{display:grid;gap:15px;font-size:13px}.attention>div{padding:13px;background:#faf9fd;border-radius:11px}.muted a{color:var(--purple)}
@media(min-width:1500px){.content{padding-top:45px}}@media(max-width:1100px){.business-grid{grid-template-columns:repeat(2,1fr)}.shell{grid-template-columns:210px 1fr}.sidebar{padding:28px 16px}.content{padding:28px}.topbar{padding:0 28px}.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.catalog{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){h1{font-size:27px}.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:70px;width:100%;padding:7px 9px;z-index:5;border-radius:18px 18px 0 0}.sidebar .brand,.scope,.sidebar-bottom{display:none}.nav{display:flex;justify-content:space-around;gap:2px}.nav a{flex:1;flex-direction:column;gap:5px;padding:8px 3px;font-size:9px;border-radius:10px}.nav svg{width:17px;height:17px}.topbar{height:68px;padding:0 20px}.topbar .breadcrumb{font-size:11px}.topbar .user-name{display:none}.content{padding:25px 18px 95px}.pagehead{align-items:flex-start;gap:12px}.pagehead p{font-size:12px}.pagehead .btn{padding:11px;font-size:11px}.hero{padding:25px;min-height:170px}.hero h2{font-size:23px}.hero-art{min-width:90px}.hero-art .shelf{width:70px;gap:8px}.hero-art .shelf i{height:13px}.orb{right:0;width:19px;height:19px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:25px}.stat-label{font-size:11px}.business-grid{grid-template-columns:1fr}.panel{padding:19px}.business-card{padding:21px}.split{grid-template-columns:1fr}.auth{display:block}.auth-art{padding:25px}.auth-art h1,.auth-art>p,.auth-shelf{display:none}.auth-box{padding:36px 24px}.shop-header{padding:20px}.shop-logo{font-size:19px}.shop-main{padding:20px}.shop-hero{padding:28px}.shop-hero h1{font-size:30px}.shop-hero .hero-art{display:none}.catalog{gap:12px}.product-visual{height:125px;font-size:51px}.product-card{padding:8px}.product-info{padding:12px 3px 3px}.product-info h3{font-size:14px}.product-info p{font-size:11px}.product-info .row{flex-wrap:wrap;gap:10px}.product-info .btn{width:100%;font-size:11px}.product-info strong{font-size:14px}.success{margin:25px 18px;padding:25px}.btn{min-height:44px}dialog{padding:22px}.shop-header .btn{font-size:11px;padding:10px}.hero .btn{font-size:11px}.table-scroll td,.table-scroll th{padding:13px 10px}.filters{max-width:100%;overflow:auto}.checkrow{font-size:12px}.checkrow .btn{font-size:10px;padding:8px}}
.product-mini img{width:100%;height:100%;object-fit:cover;border-radius:12px}.product-visual img{width:100%;height:100%;object-fit:cover;border-radius:13px}.photo-preview{width:120px;height:100px;object-fit:cover;border-radius:12px}.checkrow{flex-wrap:wrap}.checkrow .tag{margin-left:auto}
.variant-picker{font-size:12px;margin-bottom:14px}.movement-panel{margin-top:24px}#order-filter{max-width:240px}@media(max-width:700px){.pagehead{flex-wrap:wrap}.sidebar{height:76px}.nav a{font-size:8px}.variant-picker{font-size:11px;padding:8px;min-height:42px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Layered surfaces for the platform and seller workspaces. */
.theme-toggle{width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.theme-toggle svg{width:21px;height:21px}
.catalog-summary{display:flex;gap:24px;flex-wrap:wrap;padding:18px 22px;margin-bottom:22px;border:1px solid #ffffff70;border-radius:16px;background:#ffffff40;font-size:13px;color:var(--muted)}.catalog-summary strong{color:var(--ink);margin-left:8px;font-variant-numeric:tabular-nums}.catalog-toolbar{align-items:flex-end}.catalog-toolbar>label:not(.search){flex:0 1 190px;min-width:150px}.catalog-more{position:relative}.catalog-more summary{list-style:none;cursor:pointer}.catalog-more summary::-webkit-details-marker{display:none}.catalog-more-panel{position:absolute;right:0;top:calc(100% + 8px);width:250px;background:var(--surface);border:1px solid var(--line);padding:18px;border-radius:16px;box-shadow:0 15px 40px #21162f25;z-index:3;display:grid;gap:16px}.catalog-result{margin-bottom:16px;min-height:36px}.catalog-pagination{margin-top:20px}body[data-workspace-theme=dark] .catalog-summary{background:#31263e50;border-color:#ffffff12}@media(max-width:700px){.catalog-summary{gap:14px;font-size:12px;padding:16px}.catalog-toolbar .search{max-width:none;flex-basis:100%}.catalog-toolbar>label:not(.search){flex:1;min-width:140px}.catalog-more-panel{left:0;right:auto}.catalog-toolbar .catalog-more{width:100%}}
body[data-workspace-theme]{color-scheme:light}
body[data-workspace-theme=dark]{--ink:#f0edf8;--muted:#b0a9c0;--line:#403a50;--bg:#151420;--surface:#24212f;color:var(--ink);background:var(--bg);color-scheme:dark}
body[data-workspace-theme=dark] .shell{--muted:#b0a9c0;--line:#403a50;background:radial-gradient(ellipse at 5% 0%,#49325f55,transparent 48%),radial-gradient(ellipse at 100% 65%,#45354540,transparent 52%),linear-gradient(135deg,#1a1726,#151521 55%,#211a24)}
body[data-workspace-theme=dark] .shell .topbar{background:#211d2db8;border-color:#ffffff0c;box-shadow:0 3px 20px #00000015}
body[data-workspace-theme=dark] .shell .avatar{background:linear-gradient(135deg,#504072,#473344);color:#e0d3ff;border-color:#ffffff1a}
body[data-workspace-theme=dark] .shell .eyebrow{color:#b8a1e0}
body[data-workspace-theme=dark] .shell .panel,body[data-workspace-theme=dark] .shell .business-card{background:linear-gradient(145deg,#2b2636f5,#242130eb);border-color:#ffffff10;box-shadow:0 8px 26px #00000018,inset 0 1px 0 #ffffff04}
body[data-workspace-theme=dark] .shell .stat{background:radial-gradient(ellipse at 100% 0%,#6c489f35,transparent 75%),linear-gradient(145deg,#2c253b,#25212f);border-color:#ffffff12;box-shadow:0 8px 26px #00000018}
body[data-workspace-theme=dark] .shell .stat:nth-child(2){background:radial-gradient(ellipse at 100% 0%,#3f8a7335,transparent 75%),linear-gradient(145deg,#242f2f,#21262e)}
body[data-workspace-theme=dark] .shell .stat:nth-child(3){background:radial-gradient(ellipse at 100% 0%,#b1765130,transparent 75%),linear-gradient(145deg,#342a2d,#28222d)}
body[data-workspace-theme=dark] .shell .stat:nth-child(4){background:radial-gradient(ellipse at 100% 0%,#537cba35,transparent 75%),linear-gradient(145deg,#272b3b,#222330)}
body[data-workspace-theme=dark] .shell .stat-icon{background:#51406a;color:#e0ccff;border-color:#ffffff10}body[data-workspace-theme=dark] .shell .stat:nth-child(2) .stat-icon{background:#33554c;color:#b0e4d0}body[data-workspace-theme=dark] .shell .stat:nth-child(3) .stat-icon{background:#634733;color:#f0c9a5}body[data-workspace-theme=dark] .shell .stat:nth-child(4) .stat-icon{background:#394966;color:#c3d5ff}
body[data-workspace-theme=dark] .shell .btn:not(.primary){background:linear-gradient(145deg,#393144,#2e2939);border-color:#51445f;color:#eee8f8;box-shadow:0 3px 8px #0002}body[data-workspace-theme=dark] .shell .btn:not(.primary):hover{background:#443650;border-color:#8c70ac}
body[data-workspace-theme=dark] .shell .btn.danger{background:#4b2635;color:#ffc0cf}
body[data-workspace-theme=dark] .shell input,body[data-workspace-theme=dark] .shell textarea,body[data-workspace-theme=dark] .shell select,body[data-workspace-theme=dark] dialog input,body[data-workspace-theme=dark] dialog textarea,body[data-workspace-theme=dark] dialog select{background:#211d2b;border-color:#51455f;color:var(--ink)}
body[data-workspace-theme=dark] input::placeholder,body[data-workspace-theme=dark] textarea::placeholder{color:#9b91aa}body[data-workspace-theme=dark] label{color:#c4bad2}
body[data-workspace-theme=dark] .shell .filters{background:#24202f;border-color:#ffffff12}body[data-workspace-theme=dark] .shell .filter.active{background:#493959;color:#fff}body[data-workspace-theme=dark] .shell .filter:hover{color:#e1cef9}
body[data-workspace-theme=dark] .shell th{background:#332b40;color:#c3b4d4}body[data-workspace-theme=dark] .shell tbody tr:hover{background:#44344e55}
body[data-workspace-theme=dark] .shell .attention>div{background:linear-gradient(130deg,#382c45,#302735);border-color:#ffffff0c}body[data-workspace-theme=dark] .shell .attention>div:nth-child(2){background:linear-gradient(130deg,#263a35,#2a2c37)}
body[data-workspace-theme=dark] .shell .progress{background:#42334f}body[data-workspace-theme=dark] .shell .checkmark,body[data-workspace-theme=dark] .shell .business-icon,body[data-workspace-theme=dark] .shell .product-mini,body[data-workspace-theme=dark] .shell .empty-symbol{background:#443354;color:#d9c2fa;border-color:#ffffff10}
body[data-workspace-theme=dark] .tag{background:#483850;color:#e1c7f2}body[data-workspace-theme=dark] .tag.green,body[data-workspace-theme=dark] .checkmark.done{background:#28483e;color:#a8dec5}body[data-workspace-theme=dark] .tag.orange{background:#503e29;color:#f0d0a1}body[data-workspace-theme=dark] .tag.red{background:#512c3c;color:#ffc2d2}body[data-workspace-theme=dark] .tag.blue{background:#40335e;color:#d6c0ff}
body[data-workspace-theme=dark] .notice{background:#3b2d4b;color:#d4c0ee}body[data-workspace-theme=dark] .error{background:#4c2636;color:#ffc2d2}
body[data-workspace-theme=dark] dialog{background:radial-gradient(ellipse at 100% 0%,#61477a35,transparent 55%),#282230;border-color:#ffffff20;color:var(--ink)}body[data-workspace-theme=dark] dialog .btn:not(.primary){background:#3c3049;border-color:#584864;color:#eee8f8}body[data-workspace-theme=dark] .qty button{background:#352b40;color:var(--ink)}
body[data-workspace-theme=dark] .shell .topbar .iconbtn:hover{background:#463550}
.shell{--line:#dedce9;--muted:#686b80;background:radial-gradient(ellipse at 5% 0%,#ded6f780,transparent 48%),radial-gradient(ellipse at 100% 55%,#f4daca70,transparent 52%),linear-gradient(135deg,#f5f2f8,#eeedf5 55%,#f6efe9)}
.shell .sidebar{background:radial-gradient(ellipse at 0% 0%,#55458866,transparent 55%),radial-gradient(ellipse at 100% 95%,#34295666,transparent 50%),linear-gradient(160deg,#191728,#111322);border-right:1px solid #ffffff14;box-shadow:8px 0 40px #29233f0d}
.shell .sidebar .brand{color:#fff;filter:drop-shadow(0 3px 14px #a593ff25)}
.shell .scope{color:#aaa4c4}.shell .nav a{color:#bcb8cf;transition:background .18s,box-shadow .18s,color .18s}.shell .nav a:hover{background:#ffffff0c}
.shell .nav a.active{background:linear-gradient(115deg,#6c56f0,#5140d5);border:1px solid #a391ff55;box-shadow:0 8px 24px #08071440,inset 0 1px 0 #ffffff20}
.shell .sidebar-bottom .sub{color:#bcb8cf}.shell .sidebar-bottom .btn{color:#ece8ff;background:#ffffff08;border-color:#ffffff20;box-shadow:none}
.shell .topbar{background:#fcfaffb8;border-color:#ffffffc9;box-shadow:0 3px 20px #3c315008;backdrop-filter:blur(18px)}
.shell .avatar{background:linear-gradient(135deg,#e4dbff,#fae7dd);border:1px solid #ffffff;box-shadow:0 4px 12px #55407912}
.shell .topbar .iconbtn:hover{background:#e9e3f4}.shell .pagehead{flex-wrap:wrap;gap:14px}.shell .pagehead>div:first-child{flex:1;min-width:230px}.shell .pagehead h1{letter-spacing:-1.2px}.shell .eyebrow{color:#77659b}
.shell .hero{background:radial-gradient(ellipse at 85% 50%,#8570c14d,transparent 47%),radial-gradient(ellipse at 15% 110%,#c28d742e,transparent 65%),linear-gradient(125deg,#282138,#34304e 65%,#29283d);border:1px solid #ffffff30;box-shadow:0 15px 35px #3228401c,inset 0 1px 0 #ffffff18;padding:34px 38px}
.shell .hero h2{font-family:Georgia,serif;font-weight:500;font-size:32px;line-height:1.2;letter-spacing:-.7px}.shell .hero .eyebrow{color:#c6b5ef}.shell .hero p{color:#d5ccdf}.shell .hero-art{filter:drop-shadow(0 0 28px #b39ce955)}
.shell .panel,.shell .business-card,.shell .stat{background:linear-gradient(145deg,#fffffff2,#fcfaffd9);border:1px solid #ffffff;box-shadow:0 8px 26px #3f31500a,0 1px 3px #3f315009; border-radius:20px}
.shell .stat{position:relative;overflow:hidden;background:radial-gradient(ellipse at 100% 0%,#e5ddff88,transparent 75%),linear-gradient(145deg,#fff,#fcfaff)}
.shell .stat:nth-child(2){background:radial-gradient(ellipse at 100% 0%,#d8eee888,transparent 75%),linear-gradient(145deg,#fff,#f8fcfb)}
.shell .stat:nth-child(3){background:radial-gradient(ellipse at 100% 0%,#f7dfce88,transparent 75%),linear-gradient(145deg,#fff,#fffbf8)}
.shell .stat:nth-child(4){background:radial-gradient(ellipse at 100% 0%,#dce6fb88,transparent 75%),linear-gradient(145deg,#fff,#f9fbff)}
.shell .stat-icon{border:1px solid #ffffff;background:#e7defb;color:#674ca2;min-width:30px;text-align:center}.shell .stat:nth-child(2) .stat-icon{background:#ddefe8;color:#377463}.shell .stat:nth-child(3) .stat-icon{background:#f7e5d8;color:#a16c43}.shell .stat:nth-child(4) .stat-icon{background:#e3eafa;color:#506ba8}
.shell .business-card:hover{border-color:#d4c7f0;box-shadow:0 14px 34px #3f315015}.shell .business-icon{border:1px solid #fff;box-shadow:0 5px 14px #68528916;background:linear-gradient(140deg,#ded2ff,#fff0e4)}
.shell .btn{border-color:#dfd9e9;background:linear-gradient(145deg,#fff,#f9f6fc);box-shadow:0 3px 8px #38274c08;transition:background .18s,box-shadow .18s}.shell .btn:hover{background:#f0eafb;border-color:#c5b3e3;box-shadow:0 5px 12px #38274c12}.shell .btn.primary{background:linear-gradient(120deg,#6951ef,#5140d8);border-color:#6450df;color:#fff;box-shadow:0 6px 16px #5943cf26,inset 0 1px 0 #ffffff25}.shell .btn.primary:hover{background:linear-gradient(120deg,#5c42e3,#4735c6)}.shell .btn.danger{background:#fff1f4;color:#a72d4a}
.shell input,.shell textarea,.shell select{background:#fffdfef0;border-color:#dcd5e7;box-shadow:inset 0 2px 4px #34234503,0 3px 10px #34234504}.shell input:focus,.shell textarea:focus,.shell select:focus{outline:2px solid #9078ce;box-shadow:0 0 0 5px #957fc414}
.shell .filters{background:#e4dfee;border:1px solid #ffffffb0;padding:5px;border-radius:13px}.shell .filter.active{background:#fffdfd;box-shadow:0 3px 9px #3c285414;border-radius:9px}.shell .filter:hover{color:#514078}
.shell th{background:#f4f0f8;color:#706482;font-weight:600}.shell th:first-child{border-radius:10px 0 0 10px}.shell th:last-child{border-radius:0 10px 10px 0}.shell tbody tr:hover{background:#f6f2fb80}.shell .product-mini{flex-shrink:0;box-shadow:0 3px 10px #41325512}
.shell .attention>div{background:linear-gradient(130deg,#f0eaf8,#faf6f2);border:1px solid #ffffff;border-radius:14px;padding:18px}.shell .attention>div:nth-child(2){background:linear-gradient(130deg,#edf3f1,#f7f7fa)}.shell .progress{background:#e9e1f4;height:8px}.shell .progress span{background:linear-gradient(90deg,#7961e9,#b39bea)}.shell .checkmark{flex-shrink:0;border:1px solid #fff;box-shadow:0 2px 6px #3c285408}
body:not(.store-mode) dialog{background:radial-gradient(ellipse at 100% 0%,#ebe2f970,transparent 55%),#fffcff;border:1px solid #fff;box-shadow:0 30px 100px #21162f50}body:not(.store-mode) dialog::backdrop{background:#1f19265e;backdrop-filter:blur(7px)}
@media(max-width:700px){.shell .sidebar{border:1px solid #ffffff20;box-shadow:0 -8px 30px #29233f20;height:80px;padding:8px 7px}.shell .nav{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.shell .nav::-webkit-scrollbar{display:none}.shell .nav a{flex:1 0 60px;font-size:10px;padding:9px 5px;min-height:60px}.shell .content{padding-bottom:110px}.shell .hero{padding:26px;gap:12px}.shell .hero h2{font-size:26px}.shell .hero-art{min-width:75px}.shell .pagehead>div:first-child{flex-basis:100%;min-width:0}.shell .stat{padding:16px 13px}.shell .stat strong{font-size:24px;overflow-wrap:anywhere}.shell .stat-label{align-items:center}.shell .topbar{padding:0 18px}.shell .breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell .topbar>.row{flex-shrink:0}.shell .panel{padding:18px}.shell .hero .eyebrow{font-size:9px;letter-spacing:1.5px}}

body[data-workspace-theme=dark]:not(.store-mode) dialog{background:radial-gradient(ellipse at 100% 0%,#61477a35,transparent 55%),#282230;border-color:#ffffff20;color:var(--ink)}
.catalog-items{display:grid;gap:20px}.catalog-items-cards{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.catalog-item{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--surface)}.catalog-item-photo{aspect-ratio:4/3;background:linear-gradient(145deg,#dfd4f430,#ebd7c630);display:grid;place-items:center;overflow:hidden}.catalog-item-photo img{width:100%;height:100%;object-fit:cover}.catalog-item-photo>span{font-size:56px}.catalog-item-info{padding:18px}.catalog-item-info h2{font-size:17px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.catalog-item-meta{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:14px 0}.catalog-item-actions{display:flex;gap:8px;padding:0 18px 18px;flex-wrap:wrap}.catalog-items-list .catalog-item{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;padding:14px;gap:18px}.catalog-items-list .catalog-item-photo{aspect-ratio:1;border-radius:12px}.catalog-items-list .catalog-item-info{padding:0}.catalog-items-list .catalog-item-actions{padding:0}.catalog-items-list .catalog-item-meta{justify-content:flex-start;margin:8px 0}.catalog-layout{flex-wrap:wrap}.catalog-layout .filter{min-height:36px}@media(max-width:700px){.catalog-items-cards{grid-template-columns:minmax(0,1fr)}.catalog-items-list .catalog-item{grid-template-columns:72px minmax(0,1fr);gap:12px}.catalog-items-list .catalog-item-actions{grid-column:2}.catalog-item-info h2{font-size:16px}.catalog-result{gap:12px}.catalog-item-meta{align-items:flex-start}}
.product-extra{border:1px solid var(--line);border-radius:12px;padding:14px}.product-extra summary{cursor:pointer;font-weight:600;font-size:13px}.product-extra[open]{display:grid;gap:16px}.product-extra .stack{margin:14px 0}.product-extra .form-note{margin:12px 0}
.catalog-filter-disclosure{margin:0 0 20px;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--surface)}.catalog-filter-disclosure>summary{cursor:pointer;font-size:13px;font-weight:600}.catalog-filter-sets{padding-top:16px}.catalog-filter-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.catalog-active{margin-top:16px}.catalog-filter-sets .filters{flex-wrap:wrap}@media(max-width:700px){.catalog-filter-fields{grid-template-columns:minmax(0,1fr)}.catalog-filter-sets>.row{align-items:flex-start}}
.catalog-bulk{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.catalog-card-selection{display:flex;align-items:center;gap:8px;padding:12px 16px}
.catalog-model-name{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;padding:4px 0;cursor:pointer;border-radius:4px;display:inline-block}.catalog-model-name:hover{color:var(--purple);text-decoration:underline;text-underline-offset:3px}body[data-workspace-theme=dark] .catalog-model-name:hover{color:#c9b7ff}.catalog-model-name:focus-visible{outline:2px solid #9078ce;outline-offset:4px}
.filter-reorder-item{border:1px dashed #9780bd;border-radius:12px;padding:10px;cursor:grab;background:#9779c410}.filter-order-controls{display:flex;justify-content:space-between;gap:8px}.filter-order-controls .iconbtn{min-width:44px;min-height:36px;padding:6px}
.inventory-card-counts{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px;font-size:11px;color:var(--muted)}.inventory-card-counts strong{display:block;color:var(--ink);font-size:20px;margin-top:4px;font-variant-numeric:tabular-nums}.catalog-item-info .sub{overflow-wrap:anywhere}
.platform-trend{height:180px;display:flex;gap:6px;align-items:stretch;margin-top:24px}.platform-trend-day{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:100%;gap:8px}.platform-trend-day>span{width:100%;border-radius:5px 5px 0 0;background:linear-gradient(#b59aea,#6850db);min-height:2px}.platform-trend-day small{font-size:9px;color:var(--muted)}.platform-chart-row{margin:20px 0}.platform-chart-row .progress{margin:10px 0}@media(max-width:700px){.platform-trend{gap:3px}.platform-trend-day:nth-child(even) small{visibility:hidden}}
.nav-count{margin-left:auto;min-width:23px;padding:3px 6px;border-radius:7px;background:#ffffff20;color:#fff;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}@media(max-width:700px){.nav-count{margin:0;position:absolute;right:3px;top:2px}.nav a{position:relative}}

/* Connection applications: predictable columns and readable long messages. */
.leads-table{table-layout:fixed;width:100%;min-width:880px}.leads-table .lead-date{width:10%}.leads-table .lead-business{width:17%}.leads-table .lead-contact{width:18%}.leads-table .lead-message{width:38%}.leads-table .lead-status{width:17%}.leads-table th,.leads-table td{padding:18px 16px;text-align:left;vertical-align:top;white-space:normal}.leads-table th{padding-top:14px;padding-bottom:14px}.leads-table td{line-height:1.5;overflow-wrap:anywhere}.leads-table td:first-child{font-variant-numeric:tabular-nums;font-size:12px}.leads-table strong,.leads-table .sub{display:block}.leads-table .sub{margin-top:5px;white-space:normal;line-height:1.55}.lead-message-content{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.lead-message-content .sub{margin:0}.lead-message-content .btn{margin-top:8px;flex-shrink:0}.leads-table select{width:100%;min-width:0;margin:0;min-height:44px}
.leads-table .lead-date{width:12%}.leads-table .lead-business{width:20%}.leads-table .lead-contact{width:20%}.leads-table .lead-message{width:31%}.leads-table td:first-child{white-space:nowrap}

.qr-editor{display:grid;grid-template-columns:1fr 1fr;gap:24px}.qr-preview{position:sticky;top:0;align-self:start;padding:16px;border-radius:18px;background:#eeeef3}.qr-preview img{display:block;width:100%;height:auto}.qr-controls .row{flex-wrap:wrap}.qr-controls input[type=color]{width:100%;min-height:42px}@media(max-width:700px){.qr-editor{grid-template-columns:1fr}.qr-preview{position:static;grid-row:1}}
dialog:has(.qr-editor){width:min(1000px,94vw);max-width:94vw}.qr-preview{min-width:0}.qr-controls{min-width:0}
.qr-type-settings{padding:14px;border:1px solid var(--border,#ddd);border-radius:14px}.qr-type-settings summary{cursor:pointer;font-weight:600}.qr-type-settings[open] summary{margin-bottom:16px}
.qr-controls label[hidden]{display:none!important}
.qr-settings-group{border-bottom:1px solid var(--border,#ddd);padding:0 0 16px}.qr-settings-group>summary{cursor:pointer;font-size:16px;font-weight:650;list-style:none;padding:8px 0}.qr-settings-group>summary:after{content:"+";float:right;font-size:20px}.qr-settings-group[open]>summary:after{content:"−"}.qr-settings-group>summary span{display:block;font-size:12px;font-weight:400;opacity:.65;margin-top:5px}.qr-group-body{margin-top:18px}.qr-group-body:empty{display:none}.qr-group-body .grid2:empty{display:none}.qr-controls>.grid2:empty{display:none}.qr-controls>label[hidden]{display:none!important}.qr-controls label[hidden]{display:none!important}
.warehouse-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.warehouse-process-card{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--border,#ddd);border-radius:18px;background:var(--surface);text-decoration:none;color:inherit;transition:transform .15s}.warehouse-process-card:hover{transform:translateY(-3px);border-color:#7566e8}.warehouse-process-card strong{font-size:19px}.warehouse-process-card span{font-size:13px;opacity:.7;line-height:1.5}.warehouse-process-card b{align-self:flex-end}#warehouse-process{max-width:900px}#warehouse-process h2{font-size:18px;margin-top:14px}@media(max-width:1000px){.warehouse-process-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.warehouse-process-grid{grid-template-columns:1fr}}
.doc-product-preview{display:flex;gap:20px;align-items:center;padding:18px;border:1px solid var(--border,#ddd);border-radius:16px}.doc-product-preview img{width:120px;height:150px;object-fit:contain;border-radius:12px}#doc-preview:empty{display:none}[data-doc-qty]{width:100px}.warehouse-process-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.doc-line-product{display:flex;align-items:center;gap:12px;min-width:240px}.doc-line-product img,.doc-line-placeholder{width:48px;height:60px;border-radius:8px;object-fit:contain;background:rgba(128,128,128,.08);flex-shrink:0}.doc-line-placeholder{display:flex;align-items:center;justify-content:center;font-size:24px;opacity:.5}

.mobile-menu-toggle,.mobile-menu-backdrop{display:none}
@media(max-width:700px){
.shell{overflow-x:clip}.mobile-menu-toggle{display:block;min-width:44px;min-height:44px;font-size:22px}.shell .sidebar{top:0;bottom:auto;left:0;width:min(86vw,310px);height:100dvh;border-radius:0;padding:24px 16px;z-index:102;transform:translateX(-100%);overflow-y:auto;transition:transform .18s}.shell.menu-open .sidebar{transform:translateX(0)}.shell .sidebar .brand,.shell .sidebar .scope,.shell .sidebar .sidebar-bottom{display:block}.shell .sidebar .nav{display:grid;gap:6px}.shell .sidebar .nav a{flex-direction:row;justify-content:flex-start;font-size:14px;padding:14px;min-height:48px}.shell .sidebar-bottom{margin-top:24px}.mobile-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;border:0;border-radius:0;background:#0008;z-index:101}.shell .topbar{position:sticky;top:0;z-index:20;background:var(--surface);padding:0 12px;gap:8px}.topbar .breadcrumb{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar>.row{gap:2px}.topbar .avatar{display:none}.shell .content{padding:20px 12px max(28px,env(safe-area-inset-bottom))}.content .panel{padding:16px;min-width:0}.content .grid2,.content .split{grid-template-columns:minmax(0,1fr)}.content input,.content select,.content textarea,dialog input,dialog select,dialog textarea{font-size:16px;min-height:48px}.content .btn.small{min-height:44px}.content .row{flex-wrap:wrap}.content .table-scroll{overflow:visible}.content table,.content tbody,.content tr,.content td{display:block;width:100%;min-width:0}.content thead{display:none}.content tbody{display:grid;gap:12px}.content tr{border:1px solid var(--line);border-radius:14px;padding:12px}.content td{padding:8px 0;border-bottom:0;overflow-wrap:anywhere}.content td[data-label]:before{content:attr(data-label);display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.content td[data-label=""]:before{display:none}.content td input{max-width:100%}.doc-product-preview{flex-wrap:wrap}.doc-line-product{align-items:flex-start}.doc-line-product>div{min-width:0}.content .toolbar>*{max-width:100%}.content .filters{flex-wrap:wrap;overflow:visible}.content .warehouse-process-card{padding:18px}.content h1{overflow-wrap:anywhere}.content .pagehead{flex-direction:column;align-items:stretch}dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat strong{overflow-wrap:anywhere;font-size:23px}.catalog-summary{padding:14px;gap:12px}
}
@media(prefers-reduced-motion:reduce){.shell .sidebar{transition:none}}
