/* Compass Compass 1.1.0, copied by sync.mjs. Then the guides' own styles. */
/* Compass fonts. Self hosted, variable, OFL (licences beside this file).
 *
 * Fraunces      the voice: headlines, the one italic phrase, a family's name.
 *               Built from google/fonts with SOFT and WONK pinned to 0, so the
 *               shapes stay calm and upright. Optical size 9 to 144, weight 300 to 700.
 * Lexend Deca   every sentence and control. Weight 200 to 700.
 * Space Grotesk every number, time, rupee figure, case number and id. Weight 300 to 700.
 *
 * Each face covers Latin, Latin Extended A and B, Vietnamese and the rupee sign.
 * The "... Fallback" faces are local system fonts stretched to the same width,
 * so text does not jump when the real face arrives. Rebuild with tools/build-fonts.py.
 */

@font-face {
  font-family: "Compass Fraunces";
  src: url(/assets/fonts/fraunces-roman.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Compass Fraunces";
  src: url(/assets/fonts/fraunces-italic.woff2) format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Compass Lexend";
  src: url(/assets/fonts/lexend-deca.woff2) format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Compass Grotesk";
  src: url(/assets/fonts/space-grotesk.woff2) format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Fallbacks measured against the real faces (tools/build-fonts.py prints these). */
@font-face {
  font-family: "Compass Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 112.94%;
  ascent-override: 86.6%;
  descent-override: 22.58%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Compass Lexend Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 110.59%;
  ascent-override: 90.42%;
  descent-override: 22.61%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Compass Grotesk Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 110.93%;
  ascent-override: 88.7%;
  descent-override: 26.32%;
  line-gap-override: 0%;
}

/* ==========================================================================
 * Compass tokens. The one source for iTour, the companion, i-Navigate,
 * move.report and the city guides.
 *
 * Colours come from the IKAN brand book (Nov 2023, pages 33 to 36). One change
 * from the book, by the owner's later word: paper is white and the ground is a
 * faint sky tint. Never cream.
 *
 * Every text pair below is measured with the WCAG 2 formula by
 * tools/check-contrast.mjs, which reads this file. Numbers in the comments are
 * that tool's output. Nothing under 4.5:1 is allowed as text, except raw coral
 * at 24px or larger (large text, 3:1).
 *
 * Registers: set data-register on <html> or any wrapper.
 *   home   (default) the family: i-Navigate, the city guides, every share page
 *   field  the consultant: iTour desk and the companion. data-theme="dark" or
 *          "system" for night, data-contrast="more" for outdoor sun
 *   record documents: itinerary PDF, arrival pack, condition report
 * All names start with --cp- so nothing clashes with an app's older tokens
 * while it moves across.
 * ========================================================================== */

:root {
  color-scheme: light;

  /* ── brand, from the book ─────────────────────────────────────────────── */
  --cp-midnight: #134550;        /* chrome, headings, covers. white on it 10.53 */
  --cp-midnight-deep: #0c323a;   /* the darkest band. white on it 13.3 */
  --cp-sky: #acd8d5;             /* calm fills, selection. ink on it 11.89 */
  --cp-sky-soft: #d6ecea;        /* selected rows, chips */
  --cp-sky-wash: #eaf4f3;        /* section bands */
  --cp-coral: #f1593f;           /* the brand coral: focus ring, dots, active marker,
                                    the italic phrase at 24px and up. 3.36 on paper */
  --cp-coral-action: #c63822;    /* the one action. white text on it 5.26 */
  --cp-coral-action-hover: #b03418;
  --cp-coral-action-press: #9a2c14;
  --cp-coral-text: #b03418;      /* coral as small text. 6.27 on paper, 5.75 on ground */
  --cp-coral-soft: #fdebe7;

  /* ── paper and ink ────────────────────────────────────────────────────── */
  --cp-paper: #ffffff;           /* anything you read */
  --cp-ground: #f1f6f6;          /* the app ground, a breath of sky */
  --cp-sunken: #e6efef;          /* wells, tracks, skeletons */
  --cp-line: #dce6e6;            /* hairlines between rows */
  --cp-line-strong: #c3d2d3;     /* card edges */
  --cp-line-control: #6f8488;    /* input edges, 3.94 on paper (3:1 needed) */
  --cp-ink: #10141c;             /* the book's ink. 18.44 on paper, 16.91 on ground */
  --cp-ink-2: #3d4f55;           /* secondary text. 7.86 on ground */
  --cp-ink-3: #5b6d73;           /* meta and captions. 5.41 paper, 4.96 ground, 4.93 sky wash */
  --cp-steel: #809dac;           /* decoration only, 2.86. never text */
  --cp-heading-color: var(--cp-midnight); /* headlines and big figures. 9.84 on ground */
  --cp-on-dark: #ffffff;
  --cp-on-dark-2: #cfe2e0;       /* secondary text on midnight. 7.9 */
  --cp-scrim: rgb(12 50 58 / 0.44); /* behind a sheet, never on a photograph */

  /* ── status, from the book's secondaries. fill, text shade, soft tint ── */
  --cp-ok: #109648;      --cp-ok-text: #0c7136;     --cp-ok-soft: #e3f3e9;     /* 5.32 on soft */
  --cp-wait: #ffc40b;    --cp-wait-text: #7a5800;   --cp-wait-soft: #fff4d1;   /* 5.93 */
  --cp-stop: #e02b3d;    --cp-stop-text: #a8202e;   --cp-stop-soft: #fce7e9;   /* 6.10 */
  --cp-info: #15aa98;    --cp-info-text: #0e6b60;   --cp-info-soft: #e1f3f0;   /* 5.56 */
  --cp-sealed: #910c48;  --cp-sealed-text: #910c48; --cp-sealed-soft: #f6e4ec; /* 8.94 on paper */
  --cp-olive: #bcc906;   /* charts only */
  --cp-plum: #910c48;

  /* ── the one action and the focus ring ───────────────────────────────── */
  --cp-action: var(--cp-coral-action);
  --cp-action-hover: var(--cp-coral-action-hover);
  --cp-action-press: var(--cp-coral-action-press);
  --cp-on-action: #ffffff;
  --cp-focus-color: var(--cp-coral);
  --cp-focus-width: 2px;
  --cp-focus-offset: 2px;
  --cp-focus-ring: 0 0 0 var(--cp-focus-offset) var(--cp-paper),
    0 0 0 calc(var(--cp-focus-offset) + var(--cp-focus-width)) var(--cp-focus-color);

  /* ── type ──────────────────────────────────────────────────────────────── */
  --cp-font-voice: "Compass Fraunces", "Compass Fraunces Fallback", Georgia, "Times New Roman", serif;
  --cp-font-body: "Compass Lexend", "Compass Lexend Fallback", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --cp-font-figure: "Compass Grotesk", "Compass Grotesk Fallback", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --cp-figure-features: "tnum" 1, "lnum" 1;           /* money, counts, times */
  --cp-id-features: "tnum" 1, "lnum" 1, "zero" 1;     /* case numbers and codes: slashed zero */

  /* fluid scale, 360px to 1440px wide */
  --cp-step--2: clamp(0.75rem, 0.7396rem + 0.0463vw, 0.7813rem);   /* 12 to 12.5 */
  --cp-step--1: clamp(0.8438rem, 0.8333rem + 0.0463vw, 0.875rem);  /* 13.5 to 14 */
  --cp-step-0: clamp(1rem, 0.9792rem + 0.0926vw, 1.0625rem);       /* 16 to 17 */
  --cp-step-1: clamp(1.125rem, 1.0833rem + 0.1852vw, 1.25rem);     /* 18 to 20 */
  --cp-step-2: clamp(1.25rem, 1.1667rem + 0.3704vw, 1.5rem);       /* 20 to 24 */
  --cp-step-3: clamp(1.5rem, 1.375rem + 0.5556vw, 1.875rem);       /* 24 to 30 */
  --cp-step-4: clamp(1.75rem, 1.5417rem + 0.9259vw, 2.375rem);     /* 28 to 38 */
  --cp-step-5: clamp(2.125rem, 1.8333rem + 1.2963vw, 3rem);        /* 34 to 48 */
  --cp-step-6: clamp(2.5rem, 2rem + 2.2222vw, 4rem);               /* 40 to 64 */
  --cp-step-7: clamp(3.25rem, 2.3333rem + 4.0741vw, 6rem);         /* 52 to 96, the big stat */

  /* roles. Each register decides which face leads. Home is the default. */
  --cp-display-font: var(--cp-font-voice);
  --cp-display-weight: 460;
  --cp-display-size: var(--cp-step-6);
  --cp-display-leading: 1.04;
  --cp-display-tracking: -0.02em;
  --cp-heading-font: var(--cp-font-voice);
  --cp-heading-weight: 500;
  --cp-heading-size: var(--cp-step-3);
  --cp-heading-leading: 1.15;
  --cp-heading-tracking: -0.01em;
  --cp-body-size: 1.0625rem;     /* 17px, families read in a second language */
  --cp-body-weight: 350;
  --cp-body-leading: 1.6;
  --cp-small-size: 0.9375rem;    /* 15px */
  --cp-label-font: var(--cp-font-body);
  --cp-label-size: 0.8125rem;    /* 13px, sentence case */
  --cp-label-weight: 500;
  --cp-measure: 62ch;

  /* ── space, a 4px base ─────────────────────────────────────────────────── */
  --cp-space-1: 4px;
  --cp-space-2: 8px;
  --cp-space-3: 12px;
  --cp-space-4: 16px;
  --cp-space-5: 20px;
  --cp-space-6: 24px;
  --cp-space-7: 32px;
  --cp-space-8: 40px;
  --cp-space-9: 56px;
  --cp-space-10: 80px;
  --cp-gutter: clamp(16px, 3.2vw, 40px);        /* page side margin, 16 on a phone */
  --cp-section: clamp(40px, 6vw, 96px);         /* between sections */
  --cp-row-height: 56px;                        /* list row on a phone */
  --cp-target: 44px;                            /* the smallest thing a finger presses */

  /* ── shape ─────────────────────────────────────────────────────────────── */
  --cp-radius-xs: 4px;           /* chips inside a figure, map keys */
  --cp-radius-control: 10px;     /* buttons, inputs */
  --cp-radius-card: 14px;        /* cards and plates, the ceiling is 16 */
  --cp-radius-sheet: 22px;       /* the top corners of a bottom sheet */
  --cp-radius-pill: 999px;       /* status chips and the sync pill only */
  /* the book's signature: one large quarter round corner on an otherwise
     square block. Covers, the move pass, the empty state tile. Nowhere else. */
  --cp-radius-quarter: 4px 44px 4px 4px;
  --cp-radius-quarter-lg: 4px 88px 4px 4px;
  /* portraits sit in an arch, from "Meet your captains" in the book */
  --cp-radius-arch: 999px 999px 12px 12px;

  /* ── elevation. A border or a shadow, never both at full strength ─────── */
  --cp-shadow-1: 0 1px 2px rgb(19 69 80 / 0.07);
  --cp-shadow-2: 0 1px 2px rgb(19 69 80 / 0.06), 0 8px 24px -8px rgb(19 69 80 / 0.18);
  --cp-shadow-3: 0 2px 6px rgb(16 20 28 / 0.08), 0 24px 56px -20px rgb(16 20 28 / 0.32);
  --cp-shadow-action: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 1px 2px rgb(154 44 20 / 0.28);

  /* ── motion ────────────────────────────────────────────────────────────── */
  --cp-ease-enter: cubic-bezier(0.16, 1, 0.3, 1);     /* things arriving, ease out expo */
  --cp-ease-exit: cubic-bezier(0.4, 0, 1, 1);         /* things leaving, quicker */
  --cp-ease-move: cubic-bezier(0.2, 0, 0, 1);         /* things changing place */
  --cp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);/* arrival and success only */
  --cp-dur-instant: 100ms;
  --cp-dur-quick: 160ms;       /* press, hover, a chip changing */
  --cp-dur-base: 280ms;        /* a sheet, a toast, a card opening */
  --cp-dur-slow: 480ms;        /* the pass arriving, a stamp */
  --cp-dur-count: 900ms;       /* a number counting up */
  --cp-motion-distance: 1;     /* multiplies every travel. 0 under reduced motion */
  --cp-press-scale: 0.97;

  /* ── layers ────────────────────────────────────────────────────────────── */
  --cp-z-sticky: 20;
  --cp-z-sheet: 50;
  --cp-z-toast: 60;
}

/* ── Field: the consultant's tool. Light by default, dense, Space Grotesk leads ─ */
[data-register="field"] {
  --cp-display-font: var(--cp-font-figure);
  --cp-display-weight: 500;
  --cp-display-size: var(--cp-step-5);
  --cp-display-leading: 1.08;
  --cp-display-tracking: -0.015em;
  --cp-heading-font: var(--cp-font-figure);
  --cp-heading-weight: 600;
  --cp-heading-size: var(--cp-step-1);
  --cp-heading-leading: 1.25;
  --cp-heading-tracking: -0.005em;
  --cp-body-size: 1rem;          /* 16 on phones, never smaller on a control */
  --cp-body-weight: 400;
  --cp-body-leading: 1.5;
  --cp-small-size: 0.875rem;
  --cp-label-font: var(--cp-font-figure);
  --cp-label-size: 0.8125rem;
  --cp-row-height: 52px;
  --cp-measure: 70ch;
}

/* Field at night: near black, never the teal field the owner rejected. */
[data-register="field"][data-theme="dark"] {
  color-scheme: dark;
  --cp-paper: #151c1f;
  --cp-ground: #0d1214;
  --cp-sunken: #0a0e10;
  --cp-line: rgb(255 255 255 / 0.08);
  --cp-line-strong: rgb(255 255 255 / 0.14);
  --cp-line-control: #6b7c7e;    /* 3.6 on paper */
  --cp-ink: #f2f4f3;             /* 17.07 */
  --cp-ink-2: #b3c0c0;           /* 9.21 on paper */
  --cp-ink-3: #8c9c9d;           /* 6.04 on paper */
  --cp-heading-color: #f2f4f3;
  --cp-sky-soft: #1d3236;
  --cp-sky-wash: #142326;
  --cp-coral-text: #f56e56;      /* 6.51 on ground */
  --cp-coral-soft: #3a1b15;
  --cp-ok-text: #4cc47f;   --cp-ok-soft: #10281b;
  --cp-wait-text: #ffd257; --cp-wait-soft: #2d2408;
  --cp-stop-text: #ff7a86; --cp-stop-soft: #34151a;
  --cp-info-text: #4fd1bf; --cp-info-soft: #0f2a27;
  --cp-sealed-text: #f08cb8; --cp-sealed-soft: #2e1220;
  --cp-scrim: rgb(0 0 0 / 0.6);
  --cp-shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
  --cp-shadow-2: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -8px rgb(0 0 0 / 0.6);
  --cp-shadow-3: 0 24px 56px -20px rgb(0 0 0 / 0.8);
  /* the usual coral, even when the phone asks for more contrast: the darker
     one sinks into the night ground (2.69) */
  --cp-action: var(--cp-coral-action);   /* 3.58 on the night ground */
  --cp-action-hover: var(--cp-coral-action-hover);
  --cp-action-press: var(--cp-coral-action-press);
}
@media (prefers-color-scheme: dark) {
  [data-register="field"][data-theme="system"] {
    color-scheme: dark;
    --cp-paper: #151c1f;
    --cp-ground: #0d1214;
    --cp-sunken: #0a0e10;
    --cp-line: rgb(255 255 255 / 0.08);
    --cp-line-strong: rgb(255 255 255 / 0.14);
    --cp-line-control: #6b7c7e;
    --cp-ink: #f2f4f3;
    --cp-ink-2: #b3c0c0;
    --cp-ink-3: #8c9c9d;
    --cp-heading-color: #f2f4f3;
    --cp-sky-soft: #1d3236;
    --cp-sky-wash: #142326;
    --cp-coral-text: #f56e56;
    --cp-coral-soft: #3a1b15;
    --cp-ok-text: #4cc47f;   --cp-ok-soft: #10281b;
    --cp-wait-text: #ffd257; --cp-wait-soft: #2d2408;
    --cp-stop-text: #ff7a86; --cp-stop-soft: #34151a;
    --cp-info-text: #4fd1bf; --cp-info-soft: #0f2a27;
    --cp-sealed-text: #f08cb8; --cp-sealed-soft: #2e1220;
    --cp-scrim: rgb(0 0 0 / 0.6);
    --cp-shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
    --cp-shadow-2: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -8px rgb(0 0 0 / 0.6);
    --cp-shadow-3: 0 24px 56px -20px rgb(0 0 0 / 0.8);
    --cp-action: var(--cp-coral-action);
    --cp-action-hover: var(--cp-coral-action-hover);
    --cp-action-press: var(--cp-coral-action-press);
  }
}

/* Field outdoors, in Indian sun: solid everything, black ink, heavier lines,
   no glass, a darker action. Outdoor always wins over night: it is a full
   light theme, so a phone in dark mode that turns on outdoor gets white paper
   and black ink, never black ink on the night paper. It sets every colour the
   night theme sets (tools/check-contrast.mjs checks that). A phone that asks
   for more contrast gets the milder block after this one. */
[data-register="field"][data-contrast="more"] {
  color-scheme: light;
  --cp-paper: #ffffff;
  --cp-ground: #ffffff;
  --cp-sunken: #e6efef;
  --cp-sky-soft: #d6ecea;
  --cp-sky-wash: #eaf4f3;
  --cp-coral-text: #b03418;
  --cp-coral-soft: #fdebe7;
  --cp-ok-text: #0c7136;   --cp-ok-soft: #e3f3e9;
  --cp-wait-text: #7a5800; --cp-wait-soft: #fff4d1;
  --cp-stop-text: #a8202e; --cp-stop-soft: #fce7e9;
  --cp-info-text: #0e6b60; --cp-info-soft: #e1f3f0;
  --cp-sealed-text: #910c48; --cp-sealed-soft: #f6e4ec;
  --cp-scrim: rgb(12 50 58 / 0.44);
  --cp-shadow-3: 0 0 0 1px #10141c;
  --cp-ink: #000000;
  --cp-ink-2: #1a2022;           /* 16.49 */
  --cp-ink-3: #3a4448;           /* 10.0 */
  --cp-heading-color: #000000;
  --cp-line: #9aa9ab;
  --cp-line-strong: #6f8488;
  --cp-line-control: #10141c;
  --cp-action: #a52d1b;          /* white on it 7.02 */
  --cp-action-hover: #8e2616;
  --cp-action-press: #7a2012;
  --cp-focus-width: 3px;
  --cp-shadow-1: none;
  --cp-shadow-2: 0 0 0 1px #10141c;
  --cp-body-weight: 450;
}
@media (prefers-contrast: more) {
  :root {
    --cp-ink-2: #1a2022;
    --cp-ink-3: #3a4448;
    --cp-line: #9aa9ab;
    --cp-line-strong: #6f8488;
    --cp-line-control: #10141c;
    --cp-action: #a52d1b;
    --cp-focus-width: 3px;
  }
}

/* ── Record: documents. Print sizes, Fraunces covers, Space Grotesk figures ─ */
[data-register="record"] {
  --cp-ground: #ffffff;
  --cp-display-font: var(--cp-font-voice);
  --cp-display-weight: 560;
  --cp-display-size: 40pt;
  --cp-display-leading: 1.04;
  --cp-heading-font: var(--cp-font-voice);
  --cp-heading-weight: 600;
  --cp-heading-size: 15pt;
  --cp-body-size: 10.5pt;
  --cp-body-weight: 330;
  --cp-body-leading: 1.55;
  --cp-small-size: 8.5pt;
  --cp-label-font: var(--cp-font-figure);
  --cp-label-size: 8pt;
  --cp-measure: 68ch;
}

/* ── Reduced motion: things fade instead of travel, nothing bounces ────── */
@media (prefers-reduced-motion: reduce) {
  :root {
    --cp-motion-distance: 0;
    --cp-press-scale: 1;
    --cp-ease-spring: var(--cp-ease-enter);
    --cp-dur-base: 180ms;
    --cp-dur-slow: 200ms;
    --cp-dur-count: 0ms;
  }
}
/* the in app switch, for when the phone setting is off but the person wants calm */
[data-motion="reduce"] {
  --cp-motion-distance: 0;
  --cp-press-scale: 1;
  --cp-ease-spring: var(--cp-ease-enter);
  --cp-dur-base: 180ms;
  --cp-dur-slow: 200ms;
  --cp-dur-count: 0ms;
}

/* compass.plain.css. Made from compass.css by tools/build-plain.mjs. Edit compass.css, not this.
 * The same components outside any cascade layer, for pages with no Tailwind (the city guides,
 * a plain share page). With Tailwind, use compass.css through tailwind/v4.css instead. */
/* ==========================================================================
 * Compass components. Plain classes on top of tokens.css.
 *
 * Works the same in plain HTML, Tailwind v3 and Tailwind v4. Load order:
 *   fonts/fonts.css, tokens.css, compass.css
 * Every rule sits in the "components" cascade layer, so a Tailwind utility on
 * the same element always wins. In Tailwind v3, add the Compass folder to
 * `content` so the classes are kept (see README.md).
 *
 * Names: .cp-thing for the part, .cp-thing--kind for a kind, .cp-thing__part
 * for a piece inside it. States come from ARIA and data attributes, never
 * from a class a script has to remember to remove.
 * ========================================================================== */


/* ── sizing: every Compass part measures its border, so width 100% fits ─── */
.cp, .cp *, .cp *::before, .cp *::after,
[class^="cp-"], [class*=" cp-"], [class^="cp-"]::before, [class*=" cp-"]::before,
[class^="cp-"]::after, [class*=" cp-"]::after { box-sizing: border-box; }

/* ── the page ─────────────────────────────────────────────────────────────── */
.cp {
  font-family: var(--cp-font-body);
  font-size: var(--cp-body-size);
  font-weight: var(--cp-body-weight);
  line-height: var(--cp-body-leading);
  color: var(--cp-ink);
  background: var(--cp-ground);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.cp-paper { background: var(--cp-paper); }
.cp-band { background: var(--cp-sky-wash); }
.cp-band--midnight { background: var(--cp-midnight); color: var(--cp-on-dark); }

/* ── type ─────────────────────────────────────────────────────────────────── */
.cp-display {
  font-family: var(--cp-display-font);
  font-weight: var(--cp-display-weight);
  font-size: var(--cp-display-size);
  line-height: var(--cp-display-leading);
  letter-spacing: var(--cp-display-tracking);
  color: var(--cp-heading-color);
  text-wrap: balance;
  margin: 0;
}
.cp-heading {
  font-family: var(--cp-heading-font);
  font-weight: var(--cp-heading-weight);
  font-size: var(--cp-heading-size);
  line-height: var(--cp-heading-leading);
  letter-spacing: var(--cp-heading-tracking);
  color: var(--cp-heading-color);
  text-wrap: balance;
  margin: 0;
}
.cp-title {
  font-family: var(--cp-heading-font);
  font-weight: var(--cp-heading-weight);
  font-size: var(--cp-step-1);
  line-height: 1.25;
  color: var(--cp-heading-color);
  margin: 0;
}
/* the one coral italic phrase from the brand book. 24px and up only */
.cp-phrase {
  font-family: var(--cp-font-voice);
  font-style: italic;
  font-weight: inherit;
  color: var(--cp-coral-text);
}
.cp-display .cp-phrase { color: var(--cp-coral); }
.cp-lede {
  font-size: var(--cp-step-1);
  line-height: 1.5;
  color: var(--cp-ink-2);
  max-width: var(--cp-measure);
  text-wrap: pretty;
  margin: 0;
}
.cp-text { max-width: var(--cp-measure); text-wrap: pretty; }
.cp-small { font-size: var(--cp-small-size); line-height: 1.5; color: var(--cp-ink-2); }
.cp-meta { font-size: var(--cp-step--1); line-height: 1.45; color: var(--cp-ink-3); }
.cp-label {
  font-family: var(--cp-label-font);
  font-size: var(--cp-label-size);
  font-weight: var(--cp-label-weight);
  line-height: 1.3;
  color: var(--cp-ink-3);
  letter-spacing: 0.005em;
}
/* every number, time, rupee figure and id */
.cp-figure {
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
}
.cp-id {
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-id-features);
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: 0.02em;
}
.cp-link {
  color: var(--cp-midnight);
  text-decoration: underline;
  text-decoration-color: var(--cp-sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  border-radius: 2px;
  transition: text-decoration-color var(--cp-dur-quick) var(--cp-ease-move);
}
.cp-link:hover { text-decoration-color: var(--cp-coral); }
.cp-link:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }

/* ── lockup: the ikan wordmark, a hairline, the product name ─────────────── */
.cp-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--cp-midnight);
  text-decoration: none;
  font-size: 1rem;
}
.cp-lockup__mark {
  display: block;
  width: 3.2em;
  height: 1.25em;
  background: currentColor;
  -webkit-mask: var(--cp-mask-wordmark) left center / contain no-repeat;
  mask: var(--cp-mask-wordmark) left center / contain no-repeat;
}
.cp-lockup__rule { width: 1px; height: 1.2em; background: currentColor; opacity: 0.28; }
.cp-lockup__name {
  font-family: var(--cp-font-figure);
  font-weight: 500;
  font-size: 1.02em;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--cp-ink);
}
.cp-mark-k {
  display: inline-block;
  width: 1em;
  height: 1.2em;
  background: currentColor;
  -webkit-mask: var(--cp-mask-k) center / contain no-repeat;
  mask: var(--cp-mask-k) center / contain no-repeat;
}

