/**
 * Sellium Tools Free — Общая дизайн-система
 * ==========================================
 * Используется shell'ом (index.html).
 * Инструменты внутри iframe НЕ подключают этот файл.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ═══ CSS VARIABLES ═══ */
:root {
  --color-primary: #3b6ef8;
  --color-primary-light: #eef2ff;
  --color-primary-hover: #f5f7ff;
  /* Цветовая палитра — Tailwind slate. Совпадает с --s-* в common.css,
     чтобы при переходе shell → инструмент (iframe) оттенки текста и границ
     не менялись. См. палитру: tailwindcss.com/docs/customizing-colors#slate. */
  --color-bg: #f0f2f7;             /* фон корпуса (нейтральный, не slate) */
  --color-surface: #ffffff;
  --color-border: #e2e8f0;         /* slate-200 */
  --color-border-light: #f0f2f7;
  --color-text: #1e293b;           /* slate-800 */
  --color-text-secondary: #475569; /* slate-600 */
  --color-text-muted: #94a3b8;     /* slate-400 */
  --color-text-light: #64748b;     /* slate-500 */
  --color-text-faint: #cbd5e1;     /* slate-300 */
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-purple: #6366f1;
  --sidebar-width: 240px;
  --topbar-height: 54px;
  --radius-card: 14px;
  --radius-nav: 9px;
  --radius-sub: 7px;
  --radius-icon: 13px;
  --radius-badge: 10px;
  --radius-ver: 5px;
  --font-family: 'Inter', system-ui, sans-serif;
  --font-base: 14px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html, body { height: 100%; font-family: var(--font-family); font-size: var(--font-base) }
body { display: flex; background: var(--color-bg); color: var(--color-text) }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 4px; height: 4px }
::-webkit-scrollbar-track { background: transparent }
::-webkit-scrollbar-thumb { background: #d1d8e8; border-radius: 2px }

/* ═══ SIDEBAR ═══ */
.sidebar {
  width: var(--sidebar-width); min-width: var(--sidebar-width);
  background: var(--color-surface); border-right: 1px solid var(--color-border);
  display: flex; flex-direction: column; height: 100vh;
  position: fixed; left: 0; top: 0; z-index: 50;
  overflow-y: auto; overflow-x: hidden;
}
.sidebar-logo {
  padding: 22px 20px 18px; border-bottom: 1px solid var(--color-border-light);
  cursor: pointer; flex-shrink: 0;
}
.sidebar-logo:hover .logo-text { opacity: .8 }
.logo-text {
  font-size: 1.15rem; font-weight: 800; color: var(--color-primary);
  letter-spacing: .3px; transition: opacity .15s;
}
.logo-sub {
  font-size: .6rem; font-weight: 600; color: var(--color-text-muted);
  letter-spacing: 2.5px; text-transform: uppercase; margin-top: 2px;
}

/* Sections */
.sidebar-sec { padding: 14px 10px 4px; flex-shrink: 0 }
.sidebar-sec-lbl {
  font-size: .56rem; font-weight: 700; color: var(--color-text-muted);
  letter-spacing: 2px; text-transform: uppercase; padding: 0 8px; margin-bottom: 6px;
}

/* Nav items */
.nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--radius-nav);
  font-size: .82rem; font-weight: 500; color: var(--color-text-secondary);
  cursor: pointer; transition: all .15s; margin-bottom: 1px;
  user-select: none; position: relative;
}
.nav-item:hover { background: var(--color-primary-hover); color: var(--color-primary) }
.nav-item.active { background: var(--color-primary-light); color: var(--color-primary); font-weight: 600 }
.nav-icon { font-size: .95rem; width: 20px; text-align: center; flex-shrink: 0 }
.nav-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.nav-arrow { font-size: .55rem; color: var(--color-text-faint); transition: transform .25s; flex-shrink: 0 }
.nav-item.expanded .nav-arrow { transform: rotate(180deg); color: var(--color-primary) }

/* Version badge */
.nav-ver {
  font-size: .56rem; font-weight: 700; color: var(--color-text-muted);
  background: var(--color-border-light); padding: 1px 5px;
  border-radius: var(--radius-ver); flex-shrink: 0;
}

