/* TLQ v168 — compact dictation and responsible Arabic writing/tajwid review */

/* Search must visibly advertise searching translation keywords. Keep working voice button icon-only. */
.q166-quran-tools .q163-search{gap:8px!important;padding:8px 9px 8px 12px!important;min-height:60px!important;display:flex!important;align-items:center}
.q166-quran-tools .q163-search .q163-search-icon{width:21px;flex:0 0 21px}
.q166-quran-tools .q163-search #q163-search{flex:1 1 auto!important;min-width:0!important;font-size:13px!important;padding:5px 0!important;letter-spacing:-.012em}
.q166-quran-tools .q163-search #q163-search::placeholder{font-size:12px!important;color:#809f8c!important;opacity:1}
.q166-quran-tools .q163-search button.tlq71-voice-button{width:40px!important;min-width:40px!important;max-width:40px!important;flex:0 0 40px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;gap:0!important;border-radius:11px!important;display:grid!important;place-items:center!important;background:#edf7ee!important;box-shadow:none!important;border:1px solid #d2e6d8!important;color:#1a7451!important}
.q166-quran-tools .q163-search button.tlq71-voice-button span{display:none!important}
.q166-quran-tools .q163-search button.tlq71-voice-button svg{width:20px!important;height:20px!important;flex-shrink:0}
.q166-quran-tools .q163-search #q163-search-submit{flex:0 0 39px!important;min-width:39px!important;width:39px!important;height:40px!important;margin:0!important}
.q168-search-help{font-size:11px;line-height:1.6;color:#6f917b;padding:0 4px 10px;margin:-5px 0 6px;letter-spacing:-.012em}
.q168-search-help b{color:#165e43;font-weight:850}
@media(max-width:370px){.q166-quran-tools .q163-search{gap:5px!important;padding-left:9px!important}.q166-quran-tools .q163-search #q163-search::placeholder{font-size:11px!important}.q166-tools-body{padding:16px 12px 18px!important}}
.q113-player .q168-safari-fallback{display:block;flex-basis:100%;width:100%;padding:8px 10px;text-align:center;text-decoration:underline;text-underline-offset:2px;font:750 11px/1.55 system-ui,sans-serif;color:#e8f6c8;border-top:1px solid #ffffff35;margin-top:7px}
.q113-player .q168-safari-fallback:focus-visible{outline:2px solid #fff3b4;outline-offset:4px}

/* Harakat checker explicitly distinguishes written vowel marks from spoken tajwid. */
.tp139-page .tp168-review{margin:17px 0 0;border:1px solid #d9e6d8;border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(29,84,54,.045)}
.tp139-page .tp168-review-heading{padding:20px 20px 16px;background:linear-gradient(115deg,#eaf6ec,#fafcf8)}
.tp139-page .tp168-review-heading>span{font:950 9px/1.5 system-ui,sans-serif;letter-spacing:.12em;color:#6f987d}
.tp139-page .tp168-review-heading h3{font:950 21px/1.3 system-ui,sans-serif;color:#15563d;letter-spacing:-.045em;margin:7px 0!important}
.tp139-page .tp168-review-heading p{font:400 11px/1.65 system-ui,sans-serif;color:#6e8b77;margin:0}
.tp139-page .tp168-review-part{border-top:1px solid #e3ece3}
.tp139-page .tp168-review-part summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:16px 19px;cursor:pointer;color:#245d43;touch-action:manipulation}
.tp139-page .tp168-review-part summary::-webkit-details-marker{display:none}
.tp139-page .tp168-review-part summary>span:first-child{font:900 13px/1.5 system-ui,sans-serif}
.tp139-page .tp168-review-part summary>span:last-child{background:#e9f3e9;color:#427b5a;border-radius:8px;font:800 10px/1.5 system-ui,sans-serif;padding:5px 9px;text-align:center}
.tp139-page .tp168-review-part[open] summary{background:#f8fbf6}
.tp139-page .tp168-review-content{padding:14px 17px 18px}
.tp139-page .tp168-unverified{border-radius:13px;padding:15px;background:#faf8ef;border:1px solid #ece3ce}
.tp139-page .tp168-unverified>b{font:900 12px/1.6 system-ui,sans-serif;color:#84683e}
.tp139-page .tp168-unverified p,.tp139-page .tp168-guide-none{font:400 11px/1.7 system-ui,sans-serif;color:#8b846f;margin:6px 0 0}
.tp139-page .tp168-mark-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:11px}
.tp139-page .tp168-mark-overview span{display:flex;flex-direction:column;gap:4px;align-items:center;padding:11px 6px;border-radius:11px;background:#edf7ef;color:#638b75;font:750 10px/1.3 system-ui,sans-serif;text-align:center}
.tp139-page .tp168-mark-overview span:nth-child(2){background:#fff0e9;color:#9c725c}
.tp139-page .tp168-mark-overview span:nth-child(3){background:#f6f4ec;color:#8e876e}
.tp139-page .tp168-mark-overview b{font:950 21px/1 system-ui,sans-serif;color:#175d41}
.tp139-page .tp168-mark-overview span:nth-child(2) b{color:#ae654d}
.tp139-page .tp168-mark-issues{display:grid;gap:7px}
.tp139-page .tp168-mark-item{display:flex;gap:11px;align-items:center;background:#fbfaf7;border:1px solid #ebe7db;padding:10px;border-radius:11px}
.tp139-page .tp168-word{font:400 23px/1.6 'Amiri','Noto Naskh Arabic',serif;min-width:68px;text-align:center;color:#185d46;flex-shrink:0}
.tp139-page .tp168-mark-item p{font:400 10px/1.65 system-ui,sans-serif;color:#786f5e;min-width:0}
.tp139-page .tp168-mark-item p>span{display:block}
.tp139-page .tp168-mark-item p b{font:400 17px/1.5 'Amiri','Noto Naskh Arabic',serif;color:#95563c}
.tp139-page .tp168-mark-success{font:500 11px/1.7 system-ui,sans-serif;color:#558a68}
.tp139-page .tp168-other-count{font:600 10px/1.6 system-ui,sans-serif;color:#95724d}
.tp139-page .tp168-tajwid-list{display:grid;gap:9px}
.tp139-page .tp168-tajwid-list article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:5px 12px;border:1px solid #e4eee4;background:#f9fbf7;border-radius:12px;padding:12px}
.tp139-page .tp168-tajwid-verse{grid-row:span 2;max-width:110px;word-break:normal;overflow-wrap:anywhere;font:400 20px/1.65 'Amiri','Noto Naskh Arabic',serif;color:#20583f;text-align:center}
.tp139-page .tp168-tajwid-list b{font:850 12px/1.4 system-ui,sans-serif;color:#1f6348}
.tp139-page .tp168-tajwid-list p{font:400 10px/1.65 system-ui,sans-serif;color:#67836f;margin:0}
.tp139-page .tp168-evidence{font:450 10.5px/1.75 system-ui,sans-serif;color:#827c64;margin:0;padding:14px 19px 19px;background:#f6f5ed;border-top:1px solid #ecebdc}
@media(max-width:420px){.tp139-page .tp168-review-heading{padding:17px}.tp139-page .tp168-review-content{padding:12px}.tp139-page .tp168-tajwid-verse{max-width:80px;font-size:17px}}