/* === RSG — кабинет и форум: общий стайлшит ===
 * Загружается на всех новых страницах (login, register, account-*, forum-*, u, etc.).
 * Не подгружается на index/buy/solution/rsg/interface — там стили inline и трогать их не надо.
 *
 * Структура:
 *   1. Fonts
 *   2. Tokens (:root)
 *   3. Reset + base
 *   4. Page chrome: contactbar, topstrip, header.site, footer.site
 *   5. Buttons, форм-элементы, утилиты
 *   6. Cabinet layout (sidebar + content)
 *   7. Forum layout
 *   8. Auth pages (login/register/forgot)
 *   9. Адаптив
 */

/* =================================================================== */
/* 1. FONTS                                                            */
/* =================================================================== */

@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/onest-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/onest-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('fonts/onest-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/manrope-cyrillic-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal; font-weight: 200 800; font-display: swap;
  src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/jetbrains-mono-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =================================================================== */
/* 2. TOKENS                                                           */
/* =================================================================== */

:root {
  --bg: #0A141A;
  --bg-1: #0D1C23;
  --bg-2: #102832;
  --bg-3: #163541;
  --bg-4: #1F2735;

  --line: rgba(120, 200, 230, 0.10);
  --line-strong: rgba(120, 200, 230, 0.22);

  --text: #E6ECF2;
  --text-2: #9BA9BB;
  --text-3: #6A7686;

  --cyan: #18E1F0;
  --cyan-soft: #6BE6F0;
  --cyan-deep: #0A9FAE;
  --cyan-glow: rgba(24, 225, 240, 0.18);

  --warn: #FFC04A;
  --ok: #6BE6A8;
  --danger: #FF6B7A;
  --purple: #BB99FF;

  --metal-1: #2A3340;
  --metal-2: #4A5569;

  --font-display: 'Onest', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

/* === Critical paint fallback: keeps dark canvas even before full styles are ready === */
html { min-height: 100%; background: #0A141A; }

/* =================================================================== */
/* 3. RESET + BASE                                                     */
/* =================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg, #0A141A);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49.5%, rgba(120,180,200,0.018) 49.5%, rgba(120,180,200,0.018) 50.5%, transparent 50.5%),
    linear-gradient(45deg,  transparent 49.5%, rgba(120,180,200,0.018) 49.5%, rgba(120,180,200,0.018) 50.5%, transparent 50.5%);
  background-size: 8px 8px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
  width: 100%;
}

.mono { font-family: var(--font-mono); font-feature-settings: "ss01"; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
}
.eyebrow::before { content: '— '; color: var(--cyan-deep); }

/* =================================================================== */
/* 4. PAGE CHROME                                                      */
/* =================================================================== */

/* ---- contactbar ---- */
.contactbar {
  background: #071116;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  position: relative;
  z-index: 6;
}
.contactbar-inner {
  display: flex;
  align-items: center;
  height: 34px;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  transition: color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.contact-item:hover { color: var(--cyan); }
.contact-item svg {
  width: 12px; height: 12px;
  color: var(--cyan-deep);
  flex-shrink: 0;
}
.contact-item .channel-pills {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}
.contact-item .channel-pill {
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 0 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-3);
  text-transform: uppercase;
}
.contactbar-inner .addr { margin-left: auto; opacity: 0.85; }

/* ---- topstrip ---- */
.topstrip {
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  position: relative;
  z-index: 5;
}
.topstrip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topstrip .badge-new {
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  padding: 1px 8px;
  margin-right: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.topstrip .right { display: flex; gap: 22px; }
.topstrip .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 6px;
  box-shadow: 0 0 6px var(--ok);
}

/* ---- header.site ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 20, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 38px; height: 38px;
  border-radius: 6px;
}
.brand-name {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-name span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.12em;
  margin-top: 4px;
  text-transform: uppercase;
}

nav.primary { display: flex; gap: 28px; align-items: center; }
nav.primary > a, nav.primary > .dropdown > button {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
nav.primary > a:hover, nav.primary > .dropdown > button:hover { color: var(--text); }
nav.primary > a.current { color: var(--cyan); }
nav.primary .chev {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* ---- footer.site ---- */
footer.site {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h6 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--text-2);
  font-size: 13.5px;
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-col .badge-soon {
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(255, 192, 74, 0.12);
  color: var(--warn);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.08em;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
}
.footer-bottom .legal { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-bottom .pubkey {
  letter-spacing: 0.04em;
  color: var(--text-3);
}

/* =================================================================== */
/* 5. BUTTONS, FORM ELEMENTS, UTILITIES                                */
/* =================================================================== */

.btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.005em;
  border: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-2); }
.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(120,200,230,0.03);
}
.btn-secondary:hover { border-color: var(--cyan-deep); }
.btn-primary {
  background: var(--cyan);
  color: #022128;
  box-shadow: 0 0 0 1px var(--cyan), 0 0 20px var(--cyan-glow);
}
.btn-primary:hover {
  background: var(--cyan-soft);
  box-shadow: 0 0 0 1px var(--cyan-soft), 0 0 28px var(--cyan-glow);
}
.btn-danger {
  background: rgba(255, 107, 122, 0.12);
  color: var(--danger);
  border: 1px solid rgba(255, 107, 122, 0.3);
}
.btn-danger:hover { background: rgba(255, 107, 122, 0.18); border-color: var(--danger); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 12px 22px; font-size: 14px; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn .arr { font-family: var(--font-mono); font-size: 14px; }

/* user pill (showed when logged in, before "Кабинет" btn) */
.user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 12px;
  color: var(--text-2);
}
.user-pill .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #022128;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}
.user-pill .name { font-family: var(--font-mono); letter-spacing: -0.005em; }

/* form */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="search"],
.field input[type="url"],
.field select,
.field textarea {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan-deep);
  background: var(--bg-2);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-3);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.field .hint {
  font-size: 12px;
  color: var(--text-3);
}
.field .err {
  font-size: 12px;
  color: var(--danger);
  font-family: var(--font-mono);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox input {
  width: 16px; height: 16px;
  margin-top: 3px;
  accent-color: var(--cyan);
}

/* tag/badge */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  border: 1px solid;
}
.tag-rsg { color: var(--cyan); border-color: rgba(24,225,240,0.3); background: rgba(24,225,240,0.06); }
.tag-revit { color: var(--purple); border-color: rgba(187,153,255,0.3); background: rgba(187,153,255,0.06); }
.tag-max { color: var(--warn); border-color: rgba(255,192,74,0.3); background: rgba(255,192,74,0.06); }
.tag-gen { color: var(--text-2); border-color: var(--line-strong); }
.tag-support { color: var(--ok); border-color: rgba(107,230,168,0.3); background: rgba(107,230,168,0.06); }
.tag-ok { color: var(--ok); border-color: rgba(107,230,168,0.3); background: rgba(107,230,168,0.06); }
.tag-warn { color: var(--warn); border-color: rgba(255,192,74,0.3); background: rgba(255,192,74,0.06); }
.tag-danger { color: var(--danger); border-color: rgba(255,107,122,0.3); background: rgba(255,107,122,0.06); }

