/* =====================================================================
   OTOOLIA — Feuille de style commune (accueil + tous les outils)
   ---------------------------------------------------------------------
   1. Variables (couleurs, espaces, rayons)  -> personnaliser ici
   2. Base & typographie
   3. Mise en page (container, grilles)
   4. En-tête / pied de page
   5. Composants : boutons, cartes, badges, chips, formulaires, panneaux
   6. Page d'accueil
   7. Utilitaires
   ===================================================================== */

/* ---------- 1. Variables ---------- */
:root {
  --ot-brand:        #4f46e5;   /* couleur principale (à caler sur le logo) */
  --ot-brand-2:      #06b6d4;   /* couleur secondaire (dégradés) */
  --ot-logo-blue:    #1e6baf;   /* couleurs du logo (engrenage) : dégradé du nom (en-tête) et du titre de l'accueil */
  --ot-logo-orange:  #e7a13b;
  --ot-brand-ink:    #ffffff;   /* texte posé sur la couleur principale */

  --ot-bg:           #f7f7fb;
  --ot-surface:      #ffffff;
  --ot-surface-2:    #f0f0f6;
  --ot-border:       #e3e3ec;
  --ot-text:         #1b1b29;
  --ot-text-soft:    #5c5c70;
  --ot-focus:        #4f46e5;
  --ot-danger:       #d62839;
  --ot-success:      #2a9d8f;

  --ot-radius-s: 8px;
  --ot-radius:   14px;
  --ot-radius-l: 22px;
  --ot-shadow:   0 1px 2px rgba(20,20,40,.06), 0 4px 14px rgba(20,20,40,.06);
  --ot-shadow-h: 0 2px 4px rgba(20,20,40,.08), 0 12px 28px rgba(20,20,40,.12);

  --ot-space: 16px;
  --ot-max:   1180px;
  --ot-font:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ot-mono:  ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: light;
}

/* Thème sombre : automatique (système) ou forcé via data-theme="dark" */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ot-bg: #0f0f17; --ot-surface: #181824; --ot-surface-2: #222232;
    --ot-border: #2d2d40; --ot-text: #ececf4; --ot-text-soft: #a3a3b8;
    --ot-brand: #818cf8; --ot-focus: #a5b4fc; --ot-brand-ink: #0f0f17;
    --ot-logo-blue: #4a90d9; --ot-logo-orange: #f0b04f;
    --ot-shadow: 0 1px 2px rgba(0,0,0,.4); --ot-shadow-h: 0 10px 28px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ot-bg: #0f0f17; --ot-surface: #181824; --ot-surface-2: #222232;
  --ot-border: #2d2d40; --ot-text: #ececf4; --ot-text-soft: #a3a3b8;
  --ot-brand: #818cf8; --ot-focus: #a5b4fc; --ot-brand-ink: #0f0f17;
  --ot-logo-blue: #4a90d9; --ot-logo-orange: #f0b04f;
  --ot-shadow: 0 1px 2px rgba(0,0,0,.4); --ot-shadow-h: 0 10px 28px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--ot-font); font-size: 16px; line-height: 1.55;
  background: var(--ot-bg); color: var(--ot-text);
}
main { flex: 1; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
a  { color: var(--ot-brand); }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--ot-focus); outline-offset: 2px; border-radius: 4px; }
.ot-skip { position: absolute; left: -999px; }
.ot-skip:focus { left: var(--ot-space); top: var(--ot-space); z-index: 99;
  background: var(--ot-surface); padding: 8px 12px; }

