:root{color-scheme:light;--bg: #f6f5f2;--surface: #ffffff;--border: #e0ddd6;--text: #23231f;--muted: #6b6a63;--accent: #1f6f50;--accent-hover: #17593f;--error: #b3261e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}h1,h2,h3{margin:0 0 .5rem}button{font:inherit;cursor:pointer;border:1px solid var(--accent);background:var(--accent);color:#fff;border-radius:6px;padding:.5rem .9rem}button:hover:not(:disabled){background:var(--accent-hover)}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:transparent;color:var(--accent)}button.small{padding:.3rem .6rem;font-size:.85rem}input,textarea{font:inherit;padding:.5rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);width:100%}label{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem;font-size:.9rem;color:var(--muted)}.muted{color:var(--muted)}.small{font-size:.85rem}.error{color:var(--error)}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem;margin-bottom:1rem}.centered-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem}.login-form{width:100%;max-width:360px}.pill{display:inline-block;background:#e6f2ec;color:var(--accent);border-radius:999px;padding:.15rem .6rem;font-size:.8rem;margin-left:.5rem}.pill-muted{background:#eee;color:var(--muted)}.pill-tag{margin-left:.25rem}.tab-shell{max-width:960px;margin:0 auto;padding:1rem}.app-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.student-tab-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;border-bottom:1px solid var(--border);padding-bottom:.75rem;margin-bottom:1rem}.tab-group{display:flex;flex-wrap:wrap;gap:.5rem}.tab-group-right{margin-left:auto}.tab{background:transparent;color:var(--text);border:1px solid var(--border)}.tab-active{background:var(--accent);color:#fff;border-color:var(--accent)}.tab-add{border-style:dashed}.add-student-form{display:flex;gap:.4rem}.add-student-form input{width:160px}.archived-students{display:flex;align-items:center;gap:.5rem}.archived-students summary{cursor:pointer;color:var(--muted)}.student-header-main{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.student-notes{margin-top:.25rem}.student-header-actions{display:flex;gap:.5rem;margin-top:.75rem}.sub-tab-bar{display:flex;gap:.5rem;margin-bottom:1rem}.pane-main{width:100%}.pane-sidebar{position:fixed;top:6rem;right:1.5rem;width:320px;max-height:min(70vh,40rem);overflow-y:auto;padding-right:.25rem;z-index:5}@media (max-width: 1400px){.pane-layout{display:flex;align-items:flex-start;gap:1.5rem;flex-wrap:wrap}.pane-main{width:auto;flex:3 1 320px;min-width:260px}.pane-sidebar{position:static;width:auto;flex:2 1 280px;max-width:380px}}@media (max-width: 700px){.pane-main,.pane-sidebar{flex:1 1 100%;max-width:none}}.log-entry-list{list-style:none;padding:0;margin:0}.log-entry-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.4rem;cursor:pointer}.log-entry-list details[open] .log-entry-header{margin-bottom:.6rem}.log-entry-date{font-weight:600}.log-entry-content{margin:0;white-space:pre-wrap}.message-list{list-style:none;padding:0;margin:0 0 1rem;display:flex;flex-direction:column;gap:.6rem}.message{border-radius:10px;padding:.6rem .8rem;max-width:85%}.message p{margin:.2rem 0 0;white-space:pre-wrap}.message-role{font-size:.75rem;font-weight:600;color:var(--muted)}.message-user{background:#eef3ef;align-self:flex-end}.message-assistant{background:var(--surface);border:1px solid var(--border);align-self:flex-start}.message-input{display:flex;gap:.5rem;align-items:flex-end}.message-input textarea{flex:1}.suggested-insight-banner{border-color:var(--accent);background:#f2f8f5}.suggested-insight-label{font-weight:600;margin-top:0}.suggested-insight-actions{display:flex;gap:.5rem;margin-top:.5rem}.lesson-plan-header{margin-bottom:1rem}.lesson-plan-draft textarea{font-family:inherit}.lesson-plan-actions{display:flex;gap:.5rem;margin-top:.5rem}.lesson-plan-list{list-style:none;padding:0;margin:0}.lesson-plan-list-header{display:flex;justify-content:space-between;margin-bottom:.4rem;color:var(--muted);font-size:.85rem;cursor:pointer}.lesson-plan-list details[open] .lesson-plan-list-header{margin-bottom:.6rem}.lesson-plan-content-full{margin:0;white-space:pre-wrap}button.secondary:hover:not(:disabled),.tab:hover:not(:disabled):not(.tab-active),.day-chip:hover:not(:disabled):not(.day-chip-active),.day-toggle:hover:not(:disabled):not(.day-toggle-on){background:#e6f2ec;color:var(--accent)}.day-filter{flex-basis:100%;display:flex;flex-wrap:wrap;gap:.35rem}.day-chip,.day-toggle{background:transparent;color:var(--text);border:1px solid var(--border);border-radius:999px;padding:.25rem .7rem;font-size:.85rem}.day-chip-active,.day-toggle-on{background:var(--accent);color:#fff;border-color:var(--accent)}.day-chip-today:not(.day-chip-active){border-color:var(--accent)}.day-chip-empty{color:var(--muted)}.day-count{opacity:.7;margin-left:.15rem}.pill-days{background:#eef1f8;color:#3a4a7a}.day-picker{border:none;padding:0;margin:0 0 .75rem;display:flex;flex-wrap:wrap;gap:.35rem}.day-picker legend{font-size:.9rem;color:var(--muted);padding:0;margin-bottom:.25rem}.profile-status{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.profile-status p{margin:0}.profile-status-line{font-weight:600}.profile-status-actions,.profile-actions{display:flex;flex-wrap:wrap;gap:.5rem}.profile-actions{margin-top:.5rem}.profile-editor{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9rem;line-height:1.5;resize:vertical}.notice{background:#fff6e0;border:1px solid #ecd9a0;border-radius:6px;padding:.5rem .7rem;margin:.5rem 0 0;font-size:.9rem}.profile-history ul{list-style:none;padding:0;margin:.5rem 0}.profile-history li{display:flex;justify-content:space-between;align-items:center;padding:.3rem 0;border-bottom:1px solid var(--border)}.insights-search{margin:1rem 0}.insight-list{list-style:none;padding:0;margin:0}.insight-item-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.insight-item-header .secondary{margin-left:auto}
