:root{color:#29343b;font-synthesis:none;text-rendering:optimizelegibility;--ink:#29343b;--muted:#6f7b83;--line:#dbe2e6;--paper:#fff;--canvas:#f3f6f7;--green:#566873;--green-2:#657b86;--gold:#8dbed1;--danger:#b6534d;--shadow:0 20px 60px #303f481a;background:#f2f5f6;font-family:Inter,Noto Sans SC,Microsoft YaHei,sans-serif}.catalog-page{gap:18px;width:100%;max-width:1540px;margin:0 auto;display:grid}.page-heading{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.page-heading h2{color:var(--ink);margin:5px 0 6px;font-family:Georgia,Noto Serif SC,serif;font-size:clamp(27px,3vw,38px);line-height:1.1}.page-heading p{color:var(--muted);margin:0;font-size:14px}.section-kicker{color:var(--green-2);letter-spacing:.18em;font-size:10px;font-weight:900}.button{min-height:40px;font:inherit;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;padding:0 16px;font-size:13px;font-weight:800;transition:all .16s;display:inline-flex}.button--primary{background:var(--green);color:#fff;box-shadow:0 8px 18px #43545e29}.button--primary:hover:not(:disabled){background:var(--green-2);transform:translateY(-1px)}.button--ghost{border-color:var(--line);color:var(--ink);background:#fff}.catalog-tabs{border:1px solid var(--line);background:#ffffffb8;border-radius:10px;gap:4px;width:fit-content;padding:4px;display:flex}.catalog-tabs a{color:var(--muted);border-radius:7px;padding:9px 16px;font-size:13px;font-weight:800}.catalog-tabs a.router-link-active{background:var(--green);color:#fff}.notice{border:1px solid;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:9px 14px;font-size:13px;font-weight:650;display:flex}.notice button{color:inherit;background:0 0;border:0;font-size:18px}.notice--info{color:#496b7b;background:#eef6f9;border-color:#c9dce5}.notice--error{color:#983830;background:#fff2f0;border-color:#ebc5c1}.notice--success{color:#22623f;background:#edf8f1;border-color:#bcd9c7}.filter-panel{border:1px solid var(--line);background:var(--paper);border-radius:12px;grid-template-columns:minmax(240px,2fr) minmax(160px,1fr) minmax(130px,.7fr) auto;align-items:end;gap:12px;padding:15px;display:grid;box-shadow:0 8px 25px #303f480a}.filter-panel--compact{grid-template-columns:minmax(260px,2fr) minmax(150px,.7fr) auto}.filter-panel label,.form-grid label,.form-full{color:#35433b;gap:6px;font-size:12px;font-weight:800;display:grid}.filter-panel input,.filter-panel select,.form-grid input,.form-grid select,.form-full textarea{width:100%;min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 11px;font-size:13px;font-weight:500}.filter-panel input:focus,.filter-panel select:focus,.form-grid input:focus,.form-grid select:focus,.form-full textarea:focus{border-color:var(--green-2);box-shadow:0 0 0 3px #657b861f}.form-grid input:disabled{color:#778079;background:#edf0ec}.filter-actions{gap:8px;display:flex}.data-card{border:1px solid var(--line);background:var(--paper);border-radius:13px;overflow:hidden;box-shadow:0 12px 35px #303f480f}.table-scroll{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:900px;font-size:13px}.data-table th{border-bottom:1px solid var(--line);color:#68736c;letter-spacing:.08em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f5f7f4;padding:12px 16px;font-size:10px;font-weight:900}.data-table td{color:#354139;vertical-align:middle;border-bottom:1px solid #edf0ed;padding:15px 16px}.data-table tbody tr:hover{background:#fbfcfa}.data-table tbody tr:last-child td{border-bottom:0}.primary-cell,.price-cell,.stock-cell{gap:4px;min-width:115px;display:grid}.primary-cell strong,.price-cell strong,.stock-cell strong{color:var(--ink);font-size:13px}.primary-cell span,.primary-cell small,.price-cell span,.stock-cell span{color:#7a847e;font-size:11px}.stock-cell--low strong{color:#b04b42}.wrap-cell{white-space:normal;max-width:260px}.row-actions{white-space:nowrap}.row-actions button{color:var(--green-2);background:0 0;border:0;padding:4px 7px;font-size:12px;font-weight:850}.row-actions button.danger{color:var(--danger)}.status-badge{white-space:nowrap;border-radius:99px;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:850;display:inline-flex}.status-badge span{background:currentColor;border-radius:50%;width:6px;height:6px}.status-badge--active{color:#267348;background:#e9f5ed}.status-badge--stopped,.status-badge--disabled{color:#777c78;background:#f1f1ef}.table-state{color:#7b857e;text-align:center;place-content:center;gap:7px;min-height:230px;display:grid}.table-state strong{color:var(--ink);font-family:Georgia,Noto Serif SC,serif;font-size:20px}.table-state span{font-size:13px}.pagination-bar,.simple-count{border-top:1px solid var(--line);min-height:55px;color:var(--muted);justify-content:space-between;align-items:center;padding:9px 16px;font-size:12px;display:flex}.pagination-bar>div{align-items:center;gap:10px;display:flex}.pagination-bar button{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:6px;padding:6px 10px;font-size:12px;font-weight:750}.pagination-bar button:disabled{opacity:.4}.simple-count{justify-content:flex-end}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1f282e94;place-items:start center;padding:5vh 18px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{background:#fff;border-radius:14px;width:min(560px,100%);overflow:hidden;box-shadow:0 30px 90px #1922284d}.modal-card--wide{width:min(920px,100%)}.modal-card>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.modal-card h2{color:var(--ink);margin:3px 0 0;font-family:Georgia,Noto Serif SC,serif;font-size:24px}.modal-card>header>button{color:#687269;background:#f1f3f0;border:0;border-radius:50%;width:34px;height:34px;font-size:22px}.modal-body{gap:16px;max-height:68vh;padding:22px;display:grid;overflow-y:auto}.modal-card footer{border-top:1px solid var(--line);background:#fafbf9;justify-content:flex-end;gap:9px;padding:14px 22px;display:flex}.form-grid{grid-template-columns:1fr;gap:14px;display:grid}.form-grid--2{grid-template-columns:repeat(2,1fr)}.form-grid--3{grid-template-columns:repeat(3,1fr)}.form-grid label small{color:var(--danger);font-size:11px;font-weight:600}.form-section-title{color:var(--green);border-bottom:1px solid #e5e9e5;padding-bottom:7px;font-family:Georgia,Noto Serif SC,serif;font-size:16px;font-weight:700}.form-full textarea{resize:vertical}@media (width<=980px){.filter-panel,.filter-panel--compact{grid-template-columns:1fr 1fr}.filter-search{grid-column:1/-1}.form-grid--3{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.page-heading{flex-direction:column;align-items:flex-start;gap:14px}.catalog-tabs{width:100%}.catalog-tabs a{text-align:center;flex:1;padding:9px 7px}.filter-panel,.filter-panel--compact,.form-grid--2,.form-grid--3{grid-template-columns:1fr}.filter-search{grid-column:auto}.filter-actions .button{flex:1}.modal-backdrop{padding:0}.modal-card,.modal-card--wide{border-radius:0;width:100%;min-height:100vh}.modal-body{max-height:calc(100vh - 145px)}}*{box-sizing:border-box}html,body,#app{min-width:320px;min-height:100vh;margin:0}body{background:var(--canvas)}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}a{text-decoration:none}.brand-emblem{background:var(--green);color:#cbe5ef;letter-spacing:-.06em;border-radius:50%;flex:0 0 42px;place-items:center;width:42px;height:42px;font-size:14px;font-weight:900;display:grid}.brand-emblem--light{color:#42545e;background:#d9edf4}.login-page{background:#f5f7f8;grid-template-columns:minmax(420px,1.05fr) minmax(480px,.95fr);min-height:100vh;display:grid}.login-story{background:radial-gradient(circle at 88% 12%, #a1cfe047, transparent 25rem), radial-gradient(circle at 10% 95%, #d2e0e633, transparent 30rem), var(--green);color:#fff;flex-direction:column;justify-content:space-between;min-height:100vh;padding:38px clamp(38px,5vw,76px);display:flex;position:relative;overflow:hidden}.login-story:before,.login-story:after{content:"";border:1px solid #ffffff17;border-radius:50%;position:absolute}.login-story:before{width:36vw;height:36vw;top:18%;right:-17vw}.login-story:after{width:54vw;height:54vw;top:5%;right:-27vw}.login-brand,.sidebar-brand{z-index:1;align-items:center;gap:12px;display:flex;position:relative}.login-brand strong,.login-brand small,.sidebar-brand strong,.sidebar-brand small{display:block}.login-brand strong{font-size:18px}.login-brand small,.sidebar-brand small{letter-spacing:.18em;opacity:.58;margin-top:3px;font-size:9px}.story-content{z-index:1;max-width:680px;position:relative}.story-kicker,.login-step,.section-kicker,.header-eyebrow,.sidebar-section-label,.placeholder-code,.standalone-state>span{letter-spacing:.19em;font-size:10px;font-weight:800}.story-kicker{color:#b9dce9}.story-content h1{letter-spacing:-.045em;max-width:660px;margin:18px 0 26px;font-family:Georgia,Noto Serif SC,serif;font-size:clamp(46px,5.2vw,78px);font-weight:500;line-height:1.08}.story-content h1 em{color:#cae6f0;font-style:normal}.story-content p{color:#ffffffa3;max-width:570px;margin:0;font-size:16px;line-height:1.85}.story-footer{z-index:1;color:#ffffff75;letter-spacing:.14em;border-top:1px solid #ffffff24;justify-content:space-between;padding-top:20px;font-size:10px;display:flex;position:relative}.login-panel{place-items:center;padding:48px clamp(28px,6vw,96px);display:grid}.login-card{width:min(100%,430px)}.login-heading{margin-bottom:38px}.login-step,.section-kicker,.placeholder-code,.standalone-state>span{color:#557989}.login-heading h2{letter-spacing:-.035em;margin:12px 0 8px;font-family:Georgia,Noto Serif SC,serif;font-size:38px;font-weight:500}.login-heading p{color:var(--muted);margin:0;font-size:14px}.form-alert{color:#8e312c;background:#fff5f3;border:1px solid #edcbc7;border-radius:8px;align-items:center;gap:10px;margin-bottom:22px;padding:12px 14px;font-size:13px;line-height:1.5;display:flex}.form-alert span{color:#fff;background:#c24e47;border-radius:50%;flex:0 0 20px;place-items:center;width:20px;height:20px;font-size:12px;font-weight:800;display:grid}.field-label{color:#3e4a51;margin:0 0 8px;font-size:13px;font-weight:700;display:block}.input-wrap{margin-bottom:20px}.input-wrap input{width:100%;height:52px;color:var(--ink);background:#fff;border:1px solid #d8e0e4;border-radius:7px;outline:none;padding:0 16px;transition:border-color .2s,box-shadow .2s}.input-wrap input::placeholder{color:#9ca8ae}.input-wrap input:focus{border-color:#7796a5;box-shadow:0 0 0 3px #7796a524}.primary-button{background:var(--green);color:#fff;border:0;border-radius:7px;justify-content:space-between;align-items:center;width:100%;height:54px;margin-top:30px;padding:0 19px;font-weight:700;transition:background .2s,transform .2s;display:flex}.primary-button:not(:disabled):hover{background:#465963;transform:translateY(-1px)}.primary-button:disabled{opacity:.56}.security-note{color:#879089;justify-content:center;align-items:center;gap:7px;margin:22px 0 0;font-size:11px;display:flex}.security-mark{color:#3a7a56;font-weight:800}.app-shell{grid-template-columns:242px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{z-index:30;color:#fff;background:#4d5b64;flex-direction:column;width:242px;height:100dvh;min-height:0;padding:28px 18px 22px;display:flex;position:fixed;overflow:hidden}.sidebar-brand{flex:none;padding:0 8px}.sidebar-brand--logo{width:100%;display:block}.sidebar-logo{object-fit:cover;object-position:center;background:#fff;border:1px solid #fff3;border-radius:8px;width:100%;height:58px;display:block}.sidebar-section-label{color:#ffffff5e;flex:none;margin:36px 13px 12px}.sidebar-nav{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#ffffff47 transparent;touch-action:pan-y;flex:auto;align-content:start;gap:4px;min-height:0;display:grid;overflow:hidden auto}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-track{background:0 0}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff47;border-radius:999px}.nav-link{color:#ffffffa8;border-radius:7px;align-items:center;gap:12px;min-height:46px;padding:7px 10px;font-size:13px;font-weight:650;transition:background .18s,color .18s;display:flex}.nav-link:hover{color:#fff;background:#ffffff1a}.nav-link.router-link-exact-active{color:#344750;background:#d9ebf2}.nav-icon{border:1px solid #ffffff21;border-radius:6px;place-items:center;width:28px;height:28px;font-size:12px;display:grid}.router-link-exact-active .nav-icon{background:#ffffff4d;border-color:#34475029}.sidebar-foot{color:#ffffff82;border-top:1px solid #ffffff1c;flex:none;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:auto;padding:20px 8px 0;font-size:10px;display:grid}.sidebar-foot small{font-size:9px}.system-dot{background:#60ca83;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #60ca831f}.app-main{grid-column:2;min-width:0}.app-header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffdb;justify-content:space-between;align-items:center;gap:18px;min-height:92px;padding:18px clamp(24px,4vw,54px);display:flex}.header-eyebrow{color:#87949b;margin-bottom:4px}.app-header h1{letter-spacing:-.025em;margin:0;font-family:Georgia,Noto Serif SC,serif;font-size:25px;font-weight:500}.user-menu{align-items:center;gap:11px;display:flex}.user-avatar{color:#506a77;background:#e3edf1;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.user-copy strong,.user-copy small{display:block}.user-copy strong{text-overflow:ellipsis;white-space:nowrap;max-width:150px;font-size:12px;overflow:hidden}.user-copy small{color:#87939a;margin-top:3px;font-size:10px}.logout-button{color:#616e76;background:#fff;border:1px solid #d9e0e4;border-radius:6px;margin-left:8px;padding:7px 11px;font-size:11px}.logout-button:hover{color:var(--ink);border-color:#b1bec5}.menu-button{border:1px solid var(--line);background:#fff;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:38px;height:38px;display:none}.menu-button span{background:var(--ink);width:16px;height:1px}.sidebar-backdrop{display:none}.page-content{padding:clamp(24px,4vw,50px) clamp(24px,4vw,54px) 64px}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:20px;display:grid}.welcome-card{background:radial-gradient(circle at 86% 15%, #acd6e54d, transparent 20rem), var(--green);color:#fff;border-radius:10px;grid-column:1/-1;justify-content:space-between;align-items:flex-end;min-height:190px;padding:34px 38px;display:flex;position:relative;overflow:hidden}.welcome-card:after{content:"";border:1px solid #ffffff17;border-radius:50%;width:330px;height:330px;position:absolute;top:-185px;right:30px}.welcome-card h2{margin:10px 0 8px;font-family:Georgia,Noto Serif SC,serif;font-size:30px;font-weight:500}.welcome-card p{color:#fff9;max-width:660px;margin:0;font-size:13px;line-height:1.7}.welcome-date{z-index:1;color:#ffffff78;letter-spacing:.12em;text-align:right;border-left:1px solid #ffffff26;padding-left:24px;font-size:10px;line-height:1.7;position:relative}.welcome-date strong{color:#cae7f1;font-size:19px}.metric-grid{grid-column:1/-1;grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.metric-card,.content-card,.placeholder-card{border:1px solid var(--line);background:var(--paper);border-radius:9px}.metric-card{min-height:126px;padding:21px}.metric-card span,.metric-card small{color:var(--muted);font-size:11px;display:block}.metric-card strong{margin:15px 0 9px;font-family:Georgia,serif;font-size:30px;font-weight:500;display:block}.metric-card small{color:#a0a8a2;font-size:9px}.content-card{padding:28px}.section-heading{justify-content:space-between;align-items:flex-end;margin-bottom:22px;display:flex}.section-heading h3{margin:7px 0 0;font-family:Georgia,Noto Serif SC,serif;font-size:21px;font-weight:500}.section-note{color:#909993;font-size:10px}.action-list{border-top:1px solid var(--line)}.action-item{border-bottom:1px solid var(--line);grid-template-columns:38px 1fr auto;align-items:center;gap:12px;min-height:74px;transition:padding .18s,color .18s;display:grid}.action-item:hover{color:var(--green-2);padding:0 7px}.action-index{color:#678b9b;font:10px monospace}.action-item strong,.action-item small{display:block}.action-item strong{font-size:13px}.action-item small{color:#89928c;margin-top:5px;font-size:10px}.action-arrow{color:#8e9992}.progress-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.progress-list li{border-bottom:1px solid var(--line);grid-template-columns:16px 1fr auto;align-items:center;gap:12px;min-height:62px;display:grid}.progress-list li>span{border:2px solid #b8c0ba;border-radius:50%;width:8px;height:8px}.progress-list li.done>span{background:#4a9868;border-color:#4a9868;box-shadow:0 0 0 4px #e8f2eb}.progress-list strong,.progress-list small{display:block}.progress-list strong{font-size:12px}.progress-list small{color:#8d9690;margin-top:4px;font-size:9px}.progress-list b{color:#8c958f;font-size:9px;font-weight:600}.progress-list .done b{color:#3c8058}.placeholder-card{text-align:center;align-content:center;place-items:center;min-height:440px;padding:36px;display:grid}.placeholder-mark{color:#557482;background:#e5eef2;border-radius:50%;place-items:center;width:78px;height:78px;margin:24px 0 15px;font-family:Georgia,serif;font-size:29px;display:grid}.placeholder-card h2{margin:0;font-family:Georgia,Noto Serif SC,serif;font-size:30px;font-weight:500}.placeholder-card p{max-width:520px;color:var(--muted);margin:14px 0 26px;font-size:13px;line-height:1.8}.placeholder-card a,.standalone-state a{color:#536f7c;border-bottom:1px solid #9eafb7;padding-bottom:3px;font-size:12px;font-weight:700}.standalone-state{background:var(--canvas);text-align:center;align-content:center;place-items:center;min-height:100vh;padding:30px;display:grid}.standalone-state h1{margin:17px 0 10px;font-family:Georgia,Noto Serif SC,serif;font-size:clamp(34px,5vw,58px);font-weight:500}.standalone-state p{max-width:520px;color:var(--muted);margin:0 0 28px;font-size:13px;line-height:1.8}.standalone-state--public{background:radial-gradient(circle at 70% 10%,#9dcdde38,#0000 25rem),#f0f4f6}@media (width<=960px){.login-page{grid-template-columns:1fr}.login-story{min-height:360px;padding:30px}.story-content{margin:60px 0 30px}.story-content h1{max-width:600px;font-size:clamp(38px,8vw,58px)}.login-panel{min-height:620px}.app-shell{display:block}.sidebar{transition:transform .22s;transform:translate(-100%)}.sidebar--open{transform:translate(0)}.sidebar-backdrop{z-index:20;background:#1f282e70;display:block;position:fixed;inset:0}.app-main{display:block}.menu-button{display:flex}.app-header{justify-content:flex-start}.user-menu{margin-left:auto}.dashboard-grid{grid-template-columns:1fr}.metric-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=600px){.login-story{min-height:320px;padding:24px}.story-footer{display:none}.story-content{margin-bottom:0}.story-content p{font-size:14px}.login-panel{min-height:580px;padding:42px 22px}.login-heading h2{font-size:32px}.app-header{min-height:76px;padding:14px 16px}.header-eyebrow,.user-copy{display:none}.app-header h1{font-size:20px}.logout-button{margin-left:0}.page-content{padding:18px 14px 42px}.welcome-card{align-items:flex-start;min-height:220px;padding:26px}.welcome-date{display:none}.metric-grid{grid-template-columns:1fr 1fr;gap:8px}.metric-card{min-height:112px;padding:17px}.content-card{padding:22px 18px}.section-note{display:none}}.purchase-filters{grid-template-columns:minmax(180px,1.4fr) minmax(170px,1fr) 130px 145px 145px auto}.order-status{white-space:nowrap;border-radius:99px;padding:5px 10px;font-size:11px;font-weight:850;display:inline-flex}.order-status--draft{color:#8a6510;background:#fff5d9}.order-status--received{color:#256c43;background:#e8f5ec}.order-status--cancelled{color:#777c78;background:#f1f1ef}.product-picker{grid-template-columns:minmax(180px,1fr) auto auto minmax(270px,1.5fr) auto;gap:8px;display:grid}.product-picker input,.product-picker select,.line-table input,.inline-search input,.transaction-product-search>select{width:100%;min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 10px;font-size:12px}.line-table-wrap{border:1px solid var(--line);border-radius:9px}.line-table{min-width:720px}.line-table td{padding:10px 12px}.line-table input{min-width:110px}.line-remove{width:28px;height:28px;color:var(--danger);background:#fbecea;border:0;border-radius:50%;font-size:18px}.line-empty{color:var(--muted);text-align:center;border:1px dashed #cfd8d2;border-radius:9px;padding:28px;font-size:13px}.draft-summary{color:var(--muted);background:#f1f5f1;border-radius:8px;justify-content:space-between;align-items:center;padding:12px 15px;font-size:12px;display:flex}.draft-summary strong{color:var(--green);font-family:Georgia,serif;font-size:22px}.detail-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.detail-grid>div{border:1px solid var(--line);border-radius:8px;gap:6px;padding:12px;display:grid}.detail-grid span{color:var(--muted);letter-spacing:.06em;font-size:10px;font-weight:800}.detail-grid strong{color:var(--ink);font-size:12px}.detail-table{min-width:820px}.inventory-head-stat{border-left:3px solid var(--gold);gap:2px;min-width:125px;padding-left:14px;display:grid}.inventory-head-stat span{color:var(--muted);font-size:11px;font-weight:800}.inventory-head-stat strong{color:var(--green);font-family:Georgia,serif;font-size:30px}.inventory-tabs button{color:var(--muted);font:inherit;background:0 0;border:0;border-radius:7px;padding:9px 16px;font-size:13px;font-weight:800}.inventory-tabs button.active{background:var(--green);color:#fff}.inventory-summary{background:#f0f4f6;border:1px solid #d9e2e6;border-radius:11px;grid-template-columns:180px 160px 1fr;align-items:center;gap:10px;padding:12px 16px;display:grid}.inventory-summary div{gap:3px;display:grid}.inventory-summary span,.inventory-summary p{color:var(--muted);font-size:11px}.inventory-summary strong{color:var(--green);font-family:Georgia,serif;font-size:21px}.inventory-summary strong.warning,.stock-warning{color:var(--danger)}.inventory-summary p{text-align:right;margin:0}.low-stock-row{background:#fffaf7}.transaction-filters{grid-template-columns:minmax(240px,1.4fr) 145px minmax(160px,.8fr) 145px 145px auto}.transaction-product-search{align-self:start}.inline-search{grid-template-columns:1fr auto;display:grid}.inline-search input{border-radius:7px 0 0 7px}.inline-search button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:0 7px 7px 0;padding:0 12px;font-size:12px;font-weight:800}.transaction-product-search>select{margin-top:5px}.transaction-type{color:var(--green);white-space:nowrap;background:#edf2ee;border-radius:5px;padding:5px 8px;font-size:11px;font-weight:800}.quantity-change{color:#267348}.quantity-change.negative{color:var(--danger)}@media (width<=1250px){.purchase-filters,.transaction-filters{grid-template-columns:repeat(3,1fr)}.product-picker{grid-template-columns:1fr auto}.product-picker select{grid-column:1}}@media (width<=760px){.purchase-filters,.transaction-filters,.detail-grid,.inventory-summary{grid-template-columns:1fr}.inventory-summary p{text-align:left}.inventory-tabs{width:100%}.inventory-tabs button{flex:1;padding:9px 5px}}.price-history-filters{grid-template-columns:minmax(310px,1.5fr) 190px 160px 160px auto}.price-analysis-card{background:linear-gradient(145deg,#fbfcfd 0%,#eef3f5 100%);border:1px solid #dbe3e7;border-radius:12px;gap:15px;padding:18px;display:grid;box-shadow:0 12px 32px #303f480f}.price-analysis-heading{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.price-analysis-heading>div:first-child{gap:4px;display:grid}.price-analysis-heading span{color:var(--green);letter-spacing:.14em;font-size:9px;font-weight:900}.price-analysis-heading h3{color:var(--ink);margin:0;font-family:Georgia,serif;font-size:24px}.price-analysis-heading p{color:var(--muted);margin:0;font-size:11px}.price-latest{justify-items:end;gap:2px;display:grid}.price-latest strong{color:var(--ink);font-family:Georgia,serif;font-size:27px}.price-latest small{font-size:11px;font-weight:850}.price-up{color:var(--danger)!important}.price-down{color:var(--green)!important}.price-metrics{grid-template-columns:repeat(5,1fr);gap:9px;display:grid}.price-metrics>div{border:1px solid var(--line);background:#ffffffc7;border-radius:9px;gap:5px;padding:11px 12px;display:grid}.price-metrics span,.price-metrics small{color:var(--muted);font-size:10px}.price-metrics strong{color:var(--ink);font-family:Georgia,serif;font-size:17px}.price-chart{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.price-chart-head{justify-content:space-between;gap:15px;display:flex}.price-chart-head>div{gap:2px;display:grid}.price-chart-head strong{color:var(--ink);font-size:12px}.price-chart-head span{color:var(--muted);font-size:10px}.price-chart-canvas{border:1px solid var(--line);background:#fff;border-radius:9px;overflow-x:auto}.price-chart-canvas svg{width:100%;min-width:680px;height:230px;display:block}.price-axis{stroke:#d8e0db;stroke-width:1px}.price-trend-line{fill:none;stroke:var(--green);stroke-linecap:round;stroke-linejoin:round;stroke-width:3px}.price-trend-dot{fill:#fff;stroke:var(--green);stroke-width:3px}.price-chart-value{fill:var(--ink);font-size:10px;font-weight:800}.price-chart-date{fill:var(--muted);font-size:9px}.price-summary-state{min-height:110px;color:var(--muted);background:#f7f9f6;border:1px dashed #cdd7d0;border-radius:10px;place-items:center;font-size:11px;display:grid}.data-card-heading{border-bottom:1px solid var(--line);justify-content:space-between;padding:13px 16px;display:flex}.data-card-heading>div{gap:2px;display:grid}.data-card-heading strong{color:var(--ink);font-size:12px}.data-card-heading span{color:var(--muted);font-size:10px}.price-history-table{min-width:1450px}.price-history-table tbody tr{cursor:pointer}.price-history-table tbody tr:hover,.price-row-selected{background:#eef5f0}.purchase-price-cell{color:var(--green);font-family:Georgia,serif;font-size:15px}@media (width<=1250px){.price-history-filters,.price-metrics{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.price-history-filters,.price-metrics{grid-template-columns:1fr}.price-analysis-heading{flex-direction:column}.price-latest{justify-items:start}}.order-status--completed{color:#246b43;background:#e4f3e9}.order-status--returned{color:#8a5b06;background:#fff2d6}.sales-workbench{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.sales-main{gap:14px;min-width:0;display:grid}.checkout-card{border:1px solid var(--line);background:#fff;border-radius:11px;box-shadow:0 8px 24px #303f480d}.product-search-card,.sales-lines-card,.checkout-summary{padding:18px}.checkout-heading,.report-card-heading{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.checkout-heading h3,.checkout-summary h3,.report-card-heading h3{color:var(--ink);margin:3px 0 0;font-family:Georgia,serif;font-size:18px}.checkout-heading>span,.report-card-heading>span{color:var(--muted);font-size:11px}.sales-product-picker{grid-template-columns:minmax(180px,1fr) auto auto minmax(280px,1.3fr) auto;gap:8px;display:grid}.sales-product-picker input,.sales-product-picker select,.checkout-summary input,.checkout-summary select,.checkout-summary textarea,.sales-line-table input{min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 10px;font-size:12px}.sales-product-picker input:focus,.sales-product-picker select:focus,.checkout-summary input:focus,.checkout-summary select:focus,.checkout-summary textarea:focus,.sales-line-table input:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.sales-line-table{min-width:920px}.sales-line-table input{width:105px;min-width:95px}.sales-line-table input.input-invalid{border-color:var(--danger);background:#fff8f7}.line-empty{gap:5px;display:grid}.line-empty strong{color:var(--ink)}.checkout-summary{gap:14px;display:grid;position:sticky;top:86px}.checkout-summary label{color:var(--muted);gap:6px;font-size:11px;font-weight:800;display:grid}.checkout-summary label small{color:#8c8073;font-weight:500}.checkout-totals{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:9px;margin:2px 0;padding:13px 0;display:grid}.checkout-totals>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.checkout-totals dt{color:var(--muted);font-size:12px}.checkout-totals dd{color:var(--ink);margin:0;font-size:13px;font-weight:800}.checkout-totals .checkout-payable{margin-top:3px}.checkout-totals .checkout-payable dt{color:var(--ink);font-weight:800}.checkout-totals .checkout-payable dd{color:var(--green);font-family:Georgia,serif;font-size:25px}.checkout-submit{justify-content:center;width:100%}.checkout-note,.detail-remark{color:var(--muted);margin:0;font-size:11px;line-height:1.7}.sales-filters{grid-template-columns:minmax(180px,1fr) 130px 140px 145px 145px auto}.sales-order-table{min-width:1180px}.detail-print-bar{color:var(--muted);background:#edf5f0;border:1px solid #d5e1d9;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:11px;display:flex}.receipt-dialog-backdrop{z-index:130;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1f282ea3;place-items:start center;padding:4vh 18px;display:grid;position:fixed;inset:0;overflow-y:auto}.receipt-dialog{background:#f1f4f5;border-radius:14px;width:min(620px,100%);overflow:hidden;box-shadow:0 30px 90px #19222857}.receipt-dialog-header,.receipt-dialog-actions{background:#fff;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;display:flex}.receipt-dialog-header{border-bottom:1px solid var(--line)}.receipt-dialog-header h2{color:var(--ink);margin:3px 0 0;font-family:Georgia,Noto Serif SC,serif;font-size:22px}.receipt-dialog-header>button{color:#687269;background:#f1f3f0;border:0;border-radius:50%;width:34px;height:34px;font-size:22px}.receipt-preview{place-items:start center;padding:24px;display:grid}.sales-receipt{color:#111;background:#fff;width:80mm;max-width:100%;padding:8mm 6mm;font-family:Microsoft YaHei,Arial,sans-serif;font-size:11px;box-shadow:0 10px 30px #303f481f}.receipt-store{text-align:center;border-bottom:1px dashed #333;justify-items:center;padding-bottom:10px;display:grid}.receipt-store strong{letter-spacing:.05em;font-family:Georgia,serif;font-size:24px}.receipt-store span{margin-top:2px;font-size:13px;font-weight:800}.receipt-store small,.receipt-footer small{letter-spacing:.12em;margin-top:4px;font-size:8px}.receipt-meta,.receipt-totals{gap:4px;margin:0;padding:10px 0;display:grid}.receipt-meta{border-bottom:1px dashed #333}.receipt-meta>div,.receipt-totals>div{justify-content:space-between;gap:12px;display:flex}.receipt-meta dt,.receipt-totals dt{color:#444}.receipt-meta dd,.receipt-totals dd{text-align:right;margin:0}.receipt-lines{border-collapse:collapse;table-layout:fixed;width:100%}.receipt-lines th,.receipt-lines td{text-align:right;vertical-align:top;border-bottom:1px dashed #777;padding:7px 2px}.receipt-lines th:first-child,.receipt-lines td:first-child{text-align:left;width:43%}.receipt-lines th:nth-child(2),.receipt-lines td:nth-child(2){width:35%}.receipt-lines td strong,.receipt-lines td small{display:block}.receipt-lines td small{color:#555;margin-top:2px;font-size:8px}.receipt-totals{border-bottom:1px dashed #333}.receipt-totals .receipt-paid,.receipt-totals .receipt-net{border-top:1px solid #222;margin-top:3px;padding-top:5px;font-size:14px;font-weight:900}.receipt-remark{color:#333;border-bottom:1px dashed #333;margin:0;padding:8px 0;line-height:1.5}.receipt-footer{text-align:center;justify-items:center;gap:3px;padding-top:13px;display:grid}.receipt-footer strong{font-size:13px}.receipt-footer span{letter-spacing:.14em;font-size:8px}.receipt-dialog-actions{border-top:1px solid var(--line)}.receipt-dialog-actions>span{color:var(--muted);font-size:10px}.receipt-dialog-actions>div{gap:8px;display:flex}@media print{@page receipt{size:80mm auto;margin:0}body{background:#fff!important}body *{visibility:hidden!important}.sales-receipt,.sales-receipt *{visibility:visible!important}.receipt-dialog-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.receipt-dialog,.receipt-preview{width:auto!important;box-shadow:none!important;background:#fff!important;padding:0!important;overflow:visible!important}.sales-receipt{page:receipt;width:80mm;max-width:none;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:6mm 5mm;position:absolute;top:0;left:0}}.product-label-table th:first-child,.product-label-table td:first-child{text-align:center;width:42px}.product-label-table th:last-child,.product-label-table td:last-child{width:118px}.label-copy-input{width:82px;color:var(--ink);background:#fff;border:1px solid #cfd7d1;border-radius:7px;padding:8px 9px}.label-copy-input:disabled{color:#9da49f;background:#f1f3f0}.inventory-summary p>button{color:var(--danger);background:0 0;border:0;margin-left:8px;font-weight:800}.label-dialog-backdrop{z-index:135;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1f282ea3;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.label-dialog{background:#e9eef0;border-radius:14px;width:min(1120px,100%);max-height:calc(100vh - 48px);overflow:hidden;box-shadow:0 30px 90px #19222857}.label-dialog-header,.label-dialog-actions{background:#fff;justify-content:space-between;align-items:center;gap:14px;padding:16px 20px;display:flex}.label-dialog-header{border-bottom:1px solid var(--line)}.label-dialog-header h2{color:var(--ink);margin:3px 0 0;font-family:Georgia,Noto Serif SC,serif;font-size:22px}.label-dialog-header>button{color:#687269;background:#edf0ed;border:0;border-radius:50%;width:34px;height:34px;font-size:22px}.label-preview{max-height:calc(100vh - 210px);padding:24px;overflow:auto}.product-label-sheet{background:#fff;flex-wrap:wrap;align-content:flex-start;gap:2mm;width:210mm;min-height:297mm;margin:0 auto;padding:8mm;display:flex;box-shadow:0 12px 35px #26343c21}.product-label{box-sizing:border-box;color:#111;break-inside:avoid;page-break-inside:avoid;border:.25mm dashed #b5bbb7;grid-template-rows:auto auto minmax(7mm,1fr) auto auto;padding:2mm;font-family:Arial,Microsoft YaHei,sans-serif;line-height:1.05;display:grid;overflow:hidden}.product-label-heading{justify-content:space-between;align-items:flex-start;gap:1.5mm;display:flex}.product-label-heading strong{text-overflow:ellipsis;white-space:nowrap;font-size:10pt;overflow:hidden}.product-label-heading span{flex:none;font-size:10pt;font-weight:900}.product-label-description{color:#555;text-overflow:ellipsis;white-space:nowrap;margin-top:.6mm;font-size:6.5pt;overflow:hidden}.product-label-barcode{shape-rendering:crispedges;width:100%;height:100%;min-height:7mm;margin-top:.8mm}.product-label-barcode rect{fill:#000}.product-label-code{letter-spacing:.08em;text-align:center;margin-top:.4mm;font-family:Courier New,monospace;font-size:6.8pt}.product-label-footer{justify-content:space-between;margin-top:.5mm;font-size:5.5pt;display:flex}.product-label-footer strong{letter-spacing:.05em;font-family:Georgia,serif}.product-label--40x30{padding:1.5mm}.product-label--40x30 .product-label-heading strong,.product-label--40x30 .product-label-heading span{font-size:8.5pt}.label-dialog-actions{border-top:1px solid var(--line)}.label-dialog-actions>span{color:var(--muted);font-size:11px}.label-dialog-actions>div{gap:8px;display:flex}@page product-labels{size:A4 portrait;margin:0}@media print{.product-label-sheet,.product-label-sheet *{visibility:visible!important}.label-dialog-backdrop{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:0 0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.label-dialog,.label-preview{width:auto!important;max-height:none!important;box-shadow:none!important;background:#fff!important;padding:0!important;overflow:visible!important}.label-dialog-header,.label-dialog-actions{display:none!important}.product-label-sheet{page:product-labels;width:210mm;min-height:297mm;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;gap:2mm;margin:0;padding:8mm}}@media (width<=760px){.label-dialog-backdrop{place-items:start center;padding:10px}.label-dialog{max-height:calc(100vh - 20px)}.label-dialog-actions{flex-direction:column;align-items:stretch}}.button--scan,.barcode-input-row>button{color:#486b7a;font:inherit;white-space:nowrap;background:#edf6f9;border:1px solid #8eb5c5;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:900}.button--scan:hover,.barcode-input-row>button:hover{border-color:var(--green);background:#dfeef3}.barcode-input-row{gap:7px;display:flex}.barcode-input-row>input{flex:1;min-width:0}.mobile-scan-feedback{color:#22623f;margin:9px 0 0;font-size:11px;font-weight:800}.camera-scanner-backdrop{z-index:160;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#12181cdb;place-items:center;padding:20px;display:grid;position:fixed;inset:0;overflow-y:auto}.camera-scanner{background:#f5f7f8;border:1px solid #ffffff1f;border-radius:18px;width:min(620px,100%);overflow:hidden;box-shadow:0 30px 100px #0000007a}.camera-scanner>header{background:#fff;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;display:flex}.camera-scanner>header h2{color:var(--ink);margin:3px 0 0;font-family:Georgia,Noto Serif SC,serif;font-size:22px}.camera-scanner>header>button{color:#68767e;background:#edf1f3;border:0;border-radius:50%;width:36px;height:36px;font-size:23px}.camera-scanner-stage{aspect-ratio:4/3;background:radial-gradient(circle,#2d3d46 0,#11191e 72%);position:relative;overflow:hidden}.camera-scanner-stage video{object-fit:cover;width:100%;height:100%;display:block}.camera-scanner-stage:after{content:"";pointer-events:none;background:linear-gradient(#00000057,#0000 22% 78%,#00000057);position:absolute;inset:0}.camera-scan-frame{z-index:2;width:min(78%,450px);height:36%;position:absolute;top:50%;left:50%;translate:-50% -50%}.camera-scan-frame>span{filter:drop-shadow(0 0 4px #5bd2e68c);border-style:solid;border-color:#8fe1ef;width:28px;height:28px;position:absolute}.camera-scan-frame>span:first-child{border-width:3px 0 0 3px;top:0;left:0}.camera-scan-frame>span:nth-child(2){border-width:3px 3px 0 0;top:0;right:0}.camera-scan-frame>span:nth-child(3){border-width:0 3px 3px 0;bottom:0;right:0}.camera-scan-frame>span:nth-child(4){border-width:0 0 3px 3px;bottom:0;left:0}.camera-scan-frame>i{background:#8fe1ef;height:2px;animation:2s ease-in-out infinite camera-scan-line;position:absolute;top:50%;left:8px;right:8px;box-shadow:0 0 10px #5bd2e6e6}@keyframes camera-scan-line{0%,to{opacity:.55;translate:0 -48px}50%{opacity:1;translate:0 48px}}.camera-scanner-state{z-index:3;color:#fff;text-align:center;background:#12181cb8;place-content:center;font-size:13px;font-weight:800;display:grid;position:absolute;inset:0}.camera-scanner-state--error{gap:8px;padding:28px}.camera-scanner-state--error strong{font-size:18px}.camera-scanner-state--error span{color:#dce8ed;max-width:400px;font-weight:500;line-height:1.6}.camera-scanner-state--error .button{justify-self:center;margin-top:8px}.camera-scanner-guide{background:#fff;gap:4px;padding:14px 18px;display:grid}.camera-scanner-guide strong{color:var(--ink);font-size:13px}.camera-scanner-guide span{color:var(--muted);font-size:10px;line-height:1.5}.camera-scanner>footer{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:12px 18px;display:flex}.camera-scanner>footer select{min-width:180px;color:var(--ink);background:#fff;border:1px solid #cfd7d1;border-radius:7px;margin-right:auto;padding:8px 10px}@media (width<=600px){.camera-scanner-backdrop{align-items:start;padding:0}.camera-scanner{border:0;border-radius:0;min-height:100dvh}.camera-scanner-stage{aspect-ratio:3/4;max-height:65dvh}.camera-scanner>footer{flex-direction:column;align-items:stretch}.camera-scanner>footer select{width:100%;margin:0}.barcode-input-row{flex-direction:column;align-items:stretch}}.report-export-actions{gap:8px;display:flex}.report-export-actions a{text-decoration:none}.report-filters{grid-template-columns:160px 160px 145px auto;justify-content:start}.report-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.report-metrics article{border:1px solid var(--line);border-top:3px solid var(--green);background:#fff;border-radius:10px;gap:5px;padding:15px;display:grid}.report-metrics article.warning{border-top-color:var(--danger)}.report-metrics span,.report-metrics small{color:var(--muted);font-size:10px;font-weight:800}.report-metrics strong{color:var(--ink);text-overflow:ellipsis;font-family:Georgia,serif;font-size:clamp(19px,2vw,27px);overflow:hidden}.reports-grid{grid-template-columns:minmax(0,1fr) 270px;gap:14px;display:grid}.report-card{min-width:0;padding:18px}.report-trend-card .table-scroll{margin:0 -18px -18px}.report-table{min-width:880px}.payment-list{gap:17px;margin:0;padding:4px 0;list-style:none;display:grid}.payment-list li,.category-share{gap:7px;display:grid}.payment-list li>div,.category-share{color:var(--muted);font-size:11px}.payment-list li>div{justify-content:space-between;display:flex}.payment-list strong{color:var(--ink)}.payment-list progress,.category-share progress{width:100%;height:6px;accent-color:var(--green);border:0;border-radius:99px;overflow:hidden}.inventory-report-card .table-scroll{margin:0 -18px -18px}.category-share{grid-template-columns:minmax(100px,1fr) 45px;align-items:center}.negative-profit{color:var(--danger)}.ranking-toolbar{background:#f5f7f4;border-radius:9px;grid-template-columns:minmax(220px,1fr) 170px 150px 130px auto;align-items:end;gap:9px;margin-bottom:15px;padding:12px;display:grid}.ranking-toolbar label{color:var(--muted);gap:5px;font-size:10px;font-weight:800;display:grid}.ranking-toolbar input,.ranking-toolbar select{min-height:38px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:7px 9px;font-size:11px}.ranking-toolbar input:focus,.ranking-toolbar select:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.product-ranking-table{min-width:1260px}.product-ranking-card .table-scroll{margin:0 -18px -18px}.ranking-number{width:28px;height:28px;color:var(--muted);background:#edf1ee;border-radius:50%;place-items:center;font-family:Georgia,serif;display:grid}.ranking-number--top{color:#8a5d0c;background:#fff1c7}.ranking-return{color:var(--muted);white-space:nowrap;margin-top:4px;font-size:9px;display:block}.ranking-score{min-width:190px}.ranking-score>div{grid-template-columns:minmax(90px,1fr) auto;align-items:center;gap:8px;display:grid}.ranking-score progress{width:100%;height:7px;accent-color:var(--gold)}.ranking-score strong{color:var(--green);white-space:nowrap;font-size:10px}.supplier-report-toolbar{background:#f5f7f4;border-radius:9px;grid-template-columns:minmax(240px,1fr) 170px auto;align-items:end;gap:9px;margin-bottom:13px;padding:12px;display:grid}.supplier-report-toolbar label{color:var(--muted);gap:5px;font-size:10px;font-weight:800;display:grid}.supplier-report-toolbar input,.supplier-report-toolbar select{min-height:38px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:7px 9px;font-size:11px}.supplier-report-toolbar input:focus,.supplier-report-toolbar select:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.supplier-summary-grid{grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:13px;display:grid}.supplier-summary-grid article{border:1px solid var(--line);background:#f9faf8;border-radius:8px;gap:4px;padding:12px;display:grid}.supplier-summary-grid span,.supplier-summary-grid small{color:var(--muted);font-size:9px}.supplier-summary-grid strong{color:var(--ink);font-family:Georgia,serif;font-size:20px}.supplier-report-table{min-width:1180px}.supplier-report-card .table-scroll{margin:0 -18px -18px}.supplier-share{grid-template-columns:minmax(70px,1fr) auto;align-items:center;gap:8px;min-width:150px;display:grid}.supplier-share progress{width:100%;height:7px;accent-color:var(--green)}.supplier-share strong{color:var(--green);font-size:10px}.order-status--return-draft{color:#59655e;background:#edf1ee}.order-status--return-completed{color:#8a5b06;background:#fff2d6}.order-status--return-cancelled{color:var(--danger);background:#fbe9e7}.return-guide{background:#edf3ee;border:1px solid #d6dfd9;border-radius:11px;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;gap:10px;padding:13px 15px;display:grid}.return-guide>div{align-items:center;gap:9px;display:flex}.return-guide>div>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:10px;font-weight:900;display:grid}.return-guide p{color:var(--muted);gap:2px;margin:0;font-size:10px;display:grid}.return-guide strong{color:var(--ink);font-size:11px}.return-guide>a{white-space:nowrap;text-decoration:none}.return-filters{grid-template-columns:minmax(220px,1.3fr) 140px 155px 155px auto}.return-order-table{min-width:1240px}.return-reason{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}.return-amount{color:#a46117}.return-source-summary{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.return-source-summary>div{border:1px solid var(--line);background:#f7f9f6;border-radius:8px;gap:5px;padding:11px 12px;display:grid}.return-source-summary span{color:var(--muted);font-size:10px;font-weight:800}.return-source-summary strong{color:var(--green);font-family:Georgia,serif;font-size:17px}.return-line-table{min-width:780px}.return-line-table input{width:130px;min-height:38px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:7px 10px}.return-line-table input:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.return-line-table input.input-invalid{border-color:var(--danger);background:#fff8f7}.return-form-grid{grid-template-columns:180px minmax(260px,1fr);gap:12px;display:grid}.return-form-grid label{color:#35433b;gap:6px;font-size:12px;font-weight:800;display:grid}.return-form-grid input,.return-form-grid textarea{width:100%;min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 11px;font-size:13px;font-weight:500}.return-form-grid input:focus,.return-form-grid textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.return-form-grid small{color:var(--danger)}.return-remark{grid-column:1/-1}@media (width<=1400px){.sales-product-picker{grid-template-columns:minmax(0,1fr) auto}}.report-net-table{min-width:1120px}@media (width<=1250px){.sales-filters,.report-metrics{grid-template-columns:repeat(3,1fr)}.reports-grid{grid-template-columns:1fr}.ranking-toolbar{grid-template-columns:repeat(3,1fr)}.supplier-summary-grid,.return-guide{grid-template-columns:repeat(2,1fr)}.return-filters{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.sales-workbench{grid-template-columns:1fr}.checkout-summary{position:static}}@media (width<=760px){.sales-product-picker,.sales-filters,.report-filters,.report-metrics,.ranking-toolbar,.supplier-report-toolbar,.supplier-summary-grid{grid-template-columns:1fr}.report-export-actions{width:100%}.report-export-actions .button{flex:1;justify-content:center}.return-guide,.return-filters,.return-source-summary,.return-form-grid{grid-template-columns:1fr}.return-remark{grid-column:auto}}.order-status--stocktake-draft{color:#59655e;background:#edf1ee}.order-status--stocktake-confirmed{color:var(--green);background:#e3f2e8}.order-status--stocktake-cancelled{color:var(--danger);background:#fbe9e7}.order-status--adjustment-draft{color:#59655e;background:#edf1ee}.order-status--adjustment-confirmed{color:var(--green);background:#e3f2e8}.order-status--adjustment-cancelled{color:var(--danger);background:#fbe9e7}.page-heading-actions{align-items:stretch;gap:10px;display:flex}.page-heading-actions .button{white-space:nowrap;align-self:stretch}.stocktake-guide{background:#edf3ee;border:1px solid #d6dfd9;border-radius:11px;grid-template-columns:repeat(3,1fr);gap:10px;padding:13px 15px;display:grid}.stocktake-guide>div{align-items:center;gap:9px;display:flex}.stocktake-guide>div>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-size:10px;font-weight:900;display:grid}.stocktake-guide p{color:var(--muted);gap:2px;margin:0;font-size:10px;display:grid}.stocktake-guide strong{color:var(--ink);font-size:11px}.stocktake-filters{grid-template-columns:minmax(230px,1.4fr) 160px 130px 150px 150px auto}.stocktake-table{min-width:1260px}.stocktake-increase,.stocktake-difference.positive{color:var(--green)}.stocktake-decrease,.stocktake-difference.negative{color:var(--danger)}.full-width{grid-column:1/-1}.full-width textarea,.stocktake-remark textarea{width:100%;color:var(--ink);font:inherit;resize:vertical;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:9px 11px}.form-hint{color:var(--muted);margin:13px 0 0;font-size:11px;line-height:1.65}.stocktake-edit-summary{grid-template-columns:repeat(4,1fr);gap:9px;display:grid}.stocktake-edit-summary>div{border:1px solid var(--line);background:#f7f9f6;border-radius:8px;gap:5px;padding:11px 12px;display:grid}.stocktake-edit-summary span{color:var(--muted);font-size:10px;font-weight:800}.stocktake-edit-summary strong{color:var(--ink);font-family:Georgia,serif;font-size:16px}.stocktake-edit-summary i,.stocktake-edit-summary em{font-style:normal}.stocktake-edit-summary i{color:var(--green)}.stocktake-edit-summary em{color:var(--danger)}.stocktake-tools{grid-template-columns:minmax(240px,1fr) minmax(220px,1fr) auto;align-items:end;gap:10px;display:grid}.stocktake-tools>label,.stocktake-remark{color:#35433b;gap:6px;font-size:11px;font-weight:800;display:grid}.stocktake-tools>label>input,.stocktake-tools .inline-search input{min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 11px;font-size:12px}.stocktake-scan-message{border-left:3px solid var(--green);color:#335b43;background:#edf6f0;margin:-2px 0 0;padding:7px 10px;font-size:11px}.stocktake-line-wrap{border:1px solid var(--line);border-radius:8px;max-height:48vh}.stocktake-line-table{min-width:1050px}.stocktake-line-table thead{z-index:1;position:sticky;top:0}.stocktake-line-table input{width:100%;min-width:125px;min-height:36px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfd8d2;border-radius:6px;outline:none;padding:7px 9px}.stocktake-line-table input:focus,.stocktake-tools input:focus,.stocktake-remark textarea:focus,.full-width textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.stocktake-line-table input:disabled{color:#8b948f;background:#f1f3f1}.stocktake-difference-row{background:#fffaf1}.stocktake-confirm-bar{background:#edf3ee;border:1px solid #d6dfd9;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:11px 13px;display:flex}.stocktake-confirm-bar p{color:var(--muted);margin:0;font-size:11px}.stocktake-detail-table{min-width:850px}.adjustment-filters{grid-template-columns:minmax(320px,1.5fr) 140px 160px 160px auto}.adjustment-table{min-width:1220px}.adjustment-reason-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.adjustment-reason-grid label,.adjustment-product-search>label{color:#35433b;gap:6px;font-size:11px;font-weight:800;display:grid}.adjustment-reason-grid input,.adjustment-product-search input{min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;outline:none;padding:8px 11px;font-size:12px}.adjustment-reason-grid input:focus,.adjustment-product-search input:focus{border-color:var(--green);box-shadow:0 0 0 3px #657b861f}.adjustment-product-search{gap:8px;display:grid}.adjustment-search-results{border:1px solid var(--line);background:#fff;border-radius:8px;max-height:190px;display:grid;overflow-y:auto}.adjustment-search-results button{border:0;border-bottom:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:16px;padding:9px 12px;display:flex}.adjustment-search-results button:last-child{border-bottom:0}.adjustment-search-results button:hover{background:#f2f6f3}.adjustment-search-results button>span{gap:2px;display:grid}.adjustment-search-results small{color:var(--muted)}.adjustment-line-table{min-width:960px}.adjustment-line-table select,.adjustment-line-table input{min-width:130px;min-height:36px;color:var(--ink);font:inherit;background:#fff;border:1px solid #cfd8d2;border-radius:6px;outline:none;padding:7px 9px}.adjustment-empty-line{height:110px;color:var(--muted);text-align:center}.adjustment-negative-row{background:#fff0ed}.adjustment-detail-table{min-width:900px}@media (width<=1250px){.stocktake-filters,.adjustment-filters{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.stocktake-edit-summary{grid-template-columns:repeat(2,1fr)}.stocktake-tools{grid-template-columns:1fr 1fr}}@media (width<=760px){.page-heading-actions,.stocktake-confirm-bar{flex-direction:column;align-items:stretch;width:100%}.stocktake-guide,.stocktake-filters,.adjustment-filters,.stocktake-edit-summary,.stocktake-tools,.adjustment-reason-grid{grid-template-columns:1fr}.full-width{grid-column:auto}}.audit-filters{grid-template-columns:145px 145px minmax(220px,1fr) 130px 185px 185px auto}.audit-table{min-width:1180px}.audit-module-badge,.audit-operation-badge{white-space:nowrap;border-radius:99px;padding:5px 9px;font-size:10px;font-weight:850;display:inline-flex}.audit-module-badge{color:var(--green);background:#e8f0eb}.audit-operation-badge{color:#59655e;background:#edf0ed}.audit-operation--create,.audit-operation--confirm,.audit-operation--complete{color:#246b43;background:#e4f3e9}.audit-operation--cancel{color:var(--danger);background:#fbe9e7}.audit-operation--login{color:#385d92;background:#e9eef8}.audit-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.audit-detail-summary>div{border:1px solid var(--line);background:#f7f9f6;border-radius:8px;gap:4px;padding:11px 12px;display:grid}.audit-detail-summary span,.audit-detail-summary small{color:var(--muted);font-size:10px}.audit-detail-summary strong{color:var(--ink);font-size:12px}.audit-description{border-left:3px solid var(--gold);color:#4f646e;background:#eff6f8;margin:0;padding:9px 12px;font-size:12px}.audit-snapshots{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.audit-snapshots section{border:1px solid var(--line);background:#222c32;border-radius:9px;min-width:0;overflow:hidden}.audit-snapshots header{color:#fff;background:#2d3940;border-bottom:1px solid #44535b;justify-content:space-between;padding:10px 12px;font-size:11px;display:flex}.audit-snapshots header span{color:#a4b3ba;letter-spacing:.12em;font-size:9px}.audit-snapshots pre{color:#d2e4ea;white-space:pre-wrap;word-break:break-word;min-height:240px;max-height:44vh;margin:0;padding:14px;font:11px/1.7 Cascadia Code,Consolas,monospace;overflow:auto}@media (width<=1250px){.audit-filters{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.audit-filters,.audit-detail-summary,.audit-snapshots{grid-template-columns:1fr}}.repair-page{gap:16px}.repair-tabs{display:flex}.repair-filters{grid-template-columns:minmax(230px,1.4fr) 135px 150px 145px 145px auto}.repair-flow{background:#edf3ee;border:1px solid #d6dfd9;border-radius:11px;grid-template-columns:repeat(5,minmax(0,1fr));display:grid;overflow:hidden}.repair-flow span{color:#506158;justify-content:center;align-items:center;gap:8px;min-height:48px;font-size:11px;font-weight:750;display:flex;position:relative}.repair-flow span+span{border-left:1px solid #d6dfd9}.repair-flow b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:23px;height:23px;font-size:10px;display:grid}.order-status--inspecting{color:#34618d;background:#e8f0fb}.order-status--repairing{color:#925e05;background:#fff0d2}.order-status--awaiting_pickup{color:#674b9c;background:#eee8fb}.repair-section-title{justify-content:space-between;align-items:center;display:flex}.repair-section-title .button{min-height:32px;padding:6px 10px}.repair-total{border:1px solid #d9e3dc}.repair-notes{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.repair-notes>div{border:1px solid var(--line);background:#f7f9f6;border-radius:9px;padding:12px}.repair-notes span,.repair-settlement span{color:var(--muted);font-size:10px}.repair-notes p{color:var(--ink);white-space:pre-wrap;margin:7px 0 0;font-size:12px;line-height:1.65}.repair-settlement{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.repair-settlement>div{background:#edf3ee;border-radius:9px;gap:5px;padding:12px;display:grid}.repair-settlement strong{color:var(--green);font-family:Georgia,serif;font-size:17px}@media (width<=1250px){.repair-filters{grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.repair-tabs button{flex:1}.repair-filters,.repair-flow,.repair-notes,.repair-settlement{grid-template-columns:1fr}.repair-flow span+span{border-top:1px solid #d6dfd9;border-left:0}}.finance-page{gap:16px}.finance-guide{background:#edf3ee;border:1px solid #d6dfd9;border-radius:11px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.finance-guide>div{align-items:center;gap:9px;min-height:62px;padding:10px 14px;display:flex}.finance-guide>div+div{border-left:1px solid #d6dfd9}.finance-guide>div>span{background:var(--green);color:#fff;border-radius:50%;flex:0 0 29px;place-items:center;width:29px;height:29px;font-size:9px;font-weight:900;display:grid}.finance-guide p{color:var(--muted);gap:2px;margin:0;font-size:10px;display:grid}.finance-guide strong{color:var(--ink);font-size:11px}.finance-filters{grid-template-columns:160px 160px 160px auto}.finance-table{min-width:1280px}.order-status--finance-draft{color:#8a5b06;background:#fff2d6}.order-status--finance-confirmed{color:var(--green);background:#e3f2e8}.finance-difference,.finance-reconciliation-total .positive,.finance-detail-comparison .positive{color:#9a6412}.finance-difference.negative,.finance-reconciliation-total .negative,.finance-detail-comparison .negative{color:var(--danger)}.finance-difference.matched,.finance-reconciliation-total .matched,.finance-detail-comparison .matched{color:var(--green)}.finance-date-picker{grid-template-columns:minmax(180px,260px) auto 1fr;align-items:end;gap:10px;display:grid}.finance-date-picker label{gap:6px;display:grid}.finance-date-picker label>span{color:var(--muted);font-size:11px;font-weight:750}.finance-date-picker input,.finance-other-grid input{min-height:40px;color:var(--ink);font:inherit;background:#fbfcfa;border:1px solid #cfd8d2;border-radius:7px;padding:8px 10px}.finance-date-picker p{color:var(--muted);margin:0 0 10px;font-size:10px}.finance-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;display:grid}.finance-summary>div{background:#f5f8f5;border:1px solid #dce5df;border-radius:9px;gap:5px;padding:12px;display:grid}.finance-summary span,.finance-summary small,.finance-reconciliation-total span,.finance-channel-detail span{color:var(--muted);font-size:10px}.finance-summary strong{color:var(--green);font-family:Georgia,serif;font-size:18px}.finance-entry-table{min-width:680px}.finance-entry-table input{max-width:190px}.finance-other-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.finance-other-grid label{gap:6px;display:grid}.finance-other-grid label>span{color:var(--ink);font-size:11px;font-weight:800}.finance-other-grid small{color:var(--muted);font-size:10px}.finance-reconciliation-total{background:#edf3ee;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px;display:grid}.finance-reconciliation-total>div{gap:4px;display:grid}.finance-reconciliation-total strong{color:var(--ink);font-family:Georgia,serif;font-size:17px}.finance-detail-comparison{border:1px solid var(--line);border-radius:9px;overflow:hidden}.finance-detail-comparison>div{grid-template-columns:1.2fr repeat(3,1fr);gap:10px;padding:10px 12px;font-size:11px;display:grid}.finance-detail-comparison>div+div{border-top:1px solid var(--line)}.finance-detail-comparison>div:first-child{color:var(--muted);background:#edf3ee}.finance-detail-comparison .total{background:#f7f9f6}.finance-channel-detail{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;display:grid}.finance-channel-detail>div{background:#f5f8f5;border-radius:8px;gap:5px;padding:10px;display:grid}.finance-channel-detail strong{color:var(--ink);font-size:11px}@media (width<=900px){.finance-guide,.finance-summary,.finance-reconciliation-total,.finance-channel-detail{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-guide>div:nth-child(3){border-top:1px solid #d6dfd9;border-left:0}.finance-guide>div:nth-child(4){border-top:1px solid #d6dfd9}}@media (width<=760px){.finance-guide,.finance-filters,.finance-date-picker,.finance-summary,.finance-other-grid,.finance-reconciliation-total,.finance-channel-detail{grid-template-columns:1fr}.finance-guide>div+div{border-top:1px solid #d6dfd9;border-left:0}.finance-detail-comparison>div{grid-template-columns:1fr repeat(3,minmax(70px,1fr));min-width:520px}.finance-detail-comparison{overflow-x:auto}}
