/* Axis Methods and data sources, PrayerAxis: hero with a coloured band and live numbers, a sticky numbered list on the
   start side, one reading column of cards, Sunni/Shia cards and a methods table built from the code. Tokens only. */
.mt-pa{padding-bottom:40px}
.mt-hero{margin:12px 0 0;padding:28px 28px 22px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(var(--primary),var(--primary)) top/100% 6px no-repeat,var(--bg)}
.mt-hero-top{display:flex;align-items:flex-start;gap:20px}
.mt-hero-ic{flex:0 0 64px;width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:var(--primary-soft);color:var(--on-soft)}
.mt-hero-txt{flex:1;min-width:0}
.mt-hero h1{margin:0;font-size:30px;font-weight:500;line-height:1.3}
.mt-lead{margin:10px 0 0;max-width:70ch;color:var(--muted);font-size:16px;line-height:1.8}
.mt-facts{list-style:none;margin:22px 0 0;padding:18px 0 0;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mt-facts li{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:16px;background:var(--surface);min-width:0}
.mt-fact-ic{flex:0 0 40px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--bg);color:var(--primary)}
.mt-facts li > span:last-child{display:grid;min-width:0}
.mt-facts b{font:500 24px/1.2 "Roboto",var(--font);color:var(--text);justify-self:start}
.mt-facts small{font-size:13px;color:var(--muted);line-height:1.4;overflow-wrap:anywhere}

.mt-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.mt-toc{position:sticky;top:calc(var(--nav-h,72px) + 16px);padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
.mt-toc-t{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-weight:500;color:var(--muted);font-size:14px}
.mt-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.mt-toc a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;color:var(--text);text-decoration:none;font-size:14px;line-height:1.4}
.mt-toc a:hover{background:var(--surface)}
.mt-toc a.on{background:var(--primary-soft);color:var(--on-soft);font-weight:500}
.mt-toc-no{flex:0 0 24px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font:500 12px/1 "Roboto",var(--font);background:var(--surface);color:var(--muted)}
.mt-toc a.on .mt-toc-no{background:var(--primary);color:var(--bg)}

.mt-main{display:grid;gap:16px;min-width:0}
.mt-card{padding:24px 26px;border:1px solid var(--line);border-radius:20px;background:var(--bg);min-width:0;scroll-margin-top:calc(var(--nav-h,72px) + 16px)}
.mt-card-head{display:flex;align-items:center;gap:14px;margin:0 0 14px}
.mt-card-ic{flex:0 0 44px;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--on-soft)}
.mt-card h2{margin:0;font-size:20px;font-weight:500;line-height:1.4;display:flex;align-items:center;gap:10px}
.mt-card-no{font:500 13px/1 "Roboto",var(--font);color:var(--muted);padding:5px 9px;border:1px solid var(--line);border-radius:999px}
.mt-text{color:var(--text);font-size:16px;line-height:1.85;max-width:75ch}
.mt-text p{margin:0 0 10px}
.mt-text p:last-child{margin-bottom:0}
.mt-text ul{margin:6px 0 10px;padding-inline-start:22px}
.mt-text li{margin:6px 0}
.mt-text a{color:var(--primary);text-decoration:underline;text-underline-offset:3px}

.mt-duo{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}
.mt-duo-card{padding:16px 18px;border-radius:16px;background:var(--surface);border-inline-start:4px solid var(--primary);min-width:0}
.mt-shia{border-inline-start-color:var(--muted)}
.mt-duo-k{margin:0 0 10px;font-weight:500;font-size:16px}
.mt-rules{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mt-rules li{padding:12px 14px;border-radius:12px;background:var(--bg);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"n a" "c a";gap:2px 16px;align-items:center}
.mt-rule-n{grid-area:n}
.mt-rule-c{grid-area:c}
.mt-rule-a{grid-area:a}
.mt-rule-n{margin:0;font-weight:500;font-size:15px;line-height:1.5}
.mt-rule-a{margin:0;display:grid;gap:2px;font-size:12px;color:var(--muted);text-align:end;white-space:nowrap}
.mt-rule-a b{font:500 14px/1.3 "Roboto",var(--font);color:var(--text)}
.mt-rule-c{margin:2px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}
.mt-first{display:flex;align-items:flex-start;gap:6px;margin:10px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
.mt-first svg{flex:0 0 auto;margin-top:3px;color:var(--primary)}
.mt-asr{margin-top:16px;padding:14px 16px;border-radius:16px;background:var(--surface)}
.mt-asr-k{margin:0 0 10px;font-weight:500;font-size:14px}
.mt-asr-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mt-asr-list a{display:inline-block;padding:6px 14px;border-radius:999px;background:var(--bg);border:1px solid var(--line);font-size:13px;color:var(--text);text-decoration:none}
.mt-asr-list a:hover,.mt-asr-list a:focus-visible{border-color:var(--primary);background:var(--primary-soft);color:var(--on-soft)}

.mt-table-wrap{margin-top:16px;overflow-x:auto;border:1px solid var(--line);border-radius:16px}
.mt-table{width:100%;border-collapse:collapse;font-size:15px}
.mt-table th,.mt-table td{padding:11px 14px;text-align:start;border-bottom:1px solid var(--line);white-space:nowrap}
.mt-table tbody tr:last-child th,.mt-table tbody tr:last-child td{border-bottom:0}
.mt-table thead th{background:var(--surface);color:var(--muted);font-weight:500;font-size:13px}
.mt-table tbody th{font-weight:400;white-space:normal;min-width:200px}
.mt-table td{font-family:"Roboto",var(--font);font-variant-numeric:tabular-nums}
.mt-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--surface) 45%,transparent)}
.mt-table tr.mt-def{background:var(--primary-soft)!important}
.mt-badge{display:inline-flex;align-items:center;gap:4px;margin-inline-start:6px;padding:2px 8px;border-radius:999px;background:var(--primary);color:var(--bg);font-size:12px;white-space:nowrap;vertical-align:middle}

.mt-after{margin-top:12px;font-size:14px;color:var(--muted)}

@media (max-width:960px){
  .mt-layout{grid-template-columns:minmax(0,1fr)}
  .mt-toc{position:static}
  .mt-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .mt-rules{grid-template-columns:minmax(0,1fr)}
  .mt-hero{padding:20px}
  .mt-hero-top{flex-direction:column;gap:14px}
  .mt-hero h1{font-size:24px}
  .mt-facts{grid-template-columns:minmax(0,1fr)}
  .mt-toc ol{grid-template-columns:minmax(0,1fr)}
  .mt-card{padding:18px}
  .mt-duo{grid-template-columns:minmax(0,1fr)}
}
@media print{.mt-toc{display:none}.mt-layout{grid-template-columns:1fr}}
