:root {
  color-scheme: light;
  --bg: #fdf3f8;
  --card: #ffffff;
  --card-2: #fbf3f7;
  --line: #f3d9e6;
  --pink: #f7c9dc;
  --pink-2: #fdecf3;
  --accent: #c2477f;
  --accent-ink: #ffffff;
  --ink: #3b2e36;
  --ink-2: #6e5a66;
  --muted: #97808c;
  --grid: #efe3ea;
  --band: #ece6ea;
  --band-2: #ddd3da;
  /* данные: сон — синяя ступень, смесь — оранжевый, прогулки — аква */
  --sleep-night: #256abf;
  --sleep-day: #86b6ef;
  --feed: #eb6834;
  --walk: #1baf7a;
  --play: #4a3aa7;
  --good: #0ca30c;
  --warn: #b87800;
  --crit: #d03b3b;
  --good-bg: #e7f6e7;
  --warn-bg: #fff3d6;
  --crit-bg: #fde8e8;
  --shadow: 0 1px 2px rgba(59, 46, 54, .06), 0 4px 16px rgba(194, 71, 127, .06);
  --r: 18px;
  font-synthesis: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #1b1519; --card: #251d22; --card-2: #2c2329; --line: #3a2e35; --pink: #5a3346; --pink-2: #33242c;
    --accent: #ee8ab8; --accent-ink: #1b1519; --ink: #f6eaf0; --ink-2: #cdb9c4; --muted: #9c8793;
    --grid: #33292f; --band: #342b31; --band-2: #463a42;
    --sleep-night: #3987e5; --sleep-day: #1c5cab; --feed: #d95926; --walk: #199e70; --play: #9085e9;
    --good: #3fbf3f; --warn: #fab219; --crit: #e66767; --good-bg: #1f3320; --warn-bg: #3a3017; --crit-bg: #3d2222;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1b1519; --card: #251d22; --card-2: #2c2329; --line: #3a2e35; --pink: #5a3346; --pink-2: #33242c;
  --accent: #ee8ab8; --accent-ink: #1b1519; --ink: #f6eaf0; --ink-2: #cdb9c4; --muted: #9c8793;
  --grid: #33292f; --band: #342b31; --band-2: #463a42;
  --sleep-night: #3987e5; --sleep-day: #1c5cab; --feed: #d95926; --walk: #199e70; --play: #9085e9;
  --good: #3fbf3f; --warn: #fab219; --crit: #e66767; --good-bg: #1f3320; --warn-bg: #3a3017; --crit-bg: #3d2222;
  --shadow: none;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { background: var(--bg); color: var(--ink); }
body {
  margin: 0;
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- каркас ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  display: flex; align-items: center; gap: 12px;
}
.top img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--pink); }
.top .who { flex: 1; min-width: 0; }
.top .who b { display: block; font-size: 17px; letter-spacing: -.01em; }
.top .who span { color: var(--muted); font-size: 13px; }
.pill-btn {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2);
}
main { max-width: 760px; margin: 0 auto; padding: 4px 16px 24px; }
.view[hidden] { display: none !important; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06);
}
nav.tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); max-width: 760px; margin: 0 auto;
  padding: 2px 4px calc(6px + env(safe-area-inset-bottom));
}
/* панель записи над вкладками */
.qbar { display: grid; grid-template-columns: 1.2fr 1.25fr 1.05fr 1.05fr .8fr; gap: 5px; max-width: 760px; margin: 0 auto;
  padding: 8px 8px 6px; border-bottom: 1px solid var(--line); }