/* license badge — used in forum next to author name */
.lic-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 500;
}
.lic-badge.purchaser { color: var(--cyan); background: rgba(24,225,240,0.08); border: 1px solid rgba(24,225,240,0.25); }
.lic-badge.trial { color: var(--warn); background: rgba(255,192,74,0.08); border: 1px solid rgba(255,192,74,0.25); }
.lic-badge.guest { color: var(--text-3); background: var(--bg-2); border: 1px solid var(--line); }
.lic-badge.team { color: #022128; background: var(--cyan); border: 1px solid var(--cyan); font-weight: 600; }
.lic-badge.mod { color: var(--ok); background: rgba(107,230,168,0.08); border: 1px solid rgba(107,230,168,0.25); }

/* page-hero — узкий заголовок страницы */
.page-hero {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 8px;
}
.page-hero .lead {
  color: var(--text-2);
  font-size: 15px;
  max-width: 640px;
  line-height: 1.6;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--text-3); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--metal-1); }

/* card — generic surface */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
}
.card-header .sub {
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
}

/* alert */
.alert {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 13.5px;
  line-height: 1.55;
}
.alert.info { color: var(--cyan-soft); border-color: rgba(24,225,240,0.25); background: rgba(24,225,240,0.05); }
.alert.warn { color: var(--warn); border-color: rgba(255,192,74,0.25); background: rgba(255,192,74,0.05); }
.alert.error { color: var(--danger); border-color: rgba(255,107,122,0.25); background: rgba(255,107,122,0.05); }
.alert.success { color: var(--ok); border-color: rgba(107,230,168,0.25); background: rgba(107,230,168,0.05); }
.alert b { font-weight: 600; }

/* table — used in licenses, orders */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.tbl th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-2);
}
.tbl tbody tr:hover { background: rgba(120,200,230,0.02); }
.tbl tbody tr:hover td { color: var(--text); }
.tbl td b { color: var(--text); font-weight: 500; }
.tbl .t-mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: -0.005em; }
.tbl .t-num { font-family: var(--font-mono); text-align: right; font-feature-settings: "tnum"; }
.tbl-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

/* =================================================================== */
/* 6. CABINET LAYOUT                                                   */
/* =================================================================== */

.cabinet {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  padding: 32px 0 64px;
  align-items: start;
}

.cabinet-aside {
  position: sticky;
  top: 88px;
}
.cab-userbox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.cab-userbox .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #022128;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.cab-userbox .name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cab-userbox .email {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  margin-top: 2px;
  word-break: break-all;
}

.cab-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cab-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.cab-nav a svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-3); }
.cab-nav a:hover { color: var(--text); background: var(--bg-2); }
.cab-nav a:hover svg { color: var(--text-2); }
.cab-nav a.current {
  color: var(--cyan);
  background: rgba(24,225,240,0.06);
  border: 1px solid rgba(24,225,240,0.18);
  padding: 9px 11px;
}
.cab-nav a.current svg { color: var(--cyan); }
.cab-nav a .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 2px;
}
.cab-nav a.current .count { color: var(--cyan); background: rgba(24,225,240,0.1); }

