.pd-page {
    --pd-navy: #10243f;
    --pd-navy-soft: #1e3a5f;
    --pd-blue: #2563eb;
    --pd-blue-soft: #eaf2ff;
    --pd-gold: #c89b3c;
    --pd-gold-soft: #fff7e6;
    --pd-green: #17845b;
    --pd-green-soft: #eaf8f2;
    --pd-red: #c33b3b;
    --pd-red-soft: #fff0f0;
    --pd-orange: #b76a13;
    --pd-orange-soft: #fff4e7;
    --pd-surface: #ffffff;
    --pd-surface-soft: #f7f9fc;
    --pd-border: #e4e9f1;
    --pd-text: #172033;
    --pd-muted: #687386;
    --pd-shadow: 0 14px 45px rgba(16, 36, 63, 0.08);
    --pd-radius-xl: 26px;
    --pd-radius-lg: 20px;
    --pd-radius-md: 14px;

    min-height: 100%;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05), transparent 28rem),
        #f6f8fb;
    color: var(--pd-text);
    font-family: inherit;
    overflow-x: hidden;
}

.pd-page *,
.pd-page *::before,
.pd-page *::after {
    box-sizing: border-box;
}

.pd-container {
    width: min(100% - 28px, 1380px);
    margin-inline: auto;
}

.pd-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 34px 0 76px;
    color: #fff;
    background:
        linear-gradient(128deg, #0b1d35 0%, #153659 60%, #1b4a70 100%);
}

.pd-hero::after {
    position: absolute;
    inset: auto -12% -115px;
    z-index: -1;
    height: 170px;
    content: "";
    border-radius: 50%;
    background: #f6f8fb;
}

.pd-hero__glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.pd-hero__glow--one {
    width: 360px;
    height: 360px;
    top: -190px;
    right: -70px;
    background: rgba(200, 155, 60, 0.19);
}

.pd-hero__glow--two {
    width: 290px;
    height: 290px;
    bottom: -180px;
    left: 10%;
    background: rgba(73, 151, 214, 0.16);
}

.pd-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.pd-eyebrow,
.pd-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pd-eyebrow {
    color: #efd89d;
}

.pd-hero h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.25;
    font-weight: 900;
}

.pd-hero__copy > p {
    max-width: 680px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.9;
}

.pd-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.pd-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 17px;
    border: 0;
    border-radius: 13px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.pd-btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.pd-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.pd-btn--primary {
    color: #fff;
    background: var(--pd-blue);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.pd-btn--secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.pd-btn--ghost {
    color: var(--pd-navy);
    border: 1px solid var(--pd-border);
    background: #fff;
}

.pd-btn--small {
    min-height: 39px;
    padding: 8px 14px;
    font-size: 0.82rem;
}

.pd-hero__overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 12px;
    min-width: 285px;
}

.pd-hero-stat {
    min-height: 112px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
}

.pd-hero-stat span {
    display: block;
    margin-bottom: 9px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
}

.pd-hero-stat strong {
    display: block;
    color: #fff;
    font-size: 1.75rem;
    font-weight: 900;
}

.pd-hero-stat .pd-status-text {
    font-size: 1rem;
    line-height: 1.7;
}

.pd-summary-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: -42px;
}

.pd-summary-card {
    display: flex;
    min-width: 0;
    min-height: 132px;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(228, 233, 241, 0.9);
    border-radius: var(--pd-radius-lg);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--pd-shadow);
}

.pd-summary-card__icon {
    display: grid;
    width: 48px;
    min-width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    font-size: 1.15rem;
    font-weight: 900;
}

.pd-icon--family,
.pd-icon--performance {
    color: #966a12;
    background: var(--pd-gold-soft);
}

.pd-icon--attendance {
    color: var(--pd-green);
    background: var(--pd-green-soft);
}

.pd-icon--homework {
    color: var(--pd-orange);
    background: var(--pd-orange-soft);
}

.pd-summary-card__content {
    min-width: 0;
}

.pd-summary-card__content span,
.pd-summary-card__content small {
    display: block;
}

