/* 내 한국 생활 달력: https://obyeollab.com/my/ . Design pass 3 "paper and ink": the OBL-P3 block below is the shared kit
   (copied by kiip_prep/tools/pass3-kit/copy.js, never edited here); everything after it is this service's own. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
/* @kit-anchor: the OBL-P3 block goes right after this line */

/* === OBL-P3:START v1 sha256:e7c67b5d4eb4c42d (design pass 3 kit; canonical kiip_prep/tools/pass3-kit/pass3.css; do not edit copies, run copy.js) === */
/* Design pass 3 kit, canonical source (docs/design-pass3-2026-10-31.md). tools/pass3-kit/copy.js puts this file, between the
   OBL-P3 markers it adds, into each site's main stylesheet; copies must stay byte-identical (each repo's tests check the hash).
   Everything is opt-in: tokens and Korean typesetting apply under .p3 (class on <html> or <body>), components are p3-* classes.
   No gradients and no @font-face here: Pretendard comes from https://obyeollab.com/fonts/pretendard/ through the boot script
   (font-boot.js, OBL-P3-FONTBOOT) with font-display: optional; the same script defines "Pretendard Fallback", the metric-adjusted
   system face that --font lists right after Pretendard (local() only, nothing to download). Motion only on transform/opacity. */

