:root {
  --bg: #101418;
  --panel: #1a2027;
  --panel2: #212a33;
  --border: #2c3742;
  --text: #e8edf2;
  --muted: #93a1b0;
  --accent: #e04a3a;
  --green: #3fb96b;
  --amber: #e0a53a;
  --red: #e0483a;
  --blue: #4a9de0;
  --purple: #c9a6ff;
  --tint-green: #143d24;
  --tint-amber: #3d3114;
  --tint-red: #3d1714;
  --tint-blue: #14293d;
  --tint-purple: #2a1d3d;
  --diff-old-text: #f5b0a8;
  --diff-new-text: #a8e6c0;
  --serp-blue: #8ab4f8;
  --code-bg: #0b0e11;
  --skel-mid: #2e3a46;
  --danger-border: #6e2622;
  --radius: 10px;
  font-size: 15px;
}

/* light mode (roadmap 65) — token overrides only; components stay untouched */
[data-theme="light"] {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --panel2: #edf0f3;
  --border: #d5dbe2;
  --text: #1b2430;
  --muted: #5d6b7a;
  --accent: #d43a2a;
  --green: #178044;
  --amber: #a06a00;
  --red: #bf3325;
  --blue: #1767b3;
  --purple: #7a3ff2;
  --tint-green: #d9f0e1;
  --tint-amber: #f6ecd3;
  --tint-red: #f9ddd9;
  --tint-blue: #dceafb;
  --tint-purple: #ebe0fb;
  --diff-old-text: #a02c1e;
  --diff-new-text: #14663a;
  --serp-blue: #1a0dab;
  --code-bg: #f0f2f4;
  --skel-mid: #e0e5ea;
  --danger-border: #e2b0aa;
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
header {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-bottom: 1px solid var(--border);
  background: var(--panel); position: sticky; top: 0; z-index: 20;
  flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 1.1rem; letter-spacing: .3px; }
.spacer { flex: 1; }
nav { display: flex; gap: 4px; }
nav a {
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
  color: var(--muted); user-select: none;
}
nav a:hover { color: var(--text); background: var(--panel2); }
nav a.active { color: var(--text); background: var(--panel2); font-weight: 600; }

select, input, textarea, button {
  font: inherit; color: var(--text); background: var(--panel2);
  border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px;
}
textarea { width: 100%; min-height: 300px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; line-height: 1.5; }
button { cursor: pointer; }
button:hover { border-color: var(--muted); }
button.primary { background: var(--accent); border-color: var(--accent); font-weight: 600; }
button.primary:hover { filter: brightness(1.1); }
button.ghost { background: transparent; }
button.small { padding: 3px 8px; font-size: .85rem; }

main { padding: 20px; max-width: 1400px; margin: 0 auto; }
.loading { color: var(--muted); padding: 40px; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
}
.card .num { font-size: 1.9rem; font-weight: 700; }
.card .lbl { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.card.green .num { color: var(--green); }
.card.amber .num { color: var(--amber); }
.card.red .num { color: var(--red); }
.card.blue .num { color: var(--blue); }

.panel {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px; margin-bottom: 20px;
}
.panel h3 { margin: 0 0 12px; font-size: 1rem; }
.panel h3 .sub { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 8px; }

table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 7px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--panel2); }
td.clickable { cursor: pointer; }
td.clickable:hover { background: var(--panel2); text-decoration: underline; }
.front-slot.clickable { cursor: pointer; border-radius: 8px; }
.front-slot.clickable:hover { background: var(--panel2); }
.table-wrap { overflow-x: auto; }

.badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.badge.pushed, .badge.publish, .badge.published, .badge.COMMITTED, .badge.done { background: var(--tint-green); color: var(--green); }
.badge.held, .badge.HELD, .badge.draft, .badge.pending { background: var(--tint-amber); color: var(--amber); }
.badge.failed, .badge.DROPPED, .badge.EXPIRED { background: var(--tint-red); color: var(--red); }
.badge.ACTIVE, .badge.NEW, .badge.running, .badge.lead { background: var(--tint-blue); color: var(--blue); }
.badge.secondary, .badge.inside { background: var(--panel2); color: var(--muted); }
.badge.primary-tier { background: var(--tint-green); color: var(--green); }
.badge.corroborate { background: var(--tint-amber); color: var(--amber); }
.badge.establishment { background: var(--panel2); color: var(--muted); }

/* SEO score bands (RankMath convention) */
.badge.good { background: var(--tint-green); color: var(--green); }
.badge.fair { background: var(--tint-amber); color: var(--amber); }
.badge.poor { background: var(--tint-red); color: var(--red); }

/* desk-queue entry statuses */
.badge.proposed { background: var(--tint-blue); color: var(--blue); }
.badge.approved { background: var(--tint-green); color: var(--green); }
.badge.candidate { background: var(--panel2); color: var(--muted); }
.badge.drafted { background: var(--tint-purple); color: var(--purple); }
.badge.rejected { background: var(--tint-red); color: var(--red); }
.badge.ready { background: var(--tint-green); color: var(--green); }

.desk-queue { max-width: 900px; }
.desk-queue .desk-entry { margin-bottom: 8px; }

/* wp diff */
.diff-old { background: var(--tint-red); color: var(--diff-old-text); padding: 2px 8px; border-radius: 4px; margin: 2px 0; font-size: .85rem; }
.diff-new { background: var(--tint-green); color: var(--diff-new-text); padding: 2px 8px; border-radius: 4px; margin: 2px 0; font-size: .85rem; }

/* search & social preview */
.serp { background: var(--panel2); border-radius: 6px; padding: 8px 10px; }
.serp-url { font-size: .72rem; color: var(--muted); }
.serp-title { color: var(--serp-blue); font-size: 1rem; line-height: 1.3; margin: 2px 0; }
.serp-desc { font-size: .8rem; color: var(--text); }
.ogcard { border: 1px solid var(--panel2); border-radius: 8px; overflow: hidden; max-width: 340px; }
.ogcard img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ogcard-noimg { height: 60px; display: flex; align-items: center; justify-content: center; background: var(--panel2); }
.ogcard-body { padding: 8px 10px; }
.ogcard-domain { text-transform: uppercase; font-size: .68rem; }
.ogcard-title { font-weight: 600; font-size: .9rem; margin: 2px 0; }

