@charset "UTF-8";
/* Compact red console theme. Load after styles.css. */
:root {
  --bg: #fff0f0;
  --surface: #fffafa;
  --ink: #332626;
  --subtle: #806f6f;
  --line: #dfb9b9;
  --blue: #a00000;
  --blue-hover: #800000;
  --blue-soft: #fff0f0;
  --navy: #a00000;
  --red: #b00000;
  --radius: 0;
  --shadow: none;
}
html { max-width: 100%; }
body { max-width: 100%; overflow-x: hidden; background: #fff0f0; color: #332626; font: 12px/1.5 Arial, "Microsoft YaHei", "SimSun", sans-serif; }
body.sidebar-open::after { display: none; }
button, input, select, textarea { font-size: 12px; }
button, a, input, select, textarea { box-shadow: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #c56e6e; outline-offset: 2px; }
a { color: #980000; }
a:hover { color: #660000; text-decoration: underline; }
h1, h2, h3, h4 { color: #710000; }
h1 { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.5; margin: 0; }
h2, h3 { font-size: 12px; }
.muted, .cell-sub { color: #8b7474; }
.app-shell, .workspace { min-height: 100vh; width: 100%; min-width: 0; }
.workspace { margin-left: 0; padding-top: 70px; }
.topbar {
  position: fixed; z-index: 45; inset: 0 0 auto; width: 100%; height: 30px;
  min-height: 30px; padding: 0 12px; gap: 10px; background: #a00000;
  border-bottom: 1px solid #be3131; color: #fff; box-shadow: none;
}
.breadcrumbs { min-width: 0; gap: 7px; font-size: 12px; color: #ffe4e4; white-space: nowrap; }
.breadcrumbs strong, .breadcrumbs > span:last-child { color: #fff; font-size: 12px; font-weight: 400; }
.breadcrumb-slash { color: #dda3a3; }
.topbar-actions { flex-shrink: 0; gap: 12px; font-size: 12px; }
.topbar-actions .avatar, .topbar-divider, .topbar-user small { display: none; }
.topbar-user { display: flex; flex-direction: row; gap: 0; margin: 0; align-items: center; color: white; }
.topbar-user::before { content: "账号："; color: #ffe3e3; }
.topbar-user strong { color: white; font-size: 12px; font-weight: 400; }
.topbar-actions .badge-demo { border: 0; border-radius: 0; padding: 0; color: #ffc6c6; font-size: 11px; background: transparent; }
.topbar-actions .icon-button { width: auto; min-width: 36px; height: 23px; min-height: 23px; padding: 2px 0; color: #fff; border: 0; border-radius: 0; font-size: 12px; }
.topbar-actions .icon-button:hover { color: #fff2ad; background: transparent; text-decoration: underline; }
.topbar-actions [data-action="logout"] svg { display: none; }
.topbar-actions [data-action="logout"]::after { content: "退出"; }
.sidebar {
  position: fixed; z-index: 40; inset: 30px 0 auto; width: 100%; height: 40px;
  padding: 0 10px; display: flex; flex-direction: row; align-items: stretch;
  gap: 9px; background: #a00000; color: white; border-bottom: 1px solid #800000;
  box-shadow: none; transform: none; transition: none; overflow: hidden;
}
.sidebar.open, .sidebar.is-open, body.sidebar-open .sidebar { transform: none; }
.sidebar .brand { flex-shrink: 0; align-items: center; width: 48px; padding: 0; gap: 0; margin: 0; }
.sidebar .brand:hover { text-decoration: none; }
.sidebar .brand-mark { width: 46px; height: 36px; padding: 0; border-radius: 0; color: white; background: transparent; font-family: Arial, sans-serif; font-size: 29px; font-style: italic; font-weight: 900; letter-spacing: -3px; }
.sidebar .brand-copy, .sidebar .brand-copy small, .sidebar-caption, .sidebar-footer { display: none; }
.nav-list { display: flex; flex-direction: row; flex: 1; min-width: 0; align-items: stretch; gap: 1px; margin: 0; padding: 6px 0 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #c13a3a #a00000; }
.nav-item { display: flex; flex-shrink: 0; justify-content: center; align-items: center; width: auto; min-height: 31px; gap: 4px; border: 1px solid transparent; border-bottom: 0; border-radius: 0; padding: 5px 16px; background: transparent; color: white; font-size: 12px; font-weight: 400; white-space: nowrap; transition: none; box-shadow: none; }
.nav-item .nav-icon, .nav-marker { display: none; }
.nav-item:hover { background: #b32121; color: #fff9da; text-decoration: none; }
.nav-item.active { border-color: #f1d396; background: #fff0bd; color: #850000; font-weight: 700; box-shadow: none; }
.mobile-toggle, .icon-button.mobile-toggle, .button.mobile-toggle { display: none !important; }
.page { width: 100%; min-width: 0; max-width: none; margin: 0; padding: 9px 10px 6px; animation: none; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; padding: 4px 0 7px; border-bottom: 1px solid #deb2b2; }
.page-heading .eyebrow { display: none; }
.page-description { margin: 2px 0 0; font-size: 11px; color: #917777; line-height: 1.45; }
.page-actions, .form-actions { gap: 6px; padding-top: 0; }
.button { min-height: 26px; padding: 3px 9px; border: 1px solid #c4a5a5; border-radius: 2px; background: #fff8f8; color: #733c3c; font-size: 12px; font-weight: 400; line-height: 1.45; box-shadow: none; }
.button:hover { background: #ffeded; border-color: #b87777; color: #890000; }
.button.primary { background: #a00000; border-color: #850000; color: #fff; box-shadow: none; }
.button.primary:hover { background: #830000; border-color: #730000; color: #fff; }
.button.secondary { background: #fffafa; }
.button.danger { border-color: #c99797; color: #a00000; background: #fff4f4; }
.button svg { width: 12px; height: 12px; }
.button.small { min-height: 21px; padding: 1px 6px; border-radius: 1px; font-size: 11px; }
.text-button { padding: 1px 0; color: #950000; font-size: 12px; }
.text-button:hover { color: #6c0000; text-decoration: underline; }
.text-warning { color: #a56800; }
.text-success { color: #26833d; }
.icon-button, .button.icon-button { width: 25px; height: 25px; min-height: 25px; padding: 4px; border-radius: 0; color: #9f6262; }
.icon-button:hover { background: #fce7e7; color: #8c0000; }
.icon-button svg { width: 15px; height: 15px; }
.badge, .role-label { padding: 1px 5px; border: 1px solid #e5caca; border-radius: 0; font-size: 11px; font-weight: 400; line-height: 1.4; }
.badge-demo { color: #970000; background: #fff0f0; border-color: #dfb4b4; }
.badge-muted, .role-label { color: #857070; background: #fff7f7; border-color: #e5cccc; }
.badge-success { color: #2d793d; background: #f2fbef; border-color: #cce2c5; }
.badge-warning { color: #916400; background: #fff9df; border-color: #e9dca9; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin-bottom: 8px; }
.stat-card { min-height: 68px; padding: 6px 10px; border: 1px solid #d6aaaa; border-radius: 0; background: #fffafa; box-shadow: none; }
.stat-icon { display: none; }
.stat-label { margin: 0 0 1px; padding: 0; color: #834848; font-size: 12px; }
.stat-value { color: #a00000; font-size: 20px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.stat-value small { font-size: 11px; color: #8d6e6e; font-weight: 400; }
.stat-foot { margin: 2px 0 0; color: #9b8181; font-size: 10px; }
.dashboard-grid { grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 8px; margin-bottom: 8px; }
.bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { margin-bottom: 8px; border: 1px solid #d8aaaa; border-radius: 0; box-shadow: none; background: #fffafa; }
.panel-header { min-height: 30px; padding: 5px 8px; gap: 8px; border-bottom: 1px solid #d9b1b1; background: #f7dddd; }
.panel-header h2 { font-size: 12px; font-weight: 700; color: #790000; }
.panel-header > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.panel-header p { font-size: 10px; color: #a07878; margin: 0; }
.panel-header > a, .panel-header > .muted { font-size: 11px; }
.panel-body { padding: 10px; }
.chart { height: 208px; padding: 10px 2px 0; }
.chart-bars { height: 162px; gap: 12px; padding: 7px 12px 0; border-color: #dcbcbc; background: repeating-linear-gradient(to top, transparent 0, transparent 39px, #f0dede 40px, transparent 41px); }
.chart-bars > .chart-column > .chart-bar { width: 27px; background: #d57878; border-radius: 0; }
.chart-column:last-child > .chart-bar { background: #a00000; }
.chart-column > .chart-value, .chart-column:last-child > .chart-value { font-size: 11px; color: #9b5555; margin-bottom: 4px; }
.chart-column > .chart-label { color: #947575; font-size: 11px; bottom: -23px; }
.quick-actions { padding: 4px 10px; gap: 0; }
.quick-action { min-height: 55px; gap: 8px; padding: 7px 0; background: transparent; border-bottom-color: #ead0d0; }
.quick-action:hover { background: #fff3f3; }
.quick-action > svg:first-child, .quick-action:nth-child(n) > svg:first-child { width: 24px; height: 24px; border-radius: 0; padding: 4px; background: #f9e5e5; color: #ae4646; }
.quick-action > span { gap: 2px; color: #743d3d; font-size: 12px; }
.quick-action small { font-size: 10px; color: #a48282; }
.quick-action > svg:last-child { color: #c09696; width: 12px; height: 12px; }
.table-toolbar { padding: 7px 8px; gap: 7px; background: #fff4f4; }
.filter-group { gap: 6px; }
.input, .select, .field input, .field select, .field textarea { min-height: 27px; padding: 3px 7px; border: 1px solid #ceb0b0; border-radius: 1px; background: white; color: #563a3a; font-size: 12px; box-shadow: none; }
.input:focus, .select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: #b96565; box-shadow: 0 0 0 1px #ecd0d0; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #baa1a1; }
.input:disabled, .field input:disabled { color: #9e8686; background: #faf0f0; }
.filter-group > .input { width: 200px; font-size: 12px; }
.filter-group > .select { width: 115px; font-size: 12px; }
.search-input { width: 245px; }
.search-input > .input { padding-left: 27px; font-size: 12px; }
.search-input > svg { left: 7px; top: 7px; width: 13px; height: 13px; color: #ad8888; }
.table-toolbar > .muted { color: #a08383; font-size: 11px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { height: 28px; padding: 3px 7px; border: 1px solid #ddb5b5; background: #f6dcdc; color: #814848; font-size: 12px; font-weight: 400; text-align: center; }
.data-table td, .recent-users-panel .data-table td { height: 28px; padding: 3px 7px; border: 1px solid #e4c5c5; color: #674e4e; font-size: 12px; line-height: 1.45; }
.data-table th:first-child, .data-table td:first-child { padding-left: 8px; border-left: 0; }
.data-table th:last-child, .data-table td:last-child { padding-right: 8px; border-right: 0; }
.data-table th { border-top: 0; }
.data-table tbody tr:nth-child(even) td { background: #fff0f0; }
.data-table tbody tr:nth-child(odd) td { background: #fffafa; }
.data-table tbody tr:hover td { background: #fff7d8; }
.data-table td.muted { color: #947b7b; font-size: 12px; }
.data-table input[type="checkbox"] { margin: 0; accent-color: #a00000; width: 13px; height: 13px; vertical-align: middle; }
.user-cell { gap: 4px; }
.cell-avatar { display: none; }
.cell-copy { flex-direction: row; align-items: center; gap: 7px; }
.cell-copy strong { color: #723b3b; font-size: 12px; font-weight: 400; }
.cell-copy .cell-sub { font-size: 11px; color: #a08686; }
.row-actions { gap: 9px; }
.row-actions .button.small { min-height: 20px; padding: 1px 6px; font-size: 11px; }
.row-actions .text-button { font-size: 11px; }
.table-footer { min-height: 34px; padding: 5px 8px; gap: 8px; border-top: 1px solid #dcb8b8; background: #fff5f5; font-size: 11px; color: #997a7a; }
.table-footer > span strong { color: #9d4444; font-weight: 400; }
.pagination { gap: 4px; }
.pagination button, .pagination button.button { height: 23px; min-height: 23px; min-width: 26px; padding: 2px 6px; background: #fffafa; border: 1px solid #d1aeae; border-radius: 1px; color: #885858; font-size: 11px; }
.pagination button.active, .pagination button[aria-current="page"] { color: white; background: #a00000; border-color: #a00000; }
.pagination button:hover:not(:disabled):not(.active) { border-color: #b97676; color: #8f0000; }
.pagination > span { color: #997979; font-size: 11px; }
.page-note { color: #a58a8a; font-size: 11px; margin: 3px 0 11px; }
.empty-state { padding: 28px 12px; color: #9c8181; }
.empty-state strong { color: #906666; font-size: 12px; }
.empty-state svg { width: 25px; height: 25px; color: #c6a5a5; }
.empty-state p { font-size: 11px; }
.panel > .notice-list { padding: 0 8px; }
.notice-item, .notice-item:first-child, .notice-item:last-child { min-height: 42px; padding: 6px 0; gap: 7px; border-color: #ead0d0; }
.notice-item strong { color: #875353; font-size: 12px; }
.notice-item .notice-date { margin-top: 1px; color: #b19191; font-size: 10px; }
.notice-tag { color: #ab5555; background: #f9e5e5; border-radius: 0; font-size: 10px; padding: 1px 4px; }
.notice-item > svg { color: #c29b9b; }
.activity-item { padding: 6px 0; gap: 8px; border-color: #ecd6d6; }
.activity-dot { width: 5px; height: 5px; margin-top: 5px; background: #bf6b6b; box-shadow: none; }
.activity-item strong { color: #875353; font-size: 11px; margin-bottom: 1px; }
.activity-item p { color: #a17e7e; font-size: 11px; margin-bottom: 1px; }
.activity-item time { color: #b29292; font-size: 10px; }
.log-action { color: #9b5656; background: #fff0f0; border: 1px solid #e6c6c6; border-radius: 0; font-size: 11px; padding: 1px 4px; }
.info-banner { padding: 6px 8px; margin-bottom: 8px; gap: 7px; color: #9c6a52; background: #fff7df; border: 1px solid #e2cf9d; border-radius: 0; font-size: 12px; }
.info-banner svg { color: #b48356; width: 14px; height: 14px; }
.page-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 8px; }
.profile-card { padding: 16px 12px 10px; border-radius: 0; }
.profile-avatar { width: 43px; height: 43px; font-size: 17px; border: 1px solid #e0b7b7; border-radius: 0; margin-bottom: 7px; color: #b16767; background: #fbe5e5; }
.profile-card > p { font-size: 11px; margin-bottom: 8px; color: #a58282; }
.detail-list { margin-top: 12px; padding-top: 5px; border-color: #e6c8c8; }
.detail-list > div { padding: 6px 0; gap: 10px; font-size: 11px; }
.detail-list dt { color: #a58383; }
.detail-list dd { color: #865d5d; }
.form-grid { gap: 12px 15px; }
.field { gap: 4px; color: #956464; font-size: 12px; }
.field > label { color: #906262; font-size: 12px; }
.field-help { color: #b09292; font-size: 10px; }
.field textarea { min-height: 75px; }
#profile-form > .form-actions { padding: 8px 10px; border-color: #e2bebe; background: #fff1f1; }
#profile-form > .form-actions > .muted { color: #b18d8d; font-size: 10px; }
.distribution-list { padding: 3px 0 6px; }
.distribution-item + .distribution-item { margin-top: 15px; }
.distribution-item > div:first-child { margin-bottom: 5px; color: #9b6d6d; font-size: 12px; }
.distribution-item strong { color: #9f4646; font-size: 15px; }
.distribution-item small { color: #b59393; }
.distribution-track { height: 6px; background: #f2dfdf; border-radius: 0; }
.distribution-track > span { background: #bf6868; border-radius: 0; }
.distribution-item:nth-child(2) .distribution-track > span { background: #d99292; }
.distribution-item:nth-child(3) .distribution-track > span { background: #e3b5b5; }
.announcements { gap: 8px; }
.announcement { padding: 12px; gap: 13px; margin: 0; }
.announcement-side { width: 23px; gap: 10px; }
.announcement-side > span { color: #d4a5a5; font-size: 20px; }
.announcement-side > svg { width: 15px; height: 15px; color: #cb9898; }
.announcement-meta { gap: 10px; margin-bottom: 7px; }
.announcement-meta time { color: #ab8787; font-size: 10px; }
.announcement-content h2 { font-size: 13px; margin-bottom: 7px; }
.announcement-content p { color: #987171; font-size: 12px; line-height: 1.8; }
.segmented { padding: 1px; gap: 1px; border-radius: 0; border-color: #e5c4c4; background: #fff0f0; }
.segment { min-height: 22px; padding: 2px 7px; color: #a77c7c; border-radius: 0; }
.segment.active { background: #a00000; color: white; box-shadow: none; }
.footer { max-width: none; margin: 0; padding: 3px 10px 10px; color: #b99a9a; font-size: 10px; }
.dialog { border: 1px solid #a66565; border-radius: 0; background: #fffafa; box-shadow: 0 5px 25px #3b000025; }
dialog.dialog::backdrop { background: #39141455; backdrop-filter: none; }
.dialog-header { padding: 8px 11px; border-color: #ce9999; background: #a00000; }
.dialog-header h2 { color: white; font-size: 13px; }
.dialog-header .eyebrow { display: none; }
.dialog-header .icon-button { color: #ffe7e7; }
.dialog-header .icon-button:hover { background: #b52525; color: white; }
.dialog-body { padding: 13px; }
.dialog-body > p { color: #a87c7c; font-size: 12px; }
.dialog-footer { padding: 8px 11px; border-color: #dfb7b7; background: #ffeded; }
.toast-region { top: 81px; right: 12px; }
.toast { border-radius: 0; padding: 8px 11px; box-shadow: 0 2px 10px #5a16161a; font-size: 12px; }
.login-screen { display: block; min-height: 100vh; background: #fff0f0; }
.login-art { display: none; }
.login-form-panel { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 45px 18px; }
.login-form { width: 100%; max-width: 336px; padding: 23px 25px 17px; border: 1px solid #d3aaaa; border-top: 5px solid #a00000; border-radius: 0; background: #fffafa; box-shadow: none; }
.login-form::before { content: "DK"; display: block; margin-bottom: 2px; color: #a00000; text-align: center; font-family: Arial, sans-serif; font-size: 48px; font-weight: 900; font-style: italic; letter-spacing: -5px; line-height: 1.1; }
.login-form > .badge { display: block; width: max-content; margin: 7px auto 13px; font-size: 10px; padding: 1px 6px; }
.login-form h2, .login-form h1 { font-size: 16px; color: #8a0000; text-align: center; font-weight: 700; letter-spacing: 0; margin: 0 0 6px; }
.login-form > p { font-size: 11px; color: #a38383; text-align: center; margin-bottom: 20px; }
.login-form .field { margin-bottom: 12px; gap: 4px; }
.login-form .input, .login-form .field input { min-height: 31px; height: 31px; }
.password-input > .input { padding-right: 34px; }
.password-input > .icon-button { top: 3px; right: 3px; width: 25px; height: 25px; }
.password-input > .icon-button svg { width: 15px; height: 15px; }
.login-form .button.primary { min-height: 31px; margin-top: 1px; border-radius: 1px; font-size: 12px; justify-content: center !important; }
.login-submit svg { display: none; }
.login-error { background: #ffeded; color: #b02525; border-color: #e4b7b7; border-radius: 0; padding: 6px 8px; font-size: 11px; }
.demo-credentials { margin: 14px 0 0; padding: 7px 8px; gap: 4px 7px; background: #fff2f2; border-color: #e5c8c8; border-radius: 0; color: #b18e8e; font-size: 10px; }
.demo-credentials strong, .demo-credentials .mono { color: #985e5e; }
.demo-credentials p { font-size: 10px; color: #b59595; }
.login-form .login-note { margin: 11px 0 0; color: #b49797; font-size: 10px; line-height: 1.6; }
.login-copyright { position: static; margin-top: 15px; color: #bca0a0; font-size: 10px; }
/* Helpers for the record selection toolbar. */
.bulk-toolbar, .batch-toolbar, .selection-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 5px 8px; border-bottom: 1px solid #e3bdbd; background: #fff5e4; color: #a26a42; font-size: 11px; }
.selection-count { color: #a05d3a; font-size: 11px; }
.checkbox-cell { width: 30px; text-align: center; }

@media (min-width: 1500px) {
  .page { padding-top: 9px; }
  .stat-card { min-height: 68px; }
  .chart { height: 208px; }
  .chart-bars { height: 162px; }
}
@media (max-width: 1190px) {
  .page { padding-left: 8px; padding-right: 8px; }
  .topbar { padding: 0 10px; }
  .stats-grid { gap: 6px; }
  .stat-card { padding: 6px 9px; }
  .stat-label { font-size: 12px; }
  .stat-value { font-size: 20px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 8px; }
  .bottom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat-card { min-height: 68px; }
  .page-heading { align-items: center; }
  .page-actions { padding-top: 0; }
  .profile-card .detail-list { display: block; }
  .search-input { width: 215px; }
  .topbar-actions { gap: 10px; }
}
@media (max-width: 760px) {
  .workspace { margin-left: 0; padding-top: 70px; }
  .topbar { position: fixed; height: 30px; padding: 0 7px; gap: 8px; }
  .breadcrumbs { flex: 1; font-size: 11px; gap: 5px; overflow: hidden; }
  .breadcrumbs strong { font-size: 11px; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .badge-demo { display: none; }
  .topbar-user { display: flex; }
  .topbar-user, .topbar-user strong, .topbar-actions .icon-button { font-size: 11px; }
  .topbar-actions .icon-button { width: auto; height: 23px; padding: 2px 0; }
  .sidebar { height: 40px; width: 100%; padding: 0 6px; gap: 5px; transform: none; box-shadow: none; }
  .sidebar .brand { width: 37px; }
  .sidebar .brand-mark { width: 36px; font-size: 25px; letter-spacing: -3px; }
  .nav-list { padding-top: 6px; gap: 0; }
  .nav-item { min-height: 31px; padding: 5px 12px; font-size: 12px; }
  .page { padding: 7px 6px 5px; }
  .page-heading { align-items: flex-start; margin-bottom: 7px; gap: 7px; padding-bottom: 6px; }
  h1 { font-size: 14px; }
  .page-description { font-size: 10px; }
  .button { min-height: 25px; padding: 3px 7px; font-size: 11px; }
  .page-actions { gap: 5px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 7px; }
  .stat-card { min-height: 64px; padding: 5px 8px; }
  .stat-label { font-size: 11px; padding: 0; margin-bottom: 1px; }
  .stat-value { font-size: 19px; }
  .stat-foot { font-size: 9px; margin-top: 1px; }
  .dashboard-grid, .bottom-grid, .page-grid { grid-template-columns: 1fr; gap: 7px; margin-bottom: 7px; }
  .panel { margin-bottom: 7px; }
  .panel-header { min-height: 29px; padding: 4px 7px; }
  .panel-header h2 { font-size: 12px; }
  .panel-body { padding: 8px; }
  .chart { height: 205px; padding: 10px 0 0; }
  .chart-bars { height: 162px; padding-left: 7px; padding-right: 7px; gap: 9px; }
  .chart-bars > .chart-column > .chart-bar { width: 24px; }
  .quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 3px 7px; gap: 0 12px; }
  .quick-action { min-height: 45px; }
  .quick-action:nth-last-child(-n+2) { border-bottom: 0; }
  .quick-action > svg:last-child { display: none; }
  .quick-action > span { font-size: 11px; }
  .quick-action small { font-size: 9px; }
  .table-toolbar { padding: 6px; gap: 6px; }
  .filter-group { width: 100%; gap: 5px; }
  .search-input { width: 100%; flex-basis: 100%; }
  .filter-group > .select { width: auto; flex: 1; }
  .data-table th, .data-table td, .recent-users-panel .data-table td { padding: 3px 6px; height: 28px; }
  .data-table th:first-child, .data-table td:first-child { padding-left: 6px; }
  .data-table td:last-child { padding-right: 6px; }
  .table-footer { padding: 5px 6px; min-height: 33px; font-size: 10px; }
  .panel > .notice-list { padding: 0 7px; }
  .form-grid { grid-template-columns: 1fr; gap: 11px; }
  #profile-form > .form-actions { padding: 7px 8px; }
  .announcement { padding: 10px 8px; gap: 10px; }
  .announcement-content h2 { font-size: 12px; }
  .announcement-content p { font-size: 11px; }
  .footer { padding: 3px 6px 8px; font-size: 9px; }
  .dialog-header { padding: 7px 9px; }
  .dialog-body { padding: 11px; }
  .dialog-footer { padding: 7px 9px; }
  .toast-region { top: 78px; right: 8px; }
  .login-form-panel { padding: 30px 16px; }
  .login-form { padding: 21px 23px 15px; }
  .login-form h1, .login-form h2 { font-size: 16px; }
  .login-copyright { position: static; margin-top: 13px; font-size: 10px; }
}
@media (max-width: 380px) {
  .breadcrumbs > span:first-of-type { display: none; }
  .breadcrumb-slash { display: none; }
  .stat-card { padding-left: 7px; }
  .stat-foot { font-size: 9px; }
  .login-form-panel { padding-left: 12px; padding-right: 12px; }
}
@media print {
  body { background: white; }
  .workspace { padding-top: 0; }
  .topbar, .sidebar, .bulk-toolbar, .batch-toolbar, .selection-toolbar { display: none !important; }
  .page { padding: 0; }
  .data-table th, .data-table td { border: 1px solid #bbb; color: black; }
}
