.human-errors-page{--error-tone:#984747;--error-soft:#f8e4e2}
.error-hero{padding:30px 0 20px}
.error-hero h1{font-family:Amiri,serif;font-size:42px;line-height:1.5;margin:0 0 8px;color:var(--ink)}
.error-hero .eyebrow{color:var(--error-tone);margin:0 0 8px}
.error-hero>p:last-child{font-size:15px;color:var(--muted);margin:0;max-width:750px}
.error-stats{display:flex;flex-wrap:wrap;background:#ffffffb8;border:1px solid var(--line);border-radius:10px;padding:18px 8px;margin:4px 0 20px;gap:0}
.error-stat{flex:1;min-width:110px;text-align:center;padding:1px 14px;border-inline-end:1px solid var(--line)}
.error-stat:last-child{border:0}
.error-stat strong{display:block;font-size:30px;line-height:1.5;font-weight:600;color:var(--error-tone);font-variant-numeric:tabular-nums}
.error-stat span{font-size:13px;color:var(--muted)}
.error-intro-note,.error-highlight-note{font-size:13px;color:var(--muted);margin:12px 0 23px}
.error-search{display:flex;align-items:center;gap:14px;background:#ffffffb8;border:1px solid var(--line);border-radius:9px;padding:12px 16px;margin:0 0 22px}
.error-search label{font-size:14px;white-space:nowrap;font-weight:600}
.error-search input{font:inherit;font-size:14px;min-width:0;flex:1;background:var(--bg);border:1px solid #c7c4ba;border-radius:6px;padding:9px 12px;color:var(--ink)}
.error-search input:focus-visible{outline:2px solid var(--error-tone);outline-offset:2px}
#error-search-count{font-size:12px;color:var(--muted);white-space:nowrap}
.error-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 28px}
.error-card{display:flex;flex-direction:column;min-height:180px;background:#fff2f1;border:1px solid #ebcfcc;border-top:3px solid #cf938d;border-radius:9px;padding:11px 13px 12px;transition:transform .16s,border-color .16s,box-shadow .16s}
.error-card:hover{color:var(--ink);border-color:#bb7770;box-shadow:0 5px 16px #8f3e3e12;transform:translateY(-2px)}
.error-card-top{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8a5d59}
.error-card h2{font-family:Amiri,serif;font-size:22px;line-height:1.6;font-weight:700;margin:8px 0 6px;overflow-wrap:break-word}
.error-card-count{display:flex;gap:8px;align-items:baseline;margin-top:auto;border-top:1px solid #edd5d2;padding-top:7px}
.error-card-count strong{font-size:21px;font-weight:600;color:var(--error-tone);line-height:1.3}
.error-card-count>span{font-size:12px;color:var(--muted)}
.error-card-count .error-arrow{margin-inline-start:auto;font-size:19px;color:#a15b56}
.error-forms{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 14px}
.error-form{display:inline-flex;align-items:center;gap:12px;border:1px solid #ded8cb;border-radius:7px;background:#fffefa;padding:5px 12px}
.error-form>span{font-family:UthmanicHafs,Amiri,serif;font-size:22px;line-height:1.8}
.error-form b{font-size:12px;font-weight:600;padding:0 7px;background:var(--error-soft);border-radius:4px;color:var(--error-tone)}
.error-verse{border-color:#ded8cb;background:#fffefa}
.error-verse .error-highlight{background:#eee1c6;color:#674d24;border-radius:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:2px 1px;font-weight:400;box-shadow:none}
.error-method{margin-top:30px}
.error-empty{padding:26px;text-align:center;color:var(--muted);border:1px dashed #cfc6b6;border-radius:9px}
.error-card[hidden],.error-empty[hidden],.error-search[hidden]{display:none}
@media(max-width:1180px) and (min-width:901px){.error-card{padding-inline:12px}.error-card h2{font-size:21px}}
@media(max-width:700px){.error-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.error-hero h1{font-size:34px}.error-search{flex-wrap:wrap;gap:9px}.error-search label{width:100%}.error-stats{padding:12px 2px}.error-stat{min-width:0;padding:0 8px}.error-stat strong{font-size:26px}.error-stat span{font-size:11px}.error-card h2{font-size:23px}.error-card{min-height:164px;padding:12px}.error-form>span{font-size:21px}}
@media(max-width:380px){.error-card h2{font-size:21px}.error-card-count{gap:5px}.error-card-count>span{font-size:11px}.error-stat{padding-inline:5px}}
@media(prefers-reduced-motion:reduce){.error-card{transition:none}.error-card:hover{transform:none}}
@media print{.error-search,.error-method,.error-highlight-note{display:none}.error-verse .error-highlight{print-color-adjust:exact;-webkit-print-color-adjust:exact}.error-stats{break-inside:avoid}}

.error-card-subtitle{font-size:12px;color:var(--muted);line-height:1.8;margin:0 0 10px}
.error-card-coverage{font-size:11px;color:var(--muted);margin-top:6px}
.error-card:focus-visible{outline:3px solid var(--error-tone);outline-offset:3px}
.error-hero h1{max-width:950px;font-size:38px}
.error-scope{border-inline-start:3px solid #ad8071;padding:9px 15px;background:#ffffff80;margin:18px 0 24px;color:#665f57;font-size:14px;line-height:1.95}
.error-scope p{margin:0}
.error-search select{max-width:210px;font:inherit;font-size:14px;padding:9px 12px;border:1px solid #c7c4ba;border-radius:6px;color:var(--ink);background:var(--bg)}
.error-verse .error-verse-text{font-family:UthmanicHafs,Amiri,serif;font-size:27px;line-height:2.15;white-space:normal;margin:12px 0 0}
.error-verse .verse-header{display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:space-between}
.error-evidence{font-size:11px;border-radius:4px;background:#f4eee4;color:#74614d;padding:3px 8px}
.error-context{margin-top:15px;border-top:1px solid var(--line);padding-top:12px;color:var(--muted)}
.error-context summary{cursor:pointer;font-size:13px}
.error-context p{font-family:UthmanicHafs,Amiri,serif;font-size:24px;line-height:2}
.error-form-list{margin:20px 0;color:var(--muted);font-size:13px}
.error-form-list summary{cursor:pointer}
.error-form{padding:4px 10px}
.error-grid .error-card[hidden],.error-verses .error-verse[hidden]{display:none}
@media(max-width:700px){.error-search select{max-width:none;width:100%}.error-card h2{font-size:22px}.error-hero h1{font-size:32px}.error-card{min-height:164px;padding:11px}.error-card-subtitle{font-size:11px}.error-search [role=status]{width:100%}.error-verse .error-verse-text{font-size:25px}}
@media(max-width:440px){.error-grid{grid-template-columns:minmax(0,1fr)}.error-card{min-height:0}.error-card h2{font-size:22px}.error-card-count{margin-top:8px}.error-hero h1{font-size:30px}}

/* A single visual summary, with three exact totals and decorative icons. */
.error-stats-overview{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:18px 10px;margin:4px 0 20px;border:1px solid #8d4c4e;border-radius:14px;background:radial-gradient(ellipse at 90% 0%,#d9977340,transparent 55%),linear-gradient(115deg,#65333e,#8c464a 55%,#74363e);box-shadow:0 9px 24px #74363e16,inset 0 1px 0 #ffffff20}
.error-stats-overview::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:repeating-linear-gradient(135deg,transparent 0 48px,#ffffff04 48px 49px),radial-gradient(ellipse at 50% 170%,transparent 0 57%,#ffffff08 57.2% 57.5%,transparent 57.7% 70%,#ffffff07 70.2% 70.5%,transparent 70.7%)}
.error-stats-overview::after{content:"";position:absolute;inset:0 12% auto;height:2px;background:linear-gradient(90deg,transparent,#efb6b3,#f9dfad,#efb6b3,transparent);pointer-events:none}
.error-stats-overview .error-stat{--metric-color:#ffd7d0;display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:0 10px;border:0}
.error-stats-overview .error-stat-2{--metric-color:#ffe2ab}
.error-stats-overview .error-stat-3{--metric-color:#f5dbea}
.error-stats-overview .error-stat:not(:last-child)::after{content:"";position:absolute;inset-inline-end:0;top:10%;height:80%;width:1px;background:linear-gradient(transparent,#ffffff35,transparent)}
.error-stats-overview .error-stat-icon{display:grid;place-items:center;width:36px;height:36px;margin-bottom:7px;color:var(--metric-color);background:#ffffff0e;border:1px solid #ffffff2a;border-radius:10px}
.error-stat-icon svg{display:block;width:23px;height:23px}
.error-stats-overview .error-stat strong{color:var(--metric-color);font-size:44px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-1px}
.error-stats-overview .error-stat-label{color:#fff5f0;font-size:14px;line-height:1.7;margin-top:5px}
@media(max-width:600px){.error-stats-overview{padding:14px 3px;border-radius:11px}.error-stats-overview .error-stat{padding:0 5px}.error-stats-overview .error-stat strong{font-size:32px;letter-spacing:-.5px}.error-stats-overview .error-stat-label{font-size:11px}.error-stats-overview .error-stat-icon{width:31px;height:31px;margin-bottom:6px;border-radius:8px}.error-stat-icon svg{width:21px;height:21px}}
@media print{.error-stats-overview{background:#fff;box-shadow:none;border-color:#b67b78}.error-stats-overview::before,.error-stats-overview::after{display:none}.error-stats-overview .error-stat strong,.error-stats-overview .error-stat-label,.error-stats-overview .error-stat-icon{color:#74363e}}
