/* Хаб ProfiSkills. Темы: «Чистый лист» (светлая, по умолчанию) и «Ночная смена» (тёмная).
   data-theme на <html>: light | dark | auto (auto — как в системе). */
:root {
  --bg: #f7f7f8;
  --surface: #ffffff;
  --surface-2: #efeff1;
  --text: #1f2023;
  --muted: #74767c;
  --line: #e6e6ea;
  --accent: #5c5c5c;
  --accent-soft: #ececee;
  --accent-text: #ffffff;
  --good: #1f9d6b;
  --good-bg: #e4f5ec;
  --bad: #e5484d;
  --bad-bg: #fdecec;
  --warn: #b7791f;
  --warn-bg: #fdf3dc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 30, 46, 0.04), 0 4px 16px rgba(28, 30, 46, 0.04);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #2e3236;
  --surface: #3a3f43;
  --surface-2: #454a4f;
  --text: #f1f2f3;
  --muted: #aab0b5;
  --line: #4d5358;
  --accent: #e4e6e8;
  --accent-soft: #50565b;
  --accent-text: #2e3236;
  --good: #5fd39a;
  --good-bg: #2f4a3e;
  --bad: #ff8a80;
  --bad-bg: #563634;
  --warn: #f2c35b;
  --warn-bg: #54472b;
  --shadow: none;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #2e3236;
  --surface: #3a3f43;
  --surface-2: #454a4f;
  --text: #f1f2f3;
  --muted: #aab0b5;
  --line: #4d5358;
  --accent: #e4e6e8;
  --accent-soft: #50565b;
  --accent-text: #2e3236;
  --good: #5fd39a;
  --good-bg: #2f4a3e;
  --bad: #ff8a80;
  --bad-bg: #563634;
  --warn: #f2c35b;
  --warn-bg: #54472b;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 30px; margin: 0; letter-spacing: -0.02em; font-weight: 650; }
h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 14px; margin: 16px 0 8px; }
code { font-family: var(--mono); font-size: 0.9em; }

/* Иконки (hub/static/icons.svg): цвет — от текста, размер — от шрифта */
.ic { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.btn .ic { width: 17px; height: 17px; }
.btn-small .ic { width: 15px; height: 15px; }
.done-btn .ic { width: 13px; height: 13px; }

/* Шапка с меню сверху */
.layout { min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand strong { font-weight: 650; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 11px; color: var(--muted); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--accent); color: var(--accent-text);
  display: grid; place-items: center; font-weight: 700;
}
.nav-label { display: block; font-size: 11px; color: var(--muted); margin: 0 0 2px; }
nav.main-nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
nav.main-nav::-webkit-scrollbar { display: none; }
nav.main-nav a { color: var(--muted); padding: 7px 12px; border-radius: 999px; white-space: nowrap; font-weight: 500;
  display: inline-flex; align-items: center; gap: 7px; }
nav.main-nav a .ic { width: 17px; height: 17px; opacity: 0.85; }
nav.main-nav a.active .ic { opacity: 1; }
nav.main-nav a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
nav.main-nav a.active { color: var(--text); background: var(--accent-soft); }
.topbar-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ws-switch { display: flex; gap: 6px; align-items: center; }
.ws-switch select { width: auto; padding: 6px 10px; }
.ws-name { font-size: 13px; color: var(--muted); }
.logout { display: flex; align-items: center; gap: 8px; margin: 0; }
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border-radius: 999px; }
.theme-switch button {
  font: inherit; font-size: 12px; border: 0; background: transparent; color: var(--muted);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
}
.theme-switch .ic { width: 15px; height: 15px; }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }

.content { padding: 32px; max-width: 1200px; width: 100%; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.eyebrow a { color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; }

.stats { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; min-width: 150px; color: var(--muted); font-size: 13px; box-shadow: var(--shadow); }
.stat span { display: block; font-size: 28px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); }
.stat-good span { color: var(--good); }
.stat-bad { border-color: var(--bad); }
.stat-bad span { color: var(--bad); }

