:root {
      --bg-deep: #061021;
      --bg-panel: #0c1b33;
      --border-soft: rgba(148, 163, 184, 0.2);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      background: radial-gradient(circle at top right, #122c54 0%, var(--bg-deep) 60%);
      color: var(--text-main);
      min-height: 100vh;
      overflow-x: hidden;
    }

    .panel {
      background: linear-gradient(150deg, rgba(15, 31, 58, 0.94), rgba(8, 18, 35, 0.96));
      border: 1px solid var(--border-soft);
      backdrop-filter: blur(12px);
    }

    .active-pill {
      background: linear-gradient(135deg, #2563eb, #0284c7);
      color: #ffffff;
      border-color: rgba(125, 211, 252, 0.55);
      box-shadow: 0 8px 20px -8px rgba(14, 165, 233, 0.65);
    }

    .result-card {
      background: linear-gradient(180deg, rgba(17, 36, 66, 0.92) 0%, rgba(10, 22, 42, 0.97) 100%);
      border: 1px solid var(--border-soft);
      border-radius: 1.25rem;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .result-card:hover {
      transform: translateY(-2px);
      border-color: rgba(56, 189, 248, 0.45);
    }

    :focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }

    .hotel-row-thumb {
      background: linear-gradient(135deg, #0d2447 0%, #123566 55%, #091830 100%);
      border: 1px solid rgba(125, 211, 252, 0.25);
    }

html { filter: var(--a11y-filter, none); }
html.a11y-links a, html.a11y-links button { text-decoration: underline !important; }
html.a11y-font body, html.a11y-font * { font-family: Arial, Verdana, Tahoma, sans-serif !important; letter-spacing: 0.02em; }
html.a11y-nomotion *, html.a11y-nomotion *::before, html.a11y-nomotion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-contrast body { background: #000 !important; }
html.a11y-contrast .panel, html.a11y-contrast .result-card { background: #000 !important; border-color: #fff !important; }
html.a11y-contrast .text-slate-400, html.a11y-contrast .text-slate-300, html.a11y-contrast .text-\[var\(--text-muted\)\] { color: #fff !important; }

/* comfort-score hover bubble */
.tc-tip{position:relative;display:inline-block;cursor:help}
.tc-tipbox{display:none;position:absolute;z-index:40;bottom:calc(100% + 6px);inset-inline-start:0;min-width:15rem;max-width:18rem;background:#0b1b33;color:#e2e8f0;border:1px solid #38bdf8;border-radius:.75rem;padding:.6rem .75rem;font-size:11px;line-height:1.4;box-shadow:0 10px 30px rgba(0,0,0,.5);white-space:normal}
.tc-tip:hover .tc-tipbox,.tc-tip:focus .tc-tipbox,.tc-tip:focus-within .tc-tipbox{display:block}

/* mobile: comfortable tap targets, no horizontal scroll, bubble stays on screen */
html,body{max-width:100%;overflow-x:hidden}
@media (max-width:640px){
  .result-card button,.result-card a,#tcQuick button{min-height:40px}
  .result-card .text-lg{font-size:1.25rem}
  .tc-tipbox{position:fixed;inset-inline:12px;bottom:12px;min-width:0;max-width:none;z-index:90}
  #tcRes>div{padding:12px}
  #tcRes button{min-height:44px}
  input,select,textarea{font-size:16px !important} /* stops iOS zoom-on-focus */
  #tcQuick{gap:.4rem}
  #tcTop10{width:100%;margin-inline-start:0}
}