/* ── button: one coral action per view ───────────────────────────────────── */
.cp-button {
  --_bg: var(--cp-action);
  --_fg: var(--cp-on-action);
  --_edge: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: var(--cp-target);
  padding: 0 1.25em;
  border: 1px solid var(--_edge);
  border-radius: var(--cp-radius-control);
  background: var(--_bg);
  color: var(--_fg);
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  box-shadow: var(--cp-shadow-action);
  transition:
    background-color var(--cp-dur-quick) var(--cp-ease-move),
    border-color var(--cp-dur-quick) var(--cp-ease-move),
    transform var(--cp-dur-quick) var(--cp-ease-enter),
    box-shadow var(--cp-dur-quick) var(--cp-ease-move);
}
.cp-button:hover { --_bg: var(--cp-action-hover); }
.cp-button:active { --_bg: var(--cp-action-press); transform: scale(var(--cp-press-scale)); }
.cp-button:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }
.cp-button svg { width: 1.2em; height: 1.2em; flex: none; stroke-width: 1.9; }
.cp-button--lg { min-height: 52px; padding: 0 1.5em; font-size: 1.0625rem; }
.cp-button--block { display: flex; width: 100%; padding-block: 0.625em; white-space: normal; text-wrap: balance; text-align: center; } /* a long label wraps, never pushes the card wider */
.cp-button--quiet {
  --_bg: var(--cp-paper);
  --_fg: var(--cp-ink);
  --_edge: var(--cp-line-strong);
  box-shadow: var(--cp-shadow-1);
}
.cp-button--quiet:hover { --_bg: var(--cp-sky-wash); --_edge: var(--cp-line-control); }
.cp-button--quiet:active { --_bg: var(--cp-sky-soft); }
.cp-button--ghost { --_bg: transparent; --_fg: var(--cp-midnight); box-shadow: none; }
.cp-button--ghost:hover { --_bg: var(--cp-sky-wash); }
.cp-button--ghost:active { --_bg: var(--cp-sky-soft); }
[data-theme="dark"] .cp-button--ghost,
[data-theme="dark"].cp-button--ghost { --_fg: var(--cp-sky); }
.cp-button--on-dark { --_bg: var(--cp-paper); --_fg: var(--cp-midnight); box-shadow: none; }
.cp-button--on-dark:hover { --_bg: var(--cp-sky-wash); }
.cp-button--icon { width: var(--cp-target); padding: 0; }
.cp-button:disabled,
.cp-button[aria-disabled="true"] {
  --_bg: var(--cp-sunken);
  --_fg: var(--cp-ink-3);
  --_edge: transparent;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
/* busy: the label stays, three dots breathe beside it */
.cp-button--ghost:disabled,
.cp-button--ghost[aria-disabled="true"] { --_bg: transparent; }
.cp-button[aria-busy="true"] { cursor: progress; }
.cp-button[aria-busy="true"]::after {
  content: "";
  width: 1.4em;
  height: 0.36em;
  background:
    radial-gradient(circle closest-side, currentColor 90%, transparent) 0 50% / 0.36em 0.36em no-repeat,
    radial-gradient(circle closest-side, currentColor 90%, transparent) 50% 50% / 0.36em 0.36em no-repeat,
    radial-gradient(circle closest-side, currentColor 90%, transparent) 100% 50% / 0.36em 0.36em no-repeat;
  animation: cp-breathe 1.1s var(--cp-ease-move) infinite;
}

/* ── field ────────────────────────────────────────────────────────────────── */
.cp-field { display: grid; gap: 6px; }
.cp-field__label { font-size: 0.9375rem; font-weight: 500; color: var(--cp-ink); line-height: 1.3; }
.cp-field__hint { font-size: var(--cp-step--1); color: var(--cp-ink-3); line-height: 1.45; }
.cp-field__error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: var(--cp-step--1);
  color: var(--cp-stop-text);
  line-height: 1.45;
}
.cp-input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--cp-line-control);
  border-radius: var(--cp-radius-control);
  background: var(--cp-paper);
  color: var(--cp-ink);
  font-family: var(--cp-font-body);
  font-size: 1rem;              /* never under 16px, or iPhone zooms in */
  font-weight: 400;
  line-height: 1.4;
  transition: border-color var(--cp-dur-quick) var(--cp-ease-move), box-shadow var(--cp-dur-quick) var(--cp-ease-move);
  -webkit-appearance: none;
  appearance: none;
}
textarea.cp-input { padding: 12px 14px; min-height: 104px; resize: vertical; }
.cp-input::placeholder { color: var(--cp-ink-3); opacity: 1; }
.cp-input:hover { border-color: var(--cp-ink-2); }
.cp-input:focus-visible,
.cp-input:focus { outline: none; border-color: var(--cp-midnight); box-shadow: 0 0 0 3px var(--cp-sky-soft); }
.cp-input[aria-invalid="true"] { border-color: var(--cp-stop); }
.cp-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px var(--cp-stop-soft); }
.cp-input:disabled { background: var(--cp-sunken); color: var(--cp-ink-3); }

/* ── code input: six boxes over one real input, so paste and autofill work ─ */
.cp-code {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 10px repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 400px;
}
.cp-code__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px;
  color: transparent;
  caret-color: transparent;
  background: transparent;
  z-index: 1;
  cursor: text;
}
.cp-code__cell {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 6;
  min-height: 52px;
  border: 1px solid var(--cp-line-control);
  border-radius: var(--cp-radius-control);
  background: var(--cp-paper);
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-id-features);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 1.875rem);
  font-weight: 500;
  color: var(--cp-ink);
  transition: border-color var(--cp-dur-quick) var(--cp-ease-move), box-shadow var(--cp-dur-quick) var(--cp-ease-move), background-color var(--cp-dur-quick);
}
.cp-code__gap { align-self: center; height: 2px; background: var(--cp-line-strong); border-radius: 2px; }
.cp-code__cell[data-filled="true"] { border-color: var(--cp-ink-2); }
.cp-code__cell[data-active="true"] { border-color: var(--cp-midnight); box-shadow: 0 0 0 3px var(--cp-sky-soft); }
.cp-code__cell[data-active="true"]:empty::after {
  content: "";
  width: 2px;
  height: 45%;
  border-radius: 2px;
  background: var(--cp-coral);
  animation: cp-caret 1.1s steps(1) infinite;
}
.cp-code[data-state="error"] .cp-code__cell { border-color: var(--cp-stop); background: var(--cp-stop-soft); }
.cp-code[data-state="error"] { animation: cp-shake 360ms var(--cp-ease-move); }
.cp-code[data-state="done"] .cp-code__cell { border-color: var(--cp-ok); background: var(--cp-ok-soft); color: var(--cp-ok-text); }
.cp-code[data-state="checking"] .cp-code__cell { background: var(--cp-sky-wash); }

/* ── card and photo plate ─────────────────────────────────────────────────── */
.cp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cp-paper);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-card);
  box-shadow: var(--cp-shadow-1);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
