/* Nepsite "Schoolportaal": een verzonnen schoolplatform in eigen kleuren (donkerblauw en groenblauw). */
.t-page.sp { background: #eef2f5; color: #1d2733; }
.sp-fav { background: #0f766e; }
.sp-app { position: absolute; inset: 0; display: flex; flex-direction: column; }
.sp-top { flex: none; height: 54px; display: flex; align-items: center; gap: 14px; padding: 0 20px; background: #12324a; color: #fff; }
.sp-logo { display: flex; align-items: center; gap: 10px; }
.sp-logo b { font-size: 18px; letter-spacing: -.01em; }
.sp-logo-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #14b8a6; color: #fff; }
.sp-logo-mark .k-ico { width: 18px; height: 18px; }
.sp-school { padding-left: 12px; margin-left: 4px; border-left: 1px solid rgba(255, 255, 255, .25); color: #b9cbd8; font-size: 13px; }
.sp-top-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sp-top-ico { position: relative; color: #d6e2ea; }
.sp-badge { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.sp-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f59e0b; color: #fff; font-weight: 700; font-size: 13px; }
.sp-avatar.small { width: 36px; height: 36px; background: #0f766e; }
.sp-me { font-size: 14px; font-weight: 600; }
.sp-body { flex: 1; min-height: 0; display: flex; }
.sp-nav { flex: none; width: 210px; padding: 14px 10px; background: #fff; border-right: 1px solid #dde4ea; display: grid; align-content: start; gap: 2px; }
.sp-nav-b { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: #33414f; font: 600 14px/1.2 "Segoe UI", system-ui, sans-serif; text-align: left; cursor: pointer; }
.sp-nav-b:hover { background: #f1f5f8; }
.sp-nav-b.on { background: #e1f3f1; color: #0f766e; }
.sp-count { margin-left: auto; font-style: normal; font-size: 12px; padding: 0 7px; border-radius: 9px; background: #0f766e; color: #fff; }
.sp-main { position: relative; flex: 1; min-width: 0; padding: 18px 22px; overflow: hidden; }
.sp-h { margin: 0 0 14px; font-size: 22px; }
.sp-tools { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sp-folder { font-weight: 700; color: #33414f; }
.sp-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 300px; height: 36px; padding: 0 12px; border-radius: 9px; background: #fff; border: 1px solid #dde4ea; color: #7a8896; font-size: 13px; }
.sp-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid #c9d4dd; border-radius: 9px; background: #fff; color: #1d2733; font: 600 14px/1 "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.sp-btn .k-ico { width: 16px; height: 16px; }
.sp-btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; }
.sp-btn.ghost { border-color: transparent; background: transparent; }
.sp-btn.wide { width: 100%; justify-content: center; }
.sp-mailview { display: grid; grid-template-columns: 430px 1fr; gap: 14px; height: calc(100% - 50px); }
.sp-list { background: #fff; border: 1px solid #dde4ea; border-radius: 12px; overflow: hidden; align-self: start; }
.sp-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid #eef2f5; background: #fff; text-align: left; cursor: pointer; font-family: "Segoe UI", system-ui, sans-serif; color: #33414f; }
.sp-row:last-child { border-bottom: 0; }
.sp-row.on { background: #e1f3f1; }
.sp-row.unread .sp-row-from, .sp-row.unread .sp-row-subj { font-weight: 700; color: #12324a; }
.sp-row-from { font-size: 14px; }
.sp-row-from i { font-style: normal; margin-left: 8px; color: #7a8896; font-size: 12px; font-weight: 400; }
.sp-row-subj { grid-column: 1; font-size: 13.5px; }
.sp-row-when { grid-row: 1; grid-column: 2; font-size: 12px; color: #7a8896; }
.sp-read { background: #fff; border: 1px solid #dde4ea; border-radius: 12px; padding: 20px 24px; display: grid; align-content: start; gap: 14px; }
.sp-read h3 { margin: 0; font-size: 20px; }
.sp-read-from { display: flex; align-items: center; gap: 10px; }
.sp-read-from b { display: block; font-size: 14px; }
.sp-read-from span { font-size: 12.5px; color: #7a8896; }
.sp-read-body { white-space: pre-line; font-size: 14.5px; line-height: 1.55; color: #33414f; }
.sp-read .sp-btn { justify-self: start; }
.sp-compose { position: absolute; right: 26px; bottom: 18px; z-index: 3; width: 620px; display: grid; gap: 10px; padding: 0 0 14px; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(18, 50, 74, .3), 0 0 0 1px #dde4ea; overflow: visible; }
.sp-compose-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #12324a; color: #fff; border-radius: 12px 12px 0 0; }
.sp-compose > .sp-field, .sp-compose > .sp-fmt, .sp-compose > .sp-text, .sp-compose > .sp-compose-foot { margin: 0 16px; }
.sp-field { display: grid; gap: 4px; font-size: 13px; color: #55636f; font-weight: 600; }
.sp-in { height: 38px; padding: 0 12px; border: 1px solid #c9d4dd; border-radius: 8px; font: 14px "Segoe UI", system-ui, sans-serif; color: #1d2733; background: #fff; }
.sp-in.short { width: 140px; }
.sp-to { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 38px; padding: 4px 8px; border: 1px solid #c9d4dd; border-radius: 8px; background: #fff; }
.sp-to-in { flex: 1; min-width: 120px; height: 28px; border: 0; outline: none; font: 14px "Segoe UI", system-ui, sans-serif; }
.sp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px 3px 10px; border-radius: 999px; background: #e1f3f1; color: #0f766e; font-size: 13px; font-weight: 600; }
.sp-chip .k-ico { width: 13px; height: 13px; }
.sp-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 4; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .15), 0 0 0 1px #dde4ea; overflow: hidden; }
.sp-sug { display: block; width: 100%; padding: 9px 12px; border: 0; background: #fff; text-align: left; font: 14px "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.sp-sug:hover, .sp-sug:first-child { background: #f1f5f8; }
.sp-fmt { display: flex; align-items: center; gap: 14px; padding: 6px 10px; border-radius: 8px; background: #f5f7f9; color: #55636f; font-size: 13px; }
.sp-attach { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.sp-attach .k-ico { width: 15px; height: 15px; }
.sp-text { min-height: 170px; padding: 10px 12px; border: 1px solid #c9d4dd; border-radius: 8px; font: 14px/1.55 "Segoe UI", system-ui, sans-serif; color: #1d2733; resize: none; }
.sp-text.small { min-height: 70px; }
.sp-compose-foot { display: flex; gap: 8px; }
.sp-toast { position: absolute; left: 50%; bottom: 22px; z-index: 6; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; background: #12324a; color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); animation: kPop .3s ease; }
.sp-toast b { display: block; font-size: 15px; }
.sp-toast span { display: block; font-size: 13px; color: #b9cbd8; }
.sp-toast-ok { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #22c55e; }
.sp-toast-ok .k-ico { width: 16px; height: 16px; stroke-width: 3; }
.sp-form { max-width: 640px; display: grid; gap: 14px; padding: 22px 26px; background: #fff; border: 1px solid #dde4ea; border-radius: 12px; }
.sp-form h2 { margin: 0; font-size: 22px; }
.sp-muted { color: #7a8896; font-size: 14px; }
.sp-radios { display: flex; gap: 10px; }
.sp-radio { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #c9d4dd; border-radius: 9px; background: #fff; font: 600 14px "Segoe UI", system-ui, sans-serif; color: #1d2733; cursor: pointer; }
.sp-radio i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #7a8896; }
.sp-radio[aria-checked="true"] { border-color: #0f766e; background: #e1f3f1; }
.sp-radio[aria-checked="true"] i { border: 5px solid #0f766e; }
.sp-form-foot { display: flex; justify-content: flex-end; }
.sp-tasks { display: grid; gap: 10px; max-width: 900px; }
.sp-task { display: grid; grid-template-columns: 150px 1fr auto auto; align-items: center; gap: 14px; padding: 14px 16px; background: #fff; border: 1px solid #dde4ea; border-radius: 12px; font-size: 14px; }
.sp-task-vak { color: #0f766e; font-weight: 700; font-size: 13px; }
.sp-task-due { color: #7a8896; font-size: 13px; }
.sp-file { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 8px; background: #f1f5f8; font-size: 13px; color: #33414f; }
.sp-file.none { color: #7a8896; }
.sp-file-ico { display: grid; place-items: center; width: 22px; height: 26px; border-radius: 4px; color: #fff; font: 800 10px/1 "Segoe UI", sans-serif; font-style: normal; }
.sp-file-ico.doc { background: #2b5797; }
.sp-file-ico.pdf { background: #c0392b; }
.sp-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.sp-day { min-height: 360px; display: grid; align-content: start; gap: 8px; padding: 12px; background: #fff; border: 1px solid #dde4ea; border-radius: 12px; font-size: 13px; }
.sp-day b { font-size: 14px; color: #33414f; }
.sp-ev { padding: 8px 10px; border-radius: 8px; font-weight: 600; border-left: 4px solid; background: #f5f7f9; }
.sp-ev.red { border-color: #ef4444; } .sp-ev.orange { border-color: #f59e0b; } .sp-ev.green { border-color: #22c55e; } .sp-ev.blue { border-color: #3b82f6; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; }
.sp-card { display: grid; gap: 4px; padding: 16px; background: #fff; border: 1px solid #dde4ea; border-radius: 12px; }
.sp-card span { color: #7a8896; font-size: 14px; }
.sp-login { position: absolute; inset: 0; display: grid; place-items: center; background: #12324a; }
.sp-login-card { width: 380px; display: grid; gap: 14px; padding: 28px; border-radius: 16px; background: #fff; }
.sp-login-card h2 { margin: 0; font-size: 19px; }
.sp-logo.big b { color: #12324a; font-size: 20px; }
