/* 骑迹多多 · 管理后台与摄影师工作台公共视觉规范 */
:root {
  --el-color-primary: #c75b24;
  --el-color-primary-light-3: #d98c65;
  --el-color-primary-light-5: #e3ad91;
  --el-color-primary-light-7: #efd1bf;
  --el-color-primary-light-8: #f4e0d5;
  --el-color-primary-light-9: #fbf1eb;
  --el-color-primary-dark-2: #a3471b;
  --el-text-color-primary: #242933;
  --el-text-color-regular: #505865;
  --el-text-color-secondary: #707885;
  --el-border-color: #e0e3e8;
  --el-border-color-light: #e9ebef;
  --el-border-color-lighter: #eff0f3;
  --el-fill-color-light: #f7f8fa;
  --el-border-radius-base: 8px;
  --el-font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --qj-bg: #f6f5f2;
  --qj-ink: #242933;
  --qj-muted: #707885;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--el-font-family); background: var(--qj-bg); color: var(--qj-ink); font-size: 14px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font-family: inherit; }
button:focus-visible, a:focus-visible, .qj-upload:focus-visible { outline: 3px solid #c75b2460; outline-offset: 3px; }
#app { min-height: 100vh; }
.el-container, .el-main { min-width: 0; }
.qj-layout { height: 100vh; height: 100dvh; overflow: hidden; }
.qj-aside { background: #20242d; overflow-y: auto; flex-shrink: 0; scrollbar-width: thin; scrollbar-color: #454c58 transparent; }
.qj-aside .el-menu { border-right: none; background: transparent; padding: 8px 12px 24px; --el-menu-item-height: 46px; --el-menu-sub-item-height: 42px; }
.qj-aside .el-menu-item, .qj-aside .el-sub-menu__title { margin-bottom: 4px; border-radius: 8px; color: #c5cad4; }
.qj-aside .el-sub-menu .el-menu { padding: 0; }
.qj-aside .el-sub-menu__title:hover, .qj-aside .el-menu-item:hover { background: #2c323e !important; }
.qj-aside .el-menu-item.is-active { color: #ffbb8f !important; background: #3c302a !important; box-shadow: inset 3px 0 #e99158; }
.qj-logo { color: #fff5ed; font-size: 20px; font-weight: 700; padding: 28px 26px 22px; letter-spacing: 1px; }
.qj-logo small { display: block; color: #a9b0bd; font-size: 11px; font-weight: 400; margin-top: 6px; letter-spacing: 2px; }
.qj-nav-caption { padding: 0 26px 8px; font-size: 11px; color: #949dac; letter-spacing: 2px; }
.qj-workspace { min-height: 0; }
.qj-header { background: #ffffffef; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #e8e9eb; padding: 0 28px; height: 68px; flex-shrink: 0; }
.qj-header-left, .qj-header-right { display: flex; align-items: center; gap: 16px; min-width: 0; }
.qj-header-left { flex: 1; }
.qj-breadcrumb { font-size: 13px; color: var(--qj-muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.qj-breadcrumb b { margin-left: 10px; font-weight: 500; color: var(--qj-ink); }
.qj-account { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; max-width: 220px; }
.qj-account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qj-account-avatar { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: #fbf1eb; border-radius: 50%; color: #a3471b; flex-shrink: 0; }
.qj-menu-toggle.el-button { display: none; padding: 8px; margin: 0; }
.qj-main { background: var(--qj-bg); padding: 28px; min-height: 0; }
.qj-content { max-width: 1560px; margin: 0 auto; }
.qj-page-heading { margin-bottom: 24px; }
.qj-page-heading h1 { margin: 0 0 6px; font-size: 25px; font-weight: 650; line-height: 1.4; letter-spacing: -.5px; }
.qj-page-heading p { color: var(--qj-muted); font-size: 13px; margin: 0; }
.el-card { --el-card-border-radius: 12px; border-color: #e8e7e4; box-shadow: 0 2px 8px #20242d03 !important; }
.el-card__body { padding: 24px; }
.qj-card { margin-bottom: 20px; }
.qj-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid #eff0f3; }
.qj-toolbar .el-input, .qj-toolbar .el-select { width: 190px; max-width: 100%; }
.qj-toolbar > .el-button + .el-button { margin-left: 0; }
.qj-toolbar .el-date-editor { max-width: 100%; }
.qj-pager { margin-top: 24px; justify-content: flex-end; gap: 6px; }
.qj-title { font-weight: 600; font-size: 16px; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.qj-tip { font-size: 12px; color: var(--qj-muted); line-height: 1.8; margin-top: 6px; overflow-wrap: anywhere; }
.el-table { --el-table-header-bg-color: #f7f8fa; --el-table-row-hover-bg-color: #fffbf7; --el-table-header-text-color: #6b7380; font-variant-numeric: tabular-nums; }
.el-table th.el-table__cell { padding: 13px 0; font-size: 12px; font-weight: 500; }
.el-table td.el-table__cell { padding: 14px 0; }
.el-table .cell { line-height: 1.65; overflow-wrap: anywhere; }
.el-table__empty-block { min-height: 150px; }
.el-table .el-button.is-link { min-height: 28px; }
.el-form-item { margin-bottom: 22px; }
.el-form-item__label { color: #505865; }
.el-radio-group, .el-checkbox-group { flex-wrap: wrap; }
.el-descriptions__table { overflow-wrap: anywhere; }
.el-dialog { max-width: calc(100vw - 32px); border-radius: 14px; padding: 24px; }
.el-dialog__title, .el-drawer__title { font-weight: 600; font-size: 17px; }
.el-dialog__header { padding-bottom: 20px; border-bottom: 1px solid #eff0f3; margin-bottom: 20px; }
.el-dialog__footer { padding-top: 20px; }
.el-dialog__body { overflow-wrap: anywhere; }
.el-drawer { max-width: 100vw; }
.el-drawer__header { border-bottom: 1px solid #eff0f3; padding-bottom: 20px; margin-bottom: 0; }
.el-message-box { max-width: calc(100vw - 32px); }
.el-popover.el-popper { max-width: calc(100vw - 24px); }
.qj-mobile-nav.el-drawer { background: #20242d; max-width: 86vw; }
.qj-mobile-nav .el-drawer__header { color: #fff5ed; border: 0; padding-bottom: 0; }
.qj-mobile-nav .el-drawer__body { padding: 0; }
.qj-mobile-nav .qj-aside { width: 100% !important; }
.qj-upload { border: 1px dashed #cbd0d9; border-radius: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; overflow: hidden; background: #fafbfc; max-width: 100%; }
.qj-upload:hover, .qj-upload:focus-visible { border-color: var(--el-color-primary); background: #fffbf7; }
.qj-upload img { width: 100%; height: 100%; object-fit: cover; }
.qj-upload-plus { font-size: 28px; color: #8a94a3; }
.qj-login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; padding: 56px max(6vw, 24px); background: radial-gradient(ellipse at 20% 10%, #4b3325 0, transparent 55%), #20242d; }
.qj-login-intro { max-width: 620px; justify-self: center; color: #fff5ed; }
.qj-login-brand { margin-bottom: 60px; font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.qj-login-eyebrow { color: #efb58f; font-size: 12px; letter-spacing: 3px; }
.qj-login-intro h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.4; margin: 20px 0; font-weight: 600; letter-spacing: -1px; }
.qj-login-intro p { color: #babfc9; line-height: 2; max-width: 430px; }
.qj-login-pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.qj-login-pills span { padding: 7px 14px; border: 1px solid #555764; border-radius: 30px; font-size: 12px; color: #d2d5dc; }
.qj-login-box { width: 100%; background: #fff; border-radius: 20px; padding: 38px 34px; box-shadow: 0 24px 72px #0003; }
.qj-login-title { font-size: 25px; font-weight: 650; margin-bottom: 8px; }
.qj-login-sub { font-size: 13px; color: var(--qj-muted); margin-bottom: 28px; }
.qj-login-help { font-size: 12px; line-height: 1.8; color: var(--qj-muted); border-top: 1px solid #eff0f3; margin-top: 24px; padding-top: 18px; }
.qj-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.qj-stat { background: #fff; border: 1px solid #e8e7e4; border-radius: 12px; padding: 22px; min-width: 0; }
.qj-stat .num { font-size: clamp(23px, 2vw, 31px); line-height: 1.4; font-weight: 650; color: var(--qj-ink); margin-top: 12px; overflow-wrap: anywhere; }
.qj-today-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qj-stat .label { font-size: 13px; color: var(--qj-muted); }
.qj-stat.orange { background: #fffbf7; border-color: #ead2c2; }
.qj-stat.orange .num { color: var(--qj-ink); }
.qj-stat-foot { margin-top: 10px; color: var(--qj-muted); font-size: 12px; }
.qj-dashboard-bottom { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.qj-task-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #eff0f3; color: #505865; }
.qj-task-row:last-child { border-bottom: 0; }
.qj-task-row .el-link { flex-shrink: 0; }
.qj-section-label { font-size: 14px; font-weight: 600; margin: 24px 0 14px; }
.qj-error { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px 18px; margin-bottom: 18px; border: 1px solid #f3d4cf; background: #fff7f5; color: #a63829; border-radius: 10px; font-size: 13px; }
.qj-thumb { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: #f0f1f4; flex-shrink: 0; }
.qj-grid-img { display: flex; flex-wrap: wrap; gap: 10px; }
.qj-grid-img .el-image { width: 120px; height: 90px; border-radius: 8px; }
.text-orange { color: var(--el-color-primary); }
.text-gray { color: var(--qj-muted); }
.text-red { color: #c43d3d; }
.text-green { color: #25815a; }
.mono { font-family: Consolas, monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.qj-badge { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; background: #bd5145; color: #fff; font-size: 11px; line-height: 18px; text-align: center; margin-left: 6px; }
pre.qj-json { background: #f7f8fa; padding: 14px; border-radius: 8px; max-height: 300px; overflow: auto; font-size: 12px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.qj-suggest-item { padding: 12px 14px; border-bottom: 1px solid #eff0f3; cursor: pointer; transition: background .15s; }
.qj-suggest-item:last-child { border-bottom: none; }
.qj-suggest-item:hover { background: #fffbf7; }
.qj-suggest-title { font-size: 14px; color: var(--qj-ink); font-weight: 500; }
.qj-suggest-sub { font-size: 12px; color: var(--qj-muted); margin-top: 4px; }
.qj-setting-tabs.el-tabs--left > .el-tabs__header { width: 175px; margin-right: 32px; }
.qj-setting-tabs .el-tabs__item { justify-content: flex-start; height: 44px; }
.qj-setting-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eff0f3; }
.qj-setting-actions .el-button + .el-button { margin-left: 0; }
@media (max-width: 1200px) {
  .qj-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qj-dashboard-bottom { grid-template-columns: minmax(0, 1fr); }
  .qj-login { gap: 40px; grid-template-columns: minmax(0, 1fr) 390px; }
}
@media (max-width: 900px) {
  .qj-layout > .qj-aside { display: none; }
  .qj-menu-toggle.el-button { display: inline-flex; }
  .qj-header { padding: 0 20px; }
  .qj-main { padding: 22px; }
  .qj-login { grid-template-columns: minmax(0, 420px); justify-content: center; padding: 32px 20px; gap: 28px; }
  .qj-login-intro { width: 100%; }
  .qj-login-brand { margin: 0; }
  .qj-login-eyebrow, .qj-login-intro h1, .qj-login-intro p, .qj-login-pills { display: none; }
}
@media (max-width: 600px) {
  .qj-header { height: 60px; padding: 0 12px; gap: 8px; }
  .qj-header-left, .qj-header-right { gap: 8px; }
  .qj-header-link, .qj-breadcrumb > span { display: none; }
  .qj-breadcrumb b { margin: 0; }
  .qj-account-avatar { display: none; }
  .qj-account { max-width: 100px; }
  .qj-main { padding: 18px 12px; }
  .qj-page-heading h1 { font-size: 22px; }
  .qj-page-heading { margin-bottom: 18px; }
  .el-card__body { padding: 16px; }
  .qj-toolbar { gap: 10px; margin-bottom: 16px; padding-bottom: 16px; }
  .qj-toolbar .el-input, .qj-toolbar .el-select { width: calc(50% - 5px); min-width: 125px; flex-grow: 1; }
  .qj-toolbar .el-date-editor { width: 100% !important; }
  .qj-pager { justify-content: center; }
  .qj-pager .el-pagination__sizes, .qj-pager .el-pagination__jump { display: none; }
  .qj-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .qj-stat { padding: 16px; }
  .qj-stat .num { font-size: 23px; }
  .qj-stat .label { font-size: 12px; }
  .el-dialog { max-width: calc(100vw - 20px); padding: 18px; --el-dialog-margin-top: 6vh; }
  .el-dialog .el-form-item__label { float: none; display: block; width: 100% !important; text-align: left; justify-content: flex-start; line-height: 28px; height: auto; }
  .el-dialog .el-form-item { display: block; }
  .el-dialog .el-form-item__content { margin-left: 0 !important; }
  .el-dialog .el-descriptions__cell { min-width: 0; }
  .qj-login-box { padding: 30px 24px; }
  .qj-setting-tabs.el-tabs--left > .el-tabs__header { width: 100%; margin-right: 0; }
  .qj-setting-form .el-form-item { display: block; }
  .qj-setting-form .el-form-item__label { display: block; width: auto !important; text-align: left; line-height: 30px; height: auto; }
  .qj-setting-form .el-form-item__content { margin-left: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
