/* SAVE AS: cruisetiles.css · LOCATION: C:/MarvelApps/dayhub/cruisetiles.css
 * Cruise Hub NEW LOOK - Phase 1 (Scott 11/01 design): bright ocean, photo hero, frosted tiles, navy-glass tab bar.
 * Everything is under body.ct, which cruisetiles.js / shell.js paintTabs set only while the new look is on
 * (switch CT_ON, or one phone's ?look=tiles preview). Without body.ct this file changes nothing. */

body.ct { --ct-navy: #0b2545; --ct-ink: #0f2c55; --ct-blue: #1d6fe0; --ct-glass: rgba(9, 32, 74, .72); --ct-line: rgba(255, 255, 255, .28);
  --ct-tile: rgba(236, 244, 255, .9); --ct-green: #22c55e;
  background: linear-gradient(180deg, #0a3d7a 0%, #1361b8 30%, #2b86d6 62%, #7fc4ee 100%) fixed; }
body.ct #hero { display: none !important; }                                 /* the new hero lives in #cards */
body.ct #cards { padding-top: 0; }
body.ct[data-tab="home"] #cards { display: flex; flex-direction: column; }   /* Home only - the other tabs keep the 2-column tablet layout */
body.ct[data-tab="home"] #cards > .ct-hero { order: -1; }                   /* above any what's-new banner */

/* top bar: lifesaver · brand · settings (every tab) */
body.ct .ct-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(env(safe-area-inset-top) + 10px) 2px 6px; }
body.ct .ct-brand { flex: 1; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
body.ct .ct-brand b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; font-family: Georgia, "Times New Roman", serif; }
body.ct .ct-brand small { display: block; font-size: 13.5px; font-weight: 600; opacity: .95; margin-top: 4px; }
body.ct .ct-life, body.ct .ct-gear { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ct-line); background: rgba(9, 32, 74, .45);
  display: grid; place-items: center; font-size: 21px; cursor: pointer; flex: none; backdrop-filter: blur(6px); }
body.ct .ct-life svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
body.ct .ct-life:active, body.ct .ct-gear:active { transform: scale(.94); }

