:root {
  color-scheme: light;
  --ink: #102a43;
  --ink-muted: #627d98;
  --ink-soft: #829ab1;
  --paper: #ffffff;
  --canvas: #f2f7f7;
  --line: #d9e7e6;
  --line-strong: #bfd8d6;
  --teal-950: #07333b;
  --teal-800: #0d5c63;
  --teal-700: #0f766e;
  --teal-600: #14847c;
  --teal-100: #d7f0ed;
  --teal-50: #edf9f7;
  --sky-700: #1769aa;
  --sky-100: #e2f0fb;
  --amber-700: #a75b08;
  --amber-100: #fff1d6;
  --red-700: #b42318;
  --red-100: #fee4e2;
  --green-700: #087443;
  --green-100: #dcfae6;
  --purple-700: #6941c6;
  --purple-100: #eee9fe;
  --shadow-sm: 0 5px 18px rgba(30, 71, 76, .06);
  --shadow-md: 0 18px 48px rgba(17, 63, 69, .11);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--canvas); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; }

.app-loading {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 14px;
  color: var(--ink-muted);
  text-align: center;
  background: radial-gradient(circle at 12% 12%, rgba(58, 162, 154, .18), transparent 30%), var(--canvas);
}

.loading-mark { display: flex; justify-content: center; gap: 6px; height: 34px; align-items: center; }
.loading-mark span { width: 8px; height: 8px; background: var(--teal-700); border-radius: 99px; animation: pulse-dot 1s infinite ease-in-out; }
.loading-mark span:nth-child(2) { animation-delay: .14s; }
.loading-mark span:nth-child(3) { animation-delay: .28s; }
@keyframes pulse-dot { 0%, 100% { transform: translateY(0); opacity: .28; } 50% { transform: translateY(-8px); opacity: 1; } }

.login-view {
  min-height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 460px);
  padding: clamp(18px, 3vw, 48px);
  gap: 24px;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 15% 8%, rgba(39, 167, 158, .22), transparent 28rem),
    linear-gradient(135deg, #082e3c 0%, #0d5561 53%, #21815e 150%);
}
body:has(.login-view) { overflow: hidden; }

