
.merchant-shell { --merchant-rail:224px; --el-color-primary:#375840; height:100vh; background:#f7f8f6; color:#232722; }
.merchant-shell .right-content { margin:0 0 0 var(--merchant-rail); display:flex; flex-direction:column; min-width:0; }
.merchant-shell .common-header { height:56px; line-height:56px; flex:none; border-color:#e9eae7; padding-left:24px; }
.merchant-shell .common-header .header-navbar { position:static; flex:none; }
.merchant-shell .common-header .baseInfo-left-base { min-width:0; overflow:hidden; }
.merchant-shell .common-header .el-tabs-container { min-width:0; }
.merchant-shell .right-content-box { flex:1; min-height:0; max-height:none; }
.merchant-shell .subject-wrap { min-height:100%; }
.merchant-shell .subject-wrap > div { margin:20px; padding:20px; border:1px solid #eceee9; border-radius:12px; }
.merchant-shell .el-table { --el-table-header-bg-color:#f6f7f4; --el-table-header-text-color:#424941; --el-table-row-hover-bg-color:#f7f8f5; }
.merchant-shell .el-table th.el-table__cell { background:#f6f7f4; }
.merchant-shell .el-button,.merchant-shell .el-input__wrapper,.merchant-shell .el-select__wrapper { border-radius:7px; }
@media(max-width:768px) {
  .merchant-shell .right-content { margin-left:0; }
  .merchant-shell .common-header { padding-left:12px; }
  .merchant-shell .subject-wrap > div { margin:10px; padding:12px; }
}


.merchant-sidebar { position:fixed; inset:0 auto 0 0; width:var(--merchant-rail); z-index:199; display:flex; flex-direction:column; background:#fff; border-right:1px solid #e9eae7; color:#232722; }
.merchant-brand { display:flex; align-items:center; gap:12px; padding:24px 18px 22px; min-height:88px; border-bottom:1px solid #eff0ed; }
.merchant-brand img,.merchant-mark { width:38px; height:38px; border-radius:10px; flex:none; object-fit:contain; }
.merchant-mark { display:grid; place-items:center; background:#29372d; color:white; font-weight:600; }
.merchant-brand-copy { min-width:0; display:grid; gap:4px; }
.merchant-brand-copy strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
.merchant-brand-copy span,.merchant-nav-caption,.merchant-section-label { color:#737972; font-size:11px; }
.merchant-nav { padding:12px; overflow:auto; }
.merchant-nav-caption { padding:16px 12px 8px; }
.merchant-nav-item,.merchant-nav-link { display:flex; align-items:center; gap:10px; width:100%; box-sizing:border-box; min-height:42px; border:0; border-radius:8px; padding:9px 12px; text-align:left; color:#414740; font:inherit; font-size:13px; text-decoration:none; background:transparent; cursor:pointer; }
.merchant-nav-item .iconfont { width:18px; text-align:center; }
.merchant-nav-item:hover,.merchant-nav-link:hover { background:#f5f6f3; }
.merchant-nav-item.is-active,.merchant-nav-link.is-current { color:#263c2b; background:#edf2ed; font-weight:600; }
.merchant-nav-end { margin-left:auto; color:#727972; }
.merchant-subnav { margin:4px 0 8px 19px; padding-left:7px; border-left:1px solid #e8ebe6; }
.merchant-subsection + .merchant-subsection { margin-top:8px; }
.merchant-section-label { padding:7px 12px 4px; }
.merchant-nav-link { min-height:34px; font-size:12px; overflow-wrap:anywhere; }
.merchant-settings { border-top:1px solid #eff0ed; padding-top:10px; margin-top:12px; }
.merchant-close,.merchant-scrim { display:none; }
@media(max-width:768px) {
  .merchant-sidebar { width:min(82vw,288px); transform:translateX(-100%); visibility:hidden; transition:transform .2s,visibility .2s; }
  .merchant-sidebar.is-open { transform:translateX(0); visibility:visible; }
  .merchant-scrim { display:block; position:fixed; inset:0; width:100%; border:0; background:#19211d55; z-index:198; }
  .merchant-close { display:block; margin-left:auto; border:0; border-radius:8px; background:#f3f4f1; font-size:22px; width:34px; height:34px; cursor:pointer; }
}


.workbench { padding:clamp(18px,3vw,40px); }
.workbench-intro { margin:0 0 26px; }
.workbench-intro p { margin:0; color:#6d756c; font-size:13px; }
.workbench h1 { margin:10px 0; color:#222820; font-size:clamp(25px,3vw,34px); font-weight:650; }
.workbench-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:14px; }
.workbench-card { position:relative; min-height:148px; border:1px solid #e6e9e3; border-radius:12px; padding:18px; color:#252b24; background:#fff; text-decoration:none; transition:border-color .15s, background .15s; }
.workbench-card:hover { border-color:#a6b7a6; background:#fafcf9; }
.workbench-card .iconfont { display:grid; place-items:center; width:36px; height:36px; border-radius:8px; color:#375840; background:#eef3ed; }
.workbench-card h2 { margin:13px 0 6px; font-size:16px; }
.workbench-card p { margin:0; color:#687067; font-size:12px; line-height:1.6; }
.workbench-arrow { position:absolute; top:22px; right:18px; color:#687067; }
@media(max-width:520px) { .workbench-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .workbench-card { padding:13px; min-height:120px; } .workbench-arrow { right:12px; top:17px; } }

.merchant-subnav[hidden]{display:none}
