/* Oma Fennia for business, version 7 (13 October 2026): the soft skin.
   Janne asked for the direction of GetYourGuide's careers pages ("soft corners, quite bulky", smaller than Fennia's own
   components, which are "sometimes a bit too big"), then, seeing it start, for a better hierarchy of type ("what are the
   heroes?") and more color: "light green for certain cards or light gray". Measured on getyourguide.careers at 1440 the same
   day: cards with 24 corners and 32 of padding, pill buttons 45 high, pill filters and search 50 to 53 high, Bold titles at
   50, 38, 28 and 20, tags 32 high, cards 16 apart. Spec: ../old/explore/DIRECTION-v7.md.

   In one line: the page stays white, and everything on it sits on a soft card in light gray, light green or, for the one
   thing that needs her, pale lime. Titles are Bold on a ramp with real steps (40, 32, 24, 20, 16), every page has one hero,
   and controls are pills, a size up from version 6 and a size down from the DS.
   It loads after every other stylesheet and only overrides; without it the prototype is version 6 (also kept runnable in
   ../old/explore/v6/snapshot/). Tokens first, then the shell, the shared components, then each area in the order the area files
   load. House rules hold: no label above a number or a heading, no font-size inside a media or container query, nothing
   under 14px, colors only as tokens, status never by color alone. */

:root {
  /* Cards: light gray by default, light green where the news is about her protection, pale lime for the one task.
     On every tint --ink-2 holds 4.87:1 or more and --green-text 5.78:1 */
  --card: #F5F5F5;              /* DS background/neutral-bold */
  --card-green: #E6FAE7;        /* DS primary/10 */
  --card-lime: #FFFFD2;         /* DS secondary/20, the needs-you card */
  --card-line: #E3E3E3;         /* hairlines inside a gray card */
  --card-green-line: #C9EDCC;   /* hairlines inside a green card */
  --rail-bg: #F9F9F9;

  /* Type: Bold titles (the DS rule) on a ramp with clear steps, each a DS size or one step under it.
     title 40 is the page's name, hero 32 the one thing the page is about (a task, a figure), group 24 a group's title
     on the page, section 20 a card's title, body 16 (the DS base) */
  --fs-display: 56px;  --lh-display: 64px;
  --fs-title: 40px;    --lh-title: 48px;
  --fs-hero: 32px;     --lh-hero: 40px;
  --fs-group: 24px;    --lh-group: 32px;
  --fs-section: 20px;  --lh-section: 28px;
  --fs-lead: 20px;     --lh-lead: 28px;
  --fs-body: 16px;     --lh-body: 24px;     --lh-ui: 24px;
  --track-tight: -0.02em;
  --track-mid: -0.01em;

  /* Corners: 24 cards (GYG), 28 the hero card, 16 things inside a card, pills for every control */
  --r-sm: 6px;  --r-md: 14px;  --r-lg: 24px;  --r-in: 16px;  --r-hero: 28px;

  /* Size: controls between GYG (45, 50) and the DS (48, 56) */
  --btn-h: 44px;  --btn-h-lg: 52px;
  --field-h: 52px;
  --item-h: 44px;

  /* Space: cards 16 apart (GYG), 32 inside, 40 inside the hero, groups 56 apart */
  --pad-card: 32px;
  --pad-hero: 40px;
  --pad-tile: 28px;
  --gap-cards: 16px;
  --section-gap: 56px;
  --panel-y: 28px;  --panel-x: 32px;
  --page-top: 48px;

  /* The side menu floats: a gray card with soft corners, 12 in from the window's edges */
  --rail-inset: 12px;
  --rail-w: 268px;
}
/* The responsive values styles.css sets for the tokens above, restated, since this file's :root comes later */
@media (max-width: 1023px) { :root { --page-top: 32px; --section-gap: 48px; --pad-card: 24px; --pad-hero: 28px; --pad-tile: 24px; --gap-cards: 12px; } }
@media (max-width: 639px)  { :root { --page-top: 24px; --panel-x: 20px; --panel-y: 20px; --pad-card: 20px; --pad-hero: 24px; --pad-tile: 20px; --gap-cards: 12px; --r-lg: 20px; --r-hero: 24px; } }
@media (min-width: 1024px) and (max-height: 899px) { :root { --item-h: 40px; } }
@media (min-width: 1024px) and (max-height: 767px) { :root { --item-h: 36px; } }
/* The switcher's body size now offers 15, the size versions 3 to 6 used */
html[data-base="15"] { --fs-body: 15px; --lh-body: 24px; --lh-ui: 22px; }
html[data-base="16"] { --fs-body: 16px; --lh-body: 24px; --lh-ui: 24px; }

