/* [project]/app/globals.css [app-client] (css) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
}

body {
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
  flex-direction: column;
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
  display: flex;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

:root {
  --color-noir: #1a1a1a;
  --color-blanc: #fff;
  --color-rouge: #d32f2f;
  --color-rouge-dark: #b71c1c;
  --color-gris-light: #f5f5f5;
  --color-gris-border: #e0e0e0;
  --color-gris-text: #666;
  --color-gris-dark: #333;
  --header-height: 80px;
  --sidebar-width: 280px;
  --shadow-sm: 0 1px 3px #0000001a;
  --shadow-md: 0 4px 12px #00000026;
  --transition-fast: .2s ease;
}

.app-container {
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  display: flex;
}

.app-overlay {
  z-index: 45;
  background-color: #00000080;
  position: fixed;
  inset: 0;
}

.sidebar {
  background-color: var(--color-noir);
  width: 0;
  height: 100vh;
  color: var(--color-blanc);
  transition: width var(--transition-fast);
  z-index: 50;
  padding-top: var(--header-height);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.sidebar.open {
  width: var(--sidebar-width);
}

.sidebar nav {
  flex: 1;
  padding: 24px 16px;
}

.sidebar nav > div {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.sidebar-item {
  width: 100%;
  color: var(--color-blanc);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  background: none;
  border: none;
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.sidebar-item:hover {
  background-color: var(--color-rouge);
}

.sidebar-bottom {
  border-top: 1px solid var(--color-gris-dark);
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 16px;
  display: flex;
}

.sidebar-admin-btn {
  background-color: var(--color-rouge);
  width: 100%;
  color: var(--color-blanc);
  cursor: pointer;
  text-align: center;
  border: none;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
}

.sidebar-admin-btn:hover {
  background-color: var(--color-rouge-dark);
}

.header {
  height: var(--header-height);
  background-color: var(--color-blanc);
  border-bottom: 1px solid var(--color-gris-border);
  z-index: 60;
  box-shadow: var(--shadow-sm);
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header-toggle {
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 6px;
  padding: 8px;
}

.header-toggle:hover {
  background-color: var(--color-gris-light);
}

.header-logo {
  align-items: center;
  gap: 8px;
  display: flex;
}

.header-logo-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
}

.header-logo-text {
  font-size: 20px;
  font-weight: 700;
}

.header-left {
  align-items: center;
  gap: 8px;
  display: flex;
}

.header-spacer {
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 0 260px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
}

.main-content {
  margin-top: var(--header-height);
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
}

.content-area {
  flex: 1;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: 24px 16px 70px;
  display: flex;
}

.content-wrapper {
  width: 100%;
  min-width: 0;
  max-width: min(90vw, 1400px);
  margin: 0 auto;
  padding: 0;
}

.page-title {
  color: #111;
  margin-top: 28px;
  margin-bottom: 28px;
  font-size: 28px;
  font-weight: 700;
}

.section-spacer {
  margin-bottom: 12px;
}

.section-spacer-lg {
  margin-bottom: 16px;
}

.spacer-top-sm {
  margin-top: 10px;
}

.spacer-top {
  margin-top: 12px;
}

.uiCard {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px #0f172a14;
}

.form-field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.form-label {
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.form-hint {
  color: #6b7280;
  font-size: 12px;
}

.form-actions {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.text-muted {
  color: #6b7280;
  font-size: 14px;
}

.text-danger {
  color: #b91c1c;
  font-size: 14px;
}

.text-strong {
  font-weight: 800;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.table-full {
  width: 100%;
}

.table-nowrap {
  white-space: nowrap;
}

.action-row {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.inline-action {
  margin-left: 8px;
}

.flex-row {
  display: flex;
}

.flex-row-center {
  align-items: center;
  display: flex;
}

.flex-row-between {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.justify-end {
  justify-content: flex-end;
}

.gap-6 {
  gap: 6px;
}

.gap-12 {
  gap: 12px;
}

.btn-block {
  width: 100%;
}

.text-eyebrow {
  color: var(--color-gris-text);
  letter-spacing: .02em;
  font-size: 12px;
  font-weight: 600;
}

.select-compact {
  max-width: 280px;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  display: grid;
}

.card {
  background-color: var(--color-blanc);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-gris-border);
  border-radius: 8px;
  padding: 24px;
}

.card-header {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.card-header--spread {
  justify-content: space-between;
  width: 100%;
}

.card-icon {
  background-color: var(--color-rouge);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-description {
  color: var(--color-gris-text);
  margin-bottom: 16px;
  font-size: 14px;
}

.card-button {
  background-color: var(--color-rouge);
  width: 100%;
  color: var(--color-blanc);
  cursor: pointer;
  border: none;
  border-radius: 6px;
  justify-content: center;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.card-button:hover {
  background-color: var(--color-rouge-dark);
}

.dashboard-metric {
  margin-top: 10px;
}

.dashboard-metric-value {
  font-size: 28px;
  line-height: 1.1;
  display: block;
}

.scan-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.scan-card {
  border: 1px solid var(--color-gris-border);
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px #00000014;
}

.scan-camera {
  text-align: center;
}

.scan-camera-frame {
  aspect-ratio: 16 / 10;
  background: #fafafa;
  border: 2px dashed #b71c1c;
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.scan-camera-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.scan-camera-overlay {
  text-align: center;
  color: #b71c1c;
  background: #fafafabf;
  justify-content: center;
  align-items: center;
  padding: 18px;
  font-weight: 700;
  display: flex;
  position: absolute;
  inset: 0;
}

.scan-camera-hint {
  color: #555;
  text-align: center;
  margin: 12px 0 18px;
  font-size: .95rem;
}

.scan-form {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.scan-label {
  color: #111;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  display: flex;
}

.scan-input {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
}

.scan-input:focus {
  border-color: #b71c1c;
  outline: none;
  box-shadow: 0 0 0 2px #b71c1c26;
}

.btn-primary {
  color: #fff;
  cursor: pointer;
  background: #b71c1c;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  transition: background .2s;
}

.btn-primary:hover {
  background: #d32f2f;
}

.footer {
  border-top: 1px solid var(--color-gris-border);
  background: var(--color-blanc);
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  color: var(--color-gris-text);
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 12px 24px;
  font-size: 12px;
  display: flex;
}

.footer-left {
  font-weight: 600;
}

.footer-right {
  align-items: center;
  gap: 6px;
  display: flex;
}

.footer-sep {
  opacity: .5;
}

@media (max-width: 768px) {
  .content-area {
    padding: 22px 14px;
  }

  .page-title {
    margin-top: 18px;
    margin-bottom: 18px;
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

.header-toggle {
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
}

.header-back-btn {
  background: var(--color-blanc);
  width: 44px;
  height: 44px;
  color: var(--color-noir);
  border: 2px solid var(--color-noir);
  cursor: pointer;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  transition: background-color .2s, color .2s, transform .12s, border-color .2s;
  display: inline-flex;
}

.header-back-btn:hover {
  background: var(--color-rouge);
  color: var(--color-blanc);
  border-color: var(--color-rouge);
  transform: scale(1.06);
}

.header-back-btn:active {
  transform: scale(.98);
}

.header-back-btn:focus-visible, .header-toggle:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #d32f2f59;
}

.main-content {
  padding-top: 12px;
}

.page-title {
  margin-top: calc(var(--header-height)  + 16px);
  color: #111;
  margin-bottom: 28px;
  font-size: 1.6rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .page-title {
    margin-top: calc(var(--header-height)  + 24px);
    font-size: 1.45rem;
  }

  .header {
    padding: 12px 16px;
  }

  .header-logo h1 {
    font-size: 18px;
  }

  .header-spacer {
    white-space: nowrap;
    flex: 1;
    font-size: 12px;
    line-height: 1.3;
  }
}

.content-area {
  width: 100%;
  padding: 24px 16px 70px;
}

.content-wrapper {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
}

.page-title {
  margin: calc(var(--header-height)  + 8px) 0 18px;
  color: #111827;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
}

@media (max-width: 768px) {
  .content-area {
    padding: 18px 12px 60px;
  }

  .content-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .page-title {
    margin-top: calc(var(--header-height)  + 12px);
    margin-bottom: 16px;
    font-size: 22px;
  }

  .suivi-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .suivi-filter {
    width: 100%;
    min-width: 0;
  }

  .suivi-actions {
    flex-direction: column;
  }
}

.lighting-actions {
  justify-content: center;
  gap: 12px;
  margin: 6px 0 18px;
  display: flex;
}

.lighting-action-button {
  color: #111827;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s, border-color .12s;
  display: inline-flex;
  box-shadow: 0 10px 30px #0f172a0f;
}

.lighting-action-button:hover {
  border-color: #ef4444;
  transform: translateY(-1px);
}

.lighting-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px #0f172a14;
}

.lighting-title {
  color: #111827;
  letter-spacing: .02em;
  margin: 4px 0 8px;
  font-size: 14px;
  font-weight: 800;
}

.lighting-demo-note {
  color: #374151;
  background: #f3f4f6;
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto 14px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.lighting-notfound {
  color: #991b1b;
  margin: 0 0 12px;
  font-weight: 700;
}

.lighting-header {
  background: #f7fafc;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  gap: 18px;
  padding: 16px;
  display: flex;
}

.lighting-photo-block {
  flex: 0 0 230px;
  width: 230px;
}

.lighting-photo {
  background: #fff;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  justify-content: center;
  align-items: center;
  height: 170px;
  display: flex;
  overflow: hidden;
}

.lighting-photo--clickable {
  cursor: zoom-in;
  border-style: solid;
}

.lighting-photo-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.lighting-photo-placeholder {
  text-align: center;
  color: #6b7280;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  display: flex;
}

.lighting-photo-top {
  letter-spacing: .08em;
}

.lighting-photo-example {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
}

.lighting-photo-hint {
  color: #6b7280;
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.35;
}

.lighting-summary {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  min-width: 0;
  display: flex;
}

.lighting-subtitle {
  color: #374151;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
}

.lighting-summary-list {
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 0;
  display: grid;
}

.lighting-summary-item {
  grid-template-columns: 170px 1fr;
  align-items: baseline;
  gap: 10px;
  display: grid;
}

.lighting-summary-key {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.lighting-summary-value {
  color: #374151;
  font-size: 13px;
  font-weight: 700;
}

.lighting-details {
  margin-top: 18px;
}

.lighting-details-header {
  text-align: center;
  margin: 10px 0 14px;
}

.lighting-details-title {
  letter-spacing: .18em;
  color: #111827;
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.lighting-details-subtitle {
  color: #6b7280;
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.lighting-grid {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.lighting-row {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  grid-template-columns: 280px 1fr 44px;
  align-items: center;
  padding: 14px;
  display: grid;
  box-shadow: 0 10px 30px #0f172a0d;
}

.lighting-key {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.lighting-value {
  color: #374151;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}

.lighting-edit-button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 14px;
  transition: transform .12s, border-color .12s;
  box-shadow: 0 10px 30px #0f172a0f;
}

.lighting-edit-button:hover {
  border-color: #ef4444;
  transform: translateY(-1px);
}

.lighting-edit-input {
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.lighting-edit-input:focus {
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 0 3px #d32f2f26;
}

.photo-lightbox {
  z-index: 120;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.photo-lightbox-backdrop {
  background: #000000b8;
  position: absolute;
  inset: 0;
}

.photo-lightbox-content {
  z-index: 1;
  background: #0f172a;
  border-radius: 12px;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px #00000059;
}

.photo-lightbox-content img {
  object-fit: contain;
  background: #0f172a;
  max-width: 90vw;
  max-height: 90vh;
  display: block;
}

.photo-lightbox-close {
  color: #111827;
  cursor: pointer;
  background: #ffffffd9;
  border: none;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 8px 24px #0003;
}

.photo-lightbox-close:hover {
  background: #fff;
}

.auth-page {
  justify-content: center;
  padding: 28px 18px 80px;
  display: flex;
}

.auth-shell {
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  display: flex;
}

.auth-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  padding: 22px 20px;
  display: flex;
  box-shadow: 0 10px 30px #0f172a14;
}

.auth-header {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.auth-logo {
  align-self: flex-start;
  width: 48px;
  height: 48px;
}

.auth-eyebrow {
  letter-spacing: .08em;
  color: #ef4444;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.auth-title {
  color: #111827;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.auth-subtitle {
  color: #4b5563;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.auth-form {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.auth-field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.auth-label {
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.auth-input {
  color: #111827;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
}

.auth-input:focus {
  background: #fff;
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 0 3px #d32f2f26;
}

.auth-submit {
  width: 100%;
  height: 44px;
  font-size: 15px;
}

.btn-primary:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.auth-message {
  border-radius: 10px;
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
}

.auth-message--ok {
  color: #065f46;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
}

.auth-message--err {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecdd3;
}

@media (max-width: 820px) {
  .lighting-header {
    flex-direction: column;
  }

  .lighting-photo-block {
    flex: none;
    width: 100%;
  }

  .lighting-summary-list {
    grid-template-columns: 1fr;
  }

  .lighting-summary-item {
    grid-template-columns: 140px 1fr;
  }

  .lighting-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lighting-edit-button {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .lighting-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .lighting-action-button {
    height: 36px;
    font-size: .9rem;
  }

  .lighting-card {
    padding: 16px;
  }

  .lighting-header {
    padding: 14px;
  }

  .lighting-summary-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .lighting-summary-key, .lighting-summary-value {
    font-size: 12px;
  }
}

.subpage-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  display: flex;
  box-shadow: 0 10px 30px #0f172a14;
}

.subpage-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.subpage-eyebrow {
  color: #6b7280;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.subpage-title {
  color: #111827;
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 800;
}

.subpage-tag {
  color: #374151;
  white-space: nowrap;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.maintenance-questionnaire {
  background: #f9fafb;
  border: 1px solid #e7edf5;
  border-radius: 14px;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  display: flex;
}

.maintenance-questionnaire-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.maintenance-helper {
  color: #6b7280;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.maintenance-question {
  border-top: 1px solid #e5e7eb;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: start;
  gap: 16px;
  padding-top: 12px;
  display: grid;
}

.maintenance-question:first-of-type {
  border-top: none;
  padding-top: 0;
}

.maintenance-label {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.maintenance-value {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.maintenance-choice-group {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.maintenance-choice {
  cursor: pointer;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.maintenance-choice input {
  accent-color: #b71c1c;
}

.maintenance-choice.yes {
  color: #065f46;
  background: #ecfdf3;
  border-color: #a7f3d0;
}

.maintenance-choice.no {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}

.maintenance-input textarea, .maintenance-input input {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
}

.maintenance-input.inline input {
  max-width: 320px;
}

.maintenance-input textarea:focus, .maintenance-input input:focus {
  border-color: #b71c1c;
  outline: none;
  box-shadow: 0 0 0 2px #b71c1c26;
}

.maintenance-highlight {
  background: #fff7ed;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  display: grid;
}

.maintenance-highlight-date {
  color: #7c2d12;
  font-size: 16px;
  font-weight: 800;
}

.maintenance-highlight-text {
  color: #7c2d12;
  font-size: 13px;
  font-weight: 700;
}

.maintenance-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.maintenance-item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  display: flex;
}

.maintenance-status {
  color: #111827;
  background: #f3f4f6;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
}

.maintenance-status.pending {
  color: #92400e;
  background: #fff7ed;
}

.maintenance-page-actions {
  justify-content: flex-end;
  margin-top: 18px;
  display: flex;
}

.maintenance-validate {
  color: #fff;
  cursor: pointer;
  background: #b71c1c;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  transition: background .2s, transform .2s;
}

.maintenance-validate:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

.photo-upload {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.photo-upload-frame {
  text-align: center;
  background: #f8fafc;
  border: 2px dashed #cbd5f5;
  border-radius: 16px;
  padding: 24px;
}

.photo-upload-placeholder {
  color: #4b5563;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  display: flex;
}

.photo-upload-hint {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.photo-upload-actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.photo-upload-input {
  display: none;
}

.photo-upload-button {
  color: #fff;
  cursor: pointer;
  background: #b71c1c;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}

.photo-upload-button.secondary {
  background: #111827;
}

.photo-upload-button:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

.photo-upload-button.secondary:hover {
  background: #1f2937;
}

.photo-upload-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.photo-upload-status {
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
}

.photo-upload-error {
  color: #b91c1c;
  font-size: 13px;
  font-weight: 700;
}

.photo-upload-alert {
  color: #b91c1c;
  background: #fee2e2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
}

.admin-grid {
  gap: 18px;
  display: grid;
}

.admin-description {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
}

.admin-actions {
  flex-wrap: wrap;
  gap: 12px;
  display: flex;
}

.admin-button {
  color: #fff;
  cursor: pointer;
  background: #b71c1c;
  border: none;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
  display: inline-flex;
}

.admin-button.secondary {
  background: #111827;
}

.admin-button:hover {
  background: #d32f2f;
  transform: translateY(-1px);
}

.admin-button.secondary:hover {
  background: #1f2937;
}

.admin-button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.admin-status {
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.admin-status.success {
  color: #0f766e;
}

.admin-status.error {
  color: #b91c1c;
}

.dashboard-section {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  margin-top: 24px;
  padding: 20px;
  box-shadow: 0 10px 30px #0f172a14;
}

.dashboard-section-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.dashboard-eyebrow {
  color: #6b7280;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-title {
  color: #111827;
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
}

.dashboard-tag {
  color: #374151;
  white-space: nowrap;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  display: grid;
}

.dashboard-card {
  background: #f9fafb;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 16px;
  display: flex;
}

.dashboard-card--suivi {
  gap: 10px;
}

.dashboard-card h4 {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.dashboard-help {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-card-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  display: flex;
}

.suivi-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.suivi-title {
  color: #111827;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.suivi-filter {
  border: 1px solid var(--color-gris-border);
  background: var(--color-blanc);
  border-radius: 10px;
  min-width: 200px;
  padding: 8px 10px;
  font-size: 13px;
}

.suivi-stats-list {
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  display: flex;
}

.suivi-stat strong {
  min-width: 28px;
  display: inline-block;
}

.suivi-stats-line {
  color: #111827;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.suivi-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  display: flex;
}

.suivi-actions .card-button, .dashboard-card-actions .card-button {
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 44px;
  font-size: 14px;
  display: inline-flex;
}

.chart-bar-group {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.chart-bar {
  color: #374151;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.chart-bar-track {
  background: #e5e7eb;
  border-radius: 999px;
  height: 10px;
  position: relative;
  overflow: hidden;
}

.chart-bar-fill {
  background: #b71c1c;
  height: 100%;
}

.chart-bar-fill.warning {
  background: #f97316;
}

.chart-bar-fill.danger {
  background: #ef4444;
}

.chart-bar-fill.muted {
  background: #9ca3af;
}

.chart-bar-fill.w-72 {
  width: 72%;
}

.chart-bar-fill.w-28 {
  width: 28%;
}

.chart-bar-fill.w-45 {
  width: 45%;
}

.chart-bar-fill.w-35 {
  width: 35%;
}

.chart-bar-fill.w-20 {
  width: 20%;
}

.chart-pill-group {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  display: grid;
}

.chart-pill {
  color: #374151;
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.chart-pill strong {
  color: #111827;
  font-size: 18px;
}

.chart-pill.warning {
  color: #b45309;
  background: #fff7ed;
  border-color: #fdba74;
}

.report-editor {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.report-field {
  color: #111827;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.report-field.full {
  grid-column: span 2;
}

.report-input, .report-textarea {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
}

.report-input:focus, .report-textarea:focus {
  border-color: #b71c1c;
  outline: none;
  box-shadow: 0 0 0 2px #b71c1c26;
}

.report-textarea {
  resize: vertical;
}

.report-actions {
  flex-wrap: wrap;
  grid-column: span 2;
  gap: 12px;
  display: flex;
}

.management-layout {
  gap: 18px;
  display: grid;
}

.management-form {
  gap: 12px;
  display: grid;
}

.management-field {
  color: #111827;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.management-input {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

.management-input:focus {
  border-color: #b71c1c;
  outline: none;
  box-shadow: 0 0 0 2px #b71c1c26;
}

.management-actions {
  justify-content: flex-start;
  display: flex;
}

.management-list {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.management-item {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 12px;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  display: flex;
}

.management-item-main {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.management-meta-block {
  color: #4b5563;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.management-tag {
  color: #111827;
  font-weight: 800;
}

.management-meta {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
}

.management-item-actions {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

@media (max-width: 640px) {
  .subpage-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .subpage-tag {
    align-self: flex-start;
  }

  .subpage-card {
    padding: 16px;
  }

  .photo-upload-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-upload-frame {
    padding: 18px;
  }

  .admin-actions, .management-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-section {
    padding: 16px;
  }

  .dashboard-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-bar, .chart-pill-group, .report-editor {
    grid-template-columns: 1fr;
  }

  .report-field.full, .report-actions {
    grid-column: span 1;
  }
}

.filtersGrid {
  grid-template-columns: 1fr 1fr 220px;
  gap: 12px;
  margin-bottom: 14px;
  display: grid;
}

@media (max-width: 900px) {
  .filtersGrid {
    grid-template-columns: 1fr;
  }
}

.filterField {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.filterLabel {
  color: var(--color-gris-dark);
  font-size: 12px;
  font-weight: 700;
}

.adminsPageTable th, .adminsPageTable td {
  border-bottom: 1px solid var(--color-gris-border);
  vertical-align: middle;
  padding: 10px 12px;
  font-size: 13px;
}

.actionsCol {
  width: 210px;
}

.actionsCell {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
}

.filtersGrid {
  border: 1px solid var(--color-gris-border);
  box-shadow: var(--shadow-sm);
  background: #fafafa;
  border-radius: 12px;
  padding: 12px;
}

.filterRow {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.filterMeta {
  align-items: center;
  gap: 10px;
  display: flex;
}

.filterGroup {
  min-width: 220px;
}

.filtersGrid .filterChip {
  border: 1px solid var(--color-gris-border);
  background: #fff;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.uiBtn--primary {
  color: #fff;
  background: linear-gradient(#d32f2f, #b71c1c);
  border-color: #b91c1c;
}

.uiBtn--primary:hover {
  background: linear-gradient(#ef4444, #b91c1c);
  border-color: #b91c1c;
}

.actionsCell .uiBtn {
  min-width: 90px;
}

.actionsCell {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.uiBtn:disabled {
  opacity: .6;
  cursor: not-allowed;
  box-shadow: none;
}

.manageHeader {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  display: flex;
}

.manageTitle {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
}

.manageSubTitle {
  color: var(--color-gris-text);
  font-size: 13px;
}

.manageCount {
  border: 1px solid var(--color-gris-border);
  color: var(--color-gris-dark);
  white-space: nowrap;
  background: #fafafa;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.filtersGrid {
  border: 1px solid var(--color-gris-border);
  box-shadow: var(--shadow-sm);
  background: #fafafa;
  border-radius: 12px;
  grid-template-columns: 1fr 1fr 220px;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  display: grid;
}

@media (max-width: 900px) {
  .filtersGrid {
    grid-template-columns: 1fr;
  }
}

.filterField {
  background: var(--color-blanc);
  border: 1px solid var(--color-gris-border);
  border-radius: 12px;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  display: flex;
}

.filterLabel {
  letter-spacing: .2px;
  color: var(--color-gris-dark);
  font-size: 12px;
  font-weight: 900;
}

.filtersGrid .input {
  border: 1px solid var(--color-gris-border);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: #fff;
  border-radius: 10px;
  outline: none;
  padding: 10px 12px;
}

.filtersGrid .input:focus {
  border-color: var(--color-rouge);
  box-shadow: 0 0 0 3px #d32f2f2e;
}

.filtersGrid select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-gris-text) 50%), linear-gradient(135deg, var(--color-gris-text) 50%, transparent 50%), linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 13px) calc(50% - 2px), calc(100% - 38px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px, 1px 60%;
  padding-right: 44px;
}

.tableScroll {
  border: 1px solid var(--color-gris-border);
  background: var(--color-blanc);
  border-radius: 10px;
  max-height: 68vh;
  overflow: auto;
}

.adminsPageTable {
  border-collapse: collapse;
  width: 100%;
  min-width: 1400px;
}

.adminsPageTable th, .adminsPageTable td {
  border-bottom: 1px solid var(--color-gris-border);
  vertical-align: middle;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 13px;
}

.adminsPageTable tbody tr:hover {
  background: #fcfcfc;
}

.adminsPageTable thead th {
  z-index: 2;
  border-bottom: 1px solid var(--color-gris-border);
  background: #fafafa;
  position: sticky;
  top: 0;
}

.actionsColLeft {
  text-align: left;
  width: 240px;
}

.actionsCellLeft {
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  display: flex;
}

.adminsPageTable th.actionsColLeft, .adminsPageTable td.actionsCellLeft {
  z-index: 3;
  background: var(--color-blanc);
  border-right: 1px solid var(--color-gris-border);
  position: sticky;
  left: 0;
}

.adminsPageTable th.actionsColLeft {
  z-index: 4;
  background: #fafafa;
}

.uiBtn {
  letter-spacing: .2px;
  height: 36px;
  color: var(--color-noir);
  border: 1px solid var(--color-gris-border);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform 80ms ease;
  background: linear-gradient(#fff, #f6f6f6);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
}

.uiBtn:hover {
  border-color: var(--color-rouge);
  background: #fff;
}

.uiBtn:active {
  transform: translateY(1px);
}

.uiBtn--danger {
  color: var(--color-rouge-dark);
  background: linear-gradient(#fff5f5, #ffecec);
  border-color: #f1b5b5;
}

.uiBtn--danger:hover {
  border-color: var(--color-rouge);
  background: #ffeaea;
}

.input--sm {
  height: 34px;
  padding: 8px 10px;
  font-size: 13px;
}

.statusPill {
  border: 1px solid var(--color-gris-border);
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
}

.statusPill--ok {
  background: #e8f5e9;
  border-color: #c8e6c9;
}

.statusPill--off {
  background: #ffebee;
  border-color: #ffcdd2;
}

.rowArchived {
  opacity: .75;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
}

.manageWideCard {
  width: 95%;
  max-width: 95vw;
  margin-left: auto;
  margin-right: auto;
}

.filtersGrid--6 {
  grid-template-columns: repeat(6, minmax(160px, 1fr));
}

@media (max-width: 1200px) {
  .filtersGrid--6 {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

@media (max-width: 900px) {
  .filtersGrid--6 {
    grid-template-columns: 1fr;
  }
}

.tableScroll--always {
  scrollbar-gutter: stable both-edges;
  max-height: 62vh;
  overflow: scroll;
}

@media (max-width: 900px) {
  .tableScroll--always {
    max-height: 58vh;
  }
}

.wizard-shell {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.wizard-header {
  background: linear-gradient(135deg, #fff, #f7fafc);
  border: 1px solid #e7edf5;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  display: flex;
  box-shadow: 0 12px 30px #0f172a0f;
}

.wizard-eyebrow {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ef4444;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
}

.wizard-title {
  color: #111827;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.wizard-subtitle {
  color: #4b5563;
  margin: 4px 0 0;
  font-size: 13px;
}

.wizard-step-chip {
  color: #fff;
  background: #111827;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}

.wizard-card {
  background: #fff;
  border: 1px solid #e7edf5;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 36px #0f172a14;
}

.wizard-step-head {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}

.wizard-step-label {
  color: #6b7280;
  letter-spacing: .08em;
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.wizard-step-title {
  color: #111827;
  margin: 2px 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.wizard-step-subtitle {
  color: #4b5563;
  white-space: pre-line;
  margin: 0;
  font-size: 13px;
}

.wizard-status-pill {
  color: #111827;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
}

.wizard-step-body {
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  display: flex;
}

.wizard-nav {
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  display: flex;
}

.wizard-progress {
  background: #f3f4f6;
  border-radius: 999px;
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
}

.wizard-progress-bar {
  background: linear-gradient(90deg, #d32f2f, #ef4444);
  height: 100%;
}

.wizard-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  display: grid;
}

.wizard-info-tile {
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  border-radius: 10px;
  padding: 12px;
}

.wizard-info-label {
  color: #6b7280;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.wizard-info-value {
  color: #111827;
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.wizard-highlight {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 12px;
  padding: 12px;
}

.wizard-highlight-title {
  color: #92400e;
  margin: 0 0 6px;
  font-weight: 800;
}

.wizard-highlight-text {
  color: #b45309;
  margin: 0;
  font-size: 13px;
}

.wizard-highlight-badge {
  color: #fff;
  background: #111827;
  border-radius: 999px;
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}

.wizard-choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  display: grid;
}

.wizard-choice {
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform 80ms ease;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-weight: 800;
}

.wizard-choice:hover {
  border-color: #ef4444;
}

.wizard-choice.active {
  color: #fff;
  background: linear-gradient(135deg, #d32f2f, #ef4444);
  border-color: #b91c1c;
  transform: translateY(-1px);
}

.wizard-stack {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.wizard-input {
  color: #111827;
  resize: vertical;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 15px;
}

.wizard-input:focus {
  background: #fff;
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 0 3px #d32f2f26;
}

.wizard-summary {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.wizard-summary-row {
  background: #f9fafb;
  border: 1px solid #e7edf5;
  border-radius: 10px;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
}

.wizard-summary-row span {
  color: #6b7280;
  font-weight: 700;
}

.wizard-summary-row strong {
  color: #111827;
  font-weight: 800;
}

.wizard-summary-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  display: grid;
}

.wizard-alert {
  color: #111827;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  font-size: 13px;
}

.wizard-alert.repassage {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecdd3;
}

.wizard-alert.notice {
  color: #3730a3;
  background: #eef2ff;
  border-color: #c7d2fe;
}

.wizard-alert--spaced {
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .wizard-header, .wizard-card {
    padding: 14px;
  }

  .wizard-step-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard-nav {
    flex-direction: column;
  }

  .wizard-step-chip {
    align-self: flex-start;
  }
}

/*# sourceMappingURL=app_globals_71f961d1.css.map*/