/* 珠宝后台页面制作标准 V1.0 · implementation V1.4.
   Scoped to the desktop review and its own dialogs. Mobile typography is retained. */
.admin-standard{--ink:#1c2024;--muted:#7f838a;--line:#e3e5eb;--wash:#f5f5f7;--peach:#ffe3d3;--peach-light:#fff0e6;--positive:#3e7652;--negative:#a84e43;--shadow:0 4px 12px rgb(28 32 36 / 12%);--ja-bg:#f7f7f9;--ja-surface:#fff;--ja-table-head:#edeef2;--ja-primary:#1b2024;--ja-focus:#a06c3e;color:#1c2024;background:#f7f7f9;font:400 14px/22px -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}
.admin-standard [hidden]{display:none!important}
.admin-standard :where(button,input,select,textarea){font-family:inherit}
.admin-standard :where(button,a,input,select,textarea):focus-visible{outline:2px solid #a06c3e;outline-offset:2px}
.admin-standard .admin-shell{background:#f7f7f9;min-height:calc(100vh - 64px)}
.admin-standard .a-sidebar{width:208px!important;padding:16px 12px;background:#fff;border-color:#e3e5eb}
.admin-standard .a-main{min-width:0}
.admin-standard .a-content{padding:24px!important;max-width:none}
.admin-standard .a-top{height:56px!important;padding:0 24px!important;border-color:#e3e5eb}
.admin-standard .a-topright{font-size:14px;color:#1c2024}
.admin-standard .a-crumb{font-size:14px;color:#7f838a;gap:8px}
.admin-standard .a-crumb b{color:#1c2024;font-weight:600}
.admin-standard .a-logo{display:flex;align-items:center;gap:10px;padding:0 6px 20px;border-color:#e3e5eb;margin-bottom:12px}
.admin-standard .a-logo-mark{width:40px;height:40px;flex:none;border-radius:50%;background:#ffe3d3;display:grid;place-items:center;font-size:22px;font-weight:600}
.admin-standard .a-logo strong{font-family:inherit;font-size:16px;line-height:24px;letter-spacing:0;font-weight:600;color:#1c2024}
.admin-standard .a-logo p{display:block;font-size:13px;line-height:20px;letter-spacing:0;margin:0;color:#7f838a}
.admin-standard .a-nav-title{display:block;font-size:13px;line-height:20px;color:#7f838a;margin:20px 12px 8px}
.admin-standard .a-nav-btn{min-height:44px;padding:10px 12px;gap:8px;border-radius:6px;font-size:16px;font-weight:500;line-height:24px;color:#1c2024;justify-content:flex-start}
.admin-standard .a-nav-btn .navtext{display:inline}
.admin-standard .a-nav-btn .icon{width:22px;height:22px;stroke-width:1.75}
.admin-standard .a-nav-btn.active,.admin-standard .a-nav-btn.active:hover{background:#fff0e6;color:#1c2024;box-shadow:inset 3px 0 #1b2024;font-weight:600}
.admin-standard .a-nav-btn:hover{background:#fafafc}
.admin-standard .a-nav-btn span.count{font-size:12px;color:#1c2024;background:#ffe3d3;border-radius:6px}
.admin-standard .icon{stroke-width:1.75}
.admin-standard .pagehead{gap:20px;margin-bottom:20px;align-items:flex-start;flex-wrap:wrap}
.admin-standard .pagehead h1{font-size:28px!important;line-height:40px;font-weight:600;letter-spacing:0}
.admin-standard .pagehead p{font-size:14px!important;line-height:22px;color:#7f838a;margin-top:4px}
.admin-standard .a-content h2{font-size:20px;line-height:28px;font-weight:600}
.admin-standard .a-content h3{font-size:16px;line-height:24px;font-weight:600}
.admin-standard .a-content p{line-height:1.6}
.admin-standard .meta,.admin-standard .a-aside-note{font-size:13px!important;line-height:20px;color:#7f838a}
.admin-standard small{font-size:13px;line-height:20px}
.admin-standard .mono{font:400 13px/20px ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}
.admin-standard .panel{background:#fff;border:1px solid #e3e5eb;border-radius:10px;margin-bottom:24px;box-shadow:none}
.admin-standard .panel-pad{padding:20px}
.admin-standard .panel-head{padding:16px 20px;border-color:#e3e5eb;gap:12px;flex-wrap:wrap}
.admin-standard .panel-head h2{font-size:20px;line-height:28px}
.admin-standard .panel-head .meta{font-size:13px}
.admin-standard .btn{min-height:40px;padding:8px 16px;border:1px solid #e3e5eb;border-radius:6px;background:#fff;color:#1c2024;font-size:14px;line-height:22px;font-weight:500;gap:8px}
.admin-standard .btn:hover{border-color:#c5c8d0;background:#fafafc}
.admin-standard .btn.primary{background:#1b2024;color:#fff;border-color:#1b2024;font-weight:600}
.admin-standard .btn.primary:hover{background:#30363c;border-color:#30363c}
.admin-standard .btn.peach{background:#ffe3d3;border-color:#ffe3d3;color:#1c2024}
.admin-standard .btn.peach:hover{background:#ffd8c2;border-color:#ffd8c2}
.admin-standard .btn.small{min-height:32px;padding:4px 12px;font-size:14px}
.admin-standard .btn.danger{color:#a84e43;border-color:#e3e5eb}
.admin-standard .btn.danger:hover{background:#fbece9}
.admin-standard .btn .icon{width:18px;height:18px}
.admin-standard .link{font-size:14px!important;font-weight:400;color:#1c2024;line-height:22px}
.admin-standard .link:hover{color:#a06c3e}
.admin-standard .iconbtn{width:32px;height:32px;border-radius:6px;border:1px solid #e3e5eb}
.admin-standard .iconbtn .icon{width:18px;height:18px}
.admin-standard .a-footer-actions{padding:16px 20px;gap:12px;border-color:#e3e5eb}
.admin-standard .a-footer-actions .btn.primary{min-height:44px;font-size:16px;padding:9px 20px;line-height:24px}
.admin-standard .a-tabs{gap:24px;padding:0 20px;border-color:#e3e5eb}
.admin-standard .a-tabs button{font-size:14px;font-weight:500;color:#7f838a;padding:12px 0;min-height:44px}
.admin-standard .a-tabs button.active{font-weight:600;color:#1c2024;border-color:#1b2024}
.admin-standard .a-tabs button b{font-size:12px;background:#f5f5f7;color:#7f838a}
.admin-standard .toolbar{gap:12px;padding:16px;background:#fff;align-items:center}
.admin-standard .toolbar .searchbox{height:40px;width:300px;padding:8px 12px;border-color:#e3e5eb;border-radius:6px}
.admin-standard .toolbar .searchbox input{height:auto;padding:0!important;font-size:14px;border:0;background:transparent}
.admin-standard .toolbar .searchbox .icon{width:18px;height:18px;color:#7f838a}
.admin-standard .toolbar>select{height:40px;font-size:14px;padding:8px 32px 8px 12px;width:160px}
.admin-standard .toolbar .summary{font-size:13px;color:#7f838a}
.admin-standard input:not([type=checkbox]):not([type=radio]),.admin-standard select{height:40px;font-size:14px;line-height:22px;padding:8px 12px;border:1px solid #e3e5eb;border-radius:6px;background-color:#fff;color:#1c2024}
.admin-standard select{padding-right:32px}
.admin-standard textarea{font-size:14px;line-height:22px;padding:8px 12px;min-height:96px;border-color:#e3e5eb;border-radius:6px;color:#1c2024}
.admin-standard input::placeholder,.admin-standard textarea::placeholder{color:#9b9ea5}
.admin-standard input:focus,.admin-standard select:focus,.admin-standard textarea:focus{outline:0;border-color:#a06c3e;box-shadow:0 0 0 2px rgb(160 108 62 / 12%)}
.admin-standard .field>span,.admin-standard .field label{font-size:14px!important;line-height:22px;color:#1c2024;margin-bottom:8px}
.admin-standard .field .hint{font-size:13px;line-height:20px;color:#7f838a}
.admin-standard .formgrid{gap:0 24px}
.admin-standard .checkline{font-size:14px!important;line-height:22px;gap:8px;color:#1c2024}
.admin-standard input[type=checkbox],.admin-standard input[type=radio]{width:18px;height:18px;accent-color:#1b2024;vertical-align:middle}
.admin-standard .switch{width:36px;height:20px;background:#d7d9df}
.admin-standard .switch.on{background:#1b2024}
.admin-standard .switch:after{top:2px;left:2px;width:16px;height:16px}
.admin-standard .switch.on:after{left:18px}
.admin-standard .table-wrap{overflow:auto;scrollbar-gutter:stable}
.admin-standard .a-table{font-size:14px;line-height:22px;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.admin-standard .a-table th{height:40px;padding:8px 12px;position:sticky;top:0;z-index:2;background:#edeef2;color:#1c2024;font-size:14px;font-weight:600;line-height:22px;border:0;border-bottom:1px solid #e3e5eb}
.admin-standard .a-table td{height:44px;padding:8px 12px;font-size:14px;line-height:22px;color:#1c2024;border-bottom:1px solid #e3e5eb}
.admin-standard .a-table th:first-child,.admin-standard .a-table td:first-child{padding-left:16px}
.admin-standard .a-table tr:hover td{background:#fafafc}
.admin-standard .a-table tr.child td{background:#f5f5f7;color:#1c2024;padding-top:6px;padding-bottom:6px}
.admin-standard .a-table .product-cell{gap:10px;min-width:220px}
.admin-standard .product-cell .thumb{width:36px;height:36px;background:#fff;border:1px solid #f5f5f7;border-radius:4px;overflow:visible}
.admin-standard .product-cell .thumb .jewel{transform:scale(1.2)}
.admin-standard .product-cell img{object-fit:contain}
.admin-standard .product-cell strong{font-size:14px;font-weight:600;line-height:22px;color:#1c2024}
.admin-standard .product-cell small,.admin-standard .a-table small{font-size:13px!important;line-height:20px;color:#7f838a}
.admin-standard .a-table .row-actions{gap:12px}
.admin-standard .a-table .num-input{height:32px!important;width:76px!important;padding:4px 8px!important;font-size:14px}
.admin-standard .a-table .text-wrap{min-width:200px}
.admin-standard .pagination{padding:16px;font-size:13px;color:#7f838a}
.admin-standard .pagination button{width:32px;height:32px;border-color:#e3e5eb;border-radius:6px;font-size:14px}
.admin-standard .pagination button.active{background:#fff0e6;color:#1c2024;border-color:#ffe3d3}
.admin-standard .pill{padding:2px 8px;font-size:12px;line-height:18px;font-weight:500;border-radius:6px;background:#eef0f3;color:#69707a}
.admin-standard .pill.good{background:#eaf5ec;color:#3e7652}
.admin-standard .pill.warm{background:#fff0da;color:#8a6236}
.admin-standard .pill.bad{background:#fbece9;color:#a84e43}
.admin-standard .pill.dark{background:#1b2024;color:#fff}
.admin-standard .note{border-radius:6px;background:#fff0e6;border:1px solid #ffe3d3;color:#1c2024;font-size:14px;line-height:22px;padding:12px}
.admin-standard .note.neutral{background:#f5f5f7;border-color:#e3e5eb;color:#69707a}
.admin-standard .note.good{background:#eaf5ec;border-color:#d9e8dc;color:#3e7652}
.admin-standard .stat{padding:20px;border-color:#e3e5eb;border-radius:10px;background:#fff}
.admin-standard .stat.highlight{background:#fff0e6;border-color:#ffe3d3}
.admin-standard .stat .label{font-size:14px;color:#1c2024}
.admin-standard .stat .number{font-family:inherit;font-size:32px;font-weight:600;line-height:44px;letter-spacing:0;font-variant-numeric:tabular-nums}
.admin-standard .stat .foot{font-size:13px;color:#7f838a}
.admin-standard .stat .stat-icon{color:#7f838a}
.admin-standard .detail-summary{gap:24px;padding:20px;border-color:#e3e5eb;border-radius:10px}
.admin-standard .detail-summary dt{font-size:13px;color:#7f838a}
.admin-standard .detail-summary dd{font-family:inherit;font-size:14px}
.admin-standard .detail-summary .large{font-family:inherit;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}
.admin-standard .mapping-layout{grid-template-columns:208px minmax(0,1fr)}
.admin-standard .mapping-objects{background:#f5f5f7;border-color:#e3e5eb;padding:12px}
.admin-standard .mapping-objects button{font-size:14px;line-height:22px;color:#1c2024;padding:10px 12px;border-radius:6px}
.admin-standard .mapping-objects button.active{background:#fff0e6;color:#1c2024;font-weight:600}
.admin-standard .mapping-objects button small{font-size:12px;color:#7f838a}
.admin-standard .mapping-table{min-width:0}
.admin-standard .mapping-table .a-table{font-size:14px}
.admin-standard .mapping-table .a-table .mono{font-size:13px!important}
.admin-standard .mapping-selector{font-size:14px;min-width:180px}
.admin-standard .permission-group h3{font-size:16px!important}
.admin-standard .permission-group label{font-size:14px!important}
.admin-standard .access-result{background:#f5f5f7;border-color:#e3e5eb;border-radius:6px;font-size:14px}
.admin-standard .empty p{font-size:14px}
.admin-standard .empty .icon{width:40px;height:40px;stroke-width:1.75}
.admin-standard .admin-auth{border-color:#e3e5eb;border-radius:10px;overflow:hidden}
.admin-standard .auth-story{background:#fff0e6}
.admin-standard .auth-story h1,.admin-standard .auth-form h1{font-family:inherit;font-size:28px;line-height:40px;font-weight:600}
.admin-standard .auth-story p{color:#7f838a}
.admin-standard .serif{font-family:inherit;letter-spacing:0}
.admin-standard .modal{width:480px;border:1px solid #e3e5eb;border-radius:10px;box-shadow:0 4px 12px rgb(28 32 36 / 12%)}
.admin-standard .modal.wide{width:880px}
.admin-standard .modal.drawer{width:720px;max-width:92vw;border-radius:10px 0 0 10px}
.admin-standard .modal.drawer.wide{width:880px}
.admin-standard .modal header,.admin-standard .modal footer{padding:20px 24px;border-color:#e3e5eb;gap:12px}
.admin-standard .modal header h2{font-size:20px;line-height:28px;font-weight:600}
.admin-standard .modal-body{padding:24px}
.admin-standard .modal-body h3{font-size:16px!important;line-height:24px}
.admin-standard .modal .subtitle{font-size:13px;color:#7f838a}
.admin-standard .modal .iconbtn{width:32px;height:32px}
.admin-standard .modal footer .btn{min-height:40px}
/* Retain the compact quantity editor's fixed 112px reserved column. */
.admin-standard .ship-quantity-popover input{height:24px;padding:0 4px;font-size:14px;border-radius:4px}
.admin-standard .ship-quantity-popover button{height:24px;width:24px}
.admin-standard .ship-footer input{width:66px}
.admin-standard #shipSameQty{height:32px;width:72px;flex:0 0 72px;padding:4px 8px}
.admin-standard .ship-table small{font-size:13px;line-height:16px}
.admin-standard .ship-info .pill{font-size:14px;background:#ffe3d3;color:#1c2024}
/* Searchable stable customer selection, shared by bulk and single-product permissions. */
.admin-standard .customer-multi-picker{min-width:0}
.admin-standard .customer-search-line{display:flex;align-items:center;gap:8px;border:1px solid #e3e5eb;border-radius:6px;padding:0 10px;background:#fff;min-height:40px;margin-bottom:8px}
.admin-standard .customer-search-line>.icon{width:18px;height:18px;color:#7f838a}
.admin-standard .customer-search-line input{border:0!important;box-shadow:none!important;outline:0!important;padding:8px 0!important;height:38px!important;flex:1;width:0;min-width:0}
.admin-standard .customer-options{display:flex;flex-direction:column;gap:2px;max-height:188px;overflow:auto;scrollbar-gutter:stable}
.admin-standard .customer-option{display:flex;align-items:flex-start;gap:8px;padding:6px 2px;border-radius:4px;font-size:14px;line-height:22px;cursor:pointer}
.admin-standard .customer-option input{margin-top:2px;flex:none}
.admin-standard .customer-option strong{display:block;font-size:14px;font-weight:400}
.admin-standard .customer-option small{display:block;font-size:13px;color:#7f838a;line-height:18px}
.admin-standard .customer-picker-status{font-size:13px;line-height:20px;color:#7f838a;margin-top:6px}
.admin-standard .customer-multi-picker .customer-empty{font-size:13px;color:#7f838a;padding:10px 0}
.admin-standard .front-preview-form{width:440px;max-width:100%;margin:0;position:relative}
.admin-standard .front-customer-picker{min-width:0;max-width:none;margin:0}
.admin-standard .front-customer-picker>label{display:block;font-size:14px;line-height:22px;margin-bottom:8px}
.admin-standard .front-search-row{display:flex;align-items:center;gap:8px;margin:0}
.admin-standard .front-search-row .customer-search-line{flex:1;margin:0;min-width:0}
.admin-standard .front-customer-results{position:absolute;top:72px;left:0;right:0;z-index:20;background:#fff;border:1px solid #e3e5eb;border-radius:6px;box-shadow:0 4px 12px rgb(28 32 36 / 12%);max-height:260px;overflow:auto;padding:4px}
.admin-standard .front-customer-option{display:block;width:100%;padding:8px 10px;text-align:left;border-radius:4px;color:#1c2024;font-size:14px;line-height:22px}
.admin-standard .front-customer-option:hover,.admin-standard .front-customer-option:focus-visible{background:#fff0e6}
.admin-standard .front-customer-option strong{display:block;font-weight:500}
.admin-standard .front-customer-option small{display:block;font-size:13px;color:#7f838a;line-height:20px}
.admin-standard .front-customer-current{display:block;font-size:13px;color:#7f838a;line-height:20px;margin-top:8px}
.admin-standard .bulk-panel{gap:24px;padding:20px;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(260px,1.2fr) auto}
.admin-standard .bulk-panel h3{font-size:16px!important;line-height:24px;margin-bottom:12px}
/* The user-supplied WeChat bitmap is embedded unchanged with its original aspect ratio. */
.phone img.wechat-source-icon,.phone .m-login [data-act="wxQuick"] img.wechat-source-icon{display:inline-block;flex:none;width:calc(22px * 55 / 53);height:22px;object-fit:contain;vertical-align:middle}
@media(max-width:1280px){.admin-standard .a-content{padding:20px!important}.admin-standard .pagehead{flex-wrap:wrap}.admin-standard .bulk-panel{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(240px,1.3fr)}.admin-standard .bulk-panel>div:last-child{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:12px}.admin-standard .bulk-panel>div:last-child p{margin:0}}
@media(max-width:900px){.admin-standard .a-sidebar{width:64px!important;padding:12px 8px}.admin-standard .a-logo{padding:0 0 16px;justify-content:center}.admin-standard .a-logo-mark{width:36px;height:36px}.admin-standard .a-logo>div,.admin-standard .a-nav-title,.admin-standard .a-nav-btn .navtext,.admin-standard .a-nav-btn span.count{display:none}.admin-standard .a-nav-btn{padding:10px;justify-content:center}.admin-standard .bulk-panel{grid-template-columns:1fr 1fr}.admin-standard .customer-multi-picker{grid-column:1/-1}.admin-standard .mapping-layout{grid-template-columns:170px minmax(0,1fr)}}
@media print{.admin-standard .admin-shell,.admin-standard .a-main,.admin-standard .a-content{margin:0!important;padding:0!important;background:#fff!important}.admin-standard .a-table th{position:static}.admin-standard .panel{border:0}.admin-standard .ship-footer,.admin-standard .ship-info,.admin-standard .ship-filter,.admin-standard .ship-tools,.admin-standard .ship-help{display:none!important}}

.modal-mask.admin-standard{background:rgb(28 32 36 / 28%);backdrop-filter:blur(2px)}
.admin-standard .bulk-panel .customer-options{max-height:110px}
/* The search container owns its border; avoid a second input border. */
.admin-standard .toolbar .searchbox input:not([type=checkbox]):not([type=radio]){height:auto;border:0;border-radius:0;box-shadow:none;background:transparent}
.admin-standard .toolbar .searchbox:focus-within,.admin-standard .customer-search-line:focus-within{border-color:#a06c3e;box-shadow:0 0 0 2px rgb(160 108 62 / 12%)}
/* V1.5: independently saved price scopes and compact, mode-aware access forms. */
.admin-standard .front-scope-tabs{display:flex;gap:0;margin-top:20px;border-bottom:1px solid #e3e5eb}
.admin-standard .front-scope-tabs button{min-height:44px;padding:10px 20px;font-size:14px;line-height:22px;font-weight:500;color:#7f838a;border:1px solid transparent;border-bottom:2px solid transparent;border-radius:6px 6px 0 0}
.admin-standard .front-scope-tabs button.active{color:#1c2024;background:#fff0e6;border-bottom-color:#1b2024;font-weight:600}
.admin-standard .price-rule-search{width:360px;max-width:100%;margin:0}
.admin-standard .price-rule-table{max-height:440px}
.admin-standard .price-rule-table .field{margin:0}
.admin-standard .price-rule-table .field>span{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.admin-standard .price-rule-table td:first-child{min-width:240px}
.admin-standard .price-rule-table td:last-child{min-width:240px}
.admin-standard .bulk-panel[data-access-mode=tiers],.admin-standard .bulk-panel[data-access-mode=users]{grid-template-columns:minmax(200px,.8fr) minmax(320px,1.4fr) auto}
.admin-standard [data-access-section]>span{display:block;font-size:14px;line-height:22px;margin-bottom:8px}
@media(max-width:1280px){.admin-standard .bulk-panel[data-access-mode=tiers],.admin-standard .bulk-panel[data-access-mode=users]{grid-template-columns:minmax(200px,.8fr) minmax(300px,1.4fr)}.admin-standard .bulk-panel[data-access-mode]>div:last-child{grid-column:1/-1}}