/* ---------- 3. Mise en page ---------- */
.ot-container { width: 100%; max-width: var(--ot-max); margin: 0 auto; padding: 0 var(--ot-space); }
.ot-section   { padding-top: calc(var(--ot-space) * 2); padding-bottom: calc(var(--ot-space) * 2); }
.ot-grid      { display: grid; gap: var(--ot-space);
                grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.ot-stack > * + * { margin-top: var(--ot-space); }
.ot-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- 4. En-tête / pied de page ---------- */
.ot-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--ot-bg) 85%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--ot-border);
}
.ot-header__inner { display: flex; align-items: center; gap: 12px; height: 60px; }
/* Place réservée avant que otoolia.js remplisse l'en-tête : évite que la page saute au chargement (CLS) */
#ot-header { min-height: 61px; }
.ot-logo { display: flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--ot-text); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.ot-logo img { height: 32px; width: auto; }
.ot-logo span { background: linear-gradient(90deg, var(--ot-logo-blue) 30%, var(--ot-logo-orange) 85%);   /* nom en dégradé, engrenage en 3 couleurs */
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.ot-header__crumb { color: var(--ot-text-soft); font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-header__actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }

.ot-lang { display: inline-flex; border: 1px solid var(--ot-border); border-radius: 999px; overflow: hidden; }
.ot-lang a { padding: 4px 10px; font-size: .8rem; font-weight: 700; text-decoration: none;
  color: var(--ot-text-soft); }
.ot-lang a[aria-current="true"] { background: var(--ot-brand); color: var(--ot-brand-ink); }

.ot-footer { border-top: 1px solid var(--ot-border); margin-top: calc(var(--ot-space) * 3);
  padding: calc(var(--ot-space) * 1.5) 0; color: var(--ot-text-soft); font-size: .9rem; }
.ot-footer .ot-container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.ot-footer a { color: inherit; }
.ot-footer__updated { flex-basis: 100%; font-size: .85em; }
/* boutons de partage (pied de page) */
.ot-share { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--ot-border); }
.ot-share__label { font-weight: 600; margin-right: 4px; }
.ot-share__btn { font: inherit; font-size: .9em; color: var(--ot-text); background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: 999px;
  padding: 4px 12px; cursor: pointer; text-decoration: none; line-height: 1.4; }
.ot-footer a.ot-share__btn { color: var(--ot-text); text-decoration: none; }
.ot-share__btn:hover { border-color: var(--ot-brand); color: var(--ot-brand); }
.ot-share__btn[hidden] { display: none; }   /* date de mise à jour de l'outil (config/site.js : updated) */

/* Bandeau de consentement (mesure d'audience) : Accepter et Refuser ont la même apparence */
.ot-consent {
  position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 720px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px;
  background: var(--ot-surface); color: var(--ot-text); border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius-s, 12px); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: .9rem;
}
.ot-consent p { margin: 0; flex: 1 1 320px; }
.ot-consent a { color: inherit; }
.ot-consent__actions { display: flex; gap: 10px; margin-left: auto; }
@media print { .ot-consent { display: none; } }

/* ---------- 5. Composants ---------- */
/* Boutons */
.ot-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; background: var(--ot-brand); color: var(--ot-brand-ink);
  transition: transform .12s, filter .12s;
}
.ot-btn:hover { filter: brightness(1.08); }
.ot-btn:active { transform: translateY(1px); }
.ot-btn--ghost { background: transparent; color: var(--ot-text); border-color: var(--ot-border); }
.ot-btn--ghost:hover { background: var(--ot-surface-2); filter: none; }
.ot-btn--icon { width: 40px; padding: 0; }
.ot-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Cartes */
.ot-card {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 18px; background: var(--ot-surface); border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius); box-shadow: var(--ot-shadow);
  color: inherit; text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
a.ot-card:hover { transform: translateY(-2px); box-shadow: var(--ot-shadow-h);
  border-color: var(--ot-accent, var(--ot-brand)); }
.ot-card h3 { margin: 0; }
.ot-card p  { margin: 0; color: var(--ot-text-soft); font-size: .93rem; }
.ot-card--disabled { opacity: .6; box-shadow: none; }

/* Panneau (zone de travail d'un outil) */
.ot-panel { background: var(--ot-surface); border: 1px solid var(--ot-border);
  border-radius: var(--ot-radius-l); padding: calc(var(--ot-space) * 1.5); box-shadow: var(--ot-shadow); }

