/* translate.edgepedia.ai: the look of www.edgepedia.org, shared by every page here (served as /static/site.css).
   Tokens and rules were read off the live site on 2026-11-15 (edgepedia-web: assets/edgepedia-head.css, edgepedia-theme.css, and
   the front page's cards): Geist, the lowercase wordmark, pill links, paper background, peach cards, one charcoal card, orange accent.
   Light only, as the site is. A page adds only its own layout; colors, type, and controls come from here. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F7F5F1;            /* the page */
  --ink: #1E1A17;              /* headings, controls, the user's own text */
  --text: #6F655C;             /* secondary text */
  --dim: #8A7E72;              /* dates, counts, placeholders */
  --line: rgba(30, 26, 23, .14);
  --card-line: #F1E1D2;
  --field: #FAF9F7;
  --field-line: #E7E4DF;
  --orange: #FF963F;           /* fills: the primary button, the chosen tab */
  --orange-soft: #F0A766;      /* borders on hover and focus */
  --orange-deep: #B0501C;      /* orange text on paper */
  --on-orange: #231507;        /* text on an orange fill */
  --tint: #FFF2E5;             /* a chosen pill's fill */
  --tint-ink: #9E4919;
  --dark: #1B1A19;             /* the charcoal card */
  --dark-2: #252523;
  --dark-line: #3A3733;
  --dark-ink: #F6F3EE;
  --dark-dim: #B6AFA5;
  --bad: #C8402F;
  --r-card: 24px;
  --r-field: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 15px/1.5 'Geist', 'Helvetica Neue', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--orange-deep); }
.hidden { display: none !important; }
.muted { color: var(--dim); }
.bad { color: var(--bad); }
:focus-visible { outline: 2px solid var(--orange-soft); outline-offset: 2px; }

/* The site's header, at an app's height: the wordmark, the site's pills (this page's marked), then the page's own controls. */
.eph { display: flex; align-items: center; gap: 20px; width: 100%; max-width: 1440px; margin: 0 auto; padding: 20px 32px 0; }
.eph-word { margin: 0; font-weight: 700; font-size: 34px; line-height: .95; letter-spacing: -.055em; color: var(--ink); }
.eph-word a { color: inherit; text-decoration: none; }
.eph-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.eph-nav a { display: inline-block; white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
.eph-nav a:hover, .eph-nav a[aria-current] { border-color: var(--orange-soft); color: var(--orange-deep); }
@media (max-width: 1023px) { .eph { padding: 16px 16px 0; gap: 12px; } .eph-word { font-size: 28px; } .eph-nav a { padding: 7px 12px; font-size: 13.5px; } }
@media (max-width: 759px) { .eph-nav { display: none; } .eph-word { margin-right: auto; } }

/* Controls */
.pill { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.2; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .6); color: var(--ink); text-decoration: none; }
.pill:hover { border-color: var(--orange-soft); color: var(--orange-deep); }
.pill.on, .pill[aria-pressed="true"] { background: var(--tint); border-color: var(--orange); color: var(--tint-ink); }
.pill:disabled { opacity: .45; cursor: default; border-color: var(--line); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.2; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--orange); background: var(--orange); color: var(--on-orange); text-decoration: none; }
.btn:hover { background: #FFAD69; border-color: #FFAD69; }
.btn:disabled { opacity: .45; cursor: default; background: var(--orange); border-color: var(--orange); }
.btn.quiet { background: rgba(255, 255, 255, .6); border-color: var(--line); color: var(--ink); }
.btn.quiet:hover { border-color: var(--orange-soft); color: var(--orange-deep); background: rgba(255, 255, 255, .6); }
.link { cursor: pointer; border: 0; background: none; padding: 4px 6px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--dim); text-decoration: none; }
.link:hover { color: var(--orange-deep); }
.field { width: 100%; padding: 10px 14px; border: 1px solid var(--field-line); border-radius: var(--r-field); background: var(--field); color: var(--ink); }
.field::placeholder { color: var(--dim); }
.field:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 150, 63, .1); }

/* Surfaces */
.card { border: 1px solid var(--card-line); border-radius: var(--r-card); background: linear-gradient(#FFF6EE, #fff 70%); }
.card.dark { border: 0; background: var(--dark) radial-gradient(60% 40% at 20% 0%, rgba(240, 167, 102, .1), rgba(240, 167, 102, 0) 70%); color: var(--dark-ink); box-shadow: 0 40px 70px -50px rgba(40, 30, 20, .6); }
.card.dark .muted { color: var(--dark-dim); }
.card.dark .link { color: var(--dark-dim); }
.card.dark .link:hover { color: #FFAD69; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.card.dark .eyebrow { color: #FFAD69; }

/* Status marks: a job in progress, a job that failed (a finished job carries none) */
.spin { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 150, 63, .28); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: #D8452F; color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1; }
.alert::before { content: "!"; }
.bar { height: 6px; border-radius: 3px; overflow: hidden; background: rgba(30, 26, 23, .09); }
.bar > * { display: block; height: 100%; width: 0; background: var(--orange); transition: width .5s linear; }

/* Tables (the admin panel, key and activity lists) */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; font-weight: 600; color: var(--dim); padding: 8px 10px; border-bottom: 1px solid var(--field-line); white-space: nowrap; }
.tbl td { padding: 8px 10px; border-bottom: 1px solid rgba(30, 26, 23, .06); vertical-align: top; }
.tbl tr:hover td { background: rgba(255, 150, 63, .05); }

@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } .bar > * { transition: none; } }
