/* One dashboard page, three tabs (2026-11-11, owner), GovCheck brand. */
.gdb { margin: 0 0 1.5rem; }
.gdb-tabs { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.2rem; padding: .3rem; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(11, 42, 69, .1); }
.gdb-tabs a { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; color: #003a63; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gdb-tabs a:hover { background: #eef5fb; }
.gdb-tabs a[aria-selected="true"] { background: #0077be; color: #fff; }
.gdb-panel { display: none; }
html.gdb-on-projets .gdb-panel[data-panel="projets"], html.gdb-on-problemes .gdb-panel[data-panel="problemes"] { display: block; }
html:is(.gdb-on-projets, .gdb-on-problemes) main .region-content > :not(.gdb) { display: none !important; }
.gdb-wait { padding: 2rem; color: #5f6672; text-align: center; }
.gdb-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.gdb-tile { display: grid; gap: .25rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; box-shadow: 0 1px 3px rgba(11, 42, 69, .08); border-top: 4px solid #0077be; }
.gdb-tile b { color: #003a63; font-size: 1.9rem; line-height: 1.1; }
.gdb-tile span { color: #5f6672; font-size: .85rem; font-weight: 600; }
.gdb-tile--ok { border-top-color: #1a806c; } .gdb-tile--ok b { color: #1a806c; }
.gdb-tile--warn { border-top-color: #f2c200; }
.gdb-tile--bad { border-top-color: #e30613; } .gdb-tile--bad b { color: #c8102e; }
.gdb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1rem; }
.gdb-card { padding: 1.1rem 1.2rem; border-radius: 18px; background: #fff; box-shadow: 0 1px 3px rgba(11, 42, 69, .08); }
.gdb-card h3 { margin: 0 0 .9rem; color: #003a63; font-size: 1.05rem; }
.gdb-donut { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.gdb-donut__ring { position: relative; flex: none; width: 150px; height: 150px; border-radius: 50%; }
.gdb-donut__ring span { position: absolute; inset: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.gdb-donut__ring b { color: #003a63; font-size: 1.6rem; }
.gdb-donut ul { display: grid; flex: 1; gap: .45rem; min-width: 150px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.gdb-donut li { display: flex; align-items: center; gap: .5rem; }
.gdb-donut li i { flex: none; width: 12px; height: 12px; border-radius: 3px; }
.gdb-donut li b { margin-left: auto; color: #003a63; }
.gdb-bars { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.gdb-bars li { position: relative; display: flex; justify-content: space-between; gap: .6rem; padding: .4rem .6rem; overflow: hidden; border-radius: 8px; background: #f3f6f9; font-size: .86rem; }
.gdb-bars li span, .gdb-bars li b { position: relative; z-index: 1; }
.gdb-bars li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gdb-bars li b { color: #003a63; }
.gdb-bars li i { position: absolute; left: 0; top: 0; bottom: 0; opacity: .22; border-radius: 8px; }
.gdb-more { margin: 1.2rem 0 0; text-align: center; }
@media (max-width: 767.98px) { .gdb-tabs { border-radius: 18px; } .gdb-tabs a { flex: 1 1 100%; } .gdb-tile b { font-size: 1.5rem; } }
