/* ==========================================================================
   إعادة بناء Tailwind CSS v4 → CSS خالص
   المشروع: تطبيق خدمات (مبني على ملف tailwindcss v4.2.1)
   ========================================================================== */

/* ==========================================================================
   1. RESET & NORMALIZE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  line-height: inherit;
  font-family: Tahoma, Arial, sans-serif;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr[title] {
  text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
select,
optgroup,
textarea {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: transparent;
  border-radius: 0;
}

button,
input:where([type="button"], [type="reset"], [type="submit"]) {
  appearance: button;
}

::file-selector-button {
  appearance: button;
  font: inherit;
  margin-inline-end: 4px;
}

::placeholder {
  opacity: 1;
  color: color-mix(in oklab, currentColor 50%, transparent);
}

textarea {
  resize: vertical;
}

img, svg, video, canvas, audio, iframe, embed, object {
  vertical-align: middle;
  display: block;
}

img, video {
  max-width: 100%;
  height: auto;
}

ol, ul, menu {
  list-style: none;
}

summary {
  display: list-item;
}

progress {
  vertical-align: baseline;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none !important;
}

/* ==========================================================================
   2. CSS VARIABLES (المتغيرات)
   ========================================================================== */

:root {
  /* الألوان الأساسية */
  --color-black: #728DAB;
  --color-white: #fff;

  /* نظام ألوان التطبيق */
  color-scheme: dark;
  --background: #080c08;
  --foreground: #fff;
  --card: #0a4410;
  --card-foreground: #fff;
  --popover: #33241e;
  --popover-foreground: #fff;
  --primary: #ffc107;
  --primary-foreground: #171100;
  --secondary: #143d1a;
  --secondary-foreground: #fff;
  --muted: #1e2b20;
  --muted-foreground: #c5ccc5;
  --accent: #36592a;
  --accent-foreground: #fff;
  --destructive: #d02e2e;
  --border: #ffffff36;
  --input: #ffffff45;
  --ring: #ffc107;

  /* الحدود والزوايا */
  --radius: 0.875rem;
  --radius-xs: 0.125rem;

  /* المسافات */
  --spacing: 0.25rem;

  /* الخطوط */
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --default-font-family: Tahoma, Arial, sans-serif;

  /* أحجام النصوص */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;

  /* ارتفاعات الأسطر */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* أوزان الخطوط */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;

  /* التتبع */
  --tracking-tight: -0.025em;
  --tracking-widest: 0.1em;

  /* الانتقالات */
  --default-transition-duration: 0.15s;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* الحاويات */
  --container-xs: 20rem;
  --container-sm: 24rem;
  --container-lg: 32rem;

  /* الظلال */
  --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
  --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
  --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
  --shadow-xl: 0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;
  --shadow-xs: 0 1px 2px 0 #0000000d;

  /* اللمعان (Shimmer) */
  --shimmer-angle: 20deg;
  --shimmer-duration: 2s;
}

/* ==========================================================================
   3. BASE STYLES (الأنماط الأساسية)
   ========================================================================== */

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  background: #000;
  margin: 0;
  font-family: var(--default-font-family);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  z-index: -1;
  pointer-events: none;
  background: url(../assets/images/home_bg.png) 50% / cover no-repeat;
  position: fixed;
  inset: 0;
}