.pd-summary-card__content span {
    color: var(--pd-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.pd-summary-card__content strong {
    display: block;
    margin: 4px 0;
    color: var(--pd-navy);
    font-size: 1.65rem;
    font-weight: 900;
}

.pd-summary-card__content small {
    color: #8992a1;
    font-size: 0.68rem;
    line-height: 1.6;
}

.pd-section {
    padding: 36px 0 54px;
}

.pd-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 19px;
}

.pd-section__eyebrow {
    margin-bottom: 5px;
    color: var(--pd-blue);
}

.pd-section__heading h2 {
    margin: 0;
    color: var(--pd-navy);
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    font-weight: 900;
}

.pd-section__heading > p {
    max-width: 470px;
    margin: 0;
    color: var(--pd-muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

.pd-students-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pd-student-card {
    position: relative;
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-xl);
    background: var(--pd-surface);
    box-shadow: 0 12px 34px rgba(16, 36, 63, 0.055);
}

.pd-student-card__top {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 14px;
}

.pd-student-avatar {
    display: grid;
    width: 58px;
    min-width: 58px;
    height: 58px;
    overflow: hidden;
    place-items: center;
    border: 3px solid #fff;
    border-radius: 18px;
    color: #fff;
    background:
        linear-gradient(135deg, var(--pd-navy-soft), var(--pd-blue));
    box-shadow: 0 8px 18px rgba(16, 36, 63, 0.16);
    font-weight: 900;
}

.pd-student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-student-identity {
    flex: 1;
    min-width: 0;
}

.pd-student-title-row {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pd-student-title-row h3 {
    min-width: 0;
    margin: 2px 0 0;
    overflow: hidden;
    color: var(--pd-navy);
    font-size: 1.05rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-student-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 7px;
    color: var(--pd-muted);
    font-size: 0.72rem;
}

.pd-student-meta span {
    position: relative;
}

.pd-student-meta span:not(:last-child)::after {
    position: absolute;
    left: -7px;
    color: #c3cad4;
    content: "•";
}

.pd-link-state {
    margin-top: 9px;
}

.pd-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    line-height: 1.4;
}

.pd-badge--success {
    color: var(--pd-green);
    background: var(--pd-green-soft);
}

.pd-badge--warning {
    color: var(--pd-orange);
    background: var(--pd-orange-soft);
}

.pd-badge--muted,
.pd-badge--neutral {
    color: #647087;
    background: #eef1f6;
}

.pd-badge--info {
    color: #225da5;
    background: #e9f3ff;
}

.pd-badge--verified {
    color: #78611d;
    background: #fff7d8;
}

.pd-indicators {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 19px;
}

.pd-indicator {
    display: flex;
    min-width: 0;
    min-height: 72px;
    align-items: center;
    gap: 9px;
    padding: 11px;
    border-radius: 15px;
    background: var(--pd-surface-soft);
}

.pd-indicator__icon {
    display: grid;
    width: 30px;
    min-width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    color: var(--pd-blue);
    background: var(--pd-blue-soft);
    font-size: 0.78rem;
    font-weight: 900;
}

.pd-indicator small,
.pd-indicator strong {
    display: block;
}

.pd-indicator small {
    overflow: hidden;
    color: var(--pd-muted);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-indicator strong {
    margin-top: 3px;
    color: var(--pd-navy);
    font-size: 0.94rem;
    font-weight: 900;
}

.pd-no-data {
    margin-top: 18px;
    padding: 17px;
    border: 1px dashed #d8dee8;
    border-radius: 15px;
    color: var(--pd-muted);
    background: #fafbfd;
    text-align: center;
    font-size: 0.78rem;
}

.pd-student-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
}

.pd-last-activity {
    min-width: 0;
}

.pd-last-activity span,
.pd-last-activity strong {
    display: block;
}

.pd-last-activity span {
    color: var(--pd-muted);
    font-size: 0.65rem;
}

.pd-last-activity strong {
    max-width: 210px;
    margin-top: 3px;
    overflow: hidden;
    color: var(--pd-navy);
    font-size: 0.72rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-student-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pd-more-button {
    min-height: 39px;
    padding: 8px 12px;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    color: var(--pd-navy);
    background: #fff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
}

.pd-more-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
    padding: 10px;
    border-radius: 14px;
    background: #f4f7fb;
}

.pd-more-menu[hidden] {
    display: none;
}

.pd-more-menu button {
    min-height: 37px;
    padding: 7px;
    border: 1px solid #e2e7ef;
    border-radius: 10px;
    color: var(--pd-navy);
    background: #fff;
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.pd-state-card {
    max-width: 700px;
    margin: 38px auto 60px;
    padding: 44px 25px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-xl);
    background: #fff;
    box-shadow: var(--pd-shadow);
    text-align: center;
}

.pd-state-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;
    place-items: center;
    border-radius: 19px;
    color: var(--pd-blue);
    background: var(--pd-blue-soft);
    font-size: 1.45rem;
    font-weight: 900;
}

.pd-state-card h2 {
    margin: 0;
    color: var(--pd-navy);
    font-size: 1.25rem;
}

.pd-state-card p {
    max-width: 480px;
    margin: 10px auto 20px;
    color: var(--pd-muted);
    font-size: 0.82rem;
    line-height: 1.8;
}

.pd-state-card--error .pd-state-card__icon {
    color: var(--pd-red);
    background: var(--pd-red-soft);
}

.pd-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10020;
    background: rgba(6, 18, 35, 0.52);
    backdrop-filter: blur(3px);
}

.pd-panel-backdrop[hidden] {
    display: none;
}