a.cp-card, button.cp-card { cursor: pointer; text-align: left; font: inherit; padding: 0; transition: transform var(--cp-dur-quick) var(--cp-ease-enter), box-shadow var(--cp-dur-base) var(--cp-ease-move); }
a.cp-card:hover, button.cp-card:hover { box-shadow: var(--cp-shadow-2); }
a.cp-card:active, button.cp-card:active { transform: scale(0.985); }
a.cp-card:focus-visible, button.cp-card:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }
.cp-card__body { display: grid; gap: 10px; padding: 16px 18px 18px; }
.cp-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--cp-line);
}
.cp-card--quarter { border-radius: var(--cp-radius-quarter); }
.cp-card--flat { box-shadow: none; }

/* a photograph as a plate: contained, never under type, caption and credit beside it */
.cp-plate { margin: 0; display: grid; gap: 8px; }
.cp-plate__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--cp-radius-card);
  background: var(--cp-sunken);
  aspect-ratio: var(--cp-plate-ratio, 3 / 2);
}
.cp-card > .cp-plate > .cp-plate__frame,
.cp-card > .cp-plate__frame { border-radius: 0; }
.cp-plate__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--cp-plate-focus, 50% 50%);
  transition: opacity var(--cp-dur-slow) var(--cp-ease-enter);
}
.cp-plate__frame img[data-loaded="false"] { opacity: 0; }
.cp-plate__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.75em;
  row-gap: 2px;
  font-size: var(--cp-step--1);
  line-height: 1.45;
  color: var(--cp-ink-2);
}
.cp-plate__credit { font-size: var(--cp-step--2); color: var(--cp-ink-3); }
.cp-plate__credit a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-decoration-color: var(--cp-line-strong); text-underline-offset: 0.18em; }  /* 44px to tap */
.cp-card .cp-plate__caption { padding: 0 18px; }
/* beside: caption in its own column on wide screens */
@media (min-width: 720px) {
  .cp-plate--beside { grid-template-columns: minmax(0, 1fr) minmax(160px, 15rem); align-items: end; gap: 20px; }
  .cp-plate--beside .cp-plate__caption { flex-direction: column; gap: 6px; }
}
.cp-plate--quarter .cp-plate__frame { border-radius: var(--cp-radius-quarter-lg); }
.cp-plate__index {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

/* ── list row ─────────────────────────────────────────────────────────────── */
.cp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--cp-paper);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-card);
  overflow: hidden;
}
.cp-list > li + li { border-top: 1px solid var(--cp-line); }
.cp-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: var(--cp-row-height);
  padding: 10px 16px;
  color: inherit;
  text-decoration: none;
  background: transparent;
  width: 100%;
  border: 0;
  font: inherit;
  text-align: left;
}
a.cp-row, button.cp-row { cursor: pointer; transition: background-color var(--cp-dur-quick) var(--cp-ease-move); }
a.cp-row:hover, button.cp-row:hover { background: var(--cp-sky-wash); }
a.cp-row:active, button.cp-row:active { background: var(--cp-sky-soft); }
a.cp-row:focus-visible, button.cp-row:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--cp-coral); }
.cp-row[aria-current="true"], .cp-row[aria-selected="true"] { background: var(--cp-sky-soft); }
.cp-row__lead {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cp-sky-wash);
  color: var(--cp-midnight);
}
.cp-row__lead svg { width: 20px; height: 20px; stroke-width: 1.75; }
.cp-row__lead--time {
  width: auto;
  min-width: 52px;
  height: auto;
  background: none;
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-weight: 500;
  font-size: 1rem;
  color: var(--cp-ink);
  place-items: start;
}
.cp-row__main { display: grid; gap: 2px; min-width: 0; }
.cp-row__title {
  font-weight: 500;
  color: var(--cp-ink);
  line-height: 1.3;
  overflow-wrap: anywhere;   /* wraps, never cut off with dots */
}
.cp-row__meta { font-size: var(--cp-step--1); color: var(--cp-ink-3); line-height: 1.35; overflow-wrap: anywhere; }
.cp-row__end { display: flex; align-items: center; gap: 10px; color: var(--cp-ink-3); }
.cp-row__end svg { width: 18px; height: 18px; }
.cp-row__value {
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-weight: 500;
  color: var(--cp-ink);
}

/* ── tabs: a sliding marker. Set --cp-tab-x and --cp-tab-w from script, or
      let the ::after under [aria-selected] do it with no script ─────────── */
.cp-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: calc(var(--cp-radius-control) + 4px);
  background: var(--cp-sunken);
  overflow-x: auto;
  scrollbar-width: none;
}
.cp-tabs::-webkit-scrollbar { display: none; }
.cp-tab {
  position: relative;
  flex: 1 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--cp-radius-control);
  background: transparent;
  color: var(--cp-ink-2);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--cp-dur-quick) var(--cp-ease-move), background-color var(--cp-dur-base) var(--cp-ease-enter), box-shadow var(--cp-dur-base) var(--cp-ease-enter);
}
.cp-tab:hover { color: var(--cp-ink); }
.cp-tab[aria-selected="true"] { background: var(--cp-paper); color: var(--cp-ink); box-shadow: var(--cp-shadow-1); }
.cp-tab:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }
.cp-tab__count {
  margin-left: 6px;
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  color: var(--cp-ink-3);
}
/* underline tabs, for a page header */
.cp-tabs--line { background: none; padding: 0; gap: 20px; border-bottom: 1px solid var(--cp-line); border-radius: 0; }
.cp-tabs--line .cp-tab { flex: none; padding: 0 2px; border-radius: 0; min-height: 44px; box-shadow: none; background: none; }
.cp-tabs--line .cp-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                 /* inside the tab, so a scrolling tab list never clips it */
  height: 2px;
  border-radius: 2px;
  background: var(--cp-coral);
  transform: scaleX(0);
  transition: transform var(--cp-dur-base) var(--cp-ease-enter);
}
.cp-tabs--line .cp-tab[aria-selected="true"]::after { transform: scaleX(1); }

/* the phone's bottom bar */
.cp-tabbar {
  position: sticky;
  bottom: 0;
  z-index: var(--cp-z-sticky);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: var(--cp-paper);
  border-top: 1px solid var(--cp-line);
}
.cp-tabbar__item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 3px;
  min-height: 52px;
  padding: 6px 4px 2px;
  border: 0;
  background: none;
  color: var(--cp-ink-3);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--cp-radius-control);
}
.cp-tabbar__item svg { width: 24px; height: 24px; stroke-width: 1.75; transition: transform var(--cp-dur-base) var(--cp-ease-spring); }
.cp-tabbar__item[aria-current="page"] { color: var(--cp-midnight); }
.cp-tabbar__item[aria-current="page"] svg { transform: translateY(-1px); }
.cp-tabbar__item[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -7px;
  width: 22px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--cp-coral);
}
.cp-tabbar__item:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }

/* ── sheet: a bottom sheet on a phone, a dialog on a desk ─────────────────── */
.cp-sheet {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--cp-z-sheet);
  width: 100%;
  max-width: 100%;
  max-height: min(88dvh, 100% - 24px);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--cp-radius-sheet) var(--cp-radius-sheet) 0 0;
  background: var(--cp-paper);
  color: var(--cp-ink);
  box-shadow: var(--cp-shadow-3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: contain;
  transform: translateY(0);
  transition: transform var(--cp-dur-base) var(--cp-ease-enter), opacity var(--cp-dur-base) var(--cp-ease-enter);
}
dialog.cp-sheet:not([open]) { display: none; }
.cp-sheet[data-state="closing"] { transform: translateY(calc(100% * var(--cp-motion-distance))); opacity: 0; transition-duration: var(--cp-dur-quick); transition-timing-function: var(--cp-ease-exit); }
dialog.cp-sheet[open] { animation: cp-sheet-in var(--cp-dur-base) var(--cp-ease-enter); }
dialog.cp-sheet::backdrop { background: var(--cp-scrim); animation: cp-fade var(--cp-dur-base) var(--cp-ease-enter); }
.cp-scrim { position: fixed; inset: 0; z-index: calc(var(--cp-z-sheet) - 1); background: var(--cp-scrim); animation: cp-fade var(--cp-dur-base) var(--cp-ease-enter); }
.cp-sheet__grab {
  display: grid;
  place-items: center;
  flex: none;
  height: 22px;
  cursor: grab;
  touch-action: none;
  border: 0;
  background: none;
  width: 100%;
}
.cp-sheet__grab::before { content: ""; width: 40px; height: 5px; border-radius: 5px; background: var(--cp-line-strong); }
.cp-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 4px 20px 12px; }
.cp-sheet__title { font-family: var(--cp-heading-font); font-weight: var(--cp-heading-weight); font-size: var(--cp-step-2); line-height: 1.2; color: var(--cp-heading-color); margin: 0; }
.cp-sheet__text { margin: 4px 0 0; font-size: var(--cp-step--1); color: var(--cp-ink-3); line-height: 1.45; }
.cp-sheet__body { flex: 1 1 auto; overflow: auto; padding: 0 20px 16px; -webkit-overflow-scrolling: touch; }
.cp-sheet__foot { flex: none; display: grid; gap: 10px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--cp-line); background: var(--cp-paper); }
@media (min-width: 720px) {
  .cp-sheet {
    inset: 0;
    margin: auto;
    width: min(520px, 100% - 48px);
    height: fit-content;
    max-height: min(80dvh, 720px);
    border-radius: 18px;
  }
  .cp-sheet__grab { display: none; }
  .cp-sheet__head { padding-top: 20px; }
  .cp-sheet[data-state="closing"] { transform: translateY(calc(12px * var(--cp-motion-distance))) scale(0.98); }
  dialog.cp-sheet[open] { animation-name: cp-dialog-in; }
}
/* the sheet drawn in place, for a specimen or a static page */
.cp-sheet--inline { position: relative; inset: auto; z-index: auto; max-height: none; animation: none; }

/* ── toast ────────────────────────────────────────────────────────────────── */
/* Toasts sit above the bottom tab bar, never on it. The bar is 64px plus the
   safe area; an app with a taller bar sets --cp-toast-offset itself. */
:root:has(.cp-tabbar) { --cp-toast-offset: 72px; }
.cp-toasts {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--cp-toast-offset, 16px) + env(safe-area-inset-bottom));
  z-index: var(--cp-z-toast);
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 16px;
  pointer-events: none;
}
.cp-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(420px, 100%);
  min-height: 52px;
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  background: var(--cp-midnight-deep);
  color: var(--cp-on-dark);
  box-shadow: var(--cp-shadow-3);
  font-size: 0.9375rem;
  line-height: 1.35;
  animation: cp-toast-in var(--cp-dur-base) var(--cp-ease-spring);
}
.cp-toast[data-state="leaving"] { animation: cp-toast-out var(--cp-dur-quick) var(--cp-ease-exit) forwards; }
.cp-toast__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(255 255 255 / 0.1); color: var(--cp-sky); }
.cp-toast__icon svg { width: 16px; height: 16px; stroke-width: 2.2; }
.cp-toast--ok .cp-toast__icon { background: var(--cp-ok); color: #fff; }
.cp-toast--stop .cp-toast__icon { background: var(--cp-stop); color: #fff; }
.cp-toast__text { flex: 1; min-width: 0; }
.cp-toast__action {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.cp-toast__action:hover { background: rgb(255 255 255 / 0.2); }
.cp-toast__action:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--cp-coral); }
.cp-toast--inline { animation: none; }
/* inside an open sheet: in the flow, just above the buttons */
.cp-toasts--slot { position: static; flex: none; padding: 0 16px 12px; }
.cp-toasts--slot:empty { display: none; }

/* ── status chip. Never coral for a status ───────────────────────────────── */
.cp-chip {
  --_fg: var(--cp-ink-2);
  --_bg: var(--cp-sunken);
  --_dot: var(--cp-steel);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px 0 8px;
  border-radius: var(--cp-radius-pill);
  background: var(--_bg);
  color: var(--_fg);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.cp-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--_dot); flex: none; }
.cp-chip--plain::before { display: none; }
.cp-chip--plain { padding: 0 10px; }
.cp-chip--ok { --_fg: var(--cp-ok-text); --_bg: var(--cp-ok-soft); --_dot: var(--cp-ok); }
.cp-chip--wait { --_fg: var(--cp-wait-text); --_bg: var(--cp-wait-soft); --_dot: var(--cp-wait); }
.cp-chip--stop { --_fg: var(--cp-stop-text); --_bg: var(--cp-stop-soft); --_dot: var(--cp-stop); }
.cp-chip--info { --_fg: var(--cp-info-text); --_bg: var(--cp-info-soft); --_dot: var(--cp-info); }
.cp-chip--sealed { --_fg: var(--cp-sealed-text); --_bg: var(--cp-sealed-soft); --_dot: var(--cp-sealed); }
.cp-chip--sky { --_fg: var(--cp-midnight); --_bg: var(--cp-sky-soft); --_dot: var(--cp-midnight); }
.cp-chip--live::before { animation: cp-pulse 1.8s var(--cp-ease-move) infinite; }
/* a case number or code you can tap to copy */
.cp-case {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--cp-line-strong);
  border-radius: 8px;
  background: var(--cp-paper);
  color: var(--cp-ink);
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-id-features);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
button.cp-case { cursor: copy; min-height: 44px; padding: 0 12px; border-radius: var(--cp-radius-control); font-size: 0.9375rem; }
button.cp-case:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }

/* ── sync pill: says where your work is, in place, never a banner ────────── */
.cp-sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 12px 0 10px;
  border-radius: var(--cp-radius-pill);
  background: var(--cp-paper);
  border: 1px solid var(--cp-line);
  color: var(--cp-ink-2);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--cp-dur-base) var(--cp-ease-move), color var(--cp-dur-base) var(--cp-ease-move), border-color var(--cp-dur-base);
}
.cp-sync__icon { position: relative; width: 14px; height: 14px; flex: none; display: grid; place-items: center; }
.cp-sync__icon svg { width: 14px; height: 14px; stroke-width: 2.2; }
.cp-sync[data-state="synced"] { color: var(--cp-ok-text); background: var(--cp-ok-soft); border-color: transparent; }
.cp-sync[data-state="local"] { color: var(--cp-midnight); background: var(--cp-sky-wash); border-color: var(--cp-sky-soft); }
.cp-sync[data-state="syncing"] { color: var(--cp-midnight); }
.cp-sync[data-state="syncing"] .cp-sync__icon svg { animation: cp-spin 1.2s linear infinite; }
.cp-sync[data-state="offline"] { color: var(--cp-wait-text); background: var(--cp-wait-soft); border-color: transparent; }
.cp-sync[data-state="failed"] { color: var(--cp-stop-text); background: var(--cp-stop-soft); border-color: transparent; }
button.cp-sync { cursor: pointer; font: inherit; font-size: 0.8125rem; font-weight: 500; }
button.cp-sync:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }

/* ── empty state, with the brand's quarter round tile pattern ────────────── */
.cp-empty {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 28px 24px 24px;
  border-radius: var(--cp-radius-quarter-lg);
  background: var(--cp-sky-wash);
  overflow: hidden;
  isolation: isolate;
}
.cp-empty::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -18%;
  width: min(62%, 320px);
  aspect-ratio: 1;
  z-index: -1;
  background: var(--cp-sky);
  opacity: 0.9;
  -webkit-mask: var(--cp-mask-pattern) center / contain no-repeat;
  mask: var(--cp-mask-pattern) center / contain no-repeat;
}
.cp-empty__title { font-family: var(--cp-heading-font); font-weight: var(--cp-heading-weight); font-size: var(--cp-step-2); line-height: 1.2; color: var(--cp-heading-color); margin: 0; max-width: 22ch; }
.cp-empty__text { margin: 0; color: var(--cp-ink-2); max-width: 38ch; }
.cp-empty .cp-button { margin-top: 6px; }

