/* admin.ayearsworth.com — plain, white, operator-facing (ADR-058). Two
 * tokens borrowed from the product's palette (web/app/globals.css): ink and
 * green. Not the parent app's look, on purpose — this is a tool. */
:root {
  --ink: #1b1b1b;
  --graphite: #6b6b6b;
  --wash: #f4f4f2;
  --line: #e2e2df;
  --green: #1f7a3a;
  --red: #b3261e;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--ink); font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.topbar { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 700; }
.tag { font-weight: 500; color: var(--graphite); margin-left: 6px; }
.who { color: var(--graphite); font-size: 13px; }
main { max-width: 1100px; margin: 0 auto; padding: 24px; }
.card { max-width: 420px; margin: 64px auto; }
h1 { font-size: 24px; margin: 0 0 12px; }
h2 { font-size: 17px; margin: 0 0 10px; }
h3 { font-size: 14px; margin: 12px 0 6px; color: var(--graphite); font-weight: 600; }
h4 { font-size: 13px; margin: 8px 0 4px; color: var(--graphite); }
.lede { color: var(--graphite); margin: 0 0 16px; }
label { display: block; font-size: 13px; color: var(--graphite); margin: 12px 0 4px; }
input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
input:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.btn { margin-top: 16px; font: inherit; font-weight: 600; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--green); color: var(--white); cursor: pointer; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { margin-top: 0; padding: 6px 14px; font-size: 13px; }
.btn.danger { background: var(--red); }
form.inline { display: flex; gap: 10px; align-items: end; }
form.inline label { margin: 0 0 4px; }
form.inline input { max-width: 360px; }
.link { font: inherit; background: none; border: 0; padding: 0; color: var(--green); text-decoration: underline; cursor: pointer; }
.hint, .foot { color: var(--graphite); font-size: 13px; margin-top: 16px; }
.error { color: var(--red); margin-top: 12px; }
.muted { color: var(--graphite); font-weight: 400; font-size: 13px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { background: var(--wash); border-radius: 12px; padding: 14px 16px; }
.tile .n { font-size: 26px; font-weight: 700; line-height: 1.1; }
.tile .k { color: var(--graphite); font-size: 13px; margin-top: 4px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 20px; overflow-x: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .two, .three { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; color: var(--graphite); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr.row-link { cursor: pointer; }
tr.row-link:hover td { background: var(--wash); }
.detail { margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
ul { margin: 0; padding-left: 18px; }
[hidden] { display: none !important; }
