/* Prices and Compare Destinations: dark, dense swarm styling. Uses the shell's tokens. */
.dst-wrap { max-width: 1400px; margin: 0 auto; padding: 22px 16px 120px; }
.dst-wrap h1 { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.4px; }
.dst-wrap h2 { font-size: 18px; font-weight: 800; color: #fff; margin: 22px 0 6px; }
.dst-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--sc-text-3); margin-bottom: 6px; }
.dst-lede { color: var(--sc-text-2); font-size: 14px; margin: 4px 0 14px; max-width: 95ch; line-height: 1.5; }
.dst-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }
.dst-chip { font-size: 13px; font-weight: 700; color: var(--sc-text); border: 1px solid var(--c, var(--sc-line)); border-left-width: 6px; border-radius: 8px; padding: 5px 10px; background: var(--sc-panel-2); }
.dst-chip i { font-style: normal; font-weight: 600; color: var(--sc-text-3); }
.dst-note { font-size: 13px; color: #f4cf85; max-width: 80ch; }
.dst-unavail, .dst-empty, .dst-loading { padding: 18px; border: 1px dashed var(--sc-line); border-radius: 12px; background: var(--sc-panel); color: var(--sc-text-2); font-size: 14px; }
.dst-unavail[hidden], #dst-main[hidden], .dst-detail[hidden] { display: none; }

.dst-controls { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; background: var(--sc-panel); border: 1px solid var(--sc-line); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.dst-f { display: flex; flex-direction: column; gap: 3px; border: 0; padding: 0; margin: 0; min-width: 0; }
.dst-f > span, .dst-f > legend { font-size: 12px; font-weight: 600; color: var(--sc-text-2); padding: 0; }
.dst-f select, .dst-f input { font: inherit; font-size: 14px; color: var(--sc-text); background: var(--sc-panel-2); border: 1px solid var(--sc-line); border-radius: 8px; min-height: 44px; padding: 0 10px; max-width: 100%; }
.dst-f input { width: 90px; }
.dst-hl { flex-direction: row; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; }
.dst-hl legend { width: 100%; float: left; margin-bottom: 3px; }
.dst-hl label { display: flex; flex-direction: column; font-size: 12px; color: var(--sc-text-2); gap: 3px; }
.dst-seg { display: inline-flex; border: 1px solid var(--sc-line); border-radius: 10px; overflow: hidden; }
.dst-seg button { font: inherit; font-size: 13px; font-weight: 600; color: var(--sc-text-2); background: transparent; border: 0; padding: 0 12px; min-height: 44px; cursor: pointer; }
.dst-seg button[aria-pressed="true"] { background: var(--sc-accent); color: #06202a; }
.dst-x { font: inherit; font-size: 13px; font-weight: 700; color: var(--sc-text); background: var(--sc-panel-2); border: 1px solid var(--sc-line); border-radius: 8px; min-height: 44px; padding: 0 14px; cursor: pointer; flex: none; }
.dst-controls select:focus-visible, .dst-controls input:focus-visible, .dst-seg button:focus-visible, .dst-x:focus-visible, .dst-cmp:focus-visible, .cmp-wk:focus-visible, .dst-dot:focus-visible { outline: 3px solid var(--sc-focus); outline-offset: 2px; }

.dst-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--sc-text-2); margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--sc-line); border-radius: 12px; background: var(--sc-panel); }
.dst-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dst-lg-dot { fill: #4aa3f0; } .dst-lg-dot.hollow { fill: #0a1628; stroke: #4aa3f0; stroke-width: 2; }
.dst-lg-iqr { fill: rgba(78,205,196,.28); stroke: #4ecdc4; } .dst-lg-med { stroke: #fff; stroke-width: 2.5; }
.dst-lg-mean { fill: #e8b448; } .dst-lg-hl { fill: #b5f06a; }

/* rows */
.dst-rows { background: var(--sc-panel); border: 1px solid var(--sc-line); border-radius: 12px; overflow: hidden; }
.dst-axisbar { position: sticky; top: 0; z-index: 5; background: #0d1a30; border-bottom: 1px solid var(--sc-line); padding: 2px 0 0; }
.dst-axisname { font-size: 12px; color: var(--sc-text-3); padding: 0 10px 4px; }
.dst-axis { display: block; }
.dst-tt { font-size: 12px; fill: var(--sc-text-2); } .dst-tk { stroke: #6c86a6; stroke-width: 1; }
.dst-row { border-bottom: 1px solid #1c2e4a; padding: 6px 0 4px; }
.dst-row:last-child { border-bottom: 0; }
.dst-row.pin { background: rgba(78,205,196,.07); box-shadow: inset 4px 0 0 var(--sc-accent); }
.dst-row header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 4px 10px 0; }
.dst-row h3 { font-size: 15px; font-weight: 800; color: #fff; }
.dst-n { font-size: 13px; color: var(--sc-text-2); }
.dst-n b { color: #fff; font-variant-numeric: tabular-nums; }
.dst-st { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13px; color: var(--sc-text-2); align-items: center; flex: 1 1 320px; font-variant-numeric: tabular-nums; }
.dst-st b { color: var(--sc-text); font-weight: 700; }
.dst-cmp { font-size: 13px; font-weight: 700; color: var(--sc-accent); text-decoration: none; margin-left: auto; padding: 8px 4px; }
.dst-cmp:hover { text-decoration: underline; }
.dst-svg { display: block; }
.dst-grid { stroke: #1f3354; stroke-width: 1; }
.dst-iqr { fill: rgba(78,205,196,.18); stroke: rgba(78,205,196,.55); stroke-width: 1; }
.dst-med { stroke: #fff; stroke-width: 2.5; }
.dst-mean { stroke: #e8b448; stroke-width: 2; stroke-dasharray: 4 3; } .dst-meand { fill: #e8b448; }
.dst-hlmed { fill: #b5f06a; stroke: #0a1628; stroke-width: 1; }
.dst-dot { fill: var(--dc, #4aa3f0); stroke: #0a1628; stroke-width: .8; cursor: pointer; }
.dst-dot.carried { fill: #0a1628; stroke: var(--dc, #4aa3f0); stroke-width: 1.5; }
.dst-dot.dim { opacity: .17; }
.dst-dot.sel { stroke: #fff; stroke-width: 2.5; fill: var(--dc); opacity: 1; }
.dst-dot:hover { stroke: #fff; stroke-width: 1.6; }
.dst-g { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin-right: 5px; }
.dst-g-med { border-left: 3px solid #fff; width: 3px; height: 12px; } .dst-g-iqr { background: rgba(78,205,196,.35); border: 1px solid #4ecdc4; border-radius: 3px; }
.dst-g-mean { background: #e8b448; transform: rotate(45deg) scale(.75); } .dst-g-hl { background: #b5f06a; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dst-tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--sc-text-2); border: 1px solid var(--sc-line); border-radius: 999px; padding: 1px 9px; }
.dst-tag.warn { color: #f4cf85; border-color: var(--sc-amber); }
.dst-tag.pinned { color: #06202a; background: var(--sc-accent); border-color: var(--sc-accent); }
.dst-hlstat { color: #c9f08e; }
.pin-miss { padding: 10px 14px; font-size: 13px; color: #f4cf85; }
.dst-cov { margin-top: 12px; font-size: 13px; color: var(--sc-text-2); padding: 10px 14px; border: 1px solid var(--sc-line); border-radius: 12px; background: var(--sc-panel); line-height: 1.55; }
.dst-cov b { color: #fff; }
.dst-good { color: #7be0b1; font-weight: 700; } .dst-bad { color: #ff9a9a; font-weight: 700; }
.dst-lim { margin-top: 12px; font-size: 13px; color: var(--sc-text-2); line-height: 1.55; max-width: 110ch; }
.dst-lim a, .dst-lede a { color: var(--sc-accent); }

/* detail sheet */
.dst-detail { position: fixed; z-index: 50; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1100px, 100%); max-height: 62vh; overflow: auto; background: #0e1b30; border: 1px solid var(--sc-accent); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.55); padding: 14px 18px 20px; color: var(--sc-text); }
.dst-dh { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.dst-dh h3 { font-size: 18px; font-weight: 800; color: #fff; }
.dst-dctx { font-size: 13px; color: var(--sc-text-2); margin-top: 2px; }
.dst-ks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 22px; margin: 10px 0; }
.dst-k { display: flex; flex-direction: column; font-size: 12px; color: var(--sc-text-3); }
.dst-k b { font-size: 15px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.dst-k.big b { font-size: 26px; color: var(--sc-amber); }
.dst-fine { font-size: 12px; color: var(--sc-text-3); }
body.dst-has-detail .dst-wrap { padding-bottom: 60vh; }

/* Compare Destinations */
.cmp-key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.cmp-key.a, .cmp-sw.a { background: #f5a15a; } .cmp-key.b, .cmp-sw.b { background: #6fd0ff; }
.cmp-sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 2px 0 4px; }
.cmp-swap { align-self: flex-end; }
.cmp-v { background: var(--sc-panel); border: 1px solid var(--sc-accent); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
.cmp-v.none { border-color: var(--sc-amber); }
.cmp-lead { font-size: 17px; color: #fff; font-weight: 600; line-height: 1.4; }
.cmp-nums { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 10px 0 6px; }
.cmp-n { display: flex; flex-direction: column; font-size: 12px; color: var(--sc-text-3); }
.cmp-n b { font-size: 22px; color: var(--sc-amber); font-variant-numeric: tabular-nums; }
.cmp-n:nth-child(n+3) b { font-size: 16px; color: #fff; }
.cmp-fine { font-size: 13px; color: var(--sc-text-2); line-height: 1.5; }
.cmp-weeks p { max-width: 110ch; }
.cmp-wscroll { overflow-x: auto; background: var(--sc-panel); border: 1px solid var(--sc-line); border-radius: 12px; padding: 6px 0 2px; max-width: 100%; }
.cmp-wsvg { display: block; }
.cmp-wk { cursor: pointer; } .cmp-wband { fill: transparent; }
.cmp-wk:hover .cmp-wband, .cmp-wk.sel .cmp-wband { fill: rgba(255,255,255,.07); }
.cmp-wk.only .cmp-wband { fill: rgba(255,209,102,.16); stroke: var(--sc-focus); }
.cmp-wbar { stroke: #8aa3c0; stroke-width: 3; }
.cmp-gap { stroke: #5c7596; stroke-width: 3; stroke-linecap: round; } .cmp-gap.none { stroke: #2f4668; }
.cmp-table { margin-top: 10px; font-size: 13px; color: var(--sc-text-2); }
.cmp-table summary { cursor: pointer; font-weight: 700; padding: 10px 0; min-height: 24px; }
.cmp-tscroll { overflow-x: auto; max-width: 100%; }
.cmp-table table { border-collapse: collapse; width: 100%; min-width: 520px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 5px 10px; border-bottom: 1px solid #1c2e4a; font-variant-numeric: tabular-nums; font-size: 13px; }
.cmp-table thead th { color: var(--sc-text-3); font-weight: 600; }
.cmp-table tbody th { font-weight: 600; color: var(--sc-text); } .cmp-table small { color: var(--sc-text-3); font-weight: 400; font-size: 12px; }
.cmp-table td.gap { color: var(--sc-text-3); }

@media (max-width: 720px) {
  .dst-wrap { padding: 14px 12px 100px; }
  .dst-wrap h1 { font-size: 24px; }
  .dst-controls { padding: 10px; } .dst-f { flex: 1 1 100%; } .dst-f select { width: 100%; }
  .dst-hl { flex-direction: row; } .dst-f input { width: 100px; }
  .dst-detail { max-height: 78vh; padding: 12px 12px 18px; }
  .dst-cmp { margin-left: 0; }
  .cmp-swap { width: 100%; }
  .cmp-lead { font-size: 15px; }
}