/* ---------- Type roles ---------- */
h1, .t-title { font-weight: 700; letter-spacing: var(--track-tight); }
.t-display { font-weight: 700; letter-spacing: var(--track-tight); }
.t-hero { font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: 700; letter-spacing: var(--track-mid); }
.t-group { font-size: var(--fs-group); line-height: var(--lh-group); font-weight: 700; letter-spacing: var(--track-mid); }
h2, .t-section { font-size: var(--fs-section); line-height: var(--lh-section); }
.head .dateline { margin-top: var(--s-2); font-size: var(--fs-lead); line-height: var(--lh-lead); }
.head .sub { margin-top: var(--s-2); }

/* ---------- Buttons: pills, Bold labels ---------- */
.btn { font-weight: 700; padding: 0 22px; }
.btn:has(> svg.i:first-child) { padding-left: 18px; }
.btn svg.i { width: 20px; height: 20px; }
.btn-lg { padding: 0 28px; }
.btn-secondary { background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line-2); }
.icon-btn { width: 44px; height: 44px; }
.back-btn { background: var(--canvas); }

/* ---------- Chips, tags, counts: a size up ---------- */
.chip { height: 32px; padding: 0 12px; gap: 8px; }
.task .tx .chip, .task.hero .hc .chip { min-height: 32px; }
.tag { height: 28px; padding: 0 10px; }
.tag.plain { padding: 0; }
.count { min-width: 26px; height: 26px; }

/* ---------- The side menu: a floating gray card ----------
   Version 5's gray column, now a card with soft corners 12 in from the window. The current item is a white pill (the tab
   is the color of the page it shows), Bold, with a green icon; hover is Fennia's green wash */
@media (min-width: 1024px) {
  .rail { top: var(--rail-inset); height: calc(100vh - 2 * var(--rail-inset)); margin: var(--rail-inset) 0 var(--rail-inset) var(--rail-inset); padding: calc(var(--page-top) - var(--rail-inset)) var(--s-3) var(--s-3); border-radius: var(--r-lg); background: var(--rail-bg); }
}
.nav { gap: 4px; }
.nav-item { border-radius: var(--r-pill); padding: 0 var(--s-3) 0 14px; }
.nav-item[aria-current], .nav-item[aria-current]:hover { background: var(--canvas); box-shadow: none; }
.nav-item kbd { background: var(--canvas); box-shadow: none; }
.nav-sub { gap: 4px; }
.nav-sub a { border-radius: var(--r-pill); height: 40px; padding-left: 46px; }
.nav-sub a[aria-current="page"] { background: var(--canvas); box-shadow: none; }
.nav-2::before { background: var(--card-line); }
.profile { border-radius: var(--r-pill); }
.avatar { width: 40px; height: 40px; background: var(--canvas); }
@media (min-width: 1024px) and (max-height: 767px) { .rail .nav-sub a { height: calc(var(--item-h) - var(--s-1)); } }
/* Under 1024: the overview's pages as pills, the current one ink */
.subnav a { height: 40px; padding: 0 16px; background: var(--card); box-shadow: none; }
.subnav a[aria-current="page"] { background: var(--ink); color: var(--inverse-ink); box-shadow: none; }
.subnav a[aria-current="page"]:hover { background: var(--ink); }