/* ── avatar and the arch portrait ─────────────────────────────────────────── */
.cp-avatar {
  display: inline-grid;
  place-items: center;
  width: var(--cp-avatar-size, 40px);
  height: var(--cp-avatar-size, 40px);
  flex: none;
  border-radius: 50%;
  background: var(--cp-sky);
  color: var(--cp-midnight);
  font-family: var(--cp-font-figure);
  font-weight: 600;
  font-size: calc(var(--cp-avatar-size, 40px) * 0.38);
  overflow: hidden;
}
.cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
/* portraits sit in an arch, from "Meet your captains" in the brand book */
.cp-portrait {
  position: relative;
  display: inline-grid;
  place-items: end center;
  width: var(--cp-portrait-size, 72px);
  aspect-ratio: 4 / 5;
  flex: none;
  border-radius: var(--cp-radius-arch);
  background: var(--cp-sky);
  color: var(--cp-midnight);
  overflow: hidden;
  font-family: var(--cp-font-voice);
  font-size: calc(var(--cp-portrait-size, 72px) * 0.42);
  font-weight: 500;
}
.cp-portrait > span { align-self: center; }
.cp-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* ── stat: a big number that opens its work ──────────────────────────────── */
.cp-stat { display: grid; gap: 4px; align-content: start; color: inherit; text-decoration: none; }
.cp-stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.18em;
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-weight: 500;
  font-size: var(--cp-stat-size, var(--cp-step-6));
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--cp-heading-color);
}
.cp-stat__unit { font-size: 0.42em; font-weight: 500; letter-spacing: -0.01em; color: var(--cp-ink-3); }
.cp-stat__label { font-size: var(--cp-small-size); color: var(--cp-ink-2); line-height: 1.35; }
.cp-stat__note { font-size: var(--cp-step--1); color: var(--cp-ink-3); }
.cp-stat--sm { --cp-stat-size: var(--cp-step-4); }
.cp-stat--lg { --cp-stat-size: var(--cp-step-7); }
a.cp-stat, button.cp-stat {
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  padding: 6px 8px;
  margin: -6px -8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color var(--cp-dur-quick) var(--cp-ease-move);
}
a.cp-stat:hover, button.cp-stat:hover { background: var(--cp-sky-wash); }
a.cp-stat:focus-visible, button.cp-stat:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }
a.cp-stat .cp-stat__label::after, button.cp-stat .cp-stat__label::after { content: " \2192"; color: var(--cp-coral-text); }

/* ── money: a rupee figure with its unit ─────────────────────────────────── */
.cp-money {
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-weight: 500;
  font-size: var(--cp-step-3);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cp-heading-color);
}
.cp-money small { font-family: var(--cp-font-body); font-size: 0.5em; font-weight: 400; letter-spacing: 0; color: var(--cp-ink-3); margin-left: 0.3em; }

/* ── map pin. Homes are numbered circles, offices are lettered squares ──── */
.cp-pin {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cp-coral-action);
  color: #fff;
  font-family: var(--cp-font-figure);
  font-feature-settings: var(--cp-figure-features);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 1px 2px rgb(16 20 28 / 0.25), 0 4px 10px -2px rgb(16 20 28 / 0.25);
  transform-origin: 50% 100%;
}
.cp-pin--office { border-radius: 7px; background: var(--cp-midnight); }
.cp-pin--stay { background: var(--cp-midnight); }
.cp-pin--you { width: 18px; height: 18px; background: #2f7de1; border-width: 3px; box-shadow: 0 0 0 6px rgb(47 125 225 / 0.18); }
.cp-pin--done { background: var(--cp-ok); }
.cp-pin[data-drop] { animation: cp-pin-drop var(--cp-dur-slow) var(--cp-ease-spring) both; animation-delay: calc(var(--cp-drop-i, 0) * 36ms); }
.cp-pin-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--cp-midnight);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--cp-shadow-2);
}
/* drive time chip: A and B are the two offices */
.cp-drive {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border-radius: 10px;
  background: var(--cp-sky-wash);
  color: var(--cp-ink);
  font-size: 0.8125rem;
  line-height: 1.2;
}
.cp-drive b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--cp-midnight);
  color: #fff;
  font-family: var(--cp-font-figure);
  font-size: 0.75rem;
  font-weight: 600;
}
.cp-drive span { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; }

/* ── stamp: the seal on a signed record ──────────────────────────────────── */
.cp-stamp {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--cp-stamp-size, 132px);
  aspect-ratio: 1;
  color: var(--cp-sealed);
  transform: rotate(-8deg);
}
.cp-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cp-stamp__ring { font-family: var(--cp-font-figure); font-size: 7.4px; font-weight: 600; letter-spacing: 0.16em; }
.cp-stamp__center { position: relative; display: grid; justify-items: center; gap: 2px; text-align: center; }
.cp-stamp__word { font-family: var(--cp-font-figure); font-weight: 700; font-size: calc(var(--cp-stamp-size, 132px) * 0.082); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; margin-bottom: 2px; }
.cp-stamp__time { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-id-features); font-size: calc(var(--cp-stamp-size, 132px) * 0.07); line-height: 1.25; }
.cp-stamp[data-animate] { animation: cp-stamp var(--cp-dur-slow) var(--cp-ease-spring) both; }

/* ── the move pass: a family's move on one card ──────────────────────────── */
.cp-pass {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--cp-radius-quarter-lg);
  background: var(--cp-midnight);
  color: var(--cp-on-dark);
  box-shadow: var(--cp-shadow-3);
  isolation: isolate;
}
.cp-pass[data-animate] { animation: cp-pass-in var(--cp-dur-slow) var(--cp-ease-spring) both; }
.cp-pass__photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cp-midnight-deep); }
.cp-pass__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp-pass__credit { padding: 6px 20px 0; font-size: 0.6875rem; color: var(--cp-on-dark-2); opacity: 0.85; }
.cp-pass__body { display: grid; gap: 14px; padding: 16px 20px 20px; }
.cp-pass__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.cp-pass__route { font-size: 0.875rem; color: var(--cp-on-dark-2); }
.cp-pass__case { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-id-features); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--cp-on-dark-2); white-space: nowrap; }
.cp-pass__name { font-family: var(--cp-font-voice); font-weight: 460; font-size: var(--cp-step-4); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: #fff; }
.cp-pass__name em { font-style: italic; color: var(--cp-sky); }
.cp-pass__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 14px; border-top: 1px solid rgb(172 216 213 / 0.22); }
.cp-pass__fact { display: grid; gap: 3px; }
.cp-pass__fact dt { font-size: 0.75rem; color: var(--cp-on-dark-2); }
.cp-pass__fact dd { margin: 0; font-family: var(--cp-font-figure); font-feature-settings: var(--cp-id-features); font-weight: 500; font-size: 1rem; color: #fff; }
.cp-pass__person { display: flex; align-items: center; gap: 12px; }
.cp-pass__person .cp-portrait { --cp-portrait-size: 48px; }
.cp-pass__person b { display: block; font-weight: 500; color: #fff; }
.cp-pass__person > div > span { font-size: 0.8125rem; color: var(--cp-on-dark-2); }
.cp-pass__actions { display: grid; gap: 8px; }

/* ── door: one sentence, one button, one quiet second way ────────────────── */
.cp-door {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 100%;
  padding: 32px var(--cp-gutter);
  max-width: 440px;
  margin: 0 auto;
}
.cp-door__mark { color: var(--cp-midnight); font-size: 44px; }
.cp-door__head { display: grid; gap: 10px; }
.cp-door__title { font-family: var(--cp-font-voice); font-weight: 460; font-size: var(--cp-step-5); line-height: 1.05; letter-spacing: -0.02em; color: var(--cp-heading-color); margin: 0; text-wrap: balance; }
.cp-door__text { margin: 0; color: var(--cp-ink-2); font-size: var(--cp-body-size); line-height: 1.55; max-width: 34ch; }
.cp-door__form { display: grid; gap: 12px; }
.cp-door__second { justify-self: center; }
.cp-door__help { font-size: var(--cp-step--1); color: var(--cp-ink-3); text-align: center; margin: 0; }

/* ── callout: plain words and one action ─────────────────────────────────── */
.cp-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--cp-sky-wash);
  color: var(--cp-ink);
}
.cp-callout > svg { grid-row: span 2; width: 20px; height: 20px; margin-top: 2px; color: var(--cp-midnight); stroke-width: 1.9; }
.cp-callout__title { font-weight: 500; margin: 0; }
.cp-callout__text { margin: 0; color: var(--cp-ink-2); font-size: var(--cp-small-size); }
.cp-callout--wait { background: var(--cp-wait-soft); }
.cp-callout--wait > svg { color: var(--cp-wait-text); }
.cp-callout--stop { background: var(--cp-stop-soft); }
.cp-callout--stop > svg { color: var(--cp-stop-text); }

/* ── skeleton: shows after 200ms, stays 300ms ────────────────────────────── */
.cp-skeleton {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--cp-sunken) 0%, var(--cp-sky-wash) 50%, var(--cp-sunken) 100%) 0 0 / 200% 100%;
  animation: cp-shimmer 1.6s var(--cp-ease-move) infinite, cp-fade var(--cp-dur-base) 200ms both;
  min-height: 1em;
}

/* ── ledger: facts in two columns, for documents and detail screens ─────── */
.cp-ledger { display: grid; grid-template-columns: minmax(8em, max-content) minmax(0, 1fr); margin: 0; border-top: 1px solid var(--cp-line); }
.cp-ledger > dt, .cp-ledger > dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--cp-line); }
.cp-ledger > dt { color: var(--cp-ink-3); font-size: var(--cp-small-size); padding-right: 16px; }
.cp-ledger > dd { color: var(--cp-ink); }