.pd-child-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10030;
    display: flex;
    width: min(620px, 94vw);
    flex-direction: column;
    border-right: 1px solid var(--pd-border);
    background: #fff;
    box-shadow: 20px 0 55px rgba(7, 23, 43, 0.22);
    transform: translateX(-105%);
    transition: transform 0.24s ease;
}

.pd-child-panel.is-open {
    transform: translateX(0);
}

body.pd-panel-open {
    overflow: hidden;
}

.pd-child-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 21px;
    border-bottom: 1px solid var(--pd-border);
}

.pd-child-panel__header span {
    color: var(--pd-blue);
    font-size: 0.68rem;
    font-weight: 800;
}

.pd-child-panel__header h2 {
    margin: 4px 0 0;
    color: var(--pd-navy);
    font-size: 1.25rem;
    font-weight: 900;
}

.pd-panel-close {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--pd-border);
    border-radius: 13px;
    color: var(--pd-navy);
    background: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.pd-tabs {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
    overflow-x: auto;
    padding: 12px 18px;
    border-bottom: 1px solid var(--pd-border);
    scrollbar-width: thin;
}

.pd-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 13px;
    border: 0;
    border-radius: 11px;
    color: var(--pd-muted);
    background: #f2f5f9;
    font: inherit;
    font-size: 0.73rem;
    font-weight: 800;
    cursor: pointer;
}

.pd-tab.is-active {
    color: #fff;
    background: var(--pd-navy);
}

.pd-child-panel__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px;
    background: #f7f9fc;
}

.pd-panel-section {
    padding: 18px;
    border: 1px solid var(--pd-border);
    border-radius: 19px;
    background: #fff;
}

.pd-panel-section + .pd-panel-section {
    margin-top: 14px;
}

.pd-panel-section > h3 {
    margin: 0 0 15px;
    color: var(--pd-navy);
    font-size: 1rem;
    font-weight: 900;
}

.pd-panel-student-card {
    display: flex;
    align-items: center;
    gap: 13px;
}

.pd-panel-student-card h3 {
    margin: 0;
    color: var(--pd-navy);
    font-size: 1rem;
}

.pd-panel-student-card p {
    margin: 4px 0 0;
    color: var(--pd-muted);
    font-size: 0.72rem;
}

.pd-panel-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.pd-panel-metric {
    min-width: 0;
    padding: 12px 9px;
    border-radius: 13px;
    background: var(--pd-surface-soft);
    text-align: center;
}

.pd-panel-metric span,
.pd-panel-metric strong {
    display: block;
}

.pd-panel-metric span {
    overflow: hidden;
    color: var(--pd-muted);
    font-size: 0.62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-panel-metric strong {
    margin-top: 5px;
    color: var(--pd-navy);
    font-size: 0.88rem;
    font-weight: 900;
}

.pd-record-list {
    display: grid;
    gap: 9px;
}

.pd-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    background: #fbfcfe;
}

.pd-record strong,
.pd-record span {
    display: block;
}

.pd-record strong {
    color: var(--pd-navy);
    font-size: 0.78rem;
}

.pd-record div > span {
    margin-top: 4px;
    color: var(--pd-muted);
    font-size: 0.65rem;
}

.pd-record-status,
.pd-record-score {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 900;
}

.pd-record-score {
    color: var(--pd-blue);
    background: var(--pd-blue-soft);
}

.pd-record-status.is-success {
    color: var(--pd-green);
    background: var(--pd-green-soft);
}

.pd-record-status.is-warning {
    color: var(--pd-orange);
    background: var(--pd-orange-soft);
}

.pd-record-status.is-danger {
    color: var(--pd-red);
    background: var(--pd-red-soft);
}

.pd-record-status.is-neutral {
    color: var(--pd-muted);
    background: #edf1f6;
}

.pd-course-list {
    display: grid;
    gap: 9px;
    margin-top: 17px;
}

.pd-course {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--pd-border);
    border-radius: 14px;
}

.pd-course strong,
.pd-course span {
    display: block;
}

.pd-course strong {
    color: var(--pd-navy);
    font-size: 0.78rem;
}

.pd-course span {
    margin-top: 4px;
    color: var(--pd-muted);
    font-size: 0.67rem;
}

.pd-course b {
    color: var(--pd-blue);
    font-size: 0.82rem;
}

.pd-subscription-card {
    padding: 18px;
    border: 1px solid #e7dfc7;
    border-radius: 17px;
    background:
        linear-gradient(145deg, #fffdf7, #fff9eb);
}

.pd-subscription-card h4 {
    margin: 13px 0 16px;
    color: var(--pd-navy);
    font-size: 1rem;
}

.pd-subscription-dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.pd-subscription-dates div {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
}

.pd-subscription-dates span,
.pd-subscription-dates strong {
    display: block;
}

.pd-subscription-dates span {
    color: var(--pd-muted);
    font-size: 0.65rem;
}

.pd-subscription-dates strong {
    margin-top: 5px;
    color: var(--pd-navy);
    font-size: 0.72rem;
}

.pd-subscription-card p {
    margin: 15px 0 0;
    color: var(--pd-muted);
    font-size: 0.7rem;
    line-height: 1.8;
}

.pd-info-card {
    padding: 16px;
    border-radius: 14px;
    background: var(--pd-surface-soft);
}

.pd-info-card span,
.pd-info-card strong {
    display: block;
}

.pd-info-card span {
    color: var(--pd-muted);
    font-size: 0.68rem;
}

.pd-info-card strong {
    margin-top: 6px;
    color: var(--pd-navy);
    font-size: 0.8rem;
}

.pd-panel-placeholder {
    display: grid;
    min-height: 210px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 24px;
    border: 1px dashed #d6dce6;
    border-radius: 17px;
    color: var(--pd-muted);
    background: #fff;
    text-align: center;
}

.pd-panel-placeholder h3,
.pd-panel-placeholder p {
    margin: 0;
}

.pd-panel-placeholder h3 {
    color: var(--pd-navy);
    font-size: 0.92rem;
}

.pd-panel-placeholder p {
    font-size: 0.72rem;
}

.pd-skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #edf1f6;
}

.pd-skeleton::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.75),
            transparent
        );
    transform: translateX(-100%);
    animation: pd-shimmer 1.35s infinite;
}

.pd-skeleton--title {
    width: 55%;
    height: 22px;
}

.pd-skeleton--text {
    width: 72%;
    height: 13px;
    margin-top: 12px;
}

.pd-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
}

.pd-skeleton--indicator {
    min-height: 72px;
}

.pd-panel-loading {
    display: grid;
    gap: 13px;
}

.pd-skeleton--line {
    width: 100%;
    height: 56px;
}

@keyframes pd-shimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 1100px) {
    .pd-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-students-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .pd-container {
        width: min(100% - 20px, 1380px);
    }

    .pd-hero {
        padding: 24px 0 64px;
    }

    .pd-hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .pd-hero h1 {
        font-size: 1.65rem;
    }

    .pd-hero__copy > p {
        font-size: 0.82rem;
        line-height: 1.8;
    }

    .pd-hero__overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .pd-hero-stat {
        min-height: 91px;
        padding: 14px;
        border-radius: 16px;
    }

    .pd-hero-stat strong {
        font-size: 1.35rem;
    }

    .pd-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: -33px;
    }

    .pd-summary-card {
        min-height: 115px;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
        border-radius: 17px;
    }

    .pd-summary-card__icon {
        width: 38px;
        min-width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .pd-summary-card__content strong {
        font-size: 1.25rem;
    }

    .pd-summary-card__content small {
        font-size: 0.59rem;
    }

    .pd-section {
        padding-top: 28px;
    }

    .pd-section__heading {
        display: block;
    }

    .pd-section__heading > p {
        margin-top: 9px;
        font-size: 0.72rem;
    }

    .pd-student-card {
        padding: 16px;
        border-radius: 20px;
    }

    .pd-student-avatar {
        width: 51px;
        min-width: 51px;
        height: 51px;
        border-radius: 16px;
    }

    .pd-student-title-row {
        align-items: flex-start;
    }

    .pd-student-title-row h3 {
        font-size: 0.92rem;
    }

    .pd-student-meta {
        gap: 5px 10px;
        font-size: 0.65rem;
    }

    .pd-indicators {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-indicator {
        min-height: 65px;
    }

    .pd-student-foot {
        display: block;
    }

    .pd-student-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 13px;
    }

    .pd-last-activity strong {
        max-width: none;
    }

    .pd-more-menu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-child-panel {
        top: auto;
        right: 0;
        width: 100%;
        height: min(91vh, 850px);
        border-top-left-radius: 23px;
        border-top-right-radius: 23px;
        transform: translateY(105%);
    }

    .pd-child-panel.is-open {
        transform: translateY(0);
    }

    .pd-panel-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-child-panel__header {
        padding: 17px;
    }

    .pd-child-panel__body {
        padding: 14px;
    }

    .pd-subscription-dates {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .pd-hero__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-btn {
        padding-inline: 10px;
        font-size: 0.72rem;
    }

    .pd-summary-card {
        min-height: 108px;
        padding: 12px;
    }

    .pd-summary-card__icon {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .pd-summary-card__content span {
        font-size: 0.65rem;
    }

    .pd-summary-card__content strong {
        font-size: 1.12rem;
    }

    .pd-student-card__top {
        gap: 10px;
    }

    .pd-badge {
        font-size: 0.57rem;
    }

    .pd-indicator {
        padding: 9px;
    }
}