/* Popovers: the soft corner */
.pmenu, .cmdk { border-radius: var(--r-lg); }
.pmenu { padding: var(--s-3); }
.pmenu button { border-radius: var(--r-pill); }
.cmdk-item { border-radius: var(--r-in); }
.cmdk-pop button { min-height: 40px; padding: 0 16px; background: var(--card); box-shadow: none; }
.toast { border-radius: var(--r-in); }
.tip { border-radius: var(--r-in); }
.coach { border-radius: var(--r-lg); padding: var(--s-6); }
.coach-hole { border-radius: var(--r-hero); }

/* ---------- The page ---------- */
.head-actions { gap: var(--s-3); }
.page-in > .head + * { margin-top: var(--s-7); }
.page-in > .head + .subnav + * { margin-top: var(--s-6); }

/* The card: a tinted surface with soft corners and no edge. .box was version 4's gray-stroke container; here it is a light
   gray card, .box.green a light green one. Sections that held open rows on white become gray cards too (listed per area
   below). A white thing inside a card (a field, a secondary button, a file chip, an info box) pops off the tint */
.box { border-radius: var(--r-lg); box-shadow: none; background: var(--card); }
.box.green { background: var(--card-green); }
.box.dashed { border-color: var(--field); background: var(--canvas); }
.box.edged:hover { box-shadow: var(--edge-hover); }
.box-head h2, .box-head h3 { font-size: var(--fs-section); line-height: var(--lh-section); }
.boxes { gap: var(--gap-cards); }
a.box.wash:hover, button.box.wash:hover { background: var(--hover); }
/* Sections on the page that are cards (the per-area lists add to this) */
.ov-up, .ov-su { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }

/* Rows: hairlines in the card's own gray, the hover wash a soft pill */
.rows > *, .list > * + *, .ov-steps > * + *, .ov-done, .faqs > .faq { border-color: var(--card-line); }
a.row::before, button.row::before { border-radius: var(--r-in); inset: 2px -16px; }
a.when::before { border-radius: var(--r-in); inset: 0 -16px; }

/* ---------- The needs-you card: the overview's hero ----------
   Pale lime when it waits for her, light green when it confirms something. The title at hero size, the line under it at
   Lead, the chip and the large button under them; on a wide card the button sits at the right */
.task { border-radius: var(--r-lg); box-shadow: none; background: var(--card); }
.task.attn { background: var(--card-lime); box-shadow: none; }
.task.hero { padding: var(--pad-hero); border-radius: var(--r-hero); gap: var(--s-5) var(--s-7); align-items: flex-end; }
.task.hero:not(.attn) { background: var(--card-green); }
.task.hero h2 { font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: 700; letter-spacing: var(--track-mid); max-width: 34ch; }
.task.hero .t2 { display: block; margin-top: var(--s-3); max-width: 46ch; font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: 400; letter-spacing: 0; color: var(--ink); }
.task.hero .hc { margin-top: var(--s-5); }
.task.hero .hc .chip.attn { background: var(--attn); }
.task.hero .acts .btn { min-height: var(--btn-h-lg); padding: 0 28px; }
.task.hero .hx.mk > h2 { padding-top: 0; }
.task.hero .hx.mk { grid-template-columns: 48px minmax(0, 1fr); }
.task.hero .hx.mk > .it { width: 48px; height: 48px; border-radius: var(--r-in); background: var(--canvas); }
.task.hero:has(> .hx.mk) .acts { padding-left: 0; }
.task h2 { font-size: var(--fs-body); }

/* ---------- Info boxes and empty states ---------- */
.infobox, .infobox.box { border-radius: 20px; padding: var(--s-5); box-shadow: none; background: var(--card); }
.box .infobox, .task .infobox { background: var(--canvas); }
.infobox--success, .infobox--error { border-radius: var(--r-in); }
.infobox--success { background: var(--card-green); }
.infobox--error { background: var(--error-wash); }   /* the info box rule above would turn an error gray */
.empty, .box.empty { border-radius: var(--r-lg); box-shadow: none; background: var(--card); }