.cab-aside-foot {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cab-aside-foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-3);
  border-radius: var(--radius-sm);
}
.cab-aside-foot a:hover { color: var(--danger); background: rgba(255,107,122,0.05); }

.cab-content { min-width: 0; }
.cab-content > h1 {
  font-size: 28px;
  margin-bottom: 4px;
  font-weight: 600;
}
.cab-content > .sub {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

/* dashboard — metric tiles row */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.metric-tile {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.metric-tile .label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.metric-tile .val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.metric-tile .delta {
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 4px;
}
.metric-tile .delta.up { color: var(--ok); }
.metric-tile .delta.down { color: var(--danger); }
.metric-tile .delta.flat { color: var(--text-3); }
.metric-tile.accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--cyan-glow), transparent 50%);
  pointer-events: none;
}

/* dashboard — section grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}

/* event log */
.event-list { display: flex; flex-direction: column; }
.event-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.event-row:last-child { border-bottom: 0; }
.event-row .icn {
  width: 30px; height: 30px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-2);
}
.event-row .icn svg { width: 14px; height: 14px; }
.event-row .body { flex: 1; min-width: 0; }
.event-row .ttl { font-size: 13.5px; color: var(--text); }
.event-row .ttl b { color: var(--cyan); font-weight: 500; font-family: var(--font-mono); font-size: 12.5px; }
.event-row .when {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* license card */
.lic-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  margin-bottom: 14px;
}
.lic-head {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  flex-wrap: wrap;
}
.lic-head .lic-key {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: -0.005em;
}
.lic-head .lic-key .copy {
  margin-left: 8px;
  color: var(--text-3);
  font-size: 11px;
  cursor: pointer;
  transition: color 0.15s;
}
.lic-head .lic-key .copy:hover { color: var(--cyan); }
.lic-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 22px;
}
.lic-meta .m {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lic-meta .m .lbl {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.lic-meta .m .val {
  font-size: 14px;
  color: var(--text);
}
.lic-meta .m .val.mono { font-family: var(--font-mono); }
.lic-seats {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.lic-seats h6 {
  padding: 14px 22px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
}
.lic-seat-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.8fr 0.5fr;
  gap: 12px;
  padding: 10px 22px;
  border-top: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
}
.lic-seat-row .h-name { color: var(--text); font-family: var(--font-mono); font-size: 12px; }
.lic-seat-row .fp { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; word-break: break-all; }
.lic-seat-row .seen { color: var(--text-3); font-family: var(--font-mono); font-size: 11px; }
.lic-seat-row button { color: var(--text-3); font-size: 11px; transition: color 0.15s; text-align: right; }
.lic-seat-row button:hover { color: var(--danger); }
.lic-foot {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

/* download grid */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.dl-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.dl-row .icn {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--cyan);
}
.dl-row .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
}
.dl-row .info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.dl-row .ver {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  text-align: right;
  white-space: nowrap;
}

/* =================================================================== */
/* 7. FORUM LAYOUT                                                     */
/* =================================================================== */

.forum-layout {
  padding: 32px 0 64px;
}
.forum-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 980px) {
  .forum-grid { grid-template-columns: 1fr; }
}

/* sidebar widget */
.widget {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}
.widget h6 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.widget .stats { display: flex; flex-direction: column; gap: 10px; }
.widget .stats .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.widget .stats .row .k { color: var(--text-3); font-family: var(--font-mono); font-size: 11.5px; }
.widget .stats .row .v { color: var(--text); font-family: var(--font-mono); font-weight: 500; }

