/* تفسير السورة كاملة — واجهة مشتركة خفيفة */
.tfs-full{--tfs-green:#245b43;--tfs-green2:#174735;--tfs-gold:#b98a33;--tfs-gold-soft:#f7edd7;--tfs-bg:var(--eq-theme-bg,#f7f8f5);--tfs-card:var(--eq-theme-surface,#fff);--tfs-text:var(--eq-theme-text,#1f2d28);--tfs-muted:var(--eq-theme-muted,#66736d);--tfs-border:rgba(76,91,83,.16);direction:rtl;color:var(--tfs-text);max-width:1180px;margin:0 auto;padding:18px 14px 44px;font-family:var(--font2,'Vazirmatn_Regular',Tahoma,Arial,sans-serif)}
.tfs-full *{box-sizing:border-box}.tfs-full a{text-decoration:none}.tfs-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:.9rem;color:var(--tfs-muted);margin:0 0 10px}.tfs-breadcrumb a{color:var(--tfs-green)}
.tfs-hero{background:linear-gradient(135deg,rgba(36,91,67,.08),rgba(185,138,51,.09));border:1px solid var(--tfs-border);border-radius:18px;padding:16px 18px;margin-bottom:12px}.tfs-hero__eyebrow{font-weight:800;color:var(--tfs-gold);font-size:.86rem}.tfs-hero h1{margin:4px 0 5px;font-size:clamp(1.45rem,3vw,2rem);line-height:1.45;color:var(--tfs-green2)}.tfs-hero p{margin:0;color:var(--tfs-muted);line-height:1.8}
.tfs-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.tfs-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid var(--tfs-border);border-radius:11px;background:var(--tfs-card);color:var(--tfs-text);font:inherit;font-weight:750;cursor:pointer}.tfs-btn:hover{border-color:rgba(185,138,51,.55);transform:translateY(-1px)}.tfs-btn--primary{background:var(--tfs-green);border-color:var(--tfs-green);color:#fff!important}.tfs-btn--gold{background:var(--tfs-gold-soft);border-color:rgba(185,138,51,.4);color:#6d4b12}.tfs-btn--quiet{background:transparent}
.tfs-toolbar{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1fr) auto;gap:10px;align-items:end;background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:15px;padding:12px;margin-bottom:12px}.tfs-field{display:grid;gap:5px}.tfs-field label{font-size:.82rem;font-weight:800;color:var(--tfs-muted)}.tfs-field input,.tfs-field select{width:100%;min-height:43px;border:1px solid var(--tfs-border);border-radius:10px;background:var(--tfs-card);color:var(--tfs-text);padding:8px 10px;font:inherit}.tfs-field input:focus,.tfs-field select:focus{outline:2px solid rgba(185,138,51,.32);border-color:var(--tfs-gold)}.tfs-search-status{margin:4px 0 0;font-size:.84rem;color:var(--tfs-muted);grid-column:1/-1}
.tfs-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:center;margin:11px 0}.tfs-nav .tfs-next{justify-self:start}.tfs-nav .tfs-prev{justify-self:end}.tfs-nav .tfs-index{justify-self:center}.tfs-nav .is-disabled{opacity:.45;pointer-events:none}
.tfs-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.tfs-related a{display:flex;min-height:48px;align-items:center;justify-content:center;text-align:center;padding:9px;border:1px solid var(--tfs-border);border-radius:12px;background:var(--tfs-card);color:var(--tfs-text);font-weight:750}.tfs-related a.tfs-related--main{background:var(--tfs-green);color:#fff!important;border-color:var(--tfs-green)}.tfs-related a:hover{border-color:var(--tfs-gold)}
.tfs-article{background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:18px;padding:clamp(15px,3vw,26px);overflow:hidden}.tfs-article-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--tfs-border);padding-bottom:12px;margin-bottom:14px}.tfs-article-head h2{margin:0;color:var(--tfs-green2);font-size:clamp(1.25rem,2.5vw,1.65rem)}.tfs-article-head p{margin:4px 0 0;color:var(--tfs-muted)}.tfs-reader-actions{display:flex;gap:7px;flex-wrap:wrap}.tfs-reader-actions button{width:38px;height:38px;border-radius:9px;border:1px solid var(--tfs-border);background:var(--tfs-card);color:var(--tfs-text);font:inherit;font-weight:900;cursor:pointer}
.tfs-content{font-family:'Traditional Arabic','Amiri',var(--font3,serif);font-size:var(--tfs-font,1.22rem);line-height:2.05;text-align:justify;overflow-wrap:anywhere}.tfs-content p{margin:0 0 .9em}.tfs-content img{max-width:100%;height:auto}.tfs-content table{max-width:100%;overflow:auto}.tfs-content [hidden]{display:none!important}.tfs-content mark{background:#ffe99e;color:inherit;border-radius:3px;padding:0 .08em}.tfs-content .MsoNormal{max-width:100%}
.tfs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.tfs-card{display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 12px;border:1px solid var(--tfs-border);border-radius:13px;background:var(--tfs-card);color:var(--tfs-text)}.tfs-card:hover{border-color:var(--tfs-gold);transform:translateY(-1px)}.tfs-card__num{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--tfs-gold-soft);color:#765116;font-weight:900;flex:0 0 auto}.tfs-card b{display:block}.tfs-card small{color:var(--tfs-muted)}.tfs-section{background:var(--tfs-card);border:1px solid var(--tfs-border);border-radius:16px;padding:14px;margin-top:12px}.tfs-section h2{margin:0 0 10px;color:var(--tfs-green2)}
.tfs-full.is-focus .tfs-breadcrumb,.tfs-full.is-focus .tfs-hero,.tfs-full.is-focus .tfs-toolbar,.tfs-full.is-focus .tfs-related,.tfs-full.is-focus .tfs-nav,.tfs-full.is-focus .tfs-article-head .tfs-reader-actions{display:none}.tfs-full.is-focus{max-width:880px}.tfs-full.is-focus .tfs-article{border-color:transparent;box-shadow:none}
@media(max-width:760px){.tfs-full{padding:10px 9px 34px}.tfs-toolbar{grid-template-columns:1fr}.tfs-search-status{grid-column:auto}.tfs-related{grid-template-columns:1fr 1fr}.tfs-grid{grid-template-columns:1fr 1fr}.tfs-nav{grid-template-columns:1fr 1fr}.tfs-nav .tfs-index{grid-column:1/-1;grid-row:1;justify-self:stretch}.tfs-nav .tfs-index .tfs-btn{width:100%}.tfs-nav .tfs-prev{grid-column:1;grid-row:2;justify-self:stretch}.tfs-nav .tfs-next{grid-column:2;grid-row:2;justify-self:stretch}.tfs-nav .tfs-prev .tfs-btn,.tfs-nav .tfs-next .tfs-btn{width:100%}.tfs-article{padding:14px}.tfs-content{font-size:var(--tfs-font,1.15rem);line-height:1.95}.tfs-article-head{align-items:center}}
@media(max-width:430px){.tfs-related,.tfs-grid{grid-template-columns:1fr}.tfs-actions .tfs-btn{flex:1 1 100%}}
html[data-theme='dark'] .tfs-full,body.dark-mode .tfs-full,.dark .tfs-full{--tfs-card:#17231f;--tfs-text:#eef4f0;--tfs-muted:#aebdb5;--tfs-border:rgba(255,255,255,.12);--tfs-gold-soft:#332a17;--tfs-green:#2f7958;--tfs-green2:#dcebe3}