/* ---------- Fields: white pills for one line, soft white boxes for several ---------- */
.field input { border-radius: var(--r-pill); padding: 0 24px; }
.field textarea { border-radius: 20px; padding: 14px 20px; }
.cbox { border-radius: var(--v8-r-tag); }

/* ---------- Stat tiles: one light green card, the figures at hero size ---------- */
.stat-group > h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); margin-bottom: var(--s-4); }
.tiles { gap: var(--gap-cards); }
.tiles .box.tile { background: var(--card-green); }
.tile .fig { font-size: var(--fs-hero); line-height: var(--lh-hero); font-weight: 700; letter-spacing: var(--track-mid); }
.tile .lbl { font-weight: 400; margin-top: var(--s-1); font-size: var(--fs-body); }
.tile .note { border-top-color: var(--card-green-line); }
.tile .note .chip.outline { background: var(--canvas); box-shadow: none; }
.tile .note svg.i { color: var(--green-strong); }
.tiles.band { border: 0; border-radius: var(--r-lg); background: var(--card-green); }
.tiles.band > li + li { border-left-color: var(--card-green-line); }
@container (max-width: 559px) { .tiles.band > li + li { border-top-color: var(--card-green-line); } }
.tiles .box.tile.wash:hover { background: var(--hover); }

/* Icon tiles: white on a tinted card, mint on white */
.it { border-radius: 12px; }
.it.lg { border-radius: var(--r-in); }
.box .it:not(.attn):not(.ended), .ov-up .it, .ov-su .it:not(.attn) { background: var(--canvas); }
.dtile { border-radius: var(--r-in); width: 52px; height: 56px; }
.dtile b { font-weight: 700; }
.ov-up .dtile:not(.attn):not(.plain) { background: var(--canvas); }
.file-chip { border-radius: var(--r-in); }

/* ---------- The quiet footer ---------- */
.qfoot, .qfoot-wide > nav { border-top-color: var(--card-line); }

/* =================================================================
   Overview (css/overview.css)
   ================================================================= */
/* Top to bottom: the greeting (title, 40), the hero card, 56, the numbers (a group title and the green band), 16, the doors,
   16, the pair of gray cards */
.page-in > #nums, .stat-group + .doors-wrap { margin-top: var(--section-gap); }
.page-in > .doors-wrap { margin-top: var(--gap-cards); }
.page-in > .ov-later { margin-top: var(--gap-cards); padding-top: 0; border-top: 0; }
.ov-later.duo { gap: var(--gap-cards); align-items: stretch; }
@media (max-width: 1279px) { .ov-later.duo > * + * { margin-top: var(--gap-cards); padding-top: var(--pad-card); border-top: 0; } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { .ov-later.duo > * + * { margin-top: var(--gap-cards); padding-top: var(--pad-card); border-top: 0; }}
.ov-up .sec-head h2, .ov-su .sec-head h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
/* The doors: gray cards, Bold titles, the building on a white tile */
.door { min-height: 200px; }
.door .d-h { font-size: var(--fs-section); line-height: var(--lh-section); }
.door .d-art { border-radius: 20px; background: var(--canvas); }

/* Titles on the white page, outside any card, are group titles (24); inside a card they stay at 20 */
/* (:where keeps these at one class, so a section that is a card can set its own size) */
.page-in > :where(section:not(.box, .task)) > :where(h2:not(.sr)), .page-in > :where(section:not(.box, .task), .blk:not(.box)) > .sec-head :where(h2),
.pol-gh :where(h2), .pol-grp > .sec-head :where(h2) { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }

/* =================================================================
   Your coverage, How you compare, Lower your risk (css/insights.css)
   ================================================================= */
/* Your coverage: each case is its own gray card, a list of cards as on GetYourGuide's open roles; the amount left with her
   is the case's figure, at card-title size */
.cov .cases { display: grid; gap: var(--gap-cards); }
.case { background: var(--card); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6) var(--s-5) var(--s-5); }
.case + .case, .case + .case-fold { border-top: 0; }
.case > .it { background: var(--canvas); }
.case:has(.case-toggle:focus-visible) { border-radius: var(--r-lg); outline-offset: 2px; }
.case-line { flex-wrap: wrap; row-gap: var(--s-2); }   /* the figure on its own line under the bar at every width, the bars on one scale */
.case-bw { width: calc(100% * var(--w)); }
.case-left { flex-basis: 100%; }
.case-left b { font-size: var(--fs-section); line-height: var(--lh-section); }
.case-more.box { background: var(--canvas); border-radius: var(--r-in); }
.cases.folding .case-fold { padding: var(--s-4) var(--s-5); background: var(--card); border-radius: var(--r-lg); }
.cov-foot { border-top: 0; padding-top: 0; margin-top: var(--s-4); }
.page-in > .cov + .cov-changed { margin-top: var(--gap-cards); }
.cov .sec-head + .cases { margin-top: var(--s-5); }

