[hidden]{display:none!important}
:root{
  --brown:#7A4E2D; --brown-d:#5a381f; --cream:#F3E9D2; --cream-2:#FBF6EA;
  --green:#3E8E41; --green-l:#5DAE4B; --mount:#A07850; --river:#4A90C8;
  --red:#B3261E; --honey:#E8A317; --blue:#1F4FB8;
  --ink:#2E2117; --muted:#7d6a58; --line:#e6d8bb; --card:#fffdf8;
  --radius:16px; --shadow:0 2px 10px rgba(90,56,31,.08),0 1px 2px rgba(90,56,31,.06);
  --nav-h:68px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'IBM Plex Sans Arabic',Cairo,Tajawal,system-ui,sans-serif;background:var(--cream-2);color:var(--ink);line-height:1.7;-webkit-font-smoothing:antialiased;min-height:100vh}
h1,h2,h3{font-family:Cairo,'IBM Plex Sans Arabic',sans-serif;font-weight:700;line-height:1.35;margin:0 0 .5em;color:var(--brown-d)}
h1{font-size:1.6rem} h2{font-size:1.3rem} h3{font-size:1.08rem}
p{margin:0 0 .8em}
a{color:var(--blue)}
img,video{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}

/* header */
.top{position:sticky;top:0;z-index:20;background:var(--brown);color:var(--cream);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.top-in{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:12px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top))}
.brand{display:flex;align-items:center;gap:10px;color:var(--cream);text-decoration:none;font-family:Cairo,sans-serif;font-weight:700;font-size:1.2rem}
.brand img{width:42px;height:auto;display:block;filter:drop-shadow(0 1px 2px rgba(0,0,0,.25))}
.top nav.desk{display:none;gap:4px;margin-inline-start:16px}
.top nav.desk a{color:var(--cream);text-decoration:none;padding:6px 12px;border-radius:999px;font-weight:500;opacity:.85}
.top nav.desk a.on,.top nav.desk a:hover{background:rgba(243,233,210,.16);opacity:1}
.top .sp{flex:1}
.icon-btn{position:relative;background:transparent;border:0;color:var(--cream);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;cursor:pointer;text-decoration:none}
.icon-btn:hover{background:rgba(243,233,210,.14)}
.icon-btn svg{width:24px;height:24px}
.badge{position:absolute;top:4px;inset-inline-end:4px;background:var(--red);color:#fff;font-size:.7rem;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;font-weight:700;line-height:1}

/* bottom nav (mobile) */
.bottom{position:fixed;bottom:0;inset-inline:0;z-index:20;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}
.bottom a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px 6px;color:var(--muted);text-decoration:none;font-size:.75rem;font-weight:500}
.bottom a svg{width:24px;height:24px}
.bottom a.on{color:var(--brown)}
.bottom a.on svg{color:var(--green)}

