:root{--text:#252c29;--muted:#64716b;--line:#dde3df;--bg:#f6f8f6}
body{letter-spacing:0}
.top{background:#fff;color:var(--text);border-bottom:1px solid var(--line);margin:0;padding:22px 0}
.top .wrap{display:grid;grid-template-columns:1fr auto;gap:4px 24px}
.top h1{font-size:24px;letter-spacing:0}.top .sub{color:var(--muted);grid-column:1}
.top .cd{grid-column:2;grid-row:1/3;align-self:center;color:#466252;margin:0;font-size:14px}.top .cd b{font-size:36px;color:#28704e}
.daily-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 0}
.eyebrow{font-size:12px;color:#68776e}.daily-heading h2{font-size:20px;line-height:1.6;max-width:700px;margin:8px 0 0;font-weight:500}
input,textarea,button{font:inherit}input,textarea{border:1px solid #cbd5ce;background:#fff;color:var(--text);border-radius:6px;padding:9px;min-width:0;max-width:100%}
input:focus,textarea:focus,button:focus-visible,.ent:focus-visible{outline:2px solid #28704e;outline-offset:3px}
.exam-setting{display:grid;gap:5px;font-size:12px;color:var(--muted);flex-shrink:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-heading h2{font-size:17px;margin:0}.section-heading>span{font-size:12px;color:var(--muted)}#goal-total{font-size:23px;color:#28704e}
.goals-section,.journal-section{border-top:1px solid var(--line);padding:22px 0}.subject-goals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.subject-goal{border:1px solid var(--line);border-top:3px solid var(--subject-color);border-radius:6px;background:white;padding:16px}.subject-goal label{display:block;font-weight:600;margin-bottom:12px}.score-entry{display:flex;align-items:center;gap:8px;color:var(--muted)}.score-entry input{width:95px;font-size:24px;font-variant-numeric:tabular-nums}.score-entry span{font-size:12px}
.save-status{font-size:12px;min-height:20px;margin:8px 0 0;color:#446b50}.journal-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(200px,1fr);gap:28px}.journal-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.journal-toolbar label{font-size:13px}.field-label{display:block;margin:16px 0 8px;color:#56645b;font-size:13px}textarea{display:block;width:100%;resize:vertical;line-height:1.8;min-height:180px}.journal-history{border-left:1px solid var(--line);padding-left:24px;min-width:0}.journal-history h3{font-size:14px;margin:0 0 14px}#record-history{max-height:280px;overflow:auto}.history-item{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);padding:10px 4px;border-radius:0;background:transparent;cursor:pointer}.history-item strong{font-size:12px}.history-item span{display:block;font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.history-item[aria-current=true]{background:#e7f1ea}.empty-history{font-size:13px;color:var(--muted)}
button,.import-label{cursor:pointer;border:1px solid #cbd5ce;border-radius:6px;padding:8px 12px;background:white;color:#375741;min-height:40px}button:hover,.import-label:hover{background:#edf4ee}.review-heading{border-top:1px solid var(--line);padding-top:24px}.ent{border-radius:8px;box-shadow:none;min-height:174px}.ent::before{width:3px}.ent.c1::before{background:#338361}.ent.c2::before{background:#447d9a}.ent.c3::before{background:#b95b68}.card{background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;box-shadow:none;padding:22px 0}.card-head h2{letter-spacing:0}.data-footer{border-top:1px solid var(--line);padding:18px 0;display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted)}.import-label input{display:block;width:190px;font-size:12px;margin-top:5px}.import-label{padding:6px 10px}.offline-bar{font-size:12px}#backup-status{flex-basis:100%}
@media(max-width:680px){.top .wrap{grid-template-columns:1fr}.top .cd{grid-column:1;grid-row:auto;margin-top:8px}.daily-heading{align-items:flex-start;flex-direction:column;gap:16px;padding:22px 0}.daily-heading h2{font-size:18px}.exam-setting{display:flex;align-items:center;gap:12px}.subject-goals{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subject-goal{padding:12px}.score-entry input{width:78px;font-size:22px}.journal-layout{grid-template-columns:1fr;gap:16px}.journal-history{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.section-heading{flex-wrap:wrap}.ent{border-radius:8px}.top h1{font-size:22px}.data-footer>span:first-child{flex-basis:100%}}