.qbar button { border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 6px 1px 4px; min-height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; }
.qbar .qi { font-size: 22px; line-height: 1.1; }
.qbar b { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; max-width: 100%; letter-spacing: -.01em; }
.qbar .sub { font-size: 10px; color: var(--muted); line-height: 1.2; white-space: nowrap; overflow: hidden; max-width: 100%; }
.qbar button.hot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qbar button.hot .sub { color: var(--accent-ink); opacity: .85; }
.qbar button.on { background: var(--pink-2); border-color: var(--accent); }
.qbar button.dim { opacity: .45; }
.qbar button:active { transform: scale(.96); }
.volgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.volgrid button { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 14px 4px; font-size: 14px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; }
.volgrid button b { font-size: 22px; }
.volgrid .sub { font-size: 11px; color: var(--muted); }
.qblock.row { display: flex; }
.toast .tbtns { display: flex; gap: 6px; }
nav.tabs button {
  border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 600; color: var(--muted); padding: 4px 0;
}
nav.tabs button .ic { font-size: 21px; line-height: 1; filter: grayscale(1); opacity: .7; }
nav.tabs button[aria-current="page"] { color: var(--accent); }
nav.tabs button[aria-current="page"] .ic { filter: none; opacity: 1; }

h2.section { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  margin: 22px 4px 8px; font-weight: 700; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
  box-shadow: var(--shadow); margin-bottom: 12px; }