/* Badges */
.ot-badge { display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  background: var(--ot-surface-2); color: var(--ot-text-soft); }
.ot-badge--new  { background: #d8f5e5; color: #11683f; }
.ot-badge--upd  { background: #dbeafe; color: #1e4fa8; }
.ot-badge--beta { background: #fff0cc; color: #7a5300; }
.ot-badge--soon { background: var(--ot-surface-2); color: var(--ot-text-soft); }

/* Chips (filtres) */
.ot-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--ot-border); background: var(--ot-surface);
  color: var(--ot-text); font: inherit; font-size: .9rem; cursor: pointer; }
.ot-chip:hover { border-color: var(--ot-brand); }
.ot-chip[aria-pressed="true"] { background: var(--ot-text); color: var(--ot-bg); border-color: var(--ot-text); }

/* Formulaires */
.ot-field { display: flex; flex-direction: column; gap: 6px; }
.ot-label { font-weight: 600; font-size: .92rem; }
.ot-input, .ot-select, .ot-textarea {
  width: 100%; padding: 10px 14px; font: inherit; color: var(--ot-text);
  background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: var(--ot-radius-s);
}
.ot-textarea { min-height: 140px; resize: vertical; }
.ot-input:focus, .ot-select:focus, .ot-textarea:focus { outline: none; border-color: var(--ot-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ot-brand) 25%, transparent); }

/* ---------- 6. Page d'accueil ---------- */
.ot-hero { padding: calc(var(--ot-space) * 3) 0 calc(var(--ot-space) * 1.5); text-align: center; }
.ot-hero h1 span { background: linear-gradient(90deg, var(--ot-logo-blue) 30%, var(--ot-logo-orange) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.ot-hero p { color: var(--ot-text-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto 1.5em; }
.ot-search { position: relative; max-width: 520px; margin: 0 auto; }
.ot-search .ot-input { padding: 14px 18px 14px 46px; border-radius: 999px; font-size: 1.05rem;
  box-shadow: var(--ot-shadow); }
.ot-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--ot-text-soft); pointer-events: none; }
.ot-filters { justify-content: center; margin-top: calc(var(--ot-space) * 1.25); }

.ot-cat { margin-top: calc(var(--ot-space) * 2.5); scroll-margin-top: 80px; }
.ot-cat__head { display: flex; align-items: center; gap: 14px; margin-bottom: var(--ot-space); }
.ot-cat__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  font-size: 1.5rem; border-radius: var(--ot-radius);
  background: color-mix(in srgb, var(--ot-accent) 16%, transparent); }
.ot-cat__head h2 { margin: 0; }
.ot-cat__head p  { margin: 0; color: var(--ot-text-soft); font-size: .95rem; }
.ot-cat__count { margin-left: auto; color: var(--ot-text-soft); font-size: .85rem; white-space: nowrap; }

.ot-tool__top { display: flex; align-items: center; gap: 10px; }
.ot-tool__icon { width: 10px; height: 10px; border-radius: 50%; background: var(--ot-accent); flex: none; }
.ot-tool__top .ot-badge { margin-left: auto; }
.ot-empty { text-align: center; color: var(--ot-text-soft); padding: calc(var(--ot-space) * 3) 0; }