/* ---- tokens: paper and ink (AA: text 15.8 / 8.7 / 6.0 on the canvas; dark 15.8 / 10.1 / 7.2) ---- */
.p3 {
  --font: "Pretendard Variable", Pretendard, "Pretendard Fallback", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI Variable Text", "Segoe UI", Roboto, "Noto Sans KR", "Noto Sans CJK KR", "Malgun Gothic", "Noto Sans", sans-serif;
  --c-bg: #f6f4ef; --c-surface: #fffdf8; --c-surface-2: #efece4; --c-surface-3: #e6e2d8;
  --c-line: #e2ddd2; --c-line-strong: #857e70;
  --c-text: #1c1a16; --c-text-2: #4a453c; --c-text-3: #625c50;
  --c-ok-soft: #e7f2e9; --c-bad-soft: #f9e8e8;
  --c-tint: #bfcbef;
  --sheet: 0 0 0 1px rgba(28, 26, 22, .06), 0 1px 2px rgba(28, 26, 22, .06);
  --r-sheet: 14px;
  --t-mid: 180ms;
}
@media (prefers-color-scheme: dark) {
  .p3 {
    --c-bg: #151412; --c-surface: #1e1c19; --c-surface-2: #25231f; --c-surface-3: #2f2c27;
    --c-line: #36332d; --c-line-strong: #7f796d;
    --c-text: #f1ede5; --c-text-2: #c6bfb2; --c-text-3: #a8a194;
    --c-ok-soft: #16301f; --c-bad-soft: #371a1d;
    --c-tint: #424963;
    --sheet: 0 0 0 1px var(--c-line);
  }
}
/* illustration tint per service: data-svc on any element (a tile, a section, <body>) */
[data-svc="brand"], [data-svc="tools"] { --c-tint: #bfcbef; } [data-svc="kiip"] { --c-tint: #bfcaeb; } [data-svc="topik"] { --c-tint: #cdc4ef; }
[data-svc="eps"] { --c-tint: #b6d2cc; } [data-svc="life"] { --c-tint: #edc0c5; } [data-svc="drive"] { --c-tint: #e4caae; }
[data-svc="kdrama"] { --c-tint: #dcbfde; } [data-svc="games"] { --c-tint: #edbece; } [data-svc="leadhive"] { --c-tint: #c9cced; }
@media (prefers-color-scheme: dark) {
  [data-svc="brand"], [data-svc="tools"] { --c-tint: #424963; } [data-svc="kiip"] { --c-tint: #414863; } [data-svc="topik"] { --c-tint: #4e4763; }
  [data-svc="eps"] { --c-tint: #335750; } [data-svc="life"] { --c-tint: #664145; } [data-svc="drive"] { --c-tint: #664d2e; }
  [data-svc="kdrama"] { --c-tint: #58455a; } [data-svc="games"] { --c-tint: #663e4c; } [data-svc="leadhive"] { --c-tint: #464863; }
}

/* ---- Korean typesetting: Hangul breaks between words only; a word longer than the line still breaks; scripts without spaces
   break as they need, but Korean inside them (lang="ko" or .p3-ko) keeps whole words. Headings balance, text wraps "pretty". ---- */
.p3 { word-break: keep-all; overflow-wrap: anywhere; }
html:is(:lang(zh), :lang(ja), :lang(th), :lang(km), :lang(my)).p3, html:is(:lang(zh), :lang(ja), :lang(th), :lang(km), :lang(my)) .p3 { word-break: normal; }
.p3 [lang="ko"], .p3 .p3-ko { word-break: keep-all; }
.p3 :is(h1, h2, h3) { text-wrap: balance; }
.p3 :is(p, li) { text-wrap: pretty; }

/* ---- spot illustrations: one hand. 64x64 grid, 2px ink line (thin 1.5, bold 3), round caps; one flat tint mass set 3px off ---- */
.p3-art { display: block; flex: none; width: 56px; height: 56px; overflow: visible; transition: transform var(--t-mid, 180ms) cubic-bezier(.2, 0, 0, 1); }
.p3-art .ink { fill: none; stroke: var(--c-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p3-art .ink.paper { fill: var(--c-surface); }
.p3-art .thin { stroke-width: 1.5; }
.p3-art .bold { stroke-width: 3; }
.p3-art .dots { stroke-width: 3.4; }
.p3-art .solid { fill: var(--c-text); }
.p3-art .tint { fill: var(--c-tint); }
:is(a, button):hover > .p3-art, :is(a, button):hover > .p3-art-wrap > .p3-art { transform: rotate(-4deg) scale(1.04); }

/* ---- surfaces: a sheet of paper, a printed rule over a section title, a printed box, a receipt ---- */
.p3-sheet { border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); }
.p3-rule { padding-top: 12px; border-top: 2px solid var(--c-text); letter-spacing: -.02em; }
.p3-rule--thin { border-top-width: 1px; }
.p3-print { border: 1px solid var(--c-text); border-radius: 2px; background: var(--c-surface); }
.p3-receipt { border-radius: 2px; background: var(--c-surface); box-shadow: var(--sheet); padding-bottom: 22px; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 95% 100%, 90% calc(100% - 6px), 85% 100%, 80% calc(100% - 6px), 75% 100%, 70% calc(100% - 6px), 65% 100%, 60% calc(100% - 6px), 55% 100%, 50% calc(100% - 6px), 45% 100%, 40% calc(100% - 6px), 35% 100%, 30% calc(100% - 6px), 25% 100%, 20% calc(100% - 6px), 15% 100%, 10% calc(100% - 6px), 5% 100%, 0 calc(100% - 6px)); }
.p3-receipt__rule { border: 0; border-top: 1px dashed var(--c-line-strong); margin: 10px 0; }
.p3-press { transition: transform var(--t-fast, 120ms) cubic-bezier(.2, 0, 0, 1); -webkit-tap-highlight-color: transparent; }
.p3-press:not([disabled]):active { transform: scale(.985); }

/* ---- data bars: a square track and a fill scaled with transform: scaleX(share) (set by the page; no width animation) ---- */
.p3-bar__track { display: block; height: 8px; background: var(--c-surface-3); overflow: hidden; }
.p3-bar__fill { display: block; height: 100%; background: var(--c-tint); transform-origin: 0 50%; }
.p3-bar__fill--accent { background: var(--c-accent); }

/* ---- answer choices: an OMR bubble that fills when chosen; after grading the grader's hand circle round the right answer and an
   ink slash across a wrong pick (shape + colour + the page's hidden words, never colour alone). Put .p3-opt on the choice (the
   positioned box) and .p3-bubble on its number; states .is-chosen / .is-right / .is-wrong on .p3-opt. --p3-bubble-x = centre of
   the bubble from the choice's padding edge (default 25px). ---- */
.p3-opt { position: relative; }
.p3-opt .p3-bubble { position: relative; isolation: isolate; display: inline-grid; place-items: center; flex: none; width: 20px; height: 28px; padding: 0;
  border: 1.5px solid var(--c-text-2); border-radius: 50%; background: none; color: var(--c-text-2); font-size: .8125rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.p3-opt .p3-bubble::before { content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: 50%; background: var(--p3-fill, var(--c-accent)); opacity: 0; }
.p3-opt.is-chosen .p3-bubble { --p3-fill: var(--c-accent); border-color: var(--c-accent); background: none; color: var(--c-on-accent, #fff); }
.p3-opt.is-right .p3-bubble { --p3-fill: var(--c-ok); border-color: var(--c-ok); background: none; color: var(--c-surface); }
.p3-opt.is-wrong .p3-bubble { --p3-fill: var(--c-bad); border-color: var(--c-bad); background: none; color: var(--c-surface); }
.p3-opt:is(.is-chosen, .is-right, .is-wrong) .p3-bubble::before { opacity: 1; animation: p3-fill 160ms cubic-bezier(.2, 0, 0, 1) both; }
.p3-opt.is-right { border-color: var(--c-ok); background: var(--c-ok-soft); }
.p3-opt.is-wrong { border-color: var(--c-bad); background: var(--c-bad-soft); }
.p3-opt:is(.is-right, .is-wrong)::after { content: ""; position: absolute; left: calc(var(--p3-bubble-x, 25px) - 24px); top: 50%; width: 48px; height: 48px; margin-top: -24px;
  background: currentColor; pointer-events: none; animation: p3-mark 180ms cubic-bezier(.2, 0, 0, 1) both; }
.p3-opt.is-right::after { color: var(--c-ok); -webkit-mask: var(--p3-circle) center / contain no-repeat; mask: var(--p3-circle) center / contain no-repeat; }
.p3-opt.is-wrong::after { color: var(--c-text); -webkit-mask: var(--p3-slash) center / contain no-repeat; mask: var(--p3-slash) center / contain no-repeat; }
:root {
  --p3-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 24.5C7.5 14 15 6.5 24 7c9.5.5 15 8 13 16.5-2 9.5-11.5 14-20 11.5C11 33 7.5 28 8.5 21.5'/%3E%3C/svg%3E");
  --p3-slash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M9 38 36 6'/%3E%3C/svg%3E");
}

/* ---- motion: transform and opacity only ---- */
.p3-in { animation: p3-in 200ms cubic-bezier(.2, 0, 0, 1) both; }
@keyframes p3-fill { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes p3-mark { from { opacity: 0; transform: scale(.82) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes p3-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes p3-pulse { from { transform: scale(1); } to { transform: scale(1.18); } }
@media (prefers-reduced-motion: reduce) {
  .p3-art, .p3-press, .p3-in, .p3-opt::after, .p3-opt .p3-bubble::before { transition: none !important; animation: none !important; }
}
/* === OBL-P3:END === */

/* ================= 내 한국 생활 달력 ================= */
.p3 {
  --c-accent: #2f4a8a; --c-accent-hover: #233a70; --c-accent-soft: #e3e8f6; --c-on-accent: #ffffff; --c-focus: var(--c-accent);
  --c-ok: #13753d; --c-bad: #b3261e; --c-warn: #8a5a00; --c-warn-soft: #f3eddf;
  --gutter: 16px;
  font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--c-text); background: var(--c-bg);
  min-height: 100vh; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
[data-svc="my"] { --c-tint: #c9d3f0; }
@media (prefers-color-scheme: dark) {
  .p3 { --c-accent: #a9bdf5; --c-accent-hover: #c6d4fa; --c-accent-soft: #22293d; --c-on-accent: #151412; --c-ok: #6fd69a; --c-bad: #ff8a8a; --c-warn: #f2c063; --c-warn-soft: #33270f; }
  [data-svc="my"] { --c-tint: #3d4766; }
}
/* section colours (brand palette): --s = ink for text and marks (AA on the surface), --s-soft = the tint behind chips */
[data-sec="stay"] { --s: #2f4a8a; --s-soft: #e3e8f6; } [data-sec="home"] { --s: #8a4b12; --s-soft: #f5e8da; }
[data-sec="work"] { --s: #12665c; --s-soft: #ddefeb; } [data-sec="car"] { --s: #4b6510; --s-soft: #ecf0dd; }
[data-sec="health"] { --s: #a3243b; --s-soft: #f8e3e6; } [data-sec="kids"] { --s: #8a3a72; --s-soft: #f4e2ef; }
[data-sec="study"] { --s: #5b3fa0; --s-soft: #ebe5f7; } [data-sec="life"] { --s: #6b5a1c; --s-soft: #f1ecd8; }
@media (prefers-color-scheme: dark) {
  [data-sec="stay"] { --s: #a9bdf5; --s-soft: #22293d; } [data-sec="home"] { --s: #f0b98a; --s-soft: #3a2a1c; }
  [data-sec="work"] { --s: #7fd6c8; --s-soft: #17312d; } [data-sec="car"] { --s: #b9d36e; --s-soft: #283019; }
  [data-sec="health"] { --s: #ff9fb0; --s-soft: #3a1e24; } [data-sec="kids"] { --s: #f0a6d8; --s-soft: #34202f; }
  [data-sec="study"] { --s: #c7b5ff; --s-soft: #2a2340; } [data-sec="life"] { --s: #e6cf7a; --s-soft: #322c17; }
}
.p3 a { color: var(--c-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.p3 a:hover { color: var(--c-accent-hover); }
.p3 :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
.my-wrap { width: 100%; max-width: 74rem; margin-inline: auto; padding-inline: var(--gutter); }
.my-small { font-size: .875rem; color: var(--c-text-3); max-width: 46rem; }
.my-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }

/* ---- header / footer ---- */
.my-head { border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.my-head__in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 56px; padding-block: 6px; }
.my-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--c-text) !important; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.my-brand__mark { width: 28px; height: 28px; flex: none; }
.my-brand small { font-weight: 400; color: var(--c-text-3); font-size: .8125rem; letter-spacing: 0; }
.my-navwrap { order: 3; flex: 1 0 100%; min-width: 0; margin-inline: calc(var(--gutter) * -1); }
@media (min-width: 64rem) { .my-navwrap { order: 0; flex: 1 1 auto; margin-inline: 0; } }
.my-nav { display: flex; gap: 2px; margin: 0; padding: 0 var(--gutter); list-style: none; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 64rem) { .my-nav { padding: 0; justify-content: flex-end; } }
.my-nav::-webkit-scrollbar { display: none; }
.my-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap; color: var(--c-text-2); text-decoration: none; font-size: .9375rem; border-radius: 8px; }
.my-nav a[aria-current="page"] { color: var(--c-text); font-weight: 700; box-shadow: inset 0 -2px 0 var(--c-accent); border-radius: 0; }
.my-nav a:hover { color: var(--c-accent); }
.my-foot { margin-top: 48px; padding-block: 28px 40px; border-top: 1px solid var(--c-line); color: var(--c-text-3); font-size: .875rem; }
.my-foot ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 10px 0; padding: 0; list-style: none; }
.my-foot li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--c-text-2); }
.my-foot p { margin: 6px 0; max-width: 52rem; }

/* ---- hero, notice ---- */
.my-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 28px 12px; }
.my-kicker { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--c-accent); }
.my-hero h1 { margin: 0; font-size: clamp(1.875rem, 1.3rem + 2.8vw, 3.25rem); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; }
.my-hero__lead { max-width: 42rem; margin: 12px 0 0; color: var(--c-text-2); font-size: 1.0625rem; }
.my-hero .p3-art { width: 104px; height: 104px; margin-top: 6px; display: none; flex: none; }
@media (min-width: 40rem) { .my-hero .p3-art { display: block; } }
.my-safe { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; margin: 8px 0 20px; padding: 12px 14px; border: 1px solid var(--c-text); border-left-width: 4px; border-radius: 2px; background: var(--c-surface); max-width: 52rem; }
.my-safe__mark { width: 22px; height: 22px; margin-top: 2px; color: var(--c-accent); }
.my-safe p { margin: 0; font-size: .9375rem; line-height: 1.6; }
.my-safe p + p { grid-column: 2; color: var(--c-text-2); font-size: .875rem; }
.my-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .9375rem; }
.my-lang select { min-height: 44px; padding: 0 10px; border: 1px solid var(--c-line-strong); border-radius: 10px; background: var(--c-surface); }
.my-ai { margin: 0 0 14px; padding: 8px 12px; border-radius: 10px; background: var(--c-warn-soft); color: var(--c-text); font-size: .875rem; max-width: 52rem; }
.my-ai button { margin-left: 6px; min-height: 36px; border: 0; background: none; color: var(--c-accent); text-decoration: underline; cursor: pointer; font-size: .875rem; }

/* ---- buttons, fields ---- */
.my-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--c-line-strong); border-radius: 12px; background: var(--c-surface); color: var(--c-text) !important; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.3; }
.my-btn:hover { border-color: var(--c-accent); color: var(--c-accent) !important; }
.my-btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent) !important; }
.my-btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-on-accent) !important; }
.my-btn--sm { min-height: 44px; padding: 0 12px; font-size: .9375rem; }
.my-btn--danger { color: var(--c-bad) !important; }
.my-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.my-field { display: block; margin: 14px 0 0; }
.my-field__l { display: block; margin: 0 0 6px; font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.my-field__h { display: block; margin: 6px 0 0; font-size: .8125rem; color: var(--c-text-3); line-height: 1.5; }
.my-in { width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--c-line-strong); border-radius: 12px; background: var(--c-surface); color: var(--c-text); font-size: 1rem; }
.my-in:focus { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); outline: none; }
.my-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 8px 0 0; font-size: .9375rem; cursor: pointer; }
.my-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--c-accent); flex: none; }
.my-radios { margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.my-radios > legend { padding: 0; margin: 0 0 6px; font-weight: 600; font-size: .9375rem; }
.my-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.my-seg__o { position: relative; display: inline-flex; }
.my-seg__o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.my-seg__o span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-surface); font-size: .9375rem; font-weight: 600; color: var(--c-text-2); line-height: 1.3; }
.my-seg__o input:checked + span { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.my-seg__o input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 2px; }

/* ---- the app layout ---- */
html[data-my-wait] .my-app, html[data-my-wait] .pr { visibility: hidden; animation: my-show 0s 3s forwards; }
@keyframes my-show { to { visibility: visible; } }
.my-app { display: grid; gap: 20px; align-items: start; }
@media (min-width: 64rem) { .my-app { grid-template-columns: 23rem minmax(0, 1fr); gap: 32px; } .my-side { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; scrollbar-width: thin; } }
.my-side { min-width: 0; display: grid; gap: 14px; }
/* a returning visitor on a phone sees the calendar first, the form below it */
@media (max-width: 63.99rem) { html[data-my-has] .my-main { order: -1; } }
.my-panel { padding: 16px; }
.my-panel h2 { margin: 0; font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.my-panel > p { margin: 6px 0 0; color: var(--c-text-2); font-size: .9375rem; }
.my-group { margin: 16px 0 0; border-top: 1px solid var(--c-line); }
.my-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; cursor: pointer; font-weight: 700; list-style: none; }
.my-group > summary::-webkit-details-marker { display: none; }
.my-group > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--c-text-2); border-bottom: 2px solid var(--c-text-2); transform: rotate(45deg); transition: transform var(--t-mid); margin-right: 4px; }
.my-group[open] > summary::after { transform: rotate(225deg); }
.my-group__body { padding-bottom: 8px; }
.my-kid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-top: 10px; }
.my-kid .my-field { margin: 0; }
.my-privacy { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--c-line-strong); color: var(--c-text-3); font-size: .8125rem; line-height: 1.5; }

/* ---- timeline ---- */
.my-main { min-width: 0; }
.tl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.tl-head h2 { margin: 0; font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; }
.tl-sum { margin: 2px 0 0; color: var(--c-text-3); font-size: .875rem; }
.tl-views { display: inline-flex; border: 1px solid var(--c-line-strong); border-radius: 12px; overflow: hidden; }
.tl-views button { min-height: 44px; min-width: 64px; padding: 0 14px; border: 0; background: var(--c-surface); font-weight: 600; color: var(--c-text-2); cursor: pointer; }
.tl-views button[aria-pressed="true"] { background: var(--c-accent); color: var(--c-on-accent); }
.tl-filter { display: flex; gap: 6px; margin: 0 calc(var(--gutter) * -1) 14px; padding: 2px var(--gutter) 6px; overflow-x: auto; scrollbar-width: none; list-style: none; }
.tl-filter::-webkit-scrollbar { display: none; }
@media (min-width: 64rem) { .tl-filter { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; } }
.tl-filter button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--c-line-strong); border-radius: 999px; background: var(--c-surface); color: var(--c-text-2); font-size: .875rem; font-weight: 600; white-space: nowrap; cursor: pointer; }
.tl-filter button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--s, var(--c-text-3)); }
.tl-filter button[data-sec="all"]::before { display: none; }
.tl-filter button[aria-pressed="true"] { border-color: var(--s, var(--c-accent)); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--s, var(--c-accent)); background: var(--s-soft, var(--c-accent-soft)); }
.tl-filter b { font-weight: 700; color: var(--c-text-3); font-size: .8125rem; }
.tl { margin: 0; padding: 0; list-style: none; }
.tl-month { margin: 22px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--c-line); font-size: 1rem; font-weight: 800; letter-spacing: -.02em; color: var(--c-text-2); }
.tl-month:first-child { margin-top: 0; }
.it { position: relative; margin: 0 0 8px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); border-left: 4px solid var(--s); }
.it__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; padding: 12px 8px 10px 12px; }
.it__chip { display: inline-flex; align-items: center; justify-content: center; width: 4.75rem; min-height: 30px; padding: 2px 8px; border-radius: 8px; background: var(--s-soft); color: var(--s); font-size: .8125rem; font-weight: 800; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.it[data-tone="now"] .it__chip { background: var(--s); color: var(--c-surface); }
.it[data-tone="past"] .it__chip { background: var(--c-bad-soft); color: var(--c-bad); }
.it[data-tone="done"] .it__chip { background: var(--c-ok-soft); color: var(--c-ok); }
.it[data-tone="done"] .it__title { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--c-text-3); }
.it__when { margin: 0; font-size: .8125rem; color: var(--c-text-3); font-weight: 600; }
.it__title { margin: 1px 0 0; font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.it__meta { margin: 2px 0 0; font-size: .8125rem; color: var(--s); font-weight: 600; }
.it__done { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-height: 44px; min-width: 44px; justify-content: center; font-size: .75rem; color: var(--c-text-2); cursor: pointer; }
.it__done input { width: 22px; height: 22px; margin: 0; accent-color: var(--s); }
.it__more { margin: 0 12px; border-top: 1px dashed var(--c-line); }
.it__more > summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--c-text-2); list-style: none; }
.it__more > summary::-webkit-details-marker { display: none; }
.it__more > summary::after { content: ""; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.it__more[open] > summary::after { transform: rotate(225deg); }
.it__body { padding: 0 0 12px; font-size: .9375rem; }
.it__body h4 { margin: 8px 0 2px; font-size: .8125rem; font-weight: 700; color: var(--c-text-3); }
.it__body p { margin: 0; }
.it__notes { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--c-surface-2); font-size: .875rem; color: var(--c-text-2); }
.it__notes p + p { margin-top: 4px; }
.it__src { margin: 4px 0 0; padding-left: 18px; font-size: .8125rem; color: var(--c-text-2); }
.it__src li { margin: 2px 0; }
.it__src q { display: block; color: var(--c-text-3); }
.it__go { margin-top: 10px; }
.it-in { animation: my-in .24s ease-out both; }
@keyframes my-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.und { margin-top: 24px; }
.und h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 800; color: var(--c-text-2); }
.tl-empty { padding: 20px 16px; border: 1px dashed var(--c-line-strong); border-radius: var(--r-sheet); color: var(--c-text-2); text-align: center; }

