/* A quieter learning surface and one stable place for support. */
header .brand{gap:10px;line-height:1.15;letter-spacing:-.35px}.brand-books{display:block;flex:none;width:58px;height:58px}header{justify-content:space-between}.brandmark{display:none}
.subject-home{display:block;max-width:920px;margin:4px auto}.subject-home .home-intro{position:static;padding:0 0 24px}.subject-home h1{max-width:none;font-size:clamp(36px,4.4vw,52px);margin:0;letter-spacing:-1.5px}.subject-home .home-lesson{border:0}.subject-home .subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subject-home .subject-card{grid-template-columns:48px minmax(0,1fr) 24px;gap:3px 14px;border:1px solid #e0e1e6;border-radius:16px;background:#fff;min-height:110px;padding:20px}.subject-home .subject-card:hover{background:#fff7fa;border-color:#c91456}.subject-home .subject-card h2{font-size:23px}.subject-home .subject-card .subject-sign{height:48px;width:48px;font-size:24px}.subject-home .subject-card .subject-caption{display:block;font-size:13px;color:#5b6069}.subject-home .subject-arrow{font-size:24px}.subject-home .resume{margin-bottom:25px}.subject-home .info{margin-top:20px}
.kappi-control-label{position:absolute;left:50%;bottom:-1px;transform:translateX(-50%);background:#fffef9ee;border:1px solid #d7d0d6;border-radius:10px;padding:1px 8px;color:#58515b;font-size:12px;font-weight:650;line-height:1.3;white-space:nowrap}
.buddy-menu{width:292px;max-width:calc(100vw - 24px);max-height:min(470px,calc(100dvh - 190px));overflow:auto;overscroll-behavior:contain;padding:6px;background:#fffefb;border-radius:17px;box-shadow:0 8px 32px #31233226;scrollbar-width:thin}
.buddy-menu-heading{display:flex;align-items:center;gap:2px;padding:3px 2px 6px;border-bottom:1px solid #e4dfe3}.buddy-menu-heading strong{flex:1;min-width:0;padding-left:8px;font-size:16px;line-height:1.35;color:#343138}.buddy-menu .buddy-menu-heading button{display:grid;place-items:center;flex:none;width:40px;min-height:40px;padding:7px;border:0;border-radius:50%;background:transparent}.buddy-menu .kappi-menu-close{font-size:25px;color:#58515b}
.kappi-audio-icon svg,.kappi-play-icon svg,.buddy-mini svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.buddy-menu button{align-items:center;gap:10px;min-height:46px;border:0;font-size:15px;color:#343138;font-weight:600}.kappi-main-choices{padding-top:4px}.kappi-main-choices>[data-buddy="listen"]{background:#fff0f5;color:#9d1444}.kappi-play-icon,.kappi-choice-icon{display:grid;place-items:center;width:26px;flex:none}.kappi-choice-icon{font-size:22px;color:#a9184b}.kappi-tools{border-top:1px solid #e4dfe3;margin-top:3px;padding-top:3px}.kappi-tools button>span{width:26px;text-align:center;flex:none;font-size:21px;color:#625d69}
.buddy-menu details{margin:0;padding:0;border:0;border-top:1px solid #e4dfe3;border-radius:0;background:transparent}.buddy-menu summary{font-size:14px;min-height:44px;padding:11px 12px;line-height:1.4;color:#625d69;font-weight:500}.buddy-menu details button{padding-left:26px;font-size:14px;min-height:44px}.buddy-menu button:hover{background:#f8edf2}.buddy-menu button:focus-visible,.buddy-menu summary:focus-visible{outline:3px solid #c91456;outline-offset:-3px}
.buddy-bubble .buddy-message-listen{display:grid;place-items:center;width:38px;min-height:38px;padding:7px;margin-top:7px;border-radius:50%;background:#fff0f5;color:#a5164a;border:1px solid #dbc6ce}.buddy-float button[aria-pressed="true"]{background:#f7d5e2;color:#8e123c}.buddy-float button[aria-pressed="true"] svg{stroke-width:3}
.buddy-compact{width:76px!important}.buddy-compact .buddy-animal{width:76px!important;border-radius:24px}.buddy-compact .kappi-frame{display:none!important}.buddy-compact .kappi-control-label{position:static;transform:none;border:0;background:transparent;font-size:15px;color:#8e1742}.buddy-is-hidden{width:84px!important}.buddy-is-hidden>.buddy-restore{width:84px!important;border-radius:24px;font-size:15px;font-weight:700;color:#8e1742}.buddy-is-hidden>.buddy-menu:not([hidden]){display:block!important;max-height:calc(100dvh - 80px)}
.package-selectors{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.package-downloads{display:grid;gap:12px;margin:18px 0}.package-downloads a{display:flex;align-items:center;min-height:44px;padding:12px 16px;border:1px solid #cdd0d8;border-radius:10px;color:#9e1747;text-decoration:none;line-height:1.4}.package-downloads a.primary{color:#fff;background:#c91456;border-color:#c91456}.package-downloads a:hover{outline:2px solid #c91456;outline-offset:1px}
@media(max-width:700px){header{padding:12px 16px}.brand-books{width:50px;height:50px}.subject-home .home-intro{padding-bottom:20px}.subject-home .subject-card{padding:16px;min-height:92px;gap:2px 12px}.subject-home .subject-card h2{font-size:21px}.buddy-menu{max-height:calc(100dvh - 178px)}}
@media(max-width:540px){.subject-home .subject-grid{grid-template-columns:1fr;gap:10px}.subject-home .subject-card{min-height:83px;padding:14px 16px}.subject-home h1{font-size:36px}.package-selectors{grid-template-columns:1fr;gap:0}}
@media(forced-colors:active){.buddy-menu,.buddy-restore,.buddy-message-listen{border:2px solid ButtonText}.kappi-control-label{color:ButtonText}}