body[data-screen="warnings"]::before {
  background-image: linear-gradient(#0005, #0005),
    url(../assets/warnings/background.jpg);
}

/* التفاعلات */
button,
a,
input {
  touch-action: manipulation;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline-offset: 5px;
  outline: 3px solid #ffcf3e;
}

img {
  object-fit: contain;
  max-width: 100%;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .shimmer {
    -webkit-text-fill-color: currentColor;
    background-image: none;
    animation: none;
  }
}

/* الطباعة */
@media print {
  body::before,
  .topbar,
  .bottom-nav {
    display: none;
  }

  .app-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .step-card,
  .car-card {
    break-inside: avoid;
  }
}

/* ==========================================================================
   4. LAYOUT (التخطيط)
   ========================================================================== */

/* الهيكل الرئيسي */
.app-shell {
  width: min(100%, 700px);
  padding: max(4px, env(safe-area-inset-top)) 16px 110px;
  margin: 0 auto;
}

.home-shell {
  max-width: 580px;
}

.detail-shell {
  max-width: 700px;
}

/* الشريط العلوي */
.topbar {
  justify-content: space-between;
  align-items: center;
  height: 46px;
  display: flex;
}

/* الشريط السفلي */
.bottom-nav {
  z-index: 20;
  width: min(100%, 700px);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(#04070400, #040704 25%);
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}

.bottom-nav .action {
  min-height: 52px;
  box-shadow: 0 4px 30px #0004;
}

/* الشبكات */
.home-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
  display: grid;
}

.warning-grid {
  background: #ffffff15;
  border: 1px solid #ffffff40;
  border-radius: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  display: grid;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  display: grid;
}

.form-grid label {
  color: #e6ece6;
  gap: 7px;
  min-width: 0;
  font-size: 0.9375rem;
  display: grid;
}

.form-grid label:nth-child(-n + 2),
.full-field {
  grid-column: 1 / -1;
}

.car-list {
  gap: 18px;
  margin-top: 22px;
  display: grid;
}

.services-list {
  gap: 12px;
  display: grid;
}

.car-services {
  gap: 16px;
  display: grid;
}

.contact-list {
  gap: 10px;
  margin-bottom: 20px;
  display: grid;
}

/* استجابة الشاشات */
@media (width >= 600px) {
  .home-shell {
    padding-top: 20px;
  }

  .home-grid {
    gap: 18px 28px;
  }

  .home-tile {
    padding: 14px 8px;
  }

  .home-tile img {
    width: 124px;
    height: 124px;
  }
}

@media (width >= 900px) {
  .detail-shell {
    padding-top: 18px;
  }

  .step-card {
    padding: 20px;
  }

  .warning-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (width <= 360px) {
  .app-shell {
    padding-inline: 12px;
  }

  .home-logo {
    height: 135px;
  }

  .home-tile {
    font-size: 0.9375rem;
  }

  .step-card {
    gap: 9px;
    padding: 12px;
  }

  .step-body p {
    font-size: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid label {
    grid-column: 1 / -1;
  }

  .plate-grid span {
    letter-spacing: 2px;
    font-size: 1.25rem;
  }

  .plate-country {
    flex-basis: 54px;
  }

  .warning-tile {
    padding: 6px;
  }

  .warning-tile img {
    width: 66px;
    height: 66px;
  }
}

/* ==========================================================================
   5. COMPONENTS (المكونات)
   ========================================================================== */

/* ---------- الأزرار ---------- */
.icon-button {
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 12px;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
}

.icon-button:hover {
  background: #ffffff12;
}

.action {
  text-align: center;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  transition: filter 0.15s, transform 0.15s;
  display: flex;
  -webkit-user-select: none;
  user-select: none;
}

.action svg {
  flex-shrink: 0;
}

.action:hover,
.service-button:hover {
  filter: brightness(1.1);
}

.action:active,
.service-button:active {
  transform: scale(0.988);
}

.action span {
  min-width: 0;
}

/* ألوان الأزرار */
.amber { color: #161200; background: #ffc107; }
.blue { color: #fff; background: #1565c0; }
.red { color: #fff; background: #c62828; }
.green { color: #fff; background: #167831; }
.teal { color: #fff; background: #00796b; }
.purple { color: #fff; background: #6a1b9a; }
.white { color: #171717; background: #fff; }

.action-row {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
  display: flex;
}

.action-row > .action {
  flex: 145px;
}

/* ---------- بلاطات الصفحة الرئيسية ---------- */
.home-logo {
  width: 320px;
  height: 145px;
  margin: 0 auto 12px;
  display: block;
}

.welcome {
  text-align: center;
  color: #59b64d;
  margin: 0 auto 22px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.6;
}

.home-tile {
  color: #ffc107;
  text-align: center;
  border-radius: 16px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 4px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  transition: background 0.18s, transform 0.18s;
  display: flex;
  -webkit-user-select: none;
  user-select: none;
}

.home-tile img {
  border-radius: 14px;
  width: 110px;
  height: 110px;
}

.home-tile:hover {
  background: #ffffff09;
  transform: translateY(-2px);
}

.home-tile:active {
  transform: scale(0.97);
}

/* ---------- الفواصل والصور ---------- */
.divider-image {
  width: 100%;
  height: 34px;
  margin: 18px auto;
  display: block;
}

.wide-break {
  display: none;
}

@media (width >= 600px) {
  .wide-break {
    display: block;
  }
}

/* ---------- بطاقات الخطوات ---------- */
.section-intro {
  text-align: center;
  color: #dadeda;
  margin: 10px auto 22px;
  line-height: 1.7;
}

.step-card {
  background: #0a4410eb;
  border: 1px solid #ffffff3b;
  border-radius: 16px;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  display: flex;
  box-shadow: 0 4px 18px #00000010;
}

.step-number {
  color: #151100;
  background: #ffc107;
  border-radius: 50%;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 700;
  line-height: 1;
  display: grid;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h2 {
  color: #ffc107;
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

.step-body p {
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.step-body .action {
  font-size: 1rem;
}

/* ---------- العناوين والأقسام ---------- */
.section-heading {
  color: #181b20;
  border-right: 5px solid var(--section-color);
  background: #c0ccda;
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
  padding: 16px;
  display: flex;
}

.section-heading h2 {
  color: var(--section-color);
  margin: 0 0 3px;
  font-size: 1.125rem;
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.section-heading svg {
  color: var(--section-color);
  flex-shrink: 0;
}

/* خطوات فاتحة */
.light-steps .step-card {
  border: 1px solid var(--section-color);
  color: #15181b;
  background: #d5dce6;
}

.light-steps.sim .step-card,
.light-steps.sim .section-heading {
  background: #fff;
}

.light-steps .step-number {
  background: var(--section-color);
  color: #fff;
  flex-basis: 38px;
  width: 38px;
  height: 38px;
}

.light-steps .step-body h2 {
  color: var(--section-color);
}

.light-steps .step-body p {
  font-size: 1rem;
}

/* ---------- بطاقات جهات الاتصال ---------- */
.contact-card {
  background: #0a4410f0;
  border: 1px solid #ffffff3b;
  border-radius: 14px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  transition: background 0.18s;
  display: flex;
}

.contact-card:hover {
  background: #0e5916;
}

.contact-icon {
  color: #111;
  background: #ffc107;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.contact-details {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.contact-details strong {
  font-size: 1rem;
}

.contact-details bdi {
  color: #ffc107;
  letter-spacing: 0.7px;
  align-self: flex-start;
  font-size: 1.3rem;
  font-weight: 700;
}

.contact-arrow {
  opacity: 0.7;
  flex-shrink: 0;
}

/* ---------- أزرار الخدمات ---------- */
.service-button {
  text-align: right;
  border: 1px solid #ffffff24;
  border-radius: 14px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 68px;
  padding: 15px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  -webkit-user-select: none;
  user-select: none;
}

.service-button svg {
  flex-shrink: 0;
}

.service-button span {
  flex: 1;
}

.chevron {
  opacity: 0.7;
  width: 18px;
  transform: rotate(180deg);
}

.backup-caption {
  text-align: center;
  color: #d3c959;
  margin: 0 0 4px;
}

.services-list .divider-image {
  margin: 10px auto;
}

/* ---------- البطاقات الإضافية ---------- */
.extra-card {
  background: #ffffff19;
  border: 1px solid #fff3;
  border-radius: 18px;
  padding: 20px;
}

.extra-card h2 {
  color: #ffc107;
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
}

.extra-card p {
  white-space: pre-line;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.85;
}

.extra-card .action {
  width: fit-content;
  min-width: 160px;
}

/* ---------- بلاطات التحذيرات ---------- */
.warnings-logo {
  width: 340px;
  height: 120px;
  margin: 0 auto;
  display: block;
}

.warning-tile {
  aspect-ratio: 1;
  color: #e9e9e9;
  background: #ffffff15;
  border: 1px solid #fff3;
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 10px;
  transition: background 0.15s;
  display: flex;
}

.warning-tile:hover {
  background: #ffffff30;
}

.warning-tile img {
  object-fit: cover;
  border-radius: 12px;
  width: 80px;
  height: 80px;
}

.warning-tile span {
  font-size: 0.875rem;
}

/* ---------- بطاقات السيارات ---------- */
.car-card {
  background: #0a4410ed;
  border: 1px solid #ffffff40;
  border-radius: 18px;
  padding: 18px;
}

.car-card-title {
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  display: flex;
}

.car-card-title h2 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.car-card-title p {
  color: #c2d5c5;
  margin: 2px 0 0;
}

.car-symbol {
  color: #151515;
  background: #ffc107;
  border-radius: 12px;
  flex-shrink: 0;
  place-items: center;
  width: 44px;
  height: 44px;
  display: grid;
}

.car-index {
  color: #afc3b1;
  margin-inline-start: auto;
}

/* ---------- لوحة السيارة ---------- */
.plate {
  color: #161616;
  background: #f5f5f1;
  border: 3px solid #161616;
  border-radius: 10px;
  max-width: 420px;
  min-height: 105px;
  margin: 4px auto 18px;
  font-family: Arial, Tahoma, sans-serif;
  display: flex;
  overflow: hidden;
  box-shadow: 0 1px 0 1px #ffffff42;
}

.plate-country {
  border-left: 2px solid #333;
  flex-direction: column;
  flex: 0 0 66px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  display: flex;
}

.plate-country span {
  font-size: 0.875rem;
  font-weight: 700;
}

.plate-country strong {
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.plate-grid {
  flex: 1;
  grid-template-columns: 1fr 1fr;
  min-width: 0;
  display: grid;
}

.plate-grid span {
  letter-spacing: 3px;
  overflow-wrap: anywhere;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 6px 5px;
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
}

.plate-grid span:nth-child(odd) {
  border-left: 2px solid #333;
}

.plate-grid span:nth-child(-n + 2) {
  border-bottom: 2px solid #333;
}

/* ---------- الرقم التسلسلي ---------- */
.serial-row {
  background: #153819;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.serial-row > div {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.serial-row span {
  color: #b4c6b6;
  font-size: 0.875rem;
}

.serial-row bdi {
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
  font-size: 1.1rem;
}

.serial-row .icon-button {
  color: #ffc107;
  flex-shrink: 0;
}

/* ---------- الحوارات ---------- */
.guide-dialog {
  color: #fff;
  overscroll-behavior: contain;
  text-align: right;
  direction: rtl;
  background: #07330c;
  border: 1px solid #ffffff48;
  border-radius: 18px;
  gap: 16px;
  max-height: calc(100dvh - 32px);
  padding: 22px;
  overflow-y: auto;
}

.guide-dialog [data-slot="dialog-title"],
.guide-dialog [data-slot="alert-dialog-title"] {
  color: #ffc107;
  font-size: 1.25rem;
  line-height: 1.6;
}

.guide-dialog [data-slot="dialog-description"],
.guide-dialog [data-slot="alert-dialog-description"] {
  color: #d2dfd4;
  font-size: 1rem;
  line-height: 1.75;
}

.guide-dialog [data-slot="alert-dialog-footer"] button {
  min-height: 46px;
  font-size: 1rem;
}

.dialog-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.dialog-heading .icon-button {
  flex-shrink: 0;
}

.warning-large {
  object-fit: contain;
  border-radius: 12px;
  width: 250px;
  max-height: 42dvh;
  margin: auto;
  display: block;
}

.warning-description {
  text-align: center;
  background: #f4f4f4;
  border-radius: 12px;
  padding: 16px;
  color: #161616 !important;
  font-size: 1.1rem !important;
}

.warning-dialog {
  text-align: center;
}

.car-dialog {
  max-width: min(600px, 100% - 24px);
}

/* ---------- النماذج ---------- */
.car-form {
  gap: 14px;
  display: grid;
}

.form-grid input,
.share-input {
  color: #fff;
  background: #ffffff0b;
  border: 1px solid #fff5;
  border-radius: 10px;
  outline: none;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 1rem;
}

.form-grid input:focus,
.share-input:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 2px #ffc10733;
}

.form-grid input::placeholder {
  color: #aebdaf;
  font-size: 0.9375rem;
}

.form-subtitle {
  color: #ffc107;
  margin: 5px 0 0;
  font-weight: 700;
}

.car-form .plate {
  width: 100%;
  margin: 0 auto 8px;
}

.form-error {
  color: #fff;
  background: #651c1c;
  border: 1px solid #ff9d9d;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.share-input {
  -webkit-user-select: all;
  user-select: all;
}

/* ---------- عناصر مساعدة ---------- */
.back-link {
  color: #ddd;
  background: #ffffff0a;
  border: 1px solid #ffffff1e;
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 5px 12px;
  font-size: 0.9375rem;
  display: inline-flex;
}

.back-link:hover {
  background: #ffffff1a;
}

.page-logo {
  width: min(100%, 420px);
  height: 118px;
  margin: 4px auto 22px;
  display: block;
}

.end-art {
  width: min(100%, 490px);
  height: 120px;
  margin: 26px auto 40px;
  display: block;
}

.note-panel {
  text-align: center;
  background: #0006;
  border: 1px solid #ffc107;
  border-radius: 14px;
  padding: 16px;
  line-height: 1.7;
}

.intro-panel {
  color: #121812;
  text-align: center;
  background: #fff;
  border: 2px solid #ffc107;
  border-radius: 18px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 18px;
  font-weight: 700;
  display: flex;
}

.intro-panel h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.intro-panel svg {
  color: #006c35;
  flex-shrink: 0;
}

.intro-panel p {
  margin: 0;
}

.danger-panel {
  text-align: right;
  border-color: #c62828;
  flex-direction: row;
  align-items: flex-start;
}

.danger-panel svg {
  color: #c62828;
}

/* خطوات التقرير */
.report-steps {
  color: #171717;
  background: #fff;
  border-radius: 16px;
  margin: 0 0 14px;
  padding: 16px;
  list-style: none;
}

.report-steps li {
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  display: flex;
}

.report-steps li:last-child {
  margin: 0;
}

.report-steps li span {
  color: #fff;
  background: #00796b;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
}

/* عناوين ورسائل */
.cars-heading {
  text-align: center;
  margin: 18px 0 12px;
}

.cars-heading > svg {
  color: #ffc107;
  margin: 0 auto 6px;
}

.cars-heading h1 {
  color: #ffc107;
  margin: 0 0 8px;
  font-size: 1.55rem;
  font-weight: 700;
}

.cars-heading p {
  color: #ddd;
  margin: 0;
}

.local-note {
  color: #c3cec4;
  background: #ffffff09;
  border: 1px solid #fff2;
  border-radius: 12px;
  margin: 14px 0 20px;
  padding: 12px 14px;
  font-size: 0.875rem;
}

.empty-message {
  text-align: center;
  color: #b7c8ba;
  border: 1px dashed #ffffff40;
  border-radius: 18px;
  margin-top: 22px;
  padding: 32px 16px;
}

.empty-message svg {
  margin: 0 auto 16px;
}

.empty-message h2 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.empty-message p {
  margin: 0;
}

.web-art {
  width: 280px;
  height: 120px;
  margin: 14px auto;
}

.call-number {
  letter-spacing: 1px;
  font-size: 1.15rem;
  display: block;
}

.options-menu {
  border-color: #987224;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  padding: 8px;
}

.options-menu [role="menuitem"] {
  cursor: pointer;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 1rem;
}

/* ==========================================================================
   6. UTILITIES (الأدوات المساعدة)
   ========================================================================== */

/* العرض */
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }

/* الموضع */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: