.student-reports{--ak-ink:var(--bs-body-color);--ak-muted:var(--bs-secondary-color);--ak-line:var(--bs-border-color);--ak-surface:#fff;--ak-canvas:#f8f9fa;--ak-tint:color-mix(in srgb,var(--bs-primary) 7%,#fff);--ak-soft-line:color-mix(in srgb,var(--bs-border-color) 75%,#fff);--ak-shadow:0 4px 14px color-mix(in srgb,var(--bs-body-color) 3%,transparent);--ak-ease:cubic-bezier(.2,.7,.3,1);min-height:100dvh;background:var(--ak-canvas);color:var(--ak-ink);font:600 13px/1.5 "Nunito",sans-serif}
.student-reports *{box-sizing:border-box}
.student-reports button,.student-reports input,.student-reports select,.student-reports textarea{font:inherit}
.student-reports button{cursor:pointer}
.student-reports svg{flex-shrink:0}
.student-reports h1,.student-reports h2,.student-reports h3,.student-reports h4,.student-reports p{margin:0}
.student-reports ul{margin:0;padding:0;list-style:none}
.student-reports button:focus-visible,.student-reports a:focus-visible,.student-reports input:focus-visible,.student-reports select:focus-visible,.student-reports textarea:focus-visible,.student-reports [tabindex]:focus-visible{outline:3px solid color-mix(in srgb,var(--bs-primary) 35%,transparent);outline-offset:3px}
.student-reports .ak-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.student-reports .ak-muted,.student-reports small{color:var(--ak-muted)}
/* ── Top bar + main column ─────────────────────────────────────────────── */
.student-reports .ak-topbar{border-bottom:1px solid var(--ak-line);background:var(--ak-surface)}
.student-reports .ak-topbar-inner{max-width:1440px;margin:auto;padding:14px 32px;display:flex;align-items:center;gap:12px}
.student-reports .ak-brand{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--ak-tint);color:var(--bs-primary);font-weight:900;font-size:12px}
.student-reports .ak-brand-copy{font-size:15px;font-weight:900;letter-spacing:-.03em}
.student-reports .ak-topbar-right{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:11px;color:var(--ak-muted)}
.student-reports .ak-avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:var(--ak-canvas);color:var(--ak-ink);font-size:10px;font-weight:900}
.student-reports .ak-main{max-width:1304px;margin:0 auto;padding:24px 32px 28px}
.student-reports .ak-breadcrumb{display:flex;gap:8px;align-items:center;color:var(--ak-muted);font-size:11px;margin-bottom:19px}
.student-reports .ak-breadcrumb [aria-current]{color:var(--ak-ink)}
/* ── Page head ─────────────────────────────────────────────────────────── */
.student-reports .ak-pagehead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.student-reports .ak-pagehead h1{font-size:28px;font-weight:900;letter-spacing:-.04em;margin-bottom:4px}
.student-reports .ak-pagehead p{color:var(--ak-muted);font-size:12px}
.student-reports .ak-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
/* ── Buttons ───────────────────────────────────────────────────────────── */
.student-reports .ak-btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid var(--ak-line);border-radius:8px;padding:8px 12px;min-height:36px;background:var(--ak-surface);color:var(--ak-ink);font-size:12px;font-weight:800;line-height:1.4;white-space:nowrap;text-decoration:none;transition:background .15s,border-color .15s,color .15s}
.student-reports .ak-btn:hover{background:var(--ak-tint);border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .ak-btn.primary{color:var(--bs-white);background:var(--bs-primary);border-color:var(--bs-primary)}
.student-reports .ak-btn.primary:hover{filter:brightness(.94);color:var(--bs-white);background:var(--bs-primary)}
.student-reports .ak-btn.outline{color:var(--bs-primary);border-color:var(--bs-primary)}
.student-reports .ak-btn.outline:hover,.student-reports .ak-btn.outline[aria-expanded=true],.student-reports .ak-btn.outline[aria-pressed=true]{background:var(--ak-tint)}
.student-reports .ak-btn.outline[aria-expanded=true],.student-reports .ak-btn.outline[aria-pressed=true]{box-shadow:inset 0 2px 5px color-mix(in srgb,var(--bs-primary) 18%,transparent)}
.student-reports .ak-btn.quiet{border-color:transparent;background:transparent;color:var(--ak-muted)}
.student-reports .ak-btn.quiet:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .ak-btn.small{font-size:11px;min-height:30px;padding:5px 9px}
.student-reports .ak-btn.danger{background:var(--bs-danger);border-color:var(--bs-danger);color:var(--bs-white)}
.student-reports .ak-btn.icon{width:36px;padding:0}
.student-reports .ak-btn.small.icon{width:30px}
.student-reports .ak-btn:disabled{cursor:not-allowed;opacity:.4}
.student-reports .ak-text-btn{display:inline-flex;align-items:center;gap:5px;color:var(--bs-primary);border:0;background:transparent;font-size:11px;font-weight:800;padding:3px 0;text-align:left}
.student-reports .ak-text-btn:hover{text-decoration:underline}
.student-reports .ak-link{border:0;background:transparent;padding:0;color:var(--bs-primary);font-weight:900;text-align:left;text-decoration:none}
.student-reports .ak-link:hover{text-decoration:underline}
/* ── Card + card head ──────────────────────────────────────────────────── */
.student-reports .ak-card{border:1px solid var(--ak-soft-line);border-radius:14px;background:var(--ak-surface);min-width:0;box-shadow:var(--ak-shadow);overflow:hidden}
.student-reports .ak-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid var(--ak-soft-line)}
.student-reports .ak-card-title{display:flex;align-items:center;gap:10px;min-width:0}
.student-reports .ak-icon-tile{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--ak-tint);color:var(--bs-primary);flex-shrink:0}
.student-reports .ak-card-title h2{font-size:15px;font-weight:900;letter-spacing:-.02em}
.student-reports .ak-card-title p{color:var(--ak-muted);font-size:11px;margin-top:1px}
.student-reports .ak-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.student-reports .ak-card-body{padding:16px 18px}
.student-reports .ak-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:11px 18px;border-top:1px solid var(--ak-soft-line);font-size:11px;color:var(--ak-muted)}
/* ── Pills + chips ─────────────────────────────────────────────────────── */
.student-reports .ak-pill{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:800;background:var(--ak-canvas);color:var(--ak-muted);white-space:nowrap}
.student-reports .ak-pill.brand{background:var(--bs-primary-bg-subtle);color:var(--bs-primary-text-emphasis)}
.student-reports .ak-pill.success{background:var(--bs-success-bg-subtle);color:var(--bs-success-text-emphasis)}
.student-reports .ak-pill.warning{background:var(--bs-warning-bg-subtle);color:var(--bs-warning-text-emphasis)}
.student-reports .ak-pill.danger{background:var(--bs-danger-bg-subtle);color:var(--bs-danger-text-emphasis)}
.student-reports .ak-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--ak-line);border-radius:999px;padding:6px 12px;min-height:32px;font-size:11px;font-weight:800;background:var(--ak-surface);color:var(--ak-ink);white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.student-reports button.ak-chip:hover{border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .ak-chip.active{background:var(--ak-tint);border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .ak-chip.static{min-height:0;padding:3px 9px;font-size:10px;color:var(--ak-muted);border-color:var(--ak-soft-line)}
.student-reports .ak-chips{display:flex;flex-wrap:wrap;gap:7px}
/* ── Notice bar ────────────────────────────────────────────────────────── */
.student-reports .ak-notice{padding:11px 14px;border-radius:9px;display:flex;align-items:flex-start;gap:9px;font-size:12px;border:1px solid;animation:ak-enter .18s var(--ak-ease)}
.student-reports .ak-notice>span{flex:1}
.student-reports .ak-notice>svg{margin-top:2px}
.student-reports .ak-notice>button{background:transparent;border:0;color:inherit;display:flex;padding:2px;border-radius:4px}
.student-reports .ak-notice.info{background:var(--ak-tint);border-color:color-mix(in srgb,var(--bs-primary) 25%,var(--ak-line));color:var(--bs-primary-text-emphasis)}
.student-reports .ak-notice.success{background:var(--bs-success-bg-subtle);border-color:var(--bs-success-border-subtle);color:var(--bs-success-text-emphasis)}
.student-reports .ak-notice.warning{background:var(--bs-warning-bg-subtle);border-color:var(--bs-warning-border-subtle);color:var(--bs-warning-text-emphasis)}
.student-reports .ak-notice.danger{background:var(--bs-danger-bg-subtle);border-color:var(--bs-danger-border-subtle);color:var(--bs-danger-text-emphasis)}
/* ── Empty, loading, error ─────────────────────────────────────────────── */
.student-reports .ak-empty{padding:30px 20px;text-align:center;color:var(--ak-muted);display:grid;justify-items:center;gap:6px}
.student-reports .ak-empty-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--ak-canvas);color:var(--ak-muted);margin-bottom:4px}
.student-reports .ak-empty strong{color:var(--ak-ink);font-size:13px;font-weight:900}
.student-reports .ak-empty span{font-size:11px;max-width:300px}
.student-reports .ak-empty .ak-btn{margin-top:8px}
.student-reports .ak-spinner{width:13px;height:13px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ak-spin .7s linear infinite}
.student-reports .ak-skeleton{display:grid;gap:10px}
.student-reports .ak-skel{display:block;height:11px;border-radius:6px;background:linear-gradient(90deg,var(--ak-canvas) 25%,color-mix(in srgb,var(--ak-canvas) 40%,var(--ak-surface)) 50%,var(--ak-canvas) 75%);background-size:200% 100%;animation:ak-shimmer 1.3s linear infinite}
.student-reports .ak-skel.block{height:auto;border-radius:10px}
.student-reports .ak-skel.circle{border-radius:50%}
.student-reports .ak-error{display:grid;gap:10px}
/* ── Segmented control + pill tabs ─────────────────────────────────────── */
.student-reports .ak-seg{display:inline-flex;background:var(--ak-canvas);border:1px solid var(--ak-line);border-radius:9px;padding:3px;gap:2px;max-width:100%;overflow-x:auto;scrollbar-width:none}
.student-reports .ak-seg button{border:0;border-radius:6px;padding:5px 11px;min-height:28px;background:transparent;color:var(--ak-muted);font-size:11px;font-weight:800;white-space:nowrap}
.student-reports .ak-seg button:hover{color:var(--ak-ink)}
.student-reports .ak-seg button[aria-pressed=true],.student-reports .ak-seg button[aria-selected=true]{background:var(--ak-surface);color:var(--bs-primary);box-shadow:0 1px 4px color-mix(in srgb,var(--ak-ink) 9%,transparent)}
.student-reports .ak-tabs{display:flex;gap:6px;flex-wrap:wrap}
.student-reports .ak-tabs button{border:1px solid var(--ak-line);border-radius:999px;padding:7px 14px;min-height:34px;background:var(--ak-surface);color:var(--ak-muted);font-size:12px;font-weight:800}
.student-reports .ak-tabs button[aria-selected=true]{background:var(--bs-primary);border-color:var(--bs-primary);color:var(--bs-white)}
/* ── Fields + switch ───────────────────────────────────────────────────── */
.student-reports .ak-field{display:grid;align-content:start;gap:6px;font-size:11px;font-weight:800;min-width:0}
.student-reports .ak-field input,.student-reports .ak-field select,.student-reports .ak-field textarea{min-width:0;width:100%;border:1px solid var(--ak-line);border-radius:8px;background:var(--ak-surface);padding:8px 10px;min-height:38px;color:var(--ak-ink);font-size:12px;font-weight:600}
.student-reports .ak-field input:focus,.student-reports .ak-field select:focus{border-color:var(--bs-primary)}
.student-reports input[type=checkbox]{accent-color:var(--bs-primary);width:17px;height:17px}
.student-reports .ak-switch{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:0;font-size:11px;font-weight:800;color:var(--ak-ink)}
.student-reports .ak-switch-track{width:30px;height:18px;border-radius:999px;background:var(--bs-secondary-bg);border:1px solid var(--ak-line);position:relative;transition:background .15s;flex-shrink:0}
.student-reports .ak-switch-track span{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:var(--bs-white);box-shadow:0 1px 3px color-mix(in srgb,var(--bs-dark) 25%,transparent);transition:transform .15s}
.student-reports .ak-switch[aria-pressed=true] .ak-switch-track{background:var(--bs-primary);border-color:var(--bs-primary)}
.student-reports .ak-switch[aria-pressed=true] .ak-switch-track span{transform:translateX(12px)}
/* ── Dialog shell (Manage Admins / Terms & Conditions) ────────────────── */
.student-reports .ak-backdrop{position:fixed;inset:0;background:color-mix(in srgb,var(--bs-dark) 42%,transparent);z-index:1100;padding:24px;display:flex;align-items:center;justify-content:center;animation:ak-fade .15s ease-out}
.student-reports .ak-backdrop.top{z-index:1200}
.student-reports .ak-dialog{width:560px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;background:var(--ak-surface);border:1px solid var(--ak-line);border-radius:16px;box-shadow:0 20px 65px color-mix(in srgb,var(--bs-dark) 20%,transparent);animation:ak-enter .18s var(--ak-ease);overflow:hidden}
.student-reports .ak-dialog.small{width:440px}
.student-reports .ak-dialog.large{width:760px}
.student-reports .ak-dialog.xl{width:1100px}
.student-reports .ak-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--ak-line)}
.student-reports .ak-dialog-head h2{font-size:17px;font-weight:900;letter-spacing:-.02em}
.student-reports .ak-dialog-head p{color:var(--ak-muted);font-size:11px;margin-top:2px}
.student-reports .ak-dialog-body{padding:18px 20px;overflow-y:auto}
.student-reports .ak-dialog-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:13px 20px;border-top:1px solid var(--ak-line);background:var(--ak-surface)}
.student-reports .ak-dialog-foot .start{margin-right:auto}
/* Data table — not used yet; Locations, External Customers and the invoices table will use it. */
.student-reports .ak-table-card{border:1px solid var(--ak-soft-line);border-radius:14px;background:var(--ak-surface);overflow:hidden}
.student-reports .ak-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
.student-reports .ak-table th{text-align:left;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--ak-muted);background:color-mix(in srgb,var(--ak-canvas) 65%,var(--ak-surface));padding:10px 14px;border-bottom:1px solid var(--ak-soft-line);white-space:nowrap}
.student-reports .ak-table td{padding:11px 14px;border-bottom:1px solid var(--ak-soft-line);vertical-align:middle}
.student-reports .ak-table tbody tr:last-child td{border-bottom:0}
.student-reports .ak-table tbody tr:hover td{background:color-mix(in srgb,var(--ak-tint) 70%,var(--ak-surface))}
.student-reports .ak-table .ak-row-actions{text-align:right;white-space:nowrap}
.student-reports .ak-row-actions{display:inline-flex;justify-content:flex-end;align-items:center;gap:4px}
.student-reports .ak-row-menu{position:relative}
.student-reports .ak-row-menu-list{position:absolute;right:0;top:calc(100% + 4px);min-width:180px;padding:6px;z-index:20;background:var(--ak-surface);border:1px solid var(--ak-line);border-radius:10px;box-shadow:0 8px 25px color-mix(in srgb,var(--ak-ink) 12%,transparent)}
.student-reports .ak-row-menu-list button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:var(--ak-ink);text-align:left;font-size:12px}
.student-reports .ak-row-menu-list button:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .ak-row-menu-list button.danger{color:var(--bs-danger)}
@media(max-width:575.98px){
  .student-reports .ak-table thead{display:none}
  .student-reports .ak-table,.student-reports .ak-table tbody,.student-reports .ak-table tr,.student-reports .ak-table td{display:block;width:100%}
  .student-reports .ak-table tr{padding:12px 14px;border-bottom:1px solid var(--ak-soft-line)}
  .student-reports .ak-table td{padding:3px 0;border:0}
  .student-reports .ak-table td[data-label]::before{content:attr(data-label);display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--ak-muted)}
  .student-reports .ak-table .ak-row-actions{text-align:left;padding-top:8px}
}
/* ── Motion ────────────────────────────────────────────────────────────── */
@keyframes ak-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes ak-sheet{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes ak-fade{from{opacity:0}to{opacity:1}}
@keyframes ak-spin{to{transform:rotate(360deg)}}
@keyframes ak-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
/* ── Responsive ────────────────────────────────────────────────────────── */
@media(max-width:767px){
  .student-reports .ak-topbar-inner{padding:11px 16px}
  .student-reports .ak-topbar-right>span:first-child{display:none}
  .student-reports .ak-main{padding:17px 12px}
  .student-reports .ak-pagehead{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:16px}
  .student-reports .ak-pagehead h1{font-size:25px}
  .student-reports .ak-btn,.student-reports .ak-btn.small{min-height:44px}
  .student-reports .ak-btn.icon,.student-reports .ak-btn.small.icon{width:44px}
  .student-reports .ak-chip{min-height:40px}
  .student-reports .ak-seg button{min-height:38px}
  .student-reports .ak-tabs button{min-height:44px}
  .student-reports .ak-card-head{padding:14px}
  .student-reports .ak-card-body{padding:14px}
  .student-reports .ak-card-foot{padding:10px 14px}
}
@media(max-width:575.98px){
  .student-reports .ak-backdrop{padding:0;align-items:flex-end}
  .student-reports .ak-dialog,.student-reports .ak-dialog.small,.student-reports .ak-dialog.large,.student-reports .ak-dialog.xl{width:100%;max-height:92dvh;border-radius:18px 18px 0 0;border-bottom:0;animation:ak-sheet .2s var(--ak-ease)}
  .student-reports .ak-dialog-head{padding:14px 16px}
  .student-reports .ak-dialog-head::before{content:"";position:absolute;left:50%;top:6px;width:36px;height:4px;border-radius:2px;background:var(--ak-line);transform:translateX(-50%)}
  .student-reports .ak-dialog{position:relative}
  .student-reports .ak-dialog-body{padding:16px}
  .student-reports .ak-dialog-foot{padding:12px 16px}
}
@media(prefers-reduced-motion:reduce){.student-reports *,.student-reports *::before,.student-reports *::after{animation:none!important;transition:none!important}}
/* Data table extras (External Customers; reused by Locations and the invoices table) */
.student-reports .ak-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.student-reports .ak-toolbar-end{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.student-reports .ak-search{position:relative;flex:1 1 320px;max-width:420px;min-width:0}
.student-reports .ak-search>svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--ak-muted);pointer-events:none}
.student-reports .ak-search input{width:100%;max-width:420px;height:40px;padding:0 12px 0 36px;border:1px solid var(--ak-line);border-radius:9px;background:var(--bs-white);color:var(--ak-ink);font-size:13px;font-weight:600;transition:border-color .15s,box-shadow .15s}
.student-reports .ak-search input::placeholder{color:var(--ak-muted);opacity:1}
.student-reports .ak-search input:focus{outline:none;border-color:var(--bs-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--bs-primary) 18%,transparent)}
.student-reports .ak-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.student-reports .ak-selbar{display:flex;align-items:center;gap:12px;padding:10px 14px;background:var(--ak-tint);border-bottom:1px solid var(--ak-soft-line);animation:ak-fade .15s ease-out}
.student-reports .ak-selbar-count{font-size:12px;font-weight:900;color:var(--ak-ink)}
.student-reports .ak-selbar-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.student-reports .ak-table th.ak-check,.student-reports .ak-table td.ak-check{width:44px;padding-left:14px;padding-right:0}
.student-reports .ak-check input[type=checkbox]{width:18px;height:18px;margin:0;vertical-align:middle;accent-color:var(--bs-primary);cursor:pointer}
.student-reports .ak-check input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}
.student-reports .ak-check input[type=checkbox]:focus-visible{outline:3px solid color-mix(in srgb,var(--bs-primary) 35%,transparent);outline-offset:2px}
.student-reports .ak-table tr.ak-row-click{cursor:pointer}
.student-reports .ak-table tr.ak-row-click:focus-visible{outline:2px solid var(--bs-primary);outline-offset:-2px}
.student-reports .ak-table tr.ak-row-selected td{background:var(--ak-tint)}
.student-reports .ak-table th.ak-menu-cell,.student-reports .ak-table td.ak-menu-cell{width:56px;text-align:right;padding-right:14px}
.student-reports .ak-row-menu-btn{width:32px;height:32px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--ak-line);border-radius:8px;background:var(--bs-white);color:var(--ak-muted);transition:background .15s,color .15s,border-color .15s}
.student-reports .ak-row-menu-btn:hover,.student-reports .ak-row-menu-btn[aria-expanded=true]{background:var(--ak-tint);color:var(--bs-primary);border-color:color-mix(in srgb,var(--bs-primary) 35%,var(--ak-line))}
.student-reports .ak-row-menu-btn:disabled{opacity:.45;cursor:not-allowed;background:var(--bs-white);color:var(--ak-muted)}
.student-reports .ak-row-menu-list.ak-up{top:auto;bottom:calc(100% + 4px)}
.student-reports .ak-row-menu-list button svg{width:15px;height:15px}
.student-reports .ak-row-menu-list .ak-row-menu-sep{height:1px;margin:4px 2px;background:var(--ak-soft-line)}
.student-reports .ak-table-foot{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 14px;border-top:1px solid var(--ak-soft-line);background:color-mix(in srgb,var(--ak-canvas) 40%,var(--ak-surface))}
.student-reports .ak-table-foot-sel{font-size:11px;color:var(--ak-muted)}
.student-reports .ak-table-foot-right{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:11px;font-weight:800}
.student-reports .ak-page-size{display:flex;align-items:center;gap:8px}
.student-reports .ak-page-size select{height:32px;border:1px solid var(--ak-line);border-radius:8px;background:var(--bs-white);color:var(--ak-ink);padding:0 6px;font-size:12px;font-weight:700}
.student-reports .ak-pager{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.student-reports .ak-pager button{min-width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:0 8px;border:1px solid var(--ak-line);border-radius:8px;background:var(--bs-white);color:var(--ak-ink);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;transition:background .15s,border-color .15s,color .15s}
.student-reports .ak-pager button:hover:not(:disabled):not(.active){background:var(--ak-tint);border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .ak-pager button.active{background:var(--bs-primary);border-color:var(--bs-primary);color:var(--bs-white)}
.student-reports .ak-pager button:disabled{opacity:.45;cursor:not-allowed}
.student-reports .ak-pager-word{display:inline}
.student-reports .ak-pager-gap{min-width:24px;text-align:center;color:var(--ak-muted);font-size:12px}
@media(max-width:575.98px){
  .student-reports .ak-toolbar>*{flex:1 1 100%;max-width:none}
  .student-reports .ak-toolbar-end{margin-left:0}
  .student-reports .ak-search input{height:44px;max-width:none;font-size:16px}
  .student-reports .ak-selbar{flex-wrap:wrap}
  .student-reports .ak-selbar-actions{margin-left:0;width:100%}
  .student-reports .ak-selbar-actions .ak-btn{width:100%;min-height:44px}
  .student-reports .ak-table tr{position:relative}
  .student-reports .ak-table th.ak-check,.student-reports .ak-table td.ak-check{position:absolute;top:10px;right:10px;width:auto;padding:0}
  .student-reports .ak-table td.ak-check input[type=checkbox]{width:22px;height:22px;margin:11px}
  .student-reports .ak-table td.ak-check~td:not(.ak-menu-cell){padding-right:52px}
  .student-reports .ak-table td.ak-menu-cell{position:absolute;right:10px;bottom:10px;width:auto;padding:0}
  .student-reports .ak-table tr:has(td.ak-menu-cell){min-height:120px;padding-bottom:16px}
  .student-reports .ak-row-menu-btn{width:44px;height:44px}
  .student-reports .ak-table-foot{flex-direction:column;align-items:stretch}
  .student-reports .ak-table-foot-right{justify-content:space-between}
  .student-reports .ak-pager button{min-width:40px;height:40px}
  .student-reports .ak-pager-word{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
@media(max-width:575.98px){
  .student-reports .ak-table tr.ak-row-selected{background:var(--ak-tint)}
}
/* Cursor foot (Previous / Next only, no total): right-aligned on desktop; 44px targets on phones */
.student-reports .ak-cursor-foot{justify-content:flex-end}
@media(max-width:575.98px){
  .student-reports .ak-cursor-foot .ak-page-size select{height:44px;min-width:72px}
  .student-reports .ak-cursor-foot .ak-pager button{min-width:44px;height:44px}
}
/* ak-row-actions: works on a wrapper inside a cell (<td><div class="ak-row-actions">) AND on the cell itself (<td class="ak-row-actions">, <th class="ak-row-actions">). Added after the first release; append-only. */
@media(min-width:576px){
  .student-reports .ak-table td.ak-row-actions,.student-reports .ak-table th.ak-row-actions{display:table-cell;text-align:right;white-space:nowrap}
  .student-reports .ak-table td.ak-row-actions>*+*{margin-left:4px}
}
@media(max-width:575.98px){
  .student-reports .ak-table td.ak-row-actions{display:flex;flex-wrap:wrap;gap:4px}
}
/* ── Preview navigation: brand link, breadcrumb links, back link (additive) ── */
.student-reports .ak-brand-link{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;border-radius:12px}
.student-reports .ak-brand-link:focus-visible{outline:2px solid var(--bs-primary);outline-offset:3px}
.student-reports .ak-crumb-link{color:inherit;text-decoration:none}
.student-reports .ak-crumb-link:hover{color:var(--bs-primary);text-decoration:underline}
.student-reports .ak-crumb-link:focus-visible{outline:2px solid var(--bs-primary);outline-offset:2px;border-radius:3px}
.student-reports .ak-crumb-inert{cursor:default}
.student-reports .ak-back{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;color:var(--ak-muted);text-decoration:none;margin-bottom:12px}
.student-reports .ak-back:hover{color:var(--bs-primary);text-decoration:underline}
.student-reports .ak-back:focus-visible{outline:2px solid var(--bs-primary);outline-offset:2px;border-radius:3px}
@media(max-width:575.98px){
  .student-reports .ak-back{min-height:44px}
}

/* Student Reports — page-only styles. Shared look comes from ../_admin-kit/_kit.css.
   Every rule is scoped under .student-reports and uses the srp- prefix (plus page-scoped
   restyling of the shared Bootstrap form markup inside this page's dialogs). */

/* ── Table card ────────────────────────────────────────────────────────── */
.student-reports .srp-card{box-shadow:var(--ak-shadow)}
.student-reports .srp-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--ak-soft-line)}
.student-reports .srp-chips{display:flex;gap:7px;flex-wrap:wrap}
.student-reports .srp-chips .ak-chip:disabled{opacity:.5;cursor:not-allowed}
.student-reports .srp-chips .ak-chip.srp-chip-on{background:var(--bs-primary);border-color:var(--bs-primary);color:var(--bs-white)}
.student-reports .srp-chips .ak-chip.srp-chip-on:hover{color:var(--bs-white)}
.student-reports .srp-count{font-size:11px;color:var(--ak-muted);white-space:nowrap}
.student-reports .srp-table th:nth-child(1){width:20%}
.student-reports .srp-table th:nth-child(3){width:11%}
.student-reports .srp-table th:nth-child(4),.student-reports .srp-table th:nth-child(5){width:12%}
.student-reports .srp-table th:last-child{width:170px}
.student-reports .srp-table td{transition:background .15s}
.student-reports .srp-student{border:0;background:transparent;padding:0;color:var(--ak-ink);font-weight:900;text-align:left;text-decoration:underline;text-decoration-color:var(--ak-line);text-underline-offset:3px;transition:color .15s}
.student-reports .srp-student:hover{color:var(--bs-primary);text-decoration-color:currentColor}
.student-reports .srp-title{color:var(--ak-ink);font-weight:600}
.student-reports .srp-date{display:inline-flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums;white-space:nowrap}
.student-reports .srp-date svg{color:var(--ak-muted)}
.student-reports .srp-none{color:var(--ak-muted)}
.student-reports .srp-actions-cell{text-align:right;white-space:nowrap}
.student-reports .srp-actions-cell .ak-btn.quiet{color:var(--ak-ink)}
.student-reports .srp-actions-cell .ak-btn.quiet:hover{color:var(--bs-primary)}
.student-reports .srp-skel-row td{background:transparent!important}
.student-reports .srp-skel-row .ak-skel{max-width:100%}
.student-reports .srp-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;border-top:1px solid var(--ak-soft-line);font-size:11px;color:var(--ak-muted)}
.student-reports .srp-pages{display:flex;gap:6px}
.student-reports .srp-pages button{width:32px;height:32px;border-radius:8px;border:1px solid var(--ak-line);background:var(--ak-surface);color:var(--ak-ink);font-size:12px;font-weight:800;transition:background .15s,border-color .15s,color .15s}
.student-reports .srp-pages button:hover{border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .srp-pages button.on{background:var(--bs-primary);border-color:var(--bs-primary);color:var(--bs-white)}

/* ── Dialogs: static wrapper + restyled shared form markup ─────────────── */
.student-reports .srp-static{display:contents}
.student-reports .srp-form{display:grid;gap:16px;width:100%;max-width:none}
.student-reports .srp-form .form-floating>.form-control,.student-reports .srp-form .form-floating>.form-select{border:1px solid var(--ak-line);border-radius:10px;background-color:var(--ak-surface);font-size:13px;font-weight:600;color:var(--ak-ink);box-shadow:none;transition:border-color .15s,box-shadow .15s}
.student-reports .srp-form .form-floating>label{color:var(--ak-muted);font-size:12px;font-weight:700}
.student-reports .srp-form .form-floating>textarea.form-control{height:104px;resize:vertical}
.student-reports .srp-form .form-control:focus,.student-reports .srp-form .form-select:focus{border-color:var(--bs-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--bs-primary) 15%,transparent)}
.student-reports .srp-form>.form-select,.student-reports .srp-q>.form-select{border:1px solid var(--ak-line);border-radius:10px;min-height:44px;font-size:13px;font-weight:600}
.student-reports .srp-picker{padding:14px;border:1px solid var(--ak-soft-line);border-radius:12px;background:color-mix(in srgb,var(--ak-canvas) 45%,var(--ak-surface))}
.student-reports .srp-picker-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}
.student-reports .srp-picker-search .btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;border-radius:10px;font-size:12px;font-weight:800}
.student-reports .srp-picker-search .btn-link{text-decoration:none}
.student-reports .srp-picker-list{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-radius:0}
.student-reports .srp-picker-list .list-group-item{border:1px solid var(--ak-line);border-radius:9px;font-size:12px;font-weight:700;padding:10px 12px;min-height:42px;text-align:left}
.student-reports .srp-picker-list .list-group-item.active{background:var(--ak-tint);border-color:var(--bs-primary);color:var(--bs-primary)}
.student-reports .srp-picker-list .list-group-item:disabled{opacity:.5}
.student-reports .srp-max{font-size:11px;font-weight:800;color:var(--bs-warning-text-emphasis);margin:8px 0 0}
.student-reports .srp-picked{width:100%;text-align:left;margin:0;padding:11px 14px;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer}
.student-reports .srp-q{display:grid;gap:8px;padding-top:14px;border-top:1px solid var(--ak-soft-line)}
.student-reports .srp-q-text{margin:0;font-size:13px}
.student-reports .srp-q-text strong{font-weight:900}
.student-reports .srp-yesno{display:flex;gap:8px}
.student-reports .srp-yesno .btn{min-width:72px;border-radius:8px;font-weight:800}
.student-reports .srp-checks{display:flex;flex-wrap:wrap;gap:6px 20px}
.student-reports .srp-checks .form-check-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;cursor:pointer}
.student-reports .srp-checks .form-check{padding-left:0;margin:0}
.student-reports .srp-checks .form-check-input{margin:0;float:none}
.student-reports .srp-save-row{display:flex;gap:8px;padding-top:16px;border-top:1px solid var(--ak-soft-line)}
.student-reports .srp-save-row .btn{display:inline-flex;align-items:center;gap:7px;min-height:40px;border-radius:9px;font-size:13px;font-weight:800;padding:8px 18px}
/* View */
.student-reports .srp-view{display:grid;gap:12px;width:100%;max-width:none;margin-inline:auto}
.student-reports .srp-view-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid var(--ak-soft-line)}
.student-reports .srp-view-head h5{font-size:18px;font-weight:900;margin:0 0 3px;letter-spacing:-.02em}
.student-reports .srp-view-meta{font-size:11px;color:var(--ak-muted)}
.student-reports .srp-view-head .btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-weight:800;border-radius:8px}
.student-reports .srp-view-h{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--ak-muted);margin:6px 0 0}
.student-reports .srp-view-list{display:grid;gap:8px}
.student-reports .srp-view-list li{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--ak-soft-line);border-radius:10px;background:color-mix(in srgb,var(--ak-canvas) 35%,var(--ak-surface))}
.student-reports .srp-view-list strong{font-weight:900;font-size:13px}
.student-reports .srp-view-list p{margin:2px 0 0;font-size:12px}
.student-reports .srp-view-kind,.student-reports .srp-view-none{font-size:10px}
.student-reports .srp-view-empty{font-size:12px;color:var(--ak-muted)}
.student-reports .srp-view-list li.srp-med{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.student-reports .srp-med>div{display:grid;gap:2px}
.student-reports .srp-care{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;color:var(--bs-primary);margin-top:4px}
.student-reports .srp-view-skel{display:grid;gap:10px}
.student-reports .srp-skel-title{width:45%;height:16px}
.student-reports .srp-skel-short{width:60%}
.student-reports .srp-skel-block{height:70px}

/* ── Phones ────────────────────────────────────────────────────────────── */
@media(max-width:767px){
  .student-reports .srp-add{width:100%;min-height:44px}
  .student-reports .srp-toolbar{display:grid;gap:8px;padding:12px}
  .student-reports .srp-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -12px;padding:0 12px}
  .student-reports .srp-chips .ak-chip{min-height:40px;flex-shrink:0}
  .student-reports .srp-pager{display:grid;justify-items:center;gap:6px}
  .student-reports .srp-pages button{width:44px;height:44px}
  .student-reports .srp-picker-search{grid-template-columns:1fr 1fr}
  .student-reports .srp-picker-search .form-floating{grid-column:1/-1}
  .student-reports .srp-picker-list{grid-template-columns:1fr}
  .student-reports .srp-picker-list .list-group-item{min-height:44px}
  .student-reports .srp-yesno .btn{min-height:44px;flex:1}
  .student-reports .srp-checks{display:grid;gap:0}
  .student-reports .srp-checks .form-check{min-height:44px;display:flex;align-items:center;padding:0}
  .student-reports .srp-save-row{display:grid}
  .student-reports .srp-save-row .btn{width:100%;justify-content:center;min-height:44px}
  .student-reports .srp-view-head{display:grid}
  .student-reports .srp-view-head .btn{min-height:44px;justify-content:center;width:100%}
}
@media(max-width:575.98px){
  .student-reports .srp-table tr{display:grid;gap:6px;padding:14px}
  .student-reports .srp-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right}
  .student-reports .srp-table td[data-label]::before{flex-shrink:0;text-align:left}
  .student-reports .srp-table td[data-label=Student]{display:block;text-align:left;font-size:14px}
  .student-reports .srp-table td[data-label=Student]::before,.student-reports .srp-table td[data-label=Report]::before{margin-bottom:1px}
  .student-reports .srp-table td[data-label=Report]{display:block;text-align:left}
  .student-reports .srp-table td[data-label=Type],
  .student-reports .srp-table td[data-label=Created],
  .student-reports .srp-table td[data-label=Emailed]{justify-content:flex-start;text-align:left;gap:8px}
  .student-reports .srp-table .srp-actions-cell{padding-top:8px}
  .student-reports .srp-table .ak-row-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .student-reports .srp-table .ak-row-actions .ak-btn{min-height:44px;border-color:var(--ak-line)}
  .student-reports .srp-skel-row{display:grid}
}

