/*
 * FlowTools aurora tool page: Prism mock docs/design/conditions-tools/mock.html (v11, 68f97d1), on top of
 * conditions-tool.css. Facts (lines 134-142), the 12-month dark-hours chart colours, and the Live Aurora Maps (lines
 * 78-84): stacked at 375, side by side from 640px. No colour or size is set inline except each bar's height.
 */
.ct-tool.ct-tool .ct-tool__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 4px 0 0; }
.ct-tool.ct-tool .ct-tool__fact { background: #fff; border: 1px solid #dde2e6; border-radius: 6px; padding: 8px 10px; display: grid; gap: 0; }
.ct-tool.ct-tool .ct-tool__fact dt { font-size: 0.75em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #5f6b6d; }
.ct-tool.ct-tool .ct-tool__fact dd { margin: 0; font-size: 1.15em; font-weight: 700; color: #1d1d1d; font-variant-numeric: tabular-nums; }
.ct-tool.ct-tool .ct-tool__fact--lead { grid-column: 1 / -1; border-color: #2c4f6b; border-left-width: 4px; }
.ct-tool.ct-tool .ct-tool__facts--aur { grid-template-columns: minmax(0, 1fr); }
.ct-tool.ct-tool .ct-tool__fact dd.ct-tool__n { font-size: 0.85em; font-weight: 400; color: #333; }
.ct-tool.ct-tool .ct-tool__clear { font-weight: 700; color: #1d1d1d; }
.ct-tool.ct-tool .ct-tool__fact dd small { font-size: 0.7em; font-weight: 400; color: #5f6b6d; }

/* dark hours by month: 12 bars, dark (3+ hours) vs short or none */
.ct-tool.ct-tool .ct-tool__bars--12, .ct-tool.ct-tool .ct-tool__axis--12 { grid-template-columns: repeat(12, 1fr); gap: 4px; }
.ct-tool.ct-tool .ct-tool__bar--dark { background: #2c4f6b; }
.ct-tool.ct-tool .ct-tool__legend .ct-tool__key--dark { background: #2c4f6b; }
.ct-tool.ct-tool .ct-tool__legend .ct-tool__key--lite { background: #c9d9e4; }

/* live: the maps, and the no-script GET form (as the wildlife page) */
.ct-tool.ct-tool .ct-tool__fig { margin: 6px 0 2px; }
.ct-tool.ct-tool .ct-tool__liveimg { display: block; width: 100%; height: auto; border: 1px solid #c9d1d8; border-radius: 4px; }
.ct-tool.ct-tool .ct-tool__figcap { margin-top: 4px; font-size: 0.8em; color: #5f6b6d; }
.ct-tool.ct-tool .ct-tool__now { display: grid; gap: 16px; }
.ct-tool.ct-tool .ct-tool__h3 { margin: 0 0 4px; font-size: 1em; line-height: 1.3; color: #1d1d1d; }
@media (min-width: 640px) {
  .ct-tool.ct-tool .ct-tool__now { grid-template-columns: 1fr 1fr; }
}
.ct-tool.ct-tool .ct-tool__field--go { flex: 0 0 auto; align-self: end; }
.ct-tool.ct-tool .ct-tool__btn { font: inherit; font-weight: 700; min-height: 44px; padding: 6px 16px; border: 0; border-radius: 6px; background: var(--ct-embed-accent, #2c4f6b); color: #fff; cursor: pointer; }
.ct-tool.ct-tool .ct-tool__idx { margin: 0 0 6px; }

/* 2.13.1: the live line's room is reserved from the first paint, so drawing it moves nothing. While loading it shows its frame and one muted "Checking" line; aurora-live.js replaces them.
   Measured on a phone (about 16em) and on a wide page (about 8.8em). */
.ct-tool.ct-tool--aurora [data-ct-aurora-live] { min-height: 16em; }
@media (min-width: 560px) {
    .ct-tool.ct-tool--aurora [data-ct-aurora-live] { min-height: 8.8em; }
}

/* 3.2.0: the Travel hub's list of cities, one line each (name, then the glance). */
.ct-tool.ct-tool .ct-tool__cities { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }

/* 3.3.0 (docs/plans/mt-tools-design-plan.md, sections 5 and 6): the Travel guide and city pages, answer first.
   A hero (the tool's own photo under a dark overlay), the month links, one card per place with its twelve-month strip,
   and on a city page two tiles, the dark-hours chart in the strip's colours and the nearby places. */
.ct-tool.ct-tool .ct-tool__hero {
    margin: 0 0 16px; padding: 28px 22px 22px; border-radius: 12px; color: #fff;
    background: #0b1d2e url("../images/tools/hero/travelaurora.jpg") center / cover no-repeat;
    box-shadow: inset 0 0 0 2000px rgba(6, 18, 30, 0.62);
}
.ct-tool.ct-tool .ct-tool__hero .ct-tool__h1 { color: #fff; margin: 0 0 6px; font-size: 1.9em; line-height: 1.15; }
.ct-tool.ct-tool .ct-tool__hero .ct-tool__lede { color: #e8eef4; margin: 0; font-size: 1.05em; }

.ct-tool.ct-tool .ct-tool__months { margin: 0 0 16px; padding: 14px 16px; border: 1px solid #dde2e6; border-radius: 10px; }
.ct-tool.ct-tool .ct-tool__months-h { margin: 0 0 8px; font-weight: 700; color: #1d1d1d; }
.ct-tool.ct-tool .ct-tool__monthlist { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tool.ct-tool .ct-tool__monthlist a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; min-width: 52px; }

.ct-tool.ct-tool .ct-tool__legend--strip { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 0.85em; color: #333; }
.ct-tool.ct-tool .ct-tool__legend--strip span { display: inline-flex; align-items: center; gap: 6px; }
.ct-tool.ct-tool .ct-tool__legend--strip .ct-tool__cell { width: 14px; height: 14px; }

.ct-tool.ct-tool .ct-tool__citycards { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ct-tool.ct-tool .ct-tool__citycard { margin: 0; }
.ct-tool.ct-tool .ct-tool__citylink { display: grid; gap: 8px; height: 100%; box-sizing: border-box; padding: 14px; border: 1px solid #dde2e6; border-radius: 10px; background: #fafbfc; color: inherit; text-decoration: none; }
.ct-tool.ct-tool .ct-tool__citycard.is-best .ct-tool__citylink { border: 2px solid var(--flowtools-month-best, #1f7a5c); background: #fff; }
.ct-tool.ct-tool .ct-tool__citylink:hover .ct-tool__cityname,
.ct-tool.ct-tool .ct-tool__citylink:focus .ct-tool__cityname { text-decoration: underline; }
.ct-tool.ct-tool .ct-tool__cityhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ct-tool.ct-tool .ct-tool__cityname { font-size: 1.15em; font-weight: 700; color: #10314d; }
.ct-tool.ct-tool .ct-tool__region { font-size: 0.875em; color: #5f6b6d; margin-top: -6px; }
.ct-tool.ct-tool .ct-tool__badge { flex: 0 0 auto; padding: 3px 9px; border-radius: 10px; background: var(--flowtools-month-best, #1f7a5c); color: #fff; font-size: 0.75em; font-weight: 700; white-space: nowrap; }
.ct-tool.ct-tool .ct-tool__strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.ct-tool.ct-tool .ct-tool__cell { display: flex; align-items: center; justify-content: center; height: 24px; border-radius: 4px; font-size: 0.7em; font-weight: 700; }
.ct-tool.ct-tool .ct-tool__cell--best { background: var(--flowtools-month-best, #1f7a5c); color: #fff; }
.ct-tool.ct-tool .ct-tool__cell--dark { background: var(--flowtools-month-dark, #8fc9b4); color: #10314d; }
.ct-tool.ct-tool .ct-tool__cell--light { background: var(--flowtools-month-light, #eef0f3); color: #5f6b6d; }
.ct-tool.ct-tool .ct-tool__cell.is-sel { outline: 2px solid #10314d; outline-offset: 1px; }

.ct-tool.ct-tool .ct-tool__tiles { display: grid; gap: 12px; margin: 0 0 16px; }
@media (min-width: 640px) {
    .ct-tool.ct-tool .ct-tool__tiles { grid-template-columns: 1fr 1fr; }
}
.ct-tool.ct-tool .ct-tool__tile { padding: 16px 18px; border: 1px solid #dde2e6; border-radius: 10px; background: #fff; }
.ct-tool.ct-tool .ct-tool__tile--best { border: 2px solid var(--flowtools-month-best, #1f7a5c); }
.ct-tool.ct-tool .ct-tool__tile-h { margin: 0 0 6px; font-size: 0.8em; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--flowtools-month-best, #1f7a5c); }
.ct-tool.ct-tool .ct-tool__tile-big { margin: 0 0 6px; font-size: 1.45em; font-weight: 800; line-height: 1.2; color: #10314d; }
.ct-tool.ct-tool .ct-tool__tile--live [data-ct-aurora-live] { margin: 0; }

.ct-tool.ct-tool--travelcity .ct-tool__bar--best { background: var(--flowtools-month-best, #1f7a5c); }
.ct-tool.ct-tool--travelcity .ct-tool__bar--dark { background: var(--flowtools-month-dark, #8fc9b4); }
.ct-tool.ct-tool--travelcity .ct-tool__bar--light { background: var(--flowtools-month-light, #eef0f3); }
.ct-tool.ct-tool--travelcity .ct-tool__chart .ct-tool__bars { height: 160px; }
.ct-tool.ct-tool--travelcity .ct-tool__chart .ct-tool__axis { font-size: 0.75em; color: #333; }
.ct-tool.ct-tool--travelcity .ct-tool__chart .ct-tool__axis b { font-weight: 700; color: #10314d; }

/* 3.3.0: Prism's V1 Dashboard on the MT Travel guide and city pages (James's pick, 2026-10-30; MT only, so scoped to
   .ct-tool--guide and .ct-tool--travelcity: the cruise aurora page keeps its own look). The display face is Oswald; the
   answer reads in dark tiles; Tonight, live is one dark band with the numbers beside the Live Aurora Maps; best months are ink,
   dark months grey, light months pale, and the month picked is outlined in the site red. */
.ct-tool.ct-tool--guide,
.ct-tool.ct-tool--travelcity {
    --flowtools-month-best: #16181b;
    --flowtools-month-dark: #9aa1a9;
    --flowtools-month-light: #eceef0;
    --ct-v1-ink: #16181b;
    --ct-v1-red: #cc2127;
    --ct-v1-green: #5fd3a0;
    --ct-v1-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
.ct-tool--guide .ct-tool__h1, .ct-tool--travelcity .ct-tool__h1,
.ct-tool--guide .ct-tool__h2, .ct-tool--travelcity .ct-tool__h2,
.ct-tool--guide .ct-tool__cityname, .ct-tool--travelcity .ct-tool__cityname,
.ct-tool--guide .flowtools-related__h, .ct-tool--travelcity .flowtools-related__h,
.ct-tool--guide .ct-tool__tile-h, .ct-tool--travelcity .ct-tool__tile-h,
.ct-tool--guide .ct-tool__tile-big, .ct-tool--travelcity .ct-tool__tile-big,
.ct-tool--guide .ct-tool__tonight-h, .ct-tool--travelcity .ct-tool__tonight-h,
.ct-tool--guide .ct-tool__maps-h, .ct-tool--travelcity .ct-tool__maps-h {
    font-family: var(--ct-v1-display);
    text-transform: uppercase;
}

.ct-tool.ct-tool--guide .ct-tool__hero,
.ct-tool.ct-tool--travelcity .ct-tool__hero {
    padding: 0; border-radius: 0; background: none; box-shadow: none; color: inherit;
}
.ct-tool.ct-tool--guide .ct-tool__hero .ct-tool__h1,
.ct-tool.ct-tool--travelcity .ct-tool__hero .ct-tool__h1 { color: var(--ct-v1-ink); font-size: 2.1em; font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; }
/* 3.3.1: where the place is, under its name ("Michigan (Great Lakes)") */
.ct-tool.ct-tool--travelcity .ct-tool__hero .ct-tool__area { margin: 0 0 8px; font-size: 1em; font-weight: 600; color: #5f6b6d; }
.ct-tool.ct-tool--guide .ct-tool__hero .ct-tool__lede,
.ct-tool.ct-tool--travelcity .ct-tool__hero .ct-tool__lede { color: #444; }

/* Tonight, live: one dark band, the numbers on the left and the two maps beside them from 760px */
.ct-tool.ct-tool .ct-tool__tonight {
    display: grid; gap: 16px; margin: 0 0 18px; padding: 18px 20px; border-radius: 8px;
    background: var(--ct-v1-ink); color: #fff;
}
@media (min-width: 760px) {
    .ct-tool.ct-tool .ct-tool__tonight { grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); }
}
.ct-tool.ct-tool .ct-tool__tonight-h { margin: 0 0 8px; font-size: 0.85em; font-weight: 600; letter-spacing: 0.12em; color: var(--ct-v1-green); }
.ct-tool.ct-tool .ct-tool__tonight [data-ct-aurora-live] { margin: 0; color: #fff; background: none; border: 0; padding: 0; }
.ct-tool.ct-tool .ct-tool__tonight [data-ct-aurora-live] > span { margin: 0 0 8px; color: #e4e7ea; }
.ct-tool.ct-tool .ct-tool__tonight [data-ct-aurora-live] > span:first-child { font-family: var(--ct-v1-display); font-size: 1.5em; font-weight: 600; line-height: 1.2; color: #fff; }
.ct-tool.ct-tool .ct-tool__tonight .ct-tool__asof { font-size: 0.8em; color: #8b9199; }
.ct-tool.ct-tool .ct-tool__tonight a { color: #ff6b70; }
.ct-tool.ct-tool .ct-tool__tonight .ct-tool__maps-h { margin: 0 0 8px; font-size: 0.85em; font-weight: 600; letter-spacing: 0.12em; color: #c9cdd2; }
.ct-tool.ct-tool .ct-tool__tonight .ct-tool__h3 { font-family: var(--ct-v1-display); font-size: 0.9em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.ct-tool.ct-tool .ct-tool__tonight .ct-tool__liveimg { border-color: #2f343a; background: #0b1626; }
.ct-tool.ct-tool .ct-tool__tonight .ct-tool__figcap { color: #8b9199; }
/* 3.3.1 (James): NOAA draws the oval 800x800 and the viewline 800x889, so both sit in the same square frame, fitted whole; both
   images have black backgrounds, so the frame's black fill does not show */
.ct-tool.ct-tool .ct-tool__tonight [data-ct-aurora-fig] img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #000; border-radius: 4px; }
.ct-tool.ct-tool--aurora .ct-tool__tonight [data-ct-aurora-live] { min-height: 8.8em; }

/* the month picker and the city cards */
.ct-tool.ct-tool--guide .ct-tool__months { border: 0; padding: 0; }
.ct-tool.ct-tool--guide .ct-tool__monthlist .flowtools-chip.is-current { background: var(--ct-v1-ink); border-color: var(--ct-v1-ink); color: #fff; }
.ct-tool.ct-tool--guide .ct-tool__citylink,
.ct-tool.ct-tool--travelcity .ct-tool__citylink { border-radius: 6px; background: #fff; }
.ct-tool.ct-tool--guide .ct-tool__citycard.is-best .ct-tool__citylink { border: 2px solid var(--ct-v1-ink); }
.ct-tool.ct-tool--guide .ct-tool__cityname,
.ct-tool.ct-tool--travelcity .ct-tool__cityname { color: var(--ct-v1-ink); font-weight: 600; letter-spacing: 0.02em; }
.ct-tool.ct-tool--guide .ct-tool__badge { border-radius: 3px; background: var(--ct-v1-red); }
.ct-tool.ct-tool--guide .ct-tool__cell,
.ct-tool.ct-tool--travelcity .ct-tool__cell { border-radius: 2px; }
.ct-tool.ct-tool--guide .ct-tool__cell--dark,
.ct-tool.ct-tool--travelcity .ct-tool__cell--dark { color: #16181b; }
.ct-tool.ct-tool--guide .ct-tool__cell.is-sel { outline-color: var(--ct-v1-red); }
.ct-tool.ct-tool--guide .ct-tool__cell--best.is-sel { background: var(--ct-v1-red); }

/* the tiles: the best time to go in ink, the Kp beside it */
@media (min-width: 640px) {
}
.ct-tool.ct-tool--travelcity .ct-tool__tile { border: 0; border-radius: 8px; background: #f1f3f5; }
.ct-tool.ct-tool--travelcity .ct-tool__tile-h { font-weight: 600; letter-spacing: 0.1em; color: #555; }
.ct-tool.ct-tool--travelcity .ct-tool__tile-big { font-size: 1.75em; font-weight: 700; line-height: 1.05; color: var(--ct-v1-ink); }
.ct-tool.ct-tool--travelcity .ct-tool__tile-big small { font-family: Arial, sans-serif; font-size: 0.45em; font-weight: 400; text-transform: none; color: #555; }
.ct-tool.ct-tool--travelcity .ct-tool__tile--best { background: var(--ct-v1-ink); border: 0; }
.ct-tool.ct-tool--travelcity .ct-tool__tile--best .ct-tool__tile-h { color: #ff6b70; }
.ct-tool.ct-tool--travelcity .ct-tool__tile--best .ct-tool__tile-big { color: #fff; }
.ct-tool.ct-tool--travelcity .ct-tool__tile--best .ct-tool__sub { color: #c9cdd2; }
.ct-tool.ct-tool--travelcity .ct-tool__chart .ct-tool__axis b { color: var(--ct-v1-ink); }
/* the Kp the data states, as tiles beside the best time to go */
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles { margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles .ct-tool__fact { border: 0; border-radius: 8px; background: #f1f3f5; padding: 16px 18px; align-content: start; }
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles .ct-tool__fact--lead { grid-column: auto; }
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles dt { font-family: var(--ct-v1-display); font-weight: 600; letter-spacing: 0.1em; color: #555; }
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles dd { font-family: var(--ct-v1-display); font-size: 1.75em; font-weight: 700; line-height: 1.05; color: var(--ct-v1-ink); }
.ct-tool.ct-tool--travelcity .ct-tool__facts--tiles dd small { font-family: Arial, sans-serif; font-size: 0.45em; }
@media (min-width: 640px) {
    .ct-tool.ct-tool--travelcity .ct-tool__tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-flow: row; }
}

/* the breadcrumb and the type label as ONE small line ("Planning Tools > Guide"); the partial is shared with CWC, so scoped here */
.ct-tool.ct-tool--guide .flowtools-tool-frame,
.ct-tool.ct-tool--travelcity .flowtools-tool-frame { text-align: left; margin: 0 0 4px; }
.ct-tool.ct-tool--guide .flowtools-crumb,
.ct-tool.ct-tool--travelcity .flowtools-crumb { display: inline-flex; margin: 0; font-size: 0.8rem; }
.ct-tool.ct-tool--guide .flowtools-kick,
.ct-tool.ct-tool--travelcity .flowtools-kick { font-size: 0.8rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.ct-tool.ct-tool--guide .flowtools-kick::before,
.ct-tool.ct-tool--travelcity .flowtools-kick::before { content: "\203A"; margin: 0 6px; }

/* 3.4.0: the aurora context blocks (the explainer, the clear nights and cold table, record nights, the moon guide, the solar cycle) */
.ct-tool.ct-tool .ct-tool__explain p { margin: 0 0 8px; }
.ct-tool.ct-tool .ct-tool__recordlist,
.ct-tool.ct-tool .ct-tool__moonlist { margin: 0 0 8px; padding-left: 1.2em; }
.ct-tool.ct-tool .ct-tool__climate,
.ct-tool.ct-tool .ct-tool__records,
.ct-tool.ct-tool .ct-tool__moon,
.ct-tool.ct-tool .ct-tool__solar { margin: 0 0 24px; }

/* 3.4.0 (James 2026-11-01): one units toggle for the page; F and inches first, C and cm on the toggle. Without the script the
   toggle stays hidden and the imperial figures show. */
.ct-tool.ct-tool .ct-tool__units { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.ct-tool.ct-tool .ct-tool__units[hidden] { display: none; }
.ct-tool.ct-tool .ct-tool__units-label { font-size: 0.875rem; }
.ct-tool.ct-tool [data-ct-units="imperial"] .ct-u-met,
.ct-tool.ct-tool [data-ct-units="metric"] .ct-u-imp { display: none; }