/* ── Record: an A4 sheet that is the same on screen and on paper ─────────── */
.cp-a4 {
  position: relative;
  width: 100%;
  background: var(--cp-paper);
  color: var(--cp-ink);
  overflow: hidden;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
@media (min-width: 820px) {
  .cp-a4 { width: 210mm; min-height: 297mm; box-shadow: var(--cp-shadow-2); }
}
@media print {
  .cp-a4 { width: 210mm; height: 297mm; box-shadow: none; break-after: page; }
}

/* ── one focus ring for anything else that can be focused ────────────────── */
.cp-focus:focus-visible { outline: none; box-shadow: var(--cp-focus-ring); }

/* read aloud, never seen */
.cp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ── brand marks as masks, so they take any colour ───────────────────────── */
:root {
  --cp-mask-wordmark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22154.5 154 970.25 378.5%22 fill=%22%23000%22%3E%3Cpath d=%22m666.08,532.3c-18.72,0-35.4-3.18-50.05-9.53-14.66-6.36-26.32-15.71-34.96-28.07-8.65-12.35-12.97-27.36-12.97-45.02s4.32-32.92,12.97-44.75c8.65-11.83,20.48-20.74,35.49-26.75,15-6,32.04-9,51.11-9h79.44v-16.95c0-15.18-4.59-27.36-13.78-36.54-9.19-9.18-23.3-13.77-42.37-13.77s-33.02,4.42-42.9,13.24c-9.89,8.83-16.42,20.31-19.59,34.43l-50.84-16.42c4.23-14.12,11.03-26.92,20.39-38.4,9.35-11.47,21.8-20.74,37.33-27.81,15.54-7.06,34.25-10.59,56.15-10.59,33.89,0,60.55,8.66,79.97,25.95,19.42,17.3,29.13,41.84,29.13,73.62v107.51c0,10.59,4.93,15.89,14.82,15.89h22.25v30.46c0,8.33-6.76,15.09-15.09,15.09h-25.7c-12.36,0-22.43-3.18-30.18-9.53-7.77-6.36-11.65-15-11.65-25.95v-1.59h-7.94c-2.83,5.3-7.08,11.48-12.71,18.54-5.66,7.07-13.95,13.16-24.9,18.27-10.94,5.11-25.42,7.68-43.43,7.68Zm7.94-45.02c21.89,0,39.54-6.26,52.96-18.8,13.42-12.53,20.13-29.74,20.13-51.64v-5.3h-76.27c-14.48,0-26.14,3.1-34.95,9.27-8.83,6.18-13.24,15.28-13.24,27.28s4.58,21.54,13.77,28.6c9.18,7.07,21.71,10.59,37.6,10.59Z%22/%3E%3Cpath d=%22m877.4,509.8v-246.01h53.49v39.19h8.47c4.94-10.59,13.78-20.47,26.48-29.66,12.71-9.18,31.6-13.77,56.68-13.77,19.77,0,37.33,4.42,52.69,13.24,15.36,8.83,27.45,21.28,36.28,37.34,8.82,16.07,13.24,35.4,13.24,57.99v156.77h-39.45c-8.33,0-15.09-6.76-15.09-15.09v-137.44c0-22.59-5.66-39.28-16.95-50.05-11.3-10.77-26.83-16.15-46.6-16.15-22.6,0-40.7,7.41-54.29,22.24-13.6,14.83-20.39,36.37-20.39,64.62v131.88h-39.46c-8.33,0-15.09-6.76-15.09-15.09Z%22/%3E%3Cpath d=%22m154.69,204.78v-50.63h59.18v50.63h-59.18Zm2.03,305.01v-245.88h54.62v260.97h-39.53c-8.33,0-15.09-6.76-15.09-15.09Z%22/%3E%3Crect x=%22300.11%22 y=%22154.2%22 width=%2254.56%22 height=%22211.32%22/%3E%3Cpath d=%22m315.2,524.94h39.47v-108.57h-54.56s0,93.48,0,93.48c0,8.33,6.76,15.09,15.09,15.09Z%22/%3E%3Cpath d=%22m418.64,390.42l131.87-126.58h-72.55l-102.75,101.69h-20.55v50.84h20.55l98.33,99.29c5.88,5.94,13.9,9.28,22.25,9.28h58.96l-136.11-134.52Z%22/%3E%3Cpath d=%22m245.51,380.61v35.75h54.6s0-50.84,0-50.84h-39.5c-8.33,0-15.09,6.76-15.09,15.09Z%22/%3E%3C/svg%3E");
  --cp-mask-k: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22216 213.75 856.75 1027%22 fill=%22%23000%22%3E%3Crect x=%22367.43%22 y=%22213.8%22 width=%22151.11%22 height=%22585.31%22/%3E%3Cpath d=%22m409.23,1240.67h109.31v-300.73h-151.11s0,258.92,0,258.92c0,23.09,18.71,41.8,41.8,41.8Z%22/%3E%3Cpath d=%22m695.76,868.07l365.25-350.6h-200.96l-284.59,281.65h-56.91v140.83h56.91l272.35,275.02c16.29,16.45,38.49,25.71,61.64,25.71h163.32l-377-372.6Z%22/%3E%3Cpath d=%22m216.21,840.92v99.03h151.22s0-140.83,0-140.83h-109.42c-23.09,0-41.8,18.71-41.8,41.8Z%22/%3E%3C/svg%3E");
  --cp-mask-pattern: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1081 1074.28%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%223.5%22%3E%3Cpath d=%22m926.21,215.11c-34.28-1.3-61.67-29.3-61.67-63.66V.51h38.71s115.57.04,115.57.04c34.28,1.3,61.68,29.3,61.68,63.66v150.94h-38.66s-115.62-.04-115.62-.04Z%22/%3E%3Cpath d=%22m152.78.52h-44.3s-44.3,0-44.3,0C28.97.78.5,29.19.5,64.23v150.88l107.98.04,107.98-.04V64.23c0-35.03-28.47-63.45-63.68-63.71Z%22/%3E%3Crect x=%22432.42%22 y=%22.55%22 width=%22216.05%22 height=%22214.56%22/%3E%3Cpath d=%22m370.74.55l-45.85-.02-46.76.02c-34.28,1.3-61.67,29.3-61.67,63.66v87.24c0,34.36,27.39,62.36,61.67,63.66l46.76.02,45.85-.02c34.28-1.3,61.68-29.3,61.68-63.66v-87.24c0-34.37-27.4-62.36-61.68-63.66Z%22/%3E%3Cpath d=%22m776.33.59c-69.57,0-126.14,55.17-127.85,123.85v90.63h216.06V.6h-88.21Z%22/%3E%3Cpath d=%22m710.25,429.77c-34.28-1.3-61.67-29.3-61.67-63.66v-150.94h38.71s115.57.04,115.57.04c34.28,1.3,61.68,29.3,61.68,63.66v150.94h-38.66s-115.62-.04-115.62-.04Z%22/%3E%3Crect x=%22216.46%22 y=%22215.2%22 width=%22216.05%22 height=%22214.56%22/%3E%3Cpath d=%22m154.78,215.2l-45.85-.02-46.76.02c-34.28,1.3-61.67,29.3-61.67,63.66v87.24c0,34.36,27.39,62.36,61.67,63.66l46.76.02,45.85-.02c34.28-1.3,61.68-29.3,61.68-63.66v-87.24c0-34.37-27.4-62.36-61.68-63.66Z%22/%3E%3Cpath d=%22m560.36,215.24c-69.57,0-126.14,55.17-127.85,123.85v90.63h216.06v-214.47h-88.21Z%22/%3E%3Cpath d=%22m1016.82,215.17h-44.3s-44.3,0-44.3,0c-35.21.26-63.68,28.68-63.68,63.71v150.88l107.98.04,107.98-.04v-150.88c0-35.03-28.47-63.45-63.68-63.71Z%22/%3E%3Cpath d=%22m494.29,644.42c-34.28-1.3-61.67-29.3-61.67-63.66v-150.94h38.71s115.57.04,115.57.04c34.28,1.3,61.68,29.3,61.68,63.66v150.94h-38.66s-115.62-.04-115.62-.04Z%22/%3E%3Crect x=%22.5%22 y=%22429.86%22 width=%22216.05%22 height=%22214.56%22/%3E%3Cpath d=%22m344.4,429.9c-69.57,0-126.14,55.17-127.85,123.85v90.63h216.06v-214.47h-88.21Z%22/%3E%3Cpath d=%22m800.86,429.83h-44.3s-44.3,0-44.3,0c-35.21.26-63.68,28.68-63.68,63.71v150.88l107.98.04,107.98-.04v-150.88c0-35.03-28.47-63.45-63.68-63.71Z%22/%3E%3Cpath d=%22m1018.82,429.86l-45.85-.02-46.76.02c-34.28,1.3-61.67,29.3-61.67,63.66v87.24c0,34.36,27.39,62.36,61.67,63.66l46.76.02,45.85-.02c34.28-1.3,61.68-29.3,61.68-63.66v-87.24c0-34.37-27.4-62.36-61.68-63.66Z%22/%3E%3Cpath d=%22m278.24,859.08c-34.28-1.3-61.67-29.3-61.67-63.66v-150.94h38.71s115.57.04,115.57.04c34.28,1.3,61.68,29.3,61.68,63.66v150.94h-38.66s-115.62-.04-115.62-.04Z%22/%3E%3Cpath d=%22m128.35,644.56c-69.57,0-126.14,55.17-127.85,123.85v90.63h216.06v-214.47h-88.21Z%22/%3E%3Cpath d=%22m584.81,644.48h-44.3s-44.3,0-44.3,0c-35.21.26-63.68,28.68-63.68,63.71v150.88l107.98.04,107.98-.04v-150.88c0-35.03-28.47-63.45-63.68-63.71Z%22/%3E%3Crect x=%22864.45%22 y=%22644.52%22 width=%22216.05%22 height=%22214.56%22/%3E%3Cpath d=%22m802.77,644.51l-45.85-.02-46.76.02c-34.28,1.3-61.67,29.3-61.67,63.66v87.24c0,34.36,27.39,62.36,61.67,63.66l46.76.02,45.85-.02c34.28-1.3,61.68-29.3,61.68-63.66v-87.24c0-34.37-27.4-62.36-61.68-63.66Z%22/%3E%3Cpath d=%22m62.17,1073.73c-34.28-1.3-61.67-29.3-61.67-63.66v-150.94h38.71s115.57.04,115.57.04c34.28,1.3,61.68,29.3,61.68,63.66v150.94h-38.66s-115.62-.04-115.62-.04Z%22/%3E%3Cpath d=%22m368.74,859.14h-44.3s-44.3,0-44.3,0c-35.21.26-63.68,28.68-63.68,63.71v150.88l107.98.04,107.98-.04v-150.88c0-35.03-28.47-63.45-63.68-63.71Z%22/%3E%3Crect x=%22648.39%22 y=%22859.17%22 width=%22216.05%22 height=%22214.56%22/%3E%3Cpath d=%22m586.71,859.17l-45.85-.02-46.76.02c-34.28,1.3-61.67,29.3-61.67,63.66v87.24c0,34.36,27.39,62.36,61.67,63.66l46.76.02,45.85-.02c34.28-1.3,61.68-29.3,61.68-63.66v-87.24c0-34.37-27.4-62.36-61.68-63.66Z%22/%3E%3Cpath d=%22m992.29,859.21c-69.57,0-126.14,55.17-127.85,123.85v90.63h216.06v-214.47h-88.21Z%22/%3E%3C/svg%3E");
}

/* ── motion ───────────────────────────────────────────────────────────────── */
@keyframes cp-fade { from { opacity: 0; } }
@keyframes cp-rise { from { opacity: 0; transform: translateY(calc(12px * var(--cp-motion-distance))); } }
@keyframes cp-sheet-in { from { transform: translateY(calc(100% * var(--cp-motion-distance))); opacity: 0.6; } }
@keyframes cp-dialog-in { from { transform: translateY(calc(16px * var(--cp-motion-distance))) scale(0.98); opacity: 0; } }
@keyframes cp-toast-in { from { transform: translateY(calc(18px * var(--cp-motion-distance))) scale(0.96); opacity: 0; } }
@keyframes cp-toast-out { to { transform: translateY(calc(8px * var(--cp-motion-distance))); opacity: 0; } }
@keyframes cp-pass-in { from { transform: translateY(calc(40px * var(--cp-motion-distance))) scale(0.98); opacity: 0; } }
@keyframes cp-pin-drop { from { transform: translateY(calc(-14px * var(--cp-motion-distance))) scale(0.6); opacity: 0; } }
@keyframes cp-stamp { 0% { transform: rotate(-8deg) scale(calc(1 + 0.5 * var(--cp-motion-distance))); opacity: 0; } 100% { transform: rotate(-8deg) scale(1); opacity: 1; } }
@keyframes cp-shake { 20% { transform: translateX(calc(-6px * var(--cp-motion-distance))); } 40% { transform: translateX(calc(5px * var(--cp-motion-distance))); } 60% { transform: translateX(calc(-3px * var(--cp-motion-distance))); } 80% { transform: translateX(calc(2px * var(--cp-motion-distance))); } }
@keyframes cp-caret { 50% { opacity: 0; } }
@keyframes cp-pulse { 50% { opacity: 0.35; } }
@keyframes cp-breathe { 50% { opacity: 0.4; } }
@keyframes cp-spin { to { transform: rotate(360deg); } }
@keyframes cp-shimmer { to { background-position: -200% 0; } }

/* Reduced motion: nothing travels, grows or loops. Each entrance becomes a
   fade, so a change is still seen. The same answer for the in app switch. */
@keyframes cp-fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cp-pass[data-animate], .cp-pin[data-drop], .cp-stamp[data-animate], .cp-toast,
  dialog.cp-sheet[open], dialog.cp-sheet::backdrop, .cp-scrim { animation-name: cp-fade; }
  .cp-toast[data-state="leaving"] { animation-name: cp-fade-out; }
  .cp-button, a.cp-card, button.cp-card, .cp-tabbar__item svg, .cp-tabs--line .cp-tab::after, .cp-sheet {
    transition-property: color, background-color, border-color, box-shadow, opacity;
  }
  .cp-code[data-state="error"],
  .cp-chip--live::before,
  .cp-sync[data-state="syncing"] .cp-sync__icon svg,
  .cp-skeleton,
  .cp-code__cell[data-active="true"]:empty::after { animation: none; }
  .cp-button[aria-busy="true"]::after { animation-duration: 2.4s; }
}
[data-motion="reduce"] .cp-pass[data-animate], [data-motion="reduce"] .cp-pin[data-drop],
[data-motion="reduce"] .cp-stamp[data-animate], [data-motion="reduce"] .cp-toast,
[data-motion="reduce"] dialog.cp-sheet[open] { animation-name: cp-fade; }
[data-motion="reduce"] .cp-toast[data-state="leaving"] { animation-name: cp-fade-out; }
[data-motion="reduce"] :is(.cp-button, a.cp-card, button.cp-card, .cp-tabbar__item svg, .cp-sheet) {
  transition-property: color, background-color, border-color, box-shadow, opacity;
}
[data-motion="reduce"] .cp-code[data-state="error"],
[data-motion="reduce"] .cp-chip--live::before,
[data-motion="reduce"] .cp-sync[data-state="syncing"] .cp-sync__icon svg,
[data-motion="reduce"] .cp-skeleton { animation: none; }

/* Forced colours (Windows high contrast): the system paints, so draw real edges. */
@media (forced-colors: active) {
  .cp-button, .cp-input, .cp-code__cell, .cp-card, .cp-list, .cp-chip, .cp-sync, .cp-toast, .cp-sheet, .cp-tab[aria-selected="true"] { border: 1px solid CanvasText; }
  .cp-button:focus-visible, .cp-input:focus-visible, .cp-tab:focus-visible, .cp-focus:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
  .cp-lockup__mark, .cp-mark-k { forced-color-adjust: none; background: CanvasText; }
}

/* Outdoor sun: every surface solid, every edge drawn. */
[data-contrast="more"] .cp-card,
[data-contrast="more"] .cp-list,
[data-contrast="more"] .cp-tabs { border: 1px solid var(--cp-line-strong); box-shadow: none; }
[data-contrast="more"] .cp-button--quiet { border-color: var(--cp-ink); }

/* ==========================================================================
 * IKAN city guides. Register B (client reader), Compass Home register.
 * Sits on compass/fonts.css, compass/tokens.css and compass/compass.plain.css.
 * White paper, sky wash bands, Fraunces for the voice, Lexend Deca to read,
 * Space Grotesk for every number. Real photographs as plates with credits.
 * Old guide classes (card, nb-card, cost-card, tbl ...) are styled here so the
 * moved content reads in the new system without rewriting its words.
 * ========================================================================== */

:root {
  --g-max: 1200px;
  --g-read: 760px;
  --g-rail: 232px;
  --g-top: 60px;
  --g-radius: var(--cp-radius-card);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--g-top) + 64px); -webkit-text-size-adjust: 100%; }
@media (min-width: 1000px) { html { scroll-padding-top: calc(var(--g-top) + 24px); } }
body { margin: 0; background: var(--cp-paper); }
body.cp { background: var(--cp-paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cp-midnight); text-decoration-color: var(--cp-sky); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--cp-coral); }
:focus-visible { outline: var(--cp-focus-width) solid var(--cp-focus-color); outline-offset: var(--cp-focus-offset); border-radius: 4px; }
strong, b { font-weight: 560; color: var(--cp-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: 0.25em 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; color: var(--cp-heading-color); }
.num, .figure { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--cp-paper); padding: 12px 16px; border-radius: 10px; box-shadow: var(--cp-shadow-2); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--g-max); margin: 0 auto; padding: 0 var(--cp-gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── the top bar ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: var(--cp-z-sticky); background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--cp-line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: var(--g-top); }
.top .cp-lockup { min-height: 44px; font-size: 1.05rem; flex: 0 1 auto; min-width: 0; }
.top .cp-lockup__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--cp-ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 450; white-space: nowrap; }
.top nav a:hover { background: var(--cp-sky-wash); color: var(--cp-midnight); }
.top nav a[aria-current="page"] { color: var(--cp-midnight); }
.top nav .move { color: var(--cp-midnight); border: 1px solid var(--cp-line-strong); }
.top .for { font-size: 0.8125rem; color: var(--cp-ink-3); white-space: nowrap; }
@media (max-width: 560px) {
  .top .hide-sm, .top nav .hide-sm { display: none; }
  .top nav a { padding: 0 10px; }
  .top .for { display: none; }
}
/* a client edition names itself on a phone, where the header has no room for it */
.edition { background: var(--cp-sky-wash); border-bottom: 1px solid var(--cp-line); color: var(--cp-ink-2); font-size: 0.9375rem; font-weight: 500; }
.edition .wrap { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.edition__logo { height: 20px; width: auto; }
@media (min-width: 561px) { .edition { display: none; } }

/* ── labels and the voice ───────────────────────────────────────────────── */
.kicker { font-family: var(--cp-font-body); font-size: 0.9375rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.kicker .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--cp-line-control); }
.display { font-family: var(--cp-font-voice); font-weight: 460; font-size: clamp(3rem, 1.6rem + 6vw, 6.25rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--cp-midnight); margin: 0; text-wrap: balance; }
.display em, .display .cp-phrase { font-style: italic; color: var(--cp-coral-text); font-weight: 420; }
.display-sub { display: block; font-size: 0.42em; line-height: 1.1; letter-spacing: -0.015em; margin-top: 0.3em; }
.lede { font-size: var(--cp-step-1); line-height: 1.55; color: var(--cp-ink-2); max-width: 60ch; margin: 18px 0 0; text-wrap: pretty; }
.h1 { font-family: var(--cp-font-voice); font-weight: 480; font-size: clamp(2.4rem, 1.7rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; color: var(--cp-midnight); text-wrap: balance; }
.h1 em { font-style: italic; color: var(--cp-coral-text); font-weight: 440; }
.h2 { font-family: var(--cp-font-voice); font-weight: 480; font-size: var(--cp-step-4); line-height: 1.12; letter-spacing: -0.015em; color: var(--cp-midnight); text-wrap: balance; }
.h2 em { font-style: italic; }

/* ── photo plates ───────────────────────────────────────────────────────── */
.plate { margin: 0; display: grid; gap: 8px; min-width: 0; }
.plate__frame { position: relative; overflow: hidden; border-radius: var(--g-radius); background: var(--cp-sunken); aspect-ratio: var(--ratio, 3 / 2); }
.plate__frame img { width: 100%; height: 100%; object-fit: cover; }
.plate--quarter .plate__frame { border-radius: var(--cp-radius-quarter-lg); }
.plate figcaption { font-size: 0.875rem; line-height: 1.45; color: var(--cp-ink-2); }
.credit { display: block; font-size: 0.8125rem; line-height: 1.4; color: var(--cp-ink-3); margin-top: 2px; }
.credit a { color: var(--cp-ink-3); text-decoration-color: var(--cp-line-strong); text-decoration-thickness: 1px; display: inline-block; min-width: 44px; padding: 14px 6px; margin: -14px -6px; }
.credit a:hover { color: var(--cp-midnight); }

/* ── guide front page ───────────────────────────────────────────────────── */
.hero { padding: 28px 0 8px; }
.hero__grid { display: grid; gap: 24px; }
.hero__photo { order: -1; margin: 0 calc(var(--cp-gutter) * -1); }
.hero__photo .plate__frame { border-radius: 0; aspect-ratio: 4 / 3; }
.hero__photo figcaption { padding: 0 var(--cp-gutter); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero__meta li { margin: 0; }
.chipline { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--cp-radius-pill); background: var(--cp-sky-wash); color: var(--cp-ink-2); font-size: 0.9375rem; }
.chipline svg { width: 16px; height: 16px; stroke: var(--cp-midnight); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.swap { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; font-weight: 500; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 24px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .hero__photo { order: 0; margin: 0; }
  .hero__photo .plate__frame { border-radius: var(--cp-radius-quarter-lg); aspect-ratio: 5 / 4; }
  .hero__photo figcaption { padding: 0; }
}

.band { background: var(--cp-sky-wash); }
.block { padding: var(--cp-section) 0; }
.block + .block { padding-top: 0; }
.band + .block, .block + .band { padding-top: var(--cp-section); }
.block__head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 62ch; }
.block__head p { color: var(--cp-ink-2); margin: 0; font-size: var(--cp-step-0); }

/* the numbers families ask first: the hero's own number row */
.asks-wrap { margin: 28px 0 0; }
.asks__h { font-family: var(--cp-font-body); font-size: 0.9375rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 12px; }
.asks__note { margin: 12px 0 0; font-size: 0.9375rem; color: var(--cp-ink-3); max-width: 70ch; }
.asks { display: grid; gap: 1px; background: var(--cp-line); border: 1px solid var(--cp-line); border-radius: var(--g-radius); overflow: hidden; }
.ask { background: var(--cp-paper); display: grid; gap: 4px; align-content: start; padding: 16px 18px; color: inherit; text-decoration: none; min-height: 44px; transition: background var(--cp-dur-quick) var(--cp-ease-move); }
/* on a phone each number is one compact row: the label and where it goes on one line, the figure under it */
@media (max-width: 639px) {
  .ask { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; }
  .ask__label { grid-column: 1; }
  .ask__go { grid-column: 2; grid-row: 1; margin-top: 0; }
  .ask__value, .ask__note { grid-column: 1 / -1; }
}
@media (min-width: 640px) { .ask { gap: 6px; padding: 22px 20px 20px; } .asks-wrap { margin-top: 40px; } }
.ask:hover { background: var(--cp-sky-wash); }
.ask__label { font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-3); }
.ask__value { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: clamp(1.75rem, 1.35rem + 1.2vw, 2.25rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--cp-midnight); text-wrap: balance; }
.ask__value--long { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); }
.ask__note { font-size: 0.9375rem; color: var(--cp-ink-2); line-height: 1.45; }
.ask__go { margin-top: 6px; font-size: 0.875rem; font-weight: 500; color: var(--cp-coral-text); }
@media (min-width: 640px) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .asks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .asks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* the chapter index: numbered rows with a photograph, never a card grid */
.toc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cp-line); counter-reset: ch; }
.toc li { margin: 0; border-bottom: 1px solid var(--cp-line); }
.toc a { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 88px; gap: 14px; align-items: center; padding: 14px 0; min-height: 88px; text-decoration: none; color: inherit; }
.toc__n { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-size: 1rem; font-weight: 500; color: var(--cp-ink-3); align-self: start; padding-top: 4px; }
.toc__t { font-family: var(--cp-font-voice); font-weight: 480; font-size: var(--cp-step-2); line-height: 1.15; color: var(--cp-midnight); letter-spacing: -0.01em; }
.toc__d { display: block; margin-top: 4px; font-size: 0.9375rem; color: var(--cp-ink-2); line-height: 1.45; }
.toc__m { display: block; margin-top: 6px; font-size: 0.8125rem; color: var(--cp-ink-3); }
.toc__img { width: 88px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cp-sunken); }
.toc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--cp-dur-slow) var(--cp-ease-enter); }
.toc a:hover .toc__t { text-decoration: underline; text-decoration-color: var(--cp-coral); text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
.toc a:hover .toc__img img { transform: scale(1.04); }
@media (min-width: 900px) {
  .toc { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .toc li { border-bottom: 1px solid var(--cp-line); }
  .toc li:nth-child(-n+2) { border-top: 1px solid var(--cp-line); }
  .toc a { grid-template-columns: 2.6rem minmax(0, 1fr) 132px; padding: 20px 0; min-height: 132px; }
  .toc__img { width: 132px; aspect-ratio: 4 / 3; }
}

/* at a glance: a ledger */
.glance { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--cp-line); }
.glance div { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--cp-line); }
.glance dt { font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-3); }
.glance dd { margin: 0; color: var(--cp-ink); max-width: 68ch; }
.glance dd strong { font-family: var(--cp-font-figure); font-weight: 500; color: var(--cp-midnight); }
@media (min-width: 760px) { .glance div { grid-template-columns: 14rem minmax(0, 1fr); gap: 24px; padding: 18px 0; } }

