/* The owners' dashboard. It wears the site's own colours and type: navy, light Inter, silver
   ink, and the bordered blocks of the flight planner. Two colours carry the figures and are
   never used for text: blue for visitors, amber for requests. */

:root {
  color-scheme: dark;
  --in-ink: #f1f0ec;
  --in-soft: rgba(232, 232, 232, .8);
  --in-faint: rgba(232, 232, 232, .64);
  --in-line: rgba(232, 232, 232, .16);
  --in-line-strong: rgba(232, 232, 232, .3);
  --in-card: rgba(232, 232, 232, .04);
  --in-blue: #4f8fe0;
  --in-amber: #c98500;
  --in-good: #9fd6b0;
  --in-bad: #f3c0b1;
  --in-pad: clamp(1rem, 3vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #102540; -webkit-text-size-adjust: 100%; }
html.in-locked { overflow: hidden; }
body { margin: 0; min-height: 100vh; color: var(--in-ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; background: #102540; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, #1f4466 0%, #102540 100%); pointer-events: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #e8e8e8; outline-offset: 2px; }

.in-app { min-height: 100vh; padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px)); transition: opacity .2s ease; }
.in-app.is-loading .in-main { opacity: .55; }
.in-wait { display: grid; place-items: center; min-height: 100vh; font-size: 1.1rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245, 245, 245, .6); }

/* ---- the way in ---- */
.in-gate { display: grid; align-content: center; gap: 1.4rem; width: min(100% - 2.5rem, 23rem); min-height: 100vh; margin: 0 auto; padding: 2rem 0 4rem; }
.in-gate-brand { font-size: 1.1rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245, 245, 245, .7); }
.in-gate-title { font-size: 2.1rem; font-weight: 300; letter-spacing: .01em; line-height: 1.1; }
.in-gate-form { display: grid; gap: .5rem; }
.in-gate-form .in-label:not(:first-child) { margin-top: .6rem; }
.in-gate-form .in-button { margin-top: .9rem; }
.in-gate-back { justify-self: start; font-size: .86rem; color: var(--in-faint); text-underline-offset: .25em; text-decoration-color: rgba(232, 232, 232, .28); }
.in-label { font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--in-faint); }
.in-input { width: 100%; min-height: 48px; padding: .5rem .9rem; border: 1px solid var(--in-line); border-radius: 10px; background: rgba(232, 232, 232, .035); color: var(--in-ink); font-size: 1rem; font-weight: 300; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, background .2s ease; }
.in-input::placeholder { color: rgba(232, 232, 232, .5); }
.in-input:focus { border-color: rgba(232, 232, 232, .6); background: rgba(232, 232, 232, .06); }
.in-hint { font-size: .8rem; line-height: 1.5; color: var(--in-faint); }
.in-problem { min-height: 1.3em; font-size: .86rem; line-height: 1.5; color: var(--in-bad); }
.in-problem:empty { display: none; }
.in-problem.is-good { color: var(--in-good); }
.in-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border: 1px solid #e6e7e4; background: #e6e7e4; color: #102540; font-size: .72rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; transition: background .25s ease, border-color .25s ease, opacity .25s ease; }
.in-button:disabled { opacity: .6; cursor: default; }
.in-button.is-quiet { min-height: 44px; border-color: var(--in-line-strong); background: transparent; color: var(--in-ink); }
.in-link { min-height: 44px; padding: 0 .1rem; border: 0; background: none; color: var(--in-soft); font-size: .86rem; font-weight: 300; text-decoration: underline; text-underline-offset: .25em; text-decoration-color: rgba(232, 232, 232, .28); }

/* ---- the frame ---- */
/* One bar: the name, the views, and who is on the site with the way out. Where the bar is too
   narrow for all of it, the views take a row of their own under the name. */
.in-top { position: sticky; top: 0; z-index: 20; background: #1c3f61; border-bottom: 1px solid var(--in-line); }
.in-top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2.2rem; max-width: 1344px; margin: 0 auto; padding: calc(.35rem + env(safe-area-inset-top, 0px)) var(--in-pad) .35rem; }
.in-head { display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; }
.in-brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.in-logo { font-size: 1.1rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245, 245, 245, .85); white-space: nowrap; }
.in-head-right { display: flex; align-items: center; gap: 1.1rem; }
.in-live { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--in-soft); white-space: nowrap; }
.in-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--in-good); box-shadow: 0 0 0 4px rgba(159, 214, 176, .16); }