/* ---------- 7. Utilitaires ---------- */
.ot-muted  { color: var(--ot-text-soft); }
.ot-center { text-align: center; }
.ot-hidden, [hidden] { display: none !important; }
.ot-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 560px) {
  .ot-header__crumb { display: none; }
  .ot-cat__count { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- 8. Texte long (mentions légales, aide, à propos…) ---------- */
.ot-prose { max-width: 760px; }
.ot-prose h2 { margin-top: 2em; padding-top: .2em; }
.ot-prose [id] { scroll-margin-top: 80px; }   /* lien vers une section (#credits…) : pas caché sous l'en-tête collant */
.ot-prose h3 { margin-top: 1.4em; }
.ot-prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.ot-prose li + li { margin-top: .3em; }
.ot-prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 1em; }
.ot-prose dt { font-weight: 600; }
.ot-prose dd { margin: 0; }
@media (max-width: 560px) { .ot-prose dl { grid-template-columns: 1fr; } .ot-prose dd { margin-bottom: 8px; } }
.ot-todo { background: #fff0cc; color: #7a5300; padding: 0 4px; border-radius: 4px; }

/* ---------- Bouton flottant « Une idée ? » et sa fenêtre ---------- */
.ot-idea { position: fixed; right: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 0; border-radius: 999px; background: #e7a13b; color: #1b1b29;   /* couleurs du logo : orange, contour bleu */
  font: inherit; font-weight: 700; font-size: .92rem; box-shadow: 0 0 0 3px #1e6baf, 0 6px 18px rgba(20,20,40,.25); cursor: pointer; }
.ot-idea:hover { transform: translateY(-1px); box-shadow: 0 0 0 3px #1e6baf, 0 10px 24px rgba(20,20,40,.3); }
body:has(.ot-consent) .ot-idea { bottom: 120px; }                 /* au-dessus du bandeau de consentement */
@media (max-width: 600px) { .ot-idea { padding: 10px 12px; } .ot-idea span + span { display: none; } body:has(.ot-consent) .ot-idea { bottom: 200px; } }
.ot-idea__dlg { border: 0; border-radius: var(--ot-radius); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px);
  background: var(--ot-surface); color: var(--ot-text); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.ot-idea__dlg::backdrop { background: rgba(10,10,20,.45); }
.ot-idea__form { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 16px; }
.ot-idea__head { display: flex; align-items: center; justify-content: space-between; }
.ot-idea__head h2 { margin: 0; font-size: 1.2rem; }
.ot-idea__x { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ot-text-soft); }
.ot-idea__intro, .ot-idea__note { font-size: .86rem; color: var(--ot-text-soft); margin: 0 0 6px; }
.ot-idea__note { margin: 6px 0 0; }
.ot-idea__form > label { font-size: .82rem; font-weight: 600; margin-top: 6px; }
.ot-idea__form textarea { resize: vertical; min-height: 110px; font: inherit; }
.ot-idea__human { display: flex !important; gap: 8px; align-items: center; font-weight: 600; font-size: .92rem !important; margin-top: 10px !important; cursor: pointer; }
.ot-idea__human input { width: 18px; height: 18px; accent-color: var(--ot-brand); }
.ot-idea__err { color: var(--ot-danger); font-size: .86rem; margin: 4px 0 0; min-height: 1em; }
.ot-idea__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ot-idea__actions .ot-btn[disabled] { opacity: .5; cursor: not-allowed; }
@media print { .ot-idea, .ot-idea__dlg { display: none !important; } }

/* ---------- Blocs repliables (data-fold, voir folds() dans otoolia.js) ---------- */
.ot-fold__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; user-select: none; }
.ot-fold__btn { flex: none; width: 30px; height: 30px; margin: -4px -6px -4px auto; border: 0; border-radius: 8px; background: none; color: var(--ot-text-soft); cursor: pointer; position: relative; }
.ot-fold__btn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -30%) rotate(-135deg); transition: transform .15s; }
.ot-fold__btn:hover { background: var(--ot-surface-2); color: var(--ot-text); }
.ot-fold.is-folded > .ot-fold__h .ot-fold__btn::before { transform: translate(-50%, -70%) rotate(45deg); }
.ot-fold.is-folded > :not(.ot-fold__h) { display: none !important; }
.ot-fold.is-folded > .ot-fold__h { margin-bottom: 0; }
@media print { .ot-fold__btn { display: none; } .ot-fold.is-folded > :not(.ot-fold__h) { display: revert !important; } }
/* Guides éditoriaux en bas des pages d'outils (injectés par build_seo.js) */
.ot-guide { margin-top: 2.5em; border-top: 1px solid var(--ot-border); }
.ot-guide pre { background: var(--ot-surface-2); border: 1px solid var(--ot-border); border-radius: 8px; padding: 10px 14px; overflow-x: auto; font-size: .9rem; line-height: 1.5; }
.ot-guide__by { margin-top: 2em; font-size: .9rem; }