.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .url { max-width: 260px; overflow-wrap: anywhere; }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-good { background: var(--good-bg); color: var(--good); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-off { background: var(--surface-2); color: var(--muted); }
.tag { display: inline-block; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; font-size: 12px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
input, select, textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; width: 100%;
}
input[type="checkbox"] { width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 12px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.hint { font-size: 12px; color: var(--muted); margin: 0; }
.error { color: var(--bad); font-size: 12px; }
.actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
}
.btn:hover { text-decoration: none; filter: brightness(0.97); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-small { padding: 4px 10px; font-size: 12px; }

.alert { background: var(--warn-bg); color: var(--text); border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; }
.alert-error { background: var(--bad-bg); }
.alert-ok { background: var(--good-bg); }
.code { font-family: var(--mono); font-size: 28px; letter-spacing: 0.2em; font-weight: 700; margin: 8px 0; }
.list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.dot-ok { background: var(--good); }
.dot-fail, .dot-config_error { background: var(--bad); }
.dot-blocked { background: var(--warn); }
.danger { border-color: var(--bad); }
.empty { text-align: center; }

.center-page { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; display: grid; gap: 14px; }

@media (max-width: 860px) {
  .topbar-inner { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  nav.main-nav { order: 3; flex-basis: 100%; }
  .topbar-tools { margin-left: auto; }
  .ws-name, .logout .muted, .theme-switch span, .logout span { display: none; }
  .content { padding: 20px 16px; }
  h1 { font-size: 24px; }
  .grid-2 { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { border: 0; padding: 4px 14px; }
  .table td::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
  .table .url { max-width: none; }
}

/* --- фаза 3: задачи и календарь --- */
.count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; text-align: center; font-weight: 600; }
.card-bad { border-color: var(--bad); }
.mono { font-family: var(--mono); font-size: 0.92em; }

.quick-add { display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; margin-bottom: 20px; }
.quick-add input[type="date"], .quick-add input[type="time"] { width: auto; }

.tasks { list-style: none; margin: 0; padding: 0; }
.task { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.task-check { margin: 0; }
.done-btn {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: transparent;
  color: var(--good); font-weight: 700; line-height: 1; cursor: pointer; padding: 0; margin-top: 1px;
}
.done-btn:hover { border-color: var(--good); }
.task-important .done-btn { border-color: var(--bad); }
.task-body { display: grid; gap: 2px; color: var(--text); flex: 1; min-width: 0; }
.task-body:hover { text-decoration: none; }
.task-body:hover .task-title { color: var(--accent); }
.task-title { overflow-wrap: anywhere; }
.important { color: var(--bad); font-weight: 700; }
.task-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.task-done .task-title { text-decoration: line-through; color: var(--muted); }
.task-done .done-btn { border-color: var(--good); }
.proj { display: inline-flex; align-items: center; gap: 4px; }
.pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--muted)); display: inline-block; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { padding: 6px 12px; border-radius: 8px; color: var(--text); border: 1px solid transparent; }
.tabs a:hover { background: var(--surface-2); text-decoration: none; }
.tabs a.active { background: var(--surface); border-color: var(--line); font-weight: 600; }
.tabs a.tab-bad .count { background: var(--bad-bg); color: var(--bad); }

.cal-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.cal-wrap { overflow-x: auto; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 640px; }
.cal th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 1px solid var(--line); }
.cal td { vertical-align: top; height: 104px; padding: 6px; border: 1px solid var(--line); }
.cal-out { background: var(--bg); }
.cal-out .cal-num { color: var(--muted); }
.cal-weekend { background: color-mix(in srgb, var(--surface-2) 40%, transparent); }
.cal-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-num { display: inline-block; font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.cal-task {
  display: block; font-size: 12px; line-height: 1.3; padding: 3px 6px; margin-bottom: 3px; border-radius: 6px;
  background: var(--surface-2); color: var(--text); border-left: 3px solid var(--pc, var(--muted));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: grab;
}
.cal-task:hover { text-decoration: none; filter: brightness(0.96); }
.cal-task.task-done { text-decoration: line-through; color: var(--muted); }
.dragging { opacity: 0.4; }
.drop-target { background: var(--good-bg) !important; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.week-day { padding: 12px; min-height: 160px; }
.week-day h2 { font-size: 13px; }
.week-day h2 a { color: var(--text); }

.pc-2f45d8 { --pc: #2f45d8; } .pc-1f8a4c { --pc: #1f8a4c; } .pc-c7362b { --pc: #c7362b; } .pc-e07b00 { --pc: #e07b00; }
.pc-8a3ffc { --pc: #8a3ffc; } .pc-0f9aa8 { --pc: #0f9aa8; } .pc-c2378a { --pc: #c2378a; } .pc-6f6a5f { --pc: #6f6a5f; }

@media (max-width: 860px) {
  .quick-add { grid-template-columns: 1fr 1fr; }
  .quick-add input[name="title"] { grid-column: 1 / -1; }
  .quick-add button { grid-column: 1 / -1; }
  .week { grid-template-columns: 1fr; }
  .cal td { height: 80px; padding: 3px; }
  .cal-task { font-size: 11px; padding: 2px 4px; }
}

/* Широкие блоки (календарь) прокручиваются внутри себя, а не растягивают страницу. */
.content { min-width: 0; }
.hint-touch { display: none; }
@media (max-width: 860px) {
  .hint-drag { display: none; }
  .hint-touch { display: block; }
}

/* --- фаза 5: клиенты, оплаты, карточки --- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filters input[name="q"] { flex: 1 1 260px; width: auto; }
.filters select { width: auto; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 10px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.notes { white-space: pre-wrap; background: var(--bg); border-radius: 8px; padding: 10px 12px; margin: 0; }
.pay-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pay-row:last-child { border-bottom: 0; }
.pay-paid { opacity: 0.7; }
.pay-overdue strong { color: var(--bad); }
.row-actions { display: flex; gap: 4px; flex-shrink: 0; }
.row-actions form { margin: 0; }
.add-payment { margin-top: 12px; }
.add-payment summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.add-payment .form { margin-top: 10px; }
.narrow { max-width: 640px; }
h1 .pdot { width: 14px; height: 14px; vertical-align: middle; }

/* --- фаза 6: сроки --- */
.dl-soon strong { color: var(--warn); }
.cal-deadline {
  display: block; font-size: 11px; line-height: 1.3; padding: 2px 6px; margin-bottom: 3px; border-radius: 6px;
  background: var(--warn-bg); color: var(--text); border-left: 3px solid var(--pc, var(--warn));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-deadline:hover { text-decoration: none; filter: brightness(0.96); }

/* --- фаза 7: сервер --- */
.server-mini { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--surface-2); }
.server-mini:hover { text-decoration: none; background: var(--surface-2); }
.server-mini .nav-label { display: none; }
.srv-row { display: flex; gap: 4px; }
.srv-bad, .srv-bad .mono { color: var(--bad); font-weight: 700; }
.srv-today { display: flex; gap: 18px; margin-bottom: 8px; }
.srv-today div { display: grid; color: var(--muted); font-size: 12px; }
.srv-today .mono { font-size: 22px; font-weight: 700; color: var(--text); }
.srv-today .srv-bad .mono { color: var(--bad); }
.spark { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 10px; margin-bottom: 10px; }
.spark svg { width: 100%; height: 48px; background: var(--bg); border-radius: 6px; }
.spark-bar { fill: var(--accent); }
.spark-bad { fill: var(--bad); }
.spark-limit { stroke: var(--bad); stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
@media (max-width: 860px) { .server-mini { display: none; } }

/* --- фаза 8: Метрика --- */
.stats.compact .stat { min-width: 110px; padding: 8px 12px; }
.stats.compact .stat span { font-size: 20px; }
.metrika-chart { width: 100%; height: 80px; background: var(--bg); border-radius: 6px; }
.metrika-chart rect { fill: var(--accent); }

/* Шапка на экранах до 1440 px: переключатель темы и «Выйти» — только иконки (подписи — в title) */
@media (max-width: 1440px) {
  .theme-switch span, .logout span, .ws-name { display: none; }
  .theme-switch button { padding: 5px 8px; }
  nav.main-nav a { padding: 7px 9px; gap: 6px; }
  .topbar-inner { gap: 12px; }
}

/* Иконки в заголовках, вкладках и фильтрах */
h1 .ic { width: 26px; height: 26px; vertical-align: -4px; margin-right: 10px; color: var(--muted); }
h2 .ic { width: 18px; height: 18px; vertical-align: -3px; margin-right: 7px; color: var(--muted); }
.card-bad h2 .ic { color: var(--bad); }
.tabs a { display: inline-flex; align-items: center; gap: 6px; }
.tabs a .ic { width: 16px; height: 16px; opacity: 0.8; }
.tabs a.active .ic { opacity: 1; }
.search-field { position: relative; display: block; flex: 1 1 260px; color: var(--muted); }
.search-field .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; pointer-events: none; }
.search-field input { padding-left: 38px; width: 100%; }
.filters input[name="q"] { flex: none; }
.filter-icon { color: var(--muted); display: inline-flex; }
.filter-icon .ic { width: 18px; height: 18px; }
.filters .check .ic, p.small .ic { width: 15px; height: 15px; vertical-align: -3px; }
.filters .search-field input { width: 100%; }
.filters .check { flex-shrink: 0; white-space: nowrap; }

/* --- Работа без связи --- */
.offline-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 12px auto 0; width: calc(100% - 64px); max-width: 1136px; padding: 10px 14px; border-radius: var(--radius);
  background: var(--warn-bg); color: var(--warn); font-weight: 600;
}
.offline-bar[hidden] { display: none; }
.offline-bar .offline-actions { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
/* Без связи формы не отправятся — показываем это заранее. */
.is-offline main form[method="post"] button:not([type="button"]) { opacity: .45; cursor: not-allowed; }
.is-offline.queue-ready main form.quick-add button, .is-offline.queue-ready main form.task-check button { opacity: 1; cursor: pointer; }
@media (max-width: 860px) { .offline-bar { width: calc(100% - 32px); } }

/* --- Очередь действий без связи --- */
.sync-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
  background: var(--warn-bg); color: var(--warn); font-weight: 600; font-size: 13px;
}
.sync-badge[hidden] { display: none; }
.sync-panel {
  margin: 12px auto 0; width: calc(100% - 64px); max-width: 1136px; padding: 14px 16px;
  border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--warn); box-shadow: var(--shadow);
}
.sync-panel[hidden] { display: none; }
.sync-panel h3 { margin: 0 0 4px; font-size: 15px; }
.sync-panel .alert { margin: 10px 0 0; }
.sync-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.sync-list li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sync-list li > span:first-child { flex: 1 1 220px; }
.task-pending { outline: 1px dashed var(--warn); outline-offset: 2px; border-radius: 8px; }
@media (max-width: 860px) { .sync-panel { width: calc(100% - 32px); } }

/* --- Цвет акцента пространства (sites.ACCENTS): класс accent-<ключ> на <html>. Сгенерировано из палитры. --- */
:root.accent-graphite { --accent: #5c5c5c; --accent-soft: #ebebeb; --accent-text: #ffffff; }
:root.accent-graphite[data-theme="dark"] { --accent: #e4e6e8; --accent-soft: #5f6467; --accent-text: #2e3236; }
:root.accent-rose { --accent: #b4436c; --accent-soft: #f6e8ed; --accent-text: #ffffff; }
:root.accent-rose[data-theme="dark"] { --accent: #f0a6bf; --accent-soft: #62565e; --accent-text: #2e3236; }
:root.accent-plum { --accent: #7a3e8a; --accent-soft: #efe8f1; --accent-text: #ffffff; }
:root.accent-plum[data-theme="dark"] { --accent: #d7a8e3; --accent-soft: #5d5666; --accent-text: #2e3236; }
:root.accent-lavender { --accent: #5b5bb0; --accent-soft: #ebebf6; --accent-text: #ffffff; }
:root.accent-lavender[data-theme="dark"] { --accent: #b7b7f0; --accent-soft: #565969; --accent-text: #2e3236; }
:root.accent-ocean { --accent: #2563a6; --accent-soft: #e5ecf4; --accent-text: #ffffff; }
:root.accent-ocean[data-theme="dark"] { --accent: #9cc3ef; --accent-soft: #505c69; --accent-text: #2e3236; }
:root.accent-teal { --accent: #0f7d7a; --accent-soft: #e2efef; --accent-text: #ffffff; }
:root.accent-teal[data-theme="dark"] { --accent: #8fd8d3; --accent-soft: #4d6163; --accent-text: #2e3236; }
:root.accent-sage { --accent: #4f7a4a; --accent-soft: #eaefe9; --accent-text: #ffffff; }
:root.accent-sage[data-theme="dark"] { --accent: #b3d6ad; --accent-soft: #55605a; --accent-text: #2e3236; }
:root.accent-sand { --accent: #8a6a2f; --accent-soft: #f1ede6; --accent-text: #ffffff; }
:root.accent-sand[data-theme="dark"] { --accent: #e3cb98; --accent-soft: #5f5e56; --accent-text: #2e3236; }
:root.accent-coral { --accent: #b8533a; --accent-soft: #f6eae7; --accent-text: #ffffff; }
:root.accent-coral[data-theme="dark"] { --accent: #f2b09e; --accent-soft: #625857; --accent-text: #2e3236; }
@media (prefers-color-scheme: dark) {
  :root.accent-graphite[data-theme="auto"] { --accent: #e4e6e8; --accent-soft: #5f6467; --accent-text: #2e3236; }
  :root.accent-rose[data-theme="auto"] { --accent: #f0a6bf; --accent-soft: #62565e; --accent-text: #2e3236; }
  :root.accent-plum[data-theme="auto"] { --accent: #d7a8e3; --accent-soft: #5d5666; --accent-text: #2e3236; }
  :root.accent-lavender[data-theme="auto"] { --accent: #b7b7f0; --accent-soft: #565969; --accent-text: #2e3236; }
  :root.accent-ocean[data-theme="auto"] { --accent: #9cc3ef; --accent-soft: #505c69; --accent-text: #2e3236; }
  :root.accent-teal[data-theme="auto"] { --accent: #8fd8d3; --accent-soft: #4d6163; --accent-text: #2e3236; }
  :root.accent-sage[data-theme="auto"] { --accent: #b3d6ad; --accent-soft: #55605a; --accent-text: #2e3236; }
  :root.accent-sand[data-theme="auto"] { --accent: #e3cb98; --accent-soft: #5f5e56; --accent-text: #2e3236; }
  :root.accent-coral[data-theme="auto"] { --accent: #f2b09e; --accent-soft: #625857; --accent-text: #2e3236; }
}
