:root {
  color-scheme: light;
  --paper: #fbfdfe;
  --white: #fff;
  --foam: #f1f9fc;
  --mist: #e4f4fa;
  --tide: #239ebe;
  --reef: #106a83;
  --ink: #233f50;
  --muted: #4e6874;
  --line: #d6e3e8;
  --faint: #e7eff2;
  --rail: 84px;
  --gutter: clamp(22px, 4.6vw, 82px);
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border: 0; background: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, select, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--reef); outline-offset: 4px; }
button:disabled { opacity: .36; cursor: default; }
[hidden] { display: none !important; }
::selection { background: #bce6e5; color: var(--ink); }
.icon { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mono, .domain, .kicker, .chart-caption, time, .reading-meta, .record-tag { font-family: var(--mono); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 90; top: 14px; left: 14px; padding: 12px 20px; background: var(--white); }
html:not(.js) .js-only { display: none !important; }
.workspace { margin-left: var(--rail); display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
main { width: 100%; max-width: 1800px; align-self: center; flex: 1; }
main:focus { outline: none; }
.rail { display: flex; position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--rail); flex-direction: column; align-items: stretch; background: var(--paper); border-right: 1px solid var(--line); }
.rail-brand { display: grid; place-items: center; height: 71px; background: var(--ink); }
.rail-brand img { width: 53px; filter: brightness(0) invert(1); }
.rail-nav { display: grid; margin-top: 54px; gap: 8px; }
.rail-link { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; min-height: 70px; position: relative; font-size: 12px; font-weight: 600; color: var(--muted); }
.rail-link .icon { width: 23px; height: 23px; }
.rail-link[aria-current] { color: var(--reef); background: var(--mist); }
.rail-link[aria-current]::before { position: absolute; content: ""; width: 3px; left: 0; inset-block: 0; background: var(--reef); }
.rail-link:hover, .rail-top:hover { background: var(--foam); color: var(--reef); }
.rail-top { margin: auto auto 20px; display: grid; place-items: center; width: 42px; height: 42px; color: var(--muted); border-top: 1px solid var(--line); }
.mast { min-height: 71px; display: flex; align-items: center; gap: 17px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.wordmark { font-family: "Arial", var(--sans); font-size: 29px; line-height: 1; font-weight: 800; letter-spacing: -.075em; }
.wordmark span { color: var(--tide); }
.mast-rule { height: 17px; width: 1px; background: var(--line); transform: rotate(16deg); }
.mast-site { font-size: 13px; font-weight: 560; color: var(--muted); }
.languages { display: flex; align-items: center; gap: 3px; margin-left: auto; font: 600 12px/1 var(--mono); }
.languages .icon { width: 17px; height: 17px; margin-right: 8px; color: var(--muted); }
.languages a, .languages .lang-current { display: grid; place-items: center; min-height: 34px; min-width: 34px; }
.languages a { color: var(--muted); }
.languages a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang-current { background: var(--mist); color: var(--ink); }
.menu-trigger, .drawer-close, .scrim { display: none; }

.kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--reef); font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .18em; }
.kicker > span { width: 28px; height: 2px; background: var(--tide); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2, .record-copy strong { overflow-wrap: anywhere; }
.intro, .about-prose { margin-top: 18px; max-width: 45ch; font-size: 16px; line-height: 1.85; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.action { display: inline-flex; justify-content: space-between; align-items: center; gap: 30px; padding: 12px 19px; min-height: 46px; margin-top: clamp(25px,3.2vw,49px); color: var(--white); background: var(--ink); font-size: 14px; font-weight: 650; border: 1px solid var(--ink); }
.action .icon, .text-link .icon { width: 18px; height: 18px; transition: transform .18s ease; }
.action:hover { background: var(--reef); border-color: var(--reef); }
.action:hover .icon, .text-link:hover .icon { transform: translateX(3px); }
.section-block { padding: clamp(34px,3.7vw,64px) var(--gutter); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading .kicker { margin-bottom: 9px; font-size: 10px; }
.section-heading h2 { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(28px,2.7vw,45px); line-height: 1.35; letter-spacing: -.055em; font-weight: 680; }
.section-heading h2 small { margin-top: 5px; padding: 1px 6px; border: 1px solid var(--line); color: var(--muted); font: 11px/1.45 var(--mono); letter-spacing: 0; }
.text-link { display: inline-flex; align-items: center; gap: 11px; min-height: 42px; color: var(--reef); font-size: 14px; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.empty-log { display: grid; grid-template-columns: minmax(145px,24%) 1fr; min-height: 105px; border-block: 1px solid var(--line); }
.empty-print { min-width: 0; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.empty-print img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; }
.empty-text { display: flex; align-items: center; gap: 14px; padding: 20px clamp(18px,3.5vw,55px); }
.empty-text .icon { width: 23px; height: 23px; color: var(--reef); }
.empty-text p { font-size: 15px; color: var(--muted); letter-spacing: .02em; }
.records { border-top: 1px solid var(--line); }
.record { display: grid; grid-template-columns: 106px minmax(0,1fr) minmax(55px,auto); gap: 22px; align-items: center; padding: 20px 7px; border-bottom: 1px solid var(--line); }
.record time, .record-tag { font-size: 12px; color: var(--muted); }
.record-copy { display: grid; gap: 4px; }
.record-copy strong { font-size: 19px; letter-spacing: -.02em; }
.record-copy span { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.record > .icon { color: var(--reef); width: 17px; }
.record:hover { background: var(--foam); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; border-top: 1px solid var(--line); padding: 20px var(--gutter); font-size: 12px; color: var(--muted); }
.footer-brand, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { gap: 20px; }
.footer-links a:hover, .site-facts a:hover { text-decoration: underline; }
.domain { letter-spacing: .04em; }

::view-transition-old(root) { animation-duration: .14s; }
::view-transition-new(root) { animation-duration: .20s; }

@media (max-width: 1080px) {
  :root { --rail: 70px; --gutter: clamp(22px,3.5vw,42px); }
  .pin::after { width: 8px; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; --gutter: clamp(18px,5.1vw,34px); }
  .rail { display: none; position: static; width: auto; border: 0; border-bottom: 1px solid var(--line); }
  .rail-brand, .rail-top { display: none; }
  .rail-nav { display: flex; margin: 0; justify-content: center; gap: 5px; }
  .rail-link { min-height: 44px; padding: 5px 12px; flex-direction: row; }
  .js .rail { display: none; }
  .js .drawer-open .rail { display: flex; position: fixed; width: min(245px,82vw); border-right: 1px solid var(--line); z-index: 52; }
  .js .drawer-open .rail-brand { display: grid; height: 58px; width: 69px; }
  .js .drawer-open .rail-nav { display: grid; gap: 4px; justify-content: stretch; margin: 29px 0; }
  .js .drawer-open .rail-link { justify-content: flex-start; padding: 12px 24px; gap: 14px; font-size: 15px; min-height: 54px; }
  .drawer-close { position: absolute; right: 9px; top: 9px; width: 40px; height: 40px; }
  .js .drawer-open .drawer-close, .menu-trigger { display: inline-grid; place-items: center; }
  .js .drawer-open .scrim { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(16,59,73,.30); }
  .drawer-open { overflow: hidden; }
  .mast { min-height: 58px; gap: 12px; }
  .wordmark { font-size: 25px; }
  .mast-site { font-size: 12px; }
  .menu-trigger { display: inline-flex; justify-content: center; align-items: center; gap: 1px; padding: 0 6px; margin-left: calc(-1 * var(--gutter)); width: 60px; min-height: 58px; background: var(--ink); color: var(--paper); }
  
  .menu-trigger .icon { width: 14px; height: 14px; }
  .languages { gap: 0; }
  .languages a, .languages .lang-current { min-width: 32px; }
  .languages .icon { margin-right: 3px; width: 15px; }
  .section-heading { margin-bottom: 14px; }
  .section-block { padding-block: 29px; }
  .section-heading h2 { font-size: 28px; gap: 7px; }
  .section-heading .kicker { margin-bottom: 6px; }
  .text-link { gap: 7px; font-size: 13px; }
  .empty-log { grid-template-columns: minmax(75px,29%) 1fr; min-height: 85px; }
  .empty-text { padding: 14px; gap: 9px; }
  .empty-text p { font-size: 14px; }
  .empty-text .icon { width: 18px; height: 18px; }
  .site-footer { flex-wrap: wrap; gap: 9px; padding-block: 15px; font-size: 11px; }
  .footer-links { gap: 9px; }
  .record { grid-template-columns: minmax(0,1fr) auto; padding: 14px 0; gap: 5px 10px; }
  .record-copy { grid-row: 2; grid-column: 1 / -1; }
  .record-copy strong { font-size: 17px; }
  .record-tag { grid-column: 2; grid-row: 1; }
  .record > .icon { display: none; }
}
@media (max-width: 370px) {
  .mast { gap: 9px; }
  .mast-rule { display: none; }
  .languages .icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media(max-width:760px){html:not(.js) .mast .menu-trigger.js-only{display:inline-flex!important;}}
