/* Colour tokens based on the tweakcn "Saas Blue" theme
   (https://tweakcn.com/themes/cmn97ptg6000704l45v0a54yv), converted from oklch/hsl to hex. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');
:root {
  --bg: #ffffff; --card: #fcfcfc; --ink: #0c0a09; --muted: #27272a;
  --line: #d4d4d4; --line-strong: #b5b5b5; --surface: #fafafa; --secondary: #e4e4e7; --accent-soft: #e5e7eb;
  --accent: #0069a8; --accent-ink: #fafaf9; --focus: #0069a8;
  --sire: #2563ef; --dam: #c2417a; --warn: #b45309; --ok: #15803d; --danger: #c70000;
  /* Litter COI bands, safe for red-green colour blindness: under 6.25%, 6.25 to 12.5%, 12.5% and over (12 Nov 2026) */
  --coi-low: #2f6db0; --coi-mid: #d18f1c; --coi-high: #9c1f1f;
  --chart-1: #91c5ff; --chart-2: #3a81f6; --chart-3: #2563ef; --chart-4: #1a4eda; --chart-5: #1f3fad;
  --radius: 0.625rem; --shadow-sm: 0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10); --shadow-md: 0 1px 3px 0 rgba(0,0,0,.10), 0 2px 4px -1px rgba(0,0,0,.10);
  --font: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
