/* SWYNTARA™ design system — flame orange, gold, turquoise and deep teal on slate (sampled from the SWYNTARA logo). */
:root {
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Brand palette */
  --flame: #E84820;
  --flame-2: #F07A24;
  --gold: #D09828;
  --gold-2: #F2B73A;
  --turq: #58C0D0;
  --teal: #207888;
  --teal-2: #2A9AAE;
  --slate: #203840;
  --slate-2: #284048;

  --bg: #f2f7f8;
  --surface: #ffffff;
  --surface-2: #f6fafb;
  --border: #dce8eb;
  --text: #1b2f36;
  --muted: #688088;
  --brand: var(--flame);
  --brand-2: var(--flame-2);
  --link: var(--teal);
  --sidebar-bg: linear-gradient(180deg, #14272e 0%, #203840 100%);
  --sidebar-text: #b5ccd2;
  --shadow: 0 2px 10px rgba(20, 50, 60, .07);
  --shadow-lg: 0 10px 30px rgba(20, 50, 60, .14);

  /* semantic / timeline accents */
  --c-indigo: var(--teal); --c-blue: var(--teal-2); --c-teal: var(--turq); --c-purple: var(--gold);
  --c-orange: var(--flame-2); --c-pink: #D9552E; --c-red: #C62828; --c-cyan: var(--turq);
  --c-green: #16a34a; --c-amber: var(--gold); --c-gray: #64808a;

  --bs-primary: #207888; --bs-primary-rgb: 32, 120, 136;
  --bs-link-color: #207888; --bs-link-hover-color: #E84820;
  --bs-link-color-rgb: 32, 120, 136; --bs-link-hover-color-rgb: 232, 72, 32;
}
[data-bs-theme="dark"] {
  --bg: #0d1a1f;
  --surface: #13262d;
  --surface-2: #193139;
  --border: #27434c;
  --text: #e3f0f3;
  --muted: #86a5ae;
  --link: var(--turq);
  --shadow: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .5);
  --sidebar-bg: linear-gradient(180deg, #0b171c 0%, #14272e 100%);
  --bs-link-color: #58C0D0; --bs-link-hover-color: #F07A24;
  --bs-link-color-rgb: 88, 192, 208; --bs-link-hover-color-rgb: 240, 122, 36;
}

html, body { height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: .9rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; }
a { text-decoration: none; }
.text-muted { color: var(--muted) !important; }
.text-primary { color: var(--teal-2) !important; }
[data-bs-theme="dark"] .text-primary { color: var(--turq) !important; }

/* ---------- shell ---------- */
.app-shell { display: flex; min-height: 100vh; }
.app-sidebar {
  width: 250px; flex-shrink: 0; background: var(--sidebar-bg); color: var(--sidebar-text);
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 1rem .75rem; transition: width .2s, margin .2s;
  display: flex; flex-direction: column;
}
.app-sidebar::-webkit-scrollbar { width: 4px; }
.app-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.brand { display: flex; align-items: center; gap: .65rem; padding: .2rem .4rem 1rem; color: #fff; }
.brand-full { display: block; background: #fff; border-radius: 14px; padding: 10px 12px; margin: 0 0 .5rem; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.brand-full img { display: block; width: 100%; height: auto; }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; padding: 5px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.brand-logo img { width: 100%; height: auto; }
.brand-name { font-weight: 700; font-size: 1.12rem; letter-spacing: 1.6px; line-height: 1.05; }
.brand-name sup { font-size: .5rem; letter-spacing: 0; color: var(--gold-2); top: -.9em; }
.brand-tag { font-size: .58rem; letter-spacing: .6px; color: var(--turq); text-transform: uppercase; font-weight: 500; margin-top: 3px; }
.nav-section { font-size: .66rem; letter-spacing: 1.2px; text-transform: uppercase; color: #6f94a0; padding: 1rem .75rem .35rem; font-weight: 600; }
.app-sidebar .nav-link {
  display: flex; align-items: center; gap: .7rem; color: var(--sidebar-text); border-radius: .7rem;
  padding: .5rem .6rem; font-weight: 500; position: relative; margin-bottom: 2px;
}
.nav-ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 1.05rem; color: #fff; flex-shrink: 0; }
.ico-indigo { background: linear-gradient(135deg, #2A9AAE, #145a68); }
.ico-blue { background: linear-gradient(135deg, #58C0D0, #207888); }
.ico-teal { background: linear-gradient(135deg, #3fb8a8, #17776c); }
.ico-purple { background: linear-gradient(135deg, #4d6b76, #203840); }
.ico-orange { background: linear-gradient(135deg, #F07A24, #E84820); }
.ico-pink { background: linear-gradient(135deg, #F2683C, #b8381a); }
.ico-red { background: linear-gradient(135deg, #ef6a5a, #b3261e); }
.ico-cyan { background: linear-gradient(135deg, #7fd3df, #2A9AAE); }
.ico-green { background: linear-gradient(135deg, #F2B73A, #b88418); }
.ico-amber { background: linear-gradient(135deg, #F2B73A, #D09828); }
.ico-gray { background: linear-gradient(135deg, #7d98a1, #475f68); }
.app-sidebar .nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.app-sidebar .nav-link.active { background: rgba(255,255,255,.12); color: #fff; }
.app-sidebar .nav-link.active::before { content: ''; position: absolute; left: -.75rem; top: 20%; bottom: 20%; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--flame), var(--gold-2)); }
.sidebar-foot { margin-top: auto; padding: 1rem .5rem .25rem; font-size: .66rem; color: #6f94a0; line-height: 1.5; }
.sidebar-foot b { color: var(--gold-2); font-weight: 600; }
body.sidebar-collapsed .app-sidebar { margin-left: -250px; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  display: flex; align-items: center; gap: .75rem; padding: .7rem 1.5rem; background: var(--surface);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;
}
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--flame), var(--gold-2) 40%, var(--turq) 75%, var(--teal)); opacity: .85; }
.topbar .icon-toggle { border: 0; background: transparent; font-size: 1.4rem; color: var(--text); border-radius: .5rem; padding: .15rem .45rem; }
.topbar .icon-toggle:hover { background: var(--surface-2); }
.topbar .tag { font-size: .72rem; color: var(--muted); letter-spacing: .5px; display: none; }
@media (min-width: 768px) { .topbar .tag { display: block; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; background: linear-gradient(135deg, var(--flame), var(--gold)); }
.role-chip { font-size: .68rem; font-weight: 600; letter-spacing: .5px; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--teal); border: 1px solid var(--border); }
[data-bs-theme="dark"] .role-chip { color: var(--turq); }
.page { padding: 1.5rem; flex: 1; }
.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.page-head h2 { font-size: 1.35rem; margin: 0; }
.app-footer { padding: .9rem 1.5rem; font-size: .72rem; color: var(--muted); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; }
.app-footer b { color: var(--flame); }
.app-footer a, .auth-foot a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.app-footer a:hover, .auth-foot a:hover { color: var(--flame); }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; box-shadow: var(--shadow); }
.card-header { background: transparent; border-bottom: 1px solid var(--border); font-weight: 600; }
.table { --bs-table-bg: transparent; color: var(--text); }
.table > :not(caption) > * > * { border-bottom-color: var(--border); }
.table thead th { background: var(--surface-2); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; white-space: nowrap; }
.table-hover > tbody > tr:hover > * { background: var(--surface-2); color: var(--text); }
.form-control, .form-select { background-color: var(--surface); border-color: var(--border); color: var(--text); border-radius: .6rem; }
.form-control:focus, .form-select:focus { border-color: var(--teal-2); box-shadow: 0 0 0 .2rem rgba(42, 154, 174, .18); }
.form-check-input:checked { background-color: var(--flame); border-color: var(--flame); }
.btn { border-radius: .6rem; font-weight: 500; }
.btn-primary { background: linear-gradient(135deg, var(--flame), var(--flame-2)); border: 0; color: #fff; box-shadow: 0 3px 10px rgba(232, 72, 32, .28); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: linear-gradient(135deg, #d63f19, #e86f1c) !important; color: #fff; }
.btn-outline-primary { --bs-btn-color: var(--teal); --bs-btn-border-color: var(--teal-2); --bs-btn-hover-bg: var(--teal); --bs-btn-hover-border-color: var(--teal); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--teal); --bs-btn-active-border-color: var(--teal); }
[data-bs-theme="dark"] .btn-outline-primary { --bs-btn-color: var(--turq); --bs-btn-border-color: var(--turq); --bs-btn-hover-bg: var(--turq); --bs-btn-hover-color: #0d1a1f; }
.btn-warning { background: linear-gradient(135deg, var(--gold-2), var(--gold)); border: 0; color: #2a1d00; }
.page-link { color: var(--teal); }
.dropdown-menu { background: var(--surface); border-color: var(--border); border-radius: .8rem; }
.dropdown-item { color: var(--text); }
.dropdown-item:hover { background: var(--surface-2); color: var(--text); }

/* ---------- pills ---------- */
.pill { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.pill i { font-size: .85rem; }
.pill-green { background: #dcfce7; color: #15803d; } .pill-red { background: #fde4e1; color: #b3261e; }
.pill-orange { background: #ffe6d6; color: #c2410c; } .pill-amber { background: #fbefd0; color: #8f6310; }
.pill-blue { background: #d7f0f4; color: #17606e; } .pill-purple { background: #e2ecef; color: #284048; }
.pill-gray { background: #e3ebed; color: #4a626b; } .pill-teal { background: #d3f1ee; color: #17776c; }
[data-bs-theme="dark"] .pill-green { background: rgba(34,197,94,.18); color: #4ade80; }
[data-bs-theme="dark"] .pill-red { background: rgba(239,68,68,.2); color: #f58a80; }
[data-bs-theme="dark"] .pill-orange { background: rgba(240,122,36,.2); color: #f59a5a; }
[data-bs-theme="dark"] .pill-amber { background: rgba(242,183,58,.18); color: #f2b73a; }
[data-bs-theme="dark"] .pill-blue { background: rgba(88,192,208,.18); color: #7fd3df; }
[data-bs-theme="dark"] .pill-purple { background: rgba(160,190,200,.16); color: #b9d0d6; }
[data-bs-theme="dark"] .pill-gray { background: rgba(148,175,185,.18); color: #cbdadf; }
[data-bs-theme="dark"] .pill-teal { background: rgba(63,184,168,.2); color: #5fd5c6; }

/* ---------- glyphs ---------- */
.battery { display: inline-block; width: 30px; height: 14px; border: 2px solid var(--muted); border-radius: 4px; position: relative; vertical-align: middle; margin-right: 5px; padding: 1px; }
.battery::after { content: ''; position: absolute; right: -5px; top: 2px; width: 3px; height: 6px; background: var(--muted); border-radius: 0 2px 2px 0; }
.battery-fill { display: block; height: 100%; border-radius: 2px; }
.battery-ok .battery-fill { background: #22c55e; } .battery-mid .battery-fill { background: var(--gold-2); } .battery-low .battery-fill { background: #e5484d; }
.battery-pct { font-size: .75rem; font-weight: 600; }
.signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 16px; }
.signal i { display: block; width: 4px; background: var(--border); border-radius: 1px; }
.signal .b1 { height: 5px; } .signal .b2 { height: 8px; } .signal .b3 { height: 11px; } .signal .b4 { height: 14px; } .signal .b5 { height: 16px; }
.signal i.on { background: var(--teal-2); }
.icon-btn { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 1rem; transition: transform .1s; }
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn-blue { background: #d7f0f4; color: #17606e; } .icon-btn-purple { background: #fbefd0; color: #8f6310; }
.icon-btn-orange { background: #ffe6d6; color: #c2410c; } .icon-btn-red { background: #fde4e1; color: #b3261e; }
.icon-btn-green { background: #dcfce7; color: #15803d; }
[data-bs-theme="dark"] .icon-btn-blue { background: rgba(88,192,208,.18); color: #7fd3df; }
[data-bs-theme="dark"] .icon-btn-purple { background: rgba(242,183,58,.18); color: #f2b73a; }
[data-bs-theme="dark"] .icon-btn-orange { background: rgba(240,122,36,.2); color: #f59a5a; }
.trip-link { font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
[data-bs-theme="dark"] .trip-link { color: var(--turq); }

/* ---------- KPI tiles ---------- */
.kpi { position: relative; overflow: hidden; padding: 1.1rem 1.2rem; border-radius: 1rem; color: #fff; box-shadow: var(--shadow); height: 100%; }
.kpi .kpi-ico { position: absolute; right: -6px; bottom: -14px; font-size: 4.6rem; opacity: .22; }
.kpi .kpi-val { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.kpi .kpi-label { font-size: .78rem; font-weight: 500; opacity: .92; }
.kpi .kpi-sub { font-size: .7rem; opacity: .85; }
.kpi-blue { background: linear-gradient(135deg, #2A9AAE, #207888); } .kpi-green { background: linear-gradient(135deg, #3fb877, #15803d); }
.kpi-orange { background: linear-gradient(135deg, #F07A24, #E84820); } .kpi-red { background: linear-gradient(135deg, #e5584d, #a82018); }
.kpi-purple { background: linear-gradient(135deg, #3d5964, #203840); } .kpi-teal { background: linear-gradient(135deg, #58C0D0, #2A9AAE); }
.kpi-amber { background: linear-gradient(135deg, #F2B73A, #C08718); } .kpi-gray { background: linear-gradient(135deg, #8aa3ac, #566f78); }

/* ---------- quick-launch cards ---------- */
.launch { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 1rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; height: 100%; }
.launch:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); border-color: var(--gold); }
.launch .nav-ico { width: 46px; height: 46px; border-radius: 13px; font-size: 1.4rem; }
.launch .t { font-weight: 600; } .launch .d { font-size: .76rem; color: var(--muted); }

/* ---------- maps ---------- */
.map-box { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); }
.map-legend { background: var(--surface); color: var(--text); border-radius: .7rem; padding: .4rem .7rem; box-shadow: var(--shadow); font-size: .72rem; line-height: 1.7; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.lock-marker { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.lock-marker i { transform: rotate(45deg); color: #fff; font-size: .95rem; }

/* ---------- timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: .6rem; }
.tl-item { border-radius: .8rem; padding: .6rem .8rem; border-left: 4px solid var(--c-gray); background: var(--surface-2); }
.tl-item .tl-title { font-weight: 600; display: flex; align-items: center; gap: .4rem; }
.tl-item .tl-meta { font-size: .74rem; color: var(--muted); }
.tl-green { border-color: var(--c-green); background: rgba(34,197,94,.1); } .tl-red { border-color: var(--c-red); background: rgba(198,40,40,.1); }
.tl-blue { border-color: var(--teal-2); background: rgba(42,154,174,.11); } .tl-purple { border-color: var(--slate-2); background: rgba(80,110,122,.12); }
.tl-orange { border-color: var(--flame-2); background: rgba(240,122,36,.1); } .tl-amber { border-color: var(--gold); background: rgba(208,152,40,.12); }

/* ---------- misc ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.filter-bar .form-select, .filter-bar .form-control { width: auto; min-width: 150px; }
.dataTables_wrapper .dataTables_filter { display: none; }
.dataTables_wrapper .page-link { background: var(--surface); border-color: var(--border); color: var(--text); }
.dataTables_wrapper .page-item.active .page-link { background: var(--flame); border-color: var(--flame); color: #fff; }
.dataTables_wrapper .dataTables_info, .dataTables_wrapper label { color: var(--muted); }
.stat-tile { border-radius: .9rem; padding: .8rem 1rem; background: var(--surface-2); border: 1px solid var(--border); }
.stat-tile .v { font-size: 1.4rem; font-weight: 700; } .stat-tile .l { font-size: .72rem; color: var(--muted); }
.chip-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: .3rem 1rem; font-size: .8rem; font-weight: 500; }
.chip-btn.active, .chip-btn:hover { border-color: var(--flame); color: var(--flame); background: rgba(232,72,32,.07); }
.stage-bar { display: flex; gap: 4px; }
.stage-bar span { height: 6px; flex: 1; border-radius: 3px; background: var(--border); }
.stage-bar span.on { background: var(--teal-2); }

/* ---------- auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--bg); }
.auth-hero { position: relative; overflow: hidden; color: #fff; padding: 3rem 3.5rem; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 90% at 0% 0%, #2c5560 0%, #203840 45%, #14272e 100%); }
.auth-hero::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,72,32,.55), rgba(240,122,36,.18) 55%, transparent 70%); }
.auth-hero::after { content: ''; position: absolute; width: 420px; height: 420px; left: -140px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(88,192,208,.35), transparent 68%); }
.auth-hero > * { position: relative; z-index: 1; }
.auth-suite { font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--turq); font-weight: 600; }
.auth-mark { width: 190px; height: auto; padding: 16px 20px; background: #fff; border-radius: 22px; margin: 0 0 1.5rem; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.auth-title { font-size: 3rem; font-weight: 700; letter-spacing: 4px; line-height: 1; }
.auth-title sup { font-size: .9rem; letter-spacing: 0; color: var(--gold-2); }
.auth-tagline { font-size: 1.05rem; color: var(--gold-2); margin-top: .6rem; font-weight: 500; letter-spacing: .5px; }
.auth-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem; max-width: 420px; }
.auth-points li { display: flex; align-items: center; gap: .75rem; color: #cfe3e8; font-size: .88rem; }
.auth-points i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: var(--turq); font-size: 1.1rem; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h4 { font-weight: 700; }
.auth-logo { height: 46px; width: auto; display: block; margin: 0 auto 1.75rem; }
.auth-card .form-control { padding: .65rem .9rem; }
.auth-card .btn-primary { padding: .7rem; font-weight: 600; letter-spacing: .3px; }
.auth-powered { text-align: center; margin-top: 1.5rem; font-size: .7rem; color: var(--muted); }
/* the standard footer: one line of text at the bottom of the form column, on every width */
.auth-form-side { position: relative; padding-bottom: 5rem; }
.auth-foot { position: absolute; left: 1rem; right: 1rem; bottom: 1.25rem; text-align: center; font-size: .72rem; line-height: 1.6; color: var(--muted); }
.auth-foot b { color: var(--flame); }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-hero { display: none; } }

/* ---------- layering ----------
   page content < topbar < drawer backdrop < drawer < Bootstrap modals (1055) < command bar (3000).
   Maps and charts are isolated so their internal z-indexes (Leaflet uses 400-1000) can never
   climb above the topbar, the drawer or a modal. */
.leaflet-container, .map-stage, .chart-wrap { isolation: isolate; }
.topbar { z-index: 1020; }
.sidebar-backdrop, .sidebar-close, .search-m { display: none; }

@media (max-width: 991.98px) {
  .app-sidebar { position: fixed; top: 0; left: 0; bottom: 0; height: 100vh; height: 100dvh; width: 280px; max-width: 86vw; z-index: 1040;
    margin-left: 0; transform: translateX(-105%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; overscroll-behavior: contain; }
  body.sidebar-open .app-sidebar { transform: none; visibility: visible; transition: transform .22s ease; box-shadow: var(--shadow-lg); }
  body.sidebar-collapsed .app-sidebar { margin-left: 0; }
  .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 1039; background: rgba(10, 24, 30, .55); opacity: 0; pointer-events: none; transition: opacity .22s; }
  body.sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
  body.sidebar-open { overflow: hidden; }
  .sidebar-close { display: grid; place-items: center; position: absolute; top: .55rem; right: .55rem; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.25rem; }
  .sidebar-close:active { background: rgba(255,255,255,.22); }
  .brand-full { margin-right: 2.6rem; }
  .search-m { display: inline-block; }
  .topbar { padding: .55rem .85rem; gap: .5rem; }
  .role-chip { display: none; }
  .page { padding: 1rem; }
  .app-footer { padding: .8rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { .app-sidebar, .sidebar-backdrop { transition: none !important; } }
}

/* ---------- form sections ---------- */
.sec-title { font-weight: 600; font-size: 1rem; color: var(--teal); display: flex; align-items: center; gap: .5rem; }
.sec-title i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: #fff; font-size: 1.1rem; }
[data-bs-theme="dark"] .sec-title { color: var(--turq); }
.sec-desc { color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: .45rem .75rem; font-size: .84rem; }
.kv dt { color: var(--muted); font-weight: 500; margin: 0; }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,72,32,.55); } 70% { box-shadow: 0 0 0 14px rgba(232,72,32,0); } 100% { box-shadow: 0 0 0 0 rgba(232,72,32,0); } }
