#guide {--line:#d0c9bc;--pale:#eae5d9;--guide-green:#324a3b;max-width:1190px;padding:34px clamp(20px,5vw,76px) 95px;margin:auto;color:var(--ink,#211f1b);min-height:70vh;box-sizing:border-box}
#guide *,#guide-dialog *{box-sizing:border-box}
#guide a{color:inherit;text-underline-offset:4px}
#guide :is(input,select,button){font:inherit}
#guide button,#guide select{cursor:pointer}
#guide :is(button,input,select,a,summary):focus-visible,#guide-dialog button:focus-visible{outline:3px solid #ad3429;outline-offset:4px}
.guide-crumb{display:flex;gap:.6rem;align-items:center;color:var(--muted,#625c52);font-size:.86rem;margin:0 0 26px}
.guide-crumb a{text-decoration:none}.guide-crumb a:hover{text-decoration:underline}
#guide h1,#guide h2,#guide h3{margin:0;text-wrap:balance;line-height:1.23;color:inherit}
#guide h1{font-family:Georgia,'Geeza Pro',serif;font-size:clamp(2.65rem,6vw,5.3rem);font-weight:550}
[lang=ar] #guide h1,[lang=ar] #guide h2{font-family:inherit}
#guide h2{font-size:clamp(1.5rem,3vw,2.35rem);font-weight:600}
#guide h3{font-size:1.14rem}
#guide p{line-height:1.7;margin:0}
.guide-head{margin:0 0 2.4rem}
.guide-head p{font-size:clamp(1.03rem,1.6vw,1.25rem);color:var(--muted,#625c52);max-width:65ch;padding-top:.75rem}
.guide-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:3.5rem}
.guide-item{display:grid;grid-template-columns:auto 1fr auto;gap:1.1rem;align-items:center;border-block-start:1px solid var(--line);padding:1.45rem 0;text-decoration:none;min-width:0}
.guide-item svg{width:1.6rem;height:1.6rem;color:var(--red,#aa3329);flex-shrink:0}
.guide-item strong{font-size:1.35rem;display:block}.guide-item small{display:block;font-size:.93rem;line-height:1.55;margin-block-start:.3rem;color:var(--muted,#625c52)}
.guide-arrow{font-size:1.33rem;display:inline-block;color:var(--red,#aa3329)}
[dir=rtl] .guide-arrow{transform:scaleX(-1)}
.guide-item:hover strong,.guide-row:hover strong{color:var(--red,#aa3329)}
.guide-links{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin:1rem 0}
#guide .g-btn,#guide .g-outline,.g-tag{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:600;line-height:1.3;min-height:44px;border:1px solid var(--line);border-radius:4px;padding:.65rem 1rem;background:transparent;color:inherit}
#guide .g-btn{background:var(--red,#aa3329);color:#fff;border-color:transparent}
#guide .g-btn:hover{background:#85291f}
#guide .g-outline:hover{border-color:var(--ink,#211f1b)}
.g-panel{padding:clamp(1.2rem,3.1vw,2.45rem);background:var(--pale);margin:1.8rem 0}
.g-section{margin-block-start:2.6rem}
.g-section>h2{margin-bottom:1rem!important}
.g-note{font-size:.9rem;color:var(--muted,#625c52);margin:1.1rem 0!important}
.g-details{border-block-start:1px solid var(--line)}.g-details:last-child{border-block-end:1px solid var(--line)}
.g-details summary{cursor:pointer;font-weight:600;padding:1rem 0}.g-details>p{padding:0 0 1rem}
.g-steps{padding-inline-start:1.7rem}.g-steps li{padding:.45rem .35rem;line-height:1.7}
.g-steps p{color:var(--muted,#625c52)}
.g-pictures{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,290px);align-items:center;gap:2rem;padding:clamp(1rem,3.5vw,2.6rem);background:var(--pale)}
.g-pictures h2{margin:.3rem 0 .8rem!important}
.g-photo{display:block;background:none;border:0;padding:0;justify-self:center;cursor:zoom-in!important}
.g-photo img{width:auto;height:auto;max-height:370px;max-width:100%;display:block}
.g-native{display:block;min-height:46px;width:100%;border:1px solid #9f998e;border-radius:3px;padding:.6rem .8rem;color:var(--ink,#211f1b);background:var(--paper,#f6f2e9)}
.g-filters,.g-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.g-filters{grid-template-columns:repeat(4,minmax(0,1fr));margin-block-end:.7rem}
.g-label{display:flex;flex-direction:column;gap:.3rem;font-weight:600;font-size:.93rem}
.g-reading{font-variant-numeric:tabular-nums;font-size:clamp(2.5rem,6vw,4rem);font-weight:600;line-height:1.4;overflow-wrap:anywhere}
.g-result{padding:1.2rem 0 .2rem}
.g-row{display:grid;grid-template-columns:minmax(95px,.54fr) 2.4fr minmax(110px,.72fr);gap:1.25rem;align-items:baseline;padding:1.1rem 0;border-block-start:1px solid var(--line)}
.g-row p,.g-row small{color:var(--muted,#625c52);font-size:.9rem}
.g-row strong{font-size:1.16rem;display:block}
.g-end{justify-self:end}
.g-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}
.g-service{min-width:0}.g-service img{width:100%;display:block;height:220px;object-fit:cover;margin-block-end:.9rem}
.g-service p{margin:.6rem 0!important}
.g-prayers{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.5rem 0 0}
.g-prayers div{border-block-start:1px solid #bcb6aa;padding-block-start:.55rem}
.g-prayers strong{font-size:1.4rem;display:block;line-height:1.5;font-variant-numeric:tabular-nums}
.g-references{display:flex;flex-wrap:wrap;gap:.55rem 1.2rem}
.g-app-name{font-size:1.6rem!important}
.g-app-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.7rem}
.g-app{padding:1.15rem 0;border-block-start:2px solid var(--guide-green);display:flex;align-items:start;flex-direction:column}
.g-app p{margin:.6rem 0 1rem!important}.g-app>a{margin-top:auto}
#guide-dialog{border:0;background:var(--paper,#f6f2e9);padding:3rem .8rem .8rem;max-width:min(95vw,800px);max-height:94vh}
#guide-dialog::backdrop{background:rgba(18,19,18,.78)}
#guide-dialog img{display:block;max-width:100%;max-height:77vh;object-fit:contain;margin:auto}
#guide-dialog button{position:absolute;inset-block-start:3px;inset-inline-end:6px;width:42px;height:42px;cursor:pointer;font-size:1.75rem;background:transparent;color:#211f1b;border:0}
@media(max-width:700px){#guide{padding:22px 18px 60px}.guide-index,.g-app-list,.g-services{grid-template-columns:1fr;gap:0}.guide-item{padding:1rem 0}.g-filters,.g-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.g-fields>label:first-child{grid-column:1/-1}.g-row{grid-template-columns:1fr;gap:.25rem}.g-end{justify-self:start}.g-service{margin-block-end:1.4rem}.g-pictures{grid-template-columns:1fr;gap:1rem}.g-photo img{max-height:310px}.guide-head{margin-bottom:1.6rem}}
@media(max-width:370px){.g-filters{grid-template-columns:1fr}.g-prayers{grid-template-columns:repeat(2,1fr)}}
