:root {
  color-scheme: light;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  color: #14324b;
  background: #f2f8fb;
  --ink: #052342;
  --muted: #526d82;
  --accent: #006b8d;
  --line: #c5dfea;
  --cyan: #009fc5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.wrap { width: min(1090px, calc(100% - 3rem)); margin-inline: auto; }
.top { background: white; border-bottom: 2px solid var(--cyan); }
.bar, .brand, nav, .section-title, .moderation { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.bar, .section-title { justify-content: space-between; }
.bar { min-height: 70px; padding-block: .7rem; }
.brand { gap: .85rem; flex-wrap: nowrap; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; position: relative; width: clamp(116px, 27vw, 190px); aspect-ratio: 220 / 62; flex: none; overflow: hidden; }
.brand-logo img { position: absolute; inset: 50% 0 auto; display: block; width: 100%; height: auto; transform: translateY(-50%); }
.brand-title { border-left: 1px solid var(--line); padding-left: .85rem; font-weight: 650; }
.top .subtle { background: transparent; color: var(--accent); padding: 0; text-decoration: underline; text-underline-offset: .2em; }
main { min-height: 66vh; padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; margin: 0 0 .8rem; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.1rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
.hero p { max-width: 37ch; font-size: 1.16rem; color: var(--muted); }
.jump { display: inline-block; margin-block: .5rem 1rem; font-weight: 650; }
.card, .empty, .entries, .table-wrap { background: white; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1rem, 3vw, 1.8rem); box-shadow: 0 12px 40px #0523420b; }
.stack { display: grid; gap: .54rem; align-content: start; }
.stack label { font-weight: 650; }
.stack label input, .stack label select { display: block; margin-top: .3rem; }
input, select { background: white; color: var(--ink); border: 1px solid #91b6c8; border-radius: 6px; min-width: 0; width: 100%; padding: .64rem .7rem; }
.stack > input { margin-bottom: .55rem; }
button, .button { display: inline-block; border: 0; border-radius: 6px; background: var(--ink); color: white; padding: .65rem 1rem; font-weight: 650; text-decoration: none; }
button:hover, .button:hover { background: #0b4b68; }
small, .source, time, .empty { color: var(--muted); }
.notice { background: #e3f3ed; padding: .7rem; }
.error { background: #fae4e1; padding: .7rem; }
.section { margin-top: 3rem; }
.section-title { margin-bottom: 1rem; }
.section-title h2 { margin: 0; }
.entries { list-style: none; padding: 0 1rem; }
.entries li + li { border-top: 1px solid var(--line); }
.entries a { display: grid; grid-template-columns: 2fr 1fr auto; gap: 1rem; padding: 1rem 0; overflow-wrap: anywhere; }
.login { max-width: 450px; margin: auto; }
.login h1 { font-size: 2.5rem; }
.metadata { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .45rem 1rem; }
dt { font-weight: 650; }
dd { margin: 0; }
code, pre { overflow-wrap: anywhere; white-space: pre-wrap; }
.capture { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.table-wrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .7rem 1rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { background: #eaf5fa; }
tr:last-child td { border-bottom: 0; }
.accounts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 1rem; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) {
  .hero, .entries a { grid-template-columns: 1fr; }
  .entries a { gap: .3rem; }
  .metadata { grid-template-columns: 1fr; }
  dd { margin-bottom: .55rem; }
}

.pages { margin-top: 1rem; }
.filters { display: flex; gap: .65rem; align-items: center; margin-bottom: 1rem; }
.filters input { max-width: 18rem; }

@media (max-width: 480px) {
  .bar { width: calc(100% - 1.5rem); gap: .55rem; min-height: 60px; }
  .brand { gap: .45rem; }
  .brand-title { padding-left: .45rem; font-size: .875rem; }
  .bar nav { gap: .65rem; font-size: .875rem; }
}
