/* Blue workspace, v1. Presentation only; shared by lookup and administration. */
:root {
  --primary: #2866f6;
  --bg: #edf4f9;
  --text: #192a45;
  --sub: #697c92;
  --gray: #697c92;
  --light-gray: #f3f7fb;
  --border: #e2eaf3;
  --success: #16826c;
  --danger: #d83e50;
  --warning: #a9690d;
  --blue-soft: #eaf1ff;
  --shadow: 0 12px 36px rgba(45, 76, 115, .045);
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #7eacff; outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px #2866f612; }
input[type="checkbox"], input[type="radio"], input[type="range"] { accent-color: var(--primary); }
::selection { background: #d7e5ff; color: #183976; }
.skip-link { position: fixed; top: -100px; left: 20px; background: white; padding: 12px; z-index: 9999; color: var(--primary); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 750; white-space: nowrap; letter-spacing: .02em; }
.brand small { display: block; font-size: 10px; color: var(--sub); font-weight: 400; letter-spacing: .14em; margin-top: 1px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 43px; height: 43px; border-radius: 15px; background: var(--primary); color: white; font: 600 30px Georgia, serif; box-shadow: 0 6px 14px #2866f61a; }
.brand-mark > span { color: #a8c7ff; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .17em; color: var(--sub); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; padding: 11px 16px; font-size: 13px; font-weight: 600; min-height: 42px; line-height: 1.4; text-decoration: none; transition: background .15s, box-shadow .15s, transform .15s; }
.btn-primary { background: var(--primary); color: white; border: 1px solid transparent; box-shadow: 0 4px 12px #2866f614; }
.btn-primary:hover:not(:disabled) { background: #1c54d6; box-shadow: 0 6px 18px #2866f624; }
.btn-outline, .btn-secondary { border: 1px solid var(--border); background: #fff; color: #4c6583; }
.btn-outline:hover:not(:disabled), .btn-secondary:hover:not(:disabled) { border-color: #bfd2ee; background: var(--blue-soft); color: var(--primary); }
.btn-sm { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
.btn:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; }
.btn-success { background: #e4f5ef; color: #126e5c; border: 1px solid #c8e7dc; }
.btn-danger { background: #fff0f1; color: #b9283d; border: 1px solid #f6d8df; }
.btn-warning { background: #fff6e5; color: #916011; border: 1px solid #f4e2bb; }
.input, .form-input { min-height: 46px; border: 1px solid var(--border); border-radius: 12px; background: #f7fafd; color: var(--text); font-size: 14px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.input::placeholder, .form-input::placeholder { color: #8292a6; }
.muted { color: var(--sub); }
.badge, .tag { line-height: 1.65; border-radius: 7px; }
.badge-success, .tag-info { background: #e5f4ee; color: #14765f; }
.badge-danger, .badge-error, .tag-warn { background: #fff0f1; color: #b9283d; }
.badge-warning, .badge-none { background: #fff6e4; color: #8c5a10; }
.badge-primary { background: var(--blue-soft); color: #215ccf; }

/* Lookup workspace */
.lookup-page .nav { padding: 18px max(28px, calc((100vw - 1216px) / 2)); border: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); min-height: 83px; }
.nav-actions { display: flex; align-items: center; gap: 28px; }
.workspace-label { color: var(--sub); font-size: 12px; font-weight: 400; }
.quiet-button { background: none; border: 0; padding: 8px 0; font-size: 12px; color: #59718e; cursor: pointer; }
.quiet-button span { margin-left: 10px; }
.lookup-page .container { max-width: 1272px; padding: 20px 28px 18px; }
.quick-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-bottom: 16px; }
.quick-action { display: flex; flex-direction: row; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: 12px; color: #4e6580; cursor: pointer; padding: 8px 12px; white-space: nowrap; min-height: 36px; }
.round-icon { width: 18px; height: 18px; display: grid; place-items: center; color: #57789f; }
.quick-action .round-icon svg { width: 18px; height: 18px; }
.quick-action:hover { background: var(--blue-soft); color: var(--primary); }
#btnMyLocks[style*="inline-block"] { display: flex !important; }
[data-icon] svg { display: block; width: 22px; height: 22px; }
.query-layout { display: grid; grid-template-columns: 355px minmax(0, 1fr); gap: 26px; align-items: start; }
.lookup-page .card { margin: 0; border-radius: 24px; box-shadow: var(--shadow); }
.query-card { padding: 28px; position: sticky; top: 108px; }
.lookup-page .section-title { display: block; font-size: 12px; font-weight: 600; color: #4b607b; margin: 24px 0 10px; }
.lookup-page .query-card > .section-title:first-child { margin-top: 0; }
.query-card .input { min-height: 55px; font-size: 13px; }
/* A darker green rail with one clockwise moving highlight; input content stays still. */
@property --keyword-border-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.lookup-page #keyword { border: 2px solid #4fa978; }
.lookup-page #keyword:hover { border-color: #2b8b5a; }
.lookup-page #keyword:focus { border-color: #218251; box-shadow: 0 0 0 3px #21825118; }
@supports (background: conic-gradient(from 0deg, #4fa978, #a6efc4)) {
  .lookup-page #keyword,
  .lookup-page #keyword:hover,
  .lookup-page #keyword:focus {
    border-color: transparent;
    background: linear-gradient(#f7fafd, #f7fafd) padding-box,
      conic-gradient(from var(--keyword-border-angle), #4fa978 0deg 220deg, #217f4e 265deg, #a6efc4 305deg, #217f4e 335deg, #4fa978 360deg) border-box;
    animation: keyword-border-clockwise 4s linear infinite;
  }
}
@keyframes keyword-border-clockwise { from { --keyword-border-angle: 0deg; } to { --keyword-border-angle: 360deg; } }
.range-wrap .input { padding-right: 64px; padding-left: 12px; font-size: 12px; font-variant-numeric: tabular-nums; }
.inline-nights { font-size: 10px; right: 10px; background: #e9f0ff; color: #2f64be; border: 0; padding: 4px 7px; }
.search-actions { margin-top: 24px; }
#btnSearch { width: 100%; min-height: 51px; border-radius: 13px; padding: 14px 18px; justify-content: space-between; font-size: 14px; }
#btnSearch > span:last-child { font-size: 23px; line-height: 1; font-weight: 400; }
.query-guide { display: flex; align-items: flex-start; gap: 9px; margin: 24px 0; color: #7a8ca3; }
.query-guide [data-icon] { color: #7b9cc5; padding-top: 2px; }
.query-guide svg { width: 17px; height: 17px; }
.query-guide p { margin: 0; font-size: 11px; line-height: 1.85; }
.search-meta { margin: 0; border-top: 1px dashed #dce5ef; padding-top: 17px; }
.status { margin: 0; font-size: 11px; line-height: 1.9; color: #627992; overflow-wrap: anywhere; }
.suggest-list { border: 1px solid var(--border); top: calc(100% + 6px); border-radius: 14px; box-shadow: 0 14px 30px #344f7520; font-size: 12px; }
.suggest-item { padding: 13px; }
.suggest-item:hover, .suggest-item.active { background: var(--blue-soft); }
.quote-card { padding: 0 0 16px; overflow: hidden; background: #e2edf7; }
.quote-paper { position: relative; margin: 0; padding: 24px; background: white; border-radius: 24px 24px 0 0; }
.quote-paper::after { content: ""; position: absolute; bottom: -11px; left: 0; right: 0; height: 12px; background: radial-gradient(circle at 50% -3px, white 13px, transparent 13.5px) 0 0 / 26px 14px repeat-x; }
.quote-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-bottom: 20px; border-bottom: 1px dashed #dce5ef; }
.quote-caption { font-size: 15px; font-weight: 650; color: #294464; white-space: nowrap; margin: 0; display: flex; align-items: center; gap: 8px; }
.quote-caption::before { content: ""; width: 3px; height: 15px; border-radius: 3px; background: var(--primary); }
.quote-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.quote-actions .btn { font-size: 11px; }
.lookup-page .result { background: transparent; color: #213b5c; border-radius: 0; padding: 8px 0; margin: 16px 0 24px; font-family: "Cascadia Mono", "SFMono-Regular", Consolas, "Microsoft YaHei", monospace; font-size: 13px; line-height: 2; overflow-wrap: anywhere; tab-size: 2; }
.quote-empty { min-height: 336px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 38px 8px 30px; }
.empty-illustration { width: 90px; height: 104px; display: grid; place-items: center; border-radius: 27px; background: #eef4ff; color: #7ba2df; transform: rotate(-6deg); margin-bottom: 13px; box-shadow: 8px 8px 0 #f6f9fe; }
.empty-illustration svg { width: 49px; height: 49px; }
.quote-empty h3 { font-size: 17px; font-weight: 550; margin: 15px 0 10px; }
.quote-empty p { color: #7b8ba1; font-size: 12px; line-height: 1.9; margin: 0; white-space: pre-line; }
.empty-note { color: #5e80af; font-size: 10px; letter-spacing: .08em; background: #f2f7fc; border-radius: 20px; padding: 6px 14px; margin-top: 24px; }
.quote-card.is-empty #result, .quote-card.is-loading #result { display: none; }
.quote-card:not(.is-empty):not(.is-loading) .quote-empty { display: none; }
.quote-card.is-loading .empty-illustration { animation: gentle-pulse 1.3s ease-in-out infinite; }
.quote-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 17px; border-top: 1px dashed #dce5ef; font-size: 10px; color: #778ca5; }
.tiny-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #81a5d5; margin-right: 5px; vertical-align: middle; }
.group-title { font-size: 12px; color: #5b718e; margin: 24px 0 10px; }
.scheme-card { border-color: var(--border); background: #f9fbfe; padding: 17px; border-radius: 14px; font-size: 12px; line-height: 1.95; }
.scheme-head { gap: 10px; align-items: flex-start; padding-bottom: 9px; border-bottom: 1px solid var(--border); margin-bottom: 9px; }
.scheme-title { font-size: 13px; color: #21477b; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; color: #7b8fa6; padding: 28px 3px 8px; }
.page-footer > span:last-child { letter-spacing: .16em; font-size: 9px; }

/* Dialogs use the same calm surface; warning/success colors remain semantic. */
.modal-overlay, .overlay { background: #1c34595c; backdrop-filter: blur(5px); padding: 16px; }
.modal-box, .cal { border-radius: 23px; box-shadow: 0 24px 100px #112c5040; border: 1px solid #ffffff70; }
.modal-box { width: 100%; padding: 26px; max-height: calc(100dvh - 32px); }
.modal-title { font-size: 18px; color: var(--text); padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.modal-title button { border-radius: 50%; width: 32px; height: 32px; color: #6e829b; }
.history-item { border-color: var(--border); padding: 16px 8px; }
.history-item:hover { background: #f6faff; }
.history-hotel { font-size: 13px; color: var(--text); }
.history-date { font-size: 11px; color: var(--sub); margin-top: 6px; }
.cal { padding: 20px; }
.cal-title { font-size: 17px; color: var(--text); }
.cal-nav button { background: var(--blue-soft); border: 0; color: var(--primary); min-height: 36px; }
.month { border-color: var(--border); padding: 10px; border-radius: 16px; }
.month h4 { background: #fff; color: var(--text); font-size: 14px; padding: 12px 0; }
.cell.sel { background: var(--primary); color: white; }
.cell.inrange { background: #e9f1ff; color: var(--primary); }
#lockRoomModal .modal-box > div:first-child { background: var(--primary) !important; }
#btnLockNext, #btnUserYaduoLogin, #btnUserAddScheme { background: var(--primary) !important; }
#lockRoomModal .lock-step.active .step-num, #lockRoomModal .count-chip.active { background: var(--primary); }
#lockRoomModal .lock-step.active .step-text, #lockRoomModal .lock-step.done .step-num { color: var(--primary); }
#lockRoomModal .room-card:hover, #lockRoomModal .room-card.selected, #lockRoomModal .count-chip:hover { border-color: #83aaf7; background: #f0f5ff; }

/* Administration: persistent navigation, generous workspace, dense usable tables. */
.admin-page .container { max-width: 1800px; margin: 0 auto; padding: 30px 30px 30px 268px; }
.admin-page #adminPanel { background: transparent; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
.admin-sidebar { position: fixed; left: 22px; top: 24px; bottom: 24px; width: 214px; background: rgba(255,255,255,.96); border: 1px solid #fff; box-shadow: var(--shadow); padding: 28px 16px 18px; border-radius: 25px; display: flex; flex-direction: column; z-index: 40; }
.admin-sidebar .brand { font-size: 17px; padding: 0 9px; gap: 9px; }
.admin-sidebar .brand-mark { width: 38px; height: 38px; border-radius: 13px; }
.admin-sidebar .brand small { font-size: 9px; }
.sidebar-caption { color: #7186a0; font-size: 10px; margin: 39px 12px 15px; display: flex; justify-content: space-between; }
.sidebar-caption span { font-size: 8px; letter-spacing: .06em; color: #9aabc0; }
.admin-sidebar .tabs { flex-direction: column; flex-wrap: nowrap; gap: 5px; overflow-y: auto; min-height: 0; margin: 0; scrollbar-width: thin; }
.admin-sidebar .tab { text-align: left; display: flex; gap: 12px; align-items: center; font: 500 12px/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; color: #6c7f97; border-radius: 12px; background: transparent; padding: 12px 15px; min-height: 42px; white-space: nowrap; }
.admin-sidebar .tab.active { background: var(--primary); color: white; box-shadow: 0 5px 12px #2866f623; }
.admin-sidebar .tab:hover:not(.active) { background: #f0f5fc; color: var(--primary); }
.admin-sidebar .tab i { width: 18px; text-align: center; opacity: .85; font-size: 13px; }
.sidebar-footer { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--border); padding: 18px 3px 0; margin-top: auto; color: #4e6789; font-size: 11px; }
.sidebar-footer small { display: block; font-size: 8px; color: #899bb1; margin-top: 3px; }
.sidebar-footer > span:last-child { margin-left: auto; }
.sidebar-avatar { width: 34px; height: 34px; border-radius: 12px; background: #eef3fb; color: #5983bc; display: grid; place-items: center; }
.workspace-header { border: 0; padding: 8px 2px 22px; margin-bottom: 12px; gap: 16px; }
.workspace-header .eyebrow { color: #7890ac; font-size: 9px; }
.workspace-header .card-title { font-size: 27px; font-weight: 650; margin: 8px 0 5px; letter-spacing: -.03em; }
.workspace-header p { color: #7488a1; font-size: 12px; margin: 0; }
.workspace-header > div:last-child { align-items: center; flex-wrap: wrap; }
.admin-page .tab-content { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 24px; min-width: 0; }
.admin-page .stat-grid { gap: 16px !important; margin: -24px -24px 24px !important; background: var(--bg); padding-bottom: 1px; }
.admin-page .stat-card { position: relative; text-align: left !important; border-radius: 19px !important; padding: 23px 22px !important; background: #fff !important; border: 1px solid #ffffff; box-shadow: var(--shadow); display: flex; flex-direction: column-reverse; gap: 12px; overflow: hidden; }
.admin-page .stat-card::after { content: "↗"; position: absolute; top: 20px; right: 19px; display: grid; place-items: center; width: 27px; height: 27px; font-size: 14px; border-radius: 50%; background: #f2f6fc; color: #7ea0d1; }
.admin-page .stat-card > div:first-child { font-size: 28px !important; line-height: 1.2; font-weight: 600 !important; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
.admin-page .stat-card > div:last-child { color: #798ba1 !important; font-size: 11px !important; }
.admin-page .stat-card:first-child { background: var(--primary) !important; border-color: transparent; }
.admin-page .stat-card:first-child > div:first-child { color: #fff !important; }
.admin-page .stat-card:first-child > div:last-child { color: #dce8ff !important; }
.admin-page .stat-card:first-child::after { color: white; background: #ffffff22; }
.admin-page .table-container { border: 1px solid var(--border); border-radius: 14px; scrollbar-width: thin; scrollbar-color: #c8d6e8 transparent; }
.admin-page table { color: #4a607b; font-variant-numeric: tabular-nums; }
.admin-page th { background: #f5f8fc; font-size: 11px; font-weight: 550; color: #7890a9; padding: 15px 14px; }
.admin-page td { padding: 15px 14px; font-size: 12px; border-color: #edf1f7; line-height: 1.6; }
.admin-page td strong { color: #294464; font-weight: 600; }
.admin-page tbody tr:hover { background: #f8fbff; }
.admin-page tbody tr:last-child td { border-bottom: 0; }
.admin-page td code { font-family: inherit; font-size: 11px; color: #8190a5; }
.admin-page td .btn-sm { padding: 6px 9px; min-height: 31px; font-size: 10px; }
.admin-page .badge { font-size: 10px; padding: 4px 7px; display: inline-block; white-space: normal; }
.admin-page .form-label { font-size: 12px; color: #5f748e; margin-bottom: 8px; }
.admin-page .alert { border-radius: 13px; font-size: 12px; }
.admin-page #protocolProbeStatus { display: block; width: 100%; line-height: 1.9; background: #f6f9fe; border-radius: 10px; padding: 10px 13px; }
.admin-page #protocolProbeTasks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); gap: 12px !important; }
.admin-page #protocolProbeTasks > div { border-color: #dce8f7 !important; border-radius: 14px !important; background: #f9fbff !important; padding: 17px !important; }
.admin-page #protocolProbeTasks strong { display: block; color: #315a91; font-size: 13px; line-height: 1.7; }
.admin-page #protocolProbeTasks > div > div:nth-child(2) { font-size: 11px !important; line-height: 1.85; margin: 10px 0 14px !important; }
.admin-page #protocolProbeWaiting { border-radius: 13px !important; padding: 15px !important; background: #edf4ff !important; color: #5275a5; font-size: 12px; line-height: 1.9; border: 1px solid #dce8fa; }
.admin-page #updateStatus { background: #f5f9fe !important; border: 1px solid #e6eef8; border-radius: 13px !important; }
.admin-page [id$="Modal"][style*="position:fixed"], .admin-page [id$="Modal"][style*="position: fixed"] { background: #1c34595c !important; backdrop-filter: blur(5px); }
.admin-page [id$="Modal"] > div:first-child { border-radius: 23px !important; box-shadow: 0 24px 100px #112c5040; }
.admin-page #loginCard { max-width: 470px; margin: 12vh auto; padding: 36px; border-radius: 25px; box-shadow: var(--shadow); }
.admin-page:has(#adminPanel.hidden) .container { padding: 24px; }
.admin-page #loginCard .form-row { grid-template-columns: 1fr; gap: 18px; }
.admin-page #loginCard .btn { width: 100%; }
.admin-page #loginCard .card-header { border: none; }

@keyframes gentle-pulse { 50% { opacity: .5; transform: rotate(0deg) translateY(-4px); } }
@media (min-width: 1800px) { .admin-sidebar { left: calc((100vw - 1800px) / 2 + 22px); } }
@media (max-width: 1100px) {
  .query-layout { grid-template-columns: 325px minmax(0, 1fr); gap: 20px; }
  .query-card { padding: 24px; }
  .quote-paper { padding: 20px; }
  .quote-toolbar { flex-wrap: wrap; gap: 10px; }
  .admin-page .container { padding: 25px 22px 25px 223px; }
  .admin-sidebar { left: 16px; width: 185px; padding-left: 12px; padding-right: 12px; }
  .admin-sidebar .brand { font-size: 15px; padding: 0 4px; }
  .admin-page .stat-grid { gap: 10px !important; }
  .admin-page .stat-card { padding: 19px 15px !important; }
}
@media (max-width: 800px) {
  .lookup-page .nav { padding: 14px 22px; position: static; min-height: 74px; }
  .lookup-page .container { padding: 16px 22px 18px; }
  .query-layout { grid-template-columns: 1fr; gap: 24px; }
  .query-card { position: static; padding: 25px; }
  .query-card .input { font-size: 14px; }
  .query-guide { margin: 18px 0; }
  .query-guide br { display: none; }
  .quote-toolbar { flex-direction: row; align-items: center; }
  .quote-empty { min-height: 285px; }
  .admin-sidebar { position: static; width: auto; padding: 20px; border-radius: 20px; margin-bottom: 22px; }
  .admin-sidebar .brand { padding-left: 3px; font-size: 17px; }
  .sidebar-caption, .sidebar-footer { display: none; }
  .admin-sidebar .tabs { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 7px; padding: 17px 0 3px; }
  .admin-sidebar .tab { flex: 0 0 auto; padding: 10px 12px; min-height: 38px; gap: 8px; }
  .admin-page .container { padding: 20px; }
  .admin-page #adminPanel { display: flex; flex-direction: column; }
  .admin-sidebar { order: -1; }
  .workspace-header { padding: 0 3px 16px; }
  .workspace-header .card-title { font-size: 25px; }
  .workspace-header p { max-width: 34em; }
  .admin-page .tab-content { padding: 20px; }
  .admin-page .stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; margin: -20px -20px 20px !important; }
  .admin-page .get-token-layout { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 480px) {
  .lookup-page .nav { padding: 13px 18px; }
  .brand { font-size: 16px; gap: 9px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 12px; font-size: 27px; }
  .brand small { font-size: 8px; }
  .workspace-label { display: none; }
  .lookup-page .container { padding: 14px 16px 16px; }
  .quick-actions { justify-content: space-between; gap: 7px; }
  .quick-action { font-size: 11px; padding: 8px; gap: 5px; }
  .query-card { padding: 22px; }
  .quote-paper { padding: 19px 16px; }
  .quote-toolbar { flex-wrap: wrap; gap: 10px; }
  .quote-caption { font-size: 13px; }
  .quote-actions { gap: 6px; }
  .quote-actions .btn { font-size: 10px; padding: 7px 8px; }
  .lookup-page .result { font-size: 12px; line-height: 1.95; }
  .quote-foot { font-size: 9px; }
  .page-footer { font-size: 9px; }
  .page-footer > span:last-child { display: none; }
  .modal-overlay, .overlay { padding: 10px; }
  .modal-box { padding: 20px; max-height: calc(100dvh - 20px); }
  .history-item { flex-wrap: wrap; }
  .history-actions { margin-left: auto; }
  .cal { padding: 12px; width: 100%; }
  .cal-title { font-size: 14px; }
  .cal-nav { gap: 5px; }
  .admin-page .container { padding: 14px; }
  .admin-page .tab-content { padding: 16px; }
  .admin-page .stat-grid { margin: -16px -16px 20px !important; }
  .admin-page .stat-card > div:first-child { font-size: 26px !important; }
  .admin-page .stat-card::after { right: 12px; width: 24px; height: 24px; }
  .workspace-header .btn-sm { font-size: 10px; }
  .admin-page [id$="Modal"] > div:first-child { max-width: calc(100vw - 20px) !important; padding-left: 18px !important; padding-right: 18px !important; }
}
@media (max-width: 380px) { .quick-action .round-icon { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
