/**
 * FlowTools 2.3.0 - in-article boxes (content embeds).
 * Frame first (Builder A, Prism's contract in docs/design/2.3.0-embeds/),
 * then one marked section per provider. Builders edit ONLY their own section.
 * CSS custom properties with neutral defaults (Cassiopeia and Gantry).
 */

/* === FRAME (Builder A) === */
.ct-embed {
    /* private aliases: one place to read each public token */
    --_accent: var(--ct-embed-accent, var(--flowtools-primary, #2c4f6b));
    --_text: var(--ct-embed-text, inherit);
    --_muted: var(--ct-embed-muted, #5f6b6d);           /* 5.5:1 on white, AA */
    --_bg: var(--ct-embed-bg, #f6f7f8);
    --_rule: var(--ct-embed-rule, #dde2e6);
    --_row-bg: var(--ct-embed-row-bg, #ffffff);
    --_radius: var(--ct-embed-radius, 6px);
    --_quieter: var(--ct-embed-quieter, #2d6a46);
    --_typical: var(--ct-embed-typical, #5f6b6d);
    --_busier: var(--ct-embed-busier, #8a4b00);
    --_gap: var(--ct-embed-space, 1rem);

    container-type: inline-size;
    container-name: ct-embed;
    box-sizing: border-box;
    display: block;
    margin: 1.5em 0;
    padding: 0.9rem 1rem 0.75rem 1rem;
    background: var(--_bg);
    border-left: 4px solid var(--_accent);
    border-radius: 0 var(--_radius) var(--_radius) 0;
    color: var(--_text);
    font: inherit;                  /* the article's own type, never ours */
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
.ct-embed *,
.ct-embed *::before,
.ct-embed *::after {
    box-sizing: border-box;
}

/* defensive resets: Gantry and Cassiopeia both style bare ol/li/p/h3 in the
   article body (h3 caps, li margins, ol padding, link colour). Every rule
   below is scoped .ct-embed.ct-embed .x (0,3,0) so it beats typical
   "body .content h3" / ".item-page a" host rules without !important.
   A host rule written with an #id still wins; fix that in the host. */
.ct-embed.ct-embed .ct-embed__title,
.ct-embed.ct-embed .ct-embed__answer,
.ct-embed.ct-embed .ct-embed__caveat,
.ct-embed.ct-embed .ct-embed__asof,
.ct-embed.ct-embed .ct-embed__status-msg,
.ct-embed.ct-embed .ct-embed__status-next,
.ct-embed.ct-embed .ct-embed__fact {
    margin: 0;
    padding: 0;
}
.ct-embed.ct-embed .ct-embed__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ct-embed.ct-embed .ct-embed__list > :where(li) {
    margin: 0;
    padding: 0;
}
.ct-embed.ct-embed .ct-embed__list > :where(li)::before,
.ct-embed.ct-embed .ct-embed__list > :where(li)::marker {
    content: none;
}

/* heading: sentence size, article weight. Title Case is a COPY rule. */
.ct-embed.ct-embed .ct-embed__title {
    font-family: inherit;
    font-size: 1.125em;
    font-weight: 700;
    line-height: 1.3;
    color: inherit;
    letter-spacing: normal;
    text-transform: none;
}

/* the one answer */
.ct-embed.ct-embed .ct-embed__answer {
    margin-top: 0.35rem;
    font-size: 1em;
}

/* variant slot */
.ct-embed.ct-embed .ct-embed__body {
    margin-top: 0.75rem;
}

/* never-gospel line: visible, small, NOT a footnote */
.ct-embed.ct-embed .ct-embed__caveat {
    margin-top: 0.75rem;
    font-size: 0.85em;
    color: var(--_muted);
}

/* foot: link out first (the job), as-of line under it */
.ct-embed.ct-embed .ct-embed__foot {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.ct-embed.ct-embed .ct-embed__link {
    display: inline-block;
    padding: 0.65em 0;              /* >= 44px tap target on one line */
    align-self: flex-start;
    font-weight: 600;
    color: var(--_accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.ct-embed.ct-embed .ct-embed__link:hover,
.ct-embed.ct-embed .ct-embed__link:focus-visible {
    text-decoration-thickness: 2px;
}
.ct-embed.ct-embed .ct-embed__link:focus-visible,
.ct-embed.ct-embed .ct-embed__day-row:focus-visible,
.ct-embed.ct-embed .ct-embed__row a:focus-visible {
    outline: 2px solid var(--_accent);
    outline-offset: 2px;
}
/* 2.4.0 (Prism, ruling 4): inline, glued to the link text by a no-break space; inline-block would add a
   break opportunity and let the arrow wrap onto a line by itself at 375px. */
.ct-embed.ct-embed .ct-embed__arrow {
    text-decoration: none;
    display: inline;
}
.ct-embed.ct-embed .ct-embed__asof {
    font-size: 0.8em;
    color: var(--_muted);
}
/* stale flag rides on the as-of line (drinks isStale, any provider) */
.ct-embed.ct-embed .ct-embed__flag {
    font-weight: 600;
    color: var(--_busier);
}

/* --------------------------------------------------------------------------
   Shared rows: ship calls, tips rates, drinks packages, wifi capabilities.
   2.3.2: ONE dot-separated line per row: key (strong) · value (tabular) · note (muted)
   -------------------------------------------------------------------------- */
.ct-embed.ct-embed .ct-embed__rows {
    background: var(--_row-bg);
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
}
.ct-embed.ct-embed .ct-embed__row {
    display: block;
    padding: 0.55rem 0.75rem;
    border-top: 1px solid var(--_rule);
}
.ct-embed.ct-embed .ct-embed__row:first-child {
    border-top: 0;
}
.ct-embed.ct-embed .ct-embed__key {
    font-weight: 600;
}
.ct-embed.ct-embed .ct-embed__key a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--_rule);
    text-underline-offset: 3px;
}
.ct-embed.ct-embed .ct-embed__value {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ct-embed.ct-embed .ct-embed__value small {
    font-weight: 400;
    font-size: 0.8em;
    color: var(--_muted);
}
.ct-embed.ct-embed .ct-embed__note {
    color: var(--_muted);
}
.ct-embed.ct-embed .ct-embed__fact {
    margin-top: 0.6rem;
    font-size: 0.92em;
}

/* --------------------------------------------------------------------------
   States. ok = default. empty and unavailable must look DIFFERENT.
   - empty: data is present and says "nothing". Normal frame, a calm panel
     with the next date as the answer. Link and caveat stay.
   - unavailable: we do not know. Dashed, no tint, no accent rule, no link,
     no caveat (there is nothing to caveat). One muted sentence.
   -------------------------------------------------------------------------- */
.ct-embed.ct-embed .ct-embed__status {
    padding: 0.75rem;
    background: var(--_row-bg);
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
}
.ct-embed.ct-embed .ct-embed__status-msg {
    font-weight: 600;
}
.ct-embed.ct-embed .ct-embed__status-next {
    margin-top: 0.2rem;
}
.ct-embed.ct-embed .ct-embed__status-next time {
    font-weight: 700;
    color: var(--_accent);
}

.ct-embed.ct-embed[data-state="unavailable"] {
    background: transparent;
    border: 1px dashed var(--_rule);
    border-radius: var(--_radius);
    padding: 0.75rem 1rem;
}
.ct-embed.ct-embed[data-state="unavailable"] .ct-embed__title {
    font-size: 1em;
}
.ct-embed.ct-embed[data-state="unavailable"] .ct-embed__status {
    padding: 0;
    margin-top: 0.25rem;
    background: none;
    border: 0;
}
.ct-embed.ct-embed[data-state="unavailable"] .ct-embed__status-msg {
    font-weight: 400;
    color: var(--_muted);
}
.ct-embed.ct-embed[data-state="unavailable"] .ct-embed__status-msg::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    margin-right: 0.45em;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    vertical-align: -0.05em;
}

/* editor-only notice (logged-in core.edit users; never page-cached) */
.ct-embed-notice {
    display: block;
    margin: 0.75em 0;
    padding: 0.4rem 0.6rem;
    font-size: 0.85em;
    font-family: inherit;
    color: #6b3a00;
    background: #fff6e5;
    border: 1px dashed #c98a2b;
    border-radius: 4px;
}

/* print: boxes print as plain bordered text */
@media print {
    .ct-embed { background: none; border: 1px solid #999; }
    .ct-embed.ct-embed .ct-embed__link::after { content: " (" attr(href) ")"; font-weight: 400; }
}

/* 2.3.1 (Prism; Atlas on the CWC mirror): ONE rule hides every [hidden] element in a box. Row rules such as
   display: grid otherwise beat the browser's own [hidden], and Gantry (CWC) has no global [hidden] reset, so
   the ship box showed all 10 rendered rows and embed.js's date trim could not hide past rows. It replaces the
   element-specific rules (days li, fold, stale note). */
.ct-embed.ct-embed [hidden] {
    display: none !important;
}

/* 2.3.2 (Helm's ruling, after JCH on the CWC mirror kept a "hide the separator" rule but dropped the row
   grid): the " · " separator (.ct-embed__sep) is NEVER hidden by any rule, here or in the critical CSS. It
   stays in the layout as a quiet visual separator, so no optimiser split can ever produce run-together text;
   the worst case is a plain list reading "Balcony · $18.00 / night". tests/embed-shortcode-parser-check.php
   fails if any rule hides it. Its styling: Prism (SEPARATOR section below). */
/* === SEPARATOR (Prism) === */
.ct-embed.ct-embed .ct-embed__sep {
    color: var(--_muted);
    font-weight: 400;
}

/* === END SEPARATOR === */

/* === END FRAME === */

/* === PORT (Builder B) === */

/* ==========================================================================
   PROVIDER: port (Builder B)
   14 dated rows, folded at 7 (data-ct-show / data-ct-fold / data-ct-date).
   Server may render 45; every row past the fold or the window carries
   [hidden]; embed.js re-trims and drives .ct-embed__fold.
   2.3.2: every day is ONE dot-separated line (date · count · busy · ships) at every width.
   ========================================================================== */
.ct-embed.ct-embed .ct-embed__days {
    background: var(--_row-bg);
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
}

/* fold toggle (embed.js drives it; server renders it [hidden]).
   Reads as the bottom row of the list, not a button-shaped CTA. */

/* stale note: page cached past every rendered day. Quiet panel like the
   empty state, dashed so it reads "go look" rather than "nothing on". */
.ct-embed.ct-embed .ct-embed__stale-note {
    margin: 0;
    padding: 0.75rem;
    background: var(--_row-bg);
    border: 1px dashed var(--_rule);
    border-radius: var(--_radius);
    font-size: 0.95em;
}
.ct-embed.ct-embed .ct-embed__stale-note a {
    font-weight: 600;
    color: var(--_accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ct-embed.ct-embed .ct-embed__days:has(+ .ct-embed__fold:not([hidden])) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.ct-embed.ct-embed .ct-embed__fold {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: var(--_row-bg);
    border: 1px solid var(--_rule);
    border-top: 0;
    border-radius: 0 0 var(--_radius) var(--_radius);
    box-shadow: none;
    color: var(--_accent);
    font: inherit;
    font-size: 0.92em;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.ct-embed.ct-embed .ct-embed__fold::after {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.45em;
    margin-left: 0.5em;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-0.2em) rotate(45deg);
}
.ct-embed.ct-embed .ct-embed__fold[aria-expanded="true"]::after {
    transform: translateY(0.05em) rotate(-135deg);
}
.ct-embed.ct-embed .ct-embed__fold:hover {
    background: color-mix(in srgb, var(--_accent) 6%, var(--_row-bg));
}
.ct-embed.ct-embed .ct-embed__fold:focus-visible {
    outline: 2px solid var(--_accent);
    outline-offset: 2px;
}
.ct-embed.ct-embed .ct-embed__day + .ct-embed__day {
    border-top: 1px solid var(--_rule);
}
.ct-embed.ct-embed .ct-embed__day-row {
    display: block;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    color: inherit;
    text-decoration: none;
}
.ct-embed.ct-embed a.ct-embed__day-row:hover {
    background: color-mix(in srgb, var(--_accent) 6%, transparent);
}
.ct-embed.ct-embed a.ct-embed__day-row:hover .ct-embed__date {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ct-embed.ct-embed .ct-embed__date {
    font-weight: 600;
    white-space: nowrap;
}
.ct-embed.ct-embed .ct-embed__dow {
    font-weight: 400;
    color: var(--_muted);
}
.ct-embed.ct-embed .ct-embed__count {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ct-embed.ct-embed .ct-embed__count b {
    font-weight: 700;
}
.ct-embed.ct-embed .ct-embed__ships {
    color: var(--_muted);
}
.ct-embed.ct-embed .ct-embed__more {
    white-space: nowrap;
    font-weight: 600;
}

/* busy marker: three bars + the word. Not a badge, not a pill, no caps. */
.ct-embed.ct-embed .ct-embed__busy {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3em;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
}
.ct-embed.ct-embed .ct-embed__busy::before {
    content: "";
    flex: none;
    width: 0.9em;
    height: 0.75em;
    align-self: center;
    background:
        linear-gradient(currentColor, currentColor) 0 100% / 0.22em 40% no-repeat,
        linear-gradient(var(--_b2, var(--_rule)), var(--_b2, var(--_rule))) 50% 100% / 0.22em 70% no-repeat,
        linear-gradient(var(--_b3, var(--_rule)), var(--_b3, var(--_rule))) 100% 100% / 0.22em 100% no-repeat;
}
.ct-embed.ct-embed .ct-embed__busy[data-busy="quieter"] { color: var(--_quieter); }
.ct-embed.ct-embed .ct-embed__busy[data-busy="typical"] { color: var(--_typical); --_b2: currentColor; }
.ct-embed.ct-embed .ct-embed__busy[data-busy="busier"]  { color: var(--_busier);  --_b2: currentColor; --_b3: currentColor; }

/* a day with no ships: quiet row, no marker, no ships line */
.ct-embed.ct-embed .ct-embed__day[data-ships="0"] .ct-embed__count {
    color: var(--_muted);
}
.ct-embed.ct-embed .ct-embed__day[data-ships="0"] .ct-embed__date {
    font-weight: 400;
}


/* Builder B additions (not in Prism #48; same tokens, no new colours) */

/* a day the data does not cover: never styled as "no ships" */
.ct-embed.ct-embed .ct-embed__day--unknown .ct-embed__count {
    color: var(--_muted);
    font-style: italic;
}
.ct-embed.ct-embed .ct-embed__day--unknown .ct-embed__date {
    font-weight: 400;
}

/* the port pages' "Expected" chip (compiled or tentative call), inline after the names */
.ct-embed.ct-embed .ct-embed__chip {
    display: inline-block;
    margin-left: 0.4em;
    padding: 0 0.35em;
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
    font-size: 0.9em;
    font-weight: 600;
    color: var(--_muted);
    white-space: nowrap;
}

/* unconfirmed ships inside "+N more": the port pages' "Includes N expected calls." line */
.ct-embed.ct-embed .ct-embed__includes {
    white-space: nowrap;
}

/* === END PORT === */

/* === PORT QUESTION (Builder B, 2.4.1; Prism 2.6.0-port-question mock) ===
   One inline row, "When Are You Sailing?". The server shows a.ct-embed__fallback and renders the question
   [hidden]; embed-portq.js swaps them and fills the profile. Every rule is scoped .ct-embed.ct-embed--portq,
   because the row reuses names the boxes also use (__body, __more, __foot): a bare .ct-embed.ct-embed rule here
   would restyle every box. The scoped [hidden] rule in FRAME covers the row too. */
.ct-embed.ct-embed--portq {
    margin: 4px 0 18px;
    padding: 0;
    min-height: 48px; /* 2.13.1: the room of the closed row, whichever of the link or the question is showing */
}
.ct-embed.ct-embed--portq .ct-embed__fallback {
    /* 2.13.1: exactly the height of the closed question row (48px, the toggle's min-height), on one line, so the swap to the question
       when the script runs moves nothing (the 2.13.0 link took its height from the page's line-height and wrapped). */
    display: block;
    box-sizing: border-box;
    height: 48px;
    padding: 12px 14px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--_accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ct-embed.ct-embed--portq .ct-embed__arrow {
    display: inline;
    text-decoration: none;
}
.ct-embed.ct-embed--portq .ct-embed__toggle {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 14px;
    min-height: 48px;
    cursor: pointer;
}
.ct-embed.ct-embed--portq .ct-embed__toggle:focus-visible {
    outline: 2px solid var(--_accent);
    outline-offset: -2px;
    border-radius: 0 var(--_radius) var(--_radius) 0;
}
.ct-embed.ct-embed--portq .ct-embed__ask {
    flex: none;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ct-embed-head, #1d1d1d);
}
.ct-embed.ct-embed--portq .ct-embed__pick {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    color: var(--_accent);
    font-weight: 600;
    font-size: 0.94em;
    text-align: right;
}
.ct-embed.ct-embed--portq .ct-embed__picked {
    /* 2.13.1: a long pick ("Independence of the Seas, Wed May 12") is clipped with an ellipsis, never pushed past the row at 320px */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ct-embed.ct-embed--portq .ct-embed__chev {
    flex: none;
}
.ct-embed.ct-embed--portq .ct-embed__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.ct-embed.ct-embed--portq .ct-embed__chev {
    flex: none;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 2px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s;
}
.ct-embed.ct-embed--portq .ct-embed__toggle[aria-expanded="true"] .ct-embed__chev {
    transform: rotate(-135deg) translateY(-2px);
}
.ct-embed.ct-embed--portq .ct-embed__body {
    margin: 0;
    padding: 0 14px 12px;
    display: grid;
    gap: 10px;
}
.ct-embed.ct-embed--portq .ct-embed__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}
.ct-embed.ct-embed--portq .ct-embed__field {
    display: grid;
    gap: 2px;
    flex: 1 1 150px;
    min-width: 0;
}
.ct-embed.ct-embed--portq .ct-embed__field label {
    font-size: 0.8em;
    font-weight: 700;
    color: var(--ct-embed-head, #1d1d1d);
}
.ct-embed.ct-embed--portq .ct-embed__field select {
    font: inherit;
    font-size: 0.95em;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
    background: var(--_row-bg);
    color: inherit;
    width: 100%;
}
.ct-embed.ct-embed--portq .ct-embed__field select:disabled {
    color: var(--_muted);
    background: transparent;
}
.ct-embed.ct-embed--portq .ct-embed__hint {
    margin: 0;
    font-size: 0.82em;
    color: var(--_muted);
}
.ct-embed.ct-embed--portq .ct-embed__profile {
    margin: 0;
    padding: 0;
    background: var(--_row-bg);
    border: 1px solid var(--_rule);
    border-radius: var(--_radius);
}
.ct-embed.ct-embed--portq .ct-embed__line {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 2px 12px;
    align-items: baseline;
    padding: 9px 12px;
    border-top: 1px solid var(--_rule);
}
.ct-embed.ct-embed--portq .ct-embed__line:first-child {
    border-top: 0;
}
.ct-embed.ct-embed--portq .ct-embed__line dt {
    margin: 0;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--_muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
/* the dd holds the fact and its link (a dl may hold only dt and dd): fact left, link right, wrapping under */
.ct-embed.ct-embed--portq .ct-embed__line dd {
    margin: 0;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 2px 12px;
}
.ct-embed.ct-embed--portq .ct-embed__val {
    min-width: 0;
}
.ct-embed.ct-embed--portq .ct-embed__line b {
    color: var(--ct-embed-head, #1d1d1d);
}
.ct-embed.ct-embed--portq .ct-embed__more {
    color: var(--_accent);
    font-weight: 700;
    font-size: 0.92em;
    white-space: nowrap;
    text-underline-offset: 3px;
}
.ct-embed.ct-embed--portq .ct-embed__foot {
    display: block;
    margin: 0;
    font-size: 0.78em;
    color: var(--_muted);
}
@media (max-width: 520px) {
    .ct-embed.ct-embed--portq .ct-embed__line {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* 2.13.1: on a narrow phone the question's two halves ("When Are You Sailing?" and "Pick Your Cruise") do not fit side by side, so they wrapped
   by chance (two or three lines, and a late web font moved the wrap), and the row jumped between 48px and 76px. Below 440px they sit on two
   fixed lines and the whole row, link and question alike, is 64px: it never changes height. */
@media (max-width: 439px) {
    .ct-embed.ct-embed--portq { min-height: 64px; }
    .ct-embed.ct-embed--portq .ct-embed__fallback { height: 64px; line-height: 40px; }
    .ct-embed.ct-embed--portq .ct-embed__toggle { min-height: 64px; flex-wrap: wrap; align-content: center; row-gap: 2px; }
    .ct-embed.ct-embed--portq .ct-embed__ask,
    .ct-embed.ct-embed--portq .ct-embed__pick { flex: 1 1 100%; white-space: nowrap; }
    .ct-embed.ct-embed--portq .ct-embed__pick { justify-content: space-between; text-align: left; }
}
/* === END PORT QUESTION === */

/* === SHIP (Builder C) === */
/* Next calls in shared rows (Prism #48 section 4): key = port (linked when it has a page), value = date,
   note = role + hours, with the port pages' unconfirmed chip inside the note. */
.ct-embed.ct-embed--ship .ct-embed__value {
    font-weight: 400;
}
.ct-embed.ct-embed--ship .ct-embed__chip {
    display: inline-block;
    padding: 0 0.4em;
    border: 1px solid currentColor;
    border-radius: 0.6em;
    font-size: 0.85em;
    line-height: 1.4;
    white-space: nowrap;
}
.ct-embed.ct-embed--ship .ct-embed__vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
/* === END SHIP === */

/* === TIPS (Builder A) === */
.ct-embed.ct-embed--tips .ct-embed__row--total {
    background: color-mix(in srgb, var(--_accent) 6%, var(--_row-bg));
}
.ct-embed.ct-embed--tips .ct-embed__row--total .ct-embed__value {
    color: var(--_accent);
    font-size: 1.1em;
}

/* === END TIPS === */

/* === DRINKS (Builder C) === */
/* One row per package (Prism #48 section 6): the frame's shared rows cover it. */
/* === END DRINKS === */

/* === WIFI (Builder C) === */
/* One row per capability, cheapest plan that does it (Prism #48 section 7). The checkmark is CSS only. */
.ct-embed.ct-embed--wifi .ct-embed__key::before {
    content: "";
    display: inline-block;
    width: 0.45em;
    height: 0.8em;
    margin: 0 0.5em 0 0.1em;
    border: solid var(--_accent);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translateY(-0.1em);
}
/* === END WIFI === */

/* === HURRICANE (Builder B, 2.9.0; Prism conditions-tools mock round 2, Embeds) ===
 * The box's spark (24 half-months of hurricane years), its month axis, the answer and the two links. Every selector is
 * .ct-embed.ct-embed--hurricane scoped; every class is in the server-rendered box (JCH reduce-unused-CSS keeps them). */
.ct-embed.ct-embed--hurricane .ct-embed__spark { max-width: 420px; display: grid; grid-template-columns: repeat(24, 1fr); align-items: end; gap: 1px; height: 36px; border-bottom: 1px solid #9aa5ad; margin: 4px 0 0; }
.ct-embed.ct-embed--hurricane .ct-embed__spark span { display: block; background: var(--ct-embed-accent, #2c4f6b); border-radius: 1px 1px 0 0; min-height: 1px; }
.ct-embed.ct-embed--hurricane .ct-embed__sax { max-width: 420px; display: grid; grid-template-columns: repeat(12, 1fr); font-size: 0.68em; color: #5f6b6d; text-align: center; margin: 2px 0 6px; }
.ct-embed.ct-embed--hurricane .ct-embed__ans { margin: 0 0 4px; }
.ct-embed.ct-embed--hurricane .ct-embed__ans b { color: #1d1d1d; }
.ct-embed.ct-embed--hurricane .ct-embed__links { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.ct-embed.ct-embed--hurricane .ct-embed__more { color: var(--ct-embed-accent, #2c4f6b); font-weight: 700; font-size: 0.92em; text-underline-offset: 3px; }
/* === END HURRICANE === */

/* === SEA (Builder B, 2.10.0; Prism conditions-tools mock v13, Embeds) ===
 * The box's 12-month spark of typical wave height, its month axis and the answer. Scoped .ct-embed.ct-embed--sea;
 * every class is in the server-rendered box (JCH reduce-unused-CSS keeps them). */
.ct-embed.ct-embed--sea .ct-embed__spark { max-width: 420px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 36px; border-bottom: 1px solid #9aa5ad; margin: 4px 0 0; }
.ct-embed.ct-embed--sea .ct-embed__spark span { display: block; background: var(--ct-embed-accent, #2c4f6b); border-radius: 1px 1px 0 0; min-height: 1px; }
.ct-embed.ct-embed--sea .ct-embed__sax { max-width: 420px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; font-size: 0.68em; color: #5f6b6d; text-align: center; margin: 2px 0 6px; }
.ct-embed.ct-embed--sea .ct-embed__leg { margin: 0 0 2px; font-weight: 600; color: #1d1d1d; }
.ct-embed.ct-embed--sea .ct-embed__ans { margin: 0 0 4px; }
.ct-embed.ct-embed--sea .ct-embed__ans b { color: #1d1d1d; }
/* === END SEA === */

/* === AURORA (Builder C; Prism conditions-tools mock, Embeds) ===
 * The box's 12-month dark-hours spark and its axis. Bars under 3 dark hours are pale (ct-embed__lite). Scoped to
 * .ct-embed--aurora; every class is in the server-rendered box, so JCH's reduce-unused-CSS keeps them. */
.ct-embed.ct-embed--aurora .ct-embed__spark { max-width: 420px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 3px; height: 36px; border-bottom: 1px solid #9aa5ad; margin: 4px 0 0; }
.ct-embed.ct-embed--aurora .ct-embed__spark span { display: block; background: var(--ct-embed-accent, #2c4f6b); border-radius: 1px 1px 0 0; min-height: 1px; }
.ct-embed.ct-embed--aurora .ct-embed__spark .ct-embed__lite { background: #c9d9e4; }
.ct-embed.ct-embed--aurora .ct-embed__sax { max-width: 420px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; font-size: 0.68em; color: #5f6b6d; text-align: center; margin: 2px 0 6px; }
/* === END AURORA === */

/* === SPEED (Builder, 2.13.0; Prism speed-tool mock, box) ===
 * The ship speed box. The frame, rows, separators and foot are the box family's; only the state row, the head-to-head's
 * small bars and the fact line are new. Scoped to .ct-embed--speed; every class is in the server-rendered box, so JCH's
 * reduce-unused-CSS keeps them. Bars are inline SVG with attributes only (no inline style, so the CSP holds). */
.ct-embed.ct-embed--speed .ct-speed__none { display: inline-flex; gap: 6px; align-items: center; color: var(--ct-embed-muted, #5f6b6d); font-weight: 600; }
.ct-embed.ct-embed--speed .ct-speed__none::before { content: ""; width: 0.8em; height: 0.8em; border: 2px solid currentColor; border-radius: 50%; flex: none; }
.ct-embed.ct-embed--speed .ct-embed__fact { margin: 0.6rem 0 0; }
.ct-embed.ct-embed--speed .ct-speed__mini { margin: 0.35rem 0 0; }
.ct-embed.ct-embed--speed .ct-speed__mini .ct-speed__bar { display: block; width: 100%; height: 10px; background: #eef1f3; border-radius: 0 3px 3px 0; }
.ct-embed.ct-embed--speed .ct-speed__mini .ct-speed__bar rect { fill: #9fb3c4; }
.ct-embed.ct-embed--speed .ct-speed__row--mine .ct-speed__mini .ct-speed__bar rect { fill: var(--ct-embed-accent, #2c4f6b); }
/* === END SPEED === */
