/* ============================================================
   Тема «Остров» — палитра Island Water (Vice City palettes).
   Бирюзовая вода #0BC1C0, песчаная отмель #FCDAA7, оранжевый катер #FD6720, глубокий риф #003A4F.
   Стиль: 29 «Топографический контур» из галереи — линии высот как на карте,
   каждая 4-я толще, бумажные карточки с отметкой-точкой, Jura в заголовках.
   Фон: изолинии на холсте (painter "topo", цвета --paint-*), рисуются один раз.
   ============================================================ */
:root[data-theme="island"] {
  --bg: #fdeed6; --bg-deep: #f7dfb8;
  --surface: rgba(255, 251, 243, .9); --surface-2: rgba(0, 58, 79, .05); --surface-3: rgba(0, 58, 79, .1);
  --surface-strong: #003a4f; --on-strong: #fdeed6;
  --text: #003a4f; --muted: rgba(0, 58, 79, .68);
  --line: rgba(0, 58, 79, .35); --line-2: rgba(0, 58, 79, .13);
  --accent: #fd6720; --on-accent: #002433; --accent-2: #0bc1c0;
  --positive: #003a4f; --on-positive: #fdeed6;
  --danger: #c9361b; --on-danger: #fff; --warn: #d98e04;
  --hl: rgba(11, 193, 192, .35); --row-tint: rgba(255, 255, 255, 0);
  --field: #fffdf8; --field-focus: #fff; --focus: #0a9e9d; --scrim: rgba(0, 58, 79, .3);
  --font-display: "Jura", sans-serif; --display-weight: 700; --display-case: uppercase; --display-track: .08em;
  --font-num: "Jura", sans-serif;
  --radius-card: 10px; --radius-ctl: 8px;
  --card-border: 1px solid rgba(0, 58, 79, .18);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 16px 36px -26px rgba(0, 58, 79, .5);
  --card-blur: 2px;
  --paint-1: rgba(0, 58, 79, .16); --paint-2: rgba(0, 58, 79, .3); --paint-3: rgba(11, 193, 192, .55); --paint-4: #fdeed6;
}
:root[data-theme="island"][data-mode="night"] {
  --bg: #002a3a; --bg-deep: #001b26;
  --surface: rgba(0, 46, 64, .82); --surface-2: rgba(233, 247, 245, .05); --surface-3: rgba(233, 247, 245, .1);
  --surface-strong: #001b26; --on-strong: #e9f7f5;
  --text: #e9f7f5; --muted: rgba(233, 247, 245, .66);
  --line: rgba(11, 193, 192, .45); --line-2: rgba(233, 247, 245, .12);
  --accent: #fd6720; --on-accent: #1d0a00; --accent-2: #0bc1c0;
  --positive: #0bc1c0; --on-positive: #002a3a;
  --danger: #ff7a59; --on-danger: #1d0a00; --warn: #fcdaa7;
  --hl: rgba(11, 193, 192, .35); --row-tint: rgba(0, 42, 58, .8);
  --field: rgba(233, 247, 245, .05); --field-focus: rgba(233, 247, 245, .09); --focus: #0bc1c0;
  --scrim: rgba(0, 12, 18, .6);
  --card-border: 1px solid rgba(11, 193, 192, .22);
  --card-shadow: 0 16px 36px -24px rgba(0, 0, 0, .7);
  --paint-1: rgba(11, 193, 192, .1); --paint-2: rgba(11, 193, 192, .2); --paint-3: rgba(252, 218, 167, .35); --paint-4: #002a3a;
}

/* Отметка на карте в углу каждой карточки */
[data-theme="island"] .card::before {
  content: ""; position: absolute; top: 14px; right: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent);
}
[data-theme="island"] .card > h3:first-child, [data-theme="island"] .card > h2:first-child { padding-right: 24px; }
[data-theme="island"] h3::before {
  content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--accent-2);
}
[data-theme="island"] .row-between > h3::before { display: none; }

/* Подписи, кнопки и цифры — Jura, как подписи высот на карте */
[data-theme="island"] .btn:not(.btn-ghost), [data-theme="island"] .badge, [data-theme="island"] .crm-table th {
  font-family: "Jura", var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
[data-theme="island"] .btn-grid-3 > .btn { letter-spacing: .03em; }
[data-theme="island"] .adm-nav .tab-btn.is-active { border-color: var(--accent-2); background: color-mix(in oklab, var(--accent-2) 16%, transparent); }
[data-theme="island"] .adm-nav .tab-btn.is-active svg { color: var(--accent-2); }
[data-theme="island"] #cl-cards-box strong { font-family: var(--font-num); font-weight: 700; }
[data-theme="island"] .list-item { border-left: 3px solid var(--accent-2); }
[data-theme="island"] .sep { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 11px); }
