.pdlg{max-width:560px}.pdlg__hero{display:flex;gap:16px;align-items:flex-start;padding:22px 22px 16px;border-bottom:1px solid var(--border-soft);position:relative}.pdlg__names{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.pdlg__ur{font-size:24px;line-height:1.9;text-align:start}.pdlg__en{font-size:22px;direction:ltr;unicode-bidi:isolate;text-align:start}.pdlg__meta{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0}.pdlg__close{position:absolute;top:12px;inset-inline-end:12px}.pdlg__stats{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--border-soft)}.pdlg__stat{padding:12px 10px;text-align:center;border-inline-end:1px solid var(--border-soft)}.pdlg__stat:last-child{border-inline-end:0}.pdlg__stat-value{font-family:var(--font-display);font-size:24px;font-weight:500;line-height:1.1}.pdlg__stat-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-top:4px}.pdlg__line{padding:12px 22px;font-size:12px;line-height:1.9;color:var(--muted);border-bottom:1px solid var(--border-soft)}.pdlg__section{padding:12px 14px 4px}.pdlg__section h4{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:0 8px 6px}.pdlg__list{max-height:220px;overflow:auto}.linkbtn{border:0;background:none;padding:0;color:var(--accent);font:inherit;cursor:pointer}.linkbtn:hover{text-decoration:underline}@media (max-width: 480px){.pdlg__stats{grid-template-columns:repeat(2,1fr)}.pdlg__stat:nth-child(2){border-inline-end:0}}.pdlg__contact{border-bottom:1px solid var(--border-soft);padding-bottom:12px}.pdlg__contact-rows{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:0 8px}.pdlg__contact-rows .btn svg{width:14px;height:14px}.protected-site .shell,.protected-site .modal,.protected-site .palette__box,.protected-site img,.protected-site .protected,.protected-site .map__frame{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.protected-site input,.protected-site textarea,.protected-site [contenteditable]{user-select:text;-webkit-user-select:text}.protected-site .records__preview,.protected-site .reccard__thumb,.protected-site .gallery__item img{pointer-events:none}.protected-site .gallery__item a{display:block}.watermark{position:relative;overflow:hidden}.watermark:after{content:"Daud Family · داؤد خاندان · Daud Family · داؤد خاندان · Daud Family · داؤد خاندان · Daud Family · داؤد خاندان";position:absolute;top:-40%;right:-40%;bottom:-40%;left:-40%;pointer-events:none;color:#1f3b631f;font-family:var(--font-heading);font-size:22px;font-weight:600;letter-spacing:.08em;line-height:3.4;text-align:center;transform:rotate(-24deg);white-space:normal;word-spacing:1.2em;mix-blend-mode:multiply}@media print{.protected-site body>*{display:none!important}.protected-site body:before{content:"Printing this site is not permitted. · اس سائٹ کو پرنٹ کرنے کی اجازت نہیں۔";display:block;padding:40px;font:16px/1.6 system-ui,sans-serif}}.notice-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;background:#111620b8;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px}.notice{width:100%;max-width:560px;background:var(--panel);border-radius:16px;box-shadow:0 30px 80px #00000073;padding:24px 24px 20px;display:grid;grid-template-columns:44px 1fr;gap:16px;border-top:4px solid var(--danger)}.notice__icon{width:44px;height:44px;border-radius:12px;background:#fdecea;color:var(--danger);display:grid;place-items:center}.notice__icon svg{width:24px;height:24px}.notice__body{min-width:0}.notice__kicker{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--danger);margin-bottom:4px}.notice__title{font-size:20px;margin-bottom:8px}.notice__text,.notice__law,.notice__logged{margin:0 0 8px;line-height:1.55}.notice__law{font-weight:500}.notice__logged{font-size:12px;color:var(--muted)}.notice__urdu{margin-top:10px;padding-top:10px;border-top:1px solid var(--border-soft);font-size:15px;line-height:2;text-align:start}.notice__ok{grid-column:2;justify-self:end}@media (max-width: 480px){.notice{grid-template-columns:1fr;padding:20px 18px 16px}.notice__ok{grid-column:1;width:100%;justify-content:center}}.notice__latin{font-family:var(--font-body);font-size:13px;line-height:1.55;text-align:left}.forensic{position:fixed;top:0;right:0;bottom:0;left:0;z-index:120;pointer-events:none;background-repeat:repeat;mix-blend-mode:multiply}.protected-site.veil .shell{filter:blur(16px) saturate(.6);transition:filter .12s}.protected-site .shell{transition:filter .2s}.veil-msg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:130;display:none;place-items:center;pointer-events:none;background:#f4f4f259}.protected-site.veil .veil-msg{display:grid}.veil-msg__box{display:flex;gap:12px;align-items:center;padding:14px 18px;background:var(--panel);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);font-weight:600;max-width:420px}.veil-msg__box svg{width:22px;height:22px;color:var(--accent);flex:none}.veil-msg__sub{font-size:12px;font-weight:400;color:var(--muted);margin-top:2px}.syncbadge{position:relative;display:inline-flex;align-items:center;flex-shrink:0}.syncbadge__pill{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 8px;border:1px solid var(--border);border-radius:999px;background:var(--panel);color:var(--muted);font:inherit;font-size:12px;line-height:1;white-space:nowrap;cursor:pointer;transition:border-color .15s var(--ease, ease),color .15s var(--ease, ease)}.syncbadge__pill:hover,.syncbadge__pill[aria-expanded=true]{border-color:var(--accent);color:var(--text)}.syncbadge__pill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.syncbadge__lock{flex-shrink:0;opacity:.8}.syncbadge__dot{width:8px;height:8px;border-radius:50%;background:var(--muted);flex-shrink:0}.syncbadge__dot--idle,.syncbadge__dot--saved{background:var(--ok)}.syncbadge__dot--loading,.syncbadge__dot--saving{background:var(--accent);animation:syncbadge-pulse 1s ease-in-out infinite}.syncbadge__dot--offline,.syncbadge__dot--unauthorized{background:var(--warn)}.syncbadge__dot--error{background:var(--danger)}.syncbadge__dot--local{background:var(--muted)}@keyframes syncbadge-pulse{0%,to{opacity:1}50%{opacity:.35}}.syncbadge__pop{position:absolute;top:calc(100% + 8px);inset-inline-end:0;width:min(300px,calc(100vw - 32px));padding:14px;z-index:60;box-shadow:var(--shadow-lg, var(--shadow));display:flex;flex-direction:column;gap:10px}.syncbadge__pop h4{margin:0;font-size:13px;font-weight:600}.syncbadge__meta{margin:0;font-size:12px;color:var(--muted);line-height:1.4}.syncbadge__error{margin:0;font-size:12px;color:var(--danger);line-height:1.4}.syncbadge__actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}@media (max-width: 640px){.syncbadge__label{display:none}.syncbadge__pill{padding:0 8px}}.tour-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;background:#11162099;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px}.tour{width:100%;max-width:860px;max-height:calc(100vh - 40px);background:var(--panel);border-radius:18px;overflow:auto;box-shadow:0 30px 80px #0006;display:grid;grid-template-columns:280px 1fr}.tour__side{background:linear-gradient(170deg,#27497a 0%,var(--accent) 55%,#152a47 100%);color:#fff;padding:24px 22px;display:flex;flex-direction:column;gap:20px}.tour__brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:18px;font-weight:600}.tour__logo{width:32px;height:32px;border-radius:9px;background:#ffffff26;display:grid;place-items:center;font-family:var(--font-urdu);font-size:18px;padding-bottom:3px}.tour__art{height:140px;display:grid;place-items:center;border-radius:14px;background:radial-gradient(circle at 50% 40%,#ffffff2e,#ffffff08 70%);animation:tour-pop .35s var(--ease)}.tour__art svg{width:64px;height:64px;stroke-width:1.4;color:#fff}@keyframes tour-pop{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.tour__steps{display:flex;flex-direction:column;gap:2px;margin-top:auto}.tour__dot{display:flex;align-items:center;gap:10px;padding:7px 8px;border:0;border-radius:8px;background:transparent;color:#ffffffb3;font-size:13px;text-align:start;transition:background .15s var(--ease),color .15s var(--ease)}.tour__dot:hover{background:#ffffff14}.tour__dot.active{background:#ffffff29;color:#fff;font-weight:600}.tour__dot-num{width:22px;height:22px;border-radius:50%;border:1.5px solid rgba(255,255,255,.4);display:grid;place-items:center;font-size:11px;flex:none}.tour__dot.done .tour__dot-num{background:#ffffffe6;color:var(--accent);border-color:transparent}.tour__dot.active .tour__dot-num{border-color:#fff}.tour__main{position:relative;padding:28px 32px 24px;display:flex;flex-direction:column;min-width:0}.tour__close{position:absolute;top:14px;inset-inline-end:14px}.tour__progress{height:4px;border-radius:999px;background:var(--border-soft);overflow:hidden;margin-inline-end:44px}.tour__progress span{display:block;height:100%;background:linear-gradient(90deg,var(--accent),var(--gold));transition:width .3s var(--ease)}.tour__counter{margin-top:14px;font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gold)}[dir=rtl] .tour__counter{text-transform:none;letter-spacing:0;font-size:12px}.tour__content{flex:1;padding:10px 0 20px;animation:tour-slide .3s var(--ease)}.tour__content--back{animation-name:tour-slide-back}@keyframes tour-slide{0%{opacity:0;transform:translate(12px)}to{opacity:1;transform:none}}@keyframes tour-slide-back{0%{opacity:0;transform:translate(-12px)}to{opacity:1;transform:none}}.tour__title{font-size:26px;margin-bottom:10px}.tour__text{margin:0 0 16px;font-size:15px;line-height:1.65;max-width:min(54ch,100%)}.tour__tip{padding:10px 14px;border-radius:var(--radius);background:var(--gold-soft);color:#5b4210;font-size:13px;line-height:1.55;max-width:54ch}.tour__tip strong{color:var(--gold);margin-inline-end:4px}.tour__inline{margin-top:6px}.tour__cta{margin-top:14px}.tour__foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:16px;border-top:1px solid var(--border-soft)}.tour-btn{width:36px;padding:0;justify-content:center;font-weight:700;color:var(--muted)}@media (max-width: 900px){.tour{grid-template-columns:1fr}.tour__side{padding:18px 18px 14px;gap:14px}.tour__art{height:90px}.tour__art svg{width:44px;height:44px}.tour__steps{flex-direction:row;flex-wrap:wrap;gap:6px;margin-top:0}.tour__dot-label{display:none}.tour__dot{padding:4px}.tour__main{padding:20px 18px 18px}.tour__title{font-size:22px}}.admin{margin-bottom:20px;border-color:color-mix(in srgb,var(--gold) 35%,var(--border));background:linear-gradient(180deg,#fffdf8,var(--panel) 120px)}.admin__body{display:grid;gap:18px}.admin__tiles{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.admin__tiles .tile{padding:12px 14px 14px}.admin__tiles .tile__value{font-size:28px}.tile--warn{border-color:#efc9c6;background:#fdf6f5}.tile--warn .tile__value{color:var(--danger)}.admin__grid{display:grid;grid-template-columns:3fr 2fr;gap:20px}.admin__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:8px}[dir=rtl] .admin__label{text-transform:none;letter-spacing:0;font-size:12px}.admin__svg{width:100%;height:auto;display:block;background:var(--bg);border-radius:var(--radius)}.admin__bar-views{fill:var(--accent-soft)}.admin__bar-visitors{fill:var(--accent)}.admin__tick{font-size:9px;fill:var(--muted);font-family:var(--font-body)}.admin__legend{display:flex;gap:14px;font-size:12px;color:var(--muted);margin-top:6px}.admin__swatch{display:inline-block;width:10px;height:10px;border-radius:2px;vertical-align:-1px;margin-inline-end:4px}.admin__swatch--views{background:var(--accent-soft);border:1px solid var(--border)}.admin__swatch--visitors{background:var(--accent)}.admin__list{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:13px}.admin__list li{display:grid;grid-template-columns:minmax(80px,140px) 1fr auto;gap:10px;align-items:center}.admin__list li .mono:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin__bar{display:block;height:8px;border-radius:999px;background:var(--accent);opacity:.75}.admin__langs{display:flex;gap:6px;flex-wrap:wrap}@media (max-width: 1100px){.admin__tiles{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.admin__grid{grid-template-columns:1fr}}@media (max-width: 600px){.admin__tiles{grid-template-columns:repeat(2,1fr)}}.linestrip{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:14px 18px}.linestrip__item{display:flex;align-items:center;gap:4px}.linestrip__card{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 10px;min-width:92px;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel)}.linestrip__card:hover{border-color:var(--accent)}.linestrip__card.me{background:var(--accent);border-color:var(--accent);color:#fff}.linestrip__card.me .badge{background:#fff3;color:#fff}.linestrip__ur{font-size:15px;line-height:2}.linestrip__en{font-size:12px;font-weight:500;white-space:nowrap}.linestrip__arrow{width:14px;height:14px;color:var(--border)}.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.facts{display:grid;gap:12px}.fact__label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.fact__value{margin-top:2px}.todo{display:grid;gap:16px}.todo__head{display:flex;align-items:center;gap:8px;margin-bottom:6px}.todo__head .hint{margin-inline-start:auto}.todo__list{display:grid}@media (max-width: 980px){.dash-grid{grid-template-columns:1fr}}.village-card{display:grid;grid-template-columns:minmax(280px,2fr) 3fr;overflow:hidden}.village-card__map .map{height:100%}.village-card__map .map__frame{height:100%!important;min-height:240px}.village-card__body{padding:20px 24px;min-width:0}.village-card__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.village-card__facts{display:flex;flex-wrap:wrap;gap:14px 24px}@media (max-width: 980px){.village-card{grid-template-columns:1fr}}.office-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;padding:16px 18px 20px}.office{--office: var(--accent);display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--border-soft);border-inline-start:4px solid var(--office);border-radius:var(--radius-lg);background:var(--panel);text-align:start;transition:border-color .15s var(--ease),box-shadow .15s var(--ease),transform .1s var(--ease)}.office:hover{border-color:var(--office);box-shadow:var(--shadow-lg);transform:translateY(-1px)}.office__icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;color:var(--office);background:color-mix(in srgb,var(--office) 12%,white)}.office__icon svg{width:28px;height:28px}.office__text{min-width:0}.office__role{font-family:var(--font-display);font-size:20px;font-weight:600;line-height:1.15;color:var(--office);letter-spacing:-.01em}.office__qual{font-size:12px;color:var(--muted);margin-top:1px}.office__name{display:flex;gap:10px;align-items:baseline;margin-top:6px;font-weight:600;font-size:14px;flex-wrap:wrap}.office__alt{font-weight:400;color:var(--muted);font-size:14px}.office__side{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}.office__cat{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--office);text-align:end;max-width:110px;line-height:1.3}[dir=rtl] .office__cat{text-transform:none;letter-spacing:0;font-size:12px}.badge--gold{background:var(--gold-soft);color:var(--gold);max-width:180px;height:auto;min-height:20px;padding:2px 8px;white-space:normal;text-align:center;line-height:1.3}@media (max-width: 700px){.office-grid{grid-template-columns:1fr;padding:12px}.office{grid-template-columns:44px 1fr}.office__icon{width:44px;height:44px}.office__side{grid-column:2;flex-direction:row;align-items:center}}.dash-grid>*,.todo,.todo__item,.todo__list{min-width:0}.todo__list .prow{min-width:0;max-width:100%}.locked{display:flex;gap:18px;align-items:flex-start;padding:22px 24px;margin-bottom:20px;border-color:color-mix(in srgb,var(--gold) 40%,var(--border));background:linear-gradient(180deg,#fffdf8,var(--panel) 120px)}.locked__icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);flex:none}.locked__icon svg{width:24px;height:24px}.locked__body h2{font-size:22px}.contact{margin:0;display:grid;gap:4px}.contact__row{display:grid;grid-template-columns:110px 1fr auto;gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--border-soft)}.contact__row:last-child{border-bottom:0}.contact__row dt{font-size:12px;font-weight:600;color:var(--muted)}.contact__row dd{margin:0;font-weight:500;overflow-wrap:anywhere;unicode-bidi:plaintext}.contact__action .btn svg{width:14px;height:14px}.contact__form{display:grid;gap:12px}.contact__toggle{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border-soft);border-radius:var(--radius);background:var(--bg);cursor:pointer}.contact__toggle input{margin-top:3px}.contact__toggle span{display:flex;flex-direction:column;gap:2px}.inspector__section .contact__row{grid-template-columns:1fr auto}.inspector__section .contact__row dt{grid-column:1 / -1;padding-bottom:0;font-size:11px}@media (max-width: 600px){.contact__row{grid-template-columns:1fr auto}.contact__row dt{grid-column:1 / -1}}.treepage{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:52px 1fr;grid-template-areas:"toolbar inspector" "canvas inspector";height:100%}.treepage--nopanel{grid-template-columns:minmax(0,1fr);grid-template-areas:"toolbar" "canvas"}.tree-toolbar{grid-area:toolbar;display:flex;align-items:center;gap:12px;padding:0 16px;min-width:0;overflow:hidden;white-space:nowrap;background:var(--panel);border-bottom:1px solid var(--border)}.tree-toolbar__spacer{flex:1}.tree-toolbar .hint{overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 1 auto}.tree-canvas,.tree-toolbar,.inspector{min-width:0}.tree-toolbar .btn svg{width:16px;height:16px}.tree-canvas{grid-area:canvas;position:relative;touch-action:none;overflow:clip;background-color:var(--bg);background-image:radial-gradient(circle,#d9dde3 1px,transparent 1px);background-size:24px 24px;cursor:grab;-webkit-user-select:none;user-select:none}.tree-canvas.dragging{cursor:grabbing}.tree-world{position:absolute;left:0;top:0;width:0;height:0;overflow:visible;transform-origin:0 0;will-change:transform}.tree-world svg{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}.tree-world path{fill:none;stroke:#b5bcc8;stroke-width:1.5}.tree-world path.hl{stroke:var(--accent);stroke-width:2.2}.card{position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:6px 8px;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 1px 2px #14181f0d;cursor:pointer;text-align:center;transition:box-shadow .12s,border-color .12s}.card:hover{border-color:#9aa6b8;box-shadow:0 2px 8px #14181f1a}.card.focus{border-color:var(--accent);box-shadow:0 0 0 3px #2b4c7e33,0 4px 14px #2b4c7e33}.card.line{border-color:var(--accent)}.card.unplaced{border-style:dashed}.card.female{background:#fdf7fa}.card__ur{font-size:15px;line-height:2;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.card__en{font-size:12px;font-weight:500;line-height:1.2;direction:ltr;unicode-bidi:isolate;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.card__meta{display:flex;align-items:center;gap:5px;font-size:10px;color:var(--muted);max-width:100%}.card__meta .badge{height:16px;font-size:10px;padding:0 5px}.card__note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card.pedigree{align-items:flex-start;text-align:start;padding:8px 10px}.card.pedigree .card__ur{font-size:14px}.card__role{position:absolute;top:-8px;left:8px;background:var(--bg);padding:0 4px;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.card.addslot-card{border-style:dashed;background:transparent;color:var(--muted);font-size:12px;gap:4px;flex-direction:row;justify-content:center}.card.addslot-card:hover{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.card.addslot-card svg{width:14px;height:14px}.tree-legend{position:absolute;inset-inline-start:12px;bottom:12px;max-width:calc(100% - 80px);white-space:nowrap;overflow:hidden;display:flex;gap:12px;padding:6px 10px;background:#ffffffe6;border:1px solid var(--border);border-radius:var(--radius);font-size:11px;color:var(--muted)}.tree-legend span{flex:none}.tree-legend span:last-child{flex:0 1 auto;overflow:hidden;text-overflow:ellipsis}.tree-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:5px;vertical-align:-1px;border:1px solid var(--border);background:#fff}.tree-legend i.focus{border-color:var(--accent);box-shadow:0 0 0 2px #2b4c7e33}.tree-legend i.line{border-color:var(--accent)}.tree-legend i.unplaced{border-style:dashed}.tree-zoom{position:absolute;inset-inline-end:12px;bottom:12px;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.tree-zoom button{width:34px;height:34px;border:0;background:transparent;display:grid;place-items:center;color:var(--text)}.tree-zoom button+button{border-top:1px solid var(--border-soft)}.tree-zoom button:hover{background:var(--bg)}.tree-zoom svg{width:16px;height:16px}.inspector{grid-area:inspector;background:var(--panel);border-inline-start:1px solid var(--border);overflow:auto;display:flex;flex-direction:column}.inspector__hero{padding:20px 18px 14px;border-bottom:1px solid var(--border-soft);display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.inspector__ur{font-size:22px;line-height:1.9}.inspector__en{font-family:var(--font-heading);font-size:17px;font-weight:600;direction:ltr;unicode-bidi:isolate}.inspector__meta{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.inspector__actions{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap;justify-content:center}.inspector__section{padding:12px 12px 4px}.inspector__section h4{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:0 6px 6px;font-family:var(--font-body);display:flex;justify-content:space-between}.inspector__section h4 button{border:0;background:transparent;color:var(--accent);font-size:11px;letter-spacing:0;text-transform:none;padding:0}.inspector .addslot{margin:2px 0 6px}@media (max-width: 900px){.treepage{grid-template-columns:minmax(0,1fr);grid-template-rows:52px minmax(0,1fr) minmax(0,42vh);grid-template-areas:"toolbar" "canvas" "inspector"}.inspector{border-inline-start:0;border-top:1px solid var(--border)}}.people-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.gen-group{margin-bottom:16px}.gen-group__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:2px 12px;padding:8px}.gen-group__grid>*{min-width:0}.profile__crumbs{font-size:12px;color:var(--muted);margin-bottom:12px;line-height:1.8}.profile__head{display:flex;gap:20px;align-items:flex-start;padding:22px;margin-bottom:20px}.profile__names{flex:1;display:flex;flex-direction:column;gap:6px}.profile__ur{font-size:26px;line-height:1.9;text-align:start}.profile__alt{font-size:18px;color:var(--muted);direction:ltr;unicode-bidi:isolate;text-align:start}.profile__meta{display:flex;gap:6px;flex-wrap:wrap}.profile__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.profile__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.profile__col{display:grid;gap:20px;align-content:start}.fam{display:grid;gap:16px}.fam__block{display:grid;gap:6px}.fam__block h4{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-family:var(--font-body)}.tl{display:grid;gap:14px}.tl__item{display:flex;gap:12px;align-items:flex-start}.tl__dot{width:10px;height:10px;border-radius:50%;background:var(--accent);margin-top:5px;flex:none}.tl__dot.unsourced{background:transparent;border:2px dashed var(--border)}.tl__title{font-weight:500}.linkbtn{border:0;background:none;color:var(--accent);padding:0;font-size:inherit}.rec{display:flex;gap:12px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border-soft);border-radius:var(--radius);color:var(--text)}.rec:hover{border-color:var(--border);background:var(--bg)}.rec__kind{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);background:var(--accent-soft);padding:3px 6px;border-radius:4px;margin-top:2px}.rec__title{font-weight:500}@media (max-width: 1100px){.profile__grid{grid-template-columns:minmax(0,1fr)}.profile__col{min-width:0}}@media (max-width: 700px){.profile__head{flex-wrap:wrap}.profile__actions{justify-content:flex-start;width:100%}.profile__ur{font-size:22px}}.records{display:grid;grid-template-columns:360px 1fr;gap:20px;align-items:start}.records__list{display:grid;gap:8px}.records__error{padding:12px 16px;margin-bottom:16px;color:var(--danger);border-color:#efc9c6;background:#fdf3f2}.reccard{display:flex;gap:12px;align-items:center;text-align:start;padding:10px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--panel)}.reccard:hover{border-color:#9aa6b8}.reccard.active{border-color:var(--accent);box-shadow:0 0 0 3px #2b4c7e26}.reccard__thumb{width:56px;height:56px;object-fit:cover;border-radius:var(--radius);flex:none;background:var(--bg)}.reccard__thumb--doc{display:grid;place-items:center;font-family:var(--font-heading);font-size:11px;font-weight:700;color:var(--accent);background:var(--accent-soft)}.reccard__text{min-width:0}.reccard__title{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kv{display:grid;grid-template-columns:120px 1fr;gap:6px 12px;margin:0}.kv dt{color:var(--muted);font-size:12px}.kv dd{margin:0}.records__scan{padding:24px;background:var(--bg);border-radius:var(--radius);display:grid;place-items:center}.records__scan-sheet{width:240px;aspect-ratio:1 / 1.3;background:#fffdf7;border:1px solid #e3dcc7;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;text-align:center}.records__preview{width:100%;max-height:480px;object-fit:contain;border-radius:var(--radius);background:var(--bg)}.records__pdf{height:480px;border:1px solid var(--border)}@media (max-width: 1000px){.records{grid-template-columns:minmax(0,1fr)}.records>*{min-width:0}.kv{grid-template-columns:96px 1fr}}.events__h2{display:flex;align-items:center;gap:10px;margin:8px 0 12px;font-size:18px}.events__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;margin-bottom:28px}.events__grid--past .evcard{opacity:.75}.evcard{--ev: var(--accent);display:grid;grid-template-columns:72px 1fr;gap:16px;padding:16px;background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);color:inherit;box-shadow:var(--shadow);transition:box-shadow .15s var(--ease),transform .1s var(--ease),border-color .15s var(--ease)}.evcard:hover{border-color:var(--ev);box-shadow:var(--shadow-lg);transform:translateY(-1px)}.evcard--wedding,.evcard--walima,.evcard--engagement{--ev: #7a1f2b}.evcard--aqiqah,.evcard--birthday{--ev: #0f766e}.evcard--eid,.evcard--reunion{--ev: #1d6b3a}.evcard--funeral{--ev: #475569}.evcard__date{display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:12px;background:color-mix(in srgb,var(--ev) 10%,white);color:var(--ev);padding:10px 6px;align-self:start}.evcard__day{font-family:var(--font-display);font-size:30px;font-weight:600;line-height:1}.evcard__month{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-top:4px}[dir=rtl] .evcard__month{text-transform:none;letter-spacing:0;font-size:12px}.evcard__type{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--ev)}[dir=rtl] .evcard__type{text-transform:none;letter-spacing:0;font-size:12px}.evcard__title{font-family:var(--font-display);font-size:20px;font-weight:600;margin:2px 0 6px}.evcard__meta{display:grid;gap:4px;font-size:13px;color:var(--muted)}.evcard__meta span{display:flex;align-items:center;gap:6px}.evcard__meta svg{width:14px;height:14px;flex:none}.evcard__hosts{margin-top:8px;font-size:13px}.evcard__foot{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap}.evcard__count{margin-inline-start:auto}.evform{display:grid;gap:16px}.evform__types{flex-wrap:wrap}.evform__hosts{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.chip__x{border:0;background:transparent;color:inherit;font-size:14px;line-height:1;padding:0 2px;cursor:pointer}.evdetail__grid{display:grid;grid-template-columns:3fr 2fr;gap:20px}.evinfo__row{display:flex;gap:12px;align-items:flex-start;padding:8px 0}.evinfo__row svg{width:20px;height:20px;color:var(--accent);flex:none;margin-top:2px}.evinfo__value{font-weight:600;font-size:15px}.evinfo__hosts{margin-top:10px;padding-top:12px;border-top:1px solid var(--border-soft)}.evinfo__hostlist{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.evinfo__hostlist .chip{height:34px;padding-inline-start:4px;color:var(--text)}.evinfo__hostlist .avatar{width:26px;height:26px;font-size:10px}.evinfo__msg{margin-top:12px;padding:12px 14px;border-radius:var(--radius);background:var(--gold-soft);line-height:1.7;unicode-bidi:plaintext}.evstats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.evstat{padding:12px;border-radius:var(--radius);background:var(--bg);text-align:center}.evstat__value{font-family:var(--font-display);font-size:28px;font-weight:600;line-height:1.1}.evstat__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-top:4px}[dir=rtl] .evstat__label{text-transform:none;letter-spacing:0;font-size:12px}.evstat--ok .evstat__value{color:var(--ok)}.evstat--warn .evstat__value{color:var(--danger)}.evstat--accent{background:var(--accent-soft)}.evstat--accent .evstat__value{color:var(--accent)}.evguests__filter{flex-wrap:wrap}.evguests__add{position:relative;border-bottom:1px solid var(--border-soft)}.evguests__hits{margin-top:6px;padding:4px;max-height:320px;overflow:auto}.evtable td{white-space:normal;vertical-align:middle}.evtable__person{display:flex;align-items:center;gap:10px;color:inherit;font-weight:500}.evtable__person .avatar{width:30px;height:30px;font-size:11px}.evtable__status{height:32px;width:150px;font-size:13px}.evtable__status--accepted{border-color:var(--ok);color:var(--ok)}.evtable__status--declined{border-color:var(--danger);color:var(--danger)}.evtable__status--invited{border-color:var(--accent);color:var(--accent)}.evtable__guests{width:70px;height:32px}.evtable__note{min-width:160px;height:32px}.evtable__contact{display:flex;gap:6px;flex-wrap:wrap}.evtable__contact .btn svg{width:14px;height:14px}@media (max-width: 980px){.evdetail__grid{grid-template-columns:1fr}}@media (max-width: 600px){.evcard{grid-template-columns:56px 1fr;gap:12px;padding:12px}.evcard__day{font-size:24px}.evstats{grid-template-columns:repeat(2,1fr)}}@media print{.sidebar,.topbar,.page__actions,.evguests__add,.evguests__filter,.evtable td:last-child,.evtable th:last-child,.forensic,.sync-badge{display:none!important}.shell{display:block;height:auto}.main{overflow:visible}.page{padding:0;max-width:none}.evtable__status,.evtable__guests,.evtable__note{border:0;background:transparent;padding:0}}.evtable th:nth-child(2),.evtable__status{min-width:150px}.evtable th:nth-child(3){min-width:80px}.members__list{display:grid;gap:14px}.members__toast{position:fixed;bottom:24px;inset-inline-end:24px;z-index:90;padding:10px 14px;border-radius:var(--radius);background:var(--accent);color:#fff;box-shadow:var(--shadow-lg);font-weight:500}.member{border-inline-start:4px solid var(--border)}.member--pending{border-inline-start-color:var(--warn)}.member--approved{border-inline-start-color:var(--ok)}.member--blocked{border-inline-start-color:var(--danger);opacity:.85}.member__head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border-soft);flex-wrap:wrap}.member__who{display:flex;gap:12px;align-items:center;min-width:0}.member__avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-weight:700;flex:none}.member__name{font-weight:600;font-size:15px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.member__actions{display:flex;gap:8px;flex-wrap:wrap}.member__body{display:grid;grid-template-columns:3fr 2fr;gap:20px;padding:16px 18px 18px}.member__perm{display:grid;gap:10px;align-content:start}.member__roots{display:flex;gap:8px;flex-wrap:wrap}.member__roots .chip{height:34px;padding-inline-start:4px}.member__roots .avatar{width:26px;height:26px;font-size:10px}@media (max-width: 900px){.member__body{grid-template-columns:1fr}}.members__note{padding:12px 16px;margin-bottom:16px;background:var(--accent-soft);color:var(--accent);font-size:14px}.member--admin{border-inline-start-color:var(--accent)}.member__avatar--admin,.badge--admin{background:var(--accent);color:#fff}.member__role{grid-column:1 / -1;border-top:1px dashed var(--border);padding-top:14px}.member__role-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}.member__admin{display:grid;grid-template-columns:3fr 2fr;gap:18px;margin-top:14px}.member__warn{margin:6px 0 8px;padding:8px 12px;border-radius:var(--radius);background:color-mix(in srgb,var(--warn) 16%,transparent);color:var(--warn);font-size:13px}.permgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}.permbox{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;background:var(--panel)}.permbox.active{border-color:var(--accent);background:var(--accent-soft)}.permbox input{margin-top:3px}.permbox span{display:flex;flex-direction:column;gap:2px;font-size:13px}.member__log{margin-top:12px;display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.account__role{margin-inline-start:6px;font-size:10px}@media (max-width: 760px){.member__admin,.permgrid{grid-template-columns:1fr}}.activity__layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}.activity__actors{padding-bottom:6px}.actorrow{display:flex;align-items:center;gap:10px;width:100%;padding:10px 16px;border:0;background:none;text-align:start;cursor:pointer;font:inherit;color:inherit;border-inline-start:3px solid transparent}.actorrow:hover{background:var(--bg)}.actorrow.active{background:var(--accent-soft);border-inline-start-color:var(--accent)}.actorrow__text{display:flex;flex-direction:column;min-width:0;flex:1}.actorrow__name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.actorrow__dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--accent)}.actorrow__dot--super{background:var(--warn);box-shadow:0 0 0 3px color-mix(in srgb,var(--warn) 25%,transparent)}.activity__filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border-soft)}.activity__search{max-width:280px}.segmented__n{margin-inline-start:6px;font-size:11px;opacity:.7}.actlog{list-style:none;margin:0;padding:0}.actrow{border-bottom:1px solid var(--border-soft)}.actrow__main{display:grid;grid-template-columns:110px 160px auto auto minmax(0,1fr);gap:10px;align-items:center;width:100%;padding:10px 16px;border:0;background:none;text-align:start;font:inherit;color:inherit;cursor:pointer}.actrow__main:hover,.actrow.open .actrow__main{background:var(--bg)}.actrow__when{font-size:12px;color:var(--muted)}.actrow__who{display:flex;align-items:center;gap:8px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actrow__summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.actrow.open .actrow__summary{white-space:normal}.actrow__action--add{background:color-mix(in srgb,var(--ok) 18%,transparent);color:var(--ok)}.actrow__action--remove,.actrow__action--block{background:color-mix(in srgb,var(--danger) 16%,transparent);color:var(--danger)}.actrow__action--update{background:var(--accent-soft);color:var(--accent)}.actrow__action--approve{background:color-mix(in srgb,var(--ok) 18%,transparent);color:var(--ok)}.actrow__details{padding:4px 16px 14px;display:grid;gap:10px}.actrow__diff{display:grid;grid-template-columns:1fr 1fr;gap:12px}.actrow__diff pre{margin:4px 0 0;padding:10px 12px;background:var(--bg);border:1px solid var(--border-soft);border-radius:var(--radius);font-size:12px;line-height:1.5;max-height:320px;overflow:auto;white-space:pre-wrap;word-break:break-word}.activity__more{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px}@media (max-width: 960px){.activity__layout{grid-template-columns:1fr}.actrow__main{grid-template-columns:1fr 1fr}.actrow__summary{grid-column:1 / -1;white-space:normal}.actrow__diff{grid-template-columns:1fr}}.signin{max-width:1040px}.signin__grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;margin-top:12px}.signin__side{padding:32px 30px;border-radius:18px;background:linear-gradient(170deg,#27497a 0%,var(--accent) 55%,#152a47 100%);color:#fff;min-height:420px}.signin__side h2{font-size:28px;margin:14px 0 10px;color:#fff}.signin__side p{line-height:1.65;opacity:.9}.signin__logo{width:44px;height:44px;border-radius:12px;display:inline-grid;place-items:center;background:#ffffff26;font-family:var(--font-urdu);font-size:24px;padding-bottom:4px}.signin__card .signin__logo{background:var(--accent);color:#fff;flex:none}.signin__points{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}.signin__points li{display:flex;gap:10px;align-items:center;font-weight:500}.signin__points svg{width:18px;height:18px}.signin__ur{font-size:16px;line-height:2;text-align:start}.signin__side .signin__ur{border-top:1px solid rgba(255,255,255,.2);padding-top:14px;margin-top:14px}.signin__card{max-width:520px;width:100%;justify-self:center}.signin__hero{display:flex;gap:14px;align-items:center;padding:22px 22px 0}.signin__hero h1{font-size:24px}.signin__tabs{display:flex;width:100%;margin-bottom:18px}.signin__tabs button{flex:1}.signin__providers{display:grid;gap:8px}.signin__provider{height:42px;justify-content:center;font-weight:600}.signin__or{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--muted);font-size:12px}.signin__or:before,.signin__or:after{content:"";flex:1;height:1px;background:var(--border-soft)}.signin__form{display:grid;gap:14px}.signin__submit{height:42px;justify-content:center}.signin__error{padding:10px 12px;border-radius:var(--radius);background:#fdf3f2;border:1px solid #efc9c6;color:var(--danger);font-size:13px}.signin__note{margin:0;line-height:1.55}.signin__actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}@media (max-width: 900px){.signin__grid{grid-template-columns:1fr}.signin__side{min-height:0;padding:24px 22px}}.village__title-ur{font-size:22px;color:var(--muted);margin-inline-start:10px;vertical-align:middle}.village__hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;margin-bottom:20px}.village__grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.map{display:flex;flex-direction:column}.map__frame{width:100%;border:0;display:block;background:var(--bg)}.map__links{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;padding:10px 18px;border-top:1px solid var(--border-soft);font-size:12px;color:var(--muted)}.map__links a{font-weight:500}.map__links .mono{margin-inline-end:auto}.village__map .map__frame,.village__map .map__links{border-radius:0 0 var(--radius-lg) var(--radius-lg)}.village__map .map__frame{border-radius:0}.nearby{list-style:none;margin:0;padding:6px 0}.nearby__row{display:flex;align-items:center;gap:12px;padding:9px 18px;border-bottom:1px solid var(--border-soft)}.nearby__row:last-child{border-bottom:0}.nearby__text{flex:1;min-width:0}.nearby__name{font-weight:500}.nearby__kind{font-size:12px;color:var(--muted)}.nearby__dist{display:flex;flex-direction:column;align-items:flex-end;flex:none;font-weight:600;font-size:13px}.nearby__dir{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:.04em}.lede{margin:0 0 20px;font-size:15px;line-height:1.6;max-width:78ch;color:var(--text)}.legend{display:flex;gap:14px;font-size:12px;color:var(--muted)}.legend__item{display:inline-flex;align-items:center;gap:6px}.dot{width:8px;height:8px;border-radius:50%;display:inline-block}.dot--family{background:var(--accent)}.dot--region{background:var(--muted)}.dot--estimate{background:var(--gold)}.hist{list-style:none;margin:0;padding:0;position:relative}.hist:before{content:"";position:absolute;inset-inline-start:171px;top:8px;bottom:8px;width:1px;background:var(--border)}.hist__item{display:grid;grid-template-columns:148px 48px 1fr;gap:0;padding:10px 0;position:relative}.hist__item:before{content:"";position:absolute;inset-inline-start:166px;top:17px;width:11px;height:11px;border-radius:50%;background:var(--panel);border:2px solid var(--muted);box-sizing:border-box}.hist__item--family:before{border-color:var(--accent);background:var(--accent)}.hist__item--estimate:before{border-color:var(--gold);border-style:dashed}.hist__when{grid-column:1;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding-inline-end:12px;font-weight:600;font-size:13px}.hist__body{grid-column:3;min-width:0}.hist__body h4{font-size:15px;font-weight:600;margin-bottom:4px}.hist__body p{margin:0;line-height:1.55;max-width:72ch}.hist__source{margin-top:6px;font-size:12px;color:var(--muted)}.badge--family{background:var(--accent-soft);color:var(--accent)}.badge--region{background:var(--bg);color:var(--muted)}.badge--estimate{background:var(--gold-soft);color:var(--gold)}.status{margin:0;display:grid}.status__row{display:grid;grid-template-columns:150px 1fr;gap:12px;padding:10px 0;border-top:1px solid var(--border-soft)}.status__row dt{font-size:12px;font-weight:600;color:var(--muted);display:flex;flex-direction:column;align-items:flex-start;gap:4px}.status__row dd{margin:0}.status__value{font-weight:500}.status__note{font-size:12px;color:var(--muted);margin-top:2px;line-height:1.5}.status__level{font-weight:500;text-transform:lowercase}.status__level--village{background:var(--accent-soft);color:var(--accent)}.notes{white-space:pre-wrap;line-height:1.6}.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery__item{margin:0;border:1px solid var(--border-soft);border-radius:var(--radius);overflow:hidden;background:var(--bg)}.gallery__item img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover;background:var(--border-soft);transition:transform .25s ease}.gallery__item a:hover img{transform:scale(1.03)}.gallery__item figcaption{padding:8px 10px 10px;background:var(--panel)}.gallery__caption{font-size:13px;font-weight:500}.gallery__credit{font-size:11px;color:var(--muted);margin-top:2px}.sources{list-style:none;margin:0;padding:8px 18px 12px;columns:2;column-gap:24px}.sources li{padding:5px 0;font-size:13px;break-inside:avoid}.sources a{display:inline-flex;align-items:center;gap:4px}.sources svg,.btn svg.ext{width:12px;height:12px}@media (max-width: 1100px){.gallery{grid-template-columns:repeat(3,1fr)}}@media (max-width: 980px){.village__hero,.village__grid{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,1fr)}.sources{columns:1}.hist:before{display:none}.hist__item{grid-template-columns:1fr}.hist__item:before{display:none}.hist__when{flex-direction:row;align-items:center;margin-bottom:4px}.hist__body{grid-column:1}}:root{--bg: #f4f4f2;--panel: #ffffff;--accent: #1f3b63;--accent-hover: #182f50;--accent-soft: #e9eef6;--accent-text: #ffffff;--gold: #9a6b1f;--gold-soft: #f7efdf;--text: #171a20;--muted: #626a77;--border: #dadde3;--border-soft: #eaecf0;--warn: #b7791f;--warn-soft: #fbf1dc;--danger: #b4443c;--ok: #2f7d4f;--radius: 8px;--radius-lg: 12px;--sidebar-w: 240px;--topbar-h: 56px;--font-display: "Newsreader", Georgia, "Times New Roman", serif;--font-heading: "Inter", system-ui, -apple-system, sans-serif;--font-body: "Inter", system-ui, -apple-system, sans-serif;--font-urdu: "Noto Nastaliq Urdu", "Noto Naskh Arabic", serif;--shadow: 0 1px 2px rgba(23, 26, 32, .04), 0 1px 0 rgba(23, 26, 32, .02);--shadow-lg: 0 1px 2px rgba(23, 26, 32, .05), 0 8px 24px rgba(23, 26, 32, .08);--ease: cubic-bezier(.2, 0, 0, 1)}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:var(--font-heading);margin:0;font-weight:600;letter-spacing:-.01em}h1{font-family:var(--font-display);font-size:32px;font-weight:500;letter-spacing:-.015em;line-height:1.15}h2{font-family:var(--font-display);font-size:22px;font-weight:500;letter-spacing:-.01em}h3{font-size:14px;letter-spacing:0}a{transition:color .15s var(--ease)}::selection{background:var(--accent-soft)}*{scrollbar-width:thin;scrollbar-color:#c9cdd4 transparent}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-thumb{background:#c9cdd4;border:3px solid transparent;border-radius:999px;background-clip:padding-box}*::-webkit-scrollbar-track{background:transparent}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.eyebrow{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin-bottom:8px}.eyebrow svg{width:13px;height:13px}.page__actions{display:flex;gap:8px;flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;align-items:center}a{color:var(--accent);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.ur{font-family:var(--font-urdu);direction:rtl;unicode-bidi:isolate;line-height:2}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-variant-numeric:tabular-nums}.shell{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);grid-template-rows:var(--topbar-h) 1fr;grid-template-areas:"sidebar topbar" "sidebar main";height:100vh;overflow:hidden}.sidebar{grid-area:sidebar;background:var(--panel);border-inline-end:1px solid var(--border);display:flex;flex-direction:column;padding:14px 12px 16px;gap:0;min-height:0}.sidebar__brand{display:flex;align-items:center;gap:12px;padding:6px 8px 18px}.sidebar__logo{width:36px;height:36px;border-radius:10px;background:linear-gradient(160deg,#2a4a78,var(--accent));color:#fff;display:grid;place-items:center;font-family:var(--font-urdu);font-weight:600;font-size:20px;line-height:1;padding-bottom:4px;box-shadow:inset 0 1px #ffffff26;flex:none}.sidebar__brand-text{min-width:0}.sidebar__brand-name{font-family:var(--font-display);font-weight:600;font-size:18px;line-height:1.1;letter-spacing:-.01em;white-space:nowrap}.sidebar__brand-sub{font-size:11px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar__nav{display:flex;flex-direction:column;gap:6px;overflow:auto}.sidebar__group{display:flex;flex-direction:column;gap:2px}.sidebar__section{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);padding:10px 10px 6px}.navlink{position:relative;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius);color:var(--text);font-weight:500;font-size:13.5px;transition:background .15s var(--ease),color .15s var(--ease)}.navlink svg{width:18px;height:18px;color:var(--muted);flex:none;transition:color .15s var(--ease)}.navlink:hover{background:var(--bg)}.navlink.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.navlink.active:before{content:"";position:absolute;inset-inline-start:-12px;top:8px;bottom:8px;width:3px;border-start-end-radius:3px;border-end-end-radius:3px;background:var(--accent)}.navlink.active svg{color:var(--accent)}.navlink__label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar__footer{margin-top:auto;padding:14px 10px 0;border-top:1px solid var(--border-soft);font-size:12px;color:var(--muted)}.sidebar__footer strong{display:block;color:var(--text);font-weight:600}.topbar{grid-area:topbar;background:#ffffffd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;padding:0 24px}.topbar__title{font-family:var(--font-heading);font-weight:600;font-size:14px;white-space:nowrap;display:flex;align-items:center;gap:8px}.topbar__crumb{color:var(--muted);font-weight:500}.topbar__sep{color:var(--border);font-weight:400}.topbar__search{flex:1;max-width:520px;margin-inline-start:auto;display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--muted);text-align:start}.topbar__search{transition:border-color .15s var(--ease),background .15s var(--ease)}.topbar__search:hover{border-color:#b9c0cb;background:var(--panel)}.topbar__search svg{width:16px;height:16px}.topbar__search span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar__search .kbd{flex:none}.kbd{display:inline-block;min-width:20px;padding:1px 6px;border:1px solid var(--border);border-bottom-width:2px;border-radius:5px;background:#fff;font-size:11px;color:var(--muted);text-align:center;font-family:var(--font-body)}.main{grid-area:main;overflow:hidden auto;min-width:0;min-height:0}.page{padding:28px 32px 48px;max-width:1320px;margin:0 auto}.page--full{padding:0;max-width:none;height:100%;display:flex;flex-direction:column}.page__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.page__head .ur{font-size:18px;color:var(--muted)}.page__head .hint{max-width:72ch;line-height:1.5}.page__head>:first-child{flex:1 1 280px;min-width:0}.page__head{flex-wrap:wrap}h1,h2{overflow-wrap:anywhere}.panel{min-width:0}.panel{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow)}.panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--border-soft);min-height:52px}.panel__head h3{font-size:14px;font-weight:600}.panel__body{padding:16px 18px}.btn{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:var(--radius);border:1px solid var(--border);background:var(--panel);color:var(--text);font-weight:500;font-size:13px;white-space:nowrap;box-shadow:0 1px 1px #171a200a;transition:background .15s var(--ease),border-color .15s var(--ease),box-shadow .15s var(--ease),transform .1s var(--ease)}.btn:hover{background:var(--bg);border-color:#c9cdd4}.btn:active{transform:translateY(.5px)}.btn svg{width:15px;height:15px}.btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.btn--primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn--ghost{box-shadow:none}.btn--sm{height:28px;padding:0 10px;font-size:12px}.btn--ghost{border-color:transparent;background:transparent}.btn--danger{color:var(--danger)}.btn:disabled{opacity:.5;cursor:default}.badge{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:999px;font-size:11px;font-weight:600;background:var(--accent-soft);color:var(--accent);font-family:var(--font-heading);letter-spacing:.01em}.badge--warn{background:var(--warn-soft);color:var(--warn)}.badge--muted{background:var(--bg);color:var(--muted)}.badge--user{background:#e4f3ea;color:var(--ok)}.input,.select,.textarea{width:100%;height:36px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel);outline:none}.textarea{height:auto;min-height:80px;padding:8px 10px;resize:vertical;line-height:1.5}.input:focus,.select:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #2b4c7e26}.input.ur,.textarea.ur{font-size:16px}.field{display:flex;flex-direction:column;gap:6px}.field>label{font-size:12px;font-weight:500;color:var(--muted)}.segmented{display:inline-flex;padding:3px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);gap:2px}.segmented button{white-space:nowrap;height:28px;padding:0 12px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:500;font-size:13px}.segmented button.active{background:var(--panel);color:var(--text);box-shadow:0 1px 2px #14181f14}.chip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--panel);font-size:12px;color:var(--text)}.chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.empty{padding:24px;text-align:center;color:var(--muted);font-size:13px}.addslot{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 12px;border:1px dashed var(--border);border-radius:var(--radius);color:var(--muted);background:transparent;font-size:13px;width:100%}.addslot:hover{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}.addslot svg{width:14px;height:14px}.prow{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:var(--radius);border:1px solid transparent;width:100%;background:transparent;text-align:start}.prow[role=button]{cursor:pointer}.prow[role=button]:hover{background:var(--bg)}.prow:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.prow--boxed{border-color:var(--border-soft);background:var(--panel)}.prow--boxed:hover{border-color:var(--border)}.prow.active{border-color:var(--accent);background:var(--accent-soft)}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-family:var(--font-heading);font-weight:600;font-size:13px;flex:none}.avatar--lg{width:64px;height:64px;font-size:22px}.avatar--female{background:#f6e5ee;color:#8a3b63}.prow__text{flex:1;min-width:0;display:flex;flex-direction:column}.prow__en{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prow__sub{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prow__ur{font-size:15px;color:var(--text);white-space:nowrap;flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#14181f66;display:grid;place-items:center;z-index:50;padding:24px}.modal{background:var(--panel);border-radius:14px;width:100%;max-width:640px;max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 24px 64px #14181f40}.modal__head{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--border-soft)}.modal__body{padding:20px 22px;display:grid;gap:16px}.modal__foot{display:flex;justify-content:flex-end;gap:8px;padding:16px 22px;border-top:1px solid var(--border-soft)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.palette{position:fixed;top:0;right:0;bottom:0;left:0;background:#14181f59;z-index:60;display:flex;justify-content:center;align-items:flex-start;padding-top:10vh}.palette__box{width:640px;max-width:calc(100vw - 48px);background:var(--panel);border-radius:var(--radius-lg);box-shadow:0 24px 64px #14181f4d;overflow:hidden}.palette__input{display:flex;align-items:center;gap:10px;padding:0 16px;height:52px;border-bottom:1px solid var(--border-soft)}.palette__input svg{width:18px;height:18px;color:var(--muted)}.palette__input input{flex:1;border:0;outline:none;font-size:16px;background:transparent;height:100%}.palette__list{max-height:56vh;overflow:auto;padding:8px}.palette__group{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);padding:10px 10px 4px}.palette__hint{padding:10px 16px;border-top:1px solid var(--border-soft);font-size:12px;color:var(--muted);display:flex;gap:14px}.palette__hint span{display:inline-flex;gap:6px;align-items:center}.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}.tile{background:var(--panel);border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px 18px 18px;box-shadow:var(--shadow)}.tile__label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.tile__value{font-family:var(--font-display);font-size:34px;font-weight:500;margin-top:8px;line-height:1.05;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tile__sub{font-size:12px;color:var(--muted);margin-top:4px}.tile--accent{background:linear-gradient(160deg,#27497a,var(--accent));border-color:var(--accent);color:#fff}.tile--accent .tile__label,.tile--accent .tile__sub{color:#ffffffbf}.hint{font-size:12px;color:var(--muted)}@media (max-width: 980px){.tiles{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:1fr 1fr}}@media (max-width: 900px){:root{--sidebar-w: 64px}.sidebar{padding:14px 10px 16px;align-items:stretch}.sidebar__brand{justify-content:center;padding:2px 0 14px}.sidebar__brand-text,.sidebar__section,.navlink__label,.sidebar__footer{display:none}.navlink{justify-content:center;padding:10px 0}.navlink.active:before{inset-inline-start:-10px}.topbar{padding:0 16px}.topbar__crumb,.topbar__sep{display:none}.topbar__title{min-width:0;overflow:hidden;text-overflow:ellipsis}.langtoggle button{min-width:36px;padding:0 7px}.tour-btn,.btn__label{display:none}.page{padding:20px 16px 40px}}@media (max-width: 700px){.page__head,.panel__head{flex-wrap:wrap}.page__actions{width:100%;justify-content:flex-start}.topbar{gap:10px}.topbar__search{flex:none;width:36px;padding:0;justify-content:center;margin-inline-start:auto}.topbar__search span,.btn--primary .btn__label{display:none}}@media (max-width: 700px){.segmented{max-width:100%;overflow-x:auto;scrollbar-width:none}.segmented::-webkit-scrollbar{display:none}.tiles{gap:10px}.tile{padding:12px 14px 14px}.tile__value{font-size:28px}.grid-2,.grid-3{grid-template-columns:1fr}}.langtoggle button{min-width:44px;padding:0 10px}.langtoggle button.ur{font-family:var(--font-urdu);font-size:14px;line-height:1;padding-bottom:3px}.sidebar__credit{display:block;margin-top:8px;font-size:11px;color:var(--muted);line-height:1.5}.tlrow{display:grid;grid-template-columns:140px 20px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid var(--border-soft)}.tlrow:last-child{border-bottom:0}.tlrow__dot{width:10px;height:10px;margin-top:5px;border-radius:50%;border:2px dashed var(--border);box-sizing:border-box}.tlrow__dot.sourced{background:var(--accent);border:0}@media (max-width: 600px){.tlrow{grid-template-columns:1fr;gap:4px}.tlrow__dot{display:none}}.seclist{margin:0;padding-inline-start:18px;display:grid;gap:8px;line-height:1.55}.sectable-wrap{overflow:auto}.sectable{width:100%;border-collapse:collapse;font-size:13px}.sectable th,.sectable td{padding:9px 14px;text-align:start;border-bottom:1px solid var(--border-soft);vertical-align:top;white-space:nowrap}.sectable th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:var(--bg)}.sectable__ua{max-width:180px;overflow:hidden;text-overflow:ellipsis}[dir=rtl] body,[dir=rtl] button,[dir=rtl] input,[dir=rtl] select,[dir=rtl] textarea{font-family:var(--font-urdu)}[dir=rtl] body{font-size:14px;line-height:1.9}[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] h4,[dir=rtl] .sidebar__brand-name,[dir=rtl] .tile__value,[dir=rtl] .office__role,[dir=rtl] .pdlg__stat-value{font-family:var(--font-urdu);letter-spacing:0}[dir=rtl] h1{font-size:28px;line-height:1.7;font-weight:600}[dir=rtl] h2{font-size:20px;line-height:1.8}[dir=rtl] .tile__value,[dir=rtl] .pdlg__stat-value{font-family:var(--font-heading)}[dir=rtl] .eyebrow,[dir=rtl] .sidebar__section,[dir=rtl] .tile__label,[dir=rtl] .fact__label,[dir=rtl] .palette__group,[dir=rtl] .inspector__section h4,[dir=rtl] .pdlg__stat-label,[dir=rtl] .pdlg__section h4,[dir=rtl] .sectable th{text-transform:none;letter-spacing:0;font-size:12px}[dir=rtl] .linestrip__arrow,[dir=rtl] .profile__crumbs .muted,[dir=rtl] .pdlg__crumb .muted{transform:scaleX(-1);display:inline-block}[dir=rtl] .ur{direction:rtl}[dir=rtl] .prow__en,[dir=rtl] .inspector__en,[dir=rtl] .linestrip__en,[dir=rtl] .office__alt:not(.ur),[dir=rtl] .mono,[dir=rtl] .kbd{direction:ltr;unicode-bidi:isolate}[dir=rtl] .page__head .ur{text-align:start}[dir=rtl] .nearby__dist,[dir=rtl] .office__side,[dir=rtl] .pdlg__close{align-items:flex-start}[dir=rtl] .tree-canvas .card .en{direction:ltr}.blockform{display:grid;grid-template-columns:220px 1fr auto;gap:12px;align-items:end}@media (max-width: 700px){.blockform{grid-template-columns:1fr}}.bidi,.prow__sub,.fact__value,.hint,.card__note,.office__qual,.tl__title,.tlrow,.status__value,.status__note{unicode-bidi:plaintext}.prow__en.ur{font-size:15px;font-weight:500;line-height:2}.prow__ur.latin{font-family:var(--font-heading);font-size:12px;color:var(--muted);direction:ltr;line-height:1.3}[dir=rtl] .profile__ur,[dir=rtl] .inspector__ur,[dir=rtl] .pdlg__ur{font-size:30px;font-weight:600;color:var(--text)}[dir=rtl] .inspector__ur{font-size:24px}[dir=rtl] .profile__head h1.profile__ur{font-size:32px;line-height:1.9;color:var(--text)}[dir=rtl] .profile__alt,[dir=rtl] .pdlg__en{font-family:var(--font-display);font-size:18px;font-weight:500;color:var(--muted)}[dir=rtl] .inspector__en{font-size:13px;color:var(--muted);font-weight:500}[dir=rtl] .card__en{font-size:11px;color:var(--muted)}[dir=rtl] .segmented,[dir=rtl] .tiles,[dir=rtl] .linestrip{direction:rtl}[dir=rtl] .palette__hint,[dir=rtl] .topbar__search .kbd{direction:ltr}.sidebar__footer-alt{direction:ltr;unicode-bidi:isolate;color:var(--muted)}.account__dot{width:8px;height:8px;border-radius:50%;background:var(--warn);flex:none}.account__dot[data-status=approved]{background:var(--ok)}.account__dot[data-status=blocked]{background:var(--danger)}.preface{margin-top:14px;padding:14px 16px;border-radius:var(--radius);background:var(--gold-soft);border:1px solid color-mix(in srgb,var(--gold) 30%,white)}.preface__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-bottom:6px}[dir=rtl] .preface__label{text-transform:none;letter-spacing:0;font-size:12px}.preface__ur{font-size:16px;line-height:2.1;text-align:start}.preface__en{margin-top:10px;line-height:1.6;color:var(--text)}.preface__bismillah{text-align:center;font-size:18px;line-height:2;margin-bottom:6px}