/* ---- month view ---- */
.mv { padding: 12px; }
.mv__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.mv__bar h3 { margin: 0; font-size: 1.125rem; font-weight: 800; }
.mv__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.mv__wd { padding: 4px 0; text-align: center; font-size: .75rem; font-weight: 700; color: var(--c-text-3); }
.mv__wd:first-child, .mv__d.is-rest .mv__n { color: var(--c-bad); }
.mv__d { min-width: 0; }
.mv__d button { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; width: 100%; min-height: 52px; padding: 6px 0 4px; border: 1px solid transparent; border-radius: 10px; background: transparent; cursor: pointer; color: var(--c-text); }
.mv__d button:disabled { cursor: default; }
.mv__d.is-today button { border-color: var(--c-accent); }
.mv__d button[aria-pressed="true"] { background: var(--c-accent-soft); border-color: var(--c-accent); }
.mv__n { font-size: .875rem; font-weight: 600; line-height: 1; }
.mv__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 34px; min-height: 7px; }
.mv__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--s); }
.mv__dots i.is-start { background: transparent; box-shadow: inset 0 0 0 1.5px var(--s); }
.mv__day { margin-top: 12px; }

/* ---- side panels: .ics, my data ---- */
.my-ics .my-btn--primary { width: 100%; }
.my-stale { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: var(--c-warn-soft); color: var(--c-text); font-size: .875rem; font-weight: 600; }
.my-secpick { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 8px 0 0; }
.my-secpick .my-check { margin: 0; }
.my-msg { min-height: 1.5em; margin: 8px 0 0; font-size: .875rem; color: var(--c-ok); }
dialog.my-dialog { max-width: 26rem; padding: 20px; border: 1px solid var(--c-line-strong); border-radius: 14px; background: var(--c-surface); color: var(--c-text); }
dialog.my-dialog::backdrop { background: rgba(0, 0, 0, .45); }

