:root{--ink:#182335;--muted:#7c8799;--line:#e6eaf0;--paper:#f5f7fb;--nav:#111827;--accent:#5364e6;--accent-soft:#eef0ff;--green:#158c69;--green-soft:#e8f6ef;--red:#c45250;--red-soft:#fdefec;--amber:#ac7b24;--amber-soft:#fff5dc;--radius:15px}
*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{margin:0;color:var(--ink);font:14px/1.5 "Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a2adff;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#8490ee;box-shadow:0 0 0 3px #5364e618}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:var(--nav);color:#fff;padding:30px 18px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:12px;align-items:center;padding:0 10px 32px;color:white}.brand-icon{display:flex;align-items:center;justify-content:center;width:42px;height:45px;background:var(--accent);border-radius:12px;box-shadow:0 6px 18px #0002}.brand-icon svg{width:25px;height:25px;stroke-width:1.8}.brand-copy{font-size:21px;line-height:1.15;font-weight:650;letter-spacing:-.7px}.brand-copy>span{color:#a5aeff}.brand-copy small{display:block;margin-top:7px;color:#8795ad;font-size:10px;font-weight:400;letter-spacing:.4px}.nav-heading{padding:0 14px;margin-bottom:13px;font-size:8.5px;letter-spacing:1.4px;color:#67778f;font-weight:700}nav{display:grid;gap:6px}nav button{display:flex;width:100%;align-items:center;gap:13px;border:0;border-radius:10px;padding:13px 14px;color:#a0acc0;background:transparent;text-align:left;font-size:13px;font-weight:500;transition:background .15s,color .15s}nav button:hover{background:#1c273b;color:white}nav button.active{color:#fff;background:#5364e6}nav button svg{width:20px;height:20px}nav button.active svg{stroke:#fff}.nav-counter{margin-left:auto;min-width:23px;text-align:center;border-radius:6px;background:#ffffff18;padding:1px 6px;font-size:10px;font-weight:600}.sidebar-bottom{margin-top:auto;padding:25px 8px 0}.local-note{display:flex;gap:9px;align-items:flex-start;font-size:10px;color:#c0cad9;margin:0 2px 19px}.local-note small{display:block;margin-top:4px;color:#687b93;font-size:9px}.status-dot{margin-top:5px;width:6px;height:6px;border-radius:50%;background:#54bf95;box-shadow:0 0 0 4px #54bf950d;flex:none}.sidebar-tool{border:0;display:flex;gap:10px;align-items:center;color:#8e9bb0;background:transparent;padding:10px 2px;font-size:11px;width:100%;text-align:left}.sidebar-tool svg{width:16px;height:16px}.sidebar-tool:hover{color:#fff}.shutdown-button{margin-top:4px}.app-main{margin-left:234px;min-height:100vh;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 34px 24px;background:#fff;border-bottom:1px solid var(--line)}.eyebrow{color:#8c96a6;font-size:9px;letter-spacing:1.5px;font-weight:650;margin-bottom:7px}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.2;font-weight:650;letter-spacing:-.7px}h2{font-size:21px;line-height:1.25;font-weight:650;letter-spacing:-.3px}h3{font-size:15px;line-height:1.35;font-weight:650}.header-actions{display:flex;align-items:center;gap:20px}.today-label{font-size:11px;color:var(--muted);white-space:nowrap}.button{border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;font-size:12px;line-height:1.3;font-weight:600;white-space:nowrap;transition:background .15s,box-shadow .15s}.button svg{width:17px;height:17px}.button.primary{background:var(--accent);color:#fff;box-shadow:0 4px 10px #5364e617}.button.primary:hover{background:#4354d7}.button.secondary{background:white;border-color:var(--line);color:#4c596d}.button.secondary:hover{background:#f4f6fa;border-color:#d8dfeb}.button.ghost{color:var(--accent);background:var(--accent-soft)}.button.ghost:hover{background:#e2e6ff}.button.danger{background:var(--red);color:white}.button.small{min-height:33px;padding:7px 11px;font-size:11px}.button.text{padding:4px 0;min-height:28px;background:transparent;color:var(--accent)}.content{padding:28px 34px 38px;flex:1;max-width:1660px;width:100%;margin:0 auto}.main-footer{display:flex;justify-content:space-between;padding:0 34px 23px;font-size:10px;color:#a2aaba}.main-footer>span{color:#b0b7c2}.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:20px}.page-intro p{font-size:13px;color:var(--muted);margin-top:6px}.period-label{border:1px solid var(--line);background:#fff;display:inline-flex;align-items:center;gap:8px;border-radius:7px;padding:7px 11px;font-size:10px;color:#7d899a;white-space:nowrap}.period-label:before{content:"";width:5px;height:5px;border-radius:50%;background:#8d9ace}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 20px 17px;min-width:0;position:relative;overflow:hidden}.metric-top{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;min-height:37px}.metric-label{font-size:11px;color:#8993a3;max-width:155px;line-height:1.4}.metric-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:9px;background:var(--accent-soft);color:#6877d9;flex:none}.metric-icon svg{width:17px;height:17px}.metric-value{font-size:24px;line-height:1.2;letter-spacing:-.7px;font-weight:650;margin:11px 0 9px;white-space:nowrap;font-variant-numeric:tabular-nums}.metric-note{color:#9aa3b0;font-size:10px}.metric.is-profit .metric-icon{background:var(--green-soft);color:var(--green)}.metric.is-profit .metric-value{color:var(--green)}.negative{color:var(--red)!important}.positive{color:var(--green)!important}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 18px;gap:15px}.panel-heading h3{font-size:14px}.panel-heading p{font-size:11px;color:var(--muted);margin-top:4px}.heading-count{font-size:10px;color:#8993a5;background:#f2f4f8;padding:3px 8px;border-radius:5px;margin-left:8px;font-weight:500}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;align-items:start}.overview-stack{display:grid;gap:20px}.quick-actions{display:flex;gap:10px;align-items:center;margin-top:23px;flex-wrap:wrap}.quick-actions>span{font-size:11px;color:var(--muted);margin-right:4px}.quick-actions .button{font-size:11px}.welcome{padding:28px 26px 25px;background:linear-gradient(120deg,#f3f4ff,#fafaff);border:1px solid #e6e9fa;border-radius:var(--radius);margin-bottom:24px;display:flex;gap:22px;align-items:center}.welcome-icon{display:flex;align-items:center;justify-content:center;width:65px;height:76px;border-radius:17px;background:#e4e8ff;color:var(--accent);flex:none}.welcome-icon svg{width:37px;height:37px;stroke-width:1.4}.welcome h2{font-size:20px}.welcome p{margin-top:7px;max-width:540px;color:#848da4;font-size:12px;line-height:1.6}.welcome .button{margin-left:auto;flex:none}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{background:#fafbfe;color:#929cac;font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.65px;padding:13px 17px;border-top:1px solid #f0f2f7;border-bottom:1px solid #edf0f5;white-space:nowrap}td{padding:16px 17px;border-bottom:1px solid #f0f2f7;font-size:12px;color:#5e6a7d;vertical-align:middle}tr:last-child td{border-bottom:0}.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}td.money{font-weight:600;color:#334158;white-space:nowrap}.phone-table{min-width:930px}.phone-table td{padding-top:15px;padding-bottom:15px}.phone-name-button{border:0;background:none;padding:0;text-align:left;color:var(--ink);font-weight:600;font-size:12px;display:flex;align-items:center;gap:11px;cursor:pointer;max-width:285px}.phone-name-button:hover .device-title{color:var(--accent)}.device-icon{width:34px;height:41px;border-radius:9px;background:#f0f3f9;display:flex;align-items:center;justify-content:center;flex:none;color:#9ba8bf}.device-icon svg{width:21px;height:25px;stroke-width:1.35}.device-title{color:#2e3b50;font-weight:600;line-height:1.5}.device-meta{font-size:10px;color:#a0a8b5;font-weight:400;margin-top:3px}.device-inline{display:flex;gap:11px;align-items:center}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;line-height:1.3;white-space:nowrap;font-weight:500}.status-pill:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status-in_stock{color:#397a68;background:#e9f5ef}.status-listed{color:#596cd0;background:#edf0ff}.status-repair{color:#a37c32;background:#fff5de}.status-sold{color:#8b97ab;background:#eff2f7}.row-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:7px;border:0;color:#9aa5b5;background:transparent;padding:5px;flex:none}.icon-button svg{width:17px;height:17px}.icon-button:hover{background:#f0f3fa;color:var(--accent)}.icon-button.delete:hover{color:var(--red);background:var(--red-soft)}.action-sell{color:var(--accent);background:var(--accent-soft);font-size:10px;padding:6px 9px;border:0;border-radius:6px;min-height:29px;font-weight:600}.action-sell:hover{background:#e3e7ff}.subtle{font-size:10px;color:#a0a9b7}.line-name{font-size:12px;color:#3f4d62;font-weight:500}.tag{display:inline-flex;font-size:9px;line-height:1.35;background:#f0f3f8;color:#8993a5;border-radius:5px;padding:4px 7px}.general-tag{color:#9c7f45;background:#faf4e8}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:17px;flex-wrap:wrap}.search-field{position:relative;min-width:220px;max-width:380px;flex:1}.search-field svg{position:absolute;left:13px;top:12px;width:17px;height:17px;color:#a1aabd}.search-field input{width:100%;height:42px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px 12px 9px 39px;color:#48576d;font-size:12px}.search-field input::placeholder{color:#a4adbb}.toolbar-select{height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px 30px 8px 12px;color:#667286;font-size:11px;max-width:220px}.toolbar-spacer{margin-left:auto}.status-filters{display:flex;gap:5px;margin-bottom:18px;flex-wrap:wrap}.filter-chip{background:transparent;color:#8d98aa;border:1px solid transparent;border-radius:7px;padding:7px 12px;font-size:10px;min-height:32px}.filter-chip.active{background:#fff;color:var(--accent);border-color:#e2e6f6;box-shadow:0 2px 4px #23305403}.filter-chip b{font-size:9px;font-weight:500;margin-left:5px;opacity:.7}.empty-state{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:52px 25px 48px;min-height:230px}.empty-state.small{padding:36px 24px;min-height:205px}.empty-icon{width:55px;height:55px;border-radius:15px;background:#f1f3fa;color:#a2acc8;display:flex;align-items:center;justify-content:center;margin-bottom:16px}.empty-icon svg{width:27px;height:27px;stroke-width:1.35}.empty-state h3{font-size:14px;color:#657288}.empty-state p{color:#a1a9b6;font-size:11px;max-width:380px;margin-top:7px;line-height:1.7}.empty-state .button{margin-top:20px}.list-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;padding:16px 20px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:11px;color:#8994a5}.list-summary strong{color:#46556a;font-size:13px;font-variant-numeric:tabular-nums}.expense-total{color:var(--ink)!important}.category-bars{padding:0 23px 24px;display:grid;gap:18px}.category-row-head{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin-bottom:7px;color:#8591a3}.category-row-head b{color:#56647b;font-weight:600;white-space:nowrap}.bar-track{height:5px;border-radius:5px;background:#f1f3f8;overflow:hidden}.bar-fill{height:100%;border-radius:5px;background:#8b98ea}.category-foot{padding:14px 23px;border-top:1px solid #eef1f5;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#9ba5b4}.category-foot strong{font-size:13px;color:#5c687e;font-weight:600}.suppliers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.supplier-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;min-width:0;display:flex;flex-direction:column}.supplier-top{display:flex;gap:12px;align-items:center;margin-bottom:20px}.supplier-avatar{width:43px;height:43px;border-radius:12px;background:var(--accent-soft);color:#7e8bdb;font-size:17px;display:flex;align-items:center;justify-content:center;font-weight:600;flex:none}.supplier-top h3{font-size:14px;overflow-wrap:anywhere}.supplier-top .subtle{margin-top:5px}.supplier-contacts{display:grid;gap:9px;font-size:12px;color:#77849a}.supplier-contacts a{color:#687bc8}.supplier-location{margin-top:18px;display:flex;gap:9px;font-size:11px;color:#8895a7;align-items:flex-start}.supplier-location>svg{width:16px;height:16px;color:#a3afc0;margin-top:1px}.supplier-location strong{display:block;color:#68788f;font-size:11px;font-weight:600;margin-bottom:3px}.supplier-note{margin-top:17px;font-size:11px;color:#9aa4b3;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.supplier-bottom{border-top:1px solid #f0f2f7;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:16px;margin-top:19px}.supplier-bottom>span{font-size:9px;color:#a3acb8}.supplier-map{font-size:10px;display:inline-flex;align-items:center;gap:4px}.supplier-map svg{width:12px;height:12px}.model-table{min-width:650px}.notice{font-size:11px;color:#8b97aa;margin:14px 0 0;line-height:1.7}.loading-state{min-height:410px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;color:#98a3b5;font-size:12px}.spinner{width:26px;height:26px;border:2px solid #e2e7f2;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-panel{margin:60px auto;max-width:560px;text-align:center;padding:40px}.error-panel h2{margin:12px 0;font-size:22px}.error-panel p{color:#8d98aa;font-size:12px;line-height:1.8;margin-bottom:22px}.error-panel .empty-icon{margin:0 auto 18px}
dialog{border:0;padding:0;max-height:calc(100vh - 48px);overflow:auto;overscroll-behavior:contain;box-shadow:0 25px 100px #15203d33;border-radius:17px;color:var(--ink)}dialog::backdrop{background:#18243d66;backdrop-filter:blur(3px)}.editor-dialog{width:650px;max-width:calc(100vw - 35px)}.dialog-heading{padding:24px 27px 20px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #eef1f6;position:sticky;top:0;background:#fff;z-index:2}.dialog-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:6px}.dialog-heading h2{font-size:22px}.dialog-heading .icon-button{margin-top:1px}.dialog-form{padding:21px 27px 0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field.full{grid-column:1/-1}.form-field>label{font-size:11px;font-weight:600;color:#6d7a8f}.form-field label .optional{font-size:9px;font-weight:400;color:#acb4c0;margin-left:4px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #e0e5ee;border-radius:8px;padding:10px 11px;min-height:41px;font-size:12px;line-height:1.4;color:#43516a;background:#fff}.form-field input::placeholder,.form-field textarea::placeholder{color:#b0b8c5}.form-field textarea{resize:vertical;min-height:75px}.field-help{font-size:10px;line-height:1.6;color:#9da6b5}.form-section{font-size:11px;font-weight:650;color:#79869b;margin:22px 0 13px;display:flex;gap:10px;align-items:center}.form-section:after{content:"";height:1px;background:#edf0f6;flex:1}.form-section:first-child{margin-top:0}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px 0 22px;margin-top:18px;border-top:1px solid #edf0f6}.dialog-footer .button{min-width:100px}.form-error{display:none;margin-top:17px;padding:11px 13px;border-radius:8px;font-size:11px;line-height:1.6;background:var(--red-soft);color:var(--red)}.form-error.visible{display:block}.inline-info{padding:12px 14px;background:#f5f7fc;border-radius:9px;color:#8a97aa;font-size:11px;margin-bottom:20px;line-height:1.7}.inline-info strong{color:#65748d;font-weight:600}.sale-preview{background:#f0f7f3;padding:16px 18px;margin-top:19px;border-radius:11px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#78a08c}.sale-preview strong{color:var(--green);font-size:19px;font-weight:650;white-space:nowrap;letter-spacing:-.3px}.sale-preview.loss{background:var(--red-soft);color:#ba8882}.sale-preview.loss strong{color:var(--red)}.confirm-dialog{max-width:410px;width:calc(100vw - 35px);padding:28px 27px 0}.confirm-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--red);background:var(--red-soft);margin-bottom:16px}.confirm-dialog h2{font-size:19px;margin-bottom:10px}.confirm-dialog p{font-size:12px;color:#8995a7;line-height:1.8;white-space:pre-line}.confirm-dialog .dialog-footer{margin-top:22px}.detail-body{padding:23px 27px}.detail-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.detail-head .device-title{font-size:18px}.detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:17px;border-top:1px solid #edf0f6;padding-top:19px;margin-top:22px}.detail-meta .meta-label{font-size:9px;color:#a0aabc;margin-bottom:5px}.detail-meta .meta-value{font-size:12px;color:#64748b;overflow-wrap:anywhere}.cost-box{background:#f7f9fc;border-radius:11px;padding:17px 18px;display:grid;gap:11px}.cost-line{display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#8996aa}.cost-line strong{font-size:12px;color:#58677e;font-weight:600;white-space:nowrap}.cost-line.total{padding-top:12px;border-top:1px solid #e5eaf3;color:#60718b;font-weight:600}.cost-line.total strong{font-size:17px;color:var(--ink)}.cost-line.profit strong{color:var(--green)}.detail-expenses{margin-top:22px}.detail-expenses-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.detail-expenses-head h3{font-size:12px}.detail-expense{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #eef1f6;font-size:11px;color:#7c8ca2}.detail-expense:last-child{border:0}.detail-expense strong{font-size:11px;color:#607088;white-space:nowrap;font-weight:600}.detail-expense small{display:block;font-size:9px;color:#a4afbf;margin-top:4px}.detail-note{margin-top:20px;padding:13px 15px;background:#fafbfc;border-radius:9px;color:#8c99ab;font-size:11px;white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:24px;padding-top:20px;border-top:1px solid #edf0f6}.detail-actions .button:last-child{margin-left:auto}.toast-stack{position:fixed;right:27px;bottom:25px;z-index:100;display:grid;gap:10px;max-width:min(390px,calc(100vw - 40px))}.toast{background:#273650;color:#fff;padding:14px 17px;border:1px solid #40506b;border-radius:11px;box-shadow:0 8px 30px #14203b24;font-size:12px;line-height:1.6;animation:toast-in .2s ease-out}.toast.error{background:#943f3f;border-color:#b76e6e}.toast.success{background:#216b55;border-color:#43816b}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1650px){.content{padding-top:36px}.metric-value{font-size:29px}.overview-grid{grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr)}}
@media(max-width:1230px){.sidebar{width:210px;padding-left:13px;padding-right:13px}.app-main{margin-left:210px}.brand{gap:9px;padding-left:9px}.brand-copy{font-size:19px}.topbar{padding:25px 25px 22px}.content{padding:24px 25px 32px}.header-actions{gap:12px}.today-label{display:none}.metrics{gap:12px}.metric{padding:17px 15px}.metric-value{font-size:21px}.overview-grid{grid-template-columns:minmax(0,1.6fr) minmax(255px,1fr)}.suppliers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome{padding:23px;gap:17px}.welcome p{max-width:400px}.welcome .button{align-self:center}}
@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-top{min-height:30px}.metric-value{font-size:26px}.overview-grid{grid-template-columns:1fr}.overview-stack{grid-template-columns:1fr}.welcome{align-items:flex-start;flex-wrap:wrap}.welcome .button{margin-left:87px}.overview-grid .table-wrap table{min-width:530px}.page-intro h2{font-size:19px}}
@media(max-width:800px){.sidebar{width:76px;padding:24px 10px 18px}.app-main{margin-left:76px}.brand{padding:0 7px 32px}.brand-icon{width:41px}.brand-copy,.nav-heading,nav button>span,.nav-counter,.local-note,.sidebar-tool>span{display:none}nav{gap:9px}nav button{padding:14px;justify-content:center}nav button svg{width:22px;height:22px}.sidebar-bottom{padding:20px 5px 0}.sidebar-tool{justify-content:center;padding:13px 3px}.sidebar-tool svg{width:19px;height:19px}.topbar{padding:23px 22px 21px}.content{padding:24px 22px}.main-footer{padding-left:22px;padding-right:22px}.metrics{gap:14px}.suppliers-grid{gap:14px}.supplier-card{padding:19px}.page-intro p{font-size:12px}}
@media(max-width:600px){.sidebar{width:100%;height:69px;top:auto;bottom:0;padding:0 5px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 20px #1d2d4a04}.brand,.sidebar-bottom{display:none}nav{display:grid;grid-template-columns:repeat(5,1fr);gap:1px;width:100%;height:100%}nav button{display:flex;flex-direction:column;gap:4px;justify-content:center;padding:9px 3px;border-radius:0;color:#a1adbf;font-size:9px;height:100%}nav button>span{display:block;font-size:9px}nav button.active{background:#f7f8ff;color:var(--accent)}nav button.active svg{stroke:var(--accent)}nav button:hover{background:#f3f5fb;color:var(--accent)}nav button svg{width:20px;height:20px}.app-main{margin-left:0;padding-bottom:69px}.topbar{padding:22px 18px 19px;gap:10px}.eyebrow{font-size:7px;letter-spacing:1.1px}.topbar h1{font-size:23px}.header-actions .button{font-size:0;padding:10px;width:39px;height:39px;gap:0}.header-actions .button svg{width:19px;height:19px}.content{padding:22px 16px 27px}.main-footer{padding:0 18px 19px;font-size:9px}.main-footer>span{display:none}.page-intro{gap:13px;margin-bottom:18px}.page-intro h2{font-size:19px}.page-intro p{font-size:11px;line-height:1.6}.period-label{font-size:8px;padding:5px 7px}.metrics{gap:10px;margin-bottom:18px}.metric{padding:15px 13px 14px;border-radius:12px}.metric-label{font-size:9px;max-width:117px}.metric-icon{width:25px;height:25px;border-radius:7px}.metric-icon svg{width:14px;height:14px}.metric-value{font-size:21px;margin:11px 0 8px}.metric-note{font-size:8px;line-height:1.5}.welcome{gap:15px;padding:20px 18px;margin-bottom:18px}.welcome-icon{width:45px;height:56px;border-radius:12px}.welcome-icon svg{width:28px;height:28px}.welcome>div:nth-child(2){flex:1;min-width:180px}.welcome h2{font-size:17px}.welcome p{font-size:10px}.welcome .button{margin:0 0 0 60px;min-height:36px;font-size:10px;padding:9px 12px}.overview-grid{gap:17px}.panel{border-radius:12px}.panel-heading{padding:18px}.panel-heading h3{font-size:13px}.panel-heading p{font-size:10px}.panel-heading .button.text{font-size:10px}.category-bars{padding:0 18px 21px}.quick-actions{gap:8px}.quick-actions>span{width:100%;font-size:10px}.quick-actions .button{font-size:10px;padding:8px 10px;min-height:34px}.toolbar{gap:9px}.search-field{min-width:100%;max-width:none}.toolbar-spacer{margin-left:0}.toolbar .button{min-height:35px;font-size:10px}.toolbar-select{height:36px;flex:1;max-width:calc(50% - 5px);font-size:10px}.filter-chip{font-size:9px;padding:6px 8px;min-height:29px}.status-filters{gap:2px;margin-bottom:15px}.filter-chip b{margin-left:3px;font-size:8px}.list-summary{padding:13px 15px;font-size:10px;margin-bottom:14px}.list-summary strong{font-size:12px}.suppliers-grid{grid-template-columns:1fr}.supplier-card{padding:20px}.supplier-top{margin-bottom:16px}.supplier-note{-webkit-line-clamp:4}.editor-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:13px}.dialog-heading{padding:21px 20px 17px}.dialog-heading h2{font-size:21px}.dialog-form{padding:20px 20px 0}.form-grid{gap:14px 12px}.form-field>label{font-size:10px}.form-field input,.form-field select,.form-field textarea{font-size:12px}.dialog-footer{padding:18px 0 20px}.detail-body{padding:21px 20px}.detail-meta{gap:15px 12px}.detail-actions{gap:8px}.detail-actions .button{font-size:10px;padding:9px 10px}.detail-actions .button:last-child{margin-left:0}.detail-head .device-title{font-size:16px}.sale-preview{padding:14px}.sale-preview strong{font-size:17px}.toast-stack{bottom:84px;right:15px}.toast{font-size:11px}.error-panel{padding:26px;margin:35px auto}.empty-state{padding:43px 20px}.empty-state p{font-size:10px}.button{min-height:39px}.notice{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
