/* ======================================================================
   كيدين — الهوية: كحلي + تركوازي (تفاعل) + سماوي (على الغامق فقط) + نحاسي/ذهبي (لمسات)
   ====================================================================== */
:root {
  --navy: #0B1B3A;
  --navy-2: #12305F;
  --cyan: #22D3EE;
  --teal: #0E7490;
  --teal-dark: #155E75;
  --teal-bg: #CFFAFE;
  --bronze: #C5803F;
  --bronze-bg: #FBF0DC;
  --bronze-dark: #8A5A12;
  --gold: #F3C157;
  --ink: #0F172A;
  --muted: #475569;
  --line: #E2E8F0;
  --bg: #F3F5F7;
  --card: #FFFFFF;
  --green: #15803D;
  --green-bg: #DCFCE7;
  --red: #B91C1C;
  --red-bg: #FEE2E2;
  --hh: 64px;                         /* ارتفاع الهيدر */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  background: #E5E9EE;
  color: var(--ink);
  direction: rtl;
  -webkit-text-size-adjust: 100%;
}
button { font-family: inherit; cursor: pointer; }
a { color: var(--teal); }
img { max-width: 100%; }

/* الإطار: موبايل بالأساس، ويتوسّع على الآيباد والحاسوب */
#app {
  max-width: 460px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 40px rgba(11, 27, 58, .10);
}
.hidden { display: none !important; }

