/* ============================================================
   LaserCodex – Premium Dark Theme v2
   Inspiriert von Vercel / Linear Design
   Container: 1080px, Premium-Typographie, Glow-Effekte
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Farben – Premium Dark */
  --bg:              #070809;
  --bg-1:            #0e1015;
  --bg-2:            #161820;
  --bg-3:            #1e2030;
  --border:          rgba(255,255,255,.07);
  --border-hover:    rgba(255,255,255,.14);
  --border-accent:   rgba(245,158,11,.35);

  --text:            #f0f2f5;
  --text-2:          #9ba3b2;
  --text-3:          #4a5366;
  --text-inv:        #07090c;

  /* Akzent – Laser-Gold */
  --accent:          #f59e0b;
  --accent-2:        #fbbf24;
  --accent-dim:      rgba(245,158,11,.10);
  --accent-glow:     0 0 28px rgba(245,158,11,.22);

  /* Status */
  --success:         #10b981;
  --error:           #ef4444;
  --info:            #60a5fa;
  --warning:         #f59e0b;

  /* Laser-Typ-Farben */
  --laser-diode:     #60a5fa;
  --laser-ir:        #c084fc;
  --laser-co2:       #34d399;
  --laser-fiber:     #fb923c;
  --laser-mopa:      #f472b6;

  /* Typographie */
  --font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:       'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Layout */
  --container:       1080px;
  --nav-h:           58px;
  --radius-sm:       6px;
  --radius:          10px;
  --radius-lg:       14px;
  --radius-xl:       20px;
  --radius-full:     9999px;

  /* Übergänge */
  --t:               200ms cubic-bezier(.4,0,.2,1);
  --t-slow:          400ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a        { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover  { color: var(--accent-2); }
button   { font-family: var(--font); cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

h1 { font-size: clamp(1.75rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 1rem; font-weight: 600; }

.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

/* ── Container ───────────────────────────────────────────────── */
.lc-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.lc-main { flex: 1; }

/* ── Navigation ─────────────────────────────────────────────── */
.lc-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(7,8,9,.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.lc-nav__inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo */
.lc-nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  text-decoration: none;
}

.lc-nav__logo-mark {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.02em;
  box-shadow: var(--accent-glow);
  flex-shrink: 0;
}

.lc-nav__logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
}

.lc-nav__logo-text em {
  font-style: normal;
  color: var(--accent);
}

/* Suchfeld in Nav */
.lc-nav__search-form {
  flex: 1;
  max-width: 340px;
}

.lc-nav__search-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  height: 36px;
  color: var(--text-3);
  font-size: 13px;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--t);
}

.lc-nav__search-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-2);
}

.lc-nav__search-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.lc-nav__search-kbd {
  margin-left: auto;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-3);
}

/* User-Bereich */
.lc-nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Dropdown */
.lc-nav__dd       { position: relative; }
.lc-nav__dd-btn   {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2px;
  cursor: pointer;
  transition: border-color var(--t);
  display: flex;
  align-items: center;
}
.lc-nav__dd-btn:hover,
.lc-nav__dd-btn[aria-expanded="true"] { border-color: var(--accent); }

.lc-nav__avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}

.lc-nav__dd-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 195px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03);
  overflow: hidden;
  padding: 5px;
  z-index: 300;
}

.lc-nav__dd-menu.open {
  display: block;
  animation: ddFade .15s ease;
}

@keyframes ddFade {
  from { opacity:0; transform:translateY(-4px); }
  to   { opacity:1; transform:translateY(0); }
}

.lc-nav__dd-head {
  padding: 10px 12px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.lc-nav__dd-head strong { display:block; font-size:13px; color:var(--text); }
.lc-nav__dd-head span   { font-size:11px; color:var(--text-3); }

.lc-nav__dd-menu a,
.lc-nav__dd-menu button.dd-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t);
  width: 100%;
  border: none;
  background: none;
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
}

.lc-nav__dd-menu a:hover,
.lc-nav__dd-menu button.dd-link:hover {
  background: var(--bg-3);
  color: var(--text);
}

