/* v0.29 Hayya app. Built to the approved "Hayya app mockups" canvas: Inter, teal #0b5e52 / #0a4a41, gold #f4c96b,
   large text and 44 px+ touch targets for people who are not used to apps. */
@font-face{font-family:"Hayya Inter";src:url("/fonts/hayya-inter.woff2") format("woff2");font-weight:100 900;font-display:swap}
:root{--ink:#0f2a2a;--muted:#3c5555;--soft:#566e6e;--line:#dde7e3;--line2:#e8efec;--strong:#c5d6d2;--ground:#f6faf8;--teal:#0b5e52;--deep:#0a4a41;--darker:#073a33;--gold:#f4c96b;--mint:#e3f1ea;--cream:#fbefd2;--brown:#5b3d00;--pale:#d6ebe5;--red:#9b2c1f}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font-family:"Hayya Inter",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}
body.big{zoom:1.15}
button,input{font:inherit;color:inherit}
a{color:var(--teal)}a:hover{color:var(--darker)}
:focus-visible{outline:3px solid #1f5fc0;outline-offset:2px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.screen{max-width:560px;margin:0 auto;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--ground)}
.tnum{font-variant-numeric:tabular-nums}
svg{flex:none}

/* buttons */
.btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:0 18px;border-radius:14px;border:2px solid var(--strong);background:#fff;color:var(--teal);font-weight:700;font-size:17px;text-decoration:none;cursor:pointer}
.btn.primary{border:0;background:var(--teal);color:#fff;font-weight:800;font-size:20px;min-height:64px;border-radius:16px;box-shadow:0 4px 0 var(--darker)}
.btn.primary:active{transform:translateY(2px);box-shadow:0 2px 0 var(--darker)}
.btn.outline{border-color:var(--teal);font-weight:800;font-size:18px;min-height:58px}
.btn.plain{border:0;background:transparent;color:var(--muted);font-weight:600;min-height:48px}
.btn[disabled]{opacity:.6;cursor:default}
.icon-btn{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid var(--strong);background:#fff;color:var(--ink);cursor:pointer;flex:none}
.back{border:0;background:transparent}

/* welcome */
.hero{background:var(--deep);color:#fff;padding:calc(48px + env(safe-area-inset-top)) 28px 40px;display:flex;flex-direction:column;gap:18px;border-radius:0 0 28px 28px}
.hero .mark{width:64px;height:64px;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero h1{margin:0;font-size:32px;line-height:1.15;font-weight:900}
.hero p{margin:0;font-size:19px;line-height:1.45;color:var(--pale)}
.pad{flex:1;padding:28px 24px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:16px}
.lead{margin:0 0 4px;font-size:18px;font-weight:700}
.choice{display:flex;align-items:center;gap:16px;min-height:76px;padding:14px 18px;border-radius:18px;text-decoration:none;cursor:pointer;width:100%;text-align:left;border:2px solid var(--strong);background:#fff;color:var(--ink)}
.choice.lead-choice{border:0;background:var(--teal);color:#fff;box-shadow:0 4px 0 var(--darker)}
.choice .ic{width:48px;height:48px;flex:none;border-radius:12px;background:var(--mint);display:flex;align-items:center;justify-content:center}
.choice.lead-choice .ic{background:rgba(255,255,255,.14)}
.choice > span:last-child{display:flex;flex-direction:column;text-align:left}.choice b{display:block;font-size:20px}.choice span span{display:block;font-size:16px;color:var(--muted);margin-top:2px}
.choice.lead-choice span span{color:var(--pale)}
.note{display:flex;gap:12px;align-items:flex-start;border-radius:14px;padding:14px 16px;font-size:16px;line-height:1.45;background:var(--mint);color:#1f3d3d}
.note.warn{background:var(--cream);color:#4a3200}
.note svg{margin-top:1px}
.bottom{margin-top:auto;display:flex;flex-direction:column;gap:10px}

/* headers */
.top{display:flex;align-items:center;gap:8px;padding:calc(16px + env(safe-area-inset-top)) 12px 8px}
.top h1{margin:0;font-size:24px;font-weight:800}
.head{padding:calc(22px + env(safe-area-inset-top)) 20px 6px;display:flex;flex-direction:column;gap:4px}
.head h1{margin:0;font-size:28px;font-weight:900}
.head p{margin:0;font-size:16px;color:var(--muted)}
.pill{align-self:flex-start;font-size:13px;font-weight:800;letter-spacing:1.4px;background:var(--cream);color:var(--brown);padding:6px 12px;border-radius:999px}

/* find */
.search{display:flex;align-items:center;gap:10px;background:#fff;border:2px solid var(--teal);border-radius:14px;padding:0 14px;height:60px}
.search input{flex:1;border:0;outline:0;font-size:20px;font-weight:500;background:transparent;min-width:0}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;align-items:center;gap:14px}
.card .who{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.card .who b{font-size:19px;line-height:1.25}.card .who span{font-size:16px;color:var(--muted)}
.follow{min-width:104px;min-height:52px;border-radius:12px;border:0;background:var(--teal);color:#fff;font-weight:800;font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px}
.follow.done{background:var(--mint);color:var(--teal)}
.count{margin:6px 0 0;font-size:15px;color:var(--muted)}
.list{display:flex;flex-direction:column;gap:12px}

/* steps */
.step{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;gap:14px;align-items:center}
.step .n{width:40px;height:40px;flex:none;border-radius:50%;background:var(--teal);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px}
.step .t{flex:1;font-size:18px;line-height:1.35}
.step .pic{width:52px;height:52px;flex:none;border-radius:12px;border:2px solid #1f5fc0;display:flex;align-items:center;justify-content:center}
.step .pic.app{border:0;background:#fff;box-shadow:0 0 0 1px var(--line);overflow:hidden}
.small{margin:0;text-align:center;font-size:14px;color:var(--muted)}
.ticks{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px}
.ticks li{display:flex;gap:12px;align-items:center;font-size:18px}
.ticks .tk{width:32px;height:32px;flex:none;border-radius:50%;background:var(--mint);display:flex;align-items:center;justify-content:center}
.bell-big{width:88px;height:88px;border-radius:26px;background:var(--deep);display:flex;align-items:center;justify-content:center}
.title{margin:0;font-size:30px;line-height:1.2;font-weight:900}
.sub{margin:0;font-size:18px;line-height:1.45;color:var(--muted)}

/* today */
.bar{background:var(--deep);color:#fff;padding:calc(18px + env(safe-area-inset-top)) 16px 16px;display:flex;flex-direction:column;gap:12px}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}
.chips::-webkit-scrollbar{display:none}
.chip{min-height:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;font-weight:700;font-size:15px;white-space:nowrap;cursor:pointer;flex:none;max-width:78%;overflow:hidden;text-overflow:ellipsis}
.chip[aria-pressed=true]{border-color:var(--gold);background:var(--gold);color:var(--deep);font-weight:800}
.dateline{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.dateline b{font-size:18px}.dateline span{font-size:15px;color:var(--gold)}
.main{flex:1;padding:14px 14px 10px;display:flex;flex-direction:column;gap:12px}
.next{background:#fff;border:2px solid var(--teal);border-radius:18px;padding:14px 18px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.next .l{display:flex;flex-direction:column;gap:4px;min-width:0}
.next .k{font-size:14px;font-weight:800;letter-spacing:1.4px;color:var(--teal)}
.next .p{font-size:34px;font-weight:900;line-height:1.05}
.next .i{font-size:16px;color:var(--muted)}.next .i b{color:var(--ink)}
.next .r{text-align:right;display:flex;flex-direction:column;gap:2px;flex:none}
.next .r span{font-size:15px;color:var(--muted)}
.next .r strong{font-size:30px;font-weight:900;color:var(--teal);line-height:1.1}
.times{background:#fff;border:1px solid var(--line);border-radius:18px;padding:6px 4px 6px 14px;display:flex;flex-direction:column}
.trow{display:grid;grid-template-columns:minmax(0,1fr) 84px 84px 44px;align-items:center;min-height:54px;border-top:1px solid var(--line2)}
.trow.hdr{min-height:0;padding:8px 0 6px;border-top:0;font-size:13px;font-weight:800;letter-spacing:1.2px;color:var(--muted)}
.trow.hdr > span{font-size:13px!important;font-weight:800!important}
.trow > span:nth-child(2),.trow > span:nth-child(3){text-align:right;font-size:19px;font-weight:600}
.trow .nm{font-size:19px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.trow .ar{font-size:15px;font-weight:500;color:var(--muted)}
.trow.past{color:var(--soft)}.trow.past .ar{color:var(--soft)}.trow.past > span:nth-child(2),.trow.past > span:nth-child(3){font-weight:400}
.trow .dh{font-size:11px;font-weight:800;letter-spacing:1px;display:block;line-height:1.2}
.trow.on{min-height:58px;margin:0 6px 0 -10px;padding-left:10px;border-radius:12px;background:var(--teal);color:#fff;border-top-color:transparent}
.trow.on + .trow{border-top-color:transparent}
.trow.on .nm{font-size:20px;font-weight:800}.trow.on .ar{color:var(--pale)}
.trow.on > span:nth-child(2),.trow.on > span:nth-child(3){font-size:21px;font-weight:800}
.trow.on > span:nth-child(3){color:var(--gold)}
.bell{width:44px;height:44px;border:0;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--teal);padding:0}
.trow.past .bell{color:#7d9590}.trow.on .bell{color:#fff}
.jline{margin:0;font-size:15px;color:var(--muted);text-align:center}.jline b{color:var(--ink)}
.offline{display:flex;gap:10px;align-items:center;background:var(--cream);color:#4a3200;border-radius:12px;padding:10px 14px;font-size:15px;line-height:1.4}
.install{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px 12px 10px 16px;font-size:16px}
.install span{flex:1}.install button{min-height:44px;border-radius:10px;border:0;background:var(--teal);color:#fff;font-weight:800;padding:0 16px;cursor:pointer}

/* nav */
.nav{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);background:#fff;padding:6px 4px calc(12px + env(safe-area-inset-bottom));z-index:5}
.nav a{min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:14px;font-weight:600;text-decoration:none}
.nav a[aria-current=page]{color:var(--teal);font-weight:800}

/* month */
.mhead{padding:calc(14px + env(safe-area-inset-top)) 8px 8px;display:flex;align-items:center;justify-content:space-between;gap:6px}
.mhead div{text-align:center;display:flex;flex-direction:column;gap:2px;min-width:0}
.mhead h1{margin:0;font-size:24px;font-weight:900}.mhead span{font-size:14px;color:var(--muted)}
.mgrid{display:grid;grid-template-columns:64px repeat(6,minmax(0,1fr));align-items:center;padding:8px 6px}
.mcols{font-size:12px;font-weight:800;color:var(--muted);text-align:center;letter-spacing:.3px}.mcols span:first-child{text-align:left}
.mtable{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.mrow{min-height:52px;border-top:1px solid var(--line2)}.mrow:first-child{border-top:0}
.mrow > span{display:flex;flex-direction:column;gap:1px;text-align:center}.mrow > span:first-child{text-align:left}
.mrow b{font-size:16px}.mrow .a{font-size:16px;font-weight:700}.mrow .q,.mrow .h{font-size:12px;color:var(--muted)}
.mrow.fri{background:#fdf6e3}.mrow.fri .h{color:#7a5200;font-weight:700}
.mrow.today{background:var(--teal);color:#fff}.mrow.today .h{color:var(--gold)}.mrow.today .q{color:var(--pale)}
.mwrap{flex:1;padding:4px 10px 8px;display:flex;flex-direction:column}
.mnote{margin:10px 4px 0;font-size:14px;line-height:1.4;color:var(--muted)}

/* reminders and masjids */
.box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px 14px;display:flex;flex-direction:column}
.box h2{margin:8px 0 4px;font-size:19px;font-weight:800}
.rgrid{display:grid;grid-template-columns:minmax(0,1fr) 92px 92px;align-items:center}
.rgrid.hdr{align-items:end;padding:4px 0 8px;font-size:13px;font-weight:800;color:var(--muted);text-align:center;line-height:1.25}
.rgrid.row{min-height:56px;border-top:1px solid var(--line2)}.rgrid.row > span:first-child{font-size:19px;font-weight:700}
.rgrid.row > span{display:flex;justify-content:center}.rgrid.row > span:first-child{justify-content:flex-start}
/* The switch is drawn 60 x 36 as in the mockups; the button itself is 64 x 44 so it is easy to tap. */
.switch{width:64px;height:44px;flex:none;border:0;background:transparent;position:relative;cursor:pointer;padding:0}
.switch::before{content:"";position:absolute;left:2px;top:4px;width:60px;height:36px;box-sizing:border-box;border-radius:999px;border:2px solid #7d9590;background:var(--line2)}
.switch::after{content:"";position:absolute;top:8px;left:6px;width:28px;height:28px;border-radius:50%;background:var(--soft);transition:left .15s}
.switch[aria-checked=true]::before{border-color:var(--teal);background:var(--teal)}
.switch[aria-checked=true]::after{left:30px;background:#fff}
.srow{display:flex;align-items:center;gap:12px;min-height:72px;border-top:1px solid var(--line2)}
.srow.first{border-top:0}
.srow .what{flex:1;display:flex;flex-direction:column;gap:3px}.srow .what b{font-size:18px}.srow .what span{font-size:15px;line-height:1.35;color:var(--muted)}
.stepper{display:flex;align-items:center;gap:8px}
.stepper button{width:48px;height:48px;border-radius:12px;border:1px solid var(--strong);background:#fff;font-weight:800;font-size:24px;color:var(--teal);cursor:pointer}
.stepper output{min-width:76px;text-align:center;font-size:18px;font-weight:800}
.mcard{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;flex-direction:column;gap:12px}
.mcard.first{border:2px solid var(--teal)}
.mcard .row1{display:flex;gap:12px;align-items:flex-start}
.mcard .row1 > span:first-child{flex:1;display:flex;flex-direction:column;gap:4px;min-width:0}
.mcard .row1 b{font-size:20px;line-height:1.25}.mcard .row1 span span{font-size:16px;color:var(--muted)}
.tag{font-size:12px;font-weight:800;letter-spacing:1px;background:var(--mint);color:var(--teal);padding:6px 10px;border-radius:999px;white-space:nowrap}
.mini{min-height:44px;padding:0 12px;border-radius:10px;border:1px solid var(--strong);background:#fff;font-weight:700;font-size:15px;color:var(--teal);white-space:nowrap;cursor:pointer}
.pair{display:flex;gap:10px}.pair a,.pair button{flex:1;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;border:1px solid var(--strong);background:#fff;font-size:16px;font-weight:700;text-decoration:none;color:var(--teal);cursor:pointer}
.remove{align-self:flex-start;min-height:44px;display:flex;align-items:center;font-size:16px;font-weight:700;color:var(--red);border:0;background:transparent;padding:0;cursor:pointer}
.saved{margin:auto 0 0;display:flex;gap:8px;align-items:center;justify-content:center;font-size:14px;color:var(--muted);text-align:center}
.toast{position:fixed;left:50%;top:calc(14px + env(safe-area-inset-top));transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:12px;padding:12px 18px;font-size:16px;max-width:90vw;z-index:20;box-shadow:0 8px 24px rgba(0,0,0,.25)}

/* adhan */
.adhan{position:fixed;inset:0;z-index:30;background:var(--deep);color:#fff;display:flex;flex-direction:column;padding:calc(56px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));gap:16px;overflow:auto}
.adhan .who{align-self:flex-start;font-size:15px;font-weight:700;color:var(--pale)}
.adhan .mid{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}
.adhan .k{font-size:15px;font-weight:800;letter-spacing:2px;color:var(--gold)}
.adhan h1{margin:0;font-size:76px;font-weight:900;line-height:1}
.adhan .ar{font-size:34px;color:var(--pale)}
.adhan .t{margin-top:10px;font-size:22px;font-weight:700}
.adhan .iq{font-size:20px;color:var(--pale)}.adhan .iq b{color:var(--gold)}
.adhan .playing{margin-top:26px;display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.1);border-radius:999px;padding:10px 18px;font-size:17px;font-weight:700}
.adhan .stop{min-height:66px;border:0;border-radius:18px;background:#fff;color:var(--deep);font-size:21px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:12px;cursor:pointer}
.adhan .backlink{min-height:48px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:600;background:transparent;border:0;cursor:pointer;text-decoration:underline}
.sheet{position:fixed;inset:0;z-index:25;background:rgba(15,42,42,.5);display:flex;align-items:flex-end;justify-content:center}
.sheet > div{background:#fff;width:100%;max-width:560px;border-radius:22px 22px 0 0;padding:24px 22px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.sheet h2{margin:0;font-size:24px;font-weight:900}
.empty{padding:28px 8px;text-align:center;font-size:17px;color:var(--muted)}
/* v0.34.1 depth and light, as on the TV screens and public pages: light from above, layered shadows, edges that catch the light, gloss on buttons. Colours stay solid; no blur or animation; no grain on the light page (it cost small grey text its contrast). */
.screen{background:radial-gradient(700px 420px at 20% -80px,rgba(255,255,255,.9),rgba(255,255,255,0) 72%),var(--ground)}
.card,.step,.times,.box,.mcard,.mtable,.install,.next,.choice:not(.lead-choice){box-shadow:inset 0 1px 0 #fff,0 1px 1px rgba(16,44,38,.05),0 2px 5px rgba(16,44,38,.05),0 16px 32px -18px rgba(16,44,38,.22)}
.hero{box-shadow:inset 0 -1px 0 rgba(255,255,255,.1),inset 0 0 120px rgba(0,0,0,.26),0 22px 44px -24px rgba(7,40,34,.6)}
.hero .mark{box-shadow:inset 0 1px 0 #fff,0 10px 22px -8px rgba(0,0,0,.5)}
.btn.primary,.choice.lead-choice{box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 16px 20px -16px rgba(255,255,255,.18),0 4px 0 var(--darker),0 14px 24px -12px rgba(7,40,34,.55)}
.btn.primary:active{box-shadow:inset 0 2px 5px rgba(0,0,0,.22),0 2px 0 var(--darker)}
.follow,.install button,.step .n,.bell-big{box-shadow:inset 0 1px 0 rgba(255,255,255,.24),inset 0 -2px 0 rgba(0,0,0,.16),0 8px 16px -8px rgba(7,40,34,.55)}
.btn:not(.primary),.icon-btn,.mini,.pair a,.pair button,.stepper button{box-shadow:inset 0 1px 0 #fff,inset 0 -2px 0 rgba(16,44,38,.06),0 2px 5px -2px rgba(16,44,38,.2)}
.search{box-shadow:inset 0 1px 3px rgba(16,44,38,.1),0 8px 20px -14px rgba(16,44,38,.35)}
.trow.on{box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -2px 0 rgba(0,0,0,.16),0 10px 20px -10px rgba(7,40,34,.6)}
.choice .ic,.ticks .tk,.tag,.pill,.note{box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(16,44,38,.06)}
.nav{box-shadow:inset 0 1px 0 #fff,0 -10px 26px -18px rgba(16,44,38,.4)}
.adhan{box-shadow:inset 0 0 160px rgba(0,0,0,.3)}
.adhan .stop{box-shadow:inset 0 1px 0 #fff,inset 0 -3px 0 rgba(16,44,38,.12),0 16px 30px -12px rgba(0,0,0,.55)}
.chip[aria-pressed=true]{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -2px 0 rgba(0,0,0,.12),0 6px 14px -6px rgba(0,0,0,.4)}
.sheet > div{box-shadow:inset 0 1px 0 #fff,0 -20px 50px -20px rgba(7,40,34,.5)}
.toast{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 14px 30px -10px rgba(0,0,0,.5)}
