/* Quding theme adaptation. Solid reading surfaces; glass is reserved for tools. */
.qd-theme {
  --black: var(--qd-ink); --paper: var(--qd-paper); --paper-deep: var(--qd-soft);
  --pink: var(--qd-brand); --lime: var(--qd-soft); --cyan: var(--qd-soft);
  --yellow: var(--qd-soft); --amber: var(--qd-gold); --red: #b3443e;
  --text: var(--qd-ink); --text-dim: var(--qd-muted); --bw: 1px; --bw-lg: 1px;
  --font-display: var(--qd-font-sans); --font-mono: var(--qd-font-sans);
  --shadow-xs: 0 1px 3px #183e2e04; --shadow-sm: 0 4px 18px #183e2e08;
  --content-max: 1280px; --tap-min: 44px;
  font-size: 14px; overflow-wrap: anywhere; color-scheme: light;
}
.qd-theme :is(h1,h2,h3,h4,.page-title,.cell-title,.cap-title,.cap-item-title,.quick-action-name,.brand-title,.brand-name,.error-title) {
  font-family: var(--qd-font-sans); font-weight: 600; letter-spacing: 0; line-height: 1.4;
}
.qd-theme:lang(zh) :is(h1,h2,h3,h4,.page-title,.cell-title,.cap-title,.cap-item-title,.quick-action-name,.brand-title,.brand-name,.error-title) {
  font-family: var(--qd-font-serif); font-weight: 600; letter-spacing: .035em;
}
.qd-theme :is(h1,h2,h3,h4):is(:lang(en),:lang(ja),:lang(ko)) {font-family:var(--qd-font-sans);letter-spacing:normal}
.qd-theme :is(button,input,select,textarea) {font-family:var(--qd-font-sans)}
.qd-theme :focus-visible {outline:2px solid var(--qd-brand);outline-offset:3px}
.qd-theme ::selection {background:#d6e7dd;color:var(--qd-deep)}
.qd-theme :is(.btn,.primary-btn,.hdr-cta,.nav-item,.cs-trigger,.filter-tab,.range-btn,.pagination button) {
  border-radius:999px; font-weight:600; box-shadow:none;
  transition:background-color 200ms var(--qd-ease),color 200ms var(--qd-ease),box-shadow 200ms var(--qd-ease),transform 200ms var(--qd-ease);
}
.qd-theme :is(.btn,.primary-btn,.hdr-cta):hover {transform:none;box-shadow:0 3px 12px #183e2e0c}
.qd-theme :is(.btn,.primary-btn,.hdr-cta):active {transform:translateY(1px);box-shadow:none}
.qd-theme :is(.btn-primary,.primary-btn,.hdr-cta) {background:var(--qd-brand);color:#fff;border-color:var(--qd-brand);min-height:44px}
.qd-theme :is(.btn-primary,.primary-btn,.hdr-cta):hover {background:var(--qd-deep);color:#fff}
.qd-theme :is(.btn-secondary,.btn-logout) {background:var(--qd-soft);color:var(--qd-deep);border-color:transparent}
.qd-theme :is(.btn-secondary,.btn-logout):hover {background:#d9e6df;color:var(--qd-deep)}
.qd-theme .btn-danger {background:#b3443e;color:#fff;border-color:#b3443e}
.qd-theme .btn-danger:hover {background:#943a35;color:#fff}
.qd-theme :is(.btn,.primary-btn):disabled {background:var(--qd-soft);color:var(--qd-muted);border-color:var(--qd-line);transform:none;box-shadow:none;cursor:not-allowed}
.qd-theme .btn-icon,.qd-theme .pass-toggle {border-radius:50%;min-width:44px;min-height:44px}
.qd-theme .btn-sm {min-height:36px}
.qd-theme .btn-ripple {display:none}
.qd-theme .mobile-tabbar {display:none}
.qd-theme :is(.card,.stat-card,.quick-action,.cap-panel,.feat,.error-card,.qd-welcome .content) {border-radius:24px;border-color:var(--qd-line);box-shadow:0 2px 8px #183e2e04;background:#fff}
.qd-theme :is(.card,.cap-panel) {overflow:clip}
.qd-theme :is(.card-header,.cap-header) {padding:20px 24px;border-color:var(--qd-line)}
.qd-theme :is(.card-body,.modal-body) {padding:24px}
.qd-theme :is(.input-shell,.input-icon-group,.search-group) {border-radius:18px;box-shadow:none;border:1px solid var(--qd-line);background:#fff}
.qd-theme :is(.form-group input,.form-group select,.form-group textarea,.field input,.page-jump input,.lock-config-control input) {border-radius:14px;border-color:var(--qd-line);font-size:14px}
.qd-theme :is(.input-shell input,.input-icon-group input) {border:0;background:transparent}
.qd-theme :is(.input-shell,.input-icon-group,.search-group):focus-within {border-color:var(--qd-brand);box-shadow:0 0 0 3px #21635116}
.qd-theme :is(.form-group input,.form-group select,.form-group textarea):focus {border-color:var(--qd-brand);box-shadow:0 0 0 3px #21635116}
.qd-theme input[type=checkbox] {accent-color:var(--qd-brand)}
.qd-theme :is(.badge,.lock-badge,.profile-role,.stat-trend,.login-status,.hero-tag,.hero-kicker,.hdr-status,.feat-watermark) {border-radius:999px;box-shadow:none}
.qd-theme :is(.cs-panel,.form-section,.lock-status,.login-security-note,.field-hint code) {border-radius:14px}
.qd-theme .cs-panel {padding:6px;background:#fff;box-shadow:0 12px 32px #183e2e18}
.qd-theme .cs-option {border:0;border-radius:10px;min-height:44px}
.qd-theme .cs-option.selected {color:var(--qd-deep);background:var(--qd-soft)}
.qd-theme .filter-bar {gap:16px;background:#fff}
.qd-theme .filter-group {flex-wrap:wrap;gap:4px;padding:4px;background:var(--qd-soft);border-radius:16px;min-width:0}
.qd-theme .filter-label {padding-inline:8px}
.qd-theme .filter-tab {border:0;min-height:36px;background:transparent;color:var(--qd-muted)}
.qd-theme .filter-tab.active {background:#fff;color:var(--qd-deep);box-shadow:0 2px 6px #183e2e0a}
.qd-theme .filter-tab:active {transform:none}
.qd-theme .range-group {padding:4px;gap:4px;border:0;border-radius:14px;background:var(--qd-soft);flex-wrap:wrap}
.qd-theme .range-btn {border:0;background:transparent;color:var(--qd-muted);min-height:36px;padding:6px 14px;border-radius:11px}
.qd-theme .range-btn.active {background:#fff;color:var(--qd-deep);box-shadow:0 2px 6px #183e2e0a}
.qd-theme .page-title {padding:0;margin:0 0 24px;background:transparent;color:var(--qd-ink);box-shadow:none;font-size:25px;font-weight:500}
.qd-theme .content {padding:32px 32px 48px}
.qd-theme .sidebar {width:236px;background:#fff;color:var(--qd-ink);border-right:1px solid var(--qd-line)}
.qd-theme .sidebar .brand {border-bottom:1px solid var(--qd-line);padding:24px 20px}
.qd-theme .sidebar .brand-title {color:var(--qd-ink);font-size:20px}
.qd-theme .sidebar .brand-sub {color:var(--qd-muted);font-weight:400;letter-spacing:1.5px;font-size:9px;margin-top:4px}
.qd-theme .sidebar .brand-badge {background:var(--qd-brand);color:#fff;border:0;border-radius:14px;box-shadow:none}
.qd-theme .sidebar .nav {gap:6px;padding:24px 16px}
.qd-theme .sidebar .nav-item {color:var(--qd-muted);border:0;padding:12px 16px;font-weight:500}
.qd-theme .sidebar .nav-item:hover {background:#f3f7f4;color:var(--qd-deep);box-shadow:none;transform:none}
.qd-theme .sidebar .nav-item.active {background:var(--qd-soft);color:var(--qd-deep);box-shadow:none;font-weight:600}
.qd-theme .sidebar-footer {background:#f5f8f6;border:1px solid var(--qd-line);border-radius:18px;margin:16px;padding:12px}
.qd-theme .footer-name {color:var(--qd-ink)}
.qd-theme .footer-role {color:var(--qd-muted)}
.qd-theme :is(.footer-avatar,.profile-avatar,.sec-icon,.quick-action-icon,.stat-card .icon,.confirm-icon) {border-radius:14px;border:0;background:var(--qd-soft);color:var(--qd-brand);box-shadow:none}
.qd-theme .header {height:76px;padding:0 32px;background:var(--qd-glass);border-color:var(--qd-line)}
.qd-theme .header-title {font-size:20px;font-weight:500}
.qd-theme .header-title::before {display:none}
.qd-theme thead th {background:#f3f7f4;color:var(--qd-muted);font-weight:500;font-size:12px;letter-spacing:0;border-color:var(--qd-line);padding:14px 16px}
.qd-theme tbody td {border-color:var(--qd-line);padding:16px;font-size:14px}
.qd-theme tbody tr:hover {background:#f8faf9}
.qd-theme .cell-title {font-size:16px}
.qd-theme :is(.stat-value,.summary-value,.user-stat-num) {font-family:var(--qd-font-sans);font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.qd-theme .stat-card {padding:24px}
.qd-theme .stat-value {font-size:36px;color:var(--qd-deep)}
.qd-theme .stat-label {font-size:13px;color:var(--qd-muted)}
.qd-theme .quick-action:hover {background:#f8faf9;transform:translateY(-2px);box-shadow:0 6px 18px #183e2e08}
.qd-theme .quick-action:active,.qd-theme .venue-row:active {transform:none}
.qd-theme .venue-row {border-radius:14px}
.qd-theme .venue-bar,.qd-theme .venue-bar i {border-radius:999px}
.qd-theme .venue-row:hover {box-shadow:none}
.qd-theme .pagination {gap:6px;flex-wrap:wrap}
.qd-theme .pagination button {min-width:36px;min-height:36px;box-shadow:none}
.qd-theme .pagination button.active {background:var(--qd-brand);color:#fff}
.qd-theme .modal {background:#20382f66}
.qd-theme .modal-card {border-radius:28px;box-shadow:0 20px 70px #183e2e24}
.qd-theme .modal-header {padding:20px 24px}
.qd-theme .modal-footer {position:sticky;bottom:0;z-index:3;padding:16px 24px;background:#fff;flex-wrap:wrap}
.qd-theme .toast {background:#fff;color:var(--qd-ink);border:1px solid var(--qd-line);border-radius:18px;box-shadow:0 12px 40px #183e2e1a}
.qd-theme .toast-close {color:var(--qd-muted);border:0;border-radius:50%;width:36px;height:36px}
.qd-theme .toast-icon {border:0;border-radius:50%;background:var(--qd-soft);color:var(--qd-brand)}
.qd-theme .toast-progress {background:var(--qd-brand);height:2px}
.qd-theme .spinner {border-radius:50%;border-color:var(--qd-line);border-top-color:var(--qd-brand)}
.qd-theme .skeleton {border-radius:8px}
.qd-theme .login-screen {padding:48px 24px}
.qd-theme .login-shell {max-width:1040px;border:1px solid var(--qd-line);border-radius:28px;overflow:hidden;box-shadow:0 20px 70px #183e2e0b}
.qd-theme .login-brand-panel {background:#e8efeb;color:var(--qd-ink);padding:48px 40px;gap:48px}
.qd-theme .login-brand-top {color:var(--qd-brand);font-size:10px;letter-spacing:1.8px}
.qd-theme .login-brand-logo {border:0;border-radius:14px;background:var(--qd-brand);color:#fff}
.qd-theme .login-eyebrow {padding:0;background:transparent;border:0;color:var(--qd-brand);font-weight:500}
.qd-theme .login-eyebrow i {border-radius:50%;background:var(--qd-brand)}
.qd-theme .login-brand-copy h1 {font-size:36px;font-weight:500;line-height:1.4;color:var(--qd-ink);margin-bottom:20px}
.qd-theme .login-brand-copy p {font-size:14px;line-height:1.9;color:var(--qd-muted)}
.qd-theme .login-assurances {border-color:#d1ddd5;gap:16px;padding-top:24px}
.qd-theme .login-assurances span {color:var(--qd-gold);font-weight:500}
.qd-theme .login-assurances strong {color:var(--qd-deep);font-weight:600}
.qd-theme .login-assurances small {color:var(--qd-muted);font-size:12px}
.qd-theme .login-card {padding:48px 40px;background:#fff}
.qd-theme .login-status {background:var(--qd-soft);border:0;color:var(--qd-deep);padding:5px 12px;letter-spacing:1.8px;font-weight:500;font-size:10px}
.qd-theme .login-card h2 {font-size:31px;font-weight:500;margin-bottom:8px}
.qd-theme .login-intro {font-size:14px;margin-bottom:28px}
.qd-theme .login-security-note {background:#f5f8f6;border:0;color:var(--qd-muted);font-weight:400;line-height:1.7}
.qd-theme .login-footnote {font-size:12px;line-height:1.7}
.qd-theme .login-submit {margin-top:24px}
.qd-theme .login-field .input-shell {min-height:50px}
.qd-theme .container {width:100%;max-width:1280px;padding-inline:32px}
.qd-theme .hdr {background:var(--qd-glass);border-bottom:1px solid var(--qd-line)}
.qd-theme .brand-mark {border:0;border-radius:14px;background:var(--qd-brand);color:#fff;box-shadow:none}
.qd-theme .hdr-status {border:0;background:var(--qd-soft);color:var(--qd-deep);font-weight:500}
.qd-theme :is(.hdr-dot,.hero-tag-dot,.hero-kicker-bar) {border:0;border-radius:50%;background:var(--qd-brand)}
.qd-theme .hero {padding:72px 0}
.qd-theme .hero-grid {gap:64px;align-items:center}
.qd-theme .hero-copy h1 {font-size:36px;font-weight:500;line-height:1.4}
.qd-theme .hero-copy h1 em {background:transparent;color:var(--qd-brand);padding:0;box-shadow:none}
.qd-theme .hero-kicker {background:transparent;border:0;color:var(--qd-brand);padding:0;letter-spacing:1.5px}
.qd-theme .hero-tag {color:var(--qd-muted);font-weight:400}
.qd-theme .cap-item-icon,.qd-theme .feat-icon {border:0;border-radius:14px;background:var(--qd-soft);color:var(--qd-brand)}
.qd-theme .cap-item {padding:18px 24px}
.qd-theme .features {background:var(--qd-paper);border-color:var(--qd-line);padding:48px 0 64px}
.qd-theme .sec-head h2 {background:transparent;color:var(--qd-ink);padding:0;font-size:25px;box-shadow:none;font-weight:500}
.qd-theme .feat {padding:24px}
.qd-theme .feat:hover {background:#fff;box-shadow:0 8px 24px #183e2e0c;transform:translateY(-2px)}
.qd-theme .feat-watermark {color:var(--qd-gold);border:0;background:transparent;font-weight:500}
.qd-theme .foot {background:#fff;color:var(--qd-ink);border-top:1px solid var(--qd-line)}
.qd-theme :is(.foot-tagline,.foot-copy) {color:var(--qd-muted)}
.qd-theme .foot-sep {width:4px;height:4px;border:0;border-radius:50%;background:var(--qd-muted)}
.qd-theme .error-card {padding:40px 32px}
.qd-theme .error-icon {border:0;background:var(--qd-soft);color:var(--qd-brand);border-radius:16px;box-shadow:none}
.qd-theme .error-code {color:var(--qd-brand);letter-spacing:-.04em;background:transparent;text-shadow:none}
.qd-theme .error-title {font-size:25px;color:var(--qd-ink)}
.qd-theme .error-path {border-radius:14px;border-color:var(--qd-line);background:var(--qd-paper);color:var(--qd-muted);word-break:break-all}
.qd-theme .error-actions {flex-wrap:wrap}
.qd-welcome {overflow:auto}
.qd-welcome .scene {position:relative;min-height:100dvh}
.qd-welcome .mark {border:0;border-radius:24px;background:var(--qd-soft);color:var(--qd-brand);box-shadow:none}
.qd-welcome h1 {font-size:36px;font-weight:500}
.qd-welcome .rule {width:32px;height:2px;background:var(--qd-brand);box-shadow:none;margin:24px auto}
.qd-welcome .dots span {border-radius:50%;border:0;background:var(--qd-brand)}
@supports (backdrop-filter:blur(18px)) {
  .qd-theme :is(.header,.hdr) {background:#f8fbf9ed;backdrop-filter:blur(18px) saturate(150%);border-bottom-color:#e2e7e4}
}
@media (max-width:1024px) {.qd-theme .content,.qd-theme .container {padding-inline:24px}}
@media (max-width:900px) {
  .qd-theme .login-shell {max-width:480px}
  .qd-theme .login-card {padding:36px 32px}
  .qd-theme .hero-grid {gap:32px}
}
@media (max-width:768px) {
  .qd-theme .mobile-tabbar {display:flex;position:fixed;z-index:30;left:50%;transform:translateX(-50%);bottom:calc(12px + env(safe-area-inset-bottom));width:calc(100% - 40px);max-width:370px;height:66px}
  .qd-theme .mobile-tabbar > button {min-height:44px}
  .qd-theme .content {padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
  .qd-theme .toast {bottom:calc(90px + env(safe-area-inset-bottom))}
  .qd-theme .sidebar {width:min(300px,86vw);border-radius:0 24px 24px 0}
  .qd-theme .header {height:auto;min-height:64px;padding:calc(8px + env(safe-area-inset-top)) 20px 8px}
  .qd-theme .content {padding:24px 20px calc(32px + env(safe-area-inset-bottom))}
  .qd-theme .page-title {font-size:24px;margin-bottom:20px}
  .qd-theme .card-header,.qd-theme .card-body {padding:16px}
  .qd-theme .stats {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .qd-theme .stat-card {padding:16px}
  .qd-theme .stat-card:last-child {grid-column:1 / -1}
  .qd-theme .stat-value {font-size:30px}
  .qd-theme .quick-action {border-radius:18px;padding:14px 4px}
  .qd-theme .quick-action-name {font-size:12px}
  .qd-theme .table-wrap {padding:0 16px;background:#fff}
  .qd-theme .table-wrap tbody tr {border:0;border-bottom:1px solid var(--qd-line);margin:0;padding:12px 0;box-shadow:none}
  .qd-theme .table-wrap tbody tr:last-child {border-bottom:0}
  .qd-theme .table-wrap tbody td {border:0;padding:6px 0;font-size:14px;min-width:0;word-break:break-word}
  .qd-theme .table-wrap tbody td.cell-title {background:transparent;color:var(--qd-ink);font-size:16px;margin-bottom:4px}
  .qd-theme .table-wrap tbody td::before {font-weight:500;font-size:12px;letter-spacing:0}
  .qd-theme .cell-actions .actions {flex-wrap:wrap}
  .qd-theme .modal-card {border-radius:28px 28px 0 0}
  .qd-theme .modal-card.confirm-card {border-radius:28px}
  .qd-theme .modal-footer {padding-bottom:calc(16px + env(safe-area-inset-bottom))}
  .qd-theme .cs-trigger,.qd-theme .cs-option,.qd-theme .filter-tab,.qd-theme .range-btn {min-height:44px}
  .qd-theme :is(input,select,textarea,.search-group input,.form-group input,.field input) {font-size:16px}
  .qd-theme .container {padding-inline:20px}
  .qd-theme .hero {padding:40px 0}
  .qd-theme .hero-copy h1 {font-size:31px}
  .qd-theme .sec-head h2 {font-size:24px}
  .qd-theme .feat-grid {grid-template-columns:1fr}
}
@media (max-width:380px) {
  .qd-theme .content,.qd-theme .container {padding-inline:15px}
  .qd-theme .login-screen {padding:24px 15px}
  .qd-theme .login-card {padding:28px 20px}
  .qd-theme .hero-copy h1,.qd-theme .login-card h2 {font-size:29px}
  .qd-theme .page-title,.qd-theme .sec-head h2 {font-size:22px}
  .qd-theme .error-card {padding:28px 20px}
}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  .qd-theme :is(.header,.hdr,.qd-glass) {background:#f8fbf9;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media (prefers-contrast:more) {
  .qd-theme {--qd-line:#9aaea2;--qd-muted:#435b4f}
  .qd-theme :is(.btn,.filter-tab,.range-btn,.nav-item) {border:1px solid currentColor}
}
@media (prefers-reduced-motion:reduce) {
  .qd-theme *,.qd-theme *::before,.qd-theme *::after {transition:none!important;animation:none!important;scroll-behavior:auto!important}
  .qd-theme :is(.btn,.feat,.quick-action,.primary-btn,.hdr-cta):is(:hover,:active) {transform:none}
  .qd-theme .spinner {border-color:var(--qd-brand)}
}
@media (forced-colors:active) {
  .qd-theme :is(.btn,.nav-item,.cs-trigger,.filter-tab,.range-btn,.card,.modal-card,.input-shell,.search-group) {border:1px solid CanvasText;background:Canvas;color:CanvasText;box-shadow:none}
  .qd-theme :is(.nav-item.active,.filter-tab.active,.range-btn.active) {outline:2px solid Highlight;outline-offset:-3px}
}

/* Refinement pass: readable hierarchy, compact tools and stable overlays. */
.qd-theme {text-rendering:optimizeLegibility;scrollbar-color:#c4d3ca #f5f6f7;scrollbar-width:thin}
.qd-theme.overlay-open {overflow:hidden}
.qd-theme [inert] {pointer-events:none}
.qd-theme .header-context {display:flex;flex-direction:column;gap:2px;min-width:0}
.qd-theme .header-eyebrow {font-size:10px;color:var(--qd-muted);letter-spacing:.1em;line-height:1.4}
.qd-theme .header-title {font-size:19px;line-height:1.35}
.qd-theme .header {height:72px}
.qd-theme .page-heading {margin-bottom:24px}
.qd-theme .page-heading .page-title {margin:0 0 8px;font-size:28px}
.qd-theme .page-description {color:var(--qd-muted);font-size:14px;line-height:1.7;max-width:64ch}
.qd-theme .content {padding-top:28px}
.qd-theme .card {overflow:visible;box-shadow:0 2px 6px #183e2e03}
.qd-theme .card > :first-child {border-top-left-radius:23px;border-top-right-radius:23px}
.qd-theme .card > :last-child {border-bottom-left-radius:23px;border-bottom-right-radius:23px}
.qd-theme .table-wrap {border-radius:0 0 23px 23px;overscroll-behavior-x:contain}
.qd-theme :is(.cs-trigger,.cs-option,.filter-tab,.range-btn) {font-weight:500}
.qd-theme .cs-panel {z-index:35;max-height:min(320px,50dvh);overflow-y:auto;overscroll-behavior:contain}
.qd-theme .cs-option {white-space:normal;overflow-wrap:anywhere;gap:8px}
.qd-theme .cs-trigger {max-width:100%;min-width:0}
.qd-theme .cs-value {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qd-theme :is(.input-prefix,.input-suffix) {color:var(--qd-muted)}
.qd-theme .input-prefix svg {fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.qd-theme .field label,.qd-theme .form-group label {letter-spacing:.01em;font-size:13px;font-weight:500}
.qd-theme .form-section {padding:20px;border-color:var(--qd-line)}
.qd-theme .form-section-title {font-weight:500;letter-spacing:0;font-size:14px}
.qd-theme .field-hint {line-height:1.7}
.qd-theme .modal-card {overscroll-behavior:contain;scroll-padding:88px 0}
.qd-theme .modal-body {line-height:1.7}
.qd-theme .modal-header {gap:16px;min-height:76px}
.qd-theme .modal-header .btn-icon {flex-shrink:0;background:var(--qd-paper);border-color:transparent}
.qd-theme .modal-footer {padding-top:16px;box-shadow:0 -6px 18px #183e2e04}
.qd-theme .modal-footer .btn {min-width:88px}
.qd-theme .confirm-card .confirm-footer {padding:20px 24px 24px;gap:12px}
.qd-theme .confirm-card .confirm-text {line-height:1.8;font-size:14px}
.qd-theme .stat-card {position:relative;padding:20px 24px;min-height:156px}
.qd-theme .stat-card .icon {position:absolute;right:20px;top:20px;width:36px;height:36px}
.qd-theme .stat-value {font-size:34px;margin:12px 48px 4px 0;line-height:1.2}
.qd-theme .stat-label {font-size:13px;line-height:1.6}
.qd-theme .stat-trend {position:static;display:inline-flex;margin-top:10px;font-size:11px;border:0;padding:3px 8px}
.qd-theme .stat-label .label-full {display:inline}
.qd-theme .stat-label .label-short {display:none}
.qd-theme .quick-actions {gap:12px;margin-bottom:24px}
.qd-theme .quick-action {padding:16px;min-height:80px;border-radius:20px}
.qd-theme .quick-action-icon {width:36px;height:36px;border-radius:12px;flex-shrink:0}
.qd-theme .quick-action-name {font-size:15px}
.qd-theme .quick-action-desc {margin-top:2px}
.qd-theme .analysis-header {align-items:center}
.qd-theme .analysis-summary {padding:20px 24px 0;gap:32px}
.qd-theme .analysis-meta {padding:16px 24px 12px;flex-wrap:wrap;gap:8px 12px}
.qd-theme .chart {height:300px;padding:0 16px 16px}
.qd-theme .venue-bars {gap:8px;padding:16px 24px}
.qd-theme .venue-row {min-height:44px;border:0;padding:8px 0;gap:16px}
.qd-theme .venue-name {font-family:var(--qd-font-sans);font-size:13px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis}
.qd-theme .venue-num {font-family:var(--qd-font-sans);font-weight:600}
.qd-theme .venue-bar {height:8px;border:0;background:var(--qd-soft)}
.qd-theme .venue-bar i {background:var(--qd-brand)}
.qd-theme .toolbar {padding:20px 24px;gap:12px;align-items:center}
.qd-theme .toolbar .search-group {min-width:180px;min-height:44px}
.qd-theme .search-group input {font-size:14px;min-width:0}
.qd-theme .search-clear {width:32px;min-height:32px;flex-shrink:0;border-radius:50%;border:0;background:var(--qd-soft);margin-right:6px}
.qd-theme .filter-bar {padding:16px 24px;gap:12px;align-items:flex-start;flex-wrap:wrap}
.qd-theme .filter-group {background:#f2f6f3;border:1px solid var(--qd-line);border-radius:16px;gap:4px;max-width:100%;flex:0 1 auto}
.qd-theme .filter-label {font-size:12px;letter-spacing:0;font-weight:500;border:0;white-space:nowrap;align-self:center;flex-shrink:0}
.qd-theme .filter-tab {gap:5px;flex-shrink:0;max-width:100%;white-space:normal}
.qd-theme .tab-count {border:0;border-radius:999px;background:#e3ebe6;color:var(--qd-muted);font-weight:400;font-size:10px;min-width:19px;text-align:center;line-height:18px;padding:0 5px}
.qd-theme .filter-tab.active .tab-count {background:var(--qd-soft);color:var(--qd-deep)}
.qd-theme .filter-divider {display:none}
.qd-theme .user-stats-bar {background:#fafcfb;padding:12px 24px;gap:12px;flex-wrap:wrap;border-color:var(--qd-line)}
.qd-theme .user-stat {gap:6px;min-width:0}
.qd-theme .user-stat-num {font-size:16px;letter-spacing:0;overflow-wrap:anywhere}
.qd-theme .user-stat-label {font-size:12px;letter-spacing:0;white-space:normal}
.qd-theme .user-stat-dot {width:3px;height:3px;border:0;border-radius:50%;background:#b4c5ba}
.qd-theme .batch-bar {border-color:var(--qd-line);background:var(--qd-soft);padding:12px 24px;gap:12px}
.qd-theme .cell-mono {font-family:var(--qd-font-sans);font-size:13px;font-variant-numeric:tabular-nums}
.qd-theme .cell-title {font-family:var(--qd-font-sans);font-weight:600;font-size:14px;letter-spacing:0}
.qd-theme .cell-copy {min-width:0;max-width:340px}
.qd-theme .cell-copy > .cell-mono {min-width:0;overflow-wrap:anywhere}
.qd-theme .cell-actions .btn-danger {background:#f9eeec;color:#a3403b;border-color:transparent}
.qd-theme .cell-actions .btn-danger:hover {background:#f4dedb;color:#943a35}
.qd-theme .cell-actions .actions {gap:6px}
.qd-theme .pagination {padding:16px 24px;gap:6px;border-color:var(--qd-line)}
.qd-theme .pagination button.active:disabled {opacity:1;background:var(--qd-brand);color:#fff;border-color:var(--qd-brand)}
.qd-theme .pagination .info {font-size:12px;letter-spacing:0;margin-right:auto}
.qd-theme :is(.empty,.loading) {min-height:180px;padding:32px 24px;gap:12px;color:var(--qd-muted);font-size:14px;line-height:1.7}
.qd-theme .state-icon {display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--qd-soft);border-radius:16px}
.qd-theme .state-icon svg {width:24px;height:24px;color:var(--qd-brand)}
.qd-theme .error-state strong {font-size:15px;color:var(--qd-ink);font-weight:500}
.qd-theme .error-state p {font-size:13px}
.qd-theme .error-state .btn {margin-top:4px}
.qd-theme .stats > .error-state {grid-column:1 / -1;background:#fff;border:1px solid var(--qd-line);border-radius:24px}
.qd-theme .profile-card {border-radius:24px;border-color:var(--qd-line);padding:24px;background:#fff}
.qd-theme .profile-role {background:var(--qd-soft);color:var(--qd-brand);border:0;padding:4px 10px}
.qd-theme .sec-icon {flex-shrink:0}
.qd-theme .security-list p {font-size:13px;line-height:1.8}
.qd-theme .login-card {padding:44px 40px}
.qd-theme .login-brand-panel {padding:44px 40px}
.qd-theme .login-field .input-shell {box-shadow:none}
.qd-theme .login-status {margin-bottom:20px}
.qd-theme .login-submit {margin-top:20px;min-height:48px}
.qd-theme .login-mobile-brand {font-family:var(--qd-font-serif);color:var(--qd-deep);font-weight:500}
.qd-theme .login-assurances small {line-height:1.6}
.qd-theme .cap-item:nth-child(n) .cap-item-icon,.qd-theme .feat:nth-child(n) .feat-icon {background:var(--qd-soft);color:var(--qd-brand)}
.qd-theme .hero-tag:nth-child(n) .hero-tag-dot {background:var(--qd-brand);opacity:.65}
.qd-theme .hero-tag:last-child .hero-tag-dot {background:var(--qd-gold)}
@media (min-width:1100px) {.qd-theme #page-users .toolbar .search-group:first-child {flex:2 1 240px}.qd-theme #page-users .toolbar .search-group:nth-child(2) {flex:1 1 180px}}
@media (max-width:1100px) and (min-width:769px) {.qd-theme .quick-actions {grid-template-columns:repeat(2,minmax(0,1fr))}.qd-theme .toolbar > * {min-width:0}.qd-theme .analysis-controls {flex-wrap:wrap}}
@media (max-width:768px) {
  .qd-theme .header {min-height:64px;height:auto}
  .qd-theme .header-eyebrow {font-size:9px}
  .qd-theme .header-title {font-size:18px}
  .qd-theme .page-heading {margin-bottom:20px}
  .qd-theme .page-heading .page-title {font-size:25px;margin-bottom:6px}
  .qd-theme .page-description {font-size:13px;line-height:1.65}
  .qd-theme .stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
  .qd-theme .stat-card {padding:14px 10px;min-height:132px;border-radius:20px}
  .qd-theme .stat-card:last-child {grid-column:auto}
  .qd-theme .stat-card .icon {position:static;width:28px;height:28px;border-radius:9px;margin-bottom:10px}
  .qd-theme .stat-card .icon svg {width:17px;height:17px}
  .qd-theme .stat-value {margin:0 0 5px;font-size:26px;overflow-wrap:anywhere}
  .qd-theme .stat-label .label-full {display:none}
  .qd-theme .stat-label .label-short {display:inline}
  .qd-theme .stat-label {font-size:11px;line-height:1.5}
  .qd-theme .stat-trend {padding:2px 5px;font-size:10px;margin-top:6px}
  .qd-theme .quick-actions {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px}
  .qd-theme .quick-action {padding:12px 3px;gap:7px;min-height:76px;border-radius:18px}
  .qd-theme .quick-action-name {font-size:12px;letter-spacing:0}
  .qd-theme .quick-action-icon {width:30px;height:30px;border-radius:10px}
  .qd-theme .quick-action-desc {display:none}
  .qd-theme .analysis-header {gap:14px}
  .qd-theme .analysis-controls {width:100%;gap:10px;flex-wrap:wrap}
  .qd-theme #analysis-appid {width:100%;min-width:0}
  .qd-theme #analysis-appid .cs-trigger {width:100%}
  .qd-theme .range-group {width:100%;display:flex;gap:2px}
  .qd-theme .range-btn {flex:1;padding:6px 4px;font-size:12px;min-width:0}
  .qd-theme .analysis-summary {padding:16px 16px 0;gap:28px}
  .qd-theme .analysis-meta {padding:12px 16px;align-items:baseline}
  .qd-theme .analysis-meta .total {font-size:24px}
  .qd-theme .chart {height:248px;padding:0 8px 12px}
  .qd-theme .venue-bars {padding:8px 16px}
  .qd-theme .venue-row {min-height:44px}
  .qd-theme #page-users .toolbar {display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);padding:16px;gap:10px}
  .qd-theme #page-users .toolbar > .search-group:first-child {grid-column:1 / -1}
  .qd-theme #page-users .toolbar > * {min-width:0;width:100%;margin:0}
  .qd-theme #page-users .toolbar .search-group {min-width:0}
  .qd-theme #user-size .cs-trigger {width:100%;padding-inline:12px}
  .qd-theme #page-users .toolbar .btn {padding-inline:10px;font-size:13px}
  .qd-theme .search-group input {font-size:16px;padding-inline:8px}
  .qd-theme .search-group > svg {margin-left:10px;width:17px;flex-shrink:0}
  .qd-theme .filter-bar {padding:12px 16px;gap:10px;align-items:stretch}
  .qd-theme .filter-group {width:100%;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-padding-inline:8px;border-radius:14px}
  .qd-theme .filter-tab {font-size:12px;padding:6px 10px;white-space:nowrap;max-width:none}
  .qd-theme .filter-label {padding-inline:8px 4px;font-size:11px}
  .qd-theme .tab-count {font-size:10px;min-width:17px;padding:0 4px}
  .qd-theme .user-stats-bar {padding:12px 16px;gap:8px;line-height:1.5}
  .qd-theme .user-stat-num {font-size:14px}
  .qd-theme .user-stat-label {font-size:11px}
  .qd-theme .batch-bar {padding:12px 16px}
  .qd-theme .batch-actions {gap:8px}
  .qd-theme .batch-actions .btn {min-height:40px}
  .qd-theme #user-table tr {position:relative;padding:16px 0}
  .qd-theme #user-table td.cell-pick {position:absolute;right:0;top:12px;width:44px;height:44px;align-items:center;justify-content:center!important;padding:0}
  .qd-theme #user-table td.cell-pick::before {display:none}
  .qd-theme #user-table td.cell-title {padding:6px 48px 8px 0;margin:0;color:var(--qd-deep);font-family:var(--qd-font-sans);font-size:15px}
  .qd-theme #user-table td.cell-title::before {display:inline;content:'ID';color:var(--qd-muted);font-size:11px;margin-right:4px}
  .qd-theme .table-wrap tbody td {gap:16px;line-height:1.65;align-items:flex-start}
  .qd-theme .table-wrap tbody td::before {min-width:56px}
  .qd-theme .cell-actions .btn-sm {min-width:44px;min-height:44px}
  .qd-theme .pagination {padding:14px 16px;gap:6px}
  .qd-theme .pagination .info {width:100%;margin-bottom:6px;text-align:center}
  .qd-theme .pagination {justify-content:center}
  .qd-theme .pagination button {min-width:40px;min-height:40px}
  .qd-theme .page-jump {margin-top:6px}
  .qd-theme .modal-body {padding:20px 16px}
  .qd-theme .form-section {padding:16px}
  .qd-theme .modal-header {padding:16px 20px;min-height:72px}
  .qd-theme .modal-footer {padding-inline:20px}
  .qd-theme .modal-footer .btn {flex:1}
  .qd-theme .confirm-card .confirm-footer {padding-bottom:24px}
  .qd-theme .profile-card {padding:20px}
  .qd-theme .toolbar {padding:16px}
  .qd-theme .toolbar-hint {font-size:13px;line-height:1.7}
  .qd-theme .login-card {padding:32px 28px}
  .qd-theme .login-screen {padding:28px 20px}
}
@media (max-width:359px) {
  .qd-theme .stat-card {padding-inline:8px}
  .qd-theme .stat-value {font-size:23px}
  .qd-theme .page-heading .page-title {font-size:23px}
  .qd-theme .login-card {padding:28px 20px}
  .qd-theme .login-screen {padding-inline:15px}
}
@media (prefers-contrast:more) {.qd-theme .page-description,.qd-theme .header-eyebrow {color:var(--qd-ink)}}
