@font-face {
  font-family: Effra;
  src: url('/assets/cdn.prod.website-files.com/5d0d0fd0409e5b284b7211f9/5d0d180c14a5901b4bffc1c6_Effra_Std_Lt.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: Effra;
  src: url('/assets/cdn.prod.website-files.com/5d0d0fd0409e5b284b7211f9/5d0d1828e8ded07ef2702bae_Effra_Std_Rg.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Effra;
  src: url('/assets/cdn.prod.website-files.com/5d0d0fd0409e5b284b7211f9/5d0d160bfddaa9543b402ddc_Effra_Std_Bd.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  font: 16px/1.55 Effra, Arial, sans-serif;
  --ink: #23211d; --muted: #625c59; --accent: #f0b217; --accent-dark: #674900;
  --paper: #fbf9fa; --line: #e5dfe1; --card: #fff; --charcoal: #23211d;
  --green: #215b45; --red: #a12824;
  --focus: #a66c06; --gold-ink: #261d09;
  --control: #fff; --control-line: #d9d3c6; --hover: #f4f0e5;
  --track: #f0ede3; --selection: #fff1c4;
  --status-fill: #efede7; --status-ink: #57534a; --positive: #e8f1ea;
  --pending: #fbefcf; --pending-ink: #674909; --hint: #f8edd0; --hint-ink: #60420e;
  --chart-0: #bf861a; --chart-1: #52766e; --chart-2: #967d66;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --ink: #f0eae4; --muted: #bdb2a8; --accent-dark: #f2c55c;
  --paper: #191714; --line: #413931; --card: #24201c; --charcoal: #14120f;
  --control: #211d19; --control-line: #574b40; --hover: #342c24;
  --focus: #f0b217; --track: #393127; --selection: #443515;
  --status-fill: #37312a; --status-ink: #e0d4c6; --positive: #253b2e;
  --green: #a9e0bd; --red: #ffbbb4;
  --pending: #493a20; --pending-ink: #f6d588; --hint: #3d301c; --hint-ink: #f3d699;
  --chart-0: #e6aa39; --chart-1: #7aa196; --chart-2: #9b836c;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, select { touch-action: manipulation; }
button { cursor: pointer; }
button[disabled] { opacity: .58; cursor: not-allowed; }
a { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: fixed; top: -200px; z-index: 5; background: var(--card); padding: 8px; }
.skip:focus { top: 8px; left: 8px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.038em; }
h2 { font-size: 1.14rem; letter-spacing: -.015em; }
h3 { font-size: 1rem; }
.loading { padding: 36px; color: var(--muted); }
.login { max-width: 440px; margin: clamp(32px, 10vh, 115px) auto 0; padding: 20px; }
.login .brand { margin: 0 0 26px; padding: 0; }
.login .brand img { width: min(220px, 100%); }
.login .panel { padding: clamp(22px, 8vw, 38px); }
.login form { display: grid; gap: 14px; margin: 22px 0 10px; }
.login h1 { margin-bottom: 7px; }
.layout { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.rail {
  background: var(--charcoal); color: #fff; padding: 24px 14px 18px; display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 0; height: 100dvh; align-self: start; overflow-y: auto;
}
.brand { display: block; width: fit-content; padding: 0 10px; }
.brand img { display: block; width: min(177px, 100%); height: auto; }
.brand .logo-dark, [data-theme=dark] .brand .logo-light { display: none; }
[data-theme=dark] .brand .logo-dark { display: block; }
.rail nav { display: grid; gap: 4px; }
.rail nav a { color: #f7f3ee; text-decoration: none; padding: 8px 11px; border-radius: 0; display: block; }
.rail nav a[aria-current] { background: var(--accent); color: var(--gold-ink); font-weight: 700; }
.rail nav a:not([aria-current]):hover { background: #3b3630; }
.rail .nav-label { padding: 11px 11px 2px; color: #caCbbf; font-size: .74rem; font-weight: 650; }
.rail .account { margin-top: auto; padding-inline: 10px; overflow-wrap: anywhere; display: grid;
  grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; }
.rail .account small { display: block; color: #cbcbbf; margin-top: 2px; }
.rail .account button { color: #fbf4e3; background: none; border-color: #7c7165; }
.rail .account button:hover { background: #3b3630; }
.account-settings { display: grid; place-items: center; width: 42px; height: 42px; text-decoration: none;
  color: #fff6e8; border: 1px solid #7c7165; border-radius: 2px; font: 1.3rem/1 'Segoe UI Symbol', sans-serif; }
.account-settings:hover { background: #3b3630; }
.account-settings[aria-current] { background: var(--accent); color: var(--gold-ink); border-color: var(--accent); }
.account-signout { grid-column: 1 / -1; justify-self: start; }
.canvas { width: 100%; max-width: 1490px; margin: 0 auto; padding: clamp(20px, 4vw, 48px); }
.page-head, .panel-head, .filters, .tools, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.page-head, .panel-head { justify-content: space-between; }
.page-head { margin-bottom: 26px; }
.page-head p, .subtle { color: var(--muted); }
.page-head p { margin-top: 6px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: clamp(14px, 2.2vw, 24px); min-width: 0; }
.panel-head { margin-bottom: 15px; }
.settings-panel, .resource-panel { max-width: 850px; }
.settings-panel .appearance { font-size: 1.1rem; max-width: 260px; margin-bottom: 12px; }
.resource-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.resource-logo { display: grid; place-items: center; min-height: 122px; border: 1px solid var(--line); padding: 12px; }
.resource-logo img { display: block; width: min(85%,230px); height: auto; }
.resource-logo-light { background: #fff; }
.resource-logo-dark { background: #23211d; }
.resource-detail { margin: 17px 0 0; }
.grid { display: grid; gap: 16px; }
.metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.metric small { display: block; color: var(--muted); margin-bottom: 5px; }
.metric strong { font-size: clamp(1.45rem, 3vw, 2.25rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric-detail { display: block; margin-top: 7px; font-size: .85rem; color: var(--muted); }
.stat-link { display: block; text-decoration: none; color: var(--ink); }
.stat-link:hover { border-color: var(--accent); background: var(--hover); }
.stat-link:hover .metric-detail, .stat-link:hover .panel-head span { text-decoration: underline; }
.overview-coverage { border-top: 3px solid var(--accent); }
.traffic-total { font-size: 2rem; line-height: 1.15; }
.overview-coverage .panel-head span { font-size: .87rem; color: var(--accent-dark); }
.overview-coverage > p { margin-top: 13px; font-size: .9rem; }
.coverage-chart { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.coverage-chart .ring-legend { flex: 1 1 140px; }
.report-ring {
  width: min(124px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 11px;
  display: grid; place-items: stretch; margin: 3px auto 12px;
  background: conic-gradient(var(--chart-slices));
}
.coverage-chart .report-ring { margin: 0; }
.report-ring div {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--card); border-radius: 50%; line-height: 1.15; color: var(--muted); font-size: .78rem;
}
.report-ring strong { color: var(--ink); font-size: 1.65rem; font-variant-numeric: tabular-nums; }
.ring-legend li { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: 7px !important; }
.chart-key { width: 9px; height: 9px; background: var(--key); border-radius: 2px; }
.traffic-ranks li:has(meter) { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 5px 10px; }
.traffic-ranks meter { appearance: none; grid-column: 1 / -1; display: block; width: 100%; height: 5px; background: var(--track); border-radius: 4px; }
.traffic-ranks meter::-webkit-meter-bar { border: 0; background: var(--track); height: 5px; }
.traffic-ranks meter::-webkit-meter-optimum-value { background: var(--chart-0); border-radius: 4px; }
.traffic-ranks meter::-moz-meter-bar { background: var(--chart-0); border-radius: 4px; }
.traffic-ranks a { min-width: 0; overflow-wrap: anywhere; }
.traffic-ranks li > strong { text-align: right; white-space: nowrap; }
.traffic-ranks li > span:last-child { text-align: right; }
.traffic-ranks strong small { font-weight: 400; color: var(--muted); margin-left: 5px; }
.google-totals { grid-template-columns: repeat(3,minmax(0,1fr)); }
.google-panel .panel-head { align-items: start; }
.google-panel h2 + p { margin-top: 5px; }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; }
.split.overview-priority { grid-template-columns: minmax(0,1.55fr) minmax(250px,1fr); }
.split.overview-priority:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.after { margin-top: 16px; }
.plot { display: grid; gap: 8px; margin: 0; }
.plot-grid { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 8px; }
.plot-scale { display: flex; flex-direction: column; justify-content: space-between; text-align: right; font-size: .74rem; color: var(--muted); }
.bars {
  display: flex; gap: 2px; height: 144px;
  border-block: 1px solid var(--line);
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat;
}
.day-bar { flex: 1; position: relative; min-width: 0; }
.day-bar::before {
  content: ''; position: absolute; inset: auto 0 0; height: var(--height);
  border-radius: 3px 3px 0 0; background: var(--chart-0); opacity: .67;
}
.day-bar.active { background: var(--selection); }
.day-bar:where(:hover,.active)::before { opacity: 1; }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.plot-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; font-size: .82rem; color: var(--muted); }
.plot-nav input[type=range] { flex: 1 1 110px; width: auto; min-height: 28px; margin: 0; padding: 0; border: 0; accent-color: var(--chart-0); }
.list, .mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list span { overflow-wrap: anywhere; }
.action, button { border-radius: 2px; border: 1px solid var(--control-line); background: var(--control); padding: 8px 13px; line-height: 1.3; font-weight: 700; min-height: 39px; }
.action { text-decoration: none; display: inline-flex; align-items: center; color: var(--ink); }
button:hover, .action:hover { background: var(--hover); }
.primary { background: var(--accent); border-color: var(--accent); color: var(--gold-ink); }
.primary:hover { background: #e5a918; }
.quiet { color: var(--muted); }
.danger { color: var(--red); }
.filters { margin: 0 0 14px; }
.filters label { flex: 1 1 130px; }
.filters .search { flex: 2 1 200px; }
label { display: grid; gap: 5px; min-width: 0; font-weight: 630; }
label .help { font-weight: 400; }
input:not([type=checkbox]), select, textarea {
  width: 100%; background: var(--control); border: 1px solid var(--control-line); border-radius: 6px; padding: 8px 10px; min-height: 40px;
  font-weight: 400;
}
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--accent); }
.toggle { display: flex; align-items: center; }
.table-wrap { overflow-x: auto; }
.language-table th:not(:first-child) { min-width: 108px; }
.language-table td:first-child { width: 49%; }
.article-table td:first-child { min-width: 210px; }
.article-row {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px;
  width: 100%; padding: 3px 4px; border: 0; background: none; color: var(--accent-dark); text-align: start;
}
.article-row:hover strong { text-decoration: underline; }
.article-row small { margin-top: 4px; font-weight: 400; }
.article-thumb {
  width: clamp(58px, 7vw, 88px); aspect-ratio: 88 / 62; display: block; overflow: hidden;
  background: linear-gradient(135deg, var(--control) 49%, var(--line) 50% 51%, var(--track) 52%);
  border: 1px solid var(--line); border-radius: 5px;
}
.article-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.version-link { background: transparent; border: 0; padding: 0; min-height: 27px; }
.version-link:hover { background: transparent; text-decoration: underline; }
.result-count { color: var(--muted); font-size: .9rem; margin: 7px 0 10px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: .81rem; white-space: nowrap; }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
td small { display: block; color: var(--muted); overflow-wrap: anywhere; }
td button.link { border: 0; min-height: 0; padding: 3px 0; background: transparent; color: var(--accent-dark); text-align: left; }
td button.link:hover { text-decoration: underline; }
.badge { padding: 3px 8px; border-radius: 20px; background: var(--status-fill); color: var(--status-ink); font-size: .75rem; white-space: nowrap; font-weight: 650; }
.badge.published, .badge.sent, .badge.up-to-date { color: var(--green); background: var(--positive); }
.badge.draft, .badge.pending, .badge.in-review, .badge.source-changed, .badge.needs-review { color: var(--pending-ink); background: var(--pending); }
.empty { padding-block: 15px; color: var(--muted); }
.editor-title { display: grid; gap: 6px; margin-bottom: 16px; }
.editor-toolbar {
  position: sticky; top: 0; z-index: 3; display: flex; justify-content: space-between;
  flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px;
}
.editor-toolbar .actions { gap: 8px; }
.editor-toolbar .help { margin-inline-end: 4px; }
.leave-choices { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
dialog form.leave-choices { display: flex; }
.editor-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.wide { grid-column: 1 / -1; }
.editor .panel { align-self: start; }
.editor .writer { min-width: 0; }
.writer textarea { resize: vertical; line-height: 1.6; }
#editor-body { min-height: 320px; font-family: ui-monospace, monospace; font-size: .94rem; }
.writing-panel .panel-head { margin-bottom: 6px; }
.mode-control { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.mode-control button, .page-preview [data-size] { padding: 5px 8px; font-size: .88rem; min-height: 32px; }
button[aria-pressed=true], .translations button[aria-current] { background: var(--selection); border-color: var(--accent); }
.rich-body { padding: 18px clamp(12px,3vw,28px); min-height: 320px; border: 1px solid var(--line); line-height: 1.65; overflow-wrap: anywhere; }
.rich-body > * { margin: 0 0 1rem; }
.rich-body h2 { font-size: 1.65rem; }
.rich-body img { width: auto; max-width: 100%; height: auto; }
.rich-body pre, .source-text pre { white-space: pre-wrap; overflow-wrap: anywhere; }
#advanced-css { margin-top: 14px; }
.translations { display: grid; gap: 12px; border-top: 3px solid var(--accent); }
.translations .actions { margin: 0; }
.translations details { margin-top: 0; }
.translations details label, .translations details button { margin: 8px 0; }
.source-text { max-height: 270px; overflow: auto; margin-top: 9px; border-left: 2px solid var(--accent); padding-left: 11px; }
.source-text pre { font: inherit; color: var(--muted); }
.editor-aside { display: grid; align-content: start; gap: 16px; min-width: 0; }
.page-preview { padding: 0; width: min(1420px, calc(100% - 24px)); max-width: none; max-height: 94dvh; }
.page-preview header { padding: 13px 16px; margin: 0; border-bottom: 1px solid var(--line); }
.page-preview iframe { width: 100%; display: block; height: min(78dvh,1000px); border: 0; margin: auto; background: white; }
.page-preview.mobile-preview { background: var(--track); }
.page-preview.mobile-preview iframe { max-width: 393px; }
.tools { padding-block: 6px; gap: 5px; }
.tools button { min-height: 33px; padding: 5px 9px; font-size: .85rem; }
.preview { width: 100%; min-height: 565px; border: 1px solid var(--line); border-radius: 6px; }
.preview-panel { min-width: 0; }
.hero-thumb { display: block; max-width: 100%; max-height: 155px; border-radius: 6px; object-fit: cover; }
.editor .actions { margin-top: 15px; }
.notice { border-radius: 6px; padding: 8px 11px; background: var(--hint); color: var(--hint-ink); }
.error { color: var(--red); }
.help { color: var(--muted); font-size: .82rem; }
.toast { position: fixed; bottom: 20px; right: 20px; max-width: calc(100vw - 40px); background: var(--charcoal); color: white; padding: 11px 16px; border-radius: 8px; z-index: 6; }
.toast.error { background: #7f2622; color: white; }
dialog { border: 1px solid var(--line); color: var(--ink); border-radius: 12px; background: var(--card); width: min(600px, calc(100% - 26px)); max-height: 90vh; padding: 24px; }
dialog::backdrop { background: #2228; }
dialog form { display: grid; gap: 12px; margin-top: 12px; }
.message { padding: 13px; background: var(--paper); border-radius: 6px; white-space: pre-wrap; overflow-wrap: anywhere; }
details { margin-top: 13px; }
summary { cursor: pointer; color: var(--accent-dark); }
.language-workspace { display: grid; gap: 16px; }
.language-metrics { grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 0; }
.language-metrics .metric { align-content: center; display: grid; gap: 3px; }
.coverage-primary { border-top: 3px solid var(--accent); }
.language-workspace progress {
  appearance: none; height: 6px; width: 100%; display: block;
  border: 0; border-radius: 8px; background: var(--track); overflow: hidden;
}
.language-workspace progress::-webkit-progress-bar { background: var(--track); }
.language-workspace progress::-webkit-progress-value { background: var(--accent); }
.language-workspace progress::-moz-progress-bar { background: var(--accent); }
.coverage-primary progress { margin: 6px 0 4px; }
.coverage-areas { display: grid; grid-template-columns: repeat(5,minmax(115px,1fr)); gap: 8px; margin: 14px 0; }
.coverage-areas button { display: grid; text-align: left; gap: 7px; padding: 8px 9px; }
.coverage-areas button small { color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; }
.translation-toolbar, .translation-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; justify-content: space-between; }
.translation-toolbar { margin: 3px 0 10px; }
.translation-pager { margin-top: 13px; }
.translation-source { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.translation-table td:nth-child(2) { width: 49%; min-width: 180px; }
.translation-table th:first-child { width: 40px; }
.translation-table td:nth-child(3) { min-width: 100px; }
.translation-table td:last-child a { font-weight: 700; }
#translation-detail summary + p { padding: 8px 0; }
@media (max-width: 1000px) {
  .layout { grid-template-columns: 185px minmax(0, 1fr); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor.split, .three { grid-template-columns: 1fr; }
  .coverage-areas { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .language-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .layout { display: block; }
  .rail { position: static; height: auto; overflow: visible; padding: 13px; gap: 8px; }
  .rail .brand img { width: 145px; }
  .rail nav { display: flex; flex-wrap: wrap; gap: 2px; }
  .rail nav a { padding: 6px 9px; }
  .rail .nav-label { display: none; }
  .rail .account { grid-template-columns: minmax(0,1fr) auto auto; padding-inline: 8px; }
  .account-signout { grid-column: auto; min-height: 42px; }
  .canvas { padding: 18px 12px; }
  .split { grid-template-columns: 1fr; }
  .split.overview-priority { grid-template-columns: 1fr; }
  .editor-fields { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .resource-logo { min-height: 90px; padding: 5px; }
  .google-totals { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coverage-areas { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .language-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .coverage-primary { grid-column: 1 / -1; }
}
