/* هوية مستقر: فحمي، عاجي، ذهبي. زجاجي خفيف، ونفس الألوان بالوضع الداكن. */
:root {
  --ink: #18252B; --muted: #5B6468; --line: rgba(24,37,43,.1); --bg: #F1F0E8;
  --glass: rgba(255,255,255,.64); --glass-line: rgba(255,255,255,.95); --soft: rgba(255,255,255,.5);
  --gold: #7A5F38; --gold-soft: #F3ECE1;
  --green: #1F5A28; --green-bg: #E6EFE3; --amber: #8A6A10; --amber-bg: #FFF3D6;
  --red: #8A2A1E; --red-bg: #FBEBEB; --grey: #5B6468; --grey-bg: #ECEAE4;
  --wash: linear-gradient(165deg, #EDF0E4 0%, #F5F0E7 45%, #E8EEF0 100%);
  font-family: Cairo, Tahoma, sans-serif; color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F5F1E9; --muted: #9AA8AD; --line: rgba(255,255,255,.1); --bg: #0A1C2B;
    --glass: rgba(17,36,47,.7); --glass-line: rgba(255,255,255,.08); --soft: rgba(17,36,47,.5);
    --gold: #C5AB8D; --gold-soft: #2A2A24;
    --green: #9CCB95; --green-bg: #17301C; --amber: #E2C26A; --amber-bg: #33290F;
    --red: #EC9C8E; --red-bg: #3A1A16; --grey: #9AA8AD; --grey-bg: #1D3445;
    --wash: linear-gradient(165deg, #0E2231 0%, #0A1C2B 60%, #102633 100%);
  }
}
/* الليلي باختيار المستخدم من زر الشريط (فيصل 1 نوفمبر 2026)، حتى لو الجهاز على الفاتح. */
:root[data-theme="dark"] {
  --ink: #F5F1E9; --muted: #9AA8AD; --line: rgba(255,255,255,.1); --bg: #0A1C2B;
  --glass: rgba(17,36,47,.7); --glass-line: rgba(255,255,255,.08); --soft: rgba(17,36,47,.5);
  --gold: #C5AB8D; --gold-soft: #2A2A24;
  --green: #9CCB95; --green-bg: #17301C; --amber: #E2C26A; --amber-bg: #33290F;
  --red: #EC9C8E; --red-bg: #3A1A16; --grey: #9AA8AD; --grey-bg: #1D3445;
  --wash: linear-gradient(165deg, #0E2231 0%, #0A1C2B 60%, #102633 100%);
}
.theme-btn { min-height: 32px; padding: 4px 10px; font-size: 13px; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
#app { min-height: 100vh; background: var(--wash); }
a { color: var(--gold); }
button { font-family: inherit; color: inherit; }

.top { position: sticky; top: 0; z-index: 5; padding: 12px 16px; }
.bar { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px; padding: 6px 10px 6px 16px; display: flex; align-items: center; gap: 14px; }
.bar img.logo { height: 26px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.bar .me { display: flex; align-items: center; gap: 6px; }

main { max-width: 1220px; margin: 0 auto; padding: 8px 16px 64px; display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px; padding: 18px;
  box-shadow: 0 10px 30px rgba(24,37,43,.07); }
.soft { background: var(--soft); border: 1px solid var(--glass-line); border-radius: 16px; padding: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.list > * { padding: 9px 0; border-bottom: 1px solid var(--line); }
.list > *:last-child { border-bottom: 0; }
h1 { margin: 0; font-size: 28px; } h2 { margin: 0; font-size: 19px; } h3 { margin: 0; font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.face { border-radius: 50%; background: var(--grey-bg); object-fit: cover; flex: none; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.green { background: var(--green-bg); color: var(--green); }
.pill.amber { background: var(--amber-bg); color: var(--amber); }
.pill.red { background: var(--red-bg); color: var(--red); }
.pill.grey { background: var(--grey-bg); color: var(--grey); }

.btn { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; color: var(--ink); }
.btn.dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.login { max-width: 380px; margin: 12vh auto 0; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.login input { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); font: inherit; background: var(--soft); color: var(--ink); }
.empty { padding: 24px; text-align: center; color: var(--muted); }

@media (max-width: 640px) {
  .top { padding: 8px; }
  .bar { border-radius: 18px; padding: 6px 8px; }
  .bar img.logo, .bar .me span { display: none; }
  main { padding: 4px 12px 48px; }
  h1 { font-size: 22px; }
  .tabs a { font-size: 13px; padding: 7px 10px; }
  h2 { font-size: 17px; }
  .jstep b { font-size: 14px; }
}

/* ── الإضافات (31 أكتوبر 2026): المعاينة، الذيل، النص المطوي، الشرائح، التخطيط، الصفحة العامة ── */
.demo-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; padding: 6px 12px; background: var(--amber-bg); color: var(--amber); font-size: 13px; }
.demo-bar select { font: inherit; border-radius: 999px; border: 1px solid var(--line); padding: 3px 10px; background: var(--glass); color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 18px 16px 32px; font-size: 13px; color: var(--muted); }
.clamp { display: block; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; font-size: 13px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="false"] { opacity: .55; }
.chip[disabled] { cursor: default; }
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 0 2px #fff; }
.chip.red { border-color: var(--red); color: var(--red); }
.chip.red[aria-pressed="true"] { background: var(--red); color: #fff; }
.subtabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.subtabs .btn { white-space: nowrap; }
input, select, textarea { font: inherit; color: var(--ink); }
.form { display: flex; flex-direction: column; gap: 10px; }
.form input, .form select, .form textarea, .goal form input { min-height: 42px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--soft); width: 100%; }
.goal form input { width: 110px; flex: 1; }

.goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 10px; }
.goal { display: flex; flex-direction: column; gap: 8px; }
.goal .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.goal .nums > span { display: flex; flex-direction: column; }
.goal .nums i { color: var(--red); font-style: normal; }
.float { border: 1.5px dashed var(--red) !important; background: var(--red-bg); }
.hz { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; }
.chart svg { width: 100%; height: auto; display: block; }
.rm { overflow-x: auto; margin-top: 10px; border-radius: 14px; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: ' ＋'; color: var(--muted); }
details.card[open] > summary::after { content: ' －'; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.tree { border-inline-start: 3px solid var(--gold); padding-inline-start: 12px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
details.soft summary { cursor: pointer; list-style: none; }
details.soft summary::-webkit-details-marker { display: none; }
.back-layer { opacity: .55; margin-top: 6px; }

/* بوابة التنفيذ: الفريق واقف، ودرجات التسليم */
.stand { display: flex; justify-content: center; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.stand figure, .pub-front figure { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; width: 120px; }
.stand img, .pub-front img { height: 190px; width: auto; object-fit: contain; }
.lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 10px; }
.lv button { display: flex; flex-direction: column; gap: 2px; text-align: right; cursor: pointer; }
.lv button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.lv button[aria-pressed="true"] .muted { color: var(--bg); opacity: .75; }

/* الصفحة العامة */
.pub { max-width: 1100px; margin: 0 auto; padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
.pub-hero { text-align: center; padding: 32px 8px 12px; }
.pub-hero h1 { font-size: 34px; line-height: 1.4; max-width: 760px; margin: 0 auto; }
.pub-hero p { color: var(--muted); max-width: 620px; margin: 12px auto 18px; }
.pub-svcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 12px; }
.pub-svcs a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.pub-stage { position: relative; padding-top: 16px; }
.pub-back { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 2px; opacity: .28; filter: grayscale(.6); margin-bottom: -120px; }
.pub-back img { width: auto; }
.pub-front { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.pub-front b { font-size: 14px; margin-top: 4px; }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.pub-grid a { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 2px; }
.pub .card.form { max-width: 520px; margin: 0 auto; width: 100%; }

@media (max-width: 640px) {
  .clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
  .clamp.open { display: block; -webkit-line-clamp: unset; }
  .card { padding: 14px; border-radius: 18px; }
  .grid2, .goals, .cols { grid-template-columns: 1fr; }
  .pub-hero { padding: 16px 0 4px; } .pub-hero h1 { font-size: 24px; }
  .stand img, .pub-front img { height: 130px; } .stand figure, .pub-front figure { width: 92px; }
  .pub-back { margin-bottom: -70px; flex-wrap: nowrap; overflow: hidden; } .pub-back img { height: 95px !important; flex: none; }
  .pub-svcs { grid-template-columns: 1fr 1fr; gap: 8px; } .pub-svcs .card { padding: 12px; } .pub-svcs b { font-size: 14px; }
  .pub-front b { font-size: 12px; } .pub-front .muted { font-size: 11px; }
  .lv { grid-template-columns: repeat(2, 1fr); }
  .rm svg { width: 1100px; max-width: none; }
  .btn { min-height: 38px; padding: 6px 12px; font-size: 13px; }
  .goal .nums b { font-size: 14px; }
}

/* «أنت بالمنصة»: كل واحد يشوف نفسه واقف، وحوله التحية والنكتة وأرقامه */
.hero .scene { position: relative; height: 380px; max-width: 900px; margin: 0 auto; }
.hero .me { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 340px; filter: drop-shadow(0 18px 24px rgba(24,37,43,.18)); }
.hero .me.round { height: 160px; border-radius: 50%; bottom: 60px; }
.hero .floor { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 200px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(24,37,43,.14), transparent); }
.hero .bub { position: absolute; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 10px 30px rgba(24,37,43,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 18px; padding: 10px 14px; color: var(--ink); text-align: right; text-decoration: none; }
.hero .hello { left: calc(50% + 105px); top: 30px; border-radius: 22px 22px 22px 4px; padding: 14px 18px; }
.hero .hello b { display: block; font-size: 28px; line-height: 1.25; }
.hero .hello span { font-size: 15px; color: var(--gold); font-weight: 700; }
.hero .tag { left: calc(50% + 120px); top: 165px; font-size: 13px; color: var(--muted); border-radius: 99px; padding: 6px 14px; }
.hero .tag.tip { max-width: 280px; border-radius: 16px; color: var(--ink); line-height: 1.6; }
.hero .joke { right: calc(50% + 110px); top: 20px; max-width: 240px; font-size: 14px; border-radius: 22px 22px 4px 22px; }
.hero .chip { right: calc(50% + 120px); font-size: 13px; display: flex; align-items: center; gap: 8px; border-radius: 99px; padding: 7px 14px; }
.hero .chip b { font-size: 17px; }
.hero .c1 { top: 100px; } .hero .c2 { top: 152px; } .hero .c3 { top: 204px; }
.hero .w { color: var(--red); font-weight: 700; }
.hero .faces { display: flex; }
.hero .faces img { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -7px; object-fit: cover; background: var(--grey-bg); }
@media (max-width: 720px) {
  .hero .scene { height: 400px; } .hero .me { height: 240px; }
  .hero .hello { left: auto; right: 0; top: 0; max-width: 220px; } .hero .hello b { font-size: 21px; } .hero .hello span { font-size: 13px; }
  .hero .joke { top: 120px !important; }
  .hero .joke { right: auto; left: 0; top: 92px; max-width: 150px; font-size: 12px; }
  .hero .tag { left: auto; right: 0; top: 112px; } .hero .tag.tip { max-width: 160px; font-size: 12px; }
  .hero .chip { font-size: 12px; padding: 6px 10px; }
  .hero .c1 { right: 0; top: auto; bottom: 140px; } .hero .c2 { right: auto; left: 0; top: auto; bottom: 140px; } .hero .c3 { right: auto; left: 0; top: auto; bottom: 92px; }
}
.broadcast { border: 1.5px solid var(--gold); background: var(--gold-soft); }

/* الفريق واقف */
.team-stage { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.team-stage.back { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); opacity: .6; }
.fig { display: flex; flex-direction: column; align-items: center; width: 108px; background: none; border: 0; border-radius: 16px; padding: 6px 2px; cursor: pointer; }
.fig img { height: 170px; width: auto; max-width: 104px; object-fit: contain; }
.fig b { font-size: 13px; margin-top: 4px; } .fig .muted { font-size: 11px; text-align: center; }
.fig[aria-pressed="true"] { background: var(--gold-soft); }
.fig.back img { height: 130px; filter: grayscale(.4); }
@media (max-width: 640px) { .fig { width: 84px; } .fig img { height: 128px; max-width: 80px; } .fig.back img { height: 100px; } }
/* اختيارات داخل الشيبس (الفريق بالمشروع، صفات الشخص) */
.chip input[type=checkbox] { width: auto; min-height: auto; margin: 0 0 0 6px; padding: 0; }
label.chip { white-space: nowrap; display: inline-flex; align-items: center; }

/* قالب الخدمة وبطاقة المشروع (31 أكتوبر) */
.stages { display: flex; flex-direction: column; gap: 6px; }
.stage { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--soft); border: 1px solid var(--glass-line); }
.stage .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.stage label.n { background: var(--glass); border: 1px solid var(--line); cursor: pointer; }
.stage label.n input { width: 16px; height: 16px; min-height: 0; margin: 0; padding: 0; accent-color: var(--ink); }
.stage small { color: var(--muted); display: block; font-size: 12.5px; }
.stage.off { opacity: .45; }
.stage.off b { text-decoration: line-through; }
.stage.edit { align-items: start; }
.stage.edit.off { opacity: .7; }
.stage .sedit { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stage .sedit input { min-height: 38px; }
.stage .sbtn { display: flex; gap: 4px; }
.stage .sbtn .btn { min-height: 34px; padding: 4px 10px; }
.stage.pj select { min-height: 36px; max-width: 150px; }
.stage.pj input { min-height: 36px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; flex: none; }
.seg label { cursor: pointer; display: inline-flex; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg span { padding: 6px 11px; }
.seg input:checked + span { background: var(--ink); color: var(--bg); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: -2px; }
.pj-sec { border-top: 1px dashed var(--line); padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.pj-sect { display: flex; align-items: center; gap: 8px; }
.pj-sect h3 { margin: 0; font-size: 15px; }
.pj-sect b { width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: 12px; }
.pj-role { flex-wrap: wrap; }
.pj-ext { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 12px; background: var(--soft); border: 1px solid var(--glass-line); align-items: center; }
.pj-ext > * { flex: 1 1 140px; min-width: 0; }
.pj-ext .btn { flex: 0 0 44px; min-height: 40px; padding: 4px; }
.pj-sum { background: var(--ink); color: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 640px) {
  .stage { grid-template-columns: 28px 1fr; }
  .stage > :nth-child(3) { grid-column: 1 / -1; }
  .stage.edit .sedit .row { flex-direction: column; align-items: stretch; }
}

/* جداول التسويق والخانات */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 4px 0; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: right; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl select, .tbl input { min-height: 34px; border-radius: 10px; border: 1px solid var(--line); padding: 2px 8px; background: var(--soft); font: inherit; color: inherit; }
.slots { display: inline-flex; gap: 3px; }
.slots i { width: 14px; height: 14px; border-radius: 4px; background: var(--ink); display: inline-block; }
.slots i.flex { background: transparent; border: 1.5px dashed var(--ink); }
details > summary { cursor: pointer; }

/* القبول (31 أكتوبر): المقترح والمشروع اللي ينتظر القبول باهت بحد متقطع، والأزرار واضحة. */
.pending { border: 1px dashed var(--line) !important; background: transparent !important; }
.pending > :not(.approval), .row.pending > span, .row.pending > img, .tree.pending > .row { opacity: .55; }
.ok-mark { display: inline-block; font-size: 11px; font-weight: 600; color: var(--green); white-space: nowrap; margin-inline-start: 4px; }
.approval input { min-height: 36px; }
.pend { border: 1px dashed var(--line); border-radius: 12px; padding: 6px 8px; }
.pend > span, .pend > img { opacity: .55; }

/* تنبيه «تراجع» (1 نوفمبر): تحت الشاشة 5 ثواني. */
.toast { position: fixed; inset-inline: 16px; bottom: 16px; margin: 0 auto; max-width: 480px; z-index: 50; display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 16px; border-radius: 14px; background: var(--ink); color: var(--bg, #fff); box-shadow: 0 8px 24px rgba(0,0,0,.18); font-size: 14px; }
.toast .btn { background: transparent; color: inherit; border: 1px solid currentColor; min-height: 36px; }
/* ربط الدفعات بالمالية، والتقدير داخل سطر الأرقام */
.link-row select { min-height: 40px; border-radius: 12px; border: 1px solid var(--line); padding: 4px 10px; background: var(--soft); }
.pj-sum .muted { color: inherit; opacity: .7; }
.pj-sum label { display: flex; flex-direction: column; gap: 4px; }
.form .pj-sum input, .pj-sum input { min-height: 36px; border-radius: 10px; border: 0; padding: 4px 10px; background: var(--bg); color: var(--ink); }
/* الأهداف والخطط (فيصل 1 نوفمبر 2026): الخطط داخل صندوق الهدف، بألوان فاتحة. الهدف ذهبي فاتح، الخطة بيضاء، المهمة سطر. */
.lvl { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.gl { margin: 18px 0; }
.gl .gh { background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.gl .gtop { display: flex; flex-direction: column; gap: 8px; padding: 2px 4px 12px; border-bottom: 1px solid color-mix(in srgb, var(--gold) 20%, transparent); }
.gl .gtop .lvl { background: var(--gold); color: #fff; align-self: flex-start; }
.gl .gtop .gt { font-size: 19px; line-height: 1.6; }
.gl .gtop .o { color: var(--muted); font-size: 14px; }
.gl .gtop .faces { display: inline-flex; }
.gl .gedit { background: var(--glass); border-radius: 16px; padding: 12px; }
.gl .pls { display: flex; flex-direction: column; gap: 8px; }
.pl { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 2px 10px rgba(24,37,43,.05); border-inline-start: 4px solid var(--gold); border-radius: 16px; padding: 12px 14px; }
.pl > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.pl > summary::-webkit-details-marker { display: none; }
.pl .lvl { background: var(--grey-bg); color: var(--muted); align-self: flex-start; }
.pl .tk { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.pl .tk > .row::before { content: '○'; color: var(--muted); }
.loose summary { cursor: pointer; list-style: none; }
.loose .pls { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* الفريق والرواتب (2 نوفمبر): بالجوال يختفي عمود الصرف من المسير. */
@media (max-width: 640px) { .m-hide { display: none; } }
