/* Three destinations and a calmer canvas. */
body{background:#f8fafc;padding-bottom:100px}header{padding:22px 32px 8px}.brand small{letter-spacing:1px}.account-bar{background:transparent;padding:4px 16px;min-height:32px}.account-bar #syncStatus{font-size:12px}.bottom-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:12px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;border:0;border-top:1px solid #e5ebf2;border-radius:0;box-shadow:none;backdrop-filter:blur(12px)}.bottom-nav[hidden]{display:none}.bottom-nav button{width:min(28vw,180px);background:transparent;box-shadow:none;min-height:48px}.bottom-nav button.active{background:#e8f2fc;color:#276ca9;box-shadow:none}body.practice-mode .bottom-nav,body.practice-mode header,body.practice-mode .account-bar,body.practice-mode footer{display:none}body.practice-mode{padding-bottom:16px}body.admin-area{padding-bottom:16px}.card,.bookword,.library-book,.unit{box-shadow:none;border-width:1px}.stat,.metric-grid .stat{background:#fff;border:1px solid #e2e8f0;color:#31455f}.stat strong{color:#31455f}.unit:nth-child(n){border-top:1px solid #e1e8f2}.unit-complete{border-color:#82c8b0!important}.heading h1{font-size:28px}.hub-date{color:#718099;font-size:13px}.today-overview{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:#617087}.today-overview strong{font-size:25px;color:#31455f;margin:0 5px}.points-chip{padding:8px 14px;min-height:40px;background:#fff5d8;color:#786019}.today-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border-radius:26px;background:#eaf4ff}.today-hero>div:first-child{flex:1;min-width:0}.today-hero h2{font-size:28px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.today-hero p{color:#65758b;margin-bottom:24px}.today-friends{width:35%;max-width:320px}.today-friends .garden-friends,.today-friends .friends-play{width:100%}.section-title{display:flex;align-items:center;justify-content:space-between;margin:28px 0 8px}.section-title h2{font-size:20px}.section-title span{color:#7b8799}.compact-task{display:flex;align-items:center;gap:24px;justify-content:space-between;background:#fff;border-bottom:1px solid #e8edf3;padding:20px}.compact-task:first-of-type{border-radius:18px 18px 0 0}.compact-task>div{flex:1}.compact-task h3{font-size:17px;margin:0 0 8px}.compact-task p{font-size:13px;color:#748195}.compact-task .mini-progress{max-width:320px}.text-action{background:transparent;box-shadow:none;color:#527ba3;padding:10px}.task-history{margin-top:20px}.task-history summary,.collection-tools summary,.stats-details>summary{cursor:pointer;padding:15px;color:#5f728a}.mine-links{margin:28px 0;display:grid;gap:12px}.mine-links>button{display:flex;align-items:center;text-align:left;gap:18px;background:#fff;border:1px solid #e5ebf1;padding:24px}.mine-links>button>span:nth-child(2){flex:1}.mine-links strong{display:block;font-size:19px}.mine-links small{display:block;font-weight:400;color:#778497;margin-top:8px}.mine-icon{font-size:28px;color:#5d91bd;width:40px}.account-entry{margin-top:20px;color:#7f8c9e}.collection-tools{margin:16px 0;border:1px solid #e5eaf1;border-radius:16px;background:#fff;padding:0 16px}.collection-tools .filters{margin:15px 0}.admin-tabs{border:0;border-bottom:1px solid #e1e8ef;box-shadow:none;border-radius:0;background:transparent;gap:8px}.admin-tabs>button{background:transparent;padding:12px 20px}.admin-tabs>button.primary{background:#e8f2fc;color:#28689f;box-shadow:none}.admin-subnav{flex-basis:100%;display:flex;gap:8px;border-top:1px solid #e4ebf2;padding:10px 0 2px;margin-top:8px}.admin-subnav button{background:transparent;font-size:14px;padding:8px 14px;min-height:40px}.admin-subnav button.selected{color:#28689f;background:#fff;text-decoration:underline;text-underline-offset:7px}.stats-details{margin-top:24px}.practice-card{border-top:1px solid #e1e8f2;min-height:430px}.practice-pal,.practice-card .eyebrow{display:none}.practice-card .definition{min-height:95px;margin-top:12px}.practice-card .tipsteps{font-size:11px}.summary h1{font-size:26px}.book-heading img{max-height:90px}.gift-card{background:#fff}.metric-grid .stat:nth-child(n){background:#fff;border-color:#e1e8ef}.admin-area .card{box-shadow:none}.heading .stat-link{font-size:13px}.heading .stat-link strong{font-size:23px}footer{border:0}.admin-area .heading .eyebrow{display:none}@media(max-width:650px){header{padding:18px 20px 4px}.today-hero{padding:24px;gap:10px}.today-hero h2{font-size:22px}.today-friends{width:28%}.today-friends .friends-play{height:auto}.today-friends .friends-play svg{height:auto}.today-hero .eyebrow{font-size:10px;letter-spacing:1px}.compact-task{padding:16px;gap:8px}.compact-task button{max-width:110px}.hub-date{font-size:11px}.mine-links>button{padding:20px}.admin-tabs>button{padding:10px 12px}.heading{gap:12px}.practice-card{min-height:400px}.today-overview{font-size:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.compact-task details{font-size:13px;color:#657b90;margin-top:12px}.compact-task details p{overflow-wrap:anywhere}.chart-method{font-size:13px;color:#657b90}.simple-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-reward{padding:15px;background:#fff6db;border-radius:14px;color:#77622d}
/* Soft dotted paper, shared with the garden characters. */
body{background-color:#f8fafc;background-image:radial-gradient(#bfc5ce .75px,transparent .75px);background-size:14px 14px}
.profile-avatar{width:104px;height:104px;border-radius:28px;object-fit:cover;background:#eef6ff}.avatar-choices{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.avatar-choices button{padding:5px;border:3px solid transparent;background:#eef3f8;border-radius:20px}.avatar-choices img{width:52px;height:52px;display:block;border-radius:14px}.avatar-choices [aria-pressed=true]{border-color:#439cf3;background:#ddecff}.account-page form label{display:block;margin:16px 0 7px}.account-page form input{display:block;width:100%;max-width:440px;box-sizing:border-box;margin-top:8px}.account-page form small{display:block;margin-bottom:16px}.password-settings{border-top:1px solid #dce4ed;margin:24px 0;padding-top:20px}.password-settings summary{cursor:pointer;font-weight:700;padding:12px 0}.account-page h2{font-size:22px}.account-page form button.primary{margin-top:16px}
.account-page input:not([type=file]){padding:13px 16px;border:1px solid #ced9e5;border-radius:16px;font:inherit;background:#f8fbff;min-height:48px}.account-page input:focus{outline:3px solid #d9eaff;border-color:#439cf3}.account-page input[type=file]{font:inherit;max-width:100%}.account-page input::file-selector-button{border:0;border-radius:12px;background:#e8f2ff;color:#315c87;padding:12px;margin-right:10px;font:inherit}
.name-avatar{display:inline-block;width:32px;height:32px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:8px;background:#edf4ff;flex-shrink:0}.account-identity{display:inline-flex;align-items:center;gap:4px}.account-identity .name-avatar{width:34px;height:34px}.game-leaders li>span{display:flex;align-items:center}.gift-photo{width:100%;max-width:256px;aspect-ratio:1;object-fit:cover;border-radius:20px;display:block;margin:0 auto 14px}.gift-card{overflow:hidden}#giftImagePreview{max-width:180px}.student-bar-name .name-avatar{width:28px;height:28px}
/* Shared identity layout: avatar and one/two lines stay vertically centered. */
.person-identity{display:inline-flex;align-items:center;gap:10px;min-width:0;max-width:100%;vertical-align:middle;text-align:left;line-height:1.35}.person-identity .name-avatar{display:block;width:34px;height:34px;margin:0;flex:0 0 34px}.person-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.person-name{font-weight:600;overflow-wrap:anywhere}.person-copy small{display:block;font-size:12px;color:#69798b;margin:0;font-weight:400;overflow-wrap:anywhere}.account-identity{max-width:100%;gap:0}.account-bar{align-items:center}.game-leaders li>span{gap:10px;min-width:0}.game-leaders b{white-space:nowrap}.student-bar-name .name-avatar{width:30px;height:30px;flex-basis:30px}.student-bar-name{min-width:0}.student-bar-row{align-items:center}td{vertical-align:middle}.back-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;margin:0 0 18px;background:transparent;color:#315f91;box-shadow:none;border:1px solid #dce6f1;border-radius:14px}.runner-roles .character-icon{display:block;width:64px;height:64px;margin:0 auto 10px}.runner-roles button{display:flex;flex-direction:column;align-items:center;justify-content:center}.today-friends .garden-friends{width:100%;height:auto}@media(max-width:600px){.person-identity{gap:7px}.person-identity .name-avatar{width:30px;height:30px;flex-basis:30px}.account-bar{gap:10px}.game-leaders li{gap:10px}.game-leaders .person-name{font-size:14px}}