/* category card on forum index */
.cat-card {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
.cat-card:hover { border-color: var(--line-strong); }
.cat-card .icn {
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.cat-card .icn.rsg { background: rgba(24,225,240,0.08); color: var(--cyan); border: 1px solid rgba(24,225,240,0.25); }
.cat-card .icn.revit { background: rgba(187,153,255,0.08); color: var(--purple); border: 1px solid rgba(187,153,255,0.25); }
.cat-card .icn.max { background: rgba(255,192,74,0.08); color: var(--warn); border: 1px solid rgba(255,192,74,0.25); }
.cat-card .icn.gen { background: var(--bg-2); color: var(--text-2); border: 1px solid var(--line-strong); }
.cat-card .icn.support { background: rgba(107,230,168,0.08); color: var(--ok); border: 1px solid rgba(107,230,168,0.25); }
.cat-card .meta h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cat-card .meta h3 a { color: var(--text); }
.cat-card .meta h3 a:hover { color: var(--cyan); }
.cat-card .meta p {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}
.cat-card .lock { color: var(--text-3); font-size: 11px; margin-left: 6px; }
.cat-card .nums {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}
.cat-card .nums b { display: block; color: var(--text); font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.cat-card .last {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  min-width: 160px;
}
.cat-card .last .ln {
  font-size: 12.5px;
  color: var(--text-2);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card .last .by {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
}
.cat-card .last .by b { color: var(--cyan); font-weight: 500; }

/* thread list row */
.thread-list {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.thread-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: var(--bg-2); }
.thread-row .av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #022128;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.thread-row .body { min-width: 0; }
.thread-row .ttl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.thread-row .ttl {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.thread-row .ttl:hover { color: var(--cyan); }
.thread-row .ttl-row .pin { color: var(--cyan); font-size: 11px; }
.thread-row .ttl-row .solved {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ok);
  border: 1px solid rgba(107,230,168,0.3);
  background: rgba(107,230,168,0.06);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.thread-row .meta-row {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.thread-row .meta-row b { color: var(--text-2); font-weight: 500; }
.thread-row .meta-row .au:hover b { color: var(--cyan); }
.thread-row .stats-mini {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  text-align: right;
  white-space: nowrap;
}
.thread-row .stats-mini b { color: var(--text); font-weight: 500; }
.thread-row .last-mini {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  text-align: right;
  white-space: nowrap;
  min-width: 110px;
}
.thread-row .last-mini b { color: var(--text-2); font-weight: 500; }

.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  overflow-x: auto;
}
.tabs a, .tabs button {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s;
}
.tabs a:hover, .tabs button:hover { color: var(--text-2); }
.tabs a.current, .tabs button.current {
  color: var(--cyan);
}
.tabs a.current::after, .tabs button.current::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--cyan);
}
.tabs .count {
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--text-3);
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 2px;
}

/* thread page — post block */
.thread-head {
  margin-bottom: 24px;
}
.thread-head h1 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 10px;
  font-weight: 600;
}
.thread-head .meta-row {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  letter-spacing: 0.04em;
}
.post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.post:first-of-type { border-top: 1px solid var(--line); }
.post.solution-marked {
  border-left: 2px solid var(--ok);
  padding-left: 18px;
  background: rgba(107,230,168,0.025);
}
.post-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.post-author .av {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #022128;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
}
.post-author .nm {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  letter-spacing: -0.005em;
  word-break: break-all;
}
.post-author .nm:hover { color: var(--cyan); }
.post-body {
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.post-meta .actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.post-meta .actions button {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  padding: 4px 8px;
  border-radius: 2px;
  transition: all 0.15s;
}
.post-meta .actions button:hover { color: var(--cyan); background: rgba(24,225,240,0.05); }
.post-content p { margin-bottom: 12px; }
.post-content p:last-child { margin-bottom: 0; }
.post-content code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--cyan);
}
.post-content pre {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  overflow-x: auto;
  margin: 12px 0;
}
.post-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.post-content blockquote {
  border-left: 2px solid var(--cyan-deep);
  padding-left: 14px;
  margin: 14px 0;
  color: var(--text-2);
  font-style: italic;
}
.post-content ul, .post-content ol { padding-left: 22px; margin-bottom: 12px; }
.post-content li { margin-bottom: 4px; }
.post-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: var(--cyan-deep); text-underline-offset: 3px; }

.post-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
}
.post-foot .react {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--line);
  transition: all 0.15s;
}
.post-foot .react:hover { border-color: var(--cyan-deep); color: var(--cyan); }
.post-foot .react.active { color: var(--cyan); border-color: var(--cyan-deep); background: rgba(24,225,240,0.05); }

/* reply form */
.reply-form {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.reply-form .ed {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.ed-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.ed-toolbar button {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  color: var(--text-3);
  border-radius: 2px;
  transition: all 0.15s;
}
.ed-toolbar button:hover { color: var(--cyan); background: rgba(24,225,240,0.05); }
.ed-toolbar .sep { width: 1px; height: 16px; background: var(--line); margin: 0 4px; }
.ed-toolbar .hint { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-3); letter-spacing: 0.04em; }
.ed textarea {
  width: 100%;
  background: var(--bg-1);
  border: 0;
  padding: 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 140px;
  resize: vertical;
}
.ed textarea:focus { outline: none; }
.ed-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

/* user profile page */
.profile-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.profile-head .av-lg {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #022128;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
}
.profile-head h1 {
  font-size: 26px;
  margin-bottom: 4px;
}
.profile-head .handle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: -0.005em;
}
.profile-head .badges { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.profile-head .stats {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.profile-head .stats b {
  display: block;
  color: var(--text);
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
  text-transform: none;
}

/* =================================================================== */
/* 8. AUTH PAGES (login, register, forgot)                             */
/* =================================================================== */

.auth-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
}
@media (max-width: 880px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--gutter);
}
.auth-form {
  width: 100%;
  max-width: 380px;
}
.auth-form h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 600;
}
.auth-form > .lead {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.55;
}
.auth-form .form { gap: 14px; }
.auth-form .form-foot {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-form .form-foot .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}
.auth-form .form-foot .row a { color: var(--cyan); }
.auth-form .form-foot .row a:hover { color: var(--cyan-soft); }
.auth-form .alt {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
}
.auth-form .alt a { color: var(--cyan); margin-left: 4px; }

.auth-side {
  background:
    radial-gradient(circle at 30% 20%, rgba(24,225,240,0.10), transparent 50%),
    linear-gradient(140deg, var(--bg-1), var(--bg));
  border-left: 1px solid var(--line);
  padding: 56px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,200,230,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,200,230,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.auth-side > * { position: relative; z-index: 1; }
.auth-side h2 {
  font-size: 22px;
  margin-bottom: 14px;
  max-width: 420px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.auth-side p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}
.auth-side .feats {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-side .feats .ft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-2);
}
.auth-side .feats .ft .ic {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(24,225,240,0.08);
  border: 1px solid rgba(24,225,240,0.25);
  color: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
}
.auth-side .feats .ft b { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 13.5px; }
.auth-side .quote {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.auth-side .quote .who {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text-2);
}