/* Dark tokens apply when the viewer chose Dark, or chose System and the OS is dark. Default is light. */
:root[data-theme="dark"] {
    --bg: #171717; --card: #1c1c1c; --ink: #e7e5e4; --muted: #a1a1a1;
    --line: #282828; --line-strong: #525252; --surface: #262626; --secondary: #27272a; --accent-soft: #1e2939;
    --accent: #3a81f6; --accent-ink: #fafaf9; --focus: #3a81f6;
    --sire: #3a81f6; --dam: #e0609a; --warn: #f59e0b; --ok: #4ade80; --danger: #ff4d4d; --coi-low: #6aa9e8; --coi-mid: #f0b54a; --coi-high: #e8615a;
    --chart-1: #92c5ff; --chart-2: #3a81f6; --chart-3: #2563ef; --chart-4: #1a4eda; --chart-5: #1f3fad;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #171717; --card: #1c1c1c; --ink: #e7e5e4; --muted: #a1a1a1;
    --line: #282828; --line-strong: #525252; --surface: #262626; --secondary: #27272a; --accent-soft: #1e2939;
    --accent: #3a81f6; --accent-ink: #fafaf9; --focus: #3a81f6;
    --sire: #3a81f6; --dam: #e0609a; --warn: #f59e0b; --ok: #4ade80; --danger: #ff4d4d; --coi-low: #6aa9e8; --coi-mid: #f0b54a; --coi-high: #e8615a;
    --chart-1: #92c5ff; --chart-2: #3a81f6; --chart-3: #2563ef; --chart-4: #1a4eda; --chart-5: #1f3fad;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); }
/* iPhone Safari enlarges text in landscape unless told not to, which throws the tree's fit-to-width out. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: var(--accent); }
.wrap { max-width: 1400px; margin: 0 auto; padding: 16px; }
.topbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar > .brand { justify-self: start; }
.topbar > .picker { grid-column: 2; justify-self: center; width: 100%; max-width: 560px; } /* centred between the brand and the button, so the gaps match */
.topbar-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }
.topbar-right > :empty { display: none; } /* an empty status placeholder would otherwise add its gap and throw the centring out */
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; gap: 10px; padding: 8px 12px; }
  .topbar > .picker { grid-column: 1 / -1; grid-row: 2; }
  .topbar-right { grid-column: 2; }
  /* phone header: head and name side by side on the left, the profile reduced to its icon on the right */
  .topbar > .brand { flex-direction: row; align-items: center; gap: 8px; min-width: 0; justify-self: stretch; } /* fill the column so the name can centre in it */
  .topbar .brand .logo { width: 40px; height: 40px; flex: none; }
  /* the name centred between the head and the profile icon, on one line, shrinking a little on the narrowest phones */
  .topbar .brand .tag { flex: 1; text-align: center; white-space: nowrap; font-size: clamp(9.5px, 3vw, 12px); line-height: 1.2; min-width: 0; }
  .topbar .profile-btn { padding: 8px; border-radius: 50%; }
  .topbar .profile-btn #profileShort { display: none; }
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: inherit; white-space: nowrap; }
.brand .logo { width: 48px; height: 48px; display: block; }
.brand .tag { font-weight: 700; font-size: 12px; letter-spacing: .01em; }
.brand small { font-weight: 400; color: var(--muted); font-size: 11px; }
:root[data-theme="dark"] .logo { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root[data-theme="system"] .logo { filter: invert(1); } }
.picker { position: relative; flex: 1; min-width: 260px; max-width: 560px; }
.picker input { width: 100%; padding: 10px 12px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); }
.picker input:focus { outline: 2px solid var(--focus); outline-offset: 1px; background: var(--card); }
.picker-list { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md), 0 8px 24px rgba(0,0,0,.12); max-height: 420px; overflow: auto; z-index: 20; display: none; }
.picker-list.open { display: block; }
.picker-item { padding: 7px 12px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; border-bottom: 1px solid var(--line); }
.picker-item:last-child { border-bottom: 0; }
.picker-item:hover, .picker-item.active { background: var(--accent-soft); }
.picker-item .nm { font-weight: 600; }
.picker-item .pick-grade { display: inline-block; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--line); margin-right: 7px; vertical-align: 0; } /* the grade square on the members' Mating pickers */
.picker-empty { padding: 10px 12px; color: var(--muted); font-size: 13px; }
.picker-group { padding: 6px 12px 3px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--line); cursor: default; position: sticky; top: 0; z-index: 1; } /* a heading inside a grouped favourites list (Mine, On loan, Of interest) */
.picker-item .sub { color: var(--muted); font-size: 12px; }
.picker-item .sx { font-weight: 700; }
.picker-item .sx.m { color: var(--sire); }
.picker-item .sx.f { color: var(--dam); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: none; font-size: 13px; box-shadow: var(--shadow-sm); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn:hover { filter: brightness(.97); }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; } /* grid items must not grow to their content width (keeps the tree from widening the page) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.card h2 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.stat { font-size: 34px; font-weight: 700; line-height: 1; }
.stat small { font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat-note { font-size: 13px; font-weight: 700; color: var(--warn); margin-left: 2px; vertical-align: top; line-height: 1; cursor: help; }
.muted { color: var(--muted); }
.warn { color: var(--warn); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); }
table.list { width: 100%; border-collapse: collapse; font-size: 13px; }
table.list th, table.list td { text-align: left; padding: 5px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list th { color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
table.list td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* A number column's heading sits over its figures (Andrew, 14 Nov 2026: headings were left while the numbers were right) */
table.list th.num { text-align: right; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); align-items: center; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; border: 1px solid rgba(0,0,0,.15); }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty h1 { font-size: 22px; margin: 0 0 8px; color: var(--ink); }
/* --- site chrome --- */
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 13px; }
.nav a.current { background: var(--accent-soft); color: var(--accent); }
/* the find-a-dog box, a card under the header on both pages */
.ped-search { padding: 10px 12px; margin-bottom: 14px; }
.ped-search .picker { max-width: none; }
.ped-search input { font-size: 15px; }
.nav a.members { text-decoration: none; border-radius: 999px; }
@media (min-width: 761px) { .nav a.members { padding: 6px 10px; } } /* the pill's own padding; on phones the round icon rule applies */
/* the profile / sign-in button, shared by the public and members pages */
.profile-btn { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-weight: 600; font-size: 13px; }
.profile-btn svg { color: var(--accent); }
.profile-btn.is-warned svg { color: var(--danger); } /* a renewal reminder has gone out */
.subject-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.subject-head h1 { margin: 0 0 2px; font-size: 24px; }
.actions { display: flex; gap: 10px; align-items: center; }
.actions select { padding: 6px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13px; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats .card { padding: 8px 14px; min-width: 0; }
.stats .card h2 { font-size: 11px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats .stat { font-size: 24px; }
.stats .hint { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; font-size: 11.5px; }
@media (max-width: 760px) {
  .stats { gap: 8px; }
  .stats .card { padding: 8px 10px; border-radius: 8px; }
  .stats .card h2 { font-size: 9.5px; letter-spacing: .03em; white-space: normal; line-height: 1.15; min-height: 22px; }
  .stats .stat { font-size: 20px; }
  .stats .stat small { font-size: 11px; margin-left: 2px; }
  .stats .hint { display: none; }
  .subject-head h1 { font-size: 19px; }
  .actions { width: 100%; justify-content: space-between; }
  .actions .btn { white-space: nowrap; padding: 7px 10px; font-size: 12px; }
  .actions .cert-btn span { display: none; } /* phones: the printer icon alone, so the row fits */
  .actions .cert-btn { padding: 7px 9px; }
  .actions .hint { white-space: nowrap; }
  .tree-box { padding: 6px; }
  .wrap { padding: 12px; }
}
.two { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.tree-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
/* Height comes from the deepest column (cell min-height × slots); nothing is clipped. */
.tree-box { padding: 10px; max-width: 100%; overflow-x: auto; }
/* The members' dog page: the card with the pedigree tree and the lists under the header takes the window's width (less
   16px each side, up to 2000px) instead of the page's 1400px, so the tree's boxes have room on a wide screen
   (Andrew, 14 Nov 2026). --page-w is the window's width without its scrollbar (public/tree.js). */
@media (min-width: 1100px) {
  #dogTabs { margin-left: calc(50% - min(var(--page-w, 100vw) - 32px, 2000px) / 2); margin-right: calc(50% - min(var(--page-w, 100vw) - 32px, 2000px) / 2); }
}
.tree-box .ptree-cols { align-items: stretch; }
.tree-box.g3 .ptree-colbody, .tree-box.g4 .ptree-colbody { min-height: 340px; }
.sex { display: inline-block; min-width: 20px; text-align: center; font-weight: 700; font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--surface); }
.sex.m { background: color-mix(in srgb, var(--sire) 18%, var(--card)); color: var(--sire); }
.sex.f { background: color-mix(in srgb, var(--dam) 18%, var(--card)); color: var(--dam); }
table.results td, table.results th { white-space: nowrap; }
table.results { font-size: 13px; }
.search-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.filters label { display: inline-flex; gap: 4px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tabs button { background: none; border: 0; padding: 10px 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-size: 13px; }
.tabs button.current { color: var(--accent); border-bottom-color: var(--accent); }
/* tabs inside a card (dog page: repeated ancestors / full siblings / all recorded ancestors) */
.subtabs { margin: -4px 0 12px; }
.tab-count { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 600; }
.tabs button.current .tab-count { background: var(--accent-soft); color: var(--accent); }
.panel[hidden] { display: none; }
.pairings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pairing { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: var(--card); position: relative; box-shadow: var(--shadow-sm); }
.pairing.in-range { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(21,128,61,.15); }
.pairing .rank { position: absolute; right: 10px; top: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.pairing h3 { margin: 0 0 4px; font-size: 15px; }
.pairing .big { font-size: 26px; font-weight: 700; line-height: 1.1; }
.pairing .big small { font-size: 12px; font-weight: 500; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.field input[type=text], .field input[type=search], .field input[type=password] { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; background: var(--surface); color: var(--ink); }
.field input[type=number] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; width: 80px; background: var(--surface); color: var(--ink); }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toggle button { background: var(--card); border: 0; padding: 7px 12px; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--muted); }
.toggle button.on { background: var(--accent); color: var(--accent-ink); }
.placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 16px; color: var(--muted); }
.placeholder h3 { margin: 0 0 6px; color: var(--ink); font-size: 15px; }
/* Tree cells with a light highlight fill always carry dark text, so they stay readable in dark mode: repeated dogs in
   Repeats and Same Dog, brothers and sisters in Siblings. Registry uses the theme's own grade colours and text. */
.ptree:not(.ptree-grades):not(.ptree-siblings) .ptree-cell.is-repeat, .ptree:not(.ptree-grades):not(.ptree-siblings) .ptree-cell.is-repeat :is(.ptree-name, .ptree-meta),
.ptree-siblings .ptree-cell.is-sib, .ptree-siblings .ptree-cell.is-sib :is(.ptree-name, .ptree-meta) { color: #1f1f1f; }
.ptree:not(.ptree-grades):not(.ptree-siblings) .ptree-cell.is-repeat .ptree-meta, .ptree-siblings .ptree-cell.is-sib .ptree-meta { color: #4b4b4b; }
/* breadcrumb trail above a dog page */
.crumbs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crumb-trail { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crumb-trail a { color: var(--accent); text-decoration: none; }
.crumb-trail a:hover { text-decoration: underline; }
.crumb-sep { color: var(--line-strong); padding: 0 2px; }
.crumb-current { color: var(--ink); font-weight: 600; }
/* show-once help panels with an (i) toggle */
.h2-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
/* sortable table headings (all recorded ancestors) */
table.list th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
table.list th.sortable:hover, table.list th.sortable.sorted { color: var(--ink); }
table.list th.sortable:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sort-arrow { display: inline-block; width: 1em; margin-left: 3px; font-size: 9px; color: var(--accent); }
.anc-more { display: flex; gap: 8px; margin-top: 10px; }
/* top influences: a bar per ancestor, split into the sire-line and dam-line shares */
.influences { margin: 0 0 12px; }
.anc-head { font-weight: 700; font-size: 15px; color: var(--ink); margin: 0 0 6px; }
.anc-head .hint { font-weight: 400; font-size: 13px; margin-left: 4px; }
.anc-repeated { margin: 0 0 18px; }
.influences + .anc-repeated, .anc-repeated + .anc-head { margin-top: 18px; }
/* Ancestors' two inner tabs, and the Dam line under Top influences and Repeated ancestors */
.anc-tabs { margin: 0 0 12px; }
.anc-damline { margin-top: 18px; }
/* Under the pedigree tree: Highlight dam line works only while held, so no text selection, long-press menu or scroll starts on it */
.dam-line-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.dam-line-btn { flex: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.dam-line-btn.on, .fit-screen-btn.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.fit-screen-btn { white-space: nowrap; }
.infl-row { display: grid; grid-template-columns: minmax(120px, 220px) 1fr auto; gap: 10px; align-items: center; font-size: 13px; padding: 3px 0; }
.infl-bar { display: flex; height: 10px; background: var(--surface); border-radius: 5px; overflow: hidden; }
.infl-sire { background: var(--sire); height: 100%; }
.infl-dam { background: var(--dam); height: 100%; }
.infl-pct { font-variant-numeric: tabular-nums; white-space: nowrap; }
.infl-pct small { color: var(--muted); font-size: 11px; }
@media (max-width: 760px) { .infl-row { grid-template-columns: 1fr auto; } .infl-bar { grid-column: 1 / -1; } }
.sub-h { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
/* office progress on a submission */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 10px 18px; border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .when { font-size: 11.5px; color: var(--muted); }
.timeline .numbers { font-weight: 700; }
.h2-row h2 { margin: 0; }
.info-btn { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--accent); font: italic 700 13px/1 Georgia, serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info-btn.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.help { background: var(--accent-soft); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 12px; font-size: 13px; }
.help p { margin: 0 0 8px; }
.help .btn { padding: 5px 12px; font-size: 12px; }
/* "Show more": top-right on wide screens, below the list on phones */
.more-bottom { display: none; margin-top: 10px; }
@media (max-width: 760px) {
  .more-top { display: none !important; }
  .more-bottom { display: block; }
  .more-bottom .btn { width: 100%; justify-content: center; }
}
/* phones: rotate prompt in portrait, touch wording, fit-to-width tree in landscape */
.rotate-hint { display: none; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); font-size: 13px; }
.rotate-icon { font-size: 18px; color: var(--accent); }
.hint-touch { display: none; }
@media (max-width: 760px) and (orientation: portrait) {
  .rotate-hint { display: flex; }
}
@media (hover: none) and (pointer: coarse) {
  .hint-pointer { display: none; }
  .hint-touch { display: inline; }
}
table.list tr.litter-row td { background: var(--surface); color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding-top: 7px; }
table.list tr.gen-row td { font-weight: 700; font-size: 14px; color: var(--ink); padding-top: 14px; border-bottom: 2px solid var(--line-strong); }
/* --- online forms --- */
.form-head { margin-bottom: 14px; }
.form-head h1 { margin: 0 0 4px; font-size: 22px; }
.form-head .btn.small { margin: 6px 6px 0 0; }
.btn.small { padding: 5px 10px; font-size: 12px; }
.fsec { margin-bottom: 14px; }
.sec-desc { margin: -2px 0 10px; font-size: 13px; }
.fgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px 12px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field label { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--surface); color: var(--ink); width: 100%; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; background: var(--card); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .err, .errbox { color: var(--danger); font-size: 12px; }
.errbox { border-color: var(--danger); }
.errbox ul { margin: 6px 0 0; padding-left: 18px; }
.req { color: var(--danger); margin-left: 2px; }
.w-full { grid-column: span 12; } .w-half { grid-column: span 6; } .w-third { grid-column: span 4; } .w-quarter { grid-column: span 3; } .w-twothirds { grid-column: span 8; }
.field.check { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink); }
.field.check input { width: auto; margin-top: 3px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.radio { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; cursor: pointer; }
.field input[type=radio], .field input[type=checkbox], .radio input { width: auto; margin: 0; flex: none; }
.readonly { padding: 8px 10px; border: 1px dashed var(--line); border-radius: 8px; font-size: 14px; min-height: 36px; }
.money { display: flex; align-items: center; gap: 6px; }
.money span { color: var(--muted); }
.dogfield { position: relative; }
.dogpick { margin-top: 4px; }
fieldset.rep { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 12px; margin: 0 0 10px; }
fieldset.rep:nth-of-type(odd) { background: var(--accent-soft); }                 /* tint every odd entry so pups are easy to tell apart */
fieldset.rep:nth-of-type(odd) .field input, fieldset.rep:nth-of-type(odd) .field select, fieldset.rep:nth-of-type(odd) .field textarea { background: var(--card); }
fieldset.rep:nth-of-type(odd) legend { background: var(--card); border-radius: 6px; }
fieldset.rep legend { font-weight: 700; font-size: 13px; padding: 0 6px; display: flex; gap: 10px; align-items: center; }
.paymethods { display: flex; gap: 16px; flex-wrap: wrap; margin: 10px 0 6px; }
.deposit { background: var(--accent-soft); padding: 8px 10px; border-radius: 8px; }
.decl-points { padding-left: 20px; font-size: 13px; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 30px; }
table.list tfoot th { text-align: left; padding: 6px; border-top: 2px solid var(--line-strong); }
.forms-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.forms-menu h2 { margin-bottom: 6px; }
.forms-menu a.formlink { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); border: 1px solid var(--line); margin-bottom: 6px; background: var(--surface); }
.forms-menu a.formlink:hover { border-color: var(--accent); }
.forms-menu a.formlink small { display: block; color: var(--muted); font-size: 12px; }
.status-line { font-size: 16px; }
.subs-table td { vertical-align: top; }
@media (max-width: 760px) {
  .w-half, .w-third, .w-quarter, .w-twothirds { grid-column: span 12; }
  .w-quarter.q-pair { grid-column: span 6; }
}
@media print {
  .topbar, .tabs, .form-head .btn, .form-actions, .picker-list, .rep-remove, .rep-add, .help, .info-btn { display: none !important; }
  body { background: #fff; color: #000; }
  .card, fieldset.rep { box-shadow: none; border-color: #999; break-inside: avoid; }
  .field input, .field select, .field textarea { border: 0; border-bottom: 1px solid #999; border-radius: 0; background: #fff; }
}
/* --- paper version of a form (print only) --- */
#printHost { display: none; }
@media print {
  body.printing-form > *:not(#printHost) { display: none !important; }
  body.printing-form #printHost { display: block; color: #000; font-size: 10pt; }
  #printHost .p-head { display: flex; gap: 6mm; align-items: center; border-bottom: 2px solid #000; padding-bottom: 2mm; margin-bottom: 3mm; }
  #printHost .p-head img { width: 16mm; height: 16mm; }
  #printHost .p-org { font-weight: 700; font-size: 12pt; }
  #printHost h1 { font-size: 15pt; margin: 2mm 0 1mm; }
  #printHost h2 { font-size: 10pt; text-transform: uppercase; letter-spacing: .05em; margin: 4mm 0 1.5mm; border-bottom: 1px solid #999; padding-bottom: 1mm; }
  #printHost .p-sec { break-inside: avoid; }
  #printHost .p-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2mm 4mm; }
  #printHost .p-field { min-width: 0; }
  #printHost .p-label { font-size: 8pt; color: #333; }
  #printHost .p-line { border-bottom: 1px solid #000; min-height: 6mm; padding: 1mm 0 0.5mm; }
  #printHost .p-line.tall { min-height: 16mm; }
  #printHost .p-note { font-size: 8pt; color: #444; }
  #printHost .p-opts { display: flex; flex-wrap: wrap; gap: 2mm 6mm; padding: 1mm 0; }
  #printHost .p-opt { display: inline-flex; gap: 2mm; align-items: flex-start; }
  #printHost .p-box { display: inline-block; width: 4mm; height: 4mm; border: 1px solid #000; text-align: center; line-height: 4mm; font-size: 8pt; flex: none; }
  #printHost .p-check { grid-column: span 12; }
  #printHost .p-rep { border: 1px solid #999; padding: 2mm 3mm; margin-bottom: 2mm; break-inside: avoid; }
  #printHost .p-rep-title { font-weight: 700; margin-bottom: 1mm; }
  #printHost table.p-fees { border-collapse: collapse; width: 100%; margin-bottom: 2mm; }
  #printHost table.p-fees td { border-bottom: 1px solid #ccc; padding: 1mm 2mm; }
  #printHost table.p-fees td.num { text-align: right; white-space: nowrap; }
  #printHost ol { padding-left: 5mm; }
  #printHost .p-foot { margin-top: 5mm; border-top: 1px solid #999; padding-top: 1.5mm; font-size: 8pt; color: #444; }
}
/* iPhone Safari zooms the page in when a text box with text smaller than 16px is focused, and
   leaves it zoomed (the right side gets cut off). Keep every input at 16px on phones. */
@media (max-width: 760px) {
  input, select, textarea, .picker input, .field input, .field select, .field textarea, .filter-row input, .ped-search input { font-size: 16px !important; }
}
/* ---- Help page ---- */
/* Members' Help page (public/guide.js) and its button in the members' header.
   Mating-table fills follow the WKC's own table; dark mode uses deeper tints with light text. */
:root {
  --gm-blue: #D3EEFB; --gm-green: #E7F0DA; --gm-yellow: #FDFCDD; --gm-pink: #FBE6E6; --gm-ink: #1f1f1f; --gm-sub: #4b4b4b;
  /* grade ladder for the pedigree tree's Registry view */
  --gr-main: #c7e4f7; --gr-a4: #e3f2fc; --gr-a3: #dcebc6; --gr-a2: #fbf4b3; --gr-a1: #fbd9a8; --gr-special: #f7cfcf; --gr-other: #e6e6e6;
  --mark-bg: #fff3a3; --mark-ink: inherit;
  /* brighter grade fills for the swatches inside grade-chip buttons only (the pills are small, so the pale
     ladder above is hard to see there); every other place keeps --gr-*. Same in light and dark. */
  --grb-main: #7CC4EE; --grb-a4: #B3DDF5; --grb-a3: #A9CE78; --grb-a2: #F2E46B; --grb-a1: #F5B66A; --grb-special: #EE9A9A; --grb-other: #BDBDBD;
}
:root[data-theme="dark"] {
  --gm-blue: #12384d; --gm-green: #263a1c; --gm-yellow: #3b3713; --gm-pink: #4a2024; --gm-ink: #f0f0ee; --gm-sub: #cfcfcb;
  --gr-main: #1b4a66; --gr-a4: #163748; --gr-a3: #2b4320; --gr-a2: #4a4416; --gr-a1: #553717; --gr-special: #55282c; --gr-other: #3a3a3a;
  --mark-bg: #6b4f0e; --mark-ink: #fff7e0;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --gm-blue: #12384d; --gm-green: #263a1c; --gm-yellow: #3b3713; --gm-pink: #4a2024; --gm-ink: #f0f0ee; --gm-sub: #cfcfcb;
  --gr-main: #1b4a66; --gr-a4: #163748; --gr-a3: #2b4320; --gr-a2: #4a4416; --gr-a1: #553717; --gr-special: #55282c; --gr-other: #3a3a3a;
    --mark-bg: #6b4f0e; --mark-ink: #fff7e0;
  }
}
.help-btn .help-label { line-height: 20px; }
@media (max-width: 760px) { .help-btn .help-label { display: none; } } /* phones: icon only, round like the profile icon */
/* Two columns: the menu of groups and sections on the left (sticky under the header), the content on the right. */
.guide { max-width: 1200px; margin: 0 auto; min-width: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.guide-main { min-width: 0; }
.guide-nav { position: sticky; top: 86px; max-height: calc(100vh - 102px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 6px 16px 0; }
.guide-menu { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.gm-head { display: block; padding: 6px 10px; border-radius: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.gm-head:hover { background: var(--surface); color: var(--accent); }
.gm-group.is-current > .gm-head { color: var(--accent); }
.gm-group ul { list-style: none; margin: 0 0 4px 10px; padding: 0; }
.gm-group li a { display: block; padding: 4px 10px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; line-height: 1.3; font-size: 12.5px; }
.gm-group li a:hover { color: var(--accent); border-left-color: var(--accent); }
.gm-group li a.is-current { color: var(--accent); border-left-color: var(--accent); background: var(--accent-soft); font-weight: 600; border-radius: 0 6px 6px 0; }
.guide.is-searching .gm-group li a.is-current { background: none; font-weight: 500; } /* while searching, results from every group show */
.gm-head:focus-visible, .gm-group li a:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.guide-menu-btn { display: none; } /* phones only: a Topics button that drops the menu down */
.guide-group-title { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.guide.is-searching .guide-group-title { display: none; }
.guide-in { display: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
.guide.is-searching .guide-in { display: block; } /* search results say which group each card is from */
.guide-sec:focus { outline: none; }
.guide-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.guide-top h1 { margin: 0; font-size: 22px; flex: 1 1 auto; min-width: 0; }
.guide-find { flex: 0 1 280px; min-width: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; }
.guide-find:focus { outline: 2px solid var(--focus); outline-offset: 1px; background: var(--card); }
.guide-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.guide-chips .btn.small { box-shadow: none; background: var(--surface); }
.guide-chips .btn.small:hover { border-color: var(--accent); color: var(--accent); }
.guide .hint { color: var(--muted); font-size: 12.5px; }
.guide-count { min-height: 1em; margin-bottom: 8px; }
.guide-count:empty { display: none; }
.guide-none { color: var(--muted); margin-bottom: 14px; }
.guide-sections { display: grid; gap: 14px; margin-bottom: 30px; }
.guide-sections > * { min-width: 0; }
.guide-sec { scroll-margin-top: 100px; } /* clear the sticky header when a chip scrolls to it */
.guide-sec h2 { font-size: 14px; color: var(--accent); }
.guide-body { font-size: 14px; line-height: 1.55; }
.guide-body p { margin: 0 0 10px; }
.guide-body p:last-child { margin-bottom: 0; }
.guide-body ul, .guide-body ol { margin: 0 0 10px; padding-left: 22px; }
.guide-body li { margin-bottom: 4px; }
.guide-body code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; white-space: nowrap; }
.guide-h3 { margin: 14px 0 6px; font-size: 14px; color: var(--ink); }
.guide-dl { margin: 0 0 10px; }
.guide-dl dt { font-weight: 700; margin-top: 8px; }
.guide-dl dt:first-child { margin-top: 0; }
.guide-dl dd { margin: 2px 0 0; color: var(--ink); }
.guide-glossary { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 6px 16px; }
.guide-glossary dt, .guide-glossary dd { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.guide-glossary dt:nth-last-of-type(1), .guide-glossary dd:last-child { border-bottom: 0; }
.guide-table-wrap { max-width: 100%; overflow-x: auto; margin-bottom: 10px; }
.guide-numbers td:first-child { white-space: nowrap; }
.guide-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.guide-steps > div { flex: 1 1 100px; display: flex; flex-direction: column; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--accent-soft); }
.guide-steps b { font-size: 20px; color: var(--accent); }
.guide-steps span { font-size: 12px; color: var(--muted); }
.guide-examples { list-style: none; padding: 0 !important; }
.guide-examples li { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.guide-examples li:last-child { border-bottom: 0; }
.guide-examples .ex-pair { font-weight: 600; }
.guide-examples .ex-arrow { color: var(--accent); font-weight: 700; }
.guide-checklist li { padding-left: 2px; }
/* the mating table scrolls inside its card on a phone; the page itself never scrolls sideways */
.guide-matrix-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px 0 10px; border: 1px solid var(--line); border-radius: var(--radius); }
table.guide-matrix { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.guide-swipe { display: none; }
table.guide-matrix th, table.guide-matrix td { padding: 8px 10px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
table.guide-matrix tr > :first-child { border-left: 0; }
table.guide-matrix tr > :last-child { border-right: 0; }
table.guide-matrix tbody tr:last-child > * { border-bottom: 0; }
table.guide-matrix thead tr > * { border-top: 0; }
table.guide-matrix thead th { background: var(--surface); font-weight: 700; }
table.guide-matrix tbody th { background: var(--surface); font-weight: 700; width: 24%; }
table.guide-matrix .gm-corner { color: var(--muted); font-weight: 600; font-size: 12px; }
table.guide-matrix small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 2px; }
table.guide-matrix td b { font-weight: 700; }
/* Mating results: the pup grade chip, in the mating table's four outcome colours */
.pup-grade { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 700; font-size: 12px; color: var(--gm-ink); background: var(--surface); }
.pup-grade.blue { background: var(--gm-blue); } .pup-grade.green { background: var(--gm-green); } .pup-grade.yellow { background: var(--gm-yellow); } .pup-grade.pink { background: var(--gm-pink); }
/* Pedigree tree: colouring buttons and their legends */
.tree-title { display: flex; align-items: center; gap: 12px; } /* heading and the colouring buttons stay together on the left */
.tree-mode button { padding: 4px 10px; font-size: 12px; }
.tree-mode button { white-space: nowrap; } /* five buttons: on a phone they narrow rather than wrap */
@media (max-width: 420px) { .tree-mode button { padding: 4px 6px; font-size: 11.5px; } }
.legend-grades[hidden] { display: none; }
/* Members' dog page: the figures inside the header card, the Pedigree sub-tab's toolbar, and the
   one row of six sub-tabs (Pedigree, then the lists) under the header. */
.subject-id { min-width: 0; flex: 1 1 300px; }
.head-stats { flex: 0 1 440px; margin-left: auto; gap: 10px; }
.head-stats .card { padding: 6px 12px; box-shadow: none; background: var(--surface); }
.head-stats .card h2 { font-size: 10px; margin-bottom: 1px; }
.head-stats .stat { font-size: 19px; }
.head-stats .stat small { font-size: 11.5px; }
.head-stats .hint { font-size: 11px; }
.tree-toolbar { gap: 10px; flex-wrap: wrap; }
.tree-toolbar .gens-pick { white-space: nowrap; }
.tree-toolbar select { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 12px; }
.print-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); border: 1px solid var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
.print-btn:hover { filter: brightness(.95); }
.print-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.print-btn svg { width: 15px; height: 15px; }
#dogTabs > .subtabs button { white-space: nowrap; }
/* Next of kin and Compare sit inside the dog page's sub-tab card, so they have no card of their own:
   their results follow the controls under a rule instead of a second border. */
.dog-tool-out:not(:empty) { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.compare-a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 2px 0 10px; font-size: 14px; }
.compare-a .lbl { font-size: 12px; color: var(--muted); }
.compare-b { max-width: 420px; }
@media (max-width: 760px) {
  .subject-id { flex-basis: 100%; }
  .head-stats { flex: 1 1 100%; margin-left: 0; gap: 8px; }
  .head-stats .card { padding: 6px 10px; }
  .head-stats .stat { font-size: 18px; }
  /* the eight sub-tabs scroll sideways inside their own box rather than widening the page */
  #dogTabs > .subtabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
  #dogTabs > .subtabs button { flex: none; padding: 9px 10px; }
  /* the toolbar stays on one line: the word "Show" is kept for screen readers only, the box reads "5 generations" */
  .tree-toolbar { gap: 8px; }
  .tree-toolbar .gens-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tree-toolbar select { padding: 4px 2px; }
}
.kin-map rect.mm-grade { stroke: var(--line); stroke-width: 1; }
.kin-map .gr-main { fill: var(--gr-main); } .kin-map .gr-a4 { fill: var(--gr-a4); } .kin-map .gr-a3 { fill: var(--gr-a3); } .kin-map .gr-a2 { fill: var(--gr-a2); } .kin-map .gr-a1 { fill: var(--gr-a1); } .kin-map .gr-special { fill: var(--gr-special); } .kin-map .gr-other { fill: var(--gr-other); }
/* Grade filter chips (members' mate search): multi-select, each with its grade swatch; they wrap on a phone */
.grade-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.grade-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font: inherit; font-size: 12px; font-weight: 600; padding: 3px 9px; cursor: pointer; }
/* the grade colour stays full strength whether the chip is on or off (faded, the pale fills vanished);
   on or off shows in the chip's border, tint and text */
.grade-chip .swatch { width: 12px; height: 12px; margin: 0; border-radius: 3px; border: 1px solid rgba(0, 0, 0, .28); }
.grade-chip.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.grade-chip .sw-main { background: var(--grb-main); } .grade-chip .sw-a4 { background: var(--grb-a4); } .grade-chip .sw-a3 { background: var(--grb-a3); } .grade-chip .sw-a2 { background: var(--grb-a2); } .grade-chip .sw-a1 { background: var(--grb-a1); } .grade-chip .sw-special { background: var(--grb-special); } .grade-chip .sw-other { background: var(--grb-other); }
.grade-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.ko-grade { display: inline-block; width: 12px; height: 12px; flex: none; border-radius: 3px; border: 1px solid var(--line); margin-right: 6px; }
.sw-main { background: var(--gr-main); } .sw-a4 { background: var(--gr-a4); } .sw-a3 { background: var(--gr-a3); } .sw-a2 { background: var(--gr-a2); } .sw-a1 { background: var(--gr-a1); } .sw-special { background: var(--gr-special); } .sw-other { background: var(--gr-other); }
.gm-blue { background: var(--gm-blue) !important; }
.gm-green { background: var(--gm-green) !important; }
.gm-yellow { background: var(--gm-yellow) !important; }
.gm-pink { background: var(--gm-pink) !important; }
table.guide-matrix td[class^="gm-"] { color: var(--gm-ink); }
table.guide-matrix td[class^="gm-"] small { color: var(--gm-sub); }
.guide-legend { gap: 8px 16px; margin-bottom: 4px; }
.guide-legend .swatch { font-style: normal; }
.guide mark { background: var(--mark-bg); color: var(--mark-ink); border-radius: 2px; padding: 0 1px; }
@media (max-width: 760px) {
  .guide { display: block; padding: 0 4px; } /* with the page's 12px gutter, 16px each side */
  .guide-menu-btn { display: flex; flex: 1 1 100%; justify-content: space-between; align-items: center; min-width: 0; text-align: left; padding: 9px 12px; font-size: 14px; }
  .guide-menu-btn .guide-menu-cur { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .guide-menu-btn[aria-expanded="true"] .guide-menu-caret { transform: rotate(180deg); }
  .guide-nav { display: none; position: static; max-height: 70vh; flex: 1 1 100%; margin: -4px 0 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }
  .guide-nav.is-open { display: block; }
  /* the group names are the divisions members scan for: black, bold and larger than the items */
  .guide-nav .gm-head { font-size: 15px; font-weight: 800; color: var(--ink); padding: 8px 8px 4px; }
  .guide-nav .gm-group { border-top: 1px solid var(--line); padding-top: 2px; }
  .guide-nav .gm-group:first-child { border-top: 0; }
  .guide-nav .gm-group li a { font-size: 14px; color: var(--ink); padding: 7px 10px; }
  .guide-nav .gm-group.is-current > .gm-head { color: var(--ink); }
  .guide-group-title { font-size: 16px; }
  .guide-top h1 { font-size: 19px; flex-basis: calc(100% - 100px); }
  .guide-find { flex: 1 1 100%; }
  .guide-swipe { display: inline; }
  .guide-glossary { grid-template-columns: 1fr; gap: 0; }
  .guide-glossary dt { border-bottom: 0; padding-bottom: 0; }
  .guide-examples li { grid-template-columns: 1fr; gap: 2px; }
  .guide-examples .ex-arrow { display: none; }
}
@media print {
  .guide-top .btn, .guide-find, .guide-chips, .guide-count, .guide-nav, .guide-menu-btn { display: none !important; }
  .guide { display: block; }
  .gm-blue, .gm-green, .gm-yellow, .gm-pink { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