/* the closing words and the door into i-Navigate, side by side on a desk */
.closing { display: grid; gap: 32px; }
.closing .h2 { font-size: var(--cp-step-5); margin: 0 0 18px; }
.closing__words p { color: var(--cp-ink-2); max-width: 62ch; }
.closing__services { font-size: 0.9375rem; color: var(--cp-ink-3); margin-top: 4px; }
.closing__quote { margin: 0; }
.closing__quote p { font-family: var(--cp-font-voice); font-size: var(--cp-step-3); line-height: 1.3; color: var(--cp-midnight); max-width: 30ch; margin: 0; }
@media (min-width: 900px) { .closing { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; } .closing--solo { grid-template-columns: minmax(0, 1fr); } }
.contact { display: grid; gap: 10px; }
.contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; }
.door { background: var(--cp-paper); border: 1px solid var(--cp-line-strong); border-radius: var(--cp-radius-quarter); padding: 24px; display: grid; gap: 12px; box-shadow: var(--cp-shadow-1); }
.door h2, .door h3 { font-family: var(--cp-font-voice); font-weight: 500; font-size: var(--cp-step-2); color: var(--cp-midnight); }
.door p { margin: 0; color: var(--cp-ink-2); font-size: 1rem; max-width: 62ch; }
.door .cp-button { justify-self: start; white-space: normal; text-align: center; }
.door small { color: var(--cp-ink-3); font-size: 0.9375rem; }
.door small a { display: inline-block; padding: 13px 0; margin: -13px 0; }

/* ── chapter pages ──────────────────────────────────────────────────────── */
.chead { padding: 28px 0 8px; }
.chead__grid { display: grid; gap: 20px; }
.chead .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.9375rem; color: var(--cp-ink-3); margin: 0 0 14px; }
.chead .crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cp-ink-2); }
.chead .lede { font-size: var(--cp-step-0); }
.chead__photo .plate__frame { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .chead { padding: 44px 0 16px; }
  .chead__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
  .chead__photo .plate__frame { aspect-ratio: 4 / 3; border-radius: var(--cp-radius-quarter); }
}

/* the section index: a strip on a phone, a rail on a desk */
.strip { position: sticky; top: var(--g-top); z-index: calc(var(--cp-z-sticky) - 1); background: rgb(255 255 255 / 0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--cp-line); }
.strip ol { display: flex; gap: 6px; overflow-x: auto; margin: 0; padding: 8px var(--cp-gutter); list-style: none; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip ol::-webkit-scrollbar { display: none; }
.strip li { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.strip a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--cp-sky-wash); color: var(--cp-ink-2); text-decoration: none; font-size: 0.9375rem; font-weight: 450; white-space: nowrap; }
.strip a[aria-current="true"] { background: var(--cp-midnight); color: #fff; }
.clayout { display: grid; gap: 0; }
.rail { display: none; }
@media (min-width: 1000px) {
  .strip { display: none; }
  .clayout { grid-template-columns: var(--g-rail) minmax(0, 1fr); gap: 56px; align-items: start; }
  .rail { display: block; position: sticky; top: calc(var(--g-top) + 24px); max-height: calc(100vh - var(--g-top) - 48px); overflow-y: auto; padding: 8px 0 24px; }
  .rail h2 { font-family: var(--cp-font-body); font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 6px; }
  .rail ol { list-style: none; margin: 0 0 22px; padding: 0; border-left: 1px solid var(--cp-line); }
  .rail li { margin: 0; }
  .rail a { display: flex; align-items: center; min-height: 44px; padding: 6px 12px 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--cp-ink-2); text-decoration: none; font-size: 0.9375rem; line-height: 1.3; }
  .rail a:hover { color: var(--cp-midnight); background: var(--cp-sky-wash); }
  .rail a[aria-current="true"], .rail a[aria-current="page"] { border-left-color: var(--cp-coral); color: var(--cp-midnight); font-weight: 500; }
  .rail .chapters a { font-size: 0.875rem; }
  .rail .chapters .n { font-family: var(--cp-font-figure); color: var(--cp-ink-3); width: 1.6em; flex: 0 0 auto; }
}

.cmain { min-width: 0; padding-bottom: 24px; }
.sec { padding: 44px 0 8px; scroll-margin-top: 120px; }
.sec + .sec { border-top: 1px solid var(--cp-line); }
.sec__name { font-size: 0.9375rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 10px; }
.sec-title { font-family: var(--cp-font-voice); font-weight: 480; font-size: var(--cp-step-4); line-height: 1.12; letter-spacing: -0.015em; color: var(--cp-midnight); margin: 0 0 14px; text-wrap: balance; }
.sec-title em { font-style: italic; }
.sec-sub, .sec-sub-lt, .ikanx-lead-sub { font-size: var(--cp-step-1); line-height: 1.55; color: var(--cp-ink-2); max-width: 62ch; margin: 0 0 28px; text-wrap: pretty; }
.sec h3 { font-family: var(--cp-font-voice); font-weight: 500; font-size: var(--cp-step-2); line-height: 1.2; color: var(--cp-midnight); margin: 32px 0 14px; }
.sec h4 { font-size: 1rem; font-weight: 560; color: var(--cp-ink); margin: 18px 0 8px; }
.sec p { max-width: 70ch; }
.sec > * + * { margin-top: 0; }
.sec .divider { height: 1px; background: var(--cp-line); margin: 28px 0; }

.next { margin: 40px 0 0; }
.next a { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); text-decoration: none; color: inherit; min-height: 96px; }
.next a:hover { background: var(--cp-sky-wash); }
.next .l { font-size: 0.875rem; color: var(--cp-ink-3); }
.next .t { display: block; font-family: var(--cp-font-voice); font-size: var(--cp-step-3); font-weight: 480; color: var(--cp-midnight); line-height: 1.1; margin-top: 4px; }
.next .img { width: 96px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.next .img img { width: 100%; height: 100%; object-fit: cover; }
.chapnav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 24px 0 0; }
.chapnav a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── the moved content: cards and grids ─────────────────────────────────── */
.g2, .g3, .g4, .life-grid, .cost-grid, .rf-grid, .info3, .xlink-grid, .stat-trio, .icon-stats-row, .metro-phase2-grid { display: grid; gap: 16px; margin: 0 0 28px; }
@media (min-width: 700px) {
  .g2, .info3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3, .rf-grid, .xlink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4, .life-grid, .cost-grid, .stat-trio, .icon-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .g3, .info3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cost-grid, .life-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.card, .info-card, .infobox, .emb { background: var(--cp-paper); border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); overflow: hidden; min-width: 0; margin: 0 0 16px; }
.g2 > .card, .g3 > .card, .g4 > .card, .info3 > .info-card { margin: 0; }
.card-sky, .card-green, .card-gold { background: var(--cp-sky-wash); border-color: transparent; }
.card-navy, .card-accent { background: var(--cp-paper); }
.card-body, .info-body, .infobox-body, .emb-body { padding: 20px; }
.card-img, .card-img-sm { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .credit, .nb-card .credit { padding: 6px 20px 0; }
.chip { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-2); margin: 0 0 10px; }
.chip svg.ic, .info-head svg.ic, .infobox-title svg.ic { width: 18px; height: 18px; }
.card-title, .card-title-lt, .info-head, .infobox-title, .emb-title { font-family: var(--cp-font-voice); font-weight: 500; font-size: var(--cp-step-1); line-height: 1.25; color: var(--cp-midnight); margin: 0 0 8px; }
.info-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 0; margin: 0; }
.card-desc, .card-desc-lt, .card-lead { color: var(--cp-ink-2); font-size: 1rem; line-height: 1.6; max-width: 72ch; }
.card-desc ul, .card-desc-lt ul, .info-body ul { padding-left: 0; list-style: none; margin: 0; }
.card-desc li, .card-desc-lt li, .info-body li { position: relative; padding-left: 18px; margin: 8px 0; }
.card-desc li::before, .card-desc-lt li::before, .info-body li::before { content: ""; position: absolute; left: 2px; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-sky); }

/* icons from the sprite */
svg.ic { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--cp-midnight); vertical-align: middle; }

/* neighbourhoods: one row each, photo and words, never a card grid */
.nbs { display: grid; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--cp-line); }
.nb-card { display: grid; grid-template-rows: auto auto 1fr; background: var(--cp-paper); border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); overflow: hidden; min-width: 0; scroll-margin-top: 120px; }
.nbs > .nb-card { border: 0; border-bottom: 1px solid var(--cp-line); border-radius: 0; overflow: visible; padding: 24px 0; gap: 0; }
.nbs > .nb-card .cardphoto img { border-radius: var(--g-radius); }
.nbs > .nb-card .cardphoto .credit { padding: 6px 0 0; }
.nbs > .nb-card .nb-head { padding: 16px 0 0; }
.nbs > .nb-card .nb-body { padding: 10px 0 0; }
@media (min-width: 700px) {
  .nbs > .nb-card { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; column-gap: 28px; padding: 28px 0; }
  .nbs > .nb-card > .cardphoto { grid-row: 1 / span 2; align-self: start; }
  .nbs > .nb-card .nb-head { padding: 0; }
}
.nb-desc--fold { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.nb-more { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: -6px 0 -4px; border: 0; background: none; color: var(--cp-midnight); font: inherit; font-size: 0.9375rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--cp-sky); text-decoration-thickness: 2px; text-underline-offset: 0.18em; cursor: pointer; }
.nb-more:hover { text-decoration-color: var(--cp-coral); }
.nb-tags .nb-tag--more { display: none; }
.nb-card--open .nb-tags .nb-tag--more { display: inline-flex; }
.nb-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--cp-sunken); }
.nb-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 18px 20px 0; }
.nb-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cp-coral-action); color: #fff; font-family: var(--cp-font-figure); font-weight: 600; font-size: 0.9375rem; }
.nb-name { font-family: var(--cp-font-voice); font-weight: 500; font-size: var(--cp-step-2); line-height: 1.15; color: var(--cp-midnight); }
.nb-vibe { font-size: 0.9375rem; color: var(--cp-ink-3); margin-top: 2px; }
.nb-body { padding: 12px 20px 20px; display: grid; gap: 12px; align-content: start; }
.nb-desc { color: var(--cp-ink-2); font-size: 1rem; line-height: 1.6; }
.nb-tags, .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-tag, .stag, .tbadge, .htag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: var(--cp-sunken); color: var(--cp-ink-2); font-size: 0.8125rem; font-weight: 450; line-height: 1.2; }
.nb-best { font-size: 0.9375rem; color: var(--cp-ink); }
.nb-best__label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); margin-bottom: 2px; }
.onmap { justify-self: start; text-align: left; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--cp-line-strong); background: var(--cp-paper); color: var(--cp-midnight); font: inherit; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.onmap:hover { background: var(--cp-sky-wash); }
.onmap svg { width: 18px; height: 18px; }

/* commutes */
.route-card { display: grid; gap: 2px; padding: 16px 18px; border-radius: 12px; background: var(--cp-sky-wash); margin: 0 0 10px; }
.route-from { font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); }
.route-to { font-size: 1rem; font-weight: 500; color: var(--cp-ink); }
.route-time { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: var(--cp-step-3); line-height: 1.1; color: var(--cp-midnight); letter-spacing: -0.02em; }
.route-mode { font-size: 0.875rem; color: var(--cp-ink-2); }
.routes { display: grid; gap: 10px; margin: 0 0 28px; }
@media (min-width: 700px) { .routes { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .routes .route-card { margin: 0; } }

/* big numbers in the content */
.cost-card, .stat-tile, .istat { background: var(--cp-paper); border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); padding: 18px 20px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.cost-head { display: none; }
.cost-body { display: grid; gap: 4px; }
.cost-icon, .is-icon { display: none; }
.cost-item, .stat-label, .is-label { font-size: 0.9375rem; font-weight: 500; color: var(--cp-ink); }
.cost-price, .stat-val, .is-val, .rent-val, .hstat-v { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: var(--cp-step-4); line-height: 1.05; letter-spacing: -0.025em; color: var(--cp-midnight); order: -1; overflow-wrap: normal; }
.cost-price, .stat-val { font-size: clamp(1.5rem, 1.1rem + 1vw, 2.25rem); }
.cost-body { display: flex; flex-direction: column; }
.cost-body .cost-price { order: 0; }
.cost-unit, .stat-sub { font-size: 0.875rem; color: var(--cp-ink-3); line-height: 1.4; }
.stat-tile { display: flex; flex-direction: column; }
.stat-tile .stat-val { order: 0; }
.rent-pair { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--cp-line); }
.rent-label { color: var(--cp-ink-2); }
.rent-val { font-size: var(--cp-step-1); }

/* tables: a clean ledger on a desk, stacked rows on a phone */
.tbl-scroll, .tbl-wrap { margin: 0 0 28px; border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); overflow: hidden; }
table.tbl, table.info-tbl, table.city-compare, table.etbl, .sec table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.sec th { text-align: left; font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); padding: 12px 14px; background: var(--cp-sky-wash); border-bottom: 1px solid var(--cp-line-strong); vertical-align: bottom; }
.sec td { padding: 12px 14px; border-bottom: 1px solid var(--cp-line); vertical-align: top; color: var(--cp-ink-2); }
.sec tr:last-child td { border-bottom: 0; }
.sec td:first-child { color: var(--cp-ink); }
.sec td strong { color: var(--cp-ink); }
.cc-up { color: var(--cp-ok-text); font-weight: 500; }
.cc-down { color: var(--cp-stop-text); font-weight: 500; }
.cc-same { color: var(--cp-ink-3); }
@media (max-width: 699px) {
  .tbl-scroll, .tbl-wrap { border: 0; border-radius: 0; overflow: visible; }
  .sec table.stack, .sec table.stack tbody, .sec table.stack tr, .sec table.stack td { display: block; width: 100%; }
  .sec table.stack thead { display: none; }
  .sec table.stack tr { border: 1px solid var(--cp-line-strong); border-radius: 12px; padding: 6px 0; margin: 0 0 10px; background: var(--cp-paper); }
  .sec table.stack td { border: 0; padding: 6px 14px; }
  .sec table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); }
  .sec table.stack td:first-child { font-weight: 500; font-size: 1.0625rem; }
  .sec table.stack td:first-child::before { display: none; }
}

