/* Graphite admin skin. Presentation only; keep native forms, actions and order grid. */
body .site-wrapper {color:#202630;background:#f5f6f8}
body .site-sidebar,body .site-sidebar__inner,body .site-sidebar .el-menu,body .site-navbar__header {background:#25282e!important}
body .site-sidebar .el-menu-item,body .site-sidebar .el-submenu__title {color:#dce0e7!important;background:transparent!important}
body .site-sidebar .el-menu-item:hover,body .site-sidebar .el-submenu__title:hover {background:#303640!important}
body .site-sidebar .el-menu-item.is-active {background:#373d49!important;color:#fff!important;box-shadow:inset 3px 0 #9bafd9}
body .site-navbar__brand a {color:#fff!important}
body .site-content,body .refined-orders,body .business-dashboard {background:#f5f6f8;color:#202630}
body .el-button {border-radius:5px}
body .el-button--primary {background:#4265db!important;border-color:#4265db!important;color:#fff!important}
body .el-button--primary:hover {background:#3454ba!important;border-color:#3454ba!important}
body .el-button--primary.is-disabled {opacity:.55}
body .el-button--text {color:#4265db!important}
body .el-input__inner:focus,body .el-textarea__inner:focus {border-color:#4265db}
body .el-radio-button__orig-radio:checked+.el-radio-button__inner {background:#4265db!important;border-color:#4265db!important;box-shadow:-1px 0 0 #4265db!important}
body .el-checkbox__input.is-checked .el-checkbox__inner,body .el-checkbox__input.is-indeterminate .el-checkbox__inner {background:#4265db;border-color:#4265db}
body .refined-orders .el-form,body .business-dashboard .panel,body .business-dashboard .metric,body .order-record {border-color:#e2e6ed;border-radius:8px;background:#fff}
body .orders-heading h2,body .recovery-heading h2 {color:#202630;font-size:24px}
body .orders-heading p,body .recovery-heading p,body .record-label,body .record-visit {color:#626c7b}
body .order-record-head {background:#f8f9fb;border-color:#e2e6ed}
body .order-record-body {color:#202630}
body .record-actions>.el-button {width:100%;min-height:36px;margin:0!important;padding:8px 10px}
body .record-actions {gap:8px}
body .refined-orders .compact-order-filters .order-quick-fields {display:grid;grid-template-columns:minmax(120px,1fr) minmax(140px,1fr) minmax(280px,1.5fr) 172px;gap:16px;align-items:end}
body .refined-orders .compact-order-filters .order-quick-fields .el-form-item {min-width:0;margin:0 0 14px}
body .refined-orders .compact-order-filters .order-quick-fields .el-form-item__content {margin-left:0!important}
body .order-quick-fields .el-input,body .order-quick-fields .el-date-editor {width:100%!important}
body .order-quick-fields .el-input__inner,body .order-quick-fields .el-date-editor {height:40px}
body .order-quick-fields .el-button {width:80px;height:40px;padding:10px 8px}
body .order-quick-fields .el-button+.el-button {margin-left:12px}
body .order-action-bar {display:flex;flex-wrap:wrap;gap:10px}
body .order-action-bar .el-button {margin-left:0;min-height:36px}
body .order-recovery>.el-form {display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body .order-recovery>.el-form>.el-form-item {margin-right:0}
body .order-recovery>.el-form .el-button {height:40px;min-width:80px}
body .order-recovery .recovery-metrics button.active {border-color:#4265db;background:#eef2ff;color:#202630}
body .el-table th {background:#f8f9fb;color:#626c7b}
body .el-table {color:#202630}
body .el-pagination .el-pager li.active {color:#4265db}
body .order-record strong,body .business-dashboard strong {font-variant-numeric:tabular-nums}
@media(max-width:1100px){body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:minmax(0,1fr)}body .record-actions>.el-button{width:auto;min-width:80px}}

/* R2: layout alignment, including asynchronously loaded legacy styles. */
body .site-wrapper{font-family:"Segoe UI","Microsoft YaHei",sans-serif!important}
body .site-content>.el-card{border:0!important;box-shadow:none!important;background:#f5f6f8!important}
body .refined-orders,body .business-dashboard{padding:26px!important;border-radius:0!important;background:#f5f6f8!important}
body .refined-orders .orders-heading{margin:0 0 24px!important}
body .refined-orders .orders-heading h2{font-size:25px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0;margin:0 0 7px!important}
body .refined-orders .orders-heading p{font-size:13px!important;color:#767e8a!important}
body .site-sidebar__menu{padding:16px 10px!important}
body .site-sidebar__menu>.el-submenu{margin-top:14px!important}
body .site-sidebar .el-menu-item,body .site-sidebar .el-submenu__title{border-radius:6px!important;margin:3px 0!important;height:42px!important;line-height:42px!important;font-size:13px!important}
body .site-sidebar .el-submenu .el-menu{padding:2px 0 8px!important}
body .site-navbar__brand{font-size:21px!important;letter-spacing:1px!important;font-weight:600!important}
body .site-navbar__body{box-shadow:none!important;border-bottom:1px solid #e2e6ed}
body .refined-orders .compact-order-filters{padding:22px!important;border-radius:8px!important;border:1px solid #e2e6ed!important;box-shadow:0 2px 8px #20263004!important;margin-bottom:24px!important}
body .refined-orders .compact-order-filters .order-quick-fields{max-width:none!important;width:100%!important;grid-template-columns:minmax(120px,1fr) minmax(140px,1fr) minmax(280px,1.5fr) 172px!important;gap:16px!important}
body .refined-orders .compact-order-filters .order-quick-fields .el-form-item{margin:0!important}
body .refined-orders .compact-order-filters .el-form-item__label{font-size:12px!important;font-weight:500!important;color:#626c7b!important;line-height:20px!important;padding-bottom:8px!important}
body .refined-orders .order-quick-fields .el-input__inner,body .refined-orders .order-quick-fields .el-date-editor{height:40px!important;min-height:40px!important;border-radius:5px!important;border-color:#dce1e9!important;font-size:13px!important}
body .refined-orders .order-quick-fields .el-date-editor{display:flex;align-items:center}
body .refined-orders .order-quick-fields .el-form-item:last-child .el-form-item__content{display:flex!important;gap:12px!important;align-items:center!important}
body .refined-orders .order-quick-fields .el-button{width:80px!important;flex:0 0 80px;height:40px!important;margin:0!important;font-size:13px!important}
body .refined-orders .order-more-filters{margin-top:18px!important}
body .refined-orders .order-more-filters summary{color:#4265db!important;font-size:13px!important}
body .refined-orders .order-action-bar{margin-top:18px!important;padding-top:16px!important;border-color:#e2e6ed!important;gap:10px!important}
body .refined-orders .order-action-bar .el-button{height:36px!important;padding:8px 16px!important;font-size:13px!important}
body .refined-orders .card-list-tools{margin:0 0 16px!important;font-size:12px!important;color:#767e8a!important}
body .refined-orders .order-card-columns,body .refined-orders .order-record-body{grid-template-columns:20px minmax(160px,1.15fr) minmax(240px,1.55fr) minmax(190px,1fr) 104px!important;gap:20px!important}
body .refined-orders .order-record{border:1px solid #e2e6ed!important;border-radius:8px!important;margin-bottom:20px!important;box-shadow:0 2px 6px #20263004}
body .refined-orders .order-record-head{background:#fff!important;padding:15px 20px!important;border-bottom:1px solid #e9ecf0!important;font-size:12px!important;color:#767e8a!important}
body .refined-orders .order-record-head>strong{color:#202630!important;font-size:13px!important;font-weight:600!important}
body .refined-orders .record-head-right,body .refined-orders .record-visit{font-size:12px!important;color:#767e8a!important}
body .refined-orders .order-record-body{padding:24px 20px!important;font-size:13px!important;color:#202630!important;line-height:1.65}
body .refined-orders .order-card-columns{font-size:12px!important;color:#767e8a!important}
body .refined-orders .record-contact-fields .record-field{grid-template-columns:32px minmax(0,1fr)!important;gap:12px!important;font-size:13px!important}
body .refined-orders .record-contact-fields .record-label{font-size:12px!important;color:#767e8a!important}
body .refined-orders .record-identity strong{font-size:14px!important}
body .refined-orders .record-price{font-size:20px!important;font-weight:600!important;margin-top:14px!important}
body .refined-orders .record-status-tag{font-size:13px!important;font-weight:500!important;min-width:76px!important;padding:7px 12px!important}
body .refined-orders .record-pending{color:#90602f!important;background:#faf0e2!important;border-color:#e4c9a6!important}
body .refined-orders .record-behavior,body .refined-orders .record-behavior .order-behavior{font-size:13px!important;line-height:1.9!important}
body .refined-orders .record-actions{gap:8px!important}
body .refined-orders .record-actions>.el-button{width:104px!important;height:36px!important;margin:0!important;font-size:12px!important;color:#374151!important;border-color:#dce1e9!important}
body .refined-orders .record-actions a,body .refined-orders .record-actions details{font-size:12px!important}
body .refined-orders .record-message{font-size:13px!important}
body .site-content .el-tabs__item.is-active{color:#4265db!important}
body .site-content .el-tabs__active-bar{background:#4265db!important}
body .business-dashboard .panel{border:1px solid #e2e6ed!important;border-radius:8px!important;box-shadow:0 2px 6px #20263004}
@media(max-width:1100px){body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1200px){body .refined-orders .order-record-body{grid-template-columns:20px minmax(0,1fr) minmax(0,1.5fr)!important}body .refined-orders .order-card-columns{display:none!important}body .refined-orders .record-actions{flex-wrap:wrap!important}}
@media(max-width:600px){body .refined-orders,body .business-dashboard{padding:14px!important}body .refined-orders .compact-order-filters{padding:16px!important}body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:minmax(0,1fr)!important}body .refined-orders .order-record-body{grid-template-columns:20px minmax(0,1fr)!important}}

/* R3 candidate: remove nested surfaces and restore the retained preview's hierarchy.
   No selectors hide controls, change permissions, or alter data/analytics handlers. */
body .site-content>.el-card>.el-card__body{padding:0!important}
body .site-content .refined-orders{padding:26px!important}
body .refined-orders .compact-order-filters{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;margin-bottom:24px!important}
body .refined-orders .order-action-bar{border-top:1px solid #e2e6ed!important;padding-top:18px!important;margin-top:20px!important}
body .refined-orders .order-quick-fields{max-width:1200px!important}
body .refined-orders .order-record-head{background:#f5f6f8!important}
body .refined-orders .order-record{box-shadow:none!important;margin-bottom:16px!important}
body .refined-orders .order-record-body{padding:20px!important;gap:16px!important}
body .refined-orders .record-product{border:0!important;padding-right:0!important}
body .refined-orders .record-receiver,body .refined-orders .record-status,body .refined-orders .record-actions{border-left:1px solid #e9ecf0;padding-left:16px;min-width:0}
body .refined-orders .record-price{font-size:20px!important;letter-spacing:-.3px;color:#202630}
body .refined-orders .record-actions>.el-button{width:100%!important}
body .refined-orders .order-card-columns,body .refined-orders .order-record-body{grid-template-columns:20px minmax(160px,1.15fr) minmax(240px,1.55fr) minmax(190px,1fr) 116px!important}
body .refined-orders .record-message{background:#f5f6f8;border-left-color:#c4cad5;color:#626c7b}
body .site-sidebar__menu>.el-submenu>.el-submenu__title{color:#a3aab7!important;font-size:12px!important;letter-spacing:.4px}
body .site-sidebar .el-submenu .el-menu-item{font-size:13px!important}
body .site-navbar__brand{font-size:18px!important;font-weight:600!important}
body .site-navbar__menu--right .el-menu-item{font-size:12px!important;color:#626c7b!important}
body .site-content .el-tabs__header{box-shadow:none!important;border-bottom:1px solid #e2e6ed!important}
body .site-content .el-tabs__item{font-size:12px!important}
body .business-dashboard .metrics{gap:0!important;background:#fff;border:1px solid #e2e6ed;border-radius:8px;padding:22px 0;overflow:hidden}
body .business-dashboard .metrics>.panel{background:transparent!important;border:0!important;border-right:1px solid #e9ecf0!important;border-radius:0!important;box-shadow:none!important;padding:0 18px!important}
body .business-dashboard .metrics>.panel:last-child{border-right:0!important}
body .business-dashboard .metric-title{gap:8px!important}
body .business-dashboard .metric-title i{width:24px!important;height:24px!important;font-size:14px!important;background:#eef2ff!important;color:#4265db!important;border-radius:5px!important}
body .business-dashboard .metrics span{font-size:12px!important;color:#626c7b}
body .business-dashboard .metrics strong,body .business-dashboard .metric-order-link{font-size:28px!important;font-weight:600;letter-spacing:-.6px;color:#202630!important}
body .business-dashboard .metrics small{font-size:11px!important;line-height:1.7;color:#767e8a!important}
body .business-dashboard .effective-count{min-width:58px;padding-left:10px}
body .business-dashboard .effective-order-link{font-size:19px!important;color:#4265db!important}
body .business-dashboard .sparkline{color:#4265db!important}
body .business-dashboard .panel h3{font-size:14px!important;color:#202630}
body .business-dashboard .revenue-panel strong{font-size:23px!important;font-weight:600;letter-spacing:-.4px}
body .business-dashboard .effective-revenue b{font-size:18px;color:#4265db}
body .business-dashboard .el-table{font-size:13px!important}
body .business-dashboard .el-table .cell{line-height:1.7}
body .order-recovery{background:#f5f6f8!important;border-radius:0!important;padding:26px!important;color:#202630}
body .order-recovery>.el-form{background:transparent!important;border:0!important;padding:0!important}
body .order-recovery .recovery-metrics{gap:16px}
body .order-recovery .recovery-metrics button{background:#fff;border:1px solid #e2e6ed;border-radius:8px;box-shadow:none}
body .el-button:focus-visible,body .site-sidebar .el-menu-item:focus-visible{outline:2px solid #4265db;outline-offset:3px}
body .business-dashboard .dashboard-filters{display:grid!important;grid-template-columns:minmax(260px,1.6fr) repeat(3,minmax(120px,1fr)) auto;gap:16px;align-items:end}
body .business-dashboard .dashboard-filters .el-form-item{margin:0!important;min-width:0}
body .business-dashboard .dashboard-filters .el-form-item__label{display:block;float:none;text-align:left;line-height:24px;font-size:12px}
body .business-dashboard .dashboard-filters .el-form-item__content{display:flex!important;min-width:0;line-height:40px}
body .business-dashboard .dashboard-filters .el-input,body .business-dashboard .dashboard-filters .el-select,body .business-dashboard .dashboard-filters .el-date-editor{width:100%!important;min-width:0!important}
@media(max-width:1100px){body .business-dashboard .dashboard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body .business-dashboard .dashboard-filters{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1300px){body .business-dashboard .metrics>.panel{padding:16px 18px!important}body .business-dashboard .metrics>.panel:nth-child(3){border-right:0!important}}
@media(max-width:1200px){body .refined-orders .order-record-body{grid-template-columns:20px minmax(0,1fr) minmax(0,1.5fr)!important}body .refined-orders .record-status,body .refined-orders .record-actions{border-left:0;padding-left:0}body .refined-orders .record-actions>.el-button{width:auto!important}}
@media(max-width:800px){body .business-dashboard .metrics>.panel:nth-child(3){border-right:1px solid #e9ecf0!important}body .business-dashboard .metrics>.panel:nth-child(2n){border-right:0!important}}
@media(max-width:600px){body .site-content .refined-orders,body .order-recovery{padding:14px!important}body .refined-orders .order-record-body{grid-template-columns:20px minmax(0,1fr)!important}body .refined-orders .record-receiver{border-left:0;padding-left:0}body .refined-orders .order-record-head{padding:14px!important}body .refined-orders .record-head-right{flex-wrap:wrap;gap:8px}}


/* R4: distinct search surface and list toolbar; original business bindings retained. */
body .site-wrapper{font-family:'Microsoft YaHei','PingFang SC','Segoe UI',Arial,sans-serif!important;line-height:1.55;color:#202630}
body .site-wrapper input,body .site-wrapper button,body .site-wrapper textarea{font-family:inherit}
body .site-navbar__brand-lg{display:flex!important;flex-direction:column;justify-content:center;line-height:1.3!important;height:100%}
body .graphite-brand-caption{display:block;font-size:9px;font-weight:400;letter-spacing:1.5px;color:#a3aab7;margin-top:5px}
body .refined-orders .orders-heading{margin-bottom:24px!important}
body .refined-orders .orders-heading h2{font-size:24px!important;font-weight:600!important;letter-spacing:-.5px;line-height:1.4}
body .refined-orders .orders-heading p{font-size:13px!important;color:#767e8a;line-height:1.8}
body .refined-orders .compact-order-filters.graphite-search-panel{background:#fff!important;border:1px solid #e2e6ed!important;border-radius:10px!important;padding:22px 24px!important;margin:0 0 28px!important}
body .graphite-filter-heading{display:flex;align-items:baseline;gap:16px;margin-bottom:18px}
body .graphite-filter-heading h3{margin:0;font-size:14px;font-weight:600;color:#202630}
body .graphite-filter-heading span{font-size:12px;color:#87909e}
body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(310px,1.5fr) 172px!important;gap:16px!important;max-width:none!important}
body .refined-orders .order-quick-fields .el-form-item__label{font-size:12px!important;color:#626c7b!important;margin-bottom:7px!important;line-height:20px!important}
body .refined-orders .order-more-filters{margin-top:18px!important;border-top:1px solid #edf0f4;padding-top:15px}
body .refined-orders .order-more-filters summary{font-size:12px!important;color:#626c7b!important}
body .refined-orders .graphite-order-toolbar{border:0!important;margin:0 0 18px!important;padding:0!important;display:flex!important;align-items:center;justify-content:space-between;gap:16px}
body .graphite-toolbar-title{font-size:16px;font-weight:600;white-space:nowrap}
body .graphite-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
body .graphite-toolbar-actions .el-button{height:36px!important;margin:0!important;padding:0 16px!important}
body .refined-orders .card-list-tools{font-size:12px!important;color:#767e8a;margin-bottom:16px}
body .refined-orders .order-card-columns{font-size:12px!important;color:#87909e!important;padding-bottom:12px!important}
body .refined-orders .order-record{border:1px solid #e2e6ed!important;border-radius:9px!important;overflow:hidden;margin-bottom:18px!important}
body .refined-orders .order-record-head{padding:14px 18px!important;font-size:12px!important;background:#fafbfc!important;color:#626c7b!important;line-height:1.7}
body .refined-orders .order-record-body{padding:22px 18px!important;font-size:13px!important;line-height:1.7!important}
body .refined-orders .record-receiver dt{font-size:12px!important;color:#87909e!important}
body .refined-orders .record-receiver dd,body .refined-orders .record-product{font-size:13px!important}
body .refined-orders .record-price{font-size:20px!important;font-weight:600!important;margin-top:12px!important}
body .refined-orders .record-status{font-size:12px!important;color:#626c7b!important}
body .refined-orders .record-actions .el-button{font-size:12px!important;height:36px!important}
@media(max-width:1200px){body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body .refined-orders .compact-order-filters.graphite-search-panel{padding:16px!important}body .refined-orders .compact-order-filters .order-quick-fields{grid-template-columns:minmax(0,1fr)!important}body .graphite-filter-heading{display:block}body .graphite-filter-heading span{display:block;margin-top:5px}body .refined-orders .graphite-order-toolbar{align-items:flex-start;flex-direction:column}}
.site-navbar__brand-lg::after{content:"COMMERCE WORKSPACE";display:block;font-size:8px;line-height:14px;letter-spacing:1.5px;font-weight:400;opacity:.55}.site-navbar__brand-lg{white-space:normal!important}
/* Unified order search: same retained graphite layout, three aligned cells. */
body .refined-orders .compact-order-filters .order-quick-fields.order-unified-fields{grid-template-columns:minmax(260px,1.3fr) minmax(320px,1fr) auto!important}
.refined-orders .order-unified-fields .el-form-item:last-child{white-space:nowrap}
body .site-wrapper:has(.order-unified-fields){min-width:0!important}
@media(max-width:1200px){body .refined-orders .compact-order-filters .order-quick-fields.order-unified-fields{grid-template-columns:minmax(0,1fr)!important}}
/* Retained graphite navigation: flat item alignment and restrained count chips. */
body .site-sidebar,body .site-sidebar__inner,body .site-sidebar .el-menu,body .site-navbar__header{background:#22262e!important}
body .site-sidebar__menu:not(.el-menu--collapse){padding:18px 14px 30px!important}
body .site-sidebar__menu:not(.el-menu--collapse)>.el-submenu{margin-top:24px!important}
body .site-sidebar__menu:not(.el-menu--collapse)>.el-submenu>.el-submenu__title{height:32px!important;line-height:32px!important;padding:0 12px!important;font-size:11px!important;letter-spacing:1px;color:#a2a9b5!important}
body .site-sidebar__menu:not(.el-menu--collapse)>.el-submenu>.el-submenu__title>.site-sidebar__menu-icon{display:none!important}
body .site-sidebar__menu:not(.el-menu--collapse) .el-menu-item{display:flex!important;align-items:center;gap:10px;padding:0 12px!important;min-width:0!important;height:42px!important;line-height:42px!important;color:#aeb4bf!important}
body .site-sidebar .el-menu-item>.site-sidebar__menu-icon{display:none!important}
body .site-sidebar .graphite-nav-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body .site-sidebar .el-menu-item.is-active{background:#373d49!important;color:#fff!important;box-shadow:inset 2px 0 #9bafd9!important}
body .site-sidebar .el-menu-item:hover{background:#313640!important;color:#fff!important}
body .site-sidebar__menu:not(.el-menu--collapse) .el-menu-item>.el-badge{margin-left:auto!important;line-height:1;flex-shrink:0}
body .site-sidebar .el-badge__content{position:static!important;transform:none!important;background:#46516a!important;color:#e1e7ff!important;border:0!important;border-radius:4px!important;font-size:11px!important;min-width:20px;height:18px;line-height:18px;padding:0 6px!important}
body .site-sidebar .el-menu--collapse .graphite-nav-icon{margin-left:0}
body .site-navbar__brand-lg:has(.graphite-brand-caption)::after{display:none!important}
/* Filled buttons across admin pages, dialogs and shared table actions. */
body .el-button.el-button{background:#e8edf5!important;border-color:#d6dfec!important;color:#34445d!important}
body .el-button.el-button:hover,body .el-button.el-button:focus{background:#dce5f2!important;border-color:#bacbe3!important;color:#233956!important}
body .el-button.el-button--primary{background:#4265db!important;border-color:#4265db!important;color:#fff!important}
body .el-button.el-button--primary:hover{background:#3454ba!important;border-color:#3454ba!important}
body .el-button.el-button--text{background:#e8edff!important;border:1px solid #d8e1ff!important;color:#3555bd!important;padding:6px 8px!important;border-radius:5px;line-height:1.3;vertical-align:middle}
body .el-button.el-button--text:hover{background:#d9e3ff!important;border-color:#b9cafa!important}
body .el-button.el-button--success{background:#228364!important;border-color:#228364!important;color:#fff!important}
body .el-button.el-button--warning{background:#ab6b16!important;border-color:#ab6b16!important;color:#fff!important}
body .el-button.el-button--danger{background:#c64850!important;border-color:#c64850!important;color:#fff!important}
body .el-button.el-button--info{background:#66758b!important;border-color:#66758b!important;color:#fff!important}
body .el-button.el-button.is-disabled,body .el-button.el-button.is-disabled:hover,body .el-button.el-button[disabled]{background:#e9ecf1!important;border-color:#e0e4eb!important;color:#9ba4b2!important;opacity:1;cursor:not-allowed;box-shadow:none!important}
body .el-table .el-button.el-button--text{padding:4px 5px!important;font-size:12px;margin:3px 2px!important}
body .el-button.el-button:focus-visible{outline:2px solid #4265db;outline-offset:3px}
body .order-owner-field{max-width:360px;margin-top:12px}
body .order-owner-field .el-form-item{margin-bottom:12px}
body .order-status-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
body .order-status-summary .el-button{margin:0!important;min-width:140px;padding:14px 20px!important;text-align:left}
body .order-status-summary strong{font-size:22px;margin-left:16px;font-variant-numeric:tabular-nums}
body .order-status-summary>span{font-size:12px;color:#737f91}
body .order-status-summary .el-button.is-selected{background:#4265db!important;border-color:#4265db!important;color:white!important}
/* Element moves collapsed submenus to body; icon styling must survive that move. */
body .graphite-nav-icon{width:16px!important;height:16px!important;min-width:16px;max-width:16px;flex:0 0 16px;fill:none!important;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle;pointer-events:none}
body .el-menu--popup .el-menu-item:has(>.graphite-nav-icon){display:flex;align-items:center;gap:10px;min-width:190px;height:42px;line-height:42px;padding:0 16px!important}
body .el-menu--popup .el-menu-item:has(>.graphite-nav-icon)>.site-sidebar__menu-icon{display:none!important}
body .el-menu--popup .el-menu-item:has(>.graphite-nav-icon)>.el-badge{margin-left:auto;line-height:1;flex-shrink:0}
body .el-menu--popup .el-menu-item:has(>.graphite-nav-icon) .el-badge__content{position:static!important;transform:none!important;background:#46516a;color:#fff;border:0;border-radius:4px;min-width:20px;height:18px;line-height:18px;padding:0 6px}
/* Approved centered login; original Vue authentication form remains intact. */
body .site-wrapper.site-page--login{position:relative!important;inset:auto!important;min-width:0!important;min-height:100vh;background:radial-gradient(ellipse at 50% 30%,#fff,transparent 65%),#f1f2f4!important;overflow:auto!important}
body .site-wrapper.site-page--login:before{display:none!important}
body .site-page--login .site-content__wrapper{position:relative!important;inset:auto!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
body .site-page--login .site-content{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:100vh!important;width:100%!important;margin:0!important;padding:40px 20px!important;background:transparent!important}
body .site-page--login .brand-info{margin:0 0 30px!important;text-align:center;color:#252a33!important}
body .site-page--login .brand-info .content{display:none}
body .site-page--login .brand-info:before{content:'森燚COD';display:block;font-size:52px;font-weight:800;letter-spacing:-2px;line-height:1.25}
body .site-page--login .brand-info:after{content:'COMMERCE WORKSPACE';display:block;margin-top:12px;font-size:10px;letter-spacing:4px;color:#8a8d95}
body .site-page--login .login-main{position:relative!important;inset:auto!important;box-sizing:border-box;width:440px!important;max-width:100%;min-height:0!important;padding:34px 36px 28px!important;border:1px solid #e1e3e8;border-radius:16px;background:#fff!important;box-shadow:0 18px 65px #2732440b}
body .site-page--login .login-title{margin:0 70px 28px 0!important;font-size:0!important;min-height:54px}
body .site-page--login .login-title:before{content:'登录工作台';display:block;font-size:19px;font-weight:600;color:#252a33;line-height:27px}
body .site-page--login .login-title:after{content:'欢迎回来，开启今天的工作';display:block;font-size:12px;font-weight:400;color:#979aa2;line-height:20px;margin-top:8px}
body .site-page--login .login-main:before{content:'順';position:absolute;right:36px;top:34px;box-sizing:border-box;width:54px;height:54px;border:1px solid #a6604e;border-radius:7px;color:#a6604e;display:grid;place-items:center;font:33px 'KaiTi','STKaiti',serif;transform:rotate(-4deg)}
body .site-page--login .login-main:after{content:'老爺保號';display:block;text-align:center;color:#795e4c;font:20px 'KaiTi','STKaiti',serif;letter-spacing:7px;margin-top:30px}
body .site-page--login .site-content:after{content:'森燚COD · 管理后台';display:block;color:#a0a4ac;font-size:10px;letter-spacing:1px;margin-top:24px}
body .site-page--login .el-form-item{margin-bottom:20px}
body .site-page--login .el-form-item:nth-child(1):before,body .site-page--login .el-form-item:nth-child(2):before{display:block;font-size:12px;color:#737b88;line-height:18px;margin-bottom:9px}
body .site-page--login .el-form-item:nth-child(1):before{content:'账号'}body .site-page--login .el-form-item:nth-child(2):before{content:'密码'}
body .site-page--login .el-input__inner{height:48px!important;background:#fafbfc!important;border:1px solid #dce0e7!important;border-radius:7px!important;color:#303744!important;padding:0 14px!important;font-size:14px!important}
body .site-page--login .el-input__inner:focus{border-color:#7a89a9!important;box-shadow:0 0 0 3px #7587aa12}
body .site-page--login .el-form-item__label{font-size:12px;color:#737b88}
body .site-page--login .el-switch.is-checked .el-switch__core{background:#343b49;border-color:#343b49}
body .site-page--login .el-button.login-btn-submit{width:100%;height:48px!important;margin-top:5px!important;padding:0!important;background:#303640!important;border-color:#303640!important;color:#fff!important;border-radius:7px;letter-spacing:5px}
body .site-page--login .el-button.login-btn-submit:hover{background:#434c5c!important}
body .site-page--login .el-form-item:last-child{margin-bottom:0}
@media(max-width:480px){body .site-page--login .site-content{padding:24px 20px!important}body .site-page--login .login-main{padding:28px!important}body .site-page--login .login-main:before{right:28px;top:28px}body .site-page--login .brand-info:before{font-size:44px}}

/* Sidebar blessing: follows menu flow, never covers navigation or popups. */
body .site-sidebar__menu:after{content:'老爺保號　順';display:block;box-sizing:border-box;margin:28px 0 4px;padding:23px 0 12px;border-top:1px solid #ffffff16;text-align:center;white-space:nowrap;color:#d2b499;font:20px/1.8 'KaiTi','STKaiti',serif;letter-spacing:2px;pointer-events:none}
body .site-sidebar__menu.el-menu--collapse:after{content:'順';margin:20px 8px 8px;padding:6px 0;border:1px solid #b88d73;border-radius:5px;color:#d2b499;font-size:26px;letter-spacing:0}

/* Bottom-aligned blessing, separate from the scrollable menu. */
body .site-sidebar__menu:after{display:none!important}
body .site-sidebar .site-sidebar__inner{height:calc(100% - 116px)!important;box-sizing:border-box;overflow-y:auto!important;overflow-x:hidden!important}
body .site-sidebar:before{content:'老爺保號';position:absolute;left:0;right:0;bottom:77px;text-align:center;color:#d2b499;font:20px/28px 'KaiTi','STKaiti',serif;letter-spacing:4px;pointer-events:none}
body .site-sidebar:after{content:'順';position:absolute;left:50%;bottom:20px;transform:translateX(-50%);display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;border:1px solid #b88d73;border-radius:5px;color:#d2b499;font:29px/1 'KaiTi','STKaiti',serif;pointer-events:none}
body .site-sidebar:has(.el-menu--collapse):before{display:none}
body .site-sidebar:has(.el-menu--collapse) .site-sidebar__inner{height:calc(100% - 80px)!important}

/* Approved larger sidebar typography. */
body .site-sidebar .el-menu-item{font-size:15px!important;font-weight:600!important;height:44px!important;line-height:44px!important}
body .site-sidebar__menu:not(.el-menu--collapse)>.el-submenu>.el-submenu__title{font-size:13px!important;font-weight:600!important}
body .site-sidebar:before{font-size:24px;font-weight:700;bottom:85px}
body .site-sidebar:after{width:50px;height:50px;font-size:34px;font-weight:700}
body .site-sidebar .site-sidebar__inner{height:calc(100% - 126px)!important}
body .site-sidebar:has(.el-menu--collapse) .site-sidebar__inner{height:calc(100% - 80px)!important}