.in-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.in-tabs { display: flex; gap: .2rem; margin-inline: -.55rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.in-tabs::-webkit-scrollbar { display: none; }
.in-tab { position: relative; flex: none; min-height: 44px; padding: 0 .55rem; border: 0; background: none; color: var(--in-faint); font-size: .72rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; transition: color .2s ease; }
.in-tab[aria-current="true"] { color: var(--in-ink); }
.in-tab[aria-current="true"]::after { content: ''; position: absolute; left: .55rem; right: .55rem; bottom: 6px; height: 1px; background: var(--in-ink); }
.in-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; margin-left: auto; }
/* the clocks and the period, on a slim row above the page */
.in-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 2rem; max-width: 1344px; margin: 0 auto; padding: 1rem var(--in-pad) 0; }
/* every clock the same width, so they are evenly spaced */
.in-clocks { display: grid; grid-template-columns: repeat(7, 5.1rem); }
.in-clock { display: grid; gap: .05rem; min-width: 0; }
.in-clock-name { font-size: .6rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--in-faint); white-space: nowrap; }
.in-clock-short { display: none; }
.in-clock-time { font-size: .95rem; line-height: 1.3; font-variant-numeric: tabular-nums; color: var(--in-ink); white-space: nowrap; }
.in-clock-half { margin-left: .2em; font-size: .62em; letter-spacing: .04em; color: var(--in-soft); }
.in-seg { display: inline-flex; border: 1px solid var(--in-line); border-radius: 10px; background: rgba(232, 232, 232, .035); overflow: hidden; }
.in-seg button { min-height: 40px; padding: 0 .85rem; border: 0; border-left: 1px solid var(--in-line); background: none; color: var(--in-soft); font-size: .82rem; font-weight: 300; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.in-seg button:first-child { border-left: 0; }
.in-seg button[aria-pressed="true"] { background: rgba(232, 232, 232, .14); color: var(--in-ink); font-weight: 400; }
.in-seg-small button { min-height: 34px; padding: 0 .7rem; font-size: .76rem; }
.in-switch { display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0; border: 0; background: none; color: var(--in-soft); font-size: .82rem; font-weight: 300; }
.in-switch-knob { position: relative; flex: none; width: 34px; height: 20px; border: 1px solid var(--in-line-strong); border-radius: 10px; transition: background .2s ease, border-color .2s ease; }
.in-switch-knob::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--in-soft); transition: transform .2s ease, background .2s ease; }
.in-switch[aria-checked="true"] .in-switch-knob { background: rgba(232, 232, 232, .2); border-color: rgba(232, 232, 232, .55); }
.in-switch[aria-checked="true"] .in-switch-knob::after { transform: translateX(14px); background: var(--in-ink); }

.in-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1.2rem; max-width: calc(1344px - 2 * var(--in-pad)); margin: 1rem auto 0; width: calc(100% - 2 * var(--in-pad)); padding: .5rem 1rem; border: 1px solid var(--in-line); border-radius: 10px; background: var(--in-card); font-size: .86rem; line-height: 1.5; color: var(--in-soft); }
.in-banner strong { font-weight: 500; color: var(--in-ink); }
.in-banner.is-sample { border-color: rgba(201, 133, 0, .6); }
.in-banner.is-error { border-color: rgba(243, 192, 177, .5); color: var(--in-bad); }

.in-main { display: grid; gap: 1rem; max-width: 1344px; margin: 0 auto; padding: 1rem var(--in-pad) 0; transition: opacity .2s ease; }
.in-foot { max-width: 1344px; margin: 1.6rem auto 0; padding: 0 var(--in-pad); font-size: .78rem; line-height: 1.6; color: var(--in-faint); }

/* ---- cards and the grid ---- */
.in-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.in-grid > * { display: grid; gap: 1rem; min-width: 0; grid-column: span 12; }
.in-card { min-width: 0; padding: 1.15rem 1.25rem 1.25rem; border: 1px solid var(--in-line); border-radius: 10px; background: var(--in-card); }
.in-card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem; margin-bottom: .95rem; }
.in-card-title { font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--in-soft); }
.in-card-note { font-size: .8rem; color: var(--in-faint); }
.in-card-tools { display: flex; align-items: baseline; gap: .2rem 1rem; }
.in-expand { display: inline-flex; align-items: center; gap: .35rem; height: 28px; margin: -10px -.35rem -10px 0; padding: 0 .35rem; line-height: 1; border: 0; border-radius: 6px; background: none; color: var(--in-soft); font-size: .78rem; font-weight: 300; align-self: center; }
/* a legend sits right after the title, not pushed to the far side */
.in-card-head:has(> .in-legend) { align-items: center; }
.in-card-head > .in-legend { margin-right: auto; }
.in-card-head > .in-link { min-height: 32px; margin: -.45rem -.1rem; }
.in-empty { padding: .6rem 0; font-size: .9rem; color: var(--in-faint); }
.in-text { font-size: .9rem; line-height: 1.6; color: var(--in-soft); }
.in-text + .in-text { margin-top: .6rem; }
.in-subhead { margin: 1.3rem 0 .5rem; font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--in-faint); }
.in-narrow-only { display: block; }
.in-wide-only { display: none; }

