@font-face{font-family:Cairo;src:url('/studio-assets/fonts/cairo-arabic-400-normal.woff2')}@font-face{font-family:Cairo;src:url('/studio-assets/fonts/cairo-arabic-700-normal.woff2');font-weight:700}
:root{--sg-bg:#071725;--sg-card:#10283a;--sg-soft:#15364b;--sg-text:#edf7fc;--sg-muted:#a9bfce;--sg-accent:#62e5ca;--sg-line:#315064;--sg-ink:#06352f}body.light{--sg-bg:#f4f8fb;--sg-card:#fff;--sg-soft:#e9f2f6;--sg-text:#122e43;--sg-muted:#4a6173;--sg-accent:#087d70;--sg-line:#c5d6df;--sg-ink:#fff;color-scheme:light;--bg:#f4f8fb;--surface:#fff;--surface2:#e9f2f6;--text:#122e43;--muted:#4a6173;--accent:#087d70;--line:#c5d6df;--gold:#83510a}body.sg-page{margin:0;background:var(--sg-bg);color:var(--sg-text);font-family:Cairo,Tahoma,Arial,sans-serif;line-height:1.8}*{box-sizing:border-box}.sg-page a{color:inherit}.sg-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px max(20px,calc((100% - 1160px)/2));border-bottom:1px solid var(--sg-line);background:var(--sg-card)}.sg-brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800}.sg-brand img{width:48px;height:48px}.sg-brand small{display:block;font-weight:400;color:var(--sg-muted);font-size:11px}.sg-nav{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.sg-nav a{font-size:13px;text-decoration:none}.sg-main,.sg-section{max-width:1160px;margin:0 auto;padding:48px 24px}.sg-section{padding-top:66px;padding-bottom:66px;color:var(--sg-text)}.sg-kicker{color:var(--sg-accent);font-size:12px;letter-spacing:1px;font-weight:800}.sg-section h2,.sg-main h1{font-size:clamp(26px,4vw,40px);line-height:1.5;margin:10px 0 16px}.sg-section p{line-height:1.9}.sg-lead{max-width:650px;color:var(--sg-muted);margin-bottom:28px}.sg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sg-card{background:var(--sg-card);border:1px solid var(--sg-line);border-radius:24px;padding:26px;min-width:0}.sg-card h3{font-size:19px;margin:16px 0 10px}.sg-card p{color:var(--sg-muted);margin:0}.sg-number{width:44px;height:44px;border-radius:14px;background:var(--sg-soft);color:var(--sg-accent);display:grid;place-items:center;font-size:20px;font-weight:bold}.sg-btn,.sg-chip{font:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border:1px solid var(--sg-line);border-radius:13px;text-decoration:none;cursor:pointer;background:var(--sg-soft);color:var(--sg-text);line-height:1.6}.sg-btn.primary{background:var(--sg-accent);color:var(--sg-ink);border-color:transparent;font-weight:800}.sg-btn:disabled{opacity:.5;cursor:wait}.sg-btn:hover,.sg-chip:hover{border-color:var(--sg-accent)}.sg-btn:focus-visible,.sg-chip:focus-visible,.sg-input:focus-visible{outline:3px solid var(--sg-accent);outline-offset:3px}.sg-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.sg-space{justify-content:space-between}.sg-muted{color:var(--sg-muted);font-size:13px}.sg-status{padding:10px 0;min-height:26px;color:var(--sg-accent);white-space:pre-wrap}.sg-status.error{color:#ee7b7b}body.light .sg-status.error{color:#a72222}.sg-empty{padding:36px;border:1px dashed var(--sg-line);border-radius:20px;color:var(--sg-muted);text-align:center;grid-column:1/-1}.sg-input{display:block;width:100%;font:inherit;background:var(--sg-bg);border:1px solid var(--sg-line);color:var(--sg-text);border-radius:13px;padding:12px;margin:8px 0 20px;min-width:0}.sg-input textarea,textarea.sg-input{resize:vertical;min-height:110px}.sg-form label{display:block;font-size:14px}.sg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.sg-full{grid-column:1/-1}.sg-profile{overflow:hidden;padding:0}.sg-cover{height:250px;background:radial-gradient(ellipse at 80% 30%,#218e8a80,transparent 65%),linear-gradient(125deg,#123b50,#0a2638);position:relative}.sg-cover img{width:100%;height:100%;object-fit:cover}.sg-cover:after{content:'صوغ المعرفة التعليمية';position:absolute;bottom:16px;left:20px;color:white;font-size:13px;background:#041827b3;padding:5px 14px;border-radius:20px}.sg-profile-body{padding:0 30px 30px}.sg-avatar{width:110px;height:110px;border-radius:50%;border:5px solid var(--sg-card);background:var(--sg-soft);display:grid;place-items:center;overflow:hidden;color:var(--sg-accent);font-size:36px;position:relative;margin-top:-55px}.sg-avatar img,.sg-review-avatar img{width:100%;height:100%;object-fit:cover}.sg-profile-body h1{margin:14px 0 0;font-size:29px}.sg-profile-bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:750px}.sg-profile-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:22px;margin-top:22px}.sg-editor{margin-top:24px}.sg-review{position:relative;display:flex;flex-direction:column;gap:22px}.sg-review blockquote{font-size:17px;line-height:2;margin:0;overflow-wrap:anywhere;white-space:pre-wrap;flex:1}.sg-review-author{display:flex;gap:10px;align-items:center;text-decoration:none}.sg-review-avatar{width:46px;height:46px;display:grid;place-items:center;background:var(--sg-soft);border-radius:50%;overflow:hidden;flex-shrink:0;color:var(--sg-accent)}.sg-stars{color:#efb44e;font-size:20px;letter-spacing:3px}.sg-split{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.sg-demo{background:var(--sg-card);border:1px solid var(--sg-line);border-radius:26px;overflow:hidden}.sg-demo-stage{position:relative;padding:30px;background:linear-gradient(120deg,#123e50,#071d31);color:#fff;min-height:230px}.sg-demo-stage .sg-kicker{color:#84efd9}.sg-track{height:4px;background:#88b1bf;border-radius:4px;margin:48px 0 20px;position:relative}.sg-traveler{position:absolute;right:0;top:-18px;width:38px;height:38px;border-radius:12px;background:#6fe8cc;color:#083a38;display:grid;place-items:center;font-size:24px;transition:right 2s linear}.sg-demo-stage.running .sg-traveler{right:calc(100% - 38px)}.sg-demo-content{padding:24px}.sg-demo-progress{display:flex;gap:8px;margin:15px 0}.sg-demo-progress span{height:4px;flex:1;background:var(--sg-line);border-radius:4px}.sg-demo-progress .active{background:var(--sg-accent)}.sg-chips{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 25px}.sg-chip[aria-pressed=true]{background:var(--sg-accent);color:var(--sg-ink);border-color:var(--sg-accent)}.sg-reels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.sg-reel{padding:0;overflow:hidden}.sg-video-wrap{position:relative;background:#000;aspect-ratio:9/13}.sg-video-wrap video{width:100%;height:100%;object-fit:contain}.sg-video-stamp{position:absolute;top:12px;right:12px;pointer-events:none;display:flex;align-items:center;gap:6px;background:#071725d9;color:#fff;border:1px solid #ffffff33;border-radius:20px;padding:5px 10px;font-size:10px}.sg-video-stamp img{width:22px;height:22px}.sg-reel-content{padding:20px}.sg-reel-content h2{font-size:19px;margin:0 0 8px}.sg-reel-content p{font-size:13px;color:var(--sg-muted);white-space:pre-wrap;overflow-wrap:anywhere}.sg-like[aria-pressed=true]{color:#ff6e97;border-color:#e45580}.sg-comments{border-top:1px solid var(--sg-line);padding-top:14px;margin-top:15px}.sg-comment{padding:12px 0;border-bottom:1px solid var(--sg-line);font-size:13px}.sg-comment p{white-space:pre-wrap}.sg-tabs{margin:24px 0}.sg-footer{max-width:none;padding:50px max(24px,calc((100% - 1112px)/2)) 120px;background:var(--sg-card);border-top:1px solid var(--sg-line);color:var(--sg-text);text-align:right}.sg-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}.sg-footer h3{font-size:17px}.sg-footer p{font-size:13px;line-height:2;color:var(--sg-muted)}.sg-footer a{display:block;color:var(--sg-text);font-size:13px;margin:12px 0;text-decoration:none}.sg-copyright{padding-top:24px;margin-top:30px;border-top:1px solid var(--sg-line);font-size:12px;color:var(--sg-muted)}.sg-brand-image{width:100%;height:100%;object-fit:contain}.logo:has(.sg-brand-image){background:transparent!important}.sg-admin-item{margin:14px 0;padding:20px;border:1px solid var(--sg-line);border-radius:15px}.sg-admin-item p{white-space:pre-wrap;overflow-wrap:anywhere}.sg-admin-item video{max-width:100%;max-height:280px}.sg-upload-progress{width:100%;accent-color:var(--sg-accent);height:15px}.sg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}
/* Keep daylight text and input contrast consistent across legacy public screens. */
body.light{background:var(--bg);color:var(--text)}body.light header,body.light .panel,body.light .auth-panel,body.light .journey-card,body.light .app-card,body.light .card,body.light .feature-card,body.light .category-card,body.light .country-popup,body.light .country-option,body.light .country-search,body.light .account-type-option{background:var(--surface)!important;color:var(--text)!important;border-color:var(--line)!important}body.light .hero,body.light .journey-stats,body.light .app-welcome,body.light .contact{background:linear-gradient(135deg,#eef8f6,#f1f5ff)!important;color:var(--text)!important}body.light input,body.light textarea,body.light select{background:#fff!important;color:#15364b!important;border-color:#a8bfcc!important}body.light input::placeholder,body.light textarea::placeholder{color:#526b7d!important}body.light .btn.secondary,body.light .links a,body.light .app-tab a{background:#e6f0f4!important;color:#173d52!important}body.light .btn:not(.secondary){color:#06352f}body.light .journey-heading p,body.light .journey-label,body.light .small,body.light .hero p,body.light .category-card p{color:#415e72!important}body.light .auth-tabs .btn,body.light .account-type-option[aria-checked=true]{color:#12364b!important}body.light .stat-number{color:#087d70!important}
@media(max-width:800px){.sg-header{flex-wrap:wrap;padding:15px 20px}.sg-nav{gap:12px}.sg-grid,.sg-reels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-split,.sg-profile-layout{grid-template-columns:1fr}.sg-footer-grid{grid-template-columns:1fr 1fr}.sg-footer-grid>div:first-child{grid-column:1/-1}.sg-section{padding:44px 20px}.sg-cover{height:190px}}
@media(max-width:520px){.sg-main{padding:26px 16px}.sg-grid,.sg-reels-grid,.sg-form-grid{grid-template-columns:1fr}.sg-card{padding:22px}.sg-reel,.sg-profile{padding:0}.sg-profile-body{padding:0 20px 24px}.sg-nav{width:100%;justify-content:space-between}.sg-brand{font-size:16px}.sg-section h2{font-size:27px}.sg-video-wrap{aspect-ratio:9/12}.sg-footer{padding:35px 20px 120px}.sg-chip{padding:10px 15px}.sg-cover{height:165px}}
@media(prefers-reduced-motion:reduce){.sg-traveler{transition:none}}
/* Profile identity: wave framing, centered portrait and readable information rows. */
.profile-premium{background-image:radial-gradient(ellipse at 10% 0,#0fb9aa22,transparent 40%)!important}.profile-premium:before,.profile-premium:after{content:'';display:block;height:26px;background:linear-gradient(165deg,#007c78 10%,#20b9ab 30%,#8ce9dd 50%,transparent 51%);opacity:.8}.profile-premium:after{transform:rotate(180deg);height:55px}.profile-premium .sg-header{max-width:1160px;margin:auto;flex-wrap:wrap;border:0;background:transparent!important}.profile-premium .sg-brand{font-size:23px}.profile-premium .sg-brand img{width:64px;height:64px}.profile-premium .sg-nav{width:100%;display:flex;justify-content:space-around;border:1px solid var(--sg-line);padding:10px;border-radius:20px;background:var(--sg-card);box-shadow:0 5px 18px #0c8b8510}.profile-premium .sg-nav a{padding:13px 18px;font-size:15px}.profile-premium .sg-nav a[href='/profile.html']{background:linear-gradient(135deg,#008e80,#004b52);color:#fff;border-radius:14px}.profile-premium .sg-main{max-width:1000px;padding-top:10px}.profile-premium .sg-profile{box-shadow:0 12px 35px #096a7012;border-radius:28px}.profile-banner{position:relative}.profile-premium .sg-cover{height:300px;background:#063f47 url('/app-icons/profile-scene.svg') center/cover}.profile-premium .sg-cover:after{content:'';bottom:-1px;left:0;width:100%;height:37px;padding:0;border-radius:0;background:var(--sg-card);clip-path:polygon(0 35%,15% 80%,30% 30%,45% 60%,65% 25%,85% 80%,100% 40%,100% 100%,0 100%)}.cover-heading{position:absolute;inset:20px 25% 65px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#fff;text-shadow:0 2px 8px #0005}.cover-heading img{width:46px;height:46px;object-fit:contain}.cover-heading strong{font-size:29px;line-height:1.35}.cover-heading small{border:1px solid #71dfc7;border-radius:25px;padding:3px 15px;background:#006d6466;margin-top:12px}.cover-edit{position:absolute;bottom:38px;left:22px;background:#004b51dd;color:#fff;border-color:#c4f9ef;font-size:13px;z-index:1}.profile-premium .sg-profile-body{text-align:center;padding:0 25px 30px}.avatar-wrap{position:relative;width:150px;margin:-83px auto 0;z-index:2}.profile-premium .sg-avatar{margin:0;width:150px;height:150px;font-size:65px;border:5px solid #fff;background:linear-gradient(140deg,#008b82,#003942);color:white;box-shadow:0 0 0 2px #42cdbb,0 8px 18px #005d6328}.avatar-wrap button{position:absolute;right:0;bottom:7px;border:2px solid #d4fbf4;border-radius:50%;width:38px;height:38px;background:#006e68;color:#fff;cursor:pointer;font-size:22px}.profile-premium .sg-profile-body h1{font-size:29px;margin:10px 0 0}.profile-role{display:inline-block;padding:2px 28px;border-radius:30px;background:#bdeee1;color:#07544d;font-size:15px;font-weight:bold}.profile-meta{display:flex;justify-content:center;gap:25px;flex-wrap:wrap;font-size:14px;margin:14px 0;color:var(--sg-text)}.profile-premium .sg-profile-bio{padding:12px 18px;background:var(--sg-soft);border:1px solid var(--sg-line);border-radius:14px;margin:20px 0;color:var(--sg-text)}.profile-actions{display:flex;gap:12px;margin:18px 0}.profile-actions button{flex:1;font-weight:700}.profile-actions .primary{background:linear-gradient(135deg,#009985,#005257);color:white}.profile-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.profile-shortcuts a{padding:13px 5px;border:1px solid var(--sg-line);border-radius:18px;background:var(--sg-soft);text-decoration:none;font-size:14px}.profile-shortcuts span{display:block;color:var(--sg-accent);font-size:27px}.profile-tabs{display:flex;gap:8px;padding:6px;border:1px solid var(--sg-line);border-radius:17px;margin:24px 0}.profile-tabs button{flex:1;background:transparent;border:0}.profile-tabs [aria-selected=true]{background:linear-gradient(135deg,#008c7c,#00575a);color:white;box-shadow:0 5px 12px #009b7330}.profile-info{text-align:right;border:1px solid var(--sg-line);border-radius:22px;padding:20px}.profile-info h2{font-size:22px;margin:0 0 20px}.profile-info h2 span{color:var(--sg-accent);float:left}.profile-info dl{margin:0}.profile-info dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--sg-line);background:var(--sg-soft);border-radius:15px;margin:8px 0}.profile-info dt{font-size:14px;flex-shrink:0}.profile-info dd{margin:0;font-size:14px;overflow-wrap:anywhere;text-align:left}.profile-info p{white-space:pre-wrap}.profile-premium #ownerTools{padding-top:24px}.profile-premium #closeEditor{margin-bottom:16px}
/* High-specificity overrides for legacy registration cards and country picker. */
body.light #authModal .auth-panel label,body.light #registerForm .account-type legend,body.light #registerForm .country-field>label{color:#173b4b!important}body.light #registerForm .account-card{background:#eef8f7;color:#194550;border-color:#b4d7d2}body.light #registerForm .account-copy strong{color:#103e48}body.light #registerForm .account-copy small,body.light #registerForm .account-hint{color:#49636d}body.light #registerForm .account-option input:checked+.account-card{background:linear-gradient(130deg,#d6f4e9,#e8f8f7);border-color:#008375}body.light #registerForm .account-symbol,body.light #registerForm .account-option input:checked+.account-card .account-symbol{color:#007b70;background:#c7ebe3}body.light #registerForm .country-control,body.light #registerForm .country-popup{background:#f4faf9!important;border-color:#aaccc7}body.light #authModal #registerForm #countrySearch{color:#173b4b!important}body.light #authModal #registerForm #countrySearch::placeholder{color:#4c6871!important}body.light #registerForm .country-globe,body.light #registerForm #countryToggle{color:#00756d}body.light #registerForm .country-option,body.light #registerForm #countryHelp,body.light #registerForm #countryEmpty,body.light #registerForm .country-option small{color:#244c59!important}body.light #registerForm .country-option:hover,body.light #registerForm .country-option.active,body.light #registerForm .country-option[aria-selected=true]{background:#cff0e7!important;color:#064e47!important}body.light #authModal .auth-tabs .btn:not(.secondary){background:linear-gradient(120deg,#007c83,#075951);color:#fff!important}body.light #authModal .auth-error{color:#a42626!important}body.light #authModal .auth-good{color:#08694f!important}
@media(max-width:600px){.profile-premium .sg-header{padding:10px 16px}.profile-premium .sg-brand{font-size:19px}.profile-premium .sg-brand img{width:53px;height:53px}.profile-premium .sg-nav{gap:2px;flex-wrap:nowrap;padding:7px}.profile-premium .sg-nav a{padding:10px 7px;font-size:12px}.profile-premium .sg-nav button{padding:8px;font-size:12px}.profile-premium .sg-main{padding:12px}.profile-premium .sg-cover{height:235px}.cover-heading{inset:18px 20% 55px}.cover-heading strong{font-size:24px}.cover-heading small{font-size:10px}.cover-edit{left:12px;bottom:32px;padding:7px 10px;font-size:11px}.avatar-wrap{width:115px;margin-top:-62px}.profile-premium .sg-avatar{width:115px;height:115px;font-size:49px}.profile-premium .sg-profile-body{padding:0 13px 18px}.profile-premium .sg-profile-body h1{font-size:25px}.profile-actions button{font-size:12px;padding:12px 6px}.profile-shortcuts{gap:7px}.profile-shortcuts a{font-size:12px}.profile-info{padding:14px}.profile-info dl>div{padding:10px}.profile-info dt,.profile-info dd{font-size:12px}.profile-meta{gap:12px;font-size:12px}}
#student-voices{position:relative}#student-voices h2{max-width:750px;font-size:clamp(28px,4vw,48px);line-height:1.65}.voices-carousel{display:block!important}.voice-frame{position:relative;background:radial-gradient(ellipse at 15% 80%,#2fc6ac3b,transparent 65%),linear-gradient(135deg,var(--sg-card),var(--sg-soft));border:2px solid var(--sg-line);border-radius:45px;padding:35px;box-shadow:0 18px 35px #006e6b15;overflow:hidden}.voice-frame:before,.voice-frame:after{content:'';position:absolute;width:80%;height:100px;background:#20b7a720;border-radius:50%;transform:rotate(-12deg);pointer-events:none}.voice-frame:before{top:-65px;right:-20%}.voice-frame:after{bottom:-60px;left:-20%}.voice-content{display:grid;grid-template-columns:1.65fr 1fr;gap:35px;align-items:center;padding:30px 0}.voice-bubble{position:relative;background:var(--sg-card);padding:45px 28px 30px;border:1px solid #69d9ca;border-radius:36px;box-shadow:0 6px 0 #33c6ab25}.voice-bubble:after{content:'';position:absolute;bottom:-16px;left:35px;border-top:18px solid var(--sg-card);border-right:22px solid transparent}.voice-caption{position:absolute;top:-22px;right:20px;padding:8px 30px;background:linear-gradient(140deg,#00978b,#00474e);color:#fff;border:2px solid #c7fff3;border-radius:40px;font-size:20px;font-weight:bold}.voice-bubble blockquote{font-size:clamp(19px,2.4vw,29px);font-weight:700;line-height:1.9;margin:0;color:var(--sg-text)}.voice-person{text-align:center;position:relative}.voice-rating{display:inline-block;background:linear-gradient(140deg,#ffe780,#edb725);color:#332c08;padding:5px 20px;border:2px solid #fff6c1;border-radius:22px;font-size:22px;font-weight:bold;transform:rotate(-8deg);margin-bottom:14px}.voice-portrait{width:175px;height:175px;max-width:100%;margin:auto;background:linear-gradient(135deg,#03958b,#003943);border:4px solid #b8fff0;border-radius:50%;box-shadow:0 0 25px #19d0aa45;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;font-size:52px;overflow:hidden}.voice-portrait img{width:100%;height:100%;object-fit:cover}.voice-cap{font-size:42px;line-height:1}.voice-name{display:block;text-decoration:none;border:2px solid #b4f7e8;background:linear-gradient(130deg,#008b80,#00444d);color:white!important;border-radius:30px;padding:9px 15px;margin-top:12px;font-size:20px}.voice-brand{display:flex;align-items:center;gap:10px;color:var(--sg-accent);font-size:13px;justify-content:center}.voice-brand img{width:38px;height:38px}.voice-demo-label{position:relative;z-index:1;padding:10px 14px;background:var(--sg-card);border:1px solid var(--sg-line);border-radius:12px;color:var(--sg-text);font-size:13px;text-align:center}.voice-controls{display:flex;justify-content:center;gap:10px;align-items:center;margin-top:26px;flex-wrap:wrap}.voice-controls button{cursor:pointer;background:var(--sg-soft);color:var(--sg-text);border:1px solid var(--sg-line);border-radius:50%;width:36px;height:36px;font-size:21px}.voice-controls .voice-dot{width:12px;height:12px;padding:0;background:#92c5c1}.voice-controls .voice-dot[aria-pressed=true]{width:36px;border-radius:20px;background:#008c7e}.voice-controls button:focus-visible{outline:3px solid var(--sg-accent);outline-offset:3px}@media(max-width:600px){.voice-frame{padding:16px;border-radius:28px}.voice-content{grid-template-columns:1fr;gap:22px;padding-top:42px}.voice-bubble{padding:36px 20px 22px;border-radius:24px}.voice-caption{font-size:16px}.voice-portrait{width:125px;height:125px;font-size:40px}.voice-name{max-width:250px;margin:10px auto;font-size:17px}.voice-rating{font-size:18px}.voice-bubble blockquote{font-size:21px}.voice-demo-label{font-size:12px}.voice-brand{font-size:11px}}

/* Compact editorial review cards, preserving the two-column reference on phones. */
#student-voices{isolation:isolate;padding-top:70px;padding-bottom:70px;overflow:hidden;background:radial-gradient(ellipse at 15% 10%,#28c7b51c,transparent 55%)}#student-voices h2{text-align:center;margin:0 auto 20px;max-width:850px;line-height:1.55;color:var(--sg-text)}#student-voices .section-head{justify-content:center;flex-wrap:wrap}#student-voices:before,#student-voices:after{content:"";position:absolute;z-index:-1;pointer-events:none;width:110%;height:85px;background:linear-gradient(110deg,#006a70aa,#11bfaaa8,#a4eee56b);border-radius:50%;left:-6%;transform:rotate(-5deg)}#student-voices:before{top:-65px}#student-voices:after{bottom:-65px}.voice-frame{border:2px solid #c9f5ef;border-radius:42px;background:radial-gradient(ellipse at 10% 75%,#14b9a348,transparent 65%),linear-gradient(130deg,var(--sg-card),var(--sg-soft));box-shadow:0 16px 40px #00746f25,inset 0 0 25px #c2fff330;padding:28px}.voice-quote{position:absolute;top:52px;right:25px;width:66px;height:48px;display:grid;place-items:center;background:linear-gradient(130deg,#03978c,#004c58);border:2px solid #dbfff7;border-radius:30px;color:white;font-size:42px;line-height:1;box-shadow:0 0 18px #20dac175}.voice-demo-label{border:0;background:transparent;padding:0 0 12px;font-size:13px;color:var(--sg-muted);text-align:center}.voice-content{padding:55px 0 18px;gap:22px;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.voice-bubble{box-shadow:0 8px 0 #2bc7ad28,0 10px 26px #22baa91a}.voice-person{min-width:0}.voice-brand{justify-content:flex-start;padding-right:28px;margin-top:8px}.voice-brand img{width:58px;height:58px}.voice-name{font-weight:700}.voice-controls{gap:9px}.voice-controls .voice-dot{width:11px;height:11px}.voice-controls .voice-dot[aria-pressed=true]{width:32px}
@media(max-width:600px){#student-voices{padding:45px 12px}#student-voices h2{font-size:29px;line-height:1.6}#student-voices .container{padding:0}.voice-frame{padding:14px 12px 18px;border-radius:28px}.voice-content{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:10px;padding:55px 0 12px;align-items:center}.voice-bubble{padding:30px 12px 19px;border-radius:24px}.voice-bubble blockquote{font-size:clamp(15px,4.1vw,23px);line-height:1.85}.voice-caption{font-size:14px;padding:6px 13px;right:8px;top:-18px;white-space:nowrap}.voice-portrait{width:105px;height:105px;font-size:35px;border-width:3px}.voice-cap{font-size:32px}.voice-rating{font-size:16px;padding:3px 13px;margin-bottom:12px}.voice-name{font-size:14px;padding:7px 5px;margin-top:9px;line-height:1.7}.voice-demo-label{font-size:12px;padding-bottom:0}.voice-quote{width:48px;height:36px;top:35px;right:14px;font-size:32px}.voice-brand{font-size:10px;padding:0;margin-top:12px;gap:7px}.voice-brand img{width:38px;height:38px}.voice-controls{gap:8px;margin-top:18px}.voice-controls button{width:30px;height:30px}}

/* Swipe stays horizontal; vertical page scrolling remains native. */
.voice-frame{touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}.voice-frame:active{cursor:grabbing}.voice-frame:focus-visible{outline:3px solid var(--sg-accent);outline-offset:5px}.voice-frame img{-webkit-user-drag:none}.voice-swipe-hint{text-align:center;color:var(--sg-muted);font-size:14px;margin:18px 0 0}.voice-controls{margin-top:12px}#student-voices .sg-lead{font-size:clamp(21px,3.6vw,28px);font-weight:700;line-height:1.9;color:var(--sg-text);text-align:center;margin:22px auto 32px;max-width:850px}#student-voices h2{font-size:clamp(32px,5vw,52px);font-weight:800}#student-voices .sg-kicker{font-size:18px;font-weight:700}@media(pointer:coarse){.voice-controls button:not(.voice-dot){display:none}}@media(max-width:600px){#student-voices .sg-row.sg-space{flex-direction:column;align-items:center;gap:18px}#student-voices .sg-lead{font-size:22px;line-height:1.9}#student-voices h2{font-size:32px}.voice-swipe-hint{font-size:13px}}

/* Scoped fixes for legacy shared pages; preserve PDF canvases, video stages and print styling. */
@media screen {
body.light .contact p{color:#365666}
body.light .btn[class="btn"]:not(.secondary){color:white;background-color:#08776b}
body.light .console-nav button.active{color:white;background:#08776b}
body.light .library-admin-book .library-delete{color:#8a1934;background:#fff0f3}
body.light .tool-group button[aria-pressed="true"]{background:#08776b;color:white}
.book-card,.book-info,.category-grid>*,.console-shortcuts>*,.console-nav>*,.sg-footer-grid>*{min-inline-size:0}
.book-info h3,.library-admin-book h3,.console-shortcuts button,.console-nav a,.sg-footer-grid a{overflow-wrap:anywhere}
.book-filters :is(select,input){max-inline-size:100%;min-inline-size:0}
@media(max-width:600px){.book-info small{font-size:12px}.book-info .pill{font-size:12px}.book-info h3{line-height:1.6}.console-nav :is(button,a){white-space:normal;line-height:1.65}}
}
