@font-face{font-family:ToolsQuran;src:url('/fonts/ksu-hafs-0eda6754ed.woff') format('woff');font-display:swap}
.tools-main{display:block;max-width:900px;margin:2.4rem auto 4rem;padding:0;width:100%;min-width:0}.tools-heading{margin-bottom:1.6rem}.tools-heading h1{font:400 clamp(2rem,5vw,3rem)/1.5 ArabicDisplay,serif;margin:.2rem 0;color:var(--gold-bright)}.tools-heading p{color:var(--muted);line-height:1.9}.tools-heading a{color:var(--gold)}
.site-search-entry{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:clamp(18px,4vw,28px);margin:0 0 24px}.home-main>.site-search-entry{margin-top:25px}.site-search-entry label{display:block;color:var(--gold-bright);font-size:1.15rem;margin-bottom:10px}.site-search-entry p{color:var(--muted);line-height:1.9;font-size:.9rem;margin:8px 0 12px}.site-search-row{display:flex;gap:10px;align-items:stretch}.site-search-row input{flex:1;min-width:0}.site-search-row button{min-width:80px}
.site-search-row input,.report-dialog textarea,.report-dialog select,.admin-toolbar select,.admin-report select{box-sizing:border-box;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit;padding:10px 12px;min-height:48px}.site-search-row input:focus,.report-dialog textarea:focus,.report-dialog select:focus,.tools-main select:focus{outline:2px solid var(--gold);outline-offset:2px}.site-search-row input::placeholder,.report-dialog textarea::placeholder{color:var(--muted)}
.tools-filters{display:flex;flex-wrap:wrap;gap:8px}.tools-filters button{border:1px solid var(--line);border-radius:30px;padding:8px 16px;background:transparent;color:var(--muted);font:inherit;min-height:44px;cursor:pointer}.tools-filters button[aria-pressed=true]{border-color:var(--gold);background:var(--gold);color:var(--bg)}
.tools-notice{color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.tools-notice:empty,.tools-inline-notice:empty{display:none}.tools-main [hidden],.report-dialog [hidden]{display:none!important}.unified-group{margin:32px 0}.unified-group>h2{font-size:1.25rem;color:var(--gold-bright);font-weight:500}.unified-result,.admin-report{border:1px solid var(--line);border-inline-start:3px solid var(--gold);border-radius:16px;background:var(--surface);padding:22px;margin:16px 0;overflow-wrap:anywhere;min-width:0}.unified-result h3,.admin-report h2{font-size:1.08rem;line-height:1.9;font-weight:500;margin:0 0 8px}.unified-result h3 a{color:var(--gold);text-decoration:none}.unified-reference{font-size:.85rem;line-height:1.8;color:var(--muted);margin:.4rem 0}.unified-text{white-space:pre-wrap;line-height:2.1;font-size:1.25rem;margin:15px 0}.unified-quran{font-family:ToolsQuran,serif;font-size:2rem;line-height:2.1}.unified-badge{color:var(--muted);font-size:.8rem}.tools-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.tools-actions .primary-action,.tools-actions .secondary-action{min-height:44px;justify-content:center;font-size:.9rem}.tools-inline-notice{display:block;color:var(--gold);font-size:.85rem;margin-top:8px}
.report-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:transparent;border:0;padding:8px 10px;color:var(--muted);font:inherit;font-size:.8rem;cursor:pointer;text-decoration:underline;text-underline-offset:4px}.report-trigger:hover{color:var(--gold)}.report-page{display:flex;margin:26px auto 0}.verse-result-actions .report-trigger{flex:0 0 100%}.verse-result-actions{flex-wrap:wrap}.report-dialog{color:var(--text);background:var(--bg);border:1px solid var(--gold);border-radius:20px;padding:26px;max-width:540px;width:calc(100% - 32px);box-sizing:border-box;max-height:90dvh;overflow:auto;text-align:start}.report-dialog::backdrop{background:#0009}.report-dialog h2{font-size:1.4rem;color:var(--gold);margin:0 0 10px}.report-dialog>p{font-size:.9rem;color:var(--muted);line-height:1.9}.report-context{overflow-wrap:anywhere}.report-dialog a{color:var(--gold);font-size:.85rem}.report-dialog form{display:grid;gap:10px;margin-top:20px}.report-dialog label{font-size:.95rem}.report-dialog textarea{width:100%;resize:vertical;line-height:1.8}.report-dialog button:disabled,.tools-main button:disabled{opacity:.6;cursor:wait}.report-dialog .tools-actions{margin-top:10px}
.report-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}.report-count{display:flex;flex-direction:column;gap:8px;padding:20px 12px;border:1px solid var(--line);border-radius:16px;text-align:center;background:var(--surface);font-size:.86rem;color:var(--muted)}.report-count strong{font-size:2rem;font-weight:400;color:var(--gold)}.admin-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.admin-toolbar label{display:flex;gap:10px;align-items:center}.admin-report-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.78rem;margin-bottom:10px}.report-status{color:var(--gold);border:1px solid var(--line);padding:3px 9px;border-radius:20px}.report-location{display:inline-flex;align-items:center;min-height:44px;color:var(--gold);font-size:.9rem}.report-description{white-space:pre-wrap;line-height:1.9;padding:14px;background:var(--bg);border-radius:10px}.report-excerpt{color:var(--muted);font-size:.9rem;line-height:1.9}.report-excerpt summary{cursor:pointer;min-height:44px;align-content:center}.report-excerpt blockquote{margin:10px 0;padding-inline-start:14px;border-inline-start:2px solid var(--line);white-space:pre-wrap}.site-search-link{display:inline-flex;gap:6px;align-items:center;min-height:44px;color:var(--gold);font-size:.88rem;text-decoration:none}.account-bar{flex-wrap:wrap}.account-bar .account-sync{margin-inline-start:auto}
@media(max-width:540px){.tools-main{margin-top:1.5rem}.unified-result,.admin-report{padding:17px}.report-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.report-dialog{padding:20px}.account-bar{gap:4px 16px}.account-bar .account-sync{max-width:100%;flex-basis:100%;padding-top:0}.tools-actions .secondary-action{padding:9px 12px}.unified-quran{font-size:1.8rem}.site-search-row{gap:8px}.site-search-row button{min-width:64px;padding:10px}.tools-filters button{padding:7px 12px}}