/* steps, arrival sequences, settling in */
.steps { display: grid; gap: 0; margin: 0 0 28px; counter-reset: none; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--cp-line); }
.step:first-child { border-top: 1px solid var(--cp-line); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cp-sky-soft); color: var(--cp-midnight); font-family: var(--cp-font-figure); font-weight: 600; font-size: 1rem; }
.step-title { font-weight: 560; color: var(--cp-ink); font-size: 1.0625rem; line-height: 1.35; }
.step-desc { color: var(--cp-ink-2); margin-top: 4px; line-height: 1.6; }

/* definition rows: visa types, metro lines */
.visa-row { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--cp-line); }
.visa-row:first-of-type { border-top: 1px solid var(--cp-line); }
.visa-type { font-weight: 560; color: var(--cp-midnight); display: flex; align-items: center; gap: 8px; }
.visa-desc { color: var(--cp-ink-2); line-height: 1.6; }
.visa-desc svg.ic { width: 16px; height: 16px; }

/* callouts */
.tip, .callout-band, .ikanx-hint-box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 18px; border-radius: 12px; background: var(--cp-sky-wash); color: var(--cp-ink); margin: 0 0 28px; }
.tip-icon svg.ic { width: 22px; height: 22px; }
.tip-text, .callout-band-text { line-height: 1.6; }
.callout-band { grid-template-columns: minmax(0, 1fr); }
.rf-section .rf-grid { margin-top: 8px; }
.rf-card { border-radius: 12px; background: var(--cp-wait-soft); padding: 18px 20px; margin: 0; }
.rf-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cp-wait-text); margin: 0 0 8px; line-height: 1.35; }
.rf-title svg.ic { color: var(--cp-wait-text); }
.rf-body { color: var(--cp-ink); line-height: 1.6; }
.rf-icon { display: none; }
.quote, .quote-block { margin: 0 0 28px; padding: 4px 0 4px 20px; border-left: 3px solid var(--cp-sky); }
.quote-text { font-family: var(--cp-font-voice); font-style: italic; font-size: var(--cp-step-2); line-height: 1.35; color: var(--cp-midnight); }
.quote-attr, .quote-body { font-size: 0.9375rem; color: var(--cp-ink-3); margin-top: 8px; }

/* features: life cards, icon rows */
.life-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-top: 1px solid var(--cp-line); }
.life-grid { gap: 0 28px; }
.life-icon { grid-row: span 2; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cp-sky-wash); }
.life-title { font-weight: 560; color: var(--cp-ink); line-height: 1.35; }
.life-desc { color: var(--cp-ink-2); font-size: 0.9375rem; line-height: 1.55; }

/* the phrasebook */
.phrasebook { display: grid; gap: 0; margin: 0 0 28px; }
@media (min-width: 900px) { .phrasebook { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.phrase { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--cp-line); align-items: start; }
.phrase-native { font-family: "Noto Sans Devanagari", "Noto Sans Tamil", "Noto Sans Telugu", "Noto Sans Kannada", "Noto Sans Gujarati", "Kohinoor Devanagari", system-ui, sans-serif; font-size: 1.5rem; line-height: 1.3; color: var(--cp-midnight); }
.phrase-label { display: inline-block; font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); margin-bottom: 2px; }
.phrase-roman { font-weight: 560; color: var(--cp-ink); }
.phrase-mean { color: var(--cp-ink-2); font-size: 0.9375rem; line-height: 1.5; margin-top: 2px; }

/* climate: twelve months */
.cstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 24px; }
@media (min-width: 700px) { .cstrip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cstrip { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.cm { border-radius: 10px; padding: 10px 8px; background: var(--cp-sunken); text-align: center; min-width: 0; }
.cm.ideal { background: var(--cp-ok-soft); }
.cm.warm { background: var(--cp-wait-soft); }
.cm.hot { background: var(--cp-stop-soft); }
.cm.monsoon { background: var(--cp-info-soft); }
.cm.cold, .cm.c { background: var(--cp-sky-soft); }
.cmh { font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-2); }
.cmt { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: 1.375rem; color: var(--cp-midnight); line-height: 1.2; margin-top: 2px; }
.cml { font-size: 0.75rem; color: var(--cp-ink-2); line-height: 1.3; margin-top: 2px; }
.scs { display: grid; gap: 16px; margin: 0 0 28px; }
@media (min-width: 900px) { .scs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sc2 { border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); padding: 20px; background: var(--cp-paper); min-width: 0; }
.scnm { font-family: var(--cp-font-voice); font-size: var(--cp-step-2); font-weight: 500; color: var(--cp-midnight); }
.scmo { font-size: 0.875rem; color: var(--cp-ink-3); margin-top: 2px; }
.bigt { font-family: var(--cp-font-figure); font-weight: 500; font-size: var(--cp-step-4); color: var(--cp-midnight); line-height: 1.1; margin: 10px 0 4px; }
.scdesc { color: var(--cp-ink-2); line-height: 1.6; }
.sctips { display: grid; gap: 6px; margin-top: 12px; }
.sctip { font-size: 0.9375rem; color: var(--cp-ink-2); padding-left: 16px; position: relative; }
.sctip::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cp-sky); }

/* apps */
.apcat, .phcat, .dir-cat { font-family: var(--cp-font-voice); font-size: var(--cp-step-1); font-weight: 500; color: var(--cp-midnight); margin: 24px 0 8px; }
.apct { font-size: 0.875rem; color: var(--cp-ink-3); }
.aplist, .aprows { display: grid; gap: 0; margin: 0 0 20px; }
.aprow { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--cp-line); align-items: start; }
.ai, .pic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cp-sky-wash); }
.an { display: block; font-weight: 560; color: var(--cp-ink); }
.ad { display: block; color: var(--cp-ink-2); font-size: 0.9375rem; line-height: 1.55; margin-top: 2px; }
.phsec { margin: 0 0 20px; }
.ph, .phcl { display: flex; flex-wrap: wrap; gap: 8px; }
.pai { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 14px 4px 4px; border: 1px solid var(--cp-line-strong); border-radius: 12px; text-decoration: none; color: var(--cp-ink); background: var(--cp-paper); }
.pai:hover { background: var(--cp-sky-wash); }
.nm { font-weight: 500; font-size: 0.9375rem; }
.phn, .phs, .phst, .phag { font-size: 0.875rem; color: var(--cp-ink-3); }

/* hospitals and directories */
.dir { display: grid; gap: 0; margin: 0 0 24px; }
.dir-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--cp-line); min-height: 56px; }
.dir-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cp-info); }
.dir-name { font-weight: 560; color: var(--cp-ink); }
.dir-meta { font-size: 0.875rem; color: var(--cp-ink-3); }
.dir-tail a, a.dir-tail { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; background: var(--cp-sky-wash); text-decoration: none; font-family: var(--cp-font-figure); font-size: 0.9375rem; white-space: nowrap; }
.info-tbl td:first-child { font-weight: 500; }

/* links out to the Essentials guides */
.xlink-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 18px 20px; border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); text-decoration: none; color: inherit; background: var(--cp-paper); min-height: 44px; }
.xlink-card:hover { background: var(--cp-sky-wash); }
.xlink-card svg.ic { grid-row: span 3; margin-top: 2px; }
.xlink-t { font-weight: 560; color: var(--cp-midnight); }
.xlink-d { color: var(--cp-ink-2); font-size: 0.9375rem; line-height: 1.5; }
.xlink-go { font-size: 0.875rem; font-weight: 500; color: var(--cp-coral-text); }
.xlink-all { margin: 0 0 28px; }
.xlink-all a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* the IKAN method: fixed clocks and diagrams */
.ikanx-facts { display: grid; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--cp-line); }
.ikanx-fact { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--cp-line); }
.ikanx-fact dt { font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-3); }
.ikanx-fact dd { margin: 0; color: var(--cp-ink); }
@media (min-width: 760px) { .ikanx-fact { grid-template-columns: 13rem minmax(0, 1fr); gap: 24px; } }
.ikanx-flowgrid { display: grid; gap: 16px; margin: 0 0 20px; }
@media (min-width: 900px) { .ikanx-flowgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ikanx-flow, .ikanx-tree { border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); padding: 20px; background: var(--cp-paper); min-width: 0; }
.ikanx-flow:has(.ledger), .ikanx-tree:has(.decide) { border: 0; border-radius: 0; padding: 0; background: none; }
.ikanx-tree { margin: 0 0 28px; }
.ikanx-step { font-size: 0.9375rem; font-weight: 500; color: var(--cp-coral-text); margin: 0 0 4px; }
.ikanx-flow h3, .ikanx-tree h3 { margin: 0 0 6px; font-size: var(--cp-step-1); }
.ikanx-lead { color: var(--cp-ink-2); font-size: 0.9375rem; margin: 0 0 14px; }
.ikanx-svgwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
.ikanx-svgwrap svg { --bg: #ffffff; --fg: #10141c; --muted: #5b6d73; --line: #6f8488; --accent: #b03418; --surface: #eaf4f3; --border: #c3d2d3; display: block; height: auto; }
.ikanx-flow .ikanx-svgwrap svg { width: 100%; max-width: 300px; margin: 0 auto; }
.ikanx-tree .ikanx-svgwrap svg { min-width: 560px; width: 100%; max-width: 720px; margin: 0 auto; }
.ledger { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.ledger li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 12px 0; margin: 0; border-top: 1px solid var(--cp-line); }
.ledger__n { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: 1.375rem; line-height: 1; color: var(--cp-coral-text); }
.ledger__t { font-size: 1.0625rem; line-height: 1.45; color: var(--cp-ink); }
.ledger .figure { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; color: var(--cp-midnight); }
.decide__q { font-weight: 500; color: var(--cp-ink-3); margin: 8px 0 8px; font-size: 0.9375rem; }
.decide ul { list-style: none; margin: 0; padding: 0; }
.decide li { display: grid; gap: 6px; padding: 16px 0; margin: 0; border-top: 1px solid var(--cp-line); }
.decide__k { display: block; font-family: var(--cp-font-body); font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); margin-bottom: 2px; }
.decide__if { font-family: var(--cp-font-voice); font-size: var(--cp-step-1); line-height: 1.3; color: var(--cp-midnight); }
.decide__then { font-size: 1.0625rem; line-height: 1.5; color: var(--cp-ink); }
.decide__then a { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (min-width: 760px) { .decide li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: baseline; } }
.ikanx-faq { display: grid; gap: 10px; margin: 0 0 28px; max-width: 820px; }
.ikanx-faq details { border: 1px solid var(--cp-line-strong); border-radius: 12px; background: var(--cp-paper); }
.ikanx-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; padding: 12px 18px; font-weight: 560; color: var(--cp-midnight); }
.ikanx-faq summary::-webkit-details-marker { display: none; }
.ikanx-faq summary::after { content: "+"; font-family: var(--cp-font-figure); font-size: 1.4rem; font-weight: 400; color: var(--cp-coral-text); flex: 0 0 auto; }
.ikanx-faq details[open] summary::after { content: "\2212"; }
.ikanx-a { padding: 0 18px 16px; color: var(--cp-ink-2); line-height: 1.65; }

/* photographs inside the content */
.photos { display: grid; gap: 16px; margin: 0 0 28px; }
@media (min-width: 700px) { .photos--2 { grid-template-columns: 1fr 1fr; } .photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photos .plate__frame { aspect-ratio: 3 / 2; }
.sec > .plate { margin: 0 0 28px; }
.sec > .plate .plate__frame { aspect-ratio: 16 / 9; }

/* compare and metro details */
.metro-map-wrap { margin: 0 0 28px; }
.metro-map-title { font-family: var(--cp-font-voice); font-size: var(--cp-step-1); color: var(--cp-midnight); }
.metro-line { display: flex; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid var(--cp-line); }
.metro-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cp-info); flex: 0 0 auto; }
.metro-corridor { padding: 12px 0; border-top: 1px solid var(--cp-line); }
.metro-corridor-name { font-weight: 560; }
.metro-corridor-desc, .metro-note { color: var(--cp-ink-2); font-size: 0.9375rem; }
.voice-nat { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cp-sky-soft); font-family: var(--cp-font-figure); font-size: 0.8125rem; font-weight: 600; color: var(--cp-midnight); }
.ideal-for, .emb-title { font-weight: 560; }

/* ── the map ─────────────────────────────────────────────────────────────── */
.gmap { margin: 0 0 32px; }
.gmap__frame { position: relative; height: 420px; border-radius: var(--g-radius); overflow: hidden; background: var(--cp-ground); border: 1px solid var(--cp-line-strong); }
@media (max-width: 699px) { .gmap__frame { height: 380px; } }
.gmap .gmap__canvas, .gmap .gmap__canvas.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.gmap__wait { position: absolute; inset: 0; display: grid; place-items: center; color: var(--cp-ink-3); font-size: 0.9375rem; }
.gmap__keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.gmap__keys li { margin: 0; }
.gmap__keys button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--cp-line-strong); background: var(--cp-paper); color: var(--cp-ink-2); font: inherit; font-size: 0.9375rem; cursor: pointer; }
.gmap__keys button[aria-pressed="true"] { background: var(--cp-sky-wash); color: var(--cp-midnight); border-color: var(--cp-sky); }
.gmap__keys i { width: 14px; height: 14px; border-radius: 50%; background: var(--k); flex: 0 0 auto; }
.gmap__keys button[aria-pressed="false"] i { opacity: 0.55; }
.gmap__guides { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.gmap__guides li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: baseline; gap: 0 12px; padding: 4px 0; margin: 0; border-top: 1px solid var(--cp-line); }
.gmap__city { font-weight: 500; color: var(--cp-ink); padding-top: 12px; }
.gmap__links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.gmap__guides a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 760px) { .gmap__guides { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.gpin { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.gpin span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--k, var(--cp-coral-action)); color: #fff; border: 2px solid #fff; font-family: var(--cp-font-figure); font-weight: 600; font-size: 0.875rem; line-height: 1; box-shadow: 0 1px 2px rgb(16 20 28 / 0.25), 0 4px 10px -2px rgb(16 20 28 / 0.3); transition: transform var(--cp-dur-quick) var(--cp-ease-move); }
.gpin--kind span { width: 24px; height: 24px; border-width: 1.5px; }
.gpin--kind svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gpin:hover span, .gpin:focus-visible span { transform: scale(1.12); }
.maplibregl-popup-content { font-family: var(--cp-font-body); border-radius: 12px !important; padding: 14px 16px !important; box-shadow: var(--cp-shadow-3) !important; max-width: 260px; }
.pop__cat { display: block; font-size: 0.75rem; font-weight: 500; color: var(--cp-ink-3); }
.pop__name { display: block; font-weight: 600; color: var(--cp-midnight); margin: 2px 0 4px; line-height: 1.3; }
.pop__text { display: block; font-size: 0.875rem; color: var(--cp-ink-2); line-height: 1.45; }
.pop__go { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; font-weight: 500; }
.maplibregl-popup-close-button { width: 44px; height: 44px; font-size: 20px; color: var(--cp-ink-3); }
.maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
.maplibregl-ctrl-attrib, .maplibregl-ctrl-attrib a { font-family: var(--cp-font-body); font-size: 12px; color: var(--cp-ink-2); }
.maplibregl-ctrl-attrib a { display: inline-block; padding: 6px 2px; min-height: 24px; }
@media (max-width: 699px) { .maplibregl-ctrl-attrib a { padding: 12px 2px; min-height: 44px; } }
.maplibregl-ctrl-attrib-button { width: 28px; height: 28px; }

/* ── hub ─────────────────────────────────────────────────────────────────── */
.hhero { padding: 28px 0 12px; }
.hhero__grid { display: grid; gap: 24px; }
.hhero__photo { order: -1; margin: 0 calc(var(--cp-gutter) * -1); }
.hhero__photo .plate__frame { border-radius: 0; aspect-ratio: 16 / 11; }
.hhero__photo figcaption { padding: 0 var(--cp-gutter); }
@media (min-width: 900px) {
  .hhero { padding: 64px 0 24px; }
  .hhero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; }
  .hhero__photo { order: 0; margin: 0; }
  .hhero__photo .plate__frame { border-radius: var(--cp-radius-quarter-lg); aspect-ratio: 5 / 4; }
  .hhero__photo figcaption { padding: 0; }
}
.cities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cp-line); }
.city { display: grid; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--cp-line); margin: 0; }
.city__photo .plate__frame { aspect-ratio: 16 / 10; }
.city__n { font-family: var(--cp-font-figure); font-size: 0.9375rem; color: var(--cp-ink-3); }
.city__name { font-family: var(--cp-font-voice); font-weight: 480; font-size: clamp(2rem, 1.6rem + 1.8vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; color: var(--cp-midnight); margin: 4px 0 8px; }
.city__line { color: var(--cp-ink-2); font-size: var(--cp-step-0); max-width: 52ch; margin: 0 0 14px; }
.city__fact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 16px; }
.city__fact .v { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); font-weight: 500; font-size: var(--cp-step-3); color: var(--cp-midnight); letter-spacing: -0.02em; }
.city__fact .l { font-size: 0.875rem; color: var(--cp-ink-3); }
.city__doors { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.city__doors a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--cp-line-strong); text-decoration: none; color: var(--cp-midnight); font-weight: 500; background: var(--cp-paper); }
.city__doors a:hover { background: var(--cp-sky-wash); border-color: var(--cp-sky); }
.city__doors small { color: var(--cp-ink-3); font-weight: 400; font-size: 0.8125rem; }
@media (min-width: 900px) {
  .city { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: center; padding: 32px 0; }
  .city:nth-child(even) { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .city:nth-child(even) .city__photo { order: 2; }
  .city__photo .plate__frame { aspect-ratio: 4 / 3; }
  .city__doors { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(220px, max-content)); }
}
.country { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .country { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; } }
.switch { display: grid; gap: 12px; max-width: 560px; }
.switch form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.switch label { display: grid; gap: 6px; flex: 1 1 220px; font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-2); }
.switch input { min-height: 48px; padding: 0 14px; font: inherit; font-size: 1rem; border: 1px solid var(--cp-line-control); border-radius: var(--cp-radius-control); background: var(--cp-paper); color: var(--cp-ink); }
.switch .note { font-size: 0.875rem; color: var(--cp-ink-3); }
.switch .miss { color: var(--cp-stop-text); font-size: 0.9375rem; }

