
/* styles.css */
:root{--river:#236bda;--river-deep:#143961;--river-mist:#eaf2ff;--porcelain:#fff;--paper:#f7faff;--ink:#20324b;--muted:#788597;--line:#e8edf4;--shadow:0 5px 22px #294f7810;--body:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;--display:"Songti SC","Noto Serif CJK SC","STSong","SimSun",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:68px}body{margin:0;background:#edf2f8;color:var(--ink);font:14px/1.65 var(--body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}img{display:block;max-width:100%}svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #81b4ff;outline-offset:3px}[hidden]{display:none!important}.app-shell{max-width:560px;min-height:100dvh;margin:auto;background:var(--porcelain);box-shadow:0 0 70px #244c6610;overflow:clip}.topbar{height:65px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid #e5edf56b;background:#ffffffef;position:relative;z-index:4}.brand{font:700 29px/1 var(--display);color:var(--river-deep);position:relative;white-space:nowrap;letter-spacing:1px}.brand-wave{display:block;height:4px;width:38px;border-bottom:2px solid #5d9cec;border-radius:50%;margin-top:3px}.top-caption{font-size:10px;color:#8495a9;flex:1}.top-actions{display:flex;gap:0}.icon-button{width:35px;height:40px;display:inline-flex;align-items:center;justify-content:center;color:#6481a4;border-radius:12px}.icon-button:hover{background:var(--river-mist)}main{min-height:65vh;outline:none;animation:arrive .24s ease-out}.page-footer{display:flex;justify-content:space-between;gap:12px;color:#98a5b5;font-size:9px;margin:35px 22px 0;padding:20px 0 125px;border-top:1px solid var(--line)}
.bottom-nav{position:fixed;z-index:20;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 24px),528px);height:76px;border:1px solid #c9daf4;border-radius:34px;display:grid;grid-template-columns:repeat(6,1fr);align-items:center;padding:6px;background:linear-gradient(155deg,#f9fcffed,#dfebfae8);box-shadow:inset 0 0 0 2px #fff9,0 12px 35px #24559d26,0 2px 3px #fff;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:61px;border-radius:25px;color:#768aa7;font-size:10px;white-space:nowrap;transition:background .18s,color .18s,transform .18s}.nav-item svg{height:26px;width:26px;stroke-width:1.4}.nav-item[aria-current=page]{color:#0963dd;background:linear-gradient(#fff,#eff6ff);box-shadow:0 1px 8px #4483cf1a,inset 0 0 0 1px #fff}.nav-item:active{transform:scale(.95)}
.section{padding:24px}.section.compact{padding-top:14px;padding-bottom:14px}.eyebrow{font-size:11px;color:var(--river);letter-spacing:1px;margin:0 0 10px;font-weight:600}.hero{position:relative;min-height:240px;overflow:hidden;padding:34px 25px 28px}.hero h1{font:700 clamp(28px,7vw,38px)/1.5 var(--display);letter-spacing:1px;margin:0 0 13px;color:var(--river-deep);position:relative;z-index:1}.hero p{position:relative;z-index:1;color:var(--muted);font-size:13px;margin:0;max-width:75%}.hero-art{position:absolute;inset:0 0 0 35%;width:65%;height:100%;object-fit:cover;opacity:.75;mask-image:linear-gradient(90deg,transparent,#000 58%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 58%)}.hero .eyebrow{position:relative;z-index:1}.hero.city .hero-art{opacity:.45;object-fit:contain;object-position:right bottom;mask-image:linear-gradient(90deg,transparent,#000 35%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%)}.hero.short{min-height:190px}.hero.short h1{font-size:30px}.hero.school-hero{background:#e9f5fd;min-height:290px}.hero.school-hero h1{max-width:80%;text-shadow:0 1px #fff}.hero.school-hero .hero-art{opacity:1;object-position:center}.home-hero{position:relative}.home-hero img{width:100%;height:auto}.home-finder{margin:-4px 18px 0;background:#f6faff;border:1px solid #eef4fa;border-radius:18px;padding:18px;position:relative;box-shadow:var(--shadow)}.filters{display:flex;gap:9px;align-items:center}.filter{min-width:0;flex:1}.filter label{font-size:11px;color:var(--muted);display:block;margin-bottom:6px}.filter select{width:100%;border:1px solid var(--line);border-radius:12px;min-height:42px;background:#fff;padding:7px 20px 7px 9px;font-size:12px}.home-finder .filter select{background:transparent;border:0;border-bottom:1px solid #dce7f3;border-radius:0;padding-left:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:47px;padding:11px 20px;border-radius:14px;font-size:14px;font-weight:500;transition:transform .12s,filter .12s}.primary{color:white;background:linear-gradient(110deg,#347ded,#1265d6);border:1px solid #307be8;box-shadow:0 3px 8px #2677de12}.secondary{color:var(--river);border:1px solid #93b9f2;background:#fff}.primary:active,.secondary:active{transform:scale(.985)}.primary:hover{filter:brightness(1.04)}.wide{width:100%}.mt{margin-top:20px}.actions{display:flex;gap:12px}.actions>*{flex:1}.text-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:var(--river);font-size:13px;padding:3px 0}.text-link svg{width:18px}.services{display:grid;grid-template-columns:repeat(3,1fr);padding:28px 10px 22px}.service{text-align:center;display:flex;flex-direction:column;align-items:center;padding:8px 1px;gap:5px;border-right:1px solid var(--line)}.service:last-child{border-right:0}.service svg{height:35px;width:35px;padding:3px;color:#336eac;background:#f0f6fd;border-radius:50%;box-sizing:content-box}.service strong{font:700 15px var(--display);margin-top:9px;color:var(--river-deep)}.service small{font-size:10px;color:var(--muted)}.section-title{font:700 25px/1.5 var(--display);color:var(--river-deep);margin:0 0 10px}.section-copy{font-size:12px;line-height:1.9;color:var(--muted);margin:0 0 20px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.title-row h2{margin:0}.sample{font:10px/1.5 var(--body);display:inline-block;background:#eef5ff;color:#477cb7;padding:2px 8px;border-radius:7px;white-space:nowrap}.home-teaching{display:grid;grid-template-columns:1.12fr 1fr;gap:12px}.home-teaching img{width:100%;object-fit:cover;border-radius:8px}.home-teaching .big img{aspect-ratio:1/1.18}.home-teaching .small img{aspect-ratio:1.6}.home-teaching h3{font:700 16px var(--display);margin:7px 0}.home-teaching p{font-size:10px;color:var(--muted);margin:4px 0 10px}.home-map{margin-top:10px;width:100%}.river-section{background:#f6faff}.search{display:flex;align-items:center;gap:10px;border:1px solid #e0e7f0;border-radius:30px;min-height:48px;padding:0 14px;background:#ffffffed;margin-bottom:16px}.search svg{color:#8091a8;width:18px}.search input{width:100%;min-width:0;border:0;outline:none;background:none;font-size:13px}.search button{font-size:13px;color:var(--river);min-height:44px;white-space:nowrap}.filter-summary{font-size:11px;color:var(--muted);margin:14px 0 2px}.teacher-story{display:grid;grid-template-columns:1.02fr 1fr;min-height:260px;margin:14px 0 24px;align-items:stretch}.teacher-story.reverse .story-image{order:2}.story-image{width:100%;height:100%;object-fit:cover;min-height:260px}.story-copy{padding:23px 16px 18px;display:flex;flex-direction:column;justify-content:center}.story-copy h2{font:700 28px/1.4 var(--display);margin:9px 0 12px;color:var(--river-deep)}.story-copy .quote{font:15px/1.9 var(--display);margin:4px 0 14px}.teacher-meta{font-size:11px;color:#6d7b8f;margin:4px 0;display:flex;gap:6px;align-items:center}.teacher-meta svg{height:15px;width:15px;color:#4877b2}.story-copy .text-link{margin-top:10px}.promo{border-radius:16px;background:#f1f6fe;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px;margin:16px 22px}.promo h2{font:700 23px/1.6 var(--display);color:var(--river-deep);margin:0}.promo p{font-size:11px;color:var(--muted);margin:6px 0 0}.round-arrow{color:#fff;background:linear-gradient(#74a7ea,#2868c8);height:47px;width:47px;flex-shrink:0;border-radius:50%;display:grid;place-items:center}.round-arrow svg{width:25px}.empty{padding:40px 24px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);font-size:17px}
.question{border:0;padding:0;margin:0 0 28px;min-width:0}.question legend,.field-title{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;margin-bottom:15px;padding:0}.step{width:25px;height:25px;border:1px solid #8ab6fa;border-radius:50% 50% 50% 4px;background:#f2f7ff;display:inline-grid;place-items:center;color:#385d8f;font-size:12px;flex-shrink:0}.choices{display:flex;flex-wrap:wrap;gap:10px}.choice{position:relative;display:block;cursor:pointer;flex:0 1 auto}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:flex;align-items:center;justify-content:center;min-height:43px;padding:8px 17px;border:1px solid #e2e7ef;border-radius:13px;background:#fff;color:#58677c;transition:all .15s;font-size:13px;box-shadow:0 1px 3px #213c6010}.choice input:checked+span{background:#f2f7ff;border-color:#6aa3ff;color:#1766dd;box-shadow:0 0 0 1px #94bdff55;font-weight:600}.choice input:focus-visible+span{outline:3px solid #91baff;outline-offset:2px}textarea,.text-input{width:100%;border:1px solid #e1e7ef;border-radius:14px;background:#fcfdff;padding:14px;font-size:13px;line-height:1.8;resize:vertical}textarea::placeholder,.text-input::placeholder{color:#a1adbd}.count{color:#9ca8b7;font-size:10px;text-align:right;margin-top:4px}.hint{font-size:11px;color:var(--muted);line-height:1.9}.hint.center{text-align:center}.form-body{padding:20px 25px 25px}.soft-separator{height:1px;background:var(--line);margin:26px 0}.detail-hero{display:grid;grid-template-columns:1.05fr 1fr;min-height:310px;background:#fcfdff}.detail-hero>img{width:100%;height:100%;object-fit:cover}.detail-hero .story-copy{padding:20px 15px}.detail-hero h1{font:700 31px var(--display);color:var(--river-deep);margin:0 0 18px}.detail-hero blockquote{margin:22px 0 0;font:19px/1.8 var(--display);color:var(--river-deep)}.detail-row{display:grid;grid-template-columns:1fr 1fr;align-items:center;margin:28px 0}.detail-row.reverse>img{order:-1}.detail-row>div{padding:0 22px}.detail-row h2{font:700 21px var(--display);color:var(--river-deep);margin:0 0 13px}.detail-row h2:after{content:'';display:block;width:20px;height:2px;background:var(--river);margin-top:9px}.detail-row p{font-size:12px;color:#778396;line-height:2;margin:0}.detail-row img{width:100%;height:205px;object-fit:cover}.detail-points{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.detail-points span{font-size:11px;background:#f2f7ff;color:#5b80b2;padding:4px 9px;border-radius:5px}.booking-person{display:flex;align-items:center;gap:16px}.booking-person img{width:75px;height:75px;object-fit:cover;border-radius:50%}.booking-person h2{font:700 23px var(--display);margin:0 0 6px}.booking-person p{margin:0;color:var(--muted);font-size:12px}.date-strip{display:flex;overflow-x:auto;gap:9px;padding:4px 0 12px;scrollbar-width:thin}.date-strip .choice{flex:0 0 55px}.date-strip .choice span{flex-direction:column;gap:7px;height:78px;padding:7px 5px}.date-strip .choice input:checked+span{background:#1667d7;color:#fff;border-color:#1667d7}.date-strip small{font-size:10px}.date-strip strong{font-size:13px}.receipt{background:#f8fbff;border:1px dashed #bfd0e8;border-radius:5px;padding:20px;margin:22px 0}.receipt h3{font-size:14px;color:var(--river-deep);margin:0 0 16px}.receipt dl{margin:0;display:grid;grid-template-columns:70px 1fr;gap:9px;font-size:12px}.receipt dt{color:var(--muted)}.receipt dd{margin:0;overflow-wrap:anywhere}.agree{font-size:11px;color:var(--muted);display:flex;gap:9px;align-items:flex-start;margin-bottom:18px}.agree input{margin-top:4px;accent-color:var(--river);width:16px;height:16px}.upload{display:block;border:1px dashed #b8cfee;background:#f5f9ff;padding:23px 16px;text-align:center;border-radius:14px;color:var(--river);font-size:13px;cursor:pointer}.upload input{max-width:100%;font-size:11px;margin-top:12px}.upload small{display:block;color:var(--muted);font-size:11px}.uploaded{font-size:11px;color:#587296;overflow-wrap:anywhere;padding-top:8px}.diagnosis-benefits{display:flex;justify-content:space-between;gap:12px;background:#f5f9ff;padding:18px 12px;border-radius:14px;margin:24px 0;font-size:11px;text-align:center}.diagnosis-benefits svg{display:block;margin:0 auto 9px;color:#4f8ee3}.measure{margin:26px 0 36px;display:grid;grid-template-columns:42px 1fr;gap:14px}.measure>svg{width:39px;height:39px;padding:8px;border-radius:50%;background:#edf4ff;color:var(--river)}.measure h3{font-size:15px;font-weight:500;margin:0 0 19px}.measure strong{color:var(--river);font-weight:500}.ruler{height:2px;position:relative;background:linear-gradient(90deg,#236bdc,#e4edfc);margin:0 8px}.ruler:after{content:'';position:absolute;left:var(--position);top:50%;transform:translate(-50%,-50%);height:11px;width:11px;border:2px solid var(--river);background:#fff;border-radius:50%;box-shadow:0 3px 8px #216de622}.ruler-labels{display:flex;justify-content:space-between;font-size:9px;color:#8c99ad;margin-top:11px}.report-quote{padding:26px 20px;background:#f6f9ff;text-align:center}.report-quote h2{font:700 27px/1.6 var(--display);color:#1e62c4;margin:0 0 8px}.report-quote p{font-size:12px;color:#5979a7;margin:0}.week-plan{display:flex;overflow-x:auto;gap:0;margin-top:20px;padding-bottom:10px}.week-day{min-width:90px;width:90px;border-top:1px solid #91b5ed;padding:22px 10px 0;position:relative;font-size:11px;color:var(--muted)}.week-day:before{content:'';position:absolute;top:-4px;left:17px;width:7px;height:7px;background:var(--river);border-radius:50%}.week-day strong{display:block;color:var(--river-deep);margin-bottom:12px;font-size:13px}.result-chip{background:#eef4ff;border:1px solid #dce7fa;border-radius:30px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 15px;font-size:12px}.featured-result{padding:0 22px}.featured-result>img{height:320px;width:100%;object-fit:cover;object-position:50% 28%;border-radius:14px}.result-name{display:flex;gap:10px;align-items:center;margin:18px 0}.result-name h2{font:700 29px var(--display);color:var(--river-deep);margin:0}.reason{display:flex;gap:12px;margin:18px 0}.reason svg{width:33px;height:33px;padding:7px;color:var(--river);border-radius:50%;background:#eef4ff}.reason h3{font-size:14px;margin:0 0 5px;font-weight:500}.reason p{font-size:12px;color:var(--muted);margin:0}.mini-teacher{display:flex;gap:17px;padding:20px 22px;border-bottom:1px solid var(--line)}.mini-teacher img{width:86px;height:110px;object-fit:cover;border-radius:10px}.mini-teacher h3{font:700 23px var(--display);margin:5px 0 9px}.mini-teacher p{margin:0;font-size:12px;color:var(--muted)}.steps-row{display:flex;justify-content:space-around;font-size:11px;color:var(--muted);text-align:center;margin:15px 0 25px}.steps-row svg{display:block;margin:0 auto 7px;color:var(--river)}
.map-scene{position:relative;background:#edf4fc;min-height:410px;overflow:hidden}.map-scene>.map-image{position:absolute;left:0;bottom:0;width:100%;height:68%;object-fit:cover;opacity:.8}.map-scene .map-content{position:relative;padding:27px 23px}.map-scene h1{font-size:28px;line-height:1.5;margin:0 0 5px;color:#12233a}.map-scene p{font-size:12px;color:#667b99;margin:0 0 20px}.map-scene .filter select{border:0;box-shadow:var(--shadow)}.map-pin{position:absolute;color:#1b81f4;background:#fff;border-radius:50%;height:38px;width:38px;box-shadow:0 4px 12px #315b8d30;display:grid;place-items:center}.map-pin svg{width:26px;height:26px}.map-pin.one{left:37%;bottom:21%}.map-pin.two{left:69%;bottom:30%}.map-note{position:absolute;bottom:8px;right:16px;font-size:9px;color:#7590af}.space-card{margin:18px 18px 26px;border-radius:15px;overflow:hidden;background:#fff;box-shadow:var(--shadow);border:1px solid #eef1f6}.space-card>img{width:100%;height:215px;object-fit:cover}.space-copy{padding:20px}.space-copy h2{font-size:22px;color:#142538;line-height:1.4;margin:5px 0 9px}.space-copy p{font-size:12px;color:var(--muted);margin:6px 0}.tags{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.tags span{font-size:10px;color:#6485b1;background:#f0f5fc;padding:5px 9px;border-radius:6px}.space-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.space-bottom .secondary{font-size:12px;min-height:39px;padding:6px 15px;border-radius:25px}.space-card.alternate{display:grid;grid-template-columns:1.12fr 1fr}.space-card.alternate>img{order:2;height:100%;object-position:center}.space-card.alternate .space-copy{padding:18px 14px}.space-card.alternate h2{font-size:20px}.space-card.alternate .space-bottom{display:block}.school-story{padding:20px 22px 28px}.school-story img{height:240px;width:100%;object-fit:cover;border-radius:9px}.school-story h2{font:700 28px var(--display);color:var(--river-deep);margin:22px 0 13px}.school-story p{font-size:12px;color:var(--muted);margin:5px 0}.school-story:nth-child(even){background:#fafcff}.school-detail-cover{height:270px;object-fit:cover;width:100%}.photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.photo-pair img{width:100%;height:170px;object-fit:cover;border-radius:9px}.photo-pair figcaption{font-size:11px;color:var(--muted);margin-top:8px}.photo-pair figure{margin:0}
.quick-links{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid #eef2f8;border-radius:17px;box-shadow:var(--shadow);margin:-4px 20px 25px;position:relative;padding:13px 3px}.quick-link{display:flex;flex-direction:column;gap:6px;align-items:center;font-size:12px;min-height:65px;padding:7px 2px;border-right:1px solid var(--line)}.quick-link:last-child{border-right:0}.quick-link svg{color:#5684bb;width:26px;height:26px}.timeline{padding:8px 22px 0}.timeline-item{position:relative;padding:0 0 27px 28px;border-left:1px solid #96b9ec;margin-left:8px}.timeline-item:before{content:'';position:absolute;left:-5px;top:7px;width:9px;height:9px;border-radius:50%;background:#4c8bdb}.timeline-label{font-size:10px;color:#7299cb;margin-bottom:7px}.timeline-item h2{font:700 20px var(--display);margin:0 0 15px}.timeline-item:last-child{border-color:transparent}.list-row{display:flex;align-items:center;gap:11px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;min-height:50px;width:100%;text-align:left}.list-row:last-child{border:0}.list-row .grow{flex:1}.list-row small{font-size:10px;color:var(--muted)}.list-row>svg{color:#5e89bd;width:19px;height:19px}.todo input{accent-color:var(--river);width:17px;height:17px;flex-shrink:0}.todo:has(input:checked) .todo-title{color:#7892b2}.learning-promo{margin:0 20px 20px;background:#f3f7fc;border-radius:15px;display:grid;grid-template-columns:1.1fr 1fr;overflow:hidden}.learning-promo>div{padding:20px 15px}.learning-promo h2{font:700 21px/1.6 var(--display);margin:0 0 8px}.learning-promo p{font-size:11px;color:var(--muted);margin:0}.learning-promo img{width:100%;height:100%;object-fit:cover}.profile-hero{position:relative;display:flex;gap:19px;align-items:center;padding:37px 24px 45px;overflow:hidden}.profile-hero .avatar{width:85px;height:85px;object-fit:cover;border-radius:50%;z-index:1}.profile-hero h1{font:700 31px var(--display);margin:0 0 12px;color:#23374f}.profile-hero p{margin:0 0 10px;color:var(--muted);font-size:13px}.profile-hero .skyline{position:absolute;right:-30px;bottom:0;width:220px;opacity:.24;pointer-events:none}.profile-hero>div{position:relative}.student-profile{margin:0 24px 5px}.student-profile summary{font:700 21px var(--display);cursor:pointer;color:var(--river-deep);padding:17px 0;border-bottom:1px solid var(--line)}.student-profile summary::marker{color:#89a3c3}.profile-menu{padding:5px 24px}.profile-menu .list-row{font-size:16px;min-height:66px;gap:17px}.profile-menu .list-row>svg:first-child{width:24px;height:24px;color:#316ba9}.profile-menu .list-row>svg:last-child{height:17px;width:17px;color:#8c99a9}.join-banner{margin:20px 22px 0;min-height:190px;position:relative;overflow:hidden;border-radius:13px;padding:24px}.join-banner>img{position:absolute;right:0;top:0;height:100%;width:60%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 35%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 35%)}.join-banner{background:#eff5fc}.join-banner h2{position:relative;font:700 26px var(--display);color:var(--river-deep);margin:0 0 13px}.join-banner p{position:relative;font-size:12px;color:var(--muted);max-width:48%;margin:0}.join-banner .text-link{position:relative;margin-top:10px}
dialog{border:0;border-radius:24px;padding:0;background:#fff;color:var(--ink);width:min(calc(100% - 24px),520px);max-height:85dvh;box-shadow:0 25px 100px #183b7140}dialog::backdrop{background:#17385b62;backdrop-filter:blur(5px)}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:17px 22px 13px;position:sticky;top:0;background:#fffffff5;border-bottom:1px solid var(--line);z-index:2}.sheet-head h2{font:700 22px var(--display);margin:0}.sheet-head .icon-button{background:#f2f6fb;border-radius:50%;width:32px;height:32px}.sheet-head svg{width:18px}.sheet-body,#sheet-body{padding:22px;overflow-wrap:anywhere}#sheet-body p{font-size:13px;color:#738198}#sheet-body h3{font-size:16px;color:var(--river-deep)}#sheet-body .reference-image{width:100%;height:auto}#sheet-body .mini-teacher{padding:13px 0}#sheet-body .form-body{padding:0}.success-icon{width:66px;height:66px;background:#edf6ff;color:#2876dc;border-radius:50%;margin:8px auto 19px;display:grid;place-items:center}.success-icon svg{width:33px;height:33px}.success-copy{text-align:center}.toast{position:fixed;z-index:100;left:50%;bottom:105px;transform:translate(-50%,10px);background:#234363f2;color:#fff;padding:12px 20px;border-radius:13px;box-shadow:0 4px 20px #0002;font-size:12px;max-width:calc(100% - 44px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;font-size:13px}.switch-row input{accent-color:var(--river);width:20px;height:20px}.field-label{display:block;font-size:12px;color:var(--muted);margin:14px 0 7px}.help-detail{border-bottom:1px solid var(--line);padding:15px 0}.help-detail summary{font-size:14px;cursor:pointer}.help-detail p{line-height:1.9}.page-fade{animation:arrive .2s ease-out}@keyframes arrive{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media(min-width:700px){body{padding-top:18px}.app-shell{border-radius:22px 22px 0 0}.topbar{border-radius:22px 22px 0 0}}@media(max-width:360px){.topbar{padding:0 15px;gap:8px}.top-caption{font-size:9px}.hero{padding-left:20px;padding-right:20px}.section,.form-body{padding-left:19px;padding-right:19px}.story-copy{padding:17px 11px}.story-copy h2{font-size:25px}.teacher-meta{font-size:10px}.choice span{padding:8px 13px}.nav-item{font-size:9px}.services strong{font-size:14px}.detail-hero h1{font-size:28px}.detail-hero blockquote{font-size:17px}.detail-row>div{padding:0 16px}.detail-row p{font-size:11px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.home-carousel{position:relative;overflow:hidden;background:#f4f8ff;border-radius:0 0 18px 18px;box-shadow:0 8px 24px rgba(30,95,180,.1)}.home-carousel-track{display:flex;width:300%;animation:jinshi-carousel 12.6s ease-in-out infinite}.home-carousel-track a{display:block;width:33.333%;flex:0 0 33.333%}.home-carousel-track img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.home-carousel-dots{position:absolute;bottom:10px;left:0;right:0;display:flex;justify-content:center;gap:6px}.home-carousel-dots i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.7);box-shadow:0 0 0 1px rgba(30,95,180,.25)}@keyframes jinshi-carousel{0%,27%{transform:translateX(0)}33%,60%{transform:translateX(-33.333%)}66%,93%{transform:translateX(-66.666%)}100%{transform:translateX(0)}}

.home-carousel-track{animation-duration:4s}.home-carousel-track a:nth-child(3){display:none}.home-carousel-track a{width:50%;flex-basis:50%}@keyframes jinshi-carousel{0%,42%{transform:translateX(0)}50%,92%{transform:translateX(-50%)}100%{transform:translateX(0)}}
.home-carousel-track{width:200%}

@media(prefers-reduced-motion:reduce){.home-carousel-track{animation:jinshi-carousel 4s ease-in-out infinite!important}}
.home-carousel-caption{position:absolute;left:24px;top:24px;color:#173d76;text-shadow:0 1px 8px rgba(255,255,255,.8)}.home-carousel-caption b{display:block;font:700 clamp(26px,6vw,48px)/1.2 var(--display)}.home-carousel-caption em{display:block;margin-top:8px;font:normal 14px var(--body);color:#315b8d}

/* dynamic-content.css */
/* Content can grow: no business label is baked into an image or clipped to a fixed text box. */
html{scroll-padding-bottom:125px}
.home-hero{min-height:300px;isolation:isolate;background:#f8fbfd;overflow:hidden}
.home-hero>img{position:absolute;right:0;bottom:0;width:78%;height:95%;object-fit:cover;object-position:left bottom;mask-image:linear-gradient(90deg,transparent,#000 33%);-webkit-mask-image:linear-gradient(90deg,transparent,#000 33%);z-index:-1}
.home-copy{padding:30px 24px 36px;max-width:79%}
.home-copy h1{font:700 clamp(29px,8vw,40px)/1.4 var(--display);letter-spacing:.5px;color:var(--river-deep);margin:0 0 17px;overflow-wrap:anywhere;text-shadow:0 1px 3px #fff}
.home-copy p{font-size:11px;color:#587695;line-height:1.9;margin:0;text-shadow:0 1px 3px #fff}
.story-copy,.detail-hero>*,.detail-row>*,.profile-hero>div,.grow,.result-chip>span,.reason>div,.mini-teacher>div,.space-copy,.learning-promo>div{min-width:0;overflow-wrap:anywhere}
.story-copy h2,.detail-hero h1,.profile-hero h1,.school-story h2,.section-title{overflow-wrap:anywhere}
.result-name{flex-wrap:wrap}.result-name h2{overflow-wrap:anywhere;min-width:0}
.teacher-meta{flex-wrap:wrap}.list-row{align-items:center}.receipt dd{white-space:normal;word-break:break-word}
.student-profile .list-row{padding:17px 0}.student-profile .grow strong{font-size:17px;line-height:1.8}
.profile-menu .list-row{line-height:1.7}.hero p{overflow-wrap:anywhere}
.sheet-head h2{min-width:0;overflow-wrap:anywhere}.sheet-head .icon-button{flex-shrink:0}
.school-story>p svg{height:14px;width:14px;vertical-align:middle}
.story-copy>.sample{align-self:flex-start}
button,a,input,textarea,select{scroll-margin-bottom:115px;scroll-margin-top:20px}
@media(max-width:360px){.home-copy{padding-left:20px;max-width:86%}.home-hero{min-height:285px}.home-copy h1{font-size:29px}.result-chip{align-items:flex-start}.result-chip .text-link{white-space:nowrap}}

/* motion.css */
/* Motion preserves the fixed nav and respects system reduced-motion preferences. */
html{--route-shift:8px;--motion-ease:cubic-bezier(.22,.61,.36,1)}
#app{view-transition-name:page-surface;animation:none}
.topbar{view-transition-name:topbar}
.motion-shared-portrait{view-transition-name:teacher-portrait}
.bottom-nav{view-transition-name:bottom-navigation;isolation:isolate}
.bottom-nav:before{content:'';position:absolute;z-index:-1;left:6px;top:6px;width:calc((100% - 12px)/6);height:61px;border-radius:25px;background:linear-gradient(#fff,#eff6ff);box-shadow:0 1px 8px #4483cf1a,inset 0 0 0 1px #fff;transform:translateX(calc(var(--nav-index,0)*100%));transition:transform .34s cubic-bezier(.22,.8,.24,1)}
.nav-item[aria-current=page]{background:transparent;box-shadow:none}
.nav-item{transition:color .22s ease,transform .18s ease}
.nav-item[aria-current=page] svg{transform:translateY(-1px);stroke-width:1.7}
.nav-item svg{transition:transform .24s ease,stroke-width .24s ease}
.primary,.secondary,.service,.quick-link,.list-row,.text-link,.map-pin{transition:transform .28s var(--motion-ease),background-color .2s,color .2s,box-shadow .25s}
.primary,.secondary{position:relative;overflow:hidden;isolation:isolate}
.motion-ripple{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;background:currentColor}
.primary .motion-ripple{background:#fff;z-index:0}
.motion-await{opacity:0}.motion-await:focus-within{opacity:1}
.motion-booking-identity{display:flex;align-items:center;gap:12px}
.motion-booking-identity img{width:68px;height:78px;object-fit:cover;border-radius:18px;box-shadow:0 5px 18px #244c6617}
.motion-booking-identity p{margin:0;color:var(--ink);font-weight:600}
.motion-booking-identity small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.rf-trial-offer{position:relative;overflow:hidden}
.rf-trial-offer:after{content:'';position:absolute;pointer-events:none;inset:-60% -30%;background:linear-gradient(110deg,transparent 43%,#ffffff80 50%,transparent 57%);transform:translateX(-100%);animation:offer-light .36s .35s var(--motion-ease) both}
.rf-purpose label span{transition:background-color .25s,border-color .25s,box-shadow .25s}
.rf-purpose input:checked+span,.choice input:checked+span{box-shadow:0 3px 12px #236bda13}
.rf-field input,.rf-field select,.rf-field textarea{transition:border-color .22s,box-shadow .22s,background-color .22s}
.rf-field:focus-within>span{color:var(--river)}
.rf-field :is(input,select,textarea):focus{box-shadow:0 0 0 4px #236bda0d;border-color:#7caaf0}
.rf-radar-area{transform-origin:160px 147px;animation:radar-grow .34s var(--motion-ease) both}
.primary:active,.secondary:active,.quick-link:active{transform:scale(.975)}
.service:active,.list-row:active,.text-link:active{transform:translateY(1px);background-color:#edf5fc66}
.choice span{transition:background-color .2s,border-color .2s,color .2s,box-shadow .2s,transform .16s}
.choice:active span{transform:scale(.955)}
.map-pin:active{transform:scale(.92)}
.todo input{transition:transform .18s}.todo input:checked{animation:check-in .24s ease-out}
.route-moving #app{animation:none}
dialog[open]{animation:sheet-in .22s var(--motion-ease)}
dialog[open]::backdrop{animation:backdrop-in .22s ease-out}
::view-transition-group(page-surface){animation-duration:.36s;animation-timing-function:var(--motion-ease)}
::view-transition-old(page-surface){animation:page-away .12s ease-out both}
::view-transition-new(page-surface){animation:page-enter .36s var(--motion-ease) both}
::view-transition-group(teacher-portrait){animation-duration:.28s;animation-timing-function:var(--motion-ease);overflow:clip;border-radius:18px}
::view-transition-old(teacher-portrait),::view-transition-new(teacher-portrait){height:100%;object-fit:cover}
::view-transition-old(topbar){animation:none;opacity:0}::view-transition-new(topbar){animation:none}
::view-transition-group(bottom-navigation){animation-duration:.28s}
::view-transition-old(bottom-navigation){animation:none;opacity:0}
::view-transition-new(bottom-navigation){animation:none}
::view-transition{pointer-events:none}
@keyframes page-enter{from{opacity:.08;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes page-away{from{opacity:1}to{opacity:0}}
@keyframes sheet-in{from{opacity:0;transform:translateY(22px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes check-in{50%{transform:scale(1.13)}}
.motion-task-layer{position:fixed;z-index:18;inset:74px max(0px,calc((100% - 560px)/2)) 100px;display:grid;place-items:center;padding:22px;pointer-events:none;background:radial-gradient(ellipse,#f5f9fff5 12%,#f4f8ffeb 38%,#f5f9ffad 60%,#f5f9ff00 78%);animation:backdrop-in 1.4s ease-out}
.motion-task-card{width:min(100%,380px);max-height:100%;overflow:auto;text-align:center;background:transparent;border:0;border-radius:0;box-shadow:none;padding:24px 20px 22px;animation:soft-reveal .34s var(--motion-ease)}
.motion-task-eyebrow{font-size:9px;font-weight:600;letter-spacing:2.2px;color:#7c98bb;margin:0}
.motion-task-card h2{font:700 25px/1.4 var(--display);color:var(--river-deep);margin:5px 0 12px}
.motion-task-copy{font-size:12px;line-height:1.9;color:#657e9e;min-height:44px;margin:0 auto 18px;max-width:280px}
.motion-task-card>small{font-size:10px;color:#8a9bb1;display:block;margin-top:19px}
.motion-orbit{position:relative;width:180px;height:180px;margin:10px auto 2px;display:grid;place-items:center}
.motion-orbit:before{content:'';position:absolute;inset:30px;border-radius:50%;background:#8abcff20;animation:core-breathe 2.6s ease-in-out infinite}
.motion-orbit-ring{position:absolute;inset:7px;border:1px solid #afcdf66b;border-radius:50%}
.motion-orbit-ring.secondary-ring{inset:23px;border-style:dashed;border-color:#9abced77;animation:orbit-turn 25s linear infinite reverse}
.motion-orbit-core{width:76px;height:76px;border-radius:24px;color:#fff;display:grid;place-items:center;background:linear-gradient(145deg,#75adfa,#246de2 75%);box-shadow:0 12px 30px #236bda40,inset 0 2px 2px #ffffff75;animation:core-float 3.2s ease-in-out infinite}
.motion-orbit-core svg{width:34px;height:34px;stroke-width:1.35}
.motion-satellite{position:absolute;inset:6px;animation:orbit-turn 4.5s linear infinite}
.motion-satellite:before{content:'';position:absolute;left:calc(50% - 5px);top:-4px;width:10px;height:10px;border-radius:50%;background:#5c97ed;box-shadow:0 0 0 5px #b7d6ff40}
.motion-satellite.second{inset:23px;animation-duration:6.5s;animation-direction:reverse}
.motion-satellite.second:before{width:7px;height:7px;left:calc(50% - 3.5px);background:#dfb87c;box-shadow:0 0 0 4px #f5e3c95c}
.motion-task-steps{display:flex;list-style:none;padding:0;margin:0;gap:8px;justify-content:center}
.motion-task-steps li{font-size:10px;color:#8c9db3;flex:1;position:relative;padding-top:17px}
.motion-task-steps li:before{content:'';position:absolute;left:calc(50% - 4px);top:0;width:8px;height:8px;border-radius:50%;background:#dce6f3;transition:background-color .25s,box-shadow .25s}
.motion-task-steps .is-current{color:var(--river)}.motion-task-steps .is-current:before{background:#4385e6;box-shadow:0 0 0 4px #c9dfff;animation:step-pulse 1.6s ease-in-out infinite}
.motion-task-steps .is-done{color:#4a78a9}.motion-task-steps .is-done:before{background:#71a7e9}
.motion-success-check{display:none;position:absolute;width:62px;height:62px;color:#fff;background:#3479d6;border-radius:23px;padding:10px;box-shadow:0 10px 25px #236bda30}
.is-complete .motion-success-check{display:block;animation:sheet-in .4s var(--motion-ease)}
.is-complete .motion-success-check path{stroke-dasharray:45;stroke-dashoffset:45;animation:check-draw .4s .1s ease-out forwards;stroke-width:2.5}
.is-complete .motion-orbit-core,.is-complete .motion-satellite{opacity:0;animation:none}.is-complete .motion-orbit-ring{animation:none}
.motion-task-layer.is-leaving{animation:task-away 1.1s ease-in forwards}
@media(max-height:650px){.motion-task-card{padding:16px}.motion-orbit{width:130px;height:130px;margin:2px auto}.motion-task-eyebrow,.motion-task-card>small{display:none}.motion-task-copy{margin-bottom:8px}}
@media(hover:hover){.primary:hover{transform:translateY(-2px);box-shadow:0 8px 22px #236bda26}.secondary:hover{transform:translateY(-1px)}.teacher-story .story-image,.space-card>img{transition:transform .7s var(--motion-ease)}.teacher-story:hover .story-image{transform:scale(1.025)}}
@keyframes offer-light{to{transform:translateX(100%)}}@keyframes radar-grow{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}
@keyframes orbit-turn{to{transform:rotate(360deg)}}@keyframes core-float{50%{transform:translateY(-5px) rotate(3deg)}}
@keyframes core-breathe{50%{transform:scale(1.13);opacity:.5}}@keyframes step-pulse{50%{box-shadow:0 0 0 6px #c9dfff55}}
@keyframes check-draw{to{stroke-dashoffset:0}}@keyframes task-away{to{opacity:0}}@keyframes soft-reveal{from{opacity:.12;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.motion-await{opacity:1}.motion-success-check path{stroke-dashoffset:0!important}.motion-task-layer *{animation:none!important}.rf-trial-offer:after{display:none}}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}.bottom-nav:before{transition:none}}

/* Content settles quickly and remains interruptible. */
.motion-task-card h2{animation:soft-reveal .34s .1s both}.motion-task-copy{animation:soft-reveal .34s .2s both}.motion-task-steps{animation:soft-reveal .34s .3s both}
@media(prefers-reduced-motion:reduce){.motion-task-layer{animation:none!important}}

/* additions.css */
/* Additions to the approved mobile design; original composition is unchanged. */
.live-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;margin-top:7px;border-top:1px solid var(--line)}.live-toolbar button,.live-inline{display:flex;align-items:center;gap:7px;padding:7px 0;background:none;border:0;color:var(--river);font-size:12px}.live-toolbar svg,.live-inline svg{width:18px;height:18px}.live-note{font-size:11px;color:var(--muted);line-height:1.8}.live-source{font-size:10px;color:#7f8fa3;display:block;margin:7px 0}.live-load{padding:30px 23px;color:var(--muted);text-align:center;font-size:13px}.live-error{color:#ad624e;background:#fff7f4;border-radius:10px;padding:12px;font-size:12px;line-height:1.7}.live-extra{margin:20px 24px 0}.live-extra summary{font:700 21px var(--display);color:var(--river-deep);padding:18px 0;cursor:pointer}.live-extra .list-row{padding:17px 0}.live-extra .list-row svg{color:#4b7fb6}.live-empty{padding:24px 0;color:var(--muted);font-size:12px}.live-search-results .mini-teacher{margin:0;padding:17px 0;align-items:flex-start}.live-search-results .mini-teacher p{font-size:12px}.live-search-results .mini-teacher h3{font:700 22px/1.5 var(--display);margin:3px 0 7px}.live-search-options{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:12px 0 18px}.live-search-options label{display:flex;align-items:center;gap:5px}.live-search-options input{accent-color:var(--river)}.live-query-types{display:flex;gap:8px;margin:5px 0 17px}.live-query-types button{border:1px solid var(--line);background:#fff;border-radius:22px;padding:8px 18px;font-size:12px}.live-query-types button[aria-pressed=true]{color:var(--river);background:#f0f6ff;border-color:#bfd8f8}.live-report-block{padding:23px 0;border-bottom:1px solid var(--line)}.live-report-block h3{font:700 23px/1.6 var(--display);color:var(--river-deep);margin:0 0 12px}.live-report-block p{color:var(--muted);font-size:13px;line-height:1.9}.live-report-block ul{padding-left:20px;color:var(--ink);font-size:13px;line-height:1.9}.live-grade-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.live-grade-grid label{font-size:12px;color:var(--muted)}.live-grade-grid input,.live-grade-grid select{display:block;width:100%;min-height:42px;margin-top:8px;border:1px solid var(--line);border-radius:11px;background:white;padding:10px;color:var(--ink);font-size:13px}.live-services-list{display:grid;grid-template-columns:1fr;gap:0}.live-services-list .list-row{font-size:14px}.live-services-list .list-row small{font-size:11px}.live-chip{display:inline-block;font-size:10px;padding:3px 7px;margin-bottom:8px;border-radius:5px;background:#f0f6ff;color:#4b79af}.live-native-map{position:relative;height:360px;z-index:0;background:#edf4fa}.live-map-stage{position:relative;min-height:420px;background:#f6f9fd}.live-map-stage .map-content{position:relative;padding-bottom:20px}.live-map-stage .map-content h1{font:700 30px var(--display)}.live-map-stage .map-content p{font-size:12px;color:var(--muted)}.live-map-list .space-card{margin-top:18px}.live-map-label{padding:7px 20px;font-size:10px;color:var(--muted)}.live-pin{width:32px;height:32px;border-radius:50% 50% 50% 0;background:#2681e3;color:#fff;border:3px solid #fff;box-shadow:0 3px 12px #216fc340;transform:rotate(-45deg);display:grid;place-items:center}.live-pin span{transform:rotate(45deg);font-size:11px}.live-native-map .leaflet-popup-content{font-family:var(--body);font-size:12px;line-height:1.7}.live-native-map .leaflet-popup-content button{border:0;background:#f2f7ff;color:var(--river);padding:9px;border-radius:8px;margin-top:8px}.live-progress{display:block;width:42px;height:42px;border:1px solid #d7e6fa;border-top:2px solid #4c8ee0;border-radius:50%;animation:live-spin 1s linear infinite;margin:15px auto}.live-avatar-note{position:absolute;bottom:0;left:4px;font-size:9px;color:#7f96b2;background:#ffffffb3;border-radius:4px;padding:2px 5px}.profile-hero{position:relative}.live-auth-button{background:none;border:0;color:#4286d1;font-size:11px;padding:7px 0}.live-profile-stats{font-size:11px;color:var(--muted)}.live-service-dialog{padding:0;width:min(100% - 16px,720px);max-width:none;height:89dvh;max-height:89dvh;border:1px solid white;background:#fff;border-radius:24px;overflow:hidden}.live-service-dialog>header{height:60px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 21px;border-bottom:1px solid var(--line);background:#fff}.live-service-dialog h2{font:700 22px var(--display);margin:0;color:var(--river-deep)}.live-service-dialog>iframe{display:block;border:0;width:100%;height:calc(100% - 60px);background:#fff}.live-service-dialog>header button{border:0;background:#f2f6fb;border-radius:50%;width:32px;height:32px;color:#587a9e}.live-service-dialog::backdrop{background:#1b385969;backdrop-filter:blur(9px)}dialog[open],.live-service-dialog[open]{animation:live-sheet .36s cubic-bezier(.2,.8,.2,1)}dialog::backdrop{animation:live-backdrop .28s ease-out}dialog.closing{animation:live-close .18s ease-in forwards}dialog.closing::backdrop{animation:live-backdrop-out .18s ease-in forwards}.primary,.secondary,.icon-button,.list-row,.quick-link,.choice span,.nav-item{transition:transform .18s cubic-bezier(.2,.7,.2,1),background .2s,color .2s,box-shadow .2s}.primary:active,.secondary:active,.quick-link:active,.icon-button:active{transform:scale(.96)}.list-row:active{background:#f3f8ff;transform:scale(.99)}.bottom-nav:before{transition-duration:.4s;transition-timing-function:cubic-bezier(.18,.82,.22,1.08)}.list-row small{line-height:1.65}.live-more-match{padding:15px 0;border-top:1px solid var(--line);margin-bottom:20px}.live-more-match summary{font-size:12px;color:var(--river);cursor:pointer}.live-detail-actions{display:flex;flex-wrap:wrap;gap:12px;padding:16px 24px}.live-photo-caption{font-size:9px;color:var(--muted);padding:5px 24px}.live-teacher-price{font-size:13px;color:var(--river);margin-top:10px}.live-area{background:#f3f8fe;border-radius:11px;padding:13px;margin:14px 0;font-size:12px;color:#5d7ea2}.live-report-summary{font-size:13px;color:var(--ink);line-height:1.9}.live-history-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;padding:18px 0}.live-history-item b{display:block;font-size:14px;font-weight:500;color:var(--ink)}.live-history-item small{font-size:11px;color:var(--muted);display:block;margin-top:7px}.live-availability{font-size:12px;color:var(--muted);line-height:1.8}.live-loading-line{font-size:11px;color:#7e9bbc;margin:10px 24px}.top-actions{gap:2px}.top-actions .icon-button{width:29px}.top-caption{font-size:10px}.space-card .space-copy h2{overflow-wrap:anywhere}.teacher-meta,.story-copy h2,.school-story h2{overflow-wrap:anywhere}.teacher-story .story-copy{min-width:0}#sheet-body .search{margin:0 0 12px}.live-search-status{text-align:center;padding:20px 0;color:var(--muted);font-size:12px}.live-search-results .result-chip{font-size:10px;margin:15px 0}.live-reason{font-size:11px;color:#6c88a8;line-height:1.8}.live-search-results h3{font-family:var(--display)}.live-pagination{display:flex;justify-content:center;gap:20px;align-items:center;font-size:12px;color:var(--muted);padding:20px}.live-pagination button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 15px;color:var(--river)}
.live-map-stage{height:460px;min-height:460px}.live-map-stage>.live-native-map{position:absolute;inset:0;height:100%}.live-map-stage>.map-content{z-index:450;pointer-events:none;background:linear-gradient(#fff,#fffffff0 70%,#ffffff00);padding-bottom:20px}.live-map-stage>.map-content input,.live-map-stage>.map-content select,.live-map-stage>.map-content button{pointer-events:auto}.live-map-stage>.live-map-label{position:absolute;z-index:450;bottom:24px;left:47px;right:0;pointer-events:none;background:#ffffffa8;font-size:9px}.live-service-dialog .live-progress{position:absolute;top:40%;left:45%}
@keyframes live-sheet{from{opacity:0;transform:translateY(30px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes live-close{to{opacity:0;transform:translateY(15px) scale(.985)}}@keyframes live-backdrop{from{background:#1b385900;backdrop-filter:blur(0)}to{background:#1b385969;backdrop-filter:blur(9px)}}@keyframes live-backdrop-out{to{background:#1b385900;backdrop-filter:blur(0)}}@keyframes live-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:360px){.top-caption{display:none}.live-grade-grid{grid-template-columns:1fr}.live-service-dialog>header{padding:0 16px}.live-service-dialog h2{font-size:20px}}

.live-map-stage>.map-content{padding:24px 24px 16px}.live-map-stage .leaflet-tile-pane{filter:saturate(.48) contrast(.92)}.live-map-stage .live-toolbar{background:#ffffffc9;border-radius:12px;padding:4px 9px}.live-toolbar button{min-height:38px}.story-copy blockquote{overflow-wrap:anywhere}.list-row .grow{min-width:0;overflow-wrap:anywhere}

/* assets/vendor/leaflet/leaflet.css */
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url("/assets/vendor/leaflet/images/layers.png");
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url("/assets/vendor/leaflet/images/layers-2x.png");
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url("/assets/vendor/leaflet/images/marker-icon.png");
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}

/* home-carousel.css */
/* Reserve the actual image ratio. HTML width/height attributes must never
   make the mobile carousel 1440px tall. Both slides share the same viewport. */
.home-carousel { width:100%; height:auto; aspect-ratio:16/9; position:relative; overflow:hidden; }
.home-carousel-track { display:flex; width:200%; height:100%; animation:none !important; transform:translate3d(0,0,0); transition:transform 420ms cubic-bezier(.22,.8,.24,1); }
.home-carousel-track > .home-carousel-slide { position:relative; display:block; flex:0 0 50%; width:50%; height:100%; min-width:0; }
.home-carousel-track img { display:block; width:100%; height:100%; max-height:100%; aspect-ratio:16/9; object-fit:cover; }
.home-carousel-dots { position:absolute; bottom:4px; left:0; right:0; display:flex; justify-content:center; gap:2px; }
.home-carousel-dots button { width:28px; height:28px; padding:10px; display:grid; place-items:center; border:0; background:none; border-radius:50%; }
.home-carousel-dots button::before { content:""; width:6px; height:6px; border-radius:50%; background:#ffffff99; box-shadow:0 0 0 1px #3065a84d; }
.home-carousel-dots button[aria-pressed="true"]::before { background:#fff; box-shadow:0 0 0 1px #2260b0,0 1px 5px #15428255; }
.home-carousel-dots button:focus-visible { outline:2px solid #0a60d9; outline-offset:-2px; }
.home-carousel-caption { pointer-events:none; }
@media (max-width:380px) { .home-carousel-caption { left:18px; top:18px; } .home-carousel-caption b { font-size:26px; } }
@media (prefers-reduced-motion:reduce) { .home-carousel-track { animation:none !important; transition:none !important; } }

/* refinements.css */
/* Approved river-blue artwork stays in place; real controls and data share its rhythm. */
:root{--rf-blue:#216cd6;--rf-deep:#153b64;--rf-muted:#738399;--rf-line:#e7edf5;--rf-paper:#f5f8fc;--rf-ease:cubic-bezier(.2,.8,.2,1)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rf-section{padding:28px 24px}.rf-section+.rf-section{border-top:1px solid var(--rf-line)}.rf-section h2{font:700 24px/1.55 var(--display);color:var(--rf-deep);margin:0 0 18px}.rf-section h3{font-size:16px;line-height:1.6;font-weight:500}.rf-paper{background:linear-gradient(150deg,#f4f8fe,#fff 75%)}.rf-section-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.rf-section-head>svg{width:32px;height:32px;color:#80a6d4}.rf-section-head .eyebrow{margin:0 0 8px}.rf-caption{font-size:12px;line-height:1.8;color:var(--rf-muted);margin:12px 0}.rf-caption.center{text-align:center}.rf-provenance{font-size:11px;color:var(--rf-muted);padding:0 24px;line-height:1.8;margin:0 0 18px}.rf-body-copy{font-size:14px;line-height:2.1;color:#56667a;white-space:pre-line}.rf-inline-hint{font-size:13px!important;line-height:1.85!important;padding:15px 17px;background:#edf5ff;border-left:2px solid #88b7f4;border-radius:0 12px 12px 0;color:#4c6c91!important;margin:14px 0 24px}.rf-loading{display:flex;align-items:center;gap:10px;min-height:90px;justify-content:center;color:var(--rf-muted);font-size:13px}.rf-empty{padding:32px 12px;text-align:center}.rf-empty>svg{height:30px;width:30px;color:#80a6d4;display:block;margin:0 auto 12px}.rf-empty h3{font:600 20px/1.6 var(--display);color:var(--rf-deep);margin:0 0 10px}.rf-empty p{font-size:13px;line-height:1.9;color:var(--rf-muted);margin:0 auto 20px;max-width:340px}.rf-empty .secondary{display:inline-flex}
.teacher-story[data-teacher-link]{cursor:pointer}.teacher-story .story-photo{display:block;min-width:0;overflow:hidden}.teacher-story .story-photo img{width:100%;height:100%;min-height:280px;object-fit:cover;transition:transform .5s var(--rf-ease)}.teacher-story .story-copy h2 a{color:inherit}.teacher-story:active .story-photo img{transform:scale(1.025)}.rf-teacher-hero{align-items:stretch}.rf-teacher-hero>img{object-fit:cover;min-height:340px}.rf-teacher-hero .story-copy{padding:24px 16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.rf-teacher-hero h1{font-size:32px;overflow-wrap:anywhere}.rf-teacher-hero blockquote{font-size:18px;margin:20px 0}.rf-profile-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:24px 16px 18px;gap:4px}.rf-profile-facts>div{text-align:center;border-right:1px solid var(--rf-line)}.rf-profile-facts>div:last-child{border:0}.rf-profile-facts strong{display:block;font-size:27px;line-height:1.4;letter-spacing:-1px;color:var(--rf-deep);font-weight:500;font-variant-numeric:tabular-nums}.rf-profile-facts strong small{font-size:12px;letter-spacing:0}.rf-profile-facts span{display:block;font-size:10px;color:var(--rf-muted);margin-top:6px}.rf-profile-facts.rf-three{grid-template-columns:repeat(3,minmax(0,1fr));padding:5px 0 30px}.rf-radar>svg{width:100%;height:auto;max-height:300px;display:block;overflow:visible;fill:var(--rf-blue);stroke:none}.rf-radar-grid{fill:none;stroke:#d8e6f6;stroke-width:1}.rf-radar>svg text{font:12px 'Microsoft YaHei',sans-serif;fill:#547295;stroke:none}.rf-radar-area{fill:#2d7bde24;stroke:#357ed8;stroke-width:1.8;stroke-linejoin:round;animation:rf-radar-reveal .45s var(--rf-ease)}.rf-radar dl{display:flex;gap:4px;justify-content:space-between;text-align:center;margin:0}.rf-radar dl>div{flex:1}.rf-radar dt{font-size:10px;color:var(--rf-muted)}.rf-radar dd{margin:7px 0;font-size:18px;color:var(--rf-deep)}.rf-radar dd small{font-size:10px;color:var(--rf-muted)}.rf-score-notes{display:flex;gap:10px;justify-content:space-between;border-top:1px solid var(--rf-line);padding-top:17px}.rf-score-notes>span{font-size:11px;color:var(--rf-muted)}.rf-score-notes b{display:block;margin-top:8px;font-size:17px;font-weight:500;color:var(--rf-deep)}.rf-score-notes b small{font-size:11px;color:var(--rf-muted)}.rf-case{padding:14px 0;border-bottom:1px solid var(--rf-line)}.rf-case p{font-size:13px;line-height:1.8;color:var(--rf-muted)}.rf-case-scores{display:flex;align-items:center;gap:20px;color:var(--rf-blue)}.rf-case-scores>span{font-size:32px}.rf-case-scores small{display:block;font-size:11px;color:var(--rf-muted)}.rf-photo-caption{position:relative;margin-top:20px;overflow:hidden;border-radius:12px}.rf-photo-caption img{width:100%;height:210px;object-fit:cover}.rf-photo-caption>span{display:block;font-size:10px;color:var(--rf-muted);padding:9px 0;background:white}.rf-detail-list{margin:0}.rf-detail-list>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid var(--rf-line);font-size:13px;line-height:1.9}.rf-detail-list dt{color:var(--rf-muted)}.rf-detail-list dd{margin:0;color:#365370;overflow-wrap:anywhere;white-space:pre-line}.rf-video{margin:15px 0}.rf-video video{width:100%;border-radius:12px}.rf-video figcaption{font-size:12px;color:var(--rf-muted);padding:8px 0}.rf-review{margin:10px 0;padding:16px;border-left:2px solid #a9c8ef;font-size:14px;line-height:1.9;background:#f7faff}.rf-review small{display:block;font-size:11px;color:var(--rf-muted);margin-top:10px}.rf-availability{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:16px;margin-bottom:24px}.rf-availability img{height:170px;object-fit:cover;border-radius:12px}.rf-availability p{font-size:12px;color:var(--rf-muted);line-height:1.9}.rf-match-invite{display:flex;justify-content:center;align-items:center;gap:8px;padding:20px 0 0;font-size:12px;color:#4f79a7}
.rf-search-assist{display:flex;align-items:center;gap:12px;margin:14px 0 5px;padding:16px 0;color:var(--rf-deep);border-top:1px solid var(--rf-line)}.rf-search-assist>span{width:40px;height:40px;flex-shrink:0;border:1px solid #dbe9fa;border-radius:50%;display:grid;place-items:center;background:#f4f8ff;color:var(--rf-blue)}.rf-search-assist>div{flex:1}.rf-search-assist strong{font-size:13px;font-weight:500}.rf-search-assist small{display:block;font-size:11px;line-height:1.7;color:var(--rf-muted);margin-top:5px}.rf-search-assist>svg{width:17px;flex-shrink:0}.rf-button-arrow{margin-left:auto;font-size:23px;font-weight:400}.home-finder .primary{border-radius:16px;padding:14px 20px;background:linear-gradient(120deg,#2979e5,#135fc5);box-shadow:0 5px 15px #246ad320;font-weight:500}.home-finder .primary>svg{width:23px;height:23px;stroke-width:1.5}.rf-match-form .question{margin-bottom:32px}.rf-match-form legend{font-size:17px;line-height:1.7}.rf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}.rf-field{display:block;min-width:0;margin:12px 0}.rf-field>span{display:block;font-size:12px;color:#5e7188;margin:0 0 9px}.rf-field input,.rf-field select,.rf-field textarea{display:block;width:100%;min-width:0;min-height:46px;border:1px solid #dfe7f1;border-radius:12px;padding:12px;background:#fff;color:#24435f;font-size:14px;transition:border-color .2s,box-shadow .2s}.rf-field input:focus,.rf-field select:focus,.rf-field textarea:focus{outline:none;border-color:#80aef0;box-shadow:0 0 0 3px #2d7cdf12}.rf-field input::placeholder,.rf-field textarea::placeholder{color:#96a4b6;font-size:12px}.rf-field textarea{resize:vertical;line-height:1.8}.rf-fields>.rf-field{margin:0}.rf-purpose{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rf-purpose label{position:relative;cursor:pointer}.rf-purpose input{position:absolute;opacity:0}.rf-purpose label>span{border:1px solid #dfe7f1;border-radius:14px;padding:16px 12px;display:block;background:#fff;transition:background .2s,border-color .2s,transform .2s}.rf-purpose strong{font-size:14px;font-weight:500;display:block}.rf-purpose small{font-size:10px;color:var(--rf-muted);display:block;margin-top:6px}.rf-purpose input:checked+span{border-color:#7facf0;background:#f1f7ff;color:var(--rf-blue);box-shadow:inset 0 0 0 .5px #7facf0}.rf-purpose input:focus-visible+span{outline:2px solid var(--rf-blue);outline-offset:3px}.rf-purpose label:active>span{transform:scale(.98)}.rf-service-chips{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 15px}.rf-service-chips button{padding:9px 12px;border-radius:20px;background:#ffffffd9;border:1px solid #dce7f4;font-size:12px;color:#456485;transition:background .2s,color .2s}.rf-service-chips button[aria-pressed=true]{color:#fff;background:#226ccd;border-color:#226ccd}.live-map-stage:has(.rf-service-chips) .map-content{padding-bottom:15px}.rf-tool-hero{min-height:250px}.rf-tool-hero h1{font-size:32px;max-width:100%;line-height:1.65}.rf-tool-hero>p{font-size:13px;max-width:92%;line-height:1.9}.rf-tool-hero>.hero-art{opacity:.47}.rf-learning-tools{margin:0 24px 30px}.rf-action-row{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid var(--rf-line);text-align:left;min-width:0}.rf-action-row>span:nth-child(2){flex:1;min-width:0}.rf-action-row strong{display:block;font-size:15px;font-weight:500;color:var(--rf-deep);line-height:1.6}.rf-action-row small{display:block;font-size:11px;color:var(--rf-muted);line-height:1.8;margin-top:4px}.rf-action-row>svg{width:17px;height:17px;color:#83a0bd;flex-shrink:0}.rf-glyph{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;color:#447bbd;border:1px solid #e2ecf8;border-radius:12px;background:#f7faff}.rf-glyph svg{width:22px;height:22px;stroke-width:1.5}.rf-action-row:hover .rf-glyph{background:#edf5ff}.rf-action-row:active{transform:translateX(2px)}.rf-upload{position:relative;display:flex;align-items:center;flex-direction:column;padding:35px 16px;margin:25px 0 10px;border:1px dashed #abc9ef;border-radius:16px;background:#f6faff;text-align:center;cursor:pointer;overflow:hidden}.rf-upload>svg{height:30px;width:30px;color:#5b95d8}.rf-upload>strong{font-size:16px;font-weight:500;margin:13px 0 7px;color:var(--rf-deep)}.rf-upload>span{font-size:11px;color:var(--rf-muted)}.rf-upload input{display:block;font-size:12px;width:100%;margin-top:18px;color:var(--rf-muted)}.rf-file-summary{font-size:11px;color:var(--rf-muted);overflow-wrap:anywhere;line-height:1.8}.rf-form-status{font-size:13px;line-height:1.8;margin:12px 0;white-space:pre-line}.rf-tabs{display:flex;gap:5px;padding:5px;border-radius:14px;background:#edf3fa;margin:0 0 23px}.rf-tabs button,.rf-tabs a{flex:1;padding:9px 3px;font-size:12px;border-radius:10px;text-align:center;color:#718398;transition:all .2s var(--rf-ease)}.rf-tabs [aria-pressed=true],.rf-tabs [aria-current=page]{background:#fff;color:var(--rf-blue);box-shadow:0 2px 5px #263f6510}.rf-record{padding:22px 0;border-bottom:1px solid var(--rf-line);display:block}.rf-record h2{font-size:22px;margin:14px 0 8px}.rf-record p{font-size:13px;line-height:1.9;color:var(--rf-muted)}.rf-record-top,.rf-record-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.rf-record-bottom{padding-top:12px;font-size:13px;color:var(--rf-blue)}.rf-record-bottom>span:last-child{display:flex;align-items:center;gap:8px}.rf-record-bottom svg{width:16px;height:16px}.rf-status{display:inline-block;font-size:11px;padding:5px 10px;border-radius:20px;background:#edf5ff;color:#4477b1}.rf-clickable-record{transition:background .2s}.rf-clickable-record:active{background:#f7faff}.rf-history-row{display:flex;gap:14px;padding:22px 0;width:100%;align-items:center;text-align:left;border-bottom:1px solid var(--rf-line)}.rf-history-row>span:nth-child(2){flex:1;min-width:0}.rf-history-row strong{display:block;font-size:14px;color:var(--rf-deep);font-weight:500;overflow-wrap:anywhere}.rf-history-row small{display:block;font-size:11px;color:var(--rf-muted);margin-top:8px}.rf-history-row>svg{width:16px;color:#8aa8c7;flex-shrink:0}.rf-history-dot{width:7px;height:7px;border-radius:50%;background:#80aaf0;box-shadow:0 0 0 5px #f1f6ff}.rf-advice{padding-left:24px;color:#486783;font-size:14px;line-height:2}.rf-advice li{margin:13px 0}.rf-progress-copy{display:flex;align-items:center;gap:20px;padding-bottom:25px;border-bottom:1px solid var(--rf-line);margin-bottom:10px}.rf-progress-copy strong{font-size:36px;font-weight:500;color:var(--rf-blue)}.rf-progress-copy small{font-size:18px;color:#8daccd}.rf-progress-copy>span{font-size:12px;color:var(--rf-muted)}.rf-code-row{display:flex;align-items:end;gap:10px}.rf-code-row>.rf-field{flex:1;min-width:0}.rf-code-row>button{margin-bottom:12px;white-space:nowrap;min-height:46px;font-size:12px;padding:8px 12px}.rf-status-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#f2f7ff;padding:18px;border-radius:12px;margin:0 0 16px}.rf-status-banner>span{display:flex;align-items:center;gap:9px;font-size:12px;color:#6785a5}.rf-status-banner strong{font-size:14px;font-weight:500;color:var(--rf-blue)}
.rf-service-heading{padding:24px 24px 18px;border-bottom:1px solid var(--rf-line)}.rf-service-heading h1{font:700 28px/1.5 var(--display);color:var(--rf-deep);margin:9px 0}.rf-service-heading p:not(.eyebrow){font-size:12px;line-height:1.8;color:var(--rf-muted);margin:8px 0}.rf-engine-wrap{position:relative;min-height:570px}.rf-engine{display:block;width:100%;height:max(620px,calc(100dvh - 165px));border:0;background:#fff;opacity:0;transition:opacity .22s var(--rf-ease)}.rf-engine.ready{opacity:1}.rf-engine-loading{position:absolute;top:50px;left:24px;right:24px;text-align:center;font-size:13px;color:var(--rf-muted)}.rf-service-mode .page-footer{display:none}.rf-admin-mode .app-shell{max-width:1200px}.rf-admin-mode .bottom-nav{display:none}.rf-admin-mode{padding-bottom:0!important}.rf-admin-mode .rf-engine{height:calc(100dvh - 208px);min-height:650px}.rf-admin-mode .topbar{max-width:none}.rf-professional-links{margin-top:22px;border-top:1px solid var(--rf-line)}
@keyframes rf-radar-reveal{from{opacity:0}to{opacity:1}}
@media(min-width:700px){.rf-section{padding:32px}.rf-teacher-hero>img{min-height:390px}.rf-radar{display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:15px}.rf-radar dl{display:block;text-align:left}.rf-radar dl>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--rf-line)}.rf-radar dt{font-size:12px}.rf-radar dd{font-size:20px}.rf-radar dd small{font-size:11px}}
@media(max-width:380px){.rf-section{padding:25px 20px}.rf-profile-facts strong{font-size:23px}.rf-teacher-hero h1{font-size:27px}.rf-teacher-hero .story-copy{padding:18px 12px}.rf-teacher-hero>img{min-height:300px}.rf-teacher-hero blockquote{font-size:16px}.rf-fields{gap:14px 10px}.rf-purpose small{font-size:9px}.rf-service-chips{gap:5px}.rf-service-chips button{padding:8px 10px;font-size:11px}.rf-tool-hero h1{font-size:29px}.rf-availability{grid-template-columns:1.2fr .8fr;gap:10px}.rf-availability h2{font-size:21px}.rf-score-notes{gap:6px}.rf-detail-list>div{grid-template-columns:80px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.rf-radar-area{animation:none}.rf-engine,.rf-purpose label>span,.teacher-story .story-photo img{transition:none}}

.app-shell{view-transition-name:none}#app{view-transition-name:page-surface}.route-moving #app{pointer-events:none}::view-transition-group(page-surface){animation:none}.teacher-story.reverse>.story-photo{order:2}

html{scroll-behavior:auto} /* Route animations stay smooth; focusing a control must not move the hit target. */
.rf-match-form>.primary,.form-body:has(.rf-form-status)>.primary{position:sticky;bottom:106px;z-index:5;box-shadow:0 6px 20px #1a59932b,0 0 0 7px #fffffff2}
.form-body:has(.rf-form-status){padding-bottom:30px}
/* Mobile density: more useful information per screen, with reachable controls. */
.home-hero .home-copy h1{font-size:29px;line-height:1.4}.services{margin:8px 20px 0;padding:0 0 12px;gap:4px}.services .service{min-height:80px;padding:8px 2px;gap:3px}.services .service>svg:first-child{width:24px;height:24px;padding:3px}.services .service>svg:last-child{display:none}.services .service strong{font-size:12px;margin-top:3px;white-space:nowrap}.services .service small{font-size:9px;white-space:nowrap}
@media(max-width:600px){
  body{font-size:13px;line-height:1.6}.topbar{height:54px;padding:0 16px;gap:9px}.brand{font-size:26px}.topbar .icon-button{width:30px;height:36px}.top-caption{font-size:10px}.top-actions svg{width:19px;height:19px}
  .section,.rf-section{padding:20px 17px}.section.compact{padding-top:12px;padding-bottom:13px}.section-title,.rf-section h2{font-size:21px;line-height:1.45;margin-bottom:13px}.rf-section h3{font-size:14px}.section-copy,.rf-body-copy{font-size:12px;line-height:1.85}.eyebrow{font-size:10px;letter-spacing:.1em}.rf-section-head .eyebrow{margin-bottom:5px}
  .hero{padding:24px 18px 22px;min-height:210px}.hero.short{padding-top:24px;padding-bottom:17px;min-height:170px}.hero h1,.rf-tool-hero h1{font-size:27px;line-height:1.5;margin-bottom:12px}.hero p,.rf-tool-hero>p{font-size:12px;line-height:1.75;margin-top:8px}.hero .eyebrow{margin-bottom:10px}.rf-tool-hero{min-height:195px}.home-hero{min-height:253px}.home-copy{padding:24px 18px 22px;max-width:78%}.home-copy h1{font-size:29px;line-height:1.35;margin-bottom:13px}.home-copy p{font-size:10px}.home-finder{margin:0 16px 18px;padding:15px}.home-finder .primary{min-height:43px;padding:10px 14px;font-size:13px;border-radius:13px}.home-finder .mt{margin-top:12px}.services{margin:0 16px 18px;gap:8px}.services .service{padding:14px 9px;min-height:114px}.services strong{font-size:13px;white-space:nowrap}.services small{font-size:10px}.services .service>svg:first-child{width:27px;height:27px}.home-teaching{gap:11px}.home-teaching h3{font-size:14px}.home-teaching p{font-size:10px}
  .search{min-height:43px}.search input{font-size:12px;min-width:0}.search button{font-size:12px;padding-left:12px;padding-right:12px;white-space:nowrap}.filter label{font-size:10px}.filter select{min-height:40px;font-size:12px;padding:9px 20px 9px 10px}.filters{gap:8px}.live-toolbar{gap:8px;flex-wrap:wrap;margin:10px 0}.live-toolbar button{font-size:11px;padding:7px 9px;white-space:nowrap}.filter-summary{font-size:10px;margin:10px 0}.rf-search-assist{gap:10px;padding:11px 0;margin:9px 0}.rf-search-assist>span{height:33px;width:33px}.rf-search-assist strong{font-size:12px}.rf-search-assist small{font-size:10px;line-height:1.6}
  .teacher-story{margin-bottom:14px}.teacher-story .story-photo img{min-height:242px}.story-copy{padding:17px 13px}.story-copy h2{font-size:25px;margin:8px 0 12px}.story-copy .quote{font-size:14px;line-height:1.7;margin:12px 0}.teacher-meta{font-size:11px;gap:6px;margin:7px 0}.story-copy .text-link{font-size:12px;margin-top:8px}.sample{font-size:9px;padding:3px 7px}.rf-teacher-hero>img{min-height:285px}.rf-teacher-hero .story-copy{padding:17px 13px}.rf-teacher-hero h1{font-size:27px;line-height:1.45}.rf-teacher-hero blockquote{font-size:15px;line-height:1.8;margin:13px 0}.rf-teacher-hero .text-link{font-size:11px}.rf-profile-facts{padding:19px 12px 12px}.rf-profile-facts strong{font-size:24px}.rf-profile-facts span{font-size:9px;margin-top:4px}.rf-provenance{padding:0 17px;font-size:10px;margin-bottom:12px}.rf-radar>svg{max-height:238px}.rf-radar dd{font-size:16px}.rf-radar dt{font-size:9px}.rf-score-notes{padding-top:12px}.rf-score-notes b{font-size:15px;margin-top:5px}.rf-photo-caption{margin-top:15px}.rf-photo-caption img{height:180px}.rf-detail-list>div{padding:11px 0;font-size:12px;grid-template-columns:80px minmax(0,1fr)}.rf-caption{font-size:11px;line-height:1.7;margin:9px 0}.rf-empty{padding:23px 10px}.rf-empty h3{font-size:18px;margin-bottom:8px}.rf-empty p{font-size:12px;line-height:1.8;margin-bottom:15px}
  .form-body{padding:18px 17px 24px}.question,.rf-match-form .question{margin-bottom:22px}.question legend,.rf-match-form legend{font-size:15px;line-height:1.65;margin-bottom:13px}.question .step{font-size:12px;min-width:24px;height:26px;margin-right:8px}.choices{gap:8px}.choice span{padding:9px 13px;font-size:12px;min-height:40px;white-space:nowrap}.rf-fields{gap:13px 10px}.rf-field{margin:10px 0}.rf-field>span{font-size:11px;margin-bottom:6px}.rf-field input,.rf-field select,.rf-field textarea{font-size:12px;padding:10px 11px;min-height:42px;border-radius:10px}.rf-field input::placeholder,.rf-field textarea::placeholder{font-size:11px}.rf-purpose{gap:9px}.rf-purpose label>span{padding:12px 11px;border-radius:11px}.rf-purpose strong{font-size:13px}.rf-purpose small{font-size:10px;margin-top:4px;line-height:1.5}.rf-inline-hint{font-size:11px!important;line-height:1.7!important;padding:11px 13px;margin:9px 0 18px}.primary,.secondary{font-size:13px;min-height:43px;padding:10px 14px;white-space:nowrap}.actions{gap:10px}.rf-match-form>.primary,.form-body:has(.rf-form-status)>.primary{bottom:91px}.rf-upload{padding:24px 13px;margin-top:19px}.rf-upload>strong{font-size:14px}.rf-upload input{font-size:11px}.rf-code-row>.secondary{font-size:11px;min-height:42px;padding:8px 10px}
  .profile-hero{padding:25px 18px 28px;gap:15px}.profile-hero .avatar{width:68px;height:68px}.profile-hero h1{font-size:27px;margin-bottom:7px}.profile-hero p{font-size:12px;margin-bottom:7px}.student-profile{margin:0 18px}.student-profile summary{font-size:19px;padding:13px 0}.student-profile .list-row{padding:12px 0}.student-profile .grow strong{font-size:15px}.profile-menu{padding:0 18px}.profile-menu .list-row{font-size:14px;min-height:53px;padding:12px 0;gap:13px}.profile-menu .list-row>svg:first-child{width:21px;height:21px}.join-banner{margin:17px 17px 0;min-height:159px;padding:20px}.join-banner h2{font-size:23px;margin-bottom:8px}.join-banner p{font-size:11px}.rf-professional-links{margin-top:18px}.rf-action-row{padding:15px 0;gap:12px}.rf-action-row strong{font-size:13px}.rf-action-row small{font-size:10px;line-height:1.7;margin-top:3px}.rf-glyph{width:34px;height:34px;border-radius:10px}.rf-glyph svg{width:19px;height:19px}.rf-learning-tools{margin:0 18px 20px}.quick-links{margin:0 17px 18px;padding:9px 3px;border-radius:13px}.quick-link{font-size:11px;min-height:57px;gap:4px}.quick-link svg{width:23px;height:23px}.timeline{padding:7px 18px 0}.timeline-item{padding-left:20px;padding-bottom:22px}.timeline-item h2{font-size:19px;margin-bottom:10px}.list-row{font-size:12px;padding:11px 0;min-height:46px}.learning-promo{margin:0 17px 17px}.learning-promo>div{padding:16px 13px}.learning-promo h2{font-size:20px}.rf-record{padding:18px 0}.rf-record h2{font-size:20px;margin:11px 0 7px}.rf-record p{font-size:12px}.rf-history-row{padding:17px 0;gap:12px}.rf-history-row strong{font-size:13px}.rf-history-row small{font-size:10px}.rf-tabs{margin-bottom:17px;padding:4px;gap:3px}.rf-tabs button,.rf-tabs a{padding:9px 3px;font-size:11px;white-space:nowrap}.rf-advice{font-size:12px;line-height:1.9}.rf-advice li{margin:10px 0}
  .map-content{padding:21px 17px!important}.map-content h1{font-size:25px!important}.rf-service-chips{gap:6px;margin:10px 0}.rf-service-chips button{padding:8px 10px;font-size:11px}.space-card{margin:14px 14px 20px}.space-card>img{height:184px}.space-copy{padding:16px}.space-copy h2{font-size:20px}.space-copy p{font-size:11px}.tags{gap:6px;margin:10px 0}.tags span{padding:4px 7px;font-size:10px}.space-card.alternate h2{font-size:19px}.space-card.alternate .space-copy{padding:15px 11px}.school-story{padding:16px 17px 24px}.school-story img{height:204px}.school-story h2{font-size:25px;margin-top:17px}.rf-service-heading{padding:19px 17px 15px}.rf-service-heading h1{font-size:25px}.rf-service-heading p:not(.eyebrow){font-size:11px}.rf-engine{height:max(580px,calc(100dvh - 150px))}
  .bottom-nav{bottom:12px;min-height:65px;padding:5px;gap:0;border-radius:29px}.nav-item{min-height:53px;padding:5px 2px;font-size:10px;gap:4px;white-space:nowrap}.nav-item svg{height:23px;width:23px}.bottom-nav:before{height:53px;top:6px;border-radius:23px}.page-footer{padding-bottom:102px;margin-top:25px}
}
@media(max-width:600px){
  .home-finder .rf-button-arrow{font-size:21px;line-height:1}.home-finder .primary{height:44px}.home-finder .live-toolbar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px;padding:5px 0 0;margin:10px 0 0}.home-finder .live-toolbar button{justify-content:center;gap:4px;padding:5px 0;font-size:10px;min-height:38px;white-space:nowrap}.home-finder .live-toolbar svg{width:15px;height:15px}
  .services{padding:8px 0 14px;margin-bottom:0}.services .service{padding:9px 2px;min-height:100px;gap:4px}.services strong{font-size:12px;margin-top:4px}.services .service>svg:last-child{height:15px;width:15px;padding:0;background:none}.services small{font-size:9px;white-space:nowrap}
  .teacher-story{min-height:240px}.teacher-meta{line-height:1.7}.hero.short h1{font-size:27px}.live-native-map{height:260px}.live-map-stage{min-height:0}.live-extra{margin:14px 17px 0}.live-extra summary{font-size:19px;padding:13px 0}.live-extra .list-row{padding:12px 0}
  .bottom-nav{height:65px;bottom:max(12px,env(safe-area-inset-bottom));width:min(calc(100% - 20px),528px)}.nav-item{height:53px}.rf-match-form>.primary,.form-body:has(.rf-form-status)>.primary{bottom:calc(79px + max(12px,env(safe-area-inset-bottom)))}
  .services{margin:8px 20px 0;padding:0 0 12px;gap:4px}.services .service{min-height:80px;padding:8px 2px;gap:3px}.services .service>svg:first-child{width:24px;height:24px}.services .service strong{margin-top:3px}
}

/* Nearby uses the approved mobile surface and the same river / paper tokens. */
.space-result-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 4px;color:var(--ink)}
.space-result-summary strong{font-size:14px;font-weight:600}
.space-result-summary p{margin:4px 0 0;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.space-result-summary button{min-height:44px;flex-shrink:0}
.live-map-stage .live-note{margin:8px 0;font-size:12px;color:var(--muted)}
.live-map-list .empty{padding:24px 22px}
.live-map-list .empty p{color:var(--muted);line-height:1.7}
#space-filters select:focus-visible{outline:3px solid var(--river-mist);outline-offset:2px}
@media(max-width:375px){.space-result-summary{padding-right:16px;padding-left:16px;gap:8px}.space-result-summary strong{font-size:13px}}

/* Keep the new booking identity compact on small phones. */
#app[data-motion-page=booking] .rf-trial-offer{gap:14px}
#app[data-motion-page=booking] .rf-trial-offer h2{font-size:26px;white-space:nowrap}
#app[data-motion-page=booking] .rf-trial-offer h2 small{display:inline;font-size:12px}
#app[data-motion-page=booking] .motion-booking-identity{flex-shrink:0}
@media(max-width:375px){.motion-booking-identity{gap:8px}.motion-booking-identity img{width:46px;height:58px}.motion-booking-identity p{font-size:12px}.motion-booking-identity small{font-size:9px}}

/* public-pages.css */
.public-score-table{overflow:auto;margin:18px 0}.public-score-table table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;line-height:1.7}.public-score-table th,.public-score-table td{padding:12px 9px;border-bottom:1px solid #e4eaf3;vertical-align:top}.public-score-table th{font-weight:500;color:#6d819d}.public-score-table small{display:block;color:#7285a0}.public-score-table .text-link{font-size:11px}.public-inline-form{margin-top:26px}.public-inline-form .primary{margin-top:14px}.public-result{font-size:13px;line-height:1.85;margin-top:20px}.public-result h2{font-size:20px}.public-result h3{font-size:15px}.rf-body-copy{white-space:pre-line}.public-space>.school-detail-cover{max-height:350px;object-fit:cover}.public-space .section-title{margin-top:12px}
.public-agency-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.public-agency-media:empty{display:none}
.public-agency-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:6px}
.public-agency-media video{grid-column:1/-1;width:100%;max-height:420px;background:#111;aspect-ratio:16/9;object-fit:contain;border-radius:6px}

/* agreement.css */
.agreement-confirm{margin:24px 0;padding:20px 0 4px;border:0;border-top:1px solid var(--line);min-width:0}.agreement-confirm legend{padding:0 12px 0 0;font-weight:600;color:var(--river-deep)}.agreement-draft{font-size:11px;line-height:1.8;color:#846442;background:#fbf4e9;padding:10px 12px;border-radius:10px}.agreement-important{margin:16px 0;padding:4px 0 4px 14px;border-left:2px solid #9abbe9;color:#405f83;font-size:12px;line-height:1.9}.agreement-important summary{font-weight:600;cursor:pointer}.agreement-important ul{margin:9px 0;padding-left:17px}.agreement-important li+li{margin-top:6px}.agreement-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:14px 0}.agreement-links a{font-size:12px;color:var(--river);text-underline-offset:3px;text-decoration:underline}.agreement-confirm>label{display:flex;align-items:flex-start;gap:10px;margin:16px 0;color:var(--ink);font-size:12px;line-height:1.9}.agreement-confirm input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:3px 0;accent-color:var(--river)}.agreement-confirm input:focus-visible{outline:3px solid #9abbe9;outline-offset:3px}.agreement-confirm>.text-link{font-size:11px}.agreement-document article{padding:16px 0;border-bottom:1px solid var(--line)}.agreement-document h3{font-size:15px;color:var(--river-deep)}.agreement-document article p{font-size:13px;line-height:2;color:#52677f}.agreement-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:19px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:13px}.agreement-row small{display:block;margin-top:7px;color:var(--muted);font-size:10px;overflow-wrap:anywhere}.agreement-row svg{width:18px;flex:0 0 auto}.agreement-archive{margin-top:24px;font-size:12px}.agreement-hash{display:block;overflow-wrap:anywhere;font-size:10px;line-height:1.8;color:var(--muted);margin-top:12px}.agreement-document details summary{cursor:pointer;margin:20px 0}.pricing-published{font-size:12px;color:#507697}.pricing-change{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.pricing-change h3{font-size:15px}.pricing-values{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.pricing-values strong{display:block;font:600 28px/1.6 var(--display);color:var(--river-deep)}.pricing-values small{font-size:11px;color:var(--muted)}.page-footer a{color:inherit;text-decoration:none}

.agreement-row[hidden]{display:none}.agreement-search{display:grid;gap:10px;margin-top:24px;font-size:13px;color:var(--river-deep)}.agreement-search input{width:100%;border:1px solid var(--line);border-radius:12px;background:#fff;padding:13px;font:inherit;color:var(--ink)}.agreement-search input:focus-visible{outline:2px solid #9abbe9;outline-offset:2px}

/* workflow.css */
.wf-form-fields{border:0;padding:0;margin:0;min-width:0}.wf-choices{border:0;padding:0;margin:20px 0}.wf-choices legend{font-size:13px;color:var(--rf-deep);margin-bottom:10px}.wf-choices label{display:inline-flex;align-items:center;gap:5px;margin:0 6px 8px 0;border:1px solid var(--rf-line);border-radius:12px;padding:8px;font-size:12px}.wf-choices input{accent-color:var(--rf-blue)}.wf-choices label:has(:checked){background:#edf5ff;color:var(--rf-blue);border-color:#91b6e5}.wf-image img{width:100px;height:100px;object-fit:cover;border-radius:18px;margin:8px 0}.wf-image small,.wf-entry small{display:block;font-size:11px;color:var(--rf-muted);line-height:1.6}.wf-entry>span{flex:1}.wf-entry strong{font-size:14px;font-weight:500}.wf-form-status,.wf-upload-status{font-size:12px;line-height:1.7;color:var(--rf-deep)}.wf-actions{display:flex;gap:8px;margin:18px 0 26px}.wf-actions>button{flex:1;font-size:13px;padding:12px 7px}.wf-history article{padding:14px 0;border-bottom:1px solid var(--rf-line);font-size:12px}.wf-history time{display:block;color:var(--rf-muted);margin-top:5px}.wf-history p,.wf-public p,.wf-preview-row p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.wf-preview-row{padding:10px 0;border-bottom:1px solid var(--rf-line)}.wf-preview-row strong{font-size:12px;color:var(--rf-muted)}.wf-time{display:grid;grid-template-columns:75px 1fr auto;gap:8px;padding:12px 0;border-bottom:1px solid var(--rf-line);font-size:12px;line-height:1.7}.wf-time small{color:var(--rf-muted)}#wf-preview{padding:16px;background:#f4f8fd;border-radius:16px;margin-top:16px}.wf-review-diff{margin:12px 0;display:grid;grid-template-columns:110px 1fr 1fr;gap:10px;font-size:13px}.wf-review-diff>div{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:#f5f8fc}.wf-review-diff strong{font-weight:500}.wf-review-diff img{width:90px;height:90px;object-fit:cover}.wf-review-item{margin:16px 0;padding:16px;border:1px solid #e2e9f2;border-radius:15px}.wf-review-item textarea{width:100%;min-height:65px;padding:10px;border:1px solid #dce6f2;border-radius:10px}.wf-review-item button{margin:8px 8px 0 0}.wf-review-status{font-size:12px;color:#516a89}@media(max-width:600px){.wf-review-diff{grid-template-columns:75px 1fr 1fr;font-size:11px;gap:5px}.wf-time{grid-template-columns:65px 1fr;font-size:11px}.wf-time small{grid-column:2}.wf-actions{position:sticky;bottom:85px;padding:8px;background:#fffefbdb;backdrop-filter:blur(12px);border-radius:15px}.wf-choices label{padding:7px;font-size:11px}}

/* service-pages.css */
.ns-form,.ns-admin{display:grid;gap:16px}.ns-form .rf-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ns-form .rf-field input,.ns-form .rf-field select,.ns-form .rf-field textarea,.ns-admin input,.ns-admin select,.ns-admin textarea{width:100%;box-sizing:border-box}.ns-choices{border:0;padding:0;margin:0}.ns-choices legend{font-weight:650;margin-bottom:8px}.ns-choices{display:flex;flex-wrap:wrap;gap:8px}.ns-choices label{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--line,#dbe5f2);border-radius:999px;background:#fff}.ns-choices input:checked+span{color:var(--river,#1769d5);font-weight:650}.ns-check{display:flex;align-items:flex-start;gap:8px}.ns-check input{margin-top:4px}.ns-tabs{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:none}.ns-tabs a{white-space:nowrap;padding:9px 13px;border:1px solid var(--line,#dbe5f2);border-radius:999px;color:inherit;text-decoration:none;background:#fff}.ns-tabs a[aria-current=page]{background:var(--river,#1769d5);border-color:var(--river,#1769d5);color:#fff}.ns-record{padding:16px;border:1px solid var(--line,#e1e8f2);border-radius:16px;background:#fff}.ns-record+.ns-record{margin-top:10px}.ns-record h3{margin:0 0 6px}.ns-form-status{min-height:1.4em;color:#b42318}.ns-inline-hint,.rf-caption{color:#6d7c90}.ns-admin{padding:20px;max-width:1100px;margin:auto}.ns-admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.ns-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ns-admin-card{padding:16px;border-radius:16px;background:linear-gradient(145deg,#f7fbff,#fff);border:1px solid #dce8f5}.ns-admin-card strong{display:block;font-size:1.55rem;margin-top:5px;color:#114a93}.ns-admin-table{width:100%;border-collapse:collapse;font-size:.92rem}.ns-admin-table th,.ns-admin-table td{padding:10px 8px;border-bottom:1px solid #e7edf5;text-align:left;vertical-align:top}.ns-admin-table th{color:#55677d;font-weight:600}.ns-admin-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.ns-admin-toolbar select,.ns-admin-toolbar input{max-width:220px}.ns-admin-error{color:#b42318;padding:10px 0}@media(max-width:640px){.ns-form .rf-fields,.ns-admin-grid{grid-template-columns:1fr}.ns-admin{padding:12px}.ns-admin-head{display:block}.ns-admin-table{font-size:.82rem;display:block;overflow:auto;white-space:nowrap}}

.rf-trial-offer{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--wash,#f5f8fd);border-radius:16px}.rf-trial-offer h2{font-variant-numeric:tabular-nums;margin:8px 0 0}.rf-trial-offer h2 small{display:block;font-size:12px;font-weight:400;color:var(--muted,#6d7c90)}.rf-trial-offer .primary{flex-shrink:0}.rf-trial-offer .rf-status{font-size:11px}

/* support-chat.css */
/* Existing river-blue palette, porcelain surfaces, and native mobile navigation. */
.sc-page{padding:28px 22px 32px;max-width:720px;margin:auto;color:var(--ink)}
.sc-offer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.sc-offer>div{min-width:0}.sc-offer-label{font-size:12px;color:var(--muted)}.sc-price{display:block;font-size:25px;line-height:1.5;font-weight:600;color:var(--river-deep);letter-spacing:0}.sc-price small{font-size:12px;font-weight:400}.sc-price-note{font-size:11px;line-height:1.7;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}.sc-offer .primary{flex:none;min-height:44px;padding:12px 16px;white-space:nowrap}.sc-offer button:disabled{opacity:.55;cursor:default}.sc-booking-summary{padding:0 22px 16px;border-bottom:1px solid var(--line)}.sc-booking-summary h3{font-size:18px;line-height:1.5;margin:0 0 8px}.sc-booking-summary p{font-size:13px;margin:0;color:var(--muted)}.sc-booking-summary strong{font-size:22px;color:var(--river-deep)}.sc-booking-form{padding:18px 22px 24px!important}.sc-booking-form button{white-space:normal;line-height:1.5}
.sc-header{display:flex;align-items:center;gap:14px;padding:10px 0 20px;border-bottom:1px solid var(--line)}
.sc-header>div{flex:1;min-width:0}.sc-header h1{font-family:var(--display);font-size:27px;font-weight:600;line-height:1.35;margin:5px 0 8px}.sc-header .eyebrow{font-size:11px;letter-spacing:2px;margin:0;color:var(--muted)}
.sc-avatar{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:18px;background:var(--river-mist);color:var(--river);font-family:var(--display);font-size:27px}
.sc-presence{margin:0;font-size:12px;color:#43816c}.sc-presence:before{content:"";display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:currentColor}.sc-presence.is-muted{color:var(--muted)}
.sc-disclosure{font-size:12px;line-height:1.85;color:var(--muted);margin:16px 0 20px}.sc-messages{min-height:240px;max-height:52dvh;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 14px;scrollbar-width:thin}
.sc-message{display:flex;flex-direction:column;align-items:flex-start;margin:16px 0;gap:6px}.sc-message>span{font-size:11px;color:var(--muted);padding:0 3px}.sc-message p{max-width:88%;padding:13px 16px;margin:0;border-radius:3px 17px 17px;background:var(--porcelain);border:1px solid var(--line);font-size:14px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}.sc-message time{font-size:10px;color:var(--muted);padding:0 3px}.sc-mine{align-items:flex-end}.sc-mine p{border-radius:17px 3px 17px 17px;color:var(--river-deep);background:var(--river-mist);border-color:transparent}
.sc-welcome{text-align:center;padding:34px 8px 24px}.sc-welcome>span{display:inline-flex;color:var(--river);background:var(--river-mist);padding:12px;border-radius:50%}.sc-welcome svg{width:24px;height:24px}.sc-welcome h2{font-family:var(--display);font-size:23px;margin:18px 0 10px}.sc-welcome p{font-size:13px;line-height:1.8;color:var(--muted)}.sc-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:20px 0}.sc-suggestions button{font:inherit;font-size:12px;border:1px solid var(--line);background:var(--porcelain);border-radius:20px;padding:9px 13px;color:var(--river-deep);cursor:pointer}
.sc-reply-state{min-height:20px;color:var(--muted);font-size:12px;line-height:1.7;margin:4px 0 12px}.sc-dots{display:inline-flex;gap:3px;vertical-align:middle}.sc-dots i{width:4px;height:4px;border-radius:50%;background:var(--river);animation:sc-thinking 1.5s infinite}.sc-dots i:nth-child(2){animation-delay:.2s}.sc-dots i:nth-child(3){animation-delay:.4s}@keyframes sc-thinking{0%,70%,100%{opacity:.3;transform:translateY(0)}35%{opacity:1;transform:translateY(-3px)}}
.sc-composer{border-top:1px solid var(--line);padding-top:18px}.sc-input-label{display:block;font-size:12px;margin-bottom:9px;color:var(--ink)}.sc-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:94px;max-height:240px;padding:13px 15px;font:inherit;font-size:14px;line-height:1.7;color:var(--ink);background:var(--porcelain);border:1px solid #dce5f0;border-radius:13px}.sc-composer textarea:focus-visible{outline:2px solid #236bda55;outline-offset:2px}.sc-send-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px}.sc-send-row small{font-size:10px;color:var(--muted)}.sc-send-row .primary{min-width:96px;min-height:42px}.sc-send-row button:disabled{opacity:.6;cursor:wait}.sc-links{display:flex;justify-content:space-between;gap:18px;margin-top:18px}.sc-links .text-link{font-size:12px}.sc-error{font-size:13px;color:#a34d31;line-height:1.8;margin:10px 0}.sc-error:empty{display:none}.sc-error button{font-size:12px;margin-left:8px}.sc-consent{margin:16px 0;font-size:12px}.sc-consent>summary{cursor:pointer;color:var(--river);padding:8px 0}.sc-consent .agreement-confirm{margin-top:10px}.sc-ack{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;margin:10px 0}.sc-ack input{margin-top:5px;accent-color:var(--river);flex:none}
.sc-record{display:flex;align-items:center;justify-content:space-between;gap:18px;text-decoration:none;color:var(--ink);padding:20px 0;border-bottom:1px solid var(--line)}.sc-record strong{font-size:15px;line-height:1.6}.sc-record small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.sc-record svg{width:18px;flex:none;color:var(--river)}.sc-empty,.sc-loading{padding:38px 0;color:var(--muted);line-height:1.8}.sc-entry p{font-size:13px;color:var(--muted)}
@media(max-width:380px){.sc-page{padding:22px 16px}.sc-header{gap:10px}.sc-header h1{font-size:24px}.sc-avatar{width:46px;height:46px}.sc-send-row small{max-width:125px}.sc-message p{max-width:92%}}
@media(prefers-reduced-motion:reduce){.sc-dots i{animation:none}}

/* The conversation and its composer share the first screen above the native nav. */
body:has(#consultation-chat) .app-shell{height:100dvh;min-height:0;display:flex;flex-direction:column;padding-bottom:calc(84px + max(14px,env(safe-area-inset-bottom)))}
body:has(#consultation-chat) .topbar{flex:none}
body:has(#consultation-chat) #app{flex:1;min-height:0;overflow:hidden}
body:has(#consultation-chat) .page-footer{display:none}
#consultation-chat{height:100%;max-width:none;margin:0;padding:0 20px;display:flex;flex-direction:column;overflow:hidden}
#consultation-chat>*{flex-shrink:0}
#consultation-chat .sc-header{gap:12px;padding:12px 0;border:0}
#consultation-chat .sc-header h1{font:600 20px/1.4 var(--display);color:var(--river-deep);margin:0 0 4px}
#consultation-chat .sc-header>.text-link{font-size:12px;min-height:44px;display:flex;align-items:center;flex:none}
#consultation-chat .sc-avatar{width:44px;height:44px;border-radius:14px;font-size:24px}
#consultation-chat .sc-offer{gap:12px;padding:4px 0 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-height:40px}
#consultation-chat .sc-offer>.text-link{flex:none;min-height:36px;font-size:13px}
#consultation-chat .sc-offer>button:disabled{color:var(--muted);cursor:default}
#consultation-chat .sc-offer-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:var(--ink)}
#consultation-chat .sc-price{font-size:20px;line-height:1.4;margin-top:2px}
#consultation-chat .sc-price-note{margin:2px 0 0;font-size:10px;line-height:1.4}
#consultation-chat .sc-offer .primary{font-size:12px;padding:10px 14px;min-height:40px}
#consultation-chat .sc-disclosure{font-size:10px;line-height:1.6;margin:8px 0;color:var(--muted)}
#consultation-chat .sc-messages{flex:1;min-height:64px;max-height:none;padding:16px 2px 8px;scroll-behavior:smooth}
.sc-sample{font-size:10px;text-align:center;color:var(--muted);margin:4px 0 8px}
#consultation-chat .sc-message{margin:8px 0 12px;gap:4px}
#consultation-chat .sc-message p{padding:10px 12px;font-size:13px;line-height:1.75;background:var(--paper)}
#consultation-chat .sc-mine p{background:var(--river-mist)}
#consultation-chat .sc-welcome{padding:0;text-align:left}
#consultation-chat .sc-welcome>span{display:block;background:none;padding:0 3px;border-radius:0;color:var(--muted)}
#consultation-chat .sc-suggestions{justify-content:flex-start;gap:8px;margin:8px 0}
#consultation-chat .sc-suggestions button{padding:8px 10px;font-size:11px;background:var(--porcelain)}
#consultation-chat .sc-reply-state{min-height:0;margin:0 0 6px;font-size:11px}
#consultation-chat .sc-reply-state:empty{display:none}
#consultation-chat .sc-error{max-height:64px;overflow:auto;margin:4px 0;font-size:12px}
#consultation-chat .sc-composer{padding:10px 0 12px;max-height:50%;overflow-y:auto;scrollbar-width:thin}
#consultation-chat .sc-input-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sc-input-row{display:flex;align-items:stretch;gap:8px}
#consultation-chat .sc-composer textarea{flex:1;min-width:0;width:auto;height:56px;min-height:56px;max-height:56px;resize:none;padding:10px 12px;line-height:1.6;font-size:14px;background:var(--paper);border-color:var(--line)}
.sc-input-row .primary{min-width:64px;padding:10px 12px;font-size:13px;white-space:nowrap}
.sc-input-row button:disabled{opacity:.6;cursor:wait}
#consultation-chat .sc-consent{margin:6px 0 0;font-size:11px}
#consultation-chat .sc-consent>p{margin:0 0 4px;color:var(--muted)}
#consultation-chat .agreement-confirm{margin:0;padding:0;border:0;display:flex;flex-direction:column}
#consultation-chat .agreement-confirm legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#consultation-chat .agreement-confirm>label{order:-1;gap:8px;margin:0;font-size:11px;line-height:1.7;align-items:center}
#consultation-chat .agreement-confirm input[type=checkbox]{width:18px;height:18px;margin:0}
#consultation-chat .agreement-important{margin:2px 0 0;padding:0 0 0 26px;border:0;font-size:11px;color:var(--muted);line-height:1.7}
#consultation-chat .agreement-important[open]{max-height:160px;overflow:auto}
#consultation-chat .agreement-important summary{font-weight:400;color:var(--river)}
#consultation-chat .sc-avatar{border-radius:8px}
#consultation-chat .sc-message p{border-radius:8px}
#consultation-chat .sc-composer textarea{border-radius:8px}
#consultation-chat .sc-links{margin:4px 0 0;gap:12px;align-items:center;min-height:32px}
#consultation-chat .sc-links .text-link{font-size:11px;line-height:1.5;padding:6px 0}
@media(min-width:700px){body:has(#consultation-chat) .app-shell{height:calc(100dvh - 18px)}}
@media(max-width:380px){#consultation-chat{padding:0 14px}#consultation-chat .sc-offer{padding:10px}#consultation-chat .sc-header{padding:8px 0}}
@media(prefers-reduced-motion:reduce){#consultation-chat .sc-messages{scroll-behavior:auto}}

/* jinshi-city-globe.css */
.jinshi-city-globe-section{padding-top:18px}
.jinshi-city-globe{position:relative;min-height:462px;margin:18px 0 8px;border-radius:24px;overflow:hidden;background:#071b32;box-shadow:0 18px 40px rgba(20,61,104,.18),inset 0 0 0 1px rgba(255,255,255,.08)}
.jinshi-city-globe-shell{position:relative;min-height:462px;isolation:isolate}
.jinshi-globe-stage{position:absolute;inset:0;overflow:hidden}
.jinshi-globe-stage:after{content:"";position:absolute;inset:8%;border-radius:50%;pointer-events:none;box-shadow:0 0 0 1px rgba(169,230,255,.18),0 0 42px rgba(65,178,218,.16),inset 0 0 30px rgba(5,16,32,.5);z-index:1}
.jinshi-globe-stage .sphere-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:0;touch-action:none;cursor:grab}
.jinshi-globe-stage .sphere-canvas:active{cursor:grabbing}
.jinshi-globe-stage .sphere-map-message{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;color:#d7f4ff;background:rgba(5,28,51,.78);border:1px solid rgba(190,237,255,.22);padding:9px 13px;border-radius:99px;font-size:11px;white-space:nowrap}
.jinshi-globe-stage .sphere-labels{position:absolute;inset:0;z-index:4;pointer-events:none}
.jinshi-globe-stage .sphere-place{position:absolute;pointer-events:auto;transform:translate(-50%,-50%);padding:4px 8px;border:1px solid rgba(218,248,255,.22);border-radius:99px;background:rgba(7,28,51,.74);color:#dff9ff;font-size:10px;line-height:1.2;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.14);transition:background .18s,transform .18s}
.jinshi-globe-stage .sphere-place:before{content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:#78e6ff;box-shadow:0 0 9px #78e6ff}
.jinshi-globe-stage .sphere-place:hover,.jinshi-globe-stage .sphere-place:focus-visible{background:#14648a;transform:translate(-50%,-50%) scale(1.05)}
.jinshi-teacher-sprouts{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
.jinshi-globe-hud{position:absolute;left:18px;right:18px;top:16px;z-index:6;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;pointer-events:none}
.jinshi-globe-kicker{color:#8be7fa;font-size:10px;letter-spacing:1.5px;font-weight:700;text-transform:uppercase}
.jinshi-globe-title{margin:3px 0 0;color:#f3fdff;font:700 22px/1.25 var(--display);text-shadow:0 2px 18px rgba(0,0,0,.28)}
.jinshi-globe-source{max-width:160px;padding:6px 9px;border:1px solid rgba(199,239,255,.2);border-radius:10px;background:rgba(4,28,49,.62);color:#b7d9e6;font-size:9px;line-height:1.45;text-align:right}
.jinshi-globe-controls{position:absolute;right:16px;bottom:48px;z-index:7;display:flex;gap:7px;align-items:center}
.jinshi-globe-controls button{width:34px;height:34px;border:1px solid rgba(208,242,255,.25);border-radius:12px;background:rgba(6,30,52,.75);color:#e5fbff;font-size:18px;line-height:1;box-shadow:0 7px 20px rgba(0,0,0,.14);transition:transform .18s,background .18s}
.jinshi-globe-controls button:hover{background:#176a8e}.jinshi-globe-controls button:active{transform:scale(.94)}
.jinshi-globe-footer{position:absolute;left:18px;right:18px;bottom:15px;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#b8d5e1;font-size:10px;pointer-events:none}
.jinshi-globe-footer strong{color:#f0fdff;font-weight:600}.jinshi-globe-footer button{pointer-events:auto;color:#9deafa;font-size:10px;padding:0;text-decoration:underline;text-underline-offset:3px}
.jinshi-globe-status{position:absolute;left:18px;bottom:49px;z-index:6;max-width:62%;color:#c9e8f0;font-size:10px;line-height:1.5}
.jinshi-globe-note{margin:8px 2px 0;color:#8499ae;font-size:10px;line-height:1.7}
@media(max-width:380px){.jinshi-city-globe,.jinshi-city-globe-shell{min-height:410px}.jinshi-globe-title{font-size:19px}.jinshi-globe-source{max-width:122px;font-size:8px}.jinshi-globe-status{max-width:58%;font-size:9px}}
@media(prefers-reduced-motion:reduce){.jinshi-globe-controls button,.jinshi-globe-stage .sphere-place{transition:none}}

/* Native page structure, kept inside the existing Jinshi mobile composition. */
.jinshi-city-globe.is-explorer{margin:0 18px 8px}.jinshi-atlas-page-head{padding:26px 24px 18px}.jinshi-atlas-page-head h1{font:700 30px/1.4 var(--display);color:var(--river-deep);margin:0 0 12px}.jinshi-atlas-page-head>p:last-child{font-size:12px;color:var(--muted);margin:0}
.jinshi-globe-stage:after{display:none}.jinshi-globe-source{pointer-events:auto;cursor:pointer;max-width:none;transition:background .18s}.jinshi-globe-source:hover{background:#124566}.jinshi-globe-stage .sphere-place{transition:background .18s;min-height:28px}.jinshi-globe-controls button{width:38px;height:38px;display:grid;place-items:center;min-width:38px}.jinshi-globe-controls button svg{width:18px;height:18px}.jinshi-globe-controls button[aria-pressed=true]{background:#176a8e;border-color:#8dd6ed}
.jinshi-atlas-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;color:var(--river);margin:12px 0 26px;padding:12px 14px;border-radius:14px;background:var(--river-mist)}.jinshi-atlas-entry span{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.jinshi-atlas-entry b{font-size:10px;font-weight:500;white-space:nowrap}
.jinshi-atlas-directory-entry{display:flex;align-items:center;gap:12px;padding:14px;margin:14px 0;border-radius:14px;background:var(--paper);border:1px solid var(--line);color:var(--river-deep)}.jinshi-atlas-directory-entry>span{background:var(--river-mist);border-radius:12px;padding:9px;color:var(--river)}.jinshi-atlas-directory-entry>div{flex:1;min-width:0}.jinshi-atlas-directory-entry b{font-size:13px}.jinshi-atlas-directory-entry small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.jinshi-atlas-directory-entry>svg{width:17px}
.jinshi-atlas-region-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px}.jinshi-atlas-region-head h2{font-size:22px;margin:0}.jinshi-atlas-region-head button{font-size:11px}.jinshi-atlas-districts{display:flex;gap:8px;flex-wrap:wrap}.jinshi-atlas-districts button{padding:9px 11px;min-height:42px;border:1px solid var(--line);border-radius:11px;color:var(--muted);font-size:11px;background:var(--porcelain);transition:background .18s,color .18s,transform .18s}.jinshi-atlas-districts button:hover{border-color:#abccea;background:var(--paper)}.jinshi-atlas-districts button[aria-pressed=true]{background:var(--river-deep);color:white;border-color:var(--river-deep)}.jinshi-atlas-districts button:active{transform:scale(.97)}
.jinshi-atlas-live{padding:18px 0 14px;margin-top:16px;border-top:1px solid var(--line);line-height:1.5}.jinshi-atlas-live b{font-size:15px;color:var(--river-deep)}.jinshi-atlas-live span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.jinshi-atlas-live small{display:block;margin-top:9px;font-size:10px;color:#946044}
.jinshi-atlas-empty{padding:18px;border-radius:14px;background:var(--paper);font-size:13px}.jinshi-atlas-empty b{color:var(--river-deep)}.jinshi-atlas-empty p{font-size:12px;color:var(--muted);margin:8px 0 12px}.jinshi-atlas-empty a{font-size:12px}
.jinshi-atlas-teacher{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.jinshi-atlas-avatar{width:44px;height:50px;display:grid;place-items:center;border-radius:12px;background:var(--river-mist);color:var(--river);flex-shrink:0}.jinshi-atlas-teacher>div:nth-child(2){flex:1;min-width:0}.jinshi-atlas-teacher strong{font-size:14px;color:var(--river-deep)}.jinshi-atlas-teacher p{font-size:11px;color:var(--muted);margin:3px 0;overflow-wrap:anywhere}.jinshi-atlas-teacher>svg{width:16px;color:var(--muted)}.atlas-demo-label,.atlas-real-label{font-size:9px;display:inline-block;color:#946044;background:#fbf1e9;border-radius:5px;padding:2px 5px}.atlas-real-label{color:#397463;background:#eaf6ef}
.jinshi-atlas-demo{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}.jinshi-atlas-demo>summary{font-size:12px;color:#946044;cursor:pointer;min-height:36px}.jinshi-atlas-demo>p{font-size:11px;color:var(--muted);margin:5px 0}
.jinshi-city-globe-shell .sphere-map-message button{display:block;margin:8px auto 0;color:#8de1fa}.jinshi-globe-controls{left:16px;right:auto;bottom:50px;gap:6px}.jinshi-globe-status{bottom:98px;max-width:calc(100% - 40px);pointer-events:none}.jinshi-globe-footer{font-size:9px}.jinshi-globe-note{font-size:10px}
@media(max-width:360px){.jinshi-city-globe.is-explorer{margin-left:12px;margin-right:12px}.jinshi-atlas-page-head{padding-left:19px;padding-right:19px}.jinshi-atlas-page-head h1{font-size:27px}.jinshi-globe-hud{left:14px;right:14px}.jinshi-globe-source{font-size:8px;padding:5px 7px}.jinshi-globe-kicker{font-size:8px;letter-spacing:1px}.jinshi-atlas-districts{gap:7px}.jinshi-atlas-districts button{padding:9px 10px}}

.jinshi-atlas-motion{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);margin:0 0 14px}.jinshi-atlas-motion button{font-size:10px;color:var(--river);background:var(--river-mist);border-radius:99px;padding:7px 11px;min-height:34px}.jinshi-atlas-motion button[aria-pressed=true]{background:var(--river-deep);color:var(--porcelain)}