/* pagination */
.pager {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}
.pager a, .pager span {
  min-width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 0 10px;
}
.pager a:hover { color: var(--cyan); background: var(--bg-2); }
.pager a.current { color: var(--cyan); background: rgba(24,225,240,0.06); border: 1px solid rgba(24,225,240,0.25); }
.pager .gap { color: var(--text-3); }

/* =================================================================== */
/* 9. RESPONSIVE                                                       */
/* =================================================================== */

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .footer-col:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 28px; }
  .metrics-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .cabinet { grid-template-columns: 1fr; }
  .cabinet-aside { position: static; order: -1; }
  .cab-nav {
    flex-direction: row;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
  }
  .cab-nav a { white-space: nowrap; }
  .cab-userbox { display: none; }
  .cab-aside-foot { display: none; }
  .cat-card { grid-template-columns: auto 1fr; gap: 12px; }
  .cat-card .nums, .cat-card .last { grid-column: 1 / -1; text-align: left; padding-top: 8px; border-top: 1px dashed var(--line); }
  .thread-row { grid-template-columns: auto 1fr; }
  .thread-row .stats-mini, .thread-row .last-mini { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  nav.primary { display: none; }
  .nav { gap: 16px; }
  .nav-actions { gap: 4px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 12px; }
  .contactbar-inner {
    height: auto;
    padding: 9px 0 8px;
    font-size: 11px;
    gap: 12px 16px;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .contact-item .channel-pills { display: none; }
  .contactbar-inner .addr {
    margin-left: 0;
    flex-basis: 100%;
    font-size: 10.5px;
    color: var(--text-3);
    padding-top: 4px;
    border-top: 1px dashed var(--line);
  }
  .topstrip-inner { font-size: 11px; }
  .topstrip .right { gap: 12px; }
  .topstrip .right > span:last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col:nth-child(5) { border-top: 0; padding-top: 0; }
  .metrics-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; gap: 12px; }
  .post-author { flex-direction: row; text-align: left; gap: 12px; }
  .post-author .av { width: 36px; height: 36px; font-size: 13px; }
  .lic-meta { gap: 14px; }
  .lic-seat-row { grid-template-columns: 1fr; gap: 4px; }
  .lic-seat-row button { text-align: left; }
  .dl-row { grid-template-columns: 1fr; gap: 8px; }
  .profile-head { grid-template-columns: 1fr; text-align: center; }
  .profile-head .stats { justify-content: center; flex-wrap: wrap; gap: 18px; }
  .auth-form-wrap { padding: 32px 20px; }
}


/* ============================================================
   LIGHT THEME OVERRIDES — cabinet, forum, auth pages
   --bg / --bg-1 / --bg-2 ... are taken from site.css canonical
   light-theme block. Here we override dark-only colours
   (hardcoded #071116, rgba(120,200,230,…), rgba(10,20,26,…) etc.)
   and component-specific surfaces.
   ============================================================ */
html[data-rsg-theme="light"] {
  color-scheme: light;
  --line: rgba(15, 30, 50, 0.10);
  --line-strong: rgba(15, 30, 50, 0.22);
  --text: #0F1822;
  --text-2: #3D4A5C;
  --text-3: #5B6B7C;
  --cyan: #0A6B82;
  --cyan-soft: #14A6BF;
  --cyan-deep: #074A5A;
  --cyan-glow: rgba(10, 107, 130, 0.15);
  --warn: #B45309;
  --ok: #15803D;
  --green: #15803D;
  --danger: #B91C1C;
  --purple: #6D4CB0;
  --metal-1: #C7CFD9;
  --metal-2: #8693A2;
}

html[data-rsg-theme="light"] body {
  background: #F7F9FC !important;
  color: var(--text);
}
html[data-rsg-theme="light"] body::before {
  background-image:
    linear-gradient(135deg, transparent 49.5%, rgba(15,30,50,0.020) 49.5%, rgba(15,30,50,0.020) 50.5%, transparent 50.5%),
    linear-gradient(45deg,  transparent 49.5%, rgba(15,30,50,0.018) 49.5%, rgba(15,30,50,0.018) 50.5%, transparent 50.5%);
  opacity: 0.5;
}

/* contactbar / topstrip / header */
html[data-rsg-theme="light"] .contactbar {
  background: #EEF3F8;
  border-color: var(--line);
  color: var(--text-2);
}
html[data-rsg-theme="light"] .contact-item { color: var(--text-2); }
html[data-rsg-theme="light"] .contact-item:hover { color: var(--cyan-deep); }
html[data-rsg-theme="light"] .contact-item svg { color: var(--cyan-deep); }
html[data-rsg-theme="light"] .contact-item .channel-pill {
  border-color: var(--line);
  color: var(--text-3);
}
html[data-rsg-theme="light"] .topstrip {
  background: #FFFFFF;
  border-color: var(--line);
  color: var(--text-2);
}
html[data-rsg-theme="light"] .topstrip .badge-new {
  color: var(--cyan-deep);
  border-color: var(--line-strong);
}
html[data-rsg-theme="light"] .topstrip .dot { box-shadow: 0 0 6px rgba(21,128,61,0.40); }
html[data-rsg-theme="light"] header.site {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 30, 50, 0.06);
}

