/* ============================================================
   barox Firmware Portal – Main Stylesheet
   ============================================================ */

/* ---- Webfonts: Helvetica Now Text ---- */
@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/HelveticaNowText-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/HelveticaNowText-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/HelveticaNowText-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now Text";
  src: url("../fonts/HelveticaNowText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  /* Primärfarben */
  --navy:    #002D4E;
  --gold:    #F7A600;

  /* Navy-Abstufungen (Primärfarbe + Weiss) */
  --navy-80: #335771;   /* 80% navy */
  --navy-60: #668195;   /* 60% navy */
  --navy-40: #99ABB8;   /* 40% navy */
  --navy-20: #CCD5DC;   /* 20% navy */

  /* Gold-Abstufungen */
  --gold-80: #F9B833;   /* 80% gold */
  --gold-60: #FACA66;   /* 60% gold */
  --gold-40: #FCDB99;   /* 40% gold */
  --gold-20: #FDEDCC;   /* 20% gold */

  /* Neutrals */
  --white:   #ffffff;
  --black:   #000000;

  /* Rot für EOL – beibehalten */
  --danger:  #dc3545;

  /* Semantische Aliasse */
  --bg:      #ffffff;           /* Seitenhintergrund */
  --border:  var(--navy-20);    /* #CCD5DC */
  --muted:   var(--navy-40);    /* #99ABB8 */
  --success: var(--navy);

  --radius:  8px;
  --shadow:  0 2px 10px rgba(0,0,0,.08);
  --sidebar: 230px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; }
body { font-family: "Helvetica Now Text", Helvetica, Arial, sans-serif; font-weight: 300; background: var(--bg); color: var(--navy); line-height: 1.5; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
textarea, input, select, button { font-family: inherit; font-size: inherit; }

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */

.admin-body { display: flex; min-height: 100vh; }

.admin-layout { display: flex; width: 100%; min-height: 100vh; }

/* ---- Sidebar ---- */
.sidebar {
  width: var(--sidebar);
  min-width: var(--sidebar);
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
}
.sidebar-logo {
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-logo img { height: 32px; width: auto; display: block; }

.sidebar-nav { padding: 12px 0; flex: 1; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(255,255,255,.07); color: var(--white); text-decoration: none; }
.nav-link.active { background: rgba(247,166,0,.15); color: var(--gold); border-right: 3px solid var(--gold); }
.nav-link .icon { font-size: 16px; width: 20px; text-align: center; flex-shrink: 0; }

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}
.sidebar-footer a { color: rgba(255,255,255,.5); display: block; margin-top: 4px; font-size: 11px; }
.sidebar-footer a:hover { color: var(--gold); text-decoration: none; }

/* ---- Admin main ---- */
.admin-main {
  margin-left: var(--sidebar);
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
  flex-wrap: wrap;
}
.page-header h1 { font-size: 22px; font-weight: 700; }
.page-header .breadcrumb { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============================================================
   PORTAL LAYOUT
   ============================================================ */

.portal-header {
  background: var(--navy);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.portal-header img { height: 30px; width: auto; }
.user-info {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.8); font-size: 13px;
}
.user-info a { color: rgba(255,255,255,.6); font-size: 12px; }
.user-info a:hover { color: var(--gold); text-decoration: none; }
.lang-switcher { display: flex; gap: 4px; margin-right: 4px; }
.lang-btn {
  padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
  letter-spacing: .5px; color: rgba(255,255,255,.5) !important;
  border: 1px solid rgba(255,255,255,.2); text-decoration: none !important;
  transition: all .15s;
}
.lang-btn:hover { color: var(--white) !important; border-color: rgba(255,255,255,.5); }
.lang-btn.active { color: var(--navy) !important; background: var(--gold); border-color: var(--gold); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.portal-content { max-width: 1100px; margin: 0 auto; padding: 28px 24px; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */

.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.login-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
  width: 100%; max-width: 400px;
}
.logo-wrap { text-align: center; margin-bottom: 28px; }
.logo-wrap img { height: 44px; width: auto; }
.login-box h1 { text-align: center; font-size: 20px; margin-bottom: 4px; }
.subtitle { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.login-divider { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0; position: relative; }
.login-divider::before, .login-divider::after {
  content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after  { right: 0; }
.btn-primary {
  width: 100%; padding: 11px; background: var(--navy); color: var(--white);
  border: none; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--navy-80); }
.btn-wp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 10px; background: var(--white); color: var(--navy);
  border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px;
  font-weight: 500; cursor: pointer; transition: border-color .2s;
}
.btn-wp:hover { border-color: var(--navy); text-decoration: none; }

/* ============================================================
   COMPONENTS – Buttons
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; border: none; line-height: 1.4;
  text-decoration: none; transition: opacity .15s, background .15s;
}
.btn:hover { opacity: .88; text-decoration: none; }
.btn-gold   { background: var(--gold);    color: var(--navy); }
.btn-navy   { background: var(--navy);    color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-sm     { padding: 5px 11px; font-size: 12px; }
.btn-lg     { padding: 11px 22px; font-size: 15px; }

/* ============================================================
   COMPONENTS – Cards
   ============================================================ */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  gap: 12px; flex-wrap: wrap;
}
.card-header h2 { font-size: 15px; font-weight: 700; }
.card-body { padding: 20px; }

/* ============================================================
   COMPONENTS – Tables
   ============================================================ */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  background: var(--bg); color: var(--muted);
  padding: 9px 14px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gold-20); }