/* ---------- الهيدر ---------- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-top)) 16px 10px;
  min-height: calc(var(--hh) + var(--safe-top));
  background: var(--navy); color: #fff;
  position: sticky; top: 0; z-index: 10;
}
.topbar .title { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.topbar .title b { font-size: 17px; }
.topbar .title span { font-size: 12px; color: #9FB3D1; }
.topbar .back { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255,255,255,.08); border: none; border-radius: 12px; flex-shrink: 0; }
.topbar .brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: #fff; }
.topbar .brand img.lock { height: 42px; width: auto; flex-shrink: 0; }
.topbar .brand .names { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.1; }
.topbar .brand .names .row { display: flex; align-items: center; gap: 7px; }
.topbar .brand img.word { height: 24px; width: auto; }
.topbar .brand .dept { font-size: 11px; color: #9FB3D1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-btn { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9FB3D1; color: #9FB3D1; background: none; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1; flex-shrink: 0; }
.badge-group { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--cyan); color: var(--cyan); font-size: 13px; font-weight: 700; flex-shrink: 0; white-space: nowrap; }
.badge-role { border-color: var(--gold); color: var(--gold); }
.topbar .login-link { padding: 6px 14px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; flex-shrink: 0; }

/* ---------- المحتوى ---------- */
main { flex: 1; padding: 16px 16px calc(90px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 16px; }
.section-title { margin: 0; font-size: 16px; font-weight: 700; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.card { background: var(--card); border-radius: 14px; padding: 14px; }
.list { display: flex; flex-direction: column; gap: 10px; }

/* بطاقة مادة / ملزمة */
.item {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border-radius: 14px; padding: 11px 14px; text-decoration: none; color: var(--ink);
  border: 1px solid transparent;
}
.item:active, .item:hover { border-color: var(--teal); }
.item .ic { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.item .tx { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.item .tx b { font-size: 15px; font-weight: 600; }
.item .tx span { font-size: 12px; color: var(--muted); }
.item .chev { color: #94A3B8; flex-shrink: 0; }
.courses { display: flex; flex-direction: column; gap: 8px; }

/* القادم */
.up { background: var(--card); border-radius: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 12px; border-right: 4px solid var(--teal); }
.up .date { width: 46px; height: 48px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; background: var(--teal-bg); color: var(--teal-dark); }
.up .date b { font-size: 19px; line-height: 1; }
.up .date span { font-size: 11px; font-weight: 600; }
.up .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.up .tx .top { display: flex; align-items: center; gap: 6px; }
.up .tx b { font-size: 15px; }
.up .tx small { font-size: 12px; color: var(--muted); }
.up.quiz { border-right-color: var(--bronze); } .up.quiz .date { background: var(--bronze-bg); color: var(--bronze-dark); }
.up.exam { border-right-color: var(--red); } .up.exam .date { background: var(--red-bg); color: var(--red); }
.up-empty { background: var(--card); border-radius: 14px; padding: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- الأزرار ---------- */
.btn { height: 50px; border: none; border-radius: 12px; background: var(--teal); color: #fff; font-size: 16px; font-weight: 600; width: 100%; }
.btn.secondary { background: var(--card); color: var(--ink); border: 1px solid #94A3B8; }
.btn.navy { background: var(--navy); color: var(--gold); }
.btn.ghost { background: transparent; color: var(--teal); border: 1px dashed var(--teal); }
.btn.cyan { background: var(--cyan); color: var(--navy); }
.btn.outline-light { background: transparent; color: #fff; border: 1.5px solid #46618F; }
.btn.sm { height: 40px; font-size: 14px; width: auto; padding: 0 14px; }
.btn:disabled { opacity: .5; }
.btn-link { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }

/* ---------- الحقول ---------- */
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea {
  height: 44px; border: 1px solid #CBD5E1; border-radius: 10px; padding: 0 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border: 2px solid var(--teal); box-shadow: 0 0 0 3px var(--teal-bg); padding: 0 11px; }
.field textarea { height: 70px; padding: 8px 12px; resize: none; }
.field .hint { font-size: 12px; color: var(--muted); }
.field input.ltr { direction: ltr; text-align: right; }

.note-box { background: var(--bronze-bg); color: var(--bronze-dark); border-radius: 10px; padding: 10px 12px; font-size: 13px; line-height: 1.6; }
.info-box { background: var(--teal-bg); color: var(--teal-dark); border-radius: 12px; padding: 11px 14px; font-size: 13px; line-height: 1.6; }

/* ---------- شاشة الدخول ---------- */
.auth { flex: 1; display: flex; flex-direction: column; }
.auth .hero {
  background: radial-gradient(circle at 50% 38%, #12305F 0%, #0B1B3A 60%, #081630 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: calc(18px + var(--safe-top)) 16px 44px; flex-shrink: 0;
}
.auth .hero img { height: 206px; width: auto; }
.auth .hero span { font-size: 13px; color: #9FB3D1; }
.auth .panel { margin: -22px 16px 0; background: #fff; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 11px; box-shadow: 0 8px 24px rgba(11, 27, 58, .12); position: relative; }
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #E8EDF2; border-radius: 12px; }
.tabs2 button { height: 38px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-size: 14px; }
.tabs2 button.active { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.auth .below { padding: 14px 24px 28px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.auth .below p { margin: 0; font-size: 11.5px; line-height: 1.8; color: var(--muted); }
.auth .below a { font-size: 14px; font-weight: 600; }
.auth .below a.dev { font-size: 12px; color: var(--bronze-dark); }

/* ---------- تبويبات المادة ---------- */
.tabs { display: flex; gap: 4px; padding: 0 12px; background: var(--card); border-bottom: 1px solid var(--line); overflow-x: auto; position: sticky; top: calc(var(--hh) + var(--safe-top)); z-index: 9; }
.tabs button { flex-shrink: 0; height: 48px; padding: 0 12px; border: none; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.tabs button.active { color: var(--teal); border-bottom-color: var(--teal); font-weight: 700; }

/* ---------- الناف السفلي ---------- */
.nav { position: fixed; bottom: 0; left: 0; right: 0; max-width: 460px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-top: 1px solid var(--line); height: calc(64px + var(--safe-bottom)); padding-bottom: var(--safe-bottom); z-index: 20; }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: var(--muted); font-size: 12px; position: relative; }
.nav a.active { color: var(--teal); font-weight: 700; }
.nav a.active::before { content: ''; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cyan); }
.nav a.empty-slot { visibility: hidden; }

/* ---------- شارات ---------- */
.pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.blue { background: var(--teal-bg); color: var(--teal-dark); }
.pill.green { background: var(--green-bg); color: #166534; }
.pill.amber { background: var(--bronze-bg); color: var(--bronze-dark); }
.pill.slate { background: var(--navy); color: #fff; }
.pill.gray { background: #F1F5F9; color: #334155; }
.pill.gold { background: var(--navy); color: var(--gold); }

/* ---------- حالات ---------- */
.empty { text-align: center; color: var(--muted); font-size: 14px; padding: 30px 10px; line-height: 1.7; }
.soon { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--muted); padding: 40px 16px; }
.soon .tag { padding: 4px 14px; border-radius: 999px; background: var(--bronze-bg); color: var(--bronze-dark); font-size: 13px; font-weight: 600; }

/* ---------- توست ---------- */
#toast { position: fixed; bottom: calc(84px + var(--safe-bottom)); left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; z-index: 200; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 90%; text-align: center; }
#toast.show { opacity: 1; }

/* ---------- سبينر ---------- */
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--teal); border-radius: 50%; animation: spin .8s linear infinite; align-self: center; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.pdf-frame { width: 100%; height: 62vh; border: 1px solid var(--line); border-radius: 12px; background: #fff; }

/* ---------- شريط تقدم الرفع ---------- */
.progress { height: 8px; background: #E2E8F0; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.progress > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius: 999px; transition: width .15s linear; }
.progress.done > i { background: var(--green); }
.progress.fail > i { background: var(--red); }

/* ---------- النوافذ (دليل الإضافة) والبطاقة المنسدلة ---------- */
.overlay { position: fixed; inset: 0; background: rgba(6, 18, 42, .55); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.sheet { background: #fff; width: 100%; max-width: 460px; border-radius: 24px 24px 0 0; padding: 14px 18px calc(22px + var(--safe-bottom)); display: flex; flex-direction: column; gap: 14px; max-height: 92vh; overflow: auto; animation: up .22s ease; }
@keyframes up { from { transform: translateY(30px); opacity: 0 } to { transform: none; opacity: 1 } }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: #CBD5E1; align-self: center; }
.sheet h2 { margin: 0; font-size: 20px; text-align: center; }
.sheet .lead { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); text-align: center; }
.step { display: flex; gap: 12px; align-items: center; background: #F3F5F7; border-radius: 14px; padding: 12px; }
.step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step .n.ok { background: var(--green); }
.step .body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step .body > span { font-size: 14px; font-weight: 600; line-height: 1.5; }
.mini { border-radius: 12px; background: #fff; border: 1px solid #E2E8F0; overflow: hidden; }
.mini .bar { height: 38px; display: flex; align-items: center; justify-content: space-around; padding: 0 14px; }
.mini .dot { width: 14px; height: 14px; border-radius: 50%; background: #E2E8F0; }
.mini .hl { width: 34px; height: 30px; border-radius: 8px; background: var(--teal-bg); outline: 2px solid var(--teal); display: flex; align-items: center; justify-content: center; color: var(--teal); }
.mini .menu-top { height: 24px; border-bottom: 1px solid #F1F5F9; }
.mini .menu-row { height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; background: var(--teal-bg); outline: 2px solid var(--teal); outline-offset: -2px; color: var(--teal-dark); font-size: 13px; font-weight: 600; }
.appicon { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; }
.appicon img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 2px 6px rgba(11, 27, 58, .25); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #E8EDF2; border-radius: 12px; }
.seg button { height: 34px; border: none; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; }
.seg button.active { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

.pop-wrap { position: fixed; inset: 0; z-index: 90; background: rgba(6, 18, 42, .55); animation: fade .15s ease; }
.pop { position: absolute; top: calc(var(--hh) + var(--safe-top) + 8px); right: 14px; left: 14px; max-width: 432px; margin: 0 auto; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 14px 36px rgba(6, 18, 42, .4); display: flex; flex-direction: column; gap: 10px; }
.pop h3 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.pop h3 img { width: 28px; height: 28px; background: var(--navy); border-radius: 8px; padding: 3px; object-fit: contain; }
.pop p { margin: 0; font-size: 12.5px; line-height: 1.9; color: #1E293B; }
.pop a { font-size: 13px; font-weight: 700; }

/* ---------- صفحة عن كيدين ---------- */
.about-hero { background: radial-gradient(circle at 50% 40%, #12305F 0%, #0B1B3A 65%); padding: 6px 0 34px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-hero img { height: 178px; width: auto; }
.about-hero span { font-size: 13px; color: #9FB3D1; }
.about-main { margin-top: -18px; }
.acard { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 9px; }
.acard h2 { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.acard h2 i { width: 30px; height: 30px; border-radius: 9px; background: var(--teal-bg); color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-style: normal; }
.acard p { margin: 0; font-size: 13.5px; line-height: 1.95; color: #1E293B; }
.acard p.small { font-size: 12px; color: var(--muted); line-height: 1.8; }
.logo-idea { display: flex; gap: 12px; align-items: center; }
.logo-idea .tile { width: 74px; height: 84px; border-radius: 14px; background: radial-gradient(circle at 50% 35%, #16396E, #0B1B3A 70%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-idea .tile img { height: 64px; width: auto; }
.disc { background: var(--bronze-bg); border-radius: 16px; padding: 14px 16px; border-right: 4px solid var(--bronze); font-size: 12.5px; line-height: 1.9; color: var(--bronze-dark); font-weight: 500; }
.dev-card { background: var(--navy); color: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dev-card .who { display: flex; align-items: center; gap: 12px; }
.dev-card .av { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-2); border: 1.5px solid var(--cyan); color: var(--cyan); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dev-card .who b { font-size: 16px; display: block; }
.dev-card .who small { font-size: 12px; color: #9FB3D1; }
.dev-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dev-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: #9FB3D1; direction: ltr; }
.dev-card .note { font-size: 11px; color: #7F93B3; text-align: center; }
.foot-line { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0 0; }

/* ======================================================================
   التجاوب: آيباد وحاسوب (الموبايل يبقى كما هو)
   ====================================================================== */
@media (min-width: 768px) {
  #app { max-width: 760px; }
  .nav { max-width: 760px; }
  main { padding-left: 24px; padding-right: 24px; }
  .courses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .upcoming { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pdf-frame { height: 74vh; }
  .auth { align-items: center; }
  .auth .hero { align-self: stretch; }
  .auth .panel { width: 440px; max-width: calc(100% - 32px); }
  .sheet { border-radius: 24px; margin-bottom: 4vh; }
  .overlay { align-items: center; }
  .acard p { font-size: 14.5px; }
}
@media (min-width: 1100px) {
  body { background: var(--bg); }
  #app { max-width: none; box-shadow: none; padding-right: 230px; }
  /* القائمة السفلية تتحول لشريط جانبي يمين */
  .nav {
    top: 0; bottom: 0; right: 0; left: auto; margin: 0; width: 230px; max-width: none; height: auto;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 88px 12px 20px;
    background: var(--navy); border-top: none; border-left: 1px solid rgba(255,255,255,.06);
  }
  .nav a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; color: #B9C8E0; font-size: 15px; }
  .nav a:hover { background: rgba(255,255,255,.07); }
  .nav a.active { background: rgba(34, 211, 238, .14); color: var(--cyan); }
  .nav a.active::before { display: none; }
  .nav a.empty-slot { display: none; }
  .nav::before { content: ''; position: absolute; top: 18px; right: 0; left: 0; height: 56px; background: url('brand/kidin-lock.png') center / auto 48px no-repeat; }
  .topbar { padding-left: 32px; padding-right: 32px; }
  main { width: 100%; max-width: 1000px; margin: 0 auto; padding: 24px 32px 40px; }
  .courses { grid-template-columns: 1fr 1fr 1fr; }
  .upcoming { grid-template-columns: 1fr 1fr 1fr; }
  .tabs { padding: 0 32px; }
  .pdf-frame { height: 78vh; }
  .about-main { max-width: 760px; }
  #toast { bottom: 30px; }
}

/* ===== B2: الجرس، لوحة الإعلانات، الأدوار ===== */
.tb-right{display:flex;align-items:center;gap:8px}
.bell{position:relative;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.bell .cnt{position:absolute;top:-3px;left:-3px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#EF4444;color:#fff;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid var(--navy)}
.notif{padding:12px;border-radius:12px;background:#F8FAFC;border:1px solid var(--line)}
.notif.new{background:var(--teal-bg);border-color:#A5F3FC}
.notif.imp{border-right:4px solid var(--bronze)}
.notif p{margin:4px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
.notif small{color:var(--muted);font-size:11px}
.board{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border-radius:16px;padding:14px 16px 10px;overflow:hidden}
.board .slides{display:grid}
.board .slide{grid-area:1/1;opacity:0;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease;pointer-events:none;display:flex;flex-direction:column;gap:4px}
.board .slide.on{opacity:1;transform:none;pointer-events:auto}
.board .slide b{font-size:16px;line-height:1.5}
.board .slide p{margin:0;font-size:13px;color:#C7D6EE;line-height:1.6}
.board .tag{align-self:flex-start;font-size:11px;font-weight:700;padding:2px 9px;border-radius:99px;background:rgba(34,211,238,.18);color:var(--cyan)}
.board .slide.imp .tag{background:rgba(243,193,87,.2);color:var(--gold);animation:pulse 1.8s ease-in-out infinite}
.board .dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.board .dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.3);cursor:pointer;transition:all .3s}
.board .dots i.on{width:18px;border-radius:3px;background:var(--cyan)}
@keyframes pulse{50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){.board .slide{transition:none}.board .slide.imp .tag{animation:none}}
.chk{display:flex;align-items:center;gap:8px;font-size:14px}
.chk input{width:18px;height:18px;accent-color:var(--teal)}
.rolebtn{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:right;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font-family:inherit;cursor:pointer}
.rolebtn small{color:var(--muted);font-size:12px}
.rolebtn.cur{border-color:var(--teal);background:var(--teal-bg)}