/* navigation */
html[data-rsg-theme="light"] nav.primary > a,
html[data-rsg-theme="light"] nav.primary > .dropdown > button { color: var(--text-2); }
html[data-rsg-theme="light"] nav.primary > a:hover,
html[data-rsg-theme="light"] nav.primary > .dropdown > button:hover,
html[data-rsg-theme="light"] nav.primary > a.current { color: var(--cyan-deep); }

/* eyebrow */
html[data-rsg-theme="light"] .eyebrow { color: var(--cyan-deep); }
html[data-rsg-theme="light"] .eyebrow::before { color: var(--cyan); }

/* lang switcher */
html[data-rsg-theme="light"] .lang-trigger,
html[data-rsg-theme="light"] .lang-panel,
html[data-rsg-theme="light"] .nav-toggle,
html[data-rsg-theme="light"] .theme-toggle {
  background: #FFFFFF;
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow: 0 4px 14px rgba(15, 30, 50, 0.06);
}
html[data-rsg-theme="light"] .lang-search {
  background: #EEF3F8;
  border-color: var(--line);
}
html[data-rsg-theme="light"] .lang-search input { color: var(--text); }
html[data-rsg-theme="light"] .lang-trigger:hover,
html[data-rsg-theme="light"] .theme-toggle:hover,
html[data-rsg-theme="light"] .nav-toggle:hover {
  background: #EEF3F8;
  border-color: var(--cyan-deep);
}
html[data-rsg-theme="light"] .lang-item:hover,
html[data-rsg-theme="light"] .lang-item:focus-visible {
  background: rgba(10, 107, 130, 0.08);
  color: var(--text);
}
html[data-rsg-theme="light"] .lang-item-active,
html[data-rsg-theme="light"] .lang-item-active .lang-en { color: var(--cyan-deep); }

/* buttons */
html[data-rsg-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0A8FA8, #074A5A);
  color: #FFFFFF;
  border-color: rgba(7, 74, 90, 0.55);
  box-shadow: 0 6px 18px rgba(10, 107, 130, 0.20);
}
html[data-rsg-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #0BA3BD, #086582);
  box-shadow: 0 10px 26px rgba(10, 107, 130, 0.28);
}
html[data-rsg-theme="light"] .btn-secondary {
  color: var(--text);
  background: #FFFFFF;
  border-color: var(--line-strong);
}
html[data-rsg-theme="light"] .btn-secondary:hover {
  background: #EEF3F8;
  border-color: var(--cyan-deep);
}
html[data-rsg-theme="light"] .btn-ghost { color: var(--text-2); }
html[data-rsg-theme="light"] .btn-ghost:hover {
  background: rgba(15, 30, 50, 0.06);
  color: var(--text);
}
html[data-rsg-theme="light"] .btn-danger {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.30);
}
html[data-rsg-theme="light"] .btn-danger:hover {
  background: rgba(185, 28, 28, 0.14);
  border-color: var(--danger);
}

/* cards / panels (forum, cabinet, auth) — switch any var(--bg-1)/var(--bg-2) usage to white surfaces */
html[data-rsg-theme="light"] .widget,
html[data-rsg-theme="light"] .cat-card,
html[data-rsg-theme="light"] .cab-nav,
html[data-rsg-theme="light"] .cab-card,
html[data-rsg-theme="light"] .metric-tile,
html[data-rsg-theme="light"] .license-card,
html[data-rsg-theme="light"] .order-card,
html[data-rsg-theme="light"] .download-card,
html[data-rsg-theme="light"] .settings-card,
html[data-rsg-theme="light"] .support-card,
html[data-rsg-theme="light"] .auth-form,
html[data-rsg-theme="light"] .auth-side,
html[data-rsg-theme="light"] .auth-card,
html[data-rsg-theme="light"] .quote,
html[data-rsg-theme="light"] .post,
html[data-rsg-theme="light"] .thread-row,
html[data-rsg-theme="light"] .thread-list {
  background: #FFFFFF;
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 30, 50, 0.06);
  color: var(--text);
}
html[data-rsg-theme="light"] .thread-row + .thread-row { border-top: 1px solid var(--line); }
html[data-rsg-theme="light"] .thread-row:hover {
  background: #F7F9FC;
}
html[data-rsg-theme="light"] .cab-nav a:hover {
  color: var(--text);
  background: #EEF3F8;
}
html[data-rsg-theme="light"] .cab-nav a.current {
  background: rgba(10, 107, 130, 0.08);
  color: var(--cyan-deep);
}
html[data-rsg-theme="light"] .cab-nav a.current .count { color: var(--cyan-deep); background: rgba(10, 107, 130, 0.12); }

