@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--page:#f7f8fc;--card:#fff;--ink:#23243d;--muted:#8287a0;--border:#e9eaf2;--purple:#7054eb;--purple-dark:#5035cd;--purple-light:#f0ecff;--mint:#a9ebc7;--dark:#22213d;--orange:#ffbe89;--radius:17px;--shadow:0 8px 35px rgba(37,42,88,.04)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:var(--page)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}p{line-height:1.5}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #a698ff;outline-offset:2px}[hidden]{display:none!important}
.app-shell{display:flex;min-height:100vh}.sidebar{width:262px;flex:0 0 262px;background:#252440;color:#fff;padding:30px 17px 17px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;z-index:30}.brand{display:flex;gap:11px;align-items:center;padding:0 11px 27px}.brand-mark{height:42px;width:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#a08afc,#7453f0);position:relative;font-family:Manrope,sans-serif;font-size:25px;font-weight:800}.brand-mark i{position:absolute;right:-4px;bottom:-3px;width:15px;height:15px;border:3px solid #252440;border-radius:50%;background:#bbf4d4}.brand-words{display:flex;flex-direction:column}.brand-words strong{font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-1px}.brand-words strong span{color:#ad9cff}.brand-words small{letter-spacing:3.1px;font-size:9px;color:#a09fbb;font-weight:800}.workspace-caption{font-size:10px;font-weight:800;letter-spacing:1.65px;color:#82809f;padding:8px 13px 13px}.workspace{display:flex;align-items:center;gap:10px;padding:12px 10px;background:#353453;border:1px solid #474560;border-radius:13px;margin-bottom:27px}.workspace-avatar{height:35px;min-width:35px;display:grid;place-items:center;background:#f9d9bf;color:#69412c;border-radius:11px;font-weight:800;font-size:12px}.workspace-name{min-width:0;display:flex;flex-direction:column;gap:4px}.workspace-name b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-name small{font-size:10px;color:#a7a5be}.workspace-chev{margin-left:auto;color:#bdbbd7}.nav{display:grid;gap:4px}.nav button,.settings-nav{height:45px;border:0;background:none;color:#b8b7ce;width:100%;display:flex;align-items:center;text-align:left;gap:12px;padding:0 14px;border-radius:10px;font-size:13px;font-weight:600;transition:.18s}.nav button:hover,.settings-nav:hover{background:#31304b;color:white}.nav button.active,.settings-nav.active{background:#6e55e5;color:#fff;box-shadow:0 6px 18px #15142c25}.nav-ico{width:20px;text-align:center;font-size:20px;font-weight:500}.nav-counter{margin-left:auto;background:#eddecf;color:#5a4541;padding:2px 7px;font-size:10px;border-radius:6px}.sidebar-bottom{margin-top:auto}.sidebar-divider{border-top:1px solid #41405b;margin:0 8px 13px}.help-box{background:linear-gradient(147deg,#49436e,#393651);border:1px solid #5b577a;border-radius:15px;padding:17px;margin:21px 3px 21px}.help-icon{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#7564b8;color:#faf7ff;margin-bottom:11px;font-size:22px}.help-box b{font-size:13px;line-height:1.4;display:block}.help-box p{font-size:11px;line-height:1.6;color:#bfc0d9;margin:7px 0 12px}.help-box button{border:0;background:#faf7ff;color:#433a6c;padding:9px 10px;font-size:11px;font-weight:800;border-radius:8px;width:100%;text-align:left}.help-box button span{float:right}.user-chip{display:flex;gap:11px;align-items:center;padding:0 7px}.user-avatar,.top-avatar{width:34px;height:34px;border-radius:50%;background:#ebcda9;color:#794a2d;display:grid;place-items:center;font-size:11px;font-weight:800}.user-chip>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.user-chip strong{font-size:11px}.user-chip small{font-size:10px;color:#9d9cbb}.user-chip>span{margin-left:auto}.main-column{min-width:0;flex:1}.topbar{height:77px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:#fff}.top-left,.top-actions,.breadcrumbs{display:flex;align-items:center;gap:12px}.breadcrumbs{font-size:12px;color:#9ba0b3;gap:12px}.breadcrumbs strong{color:#35364f}.crumb-sep{color:#d0d1db}.top-actions{gap:21px}.demo-chip{font-size:11px;font-weight:700;color:#69607f;background:#f4f0ff;padding:9px 13px;border-radius:25px}.demo-chip .dot{display:inline-block;width:7px;height:7px;background:#8a72f6;border-radius:50%;margin-right:7px}.icon-button,.mobile-menu,.mobile-x{border:0;background:none;font-size:23px;color:#777b96;width:29px;height:29px;display:grid;place-items:center}.mobile-menu,.mobile-x{display:none}.top-avatar{width:33px;height:33px}.footer-note{text-align:center;color:#a6aabd;font-size:11px;padding:15px 10px 25px}
#app-main{max-width:1520px;padding:34px 41px 55px;margin:0 auto;min-height:calc(100vh - 140px)}.page-title{font:800 25px/1.3 Manrope,'DM Sans',sans-serif;letter-spacing:-.8px;margin:0}.subtitle{color:var(--muted);margin:6px 0 0;font-size:13px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.heading-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border-radius:10px;border:1px solid #e4e4ed;background:white;color:#4d5065;font-weight:750;font-size:12px;min-height:40px;box-shadow:0 2px 8px #00000005}.btn:hover{background:#f8f7ff}.btn.primary{color:#fff;background:var(--purple);border-color:var(--purple);box-shadow:0 7px 15px #6d53df33}.btn.primary:hover{background:var(--purple-dark)}.btn.pale{background:#f1edff;color:#654bd7;border-color:transparent}.btn.sm{padding:7px 10px;min-height:31px;font-size:11px;border-radius:8px}.btn.text{border:0;background:none;color:#6b54ce;box-shadow:none;padding:6px}.btn.danger{color:#b34350;border-color:#f8d7d7}.select,.search-input,input:not([type=checkbox]),select,textarea{background:#fff;border:1px solid #e0e2ec;border-radius:9px;padding:10px 12px;color:#383950;outline:0;max-width:100%;font-size:13px}.select:focus,.search-input:focus,input:focus,select:focus,textarea:focus{border-color:#8a75f3;box-shadow:0 0 0 3px #8b75f320}input[type=checkbox]{accent-color:#765bed}.search-input{min-width:215px}.search-input::placeholder{color:#acb0c2}
.hero{border-radius:20px;overflow:hidden;background:linear-gradient(111deg,#5d4bc5 1%,#765ce8 55%,#9378f7 100%);color:#fff;min-height:200px;display:flex;align-items:center;position:relative;padding:31px 35px;margin-bottom:26px;isolation:isolate}.hero:before{content:'';position:absolute;width:410px;height:410px;border:1px solid #ffffff36;border-radius:50%;right:-95px;top:-210px;box-shadow:0 0 0 70px #ffffff0c,0 0 0 135px #ffffff0a;z-index:-1}.hero:after{content:'◈';position:absolute;right:105px;top:39px;font-size:125px;transform:rotate(-15deg);opacity:.18;font-family:serif}.hero-main{max-width:480px}.hero .eyebrow{letter-spacing:1.8px;font-size:10px;font-weight:800;color:#dcd5ff}.hero h2{font:800 27px/1.25 Manrope,sans-serif;letter-spacing:-1px;margin:8px 0 8px}.hero p{font-size:12px;color:#e8e3ff;line-height:1.6;margin:0 0 18px}.hero .btn{background:#fff;color:#5d4bc5;border:0}.hero-stat{margin-left:auto;position:relative;z-index:1;border:1px solid #ffffff4d;background:#ffffff21;border-radius:17px;padding:19px 22px;width:172px;min-width:172px;backdrop-filter:blur(4px)}.hero-stat span{display:block;color:#eee9ff;font-size:11px}.hero-stat strong{font:800 28px/1.4 Manrope,sans-serif}.hero-stat small{font-size:11px;color:#f4eaff}.hero-stat i{color:#b9f5cd;font-style:normal}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:15px;padding:19px 19px 17px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-top small{font-weight:700;color:#7e8299;font-size:11px}.stat-icon{font-size:19px;width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#f0edff;color:#6a54d9}.stat-icon.mint{background:#e5f9ee;color:#3d9869}.stat-icon.peach{background:#fff1e5;color:#e79a57}.stat-icon.blue{background:#eaf3ff;color:#598cbd}.stat-card strong{font:800 25px Manrope,sans-serif;display:block;margin:10px 0 3px}.stat-bottom{color:#9296aa;font-size:10px}.stat-bottom b{color:#53a378}
.main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:20px}.panel{background:#fff;border:1px solid var(--border);border-radius:16px;padding:21px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.panel h3{font:800 15px Manrope,sans-serif;margin:0;letter-spacing:-.3px}.panel-sub{font-size:11px;color:#9296a9;margin:4px 0 0}.panel-head button{color:#785cdb;font-size:11px;font-weight:800;border:0;background:none}.panel-head button:hover{text-decoration:underline}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th{font-size:10px;color:#a2a5b9;font-weight:800;text-transform:uppercase;letter-spacing:.6px;border-bottom:1px solid #ebebf3;padding:12px 10px;text-align:left;white-space:nowrap}.data-table td{padding:16px 10px;border-bottom:1px solid #f1f1f6;vertical-align:middle}.data-table tr:last-child td{border:0}.data-table strong{font-size:12px;color:#323650}.data-table small{color:#9ba0b2;font-size:10px;display:block;margin-top:5px}.data-table .right{text-align:right}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:750;border-radius:18px;padding:6px 9px;white-space:nowrap;background:#f2f1f6;color:#656982}.badge:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.badge.confirmed{background:#ecf3ff;color:#5c7bba}.badge.active{background:#e4f8eb;color:#328b5d}.badge.returned,.badge.paid{background:#e5f7ee;color:#328e62}.badge.draft,.badge.pending{background:#fff2e3;color:#c58a4b}.badge.cancelled{background:#f5e8ec;color:#aa5263}.badge.faint{background:#f1effa;color:#8575c7}.item-avatar{width:39px;height:39px;min-width:39px;display:grid;place-items:center;border-radius:12px;background:#efedfe;color:#7255d7;font-size:19px}.item-avatar.blue{background:#edf0ff;color:#5c77d7}.item-avatar.violet{background:#f4eafd;color:#9265c6}.item-avatar.cyan{background:#e5f6ff;color:#3a8eae}.item-avatar.amber{background:#fff0df;color:#d1944d}.item-avatar.emerald{background:#e4f8ec;color:#37936d}.item-avatar.pink{background:#ffebf2;color:#d06a92}.item-avatar.purple{background:#f2ebff;color:#7855ba}.item-inline{display:flex;gap:11px;align-items:center;min-width:170px}.item-inline strong{display:block}.mini-list{display:grid;gap:10px}.mini-item{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #f0f0f7;border-radius:11px}.mini-item .info{flex:1;min-width:0}.mini-item strong{display:block;font-size:11px}.mini-item span{font-size:10px;color:#9699ab}.mini-item b{font-size:11px;color:#42465c}.note-box{background:#f6f3ff;border:1px solid #e9e3ff;padding:15px;border-radius:13px;font-size:12px;color:#696188;line-height:1.6}.note-box strong{display:block;color:#6352a9;margin-bottom:3px}.muted{color:#9ca0b3}.section-gap{height:20px}
.inventory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:19px;min-width:0;box-shadow:var(--shadow);display:flex;flex-direction:column}.product-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.product-card .item-avatar{height:54px;width:54px;font-size:28px;border-radius:14px}.product-card h3{font:800 14px Manrope,sans-serif;margin:15px 0 5px}.product-card p{font-size:11px;margin:0;color:#9295aa}.product-meta{display:flex;align-items:center;justify-content:space-between;padding:15px 0;margin-top:auto;border-bottom:1px solid #f1f0f7;border-top:1px solid #f1f0f7;margin-bottom:12px;gap:8px}.product-meta small{display:block;color:#9294aa;font-size:10px}.product-meta strong{font-size:14px;display:block;margin-top:4px}.product-foot{display:flex;justify-content:space-between;align-items:center}.pill{display:inline-block;padding:5px 8px;border-radius:7px;background:#f3f0ff;color:#795fce;font-size:10px;font-weight:800}.filters-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:21px;flex-wrap:wrap}.empty{padding:50px 25px;text-align:center;border:1px dashed #d8d9e5;border-radius:15px;background:#fff}.empty-emoji{font-size:35px}.empty h3{font-size:17px;margin:10px 0 5px}.empty p{color:var(--muted);font-size:13px}.empty .btn{margin-top:12px}.calendar-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:19px}.calendar-day{background:#fff;border:1px solid var(--border);border-radius:12px;text-align:center;padding:13px 3px;min-width:0}.calendar-day.active{background:#efeaff;border-color:#bbb0ff}.calendar-day b{display:block;font:800 17px Manrope,sans-serif;margin:4px 0}.calendar-day small{color:#9b9db0;font-size:10px;text-transform:uppercase}.calendar-day em{font-style:normal;font-size:10px;color:#8b75e2}.steps{display:grid;gap:11px}.step{border:1px solid #ededf4;border-radius:12px;padding:13px 14px;display:flex;gap:13px;align-items:center}.step-num{width:30px;height:30px;min-width:30px;display:grid;place-items:center;background:#f0edff;color:#755dde;border-radius:10px;font-weight:800;font-size:12px}.step>div:nth-child(2){flex:1}.step b{display:block;font-size:12px}.step small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.status-caption{font-size:12px;color:#777c95;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:800;color:#666980}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%}.form-grid textarea{resize:vertical;min-height:80px}.modal{border:0;border-radius:20px;padding:0;box-shadow:0 30px 90px #0b0c2660;max-height:min(90vh,950px);width:min(96vw,620px)}.modal::backdrop{background:#15142c9e}.modal-content{padding:26px}.modal-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:20px}.modal-head h2{font:800 20px Manrope,sans-serif;margin:0}.modal-head p{margin:5px 0 0;font-size:12px;color:#9498aa}.close-btn{background:#f3f2f7;border:0;font-size:20px;color:#6b6d86;height:32px;width:32px;border-radius:9px}.modal-foot{margin-top:25px;display:flex;justify-content:flex-end;gap:9px}.tip{background:#f6f3ff;border-radius:9px;padding:11px;color:#746397;font-size:11px;line-height:1.5;margin-top:10px}.form-line{border:1px solid #eceaf5;border-radius:11px;padding:11px;margin-bottom:10px}.toast{padding:12px 17px;background:#252440;color:#fff;border-radius:10px;box-shadow:0 7px 25px #0003;font-size:12px;min-width:220px;max-width:360px}.toast.error{background:#b84457}.toasts{position:fixed;z-index:90;right:20px;bottom:20px;display:grid;gap:8px}.customer-initial{background:#eae5fb;color:#755cc9;border-radius:12px;display:grid;place-items:center;font-size:11px;font-weight:800;height:38px;width:38px;flex:0 0 38px}.settings-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}.settings-card{padding:22px;border:1px solid var(--border);border-radius:15px;background:white}.settings-card h3{font:800 14px Manrope;margin:0 0 7px}.settings-card p{color:#999cad;font-size:12px;margin:0 0 15px}.settings-card input,.settings-card select{width:100%;margin-bottom:11px}.segments{display:grid;grid-template-columns:1fr 1fr;gap:9px}.segment-option{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #e6e6f1;background:white;border-radius:9px;color:#60637b;font-size:11px;font-weight:700;min-height:45px;text-align:left}.segment-option.active{border-color:#9b88ee;background:#f4f0ff;color:#654ed4}.tiny{font-size:10px;color:#a2a4b7}.callout-warning{padding:12px;background:#fff7e7;border:1px solid #f7dfad;border-radius:10px;color:#8c692c;font-size:12px;margin-bottom:15px}.legend{display:flex;gap:10px;flex-wrap:wrap;color:#8f93a7;font-size:10px}.legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#a992f2;margin-right:5px}.summary-block{background:#f4f2fd;border-radius:12px;padding:16px;display:flex;justify-content:space-between;gap:14px;margin-top:15px}.summary-block b{font:800 22px Manrope}.loading{padding:40px;color:#8e91a4}.mobile-menu{display:none}
@media(max-width:1250px){.sidebar{width:232px;flex-basis:232px}.topbar{padding:0 23px}#app-main{padding:28px 23px}.inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid{gap:10px}.stat-card{padding:15px}.main-grid{grid-template-columns:1.25fr 1fr}}
@media(max-width:890px){.sidebar{position:fixed;transform:translateX(-100%);transition:transform .25s ease;width:270px;top:0;left:0;bottom:0;box-shadow:8px 0 25px #0002}.sidebar.open{transform:translateX(0)}.mobile-menu,.mobile-x{display:grid}.mobile-x{margin-left:auto;color:#fff}.topbar{height:68px}.main-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-stat{display:none}.backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#10102490;z-index:20}}
@media(max-width:640px){#app-main{padding:22px 15px 30px}.topbar{padding:0 16px}.breadcrumbs{font-size:11px}.demo-chip{font-size:0;padding:9px}.demo-chip .dot{margin:0}.top-actions{gap:11px}.heading-row{align-items:flex-start;flex-direction:column;margin-bottom:16px}.heading-right{width:100%}.heading-right .btn{flex:1}.page-title{font-size:23px}.hero{padding:24px 23px;min-height:190px}.hero h2{font-size:23px}.hero:after{right:0;top:50px;font-size:90px}.stats-grid{gap:10px}.stat-card{padding:12px}.stat-card strong{font-size:22px}.stat-top small{font-size:10px}.stat-icon{width:31px;height:31px;font-size:15px}.panel{padding:14px}.inventory-grid{grid-template-columns:1fr}.filters-bar{align-items:stretch}.search-input{width:100%;min-width:0}.calendar-strip{gap:4px}.calendar-day{padding:10px 0}.calendar-day b{font-size:13px}.calendar-day small,.calendar-day em{font-size:8px}.settings-grid,.form-grid{grid-template-columns:1fr}.segments{grid-template-columns:1fr 1fr}.form-grid .full{grid-column:auto}.modal-content{padding:20px}.top-avatar{width:30px;height:30px}.user-chip{margin-bottom:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
