/* ==========================================================================
   OpenDesk — feuille "Aero moderne" partagée par opendesk.docteam.be et
   opendesk-updates.docteam.be. Esprit Windows 7 (verre, reflets, boutons
   glossy, barre des tâches) avec une mise en page actuelle et responsive.
   ========================================================================== */

:root {
  --sky-900: #06223f;
  --sky-800: #0b3a66;
  --sky-700: #0f4f8a;
  --sky-600: #1667b3;
  --sky-500: #2a86d8;
  --sky-400: #4fa6ee;
  --sky-300: #8cc8f7;
  --sky-100: #e4f2fd;

  --brand: #f04800;
  --brand-hi: #ff7a33;
  --brand-lo: #c23a00;

  --ink: #10243b;
  --ink-soft: #4a5d73;
  --paper: #ffffff;
  --paper-2: #f3f7fb;
  --line: #c9d7e6;

  --ok: #2f9e44;
  --warn: #e8a400;
  --err: #d6336c;

  --glass: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.28);
  --glass-dark: rgba(8, 28, 52, 0.55);
  --glass-edge: rgba(255, 255, 255, 0.45);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow-win: 0 18px 50px rgba(3, 20, 40, 0.45), 0 2px 6px rgba(3, 20, 40, 0.25);
  --font: "Segoe UI", "Segoe UI Variable", "Noto Sans", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "DejaVu Sans Mono", ui-monospace, monospace;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--sky-800);
  background-image:
    linear-gradient(180deg, rgba(6, 34, 63, 0.10) 0%, rgba(6, 34, 63, 0.55) 100%),
    var(--bg-image, none);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  padding-top: 64px; /* barre des tâches */
}
@media (max-width: 760px) { body { background-attachment: scroll; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-600); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
code, pre, .mono { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--sky-300); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Barre des tâches (header) ---------- */
.taskbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: 56px;
  display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 48%, rgba(0,0,0,0.10) 52%, rgba(0,0,0,0.18) 100%),
    var(--glass-dark);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 1px 0 rgba(0,0,0,0.35), 0 8px 24px rgba(0,0,0,0.18);
}
.taskbar .container { display: flex; align-items: center; gap: 14px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 600; letter-spacing: .2px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
}
.brand:hover { color: #fff; background: rgba(255,255,255,0.10); }
.brand .orb {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0.15) 45%, rgba(10,60,110,0.6) 70%), #0e4a86;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.55), 0 0 14px rgba(120,200,255,0.55);
  transition: box-shadow .2s;
}
.brand:hover .orb { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 0 22px rgba(150,220,255,0.9); }
.brand .orb img { width: 28px; height: 28px; }
.brand small { display: block; font-weight: 400; font-size: 11px; opacity: .75; margin-top: -4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  color: #eaf5ff; text-decoration: none; font-size: 14.5px;
  padding: 7px 14px; border-radius: 5px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.02) 51%, rgba(255,255,255,0.12));
  border-color: rgba(255,255,255,0.35);
  box-shadow: inset 0 0 8px rgba(160,215,255,0.35);
}
.tray {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 12.5px; line-height: 1.15; text-align: center;
  padding-left: 12px; margin-left: 6px;
  border-left: 1px solid rgba(255,255,255,0.18);
}
.tray .clock span { display: block; }
.nav-toggle {
  display: none; margin-left: auto;
  background: rgba(255,255,255,0.12); color: #fff;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 6px;
  padding: 6px 12px; font: inherit; cursor: pointer;
}
@media (max-width: 860px) {
  .tray { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 56px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px 16px 16px;
    background: rgba(8, 28, 52, 0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 14px; }
}

/* ---------- Boutons glossy ---------- */
.btn {
  --b1: #f8fbff; --b2: #e3eef9; --b3: #cfe2f4; --b4: #e6f1fb; --bd: #8aa9c9; --fg: #10314f;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px;
  font: 600 15px/1.2 var(--font);
  color: var(--fg); text-decoration: none; cursor: pointer;
  border: 1px solid var(--bd); border-radius: 5px;
  background: linear-gradient(180deg, var(--b1) 0%, var(--b2) 49%, var(--b3) 50%, var(--b4) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.35), 0 1px 2px rgba(0,0,0,0.15);
  transition: filter .15s, box-shadow .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { color: var(--fg); filter: brightness(1.04); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 0 1px rgba(79,166,238,0.45), 0 0 14px rgba(79,166,238,0.45); }
.btn:active { transform: translateY(1px); filter: brightness(.96); }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.btn-primary { --b1: #ffb27f; --b2: #ff7a33; --b3: #f04800; --b4: #ff6a1f; --bd: #a83300; --fg: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
.btn-primary:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 0 1px rgba(255,140,60,0.6), 0 0 18px rgba(255,120,40,0.6); }
.btn-blue { --b1: #9ed3ff; --b2: #4fa6ee; --b3: #1d78cf; --b4: #3b95e6; --bd: #0d4f8f; --fg: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.3); }
.btn-blue:hover { color: #fff; }
.btn-danger { --b1: #ffc2d4; --b2: #f0708f; --b3: #d6336c; --b4: #e8507e; --bd: #8f1d45; --fg: #fff; }
.btn-danger:hover { color: #fff; }
.btn-lg { padding: 13px 28px; font-size: 17px; border-radius: 6px; }
.btn-sm { padding: 5px 12px; font-size: 13px; }

/* ---------- Fenêtres (cartes style Win7) ---------- */
.window {
  border-radius: var(--radius);
  /* Verre clair + reflet diagonal façon Aero, lisible même sur le bas sombre de la page */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.18) 100%),
    rgba(196, 226, 250, 0.58);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--shadow-win), inset 0 1px 0 rgba(255,255,255,0.6);
  padding: 0 7px 7px;
  min-width: 0;
}
.titlebar {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 2px 0 6px;
  color: #06223f; font-size: 14px;
  text-shadow: 0 0 10px rgba(255,255,255,0.95), 0 0 2px #fff;
}
.titlebar .ico { width: 18px; height: 18px; flex: none; }
.titlebar .title { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caption { display: flex; flex: none; margin-top: -10px; align-self: flex-start; }
.caption i {
  display: block; width: 27px; height: 19px;
  border: 1px solid rgba(40, 60, 90, 0.55); border-left-width: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.25) 50%, rgba(200,220,240,0.25) 51%, rgba(255,255,255,0.45));
  position: relative;
}
.caption i:first-child { border-left-width: 1px; border-bottom-left-radius: 5px; }
.caption i:last-child {
  width: 44px; border-bottom-right-radius: 5px;
  background: linear-gradient(180deg, #f4a093, #d6533b 50%, #c2381e 51%, #e2775a);
  border-color: rgba(110, 20, 10, 0.7);
}
.caption i:last-child::before, .caption i:last-child::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px;
  background: #fff; border-radius: 1px; box-shadow: 0 0 2px rgba(0,0,0,.4);
}
.caption i:last-child::before { transform: translate(-50%, -50%) rotate(45deg); }
.caption i:last-child::after { transform: translate(-50%, -50%) rotate(-45deg); }
.caption i:first-child::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 9px; height: 2.5px; transform: translateX(-50%);
  background: #fff; box-shadow: 0 0 2px rgba(0,0,0,.4);
}
.caption i:nth-child(2)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 7px; transform: translate(-50%, -50%);
  border: 2px solid #fff; border-top-width: 3px; box-shadow: 0 0 2px rgba(0,0,0,.35);
}
.window-body {
  color: var(--ink); /* ne pas hériter du blanc des héros */
  background: var(--paper);
  border: 1px solid rgba(60, 90, 130, 0.45);
  border-radius: 3px;
  padding: 22px 24px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}
