/* Talaqqi Qiraat Temas: independent program, level guidance and page dates. */
.qe-page.qt-page { max-width: 1080px; container-type: inline-size; }
.qt-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 0 18px; font-size: 12px; color: #718077; }
.qt-breadcrumb a { text-decoration: none; font-weight: 600; }
.qt-breadcrumb a:hover { text-decoration: underline; }
.qe-page .qt {
  --qt-green: #235c48;
  --qt-ink: #233c32;
  --qt-muted: #718077;
  --qt-line: #e2e8e2;
  margin: 0 0 16px;
  border: 1px solid var(--qt-line);
  border-radius: 22px;
  background: #fff;
  color: var(--qt-ink);
  box-shadow: 0 8px 30px #213b2b06;
  scroll-margin-top: 88px;
  overflow: clip;
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.qt button, .qt input, .qt select { font: inherit; }
.qt button { cursor: pointer; touch-action: manipulation; }
.qt button:disabled { cursor: default; opacity: .4; }
.qt :is(button, input, select, summary):focus-visible { outline: 3px solid #93b5a2; outline-offset: 3px; }
.qt-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 28px 24px; }
.qt .qt-eyebrow { margin: 0 0 8px; font-size: 10px; font-weight: 650; letter-spacing: .13em; color: var(--qt-muted); }
.qt-heading h1 { margin: 0; font: 650 30px/1.2 system-ui, sans-serif; letter-spacing: -1px; }
.qt-heading h1 span { color: #74a08a; }
.qt .qt-intro { margin: 8px 0 0; font-size: 13px; color: var(--qt-muted); }
.qt-total { flex-shrink: 0; text-align: right; font-size: 14px; color: var(--qt-muted); font-variant-numeric: tabular-nums; }
.qt-total strong { font-size: 30px; font-weight: 600; letter-spacing: -1px; color: var(--qt-ink); }
.qt-total small { display: block; font-size: 11px; }
.qt-levels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--qt-line); }
.qt .qt-levels button { display: grid; justify-items: start; gap: 3px; padding: 12px 14px 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 10px 10px 0 0; background: transparent; color: var(--qt-muted); text-align: left; }
.qt-levels button:hover { background: #f8faf7; }
.qt .qt-levels button[aria-pressed=true] { border-bottom-color: var(--qt-green); background: #f0f6f1; color: var(--qt-green); }
.qt-level-index { font-size: 10px; letter-spacing: .08em; opacity: .7; }
.qt-levels strong { font-size: 14px; font-weight: 650; }
.qt-levels small { font-size: 11px; font-variant-numeric: tabular-nums; }
.qt-level-info { padding: 20px 28px; border-bottom: 1px solid var(--qt-line); background: #fafcf8; }
.qt-level-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qt-level-heading h2 { margin: 0; font: 650 19px/1.4 system-ui, sans-serif; letter-spacing: -.3px; }
.qt-level-heading>span { flex-shrink: 0; color: var(--qt-muted); font-size: 11px; }
.qt #qs-detail-guide { margin: 7px 0 10px; max-width: 700px; color: #52675a; font-size: 13px; line-height: 1.65; }
.qt-level-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 11px; color: var(--qt-green); }
.qt-level-meta span+span { color: var(--qt-muted); }
.qt .qt-coverage { margin-top: 10px; }
.qt .qt-coverage summary { padding: 4px 0; font-size: 11px; font-weight: 500; color: var(--qt-green); }
.qt-coverage ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; list-style: none; padding: 12px 0 0; margin: 0; }
.qt-coverage li { display: flex; flex-wrap: wrap; gap: 3px 10px; padding-bottom: 8px; border-bottom: 1px solid var(--qt-line); font-size: 12px; }
.qt-coverage li strong { font-weight: 600; }
.qt-coverage li span { color: var(--qt-muted); }
.qt-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding: 26px 28px 12px; }
.qt-pages { min-width: 0; }
.qt .qt-map-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 0; list-style: none; }
.qt-map-heading::-webkit-details-marker { display: none; }
.qt-map-heading>span:first-of-type { margin-left: auto; }
.qt-map-chevron { transition: transform .15s; }
.qt-pages[open] .qt-map-chevron { transform: rotate(180deg); }
.qt-map-heading h3 { font: 600 14px/1.5 system-ui, sans-serif; margin: 0; }
.qt-map-heading>span { font-size: 11px; color: var(--qt-muted); font-variant-numeric: tabular-nums; }
.qt progress { display: block; appearance: none; width: 100%; height: 4px; margin: 12px 0 18px; overflow: hidden; border: 0; border-radius: 20px; background: #edf1ec; color: var(--qt-green); }
.qt progress::-webkit-progress-bar { background: #edf1ec; }
.qt progress::-webkit-progress-value { background: var(--qt-green); border-radius: 20px; }
.qt progress::-moz-progress-bar { background: var(--qt-green); border-radius: 20px; }
.qt-map-toolbar { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; gap: 8px; margin: 0 0 14px; }
.qt .qt-map-toolbar button { width: 36px; height: 36px; padding: 0; border: 1px solid var(--qt-line); border-radius: 9px; background: #fff; color: var(--qt-ink); font-size: 18px; }
.qt-range { min-width: 0; justify-self: center; }
.qt-range select { width: 100%; max-width: 190px; height: 36px; border: 0; border-radius: 6px; padding: 0 22px 0 8px; background: transparent; color: var(--qt-ink); font-size: 13px; cursor: pointer; }
.qt-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.qt .qt-cell { position: relative; min-width: 0; height: 46px; padding: 6px 3px; border: 1px solid var(--qt-line); border-radius: 9px; background: #fff; color: #78847c; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; transition: background .12s, border-color .12s; }
.qt .qt-cell:hover { background: #f5f8f3; border-color: #9bb6a4; }
.qt .qt-cell.is-recorded { color: var(--qt-green); background: #eaf3e9; border-color: #d4e5d4; }
.qt .qt-cell.is-recorded:after { content: ""; position: absolute; right: 6px; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: #5e906f; }
.qt .qt-cell[aria-pressed=true] { border-color: var(--qt-green); background: var(--qt-green); color: white; box-shadow: 0 3px 8px #235c481a; }
.qt .qt-cell[aria-pressed=true]:after { background: white; }
.qt-map-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.qt-map-footer>span { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--qt-muted); }
.qt-map-footer i { width: 7px; height: 7px; border-radius: 3px; background: #bad6b7; }
.qt .qt-map-footer button { min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: var(--qt-green); font-size: 11px; }
.qt-entry { align-self: start; padding: 20px; margin: 0; border: 1px solid #e1e8dd; border-radius: 15px; background: #f7f9f4; }
.qt-entry-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 20px; }
.qt-entry-heading>label { display: block; color: var(--qt-muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.qt .qt-entry-heading input { display: block; appearance: textfield; width: 94px; min-height: 48px; margin: 3px 0 0; padding: 0; border: 0; border-bottom: 1px dashed #c6d3c1; border-radius: 0; background: transparent; color: var(--qt-ink); font: 500 38px/1.2 system-ui, sans-serif; letter-spacing: -1px; }
.qt-entry-heading input::-webkit-inner-spin-button, .qt-entry-heading input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.qt-entry-heading>span { color: #7e897b; font-size: 11px; white-space: nowrap; }
.qt-entry-heading>span.is-recorded { color: var(--qt-green); }
.qt-date-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.qt-date-heading label { font-size: 12px; font-weight: 600; }
.qt .qt-date-heading button { min-height: 32px; border: 0; padding: 4px 0 4px 8px; background: transparent; color: var(--qt-green); font-size: 11px; font-weight: 500; }
.qt #qt-date { appearance: none; width: 100%; min-width: 0; height: 46px; border: 1px solid #d4ddce; border-radius: 9px; padding: 9px 12px; background: #fff; color: var(--qt-ink); font-size: 15px; }
.qt #qt-entry-context { margin: 8px 0 18px; color: var(--qt-muted); font-size: 11px; }
.qt .qt-save { width: 100%; min-height: 46px; border: 1px solid var(--qt-green); border-radius: 10px; padding: 11px 12px; background: var(--qt-green); color: white; font-size: 13px; font-weight: 600; }
.qt .qt-save:hover { background: #1a4939; }
.qt .qt-delete { display: block; min-height: 32px; margin: 8px auto -6px; padding: 4px 10px; border: 0; background: transparent; color: #91685b; font-size: 11px; }
.qt-feedback { display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 0 28px 12px; }
.qt #qs-ledger-status { margin: 0; color: var(--qt-green); font-size: 11px; line-height: 1.5; }
.qt #qt-undo { min-height: 32px; padding: 4px 0; border: 0; background: transparent; color: var(--qt-green); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.qt-footer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; padding: 16px 28px; border-top: 1px solid var(--qt-line); background: #fcfdfb; }
.qt #qs-storage-note { color: var(--qt-muted); font-size: 11px; }
.qt #qs-storage-note.is-error { color: #a05033; }
.qt .qt-about summary { padding: 0; color: #5e7163; font-size: 11px; font-weight: 500; }
.qt-about[open] { flex-basis: 100%; }
.qt-about-body { padding: 6px 0 0; font-size: 12px; line-height: 1.8; color: #607365; }
.qt-about-body h3 { margin: 18px 0 8px; font: 600 14px/1.5 system-ui, sans-serif; }
.qt-about-body ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; padding-left: 20px; }
.qt-about-body small { color: #869081; }
.qt .qt-noscript { padding: 0 28px 16px; font-size: 13px; }
@media (max-width: 1100px) {
  .qt-workspace { gap: 20px; grid-template-columns: minmax(0, 1fr) 250px; padding-inline: 24px; }
  .qt .qt-levels button { padding-inline: 10px; }
}
@media (max-width: 760px) {
  .qt-heading { padding: 22px 20px 20px; }
  .qt-heading h1 { font-size: 26px; }
  .qt-total strong { font-size: 24px; }
  .qt-total { font-size: 12px; }
  .qt-levels { padding: 0 16px; gap: 2px; }
  .qt .qt-levels button { padding: 10px 5px 12px; align-items: center; justify-items: center; text-align: center; }
  .qt-level-index { display: none; }
  .qt-levels strong { font-size: 12px; white-space: nowrap; }
  .qt-levels small { font-size: 10px; }
  .qt-level-info { padding: 16px 20px; }
  .qt #qs-detail-guide { font-size: 12px; }
  .qt-coverage ul { grid-template-columns: 1fr; }
  .qt-workspace { grid-template-columns: 1fr; gap: 24px; padding: 20px 20px 10px; }
  .qt-entry { grid-row: 1; padding: 16px; }
  .qt .qt-map-heading { min-height: 40px; align-items: center; }
  .qt-pages[open] .qt-map-heading { margin-bottom: 6px; }
  .qt-pages:not([open]) { border-top: 1px solid var(--qt-line); padding-top: 8px; }
  .qt-entry-heading { margin-bottom: 10px; }
  .qt .qt-entry-heading input { font-size: 34px; min-height: 43px; }
  .qt #qt-entry-context { margin-bottom: 12px; }
  .qt #qt-date { font-size: 16px; }
  .qt-feedback { padding-inline: 20px; }
  .qt-footer { padding: 14px 20px; }
  .qt-about-body ol { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .qe-page .qt { border-radius: 16px; }
  .qt-heading { padding: 18px 14px; gap: 12px; align-items: flex-start; }
  .qt-heading h1 { font-size: 23px; }
  .qt .qt-intro { font-size: 11px; max-width: 170px; }
  .qt-total strong { font-size: 21px; }
  .qt-total small { font-size: 9px; }
  .qt-levels { padding-inline: 8px; }
  .qt-levels strong { font-size: 11px; }
  .qt-level-info { padding: 14px; }
  .qt-workspace { padding: 16px 14px 8px; gap: 20px; }
  .qt-grid { gap: 6px; }
  .qt-map-heading h3 { font-size: 13px; }
  .qt-map-heading>span { font-size: 10px; }
  .qt-entry { padding: 14px; }
  .qt-footer, .qt-feedback { padding-inline: 14px; }
}
@container (max-width: 660px) {
  .qt-workspace { grid-template-columns: 1fr; }
  .qt-entry { grid-row: 1; }
}
