/* Student profile – quiet, student-friendly workspace with real account data. */
#student-view-profile{gap:20px}
.spark-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:clamp(20px,4vw,32px);border:1px solid #365671;border-radius:21px;background:radial-gradient(ellipse at top right,#25576788,transparent 50%),linear-gradient(125deg,#1a3550,#11283d);box-shadow:0 16px 40px #050d1838}
.spark-profile-identity{display:flex;align-items:center;gap:18px;min-width:0}
.spark-profile-avatar{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border-radius:21px;background:linear-gradient(145deg,#7dcbd0,#a2e8c0);color:#0e2631;font-size:1.5rem;font-weight:850;letter-spacing:-.05em;border:3px solid #ffffff64}
.spark-profile-eyebrow{font-size:.69rem;font-weight:850;letter-spacing:.14em;color:#a3ddda}
.spark-profile-identity h2{margin:5px 0 6px;font-size:clamp(1.45rem,3vw,2.15rem);color:#f4f9ff;overflow-wrap:anywhere}
.spark-profile-identity p{margin:0 0 6px;color:#d0e1ee;overflow-wrap:anywhere}
#profile-classes{font-size:.8rem;color:#b7d3e2}
.spark-profile-hero-actions{display:flex;flex-wrap:wrap;gap:9px}
.spark-profile-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.spark-profile-stat{display:grid;gap:4px;padding:15px 12px;border:1px solid #334e65;background:linear-gradient(145deg,#192f44,#122436);border-radius:14px;min-width:0;color:#c4d6e4}
.spark-profile-stat-icon{font-size:1.2rem;color:#97e2cf}
.spark-profile-stat>span:nth-child(2){font-size:.79rem;font-weight:750}
.spark-profile-stat strong{font-size:clamp(1.35rem,2.7vw,1.95rem);font-weight:850;color:#f5fbff;font-variant-numeric:tabular-nums}
.spark-profile-stat small{font-size:.72rem;color:#aebfce}
.spark-profile-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(290px,1fr);gap:15px}
.spark-profile-main,.spark-profile-aside{display:grid;align-content:start;gap:15px;min-width:0}
.spark-profile-panel{display:grid;align-content:start;gap:14px;padding:clamp(17px,2.5vw,24px)!important;margin:0!important;min-width:0}
.spark-profile-panel-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.spark-profile-panel-heading h3,.spark-profile-panel-heading h2{margin:5px 0 6px;font-size:1.18rem;line-height:1.3}
.spark-profile-panel-heading p,.spark-profile-panel>p{margin:0;font-size:.85rem;line-height:1.55;color:#bdcfdf}
.spark-profile-pill{display:inline-block;background:#183e3b;border:1px solid #438a7b;border-radius:999px;color:#a9f1d7;padding:7px 11px;font-size:.75rem;font-weight:800;white-space:nowrap}
.spark-profile-item-list{display:grid;gap:10px;min-width:0}
.spark-profile-item{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #355369;border-radius:12px;background:#13273a;min-width:0;flex-wrap:wrap}
.spark-profile-item-icon{font-size:1.2rem}
.spark-profile-item-copy{flex:1 1 160px;display:grid;gap:4px;min-width:0}
.spark-profile-item-copy strong{font-size:.87rem;color:#eff8ff;overflow-wrap:anywhere}
.spark-profile-item-copy small{font-size:.75rem;color:#acc1d1;overflow-wrap:anywhere}
.spark-profile-subtle{display:inline-flex;align-items:center;color:#9ae9d1;min-height:34px;font-size:.8rem;text-decoration:underline;text-underline-offset:3px;font-weight:750}
.spark-profile-subtle:focus-visible{outline:2px solid #a2f5d6;outline-offset:3px}
.spark-profile-item .mini-button{margin-left:auto}
.spark-profile-note-preview{display:grid;gap:6px;padding:13px;background:#152d40;border:1px solid #3b5b71;border-radius:12px}
.spark-profile-note-preview strong{font-size:.9rem;color:#f2f9ff}
.spark-profile-note-preview p{margin:0;color:#c2d4e1;line-height:1.5;font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere}
.spark-profile-subject{width:fit-content;border-radius:7px;background:#25424f;color:#bbf5e1;padding:4px 8px;font-size:.7rem;font-weight:800}
.spark-profile-empty,.spark-profile-muted{color:#bad0df;line-height:1.6;font-size:.85rem;margin:5px 0}
.spark-profile-goal-head{display:flex;justify-content:space-between;gap:12px;color:#e6f4fa;font-size:.85rem;font-variant-numeric:tabular-nums}
.spark-profile-goal-bar{width:100%;height:10px;background:#30485a;border-radius:99px;overflow:hidden;margin:8px 0 13px}
.spark-profile-goal-bar span{display:block;height:100%;background:linear-gradient(90deg,#65bacc,#98e9ba);border-radius:inherit}
.spark-profile-mastery{font-size:.85rem;color:#a9eddd;font-weight:750}
#profile-progress h4{margin:14px 0 5px;font-size:.81rem;color:#dcf7ee}
.spark-profile-topic{margin:6px 0;font-size:.82rem;color:#bad1df;overflow-wrap:anywhere}
.spark-profile-status,#profile-notebook-status{color:#b8e6d8;font-size:.85rem;min-height:1em}
#profile-save-lesson{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.spark-profile-notes-shelf{margin-top:14px!important}
.spark-profile-note-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.spark-profile-note-form label,.spark-profile-note-filters label{display:grid;gap:7px;color:#d2e6f2;font-weight:700;font-size:.79rem}
.spark-profile-note-form input,.spark-profile-note-form textarea,.spark-profile-note-form select,.spark-profile-note-filters input,.spark-profile-note-filters select{box-sizing:border-box;width:100%;min-width:0;max-width:100%;background:#0f2538;color:#f5fbff;border:1px solid #4c6a81;border-radius:10px;padding:12px;font:inherit;line-height:1.5}
.spark-profile-note-wide,.spark-profile-note-buttons{grid-column:1/-1}
.spark-profile-note-buttons{display:flex;gap:10px;flex-wrap:wrap}
.spark-profile-note-filters{display:grid;grid-template-columns:2fr minmax(160px,1fr);gap:12px;padding:15px 0;border-top:1px solid #324a5e}
.spark-profile-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.spark-profile-note-card{display:grid;align-content:start;gap:10px;padding:17px;border:1px solid #3c5b6d;border-radius:14px;background:linear-gradient(155deg,#1a3448,#132a3b);min-width:0}
.spark-profile-note-card h3{margin:0;font-size:1.05rem;color:#f5faff;overflow-wrap:anywhere}
.spark-profile-note-card p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.62;font-size:.86rem;color:#d0e0ec}
.spark-profile-note-card small{font-size:.74rem;color:#b1c7d5}
.spark-profile-note-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.student-dashboard .spark-profile-save-work{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;margin-bottom:6px;min-height:40px;font-size:.79rem}
.student-dashboard .spark-profile-save-work[aria-pressed="true"]{border-color:#6daf9b;color:#aef1d4;background:#183c39}
@media(max-width:1050px){.spark-profile-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.spark-profile-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.9fr)}}
@media(max-width:760px){.spark-profile-layout{grid-template-columns:1fr}.spark-profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.spark-profile-note-grid{grid-template-columns:1fr}}
@media(max-width:530px){.spark-profile-identity{align-items:flex-start}.spark-profile-avatar{flex-basis:58px;width:58px;height:58px;border-radius:17px;font-size:1.2rem}.spark-profile-hero{padding:17px}.spark-profile-hero-actions{width:100%}.spark-profile-hero-actions a{flex:1 1 125px}.spark-profile-note-form,.spark-profile-note-filters{grid-template-columns:1fr}.spark-profile-stats{gap:8px}.spark-profile-stat{padding:12px 10px}}