.lc-nav__dd-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 6px;
}

/* Mobile burger */
.lc-nav__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.lc-nav__burger span { display:block;width:20px;height:2px;background:var(--text-2);border-radius:2px;transition:all var(--t); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  height: 34px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--t);
  user-select: none;
  line-height: 1;
  letter-spacing: -.01em;
}

.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover:not(:disabled) {
  background: var(--accent-2);
  color: var(--bg);
  box-shadow: var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.btn-ghost:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--bg-2);
}

.btn-sm { height: 28px; padding: 0 11px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-lg { height: 42px; padding: 0 24px; font-size: 14px; }
.btn-full { width: 100%; }
.btn-icon { width: 34px; padding: 0; }

/* ── Chips ───────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-3);
  white-space: nowrap;
}

.chip-laser    { background: rgba(96,165,250,.08); color: var(--laser-diode); border-color: rgba(96,165,250,.2); }
.chip-ir       { background: rgba(192,132,252,.08); color: var(--laser-ir);    border-color: rgba(192,132,252,.2); }
.chip-co2      { background: rgba(52,211,153,.08);  color: var(--laser-co2);   border-color: rgba(52,211,153,.2); }
.chip-fiber    { background: rgba(251,146,60,.08);  color: var(--laser-fiber); border-color: rgba(251,146,60,.2); }
.chip-mopa     { background: rgba(244,114,182,.08); color: var(--laser-mopa);  border-color: rgba(244,114,182,.2); }
.chip-accent   { background: var(--accent-dim);     color: var(--accent);      border-color: var(--border-accent); }
.chip-public   { background: rgba(16,185,129,.08);  color: #10b981;            border-color: rgba(16,185,129,.2); }
.chip-private  { background: var(--bg-2);           color: var(--text-3); }
.chip-pending  { background: rgba(245,158,11,.08);  color: var(--accent);      border-color: var(--border-accent); }

/* ── Parameter-Anzeige (Mono) ───────────────────────────────── */
.param {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}

/* ── Alerts ──────────────────────────────────────────────────── */
.alert {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid transparent;
  line-height: 1.5;
}
.alert-success { background:rgba(16,185,129,.08); border-color:rgba(16,185,129,.25); color:#6ee7b7; }
.alert-error   { background:rgba(239,68,68,.08);  border-color:rgba(239,68,68,.25);  color:#fca5a5; }
.alert-info    { background:rgba(96,165,250,.08); border-color:rgba(96,165,250,.25); color:#93c5fd; }
.alert-warning { background:var(--accent-dim);    border-color:var(--border-accent); color:var(--accent); }

/* ── Flash Toast ─────────────────────────────────────────────── */
.lc-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
}

.lc-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 13px;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  pointer-events: all;
  animation: toastIn .25s cubic-bezier(.34,1.56,.64,1);
  max-width: 340px;
}

.lc-toast--success { border-color: rgba(16,185,129,.3); }
.lc-toast--error   { border-color: rgba(239,68,68,.3); }

.lc-toast__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.lc-toast--success .lc-toast__dot { background: var(--success); }
.lc-toast--error   .lc-toast__dot { background: var(--error); }
.lc-toast--info    .lc-toast__dot { background: var(--info); }

.lc-toast__close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 16px;
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
}

@keyframes toastIn {
  from { opacity:0; transform:translateY(10px) scale(.95); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* ── Formular-Elemente ───────────────────────────────────────── */
.field       { display: flex; flex-direction: column; gap: 6px; }
.field-error .input { border-color: rgba(239,68,68,.5); box-shadow: 0 0 0 3px rgba(239,68,68,.08); }

.label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-link { color: var(--accent); font-weight: 500; }
.label-link:hover { text-decoration: underline; }

.input {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 0 13px;
  height: 40px;
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}

.input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.input::placeholder { color: var(--text-3); }

textarea.input { height: auto; padding: 11px 13px; resize: vertical; line-height: 1.5; }

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 44px; }

.input-end-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.input-end-btn:hover { color: var(--text-2); background: var(--bg-3); }
.input-end-btn svg   { width: 16px; height: 16px; }

.field-hint  { font-size: 11.5px; color: var(--text-3); line-height: 1.5; }
.field-msg   { font-size: 12px; color: #fca5a5; }

/* Checkbox */
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input[type="checkbox"] { display: none; }
.check__box {
  width: 17px; height: 17px; flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t);
  margin-top: 1px;
}
.check input:checked ~ .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked ~ .check__box::after {
  content: '';
  display: block;
  width: 4px; height: 8px;
  border: 2px solid var(--bg);
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px,-1px);
}
.check__label { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.check__label a { color: var(--accent); }

/* Passwort-Stärke */
.pw-strength     { height: 2px; background: var(--bg-3); border-radius: var(--radius-full); overflow: hidden; margin-top: 5px; }
.pw-strength-bar { height: 100%; width: 0; border-radius: var(--radius-full); transition: width var(--t), background var(--t); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 680px; height: 480px;
  background: radial-gradient(ellipse at center top,
    rgba(245,158,11,.07) 0%,
    rgba(245,158,11,.03) 40%,
    transparent 70%);
  pointer-events: none;
}

/* Hero Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.hero__badge::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: var(--radius-full);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero__title { color: var(--text); margin-bottom: 16px; }
.hero__title span { color: var(--accent); }

.hero__sub {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* Hero-Suchzeile */
.hero__search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 5px 5px 5px 16px;
  gap: 8px;
  transition: border-color var(--t), box-shadow var(--t);
}

.hero__search:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.hero__search-icon { color: var(--text-3); flex-shrink: 0; }
.hero__search-icon svg { width: 16px; height: 16px; }

.hero__search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  padding: 6px 0;
}
.hero__search input::placeholder { color: var(--text-3); }

