.tt-profile-subjects-taught {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: #222;
}

.tt-pst-list {
    margin: 0;
    padding: 0;
}

.tt-pst-row {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.tt-pst-row:first-child {
    padding-top: 0;
}

.tt-pst-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.tt-pst-term,
.tt-pst-detail {
    margin: 0;
}

.tt-pst-name {
    display: block;
    font-family: "Montserrat Bold", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #000;
}

.tt-pst-detail {
    margin-top: 10px;
}

.tt-pst-field + .tt-pst-boards-panel {
    margin-top: 10px;
}

.tt-pst-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tt-pst-label {
    display: block;
    font-family: "Montserrat Bold", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6a6a6a;
}

.tt-pst-label--inline {
    display: inline;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #444;
}

.tt-pst-level-note {
    margin: 0;
    font-size: 13px;
    color: #6a6a6a;
}

.tt-pst-level-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tt-pst-chip {
    display: inline-block;
    font-family: "Montserrat Regular", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.25;
    border-radius: 999px;
    padding: 5px 11px;
    border: 1px solid #ddd;
    background: #fff;
    color: #222;
}

.tt-pst-chip--level {
    border-color: #c8ece6;
    background: #f3fbf9;
}

.tt-pst-boards-panel {
    border: 0;
    padding: 0;
    margin: 0;
}

.tt-pst-boards-summary {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    font-size: 13px;
    color: #444;
    user-select: none;
}

.tt-pst-boards-summary::-webkit-details-marker {
    display: none;
}

.tt-pst-boards-summary::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 2px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
    vertical-align: middle;
}

.tt-pst-boards-panel[open] .tt-pst-boards-summary::before {
    transform: rotate(45deg);
}

.tt-pst-boards-hint {
    font-size: 12px;
    color: #888;
}

.tt-pst-boards-body {
    margin-top: 8px;
    padding: 10px 12px;
    border-left: 3px solid #eee;
    background: #fafafa;
    border-radius: 0 4px 4px 0;
}

.tt-pst-boards-intro {
    margin: 0 0 8px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

.tt-pst-boards-line {
    margin: 0;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.tt-pst-boards-by-level {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tt-pst-board-row {
    display: block;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
}

.tt-pst-board-row:last-child {
    margin-bottom: 0;
}

.tt-pst-board-level {
    display: block;
    font-family: "Montserrat Bold", Arial, sans-serif;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
}

.tt-pst-board-sep {
    display: none;
}

.tt-pst-board-list {
    display: block;
    color: #555;
    padding-left: 0;
}

@media (min-width: 480px) {
    .tt-pst-board-row {
        display: grid;
        grid-template-columns: minmax(100px, 34%) 1fr;
        gap: 4px 10px;
        align-items: baseline;
    }

    .tt-pst-board-level {
        margin-bottom: 0;
    }

    .tt-pst-board-list {
        grid-column: 2;
    }
}

.tt-pst-empty {
    margin: 0;
    color: #6a6a6a;
}

@media (min-width: 640px) {
    .tt-pst-row {
        display: grid;
        grid-template-columns: minmax(120px, 26%) 1fr;
        gap: 12px 20px;
        align-items: start;
    }

    .tt-pst-detail {
        margin-top: 0;
    }
}