/* Update dot */
.update-dot { position: relative; width: 14px; height: 14px; flex-shrink: 0; cursor: help }
.update-dot-inner {
  width: 8px; height: 8px; border-radius: 50%;
  position: absolute; top: 3px; left: 3px;
}
.update-dot-inner.upd { background: var(--color-primary); box-shadow: 0 0 0 2px rgba(59,110,248,.2) }
.update-dot-inner.new { background: var(--color-success); box-shadow: 0 0 0 2px rgba(34,197,94,.2) }

/* Tooltip */
.tt {
  position: fixed; z-index: 9999; pointer-events: none;
  background: var(--color-text); color: #fff; padding: 10px 14px;
  border-radius: 10px; font-size: .72rem; line-height: 1.5;
  width: 220px; opacity: 0; transition: opacity .15s;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.tt::before {
  content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--color-text);
}
.update-dot:hover .tt { opacity: 1 }
.tt-title { font-weight: 700; margin-bottom: 4px; font-size: .74rem }
.tt-date { color: #93c5fd; font-size: .65rem; margin-bottom: 6px }
.tt-list { padding-left: 12px; margin: 0 }
.tt-list li { margin-bottom: 2px }

/* Nav badge */
.nav-badge { font-size: .57rem; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-badge); flex-shrink: 0; text-transform: uppercase; letter-spacing: .4px }
.nav-badge.soon { background: #fef3c7; color: #d97706 }
/* «Новинка» — той же формы что .soon, но в мятно-зелёных тонах (как .badge-new) */
.nav-badge.new  { background: #ecfdf5; color: #047857 }

/* Sub-nav */
.sub-nav { max-height: 0; overflow: hidden; transition: max-height .3s ease }
.sub-nav.open { max-height: 600px }
.sub-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 22px; border-radius: var(--radius-sub);
  font-size: .77rem; font-weight: 500; color: var(--color-text-light);
  cursor: pointer; transition: all .12s; margin: 0 10px 1px; position: relative;
}
.sub-item::before {
  content: ''; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #d1d8e8; transition: all .12s;
}
.sub-item:hover { background: var(--color-primary-hover); color: var(--color-primary) }
.sub-item:hover::before { background: var(--color-primary) }
.sub-item.active { color: var(--color-primary); font-weight: 600; background: var(--color-primary-light) }
.sub-item.active::before { background: var(--color-primary); width: 5px; height: 5px }
.sub-icon { font-size: .8rem; width: 18px; text-align: center; flex-shrink: 0 }

/* Divider */
.nav-divider { height: 1px; background: var(--color-border-light); margin: 8px 10px }

/* ═══ USAGE COUNTER ═══ */
.usage-block {
  margin: 8px 10px; padding: 12px 14px;
  background: #f8f9fc; border-radius: 10px; border: 1px solid var(--color-border);
  flex-shrink: 0;
}
.usage-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px }
.usage-lbl { font-size: .6rem; font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px }
.usage-count { font-size: .78rem; font-weight: 800; color: var(--color-primary) }
.usage-bar-bg { height: 6px; background: var(--color-border); border-radius: 3px; overflow: hidden; margin-bottom: 6px }
.usage-bar-fill { height: 100%; border-radius: 3px; transition: width .3s }
.usage-bar-fill.ok { background: linear-gradient(90deg, var(--color-primary), var(--color-purple)) }
.usage-bar-fill.warn { background: linear-gradient(90deg, var(--color-warning), #f97316) }
.usage-bar-fill.full { background: linear-gradient(90deg, var(--color-danger), #dc2626) }
.usage-sub { font-size: .65rem; color: var(--color-text-muted); line-height: 1.4 }
.usage-sub b { color: var(--color-text-secondary) }
.usage-details { margin-top: 6px; display: flex; flex-direction: column; gap: 3px }
.usage-line { display: flex; align-items: center; justify-content: space-between; font-size: .65rem; color: var(--color-text-light) }
.usage-line-name { display: flex; align-items: center; gap: 5px }
.usage-line-cnt { font-weight: 700; color: #3a4153 }

/* ═══ USER ═══ */
.sidebar-bottom { margin-top: auto; padding: 14px 10px; border-top: 1px solid var(--color-border-light); flex-shrink: 0 }
.idea-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; margin-bottom: 8px; border-radius: var(--radius-nav);
  font-size: .82rem; font-weight: 500; color: var(--color-text-secondary);
  text-decoration: none; cursor: pointer; transition: all .15s;
}
.idea-btn:hover { background: #fef3c7; color: #b45309 }
.idea-icon { font-size: .95rem; width: 20px; text-align: center; flex-shrink: 0 }
.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: #f8f9fc;
  cursor: pointer; transition: background .15s;
}
.user-card:hover { background: var(--color-primary-light) }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .75rem; font-weight: 700; flex-shrink: 0;
}
.user-name { font-size: .8rem; font-weight: 600; color: var(--color-text) }
.user-plan { font-size: .62rem; color: var(--color-text-muted) }

/* ═══ MAIN AREA ═══ */
.main {
  margin-left: var(--sidebar-width); flex: 1;
  min-height: 100vh; display: flex; flex-direction: column;
}
.topbar {
  background: var(--color-surface); border-bottom: 1px solid var(--color-border);
  padding: 0 28px; height: var(--topbar-height);
  display: flex; align-items: center; gap: 12px;
  position: sticky; top: 0; z-index: 40; flex-shrink: 0;
}
.page-title { font-size: 1.1rem; font-weight: 700; color: var(--color-text); flex: 1 }
.topbar-btn {
  background: #f5f7fc; border: 1px solid var(--color-border);
  border-radius: var(--radius-nav); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .95rem; transition: all .15s; flex-shrink: 0;
}
.topbar-btn:hover { border-color: var(--color-primary); background: var(--color-primary-light) }

/* Топбар-статистика на главной странице — публичные totals из аналитики.
   Показывается только когда currentTool === null (на «Все инструменты»). */
.topbar-stats {
  display: flex; align-items: center; gap: 14px;
  margin-left: auto;
  padding: 4px 10px;
  background: #f8fafc;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-nav);
  font-size: .72rem;
  color: var(--color-text-light);
  user-select: none;
}
.topbar-stats .ts-item {
  display: inline-flex; align-items: baseline; gap: 4px;
  cursor: help;
}
.topbar-stats .ts-icon { font-size: .9rem; line-height: 1; }
.topbar-stats .ts-val {
  font-weight: 800;
  color: var(--color-text);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
}
.topbar-stats .ts-lbl { color: var(--color-text-muted); font-size: .68rem; }
.topbar-stats .ts-sep {
  width: 1px; height: 16px;
  background: var(--color-border);
}
@media (max-width: 768px) {
  .topbar-stats { display: none !important; }
}
.content { padding: 28px 32px; flex: 1 }

/* ═══ HOME PAGE ═══ */
.home-header { margin-bottom: 24px }
.home-title { font-size: 1.35rem; font-weight: 800; color: #1e293b; margin-bottom: 6px }
.home-sub { font-size: .86rem; color: var(--color-text-light) }
.section-title {
  font-size: .92rem; font-weight: 700; color: var(--color-text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.section-title .dot { width: 8px; height: 8px; border-radius: 50% }
.section-divider { border: none; border-top: 1px solid var(--color-border); margin: 28px 0 22px }

/* Tool cards grid */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px }
.tool-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-card); overflow: hidden; cursor: pointer;
  transition: all .2s; position: relative;
  display: flex; flex-direction: column;
}
.tool-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(59,110,248,.1);
  transform: translateY(-2px);
}
.tool-card.disabled { cursor: default; opacity: .85 }
.tool-card.disabled:hover { border-color: var(--color-border); box-shadow: none; transform: none }

/* Top strip gradients */
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px }
.tool-card.c-blue::before { background: linear-gradient(90deg, #3b6ef8, #6366f1) }
.tool-card.c-green::before { background: linear-gradient(90deg, #22c55e, #14b8a6) }
.tool-card.c-orange::before { background: linear-gradient(90deg, #f97316, #f59e0b) }
.tool-card.c-purple::before { background: linear-gradient(90deg, #a855f7, #6366f1) }
.tool-card.c-teal::before { background: linear-gradient(90deg, #14b8a6, #06b6d4) }
.tool-card.c-gray::before { background: #d1d5db }

.tc-body { padding: 22px 20px 18px; flex: 1 }
.tc-icon {
  width: 48px; height: 48px; border-radius: var(--radius-icon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 14px;
}
.c-blue .tc-icon { background: #eef2ff }
.c-green .tc-icon { background: #ecfdf5 }
.c-orange .tc-icon { background: #fff7ed }
.c-purple .tc-icon { background: #faf5ff }
.c-teal .tc-icon { background: #f0fdfa }
.c-gray .tc-icon { background: #f3f4f6 }
.tc-name { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.tc-ver { font-size: .62rem; font-weight: 700; color: var(--color-text-muted); background: var(--color-border-light); padding: 1px 6px; border-radius: var(--radius-ver) }
.tc-desc { font-size: .8rem; color: var(--color-text-light); line-height: 1.55; margin-top: 6px }
.tc-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--color-border-light); background: #fafbff; margin-top: auto }
.tc-status { font-size: .7rem; font-weight: 600; display: flex; align-items: center; gap: 5px }
.tc-status .dot { width: 6px; height: 6px; border-radius: 50% }
.tc-status.on .dot { background: var(--color-success) } .tc-status.on { color: #16a34a }
.tc-status.wait .dot { background: var(--color-warning) } .tc-status.wait { color: #d97706 }
.tc-open { font-size: .76rem; font-weight: 600; color: var(--color-primary); display: flex; align-items: center; gap: 4px; transition: gap .15s }
.tool-card:hover .tc-open { gap: 7px }
.tc-uses { font-size: .65rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 4px }
.badge-sm { display: inline-flex; padding: 2px 8px; border-radius: var(--radius-badge); font-size: .6rem; font-weight: 700; letter-spacing: .4px }
.badge-on { background: #dcfce7; color: #16a34a }
.badge-wait { background: #fef3c7; color: #d97706 }
/* «Новинка» — тот же визуальный шаблон, что .badge-wait, только в сине-зелёных тонах */
.badge-new { background: #ecfdf5; color: #047857 }
/* Маркер новинки в сайдбаре: маленькая зелёная точка рядом с названием.
   Тот же мятно-зелёный оттенок что у .badge-new — визуальная связка с плашкой. */
.nav-new-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #047857;
  box-shadow: 0 0 0 3px #ecfdf5;
  margin-left: 6px;
  flex-shrink: 0;
  cursor: help;
}

/* ═══ PAGE VISIBILITY ═══ */
.page { display: none }
.page.active { display: block }

/* ═══ PLACEHOLDER (coming soon) ═══ */
.placeholder-page {
  display: flex; align-items: center;
  justify-content: center; min-height: 55vh; text-align: center;
}
.ph-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: 16px;
  padding: 48px 40px; max-width: 420px; width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ph-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  background: #fff8ed; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; font-size: 1.8rem;
}
.ph-title { font-size: 1.15rem; font-weight: 700; color: var(--color-text); margin-bottom: 6px }
.ph-desc { font-size: .84rem; color: var(--color-text-light); max-width: 340px; line-height: 1.6; margin: 0 auto 20px }
.ph-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fef3c7; color: #b45309; font-size: .75rem;
  font-weight: 600; padding: 6px 14px; border-radius: 20px;
}

/* ═══ IFRAME CONTAINER ═══ */
.tool-frame-wrap {
  flex: 1; display: none; position: relative;
}
.tool-frame-wrap.active { display: flex }
.tool-frame {
  width: 100%; height: 100%; border: none;
  min-height: calc(100vh - var(--topbar-height));
}

/* ═══ MOBILE ═══ */
.mob-toggle {
  display: none; position: fixed; top: 12px; left: 12px; z-index: 100;
  width: 38px; height: 38px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-nav);
  align-items: center; justify-content: center; font-size: 1rem;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.3); z-index: 45;
}
@media (max-width: 768px) {
  .mob-toggle { display: flex }
  .sidebar { transform: translateX(-100%); transition: transform .25s }
  .sidebar.open { transform: translateX(0) }
  .overlay.open { display: block }
  .main { margin-left: 0 }
  .content { padding: 18px 14px }
  .tools-grid { grid-template-columns: 1fr }
  .topbar { padding: 0 14px 0 54px }
}

/* ═══ PROJECT DIALOGS (modal overlay used by __projects API) ═══ */
.proj-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-family);
}
.proj-modal {
  background: #fff; border-radius: 14px; padding: 22px 26px;
  max-width: 440px; width: 92%; box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  max-height: 75vh; display: flex; flex-direction: column;
  position: relative;
}
.proj-modal--name { max-width: 380px; width: 90%; max-height: none; display: block; }
.proj-modal-close {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px;
  border: none; border-radius: 6px;
  background: #f8fafc; color: #64748b;
  font-size: 14px; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
}
.proj-modal-close:hover { background: #e2e8f0; color: #1e293b; }
.proj-modal-title {
  font-size: 15px; font-weight: 700; color: #1e293b;
  margin-bottom: 10px; padding-right: 30px;
}
.proj-modal--name .proj-modal-title { font-size: 14px; padding-right: 24px; margin-bottom: 8px; }
.proj-modal-sub { font-size: 11px; color: #64748b; margin-bottom: 10px; }
.proj-modal-list { overflow-y: auto; flex: 1; margin-bottom: 10px; }
.proj-modal-actions { display: flex; gap: 8px; }
.proj-modal-actions--right { justify-content: flex-end; }
.proj-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid #e2e8f0;
  border-radius: 8px; cursor: pointer; transition: all .12s;
  margin-bottom: 6px;
}
.proj-row:hover { border-color: var(--color-primary); background: #f0f5ff; }
.proj-row-icon { font-size: 1.2rem; }
.proj-row-info { flex: 1; min-width: 0; }
.proj-row-name { font-size: 13px; font-weight: 600; color: #1e293b; }
.proj-row-meta { font-size: 10px; color: #94a3b8; }
.proj-del-btn {
  padding: 3px 8px; border: 1px solid #fecaca; border-radius: 5px;
  background: #fef2f2; color: #dc2626;
  font-size: 10px; cursor: pointer; font-family: inherit;
}
.proj-del-btn:hover { background: #fee2e2; }
.proj-new-btn {
  flex: 1; padding: 8px;
  border: 1px solid var(--color-primary); border-radius: 8px;
  background: #eef2ff; color: var(--color-primary);
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.proj-name-input {
  width: 100%; padding: 8px 12px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 13px; font-family: inherit;
  outline: none; margin-bottom: 10px; box-sizing: border-box;
}
.proj-name-input:focus { border-color: var(--color-primary); }
.proj-btn-skip {
  padding: 7px 16px; border: 1px solid #e2e8f0; border-radius: 7px;
  background: #f8fafc; color: #64748b;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.proj-btn-ok {
  padding: 7px 16px; border: none; border-radius: 7px;
  background: var(--color-primary); color: #fff;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: translateY(0) } }
.tool-card { animation: fadeIn .35s ease both }
.tool-card:nth-child(1) { animation-delay: .04s }
.tool-card:nth-child(2) { animation-delay: .08s }
.tool-card:nth-child(3) { animation-delay: .12s }
.tool-card:nth-child(4) { animation-delay: .16s }
.tool-card:nth-child(5) { animation-delay: .20s }

/* ═══ SITE FOOTER ═══ */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 20px 28px 14px;
  margin-top: 0;
  flex-shrink: 0;
  font-size: .72rem;
  line-height: 1.4;
  opacity: .35;
  transition: opacity .3s;
}
.site-footer:hover { opacity: 1 }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand { flex-shrink: 0 }
.footer-logo {
  font-size: .82rem; font-weight: 800; color: var(--color-primary);
  letter-spacing: .02em;
}
.footer-sub { font-size: .58rem; color: var(--color-text-muted); margin-top: 1px }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap }
.footer-col { display: flex; flex-wrap: wrap; gap: 4px 6px }
.footer-col-title { display: none }
.footer-col a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: .7rem;
  transition: all .15s;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.footer-col a:hover { background: var(--color-primary-light) }
.footer-col a:hover { color: var(--color-primary) }
.footer-copy {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-light);
  font-size: .58rem;
  color: var(--color-text-faint);
  width: 100%;
}
.footer-copy a { color: var(--color-text-faint); text-decoration: none }
.footer-copy a:hover { color: var(--color-primary) }
@media (max-width: 768px) {
  .site-footer { padding: 14px 16px 10px }
  .footer-inner { flex-direction: column; gap: 10px }
  .footer-links { flex-direction: column; gap: 8px }
}