/* How you compare: the two charts' cards, then the causes as a third gray card; percentages sit by their bars */
.page-in > .cmp-causes { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); margin-top: var(--gap-cards); }
.page-in > .cmp-causes .sec-head h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: 0; }
.cmp-causes .hbars { max-width: none; }
.hbar { grid-template-columns: minmax(0, 1fr) 56px; }
.box .tag, .cmp-causes .tag, .case .tag { background: var(--canvas); box-shadow: none; }

/* Lower your risk: step cards are gray, white tiles; what's done is one more gray card */
.page-in > .steps-done { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); margin-top: var(--gap-cards); }
.page-in > .steps-done > h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: 0; }
.done-list li + li { border-top-color: var(--card-line); }
.step-card .cbox:not(:checked), .box .cbox:not(:checked) { background-color: var(--canvas); }

/* The fit rows (here and on a policy): a darker track on the gray card */
.fit > .fit-row + .fit-row { border-top-color: var(--card-line); }
.fit-bar .trk { background: var(--line-2); }
.fit-more { background: var(--canvas); border-radius: var(--r-in); }

/* =================================================================
   Policies and a policy (css/policies.css), and "Am I covered?" (css/covered.css)
   ================================================================= */
/* "Am I covered?" is the Policies page's hero: a light green card, its question at hero size, the field a white pill and
   the suggestions white pills, the way GetYourGuide sets its filters on a tinted band */
.page-in > .cv { max-width: none; background: var(--card-green); border-radius: var(--r-hero); padding: var(--pad-hero); }
.page-in > .cv > h2 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--track-mid); }
.cv > .sub { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink); margin-top: var(--s-2); }
.cv-field { max-width: 720px; margin-top: var(--s-5); }
.cv-field > svg.i { left: 20px; }
.cv-field input { height: 56px; padding-left: 52px; border-radius: var(--r-pill); }
.cv-x { right: var(--s-2); }
.cv-chip { min-height: 40px; padding: 0 16px; background: var(--canvas); box-shadow: none; }
.cv-chip:hover { box-shadow: none; }
.cv-out { max-width: 720px; }
.cv-list { border: 0; background: var(--canvas); }
.cv-list > li + li { border-top-color: var(--card-line); }
.cv-list > li:first-child > .cv-card { border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); }
.cv-list > li:last-child > .cv-card { border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }

