/* Community services reuse Yammak's resident layout, spacing and card language. */
.home-shortcuts>a{min-width:0;height:110px;align-content:center;text-align:center;overflow:hidden}
.home-shortcuts .service-brand-name{gap:3px}
.home-shortcuts .service-brand-name>span{width:50px;height:50px;padding:0}
.home-shortcuts .service-brand-name>span img{display:block;width:26px;height:26px}
.home-shortcuts .shortcut-kids>span{background:linear-gradient(145deg,#fff5dd,#edc775);color:#8d6218}
.home-shortcuts .shortcut-shlon>span{background:linear-gradient(145deg,#eaf6f1,#9ed0b5);color:#216e54}
.home-shortcuts .shortcut-fazaa>span{background:linear-gradient(145deg,#f1f5ff,#a8bce9);color:#274c77;box-shadow:inset 0 0 0 1px rgba(39,76,119,.12),0 7px 15px rgba(39,76,119,.18)}
.home-shortcuts .shortcut-fazaa>span img{width:26px;height:26px}
.home-shortcuts .service-brand-name .shortcut-subtitle{max-width:100%;margin:0;padding:0 4px;font-size:.56rem;line-height:1.25;overflow-wrap:anywhere}
.home-shortcuts .service-brand-name .shortcut-brand-title{font-size:.76rem;line-height:1.2}

.feature-wrap,.feature-wrap *{box-sizing:border-box}
.feature-wrap{width:100%;max-width:980px;margin:auto;padding:22px;display:grid;gap:20px;min-width:0}
.feature-wrap :where(h1,h2,h3,p,span,small,a,label){overflow-wrap:anywhere}
.feature-hero{position:relative;padding:32px 24px;background:linear-gradient(135deg,#edf7f1,#fff8e8);border-radius:0 0 28px 28px;overflow:hidden}
.feature-hero.compact{padding-block:24px}
.feature-hero h1{margin:4px 0 0;font-size:clamp(1.8rem,6vw,2.6rem);line-height:1.25}
.feature-hero p{max-width:720px;margin:7px 0 0;color:#657a70;line-height:1.75}
.feature-eyebrow{display:inline-flex;align-items:center;gap:7px;color:#2f7154;font-size:.8rem;font-weight:800}
.feature-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:13px;color:#285e49;text-decoration:none;font-size:.78rem;font-weight:700}
.feature-card{min-width:0;padding:18px;border:1px solid #dce7e0;border-radius:20px;background:#fff;box-shadow:0 7px 22px rgba(20,63,51,.045)}
.feature-card h2,.feature-card h3{margin-top:0;line-height:1.45}
.feature-chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.feature-chip{max-width:100%;padding:9px 14px;border:1px solid #cfddd5;border-radius:99px;background:#fff;color:#173d30;text-decoration:none;line-height:1.35}
.feature-chip.active{background:#173f33;color:#fff}
.feature-form{display:grid;gap:13px;min-width:0}
.feature-form.compact{margin-top:13px}
.feature-form label{min-width:0;display:grid;gap:6px;color:#244a3b;font-weight:700;line-height:1.5}
.feature-form label>small{color:#718278;font-size:.7rem;font-weight:500}
.feature-form input,.feature-form textarea,.feature-form select{width:100%;max-width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #d3e0d8;border-radius:12px;background:#fff;font:inherit;line-height:1.55}
.feature-form textarea{min-height:96px;resize:vertical}
.feature-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.feature-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.feature-actions form{max-width:100%}
.feature-button{display:inline-flex;max-width:100%;min-height:44px;align-items:center;justify-content:center;padding:11px 16px;border:0;border-radius:12px;background:#173f33;color:#fff;text-align:center;text-decoration:none;font:inherit;font-weight:800;line-height:1.35;cursor:pointer;white-space:normal}
.feature-button.secondary{background:#eef3f0;color:#173f33}
.feature-button.danger{background:#a73d36}
.feature-section-title h2,.kids-categories-section h2{margin:2px 0 0;font-size:1.3rem}
.feature-section-title small,.kids-categories-section header small{color:#6f8278}
.privacy-note{margin:0;color:#687f74;font-size:.78rem;line-height:1.7}
.feature-empty-state,.empty-feature{min-width:0;padding:34px 18px;border:1px dashed #cbdcd2;border-radius:18px;background:#fbfdfb;color:#6c7f75;text-align:center}
.feature-empty-state.compact{padding:24px 16px;grid-column:1/-1}
.feature-empty-state>span{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 10px;border-radius:17px;background:#eaf3ed;color:#377253;font-size:1.25rem}
.feature-empty-state p{margin:0;line-height:1.7}

/* Kids */
.feature-hero--kids{background:linear-gradient(135deg,#fff8e7,#f0f8ee)}
.kids-page{gap:18px}
.kids-active-profile{display:grid;gap:14px}
.kids-active-profile__identity{display:flex;min-width:0;align-items:center;gap:12px}
.kids-active-profile__identity>span{width:52px;height:52px;display:grid;flex:0 0 52px;place-items:center;border-radius:17px;background:linear-gradient(145deg,#fff2cc,#efc365);color:#865d16;font-size:1.3rem}
.kids-active-profile__identity div{min-width:0}
.kids-active-profile__identity small{color:#6d8076}
.kids-active-profile__identity h2{margin:2px 0 0;font-size:1.2rem}
.kids-profile-switcher{display:flex;flex-wrap:wrap;gap:7px}
.kids-profile-editor{border-top:1px solid #e6ece8;padding-top:11px}
.kids-profile-editor summary{width:fit-content;color:#2c684f;font-size:.82rem;font-weight:800;cursor:pointer}
.kids-dashboard-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.35fr);gap:12px}
.kids-daily-task,.kids-stars-card{min-width:0;display:flex;align-items:center;gap:11px;padding:15px;border:1px solid #dbe7df;border-radius:18px;background:#fff;text-decoration:none;color:#183d30}
.kids-daily-task>span{width:44px;height:44px;display:grid;flex:0 0 44px;place-items:center;border-radius:14px;background:#e6f3e9;color:#327353}
.kids-daily-task div{min-width:0;flex:1}.kids-daily-task small,.kids-stars-card small{display:block;color:#718278}.kids-daily-task b{display:block;margin-top:2px}
.kids-stars-card>span{font-size:1.7rem}.kids-stars-card b{display:block;color:#9b6917;font-size:1.25rem}
.kids-categories,.kids-lessons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kids-category{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;border:1px solid #dce7e0;border-radius:18px;background:#fff;color:#173129;text-decoration:none}
.kids-category>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#fff4d9;color:#a56b12}
.kids-category>span i{font-size:1.1rem}.kids-category>i{color:#8ba096;font-size:.75rem}.kids-category div{min-width:0}.kids-category b,.kids-category small{display:block}.kids-category b{line-height:1.45}.kids-category small{margin-top:2px;color:#7a8a82;font-size:.68rem;line-height:1.45}
.kids-lesson{min-width:0;display:grid;align-content:start;gap:9px;padding:17px;border:1px solid #dce7e0;border-radius:18px;background:#fff;color:#173129}
.kids-lesson b{font-size:1.02rem;line-height:1.5}.kids-lesson p{margin:0;color:#667a70;line-height:1.7}.kids-lesson .feature-button{margin-top:auto}
.kids-stars{color:#a66c12;font-weight:800}
.kids-lesson-progress{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.kids-lesson-progress span{padding:6px 10px;border-radius:99px;background:#fff;color:#48695b;font-size:.75rem}
.kids-question{width:100%;max-width:720px;margin:auto;text-align:center}
.kids-question h2{font-size:clamp(1.15rem,4vw,1.55rem);line-height:1.65}
.kids-question-image{display:block;max-width:min(100%,320px);max-height:240px;margin:14px auto;border-radius:18px;object-fit:contain}
.kids-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.kids-answer-form{min-width:0}
.kids-option{width:100%;height:100%;min-width:0;min-height:58px;padding:15px;border:2px solid #dce7e0;border-radius:18px;background:#fff;color:#173f33;font:inherit;font-weight:800;line-height:1.55;cursor:pointer;overflow-wrap:anywhere}
.kids-option:hover,.kids-option:focus-visible{border-color:#d7a03d;background:#fff9e8;outline:none}
.kids-option-image{display:block;width:100%;height:110px;margin-bottom:.45rem;border-radius:12px;object-fit:contain}
.kids-feedback{position:sticky;top:calc(76px + env(safe-area-inset-top));z-index:35;max-width:720px;width:100%;margin:auto;padding:12px 14px;border:1px solid #bcd9c5;border-radius:14px;background:#edf8f0;color:#285e40;font-weight:800;line-height:1.65;text-align:center;box-shadow:0 10px 24px rgba(30,92,57,.16)}
.kids-feedback.retry{border-color:#ead5a6;background:#fff9e9;color:#805b13}.kids-feedback.error{border-color:#e8bbb6;background:#fff2f0;color:#8f392f}
.kids-complete>span{font-size:2.6rem}.kids-complete p{line-height:1.7}

/* Shlon */
.feature-hero--shlon{background:linear-gradient(135deg,#eef7f2,#f8fbf9)}
.shlon-page{gap:17px}
.shlon-search{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 8px 7px 13px;border:1px solid #ccddd3;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(20,63,51,.055)}
.shlon-search>i{color:#668077}.shlon-search input{min-width:0;padding:9px 2px;border:0;outline:0;font:inherit}.shlon-search button{min-height:40px;padding:8px 16px;border:0;border-radius:11px;background:#1f5e47;color:#fff;font:inherit;font-weight:800}
.shlon-categories{padding-block:2px}
.shlon-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.shlon-guide{min-width:0;display:grid;align-content:start;gap:9px;padding:18px;border:1px solid #dce7e0;border-radius:19px;background:#fff;color:#173129;text-decoration:none;box-shadow:0 7px 22px rgba(20,63,51,.045)}
.shlon-guide__meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;color:#718278;font-size:.7rem}.shlon-guide__meta span{padding:4px 8px;border-radius:99px;background:#edf5ef;color:#2c684f}.shlon-guide h2{margin:2px 0 0;font-size:1.08rem;line-height:1.5}.shlon-guide p{margin:0;color:#65796f;line-height:1.75}.shlon-guide__open{display:flex;align-items:center;justify-content:space-between;margin-top:3px;color:#2c684f;font-size:.78rem;font-weight:800}
.feature-pagination{justify-content:center}
.shlon-details-page{max-width:820px}
.guide-steps{counter-reset:step;display:grid;gap:17px}
.guide-step{counter-increment:step;position:relative;min-width:0;padding:21px;border:1px solid #dce7e0;border-radius:20px;background:#fff}
.guide-step__number:before{content:"الخطوة " counter(step);display:inline-flex;padding:5px 10px;border-radius:99px;background:#173f33;color:#fff;font-size:.72rem;font-weight:800}
.guide-step h2{margin:12px 0 0;font-size:1.12rem;line-height:1.55}.guide-step p{margin:12px 0 0;white-space:pre-line;color:#425e51;line-height:1.95}
.guide-media{display:grid;gap:11px;margin-top:15px}.guide-media img,.guide-media video{display:block;width:100%;max-width:100%;max-height:520px;border-radius:14px;object-fit:contain;background:#f4f7f5}
.guide-attachment{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:12px;border:1px solid #d7e4dc;border-radius:13px;background:#f8fbf9;color:#245d43;text-decoration:none}.guide-attachment span{min-width:0;overflow-wrap:anywhere}

/* Fazaa */
.feature-hero--fazaa{background:linear-gradient(135deg,#f1f5ff,#f7fbf8)}
.fazaa-page{gap:18px}
.fazaa-free{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border:1px solid #add7bc;border-radius:15px;background:#eaf7ef;color:#235e3b;font-weight:800;line-height:1.65}.fazaa-free i{margin-top:4px;color:#448a5c}
.fazaa-request-form{max-width:760px;width:100%;margin:auto}
.fazaa-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fazaa-request{min-width:0;display:grid;align-content:start;gap:10px;padding:17px;border:1px solid #dce7e0;border-radius:20px;background:#fff}
.fazaa-request>img{display:block;width:100%;max-height:230px;border-radius:14px;object-fit:cover}.fazaa-request header{display:flex;min-width:0;align-items:flex-start;justify-content:space-between;gap:9px}.fazaa-request h3{min-width:0;margin:0;font-size:1.04rem;line-height:1.5}.fazaa-request>p{margin:0;color:#516b5f;font-size:.9rem;line-height:1.75}.feature-status{flex:0 0 auto;padding:5px 9px;border-radius:99px;background:#eef5ef;color:#30694f;font-size:.68rem;font-weight:800}
.fazaa-meta{display:flex;flex-wrap:wrap;gap:7px;color:#687f74;font-size:.72rem}.fazaa-meta span{display:inline-flex;align-items:center;gap:5px}.fazaa-contact{display:grid;gap:3px;padding:11px;border-radius:13px;background:#edf7f1;color:#2c6149}.fazaa-contact span{font-size:.8rem}.fazaa-contact a{color:inherit}
.fazaa-report{max-width:100%}.fazaa-report summary{padding:8px 10px;color:#7a5049;font-size:.75rem;cursor:pointer}.fazaa-report .feature-form{margin-top:8px}.fazaa-my-requests{padding-top:5px;border-top:1px solid #e3ebe6}.fazaa-request--mine{grid-column:auto}

/* Admin */
.admin-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.admin-feature-list{display:grid;gap:10px}.admin-feature-item{border:1px solid #d9e3dd;border-radius:13px;padding:12px}.admin-feature-item form{display:inline-flex;margin:4px}.admin-step{border:1px solid #d9e3dd;border-radius:16px;padding:15px;margin:12px 0}.admin-attachments{display:flex;flex-wrap:wrap;gap:8px}.admin-feature-preview{width:90px;height:70px;object-fit:contain;border-radius:10px;border:1px solid #d7e6de;background:#fff}.progress-track{height:10px;background:#e9efeb;border-radius:99px;overflow:hidden}.progress-track span{display:block;height:100%;background:#5aa77d}

@media(max-width:720px){
  .feature-wrap{padding:16px;gap:16px}.feature-hero{padding:26px 17px;border-radius:0 0 23px 23px}.feature-hero.compact{padding-block:21px}
  .kids-categories,.kids-lessons,.shlon-guides,.fazaa-list,.admin-feature-grid{grid-template-columns:1fr 1fr}
  .kids-dashboard-summary{grid-template-columns:1fr}.feature-form-row{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .home-shortcuts>a{height:110px}.home-shortcuts .service-brand-name>span{width:44px;height:44px}.home-shortcuts .service-brand-name>span img{width:23px;height:23px}.home-shortcuts .shortcut-fazaa>span img{width:26px;height:26px}.home-shortcuts .service-brand-name .shortcut-subtitle{font-size:.52rem}.home-shortcuts .service-brand-name .shortcut-brand-title{font-size:.7rem}
  .feature-wrap{padding:13px 11px}.feature-card{padding:15px;border-radius:17px}.feature-hero h1{font-size:1.75rem}.feature-hero p{font-size:.86rem}
  .kids-categories,.kids-lessons,.shlon-guides,.fazaa-list,.kids-options{grid-template-columns:1fr}
  .feature-form-row{grid-template-columns:1fr}.kids-category{padding:12px}.kids-option{min-height:54px;padding:13px}
  .shlon-search{grid-template-columns:auto minmax(0,1fr)}.shlon-search button{grid-column:1/-1;width:100%}
  .guide-step{padding:16px}.guide-step p{line-height:1.85}.fazaa-request{padding:14px}.feature-actions>.feature-button,.feature-actions>form,.feature-actions>form .feature-button{width:100%}
}
@media(max-width:340px){
  .feature-wrap{padding-inline:9px}.feature-hero{padding-inline:14px}.feature-chip{padding:8px 10px;font-size:.78rem}.kids-active-profile__identity h2{font-size:1.03rem}.fazaa-free{padding:11px 12px;font-size:.82rem}.feature-button{padding-inline:12px;font-size:.84rem}
}
.kids-profile-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.kids-profile-choices a{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;align-items:center;padding:13px;border:1px solid #d7e8dc;border-radius:16px;background:#fff;color:#1c4d39;text-decoration:none}.kids-profile-choices a>span{grid-row:1/3;width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#e4f3e7;color:#26704a}.kids-profile-choices b,.kids-profile-choices small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kids-profile-choices small{color:#70847a;font-size:.72rem}.kids-add-another{margin-top:13px}@media(max-width:520px){.kids-profile-choices{grid-template-columns:1fr}}
.kids-stage-locked{opacity:.68}.kids-stage-locked .feature-button.disabled{cursor:not-allowed;background:#dfe7e2;color:#52655b;box-shadow:none}.kids-lesson-page .kids-complete form{display:inline-block;margin:.4rem}.kids-lesson-page .kids-complete .secondary{display:inline-flex;margin:.4rem}
.kids-question-image{width:min(100%,560px);aspect-ratio:16/9;object-fit:contain;border-radius:24px;background:#fff;box-shadow:0 12px 30px rgba(22,75,60,.12);animation:kids-picture-in .35s ease-out}.kids-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kids-option{min-height:82px;border:2px solid #cfe3d8;border-radius:20px;background:#fff;font-size:1.15rem;font-weight:800;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.kids-option:active{transform:scale(.96);border-color:#80b918;box-shadow:0 7px 20px rgba(128,185,24,.22)}@keyframes kids-picture-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@media(max-width:560px){.kids-options{grid-template-columns:1fr}.kids-option{min-height:68px;font-size:1.05rem}.kids-question-image{border-radius:18px}}

/* Preschool rounds can be understood through sound and visual choices without relying on reading. */
.kids-question-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}.kids-question-heading h2{margin-block:12px}.kids-speak-question,.kids-listen-option{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d7b966;background:#fff8df;color:#73500e;font:800 .82rem Tajawal,sans-serif;cursor:pointer}.kids-speak-question{min-height:44px;padding:10px 14px;border-radius:14px}.kids-answer-form--young{display:grid;grid-template-rows:auto 1fr;gap:7px;padding:7px;border:1px solid #d9e7de;border-radius:22px;background:#f9fcfa}.kids-answer-form--young .kids-listen-option{min-height:40px;border-radius:13px}.kids-answer-form--young .kids-option{display:grid;justify-items:center;align-content:center;gap:7px;min-height:150px}.kids-answer-form--young .kids-option>span:not(.kids-option-pictogram){font-size:1.08rem}.kids-answer-form--young .kids-option>small{color:#74887d;font-size:.68rem}.kids-option-pictogram{display:grid;place-items:center;min-width:70px;min-height:70px;padding:8px;border-radius:20px;background:linear-gradient(145deg,#fff6db,#e7f5e9);font-size:2.15rem;line-height:1}.kids-answer-form--young .kids-option-image{height:118px;margin:0}.kids-speak-question.is-speaking,.kids-listen-option.is-speaking{border-color:#63a875;background:#e8f7eb;color:#245f3d;box-shadow:0 0 0 4px rgba(76,159,101,.12)}.kids-question.is-answering{opacity:.72;pointer-events:none}.kids-feedback-overlay{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));background:rgba(16,48,37,.55);backdrop-filter:blur(5px)}.kids-feedback-overlay>section{display:grid;justify-items:center;gap:10px;width:min(100%,390px);padding:27px 22px;border-radius:26px;background:#fff;text-align:center;box-shadow:0 25px 70px rgba(10,41,30,.28);animation:kids-picture-in .25s ease-out}.kids-feedback-overlay>section>span{display:grid;place-items:center;width:76px;height:76px;border-radius:25px;background:#ebf8ed;font-size:2.35rem}.kids-feedback-overlay.retry>section>span{background:#fff5d9}.kids-feedback-overlay h2,.kids-feedback-overlay p{margin:0}.kids-feedback-overlay p{color:#5d7468;line-height:1.8}.kids-feedback-overlay .feature-button{width:100%;margin-top:5px}@media(max-width:560px){.kids-question-heading{display:grid}.kids-speak-question{width:100%}.kids-answer-form--young .kids-option{min-height:138px}.kids-answer-form--young .kids-option-image{height:105px}}
