@import url('');
.check-order-panel td.name,.purchase-order-panel td.name{font-size:19px;line-height:1.4}
.check-order-panel td input[data-input="line-qty"]{width:138px;min-height:50px;font-size:19px;text-align:center}
.check-order-panel .actions button[data-action="save-line"]{min-height:42px;padding:9px 15px;font-size:15px;margin-right:8px}
:root{--ink:#1d362f;--green:#267657;--pale:#e9f3ed;--muted:#72847d;--line:#e2e9e4;--bg:#f5f7f3;--red:#bb4141;--gold:#956728;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 16px;font-weight:600;white-space:nowrap}button:hover{border-color:var(--green);background:var(--pale)}button:disabled{opacity:.5;cursor:not-allowed}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#1b5b41;color:white}.danger{color:var(--red)}.link{border:0;background:none;color:var(--green);padding:6px}.small{padding:6px 10px;font-size:13px}input,select{border:1px solid #cddbd2;border-radius:8px;padding:12px 14px;min-height:46px;background:white;color:var(--ink);max-width:100%}input:focus,select:focus{outline:2px solid #81bba0;outline-offset:1px}input:disabled{background:#f1f4f1;color:#5c6c65}.shell{display:grid;grid-template-columns:226px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);position:sticky;top:0;height:100vh;padding:28px 18px;display:flex;flex-direction:column;gap:22px}.brand{display:flex;gap:11px;align-items:center;font-size:20px;font-weight:800;letter-spacing:1px}.logo{display:grid;place-items:center;background:var(--green);color:white;border-radius:13px;width:43px;height:43px;font-size:23px}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:5px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;border:0;padding:14px;background:transparent;color:#65786e;font-weight:500}.nav button.active{background:var(--pale);color:var(--green);font-weight:700}.nav i{font-style:normal;font-size:17px;width:22px}.sidebar .foot{margin-top:auto;font-size:12px;line-height:1.9;color:var(--muted)}.workspace{min-width:0}.topbar{height:81px;background:#ffffffd9;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 35px}.topbar .account{display:flex;gap:16px;align-items:center}.sync-state{font-size:12px;color:var(--muted)}main{padding:28px 35px 48px;max-width:1510px;margin:auto}.heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}h1{font-size:26px;letter-spacing:1px;margin:0 0 9px}h2{font-size:19px;margin:0 0 18px}h3{font-size:17px;margin:0 0 8px}.muted,small{color:var(--muted)}p{line-height:1.7}.eyebrow{font-size:11px;letter-spacing:2px;color:var(--green);margin-bottom:12px;font-weight:700}.hero{background:linear-gradient(120deg,#e6f0e5,#f5f5e8);border:1px solid #dce7da;border-radius:18px;padding:32px 36px;display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;overflow:hidden}.hero h1{font-size:30px}.hero p{margin-bottom:0}.produce{font-size:66px;letter-spacing:-18px;white-space:nowrap;filter:drop-shadow(0 12px 10px #889d7930);padding:0 30px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.tile{display:flex;gap:16px;align-items:flex-start;text-align:left;white-space:normal;background:#fff;border:1px solid var(--line);border-radius:15px;padding:26px}.tile .icon{font-size:27px;background:var(--pale);border-radius:12px;padding:12px}.tile small{font-size:13px;line-height:1.8;font-weight:400}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;margin-bottom:18px}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:19px}.toolbar label{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:13px}.toolbar .search{flex:1;min-width:180px;max-width:420px}.tabs{display:flex;gap:5px;background:#e9eee9;padding:5px;border-radius:10px;width:max-content;max-width:100%;margin-bottom:20px}.tabs button{border:0;background:none;color:#6a7b71;font-weight:500}.tabs button.active{background:white;color:var(--green);box-shadow:0 2px 5px #2a47300a}.notice{padding:12px 16px;background:#f6f4e7;border:1px solid #ede8cd;color:#837237;font-size:13px;border-radius:9px;line-height:1.7;margin-bottom:17px}.error{color:var(--red);background:#fff0ef}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.stat{border:1px solid var(--line);background:#fff;border-radius:13px;padding:20px}.stat small{display:block;margin-bottom:10px}.stat strong{font-size:27px;font-weight:650}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#738479;font-size:12px;font-weight:500;background:#f7f9f6;padding:14px 12px;border-bottom:1px solid var(--line)}td{padding:14px 12px;border-bottom:1px solid #eef2ed;font-size:15px;vertical-align:middle}tr:last-child td{border-bottom:0}td.name{font-size:17px;font-weight:600;min-width:150px;white-space:normal;max-width:340px}td small{display:block;font-size:12px;margin-top:5px;font-weight:400}td input[type=number]{width:126px;min-width:100px;font-size:17px}td select{min-width:145px}td.actions{white-space:nowrap}.price{font-size:18px;font-variant-numeric:tabular-nums}.unpriced{color:var(--red)}.badge{font-size:12px;display:inline-block;background:var(--pale);color:var(--green);border-radius:6px;padding:5px 9px;font-weight:500}.badge.pending{color:var(--gold);background:#f8f0df}.empty{padding:55px 15px;text-align:center;color:var(--muted);white-space:normal}.bottom-bar{position:sticky;bottom:0;background:#fffffff5;border:1px solid var(--line);border-radius:12px;padding:17px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -6px 30px #26482f06;margin-top:20px}.bottom-bar strong{font-size:23px}.store-card{display:block;text-align:left;padding:23px;border:1px solid var(--line);border-radius:13px;white-space:normal;background:white;min-height:162px}.store-card strong{font-size:19px;display:block;margin:6px 0 17px}.store-card .row{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:400}.store-card .row b{font-size:22px}.store-card .store-icon{color:var(--green)}.inline{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.list-details summary{cursor:pointer;color:var(--green);padding:8px 0}.list-details p{margin:5px 0}.check{width:19px;height:19px;min-height:0;accent-color:var(--green)}dialog{border:1px solid var(--line);border-radius:18px;padding:0;width:min(680px,94vw);box-shadow:0 24px 90px #12281b35;color:var(--ink)}dialog::backdrop{background:#1c302959;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0}.dialog-body{padding:24px 28px;max-height:65vh;overflow:auto}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;padding:19px 28px;background:#f8faf7;border-top:1px solid var(--line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.field{display:flex;flex-direction:column;gap:9px;font-size:14px}.field.full{grid-column:1/-1}.field input,.field select{width:100%;font-size:17px;min-height:52px}.choices{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0}.choices label{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:9px 12px}.choices input{min-height:0}.match-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.login-story{padding:10vw 8vw;background:linear-gradient(145deg,#e2eee0,#f5f4e7);display:flex;flex-direction:column;justify-content:center}.login-story h1{font-size:42px;line-height:1.5;margin-top:55px}.login-form{align-self:center;padding:55px;width:min(490px,100%);margin:auto}.login-form h2{font-size:26px}.login-form .field{margin-top:25px}.login-form .primary{width:100%;margin-top:28px;padding:15px}.login-form small{display:block;margin-top:20px;line-height:1.8}.boot{text-align:center;padding:20vh 10px;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#183a2d;color:white;border-radius:9px;padding:13px 23px;z-index:20;display:none;max-width:90vw;box-shadow:0 5px 25px #132a2b25}body.busy{cursor:progress}body.busy button{pointer-events:none;opacity:.6}.wide-dialog{width:min(1000px,95vw)}.print-preview{width:100%;height:70vh;border:1px solid var(--line)}.shared{max-width:900px;margin:30px auto;padding:25px}.edit-indicator{color:var(--gold);font-size:12px}a{color:var(--green)}@media(max-width:1100px){.shell{grid-template-columns:185px 1fr}.sidebar{padding:22px 12px}.brand{font-size:17px}main{padding:24px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.produce{font-size:52px}.topbar{padding:15px 24px}}@media(max-width:720px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px}.sidebar .foot{display:none}.nav{flex-direction:row;overflow:auto;gap:2px}.nav button{padding:10px}.nav i{display:none}.topbar{height:auto;padding:12px 16px;flex-wrap:wrap;font-size:12px}main{padding:19px 14px}.hero{padding:23px}.hero h1{font-size:24px}.produce{display:none}.grid{grid-template-columns:1fr}.stats{gap:8px}.stat{padding:14px 10px}.stat strong{font-size:21px}.heading{flex-wrap:wrap}.panel{padding:15px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.login{display:block}.login-story{padding:28px}.login-story h1,.login-story p{display:none}.login-form{padding:32px}.dialog-body{padding:20px}.toolbar label{flex-wrap:wrap}.bottom-bar{padding:14px}.shared{margin:0;padding:15px}}

.category-manager{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:13px 16px;background:#fff;border:1px solid var(--line);border-radius:12px}.category-manager>strong{font-size:13px;color:var(--muted);margin-right:4px}.category-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 6px 5px 11px;border:1px solid var(--line);border-radius:8px;background:#fbfdfb}.category-chip small{font-size:11px;color:var(--muted)}.category-chip button{padding:4px 7px;font-size:12px}
.work-queue{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 22px;margin-bottom:24px}.queue-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.queue-head h2{margin:0 0 5px}.queue-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.queue-card{border:1px solid var(--line);border-radius:11px;padding:15px;display:flex;flex-direction:column;gap:5px;background:#fbfdfb}.queue-card strong{font-size:25px;color:var(--green);font-variant-numeric:tabular-nums}.queue-card span{font-weight:650}.queue-card small{font-size:12px;line-height:1.5}.queue-card.warn{border-color:#e6c98d;background:#fffaf0}.queue-card.warn strong{color:var(--gold)}
@media(max-width:1100px){.queue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.work-queue{padding:16px}.queue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.queue-card{padding:12px}.queue-card strong{font-size:21px}}

.account-remark{max-width:260px;white-space:pre-wrap;overflow-wrap:anywhere}#account-remark{min-height:100px;resize:vertical;font:inherit;line-height:1.6;padding:12px;border:1px solid var(--line);border-radius:8px}
.field .choices input.check{width:19px;min-width:19px;height:19px;min-height:19px;padding:0;flex:0 0 19px}

/* Account management: a quiet desktop list that becomes readable cards on narrow screens. */
.admin-svg{width:20px;height:20px;flex:none;vertical-align:middle}
.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:2px 0 28px}
.admin-heading-copy{display:flex;align-items:center;gap:16px;min-width:0}
.admin-heading-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:17px;background:#e4eee7;color:#287557;flex:none}
.admin-heading-icon .admin-svg{width:27px;height:27px}.admin-heading h1{font-size:28px;letter-spacing:0;margin:0 0 6px;font-weight:700}.admin-heading p{font-size:13px;color:#7b8982;margin:0;line-height:1.5}
.admin-add-account,.admin-add-store{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px}
.admin-add-account{padding:11px 20px;box-shadow:0 4px 10px #235b3512}.admin-add-account .admin-svg{width:18px;height:18px}
.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:22px;align-items:start}
.account-panel,.admin-stores-panel{background:#fff;border:1px solid #e2e9e3;border-radius:16px;box-shadow:0 4px 20px #273d2d04;min-width:0}
.account-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 24px 18px}.account-panel-heading h2{font-size:17px;margin:0;display:flex;gap:9px;align-items:center}.admin-count{background:#eef3ee;border-radius:7px;font-size:12px;padding:3px 8px;color:#60746a;font-weight:600;font-variant-numeric:tabular-nums}.account-panel-caption{font-size:12px;color:#92a098}
.account-filters{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px;padding:0 24px 22px}.account-search{display:flex;align-items:center;gap:8px;border:1px solid #e1e7e2;border-radius:10px;background:#f8faf8;padding:0 12px;min-width:0;color:#8a9a90}.account-search:focus-within{border-color:#7ca78d;box-shadow:0 0 0 3px #2b755710}.account-search .admin-svg{width:18px;height:18px}.account-search input{min-width:0;width:100%;border:0;padding:10px 0;min-height:42px;background:transparent;font-size:13px;outline:0}.account-search input:focus{outline:0}.account-filters select{font-size:13px;width:100%;min-height:44px;padding:8px 12px;border-color:#e1e7e2;background:#fff;border-radius:10px}
.account-table-wrap{overflow:visible}.account-table{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal}.account-table th{font-size:12px;color:#829087;background:#f8faf8;padding:13px 20px;border-top:1px solid #eef2ed;border-bottom:1px solid #eef2ed}.account-table th:first-child{width:36%;padding-left:24px}.account-table th:nth-child(2){width:18%}.account-table th:nth-child(3){width:24%}.account-table th:last-child{width:22%}.account-table td{padding:22px 20px;border-color:#edf1ed}.account-table td:first-child{padding-left:24px}.account-row:hover{background:#fcfdfb}.account-table .account-actions-heading{text-align:right;padding-right:24px}
.account-person{display:flex;align-items:flex-start;gap:12px}.account-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:12px;background:#eef3f0;color:#779082}.account-avatar.is-protected{background:#f7f0df;color:#ae8b43}.account-avatar .admin-svg{width:19px;height:19px}.account-person-info{min-width:0}.account-phone-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.account-phone-line strong{font-family:Arial,"Microsoft YaHei",sans-serif;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.3px;line-height:1.5}.account-self{color:#3d8464;background:#edf7ef;border-radius:4px;padding:1px 5px;font-size:10px;white-space:nowrap}.account-table .account-remark,.reset-account .account-remark{font-size:12px;color:#7f8e85;max-width:none;line-height:1.65;margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.account-table .account-remark.is-empty{color:#abb4ae}.protected-label{display:inline-block;margin-top:6px;font-size:10px;line-height:1.5;color:#9b803c;background:#faf5e8;border-radius:4px;padding:1px 6px}
.account-tags{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.role-tag,.store-tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;padding:4px 8px;border-radius:6px;overflow-wrap:anywhere;max-width:100%}.role-tag{background:#edf3f0;color:#497760;white-space:nowrap}.role-admin{background:#f2edfa;color:#8469a5}.role-order{background:#eaf4f0;color:#3e8468}.role-purchase{background:#edf3fb;color:#547ba4}.role-check{background:#e9f4f3;color:#528b87}.role-pricing{background:#fcf3e6;color:#ac8544}.role-finance{background:#f6edf1;color:#a06d86}.store-tag{background:#f5f7f4;color:#718176}.store-tag.all-stores{background:#edf4ed;color:#567862}.store-tag .admin-svg{width:13px;height:13px}
.account-row-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.account-row-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:12px;min-height:32px;padding:6px 9px;border-radius:7px;font-weight:500}.account-row-actions .admin-svg{width:14px;height:14px}.account-edit{color:#34775a;background:#f0f6f1;border-color:transparent}.account-reset{color:#78877d;background:transparent;border-color:transparent}.account-reset:hover{background:#fff7e8;border-color:#f3e1bf;color:#997b3f}.protected-note{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#a3aaa1;min-height:32px;padding:5px 0;white-space:nowrap}.protected-note .admin-svg{width:13px;height:13px}
.account-list-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 24px;border-top:1px solid #edf1ed;color:#95a097;font-size:11px}.account-match-count{color:#7b8d80}.account-empty{display:flex;align-items:center;flex-direction:column;gap:10px;padding:30px 10px;text-align:center;color:#a0afa3}.account-empty .admin-svg{width:30px;height:30px;margin-bottom:3px}.account-empty strong{color:#758578;font-size:14px;font-weight:500}.account-empty span{font-size:12px}.account-row[hidden],.account-empty-row[hidden]{display:none!important}
.admin-stores-panel{padding:23px 20px}.admin-stores-heading{display:flex;align-items:center;gap:11px;margin-bottom:20px}.admin-store-icon{display:grid;place-items:center;background:#eef4ed;color:#738969;border-radius:11px;width:37px;height:37px}.admin-store-icon .admin-svg{width:19px;height:19px}.admin-stores-heading h2{font-size:16px;margin:0 0 3px}.admin-stores-heading p{font-size:11px;margin:0;color:#96a18f}.admin-store-list{display:grid;gap:9px;max-height:420px;overflow:auto;margin-bottom:18px}.admin-store-item{display:flex;align-items:flex-start;gap:9px;border:1px solid #edf1e9;border-radius:9px;background:#fbfcf9;padding:12px;font-size:13px;line-height:1.5;color:#647359;overflow-wrap:anywhere}.store-dot{width:6px;height:6px;background:#9cb192;border-radius:50%;flex:0 0 6px;margin-top:7px}.admin-add-store{width:100%;font-size:13px;color:#6b8563;border-style:dashed;background:#fff;min-height:41px}.admin-add-store .admin-svg{width:16px;height:16px}.admin-store-note{margin-top:14px;color:#a0a89a;font-size:11px;line-height:1.7}.admin-store-empty{padding:15px 0;font-size:13px;color:#98a48f}
.account-dialog{width:min(700px,calc(100vw - 32px));max-height:calc(100vh - 32px)}.account-dialog .dialog-head,.account-reset-dialog .dialog-head{padding:22px 28px}.account-dialog .dialog-head h2,.account-reset-dialog .dialog-head h2{font-size:20px;letter-spacing:0}.account-dialog .dialog-body{padding:0 28px;max-height:calc(85vh - 145px)}.account-form-section{padding:24px 0}.account-form-section+.account-form-section{border-top:1px solid #edf1ea}.account-section-title{display:flex;align-items:center;gap:9px;margin-bottom:18px}.account-section-title>span{font-size:10px;color:#83a08c;border:1px solid #dfe9e0;border-radius:5px;padding:3px 5px;font-variant-numeric:tabular-nums}.account-section-title h3{font-size:14px;line-height:1.5;font-weight:600;margin:0}.account-section-title>small{font-size:11px;color:#95a292;margin-left:auto}.account-form .form-grid{gap:17px}.account-form .field{font-size:13px;color:#758271;gap:8px}.account-form .field em{font-style:normal;font-size:11px;color:#a9b2a2;margin-left:5px}.account-form .field input{min-height:48px;font-size:16px;border-color:#dde5dc;border-radius:9px;padding:12px 14px}.account-form .field input:disabled{background:#f5f7f2;color:#8f9e87}.account-form #account-remark{width:100%;min-height:82px;font-size:14px;border-color:#dde5dc;border-radius:9px;line-height:1.6;padding:12px 14px;color:var(--ink);max-width:100%}.account-form #account-remark:focus{outline:2px solid #81bba0;outline-offset:1px}.account-form .field small{font-size:11px;color:#a2ad9c}.account-role-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.permission-choice{display:flex;align-items:flex-start;gap:9px;padding:13px 11px;border:1px solid #e6ebe2;border-radius:10px;cursor:pointer;min-width:0;background:#fff}.permission-choice:hover,.store-choice:hover{border-color:#aac5ac;background:#fafcf8}.permission-choice:has(input:checked),.store-choice:has(input:checked){background:#f0f7ef;border-color:#9abb9f;box-shadow:0 0 0 1px #afc9ad15}.permission-choice input.check,.store-choice input.check{width:17px;height:17px;min-width:17px;min-height:17px;padding:0;margin:2px 0 0;flex:0 0 17px}.permission-choice strong{display:block;font-size:13px;font-weight:600;line-height:1.5}.permission-choice small{display:block;font-size:10px;line-height:1.6;color:#9aa68f;margin-top:4px}.account-store-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.store-choice{display:flex;gap:9px;align-items:flex-start;border:1px solid #e6ebe2;border-radius:9px;padding:12px;cursor:pointer;font-size:13px;line-height:1.5;overflow-wrap:anywhere;min-width:0}.account-dialog .dialog-foot{padding:17px 28px;background:#fafcf8}.account-dialog .dialog-foot button{min-width:98px;min-height:42px;font-size:14px}
.account-reset-dialog{width:min(450px,calc(100vw - 32px))}.account-reset-dialog .dialog-body{padding:26px 28px}.reset-intro{text-align:center}.reset-symbol{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 17px;background:#fbf2df;color:#b29652;border-radius:18px}.reset-symbol .admin-svg{width:25px;height:25px}.reset-intro h3{font-size:17px;margin:0 0 8px}.reset-intro p{font-size:12px;color:#94a08a;margin:0;line-height:1.7}.reset-account{display:flex;align-items:center;gap:12px;padding:16px;background:#f8faf5;border:1px solid #edf1e8;border-radius:11px;margin:22px 0 16px}.reset-account>div{min-width:0}.reset-account strong{font-size:16px;font-variant-numeric:tabular-nums;letter-spacing:.4px}.reset-detail{font-size:12px;line-height:1.8;color:#93a084}.account-reset-dialog .dialog-foot{padding:18px 28px;background:#fafbf7}.account-reset-dialog .dialog-foot button{min-height:42px;font-size:14px}.store-dialog{width:min(460px,calc(100vw - 32px))}.store-dialog .field{gap:12px}.store-dialog .field input{min-height:50px}
@media(max-width:1280px){.admin-layout{grid-template-columns:minmax(0,1fr)}.admin-store-list{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-add-store{width:auto;padding-inline:20px}.admin-stores-panel{padding:22px 24px}.admin-store-note{display:inline-block;margin:0 0 0 15px}.admin-store-item{align-items:flex-start}}
@media(max-width:1000px){.account-table,.account-table tbody{display:block}.account-table thead{display:none}.account-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:22px 24px;border-top:1px solid #edf1ed}.account-table td,.account-table td:first-child{display:block;padding:0;border:0;min-width:0}.account-identity,.account-action-cell{grid-column:1/-1}.account-table td[data-label]::before{content:attr(data-label);display:block;font-size:11px;color:#9ca79a;margin-bottom:8px}.account-row-actions{flex-direction:row;align-items:center;justify-content:flex-end;border-top:1px solid #f0f3ee;padding-top:13px;gap:12px}.account-row-actions button{min-height:35px;padding:7px 11px}.account-row-actions .protected-note{margin-right:auto}.account-phone-line strong{font-size:16px}.account-avatar{width:42px;height:42px;flex-basis:42px}.account-panel-heading{padding-bottom:16px}.account-filters{padding-bottom:20px}.account-empty-row{display:block}.account-empty-row td{padding:20px}.account-list-footer{padding-block:16px}}
@media(max-width:720px){.admin-heading{margin:0 0 20px;gap:18px;flex-wrap:wrap}.admin-heading-copy{gap:12px}.admin-heading-icon{width:45px;height:45px;border-radius:13px}.admin-heading-icon .admin-svg{width:23px;height:23px}.admin-heading h1{font-size:24px;margin-bottom:5px}.admin-heading p{font-size:12px}.admin-add-account{width:100%;min-height:43px;font-size:14px}.account-panel-heading{padding:19px 18px 15px}.account-panel-caption{display:none}.account-filters{grid-template-columns:minmax(0,1fr);padding:0 18px 18px;gap:9px}.account-filters select{min-height:40px}.account-row{padding:20px 18px;gap:16px}.account-list-footer{padding:15px 18px;flex-wrap:wrap;gap:6px;font-size:10px}.account-list-footer>span:last-child{display:none}.admin-stores-panel{padding:20px 18px}.admin-store-list{grid-template-columns:1fr}.admin-store-note{display:block;margin:13px 0 0}.admin-add-store{width:100%}.account-dialog .dialog-head,.account-reset-dialog .dialog-head{padding:18px 20px}.account-dialog .dialog-body{padding:0 20px;max-height:calc(88vh - 140px)}.account-form-section{padding:20px 0}.account-dialog .dialog-foot{padding:16px 20px}.account-role-options{grid-template-columns:1fr 1fr;gap:8px}.permission-choice{padding:11px 9px;gap:7px}.permission-choice small{font-size:10px}.account-store-options{grid-template-columns:1fr}.account-reset-dialog .dialog-body{padding:22px 20px}.account-reset-dialog .dialog-foot{padding:16px 20px}.account-dialog .dialog-head h2,.account-reset-dialog .dialog-head h2{font-size:18px}}
/* Finance opens on store totals; daily amounts are a separate detail view. */
.finance-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 28px;border-radius:15px;background:#eaf3ed;border:1px solid #dbe8de;margin-bottom:28px}.finance-overview>div>span{font-size:14px;color:#5d7b68}.finance-overview strong{display:block;font-size:36px;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;margin:5px 0}.finance-overview small{font-size:12px;color:#698573}.finance-overview-meta{font-size:14px;color:#547560;white-space:nowrap}.finance-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}.finance-section-title h2{margin:0;font-size:18px}.finance-section-title>.muted{font-size:13px}.finance-store-card{padding:22px;transition:box-shadow .15s,border-color .15s}.finance-store-card:hover{box-shadow:0 5px 18px #214c2c0e}.finance-store-card strong{font-size:19px;margin:8px 0 12px;overflow-wrap:anywhere}.finance-store-caption{font-size:12px;color:#849184;font-weight:400}.finance-card-amount{display:block;font-size:28px;font-weight:650;color:var(--green);font-variant-numeric:tabular-nums;margin-bottom:22px}.finance-store-card .row{gap:12px;flex-wrap:wrap;color:var(--muted)}.finance-card-link{color:var(--green)}.finance-daily th:last-child,.finance-daily td:last-child{text-align:right}.finance-daily .finance-day-empty td{color:#929f96}.finance-daily .price{font-size:18px}.finance-daily{max-width:1000px}@media(max-width:720px){.finance-overview{padding:20px}.finance-overview strong{font-size:31px}.finance-overview-meta{font-size:12px}.finance-store-card{padding:18px}.finance-card-amount{font-size:26px;margin-bottom:16px}.finance-daily th,.finance-daily td{padding:13px 7px}}

/* Units and finalized-bill corrections, isolated from normal order editing. */
.unit-list{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.unit-list span{padding:8px 18px;background:#eef5f1;border:1px solid #d8e6dd;border-radius:8px;color:#216049}
.correction-dialog{width:min(1180px,95vw)!important;max-width:1180px!important}.correction-dialog .dialog-body{max-height:73vh;overflow:auto}.correction-context{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px;background:#f0f6f3;border-radius:12px}.correction-context strong{font-size:20px}.correction-context small{display:block;margin-top:6px;color:#66776f}.correction-edit-table table{min-width:960px}.correction-edit-table input{width:100%;min-width:92px;height:44px;font-size:16px}.correction-edit-table td:first-child{min-width:220px}.correction-edit-table select{min-width:80px;height:44px}.correction-reason{margin-top:22px}.correction-reason textarea{font:inherit;padding:12px;border:1px solid #cbd9d1;border-radius:8px;resize:vertical;min-height:80px}.correction-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.correction-totals>div{padding:16px;background:#f6f8fa;border-radius:10px;color:#697a73}.correction-totals strong{display:block;color:#204e3b;font-size:24px;margin-top:8px}.correction-ack{display:flex;align-items:center;gap:10px;padding:16px;background:#fff9ed;border-radius:10px}.correction-ack input{min-width:20px;width:20px;height:20px}.correction-record{border:1px solid #dfe7e2;border-radius:12px;padding:18px;margin:14px 0}.correction-record summary{cursor:pointer;font-weight:600}.correction-record small{overflow-wrap:anywhere}.correction-notice p{margin:6px 0 0}

.import-created-panel{border:1px solid #bbdbc9;background:#f1f9f4;border-radius:14px;padding:20px;margin:20px 0}.import-created-panel h3{color:#1e7051;margin:0 0 10px;font-size:20px}.import-created-panel p{color:#537364;line-height:1.7;font-size:14px;margin:8px 0 14px}.import-created-panel table{background:white}.import-created-panel .name{font-weight:650;overflow-wrap:anywhere}.import-complete{margin-top:0}

/* Keep product metadata secondary to the frequently edited price. */
button.small[data-action="edit-product"]{padding:4px 7px;min-height:30px;margin-right:6px;font-size:12px;line-height:1.4;border-radius:7px}
td input[data-input="price"]{width:144px;min-width:128px;min-height:50px;font-size:18px;padding:12px 14px;font-variant-numeric:tabular-nums}


.save-problems{border:1px solid #e2aa94;background:#fff6f0;border-radius:12px;padding:16px 20px;margin-bottom:20px;color:#8f402c}.save-problems>strong{font-size:17px}.save-problems>small{display:block;margin-top:6px;color:#9b6a59}.save-problem-list{max-height:215px;overflow:auto;margin-top:10px}.save-problem-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid #efdbd0}.save-problem-item p{margin:4px 0 0;font-size:13px;white-space:normal}.save-problem-item b{font-size:14px}.save-problem-item button{flex-shrink:0;color:#90452e}.save-issue-row{background:#fff5ee;box-shadow:inset 3px 0 #d46549}.save-issue-row input,[aria-invalid="true"]{border-color:#d46549!important;background:#fffaf5}.save-inline-error{color:#a54631;font-size:12px;white-space:normal;font-weight:400}.save-form-error{padding:12px 14px;background:#fff2e9;border:1px solid #e7af98;color:#943b27;border-radius:8px;line-height:1.6;margin-bottom:18px}

/* Purchasing totals readability */
.purchase-summary-panel td.name{font-size:20px}
.purchase-summary-panel .list-details{font-size:16px;line-height:1.6}

.site-filing{padding:12px 16px;text-align:center;font-size:12px;line-height:20px;background:var(--bg);color:var(--muted)}
.site-filing a{color:inherit;text-decoration:none}.site-filing a:hover{text-decoration:underline}
@media print{.site-filing{display:none}}
.finance-day-link{display:inline-flex;align-items:center;justify-content:flex-end;gap:14px;min-height:44px;padding:8px 12px;color:var(--green);border:1px solid #dbe8de;background:#f4f9f5;border-radius:9px;font-size:18px;font-variant-numeric:tabular-nums}.finance-day-link small{font-size:12px;font-weight:400}.finance-day-link:hover{background:#eaf3ed;border-color:#9cbea7}.finance-day-link:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.finance-detail-dialog{width:min(920px,calc(100vw - 32px))!important;max-width:920px!important;max-height:calc(100vh - 32px)}.finance-detail-dialog .dialog-body{max-height:calc(100vh - 190px);overflow:auto;padding:24px 28px}.finance-detail-dialog .dialog-head,.finance-detail-dialog .dialog-foot{padding:18px 28px}.finance-detail-context{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#edf5ef;border-radius:12px;padding:20px 24px}.finance-detail-caption{color:#698573;font-size:12px}.finance-detail-context h3{font-size:22px;margin:7px 0 10px;overflow-wrap:anywhere}.finance-detail-context p{font-size:13px;color:#647c6c;margin:0;line-height:1.8}.finance-detail-total{flex-shrink:0;text-align:right;font-variant-numeric:tabular-nums}.finance-detail-total span{display:block;font-size:12px;color:#698573}.finance-detail-total strong{display:block;margin-top:6px;font-size:30px;color:var(--green)}.finance-detail-note{font-size:12px;color:#849184;margin:16px 0}.finance-order-lines table{width:100%;min-width:560px;white-space:normal}.finance-order-lines th,.finance-order-lines td{padding:14px 12px;font-size:15px;font-variant-numeric:tabular-nums}.finance-order-lines th{font-size:12px}.finance-order-lines th:first-child{width:36%}.finance-order-lines .name{font-weight:600;overflow-wrap:anywhere}.finance-order-lines .name small{display:block;font-size:11px;font-weight:400;color:#88988d;margin-top:5px}.finance-order-lines th:nth-child(n+3),.finance-order-lines td:nth-child(n+3){text-align:right;white-space:nowrap}.finance-detail-settlement{margin:20px 0 0 auto;max-width:370px;padding:18px 20px;background:#f8faf8;border-radius:10px;font-size:14px}.finance-detail-settlement p{display:flex;justify-content:space-between;gap:20px;margin:0 0 12px}.finance-detail-settlement small{display:block;font-size:11px;color:#87948b;line-height:1.6;margin-bottom:12px}.finance-detail-settlement .finance-detail-final{margin:0;align-items:center}.finance-detail-final strong{font-size:25px;color:var(--green);font-variant-numeric:tabular-nums}.finance-detail-empty,.finance-detail-loading{padding:35px 8px;color:#6d8375;line-height:1.8}.finance-detail-empty strong{font-size:18px;color:#536d5d}.finance-detail-empty p{margin:12px 0}.finance-detail-empty small{font-size:12px}.finance-detail-dialog .dialog-foot button{min-height:42px}
@media(max-width:720px){.finance-day-link{gap:4px;flex-direction:column;padding:6px 10px;font-size:17px}.finance-day-link small{font-size:10px}.finance-detail-dialog .dialog-body{padding:16px;max-height:calc(100vh - 170px)}.finance-detail-dialog .dialog-head,.finance-detail-dialog .dialog-foot{padding:14px 16px}.finance-detail-context{padding:16px;gap:16px;align-items:flex-start;flex-wrap:wrap}.finance-detail-context h3{font-size:19px}.finance-detail-total{text-align:left}.finance-detail-total strong{font-size:26px}.finance-detail-dialog .dialog-head h2{font-size:19px}.finance-detail-settlement{padding:16px}}
/* Isolated system-tools pilot */
.local-test-banner{background:#eaf5ef;color:#24563e;border-bottom:1px solid #c8e3d1;padding:10px 26px;display:flex;align-items:center;justify-content:space-between;font-size:13px;gap:12px}.local-test-banner select{min-height:34px;padding:5px 9px;font-size:13px}.tools-shell{max-width:1180px;margin:auto}.tools-shell .heading h1{font-size:29px}.tools-test-note{background:#edf5f1;color:#376851;border:1px solid #d1e4da;border-radius:12px;padding:13px 17px;margin-bottom:24px;font-size:14px}.tools-test-note b{margin-right:14px}.tools-tabs{display:flex;gap:7px;padding:6px;background:#eaf0ed;border-radius:12px;margin-bottom:28px;flex-wrap:wrap}.tools-tabs button{border:0;background:transparent;color:#607369;flex:1;min-width:100px;padding:12px 18px}.tools-tabs button.active{background:white;color:#147a52;box-shadow:0 2px 6px #244a3714;font-weight:700}.tools-section-head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}.tools-section-head h2{font-size:20px;margin:0 0 8px}.tools-section-head p{margin:0;font-size:14px;line-height:1.6}.tools-section-head .field{margin:0;min-width:180px}.tools-store-list{border:1px solid #dce5df;border-radius:16px;overflow:hidden;background:white}.tools-store{display:flex;align-items:center;gap:15px;padding:19px 23px;border-bottom:1px solid #edf1ef;transition:background .12s}.tools-store:last-child{border:0}.tools-store:hover{background:#f7faf8}.tools-store strong{flex:1;font-size:17px}.tools-grip{color:#9aa9a0;font-size:26px;cursor:grab}.tools-rank{color:#91a297;width:23px;font-size:14px}.tools-savebar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0;font-size:13px;color:#66796c}.tools-savebar .inline{flex-shrink:0}.tools-order-list{display:grid;gap:14px}.tools-order{background:#fff;border:1px solid #dce5df;border-radius:14px;padding:21px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.tools-order h3{font-size:18px;margin:0 0 10px}.tools-order p{font-size:13px;line-height:1.7;margin:10px 0 0}.tools-shell .panel{margin-bottom:18px}.tools-form-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.tools-shell h3{margin-top:12px}.tools-shell .table-wrap{max-height:430px;overflow:auto;margin:12px 0}.tools-shell td input,.tools-shell td select{width:100%;min-width:90px}.tools-impact{display:flex;gap:12px;flex-wrap:wrap;padding:14px;background:#edf6f1;color:#256247;border-radius:9px}.tools-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.tools-metric{padding:25px;border:1px solid #dce5df;background:#fff;border-radius:14px}.tools-metric small{display:block;color:#748478;margin-bottom:12px}.tools-metric strong{font-size:18px}.tools-diff{display:grid;grid-template-columns:1fr 1fr;gap:18px}.tools-diff pre{overflow:auto;max-height:360px;font-size:12px;background:#f4f6f5;padding:16px;border-radius:9px;white-space:pre-wrap;word-break:break-all}.tools-log summary{cursor:pointer;color:#187c55}.tools-log p{font-size:14px}.tools-check-list{max-height:420px;overflow:auto}.tools-check-list label{display:flex;align-items:center;gap:14px;border-bottom:1px solid #eee;padding:12px}.tools-check-list span{flex:1}.tools-confirm{background:#f2f7f4;border-radius:12px;padding:18px;margin-bottom:20px}.tools-confirm p{line-height:1.7}#tools-reason{min-height:90px;width:100%;resize:vertical;padding:13px;border:1px solid #cbd8cf;border-radius:8px;font:inherit}.tools-shell button.small{min-height:34px;padding:6px 12px} .tools-shell .unpriced{font-size:14px}
@media(max-width:1000px){.tools-store{padding:16px 12px;gap:9px}.tools-store strong{font-size:15px}.tools-store .inline{gap:4px}.tools-store .small{padding:5px 8px}.tools-status-grid{grid-template-columns:repeat(2,1fr)}.tools-section-head,.tools-savebar,.tools-order{align-items:flex-start;flex-wrap:wrap}.tools-form-grid{grid-template-columns:1fr 1fr}.tools-form-grid .field:first-child{grid-column:1/-1}.local-test-banner{padding:8px 12px}}@media(max-width:600px){.tools-diff{grid-template-columns:1fr}.tools-store{flex-wrap:wrap}.tools-store .inline{width:100%;padding-left:54px}.local-test-banner{flex-wrap:wrap}}

.tools-tabs{gap:7px;flex-wrap:wrap}.tools-tabs button{padding:10px 16px;font-size:14px;min-width:95px}.tools-extra h2{font-size:22px;margin-bottom:8px}.tools-extra .tools-form-grid{margin:20px 0;grid-template-columns:repeat(3,minmax(150px,1fr));gap:18px}.tools-extra .field{margin:0}.tools-extra button.primary{margin-bottom:18px}.tools-preview-layout{display:grid;grid-template-columns:1fr minmax(330px,42%);gap:28px;align-items:start}.tools-preview-layout .tools-form-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}.tools-device{margin:20px auto;max-width:360px;border:8px solid #142237;border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 10px 36px #14396118}.tools-device.tablet{max-width:460px}.tools-device.web{max-width:520px;border-width:5px;border-radius:8px}.tools-device-title{background:#f3f7fc;text-align:center;padding:16px;font-size:14px;font-weight:600}.tools-device-catalog{display:flex;font-size:var(--preview-font)}.tools-device-catalog aside{width:var(--preview-rail);flex-shrink:0;background:#f5f7fb;padding:10px 6px;box-sizing:border-box;font-size:14px}.tools-device-catalog aside>*{display:block;padding:12px 5px}.tools-device-catalog b{color:#1769dc;background:#e9f1ff;border-radius:6px}.tools-device-catalog article{flex:1;min-width:0}.preview-product{display:grid;gap:5px;padding:var(--preview-gap);border-bottom:1px solid #e5eaf0}.preview-product small{color:#7b8899;font-size:11px}.preview-product span{color:#4077a9;font-size:13px}.preview-input{background:#f5f7fa;padding:8px;font-size:14px;border-radius:5px}.tools-device article>button{font-size:14px;margin:10px;background:#1476ed;color:white}.tools-log[hidden]{display:none}.tools-extra table small{display:block;color:#8090a0}.tools-store strong{min-width:110px}.tools-extra iframe{background:#f5f7fa}.web-favorite{border:0;background:transparent;padding:2px 8px 2px 0;color:#d2a326;font-size:22px}.system-configured td.name,.system-configured .purchase-order-panel td.name{font-size:var(--system-font)!important}.system-configured tbody td{padding-top:var(--system-space);padding-bottom:var(--system-space)}.system-configured .toolbar select[data-change="category"]{min-width:var(--system-rail)}.system-hide-category [data-category-text]{visibility:hidden}@media(max-width:1150px){.tools-preview-layout{grid-template-columns:1fr}.tools-extra .tools-form-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.tools-store{flex-wrap:wrap}}@media(max-width:600px){.tools-extra .tools-form-grid{grid-template-columns:1fr}.tools-tabs button{min-width:0;padding:8px}.tools-store .inline{flex-wrap:wrap}.tools-extra .toolbar{align-items:stretch}.tools-device{max-width:100%}}
/* Administrator investigation workspace; scoped away from ordering screens. */
.insight-group-tabs{display:flex;gap:8px;margin:16px 0 10px;padding:5px;background:#edf2f8;border-radius:14px;width:fit-content}
.insight-group-tabs button{border:0;background:transparent;padding:10px 24px;color:#60728a;font-weight:650}
.insight-group-tabs button.active{background:#fff;color:#185de7;box-shadow:0 2px 8px #183b6012}
.insight-panel h2{font-size:22px;margin:0 0 8px}.insight-panel .tools-status-grid{margin:16px 0}.insight-panel .tools-metric{background:#f6f9fd;box-shadow:none;border:1px solid #e6edf5}
.insight-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.insight-order{border:1px solid #dfe7f2;border-radius:16px;background:#fff;padding:20px}.insight-order h3{margin:0;font-size:20px}.insight-order .inline{margin-top:16px}
.insight-issue{background:#fff8ed;border:1px solid #f1dfbf;border-radius:10px;padding:12px 14px;margin:10px 0}.insight-issue summary{font-weight:650;color:#89551e;cursor:pointer}.insight-issue p{line-height:1.8;margin:8px 0 0}
.insight-report{border-top:1px solid #e7edf4;margin-top:14px;padding-top:12px;color:#728096;line-height:1.65;font-size:13px}.insight-report p{margin:8px 0}
.insight-ok{border-radius:10px;background:#eff9f5;padding:13px;color:#29705a}.insight-empty{text-align:center;color:#7e8c9e;background:#f6f8fc;padding:42px;border-radius:12px;margin-top:22px}
.insight-record{margin:12px 0 22px}.insight-record>p{color:#69778c;font-size:14px}.insight-after{color:#195ed1;font-weight:600}.tools-raw{margin-top:20px;color:#8b96a7}.tools-raw pre{max-height:260px;overflow:auto;font-size:12px;white-space:pre-wrap}
.tools-shell .notice{padding:13px 16px;border-radius:10px;background:#eef5ff;color:#47698d;margin:14px 0}.tools-shell small{display:block}.tools-shell .tools-tabs{row-gap:8px}
@media(max-width:1000px){.insight-cards{grid-template-columns:1fr}.insight-group-tabs{width:100%;justify-content:space-around}.insight-group-tabs button{padding:9px 14px}.insight-order{padding:16px}.insight-panel h2{font-size:20px}}

.storage-protected{color:#687a74;font-size:13px;display:block;max-width:240px}.storage-eligible{color:#147454;font-weight:600}.storage-flow .inline{flex-wrap:wrap;gap:12px}.tools-shell input[data-storage-id]{width:20px;height:20px;accent-color:#167455}.storage-intro .tools-status-grid{margin:20px 0}.storage-flow .danger{color:#a43932;border-color:#e4c0bc;background:#fff8f6}
.tools-shell> .tools-tabs button{flex:1 0 96px;min-width:96px}.tools-shell input[data-storage-id]{min-width:20px;min-height:20px;padding:0}.storage-protected{white-space:normal}.tools-shell .tools-metric{min-width:0}
