:root {
  --brand: #0e7490;
  --brand-dark: #155e75;
  --sea: #ecfeff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --radius: 14px;
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Tajawal", "Segoe UI", Tahoma, system-ui, sans-serif; color: var(--ink);
  background: #f8fafc; line-height: 1.6;
}
a { color: var(--brand); }
header.top {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: #fff; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
header.top .logo { font-weight: 800; font-size: 1.25rem; display: flex; gap: 8px; align-items: center; color: #fff; text-decoration: none; }
header.top nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
header.top nav a, header.top nav button { color: #fff; text-decoration: none; background: rgba(255,255,255,.14); border: 0; padding: 7px 14px; border-radius: 999px; cursor: pointer; font: inherit; }
.hero { padding: 40px 20px 28px; text-align: center; background: var(--sea); }
.hero h1 { margin: 0 0 8px; font-size: 1.9rem; }
.hero p { margin: 0 auto; max-width: 760px; color: var(--muted); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card img.photo { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; background: var(--sea); }
.meta { color: var(--muted); font-size: .9rem; }
.price { font-weight: 800; color: var(--brand-dark); font-size: 1.15rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stat b { display: block; font-size: 1.3rem; color: var(--brand-dark); }
button, .btn { background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 9px 16px; cursor: pointer; font: inherit; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
button.danger { background: var(--bad); }
button:disabled { opacity: .5; cursor: not-allowed; }
input, select, textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; width: 100%; background: #fff; }
label { display: block; font-size: .9rem; color: var(--muted); margin: 6px 0 2px; }
form.inline { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: end; }
.checks { display: flex; gap: 14px; flex-wrap: wrap; }
.checks label { display: flex; gap: 6px; align-items: center; color: var(--ink); }
.checks input { width: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th, td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; font-size: .93rem; }
th { background: var(--sea); color: var(--brand-dark); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.tabs button { background: transparent; color: var(--ink); border-radius: 999px; }
.tabs button.active { background: var(--brand); color: #fff; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; background: #e2e8f0; }
.s-published, .s-paid, .s-delivered, .s-funded, .s-completed, .s-settled, .s-customs_cleared { background: #dcfce7; color: var(--ok); }
.s-pending, .s-awaiting_deposit, .s-confirmed, .s-reserved, .s-requested, .s-at_customs { background: #fef3c7; color: var(--warn); }
.s-rejected, .s-cancelled, .s-expired, .s-refunded { background: #fee2e2; color: var(--bad); }
.progress { height: 10px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #22d3ee); }
.timeline { list-style: none; padding: 0; margin: 8px 0; border-inline-start: 3px solid var(--brand); }
.timeline li { padding: 4px 12px; }
.code { font-family: ui-monospace, monospace; font-size: 1.3rem; letter-spacing: 4px; background: var(--sea); padding: 4px 10px; border-radius: 8px; }
.empty { color: var(--muted); text-align: center; padding: 30px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 10px; }
.section-title h2 { margin: 0; font-size: 1.25rem; }
dialog { border: 0; border-radius: var(--radius); padding: 20px; max-width: 560px; width: 92%; }
dialog::backdrop { background: rgba(15,23,42,.45); }
#toast { position: fixed; bottom: 22px; inset-inline-start: 50%; transform: translateX(50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; max-width: 90%; }
#toast.show { opacity: 1; }
#toast.bad { background: var(--bad); }
footer { text-align: center; color: var(--muted); padding: 24px; font-size: .85rem; }
.auth { max-width: 440px; margin: 40px auto; }
@media (max-width: 640px) { .hero h1 { font-size: 1.45rem; } th, td { font-size: .85rem; } }

/* ---- colours, fish art, guided forms, calculator, bills ---------------------------------------- */
.hero { background: linear-gradient(180deg, #ecfeff 0%, #cffafe 60%, #f8fafc 100%); position: relative; }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 18px;
  background: radial-gradient(circle at 10px -4px, transparent 12px, #f8fafc 13px) repeat-x; background-size: 20px 18px; }
.hero.small { padding: 26px 20px 22px; }
.row.nowrap { flex-wrap: nowrap; }
[data-numerals-toggle] { font-weight: 700; }
.fish-art { width: 100%; height: auto; display: block; }
.fish-art.all { display: grid; place-items: center; font-size: 2.2rem; aspect-ratio: 244 / 120; background: var(--sea); border-radius: 12px; }
.card.listing { border-top: 5px solid var(--sp, var(--brand)); }
.card .art-fallback { border-radius: 10px; overflow: hidden; height: 170px; display: grid; place-items: center; background: #fff; }
.species-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 4px; border-radius: 999px;
  background: color-mix(in srgb, var(--sp, var(--brand)) 14%, #fff); color: var(--sp, var(--brand)); font-weight: 700; font-size: .85rem; }
.species-chip svg { width: 38px; }
.species-picker { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); margin: 6px 0 12px; }
.species-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px;
  border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; color: var(--ink); text-align: center;
  transition: transform .12s, border-color .12s, box-shadow .12s; margin: 0; }
.species-card:hover { transform: translateY(-2px); border-color: var(--sp); }
.species-card input { position: absolute; opacity: 0; pointer-events: none; }
.species-card b { font-size: .95rem; }
.species-card small { color: var(--muted); font-size: .75rem; }
.species-card:has(input:checked) { border-color: var(--sp); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sp) 30%, transparent);
  background: color-mix(in srgb, var(--sp) 9%, #fff); }
.species-card:has(input:checked)::after { content: "✓"; position: absolute; top: 4px; inset-inline-start: 8px; background: var(--sp);
  color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.species-card:has(input:focus-visible) { outline: 3px solid var(--brand); }
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { border: 0; border-radius: var(--radius); padding: 14px 16px 16px; background: #fff; margin: 0;
  border-inline-start: 6px solid var(--step, var(--brand)); box-shadow: 0 1px 3px rgba(15,23,42,.06); }
.step legend { counter-increment: step; font-weight: 800; padding: 0 6px; display: flex; gap: 8px; align-items: center; }
.step legend::before { content: counter(step); background: var(--step, var(--brand)); color: #fff; width: 28px; height: 28px;
  border-radius: 50%; display: inline-grid; place-items: center; }
.step:nth-of-type(1) { --step: #0e7490; } .step:nth-of-type(2) { --step: #16a34a; }
.step:nth-of-type(3) { --step: #ea580c; } .step:nth-of-type(4) { --step: #7c3aed; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips button { background: var(--sea); color: var(--brand-dark); padding: 4px 12px; border-radius: 999px; font-size: .85rem; }
.estimate { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: linear-gradient(90deg, #ecfdf5, #ecfeff);
  color: #065f46; font-weight: 700; }
.previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.previews img { width: 92px; height: 70px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.dropzone { border: 2px dashed var(--brand); border-radius: 14px; padding: 18px; text-align: center; background: var(--sea);
  cursor: pointer; color: var(--brand-dark); display: block; }
.dropzone input { display: none; }
.stat:nth-child(6n+1) { border-top: 4px solid #0e7490; } .stat:nth-child(6n+2) { border-top: 4px solid #16a34a; }
.stat:nth-child(6n+3) { border-top: 4px solid #ea580c; } .stat:nth-child(6n+4) { border-top: 4px solid #7c3aed; }
.stat:nth-child(6n+5) { border-top: 4px solid #e11d48; } .stat:nth-child(6n) { border-top: 4px solid #eab308; }
.calc-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); align-items: start; }
.calc .inline { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: end; }
.calc-result { position: sticky; top: 12px; background: linear-gradient(180deg, #fff, #f0fdfa); }
.calc-result table th, .bill-totals th { background: transparent; color: var(--muted); font-weight: 500; width: 55%; }
.calc-result tr.total td, .calc-result tr.total th, .bill-totals tr.total td, .bill-totals tr.total th {
  font-size: 1.15rem; font-weight: 800; color: var(--brand-dark); border-top: 2px solid var(--brand); }
.bill-edit input { padding: 6px 8px; }
.bill-sheet { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.bill-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 3px solid var(--brand);
  padding-bottom: 10px; margin-bottom: 12px; }
.bill-head h2 { margin: 4px 0; color: var(--brand-dark); }
.bill-totals { max-width: 420px; margin-inline-start: auto; margin-top: 10px; }
@media (max-width: 820px) { .calc-grid { grid-template-columns: 1fr; } .calc-result { position: static; } }
@media print {
  body.printing-bill * { visibility: hidden; }
  body.printing-bill .bill-sheet, body.printing-bill .bill-sheet * { visibility: visible; }
  body.printing-bill .bill-sheet { position: absolute; inset: 0; border: 0; margin: 0; }
  header.top, .tabs, footer, #toast { display: none !important; }
}
.inline { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); align-items: end; }

/* ---- GCC network + control centre ------------------------------------------------------------ */
.s-scheduled, .s-loading, .s-departed, .s-at_border, .s-cleared, .s-planned, .s-out, .s-at_agent, .s-active { background: #e0f2fe; color: #075985; }
.s-arrived, .s-distributing, .s-released, .s-approved { background: #dcfce7; color: var(--ok); }
.s-pending_approval, .s-closed, .s-held, .s-investigating, .s-paused { background: #fef3c7; color: var(--warn); }
.s-failed, .s-suspended { background: #fee2e2; color: var(--bad); }
.chip-radio { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 2px solid var(--line); border-radius: 999px;
  cursor: pointer; margin: 0; color: var(--ink); background: #fff; }
.chip-radio input { width: auto; }
.chip-radio:has(input:checked) { border-color: var(--brand); background: var(--sea); font-weight: 700; }
.card.choice { text-align: start; cursor: pointer; color: var(--ink); background: #fff; border: 2px solid var(--line); }
.card.choice:hover { border-color: var(--brand); }
.card.choice b { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--brand-dark); }
.code-in { letter-spacing: 3px; font-family: ui-monospace, monospace; }
dialog { max-width: min(960px, 96vw); }
dialog h4 { margin: 14px 0 6px; }
dialog .fish-art { max-width: 240px; max-height: 120px; margin: 0 auto 6px; }
dialog img.photo { max-height: 160px; }

/* ---- easy mode, freshness colours, progress steps, live map, in-app alerts ------------------- */
html.easy body { font-size: 18px; }
html.easy input, html.easy select, html.easy textarea { min-height: 54px; font-size: 1.15rem; padding: 10px 14px; border-width: 2px; border-radius: 12px; }
html.easy textarea { min-height: 90px; }
html.easy input:focus, html.easy select:focus, html.easy textarea:focus { outline: 3px solid #22d3ee; border-color: var(--brand); }
html.easy input[type="checkbox"], html.easy input[type="radio"] { min-height: 0; width: 26px; height: 26px; }
html.easy label { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-top: 10px; }
html.easy button, html.easy .btn { min-height: 50px; padding: 11px 20px; font-size: 1.05rem; font-weight: 700; border-radius: 12px; }
html.easy header.top nav a, html.easy header.top nav button { min-height: 42px; padding: 8px 16px; font-size: 1rem; }
html.easy .tabs button { min-height: 48px; font-size: 1.05rem; padding: 10px 18px; }
html.easy .chips button { min-height: 44px; font-size: 1rem; padding: 8px 16px; }
html.easy th, html.easy td { font-size: 1rem; padding: 12px; }
html.easy .species-card b { font-size: 1.05rem; }
html.easy .price { font-size: 1.35rem; }
html.contrast { --muted: #334155; --line: #94a3b8; }
html.contrast .meta { color: #1e293b; }
html.contrast .badge { outline: 1px solid currentColor; font-weight: 700; }
.stepper { display: flex; align-items: stretch; gap: 6px; }
.stepper input { flex: 1; min-width: 0; text-align: center !important; font-weight: 700; }
.step-btn { flex: 0 0 54px; font-size: 1.6rem !important; line-height: 1; padding: 0 !important; background: var(--sea); color: var(--brand-dark); border: 2px solid var(--brand); }
.step-btn:active { transform: scale(.94); }

.card.listing.fresh-excellent { border-top-color: #16a34a; box-shadow: 0 0 0 2px #bbf7d0, 0 4px 14px rgba(22,163,74,.12); }
.card.listing.fresh-good { border-top-color: #65a30d; box-shadow: 0 0 0 2px #ecfccb; }
.card.listing.fresh-fair { border-top-color: #d97706; }
.fresh-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; margin: 6px 0; }
.fresh-badge i { width: 11px; height: 11px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.fresh-badge.fresh-excellent { background: #dcfce7; color: #15803d; }
.fresh-badge.fresh-good { background: #ecfccb; color: #4d7c0f; }
.fresh-badge.fresh-fair { background: #fef3c7; color: #b45309; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }

.steps-bar { margin: 10px 0 4px; }
.steps-bar.cancelled { color: var(--bad); font-weight: 700; padding: 8px 12px; background: #fee2e2; border-radius: 10px; }
.sb-track { height: 12px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.sb-track span { display: block; height: 100%; background: linear-gradient(90deg, #16a34a, #22c55e, #22d3ee); border-radius: 999px; transition: width .6s; }
.steps-bar ol { list-style: none; display: flex; justify-content: space-between; gap: 2px; padding: 0; margin: 8px 0 0; }
.steps-bar li { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); min-width: 0; }
.steps-bar li i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f1f5f9; border: 2px solid var(--line); font-size: 1rem; }
.steps-bar li small { font-size: .72rem; line-height: 1.25; margin-top: 3px; }
.steps-bar li.done i { background: #16a34a; border-color: #16a34a; color: #fff; font-weight: 800; }
.steps-bar li.done small { color: #15803d; font-weight: 700; }
.steps-bar li.current i { background: #fff7ed; border-color: #ea580c; animation: pulse 1.6s infinite; }
.steps-bar li.current small { color: #c2410c; font-weight: 800; }
.sb-now { margin-top: 6px; font-size: .92rem; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,.45); } 50% { box-shadow: 0 0 0 8px rgba(234,88,12,0); } }
html.easy .steps-bar li i { width: 42px; height: 42px; font-size: 1.2rem; }
html.easy .steps-bar li small { font-size: .82rem; }
@media (max-width: 560px) { .steps-bar li small { display: none; } .steps-bar li.current small { display: block; } }

.order-cards { display: grid; gap: 14px; }
.order-card { border-inline-start: 6px solid var(--brand); }
.order-card.st-delivered { border-inline-start-color: #16a34a; }
.order-card.st-cancelled { border-inline-start-color: var(--bad); opacity: .8; }
.order-card.st-awaiting_deposit, .order-card.st-confirmed { border-inline-start-color: #ea580c; }
.order-card .oc-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.order-card .oc-head h3 { margin: 0; }
.order-card .oc-total { text-align: end; }
.order-card .oc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.order-card .oc-due { background: #fff7ed; color: #9a3412; border-radius: 10px; padding: 8px 12px; margin-top: 8px; font-weight: 700; }

.track-view h3 { margin: 0; }
.track-top { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 10px 0; }
.eta-box { background: linear-gradient(135deg, #ecfeff, #f0fdf4); border: 2px solid #99f6e4; border-radius: 14px; padding: 12px 16px; }
.eta-box.done { background: #dcfce7; border-color: #86efac; }
.eta-main { font-size: 1.25rem; }
.eta-main b { color: var(--brand-dark); font-size: 1.5rem; }
.driver-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; display: grid; gap: 6px; }
.temp { font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.temp.cold { background: #e0f2fe; color: #075985; }
.temp.hot { background: #fee2e2; color: var(--bad); }
.route-bar { position: relative; height: 14px; background: #e2e8f0; border-radius: 999px; margin: 26px 0 30px; }
.route-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0e7490, #22d3ee); }
.route-bar i { position: absolute; top: -13px; font-style: normal; font-size: 1.6rem; transform: scaleX(-1); }
.route-bar .rb-from, .route-bar .rb-to { position: absolute; top: 18px; font-size: .8rem; color: var(--muted); }
.route-bar .rb-from { inset-inline-start: 0; } .route-bar .rb-to { inset-inline-end: 0; }
.track-map { height: 340px; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); background: var(--sea); }
.track-map .empty { padding: 120px 10px; }
.map-actions { margin: 10px 0; }
.map-pin { background: transparent; border: 0; }
.map-pin span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; font-size: 1.3rem; box-shadow: 0 2px 8px rgba(15,23,42,.35); }
.map-pin.truck span { background: #0e7490; animation: pulse 1.8s infinite; }
.map-pin.dest span { background: #fef3c7; }
.timeline.big li { padding: 8px 14px; border-bottom: 1px dashed var(--line); }
.timeline.big li.ev-delivered { background: #f0fdf4; }
.alert-line { padding: 10px 14px; border-radius: 12px; font-weight: 700; margin: 8px 0; }
.alert-line.warning { background: #fef3c7; color: #92400e; }

.bell { position: relative; font-size: 1.15rem; }
.bell.ring { animation: ring 2.4s infinite; }
@keyframes ring { 0%, 90%, 100% { transform: rotate(0); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-14deg); } }
#bell-n { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e11d48; color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.notif-panel { position: fixed; top: 64px; inset-inline-end: 12px; width: min(420px, 94vw); max-height: 78vh; overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(15,23,42,.28); padding: 14px; z-index: 60; }
.notif-panel h3 { margin: 0; }
.notif-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.notif-list li button { width: 100%; text-align: start; background: #f8fafc; color: var(--ink); border: 1px solid var(--line); border-inline-start: 5px solid var(--brand); display: grid; gap: 2px; padding: 10px 12px; }
.notif-list li.unread button { background: #ecfeff; font-weight: 700; }
.notif-list li.success button { border-inline-start-color: #16a34a; }
.notif-list li.warning button { border-inline-start-color: #ea580c; }
.notif-list li.danger button { border-inline-start-color: var(--bad); }
.notif-list small, .alert-pop small { color: var(--muted); font-weight: 400; }
.notif-list span, .alert-pop span { font-weight: 400; }
.pref-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid var(--line); color: var(--ink); margin: 0; font-weight: 600; }
.pref-row input { width: 24px; height: 24px; min-height: 0 !important; }
#alert-stack { position: fixed; top: 74px; inset-inline-start: 12px; display: grid; gap: 10px; z-index: 70; width: min(380px, 92vw); }
.alert-pop { display: grid; gap: 3px; text-align: start; background: #fff; color: var(--ink); border: 0; border-inline-start: 7px solid var(--brand); border-radius: 14px; padding: 12px 16px; box-shadow: 0 12px 34px rgba(15,23,42,.25); animation: slidein .35s; transition: opacity .4s, transform .4s; }
.alert-pop.success { border-inline-start-color: #16a34a; } .alert-pop.warning { border-inline-start-color: #ea580c; } .alert-pop.danger { border-inline-start-color: var(--bad); }
.alert-pop.out { opacity: 0; transform: translateY(-10px); }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media print { .bell, .notif-panel, #alert-stack { display: none !important; } }
@media (max-width: 760px) {
  table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  html.easy th, html.easy td { padding: 9px 8px; font-size: .95rem; }
  .track-map { height: 280px; }
}