.hero__search-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

.hero__filter-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 12px;
  height: 32px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.hero__filter-btn:hover { border-color: var(--border-hover); color: var(--text); }
.hero__filter-btn svg   { width: 13px; height: 13px; }

/* Quick Tags unter Suche */
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-3);
}

.hero__tag {
  padding: 3px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t);
}

.hero__tag:hover { border-color: var(--border-accent); color: var(--accent); background: var(--accent-dim); }

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero__stat { text-align: center; }
.hero__stat-n { font-size: 1.6rem; font-weight: 800; color: var(--text); letter-spacing: -.03em; display: block; line-height: 1; }
.hero__stat-l { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; display: block; }

/* ── Sections ────────────────────────────────────────────────── */
.section       { padding: 52px 0; }
.section-dark  { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head  { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { color: var(--text); }
.section-more  { font-size: 12px; font-weight: 600; color: var(--text-3); text-decoration: none; white-space: nowrap; transition: color var(--t); }
.section-more:hover { color: var(--accent); }

/* ── Settings-Kacheln ────────────────────────────────────────── */
.settings-grid {
  display: grid;
  gap: 14px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.setting-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  position: relative;
}

.setting-card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 1px var(--border-accent), 0 8px 24px rgba(0,0,0,.5);
  transform: translateY(-2px);
}

.setting-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--bg-2);
  overflow: hidden;
}

.setting-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.setting-card:hover .setting-card__img { transform: scale(1.04); }

.setting-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  color: var(--text-3);
  font-size: 2rem;
}

.setting-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}

.setting-card__process {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(7,8,9,.8);
  backdrop-filter: blur(4px);
}

.setting-card__body {
  padding: 13px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.setting-card__meta { display: flex; gap: 5px; flex-wrap: wrap; }

.setting-card__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.setting-card__title a { color: inherit; text-decoration: none; }
.setting-card__title a:hover { color: var(--accent); }

.setting-card__device {
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}

.setting-card__params {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.setting-card__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.setting-card__author {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.setting-card__avi {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.setting-card__author a {
  font-size: 11.5px;
  color: var(--text-3);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.setting-card__author a:hover { color: var(--accent); }

.setting-card__stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
}

.setting-card__star { color: var(--accent); }

/* ── Material-Kacheln ────────────────────────────────────────── */
.material-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.mat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--t);
  cursor: pointer;
}

.mat-card:hover {
  border-color: var(--border-accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.mat-card__icon { font-size: 1.5rem; line-height: 1; }
.mat-card__label { font-size: 11.5px; font-weight: 600; color: var(--text-2); text-align: center; line-height: 1.2; }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 52px 0;
}

.cta-text h2 { margin-bottom: 8px; }
.cta-text p  { color: var(--text-2); font-size: 14px; max-width: 440px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Empty State ─────────────────────────────────────────────── */
.empty { text-align: center; padding: 52px 20px; color: var(--text-3); font-size: 13px; }
.empty p { margin-bottom: 16px; }

/* ── Footer ──────────────────────────────────────────────────── */
.lc-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.lc-footer__body {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 44px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.lc-footer__brand { max-width: 240px; }

.lc-footer__brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  display: block;
  margin-bottom: 10px;
}
.lc-footer__brand-name em { font-style: normal; color: var(--accent); }

.lc-footer__brand p { font-size: 12px; color: var(--text-3); line-height: 1.6; }

.lc-footer__cols { flex: 1; display: flex; gap: 36px; flex-wrap: wrap; }

.lc-footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.lc-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.lc-footer__col a  { font-size: 12.5px; color: var(--text-3); text-decoration: none; transition: color var(--t); }
.lc-footer__col a:hover { color: var(--text); }

.lc-footer__bar {
  border-top: 1px solid var(--border);
  padding: 14px 20px;
}

.lc-footer__bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lc-footer__bar span { font-size: 11.5px; color: var(--text-3); }

/* ── Dashboard ───────────────────────────────────────────────── */
.dash-header {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.dash-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dash-welcome { display: flex; align-items: center; gap: 14px; }
.dash-avi {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--border);
}
.dash-welcome h1 { font-size: 1.1rem; }
.dash-sub        { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dash-actions    { display: flex; gap: 8px; align-items: center; }
.dash-body       { max-width: var(--container); margin: 0 auto; padding: 28px 20px; }
.dash-grid       { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.dash-tile {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.dash-tile h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); margin-bottom: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.stat-box__n { font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -.03em; }
.stat-box__l { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.stat-box__link { font-size: 11px; color: var(--accent); display: block; margin-top: 6px; }

/* Row items (List) */
.row-list { display: flex; flex-direction: column; gap: 6px; }
.row-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t);
}
.row-item:hover { border-color: var(--border-hover); }
.row-item__thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  flex-shrink: 0;
}
.row-item__thumb--round { border-radius: 50%; }
.row-item__body  { flex: 1; min-width: 0; }
.row-item__title { font-size: 12.5px; font-weight: 600; color: var(--text); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item__title:hover { color: var(--accent); }
.row-item__meta  { display: flex; align-items: center; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.row-item__time  { font-size: 10.5px; color: var(--text-3); }
.row-item__excerpt { font-size: 11.5px; color: var(--text-3); margin-top: 3px; line-height: 1.4; }
.row-item__actions { flex-shrink: 0; }

/* ── Mobile ──────────────────────────────────────────────────── */
.lc-mobile-panel {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  z-index: 190;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lc-mobile-panel a {
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--t);
}
.lc-mobile-panel a:hover { background: var(--bg-2); border-color: var(--border); color: var(--text); }
.lc-mobile-panel .sep { height: 1px; background: var(--border); margin: 6px 0; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .material-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .material-grid   { grid-template-columns: repeat(4, 1fr); }
  .cta-inner       { flex-direction: column; text-align: center; }
  .cta-text p      { max-width: 100%; }
  .section         { padding: 36px 0; }
  .dash-grid       { grid-template-columns: 1fr; }
  .stats-row       { grid-template-columns: repeat(2, 1fr); }
  .lc-footer__body { flex-direction: column; gap: 28px; }
  .lc-nav__search-form { display: none; }
  .lc-nav__burger  { display: flex; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .material-grid   { grid-template-columns: repeat(3, 1fr); }
  .hero__stats     { gap: 20px; }
}