.login-intro { display: none; }
.wordmark, .wordmark-compact { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.wordmark .mark, .wordmark-compact .mark { display: grid; place-items: center; width: 34px; height: 34px; color: white; border: 1px solid rgba(255,255,255,.45); border-radius: 11px; background: rgba(255,255,255,.13); }
.login-kicker, .section-kicker { margin: 44px 0 12px; color: #a7f3d0; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.login-intro h1 { max-width: 740px; margin: 0; font-family: Georgia, Cambria, serif; font-size: clamp(2.45rem, 5.8vw, 5.3rem); line-height: .98; letter-spacing: -.045em; }
.login-intro p { max-width: 620px; margin: 26px 0 0; color: rgba(247,255,254,.8); font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.65; }
.login-reference { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }
.login-reference span { border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 12px; color: rgba(255,255,255,.82); font-size: 12px; }

.login-card { width: 100%; margin-inline: auto; padding: clamp(24px, 4vw, 42px); border: 1px solid rgba(255,255,255,.34); border-radius: 26px; background: rgba(255,255,255,.96); box-shadow: 0 30px 70px rgba(0, 23, 31, .28); }
.login-product { display: grid; justify-items: center; gap: 7px; margin: 0 0 12px; text-align: center; }
.login-product-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--teal-100); border-radius: 13px; color: var(--teal-700); background: var(--teal-50); }
.login-product-mark svg { width: 25px; height: 25px; }
.login-product strong { color: var(--teal-800); font-family: Georgia, Cambria, serif; font-size: clamp(2.35rem, 7vw, 3rem); font-weight: 900; letter-spacing: .2em; line-height: .9; text-indent: .2em; }
.login-product > span:last-child { max-width: 330px; color: var(--ink-muted); font-size: 10px; font-weight: 850; letter-spacing: .09em; line-height: 1.4; text-transform: uppercase; }
.login-illustration-frame { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, 300px); height: 105px; margin: 12px auto 2px; overflow: hidden; border: 1px solid #e2ecee; border-radius: 14px; background: #dbeefa url('ambulance-road-background.webp') center / cover no-repeat; }
.login-ambulance-trail { position: absolute; z-index: 3; top: 34%; left: 50%; width: 132px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, transparent, rgba(255, 68, 78, .62) 18%, #ff1838 74%, transparent); box-shadow: 0 0 12px rgba(255, 24, 56, .95), 0 0 24px rgba(235, 20, 48, .72); filter: blur(2px); opacity: 0; pointer-events: none; animation: ambulance-drive 2.8s linear infinite; animation-delay: .14s; will-change: transform, opacity; }
.login-ambulance-trail::after { position: absolute; top: 10px; left: 9px; width: 100px; height: 3px; border-radius: inherit; background: linear-gradient(90deg, transparent, #ff3049 24%, rgba(238, 22, 49, .94) 70%, transparent); box-shadow: 0 0 10px rgba(255, 25, 54, .85); content: ''; }
.login-illustration { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: contain; animation: ambulance-drive 2.8s linear infinite; will-change: transform, opacity; }
@keyframes ambulance-drive {
  0%, 10% { opacity: 0; transform: translate3d(115%, 0, 0); }
  18% { opacity: 1; transform: translate3d(85%, 0, 0); }
  82% { opacity: 1; transform: translate3d(-85%, 0, 0); }
  90%, 100% { opacity: 0; transform: translate3d(-115%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) { .login-illustration, .login-ambulance-trail { animation: none; } }
.login-card h2 { margin: 14px 0 7px; font-size: 1.5rem; letter-spacing: -.025em; text-align: center; }
.login-card > p { margin: 0 0 28px; color: var(--ink-muted); line-height: 1.55; text-align: center; }
.login-card .wordmark-compact { color: var(--teal-800); }
.login-card .wordmark-compact .mark { color: var(--teal-700); border-color: var(--teal-100); background: var(--teal-50); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); }
.side-rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 16px; overflow-y: auto; color: #e7fbf7; background: linear-gradient(180deg, #083b4b 0%, #062d3a 100%); }
.side-rail .wordmark { padding: 4px 10px 24px; color: #f1fffc; font-size: 12px; }
.side-rail .wordmark .mark { background: rgba(255,255,255,.12); }
.side-rail .wordmark-text small { display: block; margin-top: 2px; color: #8bc8c2; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.navigation { display: grid; gap: 4px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 12px; padding: 11px 12px; color: #b9d7d5; text-align: left; background: transparent; transition: background .16s ease, color .16s ease, transform .16s ease; }
.nav-item svg { flex: 0 0 auto; width: 19px; height: 19px; stroke-width: 1.9; }
.nav-item span { font-size: 13px; font-weight: 680; }
.nav-item:hover { color: white; background: rgba(255,255,255,.075); transform: translateX(2px); }
.nav-item.is-active { color: white; background: linear-gradient(90deg, rgba(37, 181, 166, .28), rgba(40, 172, 150, .07)); box-shadow: inset 2px 0 0 #6ee7d7; }
.nav-group-label { margin: 23px 10px 7px; color: #72a7a5; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.side-footer { display: grid; gap: 12px; margin-top: auto; padding: 20px 8px 2px; }
.current-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-avatar { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; color: #c7f9ec; background: rgba(108, 222, 202, .16); font-size: 12px; font-weight: 800; }
.current-user strong, .current-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.current-user strong { color: white; font-size: 12px; }
.current-user small { margin-top: 2px; color: #84ada9; font-size: 10px; }
.logout-button { width: 100%; display: flex; align-items: center; gap: 8px; border: 0; padding: 8px; color: #a9ccca; font-size: 12px; text-align: left; background: transparent; }
.logout-button:hover { color: white; }

.main-content { min-width: 0; padding: clamp(18px, 3vw, 40px); }
.page { width: min(100%, 1560px); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.page-heading h1 { margin: 0; color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.14; letter-spacing: -.037em; }
.page-heading p { margin: 7px 0 0; color: var(--ink-muted); font-size: .9rem; }
.topbar-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.button { min-height: 39px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 10px; padding: 9px 14px; color: #fff; font-size: 13px; font-weight: 750; line-height: 1; background: var(--teal-700); box-shadow: 0 5px 13px rgba(15, 118, 110, .15); transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); background: var(--teal-800); box-shadow: 0 9px 17px rgba(15, 118, 110, .18); }
.button svg { width: 17px; height: 17px; stroke-width: 2; }
.button.secondary { border-color: var(--line-strong); color: var(--teal-800); background: var(--paper); box-shadow: none; }
.button.secondary:hover { color: var(--teal-950); border-color: #85b9b6; background: var(--teal-50); }
.button.ghost { color: var(--ink-muted); background: transparent; box-shadow: none; }
.button.ghost:hover { color: var(--ink); background: #e8f0f1; box-shadow: none; }
.button.danger { color: #fff; background: var(--red-700); }
.button.small { min-height: 32px; padding: 7px 10px; border-radius: 8px; font-size: 12px; }
.button.full { width: 100%; }

.panel { border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 19px 20px 14px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1rem; letter-spacing: -.017em; }
.panel-head p { margin: 5px 0 0; color: var(--ink-muted); font-size: .8rem; line-height: 1.45; }
.panel-body { padding: 0 20px 20px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); }
.filter-bar .field { min-width: 145px; flex: 1 1 170px; }
.filter-bar .field.is-date { max-width: 190px; }
.filter-bar .button { margin-left: auto; }

.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(132px, 1fr)); gap: 12px; margin-bottom: 18px; }
.metric-card { min-height: 116px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow-sm); }
.metric-card .metric-label { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.metric-card .metric-label svg { width: 17px; height: 17px; color: var(--teal-700); }
.metric-card strong { display: block; margin-top: 16px; font-size: clamp(1.55rem, 2.2vw, 2.2rem); line-height: .9; letter-spacing: -.05em; }
.metric-card.emphasis { color: white; border-color: var(--teal-700); background: linear-gradient(130deg, #0b6667, #0d3d55); }
.metric-card.emphasis .metric-label { color: #b9f4ea; }
.metric-card.emphasis .metric-label svg { color: #b2f5ea; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 18px; }
.chart-panel { min-height: 270px; }
.chart-panel .panel-body { height: 214px; }
.mini-bars { display: grid; align-content: end; grid-auto-flow: column; grid-auto-columns: minmax(20px, 1fr); gap: 8px; height: 100%; padding-top: 22px; }
.mini-bar { position: relative; min-width: 20px; height: 100%; display: flex; align-items: end; justify-content: center; }
.mini-bar span { width: min(100%, 30px); min-height: 3px; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #22b8a8, #0f766e); }
.mini-bar small { position: absolute; bottom: -20px; color: var(--ink-soft); font-size: 9px; white-space: nowrap; transform: rotate(-32deg); transform-origin: center; }
.horizontal-bars { display: grid; gap: 14px; }
.horizontal-bar { display: grid; grid-template-columns: minmax(75px, 1fr) minmax(70px, 2.2fr) 26px; gap: 9px; align-items: center; }
.horizontal-bar span { overflow: hidden; color: var(--ink-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.horizontal-bar .track { height: 7px; overflow: hidden; border-radius: 999px; background: #e6f0ef; }
.horizontal-bar .fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #41b9ad, #117886); }
.horizontal-bar strong { font-size: 12px; text-align: right; }

.list-panel { min-height: 270px; }
.attention-list { display: grid; gap: 9px; }
.attention-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #edf2f1; }
.attention-row:last-child { border-bottom: 0; }
.attention-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: var(--teal-700); background: var(--teal-50); }
.attention-row strong { display: block; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.attention-row small { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 11px; }

.status-pill, .type-pill, .role-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 8px; color: var(--ink-muted); background: #edf3f4; font-size: 10px; font-weight: 800; line-height: 1; white-space: nowrap; }
.status-pill.brouillon { color: #6b7280; background: #eff1f4; }
.status-pill.soumis { color: var(--sky-700); background: var(--sky-100); }
.status-pill.en_revue { color: var(--amber-700); background: var(--amber-100); }
.status-pill.prise_en_charge { color: var(--red-700); background: var(--red-100); }
.status-pill.clos, .status-pill.termine { color: var(--green-700); background: var(--green-100); }
.status-pill.ouvert { color: var(--purple-700); background: var(--purple-100); }
.type-pill { color: var(--teal-700); background: var(--teal-50); }
.role-pill { color: var(--teal-800); background: #e4f5f2; }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.data-table { width: 100%; min-width: 800px; border-collapse: collapse; font-size: 12px; }
.data-table th { padding: 11px 12px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .07em; text-align: left; text-transform: uppercase; background: #f8fbfb; }
.data-table td { padding: 12px; border-top: 1px solid #ebf1f0; color: #35536b; vertical-align: middle; }
.data-table tbody tr { transition: background .14s ease; }
.data-table tbody tr:hover { background: #f8fcfb; }
.data-table strong { color: var(--ink); font-size: 12px; }
.table-actions { display: flex; justify-content: flex-end; gap: 5px; }
.empty-state { padding: 36px 20px; color: var(--ink-muted); text-align: center; }
.empty-state svg { width: 28px; height: 28px; margin-bottom: 8px; color: #82bdb7; }
.empty-state strong { display: block; color: var(--ink); font-size: 13px; }
.empty-state p { max-width: 420px; margin: 8px auto 0; font-size: 12px; line-height: 1.55; }
.empty-state-action { margin-top: 14px; }
.status-pill-spaced { display: inline-block; margin-top: 5px; }

.section-tabs { display: flex; gap: 5px; padding: 4px; margin-bottom: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #f8fbfb; }
.section-tab { flex: 1 0 auto; min-height: 36px; border: 0; border-radius: 9px; padding: 8px 11px; color: var(--ink-muted); font-size: 12px; font-weight: 750; background: transparent; }
.section-tab:hover { color: var(--ink); }
.section-tab.is-active { color: var(--teal-800); background: #fff; box-shadow: 0 2px 7px rgba(27, 65, 67, .07); }

.wizard-shell { width: min(100%, 1040px); margin: 0 auto; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 5px; margin-bottom: 17px; border: 1px solid var(--line); border-radius: 13px; background: #f9fbfb; }
.stepper-item { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; color: var(--ink-soft); font-size: 12px; font-weight: 750; }
.stepper-item b { display: grid; place-items: center; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 7px; color: white; font-size: 10px; background: #adc8c6; }
.stepper-item.is-active { color: var(--teal-800); background: white; box-shadow: 0 2px 7px rgba(27, 65, 67, .07); }
.stepper-item.is-active b { background: var(--teal-700); }
.stepper-item.is-done { color: var(--green-700); }
.stepper-item.is-done b { background: var(--green-700); }
.form-panel { padding: clamp(18px, 2.7vw, 30px); }
.form-panel-head { margin-bottom: 22px; }
.form-panel-head h2 { margin: 0; font-size: 1.18rem; letter-spacing: -.02em; }
.form-panel-head p { margin: 7px 0 0; color: var(--ink-muted); font-size: .84rem; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.field { min-width: 0; display: grid; gap: 6px; }
.field > label, .choice-group > legend { color: #486581; font-size: 11px; font-weight: 800; line-height: 1.3; }
.field small { color: var(--ink-soft); font-size: 10px; line-height: 1.35; }
.field input, .field select, .field textarea, .search-input { width: 100%; min-height: 41px; border: 1px solid #c9dedd; border-radius: 10px; padding: 9px 11px; color: var(--ink); outline: none; background: #fcfefe; font-size: 13px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.password-field { position: relative; min-width: 0; }
.password-field input { padding-right: 47px; }
.password-toggle { position: absolute; right: 7px; bottom: 5px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; padding: 0; color: #668294; background: transparent; cursor: pointer; transition: color .16s ease, background .16s ease; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--teal-800); background: var(--teal-50); }
.password-toggle:focus-visible { outline: 2px solid #39a9bb; outline-offset: 2px; }
.password-toggle svg { width: 18px; height: 18px; }
.login-support { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #e1ecee; color: var(--ink-muted); font-size: 11px; line-height: 1.35; }
.login-support-brand { grid-row: span 2; display: grid; place-items: center; min-width: 38px; min-height: 30px; border: 1px solid #b5d9d6; border-radius: 8px; color: var(--teal-800); background: var(--teal-50); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.login-support-text { align-self: end; }
.login-support a { display: inline-flex; align-items: center; gap: 4px; justify-self: start; color: var(--teal-800); font-weight: 800; text-decoration: none; }
.login-support a:hover, .login-support a:focus-visible { color: #075b91; text-decoration: underline; }
.login-support a:focus-visible { outline: 2px solid #39a9bb; outline-offset: 3px; border-radius: 3px; }
.login-support a svg { width: 13px; height: 13px; }
.field textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: #4cad9f; background: white; box-shadow: 0 0 0 3px rgba(26, 152, 139, .11); }
.field input::placeholder, .field textarea::placeholder { color: #9db2c3; }
.span-12 { grid-column: span 12; }.span-9 { grid-column: span 9; }.span-8 { grid-column: span 8; }.span-7 { grid-column: span 7; }.span-6 { grid-column: span 6; }.span-5 { grid-column: span 5; }.span-4 { grid-column: span 4; }.span-3 { grid-column: span 3; }
.choice-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-group > legend { margin-bottom: 7px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 39px; border: 1px solid #cfe3e1; border-radius: 10px; padding: 7px 10px; color: #486581; background: #fcfefe; font-size: 12px; font-weight: 650; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice:has(input:checked) { color: var(--teal-800); border-color: var(--teal-600); background: var(--teal-50); box-shadow: inset 0 0 0 1px rgba(20,132,124,.1); }
.choice .choice-dot { width: 14px; height: 14px; border: 1.5px solid #9fbeba; border-radius: 50%; }
.choice:has(input:checked) .choice-dot { border: 4px solid var(--teal-700); }
.context-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid #bfe4df; border-radius: 11px; color: #24625f; background: #effbf8; font-size: 12px; line-height: 1.45; }
.context-note svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; }
.warning-note { border-color: #f4d59c; color: #805109; background: #fff9ed; }
.signal-ai-assistant { position: relative; z-index: 1; margin: 18px 0 4px; padding: 16px; border: 1px solid #b9dce8; border-radius: 15px; background: linear-gradient(135deg, #f5fcff, #eefbf8); box-shadow: 0 8px 18px rgba(20, 86, 120, .06); }
.signal-ai-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(210px, .9fr) minmax(210px, .8fr); align-items: center; gap: 16px; }
.signal-ai-intro, .signal-ai-mode-block, .signal-ai-safety { min-width: 0; }
.signal-ai-mode-block, .signal-ai-safety { min-height: 58px; padding-left: 16px; border-left: 1px solid #d0e6eb; }
.signal-ai-block-label { display: block; color: #52788e; font-size: 10px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.signal-ai-safety { display: grid; align-content: center; gap: 8px; }
.signal-ai-safety p { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: #53778a; font-size: 10px; line-height: 1.4; }
.signal-ai-safety p svg { flex: 0 0 auto; width: 15px; height: 15px; color: #0c8c80; }
.signal-ai-connection-note { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid #d7ebef; color: #6a8796; font-size: 10px; line-height: 1.35; }
.signal-ai-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.signal-ai-kicker { color: #0b8791; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.signal-ai-head h3 { margin: 3px 0 4px; color: #0e4c72; font-size: 1rem; }
.signal-ai-head p { max-width: 690px; margin: 0; color: #587b91; font-size: .78rem; line-height: 1.45; }
.signal-ai-badge { flex: 0 0 auto; padding: 6px 9px; border: 1px solid #a9dcd4; border-radius: 999px; color: #05786e; background: #e6faf5; font-size: 10px; font-weight: 900; white-space: nowrap; }
.signal-ai-modes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.signal-ai-modes button { min-height: 34px; border: 1px solid #bfd9e5; border-radius: 9px; padding: 7px 11px; color: #52758d; background: rgba(255,255,255,.74); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; }
.signal-ai-modes button.is-active { border-color: #159b92; color: #056f69; background: #e1faf5; box-shadow: inset 0 0 0 1px rgba(21,155,146,.1); }
.signal-ai-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid #d7ebef; }
.signal-ai-status { display: flex; align-items: center; gap: 8px; color: #51748b; font-size: 11px; }
.signal-ai-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ab4c1; box-shadow: 0 0 0 3px rgba(154,180,193,.18); }
.signal-ai-status.is-listening { color: #9b3341; }
.signal-ai-status.is-listening .signal-ai-dot { background: #e62f4b; box-shadow: 0 0 0 4px rgba(230,47,75,.16); animation: signal-ai-pulse 1.05s ease-in-out infinite; }
.signal-ai-recording { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; padding: 7px 9px; border: 1px solid #f1c7cf; border-radius: 9px; color: #9b3341; background: linear-gradient(90deg, #fff6f7, #fff); font-size: 10px; }
.signal-ai-recording strong { font-size: 10px; letter-spacing: .02em; }
.signal-ai-recording time { min-width: 38px; margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 900; }
.signal-ai-wave { display: flex; align-items: center; gap: 2px; width: 62px; height: 19px; }
.signal-ai-wave i { display: block; width: 3px; height: 7px; border-radius: 99px; background: #e62f4b; transform-origin: center; animation: signal-ai-wave 850ms ease-in-out infinite alternate; }
.signal-ai-wave i:nth-child(2n) { animation-delay: -160ms; }
.signal-ai-wave i:nth-child(3n) { animation-delay: -320ms; }
.signal-ai-wave i:nth-child(4n) { animation-delay: -480ms; }
.signal-ai-wave i:nth-child(5n) { animation-delay: -620ms; }
.signal-ai-transcript-label { display: block; margin-top: 10px; color: #52788e; font-size: 10px; font-weight: 800; }
.signal-ai-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.signal-ai-actions .button { min-height: 34px; }
.signal-ai-transcript { width: 100%; min-height: 88px; margin-top: 10px; border: 1px solid #c6dfe8; border-radius: 10px; padding: 10px; color: #244f68; background: rgba(255,255,255,.92); font: inherit; font-size: 12px; line-height: 1.5; resize: vertical; }
.signal-ai-transcript:focus { border-color: #159b92; outline: 0; box-shadow: 0 0 0 3px rgba(21,155,146,.12); }
.signal-ai-message { margin-top: 9px; }
.signal-ai-result { margin-top: 12px; padding: 11px; border: 1px solid #bfe4d9; border-radius: 11px; background: rgba(255,255,255,.8); }
.signal-ai-result-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #0d6070; font-size: 11px; }
.signal-ai-result-head span { color: #558392; font-size: 10px; }
.signal-ai-proposals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; margin: 9px 0 11px; padding: 0; list-style: none; }
.signal-ai-proposals li { display: flex; align-items: baseline; justify-content: space-between; gap: 9px; border-bottom: 1px dashed #dcece9; padding: 4px 0; font-size: 10px; }
.signal-ai-proposals li span { color: #648092; }
.signal-ai-proposals li strong { color: #1a566c; text-align: right; }
.signal-ai-warnings { display: grid; gap: 4px; margin-top: 10px; }
.signal-ai-warnings p { display: flex; gap: 5px; margin: 0; color: #8a5e32; font-size: 10px; line-height: 1.35; }
.signal-ai-warnings p svg { flex: 0 0 auto; width: 13px; height: 13px; }
.signal-ai-empty { margin: 9px 0; color: #6a8291; font-size: 11px; }
.signal-ai-manual-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding-top: 11px; border-top: 1px solid #d7ebef; color: #53778a; font-size: 11px; line-height: 1.45; }
.signal-ai-manual-note svg { flex: 0 0 auto; width: 16px; height: 16px; color: #0c8c80; }
@keyframes signal-ai-pulse { 50% { opacity: .4; transform: scale(.78); } }
@keyframes signal-ai-wave { from { height: 5px; opacity: .45; } to { height: 19px; opacity: 1; } }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-actions .right-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }

.record-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(120deg, #fff, #eff9f7); box-shadow: var(--shadow-sm); }
.record-hero h2 { margin: 5px 0 0; font-size: 1.3rem; letter-spacing: -.03em; }
.record-hero p { margin: 7px 0 0; color: var(--ink-muted); font-size: 12px; }
.record-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.details-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-card { min-height: 70px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.detail-card small { display: block; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.detail-card strong, .detail-card p { display: block; margin: 7px 0 0; color: var(--ink); font-size: 12px; font-weight: 720; line-height: 1.35; }
.detail-card p { font-weight: 500; }
.review-decision { margin-top: 18px; padding: 18px; border: 1px dashed #8dc9c0; border-radius: 13px; background: #fbfffe; }
.review-decision h3 { margin: 0; font-size: .96rem; }
.review-decision p { margin: 7px 0 12px; color: var(--ink-muted); font-size: 12px; line-height: 1.45; }

.reference-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; }
.reference-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 15px; }
.reference-summary div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9fcfc; }
.reference-summary strong { display: block; font-size: 1.35rem; letter-spacing: -.04em; }
.reference-summary span { display: block; margin-top: 3px; color: var(--ink-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.source-card { padding: 14px; border: 1px solid #bfe4df; border-radius: 13px; background: #f0fbf8; }
.source-card strong { display: block; font-size: 12px; }
.source-card p { margin: 7px 0 0; color: #3f6b6c; font-size: 11px; line-height: 1.5; }
.source-card a { color: var(--teal-800); font-weight: 700; }
.import-form { display: grid; gap: 12px; }
.import-form .button { justify-self: start; }

.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; align-items: end; justify-items: center; padding: 18px; background: rgba(7, 32, 42, .46); backdrop-filter: blur(4px); }
.modal { width: min(100%, 820px); max-height: min(92vh, 800px); overflow: auto; border: 1px solid rgba(255,255,255,.56); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(2, 30, 40, .27); }
.modal-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.modal-head h2 { margin: 0; font-size: 1.05rem; }
.modal-close { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-muted); background: white; }
.modal-body { padding: 20px; }
.form-actions-inline { display: flex; justify-content: flex-end; gap: 9px; }

.toast-stack { position: fixed; z-index: 50; right: 18px; bottom: 18px; display: grid; gap: 8px; width: min(360px, calc(100vw - 36px)); }
.toast { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; box-shadow: var(--shadow-md); font-size: 12px; line-height: 1.45; animation: enter-toast .2s ease-out; }
.toast.success { border-color: #b9e8cc; }.toast.error { border-color: #f5c6c0; }.toast.info { border-color: #bcdde0; }
.toast svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--teal-700); }.toast.error svg { color: var(--red-700); }
@keyframes enter-toast { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.inline-loading { display: grid; place-items: center; min-height: 170px; color: var(--ink-muted); font-size: 12px; }
.inline-loading::before { width: 19px; height: 19px; margin-bottom: 8px; border: 2px solid #c7e2df; border-top-color: var(--teal-700); border-radius: 50%; content: ''; animation: spin .68s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mobile-bar { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 1260px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1050px) {
  .login-view { grid-template-columns: minmax(0, 460px); justify-content: center; padding: clamp(18px, 4vw, 32px); }
  .login-intro { display: none; }
  .login-card { width: 100%; }
  .app-shell { grid-template-columns: 82px minmax(0, 1fr); }
  .side-rail { padding-inline: 11px; }
  .side-rail .wordmark { justify-content: center; padding: 4px 0 22px; }
  .wordmark-text, .nav-item span, .nav-group-label, .current-user > div, .logout-button span { display: none; }
  .nav-item { justify-content: center; padding: 12px; }
  .side-footer { justify-items: center; }
  .logout-button { justify-content: center; }
  .dashboard-grid, .reference-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .login-view { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .login-intro { padding: 10px 0; }.login-kicker { margin-top: 28px; }.login-reference { margin-top: 24px; }
  .login-intro h1 { font-size: clamp(2.5rem, 13vw, 4.1rem); }
  .login-card { width: 100%; }
  .app-shell { display: block; padding-bottom: 68px; }
  .side-rail { display: none; }
  .main-content { padding: 18px 15px 22px; }
  .mobile-bar { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 2px; padding: 7px 7px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid #b7d4d2; background: rgba(255,255,255,.96); box-shadow: 0 -8px 22px rgba(28, 69, 75, .09); backdrop-filter: blur(12px); }
  .mobile-nav-item { display: grid; place-items: center; gap: 3px; min-height: 47px; border: 0; border-radius: 9px; color: var(--ink-soft); background: transparent; font-size: 9px; font-weight: 780; }
  .mobile-nav-item svg { width: 18px; height: 18px; }.mobile-nav-item.is-active { color: var(--teal-700); background: var(--teal-50); }.mobile-logout-item { color: var(--red-700); }.mobile-logout-item:hover, .mobile-logout-item:focus-visible { color: var(--red-700); background: var(--red-100); }
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; }.topbar-actions { justify-content: flex-start; }
  .filter-bar .field { flex-basis: calc(50% - 5px); }.filter-bar .field.is-date { max-width: none; }.filter-bar .button { margin-left: 0; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }.metric-card { min-height: 100px; padding: 13px; }.metric-card strong { margin-top: 14px; }
  .stepper-item { padding: 8px; }.stepper-item span { display: none; }
  .form-grid { gap: 12px; }.span-9, .span-8, .span-7, .span-6, .span-5, .span-4, .span-3 { grid-column: span 12; }
  .reference-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .main-content { padding-inline: 11px; }.page-heading h1 { font-size: 1.42rem; }.page-heading p { font-size: .8rem; }
  .topbar-actions { width: 100%; }.topbar-actions .button { flex: 1 1 auto; }
  .filter-bar { gap: 7px; padding: 9px; }.filter-bar .field { min-width: 0; flex: 1 1 calc(50% - 4px); flex-basis: calc(50% - 4px); }.filter-bar .button { width: 100%; flex: 1 1 100%; margin-left: 0; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.metric-card { min-height: 94px; }.metric-card .metric-label { font-size: 9px; }.metric-card strong { font-size: 1.55rem; }
  .panel-head, .panel-body { padding-inline: 14px; }.panel-head { padding-top: 15px; padding-bottom: 11px; }
  .form-panel { padding: 16px; }.form-actions { align-items: stretch; flex-direction: column-reverse; }.form-actions .right-actions { justify-content: stretch; }.form-actions .button, .form-actions .right-actions .button { flex: 1; }
  .details-grid { grid-template-columns: 1fr; }.record-hero { align-items: stretch; flex-direction: column; }.record-hero .button { width: 100%; }
  .modal-backdrop { padding: 0; align-items: end; }.modal { max-height: 93vh; border-radius: 20px 20px 0 0; }.modal-body { padding: 15px; }
}

/* Tableau de bord institutionnel de veille sanitaire. Ces règles restent
   strictement limitées à la route du tableau pour préserver les formulaires. */
#app.dashboard-model { min-width: 0; background: #edf4f8; }
#app.dashboard-model .app-shell { display: block; min-height: 100vh; }
#app.dashboard-model .institution-topbar { display: none; }
#app.dashboard-model .side-rail,
#app.dashboard-model .mobile-bar { display: none; }
#app.dashboard-model .main-content { min-width: 0; padding: 0; }
#app.dashboard-model .page { width: 100%; max-width: none; margin: 0; }

.health-dashboard {
  min-height: 100vh;
  padding: 0 10px 10px;
  color: #102f50;
  background:
    radial-gradient(circle at 14% -15%, rgba(46, 151, 220, .15), transparent 24rem),
    linear-gradient(180deg, #e6f1f7 0, #f6fafc 180px, #edf4f8 100%);
}
.health-dashboard.loading-dashboard { display: grid; min-height: 100vh; place-items: center; }
.health-dashboard .inline-loading { min-height: 220px; }

.health-institution-header {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(490px, 2.55fr) minmax(245px, 1.08fr);
  overflow: hidden;
  border: 1px solid #b8d1e2;
  border-radius: 4px 4px 0 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 74, 112, .1);
}
.health-institution-left,
.health-institution-right { display: flex; align-items: center; gap: 11px; padding: 9px 14px; }
.health-institution-left { color: #10223b; }
.health-institution-left > div,
.health-institution-right { min-width: 0; }
.health-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 47px;
  height: 47px;
  border: 2px solid #d6aa31;
  border-radius: 50%;
  color: #28773c;
  background: radial-gradient(circle at 30% 25%, #fff 0 25%, #e2f1d6 28% 61%, #fff 64%);
}
.health-emblem svg { width: 27px; height: 27px; }
.health-institution-left strong,
.health-institution-left b,
.health-institution-right strong { display: block; font-size: 10px; line-height: 1.25; }
.health-institution-left strong { font-weight: 850; }
.health-institution-left b { margin-top: 6px; font-size: 9px; font-weight: 830; }
.health-institution-left small,
.health-institution-right small { display: block; margin-top: 2px; color: #34526e; font-size: 8px; line-height: 1.25; }
.drsp-mark { display: grid; place-items: center; flex: 0 0 auto; min-width: 68px; height: 38px; padding: 0 11px; border: 1px solid #1169a8; border-radius: 10px; color: white; background: linear-gradient(135deg, #0a4e87, #078b86); box-shadow: 0 5px 12px rgba(7, 75, 117, .18); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.health-mobile-logout { display: none; align-items: center; justify-content: center; gap: 5px; min-height: 31px; padding: 6px 9px; border: 1px solid #efb8b8; border-radius: 8px; color: #b42318; background: #fff8f8; font-size: 10px; font-weight: 800; white-space: nowrap; }
.health-mobile-logout svg { width: 15px; height: 15px; }
.health-institution-main { min-width: 0; padding: 10px 20px 9px; color: white; text-align: center; background: linear-gradient(115deg, #073d78, #075491 60%, #093b72); }
.health-institution-main h1 { margin: 0; font-size: clamp(1rem, 1.55vw, 1.57rem); font-weight: 850; letter-spacing: .015em; line-height: 1.18; }
.health-institution-main h2 { margin: 5px 0 0; font-size: clamp(.84rem, 1.15vw, 1.16rem); font-weight: 760; letter-spacing: .035em; line-height: 1.2; }
.health-institution-main p { margin: 5px 0 0; color: #dcecfb; font-size: 10px; line-height: 1.3; }
.health-institution-right { display: grid; align-content: center; gap: 3px; color: #10223b; text-align: center; background: linear-gradient(135deg, #fff 0, #e5f3ff 100%); }
.health-institution-right > div { display: inline-flex; justify-content: center; align-items: center; gap: 5px; margin-top: 4px; padding: 6px 7px; border: 1px solid #b6d6ef; border-radius: 5px; color: #0c477d; background: rgba(203, 231, 251, .65); font-size: 9px; }
.health-institution-right svg { width: 15px; height: 15px; }
.health-institution-right b { font-size: 9px; font-weight: 780; }

.health-dashboard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border: 1px solid #cfe0ea; border-top: 0; color: #1b4b71; background: rgba(255, 255, 255, .88); }
.health-dashboard-toolbar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.health-dashboard-toolbar strong { font-size: 12px; }
.health-dashboard-toolbar small { color: #66829a; font-size: 10px; }
.health-dashboard-toolbar .button { min-height: 31px; border-radius: 6px; padding: 6px 9px; font-size: 11px; }

.health-tabs { display: grid; grid-template-columns: repeat(7, minmax(120px, 1fr)); gap: 3px; margin: 8px 0; padding: 4px; overflow-x: auto; border: 1px solid #cfdfeb; border-radius: 6px; background: rgba(255, 255, 255, .72); }
.health-tab { min-height: 35px; border: 0; border-radius: 5px; padding: 7px 9px; color: #183757; font-size: 11px; font-weight: 760; white-space: nowrap; background: #edf3f8; }
.health-tab:hover { color: #07529b; background: #e0effa; }
.health-tab.is-active { color: white; background: linear-gradient(135deg, #096bc1, #158ce4); box-shadow: 0 4px 10px rgba(10, 102, 186, .22); }

.health-dashboard-workspace { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 9px; align-items: start; }
.health-dashboard-workspace > aside { display: grid; gap: 9px; position: sticky; top: 8px; }
.health-dashboard-content { min-width: 0; display: grid; gap: 9px; }
.health-filter-panel { display: grid; gap: 9px; padding: 10px; border: 1px solid #c9ddea; border-radius: 6px; background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(241, 248, 252, .98)); box-shadow: 0 7px 18px rgba(31, 75, 111, .08); }
.health-filter-heading { display: flex; align-items: center; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid #d8e6ef; }
.health-filter-heading > div { min-width: 0; }
.health-filter-heading strong { display: block; font-size: 12px; }
.health-filter-heading small { display: block; margin-top: 2px; color: #648198; font-size: 9px; line-height: 1.35; }
.health-filter-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #0562b2; background: #dff0ff; }
.health-filter-icon svg { width: 16px; height: 16px; }
.health-filter-panel .field { gap: 4px; }
.health-filter-panel .field > label { color: #294b68; font-size: 10px; }
.health-filter-panel .field input,
.health-filter-panel .field select { min-height: 33px; border-radius: 5px; padding: 6px 8px; font-size: 11px; background: #fff; }
.health-filter-actions { display: flex; gap: 7px; padding-top: 3px; }
.health-filter-actions .button { flex: 1; min-height: 32px; padding: 7px; border-radius: 5px; font-size: 10px; }
.collection-summary-card { display: grid; gap: 4px; padding: 13px 12px; border: 1px solid #abdfd7; border-radius: 6px; color: #075e62; background: linear-gradient(135deg, #e6fbf8, #f6fffd); box-shadow: 0 6px 17px rgba(24, 121, 116, .08); }
.collection-summary-card span { color: #167c77; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.collection-summary-card strong { color: #03766e; font-size: 1.7rem; line-height: 1; letter-spacing: -.05em; }
.collection-summary-card small { color: #4c7777; font-size: 10px; line-height: 1.4; }

.health-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.health-kpi { position: relative; min-height: 98px; display: flex; align-items: flex-start; gap: 9px; overflow: hidden; padding: 13px 11px; border-radius: 6px; color: #fff; box-shadow: 0 8px 16px rgba(18, 73, 114, .16); }
.health-kpi::after { position: absolute; inset: auto -13px -24px auto; width: 84px; height: 84px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; content: ''; }
.health-kpi-icon { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 8px; color: currentColor; background: rgba(255,255,255,.18); }
.health-kpi-icon svg { width: 23px; height: 23px; stroke-width: 2.4; }
.health-kpi > div { position: relative; z-index: 1; min-width: 0; display: grid; gap: 2px; }
.health-kpi strong { font-size: clamp(1.35rem, 2vw, 2rem); line-height: .95; letter-spacing: -.05em; }
.health-kpi b { font-size: 11px; line-height: 1.15; }
.health-kpi small { color: rgba(255,255,255,.86); font-size: 9px; line-height: 1.25; }
.health-kpi-blue { background: linear-gradient(135deg, #126fc9, #168ee9); }
.health-kpi-green { background: linear-gradient(135deg, #258b36, #3db04e); }
.health-kpi-orange { background: linear-gradient(135deg, #ee8418, #ffa830); }
.health-kpi-red { background: linear-gradient(135deg, #da3545, #f15a5e); }
.health-kpi-purple { background: linear-gradient(135deg, #67428f, #8f61b9); }
.health-kpi-teal { background: linear-gradient(135deg, #008a8d, #17aea7); }

.health-visual-grid,
.health-decision-grid { display: grid; gap: 9px; }
.health-visual-grid-top { grid-template-columns: minmax(330px, 1.28fr) minmax(245px, .96fr) minmax(235px, .92fr); }
.health-decision-grid { grid-template-columns: minmax(370px, 1.26fr) minmax(260px, .95fr) minmax(295px, 1.05fr); }
.health-bottom-grid { grid-template-columns: minmax(390px, 1.22fr) minmax(225px, .73fr) minmax(330px, 1.05fr); }
.health-overview-rows { display: grid; gap: 9px; min-width: 0; }
.health-visual-grid-quality { grid-template-columns: minmax(320px, 1fr) minmax(280px, .7fr); }
.health-overview-last { grid-template-columns: minmax(270px, .85fr) minmax(390px, 1.25fr) minmax(250px, .8fr); }
.health-transfer-focus { grid-template-columns: minmax(350px, 1.05fr) minmax(350px, 1fr) minmax(290px, .85fr); }
.health-geography-focus { grid-template-columns: minmax(300px, .8fr) minmax(450px, 1.2fr); }
.health-collection-focus,
.health-priority-focus { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 9px; }

.health-panel { min-width: 0; overflow: hidden; border: 1px solid #d0dfeb; border-radius: 6px; background: rgba(255, 255, 255, .97); box-shadow: 0 6px 16px rgba(30, 76, 113, .07); }
.health-panel-head { padding: 11px 13px 7px; border-bottom: 1px solid #e1ebf1; }
.health-panel-head h2 { margin: 0; color: #0d4078; font-size: 13px; line-height: 1.25; letter-spacing: -.017em; }
.health-panel-head p { margin: 4px 0 0; color: #70869a; font-size: 9px; line-height: 1.35; }
.health-panel-body { min-height: 166px; padding: 10px 13px 12px; }
.panel-timeline .health-panel-body { min-height: 244px; }
.panel-sources .health-panel-body,
.panel-alert-types .health-panel-body { min-height: 244px; }
.panel-collection .health-panel-body,
.panel-geography .health-panel-body,
.panel-transfers .health-panel-body { min-height: 267px; }
.panel-vitals .health-panel-body,
.panel-care .health-panel-body,
.panel-priority .health-panel-body { min-height: 193px; }
.panel-quality .health-panel-body { min-height: 148px; }
.panel-age-pyramid .health-panel-body { min-height: 244px; }

.dashboard-empty { min-height: 125px; display: grid; place-content: center; justify-items: center; gap: 5px; padding: 13px; color: #73899a; text-align: center; }
.dashboard-empty > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #4f9bc8; background: #e8f4fb; }
.dashboard-empty svg { width: 17px; height: 17px; }
.dashboard-empty strong { color: #315b7a; font-size: 11px; }
.dashboard-empty p { max-width: 270px; margin: 0; font-size: 9px; line-height: 1.45; }

.timeline-wrap { min-height: 206px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 2px; color: #28435c; font-size: 9px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend span::before { width: 9px; height: 9px; border-radius: 50%; content: ''; }
.chart-legend .is-received::before { background: #1878d4; }
.chart-legend .is-characterized::before { background: #3f9b45; }
.timeline-svg { display: block; width: 100%; height: 194px; overflow: visible; }
.timeline-grid line { stroke: #d9e5ed; stroke-width: 1; }
.timeline-grid text,
.timeline-label { fill: #5b7287; font-size: 10px; font-family: Inter, sans-serif; }
.timeline-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.timeline-line.received { stroke: #1878d4; }.timeline-line.characterized { stroke: #3f9b45; }
.timeline-point { stroke: #fff; stroke-width: 2; }.timeline-point.received { fill: #1878d4; }.timeline-point.characterized { fill: #3f9b45; }

.age-pyramid-summary { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.age-pyramid-summary > span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 999px; color: #35546c; background: #f2f7fa; font-size: 8px; font-weight: 760; }
.age-pyramid-summary i { width: 7px; height: 7px; border-radius: 50%; background: #aebdca; }
.age-pyramid-summary .female i { background: #d85878; }.age-pyramid-summary .male i { background: #2b83d1; }.age-pyramid-summary b { color: #173f64; }
.age-pyramid-legend { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: #54718a; font-size: 9px; font-weight: 760; }.age-pyramid-legend small { color: #7d92a2; font-size: 8px; font-weight: 650; }
.age-pyramid { display: grid; gap: 4px; }
.age-pyramid-row { display: grid; grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr); gap: 6px; align-items: center; min-height: 15px; }
.age-pyramid-row > span { color: #4c6980; font-size: 8px; font-weight: 780; text-align: center; white-space: nowrap; }
.age-pyramid-side { display: grid; align-items: center; gap: 4px; min-width: 0; }
.age-pyramid-side.female { grid-template-columns: minmax(0, 1fr) 17px; }.age-pyramid-side.male { grid-template-columns: 17px minmax(0, 1fr); }
.age-pyramid-side i { display: block; width: 100%; height: 12px; min-width: 0; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, #f2a3b7, #d85878); transform-origin: left center; }
.age-pyramid-side.female i { transform-origin: right center; }
.age-pyramid-side.male i { border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2b83d1, #8bc0ed); }
.age-pyramid-side b { min-width: 17px; color: #315b78; font-size: 8px; text-align: center; }
.age-pyramid-note { margin: 8px 0 0; color: #758b9b; font-size: 8px; line-height: 1.35; }

.donut-layout { min-height: 191px; display: grid; grid-template-columns: minmax(118px, .82fr) minmax(135px, 1.18fr); align-items: center; gap: 10px; }
.donut { position: relative; width: min(132px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; }
.donut::before { position: absolute; inset: 27%; border-radius: 50%; background: #fff; content: ''; }
.donut span { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; }
.donut b { color: #153a60; font-size: 1.35rem; line-height: 1; }.donut small { margin-top: 3px; color: #6f879d; font-size: 9px; }
.donut-legend { display: grid; gap: 7px; }
.donut-legend > div { display: grid; grid-template-columns: 9px minmax(0, 1fr) auto; gap: 6px; align-items: center; color: #3f566d; font-size: 10px; }
.donut-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--legend-color); }.donut-legend span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.donut-legend strong { color: #1c466c; font-size: 10px; }

.health-bars { display: grid; gap: 12px; padding-top: 4px; }
.health-bar { display: grid; grid-template-columns: minmax(85px, 1fr) minmax(90px, 1.9fr) 23px; gap: 7px; align-items: center; }
.health-bar > span { overflow: hidden; color: #344e65; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.health-bar-track { height: 18px; overflow: hidden; border-radius: 1px; background: #eaf0f5; }
.health-bar-track i { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg, #1b70c9, #3d99ec); }
.health-bars-multicolor .health-bar:nth-child(2) i { background: linear-gradient(90deg, #53a44a, #6bc458); }.health-bars-multicolor .health-bar:nth-child(3) i { background: linear-gradient(90deg, #f3921f, #ffc048); }.health-bars-multicolor .health-bar:nth-child(4) i { background: linear-gradient(90deg, #76529e, #9e74c1); }
.health-bars-care .health-bar-track i { background: linear-gradient(90deg, #23926e, #52bf8a); }
.health-bar strong { color: #153e66; font-size: 10px; text-align: right; }

.health-table-wrap { overflow-x: auto; border: 1px solid #d9e6ee; border-radius: 4px; }
.health-table { width: 100%; min-width: 560px; border-collapse: collapse; color: #203c56; font-size: 10px; }
.health-table th { padding: 7px 8px; color: #294965; font-size: 9px; font-weight: 830; line-height: 1.15; text-align: center; background: linear-gradient(180deg, #e5f3fc, #d4e8f5); }
.health-table th:first-child { text-align: left; }.health-table td { padding: 6px 8px; border-top: 1px solid #e4edf3; text-align: center; }.health-table td:first-child { text-align: left; }.health-table tr:nth-child(even) td { background: #f8fbfd; }
.health-table td strong { display: block; color: #1a3d5d; font-size: 10px; }.health-table td small { display: block; margin-top: 2px; color: #71879a; font-size: 8px; }
.collection-rate { display: inline-block; min-width: 50px; padding: 3px 5px; border-radius: 3px; font-weight: 800; }.collection-rate.good { color: #137934; background: #dff5e2; }.collection-rate.watch { color: #876609; background: #fff3bd; }.collection-rate.late { color: #b51e25; background: #ffe0e1; }.collection-rate.review { color: #6e4c99; background: #eee3fb; }.collection-rate.neutral { color: #698093; background: #edf2f6; }
.collection-status { display: inline-flex; align-items: center; gap: 4px; font-weight: 780; }.collection-status i { width: 10px; height: 10px; border-radius: 50%; background: #9aaab6; }.collection-status.good { color: #1b8038; }.collection-status.good i { background: #39a951; }.collection-status.watch { color: #8b6808; }.collection-status.watch i { background: #f3c416; }.collection-status.late { color: #ba2226; }.collection-status.late i { background: #df3238; }.collection-status.review { color: #71509c; }.collection-status.review i { background: #8b63ba; }.collection-status.neutral { color: #718496; }

.district-coverage { display: grid; gap: 8px; }.district-coverage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }.district-coverage-head span { color: #214a6e; font-size: 11px; font-weight: 800; }.district-coverage-head small { color: #73899d; font-size: 8px; text-align: right; }
.district-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 5px; padding: 13px 4px 8px; min-height: 160px; }
.district-cell { min-height: 44px; display: grid; place-content: center; gap: 2px; padding: 5px; border: 1px solid #fad0d0; border-radius: 10px 13px 8px 12px; color: #8d2428; text-align: center; background: #fff1f1; transform: translateY(calc(var(--offset) * 5px)); }.district-cell span { overflow: hidden; max-width: 100%; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.district-cell b { font-size: 12px; }.district-cell.intensity-2 { background: #ffd6d6; }.district-cell.intensity-3 { color: #fff; border-color: #ec7272; background: #eb5558; }.district-cell.intensity-4 { color: #fff; border-color: #c72830; background: #c92832; }
.geography-note { margin: 2px 0 0; color: #70869a; font-size: 8px; line-height: 1.35; }

.transfer-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }.transfer-number { min-height: 70px; display: grid; align-content: center; gap: 3px; padding: 8px; border-radius: 5px; text-align: center; }.transfer-number strong { font-size: 1.38rem; line-height: 1; }.transfer-number span { font-size: 8px; line-height: 1.25; }.transfer-number.blue { color: #126bb8; background: #e5f2fd; }.transfer-number.green { color: #187346; background: #e4f6eb; }.transfer-number.red { color: #b62b31; background: #ffe8e9; }.mini-section-title { margin: 6px 0 7px; color: #134575; font-size: 11px; }

.vitals-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 370px; border: 1px solid #d8e6ee; border-radius: 4px; overflow: hidden; }.vital-card { min-height: 126px; display: grid; align-content: center; justify-items: center; gap: 6px; padding: 8px 4px; border-right: 1px solid #dfeaf1; text-align: center; }.vital-card:last-child { border-right: 0; }.vital-card span { color: #2d5474; font-size: 9px; font-weight: 780; line-height: 1.22; }.vital-card strong { color: #0b5498; font-size: 1.35rem; line-height: 1; }.vital-card small { color: #6e8497; font-size: 8px; }.vital-2 strong { color: #d33752; }.vital-3 strong { color: #7a43c1; }.vital-4 strong { color: #e55534; }.vital-5 strong { color: #e28821; }.vital-6 strong { color: #0b78c8; }

.quality-list { display: grid; gap: 11px; }.quality-list > div { display: grid; grid-template-columns: minmax(85px, 1fr) minmax(110px, 2.5fr) 42px; gap: 8px; align-items: center; }.quality-list span { color: #35546c; font-size: 10px; }.quality-list > div > div { height: 12px; overflow: hidden; border-radius: 3px; background: #e8eff4; }.quality-list i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, #1f8ac0, #4abf96); }.quality-list strong { color: #214a6e; font-size: 10px; text-align: right; }
.situation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.situation-list > div { padding: 11px; border: 1px solid #dbe8f0; border-radius: 5px; background: linear-gradient(135deg, #fbfdff, #eef7fb); }.situation-list span { display: block; color: #607b92; font-size: 9px; }.situation-list strong { display: block; margin-top: 5px; color: #0d477f; font-size: 1.35rem; line-height: 1; }
.health-dashboard-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 9px; padding: 9px 13px; border: 1px solid #0c4d89; border-radius: 0 0 4px 4px; color: #ecf7ff; background: linear-gradient(90deg, #063d78, #0d609d); font-size: 10px; }.health-dashboard-footer span:last-child { text-align: right; }
.health-dashboard-error { display: grid; justify-items: center; gap: 10px; min-height: 70vh; align-content: center; }

@media (max-width: 1400px) {
  .health-institution-header { grid-template-columns: 235px minmax(410px, 2.35fr) 210px; }
  .health-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .health-visual-grid-top { grid-template-columns: minmax(330px, 1.35fr) minmax(270px, 1fr); }.health-visual-grid-top .panel-alert-types { grid-column: span 2; }
  .health-decision-grid { grid-template-columns: minmax(350px, 1.2fr) minmax(270px, .9fr); }.health-decision-grid .panel-transfers { grid-column: span 2; }
  .health-bottom-grid { grid-template-columns: minmax(360px, 1.2fr) minmax(270px, .8fr); }.health-bottom-grid .panel-priority { grid-column: span 2; }
  .health-transfer-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }.health-transfer-focus .panel-care { grid-column: span 2; }
}

@media (max-width: 1100px) {
  .health-dashboard-workspace { grid-template-columns: 1fr; }.health-dashboard-workspace > aside { position: static; grid-template-columns: minmax(0, 1fr) 210px; }.health-filter-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }.health-filter-heading { grid-column: span 4; }.health-filter-actions { grid-column: span 4; justify-content: flex-end; }.health-filter-actions .button { flex: 0 1 auto; min-width: 110px; }
  .collection-summary-card { align-content: center; }.health-geography-focus, .health-collection-focus, .health-priority-focus { grid-template-columns: 1fr; }
  .health-overview-last { grid-template-columns: repeat(2, minmax(0, 1fr)); }.health-overview-last .panel-age-pyramid { grid-column: span 2; }
}

@media (max-width: 1250px) {
  #app.dashboard-model .health-overview-row { grid-template-columns: 1fr; }
  #app.dashboard-model .health-overview-row > .panel-transfers,
  #app.dashboard-model .health-overview-row > .panel-priority,
  #app.dashboard-model .health-overview-row > .panel-age-pyramid { grid-column: auto; }
}

@media (max-width: 840px) {
  .health-dashboard { padding: 0 7px 7px; }.health-institution-header { grid-template-columns: 1fr; }.health-institution-main { order: -1; }.health-institution-left { justify-content: space-between; gap: 8px; }.health-mobile-logout { display: inline-flex; }.health-institution-right { display: none; }.health-institution-main h1 { font-size: 1.06rem; }.health-institution-main h2 { font-size: .88rem; }
  .health-tabs { display: flex; grid-template-columns: none; }.health-tab { flex: 0 0 auto; }.health-dashboard-toolbar { align-items: flex-start; flex-direction: column; }.health-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .health-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }.health-filter-heading, .health-filter-actions { grid-column: span 2; }.health-dashboard-workspace > aside { grid-template-columns: 1fr; }
  .health-visual-grid-top, .health-decision-grid, .health-bottom-grid, .health-visual-grid-quality, .health-overview-last, .health-transfer-focus { grid-template-columns: 1fr; }.health-visual-grid-top .panel-alert-types, .health-decision-grid .panel-transfers, .health-bottom-grid .panel-priority, .health-overview-last .panel-age-pyramid, .health-transfer-focus .panel-care { grid-column: auto; }
  .health-panel-body { min-height: auto; }.panel-timeline .health-panel-body, .panel-sources .health-panel-body, .panel-alert-types .health-panel-body, .panel-collection .health-panel-body, .panel-geography .health-panel-body, .panel-transfers .health-panel-body, .panel-vitals .health-panel-body, .panel-care .health-panel-body, .panel-priority .health-panel-body, .panel-quality .health-panel-body, .panel-age-pyramid .health-panel-body { min-height: 0; }
}

@media (max-width: 560px) {
  .login-view { padding: 14px 16px; }
  .login-card { padding: 17px 16px; border-radius: 20px; }
  .login-product { gap: 4px; margin-bottom: 6px; }
  .login-product-mark { width: 36px; height: 36px; border-radius: 10px; }
  .login-product-mark svg { width: 21px; height: 21px; }
  .login-product strong { font-size: clamp(2rem, 11vw, 2.45rem); }
  .login-product > span:last-child { max-width: 280px; font-size: 8.5px; }
  .login-illustration-frame { height: 72px; margin-top: 8px; border-radius: 10px; }
  .login-card h2 { margin-top: 10px; font-size: 1.3rem; }
  .login-card > p { margin-bottom: 17px; font-size: .9rem; }
  .login-card .form-grid { gap: 10px; }
  .login-card .button.full { min-height: 44px; }
  .login-support { margin-top: 12px; padding-top: 10px; }
  .health-institution-main { padding: 10px 9px; }.health-institution-main h1 { font-size: .9rem; }.health-institution-main h2 { font-size: .72rem; }.health-institution-main p { font-size: 8px; }.health-institution-left { padding: 7px 8px; }.drsp-mark { min-width: 60px; height: 30px; padding: 0 9px; border-radius: 8px; font-size: 12px; }.health-institution-left strong { font-size: 9px; }
  .health-dashboard-toolbar > div:last-child { width: 100%; }.health-dashboard-toolbar .button { flex: 1 1 auto; }.health-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }.health-kpi { min-height: 91px; gap: 7px; padding: 10px 8px; }.health-kpi-icon { width: 31px; height: 31px; }.health-kpi-icon svg { width: 19px; height: 19px; }.health-kpi strong { font-size: 1.4rem; }.health-kpi b { font-size: 9px; }.health-kpi small { font-size: 8px; }
  .health-filter-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 8px; }.health-filter-heading, .health-filter-actions { grid-column: 1 / -1; }.health-filter-heading { gap: 6px; padding-bottom: 5px; }.health-filter-heading strong { font-size: 11px; }.health-filter-heading small { font-size: 8px; }.health-filter-icon { width: 24px; height: 24px; border-radius: 7px; }.health-filter-icon svg { width: 14px; height: 14px; }.health-filter-panel .field { min-width: 0; gap: 3px; }.health-filter-panel .field > label { font-size: 9px; line-height: 1.2; }.health-filter-panel .field input, .health-filter-panel .field select { min-height: 30px; padding: 5px 7px; font-size: 10px; }.health-filter-actions { gap: 6px; padding-top: 1px; }.health-filter-actions .button { flex: 1; min-height: 30px; padding: 6px; font-size: 9px; }.donut-layout { grid-template-columns: 105px minmax(0, 1fr); }.donut { width: 105px; }.transfer-summary { gap: 4px; }.transfer-number { min-height: 64px; padding: 6px 4px; }.transfer-number strong { font-size: 1.14rem; }.transfer-number span { font-size: 7px; }.vitals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }.vital-card:nth-child(3n) { border-right: 0; }.vital-card:nth-child(n + 4) { border-top: 1px solid #dfeaf1; }.health-dashboard-footer { align-items: center; flex-direction: column; font-size: 8px; text-align: center; }.health-dashboard-footer span:last-child { text-align: center; }
}

@media print {
  #app.dashboard-model .health-dashboard { padding: 0; background: white; }.health-dashboard-toolbar, .health-tabs, .health-dashboard-workspace > aside, .health-dashboard-footer { display: none; }.health-dashboard-workspace { display: block; }.health-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }.health-kpi { min-height: 72px; box-shadow: none; }.health-visual-grid-top, .health-decision-grid, .health-bottom-grid { break-inside: avoid; }.health-panel { box-shadow: none; }.health-institution-header { box-shadow: none; }
}

/* Identité institutionnelle partagée par les formulaires, le registre,
   le référentiel et l'administration. */
#app:not(.dashboard-model) { min-width: 0; background: #edf6fa; }
#app:not(.dashboard-model) .app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-rows: 70px minmax(0, 1fr);
  background:
    radial-gradient(circle at 77% -5%, rgba(49, 164, 232, .16), transparent 27rem),
    linear-gradient(135deg, #eff8fc 0%, #f8fcfe 42%, #ebf6fb 100%);
}
.institution-topbar {
  position: sticky;
  z-index: 35;
  top: 0;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 8px clamp(18px, 2.3vw, 36px);
  border-bottom: 1px solid #b9d9ed;
  color: #0e315b;
  background: linear-gradient(105deg, #ffffff 0%, #f7fcff 52%, #e5f4ff 100%);
  box-shadow: 0 3px 17px rgba(18, 69, 106, .1);
}
.institution-brand,
.institution-account { display: flex; align-items: center; min-width: 0; }
.institution-brand { gap: 10px; }.institution-brand > div { min-width: 0; }.institution-brand strong { display: block; color: #0e315b; font-size: 11px; font-weight: 850; letter-spacing: .015em; }.institution-brand small { display: block; margin-top: 3px; color: #486b8d; font-size: 10px; font-weight: 650; }
.cameroon-mark { position: relative; display: flex; overflow: hidden; flex: 0 0 auto; width: 42px; height: 42px; border: 2px solid #fff; border-radius: 13px; box-shadow: 0 4px 10px rgba(3, 45, 76, .14); transform: rotate(8deg); }.cameroon-mark i { flex: 1; height: 100%; }.cameroon-mark i:nth-child(1) { background: #177247; }.cameroon-mark i:nth-child(2) { background: #d12634; }.cameroon-mark i:nth-child(3) { background: #f3c644; }.cameroon-mark::after { position: absolute; inset: 0; display: grid; place-items: center; color: white; font-size: 13px; text-shadow: 0 1px 2px rgba(0,0,0,.25); content: '★'; transform: rotate(-8deg); }
.institution-divider { width: 1px; height: 36px; margin: 0 6px; background: #bed6e8; }.minsante-logo { width: 38px; height: 38px; flex: 0 0 auto; object-fit: contain; border-radius: 9px; filter: drop-shadow(0 2px 3px rgba(9, 71, 100, .12)); }
.institution-account { gap: 9px; }.institution-account > div { min-width: 0; }.institution-account strong { display: block; overflow: hidden; max-width: 225px; color: #153a62; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }.institution-account small { display: block; margin-top: 3px; color: #5d7d9b; font-size: 10px; }.institution-account .user-avatar { width: 38px; height: 38px; flex-basis: 38px; border-radius: 50%; color: white; background: linear-gradient(135deg, #0b4a81, #062f5b); box-shadow: 0 4px 10px rgba(8, 66, 114, .2); }.account-presence { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: #0b71b8; background: #e0f2ff; }.account-presence svg { width: 17px; height: 17px; }

#app:not(.dashboard-model) .side-rail { position: sticky; top: 70px; grid-column: 1; grid-row: 2; height: calc(100vh - 70px); padding: 22px 17px 16px; overflow: hidden auto; color: #e8faff; background: radial-gradient(circle at 84% 0%, rgba(25, 177, 194, .28), transparent 11rem), linear-gradient(165deg, #073c60 0%, #052d51 54%, #041f3b 100%); box-shadow: 10px 0 25px rgba(5, 43, 77, .16); }
#app:not(.dashboard-model) .side-rail::after { position: absolute; right: -56px; bottom: 62px; width: 190px; height: 190px; border: 1px solid rgba(92, 225, 232, .16); border-radius: 50%; content: ''; box-shadow: 0 0 0 25px rgba(92, 225, 232, .04), 0 0 0 52px rgba(92, 225, 232, .025); pointer-events: none; }
#app:not(.dashboard-model) .side-rail .wordmark { position: relative; z-index: 1; gap: 11px; padding: 4px 10px 29px; }.side-rail .wordmark .mark { width: 48px; height: 48px; border-color: rgba(92, 236, 229, .75); border-radius: 14px; color: #d8fffc; background: linear-gradient(135deg, rgba(21, 180, 182, .58), rgba(22, 93, 171, .5)); box-shadow: inset 0 0 0 1px rgba(234, 255, 255, .14), 0 7px 16px rgba(0, 13, 38, .2); }.side-rail .wordmark .mark svg { width: 29px; height: 29px; }.side-rail .wordmark-text { color: #f5ffff; font-size: 1rem; letter-spacing: .06em; }.side-rail .wordmark-text small { color: #73e6db; font-size: 10px; letter-spacing: .06em; }.side-rail .wordmark-text em { display: block; margin-top: 4px; color: #b3d6e5; font-size: 9px; font-style: normal; font-weight: 650; letter-spacing: .025em; text-transform: none; }
#app:not(.dashboard-model) .navigation { position: relative; z-index: 1; gap: 7px; }.side-rail .nav-item { min-height: 47px; gap: 13px; border: 1px solid transparent; border-radius: 12px; padding: 11px 12px; color: #c8e5f2; }.side-rail .nav-item span { font-size: 13px; font-weight: 730; }.side-rail .nav-item svg { width: 20px; height: 20px; }.side-rail .nav-item:hover { color: white; border-color: rgba(143, 225, 239, .18); background: rgba(103, 215, 224, .08); transform: translateX(0); }.side-rail .nav-item.is-active { border-color: rgba(73, 215, 224, .68); color: white; background: linear-gradient(112deg, rgba(1, 172, 177, .73), rgba(25, 113, 198, .52)); box-shadow: inset 3px 0 0 #48f2e0, 0 8px 20px rgba(0, 21, 54, .18); }.side-rail .nav-group-label { margin: 24px 11px 8px; color: #67a9c4; font-size: 9px; letter-spacing: .13em; }
#app:not(.dashboard-model) .side-footer { position: relative; z-index: 1; gap: 13px; padding: 22px 9px 0; }.side-note { display: grid; gap: 8px; padding: 12px; border: 1px solid rgba(130, 218, 230, .16); border-radius: 13px; color: #c5eaf7; background: rgba(8, 53, 88, .44); }.side-note span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #6deddf; background: rgba(51, 213, 200, .12); }.side-note svg { width: 18px; height: 18px; }.side-note p { margin: 0; font-size: 10px; font-weight: 600; line-height: 1.5; }.side-rail .logout-button { justify-content: center; min-height: 37px; border: 1px solid rgba(173, 224, 240, .2); border-radius: 10px; color: #cfeaf4; background: rgba(255,255,255,.04); }.side-rail .logout-button:hover { border-color: rgba(130, 234, 222, .5); color: white; background: rgba(51, 213, 200, .13); }

#app:not(.dashboard-model) .main-content { grid-column: 2; grid-row: 2; min-width: 0; padding: clamp(22px, 3vw, 46px); }.page { width: min(100%, 1380px); }
#app:not(.dashboard-model) .topbar.page-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(170px, .48fr) auto; align-items: center; gap: 18px; min-height: 138px; margin-bottom: 20px; overflow: hidden; padding: 23px 26px; border: 1px solid #c9e1f0; border-radius: 22px; background: linear-gradient(106deg, rgba(255,255,255,.98) 0%, rgba(244,251,255,.98) 56%, rgba(222,244,255,.94) 100%); box-shadow: 0 13px 30px rgba(37, 96, 139, .09); }.topbar.page-hero::before { position: absolute; top: -76px; right: 21%; width: 270px; height: 270px; border: 1px solid rgba(53, 168, 231, .1); border-radius: 50%; content: ''; box-shadow: 0 0 0 25px rgba(53, 168, 231, .04), 0 0 0 56px rgba(53, 168, 231, .025); }.topbar.page-hero::after { position: absolute; right: 33%; bottom: 17px; width: 105px; height: 36px; opacity: .55; background: linear-gradient(135deg, transparent 0 40%, #8ad5f4 41% 43%, transparent 44% 54%, #8ad5f4 55% 57%, transparent 58%); content: ''; }
.page-hero-copy { position: relative; z-index: 1; min-width: 0; }.page-back { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 10px; border: 0; padding: 0; color: #185c97; background: transparent; font-size: 11px; font-weight: 760; }.page-back svg { width: 16px; height: 16px; transform: rotate(180deg); }.page-heading { display: flex; align-items: center; gap: 14px; }.page-heading-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border: 1px solid #aad9f6; border-radius: 17px; color: white; background: linear-gradient(135deg, #167bd1, #21a1e8); box-shadow: 0 9px 20px rgba(23, 125, 207, .25); }.page-heading-icon svg { width: 31px; height: 31px; }.page-heading h1 { color: #083661; font-size: clamp(1.7rem, 2.45vw, 2.5rem); }.page-heading p { max-width: 690px; color: #5a7fa3; font-size: .95rem; line-height: 1.45; }.page-motto { position: relative; z-index: 1; margin: 0; color: #3889c7; font-size: 14px; font-style: italic; font-weight: 580; line-height: 1.55; }.topbar.page-hero .topbar-actions { position: relative; z-index: 1; justify-content: flex-end; }.topbar.page-hero .button { min-height: 46px; border-radius: 12px; padding-inline: 16px; }.topbar.page-hero .button:not(.secondary) { background: linear-gradient(135deg, #028b86, #0875ad); box-shadow: 0 10px 20px rgba(0, 109, 136, .22); }.topbar.page-hero .button.secondary { border-color: #b9d9ee; color: #0b527f; background: rgba(255,255,255,.92); }

#app:not(.dashboard-model) .signal-wizard { width: min(100%, 1380px); }.signal-wizard .stepper { position: relative; gap: 0; padding: 12px 22px; margin-bottom: 14px; border-color: #c5ddec; border-radius: 15px; background: linear-gradient(110deg, rgba(255,255,255,.96), rgba(238,249,255,.98)); box-shadow: 0 7px 16px rgba(38, 95, 139, .05); }.signal-wizard .stepper::before { position: absolute; z-index: 0; top: 50%; right: 13%; left: 13%; height: 2px; background: linear-gradient(90deg, #1cb8ae, #8fd5eb 54%, #c7d9e8); content: ''; }.signal-wizard .stepper-item { position: relative; z-index: 1; gap: 10px; padding: 4px 13px; background: transparent; }.signal-wizard .stepper-item b { width: 38px; height: 38px; flex-basis: 38px; border-radius: 50%; font-size: 14px; background: #b4c8d8; box-shadow: 0 0 0 5px rgba(255,255,255,.85); }.signal-wizard .stepper-item span { font-size: 13px; }.signal-wizard .stepper-item.is-active { color: #008678; background: transparent; box-shadow: none; }.signal-wizard .stepper-item.is-active b { background: linear-gradient(135deg, #038c84, #20bb9f); }.signal-wizard .stepper-item.is-done b { background: linear-gradient(135deg, #1476b9, #29a3e9); }.signal-wizard .form-panel { position: relative; padding: clamp(24px, 3vw, 34px); overflow: hidden; border-color: #d1e4ef; border-radius: 19px; background: linear-gradient(135deg, #fff, #fcfeff 69%, #edf9ff); box-shadow: 0 16px 32px rgba(37, 97, 138, .09); }.signal-wizard .form-panel::before { position: absolute; top: -110px; right: -54px; width: 240px; height: 240px; border: 1px solid rgba(28, 148, 207, .09); border-radius: 50%; content: ''; }.signal-wizard .form-panel-head { position: relative; z-index: 1; padding: 0 0 19px 64px; border-bottom: 1px solid #dbeaf1; }.signal-wizard .form-panel-head::before { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; color: #0a72b7; background: #e5f5ff; content: '⌁'; font-size: 28px; font-weight: 800; }.signal-wizard .form-panel-head h2 { color: #0a3b68; font-size: 1.35rem; }.signal-wizard .form-panel-head p { color: #6686a3; }.signal-wizard .form-grid { position: relative; z-index: 1; padding-top: 21px; gap: 16px; }.signal-wizard .choice-group > legend, .signal-wizard .field > label { color: #123f6b; font-size: 12px; }.signal-wizard .choice { min-height: 58px; flex: 1 1 180px; padding: 10px 13px; border-color: #c9dfef; border-radius: 11px; color: #496c8c; background: rgba(255,255,255,.92); font-size: 13px; }.signal-wizard .choice:has(input:checked) { color: #087c77; border-color: #14aa9c; background: linear-gradient(135deg, #e9fffa, #effcff); box-shadow: inset 0 0 0 1px rgba(18, 169, 156, .18); }.signal-wizard .field input, .signal-wizard .field select, .signal-wizard .field textarea { border-color: #c7deec; border-radius: 10px; background: rgba(255,255,255,.9); }.signal-wizard .field input:focus, .signal-wizard .field select:focus, .signal-wizard .field textarea:focus { border-color: #188ed0; box-shadow: 0 0 0 3px rgba(24, 142, 208, .11); }.signal-wizard .context-note { border-color: #c9e2f0; color: #386889; background: #f3faff; }.signal-wizard .form-actions { position: relative; z-index: 1; margin-top: 27px; border-top-color: #d9e9f2; }.signal-wizard .form-actions .button:not(.ghost):not(.secondary) { background: linear-gradient(135deg, #008c84, #0879b3); }.signal-wizard .form-actions .button.secondary { border-color: #b7d7eb; color: #0a4f7d; background: white; }

/* On the signal wizard, the title lives in the sticky assistant. Keep only
   navigation and the registry action above it to avoid duplicate headings. */
#app:not(.dashboard-model) .signal-page-topbar { min-height: 28px; margin-bottom: 8px; }
#app:not(.dashboard-model) .signal-page-topbar .page-heading { display: none; }
#app:not(.dashboard-model) .signal-page-topbar .page-hero-copy { min-height: 22px; }

#app:not(.dashboard-model) .topbar.page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0 2px;
}
#app:not(.dashboard-model) .page-toolbar .page-hero-copy { min-width: 0; }
#app:not(.dashboard-model) .page-toolbar .page-back { margin-bottom: 4px; }
#app:not(.dashboard-model) .page-toolbar .page-heading { gap: 10px; }
#app:not(.dashboard-model) .page-toolbar .page-heading-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(23, 125, 207, .17);
}
#app:not(.dashboard-model) .page-toolbar .page-heading-icon svg { width: 22px; height: 22px; }
#app:not(.dashboard-model) .page-toolbar .page-heading h1 { color: #083661; font-size: clamp(1.35rem, 2vw, 1.95rem); }
#app:not(.dashboard-model) .page-toolbar .page-heading p { color: #5a7fa3; font-size: .82rem; line-height: 1.35; }
#app:not(.dashboard-model) .page-toolbar .topbar-actions { justify-content: flex-end; gap: 8px; }
#app:not(.dashboard-model) .page-toolbar .button { min-height: 39px; border-radius: 10px; padding-inline: 12px; }

#app:not(.dashboard-model) .signal-wizard .form-panel {
  padding: clamp(18px, 2.1vw, 25px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 11px 24px rgba(37, 97, 138, .08);
}
#app:not(.dashboard-model) .signal-wizard .form-panel::before,
#app:not(.dashboard-model) .signal-wizard .form-panel-head::before { display: none; }
#app:not(.dashboard-model) .form-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dbeaf1;
}
#app:not(.dashboard-model) .form-stage span {
  color: #5c7f9e;
  font-size: 11px;
  font-weight: 750;
}
#app:not(.dashboard-model) .form-stage strong {
  border-radius: 999px;
  padding: 5px 9px;
  color: #076d73;
  background: #e7f8f6;
  font-size: 11px;
}
#app:not(.dashboard-model) .signal-wizard .form-panel-head {
  min-height: 0;
  padding: 0 0 12px;
  border-bottom: 0;
}
#app:not(.dashboard-model) .signal-wizard .form-panel-head h2 { font-size: 1.18rem; }
#app:not(.dashboard-model) .signal-wizard .form-panel-head p { margin-top: 4px; font-size: .8rem; }
#app:not(.dashboard-model) .signal-wizard .form-grid { padding-top: 13px; gap: 12px; }
#app:not(.dashboard-model) .signal-wizard .form-grid,
.transfer-form { align-items: start; }
.transfer-form { margin-top: 16px; }
#app:not(.dashboard-model) .signal-wizard .choice { min-height: 48px; padding: 9px 11px; }
#app:not(.dashboard-model) .signal-wizard .field input,
#app:not(.dashboard-model) .signal-wizard .field select { min-height: 39px; padding-block: 8px; }
#app:not(.dashboard-model) .signal-wizard .field textarea { min-height: 78px; }
#app:not(.dashboard-model) .signal-wizard .context-note { padding: 10px 12px; font-size: 11px; }
#app:not(.dashboard-model) .signal-wizard .form-actions { margin-top: 18px; padding-top: 14px; }

.reset-warning { margin-bottom: 16px; }
.reset-actions { display: flex; justify-content: flex-end; gap: 9px; }
.transfer-case-list { margin-top: 15px; padding-top: 14px; border-top: 1px solid #dceaf1; }
.transfer-case-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.transfer-case-list h3 { margin: 0; color: #0d406d; font-size: .98rem; }
.transfer-case-list p { margin: 5px 0 0; color: #6686a3; font-size: 12px; line-height: 1.45; }
.transfer-case-items { display: grid; gap: 8px; margin-top: 12px; }
.transfer-case-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 1px solid #d5e4ec; border-radius: 11px; background: #fbfdff; }
.transfer-case-item strong { display: block; color: #163e63; font-size: 12px; }
.transfer-case-item small { display: block; margin-top: 3px; color: #6f8ba2; font-size: 11px; }
.transfer-case-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.transfer-case-empty { padding: 10px 11px; border: 1px dashed #bfd5e3; border-radius: 10px; background: #f7fbfd; }

#app:not(.dashboard-model) .register-filter-panel { align-items: end; gap: 12px; padding: 16px; border-color: #c9e0ef; border-radius: 16px; background: linear-gradient(110deg, rgba(255,255,255,.95), rgba(240,249,255,.95)); box-shadow: 0 8px 18px rgba(29, 91, 137, .06); }.register-filter-panel .field { min-width: 170px; }.register-filter-panel .button { min-height: 40px; border-color: #b4d3e7; color: #0d5889; }.register-panel { overflow: hidden; border-color: #cfdfec; border-radius: 18px; box-shadow: 0 13px 27px rgba(26, 81, 121, .08); }.register-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #dbe8f1; background: linear-gradient(100deg, #f8fcff, #eaf7fc); }.register-summary > div { min-height: 79px; display: grid; align-content: center; gap: 3px; padding: 13px 18px; border-right: 1px solid #dbe8f1; }.register-summary > div:last-child { border-right: 0; }.register-summary span { color: #66839d; font-size: 10px; font-weight: 780; }.register-summary strong { color: #0a5387; font-size: 1.55rem; line-height: 1; }.register-panel .panel-head { padding: 18px 21px 14px; }.register-panel .panel-head h2 { color: #0d406d; font-size: 1.1rem; }.register-panel .data-table th { color: #557994; background: #f3f8fb; }.register-panel .data-table td { padding-top: 14px; padding-bottom: 14px; }.register-panel .data-table tbody tr:hover { background: #f0fbff; }

#app:not(.dashboard-model) .reference-showcase { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .74fr); }.reference-main-panel { border-color: #c6dfef; box-shadow: 0 13px 28px rgba(26, 81, 121, .08); }.reference-main-panel .panel-head { padding: 21px 23px 14px; background: linear-gradient(105deg, #fbfeff, #eff9ff); }.reference-main-panel .panel-head h2, .reference-showcase aside .panel-head h2 { color: #0c416f; font-size: 1.12rem; }.panel-head-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #1478bb; background: #e1f4ff; }.panel-head-mark svg { width: 22px; height: 22px; }.reference-main-panel .panel-body { padding: 0 23px 22px; }.reference-summary { gap: 12px; margin: 18px 0; }.reference-summary div { min-height: 98px; padding: 17px; border-color: #c9dfec; border-radius: 13px; background: linear-gradient(145deg, #fafdff, #eff9fd); }.reference-summary div:nth-child(2) { background: linear-gradient(145deg, #f1fbff, #e4f4fd); }.reference-summary div:nth-child(3) { background: linear-gradient(145deg, #effffb, #e4f8f2); }.reference-summary div:nth-child(4) { background: linear-gradient(145deg, #fffaf0, #fdf4e6); }.reference-summary strong { color: #0a5083; font-size: 1.8rem; }.reference-summary span { color: #5f7e98; }.source-card { border-color: #b8e0df; border-radius: 14px; background: linear-gradient(125deg, #eafffa, #f5fffd); }.source-card strong { color: #087674; }.reference-footnote { margin: 13px 0 0; color: #71879b; font-size: 11px; }.reference-showcase aside { overflow: hidden; border-color: #cbdfee; border-radius: 18px; box-shadow: 0 12px 25px rgba(26, 81, 121, .06); }.reference-showcase aside .panel-head { padding: 21px 21px 14px; background: linear-gradient(120deg, #f6fcff, #e9f7ff); }.reference-showcase aside .panel-body { padding: 0 21px 19px; }.reference-showcase .attention-row { padding: 14px 0; }.reference-showcase .attention-icon { width: 38px; height: 38px; color: #087f8b; background: #e4fbf8; }

#app:not(.dashboard-model) .admin-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 17px; }.admin-summary article { display: flex; align-items: center; gap: 12px; min-height: 94px; padding: 16px; border: 1px solid #c9dfef; border-radius: 16px; background: linear-gradient(135deg, #fff, #eff9ff); box-shadow: 0 9px 19px rgba(27, 83, 125, .07); }.admin-summary article:nth-child(2) { background: linear-gradient(135deg, #fff, #edfff6); }.admin-summary article:nth-child(3) { background: linear-gradient(135deg, #fff, #f4efff); }.admin-summary article:nth-child(4) { background: linear-gradient(135deg, #fff, #fff7e9); }.admin-summary article > span { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 13px; color: #0b77be; background: #dff2ff; }.admin-summary article:nth-child(2) > span { color: #11845b; background: #dff8ed; }.admin-summary article:nth-child(3) > span { color: #7040aa; background: #eee5fd; }.admin-summary article:nth-child(4) > span { color: #aa7210; background: #fff0cf; }.admin-summary svg { width: 23px; height: 23px; }.admin-summary strong { display: block; color: #123f67; font-size: 1.55rem; line-height: 1; }.admin-summary small { display: block; margin-top: 5px; color: #668299; font-size: 10px; font-weight: 720; }.admin-panel { overflow: hidden; border-color: #cbdfea; border-radius: 18px; box-shadow: 0 13px 28px rgba(26, 81, 121, .08); }.admin-panel .panel-head { padding: 20px 22px 15px; background: linear-gradient(105deg, #fbfeff, #eef8ff); }.admin-panel .panel-head h2 { color: #0b426e; font-size: 1.1rem; }.admin-panel .data-table th { background: #f0f8fc; }

@media (max-width: 1120px) {
  #app:not(.dashboard-model) .app-shell { grid-template-columns: 92px minmax(0, 1fr); }.institution-brand > div, .institution-divider { display: none; }.side-rail .wordmark-text, .side-rail .nav-item span, .side-rail .nav-group-label, .side-rail .side-note, .side-rail .logout-button span { display: none; }.side-rail .wordmark { justify-content: center; padding-inline: 0; }.side-rail .nav-item { justify-content: center; padding-inline: 10px; }.side-rail .logout-button { padding-inline: 0; }.health-dashboard { padding-inline: 7px; }.topbar.page-hero { grid-template-columns: minmax(0, 1fr) auto; }.page-motto { display: none; }.reference-showcase, #app:not(.dashboard-model) .reference-showcase { grid-template-columns: minmax(0, 1fr); }.admin-summary, #app:not(.dashboard-model) .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #app:not(.dashboard-model) .reference-showcase { grid-template-columns: minmax(0, 1fr); }
  #app:not(.dashboard-model) .admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  #app:not(.dashboard-model) .app-shell { display: block; padding-bottom: 68px; }#app:not(.dashboard-model) .institution-topbar { min-height: 57px; padding: 7px 14px; }#app:not(.dashboard-model) .cameroon-mark { width: 35px; height: 35px; border-radius: 10px; }#app:not(.dashboard-model) .minsante-logo { width: 32px; height: 32px; }#app:not(.dashboard-model) .institution-brand strong { max-width: 180px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }#app:not(.dashboard-model) .institution-brand small { font-size: 8px; }#app:not(.dashboard-model) .institution-account .account-presence, #app:not(.dashboard-model) .institution-account > div { display: none; }#app:not(.dashboard-model) .institution-account .user-avatar { width: 33px; height: 33px; flex-basis: 33px; }#app:not(.dashboard-model) .side-rail { display: none !important; }#app:not(.dashboard-model) .main-content { padding: 15px 12px 23px !important; }#app:not(.dashboard-model) .page { width: 100%; }#app:not(.dashboard-model) .topbar.page-hero { grid-template-columns: 1fr; min-height: 0; gap: 14px; padding: 18px; border-radius: 17px; }#app:not(.dashboard-model) .page-heading { gap: 11px; }#app:not(.dashboard-model) .page-heading-icon { width: 48px; height: 48px; border-radius: 14px; }#app:not(.dashboard-model) .page-heading-icon svg { width: 26px; height: 26px; }#app:not(.dashboard-model) .page-heading h1 { font-size: 1.58rem; }#app:not(.dashboard-model) .page-heading p { font-size: .82rem; }#app:not(.dashboard-model) .topbar.page-hero .topbar-actions { justify-content: stretch; }#app:not(.dashboard-model) .topbar.page-hero .topbar-actions .button { flex: 1 1 auto; min-height: 41px; font-size: 12px; }#app:not(.dashboard-model) .signal-wizard .stepper { gap: 5px; padding: 9px; }#app:not(.dashboard-model) .signal-wizard .stepper::before { display: none; }#app:not(.dashboard-model) .signal-wizard .stepper-item { justify-content: center; padding: 3px; }#app:not(.dashboard-model) .signal-wizard .stepper-item b { width: 33px; height: 33px; flex-basis: 33px; }#app:not(.dashboard-model) .signal-wizard .stepper-item span { display: none; }#app:not(.dashboard-model) .signal-wizard .form-panel { padding: 20px 15px; }#app:not(.dashboard-model) .signal-wizard .form-panel-head { min-height: 51px; padding-left: 55px; }#app:not(.dashboard-model) .signal-wizard .form-panel-head::before { width: 42px; height: 42px; }#app:not(.dashboard-model) .signal-wizard .choice { flex-basis: 100%; }#app:not(.dashboard-model) .register-filter-panel { padding: 12px; }#app:not(.dashboard-model) .register-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }#app:not(.dashboard-model) .register-summary > div { min-height: 69px; padding: 10px; }#app:not(.dashboard-model) .reference-main-panel .panel-body { padding-inline: 14px; }#app:not(.dashboard-model) .reference-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }#app:not(.dashboard-model) .admin-summary { gap: 8px; }#app:not(.dashboard-model) .admin-summary article { min-height: 80px; padding: 11px; }#app:not(.dashboard-model) .admin-summary article > span { width: 34px; height: 34px; }#app:not(.dashboard-model) .admin-summary strong { font-size: 1.25rem; }
}

@media (max-width: 780px) {
  #app:not(.dashboard-model) .topbar.page-toolbar { align-items: stretch; gap: 10px; margin-bottom: 12px; }
  #app:not(.dashboard-model) .page-toolbar .page-heading-icon { width: 37px; height: 37px; border-radius: 11px; }
  #app:not(.dashboard-model) .page-toolbar .page-heading h1 { font-size: 1.42rem; }
  #app:not(.dashboard-model) .page-toolbar .topbar-actions { width: 100%; justify-content: stretch; }
  #app:not(.dashboard-model) .page-toolbar .topbar-actions .button { flex: 1 1 auto; }
  #app:not(.dashboard-model) .signal-wizard .form-panel { padding: 15px 13px; }
  #app:not(.dashboard-model) .signal-wizard .form-panel-head { padding-bottom: 10px; }
  #app:not(.dashboard-model) .signal-wizard .form-grid { padding-top: 11px; gap: 10px; }
  #app:not(.dashboard-model) .form-stage { margin-bottom: 11px; padding-bottom: 9px; }
  .reset-actions { align-items: stretch; flex-direction: column-reverse; }
  .reset-actions .button { width: 100%; }
}

@media (max-width: 460px) {
  .institution-brand > div:nth-of-type(2) { display: none; }.institution-brand { gap: 7px; }.minsante-logo { width: 30px; height: 30px; }.page-heading h1 { font-size: 1.36rem; }.topbar.page-hero .topbar-actions { display: grid; grid-template-columns: 1fr; }.register-summary strong { font-size: 1.25rem; }.register-summary span { font-size: 9px; }.reference-summary div { min-height: 78px; padding: 11px; }.reference-summary strong { font-size: 1.42rem; }.admin-summary { grid-template-columns: 1fr 1fr; }.admin-summary article { gap: 8px; }.admin-summary small { font-size: 8px; }#app:not(.dashboard-model) .register-filter-panel { gap: 7px; padding: 9px; }#app:not(.dashboard-model) .register-filter-panel .field { min-width: 0; flex: 1 1 calc(50% - 4px); flex-basis: calc(50% - 4px); }#app:not(.dashboard-model) .register-filter-panel .button { width: 100%; flex: 1 1 100%; min-height: 34px; }
}

/* Barre laterale compacte et orientee tache pour les espaces operationnels. */
#app:not(.dashboard-model) .app-shell { grid-template-columns: 236px minmax(0, 1fr); }
#app:not(.dashboard-model) .side-rail {
  padding: 16px 12px 14px;
  background:
    linear-gradient(180deg, rgba(10, 65, 95, .98), rgba(5, 39, 68, .99)),
    #062b4c;
  box-shadow: 8px 0 24px rgba(5, 43, 77, .12);
}
#app:not(.dashboard-model) .side-rail::after { display: none; }
#app:not(.dashboard-model) .side-rail .wordmark {
  gap: 10px;
  padding: 2px 8px 18px;
  border-bottom: 1px solid rgba(181, 229, 239, .14);
}
#app:not(.dashboard-model) .side-rail .wordmark .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(234, 255, 255, .14), 0 5px 12px rgba(0, 13, 38, .18);
}
#app:not(.dashboard-model) .side-rail .wordmark .mark svg { width: 24px; height: 24px; }
#app:not(.dashboard-model) .side-rail .wordmark-text { font-size: .9rem; letter-spacing: .055em; }
#app:not(.dashboard-model) .side-rail .wordmark-text small { margin-top: 1px; font-size: 9px; }
#app:not(.dashboard-model) .side-rail .wordmark-text em { margin-top: 3px; font-size: 8px; }
#app:not(.dashboard-model) .navigation { gap: 4px; }
#app:not(.dashboard-model) .side-rail .nav-group-label { margin: 17px 9px 6px; color: #7eb8c9; font-size: 8px; letter-spacing: .14em; }
#app:not(.dashboard-model) .side-rail .nav-item {
  min-height: 41px;
  gap: 11px;
  border-radius: 9px;
  padding: 8px 10px;
  color: #b9d8e6;
}
#app:not(.dashboard-model) .side-rail .nav-item svg { width: 18px; height: 18px; }
#app:not(.dashboard-model) .side-rail .nav-item span { font-size: 12px; font-weight: 710; }
#app:not(.dashboard-model) .side-rail .nav-item:hover { border-color: rgba(143, 225, 239, .18); background: rgba(103, 215, 224, .08); }
#app:not(.dashboard-model) .side-rail .nav-item.is-active {
  border-color: rgba(103, 231, 220, .28);
  background: rgba(50, 199, 190, .18);
  box-shadow: inset 3px 0 0 #55e4d3;
}
#app:not(.dashboard-model) .side-footer { gap: 9px; padding: 14px 4px 0; }
#app:not(.dashboard-model) .side-status {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(151, 224, 229, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
}
#app:not(.dashboard-model) .side-status-indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #54e3bc;
  box-shadow: 0 0 0 4px rgba(84, 227, 188, .1);
}
#app:not(.dashboard-model) .side-status strong,
#app:not(.dashboard-model) .side-status small { display: block; }
#app:not(.dashboard-model) .side-status strong { color: #e6fffb; font-size: 10px; font-weight: 760; }
#app:not(.dashboard-model) .side-status small { margin-top: 2px; color: #8dbbc7; font-size: 9px; }
#app:not(.dashboard-model) .side-rail .logout-button {
  justify-content: flex-start;
  min-height: 36px;
  gap: 9px;
  border-color: transparent;
  border-radius: 9px;
  padding: 7px 10px;
  color: #a9cbd5;
  background: transparent;
}
#app:not(.dashboard-model) .side-rail .logout-button svg { width: 17px; height: 17px; }
#app:not(.dashboard-model) .side-rail .logout-button span { font-size: 11px; }
#app:not(.dashboard-model) .side-rail .logout-button:hover { border-color: rgba(130, 234, 222, .28); background: rgba(51, 213, 200, .1); }

/* Credit de conception volontairement discret, present en bas de chaque vue. */
.designer-credit {
  display: block;
  margin: auto auto 0;
  padding-top: 14px;
  color: rgba(20, 70, 103, .34);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}
#app:not(.dashboard-model) .main-content { display: flex; flex-direction: column; }
#app:not(.dashboard-model) .main-content > .page { flex: 0 0 auto; }
#app:not(.dashboard-model) .main-content > .designer-credit { flex: 0 0 auto; }
.login-view { position: relative; }
.login-designer-credit {
  position: absolute;
  right: clamp(18px, 3vw, 48px);
  bottom: 10px;
  margin: 0;
  color: rgba(240, 255, 252, .38);
}

@media (max-width: 1120px) {
  #app:not(.dashboard-model) .app-shell { grid-template-columns: 76px minmax(0, 1fr); }
  #app:not(.dashboard-model) .side-rail { padding-inline: 8px; }
  #app:not(.dashboard-model) .side-rail .wordmark { padding-bottom: 16px; }
  #app:not(.dashboard-model) .side-rail .nav-group-label,
  #app:not(.dashboard-model) .side-rail .side-status { display: none; }
  #app:not(.dashboard-model) .side-rail .nav-item { min-height: 42px; padding-inline: 10px; }
  #app:not(.dashboard-model) .side-rail .logout-button { justify-content: center; padding-inline: 0; }
}

/* En-tete de page resserre : le contenu utile commence plus haut sur chaque vue. */
#app:not(.dashboard-model) .main-content { padding: 20px clamp(20px, 2.2vw, 32px) 30px; }
#app:not(.dashboard-model) .topbar.page-toolbar { gap: 10px; margin-bottom: 10px; }
#app:not(.dashboard-model) .page-toolbar .page-back { margin-bottom: 2px; font-size: 10px; }
#app:not(.dashboard-model) .page-toolbar .page-heading { gap: 8px; }
#app:not(.dashboard-model) .page-toolbar .page-heading-icon { width: 34px; height: 34px; border-radius: 10px; }
#app:not(.dashboard-model) .page-toolbar .page-heading-icon svg { width: 19px; height: 19px; }
#app:not(.dashboard-model) .page-toolbar .page-heading h1 { font-size: clamp(1.22rem, 1.65vw, 1.65rem); }
#app:not(.dashboard-model) .page-toolbar .page-heading p { margin-top: 2px; font-size: .75rem; line-height: 1.3; }
#app:not(.dashboard-model) .page-toolbar .button { min-height: 35px; border-radius: 9px; padding: 8px 11px; font-size: 11px; }
#app:not(.dashboard-model) .signal-wizard .form-panel { padding: 16px 20px; }
#app:not(.dashboard-model) .signal-wizard .form-stage { margin-bottom: 8px; padding-bottom: 7px; }
#app:not(.dashboard-model) .signal-wizard .form-stage span { font-size: 10px; }
#app:not(.dashboard-model) .signal-wizard .form-stage strong { padding: 4px 8px; font-size: 10px; }
#app:not(.dashboard-model) .signal-wizard .form-panel-head { padding-bottom: 7px; }
#app:not(.dashboard-model) .signal-wizard .form-panel-head h2 { font-size: 1.08rem; }
#app:not(.dashboard-model) .signal-wizard .form-panel-head p { margin-top: 3px; font-size: .75rem; line-height: 1.35; }
#app:not(.dashboard-model) .signal-wizard .form-grid { padding-top: 9px; gap: 10px; }

@media (max-width: 780px) {
  #app:not(.dashboard-model) .main-content { padding: 12px 12px 20px !important; }
  #app:not(.dashboard-model) .topbar.page-toolbar { gap: 8px; margin-bottom: 9px; }
  #app:not(.dashboard-model) .page-toolbar .page-heading-icon { width: 35px; height: 35px; }
  #app:not(.dashboard-model) .page-toolbar .page-heading h1 { font-size: 1.32rem; }
  #app:not(.dashboard-model) .page-toolbar .page-heading p { font-size: .73rem; }
  #app:not(.dashboard-model) .page-toolbar .button { min-height: 38px; font-size: 11px; }
  #app:not(.dashboard-model) .signal-wizard .form-panel { padding: 14px 12px; }
  #app:not(.dashboard-model) .signal-wizard .form-panel-head { padding-bottom: 7px; }
}

/* Bandeau institutionnel plus discret pour liberer l'espace de travail. */
#app:not(.dashboard-model) .app-shell { grid-template-rows: 58px minmax(0, 1fr); }
#app:not(.dashboard-model) .institution-topbar { min-height: 58px; padding-block: 6px; }
#app:not(.dashboard-model) .institution-account .user-avatar { width: 32px; height: 32px; flex-basis: 32px; }
#app:not(.dashboard-model) .institution-account .account-presence { width: 25px; height: 25px; }
#app:not(.dashboard-model) .side-rail { top: 58px; height: calc(100vh - 58px); }

@media (max-width: 780px) {
  #app:not(.dashboard-model) .app-shell { grid-template-rows: 57px minmax(0, 1fr); }
  #app:not(.dashboard-model) .institution-topbar { min-height: 57px; }
}

#app:not(.dashboard-model) .patient-filter-panel .patient-search-field { flex: 2 1 260px; }
#app:not(.dashboard-model) .patient-register-panel .panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
#app:not(.dashboard-model) .patient-register-table { min-width: 1050px; }
#app:not(.dashboard-model) .patient-register-table td:first-child { min-width: 155px; }
#app:not(.dashboard-model) .patient-register-table td:nth-child(3) { min-width: 210px; }
#app:not(.dashboard-model) .patient-register-table td:nth-child(4) { min-width: 150px; }
#app:not(.dashboard-model) .patient-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 16px; border-top: 1px solid #dbe8f1; color: #66839d; font-size: 11px; font-weight: 700; }
#app:not(.dashboard-model) .patient-pagination > div { display: flex; gap: 7px; }
#app:not(.dashboard-model) .patient-modal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

@media (max-width: 780px) {
  #app:not(.dashboard-model) .patient-filter-panel .patient-search-field { flex-basis: 100%; }
  #app:not(.dashboard-model) .patient-register-panel .panel-head { align-items: flex-start; }
  #app:not(.dashboard-model) .patient-modal-actions { flex-direction: column; }
  #app:not(.dashboard-model) .patient-modal-actions .button { width: 100%; }
  #app:not(.dashboard-model) .patient-pagination { align-items: stretch; flex-direction: column; padding: 11px 13px 14px; }
  #app:not(.dashboard-model) .patient-pagination > div { display: grid; grid-template-columns: 1fr 1fr; }
  #app:not(.dashboard-model) .patient-pagination .button { width: 100%; }
}

/* Administration et journal : lecture dense, actions explicites et revue du risque. */
#app:not(.dashboard-model) .admin-users-table { min-width: 980px; }
#app:not(.dashboard-model) .admin-user-actions { align-items: center; flex-wrap: wrap; min-width: 210px; }
#app:not(.dashboard-model) .admin-current-note { color: #64839b; font-size: 10px; font-weight: 700; }
#app:not(.dashboard-model) .user-form-actions { display: flex; justify-content: flex-end; gap: 9px; }
#app:not(.dashboard-model) .audit-filter-panel .audit-search-field { flex: 2 1 260px; }
#app:not(.dashboard-model) .audit-table { min-width: 1180px; }
#app:not(.dashboard-model) .audit-table td { vertical-align: top; }
#app:not(.dashboard-model) .audit-table td:first-child { min-width: 155px; }
#app:not(.dashboard-model) .audit-table td:nth-child(2) { min-width: 170px; }
#app:not(.dashboard-model) .audit-table td:nth-child(6) { min-width: 330px; max-width: 450px; white-space: normal; line-height: 1.45; }
#app:not(.dashboard-model) .audit-recommendation { color: #365b72; font-size: 11px; }
.risk-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.risk-pill.risk-faible { color: #0d7a62; background: #e3f8ef; }
.risk-pill.risk-modere { color: #996a10; background: #fff2d6; }
.risk-pill.risk-eleve { color: #ad4d18; background: #ffe7d8; }
.risk-pill.risk-critique { color: #a52833; background: #ffe0e3; }
.user-delete-warning { margin-bottom: 16px; }
#app:not(.dashboard-model) .record-hero-actions { display: flex; align-items: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
#app:not(.dashboard-model) .deletion-warning { margin-bottom: 16px; }

@media (max-width: 780px) {
  #app:not(.dashboard-model) .audit-filter-panel .audit-search-field { flex-basis: 100%; }
  #app:not(.dashboard-model) .user-form-actions { flex-direction: column-reverse; }
  #app:not(.dashboard-model) .user-form-actions .button { width: 100%; }
  #app:not(.dashboard-model) .audit-table td:nth-child(6) { max-width: none; }
  #app:not(.dashboard-model) .record-hero-actions { width: 100%; }
}

/* Tableau de bord borné : le volume des données ne doit jamais étirer les cartes voisines. */
#app.dashboard-model .health-visual-grid,
#app.dashboard-model .health-decision-grid,
#app.dashboard-model .health-overview-last,
#app.dashboard-model .health-transfer-focus,
#app.dashboard-model .health-collection-focus,
#app.dashboard-model .health-priority-focus { align-items: start; }
#app.dashboard-model .health-overview-last { display: grid; gap: 9px; }
#app.dashboard-model .health-panel { align-self: start; min-height: 0; max-width: 100%; }
#app.dashboard-model .health-overview-row { align-items: stretch; }
#app.dashboard-model .health-overview-row > .health-panel { align-self: stretch; display: flex; flex-direction: column; }
#app.dashboard-model .health-overview-row > .health-panel > .health-panel-body { flex: 1 1 auto; min-height: 0; }
#app.dashboard-model .health-panel-body { min-width: 0; }
#app.dashboard-model .panel-collection .health-panel-body,
#app.dashboard-model .panel-priority .health-panel-body { max-height: 315px; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
#app.dashboard-model .panel-collection .health-table-wrap,
#app.dashboard-model .panel-priority .health-table-wrap { max-height: 286px; }
#app.dashboard-model .health-table { table-layout: fixed; }
#app.dashboard-model .health-table th,
#app.dashboard-model .health-table td { overflow-wrap: anywhere; }
#app.dashboard-model .panel-age-pyramid .health-panel-body { overflow: hidden; }

@media (max-width: 840px) {
  #app.dashboard-model .health-overview-last { display: grid; }
  #app.dashboard-model .panel-collection .health-panel-body,
  #app.dashboard-model .panel-priority .health-panel-body { max-height: 300px; }
}

/* Visualisations sans styles inline : compatibles avec la CSP et stables sous forte volumétrie. */
#app.dashboard-model .donut { background: transparent; }
#app.dashboard-model .donut::before { display: none; }
#app.dashboard-model .donut svg { display: block; width: 100%; height: 100%; overflow: visible; }
#app.dashboard-model .donut-base { fill: none; stroke: #e8f0f5; stroke-width: 20; }
#app.dashboard-model .donut-segment { fill: none; stroke-width: 20; stroke-linecap: butt; }
#app.dashboard-model .donut-segment-0,
#app.dashboard-model .donut-swatch-0 { stroke: #1878d4; background: #1878d4; }
#app.dashboard-model .donut-segment-1,
#app.dashboard-model .donut-swatch-1 { stroke: #44a548; background: #44a548; }
#app.dashboard-model .donut-segment-2,
#app.dashboard-model .donut-swatch-2 { stroke: #ff9d27; background: #ff9d27; }
#app.dashboard-model .donut-segment-3,
#app.dashboard-model .donut-swatch-3 { stroke: #ee4a4e; background: #ee4a4e; }
#app.dashboard-model .donut-segment-4,
#app.dashboard-model .donut-swatch-4 { stroke: #74479d; background: #74479d; }
#app.dashboard-model .donut-segment-5,
#app.dashboard-model .donut-swatch-5 { stroke: #637085; background: #637085; }
#app.dashboard-model .donut-legend .donut-swatch { display: block; width: 9px; height: 9px; border-radius: 50%; }
#app.dashboard-model .health-bar-track { display: block; width: 100%; height: 18px; overflow: hidden; border-radius: 1px; background: #eaf0f5; }
#app.dashboard-model .health-bar-fill { fill: #3d99ec; }
#app.dashboard-model .health-bars-multicolor .health-bar:nth-child(2) .health-bar-fill { fill: #6bc458; }
#app.dashboard-model .health-bars-multicolor .health-bar:nth-child(3) .health-bar-fill { fill: #ffc048; }
#app.dashboard-model .health-bars-multicolor .health-bar:nth-child(4) .health-bar-fill { fill: #9e74c1; }
#app.dashboard-model .health-bars-care .health-bar-fill { fill: #52bf8a; }
#app.dashboard-model .quality-bar-track { display: block; width: 100%; height: 12px; overflow: hidden; border-radius: 3px; background: #e8eff4; }
#app.dashboard-model .quality-bar-fill { fill: #4abf96; }
#app.dashboard-model .age-pyramid-svg { display: block; width: 100%; height: auto; margin-top: 2px; }
#app.dashboard-model .age-pyramid-center { stroke: #d7e4ec; stroke-width: 1; stroke-dasharray: 2 3; }
#app.dashboard-model .age-pyramid-bar.female { fill: #d85878; }
#app.dashboard-model .age-pyramid-bar.male { fill: #4a9add; }
#app.dashboard-model .age-pyramid-sex-heading { fill: #244e70; font-family: Inter, sans-serif; font-size: 13px; font-weight: 800; }
#app.dashboard-model .age-pyramid-count,
#app.dashboard-model .age-pyramid-label { fill: #315b78; font-family: Inter, sans-serif; font-size: 12px; font-weight: 700; }
#app.dashboard-model .age-pyramid-label { fill: #4c6980; font-size: 11px; font-weight: 760; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
#app.dashboard-model .district-cell.district-offset-1 { transform: translateY(5px); }
#app.dashboard-model .district-cell.district-offset-2 { transform: translateY(10px); }

/* Retour discret de synchronisation pour la PWA, sans déplacer la mise en page. */
.pwa-sync-notice {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 12px 16px;
  border: 1px solid rgba(13, 128, 120, .25);
  border-radius: 12px;
  color: #0d4f5b;
  background: rgba(244, 250, 252, .98);
  box-shadow: 0 12px 34px rgba(11, 59, 74, .18);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.pwa-sync-notice.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 560px) {
  .pwa-sync-notice { right: 12px; bottom: 74px; max-width: calc(100vw - 24px); }
}

/* Logo ITSS réel dans l'assistance de la connexion. Le format carré conserve
   le cercle complet et reste lisible sur téléphone, tablette et ordinateur. */
.login-support-brand {
  display: block;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid #d7e5e8;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

@media (max-width: 560px) {
  .login-support-brand {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}

/* Sélection des habilitations régionales dans l’administration. */
.user-region-scope {
  margin: 0;
  padding: 16px;
  border: 1px solid #d8e6ec;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7fbfc, #eef8f9);
}
.user-region-scope legend {
  padding: 0 6px;
  color: #123f63;
  font-weight: 800;
}
.user-region-scope p,
.user-region-scope small {
  display: block;
  margin: 0 0 12px;
  color: #5b7488;
  font-size: 12px;
  line-height: 1.5;
}
.user-region-scope small { margin: 12px 0 0; }
.user-region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.user-region-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #d5e4ea;
  border-radius: 10px;
  color: #1d4f70;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.user-region-option:has(input:checked) {
  border-color: #169a91;
  box-shadow: 0 0 0 2px rgba(22, 154, 145, .12);
  background: #effcf9;
}
.user-region-option input { accent-color: #13887f; }
.user-region-all-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid #9bd9d2;
  border-radius: 10px;
  background: #e8faf7;
  color: #0d625f;
  cursor: pointer;
}
.user-region-all-option input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #0f8179;
}
.user-region-all-option span { display: grid; gap: 2px; }
.user-region-all-option strong { font-size: 13px; }
.user-region-all-option small { margin: 0; color: #367b7b; font-weight: 500; }
.scope-all-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e3f7ed;
  color: #18714e;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .user-region-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .signal-ai-assistant { margin-top: 13px; padding: 12px; border-radius: 12px; }
  .signal-ai-columns { display: block; }
  .signal-ai-mode-block, .signal-ai-safety { min-height: 0; margin-top: 11px; padding-top: 11px; padding-left: 0; border-top: 1px solid #d7ebef; border-left: 0; }
  .signal-ai-badge { display: inline-block; margin-top: 8px; }
  .signal-ai-intro h3 { font-size: .94rem; }
  .signal-ai-intro p { font-size: .72rem; }
  .signal-ai-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .signal-ai-actions .button { width: 100%; min-width: 0; padding-inline: 7px; font-size: 10px; }
  .signal-ai-proposals { grid-template-columns: 1fr; }
  .signal-ai-status { align-items: flex-start; line-height: 1.35; }
}

/* Compact operator assistant: keep the form usable without consuming the page. */
.signal-ai-assistant {
  margin: 8px 0 3px;
  padding: 8px 10px;
  border-radius: 11px;
  box-shadow: 0 5px 12px rgba(20, 86, 120, .05);
}
.signal-ai-columns {
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, .9fr) minmax(200px, .8fr);
  gap: 12px;
}
.signal-ai-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
}
.signal-ai-intro .signal-ai-kicker {
  grid-column: 1 / -1;
  font-size: 8px;
  line-height: 1;
}
.signal-ai-intro h3 {
  margin: 2px 0 0;
  font-size: .86rem;
  white-space: nowrap;
}
.signal-ai-intro p {
  min-width: 0;
  margin: 2px 0 0;
  overflow: hidden;
  color: #587b91;
  font-size: .68rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.signal-ai-mode-block,
.signal-ai-safety {
  min-height: 0;
  padding-left: 12px;
}
.signal-ai-safety { gap: 4px; }
.signal-ai-safety p { font-size: 9px; line-height: 1.25; }
.signal-ai-connection-note { display: none; }
.signal-ai-modes { gap: 6px; margin-top: 4px; }
.signal-ai-modes button {
  min-height: 29px;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 10px;
}
.signal-ai-badge { padding: 4px 8px; font-size: 9px; }

@media (max-width: 700px) {
  .signal-ai-assistant { margin-top: 8px; padding: 9px 10px; }
  .signal-ai-columns { display: block; }
  .signal-ai-intro { display: block; }
  .signal-ai-intro h3 { margin-top: 3px; font-size: .86rem; white-space: normal; }
  .signal-ai-intro p { white-space: normal; }
  .signal-ai-mode-block,
  .signal-ai-safety {
    margin-top: 7px;
    padding-top: 7px;
    padding-left: 0;
    border-top: 1px solid #d7ebef;
    border-left: 0;
  }
}

/* Final visual layer: a calm, branded emergency-response cue without adding height. */
.signal-ai-assistant {
  overflow: hidden;
  border-color: #b7e1e8;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.96), transparent 34%),
    linear-gradient(105deg, #f4fcff 0%, #edfdfa 56%, #f7fffd 100%);
  box-shadow: 0 7px 18px rgba(18, 92, 120, .08), inset 0 1px 0 rgba(255,255,255,.9);
}
.signal-ai-assistant::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, #0c8f9c, #58cdb5, transparent);
  content: '';
}
.signal-ai-columns { position: relative; z-index: 1; }
.signal-ai-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signal-ai-intro-copy { min-width: 0; flex: 1 1 auto; }
.signal-ai-intro .signal-ai-kicker { display: block; font-size: 8px; letter-spacing: .14em; }
.signal-ai-intro h3 { margin: 2px 0 1px; color: #123d5d; font-size: .88rem; letter-spacing: -.01em; }
.signal-ai-intro p { display: block; max-width: 440px; margin: 0; overflow: hidden; color: #618398; font-size: .67rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.signal-ai-ambulance {
  position: relative;
  flex: 0 0 132px;
  width: 132px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(141, 205, 213, .6);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(208,239,244,.9));
  box-shadow: inset 0 -8px 12px rgba(74, 160, 172, .12), 0 4px 9px rgba(14, 91, 113, .08);
}
.signal-ai-ambulance::before {
  position: absolute;
  inset: 7px 8px auto;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  content: '';
}
.signal-ai-ambulance img {
  position: absolute;
  z-index: 2;
  right: -2px;
  bottom: 3px;
  width: 94px;
  height: 58px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 3px 3px rgba(15, 67, 84, .2));
  animation: signal-ai-ambulance-glide 3.8s ease-in-out infinite;
}
.signal-ai-road {
  position: absolute;
  right: 8px;
  bottom: 6px;
  left: 8px;
  height: 2px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(44, 126, 139, .34) 0 14px, transparent 14px 23px);
}
.signal-ai-beacon {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 31px;
  width: 7px;
  height: 4px;
  border-radius: 999px;
  background: #ef3044;
  box-shadow: 0 0 7px 2px rgba(244, 44, 66, .7);
  animation: signal-ai-beacon-pulse 1s ease-in-out infinite alternate;
}
@keyframes signal-ai-ambulance-glide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}
@keyframes signal-ai-beacon-pulse {
  from { opacity: .42; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-ai-ambulance img, .signal-ai-beacon { animation: none; }
}
@media (max-width: 700px) {
  .signal-ai-intro { display: flex; gap: 8px; }
  .signal-ai-intro h3 { font-size: .82rem; white-space: normal; }
  .signal-ai-intro p { font-size: .64rem; white-space: normal; }
  .signal-ai-ambulance { flex-basis: 104px; width: 104px; height: 42px; }
  .signal-ai-ambulance img { width: 80px; height: 49px; }
  .signal-ai-beacon { right: 24px; top: 12px; }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .signal-ai-columns { grid-template-columns: minmax(0, 1.2fr) minmax(170px, .9fr) minmax(170px, .8fr); gap: 9px; }
  .signal-ai-intro { gap: 8px; }
  .signal-ai-intro h3 { white-space: normal; }
  .signal-ai-intro p { max-height: 2.5em; white-space: normal; }
  .signal-ai-ambulance { flex-basis: 108px; width: 108px; }
  .signal-ai-ambulance img { width: 82px; }
}

/* Compact redesign: the assistant remains complete, but no longer pushes the form
   far below the fold when voice mode is open. */
.signal-ai-assistant {
  position: sticky;
  z-index: 20;
  top: 82px;
  margin: 8px 0 3px;
  padding: 9px 11px;
  border-radius: 13px;
}
.signal-ai-columns {
  grid-template-columns: minmax(0, 1.25fr) minmax(210px, .9fr) minmax(190px, .76fr);
  gap: 10px;
}
.signal-ai-intro { gap: 9px; }
.signal-ai-intro h3 { font-size: .84rem; }
.signal-ai-intro p { font-size: .64rem; }
.signal-ai-ambulance { flex-basis: 116px; width: 116px; height: 42px; }
.signal-ai-ambulance img { width: 82px; height: 50px; }
.signal-ai-beacon { top: 12px; right: 27px; }
.signal-ai-mode-block,
.signal-ai-safety { padding-left: 10px; }
.signal-ai-body {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 6px 12px;
  margin-top: 8px;
  padding-top: 8px;
}
.signal-ai-recording { grid-column: 1 / -1; margin: 0; padding: 5px 8px; }
.signal-ai-status { grid-column: 1; min-height: 17px; }
.signal-ai-actions {
  grid-column: 2;
  justify-content: flex-end;
  margin-top: 0;
}
.signal-ai-actions .button { min-height: 31px; padding-block: 5px; }
.signal-ai-transcript-label { grid-column: 1 / -1; margin-top: 0; }
.signal-ai-transcript {
  grid-column: 1 / -1;
  min-height: 64px;
  height: 58px;
  margin-top: 0;
  padding: 8px 9px;
  font-size: 11px;
}
.signal-ai-message,
.signal-ai-result { grid-column: 1 / -1; margin-top: 0; }
.signal-ai-message { padding: 7px 9px; font-size: 10px; }
.signal-ai-result { margin-top: 1px; padding: 8px 9px; }
.signal-ai-result-head { font-size: 10px; }
.signal-ai-proposals { margin: 6px 0 7px; gap: 3px 10px; }
.signal-ai-proposals li { padding: 2px 0; font-size: 9px; }
.signal-ai-result .button { min-height: 28px; padding-block: 5px; font-size: 10px; }
.signal-ai-warnings { margin-top: 5px; }
.signal-ai-warnings p { font-size: 9px; }

/* The form must continue underneath the assistant while the page scrolls. */
.signal-wizard .form-panel { overflow: visible; }
.signal-ai-assistant::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  content: '';
}

@media (max-width: 700px) {
  .signal-ai-assistant { margin-top: 7px; padding: 8px 9px; }
  .signal-ai-assistant { top: 66px; }
  .signal-ai-columns { display: block; }
  .signal-ai-intro { display: flex; gap: 7px; }
  .signal-ai-intro h3 { font-size: .8rem; }
  .signal-ai-intro p { font-size: .62rem; }
  .signal-ai-ambulance { flex-basis: 96px; width: 96px; height: 38px; }
  .signal-ai-ambulance img { width: 72px; height: 45px; }
  .signal-ai-beacon { top: 11px; right: 22px; }
  .signal-ai-mode-block,
  .signal-ai-safety { margin-top: 6px; padding-top: 6px; padding-left: 0; }
  .signal-ai-body { display: block; margin-top: 7px; padding-top: 7px; }
  .signal-ai-recording { margin-bottom: 5px; }
  .signal-ai-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 7px; }
  .signal-ai-actions .button { width: 100%; min-width: 0; padding-inline: 6px; font-size: 9px; }
  .signal-ai-transcript-label { margin-top: 7px; }
  .signal-ai-transcript { height: 68px; min-height: 68px; margin-top: 5px; }
  .signal-ai-message,
  .signal-ai-result { margin-top: 6px; }
}

/* Presidential presentation layer: a denser institutional grid, restrained
   navy/turquoise accents and consistent rhythm across every operational view. */
#app:not(.dashboard-model) .main-content {
  padding: 15px clamp(16px, 2vw, 28px) 24px;
}
#app:not(.dashboard-model) .page { width: min(100%, 1440px); }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) {
  min-height: 66px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid #155276;
  border-radius: 14px;
  color: #f5fbff;
  background: linear-gradient(112deg, #082f52 0%, #0b5068 62%, #0a6c70 100%);
  box-shadow: 0 10px 22px rgba(8, 47, 82, .17);
}
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-back {
  color: #b9e9f4;
}
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading-icon {
  width: 42px;
  height: 42px;
  border-color: rgba(190, 245, 246, .36);
  color: #d7fffa;
  background: rgba(255, 255, 255, .13);
  box-shadow: none;
}
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading-icon svg { width: 22px; height: 22px; }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading h1 { color: #fff; font-size: clamp(1.15rem, 1.7vw, 1.55rem); }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading p { color: #b9dce9; font-size: .72rem; }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .button { min-height: 34px; border-radius: 8px; padding: 7px 10px; font-size: 10px; }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .button.secondary { border-color: rgba(222, 248, 255, .4); color: #eafaff; background: rgba(255, 255, 255, .1); }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .button.secondary:hover { background: rgba(255, 255, 255, .18); }
#app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .button:not(.secondary) { color: #07333b; background: #84e8d6; box-shadow: 0 6px 14px rgba(0, 0, 0, .14); }

#app:not(.dashboard-model) .panel {
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(26, 78, 106, .07);
}
#app:not(.dashboard-model) .panel-head { padding: 13px 16px 10px; }
#app:not(.dashboard-model) .panel-head p { margin-top: 3px; font-size: .72rem; }
#app:not(.dashboard-model) .panel-body { padding: 0 16px 16px; }
#app:not(.dashboard-model) .filter-bar {
  gap: 8px;
  padding: 9px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 16px rgba(26, 78, 106, .045);
}
#app:not(.dashboard-model) .filter-bar .field { gap: 4px; }
#app:not(.dashboard-model) .filter-bar .field > label { font-size: 10px; }
#app:not(.dashboard-model) .filter-bar .field input,
#app:not(.dashboard-model) .filter-bar .field select { min-height: 36px; padding: 7px 9px; font-size: 11px; }
#app:not(.dashboard-model) .filter-bar .button { min-height: 34px; padding: 7px 10px; font-size: 10px; }
#app:not(.dashboard-model) .register-summary { gap: 0; margin-bottom: 0; overflow: hidden; border: 1px solid #d3e4ed; border-radius: 12px 12px 0 0; background: linear-gradient(120deg, #f8fcff, #edf8fb); }
#app:not(.dashboard-model) .register-summary > div { min-height: 66px; padding: 10px 13px; border-right: 1px solid #dbe8ef; }
#app:not(.dashboard-model) .register-summary > div:last-child { border-right: 0; }
#app:not(.dashboard-model) .register-summary span { font-size: 9px; }
#app:not(.dashboard-model) .register-summary strong { margin-top: 5px; color: #0b527b; font-size: 1.45rem; }
#app:not(.dashboard-model) .register-panel { overflow: hidden; }
#app:not(.dashboard-model) .data-table { font-size: 11px; }
#app:not(.dashboard-model) .data-table th { padding: 8px 10px; color: #4c728a; font-size: 9px; background: #edf7fb; }
#app:not(.dashboard-model) .data-table td { padding: 9px 10px; }
#app:not(.dashboard-model) .data-table strong { font-size: 11px; }
#app:not(.dashboard-model) .data-table small { font-size: 9px; }
#app:not(.dashboard-model) .table-actions .button { min-height: 29px; padding: 6px 8px; font-size: 10px; }
#app:not(.dashboard-model) .empty-state { padding: 27px 18px; }
#app:not(.dashboard-model) .reference-grid { gap: 12px; }
#app:not(.dashboard-model) .reference-summary { gap: 7px; margin-bottom: 10px; }
#app:not(.dashboard-model) .reference-summary div { padding: 9px 10px; border-radius: 9px; }
#app:not(.dashboard-model) .reference-summary strong { font-size: 1.18rem; }
#app:not(.dashboard-model) .source-card { padding: 11px; border-radius: 10px; }
#app:not(.dashboard-model) .record-hero { gap: 12px; padding: 15px; margin-bottom: 12px; border-radius: 12px; }
#app:not(.dashboard-model) .detail-card { min-height: 62px; padding: 10px; border-radius: 9px; }
#app:not(.dashboard-model) .review-decision { margin-top: 12px; padding: 13px; }
#app:not(.dashboard-model) .modal { border-radius: 15px; }
#app:not(.dashboard-model) .modal-head { padding: 12px 15px; }
#app:not(.dashboard-model) .modal-body { padding: 15px; }

/* Dashboard density: preserve the data hierarchy while reclaiming vertical space. */
#app.dashboard-model .health-dashboard { padding-bottom: 10px; }
#app.dashboard-model .health-dashboard-toolbar { padding: 7px 9px; }
#app.dashboard-model .health-tabs { margin: 6px 0; padding: 3px; }
#app.dashboard-model .health-tab { min-height: 31px; padding: 6px 8px; font-size: 10px; }
#app.dashboard-model .health-dashboard-content { gap: 7px; }
#app.dashboard-model .health-kpi-grid,
#app.dashboard-model .health-visual-grid,
#app.dashboard-model .health-decision-grid,
#app.dashboard-model .health-bottom-grid,
#app.dashboard-model .health-overview-rows { gap: 7px; }
#app.dashboard-model .health-kpi { min-height: 82px; padding: 10px 9px; }
#app.dashboard-model .health-kpi-icon { width: 31px; height: 31px; }
#app.dashboard-model .health-kpi-icon svg { width: 19px; height: 19px; }
#app.dashboard-model .health-kpi strong { font-size: clamp(1.2rem, 1.8vw, 1.75rem); }
#app.dashboard-model .health-panel { border-radius: 8px; box-shadow: 0 5px 13px rgba(30, 76, 113, .055); }
#app.dashboard-model .health-panel-head { padding: 9px 11px 6px; }
#app.dashboard-model .health-panel-head h2 { font-size: 12px; }
#app.dashboard-model .health-panel-head p { margin-top: 3px; font-size: 8px; }
#app.dashboard-model .health-panel-body { padding: 8px 11px 10px; }
#app.dashboard-model .health-dashboard-footer { margin-top: 7px; padding: 7px 10px; font-size: 9px; }

@media (max-width: 780px) {
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) { min-height: 60px; padding: 9px 10px; border-radius: 12px; }
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading-icon { width: 36px; height: 36px; }
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading h1 { font-size: 1.12rem; }
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .page-heading p { font-size: .65rem; }
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .topbar-actions { gap: 5px; }
  #app:not(.dashboard-model) .topbar.page-toolbar:not(.signal-page-topbar) .topbar-actions .button { min-height: 32px; padding: 6px 8px; font-size: 9px; }
  #app:not(.dashboard-model) .panel-head { padding-inline: 12px; }
  #app:not(.dashboard-model) .panel-body { padding-inline: 12px; }
  #app:not(.dashboard-model) .register-summary > div { min-height: 59px; padding: 8px 9px; }
  #app:not(.dashboard-model) .register-summary span { font-size: 8px; }
  #app:not(.dashboard-model) .register-summary strong { font-size: 1.2rem; }
  #app.dashboard-model .health-dashboard-toolbar { padding: 7px; }
  #app.dashboard-model .health-kpi { min-height: 70px; padding: 8px; }
}
