/* Tile home: cobalt primary action, lavender recall, warm daily check-in. */
:root{--tile-shadow:0 8px 24px #385e8a09}
.shell{background:radial-gradient(ellipse 95% 310px at 15% 0,#94d9ff80,transparent),radial-gradient(ellipse 85% 330px at 100% 0,#cad7ff70,transparent),linear-gradient(180deg,#d8efff 0,#f1f7fc 340px,#f5f7fb 700px)}
.topbar{border-bottom:0}.topbar .xp{box-shadow:0 4px 12px #4d82ae07}.sidebar .nav a.active{background:linear-gradient(110deg,#e4f2ff,#eff4ff);color:#1764d3}
.tile-home{max-width:760px;margin:0 auto}.tile-home .growth-home-title{align-items:center;margin-bottom:22px}.tile-home .growth-home-title h1{font-size:30px;line-height:1.38;letter-spacing:-1.2px;margin-top:9px}.tile-home .growth-home-title .eyebrow{font-size:10px;letter-spacing:2px;color:#4f7899}
.home-season{display:flex;align-items:center;gap:6px;padding:9px 12px;border:1px solid #fff;border-radius:18px;background:#ffffff95;font-size:12px;color:#3a6687;white-space:nowrap}.home-season svg{width:20px;height:20px}
.tile-home .growth-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:0 12px;border-radius:28px;padding:23px 26px 19px;background:radial-gradient(ellipse at 90% 15%,#fff 0,transparent 65%),linear-gradient(135deg,#f7fcffcf,#deefffd9);box-shadow:var(--tile-shadow);overflow:hidden}
.tile-home .hero-age{align-self:center;min-width:0}.tile-home .hero-age>span{font-size:12px;color:#526f8e}.tile-home .hero-age>b{font-size:68px;letter-spacing:-3px;line-height:1.13;margin:8px 0;display:block}.tile-home .hero-age>b small{font-size:23px;letter-spacing:-1px;margin-left:6px}.tile-home .hero-age>p{font-size:16px;margin:7px 0;font-weight:700}.tile-home .hero-age>small{font-size:11px;line-height:1.65;color:#627d99;display:block}.tile-home .hero-companion{position:relative;min-width:0}.tile-home .hero-companion:before{inset:15px 0 auto;width:100%;height:148px;background:radial-gradient(circle,#fff,#d5ecff)}.tile-home .hero-companion .growth-avatar{height:172px;display:block}.tile-home .companion-caption{font-size:10px;min-height:34px;line-height:1.4;padding:7px 9px;color:#52749c}.tile-home .companion-weather{top:0;right:0}
.tile-month-progress{grid-column:1/-1;margin-top:18px;padding-top:18px;border-top:1px solid #b7d5ed55}.tile-month-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.tile-month-progress span{font-size:12px;font-weight:650;color:#416990}.tile-month-progress b{font-size:21px;color:#1661ca}.tile-month-progress small{font-size:12px;font-weight:500;color:#6081a1}.tile-month-progress .progress{height:7px;border-radius:9px;background:#cbe0f4}.tile-month-progress .progress i{background:linear-gradient(90deg,#2daeff,#2568ed);border-radius:9px}.tile-month-progress p{font-size:12px;color:#526d89;line-height:1.65;margin:10px 0 0;word-break:keep-all}
.learning-tiles{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(154px,auto) minmax(154px,auto);gap:13px;margin-top:22px}
.action-tile{appearance:none;position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;min-width:0;border:1px solid #fff;border-radius:26px;padding:22px;box-shadow:var(--tile-shadow);color:#203450;font-family:inherit;cursor:pointer;overflow:hidden;isolation:isolate;transition:transform .18s ease,box-shadow .18s ease}
.action-tile .tile-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.2px;line-height:1.4}.action-tile>strong{font-size:22px;font-weight:750;letter-spacing:-.7px;line-height:1.4;margin-top:8px;word-break:keep-all}.tile-description{font-size:12px;line-height:1.65;margin-top:6px;word-break:keep-all;max-width:100%;color:#5c718e}
.tile-art{object-fit:contain;display:block;pointer-events:none}.tile-learn{grid-row:1/3;border:0;background:radial-gradient(ellipse at 5% 0,#61b4ff90,transparent 60%),linear-gradient(145deg,#3179f5,#3165e9 62%,#2c57ce);color:#fff;padding:24px}.tile-learn .tile-eyebrow{color:#e1edff}.tile-learn>strong{font-size:27px;max-width:100%;margin-top:12px}.tile-learn .tile-description{color:#e8f2ff;font-size:12px}.tile-learn>.tile-art{width:175px;height:150px;align-self:center;margin:10px 0 8px;filter:drop-shadow(0 12px 9px #123b942c);transform:rotate(-3deg)}.tile-bottom{width:100%;margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:6px;padding-top:11px;border-top:1px solid #ffffff30;color:#fff;font-size:12px;font-weight:600}.tile-arrow{background:#fff;color:#2463d5;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.tile-arrow .icon{width:18px;height:18px}
.tile-review{background:linear-gradient(125deg,#fff 20%,#f1edff);padding-bottom:66px}.tile-review .tile-eyebrow{color:#735aac}.tile-review>.tile-art{width:82px;height:82px;position:absolute;right:5px;bottom:0;transform:rotate(5deg)}.tile-attend{background:linear-gradient(130deg,#fff 20%,#fff4dd);padding-bottom:66px}.tile-attend .tile-eyebrow{color:#89692d}.tile-attend>.tile-art{width:78px;height:78px;position:absolute;right:7px;bottom:3px}.tile-corner{position:absolute;left:22px;bottom:18px;width:25px;height:25px;display:grid;place-items:center;font-size:17px;color:#786ab0;border:1px solid #d9d1ef;border-radius:50%;background:#ffffff80}.tile-attend .tile-corner{color:#9e772c;border-color:#e9d7a8}.action-tile:disabled{opacity:1;cursor:default;box-shadow:none}.tile-review:disabled .tile-description{color:#66738a}.tile-review:disabled>.tile-art{opacity:.6}.tile-review:disabled .tile-corner{border-style:dashed}.tile-attend.is-collected .tile-corner{background:#e8f2e5;border-color:#cedfca;color:#54764b}.tile-bonus-note{font-size:10px;color:#62768e;margin:11px 3px 21px;line-height:1.6;text-align:right}
.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:23px 0 30px}.home-shortcuts>a,.home-shortcuts>button{display:flex;align-items:center;flex-direction:column;gap:9px;padding:0;border:0;background:none;font-family:inherit;text-decoration:none;color:#415976;font-size:12px;font-weight:650;cursor:pointer;min-width:0}.home-shortcuts .tile-art{width:100%;height:83px;padding:10px;border:1px solid #fff;border-radius:23px;background:linear-gradient(145deg,#fff,#edf6ff);box-shadow:var(--tile-shadow);transition:transform .18s ease}.home-shortcuts>:nth-child(2) .tile-art{background:linear-gradient(145deg,#fff,#fff0f5)}.home-shortcuts>:nth-child(3) .tile-art{background:linear-gradient(145deg,#fff,#e7f8f3)}.home-shortcuts>:nth-child(4) .tile-art{background:linear-gradient(145deg,#fff,#f0ebff)}
.tile-home .quarter-panel{border:1px solid #fff;background:linear-gradient(120deg,#edf3ff,#f6f3ff);border-radius:25px;margin:23px 0}.tile-home .quarter-heading h2{font-size:21px}.tile-home .quarter-panel p{font-size:13px}.tile-home .quarter-steps .current{background:linear-gradient(120deg,#3589f3,#3770e8)}.month-vocabulary{background:#fff;border-radius:24px;padding:20px;margin:20px 0;box-shadow:var(--tile-shadow)}.month-vocabulary .g-section-title{margin:0 0 15px}.month-vocabulary .g-section-title h2{font-size:17px}.month-vocabulary .g-section-title>span{font-size:11px}.month-vocabulary .g-word-preview{margin:0;gap:8px}.month-vocabulary .g-word-preview>span{background:#f1f6fc;border:1px solid #e9f0f8;padding:9px 13px;font-size:14px;border-radius:13px;color:#426386}.tile-home .year-garden{border-radius:25px}.tile-home .garden-chapter{background:#f8fafc;border-color:#edf1f8}.tile-home .garden-chapter.is-current{background:linear-gradient(135deg,#edf6ff,#f3f2ff);border-color:#bbd7fa}
.action-tile:focus-visible,.home-shortcuts>a:focus-visible,.home-shortcuts>button:focus-visible{outline:3px solid #134eb5;outline-offset:4px}
@media(hover:hover){.action-tile:not(:disabled):hover{transform:translateY(-3px);box-shadow:0 13px 28px #315f8c17}.home-shortcuts>a:hover .tile-art,.home-shortcuts>button:hover .tile-art{transform:translateY(-3px)}}
.action-tile:not(:disabled):active{transform:scale(.98)}
@media(min-width:960px){.tile-home .growth-hero{grid-template-columns:minmax(0,1fr) 200px minmax(0,1fr);gap:20px;padding:24px}.tile-home .tile-month-progress{grid-column:3;align-self:center;margin:0;border:0;padding:0}.tile-home .hero-companion .growth-avatar{height:180px}.learning-tiles{grid-template-columns:1.25fr 1fr 1fr;grid-template-rows:auto}.tile-learn{grid-row:auto;min-height:245px}.tile-learn>.tile-art{height:105px;margin:2px 0}.tile-learn>strong{font-size:25px}.tile-review,.tile-attend{padding-bottom:100px}.tile-review>.tile-art,.tile-attend>.tile-art{width:105px;height:105px;right:12px;bottom:7px}.home-shortcuts{gap:22px}.home-shortcuts .tile-art{height:93px}}
@media(max-width:680px){.tile-home .growth-home-title h1{font-size:25px}.tile-home .growth-hero{grid-template-columns:minmax(0,1fr) 138px;gap:0 8px;padding:21px 19px 18px}.tile-home .hero-age>b{font-size:60px}.tile-home .hero-companion .growth-avatar{height:151px}.tile-home .hero-companion:before{height:125px}.tile-home .hero-age>p{font-size:14px}.tile-home .hero-age>small{font-size:10px}.tile-home .hero-age>span{font-size:11px}.tile-home .companion-caption{font-size:9px;min-height:32px}.learning-tiles{gap:12px;grid-template-rows:minmax(153px,auto) minmax(153px,auto);margin-top:18px}.action-tile{border-radius:23px;padding:18px 16px}.action-tile>strong{font-size:18px;margin-top:7px}.tile-learn>strong{font-size:23px}.action-tile .tile-eyebrow{font-size:8px;letter-spacing:.8px}.tile-description{font-size:11px}.tile-learn .tile-description{font-size:11px}.tile-review,.tile-attend{padding-bottom:65px}.tile-learn>.tile-art{width:100%;height:133px;margin:12px 0}.tile-review>.tile-art,.tile-attend>.tile-art{width:70px;height:70px}.tile-corner{left:16px;bottom:16px;width:23px;height:23px}.tile-bottom{font-size:11px}.tile-arrow{width:29px;height:29px}.home-shortcuts{gap:11px;margin-top:22px}.home-shortcuts .tile-art{height:75px;border-radius:20px;padding:8px}.home-shortcuts>a,.home-shortcuts>button{font-size:11px}.tile-home .quarter-panel{padding:20px}.tile-home .quarter-heading h2{font-size:20px}.month-vocabulary{padding:19px}.tile-bonus-note{font-size:9px}}
@media(max-width:360px){.tile-home .growth-hero{grid-template-columns:minmax(0,1fr) 112px;padding:18px 15px}.tile-home .hero-companion .growth-avatar{height:134px}.tile-home .hero-age>b{font-size:54px}.tile-home .growth-home-title h1{font-size:23px}.home-season{font-size:10px;padding:8px}.learning-tiles{gap:10px}.action-tile{padding-left:13px;padding-right:13px;border-radius:20px}.action-tile>strong{font-size:16px}.tile-learn>strong{font-size:21px}.tile-learn>.tile-art{height:120px}.tile-description{font-size:10px}.home-shortcuts{gap:8px}.home-shortcuts .tile-art{height:63px;padding:7px;border-radius:17px}.tile-corner{left:13px}.tile-home .hero-age>small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.action-tile,.home-shortcuts .tile-art{transition:none}.action-tile:not(:disabled):hover,.action-tile:not(:disabled):active,.home-shortcuts>a:hover .tile-art,.home-shortcuts>button:hover .tile-art{transform:none}}
