.guardian-workspace{background:var(--sh-background);color:var(--sh-ink)}
.guardian-workspace .shell{display:block}.guardian-workspace aside{display:none}.guardian-workspace #main{max-width:1150px;margin:auto;padding:24px 32px 40px 230px}html[dir=rtl] .guardian-workspace #main{padding:24px 230px 40px 32px}
.gw-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--sh-earth);margin-bottom:20px}.gw-top>span:first-child{display:flex;align-items:center;gap:8px;font-size:20px}.gw-top svg{width:32px;height:32px}.gw-heading{margin:16px 0}.gw-heading h1{font-size:28px;margin:0}.gw-heading p{font-size:14px;margin:4px 0;color:var(--sh-text)}
.gw-switcher{display:flex;align-items:center;gap:16px;font-weight:600}.gw-switcher select{max-width:300px;background:var(--sh-surface);border-color:var(--sh-border)}.gw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}.gw-card{padding:20px;margin-bottom:14px;min-width:0}.gw-grid .gw-card{margin:0}.gw-card h2{font-size:18px;margin:0 0 12px;color:var(--sh-earth)}.gw-card p{margin:8px 0;overflow-wrap:anywhere}.gw-card button{margin-top:8px}.gw-card .sh-text-button{display:flex;gap:8px;align-items:center}.gw-card svg{width:18px;height:18px}.gw-revision{background:#fff7f3}.gw-revision h2{color:var(--sh-revision)}.gw-source+.gw-source{border-top:1px solid var(--sh-border);padding-top:10px;margin-top:10px}.gw-total{font-size:26px;font-weight:700}.gw-total small{font-size:12px;font-weight:400}.gw-qr{width:140px;height:140px;display:block;margin:12px 0}.gw-card details{margin-top:14px}.gw-card summary{cursor:pointer;color:var(--sh-earth);padding:8px 0}.gw-nav{position:fixed;inset-inline-start:20px;top:125px;width:180px;display:flex;flex-direction:column;gap:8px}.gw-nav button{display:flex;align-items:center;gap:12px;border:0;background:transparent;min-height:48px;color:var(--sh-text)}.gw-nav svg{width:24px;height:24px}.gw-nav button[aria-current=page]{color:#702936;background:var(--sh-soft-gold);border-radius:14px;font-weight:700}
.guardian-workspace .sh-topbar,.guardian-workspace .sh-bottom-nav{display:none}.guardian-workspace .mq-heading{margin-top:12px}.guardian-workspace .gw-heading:has(+.mq-heading){display:none}
@media(max-width:767px){.guardian-workspace #main,html[dir=rtl] .guardian-workspace #main{padding:16px 16px calc(105px + env(safe-area-inset-bottom));max-width:100%}.gw-top{margin-bottom:14px}.gw-top>span:first-child{font-size:18px}.gw-grid{gap:12px;grid-template-columns:1fr}.gw-card{padding:18px;border-radius:22px}.gw-heading h1{font-size:25px}.gw-nav{top:auto;bottom:0;inset-inline:0;width:auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0;padding:10px 6px calc(10px + env(safe-area-inset-bottom));background:#fffdf9f5;border:1px solid var(--sh-border);border-radius:24px 24px 0 0;z-index:20}.gw-nav button{flex-direction:column;gap:4px;justify-content:center;font-size:11px;padding:5px 1px;min-width:0}.gw-nav button[aria-current=page]{background:transparent}.gw-nav svg{width:24px;height:24px}.gw-switcher select{flex:1;max-width:none}.guardian-workspace .demo{display:flex}.guardian-workspace .mq-heading h1{font-size:25px}}

.guardian-workspace .demo{display:none}.guardian-workspace .gw-heading h1{font-family:inherit;font-weight:700;color:var(--sh-earth)}.guardian-workspace .gw-nav button[aria-current=page]{border:0;color:#702936}.guardian-workspace .gw-nav button[aria-current=page] svg{fill:var(--sh-soft-gold)}

/* Compact Guardian summaries share the approved Home surfaces and rhythm. */
.gw-intro--compact{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 14px;flex-direction:row-reverse}
.gw-intro--compact:not(:has(.gw-switcher)){flex-direction:row}
.gw-intro--compact .gw-heading{margin:0}.guardian-workspace .gw-intro--compact h1{font-size:22px;line-height:1.3}.gw-intro--compact .gw-heading p{font-size:12px;margin:3px 0 0}
.gw-intro--compact .gw-switcher{flex:none;gap:0}.gw-intro--compact .gw-switcher-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.guardian-workspace .gw-intro--compact select{width:auto;min-width:102px;max-width:150px;min-height:44px;padding:7px 12px;background:var(--sh-soft-gold);border:1px solid #eadbc5;border-radius:14px;font-size:14px}
.gw-home-grid{gap:12px;align-items:start}.gw-home-grid .gw-card,.gw-children-grid .gw-card{padding:16px;border-radius:22px;background:#fffdf9;border:1px solid #eee5d9;box-shadow:0 3px 12px #86552f03}
.gw-home-grid .gw-card h2{font-size:15px;margin:0 0 9px;line-height:1.4}.gw-home-grid .gw-card p{margin:5px 0;line-height:1.55}.gw-home-grid .gw-card strong{font-size:16px;line-height:1.5}
.gw-home-grid .gw-memorization{background:linear-gradient(135deg,#fffdf9,#fff8eb)}.gw-home-grid .gw-revision{background:linear-gradient(135deg,#fffaf7,#ffede6)}
.gw-home-grid .gw-memorization,.gw-home-grid .gw-revision{align-self:stretch}.gw-home-grid .sh-caption{font-size:11px;line-height:1.6}.gw-home-grid .gw-source+.gw-source{padding-top:7px;margin-top:7px}
.gw-home-grid .gw-last h2,.gw-home-grid .gw-progress h2{color:var(--sh-ink)}.gw-grade{display:table;background:var(--sh-soft-green);color:var(--sh-primary);border-radius:20px;padding:3px 10px;margin:7px 0;font-size:12px;font-weight:600}
.guardian-workspace .gw-home-grid button{min-height:44px;font-size:12px;padding:6px 0;margin-top:4px;background:transparent;border:0;text-align:start;color:var(--sh-earth)}.gw-home-grid .gw-revision button{color:var(--sh-revision)}
.gw-home-grid .gw-total{font-size:23px;line-height:1.3}.gw-home-grid .gw-total small{display:block;font-size:10px;color:var(--sh-text)}.gw-home-grid .gw-surah-summary p{font-size:12px}
.gw-home-grid .gw-progress-more{margin-top:3px}.gw-home-grid .gw-progress-more summary{padding:4px 0;font-size:12px}.gw-juz-summary{font-size:12px}
.gw-home-grid .gw-attendance,.gw-home-grid .gw-note{grid-column:1/-1}.gw-home-grid .gw-attendance{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}.gw-home-grid .gw-attendance h2{margin:0;font-size:13px}.gw-home-grid .gw-attendance p{font-size:12px;margin:0;color:var(--sh-text)}
.gw-contact-status{padding:0 5px;font-size:11px;color:var(--sh-text);margin:10px 0 0}
.gw-children-grid{align-items:start;gap:12px}.gw-child-card h2{font-size:19px;margin:0 0 3px}.gw-child-card p{font-size:13px;margin:5px 0}.gw-child-card>p:first-of-type{font-size:11px;color:var(--sh-text)}.gw-child-lesson small{display:block;color:var(--sh-text);font-size:11px}.gw-child-card .gw-source{font-size:14px;margin-top:8px}.gw-child-card .gw-source .sh-caption{font-size:11px}.gw-child-card>details{margin-top:6px;border-top:1px solid var(--sh-border)}.gw-child-card>details>summary{font-size:12px}.guardian-workspace .gw-child-card>button{min-height:44px;padding:6px 14px;font-size:12px;margin:4px 0;background:var(--sh-soft-gold);color:var(--sh-earth);border:0}
@media(max-width:767px){.gw-top{padding-bottom:12px;margin-bottom:10px;border-bottom:1px solid #eee5d9}.gw-home-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px}.gw-home-grid .gw-card{padding:13px}.gw-home-grid .gw-attendance{padding:12px 13px}.gw-home-grid .gw-card strong{font-size:14px}.gw-home-grid .gw-card h2{font-size:14px}.gw-intro--compact .gw-heading p{max-width:180px}.guardian-workspace .gw-nav{box-shadow:0 -4px 20px #86552f05;padding-top:9px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}.guardian-workspace .gw-nav button{font-size:12px;line-height:1.4}.guardian-workspace .gw-nav button[aria-current=page] svg{fill:#f4e9d7;stroke-width:2.2}}
/* Guardian family journey: presentation scoped to this workspace. */
.guardian-workspace{--sh-background:#fbf7ef;--sh-surface:#fffdf9;--sh-ink:#102d43;--sh-text:#536f83;--sh-earth:#845329;--sh-border:#eee5d9;--sh-soft-green:#e4f3ec;--sh-primary:#187454;--sh-soft-gold:#f4e9d7;--sh-revision:#b43d3d;background:var(--sh-background);color:var(--sh-ink)}
.guardian-workspace .gw-nav button[aria-current=page]{color:var(--sh-earth)}
.gw-landscape{padding:26px 12px 34px;margin:0 0 8px}.gw-landscape h1{font-size:32px;line-height:1.5;color:var(--sh-earth);margin:0 0 4px}.gw-landscape p{font-size:18px;color:var(--sh-ink);margin:0;max-width:34ch}
.gw-family{display:grid;gap:12px}.gw-child{min-width:0;border:1px solid var(--sh-border);border-radius:24px;background:var(--sh-surface);box-shadow:0 3px 10px #86552f06;overflow-wrap:anywhere}.gw-child-heading{margin:0;font-size:inherit}
.guardian-workspace .gw-child-toggle{display:grid;grid-template-columns:42px minmax(0,1fr) auto 34px;gap:12px;align-items:center;width:100%;padding:16px;border:0;border-radius:24px;background:transparent;color:var(--sh-ink);text-align:start;min-height:76px;font:inherit}
.gw-child-book{width:42px;height:46px;border-radius:15px;background:var(--sh-soft-gold);color:var(--sh-earth);display:grid;place-items:center}.gw-child-book svg{width:27px;height:27px}.gw-child--expanded .gw-child-book{color:var(--sh-primary);background:var(--sh-soft-green)}
.gw-child-label{min-width:0;display:grid;gap:3px}.gw-child-name{font-size:21px;font-weight:700}.gw-child-context{font-size:12px;color:var(--sh-text);font-weight:400;line-height:1.7}.gw-child-status{font-size:11px;font-weight:400;color:#187454;background:#edf7f1;padding:6px 9px;border-radius:20px;max-width:140px;line-height:1.5}.gw-child-status--due{color:#aa3434;background:#ffeded}
.gw-chevron{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f7f0e4}.gw-chevron svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.5}.gw-child--expanded .gw-child-toggle{grid-template-columns:42px minmax(0,1fr) 34px}.gw-child--expanded .gw-chevron svg{transform:rotate(180deg)}
.gw-child-panel{padding:0 16px 16px}.gw-child-panel[hidden]{display:none}.gw-timeline{list-style:none;margin:0;padding:0;display:grid;gap:9px}.gw-step{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;min-width:0}.gw-step:not(:last-child):before{content:'';position:absolute;inset-inline-start:20px;top:25px;bottom:-35px;width:2px;background:#d9dfd1}.gw-step-icon{position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;margin:12px 3px 0;border-radius:50%;background:#248765;color:#fff;border:3px solid var(--sh-surface)}.gw-step-icon svg{width:21px;height:21px}
.gw-step-body{min-width:0;border:1px solid #e3eee7;border-radius:18px;padding:13px 15px;background:#f3faf6}.gw-step-body h3{font-size:16px;line-height:1.5;margin:0 0 4px;color:var(--sh-primary)}.gw-step-body p{margin:4px 0;line-height:1.7}.gw-step-body strong{display:block;font-size:17px;line-height:1.5}.gw-step-body .sh-caption{font-size:12px;color:var(--sh-text);line-height:1.7}.gw-step-label{font-size:12px;color:var(--sh-primary)}
.gw-step--attention .gw-step-body{background:#fff3f2;border-color:#fbe3df}.gw-step--attention h3{color:#aa3434}.gw-step--attention .gw-step-icon{background:#c64c4c}.gw-step--lesson .gw-step-body{background:#fffefa;border-color:var(--sh-border)}.gw-step--lesson h3{color:var(--sh-earth)}.gw-step--lesson .gw-step-icon{background:#a76e27}.gw-step--progress .gw-step-body{background:#f4fafc;border-color:#e2eef2}.gw-step--progress h3{color:var(--sh-ink)}.gw-step--progress .gw-step-icon{background:#2b8396}
.guardian-workspace .gw-step-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;text-align:start;font-size:12px;padding:7px 0 0;margin:0;background:transparent;border:0;color:var(--sh-earth)}.gw-step-link svg,.gw-details svg{width:18px;height:18px;flex:none}.gw-step--attention .gw-step-link{color:#aa3434;font-size:15px;font-weight:700}.gw-due-clear{font-size:13px;color:var(--sh-primary)}
.gw-step-body .gw-total{font-size:22px;font-weight:700}.gw-total small{display:block;font-weight:400;font-size:12px;color:var(--sh-text)}.gw-step-body progress{display:block;width:100%;height:8px;accent-color:var(--sh-primary);border:0;border-radius:10px;overflow:hidden;margin:12px 0;background:#e1e9eb}.gw-step-body progress::-webkit-progress-bar{background:#e1e9eb}.gw-step-body progress::-webkit-progress-value{background:var(--sh-primary);border-radius:10px}.gw-step-body progress::-moz-progress-bar{background:var(--sh-primary)}
.gw-progress-tags{display:flex;flex-wrap:wrap;gap:8px;font-size:11px;align-items:start}.gw-progress-tags>span,.gw-progress-tags>details{padding:5px 10px;border-radius:12px;background:var(--sh-soft-green);color:var(--sh-primary);max-width:100%}.gw-progress-tags>details{background:#f7efdf;color:var(--sh-earth)}.gw-progress-tags summary{cursor:pointer}.gw-grade{margin:6px 0;font-size:11px}
.gw-family-notes{margin:12px 0 12px 54px;padding:12px 15px;border:1px solid var(--sh-border);border-radius:18px;font-size:12px}.gw-family-notes p{margin:5px 0}.gw-family-notes .sh-caption{font-size:11px;color:var(--sh-text)}
.gw-child-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:10px;align-items:start;margin-top:14px;font-size:12px}.gw-identity{border-radius:14px;background:#f7f1e7;color:var(--sh-earth);min-width:0}.gw-identity>summary{cursor:pointer;min-height:46px;padding:12px;line-height:22px}.gw-identity>div{padding:0 12px 12px}.gw-identity p{font-size:11px;line-height:1.7}.gw-identity button{max-width:100%;min-height:44px;font-size:12px}.gw-identity .gw-qr{max-width:100%;height:auto}.gw-identity details summary{cursor:pointer;padding:8px 0}
.guardian-workspace .gw-details{background:var(--sh-earth);color:#fffdf9;border:0;border-radius:14px;min-height:46px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:22px;text-align:start}
.guardian-workspace :is(.gw-child-toggle,.gw-step-link,.gw-details,.gw-identity summary):focus-visible{outline:3px solid #2b8396;outline-offset:3px}
/* Keep live save feedback accessible without covering family content. */
.guardian-workspace #toast{position:static!important;width:auto;max-width:none;margin:0 24px 110px;padding:4px 8px;background:transparent;color:var(--sh-text);box-shadow:none;font-size:12px}
html[dir=rtl] .gw-family-notes{margin-left:0;margin-right:54px}html[dir=rtl] .gw-step-link .sh-icon,html[dir=rtl] .gw-details .sh-icon{transform:rotate(180deg)}
@media(min-width:1000px){.guardian-workspace #main{max-width:1440px}.gw-child-panel{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,1fr);column-gap:24px}.gw-timeline{grid-column:1;grid-row:1/3}.gw-family-notes{grid-column:2;margin:0 0 12px;align-self:start}html[dir=rtl] .gw-family-notes{margin:0 0 12px}.gw-child-actions{grid-column:2;grid-template-columns:1fr;align-self:start;margin-top:0}.gw-family-notes+.gw-child-actions{grid-row:2}.gw-landscape{padding:30px 20px 40px}.gw-landscape h1{font-size:38px}.gw-child-toggle{padding:20px}.gw-child-panel{padding:0 20px 20px}}
@media(max-width:767px){.guardian-workspace .gw-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.guardian-workspace #main,html[dir=rtl] .guardian-workspace #main{padding-inline:12px}.gw-landscape{padding:15px 6px 25px}.gw-landscape h1{font-size:27px}.gw-landscape p{font-size:15px}.guardian-workspace .gw-child-toggle{padding:12px;gap:9px;grid-template-columns:35px minmax(0,1fr) 30px}.gw-child-book{width:35px;height:40px;border-radius:12px}.gw-child-book svg{width:24px;height:24px}.gw-child-name{font-size:19px}.gw-child-status{grid-column:2;grid-row:2;justify-self:start;max-width:100%;padding:3px 8px}.gw-child-toggle .gw-chevron{grid-column:3;grid-row:1;width:30px;height:30px}.gw-child-label{grid-column:2;grid-row:1}.gw-child-context{font-size:11px;line-height:1.6}.gw-child-panel{padding:0 12px 12px}.gw-step{grid-template-columns:35px minmax(0,1fr);gap:9px}.gw-step:not(:last-child):before{inset-inline-start:17px}.gw-step-icon{width:34px;height:34px;margin-inline:0}.gw-step-body{padding:11px 12px}.gw-step-body strong{font-size:15px}.gw-family-notes{margin-inline-start:44px}html[dir=rtl] .gw-family-notes{margin-right:44px}.gw-child-actions{gap:8px}.gw-step-body .sh-caption{font-size:11px}}
.gw-landscape{position:relative;isolation:isolate;min-height:225px;padding:24px 22px 60px;margin:0 -8px -26px;border-radius:24px 24px 0 0;background:#fcf1dc url('assets/images/guardian-home/journey-landscape.png') center 58%/cover no-repeat}
.gw-landscape:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#fff8e9ed 0%,#fff8e999 38%,#fff8e900 75%)}
.gw-landscape h1{font-size:32px;max-width:65%;text-shadow:0 1px #fff8e9}.gw-landscape p{font-size:16px;max-width:55%;line-height:1.7}.gw-family{position:relative}.gw-child{background:#fffdf9fC}
html[dir=rtl] .gw-landscape:before{background:linear-gradient(270deg,#fff8e9ed 0%,#fff8e999 38%,#fff8e900 75%)}
@media(min-width:1000px){.gw-landscape{min-height:270px;padding:35px 28px 60px;background-position:center 55%}.gw-landscape h1{font-size:38px}.gw-landscape p{font-size:20px;max-width:45%}}
@media(max-width:767px){.gw-landscape{min-height:200px;margin-inline:-12px;padding:20px 18px 52px;border-radius:0;background-position:65% 62%}.gw-landscape h1{font-size:25px;max-width:72%}.gw-landscape p{font-size:14px;max-width:64%}.gw-landscape:before{background:linear-gradient(90deg,#fff8e9e8,#fff8e970 50%,transparent)}html[dir=rtl] .gw-landscape:before{background:linear-gradient(270deg,#fff8e9e8,#fff8e970 50%,transparent)}}
.guardian-workspace .gw-landscape{display:block}.guardian-workspace .gw-landscape h1{font-family:inherit;font-weight:700}.guardian-workspace .skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.guardian-workspace .gw-child{scroll-margin-bottom:110px}
.gw-child-support{min-width:0}@media(min-width:1000px){.gw-child-support{grid-column:2;align-self:start}.gw-timeline{grid-row:auto}}
.guardian-workspace #toast{margin:0 24px;padding:4px 8px calc(105px + env(safe-area-inset-bottom))}
/* Guardian My Qur’an: visual cards, scoped away from Home and other workspaces. */
.gq-page{--gq-green:#126d59;--gq-mint:#edf8f3;--gq-coral:#fff0ef;--gq-sand:#f7ecda;--gq-blue:#536f83;min-width:0}
.gq-page .gq-hero{display:block;position:relative;min-height:235px;margin:0 -8px;padding:26px 22px 50px;border-radius:24px;background:#f8ead3 url('assets/images/guardian-quran/quran-hero.png') center/cover no-repeat;isolation:isolate}
.gq-hero:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#fff9efd9,transparent 80%)}
.gq-hero-copy{width:60%;margin-right:auto;margin-left:0;overflow-wrap:anywhere}.guardian-workspace .gq-hero h1{color:var(--sh-earth);margin:0 0 10px}.gq-hero p{font-size:18px;font-weight:600;line-height:1.6;margin:0 0 8px;color:var(--sh-ink)}.gq-hero small{font-size:12px;color:var(--sh-earth);line-height:1.7}
.gq-selection{position:relative;display:flex;align-items:center;gap:14px;margin:-22px 0 16px}.gq-child-selector{display:flex;align-items:center;gap:12px;min-width:0;flex:1;max-width:540px;padding:12px 14px;background:#fffdf9;border:1px solid var(--sh-border);border-radius:18px;box-shadow:0 4px 12px #86552f09}.gq-child-icon{color:var(--sh-earth);flex:none}.gq-child-icon svg{width:26px;height:26px}.gq-selector-content{display:grid;gap:3px;min-width:0;flex:1}.guardian-workspace .gq-child-selector select{padding:0 22px 0 0;min-height:36px;border:0;background:transparent;font-size:18px;font-weight:700;color:var(--sh-ink);width:100%;min-width:0}.gq-child-context{font-size:11px;color:var(--sh-text);line-height:1.6;overflow-wrap:anywhere}.gq-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.guardian-workspace .gq-selection .mq-log-action{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 10px;background:#fff9f0;border:1px solid var(--sh-border);font-size:12px;color:var(--sh-earth);white-space:normal;text-align:start}.gq-selection .mq-log-action svg{width:17px;height:17px;flex:none}
.gq-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 14px}.gq-metric{min-width:0;display:flex;align-items:center;flex-direction:column;gap:5px;padding:15px 10px;background:#fcf6ec;border:1px solid #f0e6d6;border-radius:20px;text-align:center;color:var(--sh-ink)}.gq-metric>span:first-child{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f7e7cc;color:var(--sh-earth)}.gq-metric svg{width:21px;height:21px}.gq-metric strong{font-size:26px;line-height:1.3;font-variant-numeric:tabular-nums}.gq-metric>span:last-child{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.gq-metric--memorized,.gq-metric--calm{background:var(--gq-mint);border-color:#dcefe6}.gq-metric--memorized>span:first-child,.gq-metric--calm>span:first-child{background:#dbf1e7;color:var(--gq-green)}.gq-metric--due{background:var(--gq-coral);border-color:#f8dede;color:#af323b}.gq-metric--due>span:first-child{background:#ffe1df;color:#b42c3b}
.guardian-workspace .gq-due-banner{width:100%;display:flex;align-items:center;gap:12px;background:var(--gq-coral);border:1px solid #f6dddd;border-radius:18px;color:#b32d3c;text-align:start;margin:0 0 14px;padding:13px 16px}.gq-due-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;background:#ffe1df}.gq-due-icon svg{width:23px;height:23px}.gq-due-banner>span:nth-child(2){display:grid;gap:3px;flex:1}.gq-due-banner strong{font-size:16px;line-height:1.5}.gq-due-banner small{font-size:12px}.gq-due-banner>.sh-icon{width:20px;height:20px;flex:none}
.gq-page .mq-tabs{display:flex;max-width:none;margin:0 0 14px;padding:4px;background:#edf0ef;border:0;border-radius:16px;gap:3px}.guardian-workspace .gq-page .mq-tabs button{min-height:46px;border:0;border-radius:12px;font-size:15px;color:var(--gq-blue);background:transparent}.guardian-workspace .gq-page .mq-tabs [aria-selected=true]{background:var(--gq-green);color:white;box-shadow:0 2px 5px #126d5920}
.gq-page .mq-toolbar{margin:0 0 12px}.gq-page .mq-toolbar:not(:has(.mq-search)){display:none}.gq-page .mq-toolbar .mq-due-toggle{display:none}.gq-page.gq-due-view .mq-toolbar{display:flex}.gq-page.gq-due-view .mq-toolbar .mq-due-toggle{display:flex}.gq-page .mq-search{max-width:100%;min-width:0;width:100%;border-radius:14px}.gq-page .mq-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
.guardian-workspace .gq-page .gq-card{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:17px 12px;border:1px solid var(--sh-border);border-radius:20px;background:#fffdf9;color:var(--sh-ink);text-align:center;box-shadow:0 3px 10px #86552f04;overflow-wrap:anywhere}.gq-card .mq-number{border-radius:50%;width:40px;height:40px;background:#f5e4c7;color:var(--sh-ink);font-size:19px;font-weight:700}.gq-card-title{font-size:16px;line-height:1.65}.gq-card .mq-row-progress{width:100%;max-width:none;align-items:center;text-align:center;gap:6px;margin-top:auto}.gq-card .mq-row-progress>strong{font-size:13px;color:var(--gq-blue)}.gq-card .mq-meter{width:100%;height:5px;background:#f0ece4}.gq-card .mq-meter i{background:var(--gq-green)}.gq-card .gq-card-count{font-size:12px;color:var(--gq-blue);line-height:1.7}.gq-card-state{font-size:11px;line-height:1.5;padding:4px 9px;border-radius:10px;background:#faf0e1;color:var(--sh-earth)}.gq-card-arrow{display:flex;margin-top:2px;color:var(--sh-earth)}.gq-card-arrow svg{width:18px;height:18px}.guardian-workspace .gq-page .gq-card--partial{background:var(--gq-mint);border-color:#d3ebe1}.gq-card--partial .mq-number,.gq-card--partial .gq-card-state{background:#d5eee3;color:var(--gq-green)}.guardian-workspace .gq-page .gq-card--complete{background:#e5f3eb;border-color:#83b4a0}.gq-card--complete .mq-number,.gq-card--complete .gq-card-state{background:var(--gq-green);color:white}.gq-card .mq-status--due{background:#fff0ef;border-radius:9px;padding:3px 7px;color:#ac343d}.gq-page .mq-event{overflow-wrap:anywhere}.gq-page .mq-timeline{max-width:900px;width:100%;margin:auto}.gq-page .mq-filters{margin-inline:0}.gq-page .mq-detail-section,.gq-page .mq-log{border-radius:18px}.gq-page .mq-range{flex-wrap:wrap}.gq-page .mq-range>div{min-width:0;overflow-wrap:anywhere}.gq-page .mq-detail-title{overflow-wrap:anywhere}.gq-page #mq-panel{scroll-margin-bottom:110px}
html[dir=rtl] .gq-child-selector select{padding:0 0 0 22px}html[dir=rtl] .gq-card-arrow svg,html[dir=rtl] .gq-due-banner>.sh-icon{transform:rotate(180deg)}
@media(min-width:1200px){.gq-page .gq-hero{min-height:285px;padding:40px 28px 55px}.gq-page .gq-summary{max-width:780px}.gq-page .mq-list{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1100px){.gq-page .mq-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.gq-page .mq-list{grid-template-columns:repeat(2,minmax(0,1fr))}.gq-selection{flex-wrap:wrap}.gq-selection .mq-log-action{margin-inline-start:auto}}
@media(max-width:767px){.gq-page .gq-hero{min-height:200px;padding:20px 16px 48px;margin-inline:-12px;border-radius:0;background-position:58% center}.gq-page .gq-hero h1{margin-bottom:8px}.gq-hero p{font-size:15px}.gq-hero small{font-size:11px}.gq-hero-copy{width:62%}.gq-selection{gap:8px;margin-top:-20px;margin-bottom:12px}.gq-child-selector{flex-basis:100%;padding:10px 12px;gap:10px;border-radius:16px}.guardian-workspace .gq-child-selector select{font-size:17px}.gq-summary{gap:8px;margin-bottom:12px}.gq-metric{border-radius:17px;padding:12px 6px;gap:4px}.gq-metric strong{font-size:24px}.gq-metric>span:last-child{font-size:11px}.gq-page .mq-tabs{margin-inline:0}.guardian-workspace .gq-page .mq-tabs button{font-size:14px}.gq-page .mq-list{gap:10px}.guardian-workspace .gq-page .gq-card{padding:14px 11px;gap:6px}.gq-card-title{font-size:15px}.gq-card .gq-card-count{font-size:11px}.gq-page .mq-due-card{padding:16px}.gq-page .mq-due-card>strong{overflow-wrap:anywhere}.gq-page .mq-log{margin-inline:0}}
@media(max-width:767px){.gq-selection{flex-wrap:nowrap;align-items:center}.gq-child-selector{flex-basis:auto}.guardian-workspace .gq-selection .mq-log-action{max-width:92px;flex:none;padding:8px;font-size:11px}.gq-page .gq-hero{min-height:185px;padding-bottom:42px}.gq-metric{padding-block:10px}.gq-metric>span:first-child{width:30px;height:30px}.gq-hero-copy{width:57%}}
.gq-hero:before{background:linear-gradient(90deg,#fff9efee 0%,#fff9efbb 42%,#fff9ef00 76%)}.gq-card .mq-row-progress{margin-top:0}.gq-card-arrow{margin-top:auto;padding-top:2px}
.guardian-workspace .gq-page .mq-tabs button{text-align:center}@media(min-width:1200px){.gq-page .gq-hero{background-position:center 70%}}
/* Guardian Notifications: empty streams until a functional event source exists. */
.gn-page{max-width:820px;margin-inline:auto;min-width:0}
.guardian-workspace .gn-hero{display:block;position:relative;isolation:isolate;min-height:250px;padding:38px 26px 60px;border-radius:24px;background:#f8ead3 url('assets/images/guardian-quran/quran-hero.png') center 65%/cover no-repeat}
.gn-hero:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#fff9efef 0%,#fff9efbb 42%,transparent 78%)}
.gn-hero-copy{width:57%;margin-right:auto;margin-left:0;overflow-wrap:anywhere}.guardian-workspace .gn-hero h1{margin:0 0 12px;color:var(--sh-earth)}.gn-hero p{margin:0;font-size:17px;line-height:1.65;color:var(--sh-ink)}
.gn-filters{position:relative;display:flex;gap:4px;overflow-x:auto;max-width:100%;padding:6px;margin:-26px 0 22px;background:#eff1ef;border:1px solid #fffdf9;border-radius:18px;scroll-padding:6px}
.guardian-workspace .gn-filters button{flex:1 0 auto;max-width:240px;min-width:88px;min-height:48px;padding:10px 18px;border:0;border-radius:12px;background:transparent;color:var(--sh-text);font:inherit;font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.guardian-workspace .gn-filters button[aria-pressed=true]{background:#126d59;color:#fff;box-shadow:0 2px 6px #126d5922;font-weight:700}.guardian-workspace .gn-filters button:focus-visible{outline:3px solid #845329;outline-offset:-3px}
.gn-empty{margin-top:22px;padding:38px 24px 42px;text-align:center;background:#fffdf9;border:1px solid var(--sh-border);border-radius:24px;box-shadow:0 4px 18px #86552f05;overflow-wrap:anywhere}.gn-empty-icon{display:grid;place-items:center;margin:0 auto 18px;width:66px;height:66px;border-radius:24px;background:#f8eedc;color:var(--sh-earth)}.gn-empty-icon svg{width:31px;height:31px}.gn-empty h2{font-size:24px;line-height:1.5;color:var(--sh-ink);margin:0 0 10px}.gn-empty p{font-size:15px;line-height:1.8;margin:0 auto 10px;max-width:42ch}.gn-empty .gn-empty-hint{color:var(--sh-text);font-size:14px;margin-bottom:0;max-width:38ch}
@media(max-width:767px){.guardian-workspace .gn-hero{min-height:205px;margin-inline:-12px;padding:25px 18px 50px;border-radius:0;background-position:58% center}.guardian-workspace .gn-hero h1{margin-bottom:10px}.gn-hero p{font-size:14px}.gn-hero-copy{width:62%}.gn-filters{margin-bottom:18px}.guardian-workspace .gn-filters button{font-size:14px;padding:10px 14px;max-width:220px}.gn-empty{margin-top:18px;padding:30px 20px 34px}.gn-empty h2{font-size:23px}}
/* Guardian More: existing workspace and language controls in a compact profile hub. */
.gm-page{max-width:820px;margin-inline:auto;min-width:0}.guardian-workspace .gm-hero{display:block;position:relative;isolation:isolate;min-height:235px;padding:32px 26px 60px;border-radius:24px;background:#f8ead3 url('assets/images/guardian-quran/quran-hero.png') center 65%/cover no-repeat}.gm-hero:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(90deg,#fff9efef 0%,#fff9efbb 42%,transparent 78%)}.gm-hero-copy{width:57%;margin-right:auto;margin-left:0;overflow-wrap:anywhere}.guardian-workspace .gm-hero h1{margin:0 0 12px;color:var(--sh-earth)}.gm-hero p{margin:0;font-size:17px;line-height:1.65;color:var(--sh-ink)}
.gm-profile{position:relative;display:flex;align-items:center;gap:20px;margin:-25px 0 24px;padding:22px;background:#fffdf9;border:1px solid var(--sh-border);border-radius:24px;box-shadow:0 4px 14px #86552f05}.gm-profile>div{min-width:0;overflow-wrap:anywhere}.gm-profile h2{margin:0 0 6px;font-size:23px;line-height:1.5}.gm-profile p{margin:0;font-size:15px;line-height:1.7;color:var(--sh-text)}.gm-profile-icon{display:grid;place-items:center;width:66px;height:66px;flex:none;border-radius:50%;background:#faf2e5;color:var(--sh-earth)}.gm-profile-icon svg{width:34px;height:34px}
.gm-section{margin:0 0 22px}.gm-section>h2{font-size:20px;margin:0 4px 10px;line-height:1.6}.guardian-workspace .gm-row{display:flex;align-items:center;gap:16px;width:100%;min-height:94px;padding:18px 20px;margin:0;border:1px solid var(--sh-border);border-radius:22px;background:#fffdf9;color:var(--sh-ink);font:inherit;text-align:start;box-shadow:0 3px 12px #86552f03}.gm-setting-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:50%;background:#f0f5f5;color:#235c7b}.gm-setting-icon svg{width:26px;height:26px}.gm-row-copy{display:grid;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}.gm-row-title{font-weight:700;font-size:18px;line-height:1.5}.gm-row-copy>bdi{color:var(--sh-text);font-size:15px;line-height:1.6}.guardian-workspace .gm-workspace select{width:100%;min-width:0;min-height:36px;margin:0;padding:3px 24px 3px 0;background:transparent;border:0;border-radius:5px;font:inherit;font-size:15px;color:var(--sh-text);text-overflow:ellipsis}.gm-arrow{display:flex;color:var(--sh-earth);flex:none}.gm-arrow svg{width:20px;height:20px}.guardian-workspace .gm-row:focus-visible,.guardian-workspace .gm-workspace select:focus-visible{outline:3px solid #2b8396;outline-offset:3px}.gm-workspace:focus-within{box-shadow:0 0 0 2px #2b839630}
.gm-brand{text-align:center;color:var(--sh-earth);padding:0 15px 10px}.gm-brand>div{display:flex;justify-content:center;align-items:center;gap:14px;color:#baa082;margin-bottom:5px}.gm-brand>div:before,.gm-brand>div:after{content:'';height:1px;width:75px;background:linear-gradient(90deg,transparent,#d9c5ab)}.gm-brand>div:after{transform:rotate(180deg)}.gm-brand svg{width:33px;height:33px}.gm-brand strong{font-size:17px}.gm-brand p{font-size:12px;line-height:1.7;margin:5px 0 0}
html[dir=rtl] .gm-arrow svg{transform:rotate(180deg)}html[dir=rtl] .gm-workspace select{padding:3px 0 3px 24px}
@media(max-width:767px){.guardian-workspace .gm-hero{min-height:190px;margin-inline:-12px;padding:23px 18px 50px;border-radius:0;background-position:58% center}.guardian-workspace .gm-hero h1{margin-bottom:8px}.gm-hero-copy{width:60%}.gm-hero p{font-size:14px}.gm-profile{padding:16px;gap:14px;margin-bottom:18px;border-radius:21px}.gm-profile-icon{width:54px;height:54px}.gm-profile-icon svg{width:29px;height:29px}.gm-profile h2{font-size:21px;margin-bottom:3px}.gm-profile p{font-size:13px}.gm-section{margin-bottom:18px}.gm-section>h2{font-size:18px;margin-bottom:8px}.guardian-workspace .gm-row{padding:13px 16px;gap:12px;min-height:85px;border-radius:20px}.gm-row-title{font-size:16px}.guardian-workspace .gm-workspace select,.gm-row-copy>bdi{font-size:13px}.gm-setting-icon{width:42px;height:42px}.gm-brand{padding-bottom:0}.gm-brand svg{width:29px;height:29px}.gm-brand strong{font-size:16px}.gm-brand p{font-size:11px}}
.gm-row-copy>bdi{justify-self:start}.guardian-workspace .gm-workspace select{min-height:44px}

/* Shared Qur’an hero normalization; Guardian Home retains its approved landscape. */
.guardian-workspace{--gw-quran-title-size:36px;--gw-quran-mobile-hero-height:200px}
.guardian-workspace :is(.gq-hero,.gn-hero,.gm-hero) h1{font-family:inherit;font-weight:700;font-size:var(--gw-quran-title-size);line-height:1.35}
@media(max-width:767px){.guardian-workspace{--gw-quran-title-size:29px}.guardian-workspace :is(.gq-hero,.gn-hero,.gm-hero){min-height:var(--gw-quran-mobile-hero-height);background-position:58% center;background-size:cover}}