/* ── credits page ───────────────────────────────────────────────────────── */
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.credits li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--cp-line); margin: 0; }
.credits img { width: 96px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.credits .c { font-size: 0.9375rem; color: var(--cp-ink-2); line-height: 1.5; }
.credits .c strong { display: block; color: var(--cp-ink); font-weight: 500; }
.credits a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--cp-line); padding: 36px 0 48px; margin-top: 24px; color: var(--cp-ink-3); font-size: 0.9375rem; }
.foot .wrap { display: grid; gap: 20px; }
.foot p { margin: 0; max-width: 72ch; line-height: 1.6; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cp-ink-2); }
.foot .cp-lockup { color: var(--cp-midnight); }

/* ── less motion, print ─────────────────────────────────────────────────── */
/* less motion: nothing travels or grows, colour changes stay as the cue */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toc__img img, .gpin span { transition: none; }
  .toc a:hover .toc__img img, .gpin:hover span, .gpin:focus-visible span { transform: none; }
}
@media print {
  .top, .strip, .rail, .gmap, .door, .next, .chapnav, .onmap, .foot nav { display: none !important; }
  .clayout { display: block; }
  body { font-size: 11pt; }
  .sec { break-inside: auto; }
  .card, .nb-card, .cost-card { break-inside: avoid; }
}

.cardphoto { display: grid; }
.cardphoto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--cp-sunken); }
.cuisine-zone .cardphoto { margin: -18px -20px 12px; }
.cardphoto .credit { padding: 6px 20px 0; }

/* touch and safe areas */
a, button, summary, input, .ask, .toc a { touch-action: manipulation; }
.top .wrap, .foot .wrap { padding-left: max(var(--cp-gutter), env(safe-area-inset-left)); padding-right: max(var(--cp-gutter), env(safe-area-inset-right)); }
.foot { padding-bottom: max(48px, env(safe-area-inset-bottom)); }
@media (forced-colors: active) {
  .gpin, .nb-num, .step-num { forced-color-adjust: none; }
  .ask, .toc a, .city__doors a, .onmap, .strip a { border: 1px solid CanvasText; }
}

/* the IKAN tagline and service line from the old pages */
.tagline { display: grid; gap: 6px; padding: 18px 0 0; border-top: 1px solid var(--cp-line); color: var(--cp-ink-2); font-size: 0.9375rem; }
.tagline .callout-band-text { font-family: var(--cp-font-voice); font-style: italic; font-size: var(--cp-step-2); line-height: 1.3; color: var(--cp-midnight); }
.tagline span { margin-right: 10px; }
.tagline .callout-band:empty { display: none; }

/* the India guide: journey menu, flag line, part headers, chapter leads */
.lede--small { font-size: var(--cp-step-0); margin-top: 10px; }
.flagline { margin: 18px 0 0; font-size: 0.9375rem; color: var(--cp-ink-2); max-width: 60ch; }
.journey .phase-nav-eyebrow { font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 8px; }
.journey .phase-nav-title { display: block; margin: 0 0 8px; }
.journey .phase-nav-title em { font-style: italic; color: var(--cp-coral-text); }
.journey .phase-nav-sub { color: var(--cp-ink-2); max-width: 60ch; margin: 0 0 24px; }
.journey .phase-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .journey .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .journey .phase-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.journey .phase-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: var(--g-radius); background: var(--cp-paper); border: 1px solid var(--cp-line-strong); text-decoration: none; color: inherit; min-height: 44px; }
.journey .phase-card:hover { border-color: var(--cp-sky); box-shadow: var(--cp-shadow-2); }
.journey .phase-when { font-family: var(--cp-font-figure); font-size: 0.875rem; font-weight: 500; color: var(--cp-coral-text); }
.journey .phase-name { font-family: var(--cp-font-voice); font-size: var(--cp-step-2); font-weight: 500; color: var(--cp-midnight); }
.journey .phase-desc { font-size: 0.9375rem; color: var(--cp-ink-2); line-height: 1.5; }
.journey .phase-jumps { font-size: 0.8125rem; color: var(--cp-ink-3); line-height: 1.45; }
.sec-lead { font-family: var(--cp-font-voice); font-size: var(--cp-step-2); line-height: 1.25; color: var(--cp-midnight); margin: 0 0 18px; }
.sec-lead em { font-style: italic; }
.sec-lead__n { font-family: var(--cp-font-figure); font-size: 0.9375rem; color: var(--cp-ink-3); margin-right: 6px; }
.sec-lead__sub { display: block; font-family: var(--cp-font-body); font-size: 0.9375rem; color: var(--cp-ink-3); margin-top: 6px; }
.part { border-left: 3px solid var(--cp-coral); padding: 4px 0 4px 18px; margin: 0 0 28px; }
.part__name { font-size: 0.875rem; font-weight: 500; color: var(--cp-ink-3); margin: 0 0 4px; }
.part__title { font-family: var(--cp-font-voice); font-size: var(--cp-step-3); color: var(--cp-midnight); margin: 0 0 6px; line-height: 1.15; }
.part__text { color: var(--cp-ink-2); margin: 0; }

/* ── the India guide's own components, styled in families ─────────────── */
.app-grid, .hosp-grid, .dance-grid, .city-grid, .cuisine-grid, .fest-grid, .season-grid, .lang-grid, .rel-grid, .emg-grid, .do-grid, .cn-grid, .india-map-grid, .g5, .dishes, .regions, .pan-flow { display: grid; gap: 14px; margin: 0 0 28px; }
@media (min-width: 700px) {
  .app-grid, .hosp-grid, .dance-grid, .city-grid, .fest-grid, .season-grid, .lang-grid, .rel-grid, .emg-grid, .do-grid, .cn-grid, .g5, .dishes, .regions, .cuisine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .app-grid, .dance-grid, .city-grid, .fest-grid, .lang-grid, .rel-grid, .g5, .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .season-grid, .cn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.app-card, .hosp, .dish-card, .city-card, .dance-card, .fest, .season, .lang-pill, .rel-card, .cn-chip, .region, .pan-step, .brief, .foreword, .cuisine-zone, .emg-box, .cal-month, .card-midnight, .card-em, .do-col, .rf-hero { background: var(--cp-paper); border: 1px solid var(--cp-line-strong); border-radius: var(--g-radius); padding: 18px 20px; min-width: 0; overflow: hidden; }
.dish-card, .city-card, .dance-card { padding: 0; display: grid; grid-template-rows: auto 1fr; }
.dish-body, .city-body, .dance-body { padding: 14px 18px 18px; display: grid; gap: 6px; align-content: start; }
.dish-img, .city-img, .dance-art-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--cp-sunken); }
.dish-card .credit, .city-card .credit, .dance-card .credit, .cuisine-zone .credit { padding: 6px 18px 0; }
.app-name, .hosp-name, .dish-name, .city-name, .dance-name, .fest-name, .season-name, .lang-pill-name, .rel-name, .cn-name, .region-name, .pan-title, .brief-h, .foreword-title, .cal-mname, .emg-h, .cn-title, .rf-hero-title, .app-cat-title, .t-display, .imap-head { font-family: var(--cp-font-voice); font-weight: 500; font-size: var(--cp-step-1); line-height: 1.25; color: var(--cp-midnight); }
.t-display { font-size: var(--cp-step-3); margin: 24px 0 12px; }
.t-script, .card-em, .foreword-sig { font-family: var(--cp-font-voice); font-style: italic; }
.app-desc, .hosp-meta, .dish-desc, .city-desc, .fest-desc, .season-desc, .rel-desc, .cn-meta, .region-desc, .pan-desc, .brief-text, .foreword-body, .cal-evt, .season-tip, .rf-hero-body, .rf-hero-note, .imap-note, .cuisine-body { color: var(--cp-ink-2); font-size: 0.9375rem; line-height: 1.55; }
.dish-region, .city-tag, .dance-region, .fest-when, .season-when, .lang-pill-script, .lang-pill-region, .region-states, .region-tag, .cn-region, .cn-tag, .cn-eyebrow, .rf-eyebrow, .rf-sub, .rf-tag, .rf-states, .foreword-eyebrow, .brief-h, .app-cat, .cal-day, .emg-label, .cal-mnum, .rf-hero-tag { font-size: 0.8125rem; font-weight: 500; color: var(--cp-ink-3); }
.rel-pct, .emg-num, .hosp-phone, .pan-num, .cal-mnum, .t-mono { font-family: var(--cp-font-figure); font-feature-settings: var(--cp-figure-features); color: var(--cp-midnight); font-weight: 500; }
.rel-pct { font-size: var(--cp-step-3); }
.emg-num { font-size: var(--cp-step-2); }
.emg-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--cp-line); }
.hosp { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; align-items: start; }
.hosp-dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--cp-info); }
.hosp-phone a, .emg-num a { display: inline-flex; align-items: center; min-height: 44px; }
.c-badge, .tbadge-sky, .tbadge-coral, .tbadge-green, .tbadge-gold, .tbadge-midnight, .tbadge-magenta, .lang-tab, .cn-chip .cn-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; margin: 2px 4px 2px 0; border-radius: 999px; background: var(--cp-sunken); color: var(--cp-ink-2); font-size: 0.8125rem; font-weight: 450; }
.city-rating { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.card-icon, .rf-emoji, .season-ico, .rel-icon, .app-icon, .t-ic { font-size: 1.25rem; line-height: 1; }
.app-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.app-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--cp-sky-wash); }
.app-body { display: grid; gap: 4px; }
.card-title .card-icon { margin-right: 8px; }
.card-midnight { background: var(--cp-sky-wash); border-color: transparent; }
.fest-ov { display: none; }
.fest { display: grid; gap: 6px; align-content: start; }
.phrase-grid { display: grid; gap: 0; margin: 0 0 28px; }
@media (min-width: 900px) { .phrase-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.phrase-grid > * { padding: 12px 0; border-top: 1px solid var(--cp-line); }
.phrase-hi { font-size: 1.25rem; color: var(--cp-midnight); font-family: "Noto Sans Devanagari", "Kohinoor Devanagari", system-ui, sans-serif; }
.phrase-en { color: var(--cp-ink-2); font-size: 0.9375rem; }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lang-panel { margin: 0 0 20px; }
.region-row { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--cp-line); }
.region { display: grid; gap: 6px; }
.region-state { display: inline-block; margin: 2px 6px 2px 0; font-size: 0.8125rem; color: var(--cp-ink-2); }
.pan-flow { counter-reset: none; }
.pan-step { display: grid; gap: 6px; }
.pan-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cp-sky-soft); }
.pan-arrow { display: none; }
.cal-month { display: grid; gap: 8px; }
.cal-month-h { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--cp-line); padding-bottom: 6px; }
.warn { display: block; padding: 14px 16px; border-radius: 12px; background: var(--cp-wait-soft); color: var(--cp-ink); margin: 0 0 20px; line-height: 1.6; }
.do-col h4, .dos h4, .donts h4 { margin-top: 0; }
.foreword { background: var(--cp-sky-wash); border-color: transparent; padding: 28px; margin: 0 0 28px; }
.foreword-title { font-size: var(--cp-step-3); margin: 6px 0 12px; }
.brief { margin: 0 0 28px; }
.mosaic { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 28px; }
.mosaic .plate:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mosaic .plate:first-child { grid-column: span 2; grid-row: span 2; } .mosaic .plate:first-child .plate__frame { aspect-ratio: 1; } }
.cn-head, .rf-head { margin: 0 0 14px; }
.india-map-wrap:not(:has(img)) .map-container { display: none; }
.journey .phase-footnote { margin-top: 16px; color: var(--cp-ink-2); font-size: 0.9375rem; }
.sec-kicker { font-size: 0.9375rem; font-weight: 500; color: var(--cp-coral-text); margin: 0 0 6px; }
.tagline--wide { border: 0; padding: 0; font-family: var(--cp-font-voice); font-size: var(--cp-step-3); line-height: 1.3; color: var(--cp-midnight); max-width: 36ch; }
.tagline--wide em { font-style: italic; color: var(--cp-coral-text); }

.dish-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dish-list > * { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--cp-sunken); color: var(--cp-ink-2); font-size: 0.8125rem; }
.card:not(:has(> .card-body)) { padding-bottom: 20px; }
.card:not(:has(> .card-body)) > :not(.cardphoto):not(img) { margin-left: 20px; margin-right: 20px; }
.card:not(:has(> .card-body)) > .card-title { margin-top: 16px; }
.city__doors a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 8px 16px; line-height: 1.3; }
.meta-line { font-size: 0.9375rem; color: var(--cp-ink-3); margin: 0; }
/* mail and phone links inside the guide text get a finger sized hit area */
.sec a[href^="mailto:"], .sec a[href^="tel:"] { display: inline-block; padding: 12px 0; margin: -12px 0; }
.credits .c { min-width: 0; overflow-wrap: anywhere; }
.sec, .glance dd, .foot p { overflow-wrap: break-word; }
.for-logo { display: block; height: 28px; width: auto; }
/* the India guide's city chips jump to each city's profile */
a.cn-chip { display: grid; gap: 2px; margin: 0 0 8px; padding: 12px 16px; text-decoration: none; color: inherit; min-height: 44px; }
a.cn-chip:hover { background: var(--cp-sky-wash); border-color: var(--cp-sky); }
a.cn-chip .cn-name { color: var(--cp-midnight); }
.city-card { scroll-margin-top: 120px; }
/* the India phrasebook's language tabs */
button.lang-tab { min-height: 44px; padding: 0 16px; border: 1px solid var(--cp-line-strong); background: var(--cp-paper); color: var(--cp-ink-2); font: inherit; font-size: 0.9375rem; cursor: pointer; }
button.lang-tab[aria-selected="true"] { background: var(--cp-midnight); border-color: var(--cp-midnight); color: #fff; }
button.lang-tab:hover { border-color: var(--cp-sky); }