/* Fit the club admin shell. The design top bar is the preview frame. */
.authorized-layout__body:has(> .student-reports){background:#f8f9fa}
.student-reports{flex:1 1 auto;width:100%;min-height:100%}

/* Dialogs stay Bootstrap modals so open, close and focus keep working. */
.student-reports .modal.show,.student-reports .modal[style*="display: block"]{display:flex !important;align-items:center;justify-content:center;padding:24px}
.student-reports .modal .modal-dialog{width:1100px;max-width:100%;height:auto;max-height:calc(100dvh - 48px);margin:0;transform:none;display:flex;flex-direction:column;min-height:0}
.student-reports .modal .modal-content{display:flex;flex-direction:column;width:100%;max-height:calc(100dvh - 48px);min-height:0;background:var(--ak-surface);border:1px solid var(--ak-line);border-radius:16px;box-shadow:0 20px 65px color-mix(in srgb,var(--bs-dark) 20%,transparent);overflow:hidden;animation:ak-enter .18s var(--ak-ease)}
.student-reports .modal .ak-dialog-head{position:relative;flex:0 0 auto}
.student-reports .modal .modal-body{flex:1 1 auto;min-height:0;padding:18px 20px;overflow-y:auto}
.student-reports .modal .ak-dialog-foot{flex:0 0 auto;margin-top:0}
.student-reports .modal .modal-body:has(.srp-form){display:flex;flex-direction:column;overflow:hidden;padding:0}
.student-reports .modal .srp-form{display:flex !important;flex-direction:column;flex:1 1 auto;gap:0;min-height:0;width:100%;max-width:none;overflow:hidden}
.student-reports .modal .srp-form-body{flex:1 1 auto;min-height:0;max-height:calc(100dvh - 190px);overflow-y:auto;padding:18px 20px}
.student-reports .modal .srp-form>.alert{flex:0 0 auto;margin:0 20px 12px}
.student-reports .modal .srp-save-row{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex:0 0 auto;width:auto;margin:0;padding:13px 20px;border:0;border-top:1px solid var(--ak-line);background:var(--ak-surface)}
.student-reports .modal .srp-save-actions{display:flex;align-items:center;gap:8px}
.student-reports .modal .srp-save-row .btn{min-height:36px}
.student-reports .modal .modal-content:has(.srp-form)>.ak-dialog-foot{display:none}
body:has(.student-reports .modal.show) .modal-backdrop.show{opacity:1;background:color-mix(in srgb,var(--bs-dark) 42%,transparent)}
@media(max-width:575.98px){
  .student-reports .modal.show,.student-reports .modal[style*="display: block"]{align-items:flex-end;padding:0;overflow:hidden;height:100svh;max-height:100svh}
  .student-reports .modal .modal-dialog,.student-reports .modal .modal-content{width:100%;height:min(92dvh,100svh);max-height:min(92dvh,100svh);border-bottom:0}
  .student-reports .modal .modal-content{border-radius:18px 18px 0 0;animation:ak-sheet .2s var(--ak-ease)}
  .student-reports .modal .modal-body{padding:16px}
  .student-reports .modal .ak-dialog-foot{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
  .student-reports .modal .ak-dialog-foot .ak-btn{width:100%;min-height:44px}
  .student-reports .modal .srp-form-body{max-height:none}
  .student-reports .modal .srp-save-row,.student-reports .modal .srp-save-actions{flex-direction:column;align-items:stretch;width:100%}
  .student-reports .modal .srp-save-row{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .student-reports .modal .srp-save-row .btn,.student-reports .modal .srp-save-row .ak-btn{width:100%;min-height:44px}
}
@media (hover: none) and (pointer: coarse) {
  .student-reports .modal input,
  .student-reports .modal select,
  .student-reports .modal textarea,
  .student-reports .modal .srp-form .form-floating>.form-control,
  .student-reports .modal .srp-form .form-floating>.form-control-sm,
  .student-reports .modal .srp-form .form-floating>.form-select,
  .student-reports .modal .srp-form .form-floating>.form-select-sm,
  .student-reports .modal .srp-form .form-floating>textarea.form-control,
  .student-reports .modal .srp-form>.form-select,
  .student-reports .modal .srp-q>.form-select,
  .student-reports .modal .srp-student-search-field>input{font-size:16px}
}

/* Shared add form, restyled only on this page. */
.student-reports .srp-form-body>.row{display:flex;flex-direction:column;gap:16px}
.student-reports .srp-form-body>.row>[class*=col-]{width:100%;max-width:none;margin:0;padding:0}
.student-reports .srp-form hr{display:none!important}
.student-reports .srp-form .form-floating>.form-control-sm,
.student-reports .srp-form .form-floating>.form-select-sm,
.student-reports .srp-picker .form-floating>.form-control-sm{height:calc(3.5rem + 2px);min-height:58px;padding:1rem .75rem;font-size:13px;font-weight:600;border-radius:10px}
.student-reports .srp-form .form-floating>textarea.form-control{height:104px!important;min-height:104px;padding-top:1.625rem}
.student-reports .srp-yesno .btn-outline-dark{color:var(--bs-primary);border-color:var(--bs-primary);background:transparent}
.student-reports .srp-yesno .btn-outline-dark:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .srp-save-row .ms-2{margin-left:0!important}
.student-reports .srp-save-row .srp-email{background:transparent;color:var(--bs-primary);border-color:var(--bs-primary)}
.student-reports .srp-save-row .srp-email:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .srp-save-row .spinner-border{width:13px;height:13px;border-width:2px}
.student-reports .alert.ak-notice{padding:11px 14px;border-radius:9px;display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:600;margin:0;animation:ak-enter .18s var(--ak-ease)}
.student-reports .alert.ak-notice.success{background:var(--bs-success-bg-subtle);border-color:var(--bs-success-border-subtle);color:var(--bs-success-text-emphasis)}
.student-reports .alert.ak-notice.warning{background:var(--bs-warning-bg-subtle);border-color:var(--bs-warning-border-subtle);color:var(--bs-warning-text-emphasis)}
.student-reports .alert.ak-notice.danger{background:var(--bs-danger-bg-subtle);border-color:var(--bs-danger-border-subtle);color:var(--bs-danger-text-emphasis)}
.student-reports .srp-form-body>.row>.col-12{display:grid;gap:16px;align-content:start}
.student-reports .srp-await-report{display:none!important}
.student-reports .srp-form .mb-3,.student-reports .srp-form .mt-2{margin-top:0!important;margin-bottom:0!important}
.student-reports .srp-view-head.mb-2{margin-bottom:0!important}
.student-reports .srp-view-head h5.mb-1{margin:0 0 3px!important}
.student-reports .srp-picker-search .student-picker>.col-12>.col-12{padding:0}
.student-reports .srp-view-head .btn,.student-reports .srp-care{display:inline-flex;align-items:center;gap:6px}
.student-reports .srp-notice-icon{display:inline-flex!important}
.student-reports .srp-view-spinner{display:none!important}
.student-reports .srp-view-skel .srp-skel-only{display:block!important}
.student-reports .srp-view.modal-body{padding:0}
.student-reports .srp-view-head .btn-outline-secondary{color:var(--bs-primary);border-color:var(--bs-primary);background:transparent}
.student-reports .srp-view-head .btn-outline-secondary:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .srp-view-icon{display:inline-flex!important}
.student-reports .srp-view .list-group{border:0;gap:8px}
.student-reports .srp-view .list-group-item{border:1px solid var(--ak-soft-line);border-radius:10px;background:color-mix(in srgb,var(--ak-canvas) 35%,var(--ak-surface));padding:12px 14px}
.student-reports .srp-view .badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 9px;font-size:10px;font-weight:800;border:0}
.student-reports .srp-view .badge.text-bg-danger{background:var(--bs-danger-bg-subtle)!important;color:var(--bs-danger-text-emphasis)!important}
.student-reports .srp-view .badge.text-bg-warning{background:var(--bs-warning-bg-subtle)!important;color:var(--bs-warning-text-emphasis)!important}
.student-reports .srp-view .badge.text-bg-success{background:var(--bs-success-bg-subtle)!important;color:var(--bs-success-text-emphasis)!important}

/* Shared student picker, simplified to the design only on this page. */
.student-reports .srp-picker-search>.student-picker,
.student-reports .srp-picker-search>.student-picker>.col-12,
.student-reports .srp-picker-search .row.mb-1{display:contents}
.student-reports .srp-picker-search .row.mb-1>.col-lg{grid-column:1;grid-row:1;width:auto;max-width:none;padding:0}
.student-reports .srp-picker-search .row.mb-1>.col-lg-auto{grid-column:2;grid-row:1;width:auto;max-width:none;padding:0}
.student-reports .srp-hide{grid-column:3;grid-row:1;justify-self:start;min-height:44px;padding:0 8px;font-size:12px;font-weight:800;text-decoration:none}
.student-reports .srp-picker-search .student-picker>.col-12>.col-12{grid-column:1/-1}
.student-reports .srp-picker .form-floating.mb-3{margin-bottom:0!important}
.student-reports .srp-picker .btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;border-radius:10px;font-size:12px;font-weight:800;background:transparent;color:var(--bs-primary);border:1px solid var(--bs-primary)}
.student-reports .srp-picker .btn-primary::before{content:"";width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z'/%3E%3C/svg%3E") center / contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z'/%3E%3C/svg%3E") center / contain no-repeat}
.student-reports .srp-picker .btn-primary:hover{background:var(--ak-tint);color:var(--bs-primary)}
.student-reports .srp-picker h5,
.student-reports .srp-picker hr{display:none}
.student-reports .srp-picker [style*="max-height"]{max-height:none!important;overflow:visible!important}
.student-reports .srp-picker .list-group{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.student-reports .srp-picker .list-group-item{border:1px solid var(--ak-line);border-radius:9px;font-size:12px;font-weight:700;padding:10px 12px;min-height:42px;text-align:left;background:var(--ak-surface);color:var(--ak-ink)}
.student-reports .srp-picker .list-group-item.bg-body-tertiary{opacity:.5}
.student-reports .srp-picker .alert{font-size:11px;font-weight:800;color:var(--bs-warning-text-emphasis);background:transparent;border:0;padding:0;margin:8px 0 0}
.student-reports .srp-picker .badge{border-radius:999px;background:var(--ak-canvas);color:var(--ak-ink);font-size:11px;font-weight:800}
@media(max-width:767px){
  .student-reports .srp-picker-search{grid-template-columns:1fr 1fr}
  .student-reports .srp-picker-search .row.mb-1>.col-lg{grid-column:1/-1;grid-row:1}
  .student-reports .srp-picker-search .row.mb-1>.col-lg-auto{grid-column:1;grid-row:2}
  .student-reports .srp-hide{grid-column:2;grid-row:2}
  .student-reports .srp-picker .list-group{grid-template-columns:1fr}
  .student-reports .srp-picker .list-group-item{min-height:44px}
}

.student-reports .modal .modal-content:has(.srp-student-search-menu),
.student-reports .modal .modal-body:has(.srp-student-search-menu),
.student-reports .modal .srp-form:has(.srp-student-search-menu),
.student-reports .modal .srp-form-body:has(.srp-student-search-menu){overflow:visible}
.student-reports .modal .modal-body:has(.srp-student-search-menu),
.student-reports .modal .srp-form-body:has(.srp-student-search-menu){position:relative;z-index:4}
.student-reports .srp-student-search{display:grid;gap:6px;margin:0}
.student-reports .srp-student-search>label{font-size:11px;font-weight:800;color:var(--ak-ink)}
.student-reports .srp-student-search-field{position:relative;z-index:5}
.student-reports .srp-student-search-field>svg{position:absolute;left:14px;top:16px;color:var(--ak-muted);pointer-events:none}
.student-reports .srp-student-search-field>input{width:100%;min-height:48px;border:1px solid var(--ak-line);border-radius:12px;background:var(--ak-surface);color:var(--ak-ink);padding:12px 14px 12px 42px;font-size:13px;font-weight:600}
.student-reports .srp-student-search-field>input::placeholder{color:var(--ak-muted);font-weight:600}
.student-reports .srp-student-search-field>input:focus{outline:none;border-color:var(--bs-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--bs-primary) 15%,transparent)}
.student-reports .srp-student-search-menu{position:absolute;z-index:6;top:calc(100% + 8px);left:0;right:0;max-height:280px;overflow:auto;background:var(--ak-surface);border:1px solid var(--ak-line);border-radius:12px;box-shadow:0 16px 40px color-mix(in srgb,var(--ak-ink) 12%,transparent)}
.student-reports .srp-student-search-empty{padding:14px 16px;color:var(--ak-muted);font-size:12px;font-weight:700}
.student-reports .srp-student-search-result{display:flex;align-items:center;gap:12px;width:100%;padding:10px 14px;border:0;border-bottom:1px solid var(--ak-soft-line);background:transparent;color:var(--ak-ink);text-align:left}
.student-reports .srp-student-search-result:last-child{border-bottom:0}
.student-reports .srp-student-search-result:hover{background:var(--ak-tint)}
.student-reports .srp-student-search-result img,.student-reports .srp-student-search-result>span:first-child,.student-reports .srp-student-chosen>span:first-child{width:36px;height:36px;border-radius:50%;object-fit:cover;display:grid;place-items:center;flex:0 0 auto;background:var(--ak-tint);color:var(--bs-primary);font-size:11px;font-weight:900}
.student-reports .srp-student-search-copy{display:grid;min-width:0}
.student-reports .srp-student-search-copy strong{font-size:13px;font-weight:800}
.student-reports .srp-student-search-copy small{color:var(--ak-muted);font-size:11px;font-weight:700}
.student-reports .srp-student-chosen{display:flex;align-items:center;gap:12px;margin:0;padding:10px 12px;border:1px solid var(--ak-line);border-radius:12px;background:var(--ak-surface)}
.student-reports .srp-student-chosen .ak-btn{margin-left:auto}