/* ---- landing and guides ---- */
.my-card { padding: 16px; margin: 0 0 20px; max-width: 52rem; }
html:not([data-my-has]) .my-card[data-home] { display: none; }
html[data-my-has] .my-card[data-home] { min-height: 292px; }
html[data-my-has] .my-cta--new { display: none; }
.my-card h2 { margin: 0 0 8px; font-size: 1.125rem; font-weight: 800; }
.my-card ol { margin: 0; padding: 0; list-style: none; }
.my-card li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; padding: 8px 0; border-top: 1px solid var(--c-line); align-items: center; }
.my-card li:first-child { border-top: 0; }
.my-card .it__chip { grid-row: span 2; }
.my-card li b { font-size: .9375rem; line-height: 1.35; }
.my-card li span { font-size: .8125rem; color: var(--c-text-3); }
.my-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.my-art { max-width: 52rem; }
.my-art h2 { margin: 36px 0 10px; font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; }
.my-art h3 { margin: 22px 0 6px; font-size: 1.0625rem; font-weight: 800; }
.my-art p, .my-art li { max-width: 46rem; }
.my-art ul, .my-art ol { padding-left: 1.25rem; }
.my-months { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .my-months { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.my-months > li { padding: 14px 16px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); }
.my-months h3 { margin: 0 0 6px; }
.my-months ul { margin: 0; padding-left: 1.1rem; font-size: .9375rem; }
.my-months li li { margin: 4px 0; }
.my-tag { display: inline-block; margin-right: 4px; padding: 0 6px; border-radius: 6px; background: var(--s-soft); color: var(--s); font-size: .75rem; font-weight: 700; vertical-align: 1px; }
.my-sources ol { padding-left: 1.25rem; font-size: .875rem; color: var(--c-text-2); }
.my-sources li { margin: 6px 0; }
.my-sources q { display: block; color: var(--c-text-3); }
.my-feat { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 48rem) { .my-feat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.my-feat li { padding: 14px; border-radius: var(--r-sheet); background: var(--c-surface); box-shadow: var(--sheet); }
.my-feat b { display: block; margin-bottom: 4px; }
.my-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.my-table th, .my-table td { padding: 8px 6px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.my-tablewrap { overflow-x: auto; }
.ad-slot { margin: 28px 0; }

/* ---- print view ---- */
.pr { max-width: 46rem; margin: 0 auto; padding: 20px var(--gutter); }
.pr h1 { margin: 0 0 4px; font-size: 1.5rem; }
.pr table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.pr th, .pr td { padding: 6px 4px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.pr td:first-child { white-space: nowrap; }
@media print {
  .my-head, .my-foot, .no-print, .ad-slot, ins.adsbygoogle { display: none !important; }
  .p3 { background: #fff; color: #000; }
  .pr { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .it-in { animation: none; } .my-group > summary::after { transition: none; } }