/* A policy's facts are figures, so they sit on light green, Bold at group size */
.pfact.box { background: var(--card-green); }
.pfact .v { font-size: var(--fs-group); line-height: var(--lh-group); font-weight: 700; letter-spacing: var(--track-mid); }
.pfact .l { margin-top: var(--s-1); }
/* Its open sections become gray cards beside the side column's */
.pol-main > section:not(.box) { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }
.pol-main > section:not(.box) .sec-head h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
/* Cards on a policy page sit 16 apart, as everywhere in this version; the figures 16 above them */
.page-in > .pfacts-wrap + .pol-sec, .page-in > .pfacts-wrap + .pol-sec + .pol-sec { margin-top: var(--gap-cards); }
.pol-cols { gap: var(--gap-cards); }
.pol-main > * + * { margin-top: var(--gap-cards); }
@media (max-width: 1279px) { .pol-cols { gap: var(--gap-cards); } }
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) { .pol-cols { gap: var(--gap-cards); }}
.pol-sec:not(.pol-cols) { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }   /* What you've used */
.usage .bar { background: var(--canvas); }
.pol-ended { border-color: var(--card-line); }
.addcard .it.ghost { background: var(--canvas); }
.chip.mint { background: var(--card-green); }

/* =================================================================
   Blocks on every page: a block with no cards of its own is a card
   ================================================================= */
/* Version 4 split a page's blocks with hairlines and 56 of white. Here the hairlines go: a block that holds cards keeps its
   title on the white page (a group title, 24) and 56 above it; a block that holds rows, a chart, a table or a form becomes a
   gray card itself, 16 under whatever is above it. In a pair, each side follows the same rule, and a stack's parts are each
   a card */
.page-in > .blk + .blk { padding-top: 0; border-top: 0; }
.page-in > * + .blk { margin-top: var(--section-gap); }
.page-in > .blk:not(.duo, .box, .task):not(:has(.box, .tiles-wrap, .task, .stack, .buy-cards)),
.page-in > .blk.duo > :not(.box, .stack):not(:has(.box)),
.page-in > .blk > .stack > :not(.box):not(:has(.box)) { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }
.page-in > * + .blk:not(.duo, .box, .task):not(:has(.box, .tiles-wrap, .task, .stack, .buy-cards)) { margin-top: var(--gap-cards); }
.page-in > .blk:not(.duo):not(:has(.box, .tiles-wrap, .task, .stack, .buy-cards)) > .sec-head h2,
.page-in > .blk.duo > :not(.box):not(:has(.box)) > .sec-head h2,
.page-in > .blk.duo > :not(.box):not(:has(.box)) > h2,
.page-in > .blk > .stack > * > .sec-head h2 { font-size: var(--fs-section); line-height: var(--lh-section); letter-spacing: 0; }
.page-in > .blk.duo { gap: var(--gap-cards); }
.duo > *, .stack > * { border-color: var(--card-line); }
.stack > * + *, .stack.tight > * + * { margin-top: var(--gap-cards); padding-top: 0; border-top: 0; }
.page-in > .blk > .stack > * + :not(.box):not(:has(.box)) { padding-top: var(--pad-card); }
@media (max-width: 1279px) {
  .page-in > .blk.duo > * + * { margin-top: var(--gap-cards); padding-top: 0; border-top: 0; }
  .page-in > .blk.duo > * + :not(.box, .stack):not(:has(.box)) { padding-top: var(--pad-card); }
}
/* push: also answers to the page area's width (branch ai-drawer README, the push layout) */
@container app (max-width: 1279px) {
  .page-in > .blk.duo > * + * { margin-top: var(--gap-cards); padding-top: 0; border-top: 0; }
  .page-in > .blk.duo > * + :not(.box, .stack):not(:has(.box)) { padding-top: var(--pad-card); }}
/* Tables and rows inside a gray card: hairlines in the card's own gray */
.table th, .table td { border-color: var(--card-line); }
.page-in > .task + .blk { margin-top: var(--gap-cards); }

/* =================================================================
   Claims, a claim, invoices (css/claims.css)
   ================================================================= */