tbody td { padding: 10px 14px; vertical-align: middle; }
td.actions { white-space: nowrap; }
td.actions form { display: inline; }

/* ============================================================
   COMPONENTS – Badges & Status
   ============================================================ */

.badge {
  display: inline-block; padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700; white-space: nowrap; text-transform: uppercase;
}
.badge-published { background: var(--gold-20); color: var(--navy); }
.badge-draft     { background: var(--navy-20);  color: var(--navy-80); }
.badge-archived  { background: var(--navy-20);  color: var(--navy-60); }
.badge-eol       { background: #fdecea;          color: #b71c1c; }
.badge-service   { background: var(--navy);      color: var(--white); }

/* ============================================================
   COMPONENTS – Flash messages
   ============================================================ */

.flash {
  padding: 12px 16px; border-radius: var(--radius); font-size: 13px;
  font-weight: 500; margin-bottom: 20px;
}
.flash-success { background: var(--gold-20); color: var(--navy);   border-left: 4px solid var(--gold); }
.flash-error   { background: #fde8e8;         color: #842029;       border-left: 4px solid var(--danger); }
.flash-info    { background: var(--navy-20);  color: var(--navy);   border-left: 4px solid var(--navy); }

/* ============================================================
   COMPONENTS – Forms
   ============================================================ */

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 5px; color: var(--navy); }
.form-row { display: flex; gap: 14px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 160px; }
.required { color: var(--gold); }
.form-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.notes-hint {
  font-size: 11px; color: var(--muted); margin-bottom: 6px;
  background: var(--bg); padding: 6px 10px; border-radius: 4px;
}
.notes-hint code { background: var(--navy-20); padding: 1px 5px; border-radius: 3px; font-family: monospace; }
.current-file {
  font-size: 12px; color: var(--muted); padding: 5px 0; margin-bottom: 4px;
}
.current-file code { font-family: monospace; font-size: 12px; }

input[type=text], input[type=email], input[type=password],
input[type=search], input[type=url], select, textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: var(--white);
  color: var(--navy);
  transition: border-color .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
}
input[disabled], select[disabled], textarea[disabled] {
  background: var(--bg);
  color: var(--muted);
  cursor: not-allowed;
}
input[type=file] { padding: 6px; }
textarea { resize: vertical; min-height: 100px; }

/* ============================================================
   DASHBOARD – Stats
   ============================================================ */

.stat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
  border-top: 3px solid var(--border);
  flex: 1;
  min-width: 140px;
}
.stat-card.gold { border-top-color: var(--gold); }
.stat-card.pub  { border-top-color: var(--navy); }
.stat-num  { font-size: 32px; font-weight: 800; line-height: 1; }
.stat-label{ font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }

/* ============================================================
   MODEL VIEW – Firmware versions
   ============================================================ */

.fw-version-block {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.fw-version-block.is-published {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(247,166,0,.2);
}
.fw-version-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
  gap: 10px; flex-wrap: wrap;
}
.fw-version-block.is-published .fw-version-header { background: var(--gold-20); }
.fw-version-title { font-size: 16px; font-weight: 800; }
.fw-version-meta  { font-size: 12px; color: var(--muted); margin-top: 2px; }
.fw-version-body  { padding: 16px 20px; }
.fw-version-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.fw-download-list { display: flex; flex-wrap: wrap; gap: 10px; }
.fw-dl-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; background: var(--white); cursor: pointer;
  text-decoration: none; color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
  min-width: 200px;
}
.fw-dl-btn:hover { border-color: var(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.08); text-decoration: none; }
.dl-icon  { font-size: 22px; flex-shrink: 0; }
.dl-info  { flex: 1; min-width: 0; }
.dl-name  { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-type  { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.dl-arrow { font-size: 18px; color: var(--muted); flex-shrink: 0; }
.fw-dl-wrap { display: flex; flex-direction: column; min-width: 200px; }
.dl-md5 {
  font-size: 10px; color: var(--muted);
  padding: 3px 6px; margin-top: 2px;
  background: var(--bg); border-radius: 0 0 6px 6px;
  border: 1px solid var(--border); border-top: none;
}
.dl-md5 code { font-family: monospace; letter-spacing: .3px; user-select: all; }

/* ============================================================
   PORTAL – Model cards grid
   ============================================================ */

.series-heading {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.series-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.series-tab {
  padding: 5px 14px; border: 1.5px solid var(--border); border-radius: 20px;
  font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer;
  text-decoration: none; transition: all .15s;
}
.series-tab:hover { border-color: var(--navy); color: var(--navy); text-decoration: none; }
.series-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.fw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.fw-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1.5px solid var(--border);
  cursor: pointer; text-decoration: none; color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  display: block; overflow: hidden;
}
.fw-card:hover { border-color: var(--navy); box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); text-decoration: none; }
.fw-card.is-eol { border-left: 3px solid #b71c1c; }
.fw-card-header { padding: 14px 16px 10px; border-bottom: 1px solid var(--border); background: var(--bg); }
.eol-notice { background: #fdecea; border-left: 4px solid #b71c1c; border-radius: var(--radius); padding: 10px 14px; font-size: 13px; color: #7f1111; margin-bottom: 16px; }
.model-title  { font-size: 14px; font-weight: 700; }
.series-label { font-size: 11px; color: var(--muted); margin-top: 2px; }
.fw-card-body { padding: 12px 16px; }
.fw-version-tag { font-size: 18px; font-weight: 800; color: var(--navy); }
.fw-date  { font-size: 11px; color: var(--muted); margin-top: 2px; }
.file-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.file-badge {
  padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700;
}

/* ============================================================
   RELEASE NOTES PREVIEW
   ============================================================ */

.rn-preview {
  background: var(--bg); border-radius: var(--radius);
  padding: 16px 20px; border: 1px solid var(--border);
  font-size: 13px; line-height: 1.6;
}
.rn-section { font-size: 14px; font-weight: 700; margin: 16px 0 8px; color: var(--navy); }
.rn-section:first-child { margin-top: 0; }
.rn-list { list-style: none; margin: 0 0 12px; padding: 0; }
.rn-list li { padding: 3px 0 3px 18px; position: relative; }
.rn-list li::before { content: ">"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ============================================================
   PUBLISH WORKFLOW
   ============================================================ */

.merge-list { display: flex; flex-direction: column; gap: 8px; }
.merge-item {
  border: 1.5px solid var(--border); border-radius: 6px;
  padding: 12px 14px; background: var(--white);
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; transition: border-color .15s;
}
.merge-item:hover { border-color: var(--navy); }
.merge-item.is-target { border-color: var(--gold); background: var(--gold-20); }
.merge-item input[type=checkbox] { margin-top: 3px; flex-shrink: 0; accent-color: var(--navy); }
.merge-item-version { font-weight: 700; font-size: 13px; }
.merge-item-preview { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.4; }

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  text-align: center; padding: 48px 20px; color: var(--muted);
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state h3 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.empty-state p  { font-size: 13px; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */

.text-muted  { color: var(--muted); }
.text-sm     { font-size: 12px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-16 { margin-bottom: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-bar select, .filter-bar input { width: auto; max-width: 220px; }

/* ============================================================
   ADMIN – Models overview
   ============================================================ */
.series-group { margin-bottom: 8px; }
.series-group-header {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--muted); padding: 8px 14px; background: var(--bg);
  border-bottom: 1px solid var(--border); font-weight: 700;
}

/* ============================================================
   SMART FILE UPLOAD
   ============================================================ */
.su-dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; cursor: pointer;
  background: var(--bg); transition: border-color .2s, background .2s;
}
.su-dropzone:hover, .su-dropzone.drag-over {
  border-color: var(--gold); background: var(--gold-20);
}
.su-dz-icon  { font-size: 28px; margin-bottom: 6px; }
.su-dz-text  { font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.su-dz-link  { color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; }
.su-dz-hint  { font-size: 11px; color: var(--muted); }

.su-current  { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.su-current-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.su-current-badge.fw  { background: var(--navy-20); color: var(--navy);    border: 1px solid var(--navy-40); }
.su-current-badge.mib { background: var(--gold-20); color: var(--navy);    border: 1px solid var(--gold-40); }
.su-current-hint { font-size: 11px; color: var(--muted); }

.su-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.su-table th {
  background: var(--navy-20); color: var(--navy-80); padding: 6px 10px;
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--border);
}
.su-table td { padding: 7px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.su-table tr:last-child td { border-bottom: none; }
.su-table tr.su-uncertain td { background: var(--gold-20); }
.su-table tr.su-uncertain td:first-child { border-left: 3px solid var(--gold); }

.su-role-sel {
  width: 100%; padding: 4px 6px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 12px; background: var(--white);
}
.su-warn-badge {
  display: inline-block; background: var(--gold-20); color: var(--navy);
  border: 1px solid var(--gold); border-radius: 3px;
  padding: 1px 6px; font-size: 10px; font-weight: 600;
  margin-top: 3px;
}
.su-pdf-btn { font-size: 11px; padding: 3px 8px; }

/* ============================================================
   CVE Entry UI (fw-add / fw-edit)
   ============================================================ */
.cve-entry-wrap {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; margin-top: 4px; background: var(--bg);
}
.cve-add-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cve-add-bar input[type=text] {
  width: 220px; font-family: monospace; font-size: 13px;
  text-transform: uppercase;
}
.cve-preview-card {
  margin-top: 12px; background: var(--white); border: 1.5px solid var(--navy-20);
  border-radius: var(--radius); padding: 12px 14px;
}
.cve-preview-info {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 10px; font-size: 13px;
}
.cve-preview-info a { font-family: monospace; font-weight: 700; color: var(--navy); }
.cve-preview-meta { font-size: 12px; color: var(--muted); }

.cve-list { margin-top: 14px; }
.cve-list-empty { color: var(--muted); font-size: 12px; padding: 6px 0; }
.cve-list-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--border);
  border-radius: 5px; margin-bottom: 6px; background: var(--white);
}
.cve-list-left { flex: 1; min-width: 0; }
.cve-list-id {
  font-family: monospace; font-size: 13px; font-weight: 700;
  color: var(--navy); text-decoration: none;
}
.cve-list-id:hover { text-decoration: underline; }
.cve-list-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cve-list-loesung {
  margin-top: 6px; width: 100%; font-size: 12px;
  border: 1px solid var(--border); border-radius: 4px;
  padding: 4px 8px; resize: vertical; min-height: 48px;
  font-family: inherit; color: var(--navy-80); background: var(--bg);
}
.cve-list-loesung:focus { outline: none; border-color: var(--navy); background: var(--white); }