/* form fields (auth, settings, forum-new) */
html[data-rsg-theme="light"] .field input,
html[data-rsg-theme="light"] .field select,
html[data-rsg-theme="light"] .field textarea,
html[data-rsg-theme="light"] input[type="text"],
html[data-rsg-theme="light"] input[type="email"],
html[data-rsg-theme="light"] input[type="password"],
html[data-rsg-theme="light"] input[type="search"],
html[data-rsg-theme="light"] input[type="tel"],
html[data-rsg-theme="light"] input[type="url"],
html[data-rsg-theme="light"] input[type="number"],
html[data-rsg-theme="light"] textarea,
html[data-rsg-theme="light"] select {
  background: #FFFFFF;
  border-color: var(--line-strong);
  color: var(--text);
}
html[data-rsg-theme="light"] input::placeholder,
html[data-rsg-theme="light"] textarea::placeholder { color: var(--text-3); opacity: 0.85; }
html[data-rsg-theme="light"] input:focus,
html[data-rsg-theme="light"] select:focus,
html[data-rsg-theme="light"] textarea:focus {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 3px rgba(10, 107, 130, 0.18);
  outline: none;
}

/* tag pills (forum categories, status badges) */
html[data-rsg-theme="light"] .tag-rsg,
html[data-rsg-theme="light"] .lic-badge.purchaser {
  color: var(--cyan-deep);
  background: rgba(10, 107, 130, 0.08);
  border-color: rgba(10, 107, 130, 0.30);
}
html[data-rsg-theme="light"] .tag-revit {
  color: var(--purple);
  background: rgba(109, 76, 176, 0.08);
  border-color: rgba(109, 76, 176, 0.30);
}
html[data-rsg-theme="light"] .tag-max,
html[data-rsg-theme="light"] .lic-badge.trial {
  color: var(--warn);
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.30);
}
html[data-rsg-theme="light"] .tag-support,
html[data-rsg-theme="light"] .tag-ok,
html[data-rsg-theme="light"] .lic-badge.mod {
  color: var(--ok);
  background: rgba(21, 128, 61, 0.08);
  border-color: rgba(21, 128, 61, 0.30);
}
html[data-rsg-theme="light"] .tag-warn {
  color: var(--warn);
  background: rgba(180, 83, 9, 0.08);
  border-color: rgba(180, 83, 9, 0.30);
}
html[data-rsg-theme="light"] .tag-danger {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.30);
}
html[data-rsg-theme="light"] .lic-badge.guest {
  color: var(--text-3);
  background: #EEF3F8;
  border-color: var(--line);
}
html[data-rsg-theme="light"] .lic-badge.team {
  color: #FFFFFF;
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
}

/* alerts */
html[data-rsg-theme="light"] .alert.info {
  color: var(--cyan-deep);
  background: rgba(10, 107, 130, 0.06);
  border-color: rgba(10, 107, 130, 0.30);
}
html[data-rsg-theme="light"] .alert.warn {
  color: var(--warn);
  background: rgba(180, 83, 9, 0.06);
  border-color: rgba(180, 83, 9, 0.30);
}
html[data-rsg-theme="light"] .alert.error {
  color: var(--danger);
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.30);
}
html[data-rsg-theme="light"] .alert.success {
  color: var(--ok);
  background: rgba(21, 128, 61, 0.06);
  border-color: rgba(21, 128, 61, 0.30);
}

/* table */
html[data-rsg-theme="light"] .tbl { color: var(--text); }
html[data-rsg-theme="light"] .tbl tbody tr:hover { background: rgba(10, 107, 130, 0.04); }
html[data-rsg-theme="light"] .tbl thead th {
  color: var(--text-3);
  border-bottom-color: var(--line-strong);
}
html[data-rsg-theme="light"] .tbl tbody td {
  border-bottom-color: var(--line);
  color: var(--text);
}

/* category icon backgrounds (cat-card .icn.*) */
html[data-rsg-theme="light"] .cat-card .icn.rsg {
  background: rgba(10, 107, 130, 0.08);
  color: var(--cyan-deep);
  border-color: rgba(10, 107, 130, 0.28);
}
html[data-rsg-theme="light"] .cat-card .icn.revit {
  background: rgba(109, 76, 176, 0.08);
  color: var(--purple);
  border-color: rgba(109, 76, 176, 0.28);
}
html[data-rsg-theme="light"] .cat-card .icn.max {
  background: rgba(180, 83, 9, 0.08);
  color: var(--warn);
  border-color: rgba(180, 83, 9, 0.28);
}
html[data-rsg-theme="light"] .cat-card .icn.gen,
html[data-rsg-theme="light"] .cat-card .icn.support {
  background: #EEF3F8;
  color: var(--text-2);
  border-color: var(--line-strong);
}