/* The open claim is the Claims page's hero: pale lime while it waits for her (the one task), its title at group size */
.clm-open .box.claim-box:has(.chip.attn) { background: var(--card-lime); }
.clm-open .claim-box { padding: var(--pad-hero); border-radius: var(--r-hero); }
.claim-box > h3 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }
.claim-box > .it.attn { background: var(--attn); }
.claim-box .it:not(.attn) { background: var(--canvas); }
.page-in > .head + .clm-open, .page-in > .head + .clm-draft { margin-top: var(--s-7); }
.cb-track i, .claim-box .trk > * { background-color: var(--line-2); }
.timeline li::before { background: var(--line-2); }
.timeline .dot { background: var(--card); }
.claim-side { gap: var(--gap-cards); }
.claim-card { padding: var(--pad-card); }
.kv > * { border-bottom-color: var(--card-line); }
.clm-said { border-top-color: var(--card-line); }
.inv-top > .inv-einv, .inv-top > .inv-einv-ok { margin-top: var(--gap-cards); }

/* =================================================================
   Messages (css/messages.css)
   ================================================================= */
/* The columns are cards 16 apart; a conversation's thread and Write to us are gray cards; filter chips are GetYourGuide's
   pills, the chosen one ink, like the tags on its open roles */
.mcols, .tcols, .ncols { gap: var(--gap-cards); }
.page-in > .tpanel + .tcols, .page-in > .head + .ncols { margin-top: var(--gap-cards); }
.mlist > li + li { border-top-color: var(--card-line); }
.mlist > li:first-child > .mrow { border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); }
.mlist > li:last-child > .mrow { border-bottom-left-radius: var(--r-lg); border-bottom-right-radius: var(--r-lg); }
.mrow { padding: var(--s-5) var(--s-6) var(--s-5) var(--s-5); }
.mrow .it:not(.attn) { background: var(--canvas); }
.filter { height: 40px; padding: 0 16px; background: var(--card); box-shadow: none; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--inverse-ink); box-shadow: none; }
.filter[aria-pressed="true"]:hover { background: var(--ink); }
.mside, .mab { padding: var(--s-6); }
.tmain, form.wr { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }
.tmain > h2, .tmain > .sec-head h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
.tmsg.them .bubble { box-shadow: none; border-radius: 20px 20px 20px 6px; }
.tmsg.you .bubble { background: var(--card-green); border-radius: 20px 20px 6px 20px; box-shadow: inset 0 0 0 1px var(--card-green-line); }
.tmsg .it.round { background: var(--canvas); }
.reply-box .rb-box { border-radius: 20px; }
.ctxrow { border-radius: var(--r-lg); }
form.wr { max-width: 760px; }
.wr .choice, .qset .choice { background: var(--canvas); box-shadow: none; }

/* =================================================================
   Certificates (css/certs.css)
   ================================================================= */
/* The form is a gray card; the live preview's well turns light green, the sheet white paper on it */
.ce-cols { gap: var(--gap-cards); }
.ce-new { background: var(--card); border-radius: var(--r-lg); padding: var(--pad-card); }
.ce-new > h2 { font-size: var(--fs-section); line-height: var(--lh-section); }
.ce-well { background: var(--card-green); border-radius: var(--r-lg); }
.ce-seg { background: var(--canvas); border-radius: var(--r-pill); }
.ce-seg label { border-radius: var(--r-pill); }
.ce-thumb { border-radius: var(--r-pill); background: var(--ink); box-shadow: none; }
.ce-seg label:has(input:checked) { color: var(--inverse-ink); }
.ce-list { margin-top: var(--section-gap); }
.ce-list > h2 { font-size: var(--fs-group); line-height: var(--lh-group); letter-spacing: var(--track-mid); }
.ce-new .cbox:not(:checked) { background-color: var(--canvas); }

/* =================================================================
   The welcome page, the needs finder, the green moment (css/flow.css); the purchase (css/buy.css); the claim flow
   (css/claimflow.css) share the split window
   ================================================================= */
