:root {
  --tm-paper: #f6f4ef;
  --tm-white: #fff;
  --tm-ink: #14222c;
  --tm-night: #101923;
  --tm-muted: #505f65;
  --tm-teal: #08766e;
  --tm-mint: #b8edcf;
  --tm-rule: #d8ded7;
  --tm-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --tm-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
body.tm-home { margin: 0; background: var(--tm-paper); color: var(--tm-ink); font-family: var(--tm-sans); }
.tm-home *, .tm-masthead *, .tm-foot * { box-sizing: border-box; }
.tm-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.tm-home a { color: var(--tm-teal); text-underline-offset: .19em; }
.tm-home a:focus-visible, .tm-masthead :is(a,input,button):focus-visible, .tm-foot a:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px;
}
.tm-skip:focus { position: fixed !important; top: 8px; left: 8px; z-index: 100000; background: white; color: var(--tm-night); }
.tm-masthead { margin-block: 0 !important; color: #fff; background: var(--tm-night); border-bottom: 3px solid #3f9d81; font-family: var(--tm-sans); }
.tm-bar { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; }
.tm-masthead a, .tm-foot a { color: inherit; text-decoration: none; }
.tm-masthead .tm-brand, .tm-foot .tm-brand {
  display: inline-flex; gap: 9px; align-items: center; flex: none; color: #fff;
  font-size: 1.28rem; font-weight: 780; letter-spacing: -.04em;
}
.tm-brand-icon {
  display: grid; place-items: center; width: 32px; height: 30px; border: 1px solid #507969;
  border-radius: 5px; background: #1e342f; color: var(--tm-mint); font: 700 .88rem/1 var(--tm-mono);
}
.tm-navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px; }
.tm-navigation a { padding: 8px 0; color: #e3ebe9; font-size: .88rem; font-weight: 650; }
.tm-navigation a:hover, .tm-foot a:hover { color: var(--tm-mint); text-decoration: underline; }
.tm-search { display: flex; margin: 0; gap: 4px; }
.tm-search input, .tm-search button {
  padding: 8px 10px; border: 1px solid #51616c; border-radius: 5px; font: 600 .85rem var(--tm-sans);
}
.tm-search input { width: 135px; min-width: 0; background: #1b2834; color: #fff; }
.tm-search input::placeholder { color: #c0cbd0; }
.tm-search button { color: var(--tm-night); background: var(--tm-mint); border-color: var(--tm-mint); cursor: pointer; }
.tm-search button:hover { background: #daf9e8; }
.tm-edition { padding-block: 28px 52px; }
.tm-intro { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 22px; }
.tm-intro h1, .tm-edition h2, .tm-edition h3 { font-family: var(--tm-sans); color: inherit; }
.tm-intro h1 { margin: 0; font-size: clamp(2.15rem, 4.5vw, 3.8rem); line-height: 1.05; letter-spacing: -.065em; font-weight: 810; }
.tm-intro p { margin: 8px 0 0; color: var(--tm-muted); font-size: clamp(.98rem, 1.6vw, 1.12rem); line-height: 1.5; }
.tm-home .tm-jump { flex: none; font-size: .88rem; font-weight: 740; }
.tm-lead-grid, .tm-index { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(232px, 1fr); gap: 20px; }
.tm-lead-grid { margin-bottom: 34px; }
.tm-lead-grid > :only-child { grid-column: 1 / -1; }
.tm-lead { background: var(--tm-night); color: #f5fbf9; border-radius: 10px; overflow: hidden; }
.tm-lead-with-image { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.tm-lead-copy { padding: clamp(20px, 3vw, 36px); }
.tm-kicker { color: var(--tm-teal); font: 700 .74rem/1.4 var(--tm-mono); letter-spacing: .035em; text-transform: uppercase; }
.tm-lead .tm-kicker { margin: 0 0 9px; color: var(--tm-mint); }
.tm-lead .tm-kicker span { display: inline-block; width: 7px; height: 7px; margin-right: 3px; border-radius: 50%; background: currentColor; }
.tm-lead h2 { margin: 0; font-size: clamp(1.5rem, 2.65vw, 2.65rem); line-height: 1.1; letter-spacing: -.05em; }
.tm-lead h2 a { color: #fff; text-decoration: none; }
.tm-lead h2 a:hover { text-decoration: underline; }
.tm-lead-copy > p:not(.tm-kicker) { margin: 12px 0 0; color: #cfdbdf; line-height: 1.55; }
.tm-home .tm-lead-link { display: inline-block; margin-top: 15px; color: var(--tm-mint); font-weight: 740; font-size: .92rem; }
.tm-figure { margin: 14px 14px 14px 0; overflow: hidden; border: 1px solid #496761; border-radius: 7px; background: #dcece6; }
.tm-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 8px; padding: 8px 10px; background: #213934; color: #e2f6ed; font: 650 .72rem/1.4 var(--tm-mono); }
.tm-figure figcaption a { color: var(--tm-mint); }
.tm-figure img { display: block; width: 100%; max-height: 240px; height: auto; object-fit: contain; }
.tm-tracks, .tm-topic-box, .tm-rss-box { border: 1px solid var(--tm-rule); border-radius: 9px; background: #fff; }
.tm-tracks { padding: 12px 15px 5px; }
.tm-tracks h2, .tm-topic-box h2, .tm-rss-box h2 { margin: 0; font-size: 1.03rem; font-weight: 760; letter-spacing: -.025em; }
.tm-home .tm-track {
  position: relative; display: grid; gap: 3px; padding: 10px 22px 10px 0;
  margin-top: 4px; border-top: 1px solid var(--tm-rule); color: var(--tm-ink); text-decoration: none;
}
.tm-track strong { font-size: .93rem; line-height: 1.25; }
.tm-track-arrow { position: absolute; top: 50%; right: 0; transform: translateY(-50%); color: var(--tm-teal); }
.tm-home .tm-track:hover strong, .tm-home .tm-entry h3 a:hover { color: var(--tm-teal); text-decoration: underline; }
.tm-index { align-items: start; }
.tm-latest > h1, .tm-latest > h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.045em; line-height: 1.15; }
.tm-feed { border-top: 2px solid var(--tm-ink); }
.tm-entry { min-width: 0; display: grid; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--tm-rule); }
.tm-entry-with-image { grid-template-columns: minmax(0, 1fr) clamp(64px, 11vw, 126px); align-items: center; }
.tm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--tm-muted); font: 650 .73rem/1.5 var(--tm-mono); }
.tm-meta .tm-category { text-decoration: none; }
.tm-meta .tm-category:hover { text-decoration: underline; }
.tm-entry h3 { margin: 4px 0 0; font-size: clamp(1.04rem, 2vw, 1.35rem); line-height: 1.24; letter-spacing: -.028em; overflow-wrap: anywhere; }
.tm-entry h3 a { color: var(--tm-ink); text-decoration: none; }
.tm-entry p { margin: 5px 0 0; color: var(--tm-muted); font-size: .91rem; line-height: 1.45; }
.tm-thumb { overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: #e4eee9; }
.tm-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-latest .nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tm-latest .page-numbers { padding: 7px 10px; border: 1px solid var(--tm-rule); border-radius: 5px; }
.tm-latest .page-numbers.current { border-color: var(--tm-teal); font-weight: 700; }
.tm-sidebar { display: grid; gap: 14px; }
.tm-topic-box, .tm-rss-box { padding: 14px 15px; }
.tm-topic-box a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--tm-rule); }
.tm-topic-box a:last-child { border-bottom: 0; padding-bottom: 0; }
.tm-topic-box a:hover strong { text-decoration: underline; }
.tm-topic-box strong, .tm-topic-box small { display: block; }
.tm-topic-box strong { font-size: .9rem; }
.tm-topic-box small { font-size: .8rem; color: var(--tm-muted); line-height: 1.35; }
.tm-rss-box { background: #e9f3ec; }
.tm-rss-box p { margin: 5px 0 8px; font-size: .86rem; color: var(--tm-muted); }
.tm-rss-box a { font-weight: 700; font-size: .88rem; }
.tm-foot { margin-block: 0 !important; background: var(--tm-night); color: #dbe7e3; font-family: var(--tm-sans); }
.tm-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 18px; flex-wrap: wrap; padding-block: 17px; }
.tm-foot-inner p { margin: 0; font-size: .88rem; }
.tm-foot-inner > a:last-child { color: var(--tm-mint); font-size: .88rem; font-weight: 650; }
@media (max-width: 960px) {
  .tm-wrap { width: min(1200px, calc(100% - 44px)); }
  .tm-lead-grid, .tm-index { grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr); gap: 14px; }
}
@media (max-width: 850px) {
  .tm-bar { flex-wrap: wrap; padding-block: 12px; gap: 6px 14px; }
  .tm-navigation { order: 3; flex-basis: 100%; gap: 2px 18px; }
  .tm-lead-grid, .tm-index { grid-template-columns: minmax(0, 1fr); }
  .tm-tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 12px; }
  .tm-tracks h2 { grid-column: 1 / -1; }
  .tm-sidebar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 520px) {
  .tm-wrap { width: calc(100% - 28px); }
  .tm-edition { padding-top: 22px; }
  .tm-search input { width: clamp(66px, 22vw, 94px); }
  .tm-search input, .tm-search button { padding: 7px 6px; }
  .tm-navigation { gap: 0 15px; }
  .tm-navigation a { font-size: .84rem; }
  .tm-intro { align-items: start; flex-direction: column; margin-bottom: 16px; }
  .tm-lead-with-image, .tm-tracks, .tm-sidebar { grid-template-columns: minmax(0, 1fr); }
  .tm-lead-copy { padding: 19px; }
  .tm-figure { margin: 0 12px 12px; }
  .tm-figure img { max-height: 150px; }
  .tm-track { padding-block: 8px; }
  .tm-entry { gap: 9px; }
}
@media (max-width: 359px) {
  .tm-search { flex-basis: 100%; }
  .tm-search input { width: auto; flex: 1; }
}

@media (min-width: 851px) and (min-height: 700px) {
  .tm-sidebar { position: sticky; top: 16px; }
}

.tm-paths { color: var(--tm-ink); font-family: var(--tm-sans); }
.tm-paths-intro { max-width: 68ch; color: var(--tm-muted); }
.tm-path-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tm-path { padding: clamp(15px, 2.5vw, 25px); border: 1px solid var(--tm-rule); border-radius: 9px; background: #fff; }
.tm-path h2 { margin: 0; font: 750 clamp(1.12rem, 2vw, 1.35rem)/1.2 var(--tm-sans); letter-spacing: -.02em; }
.tm-path p { color: var(--tm-muted); font-size: .95rem; }
.tm-path ol { padding-inline-start: 1.3rem; line-height: 1.5; }
.tm-path li + li { margin-top: .55rem; }
.tm-path li::marker { color: var(--tm-teal); font-family: var(--tm-mono); font-weight: 700; }
.tm-path a { color: var(--tm-teal); text-underline-offset: .18em; }
@media (min-width: 851px) and (max-width: 1050px) {
  .tm-navigation { gap: 0 12px; }
  .tm-bar { gap: 12px; }
}
