/* TypingAcademy v1.0.15 - scoped admin publication + public rules cards */
.ta15-admin,.ta15-public-exams{--ta15-blue:#0868f5;--ta15-ink:#10214c;--ta15-line:#d9e7fa;--ta15-muted:#64769a;color:var(--ta15-ink)}
.ta15-admin{max-width:1260px;margin:0 auto;padding:24px 22px 50px;font-family:inherit}
.ta15-admin *,.ta15-public-exams *{box-sizing:border-box}
.ta15-admin-head,.ta15-public-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}
.ta15-admin h1{font-size:clamp(25px,3vw,34px);line-height:1.18;margin:4px 0 5px;color:var(--ta15-ink);font-weight:800}
.ta15-admin p,.ta15-public-exams p{color:var(--ta15-muted);line-height:1.55;margin:4px 0}
.ta15-eyebrow{font-size:11px;color:var(--ta15-blue);font-weight:800;letter-spacing:1.6px}
.ta15-admin-actions{display:flex;gap:8px;flex-wrap:wrap}
.ta15-button{display:inline-flex;text-align:center;align-items:center;justify-content:center;padding:10px 14px;border-radius:9px;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer;border:1px solid var(--ta15-line);white-space:nowrap}
.ta15-button.blue{background:var(--ta15-blue);color:#fff!important;border-color:var(--ta15-blue)}
.ta15-button.outline{color:var(--ta15-blue)!important;background:#fff}
.ta15-button.compact{padding:6px 10px;font-size:12px}
.ta15-button:disabled{opacity:.5;cursor:not-allowed}
.ta15-alert{padding:12px 14px;border-radius:9px;margin:13px 0;font-size:13px}
.ta15-alert.success{background:#e6faed;color:#116b35;border:1px solid #bbe8c8}
.ta15-alert.warning{background:#fff1e6;color:#9a4100;border:1px solid #ffdbb5}
.ta15-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
.ta15-counters>div{border:1px solid var(--ta15-line);padding:18px;background:white;border-radius:12px}
.ta15-counters small,.ta15-counters strong{display:block}
.ta15-counters small{color:var(--ta15-muted)}
.ta15-counters strong{font-size:28px;margin-top:4px}
.ta15-help{background:#eaf4ff;border:1px solid #bad7ff;border-radius:12px;padding:16px;font-size:13px;line-height:1.7}
.ta15-help p{font-size:12px;margin-top:4px}
.ta15-admin-filters{margin:16px 0;display:flex;flex-wrap:wrap;gap:9px}
.ta15-admin-filters input,.ta15-admin-filters select{min-height:39px;border:1px solid var(--ta15-line);border-radius:8px;background:#fff;padding:8px 11px;font:inherit;font-size:13px;color:var(--ta15-ink)}
.ta15-admin-filters input{flex:1;min-width:200px}
.ta15-admin-table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--ta15-line);border-radius:13px}
.ta15-admin-table{width:100%;border-collapse:collapse;font-size:13px;min-width:850px}
.ta15-admin-table th{text-align:left;background:#f3f8ff;padding:13px;color:#435577;font-weight:750}
.ta15-admin-table td{padding:13px 12px;border-top:1px solid #ecf2fc;vertical-align:middle}
.ta15-admin-name,.ta15-profile-top{display:flex;gap:11px;align-items:center}
.ta15-admin-name img,.ta15-org-initial,.ta15-profile-org img,.ta15-profile-org span{width:42px;height:42px;object-fit:contain;border-radius:9px;background:#eaf4ff;padding:7px;display:grid;place-items:center;font-size:13px;font-weight:800;color:var(--ta15-blue)}
.ta15-admin-name strong,.ta15-admin-name small,.ta15-admin-table td>strong,.ta15-admin-table td>small{display:block}
.ta15-admin-name small,.ta15-admin-table small{color:var(--ta15-muted);font-size:11px;margin-top:3px;line-height:1.5}
.ta15-status{display:inline-flex;border-radius:50px;padding:4px 10px;font-size:11px;font-weight:700}
.ta15-status.ready,.ta15-status.live{background:#ddf8e9;color:#087043}
.ta15-status.pending{background:#fff0dc;color:#985208}
.ta15-status.draft{background:#ebf0f8;color:#637391}
.ta15-action-cell{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.ta15-action-cell>a,.ta15-public-link{font-size:12px;color:var(--ta15-blue)!important;text-decoration:none;font-weight:700}
.ta15-action-cell form{margin:0}.ta15-action-cell button{font:inherit}
.ta15-public-link{display:block;margin-top:5px}
.ta15-none{text-align:center;padding:36px!important;color:var(--ta15-muted)}
.ta15-pagination,.ta15-profile-pagination{margin-top:14px}
.ta15-after-note{font-size:12px;margin-top:16px!important}
.ta15-after-note a{color:var(--ta15-blue)}
.ta15-public-exams{padding:4px 0 22px;max-width:1260px;margin:0 auto;font-family:inherit}
.ta15-public-heading{align-items:flex-end;margin:14px 0 18px}
.ta15-public-heading h2{font-size:clamp(22px,3vw,29px);margin:5px 0 4px;color:var(--ta15-ink)}
.ta15-public-heading a{color:var(--ta15-blue);font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}
.ta15-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ta15-profile-card{padding:17px;background:#fff;border:1px solid var(--ta15-line);border-radius:13px;display:flex;flex-direction:column;gap:12px;min-width:0}
.ta15-profile-top{align-items:flex-start}
.ta15-profile-issuer{font-size:11px;color:var(--ta15-muted)}
.ta15-profile-top h3{font-size:16px;line-height:1.35;margin:3px 0 0;color:var(--ta15-ink);font-weight:800}
.ta15-badges{display:flex;flex-wrap:wrap;gap:6px}.ta15-badges span{background:#eaf4ff;color:var(--ta15-blue);border-radius:100px;padding:4px 9px;font-size:11px;font-weight:700}
.ta15-profile-card>p{font-size:13px;margin:0;flex:1}.ta15-profile-actions{display:flex;flex-wrap:wrap;gap:8px}
.ta15-public-note{font-size:11px;margin-top:14px!important}
.ta15-profiles-empty{grid-column:1/-1;border:1px dashed var(--ta15-line);border-radius:13px;padding:30px;text-align:center;background:#f7fbff}
.ta15-profiles-empty strong{display:block;margin-bottom:8px}.ta15-profiles-empty p{font-size:13px}
@media(max-width:1050px){.ta15-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.ta15-admin{padding:16px}.ta15-admin-head,.ta15-public-heading{align-items:flex-start;flex-direction:column}.ta15-profiles,.ta15-counters{grid-template-columns:1fr}.ta15-admin-filters>*{width:100%}.ta15-profile-actions .ta15-button{flex:1}}
/* Only apply to current site nav links, not a redesigned header */
header.site-header nav.ta3-links a.ta15-current,header.site-header nav[aria-label="Main navigation"] a.ta15-current{color:#0868f5!important;border-bottom:3px solid #0868f5!important}

/* TA 1.0.17.2 : exam catalogue table + action controls, additive CSS only */
/* BEGIN TA1172 ACTIONS - DO NOT EDIT THIS MARKER */
.ta15-admin .ta15-admin-table-wrap{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:visible;
    border-radius:12px;
    -webkit-overflow-scrolling:touch;
}
.ta15-admin .ta15-admin-table{
    display:table!important;
    width:100%!important;
    min-width:960px!important;
    max-width:none!important;
    table-layout:fixed!important;
    border-collapse:collapse;
}
.ta15-admin .ta15-admin-table th,
.ta15-admin .ta15-admin-table td{
    box-sizing:border-box!important;
    padding:12px!important;
    white-space:normal!important;
    overflow-wrap:break-word!important;
    vertical-align:middle!important;
    min-width:0!important;
    text-align:left!important;
}
.ta15-admin .ta15-admin-table th:nth-child(1),
.ta15-admin .ta15-admin-table td:nth-child(1){width:29%!important}
.ta15-admin .ta15-admin-table th:nth-child(2),
.ta15-admin .ta15-admin-table td:nth-child(2){width:12%!important}
.ta15-admin .ta15-admin-table th:nth-child(3),
.ta15-admin .ta15-admin-table td:nth-child(3){width:18%!important}
.ta15-admin .ta15-admin-table th:nth-child(4),
.ta15-admin .ta15-admin-table td:nth-child(4){width:17%!important}
.ta15-admin .ta15-admin-table th:nth-child(5),
.ta15-admin .ta15-admin-table td:nth-child(5){width:24%!important}
.ta15-admin .ta15-admin-name{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    min-width:0!important;
}
.ta15-admin .ta15-admin-name > div{min-width:0!important}
.ta15-admin .ta15-admin-name img,
.ta15-admin .ta15-org-initial{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    object-fit:contain!important;
}
.ta15-admin .ta15-admin-name strong{
    display:block!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.4!important;
}
.ta15-admin .ta15-admin-name small{
    display:block!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
.ta15-admin .ta15-admin-table .ta15-action-cell{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    flex-wrap:initial!important;
}
.ta15-admin .ta15-action-cell > a,
.ta15-admin .ta15-action-cell > form > button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:36px!important;
    box-sizing:border-box!important;
    padding:7px 8px!important;
    margin:0!important;
    border-radius:8px!important;
    font-family:inherit!important;
    font-size:11.5px!important;
    font-weight:750!important;
    line-height:1.25!important;
    text-align:center!important;
    white-space:normal!important;
    word-break:normal!important;
    text-decoration:none!important;
    cursor:pointer!important;
}
.ta15-admin .ta15-action-cell > a{
    color:#1256c6!important;
    background:#eef5ff!important;
    border:1px solid #c9dcfb!important;
}
.ta15-admin .ta15-action-cell > a:hover{
    background:#dcecff!important;
    border-color:#9ebff6!important;
}
.ta15-admin .ta15-action-cell > form{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    grid-column:auto!important;
}
.ta15-admin .ta15-action-cell > form > button{
    color:#fff!important;
    background:#0868f5!important;
    border:1px solid #0868f5!important;
}
.ta15-admin .ta15-action-cell > form > button.ta15-button.outline{
    color:#b91c1c!important;
    background:#fff7f7!important;
    border-color:#fecaca!important;
}
.ta15-admin .ta15-action-cell > form > button:disabled{
    opacity:.45!important;
    cursor:not-allowed!important;
}
.ta15-admin .ta15-action-cell :is(a,button):focus-visible{
    outline:3px solid #87b5ff!important;
    outline-offset:2px!important;
}
@media(max-width:680px){
    .ta15-admin .ta15-admin-table{min-width:960px!important}
    .ta15-admin .ta15-admin-table-wrap{margin-inline:0!important}
}
/* END TA1172 ACTIONS */
