.sp-root,.sp-dialog{--sp-ink:#2d2342;--sp-muted:#5e536d;color:var(--sp-ink);font:15px/1.5 Arial,Helvetica,sans-serif}.sp-root *,.sp-dialog *{box-sizing:border-box}.sp-root button,.sp-root input,.sp-root textarea,.sp-root select,.sp-dialog button,.sp-dialog input,.sp-dialog textarea,.sp-dialog select{font:inherit}.sp-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.sp-header h2{font-size:26px;margin:0 0 5px;color:var(--sp-ink)}.sp-header p{margin:0;color:var(--sp-muted);font-size:14px}.sp-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.sp-button{background:#5f2580;color:white;border:0;border-radius:10px;padding:10px 15px;min-height:42px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;font-weight:600}.sp-button.secondary{background:#eee8f5;color:#40294f;border:1px solid #d9cbe5}.sp-button.danger{background:#fff0f0;color:#8b2027;border:1px solid #d9979b}.sp-button:disabled{opacity:.65;cursor:wait}.sp-root button:focus-visible,.sp-root input:focus-visible,.sp-root textarea:focus-visible,.sp-root select:focus-visible,.sp-dialog button:focus-visible{outline:3px solid #ad66d5;outline-offset:3px}.sp-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.sp-toolbar input{flex:1;min-width:200px}.sp-toolbar input,.sp-field input,.sp-field textarea,.sp-field select{padding:11px 12px;border:1px solid #b3a1c1;border-radius:9px;background:white;color:var(--sp-ink);min-height:44px;max-width:100%;width:100%}.sp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.sp-tabs button{background:white;color:var(--sp-ink);border:1px solid #d9cbe5;border-radius:20px;min-height:40px;padding:9px 16px;cursor:pointer}.sp-tabs button[aria-selected=true]{background:#5f2580;color:white;border-color:#5f2580}.sp-list{display:grid;gap:12px}.sp-card{background:white;border:1px solid #e0d7e8;border-radius:13px;padding:18px;box-shadow:0 4px 14px #2d234206}.sp-row{display:flex;justify-content:space-between;align-items:center;gap:16px}.sp-row>div{min-width:0}.sp-card h3{font-size:17px;margin:0 0 6px;color:var(--sp-ink)}.sp-card p{margin:5px 0 10px;color:var(--sp-ink)}.sp-card small,.sp-muted{color:var(--sp-muted);line-height:1.5}.sp-status{display:inline-block;background:#eee8f5;border-radius:7px;padding:4px 8px;font-size:12px;margin-top:6px}.sp-empty{padding:27px;border:1px dashed #bfaecb;border-radius:12px;color:var(--sp-muted);background:#faf7fc}.sp-field{display:grid;gap:7px;margin:15px 0;font-size:14px;font-weight:600;color:var(--sp-ink)}.sp-field textarea{resize:vertical;min-height:120px;font-weight:400}.sp-field small{font-weight:400;color:var(--sp-muted)}.sp-check{display:flex;align-items:flex-start;gap:9px;font-size:14px;margin:10px 0;line-height:1.6}.sp-check input{width:18px;height:18px;flex:none;accent-color:#5f2580;margin-top:2px}.sp-checklist{max-height:220px;overflow:auto;border:1px solid #d9cbe5;padding:10px 14px;border-radius:10px;background:#faf7fc}.sp-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.sp-dialog{border:1px solid #cbb7d8;border-radius:18px;padding:25px;max-width:1200px;width:calc(100vw - 40px);max-height:92dvh;background:#faf8fc}.sp-dialog::backdrop{background:#21163199}.sp-dialog-small{max-width:640px;background:white}.sp-close{float:right;margin:0 0 10px 15px;background:transparent;color:#40294f;border:0;border-radius:6px;font-size:28px;min-width:40px;min-height:40px;cursor:pointer}.sp-error{padding:13px 15px;background:#fff1f0;color:#841c2d;border:1px solid #cc9ca1;border-radius:10px;margin:16px 0;line-height:1.55;white-space:pre-wrap}.sp-note{padding:13px 15px;background:#fff8d7;border:1px solid #e3d385;color:#57421a;border-radius:10px;margin:16px 0;line-height:1.6}.sp-success{padding:13px 15px;background:#edf7ef;border:1px solid #88ac90;color:#264f30;border-radius:10px;margin:16px 0;line-height:1.6}.sp-password{font-family:Consolas,monospace!important;letter-spacing:.7px}.sp-messages{display:flex;flex-direction:column;gap:12px;max-height:370px;min-height:190px;overflow:auto;padding:10px 0}.sp-message{background:#eee8f5;border-radius:11px;padding:12px;max-width:90%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.sp-message.own{background:#fff2bd;align-self:flex-end}.sp-message small{display:block;font-size:11px;margin-top:6px}.sp-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.sp-files{display:grid;gap:8px;margin:15px 0}.sp-files button{text-align:left;justify-content:flex-start}.sp-access-mark{font-size:13px;font-weight:bold}.sp-theme-swatches{display:flex;gap:10px;margin:12px 0}.sp-theme-swatches span{border:1px solid #dfd4eb;border-radius:8px;padding:8px 12px;font-size:13px}.sp-theme-swatches span:nth-child(1){background:#fff8d3;color:#200772}.sp-theme-swatches span:nth-child(2){background:#6a48d7;color:white}.sp-theme-swatches span:nth-child(3){background:#412c84;color:white}.sp-count{border-radius:6px;background:#5f2580;color:white;font-size:11px;padding:2px 6px;margin-left:5px}.sp-root [hidden],.sp-dialog [hidden]{display:none!important}
@media(max-width:700px){.sp-header{align-items:flex-start;flex-direction:column}.sp-header h2{font-size:23px}.sp-row{align-items:flex-start;flex-direction:column;gap:12px}.sp-row>.sp-actions{width:100%}.sp-actions .sp-button{flex:1}.sp-grid{grid-template-columns:1fr}.sp-dialog{width:calc(100vw - 18px);padding:17px;max-height:95dvh}.sp-card{padding:15px}.sp-theme-swatches{gap:5px}.sp-theme-swatches span{padding:7px;font-size:12px}.sp-toolbar input{min-width:170px}.sp-tabs{gap:6px}.sp-tabs button{font-size:13px;padding:8px 13px}.sp-messages{max-height:45dvh}}

.sp-unread{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;margin-left:8px;border-radius:20px;background:#ffe773;color:#200772;font-size:12px;font-weight:800}.sp-unread[hidden]{display:none}

.student-portals-page{width:100%;min-height:65vh;padding:8px 0 28px}.student-portals-page .sp-row>div:first-child{min-width:0}.student-portals-page .sp-row h3{overflow-wrap:anywhere}.student-portals-page .sp-row>.sp-actions{flex-shrink:0}.sp-password[readonly]{background:#faf8fc;color:#2d2342}