.card h3 { margin: 0 0 2px; font-size: 16px; letter-spacing: -.01em; }
.card .sub { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.row { display: flex; gap: 10px; align-items: center; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 620px) { .grid-auto { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.spacer { flex: 1; }
.empty { color: var(--muted); font-size: 14px; padding: 8px 0; }
.loading { color: var(--muted); padding: 40px 0; text-align: center; }

/* ---------- дата ---------- */
.daynav { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.daynav b { font-size: 20px; letter-spacing: -.02em; }
.daynav .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); font-size: 20px; line-height: 1; }
.daynav .arrow:disabled { opacity: .35; cursor: default; }

/* ---------- «сейчас» ---------- */
.now { background: linear-gradient(135deg, var(--pink-2), var(--card)); }
.now .state { font-size: 26px; font-weight: 750; letter-spacing: -.02em; line-height: 1.15; }
.now .since { color: var(--ink-2); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 11px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip b { color: var(--ink); }
.stage { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: 14px; }
.stage b { display: block; margin-bottom: 2px; }

/* ---------- кольца ---------- */
.rings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ring { text-align: center; padding: 12px 6px 10px; }
.ring svg { width: 100%; max-width: 104px; height: auto; display: block; margin: 0 auto 6px; }
.ring .val { font-weight: 750; font-size: 17px; letter-spacing: -.01em; }
.ring .lbl { color: var(--muted); font-size: 12px; }
.ring .of { color: var(--ink-2); font-size: 12px; }
.ring-track { stroke: var(--band); }

/* ---------- плитки ---------- */
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.tile .k { color: var(--muted); font-size: 12px; font-weight: 600; }
.tile .v { font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin-top: 2px; }
.tile .v small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tile .d { font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.delta-up { color: var(--good); }
.delta-down { color: var(--crit); }

/* ---------- список событий ---------- */
.events { list-style: none; margin: 0; padding: 0; }
.events li { display: grid; grid-template-columns: 46px 24px 1fr; gap: 6px; padding: 8px 0;
  border-top: 1px solid var(--line); font-size: 14px; }
.events li:first-child { border-top: 0; }
.events .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.events .who { color: var(--muted); font-size: 12px; }
.feeds { display: flex; flex-wrap: wrap; gap: 6px; }
.feeds span { background: var(--card-2); border-radius: 10px; padding: 5px 8px; font-size: 13px; }
.feeds span b { color: var(--ink); }
details.more summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }

/* ---------- графики ---------- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .grid line { stroke: var(--grid); stroke-width: 1; }
.chart .axis-label { fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend i.band { background: var(--band-2); }
.legend i.line { height: 2px; width: 14px; border-radius: 1px; vertical-align: 3px; }
.tip { position: fixed; z-index: 50; pointer-events: none; background: var(--ink); color: var(--bg);
  border-radius: 10px; padding: 7px 10px; font-size: 12px; line-height: 1.35; max-width: 240px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: translate(-50%, calc(-100% - 12px)); }
.tip b { font-weight: 700; }
.tip[hidden] { display: none; }

.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 12px; }

/* ---------- выводы ---------- */
.insight { display: grid; grid-template-columns: 26px 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.insight:first-child { border-top: 0; padding-top: 2px; }
.insight .ic { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.lv-watch .ic { background: var(--warn-bg); color: var(--warn); }
.lv-good .ic { background: var(--good-bg); color: var(--good); }
.lv-info .ic { background: var(--card-2); color: var(--ink-2); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 1px 6px; margin-right: 4px; vertical-align: 1px; }
.tag.watch { background: var(--warn-bg); color: var(--warn); }
.tag.good { background: var(--good-bg); color: var(--good); }
.note-mary { background: linear-gradient(135deg, var(--pink-2), var(--card)); }
.note-mary p { margin: 6px 0 0; white-space: pre-line; }

/* ---------- развитие ---------- */
.cp-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cp-tabs button { flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 8px 12px; text-align: left; }
.cp-tabs button b { display: block; font-size: 15px; }
.cp-tabs button span { font-size: 12px; color: var(--muted); }
.cp-tabs button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.progress { height: 6px; border-radius: 3px; background: var(--band); overflow: hidden; margin-top: 6px; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.skill { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.skill:first-of-type { border-top: 0; }
.skill .src { font-size: 12px; color: var(--muted); margin-top: 2px; }
.skill .src q { quotes: "«" "»"; }
.skill-btns { display: flex; gap: 4px; }
.skill-btns button { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 6px 9px; font-size: 12px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.skill-btns button[aria-pressed="true"].yes { background: var(--good-bg); color: var(--good); border-color: transparent; }
.skill-btns button[aria-pressed="true"].no { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 3px 8px; white-space: nowrap; }
.badge.yes { background: var(--good-bg); color: var(--good); }
.domain { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 0; }
.ahead { display: grid; grid-template-columns: 62px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.ahead:first-child { border-top: 0; }
.ahead .when { font-weight: 750; font-size: 13px; color: var(--ink-2); }
.ahead .when .now-b { display: inline-block; margin-top: 4px; background: var(--accent); color: var(--accent-ink); border-radius: 6px; font-size: 10px; padding: 1px 5px; }
.ahead h4 { margin: 0 0 3px; font-size: 15px; }
.ahead p { margin: 0; font-size: 14px; color: var(--ink-2); }
.timeline-skill { list-style: none; margin: 0; padding: 0; }
.timeline-skill li { position: relative; padding: 0 0 12px 18px; font-size: 14px; }
.timeline-skill li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline-skill li::after { content: ""; position: absolute; left: 6px; top: 17px; bottom: 0; width: 2px; background: var(--line); }
.timeline-skill li:last-child::after { display: none; }
.timeline-skill .dt { color: var(--muted); font-size: 12px; }

/* ---------- здоровье ---------- */
.vac { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.vac:first-child { border-top: 0; }
.doses { display: flex; gap: 5px; margin-top: 6px; }
.doses i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted); }
.doses i.on { background: var(--good); border-color: var(--good); color: #fff; }
.vac .next { text-align: right; font-size: 13px; }
.vac .next b { display: block; font-size: 15px; }

/* ---------- вход ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; text-align: center; }
.login img { width: 112px; height: 112px; border-radius: 50%; border: 3px solid var(--pink); }
.login h1 { margin: 14px 0 4px; font-size: 28px; letter-spacing: -.02em; }
.login p { color: var(--ink-2); margin: 0 auto 18px; max-width: 320px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 13px 20px; font-size: 16px; text-decoration: none; }
.btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }

table.data { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; position: sticky; left: 0; background: var(--card); }
table.data th { color: var(--muted); font-weight: 600; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.chip.warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.chip.warn b { color: var(--warn); }
.chip .muted { font-weight: 500; }
.night-card { gap: 12px; }
.small-btn { font-size: 14px; padding: 9px 14px; margin: 0 0 6px; }
.mbar { position: relative; height: 8px; border-radius: 4px; background: var(--card-2); margin: 6px 0 2px; max-width: 260px; }
.mbar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--band-2); }
.mbar i.done { background: var(--good); }
.mbar b { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--accent); border-radius: 1px; }

/* ---------- быстрая запись, листы, тосты ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(20, 10, 16, .38); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88vh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg); border-radius: 22px 22px 0 0; padding: 8px 16px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(0,0,0,.18); max-width: 760px; margin: 0 auto; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--band-2); margin: 2px auto 8px; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-h h3 { margin: 0; font-size: 18px; }
.sheet .x { border: 0; background: var(--card); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; color: var(--ink-2); }
body.locked { overflow: hidden; }
.qtime { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.qtime input[type=time] { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px; padding: 6px 10px; font: inherit; font-size: 13px; }
.qgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.qbtn { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px 6px; display: flex; flex-direction: column;
  align-items: center; gap: 2px; min-height: 84px; }
.qbtn .qi { font-size: 26px; line-height: 1.1; }
.qbtn b { font-size: 14px; }
.qbtn span:not(.qi) { font-size: 11px; color: var(--muted); }
.qbtn.hot { background: var(--pink-2); border-color: var(--accent); }
.qbtn:active { transform: scale(.97); }
.qblock { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.qblock > b { display: block; margin-bottom: 8px; font-size: 14px; }
.qblock input[type=text], .qblock input[type=number], .qblock textarea, .qblock select, .tog input[type=time] {
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 16px; min-width: 0; }
.qblock textarea { width: 100%; resize: vertical; }
.qblock .row input { flex: 1; width: 100%; }
.qrow2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qrow2 .qblock { margin-bottom: 10px; }
.chip.inp input { width: 64px; border: 0; background: transparent; padding: 0; font-size: 14px; }
button.chip { cursor: pointer; }
.linkbtn { border: 0; background: none; color: var(--accent); font-weight: 700; padding: 0 4px; }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(158px + env(safe-area-inset-bottom)); z-index: 50; max-width: 520px; margin: 0 auto;
  background: var(--ink); color: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; gap: 10px; align-items: center;
  justify-content: space-between; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast .linkbtn { color: var(--pink); white-space: nowrap; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.tog:first-of-type { border-top: 0; }
.tog input[type=checkbox] { width: 44px; height: 26px; appearance: none; -webkit-appearance: none; background: var(--band-2); border-radius: 13px; position: relative; flex: 0 0 auto; transition: background .15s; }
.tog input[type=checkbox]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.tog input[type=checkbox]:checked { background: var(--good); }
.tog input[type=checkbox]:checked::after { left: 21px; }
.divider { height: 1px; background: var(--line); margin: 6px 0; }
.tip-card { background: var(--pink-2); }
@media (max-width: 480px) { .qrow2 { grid-template-columns: 1fr; gap: 0; } }
.qblock .row .btn { flex: 0 0 auto; }

/* ---------- разбор вёрстки 13.09.2026: узкие экраны, RU/EN ---------- */
.nowrap { white-space: nowrap; }
.ring .of { line-height: 1.35; }
.note-mary p.clamp:not(.open) { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
:lang(en) .skill .src q { quotes: "\201C" "\201D"; }
.ahead { grid-template-columns: 1fr; gap: 2px; }
.ahead .when .now-b { margin: 0 0 0 4px; vertical-align: 1px; }
@media (max-width: 520px) {
  .skill { grid-template-columns: 1fr; gap: 6px; }
  .skill > .skill-btns, .skill > .badge { justify-self: start; }
}
.divider + .tog { border-top: 0; }
.tog > span:last-child { white-space: nowrap; }
.tog input[type=time] { padding: 6px 6px; font-size: 15px; }
.qblock input[type=time] { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px;
  padding: 8px 10px; font: inherit; font-size: 16px; min-width: 0; }