.window-body.flush { padding: 0; overflow: hidden; }
.window-body > :first-child { margin-top: 0; }
.window-body > :last-child { margin-bottom: 0; }
.statusbar {
  display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap;
  margin-top: 6px; padding: 2px 6px 0;
  font-size: 12.5px; color: #0b2a4a;
  text-shadow: 0 0 8px rgba(255,255,255,0.9);
}

/* ---------- Sections ---------- */
main { flex: 1; }
.section { padding: 36px 0; }
.section-title {
  color: #fff; font-weight: 300; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2;
  margin: 0 0 6px;
  text-shadow: 0 2px 18px rgba(0, 40, 80, 0.55);
}
.section-lead { color: #dcefff; margin: 0 0 26px; max-width: 720px; text-shadow: 0 1px 10px rgba(0,30,60,0.5); }

.hero { padding: 54px 0 30px; color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 {
  font-weight: 300; font-size: clamp(36px, 5.4vw, 62px); line-height: 1.05; margin: 0 0 16px;
  text-shadow: 0 0 30px rgba(140, 200, 255, 0.55), 0 3px 18px rgba(0, 30, 60, 0.55);
}
.hero h1 strong { font-weight: 600; }
.hero p.lead { font-size: 19px; color: #e6f4ff; max-width: 560px; margin: 0 0 26px; text-shadow: 0 1px 12px rgba(0,30,60,0.6); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .meta { margin-top: 14px; font-size: 14px; color: #cfe6fb; }
.hero-shot { transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); transition: transform .5s; }
.hero-shot:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-shot { transform: none; }
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.18); color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
}
.badge.solid { background: var(--sky-100); color: var(--sky-700); border-color: var(--sky-300); backdrop-filter: none; }
.badge.ok { background: #e6f6ea; color: #1f6f2f; border-color: #9fd6ab; }
.badge.warn { background: #fff4d6; color: #7a5600; border-color: #f0d28a; }
.badge.off { background: #eef1f5; color: #5a6878; border-color: #cfd6df; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.feature h3 { margin: 6px 0 6px; font-size: 18px; color: var(--sky-800); }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.feature .icon {
  width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffffff, #dcecfb);
  border: 1px solid #a9c8e6; box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(20,80,140,0.18);
  font-size: 24px;
}

.theme-card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.theme-card .cap { padding: 12px 16px; }
.theme-card .cap strong { display: block; color: var(--sky-800); }
.theme-card .cap span { color: var(--ink-soft); font-size: 14px; }

/* ---------- Tableaux, listes, formulaires ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  font-weight: 600; color: #1c3b5c; font-size: 13.5px;
  background: linear-gradient(180deg, #ffffff, #eaf2fa 50%, #dfeaf6 51%, #f1f6fb);
  border-bottom-color: #a9c0d8;
}
tr:hover td { background: #f3f9ff; }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 5px; color: #1c3b5c; }
.form-row .hint { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 15px/1.4 var(--font); color: var(--ink);
  padding: 9px 11px;
  border: 1px solid #9fb6cf; border-radius: 4px;
  background: linear-gradient(180deg, #f7fafd, #fff 30%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--sky-500);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06), 0 0 0 3px rgba(79,166,238,0.28);
}
textarea { min-height: 180px; font-family: var(--mono); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input[type=email] { flex: 1 1 240px; }

/* ---------- Messages ---------- */
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 16px; border-radius: 6px; margin-bottom: 18px;
  border: 1px solid #9cc7ef; background: linear-gradient(180deg, #f4faff, #e3f1fd);
  color: #0f3557; font-size: 15px;
}
.notice.ok { border-color: #9fd6ab; background: linear-gradient(180deg, #f3fbf5, #e2f4e6); color: #1d4d27; }
.notice.err { border-color: #f0a8bf; background: linear-gradient(180deg, #fff6f9, #fde6ee); color: #6b1531; }
.notice.warn { border-color: #f0d28a; background: linear-gradient(180deg, #fffbef, #fff1cc); color: #5a4100; }

/* ---------- Barre de progression Aero ---------- */
.progress {
  height: 16px; border-radius: 3px; overflow: hidden;
  border: 1px solid #8ea6bf; background: linear-gradient(180deg, #f1f1f1, #d9d9d9);
}
.progress > span {
  display: block; height: 100%;
  background: linear-gradient(180deg, #b6f0b0, #4cc44a 50%, #2ea92b 51%, #6fd76a);
  position: relative; overflow: hidden;
}
.progress > span::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: translateX(-100%); animation: shine 2.2s infinite;
}
@keyframes shine { to { transform: translateX(100%); } }

/* ---------- Contenu riche (notes de version) ---------- */
.prose h3 { font-size: 18px; color: var(--sky-800); margin: 18px 0 6px; }
.prose h4, .prose h5 { font-size: 16px; margin: 14px 0 4px; }
.prose ul { padding-left: 22px; margin: 6px 0 12px; }
.prose li { margin: 3px 0; }
.prose code { background: var(--paper-2); border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px; }

.hash {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--mono); font-size: 12.5px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px;
  padding: 6px 8px; overflow-wrap: anywhere;
}
.hash code { flex: 1; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { position: relative; padding: 0 0 26px 28px; }
.timeline > li::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: rgba(255,255,255,0.35);
}
.timeline > li::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff, #8cc8f7 45%, #1667b3);
  box-shadow: 0 0 10px rgba(140,200,255,0.9);
}
.timeline > li:last-child::before { display: none; }

/* ---------- Pied de page ---------- */
.footer {
  margin-top: 40px; color: #d6e9fb; font-size: 14px;
  background: linear-gradient(180deg, rgba(8,28,52,0.35), rgba(8,28,52,0.8));
  border-top: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.footer .container { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; padding-top: 26px; padding-bottom: 26px; }
.footer a { color: #fff; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Divers ---------- */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 18px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spacer { flex: 1; }
.big-number { font-size: 34px; font-weight: 300; color: var(--sky-700); line-height: 1; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 14px;
  background: radial-gradient(circle at 40% 30%, #9ed3ff, #1d78cf 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 5px rgba(0,60,120,0.3);
}

/* ---------- Sélecteur de langue (zone de notification de la barre des tâches) ---------- */
.lang-switch {
  display: flex; align-items: center; gap: 2px; margin-left: 8px;
  padding: 2px; border-radius: 6px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
}
.lang-switch a {
  color: #dcefff; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .5px;
  padding: 4px 8px; border-radius: 4px; border: 1px solid transparent;
}
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,0.14); }
.lang-switch a[aria-current="true"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.30), rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.02) 51%, rgba(255,255,255,0.14));
  border-color: rgba(255,255,255,0.35);
}
@media (max-width: 860px) { .lang-switch { margin-left: auto; } .lang-switch + .nav-toggle { margin-left: 8px; } }

/* ---------- Catalogue de composants ---------- */
.comp-list { display: grid; gap: 10px; }
.comp-item { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: linear-gradient(180deg, #fff, var(--paper-2)); color: var(--ink); text-decoration: none; }
.comp-item:hover { border-color: var(--sky-400); box-shadow: 0 0 0 3px rgba(79,166,238,0.18); }
.comp-item .comp-ico { flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(180deg, var(--sky-100), #cfe6fb); border: 1px solid var(--sky-300); }
.comp-item .comp-main { flex: 1; min-width: 0; }
.comp-item .comp-main strong { display: block; color: var(--sky-800); }
.comp-item .comp-main span { display: block; color: var(--ink-soft); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comp-item .comp-ver { text-align: right; font-size: 14px; white-space: nowrap; }
.lang-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lang-tabs .lang-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--sky-700); background: var(--sky-100);
  border: 1px solid var(--sky-300); border-radius: 3px; padding: 0 5px; margin-left: 6px; vertical-align: middle; }
