@import url(fonts/fonts.css);
:root {
  --bg: #f4f6f5; --card: #ffffff; --ink: #14201c; --muted: #5d6b66; --line: #e2e8e5;
  --brand: #1a5e3a; --brand-2: #23764a; --brand-soft: #e6f2ea; --on-brand: #fff; --gold: #c99a2e;
  --red: #c2352b; --red-soft: #fbe9e7; --amber: #a86400; --amber-soft: #fff3df; --green: #1e8a4c; --green-soft: #e4f5ea;
  --shadow: 0 1px 2px rgba(10, 30, 25, .06), 0 4px 14px rgba(10, 30, 25, .06);
  --r: 14px; --nav: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d1412; --card: #16201d; --ink: #e7efec; --muted: #9aaba5; --line: #25332f;
    --brand: #5cc28a; --brand-2: #74d39f; --brand-soft: #16301f; --on-brand: #06200f; --gold: #e8ba52;
    --red: #ff7b6e; --red-soft: #3a1c19; --amber: #ffb347; --amber-soft: #3a2a10; --green: #5fd38f; --green-soft: #15301f;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d1412; --card: #16201d; --ink: #e7efec; --muted: #9aaba5; --line: #25332f;
  --brand: #5cc28a; --brand-2: #74d39f; --brand-soft: #16301f; --on-brand: #06200f; --gold: #e8ba52;
  --red: #ff7b6e; --red-soft: #3a1c19; --amber: #ffb347; --amber-soft: #3a2a10; --green: #5fd38f; --green-soft: #15301f;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); color-scheme: dark;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 'Plex', system-ui, sans-serif; }
body { min-height: 100dvh; padding-bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 12px); }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand); }
[hidden] { display: none !important; }

header.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 16px 10px; }
header.top h1 { margin: 0; font-size: 18px; font-weight: 700; flex: 1; }
header.top .sub { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.icon-btn { border: 0; background: transparent; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 22px; height: 22px; }

main { max-width: 720px; margin: 0 auto; padding: 4px 16px 24px; }
h2 { font-size: 15px; margin: 22px 4px 8px; display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
h2 .n { background: var(--line); color: var(--ink); border-radius: 99px; padding: 0 8px; font-size: 12.5px; }
h2.red { color: var(--red); } h2.red .n { background: var(--red-soft); color: var(--red); }

.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 14px; margin: 8px 0; }
.list { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.task { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.task:first-child { border-top: 0; }
.task .chk { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--muted); background: transparent; margin-top: 1px; cursor: pointer; display: grid; place-items: center; transition: .15s; padding: 0; }
.task .chk:hover { border-color: var(--green); background: var(--green-soft); }
.task.high .chk { border-color: var(--red); }
.task .body { flex: 1; min-width: 0; }
.task .title { font-weight: 500; overflow-wrap: anywhere; }
.task .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.task .meta .late { color: var(--red); font-weight: 600; }
.task.done .title { text-decoration: line-through; color: var(--muted); }
.task.done .chk { background: var(--green); border-color: var(--green); color: #fff; }
.task.pop { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.03); background: var(--green-soft); } 100% { transform: scale(1); } }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 500; }
.tag.red { background: var(--red-soft); color: var(--red); } .tag.amber { background: var(--amber-soft); color: var(--amber); } .tag.green { background: var(--green-soft); color: var(--green); }
.empty { text-align: center; color: var(--muted); padding: 22px 12px; font-size: 14.5px; }

.hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.hero .k { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px; text-align: center; cursor: pointer; border: 0; }
.hero .k b { display: block; font-size: 24px; line-height: 1.2; }
.hero .k span { font-size: 12.5px; color: var(--muted); }
.hero .k.red b { color: var(--red); } .hero .k.green b { color: var(--green); }

