:root{--ink:#172338;--muted:#738096;--bg:#f5f7fa;--line:#e5eaf0;--green:#07966c;--green-dark:#087c59;--sidebar:#111d2d;--white:#fff;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8edcc6;outline-offset:2px}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;background:var(--sidebar);color:#a8b4c5;padding:26px 16px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:23px;font-weight:800;letter-spacing:-1.15px;padding:0 10px;margin-bottom:40px}.brandmark{width:36px;height:36px;border-radius:11px;background:#14b98a;display:grid;place-items:center;color:white;box-shadow:0 4px 16px #00b48625}.brand small{letter-spacing:.1px;font-size:11px;color:#85a0bc;display:block;text-transform:uppercase;font-weight:600;margin-top:2px}.nav-title{font-size:10.5px;letter-spacing:1.35px;text-transform:uppercase;color:#758800;color:#70839c;margin:23px 12px 8px;font-weight:700}.nav{display:flex;flex-direction:column;gap:4px}.nav button{background:none;border:0;color:#afbdcb;text-align:left;padding:12px 13px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:550;transition:.2s}.nav button:hover{background:#203247;color:white}.nav button.active{background:#173d39;color:#5de3bc}.nav button.active svg{stroke:#5de3bc}.side-bottom{margin-top:auto}.side-note{padding:15px 12px;border:1px solid #2e4053;border-radius:12px;font-size:12px;line-height:1.55;color:#aabbd0;background:#172638}.side-note strong{color:#eef7f5;display:block;margin-bottom:5px}.side-footer{font-size:11px;color:#6d8399;margin:15px 9px 0}.shell{margin-left:246px}.topbar{height:72px;position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;gap:12px}.crumb{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:10px}.crumb b{color:var(--ink);font-weight:650}.top-actions{display:flex;align-items:center;gap:15px}.badge{display:inline-flex;gap:6px;align-items:center;border-radius:20px;padding:7px 10px;font-size:11px;font-weight:700;background:#fff3db;color:#9a650a;white-space:nowrap}.dot{width:7px;height:7px;border-radius:50%;background:#d69b30}.avatar{background:#dff5ef;color:#087b59;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-size:13px;font-weight:750}.account{display:flex;gap:9px;align-items:center;border:0;background:transparent;color:var(--ink);text-align:left;padding:0}.account small{display:block;color:var(--muted);font-size:11px}.button-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#516074}.mobile-toggle{display:none}.content{max-width:1540px;margin:0 auto;padding:29px 30px 48px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:24px}.eyebrow{font-size:12px;color:var(--green);font-weight:700;letter-spacing:.6px;text-transform:uppercase;margin-bottom:8px}.intro h1{font-size:29px;font-weight:760;letter-spacing:-.8px;margin:0 0 6px}.intro p,.subtle{margin:0;color:var(--muted);line-height:1.6;font-size:14px}.actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:0;border-radius:9px;background:var(--green);color:white;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:650;font-size:13px;padding:11px 15px;white-space:nowrap;min-height:41px}.btn:hover{background:var(--green-dark)}.btn.outline{color:#425168;background:#fff;border:1px solid var(--line)}.btn.outline:hover{background:#f2f6f5}.btn.danger{background:#fef0f1;color:#aa2436}.btn.small{padding:7px 10px;min-height:32px;font-size:12px}.period{display:flex;gap:4px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:4px}.period button{border:none;background:none;color:#738096;padding:7px 10px;font-size:12px;border-radius:6px}.period button.active{background:#e1f7ef;color:#08795a;font-weight:700}.grid{display:grid;gap:16px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 8px #14203305;min-width:0}.metric{padding:19px 17px}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#647188;font-size:12px;font-weight:600}.metric-icon{color:#0b9871;border-radius:10px;background:#e5f7f1;width:35px;height:35px;display:grid;place-items:center}.metric:nth-child(2) .metric-icon{background:#e9f0fc;color:#4b75c6}.metric:nth-child(3) .metric-icon{background:#fff4df;color:#c58f2b}.metric:nth-child(4) .metric-icon{background:#f1eafa;color:#875db5}.metric-val{font-size:26px;font-weight:750;letter-spacing:-.8px;margin:15px 0 7px;white-space:nowrap}.metric-foot{font-size:11px;color:#8994a4}.metric-foot .positive{color:#07966c;font-weight:700}.chart-grid{grid-template-columns:minmax(0,2fr) minmax(250px,1fr);margin-bottom:20px}.panel{padding:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}.panel-title h2{font-size:16px;font-weight:730;margin:0 0 5px}.panel-title p{font-size:12px;margin:0;color:var(--muted)}.chart{width:100%;min-height:190px;display:block}.chart-summary{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.legend-dot{width:9px;height:9px;background:var(--green);border-radius:50%}.balance-card{background:linear-gradient(135deg,#132c3b,#142335 60%,#17463e);color:white;border:0;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:23px}.balance-card:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;border:1px solid #ffffff15;right:-110px;top:-75px;box-shadow:0 0 0 30px #ffffff08,0 0 0 60px #ffffff05;pointer-events:none}.balance-label{font-size:13px;color:#b9c8d4;display:flex;gap:7px;align-items:center}.balance-value{font-size:30px;font-weight:750;letter-spacing:-.8px;margin:14px 0 24px}.balance-row{display:flex;justify-content:space-between;font-size:12px;color:#c3d0dd;margin:8px 0}.balance-row b{color:white}.balance-card .btn{margin-top:auto;z-index:1;background:#e9fcf5;color:#077a58}.balance-card .btn:hover{background:#baf2df}.table-card{overflow:hidden}.table-header{padding:21px 20px 17px;display:flex;justify-content:space-between;align-items:center;gap:12px}.table-header h2{font-size:16px;margin:0 0 5px}.table-header p{font-size:12px;margin:0;color:var(--muted)}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.table th{background:#f8fafc;font-size:11px;color:#748298;letter-spacing:.2px;padding:12px 17px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.table td{padding:14px 17px;border-bottom:1px solid #edf0f4;font-size:13px}.table tr:last-child td{border-bottom:0}.id{color:#64748b;font-size:12px}.customer{font-weight:650}.secondary{display:block;color:#8491a4;font-size:11px;margin-top:4px}.status{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:5px 8px;border-radius:20px;font-weight:700}.status:before{content:"";width:6px;height:6px;border-radius:100%;background:currentColor}.status.approved{color:#0a8964;background:#e5f7ef}.status.pending{color:#a97620;background:#fff3d8}.status.refunded,.status.inactive{color:#9a5063;background:#fce8ed}.status.active{color:#087b59;background:#e2f7ed}.filter{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-size:13px;font-weight:650}.input,input,select,textarea{border:1px solid #dce3eb;border-radius:9px;padding:11px 12px;background:white;color:#203049;width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#9ba6b3}.filter input{max-width:300px}.filter select{width:auto;max-width:200px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px}.product{padding:18px;display:flex;flex-direction:column;gap:13px}.product-art{height:102px;background:linear-gradient(135deg,#142c3c,#1f5a51);border-radius:11px;display:flex;align-items:center;justify-content:center;color:#9debd2;position:relative;overflow:hidden}.product-art:after{content:"";width:110px;height:110px;border:1px solid #ffffff2b;transform:rotate(45deg);position:absolute;right:-42px;top:-46px;border-radius:14px}.product h3{font-size:16px;margin:0}.product p{font-size:13px;color:var(--muted);margin:0;line-height:1.45;min-height:38px;overflow-wrap:anywhere}.product-line{display:flex;align-items:center;justify-content:space-between;gap:7px}.product-price{font-size:21px;font-weight:750}.product .actions{border-top:1px solid var(--line);padding-top:11px;margin-top:auto}.empty{text-align:center;padding:45px 18px;color:#76859a}.empty strong{display:block;font-size:16px;color:var(--ink);margin-bottom:5px}.config-grid{grid-template-columns:1fr 1fr}.note{padding:12px 14px;border:1px solid #d3e9e0;background:#edf9f4;border-radius:10px;color:#287456;font-size:13px;line-height:1.5;margin:12px 0}.warning{border-color:#f3e0b8;background:#fffbef;color:#906816}.modal-backdrop{position:fixed;inset:0;background:#12223685;display:flex;align-items:center;justify-content:center;z-index:100;padding:15px}.modal{background:white;border-radius:18px;width:min(100%,520px);max-height:92vh;overflow:auto;padding:24px;box-shadow:0 16px 80px #091e4260}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.modal-header h2{font-size:20px;margin:0}.close{border:0;background:#f0f3f7;color:#60718a;border-radius:8px;font-size:21px;width:33px;height:33px}.toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#17372d;color:#fff;border-radius:10px;padding:13px 18px;box-shadow:0 4px 25px #11291c30;font-size:13px;max-width:calc(100% - 44px)}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-left{background:linear-gradient(150deg,#13283a,#0b3934);color:white;padding:55px;display:flex;flex-direction:column;justify-content:space-between}.login-left .brand{padding:0}.login-left h1{font-size:clamp(32px,4vw,58px);letter-spacing:-2px;margin:0 0 15px}.login-left p{max-width:480px;color:#a6c0c6;line-height:1.7}.login-right{display:grid;place-items:center;padding:30px}.login-box{width:min(100%,390px)}.login-box h2{font-size:28px;margin:12px 0}.login-box p{margin:0 0 25px;color:var(--muted);line-height:1.6}.login-box .btn{width:100%}.checkout{max-width:960px;margin:30px auto;padding:22px}.checkout-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.checkout h1{font-size:28px;letter-spacing:-.7px;margin:12px 0}.payment-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.payment-methods label{border:1px solid var(--line);border-radius:10px;padding:14px;display:flex;gap:8px;align-items:center;font-weight:650}.payment-methods input{width:auto;accent-color:var(--green)}.checkout-total{border-top:1px solid var(--line);margin-top:22px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;font-weight:750;font-size:18px}.hidden{display:none!important}.loading{display:grid;place-items:center;min-height:100vh;color:#64748b}.error{color:#ae243d;background:#fff1f3;padding:12px;border-radius:8px;font-size:13px}.mobile-scrim{display:none}@media(max-width:1150px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:218px}.shell{margin-left:218px}.content{padding:26px 22px}.topbar{padding:0 22px}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.22s;width:246px}.sidebar.open{transform:translateX(0)}.mobile-scrim.open{display:block;position:fixed;inset:0;background:#111d2d70;z-index:25}.shell{margin-left:0}.mobile-toggle{display:grid}.topbar{height:63px;padding:0 14px}.crumb{font-size:12px}.crumb span,.account-info{display:none}.top-actions{gap:8px}.content{padding:22px 14px 32px}.intro{align-items:flex-start;flex-direction:column}.intro h1{font-size:25px}.metrics{gap:10px}.metric{padding:12px}.metric-val{font-size:20px;letter-spacing:-.7px}.metric-top{font-size:11px}.metric-icon{width:29px;height:29px}.chart-grid,.config-grid,.checkout-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr}.panel{padding:16px}.table-header{padding:16px}.login{grid-template-columns:1fr}.login-left{padding:25px;min-height:160px}.login-left .brand{margin:0 0 20px}.login-left h1{font-size:27px;letter-spacing:-.7px}.login-left p{display:none}.checkout{margin:0 auto;padding:14px}.badge{padding:6px 8px;font-size:10px}.period button{padding:7px 10px}}@media(max-width:360px){.metric-val{font-size:17px}.metric-top{flex-wrap:wrap}.metric-icon{display:none}.crumb{display:none}}
.brandmark{flex-shrink:0}.sidebar .brand{font-size:21px;gap:8px;padding:0 5px}.sidebar .brand small{font-size:10px}.sidebar .brandmark{width:34px;height:34px}