/* ---- the headline figures ---- */
.in-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.in-tile { min-width: 0; padding: 1rem 1.1rem 1.05rem; border: 1px solid var(--in-line); border-radius: 10px; background: var(--in-card); }
.in-tile-label { font-size: .68rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--in-soft); }
.in-tile-row { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; margin-top: .35rem; }
.in-tile-value { font-size: clamp(2rem, 5.2vw, 2.6rem); font-weight: 300; line-height: 1.08; letter-spacing: .01em; }
.in-tile.is-lead .in-tile-value { font-size: clamp(2.5rem, 7vw, 3.4rem); }
.in-spark { flex: none; margin-bottom: .35rem; }
.in-tile-sub { margin-top: .3rem; font-size: .82rem; color: var(--in-soft); }
.in-delta { margin-top: .25rem; font-size: .78rem; color: var(--in-faint); }
.in-delta-mark { margin-right: .35rem; font-size: .6rem; vertical-align: .1em; }
.in-delta.is-up .in-delta-mark { color: var(--in-good); }
.in-delta.is-down .in-delta-mark { color: var(--in-bad); }

/* ---- ranked rows: a name, a thin bar on one baseline, the figure ---- */
.in-rows, .in-funnel { display: grid; gap: .1rem; }
/* a long list is cut to its first eight where the cards stack */
.in-rows > li:nth-child(n+9) { display: none; }
.in-row, .in-funnel-step { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .3rem .9rem; width: 100%; min-height: 44px; padding: .45rem 0 .5rem; border: 0; background: none; text-align: left; font-weight: 300; }
.in-row.is-pick { border-radius: 6px; }
.in-row-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .6rem; min-width: 0; }
.in-row-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; color: var(--in-ink); }
.in-row-sub { font-size: .78rem; color: var(--in-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-row-figures { display: flex; align-items: baseline; gap: .7rem; white-space: nowrap; }
.in-row-extra { font-size: .78rem; color: var(--in-faint); }
.in-row-value { min-width: 1.6rem; text-align: right; font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--in-ink); }
.in-row-track { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(232, 232, 232, .08); overflow: hidden; }
.in-row-bar { display: block; height: 100%; border-radius: 2px; }

/* ---- charts ---- */
.in-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; font-size: .78rem; color: var(--in-soft); }
.in-key { flex: none; display: inline-block; }
.in-key:not(:first-child) { margin-left: .7rem; }
.in-key-line { width: 14px; height: 2px; border-radius: 1px; }
.in-key-dot { width: 9px; height: 9px; border-radius: 50%; }
.in-key-circle { border-radius: 50%; }
.in-key-request { position: relative; width: 14px; height: 14px; }
.in-key-request::after { content: ''; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--in-amber); }
.in-trend-svg, .in-flow-svg { display: block; max-width: 100%; height: auto; touch-action: pan-y; }
.in-trend .in-legend { margin-top: .3rem; }
.in-grid line.in-grid, .in-trend-svg .in-grid { stroke: rgba(232, 232, 232, .1); stroke-width: 1; }
.in-tick { fill: rgba(232, 232, 232, .64); font-size: 11px; font-variant-numeric: tabular-nums; }
.in-cross { stroke: rgba(232, 232, 232, .45); }
.in-map-stage { position: relative; width: 100%; }
.in-map-canvas { display: block; touch-action: pan-y; }
.in-map-note { margin-top: .5rem; font-size: .78rem; color: var(--in-faint); }
/* The movable map: Leaflet, dressed for the dashboard. The tiles are OpenStreetMap's, turned
   dark and tinted navy; the controls take the dashboard's own borders and ink. */
