/* Épure (v29) : interface plus aérée, grec et hébreu. Affichage seulement. Voir js/epure.js. */

/* Le titre du panneau répète l'onglet actif juste au-dessus : on le garde pour les lecteurs d'écran seulement */
.view > h2:first-child{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Phrases d'explication écrites par le code : retirées de l'écran */
#declMeta,#morphMeta,#phraseMeta,#partMeta,#summary{display:none!important}
#vocabFilterSummary:empty{display:none}

/* En-tête plus discret */
.header-title-row h1,.top h1{font-size:1.35rem;margin:6px 0 4px}
.top{margin-bottom:4px}

/* Bloc « ⚙ Réglages » replié : la carte apparaît tout de suite sous les onglets */
details.rg{margin:0 0 16px;border:1px solid var(--line,#d4e0e5);border-radius:12px;background:#fff}
details.rg > summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:48px;padding:8px 14px;cursor:pointer;border-radius:12px;-webkit-tap-highlight-color:transparent}
details.rg > summary::-webkit-details-marker{display:none}
details.rg > summary::after{content:'▾';color:var(--muted,#62717c);flex:0 0 auto}
details.rg[open] > summary::after{content:'▴'}
details.rg > summary .rg-t{flex:0 0 auto;font-weight:700;color:var(--ink,#182531)}
details.rg > summary .rg-s{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;font-size:.88rem;color:var(--muted,#62717c)}
details.rg[open] > summary{border-bottom:1px solid var(--line,#d4e0e5);border-radius:12px 12px 0 0}
details.rg > .rg-body{padding:14px 14px 16px}
details.rg > .rg-body > :last-child{margin-bottom:0}
.rg-body .review-mode-controls{margin:0 0 14px;padding:0;border:0;background:none}
.rg-body .filters,.rg-body .review-controls{margin-top:0}
.rg-body .hb-order{margin-top:10px}

/* Hébreu : la pastille de catégorie répète le résumé des réglages */
#categoryPill{display:none}

/* Raccourcis clavier : inutiles sur un écran tactile */
@media (hover:none) and (pointer:coarse){.keyboard{display:none}}

/* Pastille « à revoir » sur l'onglet Progression */
.nav-badge{display:inline-block;min-width:1.35em;margin-left:7px;padding:0 6px;border-radius:999px;background:#b87919;color:#fff;font-size:.72rem;font-weight:700;line-height:1.55;text-align:center;vertical-align:middle}
.nav-badge[hidden]{display:none}

/* Page Progression */
#progress .global-progress,#progressTab .global-progress{margin-top:0}
#progress .dash,#progressTab .dash{margin-top:16px}
.dash-table th,.dash-table td{padding:8px 6px}

/* v31 : moins de cadres autour des cadres — le panneau n'a plus de fond ni de bordure, seules les cartes restent encadrées */
.panel{background:transparent;border:0;box-shadow:none;padding:4px 0}
main > .panel + .panel{margin-top:0}

/* v31 : bloc de copyright réduit à une ligne */
.app-footer{margin-top:28px}
.app-footer .copyright-hero-card{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:4px 10px;padding:6px 0;margin:0;background:none;border:0;box-shadow:none;text-align:center}
.app-footer .hero-copy-icon,.app-footer .hero-copy-subtitle{display:none}
.app-footer .hero-copy-body{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 10px}
.app-footer .hero-copy-title{font-size:.95rem;margin:0}
.app-footer .hero-copy-text{font-size:.8rem;color:var(--muted,#62717c);margin:0}
