/* Functional integrations inherit Umayr's approved design tokens. */
.integrated-video,.integrated-video .panel,.integrated-video .form-grid>*{min-width:0;max-width:100%}.integrated-video input[type=file]{width:100%;min-width:0;font-size:14px}.integrated-video p{overflow-wrap:anywhere}.integrated-video .item-actions>*{min-width:0}
[hidden]{display:none!important}.mode-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.mode-tabs .btn{flex:1}.education-panel{padding:clamp(18px,4vw,32px);background:var(--brand-white);border:1px solid var(--line);border-radius:22px;max-width:920px}.educational-heading{display:flex;align-items:center;gap:16px}.educational-heading img{object-fit:contain}.educational-heading h2{font-size:1.8rem;margin:0}.educational-heading p{margin:0;color:var(--mute)}.eyebrow{font-size:.9rem;color:var(--gold-deep)}.field{display:grid;gap:7px;margin-block:18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:.55em 1.2em;font:600 1rem var(--ff-body);color:var(--ink);border:1px solid var(--line);border-radius:12px;background:var(--brand-white);text-decoration:none;cursor:pointer}.button.primary{background:var(--night);color:var(--gold-soft)}.item-actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:16px}.q-source-note,.quran-source-note{font-size:.88rem;color:var(--mute);line-height:1.8}.education-frame:empty{display:none}.education-frame iframe{display:block;width:100%;height:min(52vw,430px);min-height:200px;border:0;border-radius:12px;margin-block:18px}.education-panel select{width:100%;font:inherit;padding:10px;border:1px solid var(--line);border-radius:10px;color:var(--ink);background:var(--paper)}.quran-source-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.quran-source-note button{border:1px solid var(--line);background:var(--brand-white);color:var(--ink);border-radius:9px;min-height:36px;font:inherit;cursor:pointer}.quran-source-note [aria-pressed=true]{background:var(--night);color:var(--gold-soft)}.tajweed-rule{font:inherit}.colour-key{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}.colour-key li{display:flex;gap:9px;align-items:center}.tajweed-swatch{width:18px;height:18px;border-radius:4px;flex:none}.review-note{padding:12px 16px;background:var(--tone-note);border-inline-start:3px solid var(--gold);border-radius:8px;color:var(--ink);font-size:.95rem}.preserve-lines{white-space:pre-wrap}.quick-tools{position:fixed;inset-inline-end:max(10px,env(safe-area-inset-left));bottom:calc(var(--tab-h,0px) + var(--player-h,0px) + 16px);display:flex;flex-direction:column;gap:8px;z-index:64}.quick-tools a,.quick-tools button{width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:1px solid var(--gold);border-radius:50%;background:var(--night);color:var(--gold-soft);font:700 1.3rem var(--ff-body);text-decoration:none;box-shadow:0 3px 15px var(--tone-shadow-soft);cursor:pointer}.quick-tools svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}.student-preview{margin-bottom:24px}.account-gate{padding:40px 24px;border:1px solid var(--line-l);border-radius:24px;background:var(--night);color:var(--gold-soft);text-align:center}.account-gate h3{color:var(--brand-white);font-size:1.8rem}.account-gate .small{font-size:.9rem}.student-preview .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:20px}.student-preview .card{background:var(--brand-white);border:1px solid var(--line);border-radius:20px;padding:22px}.student-preview .student-welcome{background:var(--night);color:var(--gold-soft)}.student-welcome h2{color:var(--brand-white);margin:14px 0}.student-preview .tools{display:flex;flex-wrap:wrap;gap:8px}.student-preview button,.student-preview .btn{font:600 1rem var(--ff-body);min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 14px;cursor:pointer}.student-preview select{font:inherit;padding:8px;border-radius:8px;max-width:100%}.progress-unit{display:grid;gap:8px;max-width:320px;margin-block:16px}.student-preview .progress-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.progress-ring{width:120px;height:120px;display:grid;place-items:center;background:conic-gradient(var(--gold) var(--progress),var(--tone-progress-track) 0);border-radius:50%;position:relative}.progress-ring:before{content:"";position:absolute;inset:10px;border-radius:50%;background:var(--brand-white)}.progress-ring strong{position:relative;font-size:1.8rem}.metric{font-size:2.2rem}.student-preview .student-milestones>button{display:flex;flex-direction:column;align-items:center;gap:8px}.student-preview .item{border-bottom:1px solid var(--line);padding-block:12px}.student-preview .notice{padding:14px;border-inline-start:3px solid var(--gold);background:var(--tone-note);font-size:.95rem}.student-preview .muted{color:var(--mute);font-size:.95rem}.install-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.install-grid article{padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--brand-white)}.integrated-video .page-intro h1{font-size:2.5rem}.integrated-video .panel{padding:24px;background:var(--night-2);border:1px solid var(--line-l);border-radius:20px}.integrated-video video{width:100%;max-height:60dvh;min-height:200px;background:var(--art-night)}.integrated-video .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.integrated-video label{font:inherit}.integrated-video select,.integrated-video input{max-width:100%;font:inherit}.integrated-video .full{grid-column:1/-1}.integrated-video .screen-status,.integrated-video .callout{font-size:.95rem;line-height:1.8}.integrated-video .page-intro{margin-bottom:24px}.integrated-video .button{color:var(--gold-soft);border-color:var(--line-l);background:transparent}.integrated-video .button:disabled{opacity:.5;cursor:default}.integrated-video .button.primary{background:var(--gold);color:var(--night)}#methodology-content .panel{padding:24px;background:var(--brand-white);border:1px solid var(--line);border-radius:20px}#methodology-content h1{font-size:2.5rem}#methodology-content .quiet-banner{margin:24px 0;padding:20px;background:var(--night);color:var(--gold-soft);border-radius:16px}#methodology-content .quiet-banner h2{color:var(--brand-white)}.q-mode-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-block:20px}.q-mode-tabs .button{flex:1}.q-mode-tabs .primary{color:var(--gold-soft);background:var(--night)}.list-item{border:1px solid var(--line);border-radius:16px;padding:20px;margin-block:16px}.site-privacy{max-width:850px;margin:auto;padding:40px 20px}.site-privacy h1{font-size:2.2rem}
@media(max-width:760px){.student-preview .grid.student-metrics{grid-template-columns:1fr 1fr;gap:10px}.student-preview .student-metrics .card{padding:16px 8px}.student-preview .student-metrics .card:last-child{grid-column:1/-1}.progress-ring{width:100px;height:100px}.student-preview .grid.student-milestones{gap:8px}.student-preview .student-milestones .card{padding:12px 4px;font-size:.9rem}.student-milestones .metric{font-size:1.6rem}.install-grid,.integrated-video .form-grid{grid-template-columns:1fr}.integrated-video .full{grid-column:auto}.q-mode-tabs .button{flex-basis:40%}.quran-source-note{font-size:.78rem}.education-panel{padding:16px}.education-frame iframe{min-height:200px}.colour-key{font-size:.9rem}.hero h1{white-space:normal;text-wrap:balance}.review-note{overflow-wrap:anywhere}}
@media(max-width:1100px){body[data-view=quran] .quick-tools{bottom:calc(var(--tab-h) + var(--player-h,0px) + 12px)}.reader{min-height:0}.quran-source-note{flex:none}.mushaf{min-height:0}}
