/* PSC Gestion — GED : charte PSC (bandeau bleu #0009E4, lavandes, Exo 2 et Public Sans), couleurs du cadre pour le thème sombre. */
.app-ged { display: block; min-height: calc(100vh - 48px); background: var(--bg, #F2F3FC); color: var(--ink, #0C0E3D); font-family: 'Public Sans', system-ui, sans-serif; }
.gd-band { background: #0009E4; color: #fff; }
.gd-band-in { max-width: 1180px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.gd-band h1 { font-family: 'Exo 2', 'Public Sans', sans-serif; font-size: 22px; font-weight: 700; margin: 0; }
.gd-band p { margin: 2px 0 0; color: #D0D1FB; font-size: 13.5px; }
.gd-logo { background: #fff; border-radius: 8px; padding: 5px 9px; display: inline-flex; flex: none; }
.gd-logo img { height: 46px; width: auto; display: block; }
.gd-main { max-width: 1180px; margin: 0 auto; padding: 20px 20px 56px; display: flex; flex-direction: column; gap: 14px; }
.gd-intro { margin: 0; color: var(--muted, #4A4E7D); font-size: 14px; }
.gd-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.gd-carte { display: flex; align-items: center; gap: 12px; padding: 16px; text-align: left; font: inherit; color: inherit; background: var(--surface, #fff); border: 1px solid var(--line, #D3D5F0); border-radius: 12px; cursor: pointer; }
.gd-carte:hover { border-color: #0009E4; box-shadow: 0 2px 10px rgba(12,14,61,.07); }
.gd-carte b { font-size: 15px; }
.gd-panel { background: var(--surface, #fff); border: 1px solid var(--line, #D3D5F0); border-radius: 12px; overflow: hidden; }
.gd-miettes { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 12px 14px 0; font-size: 14px; }
.gd-miettes span { color: var(--muted, #4A4E7D); }
.gd-miettes button { border: 0; background: none; font: inherit; font-weight: 600; color: #0009E4; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.gd-miettes button:last-child { color: var(--ink, #0C0E3D); }
.gd-miettes button:hover { background: var(--bg, #F2F3FC); }
.gd-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line, #D3D5F0); }
.gd-cherche { display: flex; gap: 8px; flex: 1 1 320px; min-width: 0; }
.gd-cherche input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 8px 12px; border: 1px solid var(--line, #D3D5F0); border-radius: 9px; background: var(--bg, #F7F7FE); color: inherit; }
.gd-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-btn { font: inherit; font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line, #D3D5F0); background: var(--surface, #fff); color: inherit; cursor: pointer; white-space: nowrap; }
.gd-btn:hover { border-color: #0009E4; }
.gd-btn.bleu { background: #0009E4; border-color: #0009E4; color: #fff; }
.gd-msg { margin: 10px 14px 0; padding: 9px 12px; border-radius: 9px; background: #DBF0E2; color: #1C6A3A; font-size: 13.5px; }
.gd-msg.err { background: #FBE3E0; color: #B3261E; }
.gd-info { margin: 10px 14px 0; font-size: 13.5px; color: var(--muted, #4A4E7D); }
.gd-lien { border: 0; background: none; font: inherit; color: #0009E4; text-decoration: underline; cursor: pointer; }
.gd-liste { list-style: none; margin: 0; padding: 6px; }
.gd-l { display: grid; grid-template-columns: 40px minmax(0, 1fr) 90px 140px 76px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.gd-l:hover, .gd-l:focus-visible { background: var(--bg, #F2F3FC); outline: none; }
.gd-n { min-width: 0; }
.gd-n b { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-n small { display: block; font-size: 12px; color: var(--muted, #4A4E7D); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gd-t, .gd-dt { font-size: 12.5px; color: var(--muted, #4A4E7D); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gd-t { text-align: right; }
.gd-ra { display: flex; gap: 4px; justify-content: flex-end; }
.gd-mini { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line, #D3D5F0); background: var(--surface, #fff); color: #0009E4; cursor: pointer; font-size: 15px; }
.gd-mini:hover { border-color: #0009E4; }
.gd-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; flex: none; }
.gd-ic.dos { background: #DFDCFB; font-size: 18px; }
.gd-ic.pdf { background: #FBE3E0; color: #B3261E; }
.gd-ic.doc { background: #E2ECFB; color: #1F4F8A; font-size: 15px; }
.gd-ic.xls { background: #DBF0E2; color: #1C6A3A; font-size: 15px; }
.gd-ic.ppt { background: #FFF0D4; color: #8A5300; font-size: 15px; }
.gd-ic.img { background: #F2F3FC; color: #4A4E7D; }
.gd-ic.zip, .gd-ic.aut { background: #E5E6F8; color: #4A4E7D; }
.gd-vide { margin: 0; padding: 26px 16px; text-align: center; color: var(--muted, #4A4E7D); }
.gd-vide.err { color: #B3261E; }
.gd-vide h2 { font-family: 'Exo 2', sans-serif; font-size: 18px; color: var(--ink, #0C0E3D); margin: 0 0 6px; }
@media (max-width: 720px) {
  .gd-l { grid-template-columns: 36px minmax(0, 1fr) 70px; }
  .gd-dt { display: none; }
  .gd-ra { grid-column: 2 / -1; justify-content: flex-start; }
}
