/* Warm, quiet classroom surfaces and a clearly visible learning companion. */
:root{--kx43-orange:#e39134;--kx43-ink:#31453f;--kx43-line:#e7e5dc}
[hidden]{display:none!important}.kx-redesign .main{padding-bottom:100px}.kx-dashboard-hero{border:1px solid #eee1c9;min-height:265px}.kx-dashboard-art{min-width:34%}.kx-redesign .kx-character{width:125px!important;height:145px!important;filter:drop-shadow(0 8px 12px #a1722920)!important}.side-dog:before{width:105px!important;height:105px!important}.kx-redesign .sidebar .nav button{padding-top:12px;padding-bottom:12px}.kx-redesign .lesson-card{border-radius:18px;padding:20px}.kx-redesign .lesson-actions{gap:9px;flex-wrap:wrap}.kx-redesign button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}.v43-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 24px}.v43-page-head h1{font-size:30px;margin:8px 0}.v43-page-head p{color:#6f7b76}.v43-page-head img{width:125px;height:125px;object-fit:contain;border-radius:28px;background:#fff0cf}.v43-eyebrow{font-size:11px;letter-spacing:2px;color:#8b754c;font-weight:700}.v43-card{background:#fffdf8;border:1px solid var(--kx43-line);border-radius:22px;padding:26px}.v43-card select{width:min(100%,450px);padding:12px;border-radius:10px;border:1px solid #d9ded5;background:white}.v43-balance{margin:22px 0 12px;padding:22px;background:#edf5eb;border-radius:16px;display:flex;flex-direction:column;gap:8px}.v43-balance strong{font-size:42px;color:#27816b}.v43-balance p{margin:0;color:#53675b}.v43-balance.low{background:#fff1d8}.v43-balance.low strong{color:#ab6620}.v43-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.v43-ledger h3{margin-bottom:5px}.v43-ledger>article{display:flex;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--kx43-line)}.v43-ledger>article>div{flex:1;min-width:0;overflow-wrap:anywhere}.v43-ledger p{margin:5px 0;color:#67716c}.v43-ledger small{color:#7c827b}.v43-ledger b{white-space:nowrap}.positive{color:#27816b}.negative{color:#b06b36}.v43-credit-badge{margin:12px 0 0;padding:9px 13px;border-radius:9px;background:#edf5eb;color:#326655;font-size:13px}.v43-credit-badge.low,#kxScheduleCreditHint{color:#996025;background:#fff4df;padding:9px 13px;border-radius:9px}.v43-dialog{border:1px solid #e9dfcc;border-radius:24px;padding:28px;width:min(500px,calc(100vw - 32px));max-height:90dvh;overflow:auto;color:var(--kx43-ink);box-shadow:0 24px 100px #243d3a35;background:#fffefa;box-sizing:border-box}.v43-dialog::backdrop{background:#243d3a66;backdrop-filter:blur(4px)}.v43-dialog h2{font-size:24px}.v43-dialog p{line-height:1.7}.v43-dialog input:not([type=checkbox]),.v43-dialog textarea{box-sizing:border-box;width:100%;border:1px solid #d9ded5;padding:12px;border-radius:10px;margin-bottom:14px;font:inherit}.v43-dialog textarea{min-height:90px;resize:vertical}.v43-dialog button{margin:5px}.v43-consent>img{width:95px;height:95px;object-fit:contain;float:right}.v43-consent-check{display:flex;align-items:center;gap:10px;margin:18px 0;font-weight:600}.v43-consent-check input{width:20px;height:20px;accent-color:#27816b}.v43-dialog small{line-height:1.6;color:#7b766c}.v43-dialog [role=status]{color:#a34e29}
#kxSmartSpace{position:fixed;right:22px;bottom:78px;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px);overflow:auto;background:#fffaf0;border:1px solid #ecd4a9;border-radius:20px;box-shadow:0 16px 55px #3c32182b;z-index:10015;padding:15px;box-sizing:border-box;color:#4d422f}#kxSmartSpace>header{display:flex;align-items:center;gap:6px}#kxSmartSpace>header strong{flex:1}#kxSmartSpace button,#kxDictionary button{border:1px solid #e0d9c8;background:#fffef8;color:#45564b;border-radius:9px;padding:8px 10px;font:inherit;font-size:12px;cursor:pointer}#kxSmartSpace>header button{padding:5px 8px}.v43-connection{font-size:13px;margin:12px 0;color:#886229}.v43-video-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}.v43-video-tile{position:relative;background:linear-gradient(135deg,#ffc655,#e99740);border:4px solid #ffc660;border-radius:14px;overflow:hidden;aspect-ratio:4/3}.v43-video-tile video{width:100%;height:100%;object-fit:cover}.v43-video-tile>span{position:absolute;bottom:5px;left:5px;font-size:11px;color:#53330b;background:#ffde91e8;border-radius:6px;padding:3px 6px}.v43-peer-state{font-size:11px;line-height:1.7;color:#7a6b4f}.v43-remote-screen{width:100%;max-height:52dvh;border-radius:10px;background:#3b3c34;object-fit:contain}.v43-call-controls{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.v43-play-tip{font-size:10px;color:#8c8069}.v43-play-tip button{margin-left:4px}#kxSmartSpace>small{display:block;font-size:10px;line-height:1.6;color:#8c8069}#kxSmartSpace.expanded{width:min(850px,calc(100vw - 24px))}#kxSmartSpace.expanded .v43-video-pair{max-width:350px}.kx-space-active #kxDictionaryToggle{bottom:20px}
#kxDictionaryToggle{position:fixed;right:24px;bottom:22px;z-index:10016;background:#2e7967;color:#fff;border:1px solid #246552;border-radius:50px;padding:13px 20px;box-shadow:0 5px 20px #284d3826;font-weight:700;cursor:pointer}#kxDictionary{position:fixed;right:22px;bottom:78px;width:350px;max-width:calc(100vw - 24px);max-height:70dvh;overflow:auto;background:#fffef8;border:1px solid #e0dfd1;box-shadow:0 14px 55px #31453f30;border-radius:19px;z-index:10017;padding:18px;box-sizing:border-box;color:#31453f}#kxDictionary>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}#kxDictionary form{display:flex;gap:6px}#kxDictionary input{min-width:0;flex:1;border:1px solid #d4d9cf;border-radius:9px;padding:10px;font:inherit;font-size:13px}#kxDictionary h2{font-size:25px;margin-bottom:4px}#kxDictionary h3{font-size:13px;margin-top:20px}#kxDictionary p{font-size:14px;line-height:1.6}#kxDictionary small{font-size:11px;line-height:1.7;color:#7b8176;display:block;margin:9px 0}.v43-word-suggestions{display:flex;gap:6px;flex-wrap:wrap}#kxDictionary a{color:#287c67;font-size:13px}.v43-online-status{border:1px solid #ead9b7;padding:16px;border-radius:14px;background:#fff7e7;margin:16px 0}
@media(max-width:600px){.v43-card{padding:17px}.v43-page-head img{width:85px;height:85px}.v43-page-head h1{font-size:25px}.v43-ledger>article{gap:8px;flex-wrap:wrap}.v43-ledger>article>div{flex-basis:60%}.v43-dialog{padding:20px}#kxSmartSpace,#kxDictionary{right:12px;bottom:78px}#kxSmartSpace{max-height:57dvh}.kx-dashboard-art{min-width:0}.kx-redesign .kx-character{width:95px!important;height:110px!important}}
/* Keep the learning companion and dictionary reachable without covering each other. */
body.kx-redesign #kxChatLauncher{right:20px;bottom:90px;transform:none}body.kx-space-active #kxChatLauncher{display:none!important}
#kxSmartSpace.minimized>:not(header):not(.v43-connection){display:none!important}#kxSmartSpace.minimized{width:350px}.v43-consent .primary{margin-left:0}

@media(min-width:701px){.kx-redesign #homePage>#kxReviewOverview,.kx-redesign #homePage>#kxHomeCourses{grid-row:2}}
.kx-redesign .kx-dashboard-art img{object-fit:contain!important;object-position:center!important}.kx-redesign .kx-dashboard-art{background:#fbf4e6!important}
body.kx-redesign #kxChatLauncher{bottom:90px!important;top:auto!important}.v43-dict-results p{overflow-wrap:anywhere}