/* ---------- 9. Accueil compact (cartes, rubriques filtrables) et menu « Tous les outils » ---------- */
.ot-hero { padding: calc(var(--ot-space) * 2) 0 calc(var(--ot-space) * .5); }
.ot-hero h1 { margin: 0 0 .25em; }
.ot-hero p { margin-bottom: 1.1em; }
.ot-filters { position: sticky; top: 61px; z-index: 15; margin: calc(var(--ot-space) * .75) calc(var(--ot-space) * -1) 0;
  padding: 10px var(--ot-space); background: color-mix(in srgb, var(--ot-bg) 92%, transparent); backdrop-filter: blur(8px); gap: 8px; }
.ot-chip { padding: 6px 12px; font-size: .88rem; }
.ot-chip__n { font-weight: 600; color: var(--ot-text-soft); font-size: .8rem; }
.ot-chip[aria-pressed="true"] .ot-chip__n { color: inherit; opacity: .7; }
#ot-home .ot-cat { margin-top: calc(var(--ot-space) * 1.5); scroll-margin-top: 130px; }
#ot-home .ot-cat__head { gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
#ot-home .ot-cat__icon { width: 34px; height: 34px; font-size: 1.1rem; border-radius: 10px; }
#ot-home .ot-cat__head > div:not(.ot-cat__icon) { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
#ot-home .ot-cat__head h2 { font-size: 1.2rem; }
#ot-home .ot-cat__head p { font-size: .85rem; }
#ot-home .ot-grid { gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
#ot-home .ot-card { flex-direction: row; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; box-shadow: none; }
#ot-home a.ot-card:hover { transform: translateY(-1px); box-shadow: var(--ot-shadow); }
.ot-card__ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem;
  background: color-mix(in srgb, var(--ot-accent, var(--ot-brand)) 15%, var(--ot-surface)); }
.ot-card__txt { min-width: 0; flex: 1; }
#ot-home .ot-card h3 { font-size: .95rem; line-height: 1.25; }
#ot-home .ot-card h3 .ot-badge { margin-left: 6px; font-size: .62rem; padding: 1px 6px; vertical-align: 2px; }
#ot-home .ot-card p { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ot-cat--mini .ot-card { padding: 8px 10px !important; }
.ot-cat--mini .ot-card__ic { width: 32px; height: 32px; font-size: 1.05rem; }

.ot-menu-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ot-text);
  background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: 999px; padding: 7px 13px; cursor: pointer; white-space: nowrap; }
.ot-menu-btn:hover, .ot-menu-btn[aria-expanded="true"] { border-color: var(--ot-brand); }
.ot-menu-btn__c { font-size: .7rem; transition: transform .15s; }
.ot-menu-btn[aria-expanded="true"] .ot-menu-btn__c { transform: rotate(180deg); }
.ot-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ot-surface); border-bottom: 1px solid var(--ot-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .14); padding: 18px 0 22px; max-height: calc(100vh - 70px); overflow-y: auto; }
.ot-mega__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; }
.ot-mega__h { margin: 0 0 6px; font-weight: 700; font-size: .92rem; padding-bottom: 4px; border-bottom: 2px solid color-mix(in srgb, var(--ot-accent) 50%, transparent); }
.ot-mega a { display: block; padding: 3px 0; font-size: .88rem; color: var(--ot-text); text-decoration: none; }
.ot-mega a:hover { color: var(--ot-brand); }
.ot-mega a.is-current { color: var(--ot-brand); font-weight: 700; }
@media (max-width: 900px) { .ot-mega__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ot-menu-btn__t { display: none; }
  .ot-filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .ot-filters::-webkit-scrollbar { display: none; }
  .ot-chip { flex: none; }
  #ot-home .ot-cat__head p { display: none; }
}
.ot-home-about { margin: calc(var(--ot-space) * 2.5) 0 var(--ot-space); border: 1px solid var(--ot-border); border-radius: 12px; background: var(--ot-surface); padding: 2px 16px; }
.ot-home-about summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.ot-home-about p { color: var(--ot-text-soft); font-size: .93rem; }
select.ot-select { max-width: 100%; }