/* image desk gallery */
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.gal-card { background: var(--panel2); border-radius: 8px; overflow: hidden; }
.gal-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.gal-card.current { outline: 2px solid var(--green); }
.gal-card.dead { opacity: .35; }
.gal-meta { padding: 6px 8px 8px; }
.gal-meta div { margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
a.ext { color: var(--blue); text-decoration: none; }
a.ext:hover { text-decoration: underline; }

/* pipeline columns */
.pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.stage { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.stage > h4 {
  margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--border);
  font-size: .9rem; display: flex; justify-content: space-between; align-items: center;
}
.stage .count { color: var(--muted); font-weight: 400; }
.stage .items { padding: 8px; max-height: 65vh; overflow-y: auto; }
.item {
  padding: 8px 10px; border-radius: 8px; margin-bottom: 6px;
  background: var(--panel2); border: 1px solid transparent; font-size: .85rem;
}
.item:hover { border-color: var(--border); }
.item .t { font-weight: 600; margin-bottom: 3px; }
.item .m { color: var(--muted); font-size: .78rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.item.clickable { cursor: pointer; }

.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar label { color: var(--muted); font-size: .85rem; }

/* run trend bars */
.trend { display: flex; gap: 4px; align-items: flex-end; height: 70px; }
.trend .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; cursor: pointer; min-width: 10px; }
.trend .seg { border-radius: 2px 2px 0 0; }
.trend .seg.p { background: var(--green); }
.trend .seg.h { background: var(--amber); }
.trend .seg.f { background: var(--red); }
.trend-labels { display: flex; gap: 4px; margin-top: 4px; }
.trend-labels span { flex: 1; font-size: .6rem; color: var(--muted); text-align: center; min-width: 10px; overflow: hidden; }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: flex-start; justify-content: center; z-index: 50; padding: 4vh 16px; }
.modal.hidden, .hidden { display: none; }
.modal-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  width: min(860px, 100%); max-height: 90vh; overflow-y: auto; padding: 22px;
}
.modal-box h2 { margin-top: 0; }
.form-row { display: flex; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.form-row > div { flex: 1; min-width: 180px; }
.form-row label { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.form-row input, .form-row select { width: 100%; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
fieldset { border: 1px solid var(--border); border-radius: 8px; margin: 0 0 14px; }
legend { color: var(--muted); font-size: .85rem; padding: 0 6px; }

/* empty states (roadmap 67) */
.empty-state { text-align: center; padding: 42px 20px; color: var(--muted); }
.empty-state .es-icon { font-size: 2.2rem; margin-bottom: 8px; opacity: .85; }
.empty-state h4 { margin: 0 0 6px; color: var(--text); font-size: 1.02rem; }
.empty-state p { margin: 0 auto 14px; max-width: 460px; font-size: .9rem; line-height: 1.5; }
.empty-state .es-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* loading skeletons (roadmap 66) */
.skel {
  background: linear-gradient(90deg, var(--panel2) 25%, var(--skel-mid) 37%, var(--panel2) 63%);
  background-size: 400% 100%;
  animation: skelShimmer 1.4s ease infinite;
  border-radius: 6px;
}
@keyframes skelShimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* content calendar (roadmap 59) */
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  color: var(--muted); font-size: .8rem; margin-bottom: 4px; text-align: right; padding-right: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { background: var(--panel2); border: 1px solid var(--border); border-radius: 8px;
  min-height: 92px; padding: 4px 6px; overflow: hidden; }
.cal-day.empty { background: transparent; border-color: transparent; }
.cal-day.today { border-color: var(--accent); }
.cal-num { color: var(--muted); font-size: .78rem; text-align: right; }
.cal-entry { font-size: .74rem; line-height: 1.25; border-left: 3px solid var(--muted);
  padding: 2px 4px; margin-top: 3px; border-radius: 3px; background: var(--panel);
  cursor: pointer; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-entry:hover { filter: brightness(1.2); }
.cal-entry.live { border-left-color: var(--green); }
.cal-entry.sched { border-left-color: var(--amber); }
.cal-entry.wpdraft { border-left-color: var(--muted); opacity: .75; }

/* branded login page (roadmap 63) */
.login-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg, #0d1013);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.login-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  padding: 38px 40px 30px; width: min(380px, 100%);
  text-align: center; box-shadow: 0 18px 60px rgba(0,0,0,.55);
}
.login-card h1 { margin: 10px 0 4px; font-size: 1.4rem; }
.login-field { text-align: left; margin-top: 12px; }
.login-field label { display: block; color: var(--muted); font-size: .8rem; margin-bottom: 4px; }
.login-field input { width: 100%; box-sizing: border-box; padding: 9px 12px; }
.login-btn { width: 100%; margin-top: 18px; padding: 10px; font-size: 1rem; }
.login-btn:disabled { opacity: .6; cursor: default; }
.login-err {
  margin-top: 12px; padding: 8px 12px; border-radius: 8px; font-size: .85rem;
  background: var(--tint-red); color: var(--red); border: 1px solid var(--danger-border); text-align: left;
}
.login-powered { margin-top: 22px; }

/* site health panel (roadmap 54) */
.health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.health-item { display: flex; gap: 8px; align-items: flex-start; }
.hdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.hdot.ok { background: var(--green); }
.hdot.warn { background: var(--amber); }
.hdot.bad { background: var(--red); box-shadow: 0 0 6px var(--red); }
.hdot.unknown { background: var(--muted); opacity: .5; }

/* in-app dialogs (confirm/prompt) — layered ABOVE .modal (z 50) so drawer
   actions can ask questions without destroying the drawer beneath; toasts (60)
   stay on top of everything */
.dlg {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 55; padding: 16px;
}
/* must OUTRANK .dlg's display:flex — the generic .hidden rule is declared
   earlier and ties on specificity, so it silently loses and the invisible
   overlay eats every click (the bug Zahir hit 2026-07-10) */
.dlg.hidden { display: none; }
.dlg-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: 12px;
  width: min(440px, 100%); padding: 20px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  animation: dlgIn .13s ease-out;
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-box h3 { margin: 0 0 10px; font-size: 1.05rem; }
.dlg-box .dlg-msg { color: var(--muted); font-size: .92rem; margin: 0 0 14px; line-height: 1.45; white-space: pre-line; }
.dlg-box input, .dlg-box select { width: 100%; box-sizing: border-box; }
.dlg-box textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 72px; font: inherit; }
.dlg-box .form-actions { margin-top: 16px; }
button.danger { background: var(--tint-red); border-color: var(--danger-border); color: var(--red); }
button.danger:hover { background: var(--tint-red); filter: brightness(1.15); border-color: var(--red); }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--panel2); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 18px; z-index: 60; box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.toast.err { border-color: var(--red); color: var(--red); }

pre.log {
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px; font-size: .78rem; max-height: 55vh; overflow: auto;
  white-space: pre-wrap; word-break: break-word;
}
.feed-row { display: flex; gap: 8px; margin-bottom: 6px; align-items: center; }
.feed-row input.url { flex: 1; }
.filelist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.filelist button.active { border-color: var(--accent); color: var(--accent); }
.front-slot { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--border); }
.front-slot:last-child { border-bottom: none; }
kbd { background: var(--panel2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font-size: .75rem; }

/* stats view (GoatCounter) */
.gc-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.gc-nav button.active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.gc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; align-items: start; }
.gc-cols .panel { margin-bottom: 0; }
.gc-table td, .gc-table th { border-bottom: none; padding: 4px 8px 4px 0; }
.gc-table th { border-bottom: 1px solid var(--border); }
td.gc-n, th.gc-n { text-align: right; color: var(--muted); white-space: nowrap; width: 1%; }
td.gc-n b { color: var(--text); }
.gc-bar { position: relative; }
.gc-bar em {
  position: absolute; left: 0; top: 2px; bottom: 2px; background: #1d3a52;
  border-radius: 4px; z-index: 0; font-style: normal;
}
.gc-bar > span, .gc-bar > a { position: relative; z-index: 1; padding-left: 5px; display: inline-block;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-bars { display: flex; align-items: flex-end; gap: 2px; }
.gc-day { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.gc-day .gc-v { width: 100%; background: var(--blue); border-radius: 3px 3px 0 0; min-height: 2px; opacity: .85; }
.gc-day:hover .gc-v { opacity: 1; }
.gc-tip { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #000; border: 1px solid var(--border); border-radius: 7px; padding: 6px 10px;
  font-size: .8rem; white-space: nowrap; z-index: 5; }
.gc-day:hover .gc-tip { display: block; }
.gc-xlab { display: flex; justify-content: space-between; color: var(--muted); font-size: .75rem; padding: 6px 2px 0; }
.gc-hours { display: flex; gap: 2px; align-items: flex-end; height: 46px; }
.gc-hr { flex: 1; background: var(--amber); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .8; }
.gc-hr:hover { opacity: 1; }
.gc-hlab { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; padding-top: 3px; }
.gc-spark { display: inline-flex; align-items: flex-end; gap: 1px; height: 22px; width: 120px; }
.gc-spark i { flex: 1; background: var(--blue); border-radius: 1px; min-height: 1px; opacity: .8; }
.gc-heat { display: grid; grid-template-columns: 36px repeat(24, 1fr); gap: 2px; max-width: 980px; }
.gc-heat .gc-lab { color: var(--muted); font-size: .72rem; display: flex; align-items: center; }
.gc-heat .gc-hcol { color: var(--muted); font-size: .65rem; text-align: center; }
.gc-heat .gc-cell { aspect-ratio: 1.4; border-radius: 3px; position: relative; }
.gc-heat .gc-cell:hover::after {
  content: attr(data-t); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%);
  background: #000; border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px;
  font-size: .75rem; white-space: nowrap; z-index: 9; color: var(--text);
}

/* stats view — expanded */
.gc-cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.gc-delta { font-size: .72rem; font-weight: 600; vertical-align: 3px; }
.gc-delta.up { color: var(--green); }
.gc-delta.down { color: var(--red); }
.gc-range { float: right; display: inline-flex; gap: 4px; }
.gc-range button.active { border-color: var(--accent); color: var(--accent); }
.gc-pub { position: absolute; bottom: -7px; width: 60%; height: 3px; border-radius: 2px; }
.gc-pub.on { background: var(--amber); }
.gc-day { margin-bottom: 8px; }
.gc-legend { color: var(--muted); font-size: .72rem; padding-top: 8px; display: flex; gap: 6px; align-items: center; }
.gc-drill td { background: var(--panel2); border-radius: 8px; }
.gc-drill-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 8px 6px; }
.gc-drill-grid h4 { margin: 0 0 8px; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.gc-drill-grid .ext { display: inline-block; margin-top: 8px; font-size: .82rem; }
@media (max-width: 900px) { .gc-drill-grid { grid-template-columns: 1fr; } }
.toolbar label input[type="checkbox"] { vertical-align: -2px; }

/* mobile (roadmap 68) — stacked kanban, scrollable nav/tables, tighter chrome */
@media (max-width: 720px) {
  main { padding: 10px; }
  header { gap: 8px; padding: 8px 10px; }
  nav { overflow-x: auto; max-width: 100%; flex: 1 1 100%; order: 10;
        scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { padding: 6px 10px; white-space: nowrap; }
  .brand { font-size: 1rem; }
  .toolbar { gap: 6px; }
  .toolbar input, .toolbar select { min-width: 0 !important; flex: 1 1 140px; }
  .pipe { grid-template-columns: 1fr; }          /* kanban -> stacked cards */
  .stage .items { max-height: 320px; }           /* stacked columns stay scannable */
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card .num { font-size: 1.4rem; }
  table { font-size: .82rem; }
  th, td { padding: 5px 6px; }
  .modal { padding: 1.5vh 8px; }
  .modal-box { padding: 14px; max-height: 94vh; }
  .dlg-box { padding: 16px; }
  .cal-head { font-size: .62rem; }
  .cal-day { min-height: 58px; padding: 2px 3px; }
  .cal-num { font-size: .62rem; }
  .cal-entry { font-size: .58rem; -webkit-line-clamp: 3; }
  .gc-cols, .health-grid { grid-template-columns: 1fr 1fr; }
  pre.log { font-size: .7rem; }
  .login-card { padding: 26px 20px 22px; }
  .empty-state { padding: 26px 10px; }
}

/* RTL support (roadmap 69) — flex/grid mirror automatically; fix the explicit bits */
[dir="rtl"] th { text-align: right; }
[dir="rtl"] .cal-head, [dir="rtl"] .cal-num { text-align: left; }
[dir="rtl"] .cal-entry { border-left: none; border-right: 3px solid var(--muted); }
[dir="rtl"] .cal-entry.live { border-right-color: var(--green); }
[dir="rtl"] .cal-entry.sched { border-right-color: var(--amber); }
[dir="rtl"] .cal-entry.wpdraft { border-right-color: var(--muted); }
[dir="rtl"] .login-field, [dir="rtl"] .login-err { text-align: right; }
[dir="rtl"] .empty-state p { direction: rtl; }
