:root { color-scheme: light; --ink: #242824; --muted: #626a63; --line: #dce1da; --accent: #286347; --surface: #f6f7f4; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.55 "Helvetica Neue", Helvetica, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font: inherit; }
button, .button { display: inline-block; padding: 9px 15px; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color 120ms ease; }
button:hover, .button:hover { background: #1d5038; text-decoration: none; }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: #fff; color: var(--ink); border-color: #b7bfb6; }
.secondary:hover, .quiet:hover { background: #edf0ea; }
.quiet { background: transparent; border-color: transparent; color: var(--ink); }
:focus-visible { outline: 3px solid #588568; outline-offset: 3px; }
.topbar { min-height: 72px; padding: 12px max(24px, calc((100vw - 1200px)/2)); display: flex; gap: 48px; align-items: center; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { color: var(--ink); font-weight: 750; font-size: 23px; letter-spacing: -.8px; }
.topbar nav a { color: var(--ink); font-weight: 600; }
.logout { margin-left: auto; display: flex; gap: 16px; align-items: center; }
main { max-width: 1248px; margin: auto; padding: 38px 24px 64px; min-height: calc(100vh - 140px); }
h1 { font-size: 29px; line-height: 1.25; letter-spacing: -.6px; margin: 0 0 10px; overflow-wrap: anywhere; }
h2 { font-size: 19px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 5px; }
p { margin: 8px 0 18px; }
.muted { color: var(--muted); }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.page-heading p { margin: 0; }
.back { display: inline-block; margin-bottom: 22px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 17px 16px; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th { color: var(--muted); font-weight: 500; padding-top: 12px; padding-bottom: 12px; }
tbody tr:hover { background: #fafbf8; }
tbody th { min-width: 160px; font-weight: 600; overflow-wrap: anywhere; max-width: 300px; }
td:last-child a { white-space: nowrap; }
.number { text-align: right; font-variant-numeric: tabular-nums; }
.time, .size { white-space: nowrap; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; background: #788078; border-radius: 50%; }
.status.current { color: #286347; }
.status.current::before { background: #34734c; }
.status.warning { color: #84580d; }
.status.warning::before { background: #aa7822; }
.empty { padding: 50px 12px !important; text-align: center; color: var(--muted); }
.empty strong { color: var(--ink); font-size: 16px; }
.empty p { margin: 8px 0 0; }
.section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.narrow { max-width: 580px; }
label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
input, textarea { background: #fff; color: var(--ink); border: 1px solid #a9b3a7; border-radius: 4px; padding: 9px 12px; width: 100%; min-width: 0; }
input[readonly], textarea[readonly] { background: var(--surface); }
.form-row, .copy-row { display: flex; gap: 12px; align-items: stretch; }
.copy-row { max-width: 780px; }
.stack { display: flex; flex-direction: column; }
.stack input { margin-bottom: 20px; }
.stack button { margin-top: 8px; }
.login { max-width: 380px; margin: 56px auto; }
.login h1 { font-size: 25px; }
.login > p { margin-bottom: 28px; }
.notice { padding: 12px 16px; background: #faf5e9; border-left: 3px solid #a97d31; }
.error { color: #8c332d; background: #fcf1ef; border-color: #ad5147; }
.mono, code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 13px; }
.command { display: block; margin-bottom: 12px; resize: vertical; overflow-wrap: anywhere; }
.hash { display: block; min-width: 230px; max-width: 410px; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.setting-row p { margin: 0; }
.setting-row > div { max-width: 700px; }
.pagination { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin: 18px 0; font-size: 14px; }
summary { cursor: pointer; font-weight: 600; padding-bottom: 12px; }
footer { border-top: 1px solid var(--line); padding: 20px max(24px, calc((100vw - 1200px)/2)); color: var(--muted); font-size: 12px; display: flex; gap: 24px; }
footer span { margin-left: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { display: block; padding: 12px; }
@media (max-width: 640px) {
  .topbar { padding: 12px 20px; gap: 24px; }
  .logout { gap: 0; }
  .logout span { display: none; }
  main { padding: 28px 20px 40px; }
  h1 { font-size: 25px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .form-row, .copy-row { flex-direction: column; }
  .form-row button, .copy-row button { align-self: flex-start; }
  .setting-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .login { margin: 32px auto; }
  footer { padding: 20px; flex-direction: column; gap: 4px; }
  footer span { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