main{max-width:1100px;margin:0 auto;padding:20px 16px calc(var(--nav-h) + 16px + env(safe-area-inset-bottom))}
.foot{text-align:center;color:var(--muted);font-family:Cairo,'IBM Plex Sans Arabic',sans-serif;font-weight:700;padding:28px 0 8px;display:flex;align-items:center;justify-content:center;gap:6px}
.foot .pom{width:22px;height:24px;filter:drop-shadow(0 1px 1px rgba(90,56,31,.25))}
ol{list-style-type:decimal}
.support-btn{gap:6px;padding:7px 14px}
.support-btn svg{width:18px;height:18px;color:#25D366}
.support .wa-badge{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#25D366;color:#fff;margin-bottom:8px}
.support .wa-badge svg{width:36px;height:36px}
.btn.wa{background:#25D366;color:#fff;font-size:1.05rem;padding:13px 18px}
.back-wrap{text-align:center;margin-top:18px}
.back-btn{border-radius:999px;padding:11px 26px;min-height:46px;box-shadow:var(--shadow)}
.back-btn svg{width:18px;height:18px}
input[type=search]{width:100%;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;outline:none;-webkit-appearance:none}
@media(min-width:900px){
  /* the page tabs stay in the bottom bar on every screen; on wide screens they sit together in the middle */
  .bottom{justify-content:center}
  .bottom a{max-width:150px;font-size:.82rem}
}

/* generic */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}
.stack>*+*{margin-top:14px}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.between{justify-content:space-between}
.muted{color:var(--muted)}
.small{font-size:.85rem}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.page-head h1{margin:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:10px 18px;font-weight:600;cursor:pointer;background:var(--brown);color:var(--cream);text-decoration:none;transition:filter .15s}
.btn:hover{filter:brightness(1.08)}
.btn:disabled{opacity:.55;cursor:default}
.btn.green{background:var(--green);color:#fff}
.btn.red{background:var(--red);color:#fff}
.btn.ghost{background:transparent;color:var(--brown);border:1.5px solid var(--brown)}
.btn.light{background:var(--cream);color:var(--brown-d)}
.btn.sm{padding:6px 12px;font-size:.88rem;border-radius:10px}
.btn.block{width:100%}
.btn svg{width:20px;height:20px}
.chip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.78rem;font-weight:600;background:var(--cream);color:var(--brown-d)}
.chip.pending{background:#fdf0cf;color:#8a5a00}
.chip.green{background:#e3f2df;color:#2c6b2f}
.chip.blue{background:#e2eafb;color:var(--blue)}
.chip.red{background:#fbe3e1;color:var(--red)}
.empty{text-align:center;color:var(--muted);padding:40px 10px}
.loader{display:grid;place-items:center;padding:50px}
.loader::after{content:"";width:34px;height:34px;border-radius:50%;border:4px solid var(--line);border-top-color:var(--green);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* forms */
label.f{display:block;font-weight:600;margin-bottom:12px}
label.f>span{display:block;margin-bottom:6px;font-size:.92rem}
input[type=text],input[type=tel],input[type=password],input[type=date],input[type=time],select,textarea{width:100%;padding:11px 14px;border:1.5px solid var(--line);border-radius:12px;background:#fff;outline:none;font-weight:400}
input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(93,174,75,.18)}
textarea{min-height:110px;resize:vertical}
input[type=tel],input[type=password],.ltr{direction:ltr;text-align:right}
.check{display:flex;align-items:center;gap:10px;font-weight:600;margin-bottom:12px;cursor:pointer}
.check input{width:20px;height:20px;accent-color:var(--green)}
.seg{display:flex;background:var(--cream);border-radius:12px;padding:4px;gap:4px}
.seg button,.seg label{flex:1;border:0;background:transparent;padding:8px;border-radius:9px;font-weight:600;cursor:pointer;color:var(--muted);text-align:center}
.seg .on,.seg input:checked+span{background:#fff;color:var(--brown-d);box-shadow:var(--shadow)}
.seg label input{display:none}
.seg label span{display:block;border-radius:9px;padding:2px}
.err{color:var(--red);font-weight:600;font-size:.9rem;margin:6px 0}
.ok{color:var(--green);font-weight:600}

/* modal */
.modal-bg{position:fixed;inset:0;background:rgba(46,33,23,.45);z-index:50;display:flex;align-items:flex-end;justify-content:center;animation:fade .15s}
.modal{background:var(--cream-2);width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:22px 22px 0 0;padding:20px 18px calc(20px + env(safe-area-inset-bottom))}
@media(min-width:640px){.modal-bg{align-items:center}.modal{border-radius:22px}}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.modal-head h2{margin:0}
.x{background:var(--cream);border:0;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1.2rem;color:var(--brown)}
@keyframes fade{from{opacity:0}}
.toast{position:fixed;bottom:calc(var(--nav-h) + 20px);left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 18px;border-radius:12px;z-index:60;font-weight:500;box-shadow:var(--shadow);max-width:90vw;text-align:center}

/* login */
.auth{max-width:460px;margin:10px auto}
.auth .logo{width:180px;margin:0 auto 14px}
.otp{letter-spacing:.5em;text-align:center!important;font-size:1.4rem;direction:ltr}
.install{background:var(--cream);border-radius:var(--radius);padding:16px}
.install ol{margin:6px 0 0;padding-inline-start:22px}
.install li{margin-bottom:4px}
.install .tabs{margin:8px 0}
.share-ic{display:inline-block;vertical-align:middle;width:18px;height:18px}

/* news */
.news-item{overflow:hidden;padding:0}
.news-item .body{padding:16px 18px}
.news-item img{width:100%;max-height:380px;object-fit:cover}
.news-item .meta{font-size:.84rem;color:var(--muted);margin-bottom:6px}
.news-item .txt{white-space:pre-wrap}
.welcome-strip{background:linear-gradient(135deg,var(--green),var(--green-l));color:#fff;border-radius:var(--radius);padding:18px;display:flex;gap:14px;align-items:center;margin-bottom:18px}
.welcome-strip h2{color:#fff;margin:0}
.welcome-strip img{width:72px;height:auto;flex:none;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}

/* inbox */
.inbox-item{display:flex;gap:12px;align-items:flex-start;text-decoration:none;color:inherit}
.inbox-item .dot{width:10px;height:10px;border-radius:50%;background:var(--red);margin-top:10px;flex:none}
.inbox-item .dot.read{background:transparent}
.inbox-item .ic{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--cream);color:var(--brown)}
.inbox-item .ic svg{width:22px;height:22px}

/* tree */
.tree-tools{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.tree-tools input{flex:1;min-width:180px}
/* family tree drawn as a real tree: trunk at the bottom, branches up, names as leaves */
.tree-wrap{overflow-x:auto;padding:10px 2px 0;border-radius:18px;background:linear-gradient(#fbf6ea 0,#fbf6ea 85%,#e9dfc4 100%)}
.rtree{width:max-content;min-width:100%}
.rtree ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;align-items:flex-end;position:relative}
.rtree li{display:flex;flex-direction:column-reverse;align-items:center;position:relative;padding:0 5px 22px}
.rtree ul.roots>li{padding-bottom:0}
.rtree ul ul{padding-bottom:22px}
/* branches */
.rtree ul ul::before{content:"";position:absolute;bottom:0;inset-inline-start:calc(50% - 2.5px);height:22px;border-inline-start:5px solid #7A4E2D}
.rtree ul ul>li::before,.rtree ul ul>li::after{content:"";position:absolute;bottom:0;height:22px;border-bottom:5px solid #7A4E2D}
.rtree ul ul>li::before{inset-inline-start:0;width:calc(50% + 2.5px)}
.rtree ul ul>li::after{inset-inline-start:calc(50% - 2.5px);width:calc(50% + 2.5px);border-inline-start:5px solid #7A4E2D}
.rtree ul ul>li:first-child::before{border:0}
.rtree ul ul>li:first-child::after{border-end-start-radius:14px}
.rtree ul ul>li:last-child::after{border:0}
.rtree ul ul>li:last-child::before{border-inline-end:5px solid #7A4E2D;border-end-end-radius:14px}
.rtree ul ul>li:only-child::before{border:0}
.rtree ul ul>li:only-child::after{border:0;border-inline-start:5px solid #7A4E2D;border-radius:0}
.rtree .trunk{width:110px;height:82px;display:block;margin-top:-4px}
/* leaves */
.leaf-box{position:relative;z-index:1;padding:4px 2px}
.leaf{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:104px;max-width:150px;padding:10px 14px 11px;border:0;cursor:pointer;font:inherit;color:#fff;text-align:center;
  border-radius:4px 28px 4px 28px;background:linear-gradient(135deg,#4f8f3f,#2f6b2a);box-shadow:0 3px 8px rgba(47,80,30,.25),inset 0 1px 0 rgba(255,255,255,.25);position:relative;transition:transform .15s}
.leaf.f{background:linear-gradient(135deg,#9cc46a,#6fa046);border-radius:28px 4px 28px 4px;color:#1f3d17}
.rtree li:nth-child(odd)>.leaf-box{transform:rotate(-3deg)}
.rtree li:nth-child(even)>.leaf-box{transform:rotate(3deg)}
.rtree li.root>.leaf-box{transform:none}
.leaf:hover{transform:translateY(-2px)}
@media (max-width:600px){.leaf{min-width:86px;max-width:120px;padding:8px 10px 9px;font-size:.86rem}.rtree li{padding-inline:3px}.rtree .trunk{width:90px;height:66px}}
.leaf.hl{box-shadow:0 0 0 4px rgba(232,163,23,.55),0 3px 8px rgba(47,80,30,.25)}
.leaf .av{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.8);margin-bottom:3px}
.leaf .nm{font-weight:700;line-height:1.3;position:relative}
.leaf .sub{font-size:.74rem;opacity:.85;line-height:1.3;position:relative}
.leaf .rip{font-size:.74rem;font-weight:700;color:#ffe9a8;position:relative}
.leaf.f .rip{color:#6b3e12}
.leaf-box .toggle{position:absolute;top:-6px;inset-inline-end:-6px;width:26px;height:26px;border-radius:50%;border:2px solid #fff;background:#7A4E2D;color:#fff;font-weight:700;font-size:.8rem;display:grid;place-items:center;cursor:pointer;padding:0;margin:0;line-height:1;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.leaf-box .toggle.closed{background:var(--honey)}
.tree-legend{display:flex;align-items:center;gap:6px;justify-content:center;color:var(--muted);font-size:.85rem;margin:10px 0 0}
.tree-legend .lg{width:18px;height:12px;display:inline-block;border-radius:2px 9px 2px 9px;background:#2f6b2a}
.tree-legend .lg.f{background:#86b558;border-radius:9px 2px 9px 2px;margin-inline-start:10px}
.toggle{background:var(--cream);border:0;width:26px;height:26px;border-radius:50%;cursor:pointer;color:var(--brown);font-weight:700;margin-inline-start:6px;vertical-align:middle}
.person-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.person-head .av{width:72px;height:72px;border-radius:50%;object-fit:cover;background:var(--cream);display:grid;place-items:center;font-size:1.6rem;font-weight:700;color:var(--brown)}

/* calendar */
.cal{padding:12px}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cal-head .t{text-align:center}
.cal-head .t b{display:block;font-family:Cairo,sans-serif;font-size:1.15rem;color:var(--brown-d)}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.cal-grid .dn{text-align:center;font-size:.78rem;color:var(--muted);font-weight:600;padding:4px 0}
.day{min-height:64px;border-radius:10px;background:#fff;border:1px solid var(--line);padding:4px;font-size:.8rem;cursor:pointer;display:flex;flex-direction:column;gap:2px;overflow:hidden}
.day.out{opacity:.35}
.day.today{border-color:var(--green);box-shadow:inset 0 0 0 1.5px var(--green)}
.day .g{font-weight:700}
.day .h{font-size:.68rem;color:var(--muted)}
.day .mk{font-size:.64rem;border-radius:6px;padding:0 4px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}
.mk.ramadan{background:#e9e1fb;color:#5b3fa8}
.mk.eid{background:#fff1cc;color:#8a5a00}
.mk.ev{background:#e3f2df;color:#2c6b2f}
.mk.gather{background:#e2eafb;color:var(--blue)}
.legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.ev-item{display:flex;gap:12px;align-items:flex-start}
.ev-date{flex:none;width:58px;text-align:center;background:var(--cream);border-radius:12px;padding:6px 0;line-height:1.2}
.ev-date b{display:block;font-size:1.35rem;font-family:Cairo,sans-serif;color:var(--brown-d)}
.ev-date span{font-size:.72rem;color:var(--muted)}

/* heritage */
.intro{background:linear-gradient(180deg,var(--cream),#fff);border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:grid;gap:16px}
@media(min-width:720px){.intro{grid-template-columns:200px 1fr;align-items:center}}
.intro img{width:200px;margin:0 auto}
.intro .txt{white-space:pre-wrap;font-size:1.05rem}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.gallery .card{padding:0;overflow:hidden}
.gallery img,.gallery video{width:100%;aspect-ratio:4/3;object-fit:cover;background:#000}
.gallery .cap{padding:12px 14px;white-space:pre-wrap}

/* admin */
.tabs-bar{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;margin-bottom:14px}
.tabs-bar button{flex:none;border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:6px 14px;font-weight:600;cursor:pointer;color:var(--muted)}
.tabs-bar button.on{background:var(--brown);color:var(--cream);border-color:var(--brown)}
.tabs-bar .n{background:var(--red);color:#fff;border-radius:9px;padding:0 6px;font-size:.72rem;margin-inline-start:4px}
.thumb{width:100%;max-height:220px;object-fit:cover;border-radius:10px;margin:8px 0}
.diff{font-size:.9rem;background:var(--cream);border-radius:10px;padding:8px 12px;margin:8px 0}
.diff div{display:flex;gap:8px}
.diff s{color:var(--red)}
.diff b{color:var(--green)}

/* support */
.support{text-align:center;max-width:520px;margin:0 auto}
.support .phone{font-size:2rem;font-family:Cairo,sans-serif;font-weight:700;direction:ltr;color:var(--brown-d);margin:8px 0 16px}

/* more menu */
.menu-list a,.menu-list button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 6px;border:0;background:transparent;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:600;cursor:pointer;text-align:start}
.menu-list svg{width:22px;height:22px;color:var(--brown)}

.news-count{margin:-4px 0 12px;color:var(--muted);font-size:.92rem}
.news-count b{color:var(--brown-d)}
.flabel{display:block;margin-bottom:6px;font-size:.92rem;font-weight:600}
.date-field{width:100%;display:flex;align-items:center;gap:12px;text-align:start;padding:10px 14px;min-height:48px;border:1.5px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;font:inherit;color:var(--ink)}
.date-field[aria-expanded=true]{border-color:var(--green);box-shadow:0 0 0 3px rgba(93,174,75,.18)}
.date-field svg{width:22px;height:22px;color:var(--brown);flex:none}
.date-field span{display:flex;flex-direction:column;line-height:1.4}
.date-field small{color:var(--muted);font-weight:400}
.date-field .ph{color:#9a8b7a;font-weight:400}
.date-field .taken{color:var(--red);font-weight:600}
.dpick{margin-top:8px;background:#fff;border:1.5px solid var(--line);border-radius:14px;padding:10px}
.dp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;text-align:center}
.dp-head b{display:block;font-family:Cairo,sans-serif;color:var(--brown-d)}
.dp-head small{color:var(--muted);font-weight:400}
.dp-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.dp-grid .dn{text-align:center;font-size:.72rem;color:var(--muted);font-weight:600}
.dp-day{border:1px solid var(--line);background:var(--cream-2);border-radius:10px;padding:5px 0;cursor:pointer;display:flex;flex-direction:column;align-items:center;line-height:1.2;font:inherit;color:var(--ink);min-height:44px;position:relative}
.dp-day b{font-size:.92rem}.dp-day small{font-size:.66rem;color:var(--muted)}
.dp-day:hover:not([disabled]){border-color:var(--green-l)}
.dp-day[disabled]{opacity:.3;cursor:default}
.dp-day.out{visibility:hidden}
.dp-day.today{border-color:var(--green)}
.dp-day.sel{background:var(--green);border-color:var(--green);color:#fff}.dp-day.sel small{color:#e8f5e4}
.dp-day.busy::after,.busy-dot{content:"";position:absolute;top:4px;inset-inline-start:4px;width:6px;height:6px;border-radius:50%;background:var(--red)}
.busy-dot{position:static;display:inline-block;vertical-align:middle}
.dp-legend{font-size:.75rem;color:var(--muted);margin-top:8px}
div.f{margin-bottom:12px}
.me-card{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.me-card b{font-size:1.15rem;font-family:Cairo,'IBM Plex Sans Arabic',sans-serif;color:var(--brown-d)}
.me-av{width:56px;height:56px;border-radius:50%;background:var(--cream);color:var(--brown);display:grid;place-items:center;font-size:1.5rem;font-weight:700;font-family:Cairo,sans-serif;flex:none}
.icon-btn.sup-ic svg{width:24px;height:24px}

/* pending requests + locks */
.req-card{display:flex;align-items:center;justify-content:space-between;gap:12px}
.req-card .req-main{min-width:0;flex:1}
.req-card .req-t{font-weight:700;margin:6px 0 2px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.req-card .btn{flex:none}
.req-card.locked{background:#f6f1e7;opacity:.92}
.lock-tag{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:.82rem;color:#8a4b12;background:#fdf0d6;border-radius:999px;padding:3px 10px}
.lock-tag.mine{color:var(--green);background:#e6f2e1}
.lock-tag svg,.chip svg{width:14px;height:14px}
.lock-card{text-align:center;margin-top:14px;padding:28px 18px}
.lock-card .lock-ic{width:56px;height:56px;margin:0 auto 8px;border-radius:50%;background:#fdf0d6;color:#8a4b12;display:grid;place-items:center}
.lock-card .lock-ic svg{width:28px;height:28px}
.back-req{display:inline-flex;align-items:center;gap:6px}
.back-req svg{width:16px;height:16px}
.brand span{white-space:nowrap}
@media (max-width:420px){.top-in{gap:6px;padding-inline:12px}.brand{gap:8px;font-size:1.1rem}.brand img{width:38px}.icon-btn{width:38px;height:38px}.icon-btn svg,.icon-btn.sup-ic svg{width:22px;height:22px}}
.unlock-btn{display:inline-flex;align-items:center;gap:6px}.unlock-btn svg{width:16px;height:16px}
.lock-card .unlock-btn{margin-top:10px}
.forgot-wrap{text-align:center}
.forgot-link{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:999px;background:#f6ecd9;color:var(--brown);font-weight:700;font-size:.95rem;text-decoration:none;transition:background .15s}
.forgot-link:hover{background:#efdfc2}
.forgot-link svg{width:17px;height:17px}
.forgot-btn{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;border-width:1.5px}
.forgot-btn svg{width:18px;height:18px}
.btn.ghost.del-user{color:var(--red);border-color:var(--red)}

.poster{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:.85rem;margin:2px 0 6px}
.poster svg{width:15px;height:15px;flex:none}
.poster b{color:var(--brown);font-weight:600}
/* silver leaf (set by المدير only) */
.leaf.silver{background:linear-gradient(135deg,#eef1f4 0%,#c3c9d0 45%,#8d96a0 100%);color:#2b3138;box-shadow:0 3px 10px rgba(80,90,100,.35),inset 0 1px 0 rgba(255,255,255,.8)}
.leaf.silver .rip{color:#5b3a12}
.tree-legend .lg.s{background:linear-gradient(135deg,#eef1f4,#8d96a0);margin-inline-start:10px}
.lg-silver{display:inline-block;width:18px;height:12px;border-radius:2px 9px 2px 9px;background:linear-gradient(135deg,#eef1f4,#8d96a0);vertical-align:middle}

.ar-hint{display:flex;gap:8px;align-items:flex-start;background:#fdf6e7;border:1px solid #efdcb2;color:#6b4a1f;border-radius:12px;padding:10px 12px;font-size:.88rem;line-height:1.6;margin:0 0 12px}
.ar-hint svg{width:18px;height:18px;flex:none;margin-top:3px}
.name-prev{margin:-4px 0 12px;font-size:.88rem;color:var(--green)}
