:root{--green:#24211e;--deep:#171513;--gold:#B98D54;--paper:#FAF8F4;--ink:#25211d;--muted:#756d63;--line:#e7dfd3;--white:#fff;--red:#a52e3d;--shadow:0 12px 36px #3528190b;color-scheme:light;font-family:Tahoma,Arial,sans-serif;font-size:15px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;line-height:1.75}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #cdb578;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;line-height:1.5;margin-bottom:.4rem;letter-spacing:-.5px}h2{font-size:1.12rem;margin-bottom:1rem}h3{font-size:1rem}p{margin-bottom:1rem}small{font-size:.79rem}img{max-width:100%}label{cursor:pointer}.muted{color:var(--muted)}.eyebrow{color:#927340;font-size:.74rem;letter-spacing:.3px;font-weight:700;margin-bottom:.4rem}.primary,.secondary,.text-button,.icon-button{border:0;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:9px;padding:.6rem 1.1rem;font-weight:700;line-height:1.7;transition:.15s}.primary{color:#fff;background:var(--green);border:1px solid var(--green)}.primary:hover{background:#493b2a}.secondary{background:#f5f6f2;color:var(--green);border:1px solid #ddc9ae}.text-button{background:transparent;color:var(--green);padding:.45rem .7rem}.text-link{color:#805b2f;text-decoration:underline;text-underline-offset:5px}.icon-button{background:transparent;font-size:1.4rem;min-width:42px;padding:.3rem}.danger-button{background:var(--red);color:#fff}.boot{max-width:540px;margin:12vh auto;padding:30px;text-align:center}.boot img{width:120px}.brand{display:flex;align-items:center;gap:12px;line-height:1.6;font-weight:700}.brand img{width:44px;height:55px;object-fit:contain}.brand small{display:block;font-weight:400;font-size:.71rem;opacity:.73}.workspace{display:flex;min-height:100vh}.sidebar{width:254px;position:fixed;right:0;top:0;bottom:0;background:var(--green);color:#fffaf2;padding:27px 16px 20px;display:flex;flex-direction:column;z-index:50}.sidebar .brand{padding:0 9px 25px;border-bottom:1px solid #ffffff19}.sidebar .brand img{background:#f8f5e9;padding:6px;border-radius:7px;width:47px;height:59px}.sidebar-label{font-size:.71rem;color:#d1c1ac;padding:21px 13px 9px}.sidebar nav{overflow:auto}.nav-link{display:flex;align-items:center;gap:12px;border-radius:8px;padding:10px 13px;font-size:.83rem;margin:3px 0;white-space:nowrap}.nav-link:hover{background:#ffffff0b}.sidebar .nav-link.selected{background:#b4965724;color:#fff;border-right:3px solid #c5aa69;padding-right:10px}.nav-symbol{font-size:1.2rem;line-height:1.3;width:22px;text-align:center;color:#c6b27b}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;font-size:.75rem;display:grid;gap:12px;color:#d1c1ac}.workspace-main{margin-right:254px;min-width:0;flex:1}.topbar{height:92px;padding:17px 36px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.workspace-caption{font-weight:700;font-size:.85rem}.workspace-caption small{display:block;font-weight:400;color:var(--muted)}.account-actions{display:flex;align-items:center;gap:17px;font-size:.81rem}.account-chip{display:flex;align-items:center;gap:9px}.account-chip small{display:block;color:var(--muted);font-size:.68rem}.avatar{width:35px;height:35px;border-radius:50%;background:#f1e6d7;color:var(--green);display:grid;place-items:center}.notification-link{font-size:1.2rem;position:relative}.notification-link span:not(:empty){background:#be8144;color:#fff;border-radius:20px;font-size:11px;padding:0 5px;position:absolute;right:10px;top:-5px}.demo-bar{font-size:.69rem;line-height:1.6;text-align:center;background:#ede8db;color:#6e654f;padding:6px 12px}.workspace main{padding:32px 36px 60px;max-width:1740px;margin:auto}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.page-heading p{font-size:.85rem;color:var(--muted);margin:0;max-width:720px}.heading-actions{display:flex;flex-wrap:wrap;gap:8px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:23px;margin-bottom:23px;box-shadow:var(--shadow);min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between}.panel-heading h2{padding-bottom:13px;border-bottom:1px solid var(--line);width:100%;margin-bottom:20px}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:15px;margin:0 0 24px}.metric{background:#fff;border:1px solid var(--line);border-top:3px solid #B98D54;border-radius:11px;padding:20px 19px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--shadow)}.metric>span{font-size:.8rem;color:var(--muted)}.metric strong{font-size:2rem;color:var(--green);line-height:1.4}.metric small{color:#738075;line-height:1.6}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.two-col>.panel{margin-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:.8rem;font-weight:700;color:#475f51}.field input,.field textarea,.field select,.search,.toolbar input,.toolbar select{width:100%;padding:10px 12px;border:1px solid #d7e0d8;border-radius:7px;background:#fdfefc;min-height:45px;color:var(--ink)}.field textarea{resize:vertical}.field input:read-only{background:#f1f3ef}.wide{grid-column:1/-1}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:5px}.form-error{padding:12px 15px;background:#fff0ee;color:#982638;border-radius:8px;border:1px solid #e8c5c5;font-size:.85rem}.check{display:flex;gap:9px;align-items:flex-start;font-size:.85rem;margin:10px 0}.check input{accent-color:var(--green);margin-top:7px;flex-shrink:0;width:17px;height:17px}.check span{line-height:1.8}.selection-list{max-height:270px;overflow:auto;padding:10px 16px;background:#f5f7f2;border-radius:8px}.notice{background:#edf4ee;border:1px solid #cfe0d1;padding:15px 18px;border-radius:9px;font-size:.88rem;margin-bottom:20px;line-height:1.9}.notice.warning{background:#fff8e8;color:#6d592a;border-color:#eddfb9}.notice.danger{background:#fff0ef;color:#912f3c;border-color:#e6c9c9}.notice p:last-child{margin-bottom:0}.table-wrap{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;white-space:normal;font-size:.82rem;line-height:1.8}th{background:#f4f6f0;color:#637361;font-weight:700;text-align:right;padding:13px 12px;border-bottom:1px solid var(--line);white-space:nowrap;font-size:.75rem}td{padding:14px 12px;border-bottom:1px solid #ebefea;vertical-align:middle;min-width:95px}tr:last-child td{border-bottom:0}td .primary,td .secondary,td .text-button{font-size:.73rem;white-space:nowrap;padding:5px 10px;margin:2px}td small{display:block;color:var(--muted)}tbody tr:hover{background:#fcfdf9}.badge{display:inline-block;border-radius:20px;background:#f0f2ed;color:#596959;font-size:.71rem;line-height:1.8;padding:3px 10px;white-space:nowrap}.b-approved,.b-active,.b-completed,.b-present,.b-accepted{background:#e8f3e7;color:#357044}.b-pending,.b-waiting,.b-needs_review,.b-late{background:#fbf1d8;color:#957022}.b-rejected,.b-absent,.b-cancelled{background:#f8e8e7;color:#a14a48}.b-archived{background:#eaecea;color:#74796e}.empty{padding:32px 20px;text-align:center;color:var(--muted);font-size:.86rem}.empty p{margin:8px 0}.empty-symbol{font-size:30px;color:#b3c6b2}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.toolbar input,.toolbar select{width:auto;max-width:240px}.toolbar label{font-size:.8rem}.toolbar input[type=date]{display:block}.search{max-width:360px;margin-bottom:15px}.row-between{display:flex;justify-content:space-between;gap:12px;align-items:center}.details-grid,.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:16px;font-size:.84rem;margin-bottom:18px}.details-grid span,.status-grid span{color:var(--muted)}.details-grid strong,.status-grid strong{display:block}.request-card{border:1px solid var(--line);border-radius:10px;margin:15px 0;padding:20px;background:#fff}.request-card h3{margin-bottom:8px}.request-card>p{color:var(--muted);font-size:.83rem}.child-fields{border:1px solid #dce5dc;border-radius:9px;padding:17px;margin:10px 0 18px;background:#fafcf7}.child-fields legend{padding:0 7px;font-weight:bold;font-size:.85rem}.permission-tags{display:flex;flex-wrap:wrap;gap:7px;font-size:.76rem}.permission-tags span{background:#edf3e9;padding:3px 8px;border-radius:5px}.progress-list{display:grid;gap:18px}.progress-list meter,.progress-list progress{width:100%;accent-color:var(--green)}.progress-list div{font-size:.85rem}.notification{display:flex;gap:15px;padding:19px 12px;border-bottom:1px solid var(--line)}.notification.read{opacity:.7}.notification h3{margin-bottom:5px}.notification p{margin-bottom:7px;font-size:.86rem}.notification small{color:var(--muted)}.notification-dot{width:8px;height:8px;border-radius:50%;background:var(--gold);margin-top:10px;flex-shrink:0}.notification.read .notification-dot{background:#bdc9bd}.audit-detail{max-width:420px;overflow-wrap:anywhere;font-family:monospace;font-size:.75rem}.modal-shade{position:fixed;inset:0;background:#10271ed0;display:flex;align-items:center;justify-content:center;padding:20px;z-index:110;backdrop-filter:blur(3px)}.modal{background:var(--paper);border-radius:15px;width:min(850px,100%);max-height:92dvh;overflow:auto;box-shadow:0 20px 80px #0005}.modal-heading{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:16px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1}.modal-heading h2{margin:0}.modal-body{padding:25px}.modal-open{overflow:hidden}.toast{position:fixed;left:24px;bottom:24px;background:var(--green);color:white;padding:15px 22px;border-radius:10px;max-width:460px;z-index:200;box-shadow:0 8px 35px #1235;opacity:0;transform:translateY(25px);transition:.2s;pointer-events:none;font-size:.9rem}.toast.show{opacity:1;transform:none}.toast.danger{background:#942c3f}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:1030px;margin:30px auto;min-height:470px;gap:0;box-shadow:var(--shadow);border-radius:18px;overflow:hidden}.auth-story{padding:38px;background:linear-gradient(145deg,#204c40,#15352e);color:#eff4ec;position:relative;overflow:hidden}.auth-story>img{width:95px;background:#f4f0df;padding:14px;border-radius:12px;margin-bottom:30px}.auth-story p{color:#c1d2bf;font-size:.93rem;max-width:350px}.auth-layout>.panel{border-radius:0;margin:0;padding:35px;box-shadow:none}.auth-lines{position:absolute;border:1px solid #c6b38124;border-radius:50%;width:430px;height:430px;bottom:-230px;left:-150px;box-shadow:0 0 0 45px #c6b38110,0 0 0 90px #c6b38108}.demo-help{font-size:.75rem;color:var(--muted);margin-top:18px;padding-top:10px;border-top:1px solid var(--line)}.demo-help summary{cursor:pointer}.public-header{background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:20px max(30px,calc((100vw - 1250px)/2));border-bottom:1px solid var(--line)}.public-header .brand{font-size:1rem}.public-header .brand img{width:49px}.public-nav{display:flex;gap:8px;padding:8px max(30px,calc((100vw - 1250px)/2));background:#fff;border-bottom:1px solid var(--line);overflow:auto}.public-nav .nav-link{padding:8px 11px;margin:0;font-size:.83rem}.public-nav .nav-link.selected{background:#edf3e9;color:var(--green)}.public-main{max-width:1280px;margin:auto;padding:32px 30px 65px;min-height:68vh}.hero{background:linear-gradient(120deg,#24211e,#2a5543);border-radius:18px;color:white;padding:47px;display:flex;justify-content:space-between;gap:30px;position:relative;overflow:hidden;margin-bottom:25px}.hero-copy{position:relative;z-index:1;max-width:620px}.hero .eyebrow{color:#d6c287}.hero h1{font-size:2.25rem;margin-bottom:20px}.hero p{color:#c6d7c8;max-width:540px}.hero .primary{background:#ddca93;color:#1c3b2e;border-color:#ddca93}.hero .secondary{background:transparent;color:#fff;border-color:#afc4ae5c}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.hero-logo{background:#f3efdf;display:flex;align-items:center;justify-content:center;padding:28px;border-radius:100px 100px 12px 12px;min-width:160px;width:185px;align-self:center}.hero-logo img{max-height:170px}.quick-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin-bottom:25px}.quick-grid>a{background:white;border:1px solid var(--line);border-radius:12px;padding:22px 17px;display:flex;flex-direction:column;gap:7px;box-shadow:var(--shadow)}.quick-grid span{font-size:1.8rem;color:var(--gold)}.quick-grid strong{font-size:.91rem}.quick-grid small{color:var(--muted)}.prayers{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:22px}.prayers>div{background:white;border:1px solid var(--line);border-radius:10px;padding:18px 10px;text-align:center;display:grid;gap:7px;font-size:.86rem}.prayers strong{font-size:1.5rem;color:var(--green);direction:ltr}.prayers small{color:var(--muted)}.content-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.content-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;box-shadow:var(--shadow)}.content-card h2,.content-card h3{margin-top:10px;margin-bottom:10px}.content-card p{font-size:.86rem;color:var(--muted);overflow-wrap:anywhere}.content-card small{color:#8a805f;display:block;margin-bottom:8px}.teacher-invite{border-radius:12px;background:#ecebdc;border:1px solid #dedbc4;padding:24px;margin-top:23px;display:flex;justify-content:space-between;align-items:center;gap:20px}.reading-body{max-width:800px;font-size:1.07rem;line-height:2.2;white-space:normal;overflow-wrap:anywhere}.mushaf-frame{border:1px solid #cec5a7;background:#fdf9ed;width:100%;height:calc(100dvh - 240px);min-height:480px;border-radius:10px;display:block}.action-list{display:flex;gap:12px;flex-wrap:wrap}.action-list a{display:block;background:#f1f5ed;padding:16px;border-radius:8px}.range-arrow{color:var(--gold);padding:0 5px}footer{background:#fff;border-top:1px solid var(--line);padding:30px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:.83rem}footer div{display:flex;gap:22px}footer small{color:var(--muted);width:100%}.mobile-toggle{display:none}[hidden]{display:none!important}
@media(min-width:1600px){:root{font-size:16px}}@media(max-width:1150px){.workspace main{padding:25px}.sidebar{width:232px}.workspace-main{margin-right:232px}.topbar{padding:15px 25px}.two-col{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(3,1fr)}.hero{padding:32px}.public-header{padding:16px 24px}.public-nav{padding:8px 18px}}@media(max-width:820px){:root{font-size:14px}.mobile-toggle{display:inline-flex}.sidebar{transform:translateX(100%);transition:.2s}.menu-open .sidebar{transform:none;box-shadow:-12px 0 80px #0005}.workspace-main{margin-right:0}.topbar{padding:12px 17px;height:79px}.workspace-caption{display:none}.workspace main{padding:22px 16px 45px}.account-actions{gap:9px}.account-actions .text-button{padding:6px}.account-chip{font-size:.76rem}.avatar{display:none}.public-header{padding:14px 16px}.public-header .brand{font-size:.85rem}.public-header .brand img{width:37px;height:44px}.public-header .account-actions{display:none}.public-nav{display:none;flex-wrap:wrap;padding:10px 16px}.menu-open .public-nav{display:flex}.public-main{padding:23px 16px 45px}.page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:20px}h1{font-size:1.5rem}.hero{padding:27px;gap:15px}.hero-logo{width:115px;min-width:100px;padding:18px}.hero h1{font-size:1.75rem}.metrics{grid-template-columns:repeat(2,1fr);gap:11px}.metric{padding:15px}.metric strong{font-size:1.8rem}.panel{padding:18px}.auth-layout{grid-template-columns:1fr;max-width:520px;margin:10px auto}.auth-story{padding:25px}.auth-story img{width:64px;padding:8px;margin-bottom:10px}.auth-story h1{margin-bottom:8px}.auth-story p{max-width:none;margin-bottom:0}.auth-layout>.panel{padding:23px}.form-grid{gap:14px}.prayers{grid-template-columns:repeat(3,1fr)}.prayers>div{padding:12px}.modal-shade{padding:10px}.modal{max-height:95dvh}.modal-body{padding:18px}.modal-heading{padding:12px 18px}.toast{right:16px;left:16px;bottom:16px;max-width:none}.teacher-invite{flex-direction:column;align-items:stretch}.mushaf-frame{height:calc(100dvh - 205px);min-height:450px}footer{padding:25px 20px}.demo-bar{font-size:.64rem}.details-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.hero-logo{display:none}.hero{padding:25px}.hero h1{font-size:1.75rem}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;gap:8px}.toolbar input,.toolbar select{width:100%;max-width:none}.modal-heading h2{font-size:1rem}.page-heading .heading-actions{width:100%}.field input,.field select,.field textarea{font-size:16px}.teacher-invite{padding:20px}.prayers strong{font-size:1.3rem}}
@media print{.sidebar,.topbar,.public-header,.public-nav,.demo-bar,.heading-actions,button,footer,.toast{display:none!important}.workspace-main{margin:0}.workspace main,.public-main{padding:0}.panel{box-shadow:none;break-inside:avoid}.metrics{grid-template-columns:repeat(4,1fr)}body{background:#fff}}

.quick-grid>a>span{font-size:.88rem;color:var(--muted);line-height:1.9}.quick-grid a{min-height:125px}.quick-grid a small{font-size:.9rem}.mobile-account-nav{display:none}.quick-grid>a:hover{border-color:#bdaa78;transform:translateY(-2px)}@media(max-width:820px){.mobile-account-nav{display:flex;align-items:center;gap:12px;width:100%;border-top:1px solid var(--line);padding:13px 4px 3px}.public-nav{max-height:70vh;overflow:auto}.quick-grid>a{padding:18px 15px;min-height:140px}}
/* V3: original black-and-gold identity; large unaltered vector wordmark. */
:root{--brand:#B98D54;--brand-dark:#795529;--ink:#25211d;--line:#e7dfd3;--paper:#FAF8F4}
.primary{background:var(--brand);border-color:var(--brand);color:#17130e}.primary:hover{background:#c9a272;color:#17130e}
.secondary{background:#fffaf3;border-color:#ddc9ae;color:#684921}.eyebrow{color:var(--brand-dark)}.text-link{color:var(--brand-dark)}
.brand-logo-link{display:block;flex-shrink:0;line-height:0}.brand-logo-link img{display:block;width:180px;height:auto;max-height:108px;object-fit:contain;background:#fff;border-radius:8px;padding:8px}
.public-header{min-height:106px;height:auto;border-top:3px solid var(--brand);gap:14px;background:#fff;padding-top:10px;padding-bottom:10px}
.sidebar .brand{display:flex;flex-direction:column;gap:10px;padding:0 0 20px;text-align:center}.sidebar .brand img{width:205px;height:auto;max-height:none;padding:12px;background:#fff;border-radius:9px}.sidebar .brand span{font-size:13px}
.hero{background:#f1e7d8;color:var(--ink);border:1px solid #ddc9ae;position:relative;overflow:hidden}.hero h1,.hero p,.hero .eyebrow{color:var(--ink)}.hero .eyebrow{color:var(--brand-dark)}.hero-logo{width:280px!important;height:auto!important;max-height:none!important;background:#fff;padding:25px!important;border-radius:14px;opacity:1!important;filter:none!important;object-fit:contain;box-shadow:0 10px 30px #3022110a}.hero .light-button{background:#fff;color:#60431f;border:1px solid #d7be9a}
.auth-story{background:#f4ede3!important;color:var(--ink)!important}.auth-story img{width:230px!important;height:auto!important;background:#fff;padding:18px;border-radius:10px;opacity:1!important;filter:none!important}.auth-story p{color:#655d53!important}
.back-row{display:flex;align-items:center;justify-content:space-between;min-height:50px;margin:0 0 15px;gap:10px}.back-button{display:inline-flex;align-items:center;gap:7px;min-width:86px;min-height:44px;border:1px solid #ddc9ae;border-radius:10px;background:#fff;color:#624622;font-weight:700;padding:7px 14px}.back-button svg{width:20px;height:20px}.back-home{font-size:12px;color:#786650;padding:8px}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(72px + env(safe-area-inset-bottom));padding:5px max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));background:#fff;border-top:1px solid #d8c6ad;box-shadow:0 -5px 22px #2a201010;z-index:60}
.bottom-link{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:10px;font-size:11px;color:#756857;min-width:0;line-height:1.4;text-align:center;position:relative}.bottom-link svg{width:23px;height:23px;stroke-width:1.7}.bottom-link.selected{background:#f4e9db;color:#6e4c22;font-weight:700}.bottom-link.selected:before{content:"";position:absolute;top:-5px;height:3px;width:26px;border-radius:3px;background:var(--brand)}
body[data-mode=user]{padding-bottom:calc(77px + env(safe-area-inset-bottom))}body.native-host{padding-bottom:0}.native-host .bottom-nav{display:none}.native-host .public-header{min-height:88px}.native-host .public-header .brand-logo-link img{width:156px}.native-host footer{display:none}
body[data-reader=true] .public-main{max-width:none;margin:0;padding:0;display:flex;flex-direction:column}body[data-reader=true] .public-nav,body[data-reader=true] footer{display:none}body[data-reader=true] .demo-bar{display:none}body[data-reader=true] .public-header{min-height:74px;padding:5px 18px}body[data-reader=true] .public-header .brand-logo-link img{width:126px;max-height:64px;padding:3px}
body[data-reader=true] .back-row{margin:0;padding:6px 16px;background:#fffaf3;min-height:52px;border-bottom:1px solid var(--line)}.reader-surface{display:flex;flex-direction:column;min-height:0;flex:1}.reader-surface .mushaf-frame,.reader-surface .book-frame{display:block;width:100%;border:0;border-radius:0;height:calc(100dvh - 210px - env(safe-area-inset-bottom));min-height:340px;background:#fcfaef}.native-host .reader-surface .mushaf-frame,.native-host .reader-surface .book-frame{height:calc(100dvh - 125px)}
.reader-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.quick-card:hover{border-color:#B98D54}.teacher-invite{background:#f3eadc!important;border-color:#ddc9ae!important}.prayers>div{border-color:#e3d5c1}.prayers strong{color:#6d4a22}.sidebar .nav-link.selected{border-right-color:#B98D54;background:#b98d542a}.sidebar .nav-symbol{color:#d7b387}
@media(min-width:1000px){.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:620px;bottom:12px;border:1px solid #ddc9ae;border-radius:18px;height:74px;padding:5px}.bottom-link.selected:before{top:0}body[data-reader=true] .reader-surface .mushaf-frame,body[data-reader=true] .reader-surface .book-frame{height:calc(100dvh - 225px)}.native-host .reader-surface .mushaf-frame,.native-host .reader-surface .book-frame{height:calc(100dvh - 125px)}}
@media(max-width:760px){.public-header{padding:10px 16px;min-height:102px}.brand-logo-link img{width:172px}.hero{padding:25px 22px!important;display:flex;flex-direction:column-reverse;gap:23px;align-items:stretch}.hero-logo{display:block!important;width:min(100%,260px)!important;align-self:center;position:static!important;transform:none!important;opacity:1!important;max-width:100%!important}.hero-copy h1{font-size:1.55rem}.hero-actions{flex-wrap:wrap}.sidebar .brand img{width:195px}.bottom-link{font-size:10.5px}.public-main{padding-bottom:18px}.native-host .public-header{padding:7px 14px}.back-row{margin-bottom:15px}.auth-story img{width:215px!important}.book-frame{min-height:400px}}
@media(max-width:360px){.bottom-link{font-size:9px}.brand-logo-link img{width:155px}.hero-logo{width:220px!important}.bottom-nav{height:calc(68px + env(safe-area-inset-bottom))}}

.hero .primary{background:#B98D54;color:#21190f;border-color:#B98D54}.light-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:9px;padding:.6rem 1.1rem;font-weight:700;line-height:1.7}.action-list a{background:#f5eee4}.metric small{color:#756d63}[hidden]{display:none!important}

.mfa-secret{display:block;overflow-wrap:anywhere;padding:12px;background:#f6f1e9;border-radius:8px;font-size:18px;letter-spacing:1px;user-select:all}.recovery-codes{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:12px;list-style:none;padding:0}.recovery-codes code{display:block;padding:12px;background:#f6f1e9;border-radius:6px;user-select:all}

/* Public application download links, controlled by the mosque administrator. */
.app-downloads{flex-basis:100%;width:100%;text-align:center;padding:0 0 24px;border-bottom:1px solid #cfbfa433;margin-bottom:12px}.app-downloads h2{font-size:1.15rem;margin:0 0 16px;color:inherit}.app-download-links{display:flex!important;justify-content:center;flex-wrap:wrap;gap:12px}.app-download-link{display:flex;align-items:center;justify-content:center;gap:12px;min-width:175px;padding:12px 18px;border:1px solid currentColor;border-radius:14px;text-decoration:none!important;color:inherit!important;background:transparent;transition:background .15s}.app-download-link:hover{background:#b8a17d20}.app-download-link:focus-visible{outline:3px solid #ae8959;outline-offset:4px}.app-download-link svg{width:29px;height:29px;flex-shrink:0}.app-download-link span{display:grid;text-align:right;gap:3px}.app-download-link small{font-size:.78rem;color:inherit}.app-download-link strong{font-size:1rem;text-align:right}@media(max-width:480px){.app-download-links{gap:9px}.app-download-link{min-width:145px;padding:10px 12px}}

body.quran-app{overflow:hidden;overscroll-behavior:none;background:#fcfaef}body.quran-app #root,body.quran-app .quran-app-view,body.quran-app .reader-surface{width:100%;height:100vh;height:100dvh;min-height:0;max-width:none;margin:0;padding:0;display:flex;flex-direction:column;overflow:hidden}body.quran-app .quran-app-view{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}body.quran-app .reader-surface .mushaf-frame{flex:1;width:100%;height:100%;min-height:0;border:0;display:block}

/* Shared horizontal brand lockup, including the staff portals. */
.boot img{width:min(100%,330px);height:auto}.sidebar .brand img{width:100%;max-width:220px;height:auto;padding:8px}.auth-story img{width:min(100%,360px)!important;height:auto!important;padding:10px!important;max-width:100%}.sidebar .brand span{font-size:13px;line-height:1.5}