/* HOME hero: the ship photo fading into the ocean */
html:has(body.ct) { background: #7fc4ee; }
body.ct { min-height: 100vh; }
body.ct .ct-hero { position: relative; margin: 0 -14px 4px; padding: 0 14px 14px; isolation: isolate; }        /* -14px = .cards' own phone padding */
body.ct .ct-hero .ct-top { padding-bottom: 150px; }                         /* room for the ship */
body.ct .ct-band { margin: 0 -14px 8px; padding: 0 14px 6px; background: linear-gradient(180deg, #0a3d7a, rgba(10, 61, 122, 0)); }
body.ct .ct-band .ct-brand b { font-size: 22px; }
body.ct .ct-band { column-span: all; -webkit-column-span: all; }          /* tablets: the lifesaver band spans both card columns */

/* the stage card (My Cruise / Return Guard / Get me home) */
body.ct .ct-stage { display: block; width: 100%; text-align: left; color: #fff; background: var(--ct-glass); border: 1px solid var(--ct-line);
  border-radius: 20px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(0, 20, 60, .35); backdrop-filter: blur(10px); cursor: pointer; font: inherit; }
body.ct .ct-card .ct-k { display: block; font-size: 14px; font-weight: 600; opacity: .9; }
body.ct .ct-card .ct-name { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin-top: 1px; }
body.ct .ct-card .ct-sub { display: block; font-size: 13.5px; opacity: .88; margin-top: 2px; }
body.ct .ct-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ct-line); }
body.ct .ct-days { flex: 1; display: flex; align-items: center; gap: 10px; }
body.ct .ct-days .ct-cal { font-size: 34px; line-height: 1; }
body.ct .ct-days b { display: block; font-size: 42px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
body.ct .ct-days small, body.ct .ct-ready small { display: block; font-size: 14px; font-weight: 600; margin-top: 2px; }
body.ct .ct-ready { flex: 1; border-left: 1px solid var(--ct-line); padding-left: 14px; text-align: center; }
body.ct .ct-ready b { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
body.ct .ct-bar { display: block; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .22); margin-top: 7px; overflow: hidden; }
body.ct .ct-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #22c55e, #4ade80); }
body.ct .ct-say b { display: block; font-size: 22px; } body.ct .ct-say small { opacity: .9; }
body.ct .ct-bigic { font-size: 40px; }
body.ct .ct-next { display: block; margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--ct-ink); font-size: 14px; }
body.ct .ct-alert { padding: 6px; }                                         /* Return Guard / Get me home keep their own colours */
body.ct .ct-alert .rg { width: 100%; margin: 0; }
body.ct .ct-alert .chip { margin: 8px 6px 2px; }

/* Money and Packing: Home already has the countdown and "What am I forgetting?". The trip's name + Edit stay as one slim row,
   because the cards below say "(Edit)" when a price or date is missing. My Cruise → Trip keeps the whole thing. */
body.ct[data-tab="wallet"] [data-card="trips"] .trip-n, body.ct[data-tab="wallet"] [data-card="trips"] .trip-hero .sub, body.ct[data-tab="wallet"] [data-card="trips"] .btn[data-forget],
body.ct #cards:has(.planview .tile.on[data-planview="packing"]) [data-card="trips"] .trip-n,
body.ct #cards:has(.planview .tile.on[data-planview="packing"]) [data-card="trips"] .trip-hero .sub,
body.ct #cards:has(.planview .tile.on[data-planview="packing"]) [data-card="trips"] .btn[data-forget] { display: none; }
/* Return Guard's bar: full width on Home, where there's no + button beside it */
body.ct[data-tab="home"] .rg-bar { right: 16px; max-width: none; }
@media (min-width: 600px) { body.ct[data-tab="home"] .rg-bar { left: calc(50% - 264px); right: calc(50% - 264px); } }

/* Who paid what: the name and amount on their own line, the two pickers under them */
body.ct .split-item { flex-wrap: wrap; } body.ct .split-item .grow { flex: 1 0 100%; } body.ct .split-item select { flex: 1 1 40%; min-width: 0; }

/* the must-see notices from the hidden hero (new version, Install, Pro paused / ending, the car) */
body.ct .ct-notices { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
body.ct .ct-brand .offline-pill { display: inline-block; margin-left: 6px; color: #fff; }

/* travel day / first 10 minutes card, the big button, Needs you */
body.ct .ct-phase .card { background: rgba(255, 255, 255, .94); color: var(--ct-ink); border: 0; border-radius: 18px; }
body.ct .ct-phase .card h3, body.ct .ct-phase .card .today-line, body.ct .ct-phase .card .rn-row { color: var(--ct-ink); }
body.ct button.ct-big { display: block; width: 100%; margin: 2px 0 2px; padding: 15px 16px; border: 0; border-radius: 16px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: .02em; color: #062a52; background: linear-gradient(135deg, #5eead4, #7dd3fc);
  box-shadow: 0 10px 22px rgba(0, 30, 80, .28); }
body.ct .ct-needs { margin-top: 12px; background: rgba(255, 255, 255, .94); border-radius: 18px; padding: 8px 12px 6px; color: var(--ct-ink); }
body.ct .ct-needs h4 { margin: 4px 2px 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #476a95; }
body.ct .ct-need { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 2px; border: 0; border-top: 1px solid #e3ecf8;
  background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ct-ink); text-align: left; cursor: pointer; }
body.ct .ct-need:first-of-type { border-top: 0; }
body.ct .ct-need .grow { flex: 1; } body.ct .ct-need .chev { color: #7a93b5; font-size: 20px; }
body.ct .ct-need small { display: block; font-size: 12.5px; font-weight: 500; color: #476a95; margin-top: 2px; }
body.ct .ct-nextup:first-child { border-top: 0; }
body.ct .ct-nextup { padding: 10px 2px 8px; border-top: 1px solid #e3ecf8; font-size: 14px; font-weight: 600; color: var(--ct-ink); }
body.ct .ct-nextup span { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #1d6fe0; margin-right: 8px; }

/* the 12 tiles */
body.ct .ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
body.ct .ct-tile { min-height: 96px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .7); background: var(--ct-tile); color: var(--ct-navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px 6px; cursor: pointer; font: inherit;
  box-shadow: 0 8px 18px rgba(0, 30, 80, .18); backdrop-filter: blur(8px); text-align: center; }
body.ct .ct-tile .ct-ic { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .15)); }
body.ct .ct-tile b { font-size: 15px; font-weight: 800; line-height: 1.15; }
body.ct .ct-tile small { font-size: 11.5px; font-weight: 600; color: #476a95; }
body.ct .ct-tile.red { background: linear-gradient(160deg, #fff1f2, #ffe4e6); }
body.ct .ct-tile.red b { color: #be123c; }
body.ct .ct-tile:active { transform: scale(.97); }
body.ct .ct-ways .card { background: rgba(255, 255, 255, .94); color: var(--ct-ink); border-radius: 18px; }
body.ct .ct-ways .card h3, body.ct .ct-ways .rn-row { color: var(--ct-ink); }

/* bottom tab bar: dark navy glass, white line icons, the chosen one bright cyan (Scott's design) */
body.ct #tabbar { background: rgba(7, 26, 60, .92); border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -8px 24px rgba(0, 15, 45, .35); backdrop-filter: blur(12px); }
body.ct #tabbar button { color: #e6efff; font-weight: 700; }
body.ct #tabbar button span { display: flex; justify-content: center; }
body.ct #tabbar button svg { width: 25px; height: 25px; }
body.ct #tabbar button.on { color: #38bdf8; background: rgba(56, 189, 248, .14); text-shadow: 0 0 12px rgba(56, 189, 248, .6); }
@media (min-width: 700px) { body.ct .ct-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { body.ct .ct-tile:active, body.ct .ct-life:active, body.ct .ct-gear:active { transform: none; } }

/* ---------------------------------------------------------------- Phase 2: the inner screens + pop-ups
   Every tab and sheet in the bright look: the app's own colour tokens re-pointed (under body.ct only), then the few
   pieces that hard-code dark-theme colours. Buttons keep the bright teal/indigo gradient (dark text stays readable). */
body.ct { --card: rgba(255, 255, 255, .93); --card-solid: #ffffff; --line: rgba(15, 44, 85, .14); --text: #0f2c55; --dim: #4b6587;
  --gold: #a16207; --red: #e11d48; --green: #15803d; --orange: #c2410c; color: var(--text); }
body.ct .card { border-color: rgba(255, 255, 255, .75); box-shadow: 0 8px 22px rgba(0, 30, 80, .16); }
body.ct .sheet-body { background: #f3f7fd; color: var(--text); }
body.ct input, body.ct select, body.ct textarea { background: #fff; color: var(--text); border-color: rgba(15, 44, 85, .22); }
body.ct .seg button:not(.on), body.ct .chip:not(.good):not(.warn):not(.on):not(.upd-flash) { background: #e8f0fb; color: var(--text); border-color: rgba(15, 44, 85, .14); }
body.ct .chip.good { background: #dcfce7; border-color: #86efac; color: #14532d; }               /* picked / done stays visible */
body.ct .chip.warn { background: #ffe4e6; border-color: #fda4af; color: #881337; }
body.ct .chip.on { background: #dbeafe; border-color: #1d6fe0; color: #0b3a7a; font-weight: 700; }
body.ct .add-link { color: #0b6bcb; }

/* Phase 2 - Money: the final-payment tracker (Trip total / Paid / Left to pay + the due date) */
body.ct .ct-money { background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 12px; box-shadow: 0 8px 22px rgba(0, 30, 80, .16); }
body.ct .ct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.ct .ct-stats > div { border-radius: 14px; padding: 10px 8px; text-align: center; background: #e8f0fb; }
body.ct .ct-stats small { display: block; font-size: 12px; font-weight: 700; color: #4b6587; }
body.ct .ct-stats b { display: block; font-size: clamp(12.5px, 4.1vw, 16px); font-weight: 800; color: #0f2c55; margin-top: 2px; white-space: nowrap; letter-spacing: -.01em; }
body.ct .ct-stats .paid { background: #dcfce7; } body.ct .ct-stats .paid b { color: #15803d; }
body.ct .ct-stats .left { background: #ffe4e6; } body.ct .ct-stats .left b { color: #be123c; }
body.ct .ct-due { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #eef4ff; border: 1px solid #d6e3f8; font-size: 15px; }
body.ct .ct-due small { display: block; font-size: 13px; color: #4b6587; margin-top: 1px; }
body.ct .ct-due.soon { background: #fff7e6; border-color: #fcd9a0; }
body.ct .ct-due.done { background: #dcfce7; border-color: #bbf7d0; }

/* Phase 2 - Crisis Mode: one big colour per emergency (Scott's design), full width, a short line under each */
body.ct #helpSheet .help-grid { display: flex; flex-direction: column; gap: 10px; }
body.ct #helpSheet .help-btn { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; border-radius: 16px; border: 0;
  color: #fff; font-size: 26px; text-align: left; box-shadow: 0 6px 16px rgba(0, 30, 80, .2); background: #2563eb; }
body.ct #helpSheet .help-btn b { font-size: 17px; letter-spacing: .02em; }
body.ct #helpSheet .help-btn b::after { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0; opacity: .92; margin-top: 2px; }
body.ct #helpSheet .help-btn[data-help="back"] { background: #2563eb; } body.ct #helpSheet .help-btn[data-help="back"] b::after { content: "From port or shore - all-aboard time, directions, port agent"; }
body.ct #helpSheet .help-btn[data-help="get"] { background: #15803d; } body.ct #helpSheet .help-btn[data-help="get"] b::after { content: "Late, delays, missed connections"; }
body.ct #helpSheet .help-btn[data-help="medical"] { background: #dc2626; } body.ct #helpSheet .help-btn[data-help="medical"] b::after { content: "On board or in port"; }
body.ct #helpSheet .help-btn[data-help="travel"] { background: #c2410c; } body.ct #helpSheet .help-btn[data-help="travel"] b::after { content: "Flights, hotel, getting around"; }
body.ct #helpSheet .help-btn[data-fixopen] { background: #0f766e; } body.ct #helpSheet .help-btn[data-fixopen] b::after { content: "Two bookings at the same time"; }
body.ct #helpSheet .help-btn[data-help="docs"] { background: #7c3aed; } body.ct #helpSheet .help-btn[data-help="docs"] b::after { content: "Passport, ID - lost or stolen"; }
body.ct #helpSheet .help-btn[data-help="contacts"] { background: #fff; color: #0f2c55; border: 1px solid #d6e3f8; }
body.ct #helpSheet .help-btn[data-help="contacts"] b::after { content: "Tap-to-call numbers you saved - never made up"; }
body.ct #helpSheet .help-btn .sub { color: #be123c; font-size: 12px; font-weight: 700; margin-left: auto; }
body.ct .ct-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 10px 0 2px; }
body.ct .ct-tools .ct-tile { min-height: 70px; display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px;
  align-items: center; align-content: center; justify-items: start; text-align: left; padding: 10px 12px; }
body.ct .ct-tools .ct-tile .ct-ic { grid-row: 1 / span 2; }
body.ct .ct-tools .ct-tile .ct-ic { font-size: 26px; }
body.ct .ct-tools .ct-tile b { font-size: 14.5px; } body.ct .ct-tools .ct-tile small { display: block; }


/* Phase 2 - Cruise Hub Pass (Settings): a premium card, the same deep-ocean blue as the hero */
body.ct #proBox { --text: #ffffff; --dim: #dbe7ff; background: linear-gradient(140deg, #0a3d7a, #1d6fe0 75%, #0369a1); color: #fff;
  border-radius: 18px; padding: 14px 16px; margin: 12px 0; box-shadow: 0 10px 24px rgba(0, 30, 80, .25); }
body.ct #proBox a:not(.btn) { color: #fde68a; }
body.ct #proBox input { background: rgba(255, 255, 255, .95); color: #0f2c55; }
/* the ✕ on every sheet: dark on the bright sheet (its base style draws it white) */
body.ct .sheet .icon-btn { color: var(--text); background: #fff; border-color: rgba(15, 44, 85, .2); font-weight: 700; }

/* Phase 2 review fixes - text colours that were made for the dark theme, on the new white cards and sheets:
   1. --accent / --accent2 are TEXT colours in ~15 shared rules (Crisis tap-to-call links, "What am I forgetting?" headings,
      "+ Add" rows, day labels...): re-pointed to darker shades; the bright gradient is kept where they are a BACKGROUND. */
body.ct { --accent: #0f766e; --accent2: #4f46e5; --muted: #4b6587; }
body.ct .btn:not(.ghost):not(.on), body.ct .fab, body.ct .seg button.on, body.ct .gbar span { background: linear-gradient(135deg, #5eead4, #818cf8); }
body.ct .btn.ghost { background: #fff; color: #0f2c55; border-color: rgba(15, 44, 85, .2); }          /* outline buttons stay outline (literal navy: #proBox makes --text white) */
body.ct #proBox .btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }
body.ct .tl-row.now .tl-ic, body.ct .map-n { background: #5eead4; }
body.ct .tile.on { box-shadow: 0 0 0 2px #0f766e inset; }
body.ct input:focus, body.ct select:focus, body.ct textarea:focus { border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15, 118, 110, .2); }
/* 2. the chosen tab (bags, lists, trips) */
body.ct .tab.on { background: #0f2c55; color: #fff; }
/* 3. an unchecked round tick needs an edge on white (keep :not(:checked) - the green checked fill must win) */
body.ct input[type=checkbox].tick:not(:checked) { border-color: rgba(15, 44, 85, .45); background: #fff; }
body.ct input[type=checkbox].tick { position: relative; }                    /* the ✓: white and centred on the darker green */
body.ct input[type=checkbox].tick::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
/* 6/7. light-on-white leftovers: rain %, Google badge, tracks, the sheet grab, small icon chips, date pickers */
body.ct .hour .r, body.ct .dayrow .rn { color: #0369a1; }
body.ct .gbadge { color: #1d4ed8; background: #dbeafe; }
body.ct .bar, body.ct .gbar { background: rgba(15, 44, 85, .1); }
body.ct .ring { background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(15, 44, 85, .14) 0); }
body.ct .grab { background: rgba(15, 44, 85, .22); }
body.ct .hour, body.ct .fact { background: #eef4ff; }
body.ct .card h3 .ci, body.ct .tl-row .tl-ic { background: #e8f0fb; }
body.ct input[type=date], body.ct input[type=time] { color-scheme: light; }
/* Money: an overdue final payment is red, not amber (the old money tab shows it as late) */
body.ct .ct-due.late { background: #ffe4e6; border-color: #fda4af; }
/* re-check fixes: the picked segment button keeps dark text on its light gradient (it is also a .tab.on); PRO tag; paid-off tint */
body.ct .seg button.on { color: #0a0e1c; }
body.ct .tag { background: #5eead4; }
body.ct .paygrid .take { background: #dcfce7; }

/* ---------------------------------------------------------------- Phase 3: every feature has a place */
body.ct .ct-more-h { margin: 16px 2px 8px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 20, 60, .5); }
body.ct .ct-more { margin-top: 0; }
body.ct .ct-title { display: flex; align-items: center; gap: 8px; margin: 6px 2px 12px; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
body.ct .ct-back { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--ct-line); background: rgba(7, 26, 60, .5); color: #fff; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
body.ct .ct-prohero { display: block; padding: 16px 18px; margin-bottom: 12px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, #0b2545, #1d4ed8 75%, #0369a1); box-shadow: 0 12px 28px rgba(0, 20, 60, .35); }
body.ct .ct-prohero.on { background: linear-gradient(140deg, #14532d, #15803d 75%, #0f766e); } body.ct .ct-prohero.soon { background: linear-gradient(140deg, #7c2d12, #c2410c 75%, #b45309); }
body.ct .ct-prohero .ct-k { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body.ct .ct-prohero b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; } body.ct .ct-prohero small { display: block; font-size: 14.5px; margin-top: 4px; }
body.ct .ct-prorow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
body.ct .ct-prorow:first-child { border-top: 0; } body.ct .ct-prorow .grow { flex: 1; min-width: 0; }
body.ct .ct-prorow b { font-size: 14px; font-weight: 700; color: #4b6587; text-align: right; } body.ct .ct-prorow b.on { color: #15803d; } body.ct .ct-prorow b.soon { color: #c2410c; }
body.ct .ct-prolist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
body.ct .ct-probtns { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 2px; }
body.ct a.ct-probuy { display: block; text-align: center; text-decoration: none; background: linear-gradient(135deg, #fbbf24, #fb923c); color: #1c1206; }
body.ct .ct-promanage { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
body.ct .ct-price { margin: 0; text-align: center; color: #fff; font-size: 13.5px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 20, 60, .5); }

/* ---------------------------------------------------------------- Phase 4: Scott's board, art included (11/04)
   The picture sits on a fixed layer behind everything, so a screen scrolls over it and it costs no re-layout.
   Home = the full scene. Inner screens = the sky, with a band of art at the bottom where the board has one. */
body.ct { background: none; }
body.ct::before, body.ct::after { content: ""; position: fixed; left: 0; right: 0; z-index: -1; pointer-events: none; }
body.ct::before { top: 0; bottom: 0; background: url("../cruisehub/art/sky.webp") center top / cover no-repeat #2b86d6; }
body.ct[data-tab="home"]::before { background: linear-gradient(180deg, rgba(8, 44, 110, .62) 0, rgba(8, 44, 110, .3) 9%, rgba(8, 44, 110, 0) 17%), url("../cruisehub/art/home.webp") center top / cover no-repeat #1d6fc4; }   /* the logo stays readable on the bright sky */
body.ct[data-ctscreen="countdown"]::before { background: url("../cruisehub/art/countdown.webp") center top / cover no-repeat #1d6fc4; }
body.ct[data-ctscreen="packing"]::before, body.ct[data-ctscreen="lists"]::before, body.ct[data-ctscreen="onboard"]::before,
body.ct[data-ctscreen="first10"]::before, body.ct[data-ctscreen="pass"]::before { background: url("../cruisehub/art/sky.webp") center top / cover no-repeat #2b86d6; }
/* the band above the tab bar, fading into the sky */
body.ct[data-ctscreen="packing"]::after, body.ct[data-ctscreen="onboard"]::after, body.ct[data-tab="wallet"]::after { bottom: calc(env(safe-area-inset-bottom) + 58px); height: 34vh;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
body.ct[data-ctscreen="packing"]::after { background: url("../cruisehub/art/packing.webp") center bottom / cover no-repeat; }
body.ct[data-ctscreen="onboard"]::after { background: url("../cruisehub/art/onboard.webp") center bottom / cover no-repeat; }
body.ct[data-tab="wallet"]::after { background: url("../cruisehub/art/money.webp") center bottom / cover no-repeat; }
body.ct.ct-noart::before { background: linear-gradient(180deg, #0a3d7a 0%, #1361b8 30%, #2b86d6 62%, #7fc4ee 100%); }
body.ct.ct-noart::after { display: none; }

/* a full screen spans the columns on a tablet, and starts below the status bar */
body.ct .ct-screen { column-span: all; -webkit-column-span: all; padding-top: env(safe-area-inset-top); }
body.ct .ct-title { padding-top: 8px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0, 25, 70, .55); }
body.ct .ct-title .grow { flex: 1; min-width: 0; text-align: center; }
body.ct .ct-titleic { display: inline-block; width: 28px; height: 28px; vertical-align: -6px; margin-right: 7px; } body.ct .ct-titleic svg { width: 100%; height: 100%; display: block; filter: brightness(0) invert(1); }
body.ct .ct-life.small { width: 40px; height: 40px; } body.ct .ct-life.small svg { width: 28px; height: 28px; }
body.ct .ct-plus { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--ct-line); background: rgba(7, 26, 60, .5); color: #fff; font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
body.ct .ct-artgap { height: 34vh; }

/* HOME: the logo in the sky, the ship below it, then My Cruise and all twelve tiles on the first screen */
body.ct .ct-hero { margin: 0 0 4px; padding: 0; min-height: max(196px, 29vh); }   /* no cruise yet: the ship still shows above the ways in */
body.ct .ct-hero .ct-top { padding-bottom: 0; align-items: flex-start; }
body.ct .ct-brand b { font-size: 31px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; justify-content: center; gap: 8px; text-shadow: 0 2px 12px rgba(0, 25, 70, .55); }
body.ct .ct-logo { display: inline-flex; width: 44px; flex: none; filter: drop-shadow(0 2px 6px rgba(0, 25, 70, .5)); } body.ct .ct-logo svg { width: 100%; height: auto; display: block; }
body.ct .ct-band .ct-logo { width: 30px; }
body.ct .ct-brand small { font-size: 13px; text-shadow: 0 1px 6px rgba(0, 25, 70, .7); }
body.ct .ct-gear svg { width: 25px; height: 25px; color: #fff; } body.ct .ct-life, body.ct .ct-gear { background: rgba(9, 32, 74, .28); }
body.ct .ct-hero > .ct-stage { margin-top: max(120px, calc(29vh - 76px - env(safe-area-inset-top))); }
body.ct .ct-stage { background: linear-gradient(160deg, rgba(10, 58, 120, .9), rgba(6, 36, 84, .92)); border: 1.5px solid rgba(190, 225, 255, .55); padding: 11px 14px 12px; border-radius: 18px; backdrop-filter: blur(6px); }
body.ct .ct-head { display: flex; align-items: center; gap: 10px; }
body.ct .ct-headic { width: 40px; height: 40px; flex: none; } body.ct .ct-headic svg { width: 100%; height: 100%; display: block; }
body.ct .ct-headt { flex: 1; min-width: 0; } body.ct .ct-head .chev { font-size: 28px; line-height: 1; opacity: .95; }
body.ct .ct-card .ct-k { font-size: 12.5px; } body.ct .ct-card .ct-name { font-size: 21px; font-weight: 700; margin-top: 0; line-height: 1.15; } body.ct .ct-card .ct-sub { font-size: 12.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ct .ct-row { margin-top: 8px; padding-top: 8px; gap: 10px; }
body.ct .ct-days { gap: 9px; } body.ct .ct-days .ct-cal { width: 36px; height: 36px; flex: none; color: #fff; } body.ct .ct-days .ct-cal svg, body.ct .ct-bigic svg { width: 100%; height: 100%; display: block; }
body.ct .ct-bigic { width: 38px; height: 38px; flex: none; }
body.ct .ct-days b { font-size: 34px; font-weight: 800; } body.ct .ct-days small { font-size: 13px; margin-top: 0; }
body.ct .ct-ready { padding-left: 10px; } body.ct .ct-ready b { font-size: 25px; font-weight: 700; } body.ct .ct-ready small { font-size: 12px; margin-top: 0; } body.ct .ct-bar { margin-top: 5px; }
body.ct .ct-grid.ct-main { gap: 8px; margin: 10px 0 0; }
body.ct .ct-tile { background: linear-gradient(160deg, rgba(232, 244, 253, .9), rgba(205, 229, 247, .82)); border: 1px solid rgba(255, 255, 255, .8); border-radius: 15px; color: #0b2f63; box-shadow: 0 4px 12px rgba(0, 40, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .7); }
body.ct .ct-tile .ct-ic { width: 32px; height: 32px; font-size: 26px; display: block; filter: none; flex: none; } body.ct .ct-tile .ct-ic svg { width: 100%; height: 100%; display: block; }
body.ct .ct-tile b { font-size: 14.5px; font-weight: 700; line-height: 1.1; }
body.ct .ct-main .ct-tile { min-height: 68px; padding: 5px 4px; gap: 2px; } body.ct .ct-main .ct-tile small { display: none; }
body.ct .ct-tile.red { background: linear-gradient(160deg, rgba(255, 240, 242, .94), rgba(255, 222, 228, .88)); } body.ct .ct-tile.red b { color: #0b2f63; }
body.ct .ct-below { margin-top: 74px; }
body.ct .ct-below > :first-child { margin-top: 0; }
body.ct[data-tab="home"] #cards > button.ct-big { margin: 10px 0 0; }

/* tiles elsewhere (More, Money tools, On Board) */
body.ct .ct-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; }
body.ct .ct-two .ct-tile { min-height: 100px; gap: 6px; } body.ct .ct-two .ct-tile .ct-ic { width: 42px; height: 42px; } body.ct .ct-two .ct-tile b { font-size: 16px; }
body.ct .ct-tools .ct-tile .ct-ic { width: 28px; height: 28px; }

/* COUNTDOWN */
body.ct .ct-cdhero { display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(0, 25, 70, .6); margin: 2px 0 14px; }
body.ct .ct-cdship { width: 64px; } body.ct .ct-cdship svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 6px rgba(0, 25, 70, .5)); }
body.ct .ct-cdname { font-size: 25px; font-weight: 700; margin-top: 4px; line-height: 1.15; } body.ct .ct-cdsub { font-size: 13.5px; font-weight: 600; margin-top: 2px; }
body.ct .ct-digits { display: flex; justify-content: center; gap: 8px; margin: 14px 0 4px; }
body.ct .ct-digit { display: grid; place-items: center; width: 68px; height: 90px; border-radius: 12px; background: linear-gradient(180deg, #fff 0 49%, #e4edf7 50% 100%); color: #0b2f63; font-size: 66px; font-weight: 800; line-height: 1; text-shadow: none; box-shadow: 0 8px 18px rgba(0, 25, 70, .35); }
body.ct .ct-cdlab { font-size: 27px; font-weight: 700; margin-top: 6px; }
body.ct .ct-cdcard { display: block; width: 100%; margin: 0 0 10px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 16px; background: rgba(255, 255, 255, .92); color: #0b2f63; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 6px 16px rgba(0, 30, 80, .22); }
body.ct .ct-cdrow { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; } body.ct .ct-cdrow b { font-weight: 700; } body.ct .ct-cdpct { font-size: 20px; }
body.ct .ct-cdcard .ct-bar, body.ct .ct-progress .ct-bar { height: 12px; background: rgba(11, 47, 99, .14); margin-top: 8px; }
body.ct .ct-cdnext { display: flex; align-items: center; gap: 12px; } body.ct .ct-cdnext b { display: block; font-size: 16px; font-weight: 700; } body.ct .ct-cdnext small { display: block; font-size: 13.5px; color: #33507a; margin-top: 1px; } body.ct .ct-cdnext .grow { flex: 1; min-width: 0; } body.ct .ct-cdnext .chev { font-size: 24px; color: #5b7aa5; }

/* PACKING LIST + the other lists */
body.ct .ct-progress { display: block; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; background: rgba(255, 255, 255, .93); color: #0b2f63; box-shadow: 0 6px 16px rgba(0, 30, 80, .18); }
body.ct .ct-progress .ct-cdrow span { font-size: 14.5px; font-weight: 600; color: #33507a; }
body.ct .ct-listtabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px 10px; padding: 0 14px 2px; scrollbar-width: none; }
body.ct .ct-listtabs::-webkit-scrollbar { display: none; }
body.ct .ct-listtabs button { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .7); color: #0b2f63; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
body.ct .ct-listtabs button.on { background: #0b2f63; color: #fff; border-color: #0b2f63; }
body.ct .ct-cat { margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, .93); color: #0b2f63; box-shadow: 0 4px 12px rgba(0, 30, 80, .16); overflow: hidden; }
body.ct .ct-catlink { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; font: inherit; font-size: 16px; text-align: left; cursor: pointer; } body.ct .ct-catlink b { flex: 1; min-width: 0; font-weight: 600; }
body.ct .ct-cat > summary { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; cursor: pointer; list-style: none; font-size: 16px; }
body.ct .ct-cat > summary::-webkit-details-marker { display: none; }
body.ct .ct-cat > summary b { flex: 1; min-width: 0; font-weight: 600; }
body.ct .ct-box { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 7px; border: 2px solid #9db4d1; background: #fff; color: #fff; font-size: 17px; font-weight: 800; }
body.ct .ct-box.on { background: #16a34a; border-color: #16a34a; }
body.ct .ct-count { font-size: 14px; font-weight: 600; color: #33507a; }
body.ct .ct-cat .chev { font-size: 22px; color: #5b7aa5; transition: transform .15s; } body.ct .ct-cat[open] > summary .chev { transform: rotate(90deg); }
body.ct .ct-catbody { padding: 0 10px 8px; border-top: 1px solid rgba(15, 44, 85, .1); }
body.ct .ct-catbody .row, body.ct .ct-listcard .row { color: #0b2f63; }
body.ct .ct-listcard { padding: 4px 10px 8px; margin-bottom: 8px; border-radius: 14px; background: rgba(255, 255, 255, .93); color: #0b2f63; }
body.ct .ct-add { margin: 2px 0 8px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .85); }
body.ct .ct-extras > summary b { font-size: 15px; }

/* PORT DAYS */
body.ct .ct-ports { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; column-span: all; -webkit-column-span: all; }
body.ct .ct-port { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px 8px 8px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 14px; background: rgba(255, 255, 255, .93); color: #0b2f63; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 30, 80, .18); }
body.ct .ct-port img { width: 84px; height: 62px; flex: none; object-fit: cover; border-radius: 9px; background: #7fc4ee; }
body.ct .ct-port .grow { flex: 1; min-width: 0; } body.ct .ct-port b { display: block; font-size: 16px; font-weight: 700; line-height: 1.2; } body.ct .ct-port small { display: block; font-size: 13px; color: #33507a; margin-top: 2px; }
body.ct .ct-port .chev { font-size: 24px; color: #5b7aa5; }
body.ct .ct-guardrow { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 14px; background: rgba(255, 255, 255, .93); color: #0b2f63; font: inherit; text-align: left; box-shadow: 0 4px 12px rgba(0, 30, 80, .18); column-span: all; -webkit-column-span: all; }
body.ct button.ct-guardrow { cursor: pointer; }
body.ct .ct-guardrow .grow { flex: 1; min-width: 0; } body.ct .ct-guardrow b { display: block; font-size: 16px; font-weight: 700; } body.ct .ct-guardrow small { display: block; font-size: 13px; color: #33507a; margin-top: 1px; }
body.ct .ct-pill { flex: none; padding: 5px 12px; border-radius: 999px; background: #e8f0fb; color: #33507a; font-size: 13px; font-weight: 800; } body.ct .ct-pill.on { background: #16a34a; color: #fff; }
body.ct .ct-mic { display: inline-block; width: 22px; height: 22px; flex: none; } body.ct .ct-mic.big { width: 38px; height: 38px; } body.ct .ct-mic svg { width: 100%; height: 100%; display: block; }

/* PAYMENTS & BUDGET */
body.ct .ct-money { background: transparent; box-shadow: none; padding: 0; margin-bottom: 10px; column-span: all; -webkit-column-span: all; }
body.ct .ct-stats { gap: 8px; }
body.ct .ct-stats > div { padding: 10px 6px; background: linear-gradient(160deg, #d9edfb, #bcdcf5); box-shadow: 0 4px 12px rgba(0, 30, 80, .18); }
body.ct .ct-stats .paid { background: linear-gradient(160deg, #d1fae5, #a7f3d0); } body.ct .ct-stats .left { background: linear-gradient(160deg, #fff, #ffe4e6); }
body.ct .ct-stats small { color: #33507a; } body.ct .ct-stats b { font-size: clamp(14px, 4.700vw, 19px); }
body.ct .ct-due { margin-top: 8px; background: rgba(255, 255, 255, .95); border-color: rgba(255, 255, 255, .9); box-shadow: 0 4px 12px rgba(0, 30, 80, .16); color: #0b2f63; }
body.ct .ct-mlist { margin-top: 8px; padding: 2px 12px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 4px 12px rgba(0, 30, 80, .16); }
body.ct .ct-mrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(15, 44, 85, .1); font-size: 14.5px; color: #0b2f63; } body.ct .ct-mrow:first-child { border-top: 0; }
body.ct .ct-mrow .grow { flex: 1; min-width: 0; } body.ct .ct-mrow b { font-weight: 700; white-space: nowrap; }
body.ct .ct-pulse { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 8px; padding: 10px 14px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .95); color: #0b2f63; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 30, 80, .16); }
body.ct .ct-pulse .grow { flex: 1; min-width: 0; } body.ct .ct-pulse b { display: block; font-size: 16px; font-weight: 700; } body.ct .ct-pulse small { display: block; font-size: 13px; color: #33507a; }
body.ct .ct-dot { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; color: #fff; font-weight: 800; } body.ct .ct-dot.ok { background: #16a34a; } body.ct .ct-dot.warn { background: #ea580c; }
body.ct .ct-pulse .chev { font-size: 24px; color: #5b7aa5; }

/* CRISIS MODE: the whole screen, on the sunset (the sub-screens keep the plain sheet) */
body.ct #helpSheet:has(.help-grid) { background: none; align-items: stretch; }
body.ct #helpSheet .sheet-body:has(> .help-grid), body.ct #helpSheet .sheet-body:has(.help-grid) { max-width: none; max-height: none; height: 100%; margin: 0; border: 0; border-radius: 0; color: #fff; padding-top: calc(env(safe-area-inset-top) + 10px);
  background: url("../cruisehub/art/crisis.webp") center top / cover no-repeat #16204f; overflow-y: auto; }
body.ct #helpSheet .sheet-body:has(.help-grid) .grab { display: none; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2 { color: #fff; font-size: 0; display: flex; align-items: center; gap: 10px; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2::after { content: "Crisis Mode"; font-size: 25px; font-weight: 700; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head::after { content: none; }
body.ct #helpSheet .sheet-body:has(.help-grid) .icon-btn { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .45); }
body.ct #helpSheet .sheet-body:has(.help-grid) .help-grid { margin-top: 12px; }
body.ct #helpSheet .help-grid::before { content: "Quick help when something goes wrong."; color: #fff; font-size: 15px; font-weight: 600; text-align: center; margin-bottom: 4px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
body.ct #helpSheet .help-btn { position: relative; min-height: 70px; padding: 10px 40px 10px 12px; font-size: 0; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 15px; box-shadow: 0 8px 18px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }
body.ct #helpSheet .help-btn::before { content: ""; width: 46px; height: 46px; flex: none; border-radius: 11px; background: rgba(255, 255, 255, .2) center / 30px 30px no-repeat; }
body.ct #helpSheet .help-btn::after { content: "›"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 600; }
body.ct #helpSheet .help-btn b { font-size: 0; letter-spacing: 0; }
body.ct #helpSheet .help-btn b::before { display: block; font-size: 18px; font-weight: 700; }
body.ct #helpSheet .help-btn b::after { font-size: 13px; }
body.ct #helpSheet .help-btn[data-help="get"] { order: 1; background: linear-gradient(135deg, #22a34e, #0f7a3a); } body.ct #helpSheet .help-btn[data-help="get"] b::before { content: "Get to Ship"; }
body.ct #helpSheet .help-btn[data-help="back"] { order: 2; background: linear-gradient(135deg, #2f7fe0, #1450b5); } body.ct #helpSheet .help-btn[data-help="back"] b::before { content: "Back to Ship"; }
body.ct #helpSheet .help-btn[data-help="medical"] { order: 3; background: linear-gradient(135deg, #e5343f, #b01227); } body.ct #helpSheet .help-btn[data-help="medical"] b::before { content: "Medical / Safety"; }
body.ct #helpSheet .help-btn[data-help="travel"] { order: 4; background: linear-gradient(135deg, #f97316, #c2410c); } body.ct #helpSheet .help-btn[data-help="travel"] b::before { content: "Travel Problem"; }
body.ct #helpSheet .help-btn[data-fixopen] { order: 5; background: linear-gradient(135deg, #14a39a, #0b6e68); } body.ct #helpSheet .help-btn[data-fixopen] b::before { content: "Fix My Trip"; }
body.ct #helpSheet .help-btn[data-help="docs"] { order: 6; background: linear-gradient(135deg, #9333ea, #6419b8); } body.ct #helpSheet .help-btn[data-help="docs"] b::before { content: "My Documents"; }
body.ct #helpSheet .help-btn[data-help="contacts"] { order: 7; min-height: 56px; background: rgba(8, 18, 52, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; } body.ct #helpSheet .help-btn[data-help="contacts"] b::before { content: "Tap to call saved numbers"; font-size: 16px; }
body.ct #helpSheet .help-btn[data-help="contacts"] b::after { content: "Your contacts only, never made up"; font-size: 12.5px; }
body.ct #helpSheet .help-btn[data-help="contacts"] .sub { color: #fecdd3; }
body.ct #helpSheet .help-btn[data-help="get"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M3.500 29h41l-5.500 11.500c-.6 1.200-1.800 2-3.100 2H12.100c-1.300 0-2.500-.8-3.100-2zM9.500 27v-7.500c0-1.100.9-2 2-2H36c1.100 0 2 .9 2 2V27zM15 17.500V12c0-1.100.9-2 2-2h13c1.100 0 2 .9 2 2v5.500zM20.500 10V4.500h6V10z'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-help="back"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M24 3C15.200 3 8 10 8 18.800 8 30.500 24 45 24 45s16-14.500 16-26.200C40 10 32.800 3 24 3zm0 22a6.500 6.500 0 1 1 0-13 6.500 6.500 0 0 1 0 13z'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-help="medical"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M18 7h12v11h11v12H30v11H18V30H7V18h11z'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-help="travel"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M43.200 5.200c-1.900-1.900-5-1.700-6.900.3L28.600 13 9.800 8.100 6.700 11.200l15.200 8.700-7.400 7.900-6-1.100-2.400 2.400 8.300 4.300 4.300 8.300 2.400-2.400-1.100-6 7.900-7.400 8.700 15.200 3.100-3.100-4.900-18.800 7.500-7.700c2-1.900 2.200-5 .3-6.900z'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-fixopen]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M8 15h25l-5-5 3-3 11 10-11 10-3-3 5-5H8zM40 33H15l5 5-3 3L6 31l11-10 3 3-5 5h25z'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-help="docs"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M6 9h36c1.700 0 3 1.300 3 3v24c0 1.700-1.300 3-3 3H6c-1.700 0-3-1.300-3-3V12c0-1.700 1.300-3 3-3zm10 9a4.500 4.500 0 1 0 0 9 4.500 4.500 0 0 0 0-9zm-8 14c0-3 3.500-5 8-5s8 2 8 5zm20-14v3h12v-3zm0 7v3h12v-3z' fill-rule='evenodd'/%3E%3C/svg%3E"); }
body.ct #helpSheet .help-btn[data-help="contacts"]::before { width: 34px; height: 34px; background-size: 22px 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='%23fff'%3E%3Cpath d='M13.500 4l7 10.500-4.500 4.500c2.500 5.500 7.500 10.500 13 13l4.500-4.500L44 34.500 38.500 44C21 44 4 27 4 9.500z'/%3E%3C/svg%3E"); }

/* round 2, beside his board */
body.ct:not([data-ctscreen=""]) .fab { display: none; }   /* the full screens have their own + in the title bar */
body.ct .ct-grid.ct-main { margin-top: 9px; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2::before { content: ""; width: 38px; height: 38px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='16' fill='none' stroke='%23fff' stroke-width='11'/%3E%3Ccircle cx='24' cy='24' r='16' fill='none' stroke='%23dc2626' stroke-width='11' stroke-dasharray='12.570 12.570' transform='rotate(-22.500 24 24)'/%3E%3C/svg%3E") center / contain no-repeat; }
body.ct #helpSheet .help-btn { min-height: 76px; }
body.ct #helpSheet .help-btn::before { background-color: transparent; background-size: 40px 40px; }
body.ct #helpSheet .help-btn[data-help="back"] b::after { content: "From port or shore"; }
body.ct #helpSheet .help-btn[data-help="get"] b::after { content: "Late, delays, missed connections"; }
body.ct #helpSheet .help-btn[data-help="travel"] b::after { content: "Flights, hotel, transportation"; }
body.ct #helpSheet .help-btn[data-help="docs"] b::after { content: "Passport, ID, lost or stolen"; }
body.ct #helpSheet .help-btn[data-help="contacts"] { min-height: 62px; }
body.ct #helpSheet .help-btn[data-help="contacts"]:has(.sub) b::after { content: none; }
body.ct #helpSheet .help-btn[data-help="contacts"] .sub { position: absolute; left: 60px; bottom: 9px; margin: 0; font-size: 12.5px; }
body.ct #helpSheet .help-btn[data-help="contacts"]:has(.sub) b::before { margin-bottom: 16px; }
body.ct .ct-more-h { display: table; padding: 3px 10px; border-radius: 999px; background: rgba(7, 26, 60, .55); text-shadow: none; }   /* readable on cloud or sky */

/* round 5, the review */
body.ct .ct-mrow .grow small { display: block; font-size: 12px; font-weight: 500; color: #33507a; } body.ct .ct-monb { border-top: 2px solid rgba(15, 44, 85, .22); }
body.ct .ct-filter { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin-bottom: 8px; padding: 8px 12px; border: 0; border-radius: 14px; background: #fff7d6; color: #0b2f63; font: inherit; font-size: 15px; text-align: left; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 30, 80, .16); } body.ct .ct-filter .grow { flex: 1; min-width: 0; }
body.ct .ct-stats > div { padding: 10px 4px; } body.ct .ct-stats b { font-size: clamp(13px, 4.2vw, 19px); letter-spacing: -.02em; white-space: nowrap; }
body.ct.ct-noart #helpSheet .sheet-body:has(.help-grid) { background: linear-gradient(180deg, #16204f, #5b2a55); }   /* Real photo off covers Crisis Mode too */
body.ct:not([data-ctscreen=""]) #cards > .whatsnew, body.ct:not([data-ctscreen=""]) #cards > .future-banner { display: none; }   /* they wait on Home, not above a full screen's title */
body.ct .refund-add { flex-wrap: wrap; }   /* five fields don't fit a small phone on one line */

/* round 7 (Scott 11/04 night: "still doesnt look like gpt renditions"). What was still off, screen by screen beside his board: the inner screens sat on a
   pale sky where his are deep navy, had a tab bar his don't, and the type was smaller and lighter. So: navy behind them, no tab bar, the art to the
   bottom edge, bigger bolder type, and everything his board doesn't show waits below the picture. */
body.ct::before { background: linear-gradient(180deg, #08286e 0%, #0d3f9a 34%, #1a6cc8 70%, #3f9ae0 100%); }
body.ct[data-ctscreen="packing"]::before, body.ct[data-ctscreen="lists"]::before, body.ct[data-ctscreen="onboard"]::before, body.ct[data-ctscreen="first10"]::before, body.ct[data-ctscreen="pass"]::before,
body.ct[data-ctscreen="ports"]::before, body.ct[data-ctscreen="money"]::before { background: linear-gradient(180deg, #08286e 0%, #0d3f9a 34%, #1a6cc8 70%, #3f9ae0 100%); }
body.ct:not([data-ctscreen=""]) #tabbar { display: none; }
body.ct[data-ctscreen="packing"]::after, body.ct[data-ctscreen="onboard"]::after, body.ct[data-ctscreen="money"]::after, body.ct[data-ctscreen="ports"]::after { bottom: 0; height: 30vh;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
body.ct[data-ctscreen="packing"]::after { background: url("../cruisehub/art/packing.webp") center bottom / cover no-repeat; height: 27vh; }
body.ct[data-ctscreen="onboard"]::after { background: url("../cruisehub/art/onboard.webp") center bottom / cover no-repeat; height: 27vh; }
body.ct[data-ctscreen="money"]::after { background: url("../cruisehub/art/money.webp") center bottom / cover no-repeat; height: 20vh; }
body.ct[data-ctscreen="ports"]::after { background: url("../cruisehub/art/sky.webp") center bottom / cover no-repeat; height: 24vh; }
body.ct.ct-noart[data-ctscreen]::after { display: none; }

/* the title row: a bare chevron and a bare +, the title big and centred */
body.ct .ct-title { margin: 0 0 14px; padding-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.015em; line-height: 1.1; text-shadow: 0 2px 8px rgba(0, 20, 60, .5); }
body.ct .ct-back { width: 36px; height: 44px; margin-left: -4px; border: 0; background: none; font-size: 46px; font-weight: 400; line-height: 34px; padding: 0 0 8px; text-shadow: 0 2px 6px rgba(0, 20, 60, .5); }
body.ct .ct-plus { width: 36px; height: 44px; border: 0; background: none; font-size: 32px; font-weight: 500; text-shadow: 0 2px 6px rgba(0, 20, 60, .5); }
body.ct .ct-titleic { width: 34px; height: 34px; vertical-align: -7px; margin-right: 9px; }
body.ct .ct-life.small { width: 38px; height: 38px; background: none; border: 0; }
body.ct .ct-life.small svg { width: 32px; height: 32px; }

/* the gap that shows the picture: everything past it waits one scroll down, its top edge peeking */
body.ct .ct-artgap { height: 25vh; }
body.ct[data-ctscreen="money"] .ct-artgap { height: 17vh; }
body.ct[data-ctscreen="ports"] .ct-artgap { height: 17vh; }

/* HOME: a bigger logo, a stronger card, bolder tiles */
body.ct .ct-brand b { font-size: 37px; font-weight: 700; } body.ct .ct-logo { width: 54px; }
body.ct .ct-brand small { font-size: 14.5px; font-weight: 700; }
body.ct .ct-card .ct-k { font-size: 13.5px; font-weight: 600; } body.ct .ct-card .ct-name { font-size: 24px; font-weight: 800; } body.ct .ct-card .ct-sub { font-size: 13.5px; }
body.ct .ct-days b { font-size: 40px; } body.ct .ct-days small { font-size: 14.5px; font-weight: 700; } body.ct .ct-ready b { font-size: 29px; font-weight: 800; } body.ct .ct-ready small { font-size: 13px; }
body.ct .ct-stage { background: linear-gradient(160deg, rgba(14, 74, 150, .92), rgba(6, 40, 98, .94)); border: 2px solid rgba(200, 232, 255, .75); }
body.ct .ct-tile { background: linear-gradient(160deg, rgba(240, 249, 255, .96), rgba(208, 233, 251, .9)); border: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 5px 14px rgba(0, 40, 90, .22), inset 0 1px 0 rgba(255, 255, 255, .85); }
body.ct .ct-tile b { font-size: 15.5px; font-weight: 800; color: #08265a; }
body.ct .ct-main .ct-tile { min-height: 72px; } body.ct .ct-tile .ct-ic { width: 36px; height: 36px; }
body.ct .ct-tile.red b { color: #08265a; }

/* ON BOARD: the tiles fill the screen down to the picture */
body.ct .ct-two { gap: 12px; }
body.ct .ct-two .ct-tile { min-height: 124px; gap: 8px; border-radius: 20px; } body.ct .ct-two .ct-tile .ct-ic { width: 56px; height: 56px; } body.ct .ct-two .ct-tile b { font-size: 21px; font-weight: 800; }
body.ct .ct-two .ct-tile small { font-size: 12.5px; }

/* COUNTDOWN: his big flip digits and big cards */
body.ct .ct-cdship { width: 104px; } body.ct .ct-cdname { font-size: 33px; font-weight: 800; letter-spacing: -.01em; margin-top: 6px; } body.ct .ct-cdsub { font-size: 16px; font-weight: 700; margin-top: 3px; }
body.ct .ct-digits { gap: 10px; margin: 16px 0 6px; }
body.ct .ct-digit { position: relative; width: 84px; height: 112px; border-radius: 12px; font-size: 90px; color: #08265a; background: linear-gradient(180deg, #fff 0 49%, #aebed2 49% 51%, #eef3f9 51% 100%); box-shadow: 0 10px 22px rgba(0, 20, 60, .45), inset 0 0 0 1px rgba(255, 255, 255, .8); }
body.ct .ct-cdlab { font-size: 38px; font-weight: 800; letter-spacing: -.01em; margin-top: 8px; }
body.ct .ct-cdcard { padding: 16px 18px; border-radius: 20px; margin-bottom: 12px; background: rgba(255, 255, 255, .95); }
body.ct .ct-cdrow b { font-weight: 800; } body.ct .ct-cdcard .ct-cdrow { font-size: 24px; } body.ct .ct-cdpct { font-size: 31px; font-weight: 800; }
body.ct .ct-cdcard .ct-bar { height: 15px; }
body.ct .ct-cdnext b { font-size: 24px; font-weight: 800; } body.ct .ct-cdnext small { font-size: 17px; font-weight: 500; color: #1d3a66; } body.ct .ct-cdnext .chev { font-size: 32px; color: #0b2f63; }
body.ct .ct-cdnext .ct-mic.big { width: 50px; height: 50px; }

/* PACKING: big rows, big green ticks */
body.ct .ct-progress { padding: 15px 18px 16px; border-radius: 20px; margin-bottom: 12px; background: rgba(255, 255, 255, .95); }
body.ct .ct-progress .ct-cdrow { font-size: 21px; } body.ct .ct-progress .ct-cdrow span { font-size: 18px; font-weight: 700; color: #0b2f63; }
body.ct .ct-progress .ct-bar { height: 15px; }
body.ct .ct-cat { margin-bottom: 9px; border-radius: 16px; background: rgba(255, 255, 255, .96); }
body.ct .ct-catlink, body.ct .ct-cat > summary { min-height: 60px; padding: 8px 14px; font-size: 20px; gap: 14px; }
body.ct .ct-catlink b, body.ct .ct-cat > summary b { font-weight: 800; }
body.ct .ct-box { width: 34px; height: 34px; border-radius: 9px; font-size: 24px; border-width: 2.5px; } body.ct .ct-box.on { background: #16b04a; border-color: #16b04a; }
body.ct .ct-count { font-size: 18px; font-weight: 700; color: #0b2f63; } body.ct .ct-cat .chev { font-size: 28px; color: #0b2f63; }
body.ct .ct-extras > summary b { font-size: 17px; }

/* PORT DAYS: a real picture on each, one line for the day and the times, Return Guard big with its switch */
body.ct .ct-ports { gap: 11px; margin-bottom: 14px; }
body.ct .ct-port { padding: 9px 12px 9px 9px; gap: 14px; border-radius: 18px; background: rgba(255, 255, 255, .96); }
body.ct .ct-port img { width: 116px; height: 84px; border-radius: 12px; }
body.ct .ct-port b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; } body.ct .ct-port small { font-size: 14.5px; font-weight: 600; color: #0f2c55; margin-top: 3px; }
body.ct .ct-port .ct-portwhen { font-size: 16px; }
body.ct .ct-port .chev { font-size: 32px; color: #0b2f63; }
body.ct .ct-guardrow { padding: 16px 16px; gap: 14px; border-radius: 20px; margin-bottom: 14px; background: rgba(255, 255, 255, .96); }
body.ct .ct-guardrow b { font-size: 23px; font-weight: 800; } body.ct .ct-guardrow small { font-size: 15.5px; font-weight: 500; color: #1d3a66; margin-top: 2px; }
body.ct .ct-guardrow .ct-mic.big { width: 56px; height: 56px; }
body.ct .ct-pill.ct-switch { position: relative; width: 58px; height: 32px; padding: 0; border-radius: 32px; background: #16b04a; color: transparent; font-size: 0; }
body.ct .ct-pill.ct-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }

/* PAYMENTS & BUDGET: big numbers, big rows */
body.ct .ct-stats { gap: 9px; }
body.ct .ct-stats > div { padding: 12px 4px 13px; border-radius: 18px; background: linear-gradient(160deg, #e6f4fd, #bfe0f7); border: 1.5px solid rgba(255, 255, 255, .9); }
body.ct .ct-stats .paid { background: linear-gradient(160deg, #e0f8ed, #aef0cf); } body.ct .ct-stats .left { background: linear-gradient(160deg, #fff, #ffdfe4); }
body.ct .ct-stats small { font-size: 15.5px; font-weight: 600; color: #0f2c55; }
body.ct .ct-stats b { font-size: clamp(16px, 6.100vw, 25px); margin-top: 3px; }
body.ct .ct-due { gap: 13px; margin-top: 11px; padding: 11px 16px; border-radius: 18px; font-size: 21px; background: rgba(255, 255, 255, .96); }
body.ct .ct-due b { display: block; font-weight: 800; line-height: 1.15; } body.ct .ct-duedate { display: block; font-size: 16.5px; margin-top: 2px; } body.ct .ct-due small { font-size: 13.5px; color: #33507a; }
body.ct .ct-duebell { font-size: 32px; line-height: 1; } body.ct .ct-due.soon, body.ct .ct-due.late, body.ct .ct-due.done { font-size: 20px; }
body.ct .ct-mlist { margin-top: 11px; padding: 3px 16px; border-radius: 18px; background: rgba(255, 255, 255, .96); }
body.ct .ct-mrow { padding: 10px 0; font-size: 18px; font-weight: 600; gap: 12px; } body.ct .ct-mrow b { font-size: 18px; font-weight: 800; } body.ct .ct-mrow .ct-mic { width: 25px; height: 25px; }
body.ct .ct-pulse { margin-top: 11px; padding: 12px 16px; border-radius: 18px; gap: 14px; background: rgba(255, 255, 255, .96); }
body.ct .ct-pulse b { font-size: 21px; font-weight: 800; } body.ct .ct-pulse small { font-size: 15.5px; color: #1d3a66; } body.ct .ct-pulse .ct-mic.big { width: 46px; height: 46px; }
body.ct .ct-dot { width: 36px; height: 36px; font-size: 22px; } body.ct .ct-dot.ok { background: #16b04a; }

/* CRISIS MODE: his board's title and his big buttons */
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head { flex-direction: row-reverse; align-items: center; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2 { flex: 1; justify-content: center; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2::after { font-size: 30px; font-weight: 800; }
body.ct #helpSheet .sheet-body:has(.help-grid) .sheet-head h2::before { width: 44px; height: 44px; }
body.ct #helpSheet .sheet-body:has(.help-grid) .icon-btn { width: 36px; height: 44px; font-size: 0; background: none; border: 0; }
body.ct #helpSheet .sheet-body:has(.help-grid) .icon-btn::before { content: "‹"; color: #fff; font-size: 46px; font-weight: 400; line-height: 34px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
body.ct #helpSheet .help-grid { gap: 11px; }
body.ct #helpSheet .help-grid::before { font-size: 17.5px; margin-bottom: 6px; }
body.ct #helpSheet .help-btn { min-height: 86px; padding: 10px 40px 10px 14px; gap: 16px; border-width: 2px; border-color: rgba(255, 255, 255, .7); border-radius: 18px; }
body.ct #helpSheet .help-btn::before { width: 58px; height: 58px; background-size: 52px 52px; }
body.ct #helpSheet .help-btn b::before { font-size: 25px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
body.ct #helpSheet .help-btn b::after { font-size: 14.5px; font-weight: 600; margin-top: 3px; }
body.ct #helpSheet .help-btn[data-help="contacts"] { min-height: 70px; } body.ct #helpSheet .help-btn[data-help="contacts"]::before { width: 38px; height: 38px; background-size: 30px 30px; }
body.ct #helpSheet .help-btn[data-help="contacts"] b::before { font-size: 19px; } body.ct #helpSheet .help-btn[data-help="contacts"] .sub { left: 68px; }

/* round 7, second look beside the board: nothing wraps, Packing's picture shows */
body.ct .ct-brand b { font-size: clamp(24px, 8.600vw, 34px); white-space: nowrap; gap: 6px; } body.ct .ct-logo { width: clamp(34px, 12vw, 48px); }
body.ct .ct-brand small { font-size: clamp(10.500px, 3.400vw, 13.500px); white-space: nowrap; }
body.ct .ct-hero .ct-life, body.ct .ct-hero .ct-gear { width: 38px; height: 38px; } body.ct .ct-hero .ct-life svg { width: 30px; height: 30px; } body.ct .ct-hero .ct-gear svg { width: 22px; height: 22px; }
body.ct .ct-catlink, body.ct .ct-cat > summary { min-height: 66px; }
body.ct[data-ctscreen="packing"] .ct-artgap { height: 33vh; } body.ct[data-ctscreen="packing"]::after { height: 31vh; }
body.ct .ct-port { padding: 8px 10px 8px 8px; gap: 12px; } body.ct .ct-port img { width: 96px; height: 74px; }
body.ct .ct-port b { font-size: 19.500px; } body.ct .ct-port .ct-portwhen { font-size: 15px; } body.ct .ct-port .chev { font-size: 28px; }
body.ct .ct-guardrow b { font-size: 21px; } body.ct .ct-guardrow small { font-size: 14.500px; } body.ct .ct-guardrow .ct-mic.big { width: 48px; height: 48px; }
body.ct[data-ctscreen="ports"]::after { background-position: center top; }
body.ct[data-ctscreen="money"] .ct-title { font-size: 24px; } body.ct[data-ctscreen="money"] .ct-titleic { width: 28px; height: 28px; margin-right: 7px; vertical-align: -5px; }
body.ct #helpSheet .help-btn { padding: 10px 34px 10px 14px; gap: 12px; } body.ct #helpSheet .help-btn::before { width: 52px; height: 52px; background-size: 46px 46px; }
body.ct #helpSheet .help-btn b::after { font-size: 13.500px; }
body.ct #helpSheet .help-btn[data-help="contacts"] b::before { font-size: 16.500px; } body.ct #helpSheet .help-btn[data-help="contacts"] .sub { left: 64px; }
body.ct[data-ctscreen="ports"]::after { background: linear-gradient(180deg, rgba(255, 170, 120, 0) 0, rgba(255, 176, 130, .55) 100%), url("../cruisehub/art/sky.webp") center top / cover no-repeat; }   /* his board's warm clouds */
body.ct .ct-title .offline-pill { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0; color: #fff; margin-top: 1px; }   /* full screens keep the Offline word */
body.ct .ct-stats.mid b { font-size: clamp(14px, 4.700vw, 20px); } body.ct .ct-stats.tiny b { font-size: clamp(12px, 3.800vw, 16px); }   /* a big number with cents stays in its box */

/* round 7, the review */
body.ct .ct-brand small .offline-pill { display: block; width: fit-content; margin: 2px auto 0; }   /* on its own line, or it pushes the gear off a phone at sea */
body.ct .ct-back { width: 44px; margin-left: -8px; } body.ct .ct-plus { width: 44px; } body.ct .ct-life.small { width: 44px; height: 44px; margin-right: -4px; }   /* back is the only way out now: full-size targets */
body.ct #helpSheet .sheet-body:has(.help-grid) .icon-btn { width: 44px; margin-left: -6px; }
body.ct.ct-noart[data-ctscreen] .ct-artgap { height: 14px; }             /* Real photo off: no picture to leave room for */
body.ct .ct-artgap { column-span: all; -webkit-column-span: all; }       /* tablets: the gap goes across both columns */
body.ct .ct-hero .ct-life, body.ct .ct-hero .ct-gear { position: relative; } body.ct .ct-hero .ct-life::after, body.ct .ct-hero .ct-gear::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }   /* Home's two stay small to fit the logo; their tap area is full size */

/* Title bars with a + and a lifesaver: the long title still fits one line on a narrow phone */
body.ct .ct-title .grow { min-width: 0; }
body.ct[data-ctscreen="money"] .ct-title .grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 480px) { body.ct[data-ctscreen="money"] .ct-title { font-size: clamp(19px, 5.3vw, 24px); } body.ct[data-ctscreen="money"] .ct-title .ct-titleic { display: none; } }

/* My Ship is one row until it's opened */
body.ct .my-ship.ct-cat { margin: 10px 0; }
body.ct .my-ship .ct-catbody { padding: 10px 12px 12px; }

/* HOME on shorter phones: his twelve tiles still reach the first screen. Tiles and the sky above the card give up room together, as the phone gets shorter. */
@media (min-width: 341px) and (max-width: 599px) and (max-height: 840px) {
  body.ct .ct-brand b { font-size: 31px; } body.ct .ct-logo { width: 44px; } body.ct .ct-brand small { font-size: 13px; }
  body.ct .ct-hero > .ct-stage { margin-top: max(84px, min(calc(66.4vh - 342px), calc(29vh - 76px)) - env(safe-area-inset-top)); padding: 7px 12px 8px; }
  body.ct .ct-card .ct-name { font-size: 20px; } body.ct .ct-card .ct-sub { font-size: 12.5px; } body.ct .ct-card .ct-k { font-size: 12px; }
  body.ct .ct-days b { font-size: 31px; } body.ct .ct-days small { font-size: 12.5px; } body.ct .ct-ready b { font-size: 23px; } body.ct .ct-ready small { font-size: 12px; }
  body.ct .ct-grid.ct-main { gap: 6px; margin-top: 7px; }
  body.ct .ct-main .ct-tile { min-height: clamp(58px, 8.4vh, 72px); padding: 3px 3px; gap: 1px; } body.ct .ct-main .ct-tile .ct-ic { width: clamp(27px, 3.9vh, 36px); height: clamp(27px, 3.9vh, 36px); } body.ct .ct-main .ct-tile b { font-size: clamp(13.5px, 1.9vh, 15.5px); line-height: 1.08; }
}

/* ---------------------------------------------------------------- 12/03 pieces of Scott's 11/25 design on Home ("Yes, build them")
   The round countdown in the cruise card, who's going, My Itinerary at a Glance and My Cruise Planner under the tiles. */
body.ct .ct-dialcard { position: relative; display: flex; align-items: center; gap: 10px; }
body.ct .ct-dialleft { flex: 1; min-width: 0; display: flex; flex-direction: column; }
body.ct .ct-dialcard .ct-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.ct .ct-dialcard > .chev { position: absolute; top: 6px; right: 10px; font-size: 26px; line-height: 1; opacity: .95; }
body.ct .ct-line { display: block; font-size: 13.5px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
body.ct .ct-who { display: flex; align-items: center; gap: 6px; min-width: 0; margin-top: 2px; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ct .ct-whoic { display: inline-block; width: 18px; height: 18px; flex: none; } body.ct .ct-whoic svg { width: 100%; height: 100%; display: block; filter: brightness(0) invert(1); }
body.ct .ct-dialcard .ct-ready { flex: none; display: flex; align-items: center; column-gap: 6px; margin-top: 5px; padding: 0; border: 0; text-align: left; }
body.ct .ct-dialcard .ct-ready b { font-size: 23px; } body.ct .ct-dialcard .ct-ready small { font-size: 13px; white-space: nowrap; } body.ct .ct-dialcard .ct-ready .ct-bar { flex: 1; min-width: 28px; margin: 0 0 0 2px; }
body.ct .ct-dialcard .ct-name { font-size: 22px; }
body.ct .ct-dial { position: relative; flex: none; display: grid; place-items: center; width: 112px; height: 112px; margin-right: 2px; }
body.ct .ct-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 5px rgba(56, 189, 248, .55)); }
body.ct .ct-dialt { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; padding-bottom: 9px; color: #fff; }
body.ct .ct-dialt small { display: block; max-width: 70px; font-size: 12px; font-weight: 800; font-variant: all-small-caps; letter-spacing: .05em; line-height: .95; }
body.ct .ct-dialt small:last-child { max-width: none; white-space: nowrap; margin-top: 1px; }
body.ct .ct-dialt b { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.02em; line-height: 1.02; color: #fff8e1; text-shadow: 0 0 10px rgba(247, 201, 72, .55), 0 2px 4px rgba(0, 0, 0, .35); }
body.ct .ct-dialt b.long { font-size: 28px; }
body.ct .ct-head .ct-who { font-size: 12.5px; margin-top: 1px; }

body.ct .ct-glance { margin-top: 12px; padding: 8px 12px 10px; border-radius: 18px; background: rgba(255, 255, 255, .94); color: var(--ct-ink); box-shadow: 0 8px 22px rgba(0, 30, 80, .16); }
body.ct .ct-glance h4 { display: flex; align-items: center; gap: 8px; margin: 4px 2px 4px; font-size: 16.5px; font-weight: 800; color: #0b2f63; }
body.ct .ct-glance h4 .ct-mic { width: 24px; height: 24px; }
body.ct .ct-itrow, body.ct .ct-planrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 6px 2px; border: 0; border-top: 1px solid #e3ecf8;
  background: none; color: var(--ct-ink); font: inherit; text-align: left; cursor: pointer; }
body.ct .ct-glance h4 + button { border-top: 0; }
body.ct .ct-itrow img { width: 52px; height: 38px; flex: none; object-fit: cover; border-radius: 8px; background: #7fc4ee; }
body.ct .ct-itrow > .ct-mic { width: 52px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #dbeafe; padding: 5px; box-sizing: border-box; }
body.ct .ct-itrow .grow, body.ct .ct-planrow .grow { flex: 1; min-width: 0; }
body.ct .ct-itrow b, body.ct .ct-planrow b { display: block; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ct .ct-itrow small, body.ct .ct-planrow small { display: block; margin-top: 1px; font-size: 13px; font-weight: 500; color: #476a95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ct .ct-itrow .chev, body.ct .ct-planrow .chev { font-size: 22px; color: #4d6f9c; }
body.ct .ct-planrow .ct-box { width: 28px; height: 28px; border-radius: 8px; font-size: 19px; border-width: 2px; }
body.ct .ct-glancebtn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 6px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 14px rgba(37, 99, 235, .3); }
body.ct .ct-glancebtn .chev { font-size: 20px; line-height: 1; }
.ct-lookpick { margin-top: 12px; } .ct-lookpick > b { display: block; font-size: 14px; margin-bottom: 6px; } .ct-lookpick .chip { min-height: 44px; padding-left: 14px; padding-right: 14px; }

/* the card with the dial on shorter phones: the twelve tiles still reach the first screen */
@media (min-width: 341px) and (max-width: 599px) and (max-height: 840px) {
  body.ct .ct-dial { width: 100px; height: 100px; } body.ct .ct-dialt b { font-size: 32px; } body.ct .ct-dialt b.long { font-size: 25px; }
  body.ct .ct-dialt small { font-size: 11px; } body.ct .ct-line, body.ct .ct-who { font-size: 12.5px; }
  body.ct .ct-dialcard .ct-ready { margin-top: 4px; } body.ct .ct-dialcard .ct-ready b { font-size: 20px; } body.ct .ct-dialcard .ct-ready small { font-size: 12px; }
}
@media (max-width: 340px) { body.ct .ct-dial { width: 96px; height: 96px; } body.ct .ct-dialt b { font-size: 30px; } body.ct .ct-dialt small { font-size: 10.5px; } }
/* the card with the dial is a little taller than the old one: the sky above it gives back that room (the ship still shows), and on the
   shortest phones a long cruise name keeps to one line */
body.ct .ct-hero > .ct-stage.ct-dialcard { margin-top: max(110px, calc(29vh - 96px - env(safe-area-inset-top))); }
@media (min-width: 341px) and (max-width: 599px) and (max-height: 840px) {
  body.ct .ct-hero > .ct-stage.ct-dialcard { margin-top: max(84px, min(calc(66.4vh - 348px), calc(29vh - 76px)) - env(safe-area-inset-top)); }
  body.ct .ct-dialcard .ct-name { font-size: 20px; }
}
@media (max-height: 660px) { body.ct .ct-dialcard .ct-name { -webkit-line-clamp: 1; } }

/* ================================================================ 12/03 NIGHT LOOK (Scott's 11/25 design: dark navy, glowing blue borders, gold)
   body.ct.ctn = the new look with Night picked (cruisetiles.js ctNight, shell.js paintTabs). Every new-look screen and sheet: the app's colour
   tokens back to dark, then each piece the day look paints white gets navy glass with a blue glow edge. Icons sit on a light medallion with a
   gold rim, so the drawn navy icons keep their own colours. Nothing here applies without .ctn. */
html:has(body.ctn) { background: #050d26; }
body.ct.ctn { --card: rgba(10, 24, 62, .93); --card-solid: #0c1d4a; --line: rgba(130, 185, 255, .2); --text: #eef4ff; --dim: #b3c6e6; --muted: #b3c6e6;
  --gold: #f7c948; --red: #fb7185; --green: #4ade80; --orange: #fb923c; --accent: #5eead4; --accent2: #a5b4fc;
  --nt-card: linear-gradient(160deg, rgba(13, 32, 80, .96), rgba(6, 18, 50, .97)); --nt-edge: rgba(96, 182, 255, .8); --nt-soft: rgba(130, 185, 255, .2);
  --nt-glow: 0 0 14px rgba(56, 152, 255, .4), 0 8px 20px rgba(0, 0, 0, .35); --nt-gold: #f7c948; --nt-text: #eef4ff; --nt-dim: #b9cbe9; color: var(--text); }
/* behind it: navy, the pictures dimmed to night */
body.ct.ctn::before { background: radial-gradient(120% 55% at 50% 0%, #133372 0%, rgba(19, 51, 114, 0) 62%), linear-gradient(180deg, #081638 0%, #050d26 62%, #040a1e 100%); }
body.ct.ctn[data-tab="home"][data-ctscreen=""]::before { background: linear-gradient(180deg, rgba(3, 9, 30, .5) 0, rgba(3, 10, 32, .6) 32%, rgba(3, 9, 28, .9) 64%, #040a1e 100%), url("../cruisehub/art/home.webp") center top / cover no-repeat #071437; }
body.ct.ctn[data-ctscreen="countdown"]::before { background: linear-gradient(180deg, rgba(3, 9, 30, .62), rgba(3, 9, 28, .86)), url("../cruisehub/art/countdown.webp") center top / cover no-repeat #071437; }
body.ct.ctn.ct-noart[data-ctscreen]::before { background: linear-gradient(180deg, #081638 0%, #050d26 62%, #040a1e 100%); }
body.ct.ctn::after { filter: brightness(.45) saturate(.85); }
/* Home: the card, the tiles, the boxes under them */
body.ct.ctn .ct-stage { background: var(--nt-card); border: 2px solid var(--nt-edge); box-shadow: var(--nt-glow), inset 0 0 18px rgba(56, 152, 255, .12); }
body.ct.ctn .ct-card .ct-k { color: var(--nt-gold); }
body.ct.ctn .ct-bar i { background: linear-gradient(90deg, #f7c948, #fde68a); }
body.ct.ctn .ct-ready b { color: var(--nt-gold); }
body.ct.ctn .ct-tile { background: var(--nt-card); border: 1.5px solid var(--nt-edge); color: var(--nt-text); box-shadow: 0 0 10px rgba(56, 152, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .08); }
body.ct.ctn .ct-tile b, body.ct.ctn .ct-tile.red b { color: #f3f7ff; } body.ct.ctn .ct-tile small { color: var(--nt-dim); }
body.ct.ctn .ct-tile.red { background: linear-gradient(160deg, rgba(92, 18, 38, .95), rgba(52, 8, 24, .97)); border-color: rgba(251, 113, 133, .85); box-shadow: 0 0 10px rgba(251, 113, 133, .35); }
body.ct.ctn .ct-tile .ct-ic, body.ct.ctn .ct-mic { padding: 4px; box-sizing: border-box; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff 0, #e3eefb 62%, #bcd5f1 100%); box-shadow: 0 0 0 1.5px var(--nt-gold), 0 0 8px rgba(247, 201, 72, .35); }
body.ct.ctn .ct-mic { padding: 3px; } body.ct.ctn .ct-mic.big { padding: 6px; }
body.ct.ctn .ct-itrow > .ct-mic { border-radius: 8px; padding: 5px; }
body.ct.ctn .ct-needs, body.ct.ctn .ct-glance, body.ct.ctn .ct-phase .card, body.ct.ctn .ct-ways .card { background: var(--nt-card); border: 1.5px solid var(--nt-edge); box-shadow: var(--nt-glow); color: var(--nt-text); }
body.ct.ctn .ct-needs h4, body.ct.ctn .ct-glance h4 { color: var(--nt-gold); }
body.ct.ctn .ct-need, body.ct.ctn .ct-nextup, body.ct.ctn .ct-itrow, body.ct.ctn .ct-planrow { color: var(--nt-text); border-top-color: var(--nt-soft); }
body.ct.ctn .ct-need small, body.ct.ctn .ct-itrow small, body.ct.ctn .ct-planrow small { color: var(--nt-dim); }
body.ct.ctn .ct-need .chev, body.ct.ctn .ct-itrow .chev, body.ct.ctn .ct-planrow .chev, body.ct.ctn .ct-cdnext .chev, body.ct.ctn .ct-port .chev, body.ct.ctn .ct-cat .chev, body.ct.ctn .ct-pulse .chev { color: #9cc2f0; }
body.ct.ctn .ct-nextup span { color: var(--nt-gold); }
body.ct.ctn .ct-phase .card h3, body.ct.ctn .ct-phase .card .today-line, body.ct.ctn .ct-phase .card .rn-row, body.ct.ctn .ct-ways .card h3, body.ct.ctn .ct-ways .rn-row { color: var(--nt-text); }
body.ct.ctn button.ct-big { color: #1c1206; background: linear-gradient(135deg, #f7c948, #fbbf24 60%, #f59e0b); box-shadow: 0 0 14px rgba(247, 201, 72, .45); }
body.ct.ctn .ct-glancebtn { background: linear-gradient(135deg, #1d4ed8, #7c3aed); box-shadow: 0 0 12px rgba(124, 58, 237, .5); }
body.ct.ctn .ct-box { background: transparent; border-color: rgba(185, 210, 245, .7); }
body.ct.ctn .ct-box.on { background: #16a34a; border-color: #4ade80; color: #fff; }
body.ct.ctn .ct-more-h { color: var(--nt-gold); background: rgba(4, 12, 36, .8); border: 1px solid rgba(247, 201, 72, .45); }
/* the tab bar: navy, a blue glow on top, the chosen one gold */
body.ct.ctn #tabbar { background: rgba(4, 12, 36, .96); border-top: 1.5px solid rgba(96, 182, 255, .55); box-shadow: 0 -4px 18px rgba(56, 152, 255, .28); }
body.ct.ctn #tabbar button { color: #dbe6fa; }
body.ct.ctn #tabbar button.on { color: var(--nt-gold); background: rgba(247, 201, 72, .12); text-shadow: 0 0 12px rgba(247, 201, 72, .55); }
/* cards, sheets, fields, chips, buttons (what the day look turned white) */
body.ct.ctn .card { border-color: rgba(96, 182, 255, .45); box-shadow: 0 0 12px rgba(56, 152, 255, .22), 0 8px 20px rgba(0, 0, 0, .3); }
body.ct.ctn .sheet-body { background: #0a1838; color: var(--text); border-color: rgba(96, 182, 255, .45); }
body.ct.ctn input, body.ct.ctn select, body.ct.ctn textarea { background: #0f2352; color: var(--text); border-color: rgba(150, 195, 255, .35); }
body.ct.ctn input::placeholder, body.ct.ctn textarea::placeholder { color: #93abd1; }
body.ct.ctn input[type=date], body.ct.ctn input[type=time] { color-scheme: dark; }
body.ct.ctn input:focus, body.ct.ctn select:focus, body.ct.ctn textarea:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96, 165, 250, .25); }
body.ct.ctn .seg button:not(.on), body.ct.ctn .chip:not(.good):not(.warn):not(.on):not(.upd-flash) { background: #13295c; color: var(--text); border-color: rgba(150, 195, 255, .3); }
body.ct.ctn .chip.good { background: rgba(22, 163, 74, .22); border-color: #4ade80; color: #bbf7d0; }
body.ct.ctn .chip.warn { background: rgba(225, 29, 72, .22); border-color: #fb7185; color: #fecdd3; }
body.ct.ctn .chip.on { background: rgba(247, 201, 72, .18); border-color: var(--nt-gold); color: #fde68a; }
body.ct.ctn .add-link { color: #7dd3fc; }
body.ct.ctn .sheet .icon-btn { color: #fff; background: #13295c; border-color: rgba(150, 195, 255, .4); }
body.ct.ctn .btn.ghost { background: rgba(255, 255, 255, .06); color: var(--text); border-color: rgba(150, 195, 255, .45); }
body.ct.ctn .tile.on { box-shadow: 0 0 0 2px var(--nt-gold) inset; }
body.ct.ctn .tab.on { background: var(--nt-gold); color: #1c1206; }
body.ct.ctn .seg button.on { color: #0a0e1c; }
body.ct.ctn input[type=checkbox].tick:not(:checked) { border-color: rgba(185, 210, 245, .6); background: transparent; }
body.ct.ctn .hour .r, body.ct.ctn .dayrow .rn { color: #7dd3fc; }
body.ct.ctn .gbadge { color: #bfdbfe; background: #1e3a8a; }
body.ct.ctn .bar, body.ct.ctn .gbar { background: rgba(255, 255, 255, .12); }
body.ct.ctn .ring { background: conic-gradient(var(--green) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0); }
body.ct.ctn .grab { background: rgba(255, 255, 255, .3); }
body.ct.ctn .hour, body.ct.ctn .fact, body.ct.ctn .card h3 .ci, body.ct.ctn .tl-row .tl-ic { background: #13295c; }
body.ct.ctn .paygrid .take { background: rgba(22, 163, 74, .22); }
body.ct.ctn .tip-sw.on { background: #15803d; }
body.ct.ctn .ct-prorow b { color: var(--nt-dim); } body.ct.ctn .ct-prorow b.on { color: #4ade80; } body.ct.ctn .ct-prorow b.soon { color: #fdba74; }
/* Countdown, Packing and the lists, Port Days, Payments & Budget */
body.ct.ctn .ct-cdcard, body.ct.ctn .ct-progress, body.ct.ctn .ct-cat, body.ct.ctn .ct-listcard, body.ct.ctn .ct-add, body.ct.ctn .ct-port, body.ct.ctn .ct-guardrow,
body.ct.ctn .ct-due, body.ct.ctn .ct-mlist, body.ct.ctn .ct-pulse { background: var(--nt-card); border: 1.5px solid var(--nt-edge); color: var(--nt-text); box-shadow: var(--nt-glow); }
body.ct.ctn .ct-cdnext small, body.ct.ctn .ct-port small, body.ct.ctn .ct-guardrow small, body.ct.ctn .ct-due small, body.ct.ctn .ct-mrow .grow small, body.ct.ctn .ct-pulse small { color: var(--nt-dim); }
body.ct.ctn .ct-cdcard .ct-bar, body.ct.ctn .ct-progress .ct-bar { background: rgba(255, 255, 255, .14); }
body.ct.ctn .ct-cdpct { color: var(--nt-gold); }
body.ct.ctn .ct-digit { box-shadow: 0 0 18px rgba(247, 201, 72, .35), 0 10px 22px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .8); }
body.ct.ctn .ct-progress .ct-cdrow span, body.ct.ctn .ct-count { color: var(--nt-text); }
body.ct.ctn .ct-listtabs button { background: rgba(13, 32, 80, .92); color: var(--nt-text); border-color: rgba(96, 182, 255, .6); }
body.ct.ctn .ct-listtabs button.on { background: var(--nt-gold); color: #1c1206; border-color: var(--nt-gold); }
body.ct.ctn .ct-catbody { border-top-color: var(--nt-soft); }
body.ct.ctn .ct-catbody .row, body.ct.ctn .ct-listcard .row { color: var(--nt-text); }
body.ct.ctn .ct-pill { background: #13295c; color: var(--nt-text); }
body.ct.ctn .ct-pill.on { background: #16a34a; color: #fff; }
body.ct.ctn .ct-pill.ct-switch { color: transparent; }
body.ct.ctn .ct-filter { background: rgba(247, 201, 72, .14); color: #fde68a; border: 1.5px solid rgba(247, 201, 72, .6); }
body.ct.ctn .ct-stats > div { background: var(--nt-card); border-color: var(--nt-edge); box-shadow: 0 0 10px rgba(56, 152, 255, .3); }
body.ct.ctn .ct-stats small { color: var(--nt-dim); } body.ct.ctn .ct-stats b { color: #fff; }
body.ct.ctn .ct-stats .paid { background: linear-gradient(160deg, rgba(20, 83, 45, .94), rgba(10, 50, 30, .96)); border-color: rgba(74, 222, 128, .7); } body.ct.ctn .ct-stats .paid b { color: #86efac; }
body.ct.ctn .ct-stats .left { background: linear-gradient(160deg, rgba(92, 18, 38, .94), rgba(52, 8, 24, .96)); border-color: rgba(251, 113, 133, .7); } body.ct.ctn .ct-stats .left b { color: #fda4af; }
body.ct.ctn .ct-due.soon { border-color: #fbbf24; } body.ct.ctn .ct-due.done { border-color: #4ade80; }
body.ct.ctn .ct-due.late { border-color: #fb7185; background: linear-gradient(160deg, rgba(92, 18, 38, .94), rgba(52, 8, 24, .96)); }
body.ct.ctn .ct-mrow { color: var(--nt-text); border-top-color: var(--nt-soft); } body.ct.ctn .ct-monb { border-top-color: rgba(130, 185, 255, .38); }
