.fiqh-page{--fq-ink:#173746;--fq-muted:#586e79;--fq-accent:#156b81;--fq-line:#c8d7dc;max-width:1060px;margin:auto;color:var(--fq-ink);font:1.06rem/1.9 "Noto Sans Arabic",Tahoma,sans-serif}.fiqh-page *{box-sizing:border-box}.fiqh-page a{color:#0b5267;text-underline-offset:.25em}.fiqh-hero{padding:1.4rem 0}.fiqh-hero h1{font-size:2.4rem;line-height:1.5;margin:.4rem 0}.fiqh-hero>p{max-width:80ch}.fiqh-kicker{font-size:.85rem;font-weight:800;color:var(--fq-accent);margin:.3rem 0}.fiqh-provenance{font-size:.83rem;color:var(--fq-muted)}.fiqh-nav,.fiqh-breadcrumb,.fiqh-next{display:flex;gap:1.3rem;flex-wrap:wrap}.fiqh-breadcrumb{font-size:.85rem}.fiqh-nav{padding:.8rem 1rem;background:#edf4f5;border-radius:10px}.fiqh-nav a{text-decoration:none;font-weight:700}.fiqh-page section{scroll-margin-top:1rem}.fiqh-page h2{font-size:1.55rem;line-height:1.5}.fiqh-page h3{font-size:1.2rem;line-height:1.6}.fiqh-sublessons{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}.fiqh-teaching{padding:1.1rem 1.3rem;border:1px solid var(--fq-line);border-top:3px solid #56859a;border-radius:12px;background:#fff}.fiqh-teaching ul{padding-inline-start:1.25rem}.fiqh-teaching li+li{margin-top:.8rem}.fiqh-section-heading{margin-top:2.5rem}.fiqh-section-heading h2{margin:.3rem 0}.fiqh-section-heading p{max-width:80ch}.fiqh-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:1.1rem;border:1px solid var(--fq-line);border-radius:16px;padding:1.2rem;background:#f6f9f9}.fiqh-case-menu{display:flex;flex-direction:column;gap:.4rem}.fiqh-page button{font:inherit;font-weight:700;line-height:1.6;cursor:pointer;min-height:46px;padding:.7rem 1rem;border-radius:8px;border:1px solid transparent;background:#156b81;color:white;margin:.35rem 0}.fiqh-page button:disabled{opacity:.5;cursor:default}.fiqh-page button:hover{background:#0d5266}.fiqh-case-menu button{font-size:.86rem;background:white;color:var(--fq-ink);border:1px solid var(--fq-line);text-align:start}.fiqh-case-menu button[aria-current=true]{background:#0d5266;color:white}.fiqh-case-work{background:white;border-radius:12px;border:1px solid var(--fq-line);padding:1.3rem;min-width:0}.fiqh-page label{display:block;font-size:.96rem;font-weight:650;margin-top:.6rem}.fiqh-page select,.fiqh-page textarea,.fiqh-page input{font:inherit;max-width:100%;border:1px solid #8da9b5;border-radius:8px;padding:.7rem .85rem;background:#fff;color:var(--fq-ink)}.fiqh-page select,.fiqh-page textarea{display:block;width:100%;margin:.4rem 0 1rem}.fiqh-page textarea{min-height:115px;resize:vertical}.fiqh-page input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:#156b81}.fiqh-page [hidden]{display:none!important}.fiqh-page :focus-visible{outline:3px solid #b55c00;outline-offset:4px}.fiqh-decision{border-inline-start:4px solid #ad6325;background:#fff7e9;padding:1rem;border-radius:8px;font-size:1.1rem}.fiqh-evidence{border-inline-start:4px solid #438774;background:#edf5f1;padding:1rem;border-radius:8px;margin-top:1rem}.fiqh-page p[role=status]:not(:empty){font-weight:700;background:#edf4f5;padding:.7rem;border-radius:8px}.fiqh-page fieldset{border:1px solid var(--fq-line);border-radius:12px;padding:1rem;margin:1rem 0;min-width:0}.fiqh-page legend{font-weight:800;padding:0 .5rem}.fiqh-page table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.92rem}.fiqh-page th,.fiqh-page td{padding:.6rem;border:1px solid var(--fq-line);text-align:start}.fiqh-page th{background:#edf4f5}.fiqh-practical-panel{border:1px solid var(--fq-line);border-radius:16px;padding:1.4rem;background:#f6f9f9}.fiqh-sequence{list-style:none;padding:0!important}.fiqh-sequence li{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;background:white;border:1px solid var(--fq-line);border-radius:8px;padding:.65rem;margin:.5rem 0}.fiqh-sequence li span{flex:1;min-width:130px}.fiqh-sequence button{font-size:.83rem;padding:.5rem .7rem}.fiqh-source{margin:2rem 0;padding-top:1rem;border-top:1px solid var(--fq-line);font-size:.9rem;color:var(--fq-muted)}.fiqh-skip{position:absolute;top:-100px}.fiqh-skip:focus{top:0;background:white;padding:1rem}.fiqh-next{font-size:.9rem}.fiqh-page details{font-size:.9rem;margin:.8rem 0}.fiqh-page summary{font-weight:700;cursor:pointer}@media(max-width:650px){.fiqh-hero h1{font-size:1.85rem}.fiqh-workspace{display:block;padding:.8rem}.fiqh-case-menu{display:flex;flex-direction:row;overflow:auto;margin-bottom:1rem;padding-bottom:.4rem}.fiqh-case-menu button{min-width:125px}.fiqh-case-work,.fiqh-practical-panel{padding:1rem}.fiqh-sublessons{display:block}.fiqh-teaching{margin:.8rem 0}.fiqh-page th,.fiqh-page td{padding:.4rem}.fiqh-nav{gap:.8rem}.fiqh-hero{padding:1rem 0}}

.fiqh-case-menu{min-width:0}.fiqh-case-menu button{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}.fiqh-page select{min-height:50px}.fiqh-sequence button{min-width:74px;min-height:44px}.fiqh-sequence li span{font-weight:650}@media(max-width:650px){.fiqh-case-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.fiqh-case-menu button{min-width:0;font-size:.8rem}.fiqh-sequence li{gap:.4rem}.fiqh-sequence li span{flex-basis:100%;min-width:0}.fiqh-sequence button{flex:1}.fiqh-case-work{padding:.9rem}}
.fiqh-case-work button{width:100%;max-width:100%;box-sizing:border-box}.fiqh-case-menu button{height:auto;line-height:1.7}.fiqh-sequence button+button{margin-inline-start:.3rem}.fiqh-choice-readback{font-size:.92rem;background:#edf4f5;padding:.6rem;border-radius:6px}.fiqh-choice-readback:empty{display:none}@media(max-width:650px){.fiqh-case-menu button{min-height:76px;padding:.5rem;line-height:1.65}.fiqh-case-work button{font-size:.93rem}.fiqh-sequence button{max-width:48%;margin-inline-start:0}.fiqh-sequence button+button{margin-inline-start:.25rem}}
