:root{color:#111827;background:#f3f4f6;font-family:Inter,Microsoft YaHei,PingFang SC,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}html,body,#app{height:100%}body{margin:0;overflow:hidden}a{color:inherit;text-decoration:none}.app-layout{background:#f3f4f6;height:100vh;overflow:hidden}.app-aside{background:#fff;border-right:1px solid #e5e7eb;flex-direction:column;height:100vh;padding:20px 12px;display:flex;overflow:hidden}.app-content-shell{min-width:0;height:100vh;overflow:hidden}.brand{align-items:center;gap:12px;margin-bottom:32px;display:flex}.brand-mark{color:#fff;background:#111827;border-radius:8px;place-items:center;width:40px;height:40px;font-weight:700;display:grid}.brand h1,.topbar h2,.panel h3,.dialog h3{margin:0}.brand h1{font-size:18px}.brand p,.eyebrow,.hint{color:#6b7280;margin:4px 0 0;font-size:12px}.side-menu{border-right:0;flex:1;min-height:0;overflow:hidden auto}.side-menu .el-menu-item,.side-menu .el-sub-menu__title{border-radius:8px;margin:4px 0}.side-menu .el-menu-item.is-active{color:#0f766e;background:#e6fffb;font-weight:600}.side-menu .el-sub-menu.is-active>.el-sub-menu__title{color:#0f766e;font-weight:600}.app-header{background:#fff;border-bottom:1px solid #e5e7eb;flex:0 0 64px;justify-content:space-between;align-items:center;height:64px;padding:0 24px;display:flex}.app-main{min-width:0;height:calc(100vh - 64px);min-height:0;padding:24px;overflow:hidden auto}.topbar,.panel-title,.dialog-title,.actions,.pagination{justify-content:space-between;align-items:center;gap:12px;display:flex}.header-title{align-items:center;gap:12px;display:flex}.header-title p{color:#6b7280;margin:0;font-size:12px}.header-title h2{color:#111827;margin:2px 0 0;font-size:18px}.user-menu-button{color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:999px;align-items:center;gap:8px;height:40px;padding:0 12px 0 4px;display:inline-flex}.user-menu-button:hover{background:#f9fafb}.user-avatar{background:#0f766e;margin-right:10px}.alert{border-radius:6px;margin-bottom:16px;padding:12px 16px}.alert.success{color:#047857;background:#ecfdf5}.alert.danger{color:#b91c1c;background:#fef2f2}.view-stack{gap:16px;display:grid}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.metric,.panel,.dialog{background:#fff;border:1px solid #e5e7eb;border-radius:8px}.metric{padding:16px}.metric span{color:#6b7280;font-size:12px}.metric strong{margin-top:8px;font-size:24px;display:block}.panel{padding:20px}.narrow{max-width:760px}.detail-list dt{color:#374151;font-size:12px}small{color:#6b7280;margin-top:4px;display:block}.status{white-space:nowrap;border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-size:12px;display:inline-flex}.status.success{color:#047857;background:#ecfdf5}.status.danger{color:#b91c1c;background:#fef2f2}.status.active{color:#1d4ed8;background:#eff6ff}.status.muted{color:#4b5563;background:#f3f4f6}.empty{text-align:center;color:#6b7280;background:#f9fafb;border-radius:6px;padding:32px}.error-cell{color:#b91c1c;word-break:break-word;max-width:280px}.pagination{justify-content:flex-end;margin-top:16px;display:flex}.actions.end{justify-content:flex-end;margin-top:20px}.detail-list{grid-template-columns:120px minmax(0,1fr);gap:12px;margin:20px 0 0;display:grid}.detail-list dd{word-break:break-word;margin:0}.order-main-cell{flex-direction:column;gap:4px;display:flex}.child-muted{color:#6b7280}.overdue-order-id{color:var(--el-color-danger);font-weight:700}.toolbar-right{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.order-filter-row{margin-bottom:16px}.order-filter-form{margin-bottom:12px}.order-summary{border:1px solid var(--el-color-success-light-7);background:var(--el-color-success-light-9);color:#111827;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px;padding:10px 12px;line-height:1.6;display:flex}.order-summary strong{font-weight:700}.order-summary-section{color:#374151;font-weight:600}.warehouse-summary-item{align-items:baseline;gap:2px;display:inline-flex}.warehouse-summary-name{color:var(--el-color-primary);font-weight:700}.order-summary-muted{color:#6b7280}.order-filter-form .el-form-item{margin-bottom:12px;margin-right:16px}.order-filter-form .el-input,.order-filter-form .el-select{width:180px}.order-filter-form .el-date-editor{width:360px}.filter-actions{gap:8px;margin-bottom:16px}.dialog-footer-row{gap:8px;margin-top:20px}.full-width{width:100%}.el-dialog__headerbtn{color:var(--el-color-info)!important;background:0 0!important;border:0!important;min-height:auto!important;padding:0!important}.el-dialog__headerbtn:hover{color:var(--el-color-primary)!important;background:0 0!important}@media (width<=980px){.app-aside{display:none}.order-filter-form .el-form-item,.order-filter-form .el-input,.order-filter-form .el-select,.order-filter-form .el-date-editor{width:100%}.metric-grid{grid-template-columns:1fr}.panel-title,.actions,.pagination{flex-direction:column;align-items:stretch}}.login-page{background:#f3f4f6;place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{border-radius:8px;width:min(420px,100%)}.login-brand{align-items:center;gap:12px;margin-bottom:24px;display:flex}.login-brand h1{margin:0;font-size:20px}.login-brand p{color:#6b7280;margin:4px 0 0}.full-button{width:100%}.profile-form{margin-top:20px}
