@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-body: #f6f7fb;
  --bg-card: #ffffff;
  --bg-card-alt: #eef2f7;
  --accent: #10b981;
  --accent-strong: #0ea76a;
  --accent-soft: rgba(16, 185, 129, 0.12);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-subtle: #e2e8f0;
  --danger: #dc2626;
  --success: #16a34a;
  --warning: #ea580c;
  --radius-lg: 12px;
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
  --font-primary: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bottom-nav-safe: 0px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  line-height: 1.6;
  background: linear-gradient(140deg, #f8fafc 0%, #f2f4f8 45%, #e9edf5 100%);
  color: var(--text-main);
  min-height: 100%;
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(115deg, #ffffff 0%, #f5f7fb 50%, #eef2f7 100%);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(6px);
}
.app-header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 14px;
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.25), transparent 55%), linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #03100b;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.main-nav a {
  color: #1f2937;
  text-decoration: none;
  margin-right: 0.75rem;
  font-size: 0.9rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.nav-toggle {
  display: none;
  position: relative;
  width: 36px;
  height: 32px;
  border: 1px solid rgba(134, 239, 172, 0.25);
  border-radius: 10px;
  background: var(--bg-card-alt);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
  z-index: 2100;
}
.nav-toggle span {
  display: block;
  width: 8px;
  height: 8px;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.2s ease;
}
.main-nav a:hover {
  background: var(--accent-soft);
  color: #065f46;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.18);
}
.main-nav a.active {
  background: var(--accent-soft);
  color: #065f46;
}
.app-header-right {
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-root {
  max-width: 1200px;
  margin: 0.5rem auto 2rem;
  padding: 0 1.25rem 1rem;
}
.hero-banner {
  max-width: 1200px;
  margin: 1.5rem auto 1rem;
  padding: 0 1.25rem;
}
.ios-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.6rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.ios-hint-title {
  font-weight: 700;
}
.ios-hint-text {
  color: #d1d8e5;
}
.hero-inner {
  padding: 1.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f8fc 55%, #eef2f7 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}
.hero-inner h1 {
  margin-bottom: 0.35rem;
}
.hero-inner h2 {
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.hero-meta {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}
.card {
  background: linear-gradient(145deg, #ffffff 0%, #fbfcff 60%, #f6f8fc 100%);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}
.card + .card {
  margin-top: 1rem;
}
h1, h2, h3 {
  margin: 0 0 0.75rem;
  font-weight: 700;
}
h1 {
  font-size: 1.7rem;
}
h2 {
  font-size: 1.25rem;
  color: var(--text-main);
}
.page-title {
  font-weight: 700;
  color: var(--text-main);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}
.table-wrapper {
  margin-top: 0.75rem;
  overflow-x: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.table th,
.table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}
.table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  background: #f8fafc;
}
.table tr:hover td {
  background: #f1f5f9;
}
.table .ticket-row--nouveau td {
  background: rgba(14, 165, 233, 0.08);
  border-left: 3px solid rgba(14, 165, 233, 0.4);
}
.table .ticket-row--en_cours td {
  background: rgba(234, 88, 12, 0.08);
  border-left: 3px solid rgba(234, 88, 12, 0.45);
}
.table .ticket-row--clos td {
  background: rgba(22, 163, 74, 0.08);
  border-left: 3px solid rgba(22, 163, 74, 0.45);
}
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 500;
}
.header-badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ticket-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.ticket-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
}
.badge-danger {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}
.badge-warning {
  background: rgba(234, 88, 12, 0.12);
  color: #9a3412;
}
.badge-neutral {
  background: rgba(148, 163, 184, 0.2);
  color: #111827;
}
.status-pill {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem 1rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form-field label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.5rem;
  color: var(--text-main);
  font-size: 0.85rem;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}
.form-field textarea {
  min-height: 80px;
}
.form-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.btn {
  border-radius: 999px;
  border: none;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s, color 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #032012;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.install-btn {
  padding: 0.3rem 0.7rem;
  color: #ffffff;
}
.btn-cta {
  border-radius: 12px;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #0ea76a, #0ea5e9);
  color: #03120b;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.25);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  font-weight: 700;
  border: 1px solid rgba(34, 197, 94, 0.45);
}
.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.35);
}
.btn-cta-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.calendar-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.calendar-nav {
  display: flex;
  gap: 0.35rem;
}
.calendar-toggle {
  display: flex;
  gap: 0.5rem;
}
.calendar-month-label {
  font-weight: 600;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(100px, 1fr));
  gap: 0.4rem;
  margin-top: 1rem;
  min-width: 720px;
}
.calendar-grid.day-view {
  grid-template-columns: 1fr;
  min-width: 0;
}
.calendar-day {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.55rem;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.calendar-day.day-view-card {
  min-height: 220px;
}
.calendar-container {
  overflow-x: auto;
}
.calendar-day.today {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}
.calendar-day.header {
  background: transparent;
  border: none;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}
.calendar-day.empty {
  background: transparent;
  border: none;
}
.calendar-date {
  font-weight: 700;
  color: var(--text-main);
}
.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.calendar-event {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 0.3rem 0.4rem;
  font-size: 0.8rem;
  color: #ffffff;
}
.date-program-card {
  text-align: center;
  align-items: center;
  gap: 0.35rem;
}
.date-program-card .date-program-form {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.date-program-card input[type="date"] {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.35rem 0.55rem;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.75rem 0 0.5rem;
}
.calendar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 185, 129, 0.45);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #0f172a;
}
.btn-outline:hover {
  background: rgba(148, 163, 184, 0.16);
  color: var(--text-main);
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: 1px solid rgba(239, 68, 68, 0.45);
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.18);
}
.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
}
.btn-sm {
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
}
.nav-logout {
  display: none;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.12);
  color: #7f1d1d;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.nav-logout:hover {
  background: rgba(220, 38, 38, 0.18);
  border-color: rgba(220, 38, 38, 0.55);
  transform: translateY(-1px);
}
.floating-record-btn {
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + var(--bottom-nav-safe, 0px));
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #16a34a, #0ea76a);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 2050;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}
.floating-record-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #16a34a, #0ea76a);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}
.floating-record-btn__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
  padding: 0.5rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.12);
  z-index: 2040;
  backdrop-filter: blur(12px);
}
.bottom-nav a {
  flex: 1;
  text-align: center;
  color: var(--text-main);
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.bottom-nav a:hover {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.2);
}
.bottom-nav a.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.35);
  color: #065f46;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
}
.filter-group select {
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
}
.toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
}
.toast {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}
.loading-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  pointer-events: all;
}
.loading-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
}
.loading-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.12);
  pointer-events: all;
}
.loading-box span {
  color: var(--text-main);
  font-size: 0.9rem;
}
.loading-spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}
.auth-modal.visible {
  display: flex;
}
.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(6px);
}
.auth-modal__dialog {
  position: relative;
  width: min(420px, 92vw);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 1.25rem 1.5rem;
  z-index: 1;
}
.auth-modal__intro {
  color: var(--text-muted);
  margin-top: -0.35rem;
}
.auth-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.auth-modal__form label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--text-main);
}
.auth-modal__form input[type="text"],
.auth-modal__form input[type="password"] {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--text-main);
}
.auth-modal__remember {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem !important;
  font-weight: 500 !important;
}
.auth-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}
#logout-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(134, 239, 172, 0.2);
  padding: 0.35rem 0.7rem;
}
.comment-list {
  margin-top: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 0.75rem;
  max-height: 260px;
  overflow-y: auto;
}
.comment-item {
  font-size: 0.8rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.ticket-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease;
}
.ticket-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}
.ticket-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ticket-card-title {
  font-weight: 700;
}
.ticket-card-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.ticket-card-meta strong {
  color: var(--text-main);
  margin-right: 0.35rem;
}
.ticket-card-footer {
  display: flex;
  justify-content: flex-end;
}
.comment-item + .comment-item {
  margin-top: 0.35rem;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.app-footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(120deg, #ffffff, #f6f8fc);
}
@media (max-width: 768px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .app-header-left {
    width: 100%;
    justify-content: space-between;
  }
  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 14px;
    right: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #ffffff;
    min-height: 100vh;
    padding: 5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transform: translateY(-120%);
    transition: transform 0.25s ease, opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
  }
  .main-nav a {
    margin: 0;
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    font-size: 1rem;
    color: var(--text-main);
  }
  .calendar-grid {
    min-width: 600px;
  }
  body.nav-open .main-nav {
    transform: translateY(0);
    pointer-events: auto;
    opacity: 1;
  }
  body.nav-open .nav-toggle {
    background: #eef2f7;
    border-color: rgba(16, 185, 129, 0.45);
  }
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translate(-6px, -6px);
  }
  body.nav-open .nav-toggle span:nth-child(2) {
    transform: translate(0, 0);
  }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translate(6px, 6px);
  }
  body.nav-open {
    overflow: hidden;
  }
  #logout-btn {
    display: none;
  }
  .nav-logout.is-visible {
    display: flex;
  }
  .app-header-right {
    width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }
  .page-title {
    font-size: 0.85rem;
    padding: 0.25rem 0.45rem;
  }
  #current-user {
    font-size: 0.8rem;
  }
  .bottom-nav {
    display: flex;
  }
  .app-root {
    padding: 0 0.75rem 5.5rem;
  }
  .hero-banner {
    padding: 0 0.75rem;
  }
  .hero-inner {
    padding: 1.25rem;
  }
  .hero-inner h1 {
    font-size: 1.4rem;
  }
  .hero-inner h2 {
    font-size: 1.05rem;
  }
  .ticket-detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .ticket-header-actions {
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    gap: 0.4rem;
  }
  .ticket-header-actions > * {
    width: 100%;
    max-width: 100%;
  }
  .ticket-header-actions select,
  .ticket-header-actions .btn,
  .ticket-header-actions .btn-cta {
    width: 100%;
  }
}
