@import url('/cloud.css');
:root{font-family:system-ui,sans-serif;color:#221838;background:#f6f5ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header,footer{max-width:1100px;margin:auto;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:20px}a{color:#5a3ea3}header .brand{font-size:28px;font-weight:750;text-decoration:none}.brand span{font-size:12px;padding:6px 10px;border-radius:20px;background:#ece5f8;vertical-align:middle}main{max-width:1044px;margin:20px auto;padding:0 24px;min-height:65vh}h1{font-size:clamp(32px,5vw,52px);letter-spacing:-2px;line-height:1.1;margin:15px 0 20px}h2{font-size:24px;margin:0 0 14px}h3{font-size:18px}p{line-height:1.7;color:#5a5170}section,.tile{background:#fff;border:1px solid #e3dcee;border-radius:22px;padding:28px;margin:20px 0}.hero{background:#ece5f8;border:0;padding:36px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:bold}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.grid .tile{margin:0}.row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}label{display:block;font-size:13px;font-weight:600;margin:16px 0}input,select,textarea{display:block;width:100%;padding:13px;border:1px solid #e3dcee;border-radius:10px;margin-top:7px;font:inherit;color:inherit;background:#fff}textarea{min-height:110px}button,.button{display:inline-block;background:#5a3ea3;color:white;border:0;border-radius:10px;padding:13px 20px;font:inherit;cursor:pointer;text-decoration:none}button.secondary,.button.secondary{background:#ece5f8;color:#5a3ea3}button:disabled{opacity:.5;cursor:wait}.error{color:#a63427;min-height:1.5em}.badge{display:inline-block;border-radius:20px;padding:6px 12px;font-size:12px;background:#ece5f8;color:#5a3ea3}.done{background:#ece5f8}.code{font-family:monospace;letter-spacing:3px;font-size:22px}.narrow{max-width:550px;margin:40px auto}.steps{line-height:1.8;padding-left:22px}.steps li{margin-bottom:12px}details{margin:18px 0;padding:15px;background:#f6f3fb;border-radius:12px}summary{cursor:pointer}footer{font-size:12px;color:#5a5170}.notice{padding:16px;background:#fff5d9;border-radius:12px}.hide{display:none}@media(max-width:600px){header,footer{padding:20px;flex-wrap:wrap}main{padding:0 16px}.hero,section,.tile{padding:22px}header .brand{font-size:24px}}
/* Watch, practise, explain: comfortable on phones and keyboards. */
.video-card{background:#f6f3fb;border:1px solid #e3dcee;border-radius:16px;padding:20px;margin:20px 0}.video-card h3{margin-top:14px}.video-card a{display:inline-block}.ready{display:flex;align-items:center;gap:12px;padding:18px;background:#f5f1e6;border-radius:12px}.ready input{width:22px;height:22px;flex-shrink:0}fieldset{border:1px solid #e3dcee;border-radius:16px;padding:20px;margin:24px 0}fieldset:disabled{opacity:.55}legend{font-weight:700;color:#5a3ea3;padding:0 8px}textarea{min-height:100px}

.parent-routine-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #ece5f8;padding:14px 0}.parent-routine-row p{margin:3px 0}.parent-routine-row button{font-size:12px;padding:8px 11px}.parent-routine-panel .row label{flex:1;min-width:130px}@media(max-width:650px){.parent-routine-row{align-items:flex-start;flex-direction:column}}
.habit-presets button{margin:4px}.parent-routine-panel input[type=checkbox]{width:auto;min-width:18px;accent-color:#5a3ea3}

.child-login-status:empty{display:none}#child-username,#child-password{display:grid;gap:14px;min-width:0}#child-username input,#child-password input{box-sizing:border-box;max-width:100%}.tile .code{overflow-wrap:anywhere;word-break:break-word}.child-login-status{padding:12px;background:#ece5f8;border-radius:12px}