.btn { border: 0; border-radius: 12px; padding: 10px 16px; background: var(--brand); color: var(--on-brand); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: var(--brand-soft); color: var(--brand); }
.btn.plain { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.red { background: var(--red-soft); color: var(--red); }
.btn.block { width: 100%; }
.btn svg { width: 20px; height: 20px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; }
label.f { display: block; margin: 12px 0 4px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
input.in, select.in, textarea.in { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 10px 12px; min-height: 44px; outline: none; }
input.in:focus, select.in:focus, textarea.in:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea.in { min-height: 96px; resize: vertical; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 14px; cursor: pointer; font-size: 14px; }
.chip.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.switch:first-child { border-top: 0; }
.switch small { display: block; color: var(--muted); font-size: 12.5px; }

nav.bar { position: fixed; inset: auto 0 0 0; z-index: 30; height: calc(var(--nav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--card); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
nav.bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: 11.5px; font-weight: 500; position: relative; }
nav.bar a svg { width: 24px; height: 24px; }
nav.bar a.on { color: var(--brand); }
nav.bar a .dot { position: absolute; top: -2px; inset-inline-end: calc(50% - 18px); min-width: 16px; height: 16px; border-radius: 99px; background: var(--red); color: #fff; font-size: 10.5px; line-height: 16px; text-align: center; padding: 0 4px; }
nav.bar .mic { justify-self: center; width: 64px; height: 64px; margin-top: -26px; border-radius: 50%; border: 4px solid var(--bg); background: linear-gradient(145deg, var(--brand-2), var(--brand)); color: var(--on-brand);
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(15, 110, 99, .35); cursor: pointer; }
nav.bar .mic svg { width: 28px; height: 28px; }

/* لوحة التسجيل */
.sheet-bg { position: fixed; inset: 0; z-index: 50; background: rgba(5, 15, 12, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.sheet { background: var(--card); width: 100%; max-width: 720px; max-height: 92dvh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); animation: up .2s ease; }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }
.sheet h3 { margin: 0 0 4px; font-size: 18px; }
.sheet .handle { width: 42px; height: 5px; border-radius: 9px; background: var(--line); margin: -6px auto 12px; }
.recbox { text-align: center; padding: 8px 0 4px; }
.recbtn { width: 116px; height: 116px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(145deg, var(--brand-2), var(--brand)); color: var(--on-brand); display: inline-grid; place-items: center; position: relative; margin: 10px 0; }
.recbtn svg { width: 44px; height: 44px; }
.recbtn.live { background: linear-gradient(145deg, #e0483c, #b3271d); }
.recbtn:not(.live) .ring { display: none; }
.recbtn .ring { position: absolute; inset: -8px; border-radius: 50%; border: 3px solid rgba(224, 72, 60, .45); transform: scale(var(--lvl, 1)); transition: transform .08s linear; }
.timer { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 1px; direction: ltr; }
.hint { color: var(--muted); font-size: 14px; }
.live-text { min-height: 48px; background: var(--bg); border-radius: 12px; padding: 10px 12px; text-align: start; margin-top: 10px; color: var(--ink); white-space: pre-wrap; }
.result .item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.result .item:first-child { border-top: 0; }
.result .item .ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--brand-soft); }
.result .item.done .ic { background: var(--green-soft); }
.result .item .grow { flex: 1; min-width: 0; }
.big-ok { font-size: 20px; font-weight: 700; color: var(--green); text-align: center; margin: 4px 0 10px; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; margin: 18px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* الاجتماعات */
.meet-live { text-align: center; }
.meet-live .state { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 99px; background: var(--red-soft); color: var(--red); font-weight: 600; font-size: 14px; }
.meet-live .state.paused { background: var(--amber-soft); color: var(--amber); }
.meet-live .state i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.meter { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; margin: 14px 0; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--green)); transition: width .08s linear; }
.minutes { white-space: pre-wrap; }
details.tx summary { cursor: pointer; color: var(--brand); font-weight: 600; padding: 6px 0; }
details.tx div { white-space: pre-wrap; font-size: 14.5px; color: var(--muted); max-height: 50vh; overflow: auto; }
audio { width: 100%; height: 40px; margin-top: 6px; }

.toast { position: fixed; inset-inline: 16px; bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 14px); z-index: 60; max-width: 520px; margin: 0 auto;
  background: #10201c; color: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); animation: up .2s; }
.toast .grow { flex: 1; }
.toast button { background: transparent; border: 0; color: #7fe3d3; font-weight: 700; cursor: pointer; }

.login { max-width: 400px; margin: 10vh auto 0; padding: 0 16px; }
.login .logo { width: 72px; height: 72px; border-radius: 20px; display: block; margin: 0 auto 10px; }
.login h1 { text-align: center; font-size: 22px; margin: 0; }
.login p.sub { text-align: center; color: var(--muted); margin: 4px 0 18px; }
.err { color: var(--red); font-size: 14px; margin-top: 8px; min-height: 1.2em; }
.note { background: var(--amber-soft); color: var(--amber); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 10px 0; }
.note.info { background: var(--brand-soft); color: var(--brand); }
.reply-box { background: var(--bg); border-radius: 12px; padding: 10px 12px; white-space: pre-wrap; border: 1px dashed var(--line); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
@media (min-width: 760px) { nav.bar { max-width: 720px; margin: 0 auto; border-radius: 18px 18px 0 0; border: 1px solid var(--line); } }

/* العبادات: الصلاة والأذان وسجل التلاوة */
.ib-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ib-card { display: flex; align-items: center; gap: 10px; margin: 0; text-decoration: none; color: var(--ink); min-width: 0; }
.ib-card > span { font-size: 26px; flex: none; }
.ib-card div { display: flex; flex-direction: column; min-width: 0; }
.ib-card b { font-size: 15px; color: var(--brand); }
.ib-card small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 380px) { .ib-cards { grid-template-columns: 1fr; } }
.ib-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; }
.ib-next b { font-size: 22px; color: var(--brand); }
.ptimes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ptimes > div { background: var(--bg); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; border: 2px solid transparent; }
.ptimes > div.next { border-color: var(--brand); background: var(--brand-soft); }
.ptimes > div.muted b { color: var(--muted); }
.ptimes span { font-size: 12.5px; color: var(--muted); }
.ptimes b { font-size: 18px; font-variant-numeric: tabular-nums; }
.switch .chips { flex-wrap: wrap; justify-content: flex-end; }
.ib-voice { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ib-voice:first-child { border-top: 0; }
.ib-voice input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.ib-voice small { display: block; color: var(--muted); font-size: 12px; }
.ib-voice .btn { min-height: 36px; padding: 6px 12px; font-size: 14px; white-space: nowrap; flex: none; }
.ib-silent { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 8px; }
.ib-silent label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; font-weight: 500; }
.ib-steps { padding-inline-start: 20px; margin: 8px 0; font-size: 14.5px; }
.ib-steps li { margin: 6px 0; }
.adhan-bar { position: fixed; inset-inline: 16px; bottom: calc(var(--nav) + env(safe-area-inset-bottom) + 14px); z-index: 55; max-width: 520px; margin: 0 auto;
  background: var(--brand); color: var(--on-brand); border-radius: 14px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); font-weight: 600; }
.adhan-bar .btn { min-height: 36px; background: var(--card); color: var(--ink); }
.ib-call { min-height: 56px; font-size: 17px; margin-bottom: 8px; }
.ib-ayah { font-family: 'Amiri Quran', 'Traditional Arabic', serif; font-size: 22px; line-height: 2.1; background: var(--bg); border-radius: 12px; padding: 8px 12px; }
.ib-ayah.sm { font-size: 19px; }
.ib-no { color: var(--amber); font-size: .85em; white-space: nowrap; }
.ib-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ib-act { margin: 0; border: 0; text-align: start; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.ib-act b { color: var(--brand); }
.ib-act small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 420px) { .ib-two { grid-template-columns: 1fr; } }
.ib-confirm { border: 2px solid var(--brand); }
.ib-khatma { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ib-ring { width: 112px; height: 112px; flex: none; }
.ib-ring circle { fill: none; stroke-width: 10; }
.ib-ring .trk { stroke: var(--line); }
.ib-ring .bar { stroke: var(--brand); stroke-linecap: round; }
.ib-ring .big { font-size: 24px; font-weight: 700; fill: var(--ink); }
.ib-ring .sm { font-size: 12px; fill: var(--muted); }
.ib-stats { flex: 1 1 200px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ib-stats div { display: flex; flex-direction: column; }
.ib-stats b { font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ib-stats span { font-size: 12.5px; color: var(--muted); }
.ib-bars { width: 100%; max-width: 560px; height: auto; display: block; direction: ltr; overflow: visible; }
.ib-bars .b { fill: var(--brand); }
.ib-bars g:hover .b { fill: var(--brand-2); }
.ib-bars .axis { stroke: var(--line); }
.ib-bars .grid { stroke: var(--line); stroke-dasharray: 2 3; }
.ib-bars .tick { font-size: 9px; fill: var(--muted); }
.ib-mushaf { font-family: 'Amiri Quran', 'Traditional Arabic', serif; font-size: 22px; line-height: 2.3; text-align: justify; }
.ib-mushaf .aya { cursor: pointer; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ib-mushaf .aya:hover { background: var(--brand-soft); }
.ib-mushaf .aya.mark { background: var(--amber-soft); }
.ib-sura { text-align: center; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 10px; padding: 6px; margin: 14px 0 0; }
.ib-basmala { text-align: center; font-family: 'Amiri Quran', 'Traditional Arabic', serif; font-size: 22px; color: var(--brand); margin: 8px 0 0; }

/* نوع التسجيل */
.seg-pick { display: flex; gap: 8px; }
.seg-pick label { flex: 1; }
.seg-pick input { position: absolute; opacity: 0; }
.seg-pick span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; cursor: pointer; }
.seg-pick input:checked + span { border-color: var(--brand); background: var(--brand-soft, rgba(15,118,110,.08)); color: var(--brand); }
/* الآيات والأحاديث */
.quote .q { font-size: 17px; line-height: 1.9; margin-bottom: 4px; }
.quote.ayah .q { color: var(--brand); }
/* الشاشة السوداء أثناء التسجيل */
.dark-rec { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; align-items: center; justify-content: center; touch-action: manipulation; user-select: none; }
.dark-rec div { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #333; font-variant-numeric: tabular-nums; }
.dark-rec i { width: 8px; height: 8px; border-radius: 50%; background: #5a1010; }
.dark-rec span { font-size: 15px; }
.dark-rec small { font-size: 11px; color: #222; }
.dark-rec.warn span, .dark-rec.warn i { color: #a66; background: #a33; }

/* المصحف: صفحات بشكل مصحف المدينة */
.mp-bar { align-items: center; gap: 8px; margin-bottom: 10px; }
.mp-wrap { touch-action: pan-y; }
.mpage { --pg: #fffaf0; --pg-ink: #1d1a14; --pg-line: #c9b98f; --pg-green: #2e7d5b;
  background: var(--pg); color: var(--pg-ink); border: 1px solid var(--pg-line); border-radius: 6px; padding: 10px 14px 8px;
  box-shadow: inset 0 0 0 4px var(--pg), inset 0 0 0 5px var(--pg-line), 0 1px 3px rgb(0 0 0 / .08); }
.mpage header { display: flex; justify-content: space-between; font-family: 'Amiri Quran', serif; font-size: 14px; color: var(--pg-green); border-bottom: 1px solid var(--pg-line); padding: 2px 4px 6px; margin-bottom: 6px; }
.mpage footer { text-align: center; font-family: 'Amiri Quran', serif; font-size: 15px; color: var(--pg-green); border-top: 1px solid var(--pg-line); padding-top: 4px; margin-top: 6px; }
.mpage .mushaf { font-family: 'Amiri Quran', 'Traditional Arabic', serif; font-size: var(--mp-size, 22px); line-height: 2.25; text-align: justify; text-align-last: center; color: var(--pg-ink); }
.mpage .aya { cursor: pointer; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mpage .aya.mark { background: color-mix(in srgb, #d9a514 28%, transparent); }
.mpage .aya.sel { background: color-mix(in srgb, var(--pg-green) 18%, transparent); }
.mpage .aya-no, .mpage .hizb { color: var(--pg-green); white-space: nowrap; }
.mpage .mp-juz { display: inline-block; font-size: .6em; color: var(--pg-green); border: 1px solid var(--pg-line); border-radius: 99px; padding: 0 8px; line-height: 1.8; vertical-align: middle; }
.mpage .sura-frame { margin: 8px auto 4px; max-width: 420px; text-align: center; font-family: 'Amiri Quran', serif; font-size: 21px; color: var(--pg-ink);
  padding: 4px 12px; border: 2px solid var(--pg-green); border-radius: 4px; outline: 1px solid var(--pg-line); outline-offset: 3px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--pg-green) 10%, transparent), transparent); }
.mpage .mp-basmala { text-align: center; font-family: 'Amiri Quran', serif; font-size: var(--mp-size, 22px); margin: 8px 0 0; color: var(--pg-ink); }
.mp-sel { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 16px rgb(0 0 0 / .15); }
.mp-sel span { flex: 1; font-weight: 600; }
.ix .task { text-decoration: none; color: inherit; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mpage { --pg: #1f1d18; --pg-ink: #efe8d6; --pg-line: #5b5238; --pg-green: #6fc59b; } }
:root[data-theme="dark"] .mpage { --pg: #1f1d18; --pg-ink: #efe8d6; --pg-line: #5b5238; --pg-green: #6fc59b; }

/* سعي: صفحة التعريف، والموافقة، ولوحة المدير */
.login.landing { max-width: 560px; margin-top: 5vh; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.feat div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.feat b { display: block; color: var(--brand); }
.feat small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal { text-align: center; margin: 14px 0 24px; }
.legal a { color: var(--muted); }
.agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; }
.agree input { margin-top: 5px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.kpis .card { display: flex; flex-direction: column; gap: 2px; }
.kpis b { font-size: 24px; color: var(--brand); font-variant-numeric: tabular-nums; }
.kpis small { color: var(--muted); }

/* سعي: صفحة التعريف، والموافقة، ولوحة المدير */
.login.landing { max-width: 560px; margin-top: 5vh; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.feat div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.feat b { display: block; color: var(--brand); }
.feat small { color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal { text-align: center; margin: 14px 0 24px; }
.legal a { color: var(--muted); }
.agree { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 14px; }
.agree input { margin-top: 5px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.kpis .card { display: flex; flex-direction: column; gap: 2px; }
.kpis b { font-size: 24px; color: var(--brand); font-variant-numeric: tabular-nums; }
.kpis small { color: var(--muted); }