/* tabs */
html[data-rsg-theme="light"] .tabs a,
html[data-rsg-theme="light"] .tabs button { color: var(--text-2); }
html[data-rsg-theme="light"] .tabs a:hover,
html[data-rsg-theme="light"] .tabs button:hover { color: var(--text); background: #EEF3F8; }
html[data-rsg-theme="light"] .tabs a.current,
html[data-rsg-theme="light"] .tabs button.current { color: var(--cyan-deep); }
html[data-rsg-theme="light"] .tabs .count {
  background: #EEF3F8;
  color: var(--text-3);
  border-color: var(--line);
}

/* posts (forum thread) */
html[data-rsg-theme="light"] .post-content code {
  background: #EEF3F8;
  color: var(--cyan-deep);
  border-color: var(--line-strong);
}
html[data-rsg-theme="light"] .post-content pre {
  background: #0F1822;
  color: #DDE7EA;
  border-color: rgba(15, 30, 50, 0.24);
}
html[data-rsg-theme="light"] .post-content pre code {
  background: transparent;
  color: inherit;
  border: 0;
}
html[data-rsg-theme="light"] .post-content blockquote {
  border-left-color: var(--cyan-deep);
  color: var(--text-2);
}

/* footer */
html[data-rsg-theme="light"] footer.site {
  background: #EEF3F8;
  border-top: 1px solid var(--line);
  color: var(--text-2);
}
html[data-rsg-theme="light"] footer.site .footer-col h6 { color: var(--text-3); }
html[data-rsg-theme="light"] footer.site .footer-col a { color: var(--text-2); }
html[data-rsg-theme="light"] footer.site .footer-col a:hover { color: var(--cyan-deep); }
html[data-rsg-theme="light"] footer.site .footer-bottom { color: var(--text-3); }
html[data-rsg-theme="light"] footer.site .footer-brand p { color: var(--text-3); }
html[data-rsg-theme="light"] footer.site .footer-bottom .pubkey { color: var(--cyan-deep); }

/* selection */
html[data-rsg-theme="light"] ::selection {
  background: rgba(10, 107, 130, 0.22);
  color: var(--text);
}

/* avatars in posts: keep cyan ring readable on white */
html[data-rsg-theme="light"] .post-author .av,
html[data-rsg-theme="light"] .thread-row .av {
  background: linear-gradient(135deg, var(--cyan-deep), var(--cyan));
  color: #FFFFFF;
}

/* hero on cabinet welcome panel etc. */
html[data-rsg-theme="light"] .cab-card[style*="radial-gradient"] {
  background: radial-gradient(circle at 100% 0%, rgba(10, 107, 130, 0.12), transparent 50%), #FFFFFF !important;
}

/* ========================================================================
   License cards (account-licenses.html) — expandable rows
   ======================================================================== */

.license-cards { display: flex; flex-direction: column; gap: 10px; }

.license-card-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  overflow: hidden;
}
.license-card-row[open] { background: var(--bg-2); border-color: rgba(24,225,240,0.32); }

.license-card-row > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: minmax(140px, 1.4fr) minmax(140px, 1fr) minmax(180px, 1.6fr) minmax(160px, 1fr) 28px;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}
.license-card-row > summary::-webkit-details-marker { display: none; }

.lc-product b { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.lc-product .mono { font-size: 11px; color: var(--text-3); }

.lc-type { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-type > span:not(.tag) { font-size: 12px; color: var(--text-2); }

.lc-key.mono { font-size: 12px; color: var(--text-2); letter-spacing: 0.02em; }

.lc-usage { display: flex; flex-direction: column; gap: 4px; }
.usage-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--bg-3);
  overflow: hidden;
}
.usage-bar > span {
  display: block;
  height: 100%;
  background: var(--cyan);
  border-radius: 2px;
}
.usage-label { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }

.lc-actions .caret { color: var(--text-3); font-size: 14px; transition: transform .15s; display: inline-block; }
.license-card-row[open] .lc-actions .caret { transform: rotate(180deg); }

.lc-detail {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
  margin-top: -1px;
}
.lc-detail-grid {
  padding-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.lc-detail-eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.lc-detail-aside {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  font-size: 13px;
}
.lc-meta-row > span { color: var(--text-3); }
.lc-meta-row > b { color: var(--text); font-weight: 500; }
.lc-detail-aside .btn { margin-top: 4px; }

.machine-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.machine-table th, .machine-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  vertical-align: middle;
}
.machine-table th {
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
}
.machine-table tr:last-child td { border-bottom: 0; }
.machine-table .mono { font-family: var(--font-mono); font-size: 12px; }
.machine-table-wide { font-size: 12.5px; }
.machine-table-wide td, .machine-table-wide th { padding: 9px 8px; }

.btn-link-danger {
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background .12s;
}
.btn-link-danger:hover { background: rgba(185,28,28,0.08); }

.empty-machines {
  padding: 14px;
  background: var(--bg-1);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
  margin: 0;
}

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-select {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg-2);
  color: var(--text-2);
  font: inherit;
  font-size: 13px;
}

.event-row .actions { margin-left: auto; }
.event-row { display: flex; align-items: center; gap: 14px; }

@media (max-width: 920px) {
  .license-card-row > summary {
    grid-template-columns: 1fr 28px;
    grid-auto-rows: auto;
    row-gap: 8px;
  }
  .license-card-row > summary > .lc-product { grid-column: 1 / 2; }
  .license-card-row > summary > .lc-actions { grid-column: 2 / 3; grid-row: 1; }
  .license-card-row > summary > .lc-type,
  .license-card-row > summary > .lc-key,
  .license-card-row > summary > .lc-usage { grid-column: 1 / 3; }
  .lc-detail-grid { grid-template-columns: 1fr; }
}
