.community-section{padding-top:54px;padding-bottom:64px}.community-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:26px}.community-intro h2{margin:0;color:#274571}.community-intro>div>p:last-child{font-size:13px;color:#667994;max-width:470px;margin:13px 0 0}.community-counts{display:flex;gap:26px;flex-shrink:0;padding:18px 22px;border:1px solid #dde7f7;border-radius:14px;background:#fff}.community-counts div{display:flex;flex-direction:column}.community-counts strong{font-size:29px;line-height:1.2;color:#345ef1;font-weight:650}.community-counts span{font-size:10px;color:#667994;margin-top:5px}
.community-slider-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.community-slider-head h3{margin:0;font-size:17px;color:#274571}.community-write{font-size:12px;color:#345ef1;text-decoration:none;white-space:nowrap;padding:10px 0;min-height:44px;display:inline-flex;align-items:center}.community-slider-shell{overflow:hidden;background:#fff;border:1px solid #dde7f7;border-radius:18px;box-shadow:0 8px 30px #27477b06}.community-carousel{display:flex;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;width:100%}.community-carousel::-webkit-scrollbar{display:none}.community-slide{box-sizing:border-box;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;padding:28px 32px;background:#fff;overflow:hidden}.community-slide-head{display:flex;align-items:center;gap:14px;margin-bottom:20px}.community-slide-avatar{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;border-radius:50%;background:#e8efff;color:#345ef1;font-size:18px;font-weight:600;letter-spacing:.5px}.community-slide-head h3{font-size:16px;line-height:1.6;color:#274571;margin:0;overflow-wrap:anywhere}.community-slide-head time{display:block;font-size:11px;color:#8a9ab2;margin-top:3px}.community-slide blockquote{margin:0;min-height:90px;max-height:220px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;padding-right:8px;font-size:19px;line-height:1.95;color:#4c6487;font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere}.community-slider-controls{display:flex;justify-content:flex-end;align-items:center;gap:15px;min-height:50px;padding:0 20px 8px;color:#8a9ab2;font-size:11px}.community-slider-controls button{font:400 14px/1 system-ui;color:#667994;border:1px solid #e1e8f4;background:#f8faff;min-width:38px;min-height:36px;border-radius:8px;cursor:pointer}.community-slider-controls button[hidden]{display:none}.community-empty{font-size:14px;color:#71839f;padding:30px;margin:0}.community-retry{margin:30px;padding:12px 20px;color:#345ef1;background:#f2f6ff;border:1px solid #dce5f3;border-radius:10px;cursor:pointer}.community-status{font-size:12px;color:#375986;min-height:20px;margin:12px 0 0}.community-section :focus-visible,.feedback-page :focus-visible{outline:2px solid #a8c1f6;outline-offset:3px}
.feedback-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;margin-top:28px;align-items:start}.community-form{background:#fff;border:1px solid #dde7f7;border-radius:16px;padding:28px;min-width:0}.community-form h2{margin:0 0 20px;font-size:23px}.community-form label{display:block;color:#375986;font-size:13px;font-weight:600;margin:16px 0 7px}.community-form input,.community-form textarea{box-sizing:border-box;display:block;width:100%;padding:12px 13px;font-family:inherit;font-size:15px;line-height:1.7;background:#f8faff;color:#172945;border:1px solid #dce5f3;border-radius:8px}.community-form textarea{resize:vertical;min-height:185px}.community-form input:focus,.community-form textarea:focus{outline:0;border-color:#9cb6ef}.community-form button.primary{margin-top:17px;font-size:13px;min-height:44px;cursor:pointer}.community-form small{display:block;font-size:11px;color:#71839f;margin-top:8px;line-height:1.7}.feedback-length{text-align:right;font-size:11px;color:#8a9ab2;margin-top:7px}.feedback-home{display:inline-block;font-size:13px;color:#345ef1;margin-top:12px;text-decoration:none}.feedback-preview{position:static;min-width:0;padding:0}.feedback-preview>.eyebrow{margin:0 0 12px}.feedback-preview .community-slide{border:1px solid #dde7f7;border-radius:16px;padding:24px}.feedback-preview .community-slide blockquote{font-size:17px}.feedback-page .hero::before{pointer-events:none}.feedback-page a,.feedback-page a *{text-decoration:none}
@media(max-width:700px){.community-section{padding-top:35px;padding-bottom:38px}.community-intro{align-items:stretch;flex-direction:column;gap:20px}.community-counts{gap:36px;padding:15px 19px}.community-counts strong{font-size:25px}.community-intro h2{font-size:25px}.community-slider-head{align-items:flex-start;flex-direction:column;gap:3px;margin-bottom:10px}.community-slide{padding:22px}.community-slide blockquote{font-size:16px;line-height:1.95;max-height:260px}.community-slide-head{gap:11px;margin-bottom:16px}.community-slide-head h3{font-size:14px}.community-slide-avatar{width:44px;height:44px;font-size:16px}.feedback-layout{grid-template-columns:1fr;gap:24px}.community-form{padding:22px}.community-form input,.community-form textarea{font-size:16px}.feedback-preview .community-slide{padding:22px}}
@media(prefers-reduced-motion:reduce){.community-carousel{scroll-behavior:auto}}
#community .community-intro h2{white-space:nowrap;font-size:clamp(18px,4.3vw,32px);letter-spacing:-.5px}.community-slider-controls{justify-content:center}.community-dots{display:flex;align-items:center;justify-content:center;gap:0}.community-slider-controls .community-dot{display:grid;place-items:center;width:24px;min-width:24px;height:32px;min-height:32px;padding:0;border:0;background:transparent;border-radius:50%}.community-dot::before{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#c4cee0;transition:background .2s}.community-dot.active::before{background:#345ef1}.community-dot:disabled{opacity:.4;cursor:default}
@media print{.community-slider-controls,.community-write{display:none}.community-carousel{display:block;overflow:visible}.community-slide{break-inside:avoid}.community-slide blockquote{max-height:none;overflow:visible}}

/* Matching form and shared-comment panels with independent vertical scrolling. */
.feedback-page .feedback-layout{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.feedback-page .feedback-layout>.community-form,.feedback-page .feedback-preview{box-sizing:border-box;height:700px;min-width:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#a7b9d5 #f1f5fc}.feedback-page .feedback-preview{background:#fff;border:1px solid #dde7f7;border-radius:16px;padding:28px}.feedback-preview>h2{margin:0 0 20px;font-size:23px}.feedback-preview .community-slide{padding:20px;margin:0 0 16px;flex:none}.feedback-preview .community-slide[hidden]{display:none}.feedback-preview .community-slide blockquote{max-height:none;min-height:0;overflow:visible;font-size:16px}.feedback-shares{min-width:0}.feedback-preview::-webkit-scrollbar,.feedback-page .community-form::-webkit-scrollbar{width:6px}.feedback-preview::-webkit-scrollbar-thumb,.feedback-page .community-form::-webkit-scrollbar-thumb{background:#a7b9d5;border-radius:6px}.feedback-page .community-form textarea{resize:none}@media(max-width:700px){.feedback-page .feedback-layout{grid-template-columns:1fr}.feedback-page .feedback-layout>.community-form,.feedback-page .feedback-preview{height:660px;padding:22px}}

/* Homepage only: the overlay and artwork share one 1672 × 941 coordinate plane.
   Safe content box: x 18–62%, y 15–43%; controls y 46–52%.
   Keep the full image visible at every width; scroll long quotations inside it. */
#community .community-slider-shell{position:relative;isolation:isolate;container-type:inline-size;aspect-ratio:1672 / 941;overflow:hidden;background:#f5f9ff;border:0;border-radius:16px;box-shadow:none}
#community .community-slider-shell::before{content:none}
#community .community-speech-art{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;z-index:0}
#community .community-slider-shell>.community-carousel{position:absolute;z-index:1;left:18%;top:15%;width:44%;height:28%;min-height:0;align-items:stretch;background:transparent;border:0;border-radius:0;padding:0;overflow-x:auto;overflow-y:hidden}
#community .community-slide{display:flex;flex-direction:column;flex:0 0 100%;width:100%;height:100%;min-height:0;padding:0;background:transparent;overflow:hidden;border:0;border-radius:0}
#community .community-slide-head{flex-shrink:0;gap:clamp(5px,1cqw,12px);margin:0 0 clamp(4px,1.1cqw,14px);min-width:0;align-items:center}
#community .community-slide-avatar{width:clamp(18px,3.3cqw,40px);height:clamp(18px,3.3cqw,40px);font-size:clamp(9px,1.3cqw,16px);line-height:1;flex-shrink:0}
#community .community-slide-head>div{min-width:0;flex:1}
#community .community-slide-head h3{font-size:clamp(10px,1.4cqw,17px);line-height:1.35;color:#294669;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#community .community-slide-head time{font-size:clamp(7px,.85cqw,11px);line-height:1.35;color:#637895;margin:2px 0 0}
#community .community-slide blockquote{flex:1;min-height:0;max-height:none;width:100%;margin:0;padding:0 5px 0 0;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;font-size:clamp(12px,1.55cqw,19px);line-height:1.65;font-weight:400;color:#294669;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
#community .community-slider-shell>.community-slider-controls{position:absolute;z-index:2;left:18%;top:46%;width:44%;height:6%;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;gap:0;background:transparent;overflow:hidden}
#community .community-slider-controls .community-dot{width:clamp(14px,2cqw,24px);min-width:0;height:clamp(12px,2.5cqw,30px);min-height:0}
#community .community-dot::before{width:clamp(4px,.55cqw,7px);height:clamp(4px,.55cqw,7px)}
#community .community-empty{margin:0;box-sizing:border-box;width:100%;max-height:100%;padding:0;overflow:auto;font-size:clamp(11px,1.3cqw,16px);line-height:1.7;align-self:center}
#community .community-retry{align-self:center;max-width:100%;max-height:100%;min-height:0;padding:4px 8px;margin:auto;font-size:clamp(10px,1.2cqw,14px);overflow:auto}
@media(max-width:700px){#community .community-slider-shell{border-radius:10px}#community .community-slide-head time{margin-top:0}#community .community-slide blockquote{padding-right:3px;line-height:1.5}}
@media print{#community .community-slider-shell{break-inside:avoid}#community .community-slider-shell>.community-carousel{display:flex;overflow:hidden}#community .community-slide blockquote{overflow:auto;max-height:100%}}

/* Autumn teacher artwork: comment and dots stay within the speech frame. */
#community .community-slider-shell>.community-carousel{left:18%;top:12%;width:44%;height:26%}#community .community-slider-shell>.community-slider-controls{left:18%;top:40%;width:44%;height:5%}

.feedback-gender{display:flex;gap:24px;align-items:center;padding:12px 16px;border:1px solid #dce5f3;border-radius:10px;margin:20px 0;background:#f8faff}.feedback-gender legend{font-size:13px;color:#375986;padding:0 6px}.community-form .feedback-gender label{display:flex;align-items:center;gap:8px;margin:0;cursor:pointer;font-weight:400}.community-form .feedback-gender input{width:18px;height:18px;margin:0;padding:0;accent-color:#345ef1;cursor:pointer}.community-delete{flex:none;border:1px solid #ead7d7;background:#fff7f7;color:#a95757;border-radius:7px;padding:5px 8px;font:inherit;font-size:11px;cursor:pointer;min-height:28px}.community-delete:disabled{opacity:.5;cursor:wait}#community .community-delete{font-size:clamp(8px,.9cqw,11px);padding:2px 5px;min-height:20px}

.feedback-page .feedback-home{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:50;display:grid;place-items:center;width:48px;height:48px;margin:0;border:1px solid #d5e1f3;border-radius:13px;background:#fff;color:#345ef1;box-shadow:0 4px 18px #20345214;text-decoration:none;transition:background .2s,transform .2s}.feedback-page .feedback-home svg{display:block;width:23px;height:23px}.feedback-page .feedback-home:hover{background:#edf3ff;transform:translateY(-2px)}.feedback-page .feedback-home:focus-visible{outline:2px solid #345ef1;outline-offset:4px}.feedback-page footer{padding-bottom:85px}@media print{.feedback-page .feedback-home{display:none}}

.community-password-dialog{width:min(440px,calc(100% - 32px));box-sizing:border-box;padding:28px;border:1px solid #dce5f3;border-radius:16px;color:#294669;background:#fff;box-shadow:0 20px 80px #15294733}.community-password-dialog::backdrop{background:#15294770;backdrop-filter:blur(3px)}.community-password-dialog h2{font-size:21px;margin:0 0 12px}.community-password-dialog p{font-size:13px;line-height:1.8}.community-password-dialog label{display:grid;gap:7px;margin-top:16px;font-size:13px}.community-password-dialog input{box-sizing:border-box;width:100%;font:inherit;padding:11px;border:1px solid #cedbf0;border-radius:8px}.password-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.password-actions button{font:inherit;font-size:13px;min-height:40px;padding:8px 14px;border:1px solid #d5e1f3;border-radius:8px;cursor:pointer;background:#f6f9ff;color:#345279}.password-actions button[type=submit]{background:#345ef1;color:#fff;border-color:#345ef1}.password-actions button:disabled{opacity:.5}.community-password-dialog .password-error{color:#b34d4d;margin-bottom:0}

.password-field{position:relative;display:flex;align-items:center}.community-password-dialog .password-field input{padding-right:48px}.password-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:38px;height:38px;padding:8px;border:0;border-radius:6px;background:transparent;color:#607caa;cursor:pointer}.password-eye svg{width:21px;height:21px}.password-eye[aria-pressed=true]{color:#345ef1;background:#edf3ff}.password-eye:focus-visible{outline:2px solid #345ef1;outline-offset:1px}.community-feedback-link{display:inline-flex;align-items:center;gap:10px;color:inherit!important;text-decoration:none!important}.community-write-icon{width:23px;height:23px;flex:none;color:#698cbb;animation:community-write-glow 1.8s ease-in-out infinite}.community-feedback-link:hover{color:#345ef1!important}.community-feedback-link:focus-visible{outline:2px solid #93afe7;outline-offset:5px;border-radius:4px}@keyframes community-write-glow{0%,100%{opacity:.5;filter:drop-shadow(0 0 0 #698cbb00)}50%{opacity:1;filter:drop-shadow(0 0 5px #698cbb70)}}@media(prefers-reduced-motion:reduce){.community-write-icon{animation:none}}
/* Keep complete text lines inside the speech frame on narrow iPhone screens. */
@media(max-width:700px){
 #community .community-slider-shell>.community-carousel{top:11.5%;height:28.5%;min-width:0}
 #community .community-slide{box-sizing:border-box;min-width:0}
 #community .community-slide-head{gap:4px;margin-bottom:3px;min-height:18px}
 #community .community-slide-head>div{display:flex;align-items:center;gap:4px;min-width:0}
 #community .community-slide-head h3{flex:1;min-width:0;font-size:10px!important;line-height:1.3!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #community .community-slide-head time{flex-shrink:0;font-size:7px;line-height:1.3}
 #community .community-slide blockquote{box-sizing:border-box;min-width:0;font-size:clamp(11px,3cqw,14px)!important;line-height:1.5!important;flex:0 1 auto;max-height:3em;padding:0 2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-text-size-adjust:100%;scroll-padding-block:3px;touch-action:pan-y}
 #community .community-slider-shell>.community-slider-controls{top:41%;height:5%}
}