.in-map-live { height: clamp(300px, 56vw, 560px); border: 1px solid var(--in-line); border-radius: 8px; overflow: hidden; background: #15294a; isolation: isolate; }
.in-map-live.leaflet-container { background: #15294a; font: inherit; outline-offset: 2px; }
/* The tint is put on each tile, not on the layer that holds them: Safari does not carry a filter
   through to tiles it has moved onto their own layers. Each tile is drawn a hair over its size, so
   no line of background shows between two of them. */
.in-map-live img.leaflet-tile { filter: grayscale(1) invert(1) sepia(1) saturate(4.2) hue-rotate(176deg) brightness(1.02) contrast(.88); mix-blend-mode: normal; width: 256.6px !important; height: 256.6px !important; }
.in-map-live .leaflet-interactive { cursor: pointer; }
.in-map-live .leaflet-bar { border: 1px solid var(--in-line-strong); border-radius: 8px; box-shadow: none; overflow: hidden; }
.in-map-live .leaflet-bar a, .in-map-live .leaflet-bar a:hover { width: 38px; height: 38px; line-height: 36px; border-bottom: 1px solid var(--in-line); background: #132b4a; color: var(--in-ink); font-size: 1.2rem; font-weight: 300; }
.in-map-live .leaflet-bar a:last-child { border-bottom: 0; }
.in-map-home { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; background: #132b4a; color: var(--in-ink); cursor: pointer; }
.in-map-live .leaflet-bar a.leaflet-disabled { background: #132b4a; color: rgba(232, 232, 232, .3); }
.in-map-live .leaflet-control-attribution { padding: 1px 6px; background: rgba(12, 31, 56, .78); color: rgba(232, 232, 232, .6); font-size: 10px; }
.in-map-live .leaflet-control-attribution a { color: inherit; }

.in-flow { width: 100%; overflow-x: auto; }
.in-flow-title { fill: rgba(232, 232, 232, .64); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.in-flow-name { fill: #f1f0ec; font-size: 13px; }
.in-flow-count { fill: rgba(232, 232, 232, .68); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.in-flow-halo { paint-order: stroke fill; stroke: #17304f; stroke-width: 4px; stroke-linejoin: round; }
.in-ribbon { transition: opacity .15s ease; outline: none; }
.in-ribbon:focus-visible { stroke: #e8e8e8; stroke-width: 1.5; }

.in-tip { position: fixed; z-index: 80; min-width: 9rem; max-width: 17rem; padding: .6rem .75rem .65rem; border: 1px solid var(--in-line-strong); border-radius: 8px; background: #0c1f38; box-shadow: 0 18px 44px rgba(3, 10, 22, .5); font-size: .82rem; line-height: 1.45; pointer-events: none; }
.in-tip.is-pinned { pointer-events: auto; }
.in-tip-title { margin-bottom: .3rem; color: var(--in-soft); }
.in-tip-row { display: flex; align-items: baseline; gap: .45rem; color: var(--in-soft); }
.in-tip-row strong { font-weight: 500; color: var(--in-ink); font-variant-numeric: tabular-nums; }
.in-tip-key { flex: none; align-self: center; width: 10px; height: 2px; border-radius: 1px; }
.in-tip-action { margin-top: .55rem; min-height: 40px; width: 100%; padding: 0 .8rem; border: 1px solid var(--in-line-strong); border-radius: 6px; background: rgba(232, 232, 232, .06); font-size: .82rem; }

/* ---- visitors ---- */
.in-tools { display: grid; gap: .7rem; }
.in-chips { display: flex; gap: .45rem; margin-inline: calc(-1 * var(--in-pad)); padding-inline: var(--in-pad); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.in-chips::-webkit-scrollbar { display: none; }
.in-chip { flex: none; min-height: 40px; padding: 0 .95rem; border: 1px solid var(--in-line-strong); border-radius: 20px; background: none; color: var(--in-soft); font-size: .84rem; font-weight: 300; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.in-chip[aria-pressed="true"] { background: rgba(232, 232, 232, .14); border-color: rgba(232, 232, 232, .55); color: var(--in-ink); font-weight: 400; }
.in-chip.is-place { border-color: rgba(79, 143, 224, .9); color: var(--in-ink); }
.in-search { max-width: 26rem; }
.in-count { font-size: .82rem; color: var(--in-faint); }
.in-people { border: 1px solid var(--in-line); border-radius: 10px; background: var(--in-card); overflow: hidden; }
.in-people li + li { border-top: 1px solid var(--in-line); }
.in-person { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .2rem 1rem; width: 100%; min-height: 64px; padding: .7rem 1.1rem; border: 0; background: none; text-align: left; font-weight: 300; transition: background .15s ease; }
.in-person-main { display: grid; gap: .1rem; min-width: 0; }
.in-person-name { font-size: 1rem; color: var(--in-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-person-sub { font-size: .8rem; color: var(--in-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-person-side { display: grid; justify-items: end; gap: .3rem; }
.in-person-when { font-size: .78rem; color: var(--in-faint); white-space: nowrap; }
.in-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.in-badge { padding: .1rem .5rem; border: 1px solid var(--in-line-strong); border-radius: 20px; font-size: .68rem; font-weight: 400; letter-spacing: .04em; color: var(--in-soft); white-space: nowrap; }
.in-badge.is-amber { border-color: var(--in-amber); color: var(--in-ink); }
.in-badge.is-amber::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .35rem; border-radius: 50%; background: var(--in-amber); vertical-align: .08em; }
.in-badge.is-quiet { border-style: dashed; }

/* ---- one visitor, opened ---- */
.in-sheet { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: flex-end; }
.in-sheet-shade { position: absolute; inset: 0; background: rgba(6, 16, 30, .62); }
.in-sheet-panel { position: relative; width: min(100%, 34rem); height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 1.4rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); background: #132b4a; border-left: 1px solid var(--in-line); outline: none; animation: in-slide .25s ease; }
@keyframes in-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.in-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-inline: -1.4rem; padding: calc(1.2rem + env(safe-area-inset-top, 0px)) 1.4rem .9rem; background: #132b4a; border-bottom: 1px solid var(--in-line); }
.in-sheet-title { font-size: 1.5rem; font-weight: 300; line-height: 1.2; }
.in-sheet-sub { margin-top: .15rem; font-size: .86rem; color: var(--in-soft); }
.in-close { flex: none; width: 44px; height: 44px; margin: -.4rem -.6rem 0 0; border: 0; background: none; font-size: 1.7rem; font-weight: 200; line-height: 1; color: var(--in-soft); }
.in-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; margin-top: 1.1rem; }
.in-facts.is-inline { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-top: .9rem; }
.in-facts dt { font-size: .64rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--in-faint); }
.in-facts dd { margin-top: .15rem; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.in-leadbox { margin-top: 1.2rem; padding: .9rem 1rem 1rem; border: 1px solid rgba(201, 133, 0, .65); border-radius: 10px; background: rgba(201, 133, 0, .07); }
.in-leadbox-title { font-size: .64rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--in-soft); }
.in-leadbox-name { margin-top: .2rem; font-size: 1.15rem; }
.in-leadbox-contact { display: flex; flex-wrap: wrap; gap: .1rem 1.1rem; margin-top: .2rem; font-size: .92rem; }
.in-leadbox-contact a { display: inline-flex; align-items: center; min-height: 36px; text-underline-offset: .25em; text-decoration-color: rgba(232, 232, 232, .35); }
.in-leadbox-what { margin-top: .45rem; font-size: .88rem; line-height: 1.6; color: var(--in-soft); white-space: pre-line; overflow-wrap: anywhere; }
.in-visit { margin-top: 1.5rem; }
.in-visit-head { padding-bottom: .55rem; border-bottom: 1px solid var(--in-line); }
.in-visit-when { font-size: 1rem; font-weight: 400; }
.in-visit-about { margin-top: .1rem; font-size: .8rem; color: var(--in-faint); }
.in-story { position: relative; margin-top: .6rem; }
/* the time, then the line of dots, then what happened: each in its own column, so a long time never reaches the dots */
.in-story::before { content: ''; position: absolute; left: calc(3.4rem + .75rem + 4px); top: .7rem; bottom: .7rem; width: 1px; background: var(--in-line); }
.in-line { position: relative; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 2.1rem; padding: .32rem 0; font-size: .9rem; line-height: 1.45; }
.in-line::before { content: ''; position: absolute; left: calc(3.4rem + .75rem); top: .82rem; width: 9px; height: 9px; border-radius: 50%; background: #132b4a; border: 1px solid rgba(232, 232, 232, .45); }
.in-line.is-key::before { background: var(--in-blue); border-color: var(--in-blue); }
.in-line.is-good::before { background: var(--in-amber); border-color: var(--in-amber); }
.in-line.is-bad::before { background: var(--in-bad); border-color: var(--in-bad); }
.in-line-at { text-align: right; font-size: .74rem; line-height: 1.75; color: var(--in-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.in-line-text { color: var(--in-soft); overflow-wrap: anywhere; }
.in-line.is-key .in-line-text, .in-line.is-good .in-line-text, .in-line.is-bad .in-line-text { color: var(--in-ink); }
.in-line.is-good .in-line-text { font-weight: 400; }
.in-line-detail { display: block; font-size: .8rem; color: var(--in-faint); }
.in-sheet-foot { display: grid; justify-items: start; gap: .3rem; margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid var(--in-line); }
.in-forget { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; margin-top: .9rem; font-size: .84rem; line-height: 1.5; color: var(--in-soft); }
.in-leadbox + .in-leadbox { margin-top: .7rem; }

/* ---- requests ---- */
.in-leads-short li + li { border-top: 1px solid var(--in-line); }
.in-lead-short { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .05rem 1rem; width: 100%; min-height: 52px; padding: .5rem 0; border: 0; background: none; text-align: left; font-weight: 300; }
.in-lead-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; color: var(--in-ink); }
.in-lead-trip { grid-column: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .78rem; color: var(--in-faint); }
.in-lead-when { font-size: .78rem; color: var(--in-faint); white-space: nowrap; }
.in-requests { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }
.in-request { padding: 1.1rem 1.25rem .8rem; border: 1px solid var(--in-line); border-radius: 10px; background: var(--in-card); }
/* a request come to from a visitor's profile is lit for a moment */
.in-request { transition: border-color .6s ease, box-shadow .6s ease; }
.in-request.is-found { border-color: var(--in-amber); box-shadow: 0 0 0 2px rgba(201, 133, 0, .45); }
.in-leadbox-go { margin-top: .35rem; }
.in-request-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.in-request-kind { font-size: .64rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--in-faint); }
.in-request-kind::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--in-amber); }
.in-request-name { margin-top: .15rem; font-size: 1.3rem; font-weight: 300; line-height: 1.25; }
.in-request-when { font-size: .78rem; color: var(--in-faint); white-space: nowrap; }
/* where a request has got to */
.in-track { display: grid; gap: .6rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--in-line); }
.in-track-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.in-track-steps button { min-height: 38px; }
.in-track-steps button[data-stage="booked"][aria-pressed="true"] { background: rgba(201, 133, 0, .3); }
.in-track-when { font-size: .8rem; color: var(--in-faint); }
.in-track-label { display: grid; gap: .3rem; font-size: .78rem; color: var(--in-soft); }
.in-track-heard { min-height: 42px; font-size: .92rem; }
.in-track-note { min-height: 1.2em; font-size: .78rem; color: var(--in-faint); }
.in-track-note:empty { display: none; }
.in-request-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; }
.in-dismiss { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .9rem; font-size: .84rem; line-height: 1.5; color: var(--in-soft); }
.in-dismissed { margin-top: 1.4rem; font-size: .86rem; color: var(--in-soft); }
.in-dismissed summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--in-faint); }
.in-dismissed ul { display: grid; gap: .1rem; }
.in-dismissed li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1rem; border-top: 1px solid var(--in-line); }
.in-dismissed-what { padding: .4rem 0; }
.in-lead-by { color: var(--in-faint); font-size: .8rem; }
.in-lead-stage { justify-self: end; font-size: .74rem; color: var(--in-faint); white-space: nowrap; }
.in-lead-stage.is-new { color: var(--in-ink); }
.in-lead-stage.is-new::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: .35rem; border-radius: 50%; background: var(--in-amber); vertical-align: .08em; }
.in-lead-stage.is-booked { color: var(--in-good); }
.in-leadbox.is-dismissed { border-color: var(--in-line-strong); background: none; opacity: .7; }

/* ---- the site itself ---- */
.in-table-wrap { overflow-x: auto; }
.in-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.in-table th, .in-table td { padding: .55rem 0; border-top: 1px solid var(--in-line); text-align: left; font-weight: 300; }
.in-table thead th { padding-top: 0; border-top: 0; font-size: .64rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--in-faint); }
.in-table .is-num { padding-left: 1rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.in-table tbody .is-num { color: var(--in-soft); }
.in-problems { display: grid; }
.in-problem-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .8rem; padding: .7rem 0; border-top: 1px solid var(--in-line); }
.in-problem-row:first-child { border-top: 0; padding-top: 0; }
.in-problem-mark { grid-row: span 2; display: grid; place-items: center; width: 22px; height: 22px; margin-top: .1rem; border: 1px solid var(--in-bad); border-radius: 50%; font-size: .72rem; font-weight: 500; color: var(--in-bad); }
.in-problem-msg { font-size: .92rem; overflow-wrap: anywhere; }
.in-problem-about { font-size: .78rem; color: var(--in-faint); overflow-wrap: anywhere; }
.in-problem-count { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 .6rem; font-size: .78rem; color: var(--in-faint); }
.in-problem-count strong { font-weight: 500; color: var(--in-ink); }
.in-allclear { display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--in-soft); }
.in-allclear-mark { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--in-good); border-radius: 50%; font-size: .72rem; color: var(--in-good); }

/* ---- settings ---- */
.in-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; border-top: 1px solid var(--in-line); font-size: .9rem; }
.in-list li:first-child { border-top: 0; }
.in-inline { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.in-inline .in-input { flex: 1 1 14rem; min-height: 44px; }
.in-stack { display: grid; gap: .5rem; justify-items: start; }
.in-stack .in-input { max-width: 22rem; }
.in-stack .in-label:not(:first-child) { margin-top: .5rem; }
.in-stack .in-button { margin-top: .6rem; }

.in-blank { display: grid; justify-items: start; gap: .6rem; padding: 2.5rem 0; }
.in-blank h2 { font-size: 1.6rem; font-weight: 300; line-height: 1.2; }
.in-blank p { max-width: 34rem; font-size: .95rem; color: var(--in-soft); }
.in-blank .in-button { margin-top: .7rem; }
.in-wait { font-size: .95rem; color: var(--in-faint); }
.in-more { display: flex; justify-content: center; margin-top: 1rem; }
.in-more:empty { display: none; }

@media (hover: hover) {
  .in-button:hover:not(:disabled) { background: #fff; border-color: #fff; }
  .in-button.is-quiet:hover:not(:disabled) { background: rgba(232, 232, 232, .08); border-color: rgba(232, 232, 232, .55); }
  .in-link:hover, .in-gate-back:hover, .in-tab:hover, .in-close:hover { color: var(--in-ink); }
  .in-seg button:hover:not([aria-pressed="true"]), .in-chip:hover:not([aria-pressed="true"]) { background: rgba(232, 232, 232, .07); }
  .in-person:hover, .in-row.is-pick:hover, .in-lead-short:hover { background: rgba(232, 232, 232, .05); }
  .in-row.is-pick:hover { box-shadow: 0 0 0 .4rem rgba(232, 232, 232, .05); }
}

/* a tablet upright and wider: tiles in a row, cards side by side */
@media (min-width: 700px) {
  .in-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .in-tile { padding: .75rem .95rem .8rem; }
  .in-tile-label { line-height: 1.25; }
  .in-tile-row { margin-top: .15rem; }
  .in-tile.is-lead .in-tile-value { font-size: 2.45rem; }
  .in-tile-value { font-size: 2.1rem; line-height: 1.05; }
  .in-tile-sub { margin-top: .15rem; line-height: 1.4; }
  .in-tile .in-delta { margin-top: .05rem; line-height: 1.4; }
  .in-grid > .in-span-4, .in-grid > .in-span-5, .in-grid > .in-span-6 { grid-column: span 6; }
  .in-grid > .in-span-7, .in-grid > .in-span-8 { grid-column: span 12; }
  .in-grid > .in-side { grid-column: span 12; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .in-side > .in-card:nth-child(3) { grid-column: 1 / -1; }
  .in-spark { display: none; }
  .in-tools { grid-template-columns: minmax(0, 1fr) minmax(12rem, 20rem); align-items: center; }
  .in-chips { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; }
}
/* wide enough for the name, the views and the way out on one line */
@media (min-width: 900px) {
  .in-head { display: contents; }
  .in-head-right { order: 3; margin-left: auto; }
  .in-tabs { order: 2; }
}
@media (min-width: 740px) {
  .in-narrow-only { display: none; }
  .in-wide-only { display: block; }
  .in-rows.is-halves { grid-auto-flow: column; grid-template-rows: repeat(var(--in-half), auto); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
}
/* a tablet on its side and a computer */
@media (min-width: 1080px) {
  .in-grid > .in-span-4 { grid-column: span 4; }
  .in-grid > .in-span-5 { grid-column: span 5; }
  .in-grid > .in-span-6 { grid-column: span 6; }
  .in-grid > .in-span-7 { grid-column: span 7; }
  .in-grid > .in-span-8 { grid-column: span 8; }
  .in-rows > li:nth-child(n+9) { display: block; }
  .in-spark { display: block; }

  .in-grid > .in-map-col { align-self: stretch; }
  .in-map-col > .in-card { display: flex; flex-direction: column; }
  .in-map-col .in-map { display: flex; flex: 1 1 auto; flex-direction: column; }
  .in-map-col .in-map-live { flex: 1 1 auto; height: auto; min-height: 380px; }
  .in-grid > .in-side { grid-template-columns: minmax(0, 1fr); }
  .in-side > .in-card:nth-child(3) { grid-column: auto; }
  .in-side .in-card { padding: .85rem 1.05rem .8rem; }
  .in-side .in-card-head { margin-bottom: .35rem; }
  .in-side .is-sources .in-card-note { display: none; }
  .in-side .in-rows { gap: 0; }
  .in-side .in-row { gap: .3rem .9rem; min-height: 0; padding: .15rem 0 .2rem; line-height: 1.25; }
  .in-side .in-row-label, .in-side .in-row-value { font-size: .88rem; }
  .in-side .in-row-track { height: 3px; }
  .in-side .in-row-name { flex-wrap: nowrap; }
  .in-side .in-row-sub { flex-shrink: 20; }
  .in-side .in-lead-short { min-height: 0; padding: .32rem 0 .36rem; line-height: 1.3; }
  .in-side .in-lead-name { font-size: .9rem; }
  /* As many rows as fit beside the map in the window's height, so the latest requests stay in
     view without scrolling the page; each list scrolls inside its card for the rest. */
  /* no scrollbar over the figures: the wheel, a trackpad or a finger scrolls, and the fade says there is more */
  .in-side .in-scroll { position: relative; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .in-side .in-scroll::-webkit-scrollbar { display: none; }
  .in-side .in-scroll.is-more { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }
  .in-side .is-places .in-rows { --in-show: 3; }
  .in-side .is-sources .in-rows { --in-show: 2; }
  .in-side .is-latest .in-leads-short { --in-show: 3; }
}
@media (min-width: 1080px) and (min-height: 800px) { .in-side .is-sources .in-rows { --in-show: 3; } }
@media (min-width: 1080px) and (min-height: 840px) { .in-side .is-places .in-rows { --in-show: 4; } }
@media (min-width: 1080px) and (min-height: 870px) { .in-side .is-places .in-rows { --in-show: 5; } }
@media (min-width: 1080px) and (min-height: 900px) { .in-side .is-sources .in-rows { --in-show: 4; } }
@media (min-width: 1080px) and (min-height: 1040px) {
  .in-side .is-places .in-rows { --in-show: 7; }
  .in-side .is-sources .in-rows { --in-show: 5; }
  .in-side .is-latest .in-leads-short { --in-show: 4; }
}
@media (min-width: 1080px) and (min-height: 1210px) {
  .in-side .is-places .in-rows { --in-show: 10; }
  .in-side .is-sources .in-rows { --in-show: 6; }
  .in-side .is-latest .in-leads-short { --in-show: 5; }
}
/* narrower, where the cards stack and the page scrolls, the latest requests are the first five */
@media (max-width: 1079px) {
  .is-latest .in-leads-short > li:nth-child(n+6) { display: none; }
}
/* by finger, rows stay a comfortable size to tap */
@media (min-width: 1080px) and (pointer: coarse) {
  .in-side .in-row, .in-side .in-lead-short { min-height: 44px; }
}
/* Narrower, the name and the way out scroll away; only the row of views stays at the top. */
@media (max-width: 899px) {
  .in-top, .in-top-inner { display: contents; }
  .in-head { padding: calc(.6rem + env(safe-area-inset-top, 0px)) var(--in-pad) .3rem; }
  .in-tabs { position: sticky; top: 0; z-index: 20; margin: 0; padding: .2rem calc(var(--in-pad) - .55rem); background: #1c3f61; border-bottom: 1px solid var(--in-line); }
}
@media (max-width: 699px) {
  /* a touch smaller here, so all five views fit across a phone without sliding */
  .in-tabs { gap: 0; justify-content: space-between; padding: .2rem calc(var(--in-pad) - .4rem); }
  .in-tab { padding: 0 .4rem; font-size: .66rem; letter-spacing: .13em; }
  .in-tab[aria-current="true"]::after { left: .4rem; right: .4rem; }
  .in-controls { padding-top: .9rem; }
  /* on a phone, one small row across the screen, each clock a seventh of it */
  .in-clocks { grid-template-columns: repeat(7, minmax(0, 1fr)); width: 100%; }
  .in-clock-long { display: none; }
  .in-clock-short { display: inline; }
  .in-clock-name { font-size: .56rem; letter-spacing: .14em; }
  .in-clock-time { font-size: .7rem; }
  .in-clock-half { margin-left: .15em; font-size: .58em; }
  .in-filters { justify-content: space-between; width: 100%; margin-left: 0; }
  .in-seg:not(.in-seg-small) { flex: 1 1 auto; }
  .in-seg:not(.in-seg-small) button { flex: 1 1 0; padding: 0 .3rem; font-size: .78rem; }
  .in-switch span:last-child { font-size: .78rem; }
  .in-card { padding: 1rem 1rem 1.1rem; }
  .in-tile { padding: .85rem .9rem .9rem; }
  .in-spark { display: none; }
  .in-person { padding: .7rem .9rem; }
  .in-sheet-panel { width: 100%; border-left: 0; padding-inline: 1.1rem; }
  .in-sheet-head { margin-inline: -1.1rem; padding-inline: 1.1rem; }
  .in-search { max-width: none; }
}
@media (max-width: 400px) {
  .in-switch span:last-child { font-size: .74rem; }
  .in-tile-sub { font-size: .76rem; }
}
/* On the narrowest phones a request's four steps share the card's width, a touch smaller, so the card fits the screen. */
@media (max-width: 359px) {
  .in-track-steps { flex: 1 1 100%; }
  .in-track-steps button { flex: 1 1 0; padding: 0 .4rem; font-size: .72rem; }
}
/* ---- the reach, expanded: a panel made to be shown, or captured in a screenshot ---- */
.in-board { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: calc(1rem + env(safe-area-inset-top, 0px)) var(--in-pad) calc(1rem + env(safe-area-inset-bottom, 0px)); }
.in-board-shade { position: absolute; inset: 0; background: rgba(6, 16, 30, .82); }
.in-board-panel { position: relative; width: min(100%, 1180px); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 1.5rem 2.2rem 2.2rem; border: 1px solid var(--in-line-strong); border-radius: 14px; background: linear-gradient(180deg, #1c3f61 0%, #13304f 55%, #102540 100%); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.in-board-panel:focus { outline: none; }
.in-board-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.in-board-brand { display: flex; align-items: center; gap: .9rem; font-size: 1rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245, 245, 245, .85); white-space: nowrap; }
.in-board-sample { padding: .15rem .55rem; border: 1px solid rgba(201, 133, 0, .7); border-radius: 20px; font-size: .62rem; letter-spacing: .14em; color: var(--in-ink); }
.in-board-top .in-close { margin: 0 -.6rem 0 0; }
.in-board-title { margin-top: .9rem; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 300; line-height: 1.15; letter-spacing: .005em; }
.in-board-when { margin-top: .35rem; font-size: .95rem; color: var(--in-soft); }
.in-board-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem 1.5rem; margin-top: 1.3rem; padding: 1.1rem 0 1.15rem; border-top: 1px solid var(--in-line); border-bottom: 1px solid var(--in-line); }
.in-board-stat strong { display: block; font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-weight: 300; line-height: 1.05; letter-spacing: .01em; color: var(--in-ink); }
.in-board-stat span { display: block; margin-top: .35rem; font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--in-soft); }
.in-board-in { margin: 1rem 0 1.2rem; font-size: .92rem; line-height: 1.6; color: var(--in-soft); }
.in-board-country { white-space: nowrap; }
.in-board-subhead { margin: 1.4rem 0 .5rem; font-size: .68rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--in-faint); }
.in-board-stats + .in-board-subhead { margin-top: 1.3rem; }
/* every row, in balanced columns read down then across */
.in-board .in-rows { display: block; column-count: 3; column-gap: 2.6rem; }
.in-board .in-rows > li:nth-child(n) { display: block; break-inside: avoid; }
.in-board .in-row { min-height: 0; padding: .24rem 0 .3rem; }
.in-board .in-row-name { flex-wrap: nowrap; }
.in-board .in-row-sub { flex-shrink: 20; }
.in-board-more { margin-top: .8rem; font-size: .86rem; color: var(--in-faint); }
@media (hover: hover) { .in-expand:hover { color: var(--in-ink); background: rgba(232, 232, 232, .06); } }
@media (max-width: 999px) { .in-board .in-rows { column-count: 2; } }
@media (max-width: 599px) {
  .in-board { padding: 0; }
  .in-board-panel { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.1rem calc(1.6rem + env(safe-area-inset-bottom, 0px)); }
  .in-board .in-rows { column-count: 1; }
  .in-board-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
