body{background:#f9f8f4;color:#233d35;font-family:system-ui,sans-serif}header{padding:0 24px;background:#fffdf8;border-bottom:1px solid #e8e8e0}header:after{display:none!important}.top130{display:flex;align-items:center;gap:24px;max-width:1180px;min-height:76px;margin:auto}.brand130{display:flex;align-items:center;gap:7px;background:none;color:#233d35;font-size:25px;font-weight:800;letter-spacing:-1.2px;padding:0;white-space:nowrap}.brand130 span{color:#79aa91}.topnav130{display:flex;flex:1;justify-content:center;gap:4px;margin:0}.topnav130 button{background:transparent;color:#36574b;font-size:14px;font-weight:650;padding:10px}.account130{background:#234e40;border-radius:12px;font-size:14px;white-space:nowrap}main{max-width:1180px;padding:36px 22px 60px}#app{display:block}.side,#accountStrip{display:none!important}.teacher130 #app{display:grid;grid-template-columns:215px minmax(0,1fr)}.teacher130 .side{display:flex!important}#publicHome,#learnHome{max-width:none;margin:0;background:transparent;box-shadow:none;border:0;padding:0}.hero130{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:24px;background:#e4efe5;border-radius:30px;padding:clamp(28px,6vw,70px);overflow:hidden}.hero130 h2{font-size:clamp(38px,6vw,72px);line-height:1.03;letter-spacing:-.055em;margin:16px 0;color:#233d35}.hero130 h2 em{font-style:normal;color:#4c896e}.hero130 p{font-size:18px;max-width:420px;line-height:1.6;color:#52675c;margin:20px 0 28px}.eyebrow130{font-size:11px;letter-spacing:.16em;font-weight:750;color:#527261}.start130{background:#234e40;padding:15px 23px;border-radius:12px;font-weight:700}.start130 span{margin-left:18px}.hero130 img{width:100%;max-height:300px;object-fit:contain}.heading130{font-size:26px;letter-spacing:-.6px;margin:36px 0 14px}#publicChoices,#studentChoices{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0}.learning-grid .card130{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#e0eee5;border:1px solid transparent;border-radius:20px;min-height:175px;padding:21px;color:#24483c}.learning-grid .card130:nth-child(2){background:#f5e2e9;color:#653c50}.learning-grid .card130:nth-child(3){background:#f5ecd6;color:#67532a}.learning-grid .card130:nth-child(4){background:#e9e7f4;color:#51476c}.card130 strong{font-size:19px}.learning-grid .card130 span{margin:0;font-size:14px;line-height:1.4}.card130 .ico130{display:grid;place-items:center;width:40px;height:40px;background:#ffffff90;border-radius:12px}.ico130 svg{width:24px;height:24px}.card130 .arrow130{position:absolute;right:16px;top:18px}.extra130{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.extra130 button{background:white;border:1px solid #dce5df}.pricing130{max-width:960px;margin:auto}section{border-radius:24px;box-shadow:0 8px 32px #233d3508}button:focus-visible{outline:3px solid #668e7b;outline-offset:3px}@media(max-width:850px){.top130{flex-wrap:wrap;gap:8px;padding:12px 0}.topnav130{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap}.account130{margin-left:auto}#publicChoices,#studentChoices{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){header{padding:0 14px}main{padding:18px 12px 35px}.hero130{grid-template-columns:1fr;padding:25px;gap:8px;border-radius:22px}.hero130 img{max-height:170px}.hero130 p{font-size:16px;margin:12px 0 20px}.hero130 h2{font-size:44px}.learning-grid .card130{padding:14px;min-height:160px}.card130 strong{font-size:16px}.heading130{font-size:22px;margin-top:26px}.teacher130 #app{display:block}}@media print{header,.extra130{display:none!important}}

/* Home views must never remain visible on other routes. */
[hidden],#app[hidden],#publicHome[hidden],#learnHome[hidden]{display:none!important}
body[data-page130]:not([data-page130="avaleht"]) #publicHome,body[data-page130]:not([data-page130="avaleht"]) #learnHome{display:none!important}

body[data-page130="avaleht"] main{max-width:1080px;padding-top:30px}.hero130{padding:clamp(26px,5vw,56px);grid-template-columns:1.4fr .6fr;gap:32px}.hero130 h2{font-size:clamp(36px,5vw,60px)}.hero130 img{max-height:220px}.hero130 p{font-size:17px}.heading130{margin-top:28px;font-size:23px}#publicChoices,#studentChoices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.learning-grid .card130{min-height:145px;border:1px solid transparent;text-align:left;box-shadow:none}.card130 .ico130{background:#ffffff90}.intro140{color:#52675c;text-align:center;margin:30px auto 0;max-width:600px;font-size:14px;line-height:1.7}.topnav130 button{white-space:nowrap}@media(max-width:650px){.hero130{grid-template-columns:1fr;gap:8px}.hero130 img{max-height:130px}#publicChoices,#studentChoices{grid-template-columns:1fr}.learning-grid .card130{min-height:105px}}

/* 14.9: home is a landing page, not a second practice panel. */
body[data-page130="avaleht"] main > section:not(#publicHome),
body[data-page130="avaleht"] #app > .workspace > section:not(#learnHome),
#gradeTiles {display:none!important}