/* The question at title size in Fennia green, Bold. The dark live panel floats like the side menu: 12 in, soft corners */
.flow-body h1 { font-weight: 700; }
@media (min-width: 1024px) {
  .live { top: var(--rail-inset); height: calc(100vh - 2 * var(--rail-inset)); margin: var(--rail-inset) var(--rail-inset) var(--rail-inset) 0; padding-top: calc(var(--flow-top) - var(--rail-inset)); border-radius: var(--r-lg); }
}
@media (max-width: 1023px) { .live { margin: 0 var(--rail-inset) var(--rail-inset); border-radius: var(--r-lg); } }
.live h2 { font-size: var(--fs-section); line-height: var(--lh-section); font-weight: 700; }
.live h2 .soft { font-weight: 400; }
.welcome h1 { font-weight: 700; }
.gm-msg h1 { font-weight: 700; }
.gm-list { border-radius: var(--r-lg); padding: 4px var(--s-5); }
.peek-in { border-radius: var(--r-hero) var(--r-hero) 0 0; }

/* Choice cards: gray cards with soft corners; chosen, light green with Fennia's 2px edge */
.choices { gap: var(--s-3); }
.choice { min-height: 60px; padding: 14px 20px; border-radius: 20px; background: var(--card); box-shadow: none; }
.choice:hover { box-shadow: var(--edge-hover); }
.choice:has(input:checked) { background: var(--card-green); }
/* The work field and the amounts: white pills */
.wf-box { border-radius: 26px; padding-left: 48px; }
.wf-box > svg.i { left: 18px; }
.wf-pop { border-radius: var(--r-lg); padding: var(--s-2); }
.wf-opt { border-radius: var(--r-in); }
.amount-q .field input { border-radius: var(--r-pill); }
.amount-q input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--green) var(--p), var(--line-2) var(--p)); }
.well { background: var(--card); border-radius: var(--r-lg); padding: var(--s-6); }
.ob-sum { background: var(--card); border-radius: var(--r-in); }
.found { border-bottom-color: var(--card-line); }
/* The Price card: Fennia's mint, the figures Bold */
.price { border-radius: var(--r-lg); padding: var(--s-6); }
.price .est b, .price .line.total b { font-weight: 700; font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--track-mid); }
/* Offer rows in a gray card */
.offers-wrap .offers { background: var(--card); border-radius: var(--r-lg); padding: var(--s-2) var(--s-6); }
.offers > .offer-row { border-top-color: var(--card-line); }
.slot { min-height: 44px; padding: 0 16px; background: var(--canvas); box-shadow: none; }
/* Buy cards (Choose, the new stage's recommendations): gray cards like the choice cards; chosen, light green */
.buy-cards { gap: var(--s-3); }
.buy-card { padding: var(--s-5); background: var(--card); box-shadow: none; }
.buy-card:has(input:checked) { background: var(--card-green); }
.buy-card .it { background: var(--canvas); }
.buy-card .cbox:not(:checked) { background-color: var(--canvas); }
.buy-card .casebar { outline-color: var(--field); }

/* =================================================================
   Motion (css/motion.css): the side menu's gliding tab is the same white pill as the current item
   ================================================================= */
.nav-tab { border-radius: var(--r-pill); box-shadow: none; }

/* Forced colors: cards lose their tint, so they keep a system edge, as version 6's containers did */
@media (forced-colors: active) {
  .ov-up, .ov-su, .case, .tmain, form.wr, .ce-new, .ce-well, .cv, .pol-main > section, .choice, .buy-card, .task,
  .page-in > .blk:not(.duo):not(:has(.box, .tiles-wrap, .task, .stack, .buy-cards)), .page-in > .blk.duo > :not(.box):not(:has(.box)),
  .page-in > .blk > .stack > :not(.box):not(:has(.box)), .rail, .live { border: 1px solid CanvasText; }
}
/* A chosen pill is ink everywhere (filters, the overview's pages under 1024, the language segment), so the advisor's time slots
   follow: ink with a white check. Cards that are chosen stay light green with Fennia's edge */
.slot[aria-checked="true"] { background: var(--ink); color: var(--inverse-ink); box-shadow: none; }
.slot[aria-checked="true"] svg.i { color: var(--inverse-ink); }
