/* KX My Listed-Exam Performance redesign */

#performanceExplorer.performance-module{
  --ivory:#fbead8; --page:#dfc8af; --surface:#fff9f3; --surface-2:#fbead8; --surface-3:#ead5c1;
  --navy:#0b2b45; --navy-2:#153f59; --forest:#28543a; --burgundy:#7a1f1b; --gold:#b58a3a;
  --text:#142c39; --secondary:#405966; --line:#d2b99f; --blue-panel:#dce8ec; --blue-line:#b7ccd4;
  --sage-panel:#dce9df; --sage-line:#bdd0c3; --taupe-panel:#e7ddd4; --taupe-line:#d1c0b2;
  --shadow:0 11px 26px rgba(82,55,39,.12); --shadow-small:0 5px 13px rgba(82,55,39,.09);
  --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --serif:Georgia,"Times New Roman",serif;
  margin:18px 0 0; color:var(--text); font-family:var(--sans);
}
#performanceExplorer .sr-only{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;white-space:nowrap!important;border:0!important;}
#performanceExplorer .action-button{text-decoration:none;border-style:solid;}
#performanceExplorer .empty-state[hidden],#performanceExplorer .table-frame[hidden]{display:none!important;}
#performanceExplorer .activity-fill{transition:width .25s ease;}
#performanceExplorer .peer-button:focus-visible,#performanceExplorer select:focus-visible,#performanceExplorer .action-button:focus-visible,#performanceExplorer .reset-button:focus-visible{outline:3px solid rgba(40,86,106,.62);outline-offset:3px;}

    

    
    
    
    
    
    
    .sr-only {
      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;
      white-space:nowrap!important;
      border:0!important;
    }

    
    #performanceExplorer.performance-module {
      overflow:hidden;
      border:1px solid #c9ad91;
      border-radius:26px;
      background:var(--surface);
      box-shadow:0 18px 46px rgba(82,55,39,.17);
    }

    #performanceExplorer .hero {
      position:relative;
      padding:28px 30px 26px;
      color:var(--navy);
      background:var(--ivory);
      border-bottom:1px solid #d4bda6;
    }
    #performanceExplorer .hero::after {
      position:absolute;
      inset:auto 0 0;
      height:3px;
      content:"";
      background:linear-gradient(90deg,var(--gold),#d2aa68 42%,var(--burgundy));
      opacity:.74;
    }
    #performanceExplorer .hero-main {
      display:flex;
      gap:28px;
      align-items:flex-start;
      justify-content:space-between;
    }
    #performanceExplorer .eyebrow {
      display:flex;
      gap:10px;
      align-items:center;
      margin:0 0 7px;
      color:var(--burgundy);
      font-size:.82rem;
      font-weight:850;
      letter-spacing:.14em;
      text-transform:uppercase;
    }
    #performanceExplorer .eyebrow::before {
      width:38px;
      height:2px;
      content:"";
      background:var(--gold);
    }
    #performanceExplorer h1 {
      margin:0;
      color:var(--navy);
      font:700 clamp(2rem,3.3vw,3.15rem)/1.04 var(--serif);
      letter-spacing:-.025em;
    }
    #performanceExplorer .hero-description {
      max-width:850px;
      margin:9px 0 0;
      color:var(--secondary);
      font-size:1rem;
      font-weight:620;
    }
    #performanceExplorer .peer-button {
      display:inline-flex;
      flex:0 0 auto;
      gap:9px;
      align-items:center;
      justify-content:center;
      min-height:48px;
      padding:11px 16px;
      border:1px solid #b7c9ba;
      border-radius:12px;
      color:var(--forest);
      background:#dce9d6;
      box-shadow:0 7px 16px rgba(82,55,39,.13);
      font-weight:850;
      cursor:pointer;
    }
    #performanceExplorer .peer-button:hover { background:#e9f0e6; }
    #performanceExplorer .peer-button svg { width:20px; height:20px; color:var(--forest); }

    #performanceExplorer .summary-grid {
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:12px;
      margin-top:24px;
    }
    #performanceExplorer .summary-card {
      min-width:0;
      padding:14px 15px;
      border:1px solid #d7c0a9;
      border-radius:14px;
      color:var(--navy);
      background:#f7e5d5;
      box-shadow:0 5px 14px rgba(82,55,39,.10);
    }
    #performanceExplorer .summary-card.score { background:var(--blue-panel); }
    #performanceExplorer .summary-card.ku { background:var(--sage-panel); }
    #performanceExplorer .summary-card.holding { background:var(--taupe-panel); }
    #performanceExplorer .summary-label {
      display:block;
      color:#38515e;
      font-size:.84rem;
      font-weight:850;
      letter-spacing:.065em;
      text-transform:uppercase;
    }
    #performanceExplorer .summary-value {
      display:block;
      margin-top:5px;
      color:var(--navy);
      font-size:1.26rem;
      font-weight:900;
      line-height:1.14;
    }
    #performanceExplorer .summary-note {
      display:block;
      margin-top:3px;
      color:#405966;
      font-size:.84rem;
      font-weight:700;
    }

    #performanceExplorer .workspace {
      padding:22px 24px 25px;
      background:var(--surface-2);
    }
    #performanceExplorer .filter-panel {
      padding:17px;
      border:1px solid var(--line);
      border-radius:17px;
      background:#ead5c1;
      box-shadow:var(--shadow-small);
    }
    #performanceExplorer .filter-heading-row {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin-bottom:12px;
    }
    #performanceExplorer .filter-heading {
      margin:0;
      color:var(--navy);
      font-size:1rem;
      font-weight:900;
    }
    #performanceExplorer .reset-button {
      min-height:36px;
      padding:6px 11px;
      border:1px solid #c9ae94;
      border-radius:9px;
      color:var(--navy);
      background:#fff9f3;
      font-size:.86rem;
      font-weight:820;
      cursor:pointer;
    }
    #performanceExplorer .reset-button[hidden] { display:none; }
    #performanceExplorer .filters {
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:12px;
    }
    #performanceExplorer .field { min-width:0; }
    #performanceExplorer .field label {
      display:block;
      margin:0 0 6px;
      color:#284451;
      font-size:.82rem;
      font-weight:900;
      letter-spacing:.07em;
      text-transform:uppercase;
    }
    #performanceExplorer .field select {
      width:100%;
      min-height:48px;
      padding:10px 38px 10px 12px;
      border:1px solid #cdb49c;
      border-radius:11px;
      color:var(--navy);
      background:#fff9f3;
      box-shadow:inset 0 1px 2px rgba(11,43,69,.04);
      font-size:.95rem;
      font-weight:760;
      cursor:pointer;
    }

    #performanceExplorer .records-toolbar {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:18px 2px 10px;
    }
    #performanceExplorer .result-count {
      margin:0;
      color:var(--navy);
      font-size:.96rem;
      font-weight:850;
    }
    #performanceExplorer .measure-key {
      display:flex;
      flex-wrap:wrap;
      gap:7px;
      justify-content:flex-end;
    }
    #performanceExplorer .key-item {
      display:inline-flex;
      gap:6px;
      align-items:center;
      min-height:30px;
      padding:5px 9px;
      border:1px solid var(--line);
      border-radius:999px;
      color:#2b4653;
      background:#fff9f3;
      font-size:.84rem;
      font-weight:800;
    }
    #performanceExplorer .key-dot { width:9px; height:9px; border-radius:50%; }
    #performanceExplorer .key-dot.score { background:#5c7f8e; }
    #performanceExplorer .key-dot.ku { background:#4e795f; }
    #performanceExplorer .key-dot.holding { background:#8b6b55; }

    #performanceExplorer .table-frame {
      overflow:hidden;
      border:1px solid #cdb39b;
      border-radius:18px;
      background:#e4ceb9;
      box-shadow:var(--shadow);
      max-width:100%;
    }
    #performanceExplorer table,
    #performanceExplorer #performanceRows {
      width:100%;
      max-width:100%;
      min-width:0 !important; /* override global table{min-width:680px} */
      border-collapse:separate;
      border-spacing:0 10px;
      table-layout:fixed;
    }
    #performanceExplorer #performanceRows {
      border-spacing:0;
    }
    #performanceExplorer caption { text-align:left; }
    #performanceExplorer col.equity { width:38%; }
    #performanceExplorer col.date { width:12%; }
    #performanceExplorer col.class { width:16%; }
    #performanceExplorer col.score { width:13%; }
    #performanceExplorer col.ku { width:9%; }
    #performanceExplorer col.holding { width:12%; }
    #performanceExplorer thead th {
      position:sticky;
      top:0;
      z-index:2;
      padding:14px 12px;
      color:#fff;
      background:var(--navy);
      font-size:.82rem;
      font-weight:900;
      letter-spacing:.065em;
      line-height:1.25;
      text-align:left;
      text-transform:uppercase;
    }
    #performanceExplorer thead th:first-child { padding-left:18px; }
    #performanceExplorer tbody tr {
      --subject-fill:#dce9d6;
      --subject-ink:#28543a;
      --level-fill:#dcead8;
      --level-ink:#28543a;
    }
    #performanceExplorer tbody td {
      padding:13px 12px;
      vertical-align:middle;
      background:var(--surface);
      border-top:1px solid #decab8;
      border-bottom:1px solid #decab8;
    }
    #performanceExplorer tbody td:first-child {
      padding-left:18px;
      border-left:1px solid #decab8;
      border-radius:13px 0 0 13px;
      box-shadow:inset 5px 0 var(--subject-ink);
    }
    #performanceExplorer tbody td:last-child {
      padding-right:15px;
      border-right:1px solid #decab8;
      border-radius:0 13px 13px 0;
    }
    #performanceExplorer .identity-wrap { min-width:0; }
    #performanceExplorer .badge-row {
      display:flex;
      flex-wrap:wrap;
      gap:7px;
      align-items:center;
    }
    #performanceExplorer .subject-badge, #performanceExplorer .level-badge {
      display:inline-flex;
      align-items:center;
      gap:5px;
      min-height:32px;
      padding:6px 9px;
      border:1px solid rgba(11,43,69,.14);
      border-radius:999px;
      box-shadow:0 2px 6px rgba(82,55,39,.06);
      font-size:.84rem;
      font-weight:900;
      line-height:1;
    }
    #performanceExplorer .subject-badge { color:var(--subject-ink); background:var(--subject-fill); }
    #performanceExplorer .level-badge { color:var(--level-ink); background:var(--level-fill); }
    #performanceExplorer .exam-title {
      margin:8px 0 0;
      color:var(--navy);
      font-size:1rem;
      font-weight:880;
      line-height:1.28;
      overflow-wrap:anywhere;
    }
    #performanceExplorer .date-value {
      color:#25424f;
      font-size:.92rem;
      font-weight:800;
    }
    #performanceExplorer .date-mobile-label { display:none; }
    #performanceExplorer .class-panel {
      display:inline-flex;
      flex-direction:column;
      gap:3px;
      min-width:0;
      width:100%;
      max-width:100%;
      padding:9px 10px;
      border:1px solid rgba(11,43,69,.14);
      border-color:color-mix(in srgb,var(--level-ink) 22%,transparent);
      border-radius:11px;
      color:var(--level-ink);
      background:var(--level-fill);
    }
    #performanceExplorer .class-panel strong { font-size:.9rem; font-weight:900; }
    #performanceExplorer .class-panel span { font-size:.84rem; font-weight:780; }
    #performanceExplorer .metric-panel {
      min-height:76px;
      padding:10px;
      border:1px solid var(--blue-line);
      border-radius:11px;
      background:var(--blue-panel);
      box-shadow:0 4px 10px rgba(82,55,39,.07);
    }
    #performanceExplorer .metric-panel.ku { border-color:var(--sage-line); background:var(--sage-panel); }
    #performanceExplorer .metric-panel.holding { border-color:var(--taupe-line); background:var(--taupe-panel); }
    #performanceExplorer .metric-label {
      display:block;
      color:#3e5662;
      font-size:.84rem;
      font-weight:900;
      letter-spacing:.045em;
      line-height:1.2;
      text-transform:uppercase;
    }
    #performanceExplorer .metric-value {
      display:block;
      margin-top:5px;
      color:var(--navy);
      font-size:1.08rem;
      font-weight:920;
      line-height:1.15;
      overflow-wrap:anywhere;
    }
    #performanceExplorer .metric-unit {
      font-size:.84rem;
      font-weight:850;
    }
    #performanceExplorer .score-track {
      height:6px;
      margin-top:9px;
      overflow:hidden;
      border-radius:999px;
      background:#b9c8cc;
    }
    #performanceExplorer .score-fill {
      width:0;
      height:100%;
      border-radius:inherit;
      background:var(--subject-ink);
    }
    #performanceExplorer .empty-state {
      display:none;
      padding:34px 22px;
      border:1px dashed #b89e85;
      border-radius:15px;
      color:var(--navy);
      background:#fff9f3;
      text-align:center;
      font-weight:800;
    }

    #performanceExplorer .activity-panel {
      display:grid;
      grid-template-columns:minmax(0,1fr) auto;
      gap:22px;
      align-items:center;
      padding:21px 24px;
      border-top:1px solid #d2b99f;
      background:#fbead8;
    }
    #performanceExplorer .activity-copy-row {
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
    }
    #performanceExplorer .activity-title {
      color:var(--navy);
      font-size:.94rem;
      font-weight:900;
    }
    #performanceExplorer .activity-count {
      color:#3d5662;
      font-size:.87rem;
      font-weight:820;
    }
    #performanceExplorer .activity-track {
      height:12px;
      margin-top:9px;
      overflow:hidden;
      border:1px solid #d1bda9;
      border-radius:999px;
      background:#e4d4c4;
    }
    #performanceExplorer .activity-fill {
      width:38.8889%;
      height:100%;
      border-radius:inherit;
      background:linear-gradient(90deg,#28543a,#587c68);
    }
    #performanceExplorer .activity-actions { display:flex; gap:10px; }
    #performanceExplorer .action-button {
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:48px;
      padding:10px 15px;
      border-radius:11px;
      font-weight:880;
      cursor:pointer;
    }
    #performanceExplorer .action-button.primary {
      border:1px solid var(--navy);
      color:#fff;
      background:var(--navy);
      box-shadow:0 6px 14px rgba(11,43,69,.16);
    }
    #performanceExplorer .action-button.primary:hover { background:#123b56; }
    #performanceExplorer .action-button.secondary {
      border:1px solid #b6cbbd;
      color:var(--forest);
      background:#e3ece4;
    }
    #performanceExplorer .action-button.secondary:hover { background:#eef4ee; }

    @media (max-width:1120px) {
      #performanceExplorer .page-shell { width:min(100% - 22px,1050px); }
      #performanceExplorer .summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
      #performanceExplorer .table-frame { overflow:visible; border:0; background:transparent; box-shadow:none; }
      #performanceExplorer table,
      #performanceExplorer tbody,
      #performanceExplorer #performanceRows {
        display:block;
        width:100%;
        max-width:100%;
        min-width:0 !important;
      }
      #performanceExplorer thead,
      #performanceExplorer colgroup { display:none; }
      #performanceExplorer table { border-spacing:0; table-layout:auto; }
      #performanceExplorer tbody,
      #performanceExplorer #performanceRows {
        display:grid;
        gap:13px;
        width:100%;
        max-width:100%;
      }
      #performanceExplorer tbody tr,
      #performanceExplorer #performanceRows tr {
        display:grid;
        grid-template-columns:minmax(0,1.45fr) minmax(0,.55fr) repeat(3,minmax(0,.55fr));
        grid-template-areas:"identity details score ku holding";
        gap:10px;
        width:100%;
        max-width:100%;
        min-width:0;
        box-sizing:border-box;
        padding:15px;
        border:1px solid #d5bfa9;
        border-radius:16px;
        background:var(--surface);
        box-shadow:var(--shadow-small),inset 5px 0 var(--subject-ink);
      }
      #performanceExplorer tbody td,
      #performanceExplorer #performanceRows td {
        display:block;
        min-width:0;
        max-width:100%;
        padding:0!important;
        border:0!important;
        border-radius:0!important;
        background:transparent;
        box-shadow:none!important;
      }
      #performanceExplorer .identity-cell { grid-area:identity; min-width:0; }
      #performanceExplorer tbody .date-cell,
      #performanceExplorer #performanceRows .date-cell { display:none!important; }
      #performanceExplorer .class-cell { grid-area:details; min-width:0; }
      #performanceExplorer .score-cell { grid-area:score; min-width:0; }
      #performanceExplorer .ku-cell { grid-area:ku; min-width:0; }
      #performanceExplorer .holding-cell { grid-area:holding; min-width:0; }
      #performanceExplorer .date-mobile-label { display:block; margin-top:7px; color:#405966; font-size:.87rem; font-weight:780; }
      #performanceExplorer .identity-wrap,
      #performanceExplorer .badge-row,
      #performanceExplorer .class-panel,
      #performanceExplorer .metric-panel {
        width:100%;
        max-width:100%;
        min-width:0;
        box-sizing:border-box;
      }
      #performanceExplorer .class-panel { min-height:76px; justify-content:center; }
      #performanceExplorer .metric-panel { height:100%; }
      #performanceExplorer .exam-title,
      #performanceExplorer .metric-value,
      #performanceExplorer .metric-label,
      #performanceExplorer .subject-badge { overflow-wrap:anywhere; word-break:break-word; }
    }

    @media (max-width:820px) {
      #performanceExplorer .page-shell { width:100%; max-width:100%; margin:0; }
      #performanceExplorer.performance-module {
        overflow:visible;
        width:100%;
        max-width:100%;
        border:0;
        border-radius:0;
        box-shadow:none;
        margin-left:0;
        margin-right:0;
      }
      .snapshot-shell:has(#performanceExplorer) {
        overflow-x:clip;
        overflow-y:visible;
      }
      #performanceExplorer .hero { padding:22px 16px; }
      #performanceExplorer .hero-main { display:block; }
      #performanceExplorer .peer-button { width:100%; margin-top:18px; }
      #performanceExplorer .summary-grid { gap:9px; margin-top:18px; }
      #performanceExplorer .summary-card { padding:12px; min-width:0; }
      #performanceExplorer .workspace { padding:14px 12px 18px; max-width:100%; overflow-x:hidden; box-sizing:border-box; }
      #performanceExplorer .filters { grid-template-columns:1fr; }
      #performanceExplorer .records-toolbar { align-items:flex-start; flex-direction:column; }
      #performanceExplorer .measure-key { justify-content:flex-start; }
      #performanceExplorer tbody tr,
      #performanceExplorer #performanceRows tr {
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        grid-template-areas:
          "identity identity"
          "details score"
          "ku holding";
      }
      #performanceExplorer .activity-panel { grid-template-columns:1fr; padding:18px; }
      #performanceExplorer .activity-actions { display:grid; grid-template-columns:1fr 1fr; }
    }

    @media (max-width:640px) {
      #performanceExplorer .hero { padding:18px 12px; }
      #performanceExplorer h1 { font-size:1.85rem; }
      #performanceExplorer .hero-description { font-size:.94rem; }
      #performanceExplorer .summary-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
      #performanceExplorer .summary-label { font-size:.84rem; }
      #performanceExplorer .summary-value { font-size:1.08rem; }
      #performanceExplorer .summary-note { font-size:.84rem; }
      #performanceExplorer .filter-panel { padding:14px; }
      #performanceExplorer .workspace { padding:12px 10px 16px; }
      #performanceExplorer .measure-key { display:none; }
      #performanceExplorer tbody tr,
      #performanceExplorer #performanceRows tr {
        grid-template-columns:minmax(0,1fr);
        grid-template-areas:
          "identity"
          "details"
          "score"
          "ku"
          "holding";
        gap:10px;
        padding:14px 12px;
      }
      #performanceExplorer .class-panel,
      #performanceExplorer .metric-panel { min-height:auto; height:auto; }
      #performanceExplorer .metric-panel { padding:12px; }
      #performanceExplorer .metric-label { font-size:.78rem; letter-spacing:.04em; }
      #performanceExplorer .metric-value { font-size:1.1rem; }
      #performanceExplorer .class-panel { width:100%; }
      #performanceExplorer .activity-copy-row { align-items:flex-start; flex-direction:column; gap:4px; }
      #performanceExplorer .activity-actions { grid-template-columns:1fr; }
      #performanceExplorer .activity-panel { padding:16px 12px; }
    }

    @media (max-width:370px) {
      #performanceExplorer .workspace { padding:10px 8px 14px; }
      #performanceExplorer tbody tr,
      #performanceExplorer #performanceRows tr { padding:12px 10px; gap:8px; }
      #performanceExplorer .metric-panel { padding:10px; }
      #performanceExplorer .exam-title { font-size:.95rem; }
    }

