:root { color-scheme: light; --canvas: #fcfbf9; --ink: #14201c; --muted: #48584f; --accent: #24634e; --hover: #1f503f; --line: #d9e0da; --quiet: #eff4ef; --error: #9c2525; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
main { max-width: 960px; margin: auto; padding: 36px 24px; }
header { margin-bottom: 24px; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--hover); }
.brand { font-weight: 650; text-decoration: none; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.15; letter-spacing: -0.04em; margin: 20px 0 12px; }
h2 { font-size: 23px; letter-spacing: -0.02em; margin: 0; }
p { margin: 8px 0; }
header p, .hint { color: var(--muted); }
.scope { background: var(--quiet); border-radius: 10px; padding: 16px 20px; font-size: 14px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 0; }
.wide { grid-column: 1 / -1; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
label, legend { display: block; font-weight: 600; margin-bottom: 8px; padding: 0; }
input, select { background: white; border: 1px solid #89998e; border-radius: 8px; color: var(--ink); font: inherit; padding: 11px 12px; min-height: 48px; width: 100%; min-width: 0; }
.interval { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hint { font-size: 13px; margin-top: 10px; }
button { font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: white; padding: 11px 16px; min-height: 48px; cursor: pointer; }
button:hover { background: var(--hover); }
button:disabled { cursor: default; background: #e8ece8; border-color: #d1d9d2; color: #59665c; }
button.secondary { background: white; border-color: #89998e; color: var(--ink); }
button.secondary:hover:not(:disabled) { background: var(--quiet); }
button.secondary:disabled { opacity: 0.7; }
.form-actions, .section-heading { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
#preview { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.status { min-height: 24px; margin: 16px 0 24px; }
.status.error { color: var(--error); }
[aria-invalid="true"] { border-color: var(--error); }
section { border-top: 1px solid var(--line); padding-top: 24px; }
.section-heading { margin-bottom: 20px; }
#empty { padding: 24px 0; color: var(--muted); }
.table-wrap { position: relative; overflow-x: auto; }
table { border-collapse: collapse; text-align: left; width: 100%; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
td:first-child { min-width: 160px; max-width: 300px; overflow-wrap: anywhere; }
td:not(:first-child) { white-space: nowrap; }
td button { font-size: 13px; }
.review-date { font-weight: 650; }
.text-button { padding: 11px 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.text-button:hover { background: transparent; color: var(--ink); }
footer { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; font-size: 13px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
body.extension-popup { width: 640px; }
body.extension-popup main { padding-top: 24px; }
@media (max-width: 560px) { main { padding: 24px 18px; } form { grid-template-columns: 1fr; gap: 20px; } .form-actions { align-items: stretch; flex-direction: column; gap: 8px; } #preview { text-align: left; } .section-heading { gap: 10px; } button { padding-inline: 12px; } }
