:root{--navy:#23384d;--blue:#2476c7;--bg:#f3f6f9;--text:#263442}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Microsoft YaHei",Arial,sans-serif}header{height:66px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px}header b{font-size:26px;margin-right:16px}header span{color:#d5e0e9}.user{display:flex;gap:18px;align-items:center}.user form{margin:0}.link{border:0;background:none;color:#fff;cursor:pointer}.layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 66px)}aside{background:#fff;padding:22px 12px;border-right:1px solid #dde5eb}aside a{display:block;padding:13px 18px;margin-bottom:6px;color:#33485c;text-decoration:none;border-radius:7px}aside a:hover{background:#eaf3fc;color:var(--blue)}main{padding:30px;max-width:none;min-width:0;width:100%}.public{max-width:none;min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#21364b,#315b76)}h1{font-size:26px;margin:0 0 24px}.welcome,.panel,.table-wrap{background:#fff;border-radius:12px;padding:28px;box-shadow:0 3px 16px #22384d12}.welcome{min-height:180px}.login-card{width:min(420px,92vw);background:#fff;padding:38px;border-radius:16px;box-shadow:0 18px 55px #0005}.brand{text-align:center;font-size:34px;font-weight:800;color:var(--navy);letter-spacing:3px}.login-card h1{text-align:center;margin:10px 0}.login-card p{text-align:center;color:#71808d;margin-bottom:28px}label{display:block;font-weight:600;margin:16px 0 7px}input{display:block;width:100%;margin-top:8px;border:1px solid #ccd7df;border-radius:7px;padding:12px;font-size:16px}.check{display:flex;gap:10px;align-items:center}.check input{width:auto;margin:0}.primary,.danger,.secondary,.button{display:inline-block;border:0;border-radius:7px;padding:11px 20px;color:#fff;text-decoration:none;cursor:pointer;font-size:15px}.primary{background:var(--blue)}.danger{background:#c23c3c}.secondary{background:#788793}.full{width:100%;margin-top:18px}.title-row{display:flex;align-items:center;justify-content:space-between}.title-row h1{margin-bottom:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:15px;border-bottom:1px solid #e4eaee}th{background:#f7f9fb}.status{padding:5px 10px;border-radius:20px;font-size:13px}.status.on{background:#e4f6ea;color:#23743c}.status.off{background:#fbe7e7;color:#9d2b2b}.flash{padding:13px 16px;margin-bottom:18px;border-radius:7px}.flash.error{background:#fde6e6;color:#a62929}.flash.success{background:#e3f6e9;color:#26743e}.panel{max-width:620px}.panel hr{border:0;border-top:1px solid #e1e7eb;margin:30px 0}@media(max-width:700px){header{padding:0 15px}header span{display:none}.layout{grid-template-columns:1fr}aside{display:flex;padding:8px;overflow:auto;border-right:0;border-bottom:1px solid #dde5eb}aside a{white-space:nowrap;margin:0 4px}main{padding:18px}.table-wrap{padding:8px;overflow:auto}.login-card{padding:28px 22px}}
/* Dynamic order fields */
.dynamic-orders-sheet{overflow:auto;border:1px solid #d8e0e7;border-radius:10px;background:#fff}
.dynamic-orders-table{width:max-content;min-width:100%;border-collapse:collapse;font-weight:600;color:#172635}
.dynamic-orders-table th,.dynamic-orders-table td{min-width:var(--order-column-width,170px);border-right:1px solid #d8e0e7;border-bottom:1px solid #d8e0e7;padding:0;vertical-align:middle}
.dynamic-orders-table th{height:52px;white-space:nowrap;background:var(--order-header-bg,#f5f7f9)!important}.dynamic-orders-table .row-number-column,.dynamic-orders-table .row-number{min-width:64px;width:64px;text-align:center;color:#6b7d8e}
.dynamic-field-cell .cell-input{display:block;width:100%;min-width:0;min-height:var(--order-row-height,64px);height:100%;border:0;border-radius:0;background:transparent;font-weight:600;margin:0;padding:8px;box-sizing:border-box}.dynamic-field-cell select.cell-input{width:100%}.cell-textarea{resize:none;overflow:auto;white-space:normal;line-height:1.35;text-align:center}
.dynamic-upload-form{display:flex;align-items:center;gap:8px;margin:0}.dynamic-upload-form>input[type=file]{display:none}.dynamic-upload-form label{margin:0;cursor:pointer;color:#2476c7;white-space:nowrap}.dynamic-file-link{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#2476c7}.detail-file-list,.detail-only{display:none}.file-delete-button{border:0;border-radius:5px;padding:5px 8px;background:#fff0f0;color:#bd3030;cursor:pointer}
.order-image-preview img{width:72px;height:54px;object-fit:cover;border-radius:5px;border:1px solid #ccd7df;display:block}
.multi-field-editor,.new-order-multi{display:flex;gap:6px;flex-wrap:wrap}.multi-field-editor label,.new-order-multi label{display:flex;align-items:center;gap:4px;margin:0;padding:5px 9px;background:#edf3f8;border-radius:14px;font-size:13px}.multi-field-editor input,.new-order-multi input{width:auto;margin:0}
.progress-editor{display:flex;align-items:center;gap:8px}.progress-editor input{min-width:115px;margin:0}.readonly-field{color:#657789}.empty-fields{background:#fff;border-radius:12px;padding:40px;text-align:center;border:1px solid #dde5eb}.empty-fields h2{margin-top:0}
.dynamic-order-form select{display:block;width:100%;margin-top:8px;border:1px solid #ccd7df;border-radius:7px;padding:12px;font-size:16px;background:#fff}.dynamic-order-form input[type=file]{padding:10px;background:#fff}
.order-actions-column{min-width:80px!important;width:80px}.order-delete-cell{min-width:80px!important;text-align:center}.order-delete-cell form{margin:0}.order-delete-button{border:0;background:#fff0f0;color:#bf3030;border-radius:6px;padding:7px 12px;font-weight:700;cursor:pointer}.order-delete-button:hover{background:#bf3030;color:#fff}
.dynamic-orders-table th{font-family:var(--order-header-font)!important;font-size:var(--order-header-size)!important;color:var(--order-header-color)!important;-webkit-text-fill-color:var(--order-header-color)!important;font-weight:var(--order-header-weight)!important;text-align:center!important;vertical-align:middle!important}
.dynamic-orders-table td{font-family:var(--order-content-font)!important;font-size:var(--order-content-size)!important;color:var(--order-content-color)!important;-webkit-text-fill-color:var(--order-content-color)!important;font-weight:var(--order-content-weight)!important;text-align:center!important;vertical-align:middle!important}
.dynamic-orders-table td input,.dynamic-orders-table td select,.dynamic-orders-table td button:not(.order-delete-button),.dynamic-orders-table td .readonly-field,.dynamic-orders-table td .date-display,.dynamic-orders-table td .progress-editor span,.dynamic-orders-table td .multi-field-editor span{font-family:var(--order-content-font)!important;font-size:var(--order-content-size)!important;color:var(--order-content-color)!important;-webkit-text-fill-color:var(--order-content-color)!important;font-weight:var(--order-content-weight)!important;text-align:center!important}
.dynamic-orders-table td input{text-align:center!important}.dynamic-orders-table td select{text-align:center!important;text-align-last:center!important}.dynamic-orders-table .row-number-column,.dynamic-orders-table .row-number{color:inherit!important;-webkit-text-fill-color:inherit!important}.dynamic-field-cell .date-picker-button,.dynamic-field-cell .progress-editor,.dynamic-upload-form,.multi-field-editor{justify-content:center}.dynamic-file-link{margin:0 auto}.dynamic-file-placeholder{text-align:center!important}
.dynamic-file-placeholder{display:block!important;background:transparent!important;color:#9aa6b2!important;font-weight:400!important;padding:8px 4px!important;border:0!important;cursor:pointer!important}
.order-query-trigger{padding:10px 18px;border:0;border-radius:7px;background:#287dca;color:#fff;font:inherit;font-weight:700;cursor:pointer}.order-modal[hidden]{display:none}.order-modal{position:fixed;inset:0;z-index:3000;background:#17263588;display:flex;align-items:center;justify-content:center;padding:24px}.order-modal-card{position:relative;width:min(620px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:14px;padding:28px;box-shadow:0 24px 70px #0005}.order-modal-card h2{margin:0 0 8px;font-size:26px}.order-modal-card>p{margin:0 0 22px;color:#71808d}.order-modal-close{position:absolute;right:16px;top:12px;border:0;background:#eef2f5;color:#435565;border-radius:50%;width:36px;height:36px;font-size:25px;cursor:pointer}.order-search-dates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.order-search-message{min-height:24px;margin-top:16px;color:#2476c7;font-weight:700}.order-modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.order-match{background:#fff7c7!important;box-shadow:inset 0 0 0 2px #f0b429}.order-no-match{opacity:.38}.order-view-button{border:0;background:#e7f2ff;color:#1768b0;border-radius:6px;padding:7px 12px;font-weight:700;cursor:pointer;margin-bottom:6px}.order-delete-cell form{display:inline-block}.order-detail-card{width:min(850px,96vw)}.order-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.order-detail-item{border:1px solid #dce4ea;border-radius:9px;padding:14px;background:#f8fafc}.order-detail-item strong{display:block;color:#647789;margin-bottom:8px}.order-detail-value{font-size:17px;font-weight:700;word-break:break-word}.order-detail-value img{max-width:220px;max-height:160px;object-fit:contain}.order-detail-value a{color:#2476c7}@media(max-width:700px){.order-search-dates,.order-detail-fields{grid-template-columns:1fr}}
.order-detail-editor,.order-detail-value>input,.order-detail-value>select{width:100%;margin:0;padding:11px 12px;border:1px solid #cbd7df;border-radius:7px;background:#fff;color:#203448;font:inherit}.order-detail-multi{min-height:110px}.order-detail-progress{display:flex;align-items:center;gap:12px}.order-detail-progress input{flex:1;margin:0}.order-detail-message{min-height:22px;margin-top:14px;font-weight:700}.order-detail-message.success{color:#258044}.order-detail-message.error{color:#b12d2d}

/* 订单表格尺寸、操作列与彩色选项 */
.dynamic-orders-table th,.dynamic-orders-table td{min-width:var(--order-column-width,170px);padding:7px 9px}
.dynamic-orders-table th{height:var(--order-header-height,52px)}
.dynamic-orders-table tbody tr{height:var(--order-row-height,64px)}
.dynamic-orders-table .row-number-column,.dynamic-orders-table .row-number{min-width:64px;width:64px}
.dynamic-orders-table .order-actions-column,.dynamic-orders-table .order-delete-cell{min-width:120px!important;width:120px!important;white-space:nowrap}
.order-delete-cell form{display:inline-block!important;margin:0 0 0 5px!important}
.order-view-button{margin:0!important;padding:7px 10px!important;white-space:nowrap}
.order-delete-button{padding:7px 10px!important;white-space:nowrap}
.order-match>td{background:#fff7c7!important}.order-match{background:transparent!important}
.colored-choice.has-colored-choice{border-radius:6px;background:var(--selected-choice-color)!important;box-shadow:none;font-weight:800!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding-left:10px!important;padding-right:10px!important}
.multi-field-editor label{border-radius:5px;background:color-mix(in srgb,var(--choice-color) 16%,white);box-shadow:inset 4px 0 var(--choice-color);padding:4px 8px}
.multi-field-editor label:has(input:checked){background:var(--choice-color);color:#fff}

/* Multi-select: compact dropdown with selected coloured tags. */
.multi-field-editor{position:relative;display:block;min-width:120px}
.multi-field-trigger{width:100%;min-height:36px;border:1px solid #cbd6e2!important;border-radius:5px;background:#fff!important;display:flex!important;align-items:center;gap:5px;padding:4px 8px!important;cursor:pointer;color:var(--order-content-color)!important}
.multi-selected-tags{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;flex:1}
.multi-selected-tag{display:inline-flex;align-items:center;border-radius:4px;padding:3px 8px;background:var(--choice-color);color:#fff!important;-webkit-text-fill-color:#fff!important;white-space:nowrap;font-size:12px!important}
.relation-settings{grid-column:1/-1;border-top:1px dashed #d7e0e7;padding-top:14px;display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.relation-settings>span{grid-column:1/-1;font-weight:800}.relation-settings label{margin:0}.relation-settings select{display:block;width:100%;margin-top:8px;border:1px solid #ccd7df;border-radius:7px;padding:11px;background:#fff}.relation-multiple{display:flex!important;align-items:center;gap:8px;padding-bottom:12px}.relation-multiple input{width:auto;margin:0}.relation-settings small{grid-column:1/-1;color:#71808d}
.relation-settings[hidden]{display:none!important}
.multi-placeholder{flex:1;color:#8b98a7!important;-webkit-text-fill-color:#8b98a7!important}
.multi-arrow{font-size:16px!important;color:#34495e!important;-webkit-text-fill-color:#34495e!important}
.multi-field-menu{position:absolute;z-index:60;top:calc(100% + 4px);left:0;min-width:180px;max-height:240px;overflow:auto;padding:8px;background:#fff;border:1px solid #cbd6e2;border-radius:7px;box-shadow:0 8px 24px rgba(20,45,70,.18)}
.multi-field-menu[hidden]{display:none!important}
.multi-field-menu label{display:flex!important;align-items:center;justify-content:flex-start!important;gap:8px;margin:3px 0;padding:7px 9px!important;background:#fff!important;box-shadow:inset 4px 0 var(--choice-color);color:#22313f!important;-webkit-text-fill-color:#22313f!important;cursor:pointer;white-space:nowrap}
.multi-field-menu label:has(input:checked){background:color-mix(in srgb,var(--choice-color) 18%,white)!important}
.multi-field-menu input{width:auto!important;margin:0!important;accent-color:var(--choice-color)}
.dynamic-order-form,.dynamic-order-form input,.dynamic-order-form select{font-family:var(--order-content-font);font-size:var(--order-content-size);color:var(--order-content-color);font-weight:var(--order-content-weight)}
.order-style-settings{background:#fff;border:1px solid #dce4ea;border-radius:12px;padding:24px;margin:22px 0}.order-style-heading h2{margin:0 0 6px}.order-style-heading p{margin:0 0 18px;color:#71808d}.style-setting-block{border-top:1px solid #e1e7ec;padding:18px 0}.style-setting-block h3{margin:0 0 12px}.style-setting-grid{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:16px;align-items:end}.style-setting-grid label{margin:0}.style-setting-grid select{width:100%;margin-top:8px;padding:11px;border:1px solid #ccd7df;border-radius:7px;background:#fff;font-size:15px}.style-setting-grid input[type=color]{height:45px;padding:4px}.style-bold{display:flex!important;align-items:center;gap:9px;height:45px}.style-bold input{width:auto;margin:0}.style-bold span{white-space:nowrap}@media(max-width:850px){.style-setting-grid{grid-template-columns:1fr 1fr}}

/* 手机端使用独立布局；电脑端原表格和导航保持不变 */
.mobile-menu-button,.mobile-menu-overlay{display:none}
@media(max-width:700px){
  body{overflow-x:hidden}
  header{height:58px;padding:0 12px;position:sticky;top:0;z-index:2100;background:#fff!important;color:#1f3448!important;border-bottom:1px solid #dce4ea;box-shadow:0 2px 10px #23384d12}
  header span{display:inline;color:#1f3448!important;font-size:17px;font-weight:800;white-space:nowrap}
  .header-brand{display:flex;align-items:center;gap:9px;min-width:0;margin-right:auto}
  .brand-logo{width:36px!important;height:36px!important;object-fit:contain}
  .user{gap:9px;font-size:13px;margin-left:8px;white-space:nowrap}.user .link{color:#607285!important;font-size:13px;padding:4px 0}
  .mobile-menu-button{display:flex;flex-direction:column;justify-content:center;gap:4px;width:38px;height:38px;padding:8px;margin-right:7px;border:0;border-radius:8px;background:#edf3f8}
  .mobile-menu-button i{display:block;width:21px;height:2px;background:#28445d;border-radius:2px}
  .layout{display:block;min-height:calc(100vh - 58px)}
  #mainSidebar{display:flex;position:fixed;left:0;top:58px;bottom:0;z-index:2200;width:min(286px,82vw);padding:14px 12px;background:var(--sidebar,#193b5b);border:0;transform:translateX(-105%);transition:transform .22s ease;overflow-y:auto;overflow-x:hidden;box-shadow:12px 0 30px #0002}
  #mainSidebar .menu-main{width:100%}#mainSidebar .menu-bottom{width:100%;margin-top:auto}
  #mainSidebar a{display:block;width:100%;margin:2px 0;padding:13px 16px;white-space:normal;color:var(--sidebar-text,#fff);border-radius:8px}
  body.mobile-menu-open #mainSidebar{transform:translateX(0)}
  .mobile-menu-overlay{position:fixed;display:block;inset:58px 0 0;z-index:2150;border:0;background:#14273980;opacity:0;pointer-events:none;transition:opacity .2s}
  body.mobile-menu-open .mobile-menu-overlay{opacity:1;pointer-events:auto}
  main{max-width:none;padding:15px 12px}
  h1{font-size:23px;margin-bottom:16px}.welcome,.panel,.table-wrap{padding:18px;border-radius:11px}
  .title-row{align-items:center}.orders-subnav{margin-bottom:14px}.orders-page .title-row{margin-bottom:10px}
  .orders-sheet{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
  .dynamic-orders-table{display:block;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  .dynamic-orders-table thead{display:none}
  .dynamic-orders-table tbody{display:grid;gap:8px}
  .dynamic-orders-table tbody tr{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(82px,.85fr) minmax(0,1fr);align-items:center;height:58px!important;min-height:58px;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:8px 10px;box-shadow:0 3px 10px #21384c0d;cursor:pointer;overflow:hidden}
  .dynamic-orders-table tbody tr.order-match{box-shadow:inset 0 0 0 2px #f0b429,0 4px 14px #21384c12}
  .dynamic-orders-table td{display:none!important;min-width:0!important;width:100%!important;height:auto!important;padding:8px 0!important;border:0!important;text-align:left!important;color:var(--order-content-color)!important;-webkit-text-fill-color:var(--order-content-color)!important}
  .dynamic-orders-table td.field-key-order_name,.dynamic-orders-table td.field-key-status,.dynamic-orders-table td.field-key-dealer_name{display:flex!important;align-items:center;min-width:0;overflow:hidden}
  .dynamic-orders-table td.dynamic-field-cell:before{content:attr(data-label);flex:0 0 78px;color:#748493!important;-webkit-text-fill-color:#748493!important;font-size:13px;font-weight:600;text-align:left}
  .dynamic-orders-table td.field-key-order_name{padding:0 8px 0 0!important;font-size:15px!important}
  .dynamic-orders-table td.field-key-order_name:before{display:none}.dynamic-orders-table td.field-key-order_name input{font-size:18px!important;text-align:left!important;font-weight:800!important}
  .dynamic-orders-table td.field-key-status:before,.dynamic-orders-table td.field-key-dealer_name:before{display:none}
  .dynamic-orders-table td.field-key-status{justify-content:center}.dynamic-orders-table td.field-key-dealer_name{justify-content:flex-end;padding-left:8px!important}
  .dynamic-orders-table td.field-key-order_name input,.dynamic-orders-table td.field-key-status select,.dynamic-orders-table td.field-key-dealer_name select,.dynamic-orders-table td.field-key-status .multi-field-editor,.dynamic-orders-table td.field-key-dealer_name .multi-field-editor{pointer-events:none;width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dynamic-orders-table td .cell-input,.dynamic-orders-table td .date-picker-cell,.dynamic-orders-table td .multi-field-editor{flex:1;min-width:0}
  .dynamic-orders-table td input,.dynamic-orders-table td select,.dynamic-orders-table td button:not(.order-delete-button){text-align:left!important;text-align-last:left!important}
  .dynamic-orders-table td.order-delete-cell{display:none!important}.order-delete-cell form{display:none!important}
  .save-state{font-size:12px}.order-modal{padding:0;align-items:flex-end}.order-modal-card{width:100%;max-height:92vh;border-radius:18px 18px 0 0;padding:24px 18px 18px}.order-modal-card h2{font-size:23px}.order-detail-fields{grid-template-columns:1fr;gap:10px}.order-detail-item{padding:13px}.order-detail-value{font-size:16px}.order-detail-value img{max-width:100%;height:auto}
  .order-search-dates{grid-template-columns:1fr 1fr;gap:10px}
}

/* AI助手 */
.ai-page{display:flex;flex-direction:column;gap:14px;min-width:0;color:#102c43}
.ai-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.ai-heading h1{margin:2px 0 4px;font-size:27px}
.ai-heading p{margin:0;color:#64788b;font-size:13px}
.ai-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#2686d0}
.ai-service-state{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}
.ai-service-state:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.ai-service-state.ready{color:#197847;background:#e8f7ef}
.ai-service-state.waiting{color:#a36c0c;background:#fff4d8}
.ai-config-warning,.ai-review-warning{padding:12px 14px;border:1px solid #f0cf7b;border-radius:10px;background:#fff8e6;color:#805b12;font-size:13px}
.ai-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;min-height:calc(100vh - 155px)}
.ai-chat-card,.ai-upload-card,.ai-documents-card,.ai-review-form,.ai-review-table-card,.ai-complete-card,.ai-picking-actions,.ai-empty-card{border:1px solid #dbe5ee;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(31,62,86,.045)}
.ai-chat-card{display:flex;flex-direction:column;min-height:620px;overflow:hidden}
.ai-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #e3ebf2}
.ai-card-title h2{margin:0 0 2px;font-size:17px}
.ai-card-title p{margin:0;color:#718496;font-size:12px}
.ai-card-title>span{color:#6a7e90;font-size:11px;white-space:nowrap}
.ai-messages{flex:1;min-height:390px;max-height:calc(100vh - 365px);overflow:auto;padding:18px;background:linear-gradient(180deg,#f7fafc,#f2f6f9)}
.ai-welcome{max-width:600px;margin:26px auto;padding:20px;border:1px dashed #b8cede;border-radius:12px;background:#fff;text-align:center}
.ai-welcome b{font-size:19px}.ai-welcome p{margin:8px 0 0;color:#667b8e;line-height:1.75;font-size:13px}
.ai-message{display:flex;align-items:flex-start;gap:9px;margin:0 0 15px}
.ai-message>span{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:9px;background:#123b59;color:#fff;font-size:11px;font-weight:700}
.ai-message>div{max-width:min(78%,760px);padding:10px 13px;border:1px solid #dce6ee;border-radius:3px 11px 11px 11px;background:#fff;line-height:1.7;white-space:pre-wrap;font-size:14px}
.ai-message.user{flex-direction:row-reverse}.ai-message.user>span{background:#2b83c8}.ai-message.user>div{border-color:#c9e1f4;background:#eaf5fd;border-radius:11px 3px 11px 11px}
.ai-quick-prompts{display:flex;gap:7px;flex-wrap:wrap;padding:9px 14px 0;background:#fff}
.ai-quick-prompts button{padding:5px 9px;border:1px solid #d8e5ef;border-radius:999px;background:#f8fbfd;color:#35647f;font-size:11px;cursor:pointer}
.ai-chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:11px 14px 14px;background:#fff}
.ai-chat-form textarea{resize:none;min-height:48px;padding:10px 12px;border:1px solid #cbd9e4;border-radius:9px;font:inherit;line-height:1.5}
.ai-chat-form button{min-width:72px}
.ai-side-column{display:flex;flex-direction:column;gap:14px;min-width:0}
.ai-upload-card form{display:grid;gap:11px;padding:14px}
.ai-upload-card label{display:grid;gap:5px}.ai-upload-card label>span{font-size:12px;font-weight:700;color:#405b70}
.ai-upload-card input[type=file],.ai-upload-card select{width:100%;min-width:0;padding:8px;border:1px solid #ccdae5;border-radius:7px;background:#fff}
.button.full{width:100%;justify-content:center}.ai-upload-status{min-height:18px;margin:0;color:#3574a3;font-size:12px;line-height:1.5}
.ai-document-list{display:grid;max-height:335px;overflow:auto}
.ai-document-list>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-bottom:1px solid #edf1f5;color:inherit;text-decoration:none}
.ai-document-list>a:hover{background:#f6fafc}.ai-document-list b{display:block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.ai-document-list small{display:block;max-width:200px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#789;font-size:10px}
.ai-doc-state{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#eaf2f7;color:#517085;font-size:10px}
.ai-doc-state.state-failed{background:#fdecec;color:#b33}.ai-doc-state.state-verified{background:#e4f7eb;color:#187545}.ai-doc-state.state-processing{background:#fff3d5;color:#956100}
.ai-empty{margin:0;padding:18px;color:#80909e;text-align:center;font-size:12px}
.ai-action-card{margin:4px 0 16px 40px;padding:14px;border:1px solid #aad2ed;border-radius:11px;background:#f7fcff}
.ai-action-card>b{font-size:15px}.ai-action-card p{margin:4px 0 8px;color:#617a8e;font-size:12px}
.ai-action-lines{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.ai-action-lines span{padding:4px 7px;border-radius:5px;background:#e7f1f7;font-size:11px}
.ai-heading-actions{display:flex;gap:8px}
.ai-review-warning ul{margin:7px 0 0;padding-left:18px}.ai-review-warning li{margin:3px 0}
.ai-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;border:1px solid #dce6ed;border-radius:11px;background:#dce6ed}
.ai-review-summary>div{padding:12px 14px;background:#fff}.ai-review-summary span{display:block;color:#73879a;font-size:11px}.ai-review-summary strong{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.ai-complete-card,.ai-picking-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px}
.ai-complete-card p,.ai-picking-actions p{margin:3px 0 0;color:#6f8191;font-size:12px}.ai-picking-actions form{margin-left:auto}.ai-picking-actions form+form{margin-left:0}
.ai-review-form{overflow:hidden}.ai-review-selects{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px;border-bottom:1px solid #e2e9ef}
.ai-review-selects label{display:grid;gap:5px}.ai-review-selects label>span{font-size:12px;font-weight:700}.ai-review-selects em{color:#db4a4a;font-style:normal}
.ai-review-selects select{width:100%;padding:8px;border:1px solid #cbd9e4;border-radius:7px;background:#fff}.ai-review-selects small{color:#7b8e9e;font-size:10px}
.ai-review-table-card{border:0;border-radius:0;box-shadow:none}.ai-review-table-wrap{overflow:auto}.ai-review-table{width:100%;border-collapse:collapse;table-layout:fixed}
.ai-review-table th{padding:9px 10px;background:#103b57;color:#fff;text-align:left;font-size:12px}.ai-review-table td{padding:9px 10px;border-right:1px solid #dce5ec;border-bottom:1px solid #dce5ec;vertical-align:top;font-size:12px}
.ai-review-table th:nth-child(1){width:19%}.ai-review-table th:nth-child(2){width:30%}.ai-review-table th:nth-child(3){width:13%}.ai-review-table th:nth-child(4){width:12%}.ai-review-table th:nth-child(5){width:26%}
.ai-review-table td strong,.ai-review-table td small{display:block}.ai-review-table td small{margin-top:3px;color:#778b9b;font-size:10px}.ai-review-table select,.ai-review-table input{width:100%;min-width:0;padding:7px;border:1px solid #cad7e1;border-radius:6px;background:#fff}
.ai-review-table tr.match-suggested td:first-child,.ai-review-table tr.match-matched td:first-child{box-shadow:inset 4px 0 #f1b844}.ai-match-label{color:#a56b00!important}.ai-stock-low{color:#c83e3e}
.ai-review-footer{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:12px 16px;background:#f7fafc}.ai-review-footer span{color:#718496;font-size:11px}
.ai-empty-card{padding:25px;text-align:center;color:#748797}

@media(max-width:1100px){.ai-layout{grid-template-columns:1fr}.ai-side-column{display:grid;grid-template-columns:1fr 1fr}.ai-messages{max-height:520px}.ai-review-summary{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.ai-heading{align-items:flex-start;flex-direction:column}.ai-layout{min-height:auto}.ai-chat-card{min-height:560px}.ai-side-column{display:flex}.ai-message>div{max-width:86%}.ai-review-selects{grid-template-columns:1fr}.ai-review-summary{grid-template-columns:1fr}.ai-review-table{min-width:900px}.ai-picking-actions,.ai-complete-card{align-items:stretch;flex-direction:column}.ai-picking-actions form{width:100%;margin:0}.ai-picking-actions .button,.ai-complete-card .button{width:100%;justify-content:center}}

/* 电脑端订单表格必须跟随可用宽度，不能再由每列固定最小宽度撑出页面 */
@media(min-width:701px){
  .dynamic-orders-sheet{width:100%;max-width:100%;overflow-x:hidden}
  .dynamic-orders-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed}
  .dynamic-orders-table th,.dynamic-orders-table td{min-width:0!important;width:auto!important;max-width:none;box-sizing:border-box;overflow:hidden;padding-left:clamp(4px,.5vw,10px);padding-right:clamp(4px,.5vw,10px)}
  .dynamic-orders-table .row-number-column,.dynamic-orders-table .row-number{width:52px!important;min-width:52px!important}
  .dynamic-orders-table .order-actions-column,.dynamic-orders-table .order-delete-cell{width:116px!important;min-width:116px!important;white-space:normal}
  .dynamic-field-cell .cell-input,.dynamic-orders-table td input,.dynamic-orders-table td select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
  .dynamic-upload-form,.date-picker-cell,.progress-editor,.multi-field-editor{max-width:100%;min-width:0;overflow:hidden}
  .dynamic-file-link,.readonly-field{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .order-view-button,.order-delete-button{padding:6px clamp(4px,.4vw,9px);white-space:nowrap}
}
.order-month-row td{padding:0!important;background:#f4f7fa!important;border-top:10px solid #eef2f6!important;border-bottom:1px solid #cfd9e3!important;height:auto!important}.order-month-toggle{width:100%;min-height:54px;border:0;background:transparent;padding:0 20px;display:flex;align-items:center;gap:14px;color:#172f44;cursor:pointer;text-align:left;font:inherit}.order-month-toggle strong{font-size:18px}.order-month-arrow{width:18px;color:#718397}.order-month-count{margin-left:auto;color:#687b8d;font-size:14px}.dynamic-orders-table tr[hidden]{display:none!important}.customer-orders-page .title-row p{margin:6px 0 0;color:#6b7d8e}.customer-order-filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.customer-order-filters a{padding:9px 15px;border:1px solid #ccd8e3;border-radius:8px;background:#fff;color:#29445b;text-decoration:none}.customer-order-filters a.active{background:#287dca;color:#fff;border-color:#287dca}.customer-order-filters span{opacity:.75}.customer-orders-table th,.customer-orders-table td{text-align:center}.customer-order-status{display:inline-block;padding:5px 10px;border-radius:999px;background:#e7f2ff;color:#1c68aa;font-weight:700}.customer-orders-empty{padding:50px!important;color:#81909d}.muted{color:#98a5af}
@media(max-width:700px){.dynamic-orders-table tbody tr.order-month-row{display:block!important;padding:0!important;margin:14px 0 6px!important;border:0!important}.dynamic-orders-table tbody tr.order-month-row td{display:block!important;padding:0!important;border-radius:10px!important}.order-month-toggle{min-height:48px;padding:0 14px}.order-month-toggle strong{font-size:17px}.customer-orders-sheet{overflow:visible}.customer-orders-table thead{display:none}.customer-orders-table,.customer-orders-table tbody{display:block}.customer-orders-table tr{display:block;margin-bottom:12px;padding:12px;border:1px solid #d8e1e9;border-radius:12px;background:#fff}.customer-orders-table td{display:grid;grid-template-columns:88px 1fr;text-align:left;padding:8px 4px;border:0}.customer-orders-table td:before{content:attr(data-label);color:#7b8995}.customer-orders-table .customer-orders-empty{display:block;text-align:center}}

/* 订单表格紧凑与附件详情 */
.order-month-row td{padding:0!important;background:#f4f7fa!important;border-top:6px solid #eef2f6!important;border-bottom:1px solid #cfd9e3!important;height:auto!important}
.order-month-toggle{width:100%;min-height:34px!important;border:0;background:transparent;padding:3px 16px!important;display:flex;align-items:center;gap:10px;color:#172f44;cursor:pointer;text-align:left;font:inherit}
.order-month-toggle strong{font-size:16px!important}.order-month-arrow{width:16px}.order-month-count{margin-left:auto;font-size:13px}
.dynamic-orders-table tbody tr[data-order-id]>td{height:var(--order-row-height,64px)!important;max-height:none!important;white-space:normal;overflow:visible}
.dynamic-orders-table tbody tr[data-order-id] .dynamic-field-cell{padding:0!important}
.dynamic-orders-table tbody tr[data-order-id] .readonly-field{display:flex;align-items:center;justify-content:center;min-height:var(--order-row-height,64px);padding:8px;white-space:normal;overflow-wrap:anywhere}
.order-detail-file-form{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.order-detail-file-form>.dynamic-file-link{display:none}.order-detail-file-form .detail-file-list{display:grid;gap:8px}.order-detail-file-form .detail-file-list>span{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-detail-file-form .detail-only{display:block}.order-detail-file-form label{align-self:flex-start;padding:7px 11px;border-radius:6px;background:#e8f3fd}
.order-file-panel{margin-top:20px;padding:18px;border:1px solid #dce5ed;border-radius:12px;background:#fff}.order-file-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border-bottom:1px solid #e5ebf0}.order-file-row:last-child{border-bottom:0}.order-file-row div{display:flex;flex-direction:column;gap:5px;min-width:0}.order-file-row strong{overflow-wrap:anywhere}.order-file-row small{color:#7c8b98}
@media(max-width:700px){.order-file-row{align-items:flex-start;flex-direction:column}.order-month-toggle{min-height:34px!important}.order-month-toggle strong{font-size:15px!important}}

/* Desktop order dimensions are controlled by the administrator settings. */
@media(min-width:701px){
  .dynamic-orders-sheet{overflow-x:auto!important}
  .dynamic-orders-table{width:max-content!important;min-width:100%!important;table-layout:fixed!important}
  .dynamic-orders-table th:not(.row-number-column):not(.order-actions-column),
  .dynamic-orders-table td.dynamic-field-cell{width:var(--order-column-width,170px)!important;min-width:var(--order-column-width,170px)!important;max-width:var(--order-column-width,170px)!important}
  .dynamic-orders-table tbody tr[data-order-id],
  .dynamic-orders-table tbody tr[data-order-id]>td{height:var(--order-row-height,64px)!important;min-height:var(--order-row-height,64px)!important}
  .dynamic-orders-table tbody tr[data-order-id] .cell-input,
  .dynamic-orders-table tbody tr[data-order-id] .date-picker-button,
  .dynamic-orders-table tbody tr[data-order-id] .readonly-field{height:var(--order-row-height,64px)!important;min-height:var(--order-row-height,64px)!important;max-height:none!important}
  .dynamic-orders-table tbody tr[data-order-id]>.row-number,
  .dynamic-orders-table tbody tr[data-order-id]>.order-delete-cell{height:var(--order-row-height,64px)!important;min-height:var(--order-row-height,64px)!important;padding:0 4px!important;overflow:hidden!important;white-space:nowrap!important}
  .dynamic-orders-table tbody tr[data-order-id] .order-view-button,
  .dynamic-orders-table tbody tr[data-order-id] .order-delete-button{height:min(30px,calc(var(--order-row-height,64px) - 6px))!important;padding:2px 6px!important;font-size:12px!important;line-height:1!important;vertical-align:middle}
  .dynamic-orders-table tbody tr[data-order-id] .order-delete-cell form{display:inline-block!important;margin:0 0 0 2px!important;vertical-align:middle}
  .dynamic-orders-table tbody tr[data-order-id] .dynamic-upload-form,
  .dynamic-orders-table tbody tr[data-order-id] .date-picker-cell,
  .dynamic-orders-table tbody tr[data-order-id] .progress-editor,
  .dynamic-orders-table tbody tr[data-order-id] .multi-field-editor{height:var(--order-row-height,64px)!important;min-height:0!important;max-height:var(--order-row-height,64px)!important;overflow:hidden!important}
}
.order-file-upload{display:flex;align-items:end;gap:12px;margin:18px 0;padding:16px;border:1px dashed #b9c8d4;border-radius:10px;background:#f8fbfd}
.order-file-upload label{flex:1;margin:0}.order-file-upload input{margin-top:7px;background:#fff}.order-file-actions{display:flex;align-items:center;gap:10px}.order-file-delete{margin:0}
.orders-toolbar{display:flex;align-items:center;gap:14px;margin:0 0 8px}.orders-toolbar h1{margin:0;font-size:25px;white-space:nowrap}.orders-toolbar .orders-subnav{margin:0}.orders-toolbar .save-state{margin:0 0 0 auto;white-space:nowrap}
.focused-order>td{background:#fff1a8!important;box-shadow:inset 0 2px #f0a000,inset 0 -2px #f0a000}
@media(min-width:701px){
  .orders-page{margin-top:-10px}.orders-page .dynamic-orders-sheet{margin-top:0}
  .dynamic-orders-table tbody tr[data-order-id]>td{vertical-align:middle!important;text-align:center!important}
  .dynamic-orders-table tbody tr[data-order-id] .cell-input,
  .dynamic-orders-table tbody tr[data-order-id] input,
  .dynamic-orders-table tbody tr[data-order-id] select,
  .dynamic-orders-table tbody tr[data-order-id] textarea,
  .dynamic-orders-table tbody tr[data-order-id] button,
  .dynamic-orders-table tbody tr[data-order-id] a,
  .dynamic-orders-table tbody tr[data-order-id] span{text-align:center!important;text-align-last:center!important}
  .dynamic-orders-table tbody tr[data-order-id] .cell-textarea{padding:calc((var(--order-row-height,64px) - 1.35em)/2) 6px!important}
  .dynamic-orders-table tbody tr[data-order-id] .dynamic-file-link{display:flex!important;align-items:center!important;justify-content:center!important;height:var(--order-row-height,64px)!important;max-width:100%!important;margin:0!important;padding:0 5px!important}
}
@media(max-width:700px){.orders-toolbar{align-items:flex-start;flex-wrap:wrap}.orders-toolbar .save-state{width:100%;margin:0;text-align:left}}

/* 通知中心 */
.notification-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.notification-heading h1{margin:0 0 7px}.notification-heading p{margin:0;color:#6f8090}.notification-total{padding:8px 13px;border-radius:999px;background:#ffe9e9;color:#c92f38;font-weight:800}.notification-list{max-width:980px;border:1px solid #dce5ed;border-radius:12px;background:#fff;overflow:hidden}.notification-item{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #e5ebf0;color:#203448;text-decoration:none}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#f4f9fe}.notification-dot{width:10px;height:10px;border-radius:50%;background:#ef3f46;box-shadow:0 0 0 5px #ffe9eb;flex:0 0 auto}.notification-content{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}.notification-content small{color:#718293}.notification-go{color:#2476c7;font-weight:700;white-space:nowrap}.notification-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:60px;color:#7a8996}.notification-empty strong{font-size:20px;color:#405568}
.orders-subnav{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.orders-subnav>a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:1px solid #c9d7e2;border-radius:8px;background:#fff;color:#29445b;text-decoration:none;font-weight:700}.orders-subnav>a:hover,.orders-subnav>a.active{border-color:#287dca;background:#287dca;color:#fff}.pending-orders-entry{gap:7px}.pending-orders-entry svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.pending-orders-entry b{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#ef3f46;color:#fff;font-size:12px}.pending-orders-entry.active b{background:#fff;color:#d92f39}.integrated-customer-orders{margin-top:18px}.integrated-order-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.integrated-order-heading h2{margin:0 0 7px;font-size:23px}.integrated-order-heading p{margin:0;color:#718291}.customer-order-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.customer-order-actions form{margin:0}
@media(max-width:700px){.notification-heading{align-items:flex-start;flex-direction:column}.notification-item{align-items:flex-start;flex-wrap:wrap}.notification-go{margin-left:24px}}

/* 鼠标中键快捷圆盘 */
.quick-wheel[hidden]{display:none!important}.quick-wheel{position:fixed;z-index:12000;width:290px;height:290px;transform:translate(-50%,-50%);user-select:none;touch-action:none}.quick-wheel-ring{position:relative;width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at center,rgba(35,56,77,.98) 0 43px,rgba(30,54,76,.94) 44px 100%);border:2px solid rgba(255,255,255,.72);box-shadow:0 18px 48px #14253666,inset 0 0 0 46px rgba(255,255,255,.05)}.quick-wheel-item{position:absolute;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;width:78px;height:62px;transform:translate(calc(-50% + var(--wheel-x)),calc(-50% + var(--wheel-y)));border-radius:12px;color:#eef6fd;text-decoration:none;text-align:center;transition:background .08s,transform .08s;line-height:1.15}.quick-wheel-item span{font-size:25px}.quick-wheel-item b{margin-top:4px;font-size:12px;white-space:nowrap}.quick-wheel-item i{position:absolute;right:4px;top:1px;display:flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ef3f46;color:#fff;font:700 11px/1 sans-serif}.quick-wheel-item:hover,.quick-wheel-item.selected{background:#2d87d3;box-shadow:0 0 0 2px #fff8;transform:translate(calc(-50% + var(--wheel-x)),calc(-50% + var(--wheel-y))) scale(1.08)}.quick-wheel-center{position:absolute;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;width:82px;height:82px;transform:translate(-50%,-50%);border:2px solid #d8e7f3;border-radius:50%;background:#f7fafc;color:#9d2331;cursor:pointer}.quick-wheel-center span{font-size:27px;font-weight:900}.quick-wheel-center small{font-size:10px;color:#718291}.quick-wheel-mobile-trigger{display:none;position:fixed;right:18px;bottom:22px;z-index:11000;width:52px;height:52px;border:0;border-radius:50%;background:#234e72;color:#fff;font-size:24px;box-shadow:0 7px 22px #132b3e55}
@media(max-width:700px){.quick-wheel{width:280px;height:280px}.quick-wheel-mobile-trigger{display:block}.quick-wheel-item{width:74px}.quick-wheel-center small{display:none}}

@media(min-width:701px){.quick-wheel{width:500px;height:500px}.quick-wheel-item{width:112px;height:86px}.quick-wheel-item span{font-size:36px}.quick-wheel-item b{margin-top:6px;font-size:16px}.quick-wheel-center{width:116px;height:116px}.quick-wheel-center span{font-size:38px}.quick-wheel-center small{font-size:13px}.quick-wheel-ring{background:radial-gradient(circle at center,rgba(35,56,77,.98) 0 60px,rgba(30,54,76,.94) 61px 100%);box-shadow:0 24px 60px #14253666,inset 0 0 0 70px rgba(255,255,255,.05)}}

/* 双圈快捷圆盘及方向引导 */
.quick-wheel-guide{position:absolute;z-index:1;left:50%;top:50%;width:0;height:0;transform-origin:left center;border-top:3px dashed #ff7278;pointer-events:none;opacity:.95}.quick-wheel-item,.quick-wheel-center{z-index:2}.quick-wheel-settings-form{max-width:1100px}.quick-wheel-settings-form section{margin:18px 0;padding:22px;border:1px solid #dce5ed;border-radius:12px;background:#fff}.quick-wheel-settings-form h2{margin:0 0 18px}.quick-wheel-slot-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px}.quick-wheel-slot-grid label{margin:0}.quick-wheel-slot-grid select{display:block;width:100%;margin-top:7px;padding:11px;border:1px solid #ccd8e3;border-radius:7px;background:#fff;font-size:15px}
@media(min-width:701px){.quick-wheel{width:700px;height:700px}.quick-wheel-ring{background:radial-gradient(circle at center,rgba(35,56,77,.99) 0 62px,rgba(38,68,94,.97) 63px 210px,rgba(29,51,72,.95) 211px 100%);box-shadow:0 28px 72px #14253666,inset 0 0 0 1px #ffffff65}.quick-wheel-ring:after{content:"";position:absolute;left:50%;top:50%;width:420px;height:420px;transform:translate(-50%,-50%);border:1px solid #ffffff80;border-radius:50%;pointer-events:none}.quick-wheel-item.ring-inner{width:108px;height:82px}.quick-wheel-item.ring-outer{width:94px;height:72px}.quick-wheel-item.ring-outer span{font-size:30px}.quick-wheel-item.ring-outer b{font-size:14px}}
@media(max-width:700px){.quick-wheel-slot-grid{grid-template-columns:1fr 1fr}.quick-wheel-item.ring-outer{width:58px}.quick-wheel-item.ring-outer span{font-size:19px}.quick-wheel-item.ring-outer b{font-size:9px}}

/* 快捷圆盘颜色及可视化拖放编辑器 */
.quick-wheel-ring{background:radial-gradient(circle at center,color-mix(in srgb,var(--wheel-color,#1e364c) var(--wheel-opacity,94%),transparent) 0 62px,color-mix(in srgb,var(--wheel-color,#1e364c) calc(var(--wheel-opacity,94%) - 5%),transparent) 63px 210px,color-mix(in srgb,var(--wheel-color,#1e364c) var(--wheel-opacity,94%),transparent) 211px 100%)!important}.wheel-function-panel,.wheel-preview-panel,.wheel-appearance-panel{padding:22px;border:1px solid #dce5ed;border-radius:12px;background:#fff}.wheel-panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.wheel-panel-title h2,.wheel-preview-panel h2,.wheel-appearance-panel h2{margin:0 0 16px}.wheel-panel-title span{color:#718291}.wheel-function-palette{display:flex;gap:10px;flex-wrap:wrap}.wheel-function-card{display:flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid #cad7e2;border-radius:8px;background:#f7fafc;color:#20384c;cursor:grab}.wheel-function-card i{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;background:#e1edf7;color:#176eb7;font-style:normal;font-weight:800}.wheel-function-card.used{opacity:.38}.wheel-function-card.selected{border-color:#2476c7;box-shadow:0 0 0 3px #2476c722}.wheel-editor-layout{display:grid;grid-template-columns:minmax(620px,1fr) 310px;gap:20px;margin-top:20px;align-items:start}.wheel-layout-preview{position:relative;width:580px;height:580px;margin:0 auto;border:1px solid #ccd8e2;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--preview-color) var(--preview-opacity),transparent) 0 58px,color-mix(in srgb,var(--preview-color) calc(var(--preview-opacity) - 5%),transparent) 59px 185px,color-mix(in srgb,var(--preview-color) var(--preview-opacity),transparent) 186px 100%);box-shadow:0 14px 38px #1c344a26}.wheel-preview-boundary{position:absolute;left:50%;top:50%;width:370px;height:370px;transform:translate(-50%,-50%);border:1px solid #ffffff99;border-radius:50%}.wheel-preview-center{position:absolute;left:50%;top:50%;z-index:3;display:flex;align-items:center;justify-content:center;width:92px;height:92px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:#a61f30;font-size:30px;font-weight:900}.wheel-drop-slot{position:absolute;left:50%;top:50%;z-index:2;display:flex;align-items:center;justify-content:center;width:92px;height:70px;transform:translate(calc(-50% + var(--slot-x)),calc(-50% + var(--slot-y)));border:1px dashed #ffffff99;border-radius:10px;transition:.12s}.wheel-drop-slot.outer-slot{width:78px;height:62px}.wheel-drop-slot.drag-over,.wheel-drop-slot.awaiting{background:#2a83d6aa;box-shadow:0 0 0 3px #fff}.wheel-slot-number{position:absolute;left:3px;top:2px;color:#ffffff88;font-size:10px}.wheel-slot-content{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;color:#fff;cursor:grab}.wheel-slot-content i{font-size:25px;font-style:normal}.wheel-slot-content b{max-width:74px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.wheel-slot-remove{position:absolute;right:-4px;top:-5px;display:none;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#e7474d;color:#fff;cursor:pointer}.wheel-drop-slot:hover .wheel-slot-remove{display:block}.wheel-appearance-panel label{display:block;margin:18px 0}.wheel-appearance-panel input[type=color]{width:100%;height:48px;padding:4px}.wheel-appearance-panel input[type=range]{width:100%}.wheel-appearance-panel p{color:#718291}.wheel-editor-actions{display:grid;gap:10px;margin-top:24px}.wheel-editor-actions button{width:100%}
@media(max-width:1050px){.wheel-editor-layout{grid-template-columns:1fr}.wheel-appearance-panel{max-width:580px;margin:0 auto;width:100%}}@media(max-width:700px){.wheel-layout-preview{width:300px;height:300px}.wheel-preview-boundary{width:190px;height:190px}.wheel-drop-slot{width:54px;height:42px}.wheel-drop-slot.outer-slot{width:44px;height:36px}.wheel-slot-content i{font-size:16px}.wheel-slot-content b{font-size:8px}.wheel-preview-center{width:55px;height:55px}.wheel-function-panel,.wheel-preview-panel,.wheel-appearance-panel{padding:14px}}

/* 首页数据看板 */
.dashboard-page{max-width:1680px;margin:0 auto}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.dashboard-heading h1{margin:0 0 5px}.dashboard-heading p,.design-view-toolbar p{margin:0;color:#718291}.dashboard-actions{display:flex;gap:9px}.dashboard-actions button,.dashboard-tabs button,.view-mode-switch button{padding:10px 17px;border:1px solid #c9d7e2;border-radius:8px;background:#fff;color:#29445b;font-weight:700;cursor:pointer}.dashboard-actions button:hover,.dashboard-tabs button.active,.view-mode-switch button.active{border-color:#287dca;background:#287dca;color:#fff}.dashboard-tabs{display:flex;gap:9px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #d9e3eb;overflow:auto}.dashboard-view,.design-mode{display:none}.dashboard-view.active,.design-mode.active{display:block}.dashboard-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:16px}.dashboard-kpis article,.dashboard-card{padding:20px;border:1px solid #dce5ed;border-radius:13px;background:#fff;box-shadow:0 5px 16px #20384c0b}.dashboard-kpis span{display:block;color:#677b8c;font-weight:700}.dashboard-kpis strong{display:block;margin:9px 0 4px;color:#18364e;font-size:34px}.dashboard-kpis small{color:#83929e}.dashboard-kpis a{color:#287dca;text-decoration:none}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}.dashboard-card h2{margin:0 0 17px;font-size:19px}.dashboard-bar-row{display:grid;grid-template-columns:110px 1fr 35px;align-items:center;gap:11px;margin:11px 0}.dashboard-bar-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-bar-row>div{height:12px;border-radius:8px;background:#edf2f6;overflow:hidden}.dashboard-bar-row i{display:block;min-width:3px;height:100%;border-radius:8px;background:#287dca}.dashboard-bar-row b{text-align:right}.card-heading,.design-view-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.card-heading h2{margin:0}.card-heading a{color:#2476c7;text-decoration:none}.dashboard-table-wrap{width:100%;overflow:auto}.dashboard-table-wrap table{width:100%;border-collapse:collapse}.dashboard-table-wrap th,.dashboard-table-wrap td{padding:12px 14px;border-bottom:1px solid #e1e8ee;text-align:left;white-space:nowrap}.dashboard-table-wrap th{color:#65798b;background:#f5f8fa}.dashboard-table-wrap a{color:#176eb7;font-weight:700}.dashboard-status-pill{padding:5px 9px;border-radius:999px;background:#edf4fa;color:#2b628e}.dashboard-placeholder{display:flex;min-height:480px;flex-direction:column;align-items:center;justify-content:center;border:2px dashed #cad7e2;border-radius:16px;background:#fff;text-align:center}.dashboard-placeholder span{padding:7px 13px;border-radius:99px;background:#edf4fa;color:#287dca}.dashboard-placeholder h2{margin:18px 0 8px;font-size:30px}.dashboard-placeholder p{font-size:18px}.dashboard-placeholder small{color:#82919e}.design-view-toolbar{margin-bottom:17px}.design-view-toolbar h2{margin:0 0 6px}.view-mode-switch{display:flex;gap:8px}.status-kanban{display:flex;align-items:flex-start;gap:15px;padding-bottom:15px;overflow:auto}.kanban-column{flex:0 0 280px;border:1px solid #dbe4eb;border-radius:12px;background:#f3f6f8;overflow:hidden}.kanban-column>header{display:flex;align-items:center;justify-content:space-between;padding:14px;border-top:5px solid var(--status-color);background:#fff}.kanban-column>header strong{padding:5px 9px;border-radius:5px;background:var(--status-color);color:#fff}.kanban-column>header span{color:#718291}.kanban-cards{display:grid;gap:10px;padding:11px}.kanban-card{display:block;padding:14px;border:1px solid #dce4ea;border-radius:9px;background:#fff;color:#243a4c;text-decoration:none;box-shadow:0 2px 6px #1b344711}.kanban-card:hover{border-color:#2d82cf}.kanban-card h3{margin:0 0 13px;font-size:16px}.kanban-card dl{margin:0}.kanban-card dl div{display:flex;justify-content:space-between;gap:10px;margin:7px 0}.kanban-card dt{color:#7a8996}.kanban-card dd{margin:0;text-align:right}.kanban-empty{padding:30px 10px;text-align:center;color:#8a98a3}.status-table-groups{display:grid;gap:16px}.status-table-groups>section{border:1px solid #dce5ed;border-radius:11px;background:#fff;overflow:hidden}.status-table-groups>section>header{display:flex;align-items:center;justify-content:space-between;padding:13px 16px}.status-table-groups header strong{padding:6px 11px;border-radius:5px;color:#fff}.dashboard-empty{color:#83929e}.dashboard-page:fullscreen{padding:24px;background:#eef3f7;overflow:auto}
@media(max-width:900px){.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.dashboard-heading,.design-view-toolbar{align-items:flex-start;flex-direction:column}.dashboard-actions{width:100%}.dashboard-tabs button{white-space:nowrap}}@media(max-width:560px){.dashboard-kpis{grid-template-columns:1fr}.dashboard-actions button{flex:1}.dashboard-bar-row{grid-template-columns:90px 1fr 28px}.view-mode-switch{width:100%}.view-mode-switch button{flex:1}}

/* 左侧导航统一线性图标 */
#mainSidebar a{display:flex;align-items:center;gap:12px;position:relative}#mainSidebar .nav-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.9}#mainSidebar a>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit}#mainSidebar a:hover .nav-icon,#mainSidebar a.active .nav-icon{opacity:1}#mainSidebar a.active .nav-icon{stroke-width:2.1}.nav-link-with-badge .nav-badge{margin-left:auto}.pending-nav-link .nav-icon{opacity:.62}.menu-divider{margin-top:7px}
@media(max-width:700px){#mainSidebar a{gap:7px}#mainSidebar .nav-icon{width:17px;height:17px;flex-basis:17px}}

/* 经销商与新订单表格网格、横竖居中 */
@media(min-width:701px){
  .dealers-table,.customer-orders-table{border-collapse:collapse;table-layout:fixed}
  .dealers-table th,.dealers-table td,.customer-orders-table th,.customer-orders-table td{border:1px solid #d6e0e8!important;text-align:center!important;vertical-align:middle!important}
  .dealers-table th,.customer-orders-table th{height:48px}
  .dealers-table td,.customer-orders-table td{height:60px}
  .dealers-table .cell-input{height:100%;margin:0;text-align:center!important}
  .dealers-table td .button,.customer-orders-table td .button{display:inline-flex;align-items:center;justify-content:center}
  .customer-orders-table td>div,.customer-orders-table td>form{margin-left:auto;margin-right:auto}
  .customer-orders-table td>div[style*="display:flex"]{justify-content:center}
  .customer-orders-table form{margin-top:0;margin-bottom:0}
}

/* 员工组织、部门与权限管理 */
.employee-page{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;width:100%;max-width:none;margin:0}.employee-page>.panel{max-width:none}.org-tree{width:250px;max-width:none;padding:14px;align-self:start;min-height:650px}.org-search{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d7e0e8;border-radius:8px;background:#f7f9fb}.org-search input{width:100%;padding:0;border:0;background:transparent;outline:0}.org-root{display:flex;align-items:center;margin-top:14px}.org-root>a:first-child{display:flex;align-items:center;gap:6px;flex:1;padding:10px;border-radius:7px;color:#1b344b;text-decoration:none}.org-root>a.active,.department-tree a.active{background:#e4f0ff;color:#176fc1}.org-root span,.department-tree small{color:#728292}.org-more{padding:7px 10px;color:#40576b;text-decoration:none;font-size:20px}.department-tree{display:grid;gap:3px}.department-tree a{display:flex;justify-content:space-between;padding:9px 11px;border-radius:6px;color:#32495c;text-decoration:none}.department-tree .level-2{padding-left:27px}.org-content{width:100%;max-width:none!important;min-width:0;padding:0;overflow:hidden}.org-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #e0e7ed}.org-heading h1{margin:0 0 5px}.org-heading p,.title-row p{margin:0;color:#718291}.department-toolbar{display:flex;gap:15px;padding:11px 24px;background:#f7f9fb;border-bottom:1px solid #e0e7ed}.department-toolbar form{margin:0}.department-toolbar a{color:#1976c9}.employee-table-wrap{width:100%;overflow-x:auto}.employee-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1080px}.employee-table th,.employee-table td{padding:14px 13px;border-bottom:1px solid #e1e8ee;text-align:left;vertical-align:middle}.employee-table th{background:#f5f8fa;color:#607385}.employee-table th:nth-child(1){width:14%}.employee-table th:nth-child(2){width:10%}.employee-table th:nth-child(3){width:13%}.employee-table th:nth-child(4){width:10%}.employee-table th:nth-child(5){width:25%}.employee-table th:nth-child(6){width:8%}.employee-table th:nth-child(7){width:20%}.employee-table td>b,.employee-table td>small{display:block}.employee-table td>small{margin-top:5px;color:#7b8995}.role-tag{display:inline-block;margin:5px 0 0;padding:3px 7px;border-radius:99px;background:#e8eff5;color:#466176;font-size:11px;font-style:normal}.role-tag.supervisor{background:#e8f5ec;color:#247447}.wecom-inline{display:flex;gap:7px;align-items:center;margin:0}.wecom-inline input{width:min(190px,100%);min-width:120px;padding:7px;border:1px solid #cad5df;border-radius:6px}.wecom-hint{max-width:none;color:#89959f!important;font-size:11px;line-height:1.45}.user-actions{display:flex;gap:8px 11px;flex-wrap:wrap;align-items:center}.user-actions form{margin:0}.link-button.warn{color:#c77a0b}.empty-state{padding:55px!important;text-align:center!important;color:#83919d}.form-page{max-width:1120px;margin:0 auto}.employee-form-panel{padding:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.department-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 22px}.department-choice{display:grid!important;grid-template-columns:24px 1fr auto auto;gap:7px;align-items:center;padding:12px;border:1px solid #d8e1e8;border-radius:8px}.department-choice span{display:flex;align-items:center;gap:4px;color:#687b8b;font-size:12px}.password-reset-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:13px;align-items:end}.permission-panel section{padding:4px 0 18px;border-bottom:1px solid #e2e8ed}.permission-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.permission-grid label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #d9e2e9;border-radius:8px}.permission-grid span,.permission-grid small{display:block}.permission-grid small{margin-top:4px;color:#89959f}
@media(max-width:900px){.employee-page{grid-template-columns:1fr}.org-tree{min-height:0}.form-grid,.department-choice-grid,.permission-grid{grid-template-columns:1fr}.password-reset-grid{grid-template-columns:1fr}.org-heading{align-items:flex-start;gap:12px;flex-direction:column}}

/* 员工组织页面第三版：企微式组织树、统一网格与对齐 */
.employee-page{grid-template-columns:236px minmax(0,1fr);gap:0;min-height:680px;background:#fff;border:1px solid #e0e7ed;border-radius:12px;box-shadow:0 3px 16px #22384d12;overflow:hidden}
.org-tree{width:236px;min-height:680px;padding:14px 12px;background:#fff;border:0;border-right:1px solid #e1e7ec;border-radius:0;box-shadow:none}
.org-page-title{height:42px;display:flex;align-items:center;padding:0 11px;margin-bottom:8px;color:#172f43;font-size:18px;font-weight:800}
.org-root{position:relative;margin:0 0 3px}
.org-root>a:first-child{height:42px;margin:0;padding:0 40px 0 11px;background:transparent}
.org-root>a:first-child.active{background:#e4f0ff;color:#176fc1}
.org-label{display:flex;align-items:center;gap:9px}
.org-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:5px;background:#6ba8f2;color:#fff;font-size:13px;font-style:normal}
.org-total{margin-left:auto;color:#738596;font-size:13px;font-weight:400}
.org-more{position:absolute;right:4px;top:3px;width:32px;height:36px;margin:0;padding:5px;text-align:center;color:#52687a}
.department-tree{padding-top:1px}
.department-tree a{height:39px;align-items:center;margin:0 0 2px;padding:0 12px 0 42px;background:#fff;border-radius:6px;color:#172f43}
.department-tree a:hover{background:#f2f6fa}
.department-tree a.active{background:#e4f0ff;color:#176fc1}
.department-tree .level-2{padding-left:60px}
.folder-icon{position:relative;display:inline-block;width:20px;height:14px;margin-right:10px;border-radius:2px;background:#66a7ef;vertical-align:-2px}
.folder-icon:before{content:"";position:absolute;left:1px;top:-3px;width:8px;height:4px;border-radius:2px 2px 0 0;background:#66a7ef}
.left-employee-link{margin-top:7px!important;padding-left:42px!important;color:#52687a!important}
.org-content{min-height:680px;border-radius:0;background:#fff}
.org-heading{height:65px;padding:0 20px;border-bottom:1px solid #dce4ea}
.org-heading h1{margin:0;font-size:21px;line-height:1}
.org-heading h1 small{color:#708394;font-size:14px;font-weight:400}
.org-heading .button{padding:9px 17px}
.department-toolbar{height:44px;align-items:center;padding:0 20px}
.employee-table-wrap{overflow-x:auto}
.employee-table{min-width:1180px;table-layout:fixed;border-collapse:collapse}
.employee-table th,.employee-table td{height:76px;padding:10px 12px;border:1px solid #dce4ea;text-align:left;vertical-align:middle}
.employee-table th{height:44px;padding-top:8px;padding-bottom:8px;background:#f5f7f9;color:#50677a;font-weight:700}
.employee-table th:first-child,.employee-table td:first-child{border-left:0}
.employee-table th:last-child,.employee-table td:last-child{border-right:0}
.employee-table th:nth-child(1){width:15%}.employee-table th:nth-child(2){width:10%}.employee-table th:nth-child(3){width:12%}.employee-table th:nth-child(4){width:9%}.employee-table th:nth-child(5){width:26%}.employee-table th:nth-child(6){width:8%}.employee-table th:nth-child(7){width:20%}
.employee-identity{display:flex;align-items:center;gap:12px;white-space:nowrap}
.employee-identity b{color:#172f43;font-size:15px}
.employee-identity span{color:#718291;font-size:13px}
.empty-value{color:#9ba7b1;font-size:13px}
.role-tag{margin:0}
.wecom-cell{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px}
.wecom-inline{grid-column:1/-1;display:grid;grid-template-columns:minmax(130px,190px) auto;justify-content:start;gap:8px}
.wecom-inline input{width:100%;height:32px;margin:0;padding:5px 8px;font-size:14px}
.wecom-hint{grid-column:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wecom-cell>form:not(.wecom-inline){grid-column:2;grid-row:2;margin:0}
.test-link{white-space:nowrap}
.user-actions{display:flex;align-items:center;gap:8px 12px;min-height:32px}
.user-actions a,.user-actions button{white-space:nowrap}
.employee-table .status{display:inline-block;white-space:nowrap}
@media(max-width:900px){.employee-page{grid-template-columns:1fr}.org-tree{width:100%;min-height:0;border-right:0;border-bottom:1px solid #e1e7ec}.org-content{min-height:480px}}

/* 员工与工作台第四版 */
.org-root>a:first-child{padding-right:40px}.employee-table{min-width:1260px}.employee-table th,.employee-table td{text-align:center!important;vertical-align:middle!important}.employee-table th:nth-child(1){width:9%}.employee-table th:nth-child(2){width:10%}.employee-table th:nth-child(3){width:9%}.employee-table th:nth-child(4){width:12%}.employee-table th:nth-child(5){width:9%}.employee-table th:nth-child(6){width:25%}.employee-table th:nth-child(7){width:8%}.employee-table th:nth-child(8){width:18%}.employee-table td>b{color:#172f43}.employee-table td:nth-child(2){color:#32495c;font-size:14px}.employee-table .wecom-cell,.employee-table .wecom-inline,.employee-table .user-actions{justify-content:center}.employee-table .wecom-hint{text-align:center}.employee-table .empty-value{display:inline-block}.employee-table .role-tag{display:inline-block}
.account-edit-page,.permission-page,.department-member-page,.workbench-submit-page{width:min(1040px,100%);margin:0 auto}.account-edit-page>.title-row,.permission-page>.title-row,.department-member-page>.title-row,.workbench-submit-page>.title-row{margin-bottom:18px}.account-edit-card,.compact-permission-form,.member-select-card,.submit-card{padding:24px 28px;border-radius:12px;background:#fff;box-shadow:0 3px 16px #22384d12}.account-edit-card{margin-bottom:18px}.single-column-form{display:grid;gap:14px;max-width:620px}.single-column-form label{margin:0}.single-column-form h2{margin:13px 0 0}.single-column-form input{margin-top:7px}.form-submit{justify-self:start}.department-membership-table{overflow:hidden;border:1px solid #d7e1e9;border-radius:9px}.membership-head,.membership-row{display:grid;grid-template-columns:minmax(180px,1fr) 100px 100px 110px;align-items:center;min-height:45px;margin:0;padding:0 13px;border-bottom:1px solid #dfe6ec;text-align:center}.membership-head{background:#f5f7f9;color:#587084;font-weight:700}.membership-row:last-child{border-bottom:0}.membership-row>b{text-align:left}.membership-row input{width:auto;margin:0 auto}.password-card>h2{margin-top:0}.compact-permission-form{display:grid;gap:0}.compact-permission-form section{display:grid;grid-template-columns:130px 1fr;align-items:start;padding:14px 0;border-bottom:1px solid #e1e7ec}.compact-permission-form section h2{margin:2px 0;font-size:17px}.compact-permission-form section>div{display:flex;flex-wrap:wrap;gap:8px 18px}.compact-permission-form label{display:flex;align-items:center;gap:7px;margin:0;padding:4px 0;font-weight:400}.compact-permission-form input{width:auto;margin:0}.compact-permission-form>button{justify-self:start;margin-top:18px}.member-select-card{display:grid;gap:18px}.member-select-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.member-select-list label{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;margin:0;padding:13px;border:1px solid #d9e2e9;border-radius:8px}.member-select-list input{width:auto;margin:0}.member-select-list small{grid-column:2/-1;color:#84919c}
.workbench-page{max-width:1600px;margin:0 auto}.workbench-heading{display:flex;justify-content:space-between;margin-bottom:16px}.workbench-heading h1{margin:0 0 5px}.workbench-heading p{margin:0;color:#718291}.workbench-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:15px}.workbench-kpis article{padding:17px 20px;border:1px solid #dce5ec;border-radius:11px;background:#fff}.workbench-kpis span{display:block;color:#6e8191}.workbench-kpis b{display:block;margin-top:8px;font-size:27px;color:#173b58}.workbench-tabs{display:flex;gap:7px;margin-bottom:15px;padding:10px;border-radius:10px;background:#fff}.workbench-tabs a{padding:9px 16px;border-radius:7px;color:#3d566a;text-decoration:none}.workbench-tabs a.active{background:#277dca;color:#fff}.workbench-tabs small{margin-left:4px}.workbench-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.workbench-orders>article{padding:18px;border:1px solid #dae4eb;border-radius:11px;background:#fff}.workbench-orders header,.workbench-orders footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.workbench-orders h2{margin:0 0 5px}.workbench-orders header p{margin:0;color:#7a8995}.work-status{padding:5px 10px;border-radius:99px;background:#edf2f6}.status-拆单中{background:#e5f1ff;color:#176fbe}.status-待排产{background:#e5f7eb;color:#247747}.workbench-orders dl{display:grid;grid-template-columns:1fr 1fr;margin:16px 0}.workbench-orders dl div{padding:8px;border-bottom:1px solid #edf1f4}.workbench-orders dt{color:#7b8995}.workbench-orders dd{margin:4px 0 0}.workbench-orders footer{justify-content:flex-end}.workbench-orders footer form{margin:0}.workbench-empty{grid-column:1/-1;padding:70px;text-align:center;border-radius:11px;background:#fff;color:#84919c}.submit-card ul{padding:0;list-style:none}.submit-card li{display:flex;justify-content:space-between;padding:10px;border-bottom:1px solid #e2e8ed}.submit-card form{display:grid;gap:13px;max-width:650px}.submit-card button{justify-self:start}
@media(max-width:900px){.membership-head,.membership-row{grid-template-columns:1fr 72px 72px 82px}.compact-permission-form section{grid-template-columns:1fr}.member-select-list,.workbench-orders,.workbench-kpis{grid-template-columns:1fr}}

/* 2026-07-24: department members and workbench use one full-width row per record. */
.member-select-card{gap:0;padding:0;overflow:hidden}
.member-select-head,.member-select-list label{display:grid;grid-template-columns:110px minmax(160px,1fr) minmax(180px,1fr) minmax(180px,1fr);align-items:center;text-align:center}
.member-select-head{min-height:48px;padding:0 18px;background:#f5f8fa;border-bottom:1px solid #dce5ec;color:#526a7c;font-weight:700}
.member-select-list{display:block}
.member-select-list label{min-height:58px;margin:0;padding:0 18px;border:0;border-bottom:1px solid #e2e8ed;border-radius:0}
.member-select-list label:last-child{border-bottom:0}
.member-select-list input{margin:auto}
.member-select-head>span,.member-select-list label>*{width:100%;height:100%;display:flex!important;align-items:center;justify-content:center;border-right:1px solid #dce5ec}
.member-select-head>span:last-child,.member-select-list label>*:last-child{border-right:0}
.member-select-list input{width:19px!important;height:19px!important}
.member-select-list b,.member-select-list span{display:block;text-align:center}
.member-select-list b small{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:10px;background:#e8f1f8;color:#597287;font-weight:400}
.member-select-list .member-job{color:#526a7c}
.member-select-card>button{margin:18px;justify-self:start}
.workbench-orders{grid-template-columns:1fr}
.workbench-order-row{width:100%}
.workbench-order-fields{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}
.workbench-order-fields .key-points-field{grid-column:1/-1;background:#fff8e6;border-left:4px solid #f1aa2b}
.workbench-order-fields .deadline-field dd{color:#d16a00;font-weight:700}
.workbench-order-fields dd{overflow-wrap:anywhere}
@media(max-width:1000px){.workbench-order-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.member-select-head,.member-select-list label{grid-template-columns:55px 1fr 1fr 1fr}}
@media(max-width:650px){.workbench-order-fields{grid-template-columns:1fr}.workbench-order-fields .key-points-field{grid-column:auto}.member-select-head{display:none}.member-select-list label{grid-template-columns:42px 1fr;gap:7px;padding:12px}.member-select-list label>*:not(input){text-align:left}.member-select-list label span{grid-column:2}}

/* 2026-07-24: synchronized order table + workflow panel. */
.workbench-split{display:grid;grid-template-columns:minmax(0,2fr) minmax(360px,1fr);gap:16px;align-items:start}
.workbench-order-panel,.workbench-flow-panel{min-width:0;border:1px solid #dce5ec;border-radius:12px;background:#fff;box-shadow:0 3px 16px #22384d0d;overflow:hidden}
.workbench-flow-panel{display:block;padding:0;border-right:1px solid #dce5ec}
.workbench-section-title{display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:14px 18px;border-bottom:1px solid #dce5ec}
.workbench-section-title h2{margin:0;font-size:20px}.workbench-section-title p{margin:4px 0 0;color:#748594}.workbench-section-title>span{color:#718392}
.workbench-table-wrap{width:100%;overflow:auto}
.workbench-order-table{--order-column-width:145px;--order-row-height:62px}
.workbench-order-table tr.selected td{background:#eef6ff!important;box-shadow:inset 0 2px #2880cf,inset 0 -2px #2880cf}
.workbench-order-table .work-status{display:inline-block}
.workbench-table-empty{height:180px!important;text-align:center!important;color:#82919d}
.workflow-steps{margin:0;padding:0;list-style:none}.workflow-steps li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:13px 18px;border-bottom:1px solid #e1e8ee}
.workflow-steps li>div{display:grid;gap:5px}.workflow-steps small,.production-files-title p,.production-file-row small{color:#7c8c99}.workflow-steps form,.production-file-row form{margin:0}.flow-done{padding:5px 10px;border-radius:999px;background:#e4f5e9;color:#267744}
.production-files-title{padding:17px 18px 10px}.production-files-title h3{margin:0 0 5px;font-size:18px}.production-files-title p{margin:0}
.production-file-list{border-top:1px solid #e1e8ee}.production-file-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;gap:10px;min-height:68px;padding:10px 18px;border-bottom:1px solid #e1e8ee}
.production-file-row>div{display:grid;gap:4px;min-width:0}.production-file-row a{overflow:hidden;color:#1e73bd;text-overflow:ellipsis;white-space:nowrap}.flow-link{padding:4px;border:0;background:transparent;color:#1976c9;cursor:pointer}.flow-link.none{color:#788793}.file-state{padding:4px 8px;border-radius:99px;background:#f1f3f5;color:#778590;font-size:12px}.file-state.complete{background:#e5f5ea;color:#247545}
.send-workshop-form{margin:0;padding:0 18px 18px}.send-workshop-form button:disabled{cursor:not-allowed;opacity:.45}.workshop-sent{margin:0 18px 18px;padding:12px;border-radius:8px;background:#e8f6ed;color:#267746}.workbench-flow-empty{padding:90px 20px;text-align:center;color:#82919d}
@media(max-width:1100px){.workbench-split{grid-template-columns:1fr}.workbench-flow-panel{position:static}}

.workbench-flow-panel,.workbench-flow-panel h2,.workbench-flow-panel h3,.workbench-flow-panel b{color:#17324a!important;-webkit-text-fill-color:#17324a!important}.workbench-flow-panel small,.workbench-flow-panel p{color:#52697c!important;-webkit-text-fill-color:#52697c!important}.workbench-order-table tbody tr[data-order-id]{cursor:pointer}.workbench-order-table tbody tr[data-order-id]:hover td{background:#f2f8ff!important}.flow-cancel{padding:6px 10px;border:1px solid #d88b8b;border-radius:6px;background:#fff;color:#ad3939;cursor:pointer}.workshop-sent form{display:inline-block;margin-left:8px}
.permission-nav-link{margin-top:5px!important;border-top:1px solid #dce5ec}.permission-management-page{max-width:1300px;margin:0 auto}.permission-account-list{margin-top:18px;border:1px solid #dbe4eb;border-radius:10px;background:#fff;overflow:hidden}.permission-account-row{display:grid;grid-template-columns:1fr 150px 180px;align-items:center;gap:15px;min-height:70px;padding:12px 18px;border-bottom:1px solid #e0e7ed}.permission-account-row:last-child{border-bottom:0}.permission-account-row div{display:grid;gap:5px}.permission-account-row small{color:#748695}.permission-account-row em{color:#758694;font-style:normal}.status-approval-item{display:flex}.approval-actions{display:flex;gap:8px}.approval-actions form{margin:0}.approval-actions button{padding:7px 13px}
.permission-level-legend{display:flex;gap:10px;align-items:center;margin-top:18px;padding:13px 16px;border:1px solid #dbe4eb;border-radius:9px;background:#fff}.permission-level-legend span{padding:5px 10px;border-radius:99px;background:#eaf2f9;color:#2e5878}

/* 普通人可读的后台设置说明与员工权限方案 */
.setting-help{margin:0 0 18px;border:1px solid #d8e3eb;border-radius:12px;background:#fff;overflow:hidden}.setting-help summary{cursor:pointer;padding:14px 18px;background:#f4f8fb;color:#24465f;font-weight:700}.setting-help[open] summary{border-bottom:1px solid #e0e8ee}.help-flow,.permission-rule-map{display:flex;align-items:stretch;gap:12px;padding:18px;overflow-x:auto}.help-flow>div,.permission-rule-map>div{display:grid;gap:6px;min-width:170px;padding:14px 16px;border-radius:10px;background:#eef6fb;color:#28475d}.help-flow>div b,.permission-rule-map>div b{color:#176da9}.help-flow>div span{font-weight:700}.help-flow small,.permission-rule-map small{color:#6c7f8d;line-height:1.45}.help-flow>i,.permission-rule-map>i{align-self:center;color:#8ba3b3;font-size:22px;font-style:normal}.help-note{margin:0;padding:0 18px 16px;color:#5f7484}.employee-help{margin:14px 24px}.title-actions{display:flex;gap:10px;flex-wrap:wrap}.permission-plan-list{display:grid;gap:12px}.permission-plan-card{display:grid;grid-template-columns:1fr 110px 80px;gap:18px;align-items:center;padding:18px 20px;border:1px solid #dbe4eb;border-radius:11px;background:#fff;color:#244258;text-decoration:none}.permission-plan-card:hover{border-color:#82b6da;background:#f9fcfe}.permission-plan-card div{display:grid;gap:5px}.permission-plan-card b{font-size:18px}.permission-plan-card small{color:#708390}.permission-plan-card span,.permission-plan-card em{text-align:center}.permission-plan-card em{padding:5px 8px;border-radius:99px;background:#eaf5ed;color:#277342;font-style:normal}.permission-rule-map .rule-root{display:flex;align-items:center;justify-content:center;min-width:110px;background:#dfeefa;font-weight:700}.permission-plan-form{display:grid;gap:14px}.plan-basic{display:grid;grid-template-columns:1fr 2fr;gap:14px;padding:18px;border:1px solid #dbe4eb;border-radius:11px;background:#fff}.plan-basic label{margin:0}.plan-basic .check{grid-column:1/-1}.module-permission{border:1px solid #d8e2e9;border-radius:11px;background:#fff;overflow:hidden}.module-permission>summary{display:grid;grid-template-columns:minmax(230px,1fr) 2fr;align-items:center;gap:18px;padding:16px 18px;cursor:pointer;background:#f7f9fb}.module-permission>summary label{display:flex;align-items:center;gap:10px;margin:0}.module-permission>summary input{width:auto;margin:0}.module-permission>summary span{color:#748591}.module-permission-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #e0e7ed}.permission-column{display:flex;flex-direction:column;gap:8px;padding:18px;border-right:1px solid #e0e7ed}.permission-column:last-child{border-right:0}.permission-column h3{margin:0 0 8px;color:#24465f}.permission-column h3 small{display:block;margin-top:4px;color:#80909b;font-weight:400}.permission-column>label{display:flex;align-items:center;gap:8px;margin:0}.permission-column input{width:auto;margin:0}.department-scope{display:grid;gap:7px;margin-top:9px;padding:10px;border-radius:8px;background:#f5f8fa}.department-scope label{display:flex;gap:7px;align-items:center;margin:0}.module-note{margin:0;padding:11px 18px;border-top:1px solid #e3e9ee;color:#637987;background:#fbfcfd}.plan-members{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:16px 18px;border:1px solid #dbe4eb;border-radius:11px;background:#fff}.plan-members h2{width:100%;margin:0 0 5px}.plan-members span{padding:6px 10px;border-radius:99px;background:#eef4f8}.sticky-save{position:sticky;bottom:12px;display:flex;justify-content:flex-end;padding:12px 15px;border:1px solid #d7e1e8;border-radius:11px;background:#fffffff2;box-shadow:0 4px 18px #27445b21}
@media(max-width:900px){.help-flow,.permission-rule-map{align-items:stretch}.module-permission-body,.plan-basic{grid-template-columns:1fr}.permission-column{border-right:0;border-bottom:1px solid #e0e7ed}.permission-plan-card{grid-template-columns:1fr}.permission-plan-card span,.permission-plan-card em{text-align:left}.module-permission>summary{grid-template-columns:1fr}.employee-help{margin:12px}.sticky-save{position:static}}

/* 订单状态审批、四级职务与双端同步提醒 */
.account-level-tag{min-width:78px;padding:5px 10px;font-size:13px;font-weight:700}
.account-level-tag.level-superadmin{background:#e8eef6;color:#34536d}.account-level-tag.level-high_admin{background:#e8f1fb;color:#23659e}.account-level-tag.level-admin{background:#edf3f7;color:#466378}.account-level-tag.level-employee{background:#f1f3f5;color:#6b7883}
.order-status-cell{position:relative;width:100%;height:100%;min-height:var(--order-row-height,64px);display:flex;align-items:stretch;justify-content:center}
.order-status-cell .order-status-select{width:100%;height:100%;min-height:100%;margin:0}
.order-status-cell.approval-pending{display:grid;grid-template-rows:minmax(34px,1fr) 25px;gap:2px;padding:3px;background:#fff7e3;box-shadow:inset 0 0 0 3px #f0a51d;animation:approvalPulse 1.8s ease-in-out infinite}
.order-status-cell.approval-pending .order-status-select{min-height:0;border-radius:5px 5px 3px 3px;opacity:1!important}
.status-approval-badge{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;padding:2px 5px;border:0;border-radius:3px;background:#f4a900;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:11px!important;font-weight:800!important;line-height:1.1;cursor:pointer;white-space:nowrap}
.status-approval-badge:hover{background:#d98f00}
@keyframes approvalPulse{0%,100%{box-shadow:inset 0 0 0 3px #f0a51d,0 0 0 0 #f0a51d33}50%{box-shadow:inset 0 0 0 3px #e47718,0 0 0 4px #f0a51d22}}
.status-approval-card{max-width:560px}.approval-modal-heading>span{display:inline-flex;padding:5px 10px;border-radius:99px;background:#fff1cf;color:#a66100;font-weight:800}.approval-modal-heading h2{margin:12px 0 18px}.approval-detail-list{margin:0;border:1px solid #dbe4eb;border-radius:9px;overflow:hidden}.approval-detail-list>div{display:grid;grid-template-columns:145px 1fr;min-height:49px;border-bottom:1px solid #e1e8ee}.approval-detail-list>div:last-child{border-bottom:0}.approval-detail-list dt,.approval-detail-list dd{display:flex;align-items:center;margin:0;padding:10px 13px}.approval-detail-list dt{background:#f5f8fa;color:#667b8d;font-weight:700}.approval-detail-list dd{color:#18364e;font-weight:700}.approval-modal-note{margin:16px 0 0;padding:12px;border-radius:8px;background:#eef6ff;color:#35617f;line-height:1.65}.status-approval-card form{margin:0}
.status-result-item.result-已同意 .notification-dot{background:#2eae61;box-shadow:0 0 0 5px #e4f6ea}.status-result-item.result-已拒绝 .notification-dot{background:#e15050}.status-result-item.result-已撤回 .notification-dot{background:#8796a3;box-shadow:0 0 0 5px #edf0f2}
.workbench-status-stack{flex-direction:column;gap:5px}.workbench-approval-chip{padding:3px 7px;border-radius:99px;background:#fff0c7;color:#a45b00!important;-webkit-text-fill-color:#a45b00!important;font-size:11px!important;font-weight:800;text-decoration:none;animation:approvalChipPulse 1.8s ease-in-out infinite}.workbench-approval-banner{display:grid;gap:5px;margin:12px 14px 0;padding:13px 15px;border:2px solid #f0a51d;border-radius:9px;background:#fff8e8;color:#19384f;text-decoration:none}.workbench-approval-banner strong{color:#9b5700!important;-webkit-text-fill-color:#9b5700!important}.workbench-approval-banner span{color:#52697c}.workbench-approval-banner em{color:#176fbe;font-style:normal;font-weight:700}@keyframes approvalChipPulse{50%{background:#ffd86f}}
@media(max-width:700px){.order-status-cell.approval-pending{min-height:52px}.approval-detail-list>div{grid-template-columns:115px 1fr}.status-approval-badge{font-size:10px!important}}

/* 员工管理：组织架构、岗位角色、账号管理 */
.staff-management-page{width:100%;max-width:none}.staff-heading{margin-bottom:14px}.staff-heading h1,.account-page-title h1{margin:0 0 5px}.staff-heading p,.account-page-title p{margin:0;color:#6f8190}.staff-shell{display:grid;grid-template-columns:150px minmax(0,1fr);min-height:690px;border:1px solid #dce4ea;background:#fff}.staff-main-nav{border-right:1px solid #dce4ea;background:#f7f9fb}.staff-main-nav a{display:block;padding:18px 22px;border-left:3px solid transparent;color:#263f52;text-decoration:none;font-size:16px}.staff-main-nav a.active{border-left-color:#2398ed;background:#e9f5fd;color:#147bc2;font-weight:700}.staff-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;padding:18px;background:#f5f6f7}.department-panel{align-self:start;border:1px solid #d7dfe5;background:#fff}.side-panel-title{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid #dce3e8;font-size:17px}.side-panel-title a,.side-panel-title button{padding:6px 11px;border:0;border-radius:4px;background:#2196e7;color:#fff;text-decoration:none;cursor:pointer}.company-name{padding:14px;border-bottom:1px solid #e0e5e9;color:#17384f;font-weight:700}.department-panel>a{display:flex;justify-content:space-between;padding:14px;border-bottom:1px solid #e0e5e9;color:#344d5f;text-decoration:none}.department-panel>a.active{background:#eaf6fe;color:#1680c8}.department-panel small{color:#82909a}.employee-list-panel,.role-permission-panel{min-width:0;background:#fff}.employee-list-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe5e9}.employee-list-top nav{display:flex}.employee-list-top nav a{padding:17px 22px;border-bottom:2px solid transparent;color:#566b7a;text-decoration:none}.employee-list-top nav a.active{border-bottom-color:#2196e7;color:#1683ce}.employee-list-top>.button{margin-right:14px}.employee-count{padding:12px 18px;text-align:right;color:#536978}.staff-table{min-width:950px}.staff-table th,.staff-table td{text-align:left!important}.staff-table th:nth-child(1){width:12%}.staff-table th:nth-child(2){width:15%}.staff-table th:nth-child(3){width:14%}.staff-table th:nth-child(4){width:22%}.staff-table th:nth-child(5){width:14%}.staff-table th:nth-child(6){width:10%}.staff-table th:nth-child(7){width:13%}.button-link{display:inline-block;padding:5px 9px;border:1px solid #2598e8;border-radius:4px;color:#1684d0;text-decoration:none}.role-workspace{grid-template-columns:225px minmax(0,1fr)}.inline-new-role{display:grid;gap:6px;padding:10px;border-bottom:1px solid #dfe5e9}.inline-new-role input{padding:8px}.inline-new-role button{padding:7px;border:0;background:#208fdf;color:#fff}.role-title{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #dce4e9}.role-title h2{margin:0 0 4px}.role-title p{margin:0;color:#718390}.role-permission-panel{overflow:hidden}.role-permission-panel .permission-plan-form{padding:15px}.role-module{display:grid;grid-template-columns:150px minmax(0,1fr);margin-bottom:12px;border:1px solid #d9e2e8}.role-module-name{padding:16px;background:#f4f8fb}.role-module-name label{display:flex;gap:8px;align-items:center}.role-module-name input{width:auto;margin:0}.role-module-name small{display:block;margin-top:6px;color:#768895}.role-module-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.role-module-settings>div{display:flex;flex-wrap:wrap;align-content:flex-start;gap:8px 14px;padding:14px;border-left:1px solid #e0e6ea}.role-module-settings h3{width:100%;margin:0 0 5px;color:#25465d;font-size:15px}.role-module-settings label{display:flex;gap:6px;align-items:center;margin:0}.role-module-settings input{width:auto;margin:0}.role-module>p{grid-column:1/-1;margin:0;padding:9px 14px;border-top:1px solid #e1e7eb;color:#687d8c;background:#fbfcfd}.staff-account-page{width:min(1180px,100%);margin:0 auto}.account-page-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.account-fields,.permission-preview{margin-bottom:16px;padding:22px;border-radius:9px;background:#fff;box-shadow:0 2px 14px #233d5212}.account-fields h2{margin-top:0}.account-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.account-field-grid label{margin:0}.account-field-grid input{margin-top:6px}.wide-field{grid-column:1/-1}.radio-line{display:flex;align-items:center;gap:8px;min-height:42px}.radio-line input{width:auto;margin:0}.account-choice{margin-top:22px}.account-choice h3{margin:0 0 10px}.account-choice h3 small{margin-left:8px;color:#788a97;font-weight:400}.choice-line{display:flex;gap:11px 18px;align-items:center;flex-wrap:wrap;padding:13px;border:1px solid #d8e1e7}.choice-line label{display:flex;gap:6px;align-items:center;margin:0}.choice-line input{width:auto;margin:0}.choice-line a{color:#1687d4}.login-switch{display:flex;gap:8px;align-items:center;margin:18px 0}.login-switch input{width:auto;margin:0}.password-inline{display:flex;gap:14px;align-items:end}.password-inline label{flex:1;margin:0}.preview-heading{margin-bottom:16px}.preview-heading h2{margin:0 0 5px}.preview-heading p{margin:0;color:#6e8190}.preview-module{display:grid;grid-template-columns:170px minmax(0,1fr);border:1px solid #dbe3e8;border-bottom:0}.preview-module:last-child{border-bottom:1px solid #dbe3e8}.preview-module-title{display:flex;gap:9px;align-items:flex-start;padding:14px;background:#f5f8fa}.preview-module-body{display:grid;grid-template-columns:1fr 2fr 1fr}.preview-module-body>div{display:flex;gap:7px;align-content:flex-start;flex-wrap:wrap;padding:13px;border-left:1px solid #e1e7eb}.preview-module-body strong{width:100%;color:#27465b}.preview-module-body span{padding:4px 7px;border:1px solid #d7e0e6;border-radius:3px;color:#788791}.preview-module-body span.granted,.preview-module-title .granted{border-color:#42a9ec;background:#eaf6fe;color:#147fc5}.preview-module-title .denied{color:#a2adb5}
@media(max-width:900px){.staff-shell{grid-template-columns:1fr}.staff-main-nav{display:flex;border-right:0;border-bottom:1px solid #dce4ea}.staff-workspace{grid-template-columns:1fr}.department-panel{display:grid;grid-template-columns:repeat(2,1fr)}.side-panel-title,.company-name{grid-column:1/-1}.role-module,.preview-module{grid-template-columns:1fr}.role-module-settings,.preview-module-body,.account-field-grid{grid-template-columns:1fr}.role-module>p{grid-column:1}.password-inline{align-items:stretch;flex-direction:column}}
.role-departments{display:flex;flex-wrap:wrap;gap:6px;width:100%;margin-top:8px;padding:8px;background:#f4f7f9;color:#6b7f8d}
.role-panel>a{border-left:4px solid transparent!important;background:#fff!important;color:#345166!important;font-weight:400!important}.role-panel>a.active{border-left-color:#168fdd!important;background:#dff1fd!important;color:#0878c0!important;font-weight:700!important}.role-module-settings.single-setting{grid-template-columns:1fr}.role-module-settings.single-setting>div{border-left:1px solid #e0e6ea}.role-panel .side-panel-title{background:#fff;color:#1e3b50}

/* 员工管理第二版：清晰的选中状态、侧边操作菜单和折叠式岗位权限 */
.staff-main-nav{padding:12px 9px!important;background:#f4f6f8!important}
.staff-main-nav a{margin:0 0 7px!important;border:1px solid transparent!important;border-left:4px solid transparent!important;border-radius:7px!important;background:#fff!important;color:#365064!important;font-weight:600!important}
.staff-main-nav a:hover{border-color:#b8d9ef!important;background:#f0f8fd!important;color:#117abd!important}
.staff-main-nav a.active{border-color:#168ed8!important;background:#168ed8!important;color:#fff!important;box-shadow:0 4px 10px #178ed52b}
.side-panel-title a,.side-panel-title a:hover{background:#168ed8!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.side-panel-title a:hover{background:#0878bd!important}
.side-list-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:stretch;border-bottom:1px solid #e2e7eb;background:#fff}
.side-list-row.root-row{grid-template-columns:1fr}
.side-select-link{display:flex!important;align-items:center;justify-content:space-between;min-width:0;margin:0!important;padding:13px 8px 13px 14px!important;border:0!important;border-left:4px solid transparent!important;border-radius:0!important;background:#fff!important;color:#344d5f!important;text-decoration:none}
.side-select-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-select-link small{flex:0 0 auto;margin-left:8px}
.side-list-row:hover .side-select-link{background:#f1f7fb!important;color:#176fae!important}
.side-list-row.selected .side-select-link{border-left-color:#168ed8!important;background:#dff1fd!important;color:#0877bd!important;font-weight:800!important}
.side-list-row.selected .side-select-link small{color:#0877bd!important}
.row-menu{position:relative;display:grid;place-items:center;background:#fff}
.side-list-row:hover .row-menu,.side-list-row.selected .row-menu{background:#f1f7fb}
.side-list-row.selected .row-menu{background:#dff1fd}
.row-menu>summary{display:grid;width:100%;height:100%;min-height:46px;place-items:center;color:#62798a;font-size:21px;line-height:1;cursor:pointer;list-style:none}
.row-menu>summary::-webkit-details-marker{display:none}
.row-menu>summary:hover,.row-menu[open]>summary{background:#cbe9fb;color:#0877bd}
.row-menu-popup{position:absolute;z-index:30;top:38px;right:5px;width:158px;padding:6px;border:1px solid #cad7e0;border-radius:8px;background:#fff;box-shadow:0 10px 28px #1d3a4e26}
.row-menu-popup a,.row-menu-popup button{display:block!important;width:100%;margin:0!important;padding:9px 10px!important;border:0!important;border-radius:5px!important;background:#fff!important;color:#315066!important;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.row-menu-popup a:hover,.row-menu-popup button:hover{background:#eef6fb!important;color:#0877bd!important}
.row-menu-popup form{margin:0}
.row-menu-popup .danger-text,.row-menu-popup .danger-text:hover{color:#bf3434!important}
.employee-list-top{display:grid!important;grid-template-columns:minmax(140px,1fr) auto auto;min-height:64px}
.employee-scope-title{display:flex;align-items:center;gap:10px;padding:0 18px}
.employee-scope-title b{font-size:18px;color:#18374d}
.employee-scope-title span{color:#748592;font-size:13px}
.employee-list-top nav{justify-self:center}
.employee-list-top>.button{align-self:center;margin:0 14px!important}
.role-title{position:sticky;z-index:10;top:0;background:#fff}
.role-title>div{min-width:0}
.role-title h2{color:#17384f}
.permission-plain-help{display:flex;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid #dfe6eb;background:#eef6fb;color:#35576d}
.permission-plain-help b{color:#173f5b}
.permission-plain-help span{padding:5px 9px;border-radius:5px;background:#fff;color:#1478b9;font-weight:700}
.permission-plain-help i{color:#8ba1b0;font-style:normal}
.permission-plain-help small{margin-left:auto;color:#6f8290}
.role-permission-panel .permission-plan-form.permission-accordion{display:grid;gap:10px;padding:14px;background:#f3f5f7}
.permission-card{border:1px solid #d4dee6;border-radius:9px;background:#fff;overflow:visible}
.permission-card>summary{display:grid;grid-template-columns:minmax(210px,1fr) minmax(280px,2fr) 30px;align-items:center;gap:14px;min-height:68px;padding:10px 14px;cursor:pointer;list-style:none}
.permission-card>summary::-webkit-details-marker{display:none}
.permission-card>summary:hover{background:#f7fbfe}
.permission-card[open]{border-color:#7ab9e2;box-shadow:0 4px 13px #1b65951a}
.permission-card[open]>summary{border-bottom:1px solid #dbe4ea;background:#f6fbfe}
.permission-card-heading{display:flex;align-items:center;gap:12px;min-width:0}
.permission-card-heading>div{display:grid;gap:3px;min-width:0}
.permission-card-heading b{color:#17394f;font-size:17px}
.permission-card-heading small{color:#7a8a96}
.module-enable{position:relative;display:block;flex:0 0 38px;width:38px;height:22px;margin:0;cursor:pointer}
.module-enable input{position:absolute;width:1px;height:1px;margin:0;opacity:0}
.module-enable span{display:block;width:38px;height:22px;border-radius:20px;background:#b9c4cc;transition:.18s}
.module-enable span:after{display:block;width:18px;height:18px;margin:2px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;content:"";transition:.18s}
.module-enable input:checked+span{background:#168ed8}
.module-enable input:checked+span:after{transform:translateX(16px)}
.fixed-module-mark{flex:0 0 auto;padding:4px 8px;border-radius:99px;background:#e5f2fb;color:#167bbd;font-size:12px;font-weight:800}
.permission-card-summary{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.permission-card-summary span,.permission-card-summary em{padding:5px 9px;border-radius:99px;background:#eaf4fa;color:#276486;font-size:13px;font-style:normal}
.permission-card-summary em{background:#eef0f2;color:#89959e}
.permission-card-arrow{color:#6e8290;font-size:21px;font-style:normal;transition:.18s}
.permission-card[open] .permission-card-arrow{transform:rotate(180deg)}
.permission-card.is-disabled>summary{background:#fafbfc}
.permission-card.is-disabled .permission-card-heading b{color:#6f7f8b}
.permission-card-content{overflow:hidden;border-radius:0 0 9px 9px}
.permission-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff}
.permission-controls.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.permission-controls.one-column{grid-template-columns:1fr}
.permission-step{min-width:0;padding:17px 18px;border-right:1px solid #e0e7ec}
.permission-step:last-child{border-right:0}
.permission-step>strong{display:flex;align-items:center;gap:8px;margin-bottom:13px;color:#1f435b}
.permission-step>strong>i{display:grid;width:23px;height:23px;place-items:center;border-radius:50%;background:#168ed8;color:#fff;font-size:12px;font-style:normal}
.plain-choice{display:flex;flex-wrap:wrap;gap:9px 16px}
.plain-choice label{display:flex;align-items:center;gap:6px;margin:0;padding:7px 9px;border:1px solid #d6e0e7;border-radius:6px;background:#fff;color:#334f62;cursor:pointer;font-weight:600}
.plain-choice label:has(input:checked){border-color:#2499e4;background:#eaf6fe;color:#087ac4}
.plain-choice input{width:auto;margin:0;accent-color:#168ed8}
.permission-step.is-unavailable{background:#f7f8f9}
.permission-step.is-unavailable .plain-choice{opacity:.42}
.action-scope-hint{display:none;margin-top:10px;color:#8a969e}
.permission-step.is-unavailable .action-scope-hint{display:block}
.permission-card-note{margin:0;padding:10px 18px;border-top:1px solid #e2e8ec;background:#fbfcfd;color:#667d8d}
.permission-card.is-disabled .permission-card-content{display:none}
.permission-save-bar{position:sticky;z-index:9;bottom:10px;display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border:1px solid #cddae3;border-radius:9px;background:#fffffff2;box-shadow:0 6px 20px #213c5026}
.permission-save-bar span{color:#667b8a}
@media(max-width:1100px){.permission-card>summary{grid-template-columns:minmax(190px,1fr) minmax(220px,1.5fr) 28px}.permission-controls{grid-template-columns:1fr}.permission-controls.two-columns{grid-template-columns:1fr}.permission-step{border-right:0;border-bottom:1px solid #e0e7ec}.permission-step:last-child{border-bottom:0}.permission-plain-help{align-items:flex-start;flex-wrap:wrap}.permission-plain-help small{width:100%;margin-left:0}}
@media(max-width:900px){.side-list-row{min-width:0}.employee-list-top{grid-template-columns:1fr}.employee-scope-title{min-height:52px;border-bottom:1px solid #e1e7eb}.employee-list-top nav{justify-self:start}.permission-card>summary{grid-template-columns:1fr 26px}.permission-card-summary{grid-column:1/-1;grid-row:2}.permission-card-arrow{grid-column:2;grid-row:1}.permission-save-bar{align-items:stretch;gap:10px;flex-direction:column}}

/* 员工权限视觉精修：减少边框噪声，统一字号、颜色和间距 */
.staff-management-page{color:#243b4d;font-size:14px}
.staff-heading{padding:0 2px}.staff-heading h1{color:#172f43;font-size:25px;letter-spacing:-.3px}.staff-heading p{font-size:13px}
.staff-shell{border-color:#d9e2e9;border-radius:10px;box-shadow:0 4px 18px #203a4d0a;overflow:hidden}
.staff-workspace{gap:16px;padding:16px;background:#f4f6f8}.role-workspace{grid-template-columns:230px minmax(0,1fr)}
.department-panel{border-color:#d8e1e8;border-radius:8px;box-shadow:0 2px 8px #1e3a4d0a;overflow:visible}
.side-panel-title{min-height:55px;padding:13px 14px;color:#1d384d;font-size:16px}
.side-panel-title a{min-width:48px;padding:7px 12px!important;border-radius:6px!important;font-size:13px;font-weight:700}
.side-panel-title a:hover,.side-panel-title a:focus{background:#168ed8!important;color:#fff!important;opacity:1!important;visibility:visible!important}
.side-list-row{min-height:49px;border-bottom-color:#e7ecf0}.side-list-row:last-child{border-bottom:0}
.side-select-link{padding:12px 6px 12px 13px!important;color:#263f52!important;font-size:14px;font-weight:600!important}
.side-select-link small{color:#8997a2!important;font-size:12px;font-weight:500}
.side-list-row.selected .side-select-link{border-left-width:3px!important;background:#e9f5fc!important;color:#0878bd!important}
.side-list-row .row-menu{opacity:.28;transition:opacity .16s}.side-list-row:hover .row-menu,.side-list-row.selected .row-menu,.row-menu[open]{opacity:1}
.row-menu>summary{min-height:48px;color:#6e8291;font-family:Arial,sans-serif;font-size:23px;font-weight:700}
.row-menu-popup{top:41px;width:166px;border-color:#d2dce4;box-shadow:0 12px 30px #18364b24}
.role-title{min-height:78px;padding:17px 22px}.role-title h2{font-size:21px;letter-spacing:-.2px}.role-title p{margin-top:5px!important;font-size:13px}
.role-title .button{padding:10px 18px;border-radius:7px;font-size:14px;font-weight:700}
.permission-plain-help{gap:5px;padding:11px 18px;background:#edf5fa;color:#526b7d;font-size:13px}
.permission-plain-help b{margin-right:5px}.permission-plain-help span{padding:0;background:transparent;color:#237aac;font-weight:700}
.permission-plain-help i{padding:0 3px;color:#9aabb7}.permission-plain-help small{font-size:12px}
.role-permission-panel .permission-plan-form.permission-accordion{gap:9px;padding:14px 13px 18px}
.permission-card{border-color:#dae3e9;border-radius:10px;box-shadow:0 1px 2px #18364b08}
.permission-card>summary{min-height:70px;padding:11px 16px}
.permission-card[open]{border-color:#9ccae7;box-shadow:0 5px 16px #1e648f12}
.permission-card[open]>summary{background:#f5fafd}
.permission-card-heading b{color:#203b4f;font-size:16px}.permission-card-heading small{font-size:12px}
.permission-card-summary{gap:5px}.permission-card-summary span,.permission-card-summary em{padding:4px 8px;background:#edf5fa;color:#39708f;font-size:12px}
.permission-card-summary em{background:#f0f2f4;color:#8b969e}.permission-card-arrow{font-size:18px}
.permission-step{padding:18px 19px}.permission-step>strong{margin-bottom:14px;color:#213f54;font-size:14px}
.permission-step>strong>i{width:22px;height:22px;background:#248ecf;font-size:12px}
.plain-choice{gap:8px 10px}.plain-choice label{min-height:35px;padding:7px 10px;border-color:#d9e2e8;color:#3a5263;font-size:13px;font-weight:600}
.plain-choice label:hover{border-color:#8fc4e5;background:#f4fafe}
.plain-choice label:has(input:checked){border-color:#51a8de;background:#eaf6fd;color:#0d78ba;box-shadow:inset 0 0 0 1px #51a8de22}
.plain-choice label.is-dependent-disabled{border-color:#e4e8eb;background:#f6f7f8;color:#a0a9af;cursor:not-allowed}
.permission-action-groups{display:grid;gap:13px}
.permission-action-group{display:grid;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:start}
.permission-action-group>b{padding:8px 0;color:#697d8c;font-size:13px}
.permission-action-group+.permission-action-group{padding-top:13px;border-top:1px dashed #dce4e9}
.permission-card-note{padding:10px 18px;color:#6f8290;font-size:12px;line-height:1.6}
.permission-save-bar{padding:11px 14px}.permission-save-bar span{font-size:12px}.permission-save-bar button{padding:10px 18px;font-weight:700}
.permission-readonly-cell{background:#fbfcfd}.permission-readonly-cell input,.permission-readonly-cell select,.permission-readonly-cell textarea{color:#687a88!important;cursor:default!important}
@media(max-width:1200px){.permission-plain-help small{width:100%;margin:5px 0 0}.permission-plain-help{flex-wrap:wrap}}
@media(max-width:900px){.role-workspace{grid-template-columns:1fr}.permission-action-group{grid-template-columns:1fr;gap:5px}.permission-action-group>b{padding:0}.side-list-row .row-menu{opacity:1}}

/* 2026-07-25: 员工列表八列对齐，企微账号和账号操作保持整齐。 */
.staff-table{min-width:1190px}
.staff-table th:nth-child(1){width:9%}
.staff-table th:nth-child(2){width:10%}
.staff-table th:nth-child(3){width:10%}
.staff-table th:nth-child(4){width:13%}
.staff-table th:nth-child(5){width:10%}
.staff-table th:nth-child(6){width:25%}
.staff-table th:nth-child(7){width:7%}
.staff-table th:nth-child(8){width:16%}
.staff-table .wecom-cell{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:center;gap:8px;width:100%}
.staff-table .wecom-inline{grid-column:1;grid-row:1;display:grid;grid-template-columns:minmax(124px,1fr) 46px;gap:6px;width:100%;min-width:0}
.staff-table .wecom-inline input{width:100%;min-width:0}
.staff-table .wecom-inline .link-button{box-sizing:border-box;width:46px;padding-left:0;padding-right:0;text-align:center}
.staff-table .wecom-test-form,.staff-table .wecom-hint{grid-column:2;grid-row:1;justify-self:start;margin:0}
.staff-table .wecom-cell>form.wecom-test-form{grid-column:2;grid-row:1;margin:0}
.staff-table .wecom-hint{overflow:visible;white-space:nowrap;text-align:left}
.staff-table .test-link{box-sizing:border-box;width:88px;padding-left:0;padding-right:0;text-align:center}
.staff-table .user-actions{display:grid;grid-template-columns:82px 44px;justify-content:center;align-items:center;gap:10px;min-height:32px}
.staff-table .account-manage-action,.staff-table .restore-action{grid-column:1;justify-self:center}
.staff-table .leave-action{grid-column:2;justify-self:center}
.staff-table .account-manage-action{box-sizing:border-box;width:82px;text-align:center}
.login-setting{box-sizing:border-box;width:100%;min-height:54px;padding:10px 13px;border:1px solid #d8e1e7;border-radius:6px;background:#f8fbfd}
.login-switch.login-setting{align-items:center;margin:18px 0}
.login-setting-copy{display:grid;gap:3px}
.login-setting-copy small,.login-setting-locked small{color:#718390;font-weight:400}
.login-setting-locked{display:flex;align-items:center;gap:10px;margin:18px 0}
.login-setting-locked small{margin-left:auto}

/* Order page settings, per-column widths and notification categories */
.dynamic-orders-table th[style*="--field-column-width"],.dynamic-orders-table td[style*="--field-column-width"]{width:var(--field-column-width)!important;min-width:var(--field-column-width)!important;max-width:var(--field-column-width)!important}
.dynamic-orders-table td.hidden-list-field{display:none!important}
.order-settings-trigger{display:inline-flex;align-items:center;gap:5px;padding:10px 16px;border:1px solid #b8cad8;border-radius:7px;background:#fff;color:#264d69;font:inherit;font-weight:700;cursor:pointer}
.order-settings-trigger:hover{border-color:#258bd0;background:#edf7fd;color:#1478b9}
.order-settings-modal{z-index:12500}.order-settings-card{width:min(1180px,97vw);height:min(900px,94vh);max-height:94vh;padding:0;overflow:hidden}.order-settings-heading{padding:24px 70px 16px 26px}.order-settings-heading h2{margin:0 0 5px}.order-settings-heading p{margin:0;color:#718493}.order-settings-tabs{display:flex;gap:4px;padding:0 24px;border-bottom:1px solid #dce5eb}.order-settings-tabs button{border:0;border-bottom:3px solid transparent;padding:12px 20px;background:transparent;color:#667d8d;font-weight:700;cursor:pointer}.order-settings-tabs button.active{border-bottom-color:#168ed8;color:#127fc2}.order-settings-section{display:none;height:calc(94vh - 126px);padding:22px 26px 34px;overflow:auto;background:#f5f7f9}.order-settings-section.active{display:block}.order-display-form,.order-column-form,.order-field-settings-list,.order-new-field-form{margin-bottom:20px;padding:20px;border:1px solid #dce4ea;border-radius:11px;background:#fff}.settings-block-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}.settings-block-title h3{margin:0 0 4px;color:#23465e}.settings-block-title span{color:#708391}.order-settings-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:14px}.order-settings-grid label,.order-new-field-form label,.order-field-form-grid label{margin:0}.order-settings-grid select,.order-new-field-form select,.order-field-form-grid select,.relation-settings select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid #cbd7df;border-radius:7px;background:#fff}.settings-check{display:flex!important;align-items:center;gap:8px;min-height:43px;padding-top:18px}.settings-check input{width:auto;margin:0}.settings-form-actions{display:flex;justify-content:flex-end;margin-top:18px}.uniform-column-control{display:flex;align-items:flex-end;gap:9px}.uniform-column-control label{margin:0}.uniform-column-control input{width:110px;margin-top:5px;padding:9px}.uniform-column-control button{white-space:nowrap}.order-column-preview{display:flex;min-height:62px;margin-bottom:16px;overflow:auto;border:1px solid #bfcdd8;border-radius:8px;background:#eef3f7}.order-column-preview-item{position:relative;display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:70px;max-width:600px;padding:12px 14px;border-right:1px solid #bfcdd8;color:#263f52;font-weight:800;white-space:nowrap;overflow:hidden}.order-column-preview-item i{position:absolute;top:0;right:-4px;bottom:0;width:9px;cursor:col-resize;z-index:2}.order-column-preview-item i:hover{background:#168ed84d}.order-column-list{border:1px solid #d6e0e7;border-radius:8px;overflow:hidden}.order-column-row{display:grid;grid-template-columns:44px 120px minmax(160px,1fr) 150px 180px;align-items:center;min-height:52px;padding:0 12px;border-bottom:1px solid #e0e6eb;background:#fff}.order-column-row:last-child{border-bottom:0}.order-column-row.dragging{opacity:.42;background:#dff2ff}.order-column-row.disabled{background:#f3f5f6;color:#9aa5ac}.column-drag-handle{cursor:grab;color:#6c8291;font-size:21px;letter-spacing:-4px}.column-visible-choice{display:flex;align-items:center;gap:7px;margin:0}.column-visible-choice input{width:auto;margin:0}.order-column-row small{color:#7e8f9b}.column-width-input{display:flex!important;align-items:center;gap:7px;margin:0!important}.column-width-input input{width:92px;margin:0;padding:8px}.column-priority-note{margin:13px 0 0;color:#6b8190}.order-new-field-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:16px}.order-field-settings-list{display:grid;gap:10px;padding:0;border:0;background:transparent}.order-field-setting-card{border:1px solid #d8e2e8;border-radius:9px;background:#fff;overflow:hidden}.order-field-setting-card>summary{display:grid;grid-template-columns:34px minmax(180px,1fr) auto 28px;align-items:center;gap:10px;min-height:58px;padding:0 16px;cursor:pointer;list-style:none}.order-field-setting-card>summary::-webkit-details-marker{display:none}.order-field-setting-card>summary>span{display:grid;width:26px;height:26px;place-items:center;border-radius:50%;background:#e7f3fb;color:#1686cd}.order-field-setting-card>summary small{color:#718493}.order-field-setting-card>summary i{font-style:normal;transition:.18s}.order-field-setting-card[open]>summary i{transform:rotate(180deg)}.order-field-setting-card>form{padding:18px;border-top:1px solid #dfe7ec;background:#fbfcfd}.order-field-form-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.field-option-lines{grid-column:1/-1}.field-option-lines textarea{width:100%;margin-top:7px;padding:10px;border:1px solid #cbd7df;border-radius:7px;resize:vertical}.order-field-form-grid .relation-settings{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding-top:13px;border-top:1px dashed #ccd8df}.field-setting-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:17px}
.order-sort-choices{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin:-4px 0 24px}.order-sort-choices label{display:grid;grid-template-columns:24px auto 1fr;align-items:center;gap:8px;margin:0;padding:14px 16px;border:1px solid #ccd9e2;border-radius:9px;background:#f8fafb;cursor:pointer}.order-sort-choices label:has(input:checked){border-color:#168ed8;background:#eaf6fd;box-shadow:0 0 0 1px #168ed8 inset}.order-sort-choices input{width:auto;margin:0}.order-sort-choices strong{color:#183b53}.order-sort-choices span{justify-self:end;color:#6f8291}
.notification-tabs{display:flex;margin-top:18px;border-bottom:1px solid #d9e3ea}.notification-tabs a{min-width:120px;padding:12px 22px;border-bottom:3px solid transparent;color:#647b8b;text-align:center;text-decoration:none;font-weight:800}.notification-tabs a.active{border-color:#178ed7;color:#117fc4}.notification-categories{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0 18px}.notification-categories a{padding:7px 14px;border:1px solid #d3dee6;border-radius:999px;background:#fff;color:#4f687a;text-decoration:none}.notification-categories a.active{border-color:#168ed8;background:#eaf6fd;color:#087dbf;font-weight:800}.notification-kind{align-self:center;padding:4px 8px;border-radius:5px;background:#e7f3fb;color:#147fc4;font-size:12px;font-weight:800}.customer-orders-table tr.focused-order{background:#fff8cf!important;box-shadow:inset 0 0 0 2px #f0b429}
@media(max-width:900px){.order-settings-card{width:100vw;height:100vh;max-height:100vh;border-radius:0}.order-settings-section{height:calc(100vh - 126px);padding:16px}.order-settings-grid{grid-template-columns:1fr 1fr}.order-sort-choices{grid-template-columns:1fr}.order-column-row{grid-template-columns:36px 110px minmax(130px,1fr) 120px}.order-column-row small{display:none}.order-field-form-grid{grid-template-columns:1fr}.order-field-form-grid .relation-settings{grid-template-columns:1fr}.order-new-field-form{grid-template-columns:1fr}.settings-block-title{align-items:stretch;flex-direction:column}.uniform-column-control{align-items:end}.notification-kind{display:none}}

/* 个人通知收件箱：阅读状态属于员工本人，业务处理状态与已读状态分开。 */
.notification-inbox-page{max-width:1180px;margin:0 auto}.notification-read-all{white-space:nowrap}.notification-section-tabs{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;margin:18px 0}.notification-section-tabs a{display:flex;flex-direction:column;gap:5px;padding:17px 20px;border:1px solid var(--app-content-border,#dce5ed);border-radius:12px;background:var(--app-panel-bg,#fff);color:var(--app-content-text,#263442);text-decoration:none;box-shadow:0 5px 16px rgba(24,51,73,.04)}.notification-section-tabs a strong{font-size:18px}.notification-section-tabs a small{color:var(--app-content-muted,#71808d)}.notification-section-tabs a.active{border-color:#168ed8;box-shadow:inset 4px 0 #168ed8,0 7px 18px rgba(22,142,216,.09)}.notification-state-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 2px}.notification-state-tabs a{display:flex;align-items:center;gap:9px;padding:9px 15px;border:1px solid var(--app-content-border,#dce5ed);border-radius:9px;background:var(--app-panel-bg,#fff);color:var(--app-content-text,#263442);text-decoration:none}.notification-state-tabs a b{min-width:24px;padding:2px 7px;border-radius:999px;background:rgba(112,132,149,.12);text-align:center}.notification-state-tabs a.active{border-color:#168ed8;background:#168ed8;color:#fff}.notification-state-tabs a.active b{background:rgba(255,255,255,.2)}.notification-inbox-list{max-width:none;border-color:var(--app-content-border,#dce5ed);background:var(--app-panel-bg,#fff)}.notification-inbox-list .notification-item{min-height:90px;border-color:var(--app-content-border,#e5ebf0);background:var(--app-panel-bg,#fff);color:var(--app-content-text,#203448)}.notification-inbox-list .notification-item.unread{background:color-mix(in srgb,#168ed8 6%,var(--app-panel-bg,#fff));box-shadow:inset 4px 0 #168ed8}.notification-inbox-list .notification-item.read .notification-dot{background:#a9b5bf;box-shadow:none}.notification-inbox-list .notification-content small{max-width:850px;color:var(--app-content-muted,#718293);line-height:1.65;white-space:pre-line}.notification-inbox-list .notification-content time{color:var(--app-content-muted,#8493a0);font-size:12px}.notification-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notification-title-line strong{font-size:16px}.notification-status{padding:3px 8px;border-radius:999px;font-size:12px;font-style:normal}.notification-status.pending{background:#fff0cb;color:#9b6700}.notification-status.processed{background:#e5f5ea;color:#23814a}.notification-kind.kind-tasks{background:#eee9ff;color:#6650b5}.notification-kind.kind-production{background:#e7f7ed;color:#287f4d}.notification-kind.kind-inventory{background:#fff0db;color:#a26313}.notification-kind.kind-finance{background:#fff0e7;color:#bd5631}.notification-kind.kind-system{background:#edf0f3;color:#566979}
@media(max-width:700px){.notification-section-tabs{grid-template-columns:1fr}.notification-state-tabs{display:grid;grid-template-columns:repeat(2,1fr)}.notification-state-tabs a{justify-content:space-between}.notification-inbox-list .notification-item{padding:15px 14px}.notification-inbox-list .notification-go{margin-left:0}.notification-heading form{width:100%}.notification-read-all{width:100%}}

/* 订单设置：列宽与字段筛选 */
.order-column-preview-item{min-width:10px}
.order-column-row{grid-template-columns:44px minmax(160px,1fr) 150px 180px}
.column-drag-handle{user-select:none}
.column-width-input input{cursor:text;user-select:text}
.order-field-filter-form{margin-bottom:20px;padding:20px;border:1px solid #dce4ea;border-radius:11px;background:#fff}
.order-field-filter-list{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:10px}
.order-field-filter-item{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:66px;margin:0;padding:12px 15px;border:1px solid #d8e2e8;border-radius:9px;background:#fff;cursor:pointer}
.order-field-filter-item:hover{border-color:#7eb7df;background:#f7fbfe}
.order-field-filter-item>input[type=checkbox]{width:auto;margin:0}
.order-field-filter-item>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.order-field-filter-item small{color:#778b9a}
.order-field-filter-item em{font-style:normal;color:#2476c7}

/* 报价文件：订单表只显示图标，文件页可直接打开 */
.order-file-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.quote-file-entry{overflow:visible}
.quote-file-entry,.dealer-order-file-entry{display:flex;align-items:center;justify-content:center;max-width:none}
.quote-money-icon{width:27px;height:27px;color:#1685d1;stroke-width:1.75}
.dealer-folder-icon{width:29px;height:29px;color:#1685d1;stroke-width:1.75}
.quote-file-entry:hover .quote-money-icon,.dealer-order-file-entry:hover .dealer-folder-icon{
  color:#075e9e;
  transform:translateY(-1px);
}
.order-file-name-line{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;min-width:0}
.direct-open-file{flex:0 0 auto;color:#2476c7;font-weight:700;text-decoration:none}
.direct-open-file:hover{text-decoration:underline}

/* 订单设置窗口：支持移动、拉伸，任何尺寸下内容都可完整滚动。 */
.order-settings-modal{padding:18px}
.order-settings-card{
  display:flex;
  flex-direction:column;
  width:min(1320px,96vw);
  height:min(900px,94vh);
  min-width:720px;
  min-height:520px;
  max-width:calc(100vw - 24px);
  max-height:calc(100vh - 24px);
  resize:both;
  overflow:hidden;
}
.order-settings-heading{
  position:relative;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:move;
  user-select:none;
}
.order-settings-drag-tip{
  margin-right:20px;
  padding:5px 10px;
  border-radius:999px;
  background:#edf5fb;
  color:#648095;
  font-size:12px;
  font-weight:700;
}
.order-settings-tabs{flex:0 0 auto}
.order-settings-section{
  width:100%;
  height:auto;
  min-height:0;
  flex:1 1 auto;
  overflow:auto;
  overscroll-behavior:contain;
}
.order-settings-section.active{display:block}
.order-settings-section>form:last-child{margin-bottom:60px}
.order-column-form{min-width:760px}
.order-column-list{overflow:visible}
.order-column-preview-item{min-width:10px;padding-left:2px;padding-right:2px}
.column-drag-handle{
  display:grid;
  width:30px;
  height:36px;
  place-items:center;
  cursor:grab;
  touch-action:none;
}
.column-drag-handle:active{cursor:grabbing}
.order-column-row.dragging{
  opacity:.72;
  background:#d9efff;
  box-shadow:0 3px 12px #1a6d9e33;
}

/* 每列必须使用各自保存的宽度，不能再被旧的统一列宽覆盖。 */
@media(min-width:701px){
  .dynamic-orders-table th:not(.row-number-column):not(.order-actions-column)[style*="--field-column-width"],
  .dynamic-orders-table td.dynamic-field-cell[style*="--field-column-width"]{
    width:var(--field-column-width)!important;
    min-width:var(--field-column-width)!important;
    max-width:var(--field-column-width)!important;
    overflow:hidden;
  }
}
@media(max-width:900px){
  .order-settings-modal{padding:0}
  .order-settings-card{
    width:100vw;
    height:100vh;
    min-width:0;
    min-height:0;
    max-width:100vw;
    max-height:100vh;
    resize:none;
    transform:none!important;
  }
  .order-settings-heading{cursor:default}
  .order-settings-drag-tip{display:none}
}

@media(max-width:900px){
  .order-column-row{grid-template-columns:36px minmax(130px,1fr) 120px}
  .order-field-filter-list{grid-template-columns:1fr}
}

/* 2026-07-26：订单设置窗口与拆单工作台的完整视觉整理。 */
.order-settings-modal[hidden]{display:none!important}
.order-settings-heading{padding:19px 20px 15px 24px;border-bottom:1px solid #edf1f4;background:#fff}
.order-settings-heading-actions{display:flex;align-items:center;gap:10px}
.order-settings-heading .order-modal-close{position:static;display:grid;flex:0 0 38px;width:38px;height:38px;place-items:center;padding:0;border:1px solid #d9e3e9;background:#f5f8fa;color:#40596b;font-size:24px;line-height:1}
.order-settings-heading .order-modal-close:hover{border-color:#8ebad8;background:#eaf5fc;color:#1479b9}
.order-settings-drag-tip{margin:0}
.order-settings-tabs{padding:0 22px;background:#fff}
.order-settings-section{padding:20px 22px 40px;background:#f2f5f7}
.order-display-form,.order-column-form,.order-field-filter-form{border-color:#d9e3e9;box-shadow:0 3px 14px #20384b0a}
.order-display-form{padding:22px}
.appearance-editor{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.appearance-card{min-width:0;border:1px solid #d9e3ea;border-radius:12px;background:#fbfcfd;overflow:hidden}
.appearance-card-heading{display:flex;align-items:stretch;justify-content:space-between;gap:16px;min-height:80px;padding:15px 16px;border-bottom:1px solid #e2e8ed;background:#fff}
.appearance-card-heading>div{align-self:center}
.appearance-card-kicker{display:block;margin-bottom:3px;color:#2580bf;font-size:12px;font-weight:800;letter-spacing:.08em}
.appearance-card-heading h4{margin:0;color:#173b55;font-size:18px}
.appearance-live-sample{display:flex;min-width:180px;max-width:280px;align-items:center;justify-content:center;padding:8px 14px;border:1px solid #d5e0e7;border-radius:8px;overflow:hidden;text-align:center;white-space:nowrap;transition:.15s}
.appearance-control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px}
.settings-control{display:grid;align-content:start;gap:7px;margin:0;color:#526a7b;font-size:13px;font-weight:700}
.settings-control>select,.settings-control>input,.number-with-unit{width:100%;height:42px;border:1px solid #cbd8e1;border-radius:8px;background:#fff}
.settings-control>select{padding:0 11px;color:#17354c;font:inherit}
.number-with-unit{display:flex;align-items:center;overflow:hidden}
.number-with-unit input{min-width:0;height:100%;margin:0;padding:0 10px;border:0;background:transparent;color:#17354c;font:inherit}
.number-with-unit em{padding:0 10px;color:#8796a1;font-style:normal}
.color-input-shell{position:relative;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:9px;width:100%;height:42px;padding:0 10px;border:1px solid #cbd8e1;border-radius:8px;background:#fff;overflow:hidden}
.color-input-shell input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.color-input-shell i{display:block;width:26px;height:26px;border:1px solid #c3d0d8;border-radius:6px;box-shadow:inset 0 0 0 2px #fff}
.color-input-shell output{overflow:hidden;color:#385368;font-size:13px;font-weight:700;white-space:nowrap;text-overflow:ellipsis}
.settings-toggle-card{display:flex;align-items:center;gap:10px;min-height:64px;margin:20px 0 0;padding:10px 12px;border:1px solid #d8e2e8;border-radius:9px;background:#fff;cursor:pointer}
.settings-toggle-card input{position:absolute;opacity:0;pointer-events:none}
.settings-toggle-ui{position:relative;flex:0 0 38px;width:38px;height:22px;border-radius:99px;background:#b7c5ce;transition:.18s}
.settings-toggle-ui:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:.18s}
.settings-toggle-card input:checked+.settings-toggle-ui{background:#2482c8}
.settings-toggle-card input:checked+.settings-toggle-ui:after{transform:translateX(16px)}
.settings-toggle-card>span:last-child{display:grid;gap:2px}
.settings-toggle-card b{color:#29485d;font-size:13px}.settings-toggle-card small{color:#81909a;font-size:11px}
.order-display-form .settings-form-actions{position:sticky;right:0;bottom:-22px;z-index:4;margin:20px -22px -22px;padding:13px 22px;border-top:1px solid #dce5eb;background:#fffffff2;backdrop-filter:blur(6px)}
.uniform-column-control input{min-width:110px}

.workbench-page{max-width:1680px}
.workbench-kpis article{position:relative;min-height:98px;padding:16px 20px;border-color:#d9e3ea;box-shadow:0 2px 10px #20384b08}
.workbench-kpis article small{display:block;margin-top:4px;color:#8796a1;font-size:11px}
.workbench-split{grid-template-columns:minmax(0,2fr) minmax(410px,1fr);gap:14px;align-items:stretch}
.workbench-order-panel,.workbench-flow-panel{display:flex;height:clamp(600px,calc(100vh - 340px),760px);min-height:0;flex-direction:column;border-color:#d7e2e9;box-shadow:0 6px 22px #20384b0c}
.workbench-section-title{flex:0 0 auto;min-height:72px;padding:13px 18px;background:linear-gradient(180deg,#fff,#fbfcfd)}
.workbench-section-title h2{font-size:20px}.workbench-section-title p{font-size:13px}.workbench-section-title>span{padding:5px 9px;border-radius:999px;background:#eef3f6;color:#597184;font-size:12px;font-weight:700}
.workbench-table-wrap{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
.workbench-order-table{--order-column-width:142px;--order-row-height:58px;margin:0}
.workbench-order-table thead{position:sticky;top:0;z-index:5}
.workbench-order-table thead th{box-shadow:0 1px 0 #bed0dc}
.workbench-order-table tbody tr{transition:.12s}
.workbench-order-table tr.selected td{background:#eaf4fb!important;box-shadow:inset 0 1px #2284ca,inset 0 -1px #2284ca}
.workbench-order-table tr.selected td:first-child{box-shadow:inset 4px 0 #2284ca,inset 0 1px #2284ca,inset 0 -1px #2284ca}
.workbench-panel-hint{flex:0 0 auto;padding:10px 16px;border-top:1px solid #e1e8ed;background:#f8fafb;color:#718492;font-size:12px}
.workbench-flow-panel{padding:0!important}
.workbench-flow-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fff}
.workflow-steps{counter-reset:workflow-step}
.workflow-steps li{position:relative;counter-increment:workflow-step;min-height:82px;padding:13px 16px 13px 58px}
.workflow-steps li:before{content:counter(workflow-step);position:absolute;left:18px;top:20px;display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#e8f0f5;color:#517083;font-weight:800}
.workflow-steps li.done:before{background:#daf1e2;color:#217344}
.workflow-steps li>div{min-width:0}.workflow-steps li b{font-size:15px}.workflow-steps li small{line-height:1.45}
.production-files-title{padding:16px 17px 11px;border-bottom:1px solid #e1e8ee;background:#f8fafb}
.production-files-title>div{display:flex;align-items:center;gap:11px}.production-files-title h3{margin:0}.production-files-title p{margin:4px 0 0 38px}
.workflow-section-index{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:#e8f0f5;color:#517083;font-weight:800}
.production-file-list{background:#fff}
.production-file-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:72px;padding:11px 16px!important}
.production-file-info{display:grid;min-width:0;gap:4px}.production-file-info a{overflow:hidden;color:#1f79bb;text-overflow:ellipsis;white-space:nowrap}
.production-file-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.production-file-actions form{margin:0}
.production-batch-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 16px;border-bottom:1px solid #e1e8ee;background:#fff}.production-batch-picker{display:grid;gap:4px;padding:11px 13px;border:1px dashed #8bb4d5;border-radius:9px;background:#f5faff;cursor:pointer}.production-batch-picker b{font-size:14px}.production-batch-picker span{color:#647c8e;font-size:12px}.production-batch-upload>.primary{min-width:112px}.production-upload-hint{margin:14px 16px;padding:11px 13px;border-radius:8px;background:#f3f6f8;color:#6f8290;font-size:13px}.production-file-summary{display:grid;background:#fff}.production-file-group{display:grid;gap:8px;padding:13px 16px;border-bottom:1px solid #e1e8ee}.production-file-group>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.production-file-group>a{color:#1f79bb}.production-file-group>small{color:#748897}.production-uploaded-file{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:7px 9px;border-radius:7px;background:#f6f9fb}.production-uploaded-file span{padding:3px 7px;border-radius:999px;background:#e8f1f8;color:#356f98;font-size:11px}.production-uploaded-file b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.linked-test-order{background:#f5fbf7}
.file-state{white-space:nowrap}
.workbench-flow-footer{flex:0 0 auto;padding:12px 16px 15px;border-top:1px solid #dce5eb;background:#f8fafb;box-shadow:0 -5px 16px #20384b0a}
.production-progress{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#6c8190;font-size:12px}.production-progress b{color:#23465d;font-size:13px}
.send-workshop-form{padding:0;margin:0}.send-workshop-form button{height:43px}
.workshop-sent{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:0;background:transparent}.workshop-sent>div{display:grid;gap:3px}.workshop-sent span{color:#618071;font-size:12px}
.workbench-flow-empty{display:grid;flex:1;place-items:center}

.duration-detail-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #c9deec;border-radius:999px;background:#edf7fd;color:#176fae;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.duration-detail-trigger.is-running{border-color:#f0d291;background:#fff7df;color:#9a6500}
.duration-detail-trigger:hover{box-shadow:0 2px 8px #1d74a923;transform:translateY(-1px)}
.duration-detail-popover{position:fixed;z-index:16000;width:min(320px,calc(100vw - 24px));padding:16px 17px;border:1px solid #cfdde6;border-radius:12px;background:#fff;box-shadow:0 16px 45px #17304433;color:#193a52}
.duration-detail-popover[hidden]{display:none}
.duration-detail-popover>button{position:absolute;top:8px;right:9px;width:28px;height:28px;border:0;border-radius:50%;background:#eef3f6;color:#587082;font-size:19px;cursor:pointer}
.duration-detail-popover>strong{display:block;margin-bottom:11px;font-size:16px}
.duration-detail-popover dl{display:grid;gap:7px;margin:0}.duration-detail-popover dl div{display:grid;grid-template-columns:72px 1fr;gap:8px;padding-top:7px;border-top:1px solid #edf1f4}.duration-detail-popover dt{color:#7b8d99}.duration-detail-popover dd{margin:0;font-weight:700}

@media(max-width:1180px){
  .appearance-editor{grid-template-columns:1fr}
  .workbench-split{grid-template-columns:1fr}
  .workbench-order-panel,.workbench-flow-panel{height:auto;min-height:560px}
  .workbench-table-wrap{max-height:520px}
  .workbench-flow-scroll{max-height:620px}
}
@media(max-width:760px){
  .appearance-control-grid{grid-template-columns:1fr 1fr}
  .appearance-card-heading{flex-direction:column}.appearance-live-sample{max-width:none}
  .workbench-order-panel,.workbench-flow-panel{min-height:0}
  .production-file-row{grid-template-columns:1fr}.production-file-actions{justify-content:flex-start}
  .production-batch-upload{grid-template-columns:1fr}.production-batch-upload>.primary{width:100%}
}

/* 库存管理：桌面后台界面，强调可追溯单据和高密度表格操作。 */
.inventory-page{--inventory-blue:#1677c8;--inventory-navy:#17364e;--inventory-border:#d9e4eb;max-width:1680px;margin:0 auto;padding:22px 22px 48px;color:#17364e}
.inventory-page.inventory-narrow{max-width:1460px}.inventory-page.inventory-form-page{max-width:1320px}.inventory-page *{box-sizing:border-box}
.inventory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 18px}
.inventory-heading h1{margin:3px 0 5px;color:var(--inventory-navy);font-size:30px;line-height:1.2}.inventory-heading p{margin:0;color:#6d8190;line-height:1.55}
.inventory-eyebrow{color:var(--inventory-blue);font-size:10px;font-weight:900;letter-spacing:.18em}.inventory-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.inventory-page .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 15px;border:1px solid #c9d7e0;border-radius:8px;background:#fff;color:#405f73;font:inherit;font-weight:750;text-decoration:none;cursor:pointer;transition:.15s}
.inventory-page .button:hover{border-color:#9fbdcf;box-shadow:0 3px 12px #16374d16;transform:translateY(-1px)}.inventory-page .button.primary{border-color:#247fc4;background:#247fc4;color:#fff}.inventory-page .button.danger{border-color:#d45e51;background:#d45e51;color:#fff}
.inventory-tabs{display:flex;align-items:center;gap:4px;margin-bottom:16px;padding:6px;border:1px solid var(--inventory-border);border-radius:11px;background:#fff;box-shadow:0 4px 15px #17364e08;overflow-x:auto}
.inventory-tabs a{flex:0 0 auto;padding:9px 15px;border-radius:7px;color:#587083;font-size:13px;font-weight:750;text-decoration:none}.inventory-tabs a:hover{background:#f1f6f9}.inventory-tabs a.active{background:#e8f4fc;color:#1472b8;box-shadow:inset 0 0 0 1px #cbe3f2}
.inventory-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.inventory-kpis a{display:grid;min-height:120px;padding:18px;border:1px solid var(--inventory-border);border-radius:13px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 5px 20px #193b5110;transition:.15s}.inventory-kpis a:hover{border-color:#9fc7df;transform:translateY(-2px)}
.inventory-kpis span{color:#708493;font-size:13px}.inventory-kpis strong{align-self:end;margin:7px 0 3px;color:#123d5b;font-size:30px;line-height:1}.inventory-kpis small{color:#8a99a3;font-size:11px}.inventory-kpis .warning{border-color:#f0d39d;background:#fffaf0}.inventory-kpis .warning strong{color:#b87808}.inventory-kpis .attention{border-color:#b9d9ed;background:#f7fcff}
.inventory-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.inventory-action-grid>a{display:flex;align-items:center;gap:13px;min-height:82px;padding:14px 15px;border:1px solid var(--inventory-border);border-radius:12px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 4px 16px #17364e0a;transition:.15s}.inventory-action-grid>a:hover{border-color:#a7c7dc;transform:translateY(-1px)}
.inventory-action-grid>a>b{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:11px;color:#fff;font-size:17px}.inventory-action-grid>a>span{display:grid;flex:1;gap:3px}.inventory-action-grid strong{font-size:15px}.inventory-action-grid small{color:#7b8e9b;font-size:11px}.inventory-action-grid i{color:#8ea0aa;font-size:22px;font-style:normal}.tone-blue{background:#2e86d3}.tone-orange{background:#ef8c3b}.tone-violet{background:#7d6ac7}.tone-green{background:#42a675}.tone-navy{background:#315b76}.tone-gray{background:#6f8290}
.inventory-dashboard-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(330px,1fr);gap:14px;align-items:start}.inventory-panel,.inventory-create-panel,.inventory-form-card,.inventory-document-summary{border:1px solid var(--inventory-border);border-radius:13px;background:#fff;box-shadow:0 5px 20px #17364e0b;overflow:hidden}
.inventory-panel-title{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;padding:14px 18px;border-bottom:1px solid #e1e9ee;background:linear-gradient(#fff,#fbfcfd)}.inventory-panel-title h2{margin:0;color:#183b54;font-size:18px}.inventory-panel-title p{margin:4px 0 0;color:#7b8d99;font-size:11px}.inventory-panel-title>a{color:#1677ba;font-size:12px;font-weight:750;text-decoration:none}.inventory-count{padding:5px 9px;border-radius:999px;background:#eef4f7;color:#5d7586;font-size:12px;font-weight:750}
.inventory-table-wrap{max-width:100%;overflow:auto}.inventory-table{width:100%;border-collapse:separate;border-spacing:0;color:#284b62;font-size:13px}.inventory-table th{height:43px;padding:8px 11px;border-bottom:1px solid #d6e1e8;background:#f4f7f9;color:#4a6577;text-align:center;white-space:nowrap}.inventory-table td{height:58px;padding:9px 11px;border-bottom:1px solid #e2e9ee;text-align:center;vertical-align:middle}.inventory-table tr:last-child td{border-bottom:0}.inventory-table tbody tr:hover td{background:#f8fbfd}.inventory-table a{color:#1374b8;text-decoration:none}.inventory-table td>strong{color:#173a52}.inventory-table tr[data-href]{cursor:pointer}
.inventory-empty{padding:42px 18px!important;color:#8999a4!important;text-align:center!important}.inventory-subtext{display:block;margin-top:3px;color:#84949f;font-size:10px;font-weight:400;line-height:1.35}.muted-row{opacity:.62}
.inventory-status{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#edf2f5;color:#617584;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.inventory-status.status-draft{background:#eef1f4;color:#687a86}.inventory-status.status-pending{background:#fff3d6;color:#9b6900}.inventory-status.status-posted{background:#e1f4e8;color:#247345}.inventory-status.status-reversed{background:#fce8e5;color:#aa4d42}
.inventory-warning-list{display:grid}.inventory-warning-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;padding:12px 17px;border-bottom:1px solid #e7ecef;color:inherit;text-decoration:none}.inventory-warning-list>a:last-child{border-bottom:0}.inventory-warning-list span{display:grid;gap:4px}.inventory-warning-list small{color:#82929d;font-size:11px}.inventory-warning-list b{color:#b77707;font-size:13px;white-space:nowrap}
.inventory-create-panel{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;margin-bottom:14px;padding:20px}.inventory-create-panel h2{margin:0 0 6px;font-size:18px}.inventory-create-panel p{margin:0;color:#768b99;font-size:12px;line-height:1.55}.inventory-inline-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;align-items:end}.inventory-inline-form label,.inventory-form-grid label{display:grid;align-content:start;gap:7px;min-width:0}.inventory-inline-form label>span,.inventory-form-grid label>span{color:#476478;font-size:12px;font-weight:750}.inventory-inline-form label.wide{grid-column:span 2}.inventory-inline-form input,.inventory-inline-form select,.inventory-form-grid input,.inventory-form-grid select,.inventory-form-grid textarea,.inventory-document-actions input{width:100%;min-width:0;margin:0;border:1px solid #cbd9e2;border-radius:8px;background:#fbfcfd;color:#1d4058;font:inherit}.inventory-inline-form input,.inventory-inline-form select,.inventory-form-grid input,.inventory-form-grid select{height:43px;padding:0 12px}.inventory-form-grid textarea{padding:11px 12px;resize:vertical}.inventory-inline-form input:focus,.inventory-form-grid input:focus,.inventory-form-grid select:focus,.inventory-form-grid textarea:focus{outline:0;border-color:#53a1d4;background:#fff;box-shadow:0 0 0 3px #207fbd17}
.inventory-filterbar{display:flex;align-items:center;gap:9px;margin-bottom:14px;padding:11px;border:1px solid var(--inventory-border);border-radius:11px;background:#fff}.inventory-filterbar select{width:auto;min-width:155px;height:40px;margin:0;padding:0 34px 0 11px;border:1px solid #cbd9e2;border-radius:8px;background:#fbfcfd;color:#37566b;font:inherit}.inventory-search{display:flex;flex:1;align-items:center;gap:9px;min-width:260px;height:40px;padding:0 12px;border:1px solid #cbd9e2;border-radius:8px;background:#fbfcfd}.inventory-search span{color:#6890a8;font-size:20px}.inventory-search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;outline:0}.inventory-check{display:flex;align-items:center;gap:6px;color:#567083;font-size:12px;white-space:nowrap}.inventory-check input{margin:0}.inventory-stock-number{font-size:16px}.inventory-stock-number.low{color:#b87808}.inventory-row-actions{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}.inventory-row-actions form{margin:0}.inventory-row-actions .link{font-size:12px}.inventory-goods-table td:first-child{text-align:left;padding-left:18px}
.inventory-form-card{display:grid;gap:0}.inventory-form-card>section{padding:24px 26px;border-bottom:1px solid #e1e9ee}.inventory-form-section-title{display:flex;align-items:center;gap:13px;margin-bottom:20px}.inventory-form-section-title>b{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:10px;background:#e7f3fb;color:#1c78b7}.inventory-form-section-title h2{margin:0;font-size:18px}.inventory-form-section-title p{margin:3px 0 0;color:#7c8f9b;font-size:11px}.inventory-form-section-title>span{flex:1}.inventory-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.inventory-form-grid label.full{grid-column:1/-1}.inventory-form-grid em{color:#d45143;font-style:normal}.inventory-form-grid small{color:#82939e;font-size:10px;line-height:1.4}.inventory-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:16px 26px;background:#f8fafb}.inventory-form-footer>div{display:grid;flex:1;gap:2px}.inventory-form-footer>div strong{font-size:13px}.inventory-form-footer>div small{color:#7d909d;font-size:10px}
.inventory-line-title{margin-bottom:14px}.inventory-line-title .button{margin-left:auto}.inventory-line-table-wrap{overflow:auto;border:1px solid #d8e3e9;border-radius:10px}.inventory-line-table{width:100%;min-width:820px;border-collapse:collapse}.inventory-line-table th{height:40px;padding:7px 9px;border-bottom:1px solid #d5e0e7;background:#f4f7f9;color:#4f6879;font-size:12px;text-align:left}.inventory-line-table td{padding:8px;border-bottom:1px solid #e2e9ee}.inventory-line-table tr:last-child td{border-bottom:0}.inventory-line-table select,.inventory-line-table input{width:100%;height:40px;margin:0;padding:0 9px;border:1px solid #ccd9e2;border-radius:7px;background:#fff;color:#26495f;font:inherit}.inventory-line-table td:first-child{width:42%}.inventory-line-table td:nth-child(2){width:130px}.inventory-remove-line{width:30px;height:30px;border:0;border-radius:50%;background:#fff0ed;color:#c14d3f;font-size:20px;cursor:pointer}.inventory-lines-empty{padding:18px;color:#8797a1;text-align:center;font-size:12px}.inventory-lines-empty[hidden]{display:none}.inventory-sticky-footer{position:sticky;bottom:8px;z-index:7;border-top:1px solid #d8e3e9;box-shadow:0 -8px 25px #17364e12;backdrop-filter:blur(8px)}
.inventory-document-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:14px;padding:15px 18px}.inventory-document-summary>div{display:grid;gap:5px;min-width:0;padding:7px 14px;border-right:1px solid #e1e8ed}.inventory-document-summary>div:last-child{border-right:0}.inventory-document-summary span{color:#7c8e9a;font-size:11px}.inventory-document-summary strong{overflow:hidden;color:#294b61;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.inventory-document-total{color:#173d58;font-size:17px}.inventory-document-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px;padding:14px 16px;border:1px solid var(--inventory-border);border-radius:12px;background:#fff}.inventory-document-actions form{display:flex;align-items:center;gap:9px;margin:0}.inventory-document-actions input{width:270px;height:40px;padding:0 11px}.inventory-positive{color:#198852}.inventory-negative{color:#c45548}
@media(max-width:1280px){.inventory-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-dashboard-grid{grid-template-columns:1fr}.inventory-create-panel{grid-template-columns:1fr}.inventory-inline-form{grid-template-columns:repeat(3,minmax(140px,1fr))}.inventory-document-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-document-summary>div:nth-child(3){border-right:0}}
@media(max-width:760px){.inventory-page{padding:14px 10px 35px}.inventory-heading{align-items:flex-start;flex-direction:column}.inventory-heading h1{font-size:25px}.inventory-heading-actions{justify-content:flex-start}.inventory-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-kpis a{min-height:102px;padding:14px}.inventory-action-grid{grid-template-columns:1fr}.inventory-filterbar{align-items:stretch;flex-direction:column}.inventory-search{min-width:0}.inventory-filterbar select{width:100%}.inventory-inline-form,.inventory-form-grid{grid-template-columns:1fr}.inventory-inline-form label.wide,.inventory-form-grid label.full{grid-column:auto}.inventory-form-card>section{padding:19px 15px}.inventory-form-footer{align-items:stretch;flex-wrap:wrap;padding:13px 15px}.inventory-form-footer>div{flex-basis:100%}.inventory-form-footer .button{flex:1}.inventory-document-summary{grid-template-columns:1fr 1fr}.inventory-document-summary>div{border-right:0;border-bottom:1px solid #e7ecef}.inventory-document-actions{align-items:stretch;flex-direction:column}.inventory-document-actions form{align-items:stretch;flex-direction:column}.inventory-document-actions input{width:100%}}

/* 2026-07-26：接单页只展示当前阶段所需内容，并优化工作台文件操作。 */
.order-entry-page{max-width:1240px;margin:0 auto;padding-bottom:40px}
.order-entry-page>.orders-subnav{display:inline-flex;margin-bottom:22px;padding:5px;border:1px solid #d9e3ea;border-radius:10px;background:#fff;box-shadow:0 3px 12px #20384b0a}
.order-entry-page>.orders-subnav a{padding:9px 16px;border-radius:7px;text-decoration:none}
.order-entry-page>.orders-subnav a.active{background:#287fca;color:#fff}
.order-entry-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.order-entry-heading h1{margin:3px 0 7px;color:#17364e;font-size:31px;letter-spacing:.01em}
.order-entry-heading p{max-width:720px;margin:0;color:#6f8290;line-height:1.6}
.order-entry-kicker{color:#2883c8;font-size:11px;font-weight:900;letter-spacing:.16em}
.order-entry-heading .secondary-link{flex:0 0 auto;padding:9px 14px;border:1px solid #cfdae2;border-radius:8px;background:#fff;color:#4a6679;text-decoration:none}
.redesigned-order-entry{display:grid;gap:16px;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-family:var(--order-content-font);font-size:var(--order-content-size);color:var(--order-content-color);font-weight:var(--order-content-weight)}
.order-entry-section{padding:24px 26px;border:1px solid #d9e3ea;border-radius:14px;background:#fff;box-shadow:0 7px 24px #20384b0b}
.order-entry-section-heading{display:flex;align-items:center;gap:13px;margin-bottom:22px;padding-bottom:16px;border-bottom:1px solid #e6edf1}
.order-entry-section-heading>span{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:10px;background:#e8f4fc;color:#217dbd;font-size:15px;font-weight:900}
.order-entry-section-heading h2{margin:0;color:#17384f;font-size:19px}
.order-entry-section-heading p{margin:4px 0 0;color:#7a8d99;font-size:12px;font-weight:400}
.order-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}
.order-entry-field{display:grid;align-content:start;gap:8px;margin:0;min-width:0;color:#334f62;font-weight:700}
.order-entry-field.wide{grid-column:1/-1}
.order-entry-label{display:flex;align-items:center;gap:8px;font-size:14px}
.order-entry-label em{padding:2px 7px;border-radius:99px;background:#fff0ed;color:#c84c38;font-size:10px;font-style:normal;font-weight:800}
.order-entry-field>input:not([type=range]),.order-entry-field>select,.order-entry-field>textarea,.new-order-file-control{width:100%;margin:0;border:1px solid #cbd8e1;border-radius:9px;background:#fbfcfd;color:#19384f;font:inherit;font-weight:500;transition:border-color .15s,box-shadow .15s,background .15s}
.order-entry-field>input:not([type=range]),.order-entry-field>select{height:46px;padding:0 13px}
.order-entry-field>textarea{min-height:104px;padding:12px 13px;resize:vertical;line-height:1.55}
.order-entry-field>input:focus,.order-entry-field>select:focus,.order-entry-field>textarea:focus{outline:0;border-color:#55a2d5;background:#fff;box-shadow:0 0 0 3px #2585c61a}
.order-entry-field>small,.new-order-file-control small{color:#7c8e9a;font-size:11px;font-weight:400;line-height:1.45}
.new-order-status-rule{display:flex;align-items:center;gap:12px;margin-top:20px;padding:12px 15px;border:1px solid #cfe1ed;border-radius:9px;background:#f3f9fd;color:#4c687a;font-size:12px}
.new-order-status-rule>span{padding:4px 8px;border-radius:6px;background:#287fca;color:#fff;font-weight:800}
.new-order-status-rule strong{color:#31556d}.new-order-status-rule i{width:24px;height:1px;background:#b7ccd9}
.new-order-file-control{display:grid;gap:8px;padding:13px;background:#fbfcfd}
.new-order-file-control input{width:100%;margin:0;color:#536d7f;font:inherit;font-weight:500}
.new-order-file-control input::file-selector-button{margin-right:12px;padding:8px 13px;border:1px solid #a9c8dc;border-radius:7px;background:#eaf5fc;color:#176fae;font-weight:800;cursor:pointer}
.order-entry-actions{position:sticky;bottom:12px;z-index:6;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 16px;border:1px solid #d8e2e9;border-radius:12px;background:#fffffff2;box-shadow:0 10px 35px #1832471f;backdrop-filter:blur(8px)}
.order-entry-actions a{padding:10px 18px;color:#5d7383;text-decoration:none}.order-entry-actions button{min-width:190px;height:44px;border:0;border-radius:8px;background:#287fca;color:#fff;font-size:15px;font-weight:800;cursor:pointer}

.production-file-actions{flex-wrap:wrap}
.flow-file-button{min-height:32px;padding:6px 10px;border:1px solid transparent;border-radius:7px;background:#fff;font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;white-space:nowrap}
.flow-file-button.upload{border-color:#9dc8e3;background:#edf7fd;color:#176fae}
.flow-file-button.no-file{border-color:#c7d3db;background:#f6f8fa;color:#526b7c}
.flow-file-button.undo{border-color:#e1b2aa;background:#fff8f6;color:#b64d3c}
.flow-file-button:hover{filter:brightness(.97);box-shadow:0 2px 7px #20384b12}
.file-none-note{color:#39755a!important;font-weight:700}
.file-state.is-none{background:#e9f5ee;color:#317454}

@media(max-width:760px){
  .order-entry-heading{align-items:flex-start;flex-direction:column}.order-entry-heading h1{font-size:26px}
  .order-entry-section{padding:19px 16px}.order-form-grid{grid-template-columns:1fr}.order-entry-field.wide{grid-column:auto}
  .new-order-status-rule{align-items:flex-start;flex-direction:column}.new-order-status-rule i{display:none}
  .order-entry-actions{bottom:6px}.order-entry-actions button{min-width:0;flex:1}
}

/* 2026-07-26：订单详情横向、可移动缩放及单列紧凑排版。 */
.order-detail-card{display:flex;flex-direction:column;width:min(1200px,94vw);height:min(760px,88vh);min-width:min(760px,92vw);min-height:480px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);padding:0;overflow:hidden;border-radius:10px;resize:both}
.order-detail-card.is-maximized{position:fixed;inset:16px;width:auto!important;height:auto!important;min-width:0;min-height:0;max-width:none;max-height:none;resize:none;transform:none!important}
.order-detail-drag-handle{flex:none;padding:14px 108px 10px 18px;border-bottom:1px solid #dce4ea;background:#fff;cursor:move;user-select:none;touch-action:none}
.order-detail-drag-handle.is-dragging{cursor:grabbing}
.order-detail-card .order-detail-drag-handle h2{margin:0 0 3px;font-size:20px;line-height:1.25}
.order-detail-drag-handle>p{margin:0;color:#71808d;font-size:13px;line-height:1.4}
.order-detail-card>.order-modal-close,.order-detail-size-toggle{position:absolute;top:12px;display:grid;width:32px;height:32px;padding:0;place-items:center;border:0;border-radius:50%;background:#eef2f5;color:#435565;font-size:20px;line-height:1;cursor:pointer}
.order-detail-card>.order-modal-close{right:14px}
.order-detail-size-toggle{right:52px;font-size:17px}
.order-detail-fields{display:grid;grid-template-columns:1fr;align-content:start;gap:6px;flex:1;min-height:0;padding:10px 14px;overflow:auto;background:#f5f7f9}
.order-detail-item{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:10px;min-height:42px;padding:5px 10px;border:1px solid #dce4ea;border-radius:5px;background:#fff}
.order-detail-item>strong{display:block;margin:0;color:#526b7c;font-size:14px;font-weight:700;line-height:1.35}
.order-detail-value{min-width:0;color:#203448;font-size:14px;font-weight:500;line-height:1.35;word-break:break-word}
.order-detail-editor,.order-detail-value>input,.order-detail-value>select{box-sizing:border-box;height:34px;min-height:34px;padding:6px 9px;border-radius:4px;font-size:14px;line-height:20px}
textarea.order-detail-editor,textarea.order-detail-single-line{height:34px;min-height:34px;max-height:34px;padding:6px 9px;overflow-x:auto;overflow-y:hidden;resize:none;white-space:nowrap}
.order-detail-date{cursor:pointer}
.order-detail-static-value{display:flex;align-items:center;box-sizing:border-box;width:100%;min-height:34px;padding:6px 9px;border:1px solid #cbd7df;border-radius:4px;background:#fff}
.order-detail-static-value>.readonly-field{width:100%}
.order-detail-static-value>.dynamic-file-link{display:inline-flex;align-items:center;justify-content:flex-start;min-height:29px;max-width:100%;margin:0;overflow:visible}
.order-detail-static-value .order-file-icon{display:block;flex:none;overflow:visible}
.order-detail-multi{min-height:70px}
.order-detail-progress{gap:8px}.order-detail-progress output,.order-detail-progress span{font-size:13px}
.order-detail-file-item{min-height:48px}.order-detail-file-form{gap:5px;min-height:36px;overflow:visible}.order-detail-file-form .detail-file-list{gap:4px}.order-detail-file-form label{padding:5px 9px;font-size:13px}
.order-detail-message{flex:none;min-height:18px;margin:0;padding:3px 16px;font-size:13px;background:#fff}
.order-detail-card>.order-modal-actions{flex:none;margin:0;padding:8px 14px;border-top:1px solid #dce4ea;background:#fff}
.order-detail-card>.order-modal-actions button{min-width:88px;padding:8px 15px;font-size:14px}
.order-detail-resize-hint{position:absolute;right:3px;bottom:3px;width:12px;height:12px;border-right:2px solid #8aa0af;border-bottom:2px solid #8aa0af;pointer-events:none}
.order-detail-card.is-maximized .order-detail-resize-hint{display:none}
@media(max-width:700px){.order-detail-card{width:100%;height:92vh;min-width:0;min-height:0;max-width:none;max-height:92vh;border-radius:18px 18px 0 0;resize:none;transform:none!important}.order-detail-size-toggle,.order-detail-resize-hint{display:none}.order-detail-drag-handle{padding:14px 52px 10px 16px;cursor:default}.order-detail-item{grid-template-columns:1fr;gap:4px;padding:8px}.order-detail-fields{padding:8px}.order-detail-card>.order-modal-actions{padding:8px}}

/* 2026-07-26：订单多视图导航与右侧操作区。 */
.orders-toolbar{display:grid;grid-template-columns:auto minmax(320px,1fr);align-items:center;gap:18px;margin:0 0 10px}
.order-view-navigation{display:flex;align-items:center;gap:14px;min-width:0}
.order-view-navigation h1{margin:0;font-size:25px;white-space:nowrap}
.order-view-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.order-view-tabs>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 15px;border:1px solid #c9d7e2;border-radius:8px;background:#fff;color:#29445b;text-decoration:none;font-size:14px;font-weight:750;white-space:nowrap}
.order-view-tabs>a:hover,.order-view-tabs>a.active{border-color:#287dca;background:#287dca;color:#fff}
.order-view-tabs .pending-orders-entry b{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:#ef3f46;color:#fff;font-size:12px}
.order-view-tabs .pending-orders-entry.active b{background:#fff;color:#d92f39}
.orders-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
.order-create-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 16px;border:1px solid #c9d7e2;border-radius:8px;background:#fff;color:#29445b;text-decoration:none;font-weight:700;white-space:nowrap}
.order-create-action:hover{border-color:#287dca;color:#1768b0;background:#f3f8fd}
.orders-toolbar-actions .save-state{flex:1;min-width:220px;margin:0;text-align:right;white-space:nowrap}
@media(max-width:1350px){.orders-toolbar{grid-template-columns:1fr}.orders-toolbar-actions{justify-content:flex-start}.orders-toolbar-actions .save-state{text-align:right}}
@media(max-width:700px){.order-view-navigation{align-items:flex-start;flex-direction:column;gap:9px}.order-view-tabs{width:100%}.order-view-tabs>a{flex:1;padding-left:9px;padding-right:9px}.orders-toolbar-actions{align-items:stretch;flex-wrap:wrap}.orders-toolbar-actions .save-state{width:100%;min-width:0;text-align:left}}

/* 2026-07-26：拆单状态分组、拆单看板和订单工具栏位置。 */
.orders-toolbar{grid-template-columns:minmax(0,1fr) auto}
.orders-toolbar-actions{justify-self:end;flex:0 0 auto}
.orders-toolbar-actions .save-state-hidden{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.split-view-tab{position:relative;display:inline-flex;align-items:center;align-self:auto}
.order-view-tabs .split-view-main{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 22px 8px 15px;border:1px solid #c9d7e2;border-radius:8px;background:#fff;color:#29445b;text-decoration:none;font-size:14px;font-weight:750;white-space:nowrap}
.order-view-tabs .split-view-main:hover,.order-view-tabs .split-view-main.active{border-color:#287dca;background:#287dca;color:#fff}
.split-view-menu{position:absolute;right:3px;bottom:3px;z-index:12;width:15px;height:15px}
.split-view-menu summary{display:grid;box-sizing:border-box;width:15px;height:15px;margin:0;padding:0;place-items:center;border:0;border-radius:3px;background:rgba(255,255,255,.22);cursor:pointer;list-style:none}
.split-view-menu summary::-webkit-details-marker{display:none}
.split-view-menu summary span{width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid currentColor;color:#61798d}
.split-view-main.active+.split-view-menu summary span{color:#fff}
.split-view-menu-panel{position:absolute;top:18px;right:-3px;min-width:96px;padding:5px;border:1px solid #c9d7e2;border-radius:7px;background:#fff;box-shadow:0 8px 22px rgba(20,49,71,.16)}
.split-view-menu-panel a{display:block;padding:7px 9px;border-radius:5px;color:#29445b;text-decoration:none;font-size:13px;white-space:nowrap}
.split-view-menu-panel a:hover,.split-view-menu-panel a.active{background:#eaf4fc;color:#1768b0}
.order-status-group .order-month-toggle strong{display:inline-flex;align-items:center;min-width:72px;justify-content:center;padding:4px 10px;border-radius:5px;color:#fff;font-size:14px!important}
.order-status-group .order-month-count{margin-left:0;color:#718397;font-size:11px}
.order-status-group.tone-assignment .order-month-toggle strong{background:#287dca}
.order-status-group.tone-waiting .order-month-toggle strong{background:#f0ad00}
.order-status-group.tone-working .order-month-toggle strong{background:#55b982}
.order-split-board{display:grid;grid-template-columns:repeat(3,310px);width:min(100%,962px);gap:16px;align-items:start;overflow-x:auto;padding:8px 2px 14px}
.order-board-column{min-width:0;padding:8px;border:1px solid #d7e0e8;border-radius:9px;background:#f4f7fa}
.order-board-column>header{display:flex;align-items:center;gap:7px;margin-bottom:7px;padding:0 1px}
.order-board-column>header strong{display:inline-flex;padding:4px 9px;border-radius:5px;color:#fff;font-size:14px}
.order-board-column>header span{color:#687b8d;font-size:12px}
.order-board-column.tone-assignment>header strong{background:#287dca}
.order-board-column.tone-waiting>header strong{background:#f0ad00}
.order-board-column.tone-working>header strong{background:#55b982}
.order-board-cards{display:flex;flex-direction:column;gap:7px}
.order-board-card{padding:9px 10px;border:1px solid #d4dde5;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(23,47,68,.06);transition:border-color .16s,box-shadow .16s,opacity .16s}
.order-board-card:hover{border-color:#9ebbd2;box-shadow:0 4px 12px rgba(23,47,68,.09)}
.order-board-card h3{margin:0 0 7px;color:#172f44;font-size:14px;line-height:1.35}
.order-board-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;margin:0}
.order-board-card dl>div{display:grid;gap:1px;min-width:0}
.order-board-card dt{color:#7a8b9a;font-size:10px;line-height:1.25}
.order-board-card dd{margin:0;overflow:hidden;color:#243b4e;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.order-board-detail{display:block;width:auto;margin:7px 0 0 auto;padding:3px 8px;border:1px solid #c9d7e2;border-radius:5px;background:#f3f8fc;color:#236da9;font-size:11px;cursor:pointer}
.order-board-detail:hover{border-color:#287dca;background:#e9f4fc}
.order-board-empty{padding:28px 10px;border:1px dashed #c8d3dc;border-radius:8px;color:#8a99a6;text-align:center;background:#fff}
.order-board-card.order-match{border-color:#287dca;box-shadow:0 0 0 2px rgba(40,125,202,.18)}
.order-board-card.order-no-match{opacity:.32}
.order-field-filter-item.is-fixed{background:#f3f8fc}
.order-field-filter-item.is-fixed em{color:#287dca}
@media(max-width:1350px){.orders-toolbar{grid-template-columns:minmax(0,1fr) auto}.orders-toolbar-actions{justify-self:end;justify-content:flex-end}}
@media(max-width:900px){.orders-toolbar{grid-template-columns:1fr}.orders-toolbar-actions{justify-self:end}.order-view-navigation{align-items:flex-start;flex-wrap:wrap}.order-split-board{grid-template-columns:repeat(3,280px);width:100%}}
@media(max-width:700px){.order-view-tabs .split-view-main{padding-left:9px;padding-right:20px}.split-view-tab{flex:1}.split-view-tab .split-view-main{width:100%}.orders-toolbar-actions{justify-self:stretch}.order-split-board{padding-left:0;padding-right:0}}

/* 库存管理首页重组 */
.inventory-home-heading{margin-bottom:12px}
.inventory-module-menu{display:grid;grid-template-columns:repeat(12,minmax(88px,1fr));gap:9px;margin:0 0 15px}
.inventory-module-menu>a{position:relative;display:flex;min-width:0;min-height:108px;padding:11px 7px 9px;align-items:center;flex-direction:column;justify-content:center;border:1px solid #d7e2e9;border-radius:11px;background:#fff;color:#29495f;text-align:center;text-decoration:none;box-shadow:0 4px 14px #17364e0b;transition:.16s}
.inventory-module-menu>a:hover{z-index:1;border-color:#9fc2d8;box-shadow:0 8px 22px #17364e16;transform:translateY(-2px)}
.inventory-module-menu>a.active{border-color:#2683c8;background:#f5fbff;box-shadow:inset 0 0 0 1px #2683c8,0 6px 18px #1d78b718}
.inventory-module-menu>a>span{display:grid;width:44px;height:44px;margin-bottom:7px;place-items:center;border:3px solid currentColor;border-radius:9px;background:#fff;font-size:17px;font-weight:900}
.inventory-module-menu strong{max-width:100%;overflow:hidden;font-size:13px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.inventory-module-menu small{max-width:100%;margin-top:3px;overflow:hidden;color:#8999a4;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.inventory-module-menu .module-coral{color:#f05c61}.inventory-module-menu .module-gold{color:#efad08}.inventory-module-menu .module-slate{color:#4d565e}.inventory-module-menu .module-blue{color:#159fd8}.inventory-module-menu .module-green{color:#6fbd10}
.inventory-home .inventory-kpis{scroll-margin-top:10px}
.inventory-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.inventory-quick-actions>a{display:flex;min-height:82px;padding:14px 16px;align-items:center;gap:13px;border:1px solid var(--inventory-border);border-radius:12px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 4px 16px #17364e0a;transition:.15s}
.inventory-quick-actions>a:hover{border-color:#9fc4db;box-shadow:0 7px 20px #17364e15;transform:translateY(-1px)}
.inventory-quick-actions>a>b{display:grid;flex:0 0 43px;width:43px;height:43px;place-items:center;border-radius:11px;color:#fff;font-size:17px}
.inventory-quick-actions>a>span{display:grid;flex:1;gap:3px;min-width:0}.inventory-quick-actions strong{font-size:15px}.inventory-quick-actions small{overflow:hidden;color:#7b8e9b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.inventory-quick-actions i{color:#8ea0aa;font-size:22px;font-style:normal}
.inventory-quick-actions .quick-in{background:#2e86d3}.inventory-quick-actions .quick-out{background:#ef8c3b}.inventory-quick-actions .quick-picking{background:#7d6ac7}
.inventory-activity-panel{scroll-margin-top:12px}
.inventory-activity-title{border-bottom:0}
.inventory-activity-tabs{display:flex;align-items:center;gap:5px;padding:0 17px 12px;border-bottom:1px solid #dce6ec;background:#fff;overflow-x:auto}
.inventory-activity-tabs a{flex:0 0 auto;min-width:62px;padding:7px 13px;border:1px solid #d5e0e7;border-radius:999px;background:#fff;color:#5c7485;font-size:12px;font-weight:750;text-align:center;text-decoration:none}
.inventory-activity-tabs a:hover{border-color:#9fc3d9;color:#1677ba}.inventory-activity-tabs a.active{border-color:#247fc4;background:#247fc4;color:#fff}
.inventory-business{display:inline-flex;min-width:54px;padding:4px 8px;justify-content:center;border-radius:6px;background:#eef3f6;color:#4e6879;font-size:11px;font-weight:800;white-space:nowrap}
.inventory-business.type-picking{background:#f0ebff;color:#6b52b6}.inventory-business.type-in{background:#e8f7ef;color:#27815a}.inventory-business.type-out{background:#fff0e4;color:#b76824}.inventory-business.type-transfer{background:#e7f4ff;color:#2874aa}.inventory-business.type-count{background:#eaf8f3;color:#2e8065}.inventory-business.type-reversal{background:#f7e9e9;color:#a45252}
.inventory-activity-table td:nth-child(1){white-space:nowrap}.inventory-activity-table td:nth-child(3){min-width:210px}.inventory-activity-table td:nth-child(4){min-width:130px}
@media(max-width:1500px){.inventory-module-menu{grid-template-columns:repeat(6,minmax(105px,1fr))}}
@media(max-width:900px){.inventory-module-menu{grid-template-columns:repeat(4,minmax(100px,1fr))}.inventory-quick-actions{grid-template-columns:1fr}}
@media(max-width:600px){.inventory-module-menu{grid-template-columns:repeat(3,minmax(82px,1fr));gap:7px}.inventory-module-menu>a{min-height:96px;padding:9px 5px}.inventory-module-menu>a>span{width:38px;height:38px;margin-bottom:6px}.inventory-module-menu small{display:none}.inventory-activity-title{align-items:flex-start;flex-direction:column}.inventory-activity-tabs{padding-left:12px;padding-right:12px}}

/* AI助手开放对话、统一附件、语音和确认操作 */
.ai-layout-conversation{grid-template-columns:minmax(0,1fr) 320px;min-height:calc(100vh - 150px)}
.ai-layout-conversation .ai-chat-card{min-height:650px}
.ai-process-column{min-width:0}
.ai-process-card{height:100%;overflow:hidden}
.ai-process-list{display:grid;align-content:start;max-height:calc(100vh - 225px);overflow:auto;padding:8px}
.ai-process-item{overflow:hidden;margin-bottom:7px;border:1px solid #dce6ed;border-radius:9px;background:#fff}
.ai-process-item summary{display:flex;min-height:54px;padding:9px 10px;align-items:center;gap:9px;cursor:pointer;list-style:none}
.ai-process-item summary::-webkit-details-marker{display:none}
.ai-process-icon{display:grid;flex:0 0 25px;width:25px;height:25px;place-items:center;border-radius:50%;background:#e8f2f8;color:#467086;font-size:12px;font-weight:900}
.ai-process-item summary>div{display:grid;min-width:0;gap:2px;flex:1}.ai-process-item summary b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.ai-process-item summary small{color:#8a99a5;font-size:9px}
.ai-process-item summary>i{flex:0 0 auto;color:#557185;font-size:10px;font-style:normal}
.ai-process-item.state-ready .ai-process-icon{background:#e4f5ea;color:#228153}.ai-process-item.state-failed .ai-process-icon{background:#fde9e9;color:#b84747}.ai-process-item.state-processing .ai-process-icon{background:#fff3d7;color:#a16e0e}
.ai-process-detail{padding:9px 11px;border-top:1px solid #edf2f5;background:#f8fbfd;color:#61798b;font-size:11px;line-height:1.55}.ai-process-detail p{margin:0 0 8px}.ai-process-detail p.error{color:#b44747}.ai-process-detail>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.ai-process-detail a{color:#1779bc;font-weight:700;text-decoration:none}
.ai-message-attachments{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:7px}.ai-message-attachments em{max-width:260px;padding:4px 7px;overflow:hidden;border-radius:6px;background:#edf3f7;color:#4c6577;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.ai-message-text{white-space:pre-wrap}
.ai-composer.ai-chat-form{display:block;margin:0;padding:10px 13px 13px;border-top:1px solid #e1e9ef;background:#fff}
.ai-composer{position:relative;border-radius:0 0 12px 12px;transition:.15s}.ai-composer.dragging{background:#edf8ff;box-shadow:inset 0 0 0 2px #3a91d1}
.ai-composer textarea{display:block;width:100%;min-height:48px;max-height:180px;padding:10px 11px 3px!important;overflow-y:auto;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;resize:none!important}
.ai-composer-toolbar{display:flex;min-height:42px;align-items:center;gap:9px}.ai-composer-hint{flex:1;overflow:hidden;color:#91a0aa;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.ai-composer-actions{display:flex;align-items:center;gap:6px}.ai-icon-button,.ai-send-button{display:grid;width:36px;height:36px;padding:0;place-items:center;border:1px solid #d6e1e8;border-radius:50%;background:#fff;color:#244a65;cursor:pointer;font:inherit;font-size:17px}.ai-icon-button:hover{background:#edf6fc}.ai-icon-button:disabled{cursor:not-allowed;opacity:.4}.ai-send-button{border-color:#257fc5;background:#257fc5;color:#fff;font-size:20px;font-weight:900}.ai-send-button:hover{background:#196fae}.ai-send-button:disabled{cursor:not-allowed;opacity:.45}
.ai-voice-toggle{font-size:15px}.ai-voice-toggle.active{border-color:#8fc8a7;background:#e8f7ee}.ai-mic-button.recording{border-color:#e05757;background:#feeaea;color:#be3333;animation:aiMicPulse 1s infinite}
@keyframes aiMicPulse{50%{box-shadow:0 0 0 6px #e65c5c22}}
.ai-composer-files{display:flex;gap:8px;flex-wrap:wrap;padding:4px 1px 7px}.ai-file-chip{position:relative;display:flex;width:150px;min-height:48px;padding:6px 27px 6px 7px;align-items:center;gap:7px;border:1px solid #d9e4eb;border-radius:9px;background:#f7fafc}.ai-file-chip img{width:38px;height:38px;border-radius:6px;object-fit:cover}.ai-file-chip>span{display:grid;width:34px;height:34px;place-items:center;font-size:22px}.ai-file-chip b{min-width:0;overflow:hidden;color:#425e72;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.ai-file-chip button{position:absolute;top:3px;right:4px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#e7eef3;color:#536d7e;cursor:pointer}
.ai-confirm-card{margin:4px 0 16px 40px;padding:14px 15px;border:1px solid #efc86b;border-radius:11px;background:#fff9e9}.ai-confirm-card>small{display:block;margin-bottom:4px;color:#a36e0a;font-size:10px;font-weight:800}.ai-confirm-card>b{display:block;font-size:14px}.ai-confirm-card p{margin:5px 0 11px;color:#77694c;font-size:11px}.ai-confirm-card>div{display:flex;gap:7px}.ai-confirm-card.completed{border-color:#8bc9a4;background:#edf9f2}.ai-confirm-card.failed{border-color:#e0a2a2;background:#fff1f1}
@media(max-width:1100px){.ai-layout-conversation{grid-template-columns:1fr}.ai-process-column{display:block}.ai-process-list{max-height:360px}.ai-process-card{height:auto}}
@media(max-width:720px){.ai-composer-hint{display:none}.ai-file-chip{width:132px}.ai-confirm-card{margin-left:0}.ai-layout-conversation .ai-chat-card{min-height:560px}}

/* AI助手沉浸式布局：固定视口、Codex式输入框和独立深浅色主题 */
html.ai-app-view,
html.ai-app-view body{height:100%;overflow:hidden}
html.ai-app-view{color-scheme:light}
html.ai-app-view[data-ai-theme="dark"]{color-scheme:dark}
html.ai-app-view body{transition:background-color .18s ease,color .18s ease}
html.ai-app-view .layout{height:calc(100dvh - 66px);min-height:0;overflow:hidden}
html.ai-app-view #mainSidebar{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto}
html.ai-app-view main{height:100%;min-height:0;padding:16px 18px;overflow:hidden;background:#f4f6f8}

.ai-page{
  --ai-canvas:#f4f6f8;
  --ai-panel:#fff;
  --ai-panel-soft:#f7f8fa;
  --ai-message:#fff;
  --ai-user-message:#eaf4ff;
  --ai-border:#d9e1e8;
  --ai-border-strong:#c8d2dc;
  --ai-text:#1f2937;
  --ai-muted:#596b7b;
  --ai-faint:#788896;
  --ai-accent:#2382cc;
  --ai-accent-hover:#176fab;
  --ai-hover:#eef4f8;
  --ai-shadow:0 8px 26px rgba(24,42,59,.07);
  position:relative;
  height:100%;
  min-height:0;
  gap:10px;
  color:var(--ai-text);
}
html.ai-app-view[data-ai-theme="dark"] .ai-page{
  --ai-canvas:#111214;
  --ai-panel:#191a1d;
  --ai-panel-soft:#202226;
  --ai-message:#24262a;
  --ai-user-message:#183753;
  --ai-border:#34373d;
  --ai-border-strong:#474b53;
  --ai-text:#f4f5f6;
  --ai-muted:#bdc2c9;
  --ai-faint:#9ca3ad;
  --ai-accent:#3797e2;
  --ai-accent-hover:#2585cf;
  --ai-hover:#292c31;
  --ai-shadow:0 10px 30px rgba(0,0,0,.24);
}
html.ai-app-view[data-ai-theme="dark"] body,
html.ai-app-view[data-ai-theme="dark"] main{background:#111214;color:#f0f1f3}
html.ai-app-view[data-ai-theme="dark"] header{background:#17191c!important;border-color:#34373d;color:#f3f4f6}
html.ai-app-view[data-ai-theme="dark"] header .header-brand span{color:#f3f4f6!important}
html.ai-app-view:not([data-ai-theme="dark"]) header .header-brand span{color:#f3f6f9!important}
html.ai-app-view[data-ai-theme="dark"] #mainSidebar{background:#17191c!important;border-color:#34373d!important}
html.ai-app-view[data-ai-theme="dark"] #mainSidebar a{color:#d8dbe0!important}
html.ai-app-view[data-ai-theme="dark"] #mainSidebar a:hover,
html.ai-app-view[data-ai-theme="dark"] #mainSidebar a.active{background:#292c31!important;color:#fff!important}
html.ai-app-view[data-ai-theme="dark"] #mainSidebar .menu-divider{color:#9299a2}
html.ai-app-view:not([data-ai-theme="dark"]) #mainSidebar a{color:#33485c!important}
html.ai-app-view:not([data-ai-theme="dark"]) #mainSidebar a:hover,
html.ai-app-view:not([data-ai-theme="dark"]) #mainSidebar a.active{background:#e8eef4!important;color:#20384d!important}

.ai-heading{flex:0 0 auto;min-height:54px;padding:0 4px;color:var(--ai-text)}
.ai-heading h1{margin:1px 0 3px;color:var(--ai-text);font-size:25px;line-height:1.2}
.ai-heading p{color:var(--ai-muted);font-size:13px;line-height:1.45}
.ai-eyebrow{color:var(--ai-accent)}
.ai-service-state.ready{background:#e5f6ec;color:#176f43}
html.ai-app-view[data-ai-theme="dark"] .ai-service-state.ready{background:#173c2b;color:#84d8aa}
html.ai-app-view[data-ai-theme="dark"] .ai-service-state.waiting{background:#493816;color:#ffd078}

.ai-layout-conversation{
  flex:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:12px;
  height:auto;
  min-height:0;
}
.ai-chat-card,
.ai-documents-card{border-color:var(--ai-border);background:var(--ai-panel);box-shadow:var(--ai-shadow)}
.ai-layout-conversation .ai-chat-card{height:100%;min-height:0;overflow:hidden}
.ai-card-title{flex:0 0 auto;min-height:58px;padding:12px 16px;border-color:var(--ai-border);background:var(--ai-panel)}
.ai-card-title h2{margin:0 0 3px;color:var(--ai-text);font-size:17px;line-height:1.25}
.ai-card-title p{color:var(--ai-muted);font-size:12px;line-height:1.45}
.ai-card-title>span{color:var(--ai-faint);font-size:11px}

.ai-messages{
  flex:1;
  min-height:0;
  max-height:none;
  padding:22px 22px 8px;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  background:var(--ai-canvas);
  scroll-behavior:smooth;
}
.ai-messages.ai-history-pending{visibility:hidden}
.ai-welcome{max-width:760px;border-color:var(--ai-border-strong);background:var(--ai-panel);color:var(--ai-text)}
.ai-welcome b{font-size:21px}.ai-welcome p{color:var(--ai-muted);font-size:15px;line-height:1.75}
.ai-message{gap:10px;margin-bottom:20px}
.ai-message>span{flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#153d59;font-size:11px}
.ai-message.user>span{background:var(--ai-accent)}
.ai-message>div{
  width:auto;
  max-width:min(80%,940px);
  padding:13px 16px;
  border-color:var(--ai-border);
  border-radius:5px 16px 16px 16px;
  background:var(--ai-message);
  color:var(--ai-text);
  font-family:"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif;
  font-size:18px;
  font-weight:600;
  line-height:1.75;
  overflow-wrap:anywhere;
  box-shadow:0 2px 8px rgba(30,48,64,.025);
}
.ai-message.user>div{max-width:min(68%,780px);border-color:color-mix(in srgb,var(--ai-accent) 28%,var(--ai-border));border-radius:16px 5px 16px 16px;background:var(--ai-user-message);font-size:16px;font-weight:500}
.ai-message-text{color:inherit;font-size:inherit;line-height:inherit}
.ai-message-attachments{gap:8px;margin-bottom:9px}
.ai-message-attachments em{max-width:320px;padding:6px 9px;background:var(--ai-panel-soft);color:var(--ai-muted);font-size:12px}
.ai-action-card{border-color:var(--ai-border-strong);background:var(--ai-panel-soft);color:var(--ai-text)}
.ai-confirm-card{border-color:#d5a83d;background:#fff8e6;color:#4b3a13}
.ai-action-card,.ai-confirm-card{font-size:14px}
.ai-action-card>b,.ai-confirm-card>b{font-size:16px}.ai-action-card p{color:var(--ai-muted);font-size:13px;line-height:1.6}.ai-confirm-card p{color:#6f5c30;font-size:13px;line-height:1.6}
.ai-action-lines span{background:var(--ai-hover);color:var(--ai-text);font-size:12px}
html.ai-app-view[data-ai-theme="dark"] .ai-confirm-card{border-color:#80652d;background:#3a301b;color:#fff1c9}
html.ai-app-view[data-ai-theme="dark"] .ai-confirm-card p{color:#e1cea0}

.ai-quick-prompts{flex:0 0 auto;gap:8px;padding:9px 16px 8px;border-top:1px solid var(--ai-border);background:var(--ai-panel)}
.ai-quick-prompts button{padding:7px 11px;border-color:var(--ai-border);background:var(--ai-panel-soft);color:var(--ai-muted);font-size:12px}
.ai-quick-prompts button:hover{border-color:var(--ai-accent);background:var(--ai-hover);color:var(--ai-text)}

.ai-composer.ai-chat-form{
  flex:0 0 auto;
  display:block;
  max-height:min(38vh,360px);
  margin:0 14px 14px;
  padding:9px 11px 8px;
  overflow:hidden;
  border:1px solid var(--ai-border-strong);
  border-radius:21px;
  background:var(--ai-panel);
  color:var(--ai-text);
  box-shadow:0 7px 20px rgba(27,45,61,.08);
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.ai-composer:focus-within{border-color:color-mix(in srgb,var(--ai-accent) 68%,var(--ai-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--ai-accent) 14%,transparent),0 8px 24px rgba(27,45,61,.09)}
.ai-composer.dragging{border-color:var(--ai-accent);background:color-mix(in srgb,var(--ai-accent) 8%,var(--ai-panel));box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--ai-accent) 55%,transparent)}
.ai-composer input[type="file"]{display:none!important}
.ai-composer textarea{
  display:block;
  width:100%;
  min-height:52px;
  max-height:220px;
  margin:0;
  padding:12px 13px 5px!important;
  overflow-x:hidden;
  border:0!important;
  outline:0;
  box-shadow:none!important;
  background:transparent!important;
  color:var(--ai-text)!important;
  caret-color:var(--ai-accent);
  resize:none!important;
  font-family:"Microsoft YaHei UI","Microsoft YaHei",Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:400!important;
  line-height:1.65!important;
}
.ai-composer textarea::placeholder{color:var(--ai-faint);opacity:1}
.ai-composer-files{display:flex;max-height:132px;gap:9px;flex-wrap:wrap;padding:2px 3px 8px;overflow-x:hidden;overflow-y:auto}
.ai-file-chip{width:180px;min-height:58px;padding:7px 30px 7px 8px;border-color:var(--ai-border);border-radius:12px;background:var(--ai-panel-soft)}
.ai-file-chip img{width:44px;height:44px;border-radius:8px}.ai-file-chip>span{width:42px;height:42px}.ai-file-chip b{color:var(--ai-text);font-size:12px}.ai-file-chip button{min-width:0!important;background:var(--ai-hover);color:var(--ai-muted)}
.ai-composer-toolbar{min-height:42px;gap:9px;padding:1px 2px}
.ai-composer-hint{color:var(--ai-faint);font-size:11px}
.ai-composer-actions{gap:8px}
.ai-composer button{min-width:0!important;margin:0!important}
.ai-icon-button,.ai-send-button{
  display:grid!important;
  flex:0 0 38px;
  width:38px!important;
  min-width:38px!important;
  max-width:38px;
  height:38px!important;
  min-height:38px;
  padding:0!important;
  place-items:center;
  border:1px solid var(--ai-border-strong);
  border-radius:50%!important;
  background:var(--ai-panel);
  color:var(--ai-text);
  line-height:1;
}
.ai-icon-button svg,.ai-send-button svg,.ai-theme-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ai-icon-button:hover{background:var(--ai-hover)}
.ai-send-button{border-color:var(--ai-accent);background:var(--ai-accent);color:#fff}
.ai-send-button:hover{background:var(--ai-accent-hover)}
.ai-send-button:disabled{opacity:.42}
.ai-voice-toggle.active{border-color:#75b993;background:#e7f6ed;color:#24794a}
html.ai-app-view[data-ai-theme="dark"] .ai-voice-toggle.active{border-color:#3c815c;background:#173c2b;color:#8be0b0}
.ai-voice-toggle.active .ai-sound-slash{display:none}.ai-voice-toggle:not(.active) .ai-sound-wave{display:none}
.ai-mic-button.recording{border-color:#df5b5b;background:#ffeaea;color:#b92e2e}
html.ai-app-view[data-ai-theme="dark"] .ai-mic-button.recording{background:#512727;color:#ff9d9d}

.ai-process-column{display:flex!important;height:100%;min-height:0;padding:0;background:transparent;border:0}
.ai-process-card{display:flex;height:100%;min-height:0;flex:1;flex-direction:column;overflow:hidden}
.ai-process-list{display:grid;flex:1;max-height:none;min-height:0;padding:9px 9px 64px;align-content:start;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:var(--ai-panel)}
.ai-process-item{margin-bottom:8px;border-color:var(--ai-border);border-radius:10px;background:var(--ai-panel-soft)}
.ai-process-item summary{min-height:64px;padding:10px 11px;gap:10px;color:var(--ai-text)}
.ai-process-icon{flex-basis:28px;width:28px;height:28px;font-size:13px}
.ai-process-item summary>div{gap:4px}
.ai-process-item summary b{max-width:none;color:var(--ai-text);font-size:13px;font-weight:700}
.ai-process-item summary small{color:var(--ai-faint);font-size:11px}
.ai-process-item summary>i{padding:4px 7px;border-radius:999px;background:#e7eef3;color:#405a6c;font-size:11px;font-weight:700;white-space:nowrap}
.ai-process-item.state-ready summary>i{background:#e4f5ea;color:#1c7549}.ai-process-item.state-processing summary>i{background:#fff0cc;color:#865e06}.ai-process-item.state-failed summary>i{background:#fde7e7;color:#aa3434}
html.ai-app-view[data-ai-theme="dark"] .ai-process-item summary>i{background:#30343a;color:#d6dae0}
html.ai-app-view[data-ai-theme="dark"] .ai-process-item.state-ready summary>i{background:#173c2b;color:#8be0b0}
html.ai-app-view[data-ai-theme="dark"] .ai-process-item.state-processing summary>i{background:#4a3716;color:#ffd37c}
html.ai-app-view[data-ai-theme="dark"] .ai-process-item.state-failed summary>i{background:#502727;color:#ffaaaa}
.ai-process-item[open]{border-color:var(--ai-border-strong);background:var(--ai-panel)}
.ai-process-detail{padding:11px 12px;border-color:var(--ai-border);background:var(--ai-panel);color:var(--ai-muted);font-size:12px;line-height:1.65}
.ai-process-detail p{color:var(--ai-muted)}.ai-process-detail a{color:var(--ai-accent);font-size:12px}
.ai-empty{color:var(--ai-muted);font-size:13px}

.ai-theme-control{position:absolute;right:13px;bottom:13px;z-index:40}
.ai-theme-button{display:grid;width:40px;height:40px;padding:0;place-items:center;border:1px solid var(--ai-border-strong);border-radius:50%;background:var(--ai-panel);color:var(--ai-text);cursor:pointer;box-shadow:0 7px 22px rgba(22,38,52,.16)}
.ai-theme-button:hover,.ai-theme-button[aria-expanded="true"]{border-color:var(--ai-accent);background:var(--ai-hover);color:var(--ai-accent)}
.ai-theme-menu{position:absolute;right:0;bottom:50px;width:176px;padding:9px;border:1px solid var(--ai-border-strong);border-radius:13px;background:var(--ai-panel);color:var(--ai-text);box-shadow:0 14px 38px rgba(18,31,44,.2)}
.ai-theme-menu[hidden]{display:none!important}.ai-theme-menu>b{display:block;padding:6px 8px 9px;font-size:13px}
.ai-theme-menu button{display:grid;width:100%;grid-template-columns:25px 1fr 18px;align-items:center;gap:8px;margin:0;padding:9px 8px;border:0;border-radius:8px;background:transparent;color:var(--ai-text);cursor:pointer;text-align:left;font:inherit;font-size:13px}
.ai-theme-menu button:hover{background:var(--ai-hover)}.ai-theme-menu button i{visibility:hidden;color:var(--ai-accent);font-style:normal;font-weight:900}.ai-theme-menu button.active i{visibility:visible}
.ai-theme-swatch{display:block;width:22px;height:22px;border:1px solid #c7d0d8;border-radius:6px}.ai-theme-swatch.light{background:#f7f8fa}.ai-theme-swatch.dark{border-color:#4d5158;background:#1c1d20}

@media(max-width:1100px) and (min-width:901px){
  .ai-layout-conversation{grid-template-columns:minmax(0,1fr) 300px}
  .ai-message>div{max-width:84%}.ai-message.user>div{max-width:74%}
}
@media(max-width:900px){
  html.ai-app-view .layout{height:calc(100dvh - 58px)}
  html.ai-app-view main{padding:10px}
  .ai-heading{display:none}
  .ai-layout-conversation{grid-template-columns:1fr;grid-template-rows:minmax(0,2fr) minmax(190px,1fr);gap:8px}
  .ai-layout-conversation .ai-chat-card{min-height:0}
  .ai-process-column{min-height:0}.ai-process-card{height:100%}.ai-process-list{max-height:none}
  .ai-messages{padding:16px 12px 6px}.ai-message>div{max-width:88%;font-size:17px}.ai-message.user>div{max-width:82%}
  .ai-composer.ai-chat-form{margin:0 8px 8px}.ai-theme-control{right:9px;bottom:9px}
}
@media(max-width:560px){
  .ai-card-title>span,.ai-composer-hint{display:none}
  .ai-card-title{min-height:52px;padding:10px 12px}
  .ai-quick-prompts{overflow-x:auto;flex-wrap:nowrap;padding-left:9px;padding-right:9px}.ai-quick-prompts button{flex:0 0 auto}
  .ai-composer-files{max-height:72px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}.ai-file-chip{flex:0 0 156px}
  .ai-icon-button,.ai-send-button{flex-basis:36px;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px}
}

/* 2026-07-27：账号个人权限覆盖。岗位权限先合并，个人设置逐项优先。 */
.personal-permission-form{padding:0;overflow:hidden}
.personal-permission-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 15px;margin:0;border-bottom:1px solid #dce5eb}
.personal-permission-heading>div:first-child{min-width:0}
.personal-permission-bulk{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.personal-permission-bulk .button{min-height:34px;padding:6px 10px;font-size:12px}
.permission-rule-summary{display:flex;gap:10px;flex-wrap:wrap;padding:12px 22px;background:#f5f9fc}
.permission-rule-summary>span{padding:6px 9px;border:1px solid #d6e3eb;border-radius:7px;background:#fff;color:#607788;font-size:12px}
.permission-rule-summary b{margin-right:5px;color:#217bb8}
.personal-permission-module{border-top:1px solid #dce5eb;background:#fff}
.personal-permission-module>summary{display:flex;min-height:52px;padding:10px 18px;align-items:center;gap:9px;cursor:pointer;list-style:none}
.personal-permission-module>summary::-webkit-details-marker{display:none}
.personal-permission-module>summary:after{content:"⌄";margin-left:auto;color:#7b8f9d;font-size:17px;transition:.15s}
.personal-permission-module[open]>summary:after{transform:rotate(180deg)}
.personal-permission-module>summary>span{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#eaf2f7;color:#8a9aa5;font-size:12px;font-weight:800}
.personal-permission-module>summary>span.granted{background:#e5f5ee;color:#21825d}
.personal-permission-module>summary>b{color:#24465d;font-size:15px}
.personal-permission-module>summary>small{color:#80919c;font-size:11px}
.personal-permission-module-body{padding:0 18px 15px;background:#fbfcfd}
.personal-permission-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:12px}
.personal-permission-item,.personal-scope-items label{display:flex;min-width:0;min-height:56px;margin:0;padding:8px 10px;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe4ea;border-radius:8px;background:#fff}
.personal-permission-item>span,.personal-scope-items label>span{display:grid;min-width:0;gap:3px}
.personal-permission-item b,.personal-scope-items b{color:#29495f;font-size:13px}
.personal-permission-item small,.personal-scope-items small{color:#82939e;font-size:10px;line-height:1.35}
.personal-permission-item select,.personal-scope-items select{flex:0 0 112px;width:112px;height:34px;margin:0;padding:0 8px;border:1px solid #cbd9e2;border-radius:6px;background:#fff;color:#345267;font-size:12px}
.personal-scope-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.personal-permission-actions{position:sticky;bottom:0;display:flex;gap:9px;padding:13px 22px;border-top:1px solid #dce5eb;background:#fffffff2;backdrop-filter:blur(6px)}
@media(max-width:900px){.personal-permission-heading{flex-direction:column}.personal-permission-bulk{justify-content:flex-start}.personal-permission-items,.personal-scope-items{grid-template-columns:1fr}}

/* 2026-07-27：小理对话压缩空白，并提供单次停止语音。 */
.ai-messages{padding:13px 18px 4px}
.ai-message{margin-bottom:10px}
.ai-message>div{padding:9px 12px;line-height:1.52;white-space:normal;font-size:17px}
.ai-message.user>div{font-size:15px}
.ai-message-text{display:block;margin:0;white-space:pre-wrap}
.ai-quick-prompts .ai-stop-voice{display:inline-flex;margin-left:auto;padding:6px 10px;align-items:center;gap:6px;border-color:var(--ai-accent);border-radius:6px;background:var(--ai-accent);color:#fff;font-size:11px;font-weight:800}
.ai-quick-prompts .ai-stop-voice:hover{border-color:var(--ai-accent-strong);background:var(--ai-accent-strong);color:#fff}
.ai-quick-prompts .ai-stop-voice:disabled{cursor:default;opacity:.45}
.ai-stop-voice svg{width:12px;height:12px;fill:currentColor}
@media(max-width:560px){.ai-quick-prompts .ai-stop-voice{position:sticky;right:0;margin-left:auto}}

/* 2026-07-27：库存共用导航固定紧贴主导航，并支持自选底色。 */
.inventory-module-menu .inventory-rail-settings-toggle{position:absolute;z-index:2;top:6px;right:6px;display:grid;width:25px;height:25px;padding:5px;place-items:center;border:0;border-radius:7px;background:#ffffff1f;color:#fff;cursor:pointer}
.inventory-module-menu .inventory-rail-settings-toggle:hover,.inventory-module-menu .inventory-rail-settings-toggle[aria-expanded="true"]{background:#ffffff35}
.inventory-rail-settings-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.inventory-rail-settings-panel{position:absolute;z-index:12;top:7px;left:calc(100% + 8px);width:178px;padding:13px;border:1px solid #d5e0e8;border-radius:10px;background:#fff;color:#28465b;box-shadow:0 12px 32px #10283c32}
.inventory-rail-settings-panel[hidden]{display:none}
.inventory-rail-settings-panel>strong{display:block;margin-bottom:10px;font-size:13px}
.inventory-rail-settings-panel label{display:flex;margin:0 0 10px;align-items:center;justify-content:space-between;gap:10px;color:#657a89;font-size:12px}
.inventory-rail-settings-panel input[type=color]{width:54px;height:32px;margin:0;padding:2px;border:1px solid #cbd8e1;border-radius:6px;background:#fff;cursor:pointer}
.inventory-rail-color-reset{width:100%;padding:7px;border:1px solid #cbd8e1;border-radius:6px;background:#f7fafc;color:#496477;font-size:12px;cursor:pointer}
.inventory-rail-color-reset:hover{border-color:#8fb7cf;background:#edf6fb}
.inventory-home .inventory-home-heading{margin-bottom:12px}
.inventory-home .inventory-kpis{scroll-margin-top:10px}
@media(min-width:901px){
  main:has(.inventory-page>.inventory-module-menu){padding:0 22px 48px 140px;overflow:visible}
  .inventory-page:has(>.inventory-module-menu){max-width:none!important;min-height:calc(100vh - 66px);margin:0;padding:22px 0 48px!important}
  .inventory-page>.inventory-module-menu{position:fixed;z-index:1100;left:210px;top:66px;bottom:0;display:flex;width:112px;height:calc(100vh - 66px);margin:0;padding:34px 7px 7px;align-items:stretch;flex-direction:column;gap:2px;border:0;border-radius:0;background:var(--inventory-rail-bg,#193b5b);box-shadow:5px 0 16px #10283c18;overflow:visible}
  .inventory-page>.inventory-module-menu>a{display:flex;flex:1 1 0;min-height:0;max-height:67px;padding:1px 2px;align-items:center;flex-direction:column;justify-content:center;border:0;border-radius:8px;background:transparent;color:#f4f8fb;box-shadow:none;text-align:center;overflow:hidden}
  .inventory-page>.inventory-module-menu>a:hover{border:0;background:#ffffff18;box-shadow:none;transform:none}
  .inventory-page>.inventory-module-menu>a.active{border:0;background:#ffffff28;box-shadow:inset 3px 0 0 #75c4f1}
  .inventory-page>.inventory-module-menu>a>span{display:grid;width:clamp(36px,5.2vh,46px);height:clamp(36px,5.2vh,46px);margin:0 0 2px;place-items:center;border:0;border-radius:10px;color:#fff;font-size:clamp(15px,2vh,18px);font-weight:900;line-height:1;box-shadow:0 2px 7px #10283c32}
  .inventory-page>.inventory-module-menu strong{max-width:96px;overflow:visible;color:#f5f8fb;font-size:10px;font-weight:800;line-height:1.1;text-overflow:clip;white-space:nowrap}
  .inventory-page>.inventory-module-menu>a.active strong{color:#fff}
  .inventory-page>.inventory-module-menu small{display:none}
  .inventory-page>.inventory-module-menu .module-coral{background:#d8787c}
  .inventory-page>.inventory-module-menu .module-gold{background:#c49a43}
  .inventory-page>.inventory-module-menu .module-slate{background:#70808a}
  .inventory-page>.inventory-module-menu .module-blue{background:#5794b8}
  .inventory-page>.inventory-module-menu .module-green{background:#75a06b}
}
@media(max-width:900px){
  .inventory-page>.inventory-module-menu{position:relative;display:grid;max-height:none;margin:0 0 15px;padding:35px 8px 8px;grid-template-columns:repeat(6,minmax(70px,1fr));gap:6px;overflow:visible;border-radius:11px;background:var(--inventory-rail-bg,#193b5b)}
  .inventory-page>.inventory-module-menu>a{min-height:66px;border:0;background:transparent;color:#fff;box-shadow:none}
  .inventory-page>.inventory-module-menu>a:hover,.inventory-page>.inventory-module-menu>a.active{border:0;background:#ffffff20;box-shadow:none;transform:none}
  .inventory-page>.inventory-module-menu>a>span{width:44px;height:44px;margin-bottom:4px;border:0;background:currentColor;color:#fff}
  .inventory-page>.inventory-module-menu strong,.inventory-page>.inventory-module-menu>a.active strong{color:#fff;font-size:11px}
  .inventory-page>.inventory-module-menu small{display:none}
  .inventory-page>.inventory-module-menu .module-coral{background:#d8787c}
  .inventory-page>.inventory-module-menu .module-gold{background:#c49a43}
  .inventory-page>.inventory-module-menu .module-slate{background:#70808a}
  .inventory-page>.inventory-module-menu .module-blue{background:#5794b8}
  .inventory-page>.inventory-module-menu .module-green{background:#75a06b}
  .inventory-rail-settings-panel{right:8px;left:auto;top:35px}
  .inventory-home .inventory-quick-actions{grid-template-columns:1fr}
}
@media(max-width:600px){.inventory-page>.inventory-module-menu{grid-template-columns:repeat(4,minmax(62px,1fr))}}

/* 全局固定外框、可切换的一体化布局和菜单栏设置 */
.integrated-page-title,.sidebar-brand,.sidebar-account{display:none}
html:has(body.app-shell),body.app-shell{height:100%;overflow:hidden}
body.app-shell>.app-header{flex:0 0 66px}
body.app-shell>.layout{height:calc(100vh - 66px);min-height:0;overflow:hidden}
body.app-shell #mainSidebar{min-height:0;overflow-x:hidden;overflow-y:auto;background:var(--app-nav-bg)!important;color:var(--app-nav-text)!important}
body.app-shell #mainSidebar a{color:var(--app-nav-text)!important;font-size:var(--app-nav-size)!important}
body.app-shell .layout>main{height:100%;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}

.menu-settings-page{width:min(1060px,100%)}
.menu-settings-card{overflow:hidden;border:1px solid #dce5ed;border-radius:14px;background:#fff;box-shadow:0 7px 22px #18375212}
.menu-setting-section{padding:24px 26px;border-bottom:1px solid #e1e8ee}
.menu-setting-section h2{margin:0 0 7px;color:#18344c}
.menu-setting-section>p{margin:0 0 19px;color:#697d8d}
.layout-style-options{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:16px}
.layout-style-option{position:relative;display:grid;margin:0;padding:17px 17px 17px 124px;grid-template-rows:auto auto;align-items:center;min-height:100px;border:2px solid #dbe4eb;border-radius:11px;background:#f9fbfc;cursor:pointer}
.layout-style-option:has(input:checked){border-color:#287fca;background:#f3f9ff;box-shadow:0 0 0 3px #287fca18}
.layout-style-option input{position:absolute;width:1px;height:1px;opacity:0}
.layout-style-option>strong{color:#17344c;font-size:17px}.layout-style-option>small{margin-top:5px;color:#6d7e8c;line-height:1.5}
.layout-style-picture{position:absolute;left:17px;top:17px;width:91px;height:66px;overflow:hidden;border:1px solid #bcc9d3;border-radius:7px;background:#eef3f7}
.layout-style-picture i,.layout-style-picture b,.layout-style-picture em{position:absolute;display:block}
.layout-style-picture.classic i{inset:0 0 auto;height:14px;background:#29455e}.layout-style-picture.classic b{left:0;top:14px;bottom:0;width:22px;background:#1c3a56}.layout-style-picture.classic em{left:27px;right:5px;top:20px;bottom:5px;border-radius:3px;background:#fff}
.layout-style-picture.integrated i{left:0;top:0;bottom:0;width:24px;background:#1d3449}.layout-style-picture.integrated b{left:24px;right:0;top:0;height:15px;background:#1d3449}.layout-style-picture.integrated em{left:29px;right:5px;top:20px;bottom:5px;border-radius:5px 3px 3px;background:#fff}
.menu-setting-fields{display:grid;grid-template-columns:repeat(3,minmax(170px,1fr));gap:18px}.menu-setting-fields label{margin:0;color:#294157}.menu-setting-fields input{height:46px}.menu-setting-fields input[type=color]{padding:4px}.menu-setting-fields small{display:block;margin-top:5px;color:#8695a1;font-weight:400}
.menu-settings-preview{margin-top:21px}.menu-settings-preview>strong{display:block;margin-bottom:8px}.menu-preview-bar{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 17px;border-radius:9px}.menu-preview-bar span{opacity:.88}.menu-preview-bar b{margin-right:13px}
.menu-settings-actions{display:flex;justify-content:flex-end;padding:18px 26px}.menu-settings-actions .primary{min-width:180px}

@media(min-width:701px){
  body.layout-style-integrated>.app-header{position:fixed;z-index:2050;left:210px;right:0;top:0;height:66px;padding:0 22px;background:var(--app-nav-bg)!important;color:var(--app-nav-text)!important;border-bottom:1px solid color-mix(in srgb,var(--app-nav-text) 20%,transparent)}
  body.layout-style-integrated>.app-header .header-brand,body.layout-style-integrated>.app-header .user{display:none}
  body.layout-style-integrated .integrated-page-title{display:block;overflow:hidden;color:var(--app-nav-text);font-size:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
  body.layout-style-integrated>.layout{height:100vh;min-height:0;background:var(--app-nav-bg)}
  body.layout-style-integrated #mainSidebar{height:100vh;padding:0 10px 10px;border-right:1px solid color-mix(in srgb,var(--app-nav-text) 20%,transparent)}
  body.layout-style-integrated .sidebar-brand{display:flex;height:66px;margin:0 -10px 9px;padding:0 15px;align-items:center;gap:10px;flex:0 0 66px;color:var(--app-nav-text);border-bottom:1px solid color-mix(in srgb,var(--app-nav-text) 20%,transparent)}
  body.layout-style-integrated .sidebar-brand .brand-logo{width:38px;height:38px}
  body.layout-style-integrated .sidebar-brand span{overflow:hidden;font-size:16px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
  body.layout-style-integrated #mainSidebar .menu-main{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:thin}
  body.layout-style-integrated #mainSidebar .menu-bottom{flex:0 0 auto;margin-top:7px}
  body.layout-style-integrated .sidebar-account{position:relative;display:block;flex:0 0 auto;margin:8px -2px 0;padding-top:8px;border-top:1px solid color-mix(in srgb,var(--app-nav-text) 20%,transparent)}
  body.layout-style-integrated .sidebar-account summary{display:flex;height:48px;padding:6px 8px;align-items:center;gap:10px;border-radius:8px;color:var(--app-nav-text);cursor:pointer;list-style:none}
  body.layout-style-integrated .sidebar-account summary::-webkit-details-marker{display:none}
  body.layout-style-integrated .sidebar-account summary:hover,body.layout-style-integrated .sidebar-account[open] summary{background:#ffffff15}
  body.layout-style-integrated .sidebar-account-avatar{display:grid;width:30px;height:30px;place-items:center;flex:0 0 30px;border-radius:50%;background:#28a968;color:#fff;font-size:13px;font-weight:800}
  body.layout-style-integrated .sidebar-account summary b{overflow:hidden;flex:1;font-size:var(--app-nav-size);text-overflow:ellipsis;white-space:nowrap}
  body.layout-style-integrated .sidebar-account summary i{font-style:normal;opacity:.7}
  body.layout-style-integrated .sidebar-account-menu{position:absolute;z-index:20;left:2px;right:2px;bottom:54px;padding:7px;border:1px solid color-mix(in srgb,var(--app-nav-text) 24%,transparent);border-radius:9px;background:color-mix(in srgb,var(--app-nav-bg) 92%,#000);box-shadow:0 -10px 28px #0003}
  body.layout-style-integrated .sidebar-account-menu a,body.layout-style-integrated .sidebar-account-menu button{display:block;width:100%;margin:0;padding:10px 11px;border:0;border-radius:6px;background:transparent;color:var(--app-nav-text)!important;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
  body.layout-style-integrated .sidebar-account-menu a:hover,body.layout-style-integrated .sidebar-account-menu button:hover{background:#ffffff18}
  body.layout-style-integrated .sidebar-account-menu form{margin:0}
  body.layout-style-integrated .layout>main{height:calc(100vh - 66px);margin-top:66px;border-top-left-radius:15px;background:var(--bg);box-shadow:-1px -1px 0 color-mix(in srgb,var(--app-nav-text) 15%,transparent);overflow-x:hidden;overflow-y:auto}
  html.ai-app-view body.layout-style-integrated .layout{height:100vh}
  html.ai-app-view body.layout-style-integrated .layout>main{height:calc(100vh - 66px);margin-top:66px;overflow:hidden}
  html.ai-app-view body.app-shell #mainSidebar{background:var(--app-nav-bg)!important;color:var(--app-nav-text)!important}
  html.ai-app-view body.app-shell #mainSidebar a{color:var(--app-nav-text)!important}
}

/* 库存二级导航：齿轮固定在导航最下方居中，面板向右上方展开 */
@media(min-width:701px){
  .inventory-page>.inventory-module-menu{padding:7px 7px 40px}
  .inventory-module-menu .inventory-rail-settings-toggle{top:auto;right:auto;bottom:7px;left:50%;transform:translateX(-50%)}
  .inventory-rail-settings-panel{top:auto;bottom:7px;left:calc(100% + 8px)}
}

@media(max-width:760px){.layout-style-options,.menu-setting-fields{grid-template-columns:1fr}.layout-style-option{padding-left:124px}}

/* 一体化布局第二版：双层顶部栏、统一内容主题和明确的设置优先级 */
.integrated-action-bar{display:none}
.content-theme-options{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:14px;margin-bottom:18px}
.content-theme-options label{position:relative;display:block;margin:0;cursor:pointer}
.content-theme-options input{position:absolute;width:1px;height:1px;opacity:0}
.content-theme-options span{display:block;padding:15px 17px;border:2px solid #dbe4eb;border-radius:10px;background:#f8fafc}
.content-theme-options input:checked+span{border-color:#287fca;background:#f1f8ff;box-shadow:0 0 0 3px #287fca16}
.content-theme-options b,.content-theme-options small{display:block}.content-theme-options b{color:#203d55;font-size:16px}.content-theme-options small{margin-top:5px;color:#738594}
.content-color-fields{display:grid;grid-template-columns:repeat(5,minmax(135px,1fr));gap:14px}
.content-color-fields label{margin:0;color:#294157}.content-color-fields input[type=color]{height:46px;padding:4px}
.content-theme-preview{display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px;margin-top:19px;padding:17px;border:1px solid;border-radius:11px}
.content-theme-preview>div,.content-theme-preview>section{display:flex;flex-direction:column;justify-content:center;gap:5px}
.content-theme-preview>section{padding:14px;border:1px solid;border-radius:8px}.content-theme-preview small,.content-theme-preview span{font-size:12px}
.order-theme-mode{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin:12px 0 22px}
.order-theme-mode label{position:relative;display:block;margin:0;cursor:pointer}.order-theme-mode input{position:absolute;width:1px;height:1px;opacity:0}
.order-theme-mode label>span{display:block;min-height:78px;padding:14px 16px;border:2px solid #dce5ed;border-radius:10px;background:#f8fafc}
.order-theme-mode input:checked+span{border-color:#287fca;background:#f1f8ff;box-shadow:0 0 0 3px #287fca16}
.order-theme-mode strong,.order-theme-mode small{display:block}.order-theme-mode small{margin-top:5px;color:#71808d;line-height:1.45}
.appearance-editor.theme-following .color-setting{opacity:.48;pointer-events:none}

@media(min-width:701px){
  body.layout-style-integrated>.app-header{
    left:210px;top:27px;height:67px;padding:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:27px 40px;align-items:stretch;
    overflow:visible;border:1px solid var(--app-shell-border);border-right:0;border-bottom-left-radius:0;border-top-left-radius:13px;
    background:var(--app-nav-bg)!important;color:var(--app-nav-text)!important
  }
  body.layout-style-integrated>.app-header .integrated-page-title{
    display:block;min-width:0;grid-column:1;grid-row:1;border:0;background:transparent
  }
  body.layout-style-integrated>.app-header .integrated-action-bar{
    display:flex;min-width:0;padding:0 24px;grid-column:1;grid-row:2;align-items:center;overflow:visible;
    border:0;
    color:var(--app-nav-text);background:var(--app-nav-bg)
  }
  body.layout-style-integrated .integrated-toolbar-content{width:100%;min-width:0;margin:0!important;color:var(--app-nav-text)!important}
  body.layout-style-integrated .integrated-toolbar-content h1,
  body.layout-style-integrated .integrated-toolbar-content h2{margin:0!important;color:var(--app-nav-text)!important;font-size:20px!important;line-height:1.25!important;white-space:nowrap}
  body.layout-style-integrated .integrated-toolbar-content p,
  body.layout-style-integrated .integrated-toolbar-content .inventory-eyebrow,
  body.layout-style-integrated .integrated-toolbar-content .ai-eyebrow{display:none!important}
  body.layout-style-integrated .integrated-generated-toolbar{display:flex;align-items:center}
  body.layout-style-integrated .integrated-toolbar-content.dashboard-heading,
  body.layout-style-integrated .integrated-toolbar-content.title-row,
  body.layout-style-integrated .integrated-toolbar-content.admin-heading,
  body.layout-style-integrated .integrated-toolbar-content.ai-heading,
  body.layout-style-integrated .integrated-toolbar-content.inventory-heading{display:flex;min-height:0;padding:0;align-items:center;justify-content:space-between;gap:18px}
  body.layout-style-integrated .integrated-toolbar-content .dashboard-actions,
  body.layout-style-integrated .integrated-toolbar-content .ai-heading-actions{margin-left:auto}
  body.layout-style-integrated .integrated-toolbar-content .dashboard-actions button,
  body.layout-style-integrated .integrated-toolbar-content .secondary-link,
  body.layout-style-integrated .integrated-toolbar-content.title-row>.button{min-height:36px;height:36px;padding:0 14px;font-size:14px;line-height:normal}
  body.layout-style-integrated .integrated-toolbar-content.orders-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;position:relative;top:-4px}
  body.layout-style-integrated .integrated-toolbar-content .order-view-tabs,
  body.layout-style-integrated .integrated-toolbar-content .orders-toolbar-actions{align-items:center}
  body.layout-style-integrated .integrated-toolbar-content .order-view-tabs>a,
  body.layout-style-integrated .integrated-toolbar-content .split-view-main,
  body.layout-style-integrated .integrated-toolbar-content .order-create-action,
  body.layout-style-integrated .integrated-toolbar-content .order-query-trigger,
  body.layout-style-integrated .integrated-toolbar-content .order-settings-trigger{min-height:36px;height:36px;padding:0 14px;font-size:14px;line-height:normal}
  body.layout-style-integrated #mainSidebar{height:100vh;padding:0 10px 10px;border-right:0}
  body.layout-style-integrated .sidebar-brand{height:66px;min-height:66px;flex-basis:66px;margin:0 -10px 6px;padding:0 15px;border:0;gap:10px}
  body.layout-style-integrated .sidebar-brand .brand-logo{width:38px;height:38px;border-radius:8px}
  body.layout-style-integrated .sidebar-brand span{font-size:16px}
  body.layout-style-integrated>.layout{height:100vh}
  body.layout-style-integrated .layout>main{
    height:calc(100vh - 94px);margin-top:94px;padding:3px 24px 16px;border:0;border-left:1px solid var(--app-shell-border);border-radius:0;
    background:var(--app-content-bg);color:var(--app-content-text);box-shadow:none;overflow-x:hidden;overflow-y:auto
  }
  body.layout-style-integrated .dashboard-tabs{margin-top:0;padding-bottom:4px}
  body.layout-style-integrated .task-tabs{margin-top:0}

  /* 订单页：拆单视图右下角入口保持可见，并允许看板菜单越过顶部栏展开。 */
  body.layout-style-integrated .integrated-toolbar-content .split-view-tab{overflow:visible}
  body.layout-style-integrated .integrated-toolbar-content .split-view-menu{right:2px;bottom:2px;z-index:50;display:block;visibility:visible;opacity:1}
  body.layout-style-integrated .integrated-toolbar-content .split-view-menu summary{display:grid!important;visibility:visible;opacity:1;background:#e8eef3}
  body.layout-style-integrated .integrated-toolbar-content .split-view-menu summary span{display:block!important;color:#5f7485}
  body.layout-style-integrated .integrated-toolbar-content .split-view-main.active+.split-view-menu summary{background:#ffffff30}
  body.layout-style-integrated .integrated-toolbar-content .split-view-main.active+.split-view-menu summary span{color:#fff}
  body.layout-style-integrated .integrated-toolbar-content .split-view-menu-panel{z-index:60}

  /* 库存二级导航：缩窄三分之一、整体下移并为右侧内容保留独立空间。 */
  body.layout-style-integrated .layout>main:has(.inventory-page>.inventory-module-menu){padding-left:99px;overflow-y:hidden}
  body.layout-style-integrated .inventory-page:has(>.inventory-module-menu){height:100%;min-height:0;padding:0 0 16px!important;overflow:hidden}
  body.layout-style-integrated .inventory-page>.inventory-module-menu{
    left:210px;top:94px;bottom:0;width:75px;height:calc(100vh - 94px);padding:8px 4px 40px;align-items:center
  }
  body.layout-style-integrated .inventory-page>.inventory-module-menu>a{width:100%;align-self:center}
  body.layout-style-integrated .inventory-page>.inventory-module-menu strong{max-width:68px}
}

/* 一体化布局的右侧内容区；经典布局不读取这组覆盖 */
html:not(.ai-app-view) body.layout-style-integrated.content-theme-dark{color-scheme:dark}
html:not(.ai-app-view) body.layout-style-integrated .layout>main,
html:not(.ai-app-view) body.layout-style-integrated .layout>main h1,
html:not(.ai-app-view) body.layout-style-integrated .layout>main h2,
html:not(.ai-app-view) body.layout-style-integrated .layout>main h3,
html:not(.ai-app-view) body.layout-style-integrated .layout>main h4{color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main :is(p,small,.muted,dt,.settings-block-title span,.order-style-heading p){color:var(--app-content-muted)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main :is(.welcome,.panel,.table-wrap,.sheet,[class$="-card"],[class*="-card "],[class$="-panel"],[class*="-panel "],[class$="-sheet"],[class*="-sheet "],[class$="-table-wrap"],[class*="-table-wrap "]){border-color:var(--app-content-border);background:var(--app-panel-bg);color:var(--app-content-text);box-shadow:none}
html:not(.ai-app-view) body.layout-style-integrated .dashboard-kpis article,
html:not(.ai-app-view) body.layout-style-integrated .inventory-kpis>a,
html:not(.ai-app-view) body.layout-style-integrated .inventory-quick-actions>a,
html:not(.ai-app-view) body.layout-style-integrated .status-table-groups>section,
html:not(.ai-app-view) body.layout-style-integrated .kanban-column,
html:not(.ai-app-view) body.layout-style-integrated .kanban-card{border-color:var(--app-content-border);background:var(--app-panel-bg);color:var(--app-content-text);box-shadow:none}
html:not(.ai-app-view) body.layout-style-integrated .layout>main table{background:var(--app-panel-bg);color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main th{border-color:var(--app-content-border);background:color-mix(in srgb,var(--app-content-text) 7%,var(--app-panel-bg));color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main td{border-color:var(--app-content-border);color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main :is(input:not([type="color"]),select,textarea){border-color:var(--app-content-border);background:var(--app-panel-bg);color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main :is(.layout-style-option,.content-theme-options span,.order-theme-mode label>span){border-color:var(--app-content-border);background:var(--app-panel-bg);color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main :is(.layout-style-option>strong,.content-theme-options b,.order-theme-mode strong){color:var(--app-content-text)}
html:not(.ai-app-view) body.layout-style-integrated .layout>main .menu-setting-section{border-color:var(--app-content-border)}
html:not(.ai-app-view) body.layout-style-integrated .dynamic-orders-sheet.order-follow-theme{
  --order-header-color:var(--app-content-text)!important;
  --order-header-bg:color-mix(in srgb,var(--app-content-text) 7%,var(--app-panel-bg))!important;
  --order-content-color:var(--app-content-text)!important
}
html:not(.ai-app-view) body.layout-style-integrated .layout>main .dynamic-orders-sheet.order-custom-theme{
  background:#fff;color:var(--order-content-color);border-color:#d8e0e7
}
html:not(.ai-app-view) body.layout-style-integrated .layout>main .dynamic-orders-sheet.order-custom-theme .dynamic-orders-table{
  background:#fff;color:var(--order-content-color)
}
html:not(.ai-app-view) body.layout-style-integrated .layout>main .dynamic-orders-sheet.order-custom-theme .dynamic-orders-table th{
  background:var(--order-header-bg,#f5f7f9)!important;color:var(--order-header-color)!important;-webkit-text-fill-color:var(--order-header-color)!important
}
html:not(.ai-app-view) body.layout-style-integrated .layout>main .dynamic-orders-sheet.order-custom-theme .dynamic-orders-table tbody tr:not(.order-month-row)>td{
  background:#fff;color:var(--order-content-color)!important;-webkit-text-fill-color:var(--order-content-color)!important
}

/* 小理助手始终使用自己的全黑/全白主题，不受全局内容颜色覆盖 */
@media(min-width:701px){
  html.ai-app-view body.layout-style-integrated .layout>main{height:calc(100vh - 94px);margin-top:94px;padding:3px 12px 10px;border-radius:0;overflow:hidden}
  html.ai-app-view body.layout-style-integrated .integrated-action-bar{padding:0 18px}
  html.ai-app-view body.layout-style-integrated .integrated-toolbar-content.ai-heading{width:100%;color:inherit!important}
  html.ai-app-view body.layout-style-integrated .integrated-toolbar-content.ai-heading h1{color:inherit!important}
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated>.app-header,
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated>.app-header .integrated-action-bar,
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated #mainSidebar,
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated .layout>main{background:#f4f6f8!important;color:#1f2937!important;border-color:#d9e1e8!important}
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated #mainSidebar a,
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated .sidebar-brand,
  html.ai-app-view:not([data-ai-theme="dark"]) body.layout-style-integrated .sidebar-account summary{color:#263442!important}
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated>.app-header,
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated>.app-header .integrated-action-bar,
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated #mainSidebar,
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated .layout>main{background:#111214!important;color:#f0f1f3!important;border-color:#34373d!important}
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated #mainSidebar a,
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated .sidebar-brand,
  html.ai-app-view[data-ai-theme="dark"] body.layout-style-integrated .sidebar-account summary{color:#f0f1f3!important}
  html.ai-app-view body.layout-style-integrated>.app-header{border-color:var(--app-shell-border)!important}
  html.ai-app-view body.layout-style-integrated .layout>main{border-left-color:var(--app-shell-border)!important}
}

@media(max-width:900px){.content-color-fields{grid-template-columns:1fr 1fr}.content-theme-preview{grid-template-columns:1fr}}
@media(max-width:700px){.content-theme-options,.content-color-fields,.order-theme-mode{grid-template-columns:1fr}}
.employee-avatar-editor{display:flex;align-items:center;gap:16px;padding:14px 0}
.employee-avatar-preview,.personnel-avatar{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border-radius:50%;background:#e7f2fb;color:#17679f;font-weight:700;flex:0 0 auto}
.employee-avatar-preview{width:72px;height:72px;font-size:26px;border:1px solid #c8dbe9}
.employee-avatar-preview img,.personnel-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.employee-avatar-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.employee-avatar-upload,.avatar-upload-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 15px;border-radius:7px;background:#287dca;color:#fff;cursor:pointer}
.employee-avatar-upload input,.avatar-upload-button input{display:none}
.employee-avatar-clear,.avatar-clear-choice{display:inline-flex;align-items:center;gap:6px;color:#65788a}
.employee-avatar-help{display:block;margin-top:5px;color:#73879a;font-size:12px}
.personnel-avatar{width:28px;height:28px;font-size:12px;border:1px solid #c9d8e4;background:#edf4f8}
.order-personnel-cell,.board-personnel,.new-order-personnel{display:flex;align-items:center;gap:7px;min-width:0}
.order-personnel-cell .personnel-choice,.new-order-personnel .personnel-choice{min-width:0;flex:1}
.board-personnel{display:inline-flex}
.new-order-personnel .personnel-avatar{width:34px;height:34px}
.personnel-role-choice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:14px 0}
.personnel-role-choice{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #d7e2ea;border-radius:8px;background:#fff;cursor:pointer}
.personnel-role-choice:has(input:checked){border-color:#287dca;background:#eef7ff}
.personnel-role-choice strong,.personnel-role-choice b{display:block;color:#0b314a}
.personnel-role-choice small{display:block;color:#718598;margin-top:2px}
.personnel-role-note{padding:12px 14px;border-radius:8px;background:#f5f8fa;color:#597083;line-height:1.7}
.personnel-field-settings{grid-column:1/-1;padding-top:13px;border-top:1px dashed #d6e1ea}
.personnel-field-settings[hidden]{display:none!important}
.personnel-field-settings .settings-block-title{margin-bottom:10px}
.personnel-field-settings .settings-block-title h3{margin:0;color:#0b304b;font-size:15px}
.personnel-field-settings .settings-block-title span{display:block;margin-top:3px;color:#60788c;font-size:12px}
