*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f8f4;color:#26332b}.hidden{display:none!important}.shell{min-height:100vh;display:grid;place-items:center;padding:25px}.card{background:white;border:1px solid #dfe6df;border-radius:16px;padding:28px;box-shadow:0 15px 40px rgba(30,50,35,.06)}.shell .card{width:min(520px,100%)}.logo{font-size:23px;font-weight:800;color:#4f805a}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#78927e}.muted{color:#78867c;font-size:12px;line-height:1.5}label{display:block;font-size:11px;font-weight:700;margin:15px 0}input{width:100%;padding:12px;margin-top:6px;border:1px solid #d8e0d9;border-radius:8px}button{width:100%;padding:12px;border:0;border-radius:8px;background:#4f805a;color:white;font-weight:800}.secondary{background:#edf4ee;color:#42684a}.or{text-align:center;font-size:10px;color:#88948b}.error{color:#a64f42;font-size:11px}header{height:72px;background:white;border-bottom:1px solid #e1e6e1;display:flex;justify-content:space-between;align-items:center;padding:0 5vw}.small{width:auto}.portal{width:min(1050px,90vw);margin:45px auto}.portal>h1{font-size:38px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}.child{padding:12px 0;border-bottom:1px solid #edf0ed;display:flex;justify-content:space-between}.child span{font-size:9px;background:#eef4ef;padding:4px 8px;border-radius:99px}@media(max-width:700px){.grid{grid-template-columns:1fr}}
.message-thread{min-height:180px;max-height:360px;overflow:auto;padding:12px;background:#f8faf8;border:1px solid #e5ebe5;border-radius:10px;margin-top:10px}
.message-bubble{max-width:78%;padding:10px 12px;border-radius:12px;margin:8px 0;font-size:12px;line-height:1.5}
.message-bubble small{display:block;margin-top:5px;font-size:9px;color:#829087}
.from-admin{margin-right:auto;background:#fff;border:1px solid #e2e7e2}
.from-parent{margin-left:auto;background:#eaf4ec}
.message-compose textarea{width:100%;padding:12px;border:1px solid #d8e0d9;border-radius:8px;margin:10px 0}
.announcement-card{padding:12px 0;border-bottom:1px solid #edf0ed}
.announcement-card p{font-size:12px;line-height:1.5}
.announcement-card small{font-size:9px;color:#829087}

.parent-billing-summary{padding:14px;background:#f6f9f6;border-radius:10px;margin:10px 0 16px}
.parent-billing-summary span{display:block;font-size:10px;color:#7a887e}
.parent-billing-summary strong{font-size:24px}
.parent-invoice{display:flex;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid #edf0ed}
.parent-invoice small{display:block;margin-top:4px;color:#819087;font-size:9px}
.parent-invoice-right{text-align:right}
.invoice-status{display:block;margin-top:4px;font-size:9px;text-transform:capitalize;color:#6f7b73}

.pay-online-button{display:inline-block;margin-top:9px;padding:8px 10px;border-radius:8px;background:#4f805a;color:white;text-decoration:none;font-size:10px;font-weight:800}
.payment-instructions{grid-column:1/-1;margin:8px 0 0;font-size:10px;color:#758178;line-height:1.5}

button.pay-online-button{border:0;cursor:pointer}
button.pay-online-button:disabled{opacity:.65;cursor:wait}
.payment-success-card h1{font-size:34px;margin:12px 0}
.payment-success-card .pay-online-button{margin-top:14px}


/* STEP 18 — Parent attendance */
.parent-attendance-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #edf0ed}
.parent-attendance-row strong{display:block;font-size:12px}
.parent-attendance-row small{display:block;margin-top:4px;font-size:9px;color:#87938a}
.parent-attendance-times{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;font-size:10px;color:#526158}
@media(max-width:600px){.parent-attendance-row{align-items:flex-start;flex-direction:column}.parent-attendance-times{justify-content:flex-start}}


/* STEP 19 — Parent daily reports */
.parent-daily-report{padding:16px 0;border-bottom:1px solid #edf0ed}
.parent-report-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}
.parent-report-head>div>strong{display:block;font-size:13px}.parent-report-head small{display:block;margin-top:4px;font-size:9px;color:#87938a}
.parent-mood{padding:5px 8px;border-radius:999px;background:#edf6ee;color:#477252;font-size:9px;text-transform:capitalize;font-weight:800}
.parent-report-line{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:6px 0;font-size:11px;line-height:1.5}
.parent-report-line strong{font-size:10px;color:#66766b}.parent-report-line span{white-space:pre-wrap}
@media(max-width:600px){.parent-report-line{grid-template-columns:1fr;gap:2px}}
