@font-face {
    font-family: "Kalpurush";
    src: url("../fonts/Kalpurush.woff2") format("woff2"),
         url("../fonts/Kalpurush.woff") format("woff");
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
}

:root {
    --pd-ink: #f2f9fd;
    --pd-text: #c7d8e5;
    --pd-muted: #91a9bb;
    --pd-brand: #28ebd9;
    --pd-brand-deep: #00a8c6;
    --pd-brand-soft: rgba(40, 235, 217, 0.11);
    --pd-accent: #ffdf00;
    --pd-accent-soft: rgba(255, 223, 0, 0.1);
    --pd-bg: #0b1020;
    --pd-bg-ink: #0e1326;
    --pd-surface: rgba(9, 27, 47, 0.88);
    --pd-surface-soft: rgba(12, 38, 62, 0.62);
    --pd-line: rgba(107, 205, 211, 0.2);
    --pd-line-strong: rgba(107, 205, 211, 0.38);
    --pd-shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.24);
    --pd-shadow-md: 0 22px 58px rgba(0, 0, 0, 0.42);
    --pd-radius-sm: 10px;
    --pd-radius: 16px;
    --pd-content: 1180px;
    --pd-reading: 820px;
    --pd-font-body: "Kalpurush", sans-serif;
    --pd-font-ui: "Kalpurush", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; background: var(--pd-bg); }

body {
    position: relative;
    isolation: isolate;
    margin: 0;
    color: var(--pd-text);
    background-color: var(--pd-bg);
    font-family: var(--pd-font-body);
    font-size: 17px;
    line-height: 1.7;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background:
        repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.016) 0, rgba(255, 255, 255, 0.016) 2px, transparent 2px, transparent 6px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
        radial-gradient(1200px 800px at 10% 0%, #1f2a6b 0%, transparent 55%),
        radial-gradient(900px 600px at 90% 100%, #0b6b4a 0%, transparent 55%),
        radial-gradient(900px 700px at 20% 100%, rgba(37, 56, 108, 0.75) 0%, transparent 50%),
        radial-gradient(600px 400px at 80% 20%, #331266 0%, transparent 85%),
        linear-gradient(180deg, var(--pd-bg-ink), var(--pd-bg));
    content: "";
    pointer-events: none;
}

body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: var(--pd-font-body); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: #72e4e0; text-underline-offset: 3px; }
a:hover { color: var(--pd-accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--pd-accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.pd-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;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--pd-brand-deep);
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.pd-container { width: min(100% - 36px, var(--pd-content)); margin-inline: auto; }
.pd-container--narrow { max-width: 980px; }
.pd-main { min-height: 58vh; }
.pd-section { padding-block: 64px; }
.pd-section--compact { padding-block: 40px; }
.pd-section--soft { background: var(--pd-surface-soft); }

.pd-section-heading { max-width: 760px; margin-bottom: 30px; }
.pd-section-heading--center { margin-inline: auto; text-align: center; }

.pd-section-heading h2,
.pd-section-heading h1 {
    margin: 0 0 10px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.pd-section-heading p { margin: 0; color: var(--pd-muted); font-size: 1rem; }

.pd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #75e7e2;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-kicker::before {
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--pd-accent);
    content: "";
}

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

.pd-card {
    min-width: 0;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    background: linear-gradient(145deg, rgba(12, 38, 61, 0.9), rgba(7, 22, 40, 0.94));
    box-shadow: var(--pd-shadow-sm);
}

.pd-card--link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pd-card--link:hover {
    border-color: rgba(74, 224, 220, 0.6);
    color: inherit;
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-3px);
}

.pd-card-body { padding: 24px; }

.pd-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 13px;
    color: #55ded9;
    background: var(--pd-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(73, 218, 214, 0.12);
}

.pd-card-icon svg { width: 25px; height: 25px; }

.pd-card h3,
.pd-card h2 {
    margin: 0 0 8px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 1.12rem;
    line-height: 1.35;
}

.pd-card p { margin: 0; color: var(--pd-muted); font-size: 0.95rem; line-height: 1.65; }

.pd-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 0 24px 22px;
    color: #6fe5df;
    font-family: var(--pd-font-ui);
    font-size: 0.86rem;
    font-weight: 700;
}

.pd-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: var(--pd-font-ui);
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pd-btn:hover { transform: translateY(-1px); }
.pd-btn--primary { color: #fff; background: linear-gradient(135deg, #0d8f9a, #159fa7); box-shadow: 0 8px 24px rgba(4, 124, 139, 0.22); }
.pd-btn--primary:hover { color: #fff; background: linear-gradient(135deg, #12a8b3, #2dc9c9); }
.pd-btn--outline { border-color: var(--pd-line-strong); color: #e8f6fa; background: rgba(8, 27, 47, 0.72); }
.pd-btn--outline:hover { border-color: #54dcd9; color: #fff; background: var(--pd-brand-soft); }
.pd-btn--light { color: #06182b; background: #f4fbfd; }
.pd-btn--light:hover { color: #06182b; background: #d8fbfa; }
.pd-btn--ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.08); }
.pd-btn--ghost-light:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }

.pd-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #70e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
}

.pd-text-link::after { content: "->"; }
.pd-text-link:hover { text-decoration: underline; }

.pd-search { width: 100%; }

.pd-search-field {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 7px;
    border: 1px solid rgba(93, 217, 216, 0.34);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(5, 21, 39, 0.98), rgba(8, 31, 51, 0.98));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.33), 0 0 0 1px rgba(101, 219, 219, 0.07);
}

.pd-search-field label { display: none; }

.pd-search-field input {
    min-width: 0;
    flex: 1;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    color: #f0f8fb;
    background: transparent;
    outline: 0;
}

.pd-search-field input::placeholder { color: #829bae; }

.pd-search-field button {
    display: inline-flex;
    min-width: 104px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #0b8795, #1aaeb4);
    font-family: var(--pd-font-ui);
    font-weight: 750;
}

.pd-search-field button:hover { background: linear-gradient(135deg, #0c9aa5, #28c7c7); }
.pd-search-field svg { width: 19px; height: 19px; }
.pd-search--inline { max-width: 720px; }
.pd-search--inline .pd-search-field { border-color: var(--pd-line); box-shadow: var(--pd-shadow-sm); }

.pd-empty-state {
    padding: 34px 28px;
    border: 1px dashed var(--pd-line-strong);
    border-radius: var(--pd-radius);
    color: var(--pd-muted);
    background: rgba(8, 26, 45, 0.66);
    text-align: center;
}

.pd-empty-state h2,
.pd-empty-state h3 {
    margin: 0 0 8px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
}

.pd-empty-state p { max-width: 620px; margin: 0 auto; }

.pd-notice {
    padding: 14px 16px;
    border: 1px solid rgba(75, 209, 210, 0.25);
    border-left: 4px solid var(--pd-brand);
    border-radius: 0 10px 10px 0;
    color: #c4e3e8;
    background: rgba(17, 69, 82, 0.42);
}

.pd-notice--warning {
    border-color: rgba(255, 200, 61, 0.3);
    border-left-color: var(--pd-accent);
    color: #f0d895;
    background: var(--pd-accent-soft);
}

.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    color: var(--pd-muted);
    font-family: var(--pd-font-ui);
    font-size: 0.83rem;
    list-style: none;
}

.pd-breadcrumb li:not(:last-child)::after { margin-left: 7px; content: "/"; color: #9aa7b5; }

.pd-page-hero {
    padding-block: 58px 48px;
    color: #e9f4f7;
    background:
        radial-gradient(ellipse at 86% 14%, rgba(104, 42, 151, 0.24), transparent 35%),
        radial-gradient(ellipse at 92% 100%, rgba(12, 126, 108, 0.17), transparent 38%),
        linear-gradient(180deg, rgba(8, 23, 43, 0.68), rgba(7, 20, 38, 0.18));
    border-bottom: 1px solid rgba(100, 204, 210, 0.1);
}

.pd-page-hero h1 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-family: var(--pd-font-ui);
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.pd-page-hero p { max-width: 760px; margin: 14px 0 0; color: #c8dce4; font-size: 1.03rem; }
.pd-page { padding-block: 48px 72px; }
.pd-article-shell { width: min(100% - 36px, var(--pd-reading)); margin-inline: auto; }
.pd-main--article .pd-article-shell { width: min(100% - 36px, 1120px); }

.pd-article-header {
    margin-bottom: 26px;
    padding: 30px 34px;
    border: 1px solid rgba(75, 213, 213, 0.3);
    border-radius: var(--pd-radius);
    background:
        radial-gradient(circle at 88% 12%, rgba(92, 39, 135, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(7, 24, 43, 0.98), rgba(8, 43, 61, 0.96));
    box-shadow: var(--pd-shadow-md), 0 0 34px rgba(29, 178, 181, 0.08);
}

.pd-article-header .pd-kicker { color: #7ce8e3; }
.pd-article-header .pd-kicker::before { background: var(--pd-accent); }

.pd-article-header h1 {
    margin: 0;
    color: #fff;
    font-family: var(--pd-font-ui);
    font-size: clamp(1.8rem, 4.4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.pd-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 16px;
    color: #c8dce4;
    font-family: var(--pd-font-ui);
    font-size: 0.86rem;
}

.pd-article-deck {
    max-width: 760px;
    margin: 15px 0 0;
    color: #c8dce4;
    font-size: 1rem;
    line-height: 1.7;
}

.pd-article {
    overflow: hidden;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    background: linear-gradient(160deg, rgba(9, 29, 49, 0.94), rgba(6, 20, 37, 0.97));
    box-shadow: var(--pd-shadow-sm);
}

.pd-article-content { padding: clamp(24px, 5vw, 48px); overflow-wrap: anywhere; }
.pd-article-content > :first-child { margin-top: 0; }
.pd-article-content > :last-child { margin-bottom: 0; }

.pd-article-content h1,
.pd-article-content h2,
.pd-article-content h3,
.pd-article-content h4,
.pd-article-content h5,
.pd-article-content h6 {
    margin: 1.7em 0 0.55em;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    line-height: 1.3;
}

.pd-article-content h1 { font-size: clamp(1.75rem, 4vw, 2.35rem); }
.pd-article-content h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); }
.pd-article-content h3 { font-size: 1.32rem; }
.pd-article-content h4 { font-size: 1.12rem; }
.pd-article-content p,
.pd-article-content li { font-size: 1.02rem; line-height: 1.82; }
.pd-article-content p { margin: 0 0 1.05em; }
.pd-article-content ul,
.pd-article-content ol { margin: 0 0 1.15em; padding-left: 1.4em; }
.pd-article-content li + li { margin-top: 0.38em; }
.pd-article-content strong { color: var(--pd-ink); }

.pd-article-content blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border-left: 4px solid var(--pd-brand);
    border-radius: 0 10px 10px 0;
    color: #bfe5e8;
    background: rgba(21, 73, 83, 0.42);
}

.pd-article-content table {
    display: block;
    width: 100%;
    margin: 1.5em 0;
    overflow-x: auto;
    border-collapse: collapse;
    font-family: var(--pd-font-ui);
    font-size: 0.92rem;
}

.pd-article-content th,
.pd-article-content td {
    min-width: 110px;
    padding: 11px 13px;
    border: 1px solid var(--pd-line);
    text-align: left;
    vertical-align: top;
    background: rgba(8, 25, 43, 0.72);
}

.pd-article-content th { color: var(--pd-ink); background: rgba(15, 47, 72, 0.94); }
.pd-article-content img { display: block; max-width: 100%; height: auto; margin: 1.5em auto; border-radius: 10px; }
.pd-article-content iframe { width: 100%; min-height: 360px; border: 0; border-radius: 12px; }

.pd-article-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 16px;
    border-radius: 10px;
    color: #e6f2f5;
    background: #10253c;
}

.pd-article-content code {
    padding: 2px 5px;
    border-radius: 4px;
    color: #ffd27a;
    background: rgba(255, 200, 61, 0.1);
    font-family: var(--pd-font-body);
    font-size: 0.9em;
}

.pd-article-content pre code { padding: 0; color: inherit; background: transparent; }
.pd-article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.pd-article-cover {
    margin: 0 0 22px;
    overflow: hidden;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    background: rgba(8, 25, 43, 0.86);
    box-shadow: var(--pd-shadow-sm);
}

.pd-article-cover img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.pd-article-next { margin-top: 30px; }

.pd-article-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 5px 8px 5px 0;
    padding: 9px 15px;
    border: 1px solid var(--pd-brand);
    border-radius: 8px;
    color: #fff;
    background: var(--pd-brand);
    font-family: var(--pd-font-ui);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.pd-article-content .btn-outline-primary {
    color: #7ce8e3;
    border-color: rgba(82, 220, 218, 0.55);
    background: rgba(8, 28, 48, 0.58);
}

.pd-article-content .btn:hover { color: #fff; background: var(--pd-brand-deep); }
.pd-article-content hr { margin: 1.6em 0; border: 0; border-top: 1px solid var(--pd-line); }

.pd-error-card {
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    background: linear-gradient(150deg, rgba(11, 33, 55, 0.94), rgba(7, 22, 40, 0.97));
    box-shadow: var(--pd-shadow-sm);
}

.pd-error-code {
    margin: 0 0 8px;
    color: var(--pd-brand);
    font-family: var(--pd-font-ui);
    font-size: clamp(3.2rem, 11vw, 6.4rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.pd-error-card h2 { margin: 0 0 8px; color: var(--pd-ink); font-family: var(--pd-font-ui); font-size: clamp(1.35rem, 3vw, 1.8rem); }
.pd-error-card > p:not(.pd-error-code) { margin: 0 0 22px; color: var(--pd-muted); }
.pd-error-card .pd-search { margin-bottom: 24px; }
.pd-error-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.pd-department-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.pd-department-card {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    padding: 21px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    color: inherit;
    background: linear-gradient(150deg, rgba(12, 38, 61, 0.9), rgba(6, 22, 41, 0.95));
    box-shadow: var(--pd-shadow-sm);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pd-department-card:hover {
    border-color: rgba(74, 224, 220, 0.58);
    color: inherit;
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-3px);
}

.pd-department-card__icon {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 14px;
    place-items: center;
    border-radius: 11px;
    color: #60e4df;
    background: var(--pd-brand-soft);
    box-shadow: inset 0 0 0 1px rgba(76, 221, 217, 0.12);
}

.pd-department-card__icon svg { width: 23px; height: 23px; }
.pd-department-card h3 { margin: 0 0 7px; color: var(--pd-ink); font-family: var(--pd-font-ui); font-size: 1rem; line-height: 1.35; }
.pd-department-card p { margin: 0; color: var(--pd-muted); font-size: 0.87rem; line-height: 1.58; }
.pd-department-card span:last-child { margin-top: auto; padding-top: 15px; color: #70e5df; font-family: var(--pd-font-ui); font-size: 0.78rem; font-weight: 750; }

.pd-department-detail__header { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.pd-department-detail__header .pd-card-icon { width: 60px; height: 60px; margin: 0; }
.pd-department-detail__header h1 { margin: 0 0 7px; }
.pd-department-detail__header p { margin: 0; }

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

.pd-learning-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(107, 205, 211, 0.19);
    border-radius: 18px;
    color: inherit;
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(12, 39, 61, 0.96), rgba(6, 22, 40, 0.98));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pd-learning-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(40, 235, 217, 0.7), transparent);
    opacity: 0.65;
    content: "";
}

.pd-learning-card:hover {
    border-color: rgba(74, 224, 220, 0.58);
    color: inherit;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(40, 235, 217, 0.08);
    transform: translateY(-3px);
}

.pd-learning-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pd-learning-card__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(40, 235, 217, 0.18);
    border-radius: 99px;
    color: #86f5ef;
    background: rgba(40, 235, 217, 0.075);
    font-family: var(--pd-font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pd-learning-card__arrow {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(107, 205, 211, 0.24);
    border-radius: 50%;
    color: #8df2ec;
    background: rgba(6, 24, 42, 0.66);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pd-learning-card__arrow svg { width: 18px; height: 18px; }

.pd-learning-card:hover .pd-learning-card__arrow {
    border-color: rgba(74, 224, 220, 0.58);
    background: rgba(15, 61, 78, 0.78);
    transform: translate(2px, -2px);
}

.pd-learning-card h3 {
    margin: 19px 0 8px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: clamp(1.12rem, 2vw, 1.34rem);
    line-height: 1.32;
    letter-spacing: -0.01em;
}

.pd-learning-card__description {
    margin: 0;
    color: #9db4c3;
    font-size: 0.92rem;
    line-height: 1.62;
}

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

.pd-learning-card__stat {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
    padding: 10px 12px;
    border: 1px solid rgba(107, 205, 211, 0.12);
    border-radius: 10px;
    background: rgba(4, 18, 34, 0.42);
}

.pd-learning-card__stat strong {
    color: #f4fbfd;
    font-family: var(--pd-font-ui);
    font-size: 1.06rem;
    font-weight: 750;
    line-height: 1.2;
}

.pd-learning-card__stat > span {
    color: #87a2b4;
    font-family: var(--pd-font-ui);
    font-size: 0.67rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
    white-space: nowrap;
}

.pd-learning-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
}

.pd-learning-card__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #aec6d1;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
    font-weight: 650;
}

.pd-learning-card__dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #2ee0d0;
    box-shadow: 0 0 0 4px rgba(46, 224, 208, 0.1);
}

.pd-learning-card__status.is-empty { color: #d9c675; }
.pd-learning-card__status.is-empty .pd-learning-card__dot {
    background: var(--pd-accent);
    box-shadow: 0 0 0 4px rgba(255, 223, 0, 0.09);
}

.pd-learning-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

.pd-learning-card__cta > span { transition: transform 180ms ease; }
.pd-learning-card:hover .pd-learning-card__cta > span { transform: translateX(3px); }

.pd-practice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.pd-practice-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    color: inherit;
    background: linear-gradient(150deg, rgba(11, 35, 58, 0.9), rgba(6, 21, 40, 0.95));
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pd-practice-card:hover { border-color: rgba(74, 224, 220, 0.58); color: inherit; box-shadow: var(--pd-shadow-md); transform: translateY(-2px); }
.pd-practice-card__number { margin-bottom: 22px; color: var(--pd-accent); font-family: var(--pd-font-ui); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; }
.pd-practice-card h3 { margin: 0 0 7px; color: var(--pd-ink); font-family: var(--pd-font-ui); font-size: 1.03rem; }
.pd-practice-card p { margin: 0; color: var(--pd-muted); font-size: 0.87rem; line-height: 1.58; }
.pd-practice-card span:last-child { margin-top: auto; padding-top: 14px; color: #70e5df; font-family: var(--pd-font-ui); font-size: 0.8rem; font-weight: 750; }

.pd-topic-list { display: grid; gap: 12px; }

.pd-topic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    color: inherit;
    background: rgba(9, 29, 50, 0.78);
    text-decoration: none;
}

.pd-topic-item:hover { border-color: rgba(74, 224, 220, 0.58); color: inherit; background: rgba(13, 48, 66, 0.75); }
.pd-topic-item h3 { margin: 0; color: var(--pd-ink); font-family: var(--pd-font-ui); font-size: 1rem; }
.pd-topic-item p { margin: 4px 0 0; color: var(--pd-muted); font-size: 0.84rem; }
.pd-topic-item__arrow { flex: 0 0 auto; color: var(--pd-accent); font-family: var(--pd-font-ui); font-weight: 800; }

.pd-cta-band {
    padding: 32px 36px;
    border: 1px solid rgba(78, 215, 214, 0.26);
    border-radius: 18px;
    background:
        radial-gradient(circle at 88% 0%, rgba(91, 37, 133, 0.2), transparent 36%),
        linear-gradient(120deg, rgba(12, 42, 64, 0.9), rgba(8, 31, 48, 0.92));
}

.pd-cta-band h2 { margin: 0 0 7px; color: var(--pd-ink); font-family: var(--pd-font-ui); font-size: clamp(1.35rem, 3vw, 1.8rem); }
.pd-cta-band p { max-width: 720px; margin: 0; color: var(--pd-muted); }
.pd-cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pd-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.pd-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 99px;
    color: #b8d8df;
    background: rgba(10, 35, 56, 0.72);
    font-family: var(--pd-font-ui);
    font-size: 0.74rem;
    font-weight: 650;
}

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

.pd-chapter-card {
    position: relative;
    display: flex;
    min-height: 228px;
    flex-direction: column;
    overflow: hidden;
    padding: 26px;
    border: 1px solid rgba(107, 205, 211, 0.19);
    border-radius: 18px;
    color: inherit;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 223, 0, 0.06), transparent 32%),
        linear-gradient(145deg, rgba(12, 39, 61, 0.96), rgba(6, 22, 40, 0.98));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pd-chapter-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pd-accent), rgba(255, 223, 0, 0));
    content: "";
}

.pd-chapter-card:hover {
    border-color: rgba(74, 224, 220, 0.58);
    color: inherit;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(40, 235, 217, 0.08);
    transform: translateY(-3px);
}

.pd-chapter-card__number {
    position: absolute;
    right: 22px;
    bottom: 15px;
    color: rgba(241, 251, 253, 0.04);
    font-family: var(--pd-font-ui);
    font-size: clamp(5rem, 10vw, 7.5rem);
    font-weight: 850;
    letter-spacing: -0.08em;
    line-height: 0.8;
    pointer-events: none;
}

.pd-chapter-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pd-chapter-card__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(255, 223, 0, 0.2);
    border-radius: 99px;
    color: #ffe970;
    background: rgba(255, 223, 0, 0.065);
    font-family: var(--pd-font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pd-chapter-card__arrow {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(107, 205, 211, 0.24);
    border-radius: 50%;
    color: #8df2ec;
    background: rgba(6, 24, 42, 0.66);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pd-chapter-card__arrow svg { width: 18px; height: 18px; }

.pd-chapter-card:hover .pd-chapter-card__arrow {
    border-color: rgba(74, 224, 220, 0.58);
    background: rgba(15, 61, 78, 0.78);
    transform: translate(2px, -2px);
}

.pd-chapter-card h3 {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 30px);
    margin: 20px 0 8px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: clamp(1.15rem, 2vw, 1.38rem);
    line-height: 1.32;
    letter-spacing: -0.01em;
}

.pd-chapter-card__description {
    position: relative;
    z-index: 1;
    max-width: 92%;
    margin: 0;
    color: #9db4c3;
    font-size: 0.9rem;
    line-height: 1.6;
}

.pd-chapter-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
}

.pd-chapter-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #aec6d1;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
    font-weight: 650;
}

.pd-chapter-card__meta strong { color: #f4fbfd; font-size: 0.94rem; }

.pd-chapter-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

.pd-chapter-card__cta > span { transition: transform 180ms ease; }
.pd-chapter-card:hover .pd-chapter-card__cta > span { transform: translateX(3px); }

.pd-part-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.pd-part-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 20px;
    border: 1px dashed rgba(107, 205, 211, 0.24);
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(10, 33, 53, 0.86), rgba(6, 21, 38, 0.94));
}

.pd-part-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.pd-part-card__index {
    color: #7de9e3;
    font-family: var(--pd-font-ui);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-part-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 223, 0, 0.18);
    border-radius: 99px;
    color: #e6d270;
    background: rgba(255, 223, 0, 0.06);
    font-family: var(--pd-font-ui);
    font-size: 0.63rem;
    font-weight: 700;
    white-space: nowrap;
}

.pd-part-card h3 {
    margin: 0 0 7px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 1.04rem;
    line-height: 1.4;
}

.pd-part-card p { margin: 0; color: #93aab9; font-size: 0.84rem; line-height: 1.55; }

.pd-part-card--published {
    border-style: solid;
    border-color: rgba(74, 224, 220, 0.36);
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, 0.09), transparent 34%),
        linear-gradient(150deg, rgba(11, 39, 59, 0.94), rgba(6, 21, 38, 0.96));
}

.pd-part-card__badge--published {
    border-color: rgba(40, 235, 217, 0.26);
    color: #86f5ef;
    background: rgba(40, 235, 217, 0.08);
}

.pd-part-card__resources {
    display: grid;
    gap: 8px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.pd-part-card__resources a {
    display: grid;
    gap: 2px;
    padding: 11px 13px;
    border: 1px solid rgba(107, 205, 211, 0.2);
    border-radius: 10px;
    color: inherit;
    background: rgba(5, 25, 43, 0.58);
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.pd-part-card__resources a:hover {
    border-color: rgba(74, 224, 220, 0.5);
    background: rgba(12, 51, 68, 0.72);
    transform: translateY(-1px);
}

.pd-part-card__resources span {
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pd-part-card__resources strong {
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 0.84rem;
    line-height: 1.45;
}

.pd-part-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.pd-part-card__stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 99px;
    color: #93aab9;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.7rem;
}

.pd-part-card__stats strong { color: #baf8f3; font-size: 0.78rem; }

.pd-part-card__hub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.79rem;
    font-weight: 750;
    text-decoration: none;
}

.pd-part-card__hub:hover { color: var(--pd-accent); }
.pd-part-card__hub span { transition: transform 160ms ease; }
.pd-part-card__hub:hover span { transform: translateX(3px); }

.pd-question-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 16px;
}

.pd-question-card {
    position: relative;
    display: flex;
    min-height: 210px;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(107, 205, 211, 0.19);
    border-radius: 16px;
    color: inherit;
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, 0.1), transparent 32%),
        linear-gradient(145deg, rgba(11, 37, 59, 0.96), rgba(6, 22, 40, 0.98));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pd-question-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(40, 235, 217, 0.7), transparent);
    opacity: 0.6;
    content: "";
}

.pd-question-card:hover {
    border-color: rgba(74, 224, 220, 0.58);
    color: inherit;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(40, 235, 217, 0.08);
    transform: translateY(-3px);
}

.pd-question-card__number {
    position: absolute;
    right: 20px;
    bottom: 12px;
    color: rgba(241, 251, 253, 0.035);
    font-family: var(--pd-font-ui);
    font-size: 4.8rem;
    font-weight: 850;
    letter-spacing: -0.07em;
    line-height: 0.82;
    pointer-events: none;
}

.pd-question-card__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pd-question-card__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(40, 235, 217, 0.18);
    border-radius: 99px;
    color: #86f5ef;
    background: rgba(40, 235, 217, 0.075);
    font-family: var(--pd-font-ui);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pd-question-card__arrow {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(107, 205, 211, 0.24);
    border-radius: 50%;
    color: #8df2ec;
    background: rgba(6, 24, 42, 0.66);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pd-question-card__arrow svg { width: 17px; height: 17px; }

.pd-question-card:hover .pd-question-card__arrow {
    border-color: rgba(74, 224, 220, 0.58);
    background: rgba(15, 61, 78, 0.78);
    transform: translate(2px, -2px);
}

.pd-question-card h3 {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 20px);
    margin: 18px 0 8px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: clamp(1.02rem, 1.7vw, 1.18rem);
    line-height: 1.48;
    letter-spacing: -0.005em;
}

.pd-question-card__meta {
    position: relative;
    z-index: 1;
    color: #93aab9;
    font-family: var(--pd-font-ui);
    font-size: 0.76rem;
    font-weight: 650;
}

.pd-question-card__meta > span { margin-inline: 4px; color: #5f7d8f; }

.pd-question-card__footer {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 18px;
}

.pd-question-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: 0.8rem;
    font-weight: 750;
}

.pd-question-card__cta > span { transition: transform 180ms ease; }
.pd-question-card:hover .pd-question-card__cta > span { transform: translateX(3px); }

.pd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.pd-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius);
    color: inherit;
    background: linear-gradient(150deg, rgba(11, 35, 57, 0.92), rgba(7, 22, 40, 0.96));
    box-shadow: var(--pd-shadow-sm);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pd-post-card:hover {
    border-color: rgba(74, 224, 220, 0.58);
    color: inherit;
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-3px);
}

.pd-post-card--featured { border-color: rgba(239, 189, 98, 0.46); }
.pd-post-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(5, 18, 32, 0.82);
}

.pd-post-card__media picture,
.pd-post-card__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.pd-post-card__media img {
    object-fit: cover;
    transition: transform 260ms ease;
}

.pd-post-card:hover .pd-post-card__media img { transform: scale(1.035); }
.pd-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }

.pd-post-card__type {
    margin-bottom: 10px;
    color: #73e4df;
    font-family: var(--pd-font-ui);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-post-card h2,
.pd-post-card h3 {
    margin: 0 0 10px;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 1.12rem;
    line-height: 1.38;
}

.pd-post-card p { margin: 0; color: var(--pd-muted); font-size: 0.93rem; line-height: 1.62; }

.pd-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    color: #83a0b3;
    font-family: var(--pd-font-ui);
    font-size: 0.82rem;
}

.pd-post-grid__actions { display: flex; justify-content: center; margin-top: 28px; }

.pd-result-list { display: grid; gap: 14px; }

.pd-result {
    padding: 20px 22px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    background: linear-gradient(150deg, rgba(11, 34, 56, 0.9), rgba(7, 22, 40, 0.94));
}

.pd-result h2 {
    margin: 3px 0 7px;
    font-family: var(--pd-font-ui);
    font-size: 1.1rem;
    line-height: 1.4;
}

.pd-result h2 a { color: var(--pd-ink); text-decoration: none; }
.pd-result h2 a:hover { color: #79e8e3; text-decoration: underline; }
.pd-result p { margin: 0; color: var(--pd-muted); font-size: 0.94rem; }

.pd-result__type {
    color: #74e4df;
    font-family: var(--pd-font-ui);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-mcq-options { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }

.pd-mcq-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 15px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    background: rgba(8, 27, 47, 0.72);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.pd-mcq-option:hover { border-color: rgba(80, 222, 219, 0.56); background: rgba(16, 57, 75, 0.58); }
.pd-mcq-option > span { line-height: 1.6; }
.pd-mcq-option input { width: 17px; height: 17px; flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--pd-brand); }
.pd-mcq-option:has(input:checked) { border-color: rgba(73, 226, 220, 0.66); background: rgba(16, 63, 77, 0.62); box-shadow: inset 0 0 0 1px rgba(73, 226, 220, 0.1); }
.pd-article .pd-mcq-options li { padding: 0; border: 0; color: inherit; background: transparent; }
.pd-answer { margin-top: 18px; padding: 16px; border-radius: 10px; }
.pd-answer--correct { color: #a5f3cf; background: rgba(23, 101, 68, 0.32); border: 1px solid rgba(67, 202, 139, 0.28); }
.pd-answer--incorrect { color: #ffc0c4; background: rgba(120, 38, 48, 0.3); border: 1px solid rgba(224, 99, 110, 0.26); }

.pd-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(2, 7, 18, 0.58);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.pd-header-inner { display: flex; min-height: 66px; align-items: center; gap: 14px; }

.pd-brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: var(--pd-ink);
    text-decoration: none;
}

.pd-brand:hover { color: var(--pd-ink); }

.pd-brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    color: #55e2dd;
    background: linear-gradient(145deg, rgba(27, 151, 157, 0.28), rgba(10, 42, 69, 0.92));
    box-shadow: inset 0 0 0 1px rgba(82, 224, 220, 0.22), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pd-brand-mark svg { width: 24px; height: 24px; }
.pd-brand-text { display: flex; flex-direction: column; line-height: 1.05; }

.pd-brand-name {
    color: var(--pd-accent);
    font-family: var(--pd-font-ui);
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.pd-brand-tagline {
    margin-top: 4px;
    color: #91a9bc;
    font-family: var(--pd-font-ui);
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.pd-nav {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    min-width: 0;
}

.pd-nav-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 7px;
    border: 0;
    border-radius: 8px;
    color: #e6f1f6;
    background: transparent;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.pd-nav-link:hover,
.pd-nav-link[aria-current="page"],
.pd-nav-item.is-active > .pd-nav-link {
    color: #82f0eb;
    background: rgba(49, 196, 197, 0.12);
    box-shadow: inset 0 -2px 0 rgba(255, 200, 61, 0.78);
}

.pd-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.pd-nav-mobile-label,
.pd-nav-backdrop { display: none; }

.pd-nav-link--toggle { gap: 4px; }
.pd-nav-caret { width: 13px; height: 13px; flex: 0 0 auto; transition: transform 180ms ease; }
.pd-nav-item.is-open > .pd-nav-link--toggle .pd-nav-caret { transform: rotate(180deg); }

.pd-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 120;
    min-width: 232px;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.pd-nav-dropdown__inner {
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(105, 204, 211, 0.2);
    border-radius: 13px;
    background: rgba(5, 17, 32, 0.98);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.48);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.pd-nav-dropdown__link {
    display: flex;
    min-height: 40px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 8px;
    color: #dfeef3;
    font-family: var(--pd-font-ui);
    font-size: 0.84rem;
    font-weight: 650;
    text-decoration: none;
}

.pd-nav-dropdown__link:hover,
.pd-nav-dropdown__link:focus-visible,
.pd-nav-dropdown__link[aria-current="page"] {
    color: #8af4ef;
    background: rgba(49, 196, 197, 0.12);
    outline: none;
}

.pd-nav-item.is-open > .pd-nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

@media (hover: hover) and (min-width: 1001px) {
    html:not(.js) .pd-nav-item:hover > .pd-nav-dropdown,
    html:not(.js) .pd-nav-item:focus-within > .pd-nav-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

.pd-nav-link--portal { display: none; }

.pd-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }

.pd-portal-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 9px;
    border: 1px solid rgba(79, 218, 216, 0.58);
    color: #ecfbfd;
    background: rgba(12, 50, 73, 0.44);
    font-family: var(--pd-font-ui);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

.pd-portal-link:hover { border-color: var(--pd-accent); color: var(--pd-accent); background: rgba(255, 200, 61, 0.07); }

.pd-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--pd-line);
    border-radius: 9px;
    color: #ecf8fb;
    background: rgba(8, 28, 49, 0.72);
}

.pd-menu-toggle span,
.pd-menu-toggle::before,
.pd-menu-toggle::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: currentColor;
    content: "";
    transition: opacity 160ms ease, transform 160ms ease;
}

.pd-menu-toggle[aria-expanded="true"] span { opacity: 0; transform: scaleX(0); }
.pd-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.pd-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.pd-footer {
    margin-top: 40px;
    padding: 54px 0 26px;
    color: #cfdee7;
    border-top: 1px solid rgba(79, 203, 208, 0.17);
    background:
        radial-gradient(circle at 12% 0%, rgba(18, 139, 137, 0.16), transparent 28%),
        radial-gradient(circle at 88% 100%, rgba(82, 33, 126, 0.18), transparent 32%),
        #050f1e;
}

.pd-footer-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 0.8fr)); gap: 36px; }
.pd-footer .pd-brand { color: var(--pd-accent); }
.pd-footer .pd-brand:hover { color: var(--pd-accent); }
.pd-footer .pd-brand-tagline { color: #a9c2cc; }

.pd-footer-about p {
    max-width: 500px;
    margin: 16px 0 0;
    color: #b8cbd4;
    font-size: 0.94rem;
    line-height: 1.75;
}

.pd-footer h2 { margin: 0 0 14px; color: #fff; font-family: var(--pd-font-ui); font-size: 0.96rem; }
.pd-footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pd-footer-links a { color: #b8cbd4; font-family: var(--pd-font-ui); font-size: 0.88rem; text-decoration: none; }
.pd-footer-links a:hover { color: #fff; text-decoration: underline; }

.pd-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9fb6c1;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
}

.pd-back-to-top {
    position: fixed;
    z-index: 90;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(40, 235, 217, 0.42);
    border-radius: 50%;
    color: #e9fffd;
    background: linear-gradient(145deg, rgba(16, 51, 71, 0.97), rgba(5, 20, 37, 0.98));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 18px rgba(40, 235, 217, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.92);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pd-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.pd-back-to-top:hover {
    border-color: var(--pd-accent);
    color: var(--pd-accent);
}

.pd-back-to-top svg { width: 22px; height: 22px; }

@media (max-width: 1120px) {
    .pd-header-inner { gap: 10px; }
    .pd-nav { gap: 1px; }
    .pd-nav-link { padding-inline: 6px; font-size: 0.74rem; }
    .pd-portal-link { padding-inline: 11px; font-size: 0.77rem; }
    .pd-header-actions { margin-left: auto; }
    .pd-department-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-practice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .pd-header-inner { min-height: 60px; padding-block: 8px; }
    .pd-brand-tagline { display: none; }
    .pd-brand-name { font-size: 1.04rem; }
    .pd-header-actions--desktop { display: none; }
    .pd-site-header {
        background: rgba(3, 9, 20, 0.96);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
    }
    .js .pd-menu-toggle { position: relative; z-index: 4; display: block; margin-left: auto; }
    .pd-nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1;
        display: block;
        padding: 0;
        border: 0;
        background: rgba(1, 6, 14, 0.68);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        transition: opacity 260ms ease, visibility 0s linear 260ms;
    }
    .pd-site-header.is-nav-open .pd-nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 260ms ease, visibility 0s linear 0s;
    }
    .js .pd-nav {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 2;
        display: flex;
        width: min(84vw, 340px);
        height: 100vh;
        height: 100dvh;
        flex-basis: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
        padding: max(18px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
        border-top: 0;
        border-right: 1px solid rgba(79, 203, 208, 0.22);
        background:
            radial-gradient(circle at 0% 0%, rgba(19, 144, 143, 0.22), transparent 34%),
            radial-gradient(circle at 100% 100%, rgba(82, 33, 126, 0.2), transparent 38%),
            linear-gradient(180deg, #071a2c, #030b16 72%);
        box-shadow: 24px 0 70px rgba(0, 0, 0, 0.58);
        overflow-y: auto;
        overscroll-behavior: contain;
        opacity: 0.92;
        visibility: hidden;
        transform: translate3d(-104%, 0, 0);
        transition:
            transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 240ms ease,
            visibility 0s linear 380ms;
    }
    .js .pd-nav[data-open="true"] {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0, 0, 0);
        transition:
            transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
            opacity 240ms ease,
            visibility 0s linear 0s;
    }
    body.pd-nav-open { overflow: hidden; }
    .js .pd-nav > * {
        opacity: 0;
        transform: translateX(-14px);
        transition: opacity 160ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .js .pd-nav[data-open="true"] > * { opacity: 1; transform: none; }
    .js .pd-nav[data-open="true"] > *:nth-child(1) { transition-delay: 70ms; }
    .js .pd-nav[data-open="true"] > *:nth-child(2) { transition-delay: 100ms; }
    .js .pd-nav[data-open="true"] > *:nth-child(3) { transition-delay: 130ms; }
    .js .pd-nav[data-open="true"] > *:nth-child(4) { transition-delay: 160ms; }
    .js .pd-nav[data-open="true"] > *:nth-child(5) { transition-delay: 190ms; }
    .js .pd-nav[data-open="true"] > *:nth-child(6) { transition-delay: 220ms; }
    .pd-nav-item { display: block; width: 100%; }
    .pd-nav-link { min-height: 44px; justify-content: flex-start; padding: 11px 12px; text-align: left; }
    .pd-nav-item--has-children > .pd-nav-link--toggle { display: none; }
    .pd-nav-mobile-label {
        display: block;
        padding: 16px 12px 5px;
        color: #e7b43c;
        font-family: var(--pd-font-ui);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }
    .pd-nav-dropdown {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 8px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .pd-nav-dropdown__inner {
        gap: 0;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 1px solid rgba(255, 200, 61, 0.22);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .pd-nav-dropdown__link { min-height: 42px; padding: 9px 10px; font-size: 0.86rem; }
    .pd-nav-link--portal {
        display: inline-flex;
        margin-top: auto;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .pd-grid--3,
    .pd-grid--4,
    .pd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-footer-grid { grid-template-columns: 1.4fr 1fr; }
    .pd-footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    body::before {
        position: absolute;
        background:
            repeating-linear-gradient(145deg, rgba(255, 255, 255, 0.014) 0, rgba(255, 255, 255, 0.014) 2px, transparent 2px, transparent 7px),
            radial-gradient(700px 500px at 8% 0%, rgba(31, 42, 107, 0.92) 0%, transparent 60%),
            radial-gradient(650px 450px at 100% 100%, rgba(11, 107, 74, 0.82) 0%, transparent 62%),
            linear-gradient(180deg, var(--pd-bg-ink), var(--pd-bg));
    }
    .pd-container,
    .pd-article-shell { width: min(100% - 28px, var(--pd-content)); }
    .pd-main--article .pd-article-shell { width: min(100% - 28px, 1120px); }
    .pd-section { padding-block: 46px; }
    .pd-department-card { min-height: 0; }
    .pd-grid--2,
    .pd-grid--3,
    .pd-grid--4,
    .pd-chapter-grid,
    .pd-learning-grid,
    .pd-post-grid { grid-template-columns: 1fr; }
    .pd-article-header { padding: 25px 22px; }
    .pd-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
    .pd-back-to-top {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    .pd-practice-grid { grid-template-columns: 1fr; }
    .pd-practice-card { min-height: 0; }
    .pd-topic-item { align-items: flex-start; }
    .pd-cta-band { padding: 25px 21px; }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .pd-brand-mark { width: 36px; height: 36px; }
    .pd-brand-name { font-size: 1rem; }
    .pd-brand-tagline { display: none; }
    .pd-header-actions .pd-portal-link { padding-inline: 11px; font-size: 0.78rem; }
    .pd-department-grid { grid-template-columns: 1fr; }
    .pd-department-detail__header { grid-template-columns: 1fr; }
    .pd-search-field { flex-direction: column; }
    .pd-search-field button { min-height: 43px; }
    .pd-learning-card { padding: 20px; border-radius: 16px; }
    .pd-learning-card__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-learning-card__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pd-chapter-card { padding: 22px; border-radius: 16px; }
    .pd-chapter-card__number { right: 16px; bottom: 12px; font-size: 5.5rem; }
    .pd-chapter-card__description { max-width: 100%; }
    .pd-chapter-card__footer { align-items: flex-start; flex-direction: column; gap: 8px; }
    .pd-part-card { padding: 18px; }
    .pd-question-card { padding: 20px; border-radius: 14px; }
    .pd-question-card__number { right: 16px; font-size: 4rem; }
    .pd-card-body { padding: 20px; }
    .pd-card-footer { padding: 0 20px 19px; }
    .pd-footer-grid { grid-template-columns: 1fr; }
    .pd-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .pd-nav,
    .pd-nav-backdrop,
    .js .pd-nav > * { transition-delay: 0s !important; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.pd-jobs-list {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.pd-job-card {
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(17, 30, 47, .96), rgba(12, 24, 39, .98));
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

.pd-job-card--expired {
    border-color: rgba(255, 138, 138, .3);
    opacity: .86;
}

.pd-job-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pd-job-card__head h2 {
    margin: .45rem 0 .25rem;
    font-size: clamp(1.18rem, 2.6vw, 1.55rem);
}

.pd-job-card__org {
    margin: 0;
    color: var(--pd-muted);
}

.pd-job-card__deadline {
    flex: 0 0 auto;
    min-width: 145px;
    padding: 12px 14px;
    border: 1px solid rgba(239, 189, 98, .28);
    border-radius: 13px;
    text-align: right;
    background: rgba(239, 189, 98, .07);
}

.pd-job-card__deadline small,
.pd-job-card__deadline strong,
.pd-job-card__deadline span { display: block; }
.pd-job-card__deadline small { color: var(--pd-muted); font-size: .72rem; }
.pd-job-card__deadline strong { margin-top: .2rem; color: #efbd62; }
.pd-job-card__deadline span { margin-top: .2rem; color: #ff8a8a; font-size: .76rem; font-weight: 700; }

.pd-job-card__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.pd-job-card__meta span {
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .17);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
}

.pd-job-card__meta small {
    display: block;
    margin-bottom: 3px;
    color: var(--pd-muted);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pd-job-card__section {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .16);
}

.pd-job-card__section h3 {
    margin: 0 0 7px;
    font-size: 1rem;
}

.pd-job-card__section p {
    margin: 0;
    color: var(--pd-text);
    line-height: 1.7;
}

.pd-job-card__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, .16);
}

@media (max-width: 680px) {
    .pd-job-card { padding: 17px; }
    .pd-job-card__head { flex-direction: column; }
    .pd-job-card__deadline { width: 100%; text-align: left; }
    .pd-job-card__footer .pd-btn { width: 100%; text-align: center; }
}

[id^="job-"] {
    scroll-margin-top: 105px;
}

.pd-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-search-filters .pd-btn {
    min-height: 36px;
    padding: 6px 13px;
    font-size: .76rem;
}

.pd-topic-resource-group + .pd-topic-resource-group {
    margin-top: 34px;
}

.pd-topic-resource-group .pd-section-heading {
    margin-top: 0;
}

.pd-note-practice {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 1px solid rgba(107, 205, 211, .18);
}

.pd-note-practice .pd-section-heading {
    margin-top: 0;
}

.pd-note-practice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.pd-note-practice__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(107, 205, 211, .2);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(9, 35, 55, .94), rgba(3, 17, 31, .96));
}

.pd-note-practice__type {
    color: var(--pd-accent);
    font-family: var(--pd-font-ui);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pd-note-practice__card h3 {
    margin: 8px 0 10px;
    color: var(--pd-ink);
    font-size: 1.2rem;
    line-height: 1.35;
}

.pd-note-practice__summary {
    margin: 0 0 16px;
    color: var(--pd-muted);
    font-size: .8rem;
    line-height: 1.6;
}

.pd-note-practice__list {
    display: grid;
    gap: 9px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.pd-note-practice__list li {
    padding: 10px 12px;
    border-left: 2px solid rgba(40, 235, 217, .48);
    border-radius: 8px;
    color: var(--pd-text);
    background: rgba(3, 14, 28, .62);
    font-size: .8rem;
    line-height: 1.55;
}

.pd-note-practice__source {
    display: block;
    margin-top: 5px;
    color: var(--pd-muted);
    font-size: .71rem;
    line-height: 1.45;
}

.pd-note-practice__accordions {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
}

.pd-note-practice__accordions .pd-question-accordion {
    margin-top: 0;
}

.pd-note-practice__accordions .pd-question-accordion > summary {
    padding: 12px 14px;
}

.pd-note-practice__accordions .pd-question-accordion__question {
    font-size: .8rem;
}

.pd-note-practice__cta {
    align-self: flex-start;
    margin-top: auto;
}

.pd-note-locked__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border: 1px solid rgba(217, 198, 117, .38);
    border-radius: 999px;
    color: #f0df9d;
    background: rgba(217, 198, 117, .1);
    font-family: var(--pd-font-ui);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pd-note-mcq,
.pd-note-written {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid rgba(107, 205, 211, .18);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(8, 31, 50, .82), rgba(3, 16, 29, .9));
}

.pd-note-mcq__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.pd-note-mcq__head h3 {
    margin: 7px 0 6px;
    color: var(--pd-ink);
    font-size: 1.2rem;
    line-height: 1.35;
}

.pd-note-mcq__head p {
    margin: 0;
    color: var(--pd-muted);
    font-size: .8rem;
    line-height: 1.6;
}

.pd-note-mcq__count {
    flex: 0 0 auto;
    padding: 6px 11px;
    border: 1px solid rgba(40, 235, 217, .26);
    border-radius: 999px;
    color: #9fe9e2;
    background: rgba(40, 235, 217, .08);
    font-family: var(--pd-font-ui);
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

.pd-note-mcq__body {
    transition: opacity 180ms ease, transform 180ms ease;
}

.pd-note-mcq.is-loading .pd-note-mcq__body {
    opacity: .45;
    pointer-events: none;
}

.pd-note-mcq.is-entering .pd-note-mcq__body {
    animation: pdNoteMcqEnter 320ms cubic-bezier(.2, .7, .2, 1);
}

@keyframes pdNoteMcqEnter {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: none; }
}

.pd-note-mcq .pd-mcq-question-list {
    gap: 18px;
}

.pd-note-mcq .pd-mcq-card {
    padding: clamp(17px, 3vw, 24px);
}

.pd-note-mcq__pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(107, 205, 211, .14);
}

.pd-note-mcq__pagination > span {
    color: var(--pd-muted);
    font-family: var(--pd-font-ui);
    font-size: .74rem;
    text-align: center;
}

.pd-note-mcq__pagination .pd-btn[disabled] {
    opacity: .38;
    cursor: not-allowed;
}

.pd-note-written__list {
    display: grid;
    gap: 10px;
}

.pd-note-written .pd-question-accordion {
    margin-top: 0;
}

.pd-note-written__question {
    color: var(--pd-ink);
    font-size: .89rem;
    font-weight: 700;
    line-height: 1.65;
}

.pd-note-written__meta {
    margin: 0 0 10px;
    color: var(--pd-muted);
    font-family: var(--pd-font-ui);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pd-note-written [data-note-answer-body] {
    will-change: height, opacity;
}

.pd-note-written .pd-question-accordion__toggle > [data-note-answer-label] {
    transform: none !important;
}

@media (max-width: 720px) {
    .pd-note-mcq,
    .pd-note-written {
        padding: 16px;
    }

    .pd-note-mcq__head {
        flex-direction: column;
        gap: 10px;
    }

    .pd-note-mcq__pagination {
        flex-wrap: wrap;
    }

    .pd-note-mcq__pagination > span {
        order: -1;
        width: 100%;
    }

    .pd-note-written .pd-question-accordion > summary {
        flex-direction: column;
        gap: 9px;
    }
}

@media (max-width: 860px) {
    .pd-note-practice__grid {
        grid-template-columns: 1fr;
    }

    .pd-note-practice__card {
        padding: 20px;
    }
}

.pd-content-question {
    margin: 0 0 1.25em;
    color: var(--pd-ink);
    font-size: clamp(1.15rem, 2.1vw, 1.38rem);
    font-weight: 700;
    line-height: 1.65;
}

.pd-mcq-options {
    display: grid;
    gap: 10px;
    margin: 1.4em 0 1.7em;
    padding: 0;
    list-style: none;
}

.pd-mcq-options li {
    padding: 13px 16px;
    border: 1px solid var(--pd-line);
    border-radius: 10px;
    color: var(--pd-text);
    background: rgba(5, 25, 43, .55);
    line-height: 1.6;
}

.pd-mcq-options li::marker {
    display: none;
}

.pd-mcq-options strong {
    color: #77e8e3;
}

.pd-content-explanation {
    margin-top: 1.7em;
    padding: 19px 20px;
    border: 1px solid rgba(74, 222, 218, .18);
    border-radius: 13px;
    background: rgba(5, 25, 43, .46);
}

.pd-content-explanation h2,
.pd-content-explanation h3 {
    margin-top: 0;
}

.pd-content-explanation > :last-child {
    margin-bottom: 0;
}

.pd-short-form {
    display: grid;
    gap: 5px;
    margin-bottom: 1.35em;
    padding: 20px;
    border: 1px solid rgba(255, 223, 0, .2);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 223, 0, .065), rgba(5, 25, 43, .55));
}

.pd-short-form strong {
    color: var(--pd-accent);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    letter-spacing: -.025em;
    line-height: 1.1;
}

.pd-short-form span {
    color: var(--pd-ink);
    font-size: 1.05rem;
    font-weight: 700;
}

.pd-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pd-tag {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 99px;
    color: var(--pd-text);
    background: rgba(8, 27, 47, .7);
    font-size: .76rem;
    text-decoration: none;
}

.pd-tag:hover {
    border-color: var(--pd-line-strong);
    color: #fff;
    background: var(--pd-brand-soft);
}

.pd-bookmark-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(74, 222, 218, .18);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(13, 45, 70, .78), rgba(5, 22, 38, .82));
}

.pd-bookmark-bar strong {
    display: block;
    color: var(--pd-ink);
    font-size: .98rem;
}

.pd-bookmark-bar p {
    margin: 4px 0 0;
    color: var(--pd-muted);
    font-size: .8rem;
}

.pd-bookmark-bar form {
    flex: 0 0 auto;
    margin: 0;
}

@media (max-width: 640px) {
    .pd-bookmark-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .pd-bookmark-bar .pd-btn {
        width: 100%;
        text-align: center;
    }

    .pd-content-explanation {
        padding: 16px;
    }
}

/* Content reading layout and SEO landing pages */
.pd-content-detail .pd-article-shell {
    width: min(100% - 32px, 1160px);
}

.pd-content-detail .pd-article-content {
    padding: clamp(26px, 4.2vw, 58px);
}

.pd-content-detail .pd-article-content img,
.pd-content-detail .note-content img {
    cursor: zoom-in;
}

.pd-content-eyebrow {
    margin: 0 0 8px;
    color: #72e8e1;
    font-family: var(--pd-font-ui);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* Topic cards: status and description only */
.pd-part-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.pd-part-card {
    position: relative;
    min-height: 215px;
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

a.pd-part-card:hover,
a.pd-part-card:focus-visible {
    border-color: rgba(74, 224, 220, .58);
    color: inherit;
    box-shadow: var(--pd-shadow-md);
    transform: translateY(-3px);
}

.pd-part-card--available {
    border-style: solid;
    border-color: rgba(74, 224, 220, .34);
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, .09), transparent 34%),
        linear-gradient(150deg, rgba(11, 39, 59, .94), rgba(6, 21, 38, .96));
}

.pd-part-card--paid {
    border-style: solid;
    border-color: rgba(255, 223, 0, .25);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 223, 0, .08), transparent 32%),
        linear-gradient(150deg, rgba(35, 33, 18, .72), rgba(7, 23, 39, .96));
}

.pd-part-card--outline {
    opacity: .9;
}

.pd-part-card__badge--available,
.pd-access-badge--available {
    border-color: rgba(40, 235, 217, .28);
    color: #8bf7f0;
    background: rgba(40, 235, 217, .09);
}

.pd-part-card__badge--paid,
.pd-access-badge--paid {
    border-color: rgba(255, 223, 0, .28);
    color: #f4df76;
    background: rgba(255, 223, 0, .08);
}

.pd-access-badge--outline {
    border-color: rgba(107, 205, 211, .18);
    color: #9eb5c2;
    background: rgba(8, 28, 46, .6);
}

.pd-part-card__badge {
    gap: 6px;
}

.pd-part-card__arrow {
    display: grid;
    width: 34px;
    height: 34px;
    margin-top: auto;
    align-self: flex-end;
    place-items: center;
    border: 1px solid rgba(107, 205, 211, .2);
    border-radius: 50%;
    color: var(--pd-accent);
    background: rgba(4, 20, 36, .55);
    font-family: var(--pd-font-ui);
    font-size: .92rem;
    transition: transform 180ms ease, border-color 180ms ease;
}

a.pd-part-card:hover .pd-part-card__arrow {
    border-color: rgba(74, 224, 220, .5);
    transform: translateX(3px);
}

.pd-topic-item__body {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.pd-topic-item__heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.pd-topic-item__meta {
    color: #7ee9e3;
    font-family: var(--pd-font-ui);
    font-size: .73rem;
    font-weight: 750;
}

.pd-access-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border: 1px solid var(--pd-line);
    border-radius: 99px;
    font-family: var(--pd-font-ui);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

.pd-topic-item--paid {
    border-color: rgba(255, 223, 0, .2);
}

.pd-learning-card--paid {
    border-color: rgba(255, 223, 0, .22);
}

.pd-learning-card--outline {
    border-color: rgba(107, 205, 211, .14);
}

.pd-learning-card__footer {
    justify-content: flex-end;
}

/* Pagination */
.pd-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid var(--pd-line);
    border-radius: 13px;
    color: var(--pd-muted);
    background: rgba(7, 25, 43, .72);
    font-size: .85rem;
}

.pd-pagination__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pd-pagination .pd-btn {
    min-height: 36px;
    padding: 7px 14px;
    font-size: .78rem;
}

/* Interactive question practice */
.pd-practice-stack {
    display: grid;
    gap: 14px;
}

.pd-practice-item {
    padding: 22px 24px;
    border: 1px solid var(--pd-line);
    border-radius: 15px;
    background: linear-gradient(150deg, rgba(9, 31, 51, .9), rgba(6, 22, 39, .95));
    box-shadow: var(--pd-shadow-sm);
}

.pd-practice-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 13px;
}

.pd-practice-item__type {
    display: inline-flex;
    padding: 4px 9px;
    border: 1px solid rgba(40, 235, 217, .2);
    border-radius: 99px;
    color: #86f5ef;
    background: rgba(40, 235, 217, .07);
    font-family: var(--pd-font-ui);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pd-practice-item__meta {
    color: var(--pd-muted);
    font-size: .78rem;
}

.pd-practice-item__question {
    margin: 0;
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 1.04rem;
    line-height: 1.65;
}

.pd-answer-check {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(107, 205, 211, .16);
    border-radius: 12px;
    background: rgba(3, 18, 33, .45);
}

.pd-answer-check > label {
    display: block;
    margin-bottom: 9px;
    color: #b9d1dc;
    font-size: .8rem;
    font-weight: 700;
}

.pd-answer-check__row {
    display: flex;
    gap: 10px;
}

.pd-answer-check__row input {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid rgba(107, 205, 211, .27);
    border-radius: 9px;
    color: var(--pd-ink);
    background: rgba(3, 14, 28, .82);
    outline: none;
}

.pd-answer-check__row input:focus {
    border-color: var(--pd-brand);
    box-shadow: 0 0 0 3px rgba(40, 235, 217, .1);
}

.pd-answer-check__hint {
    margin: 9px 0 0;
    color: var(--pd-muted);
    font-size: .74rem;
    line-height: 1.5;
}

.pd-answer-accordion,
.pd-question-accordion {
    margin-top: 16px;
    border: 1px solid rgba(107, 205, 211, .18);
    border-radius: 12px;
    background: rgba(4, 21, 37, .5);
    overflow: hidden;
}

.pd-answer-accordion > summary,
.pd-question-accordion > summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    color: #72e8e1;
    cursor: pointer;
    font-family: var(--pd-font-ui);
    font-size: .84rem;
    font-weight: 750;
    list-style: none;
}

.pd-answer-accordion > summary::-webkit-details-marker,
.pd-question-accordion > summary::-webkit-details-marker {
    display: none;
}

.pd-answer-accordion > summary::after {
    color: var(--pd-accent);
    content: "+";
    font-size: 1rem;
}

.pd-answer-accordion[open] > summary::after {
    content: "−";
}

.pd-answer-accordion__body,
.pd-question-accordion__body {
    padding: 0 17px 17px;
    color: var(--pd-text);
    border-top: 1px solid rgba(107, 205, 211, .13);
}

.pd-answer-accordion__body > :first-child,
.pd-question-accordion__body > :first-child {
    margin-top: 14px;
}

.pd-answer-accordion__body h2,
.pd-question-accordion__body h2 {
    margin: .8em 0 .4em;
    color: var(--pd-ink);
    font-size: 1.05rem;
}

.pd-question-accordion__question {
    color: var(--pd-ink);
    font-size: .97rem;
    line-height: 1.65;
}

.pd-question-accordion__toggle {
    flex: 0 0 auto;
    color: #72e8e1;
    font-size: .75rem;
    white-space: nowrap;
}

.pd-question-accordion__toggle > span {
    display: inline-block;
    margin-left: 4px;
    color: var(--pd-accent);
    font-size: .95rem;
    transition: transform 160ms ease;
}

.pd-question-accordion[open] .pd-question-accordion__toggle > span {
    transform: rotate(45deg);
}

.pd-question-accordion[open] > summary {
    border-bottom: 1px solid rgba(107, 205, 211, .13);
}

/* Image preview and zoom */
body.pd-lightbox-open {
    overflow: hidden;
}

.pd-lightbox {
    width: min(96vw, 1440px);
    max-width: none;
    height: min(92vh, 1000px);
    max-height: 92vh;
    padding: 0;
    border: 1px solid rgba(107, 205, 211, .3);
    border-radius: 16px;
    color: var(--pd-text);
    background: rgba(3, 9, 20, .98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
    overflow: hidden;
}

.pd-lightbox[open] {
    display: flex;
    flex-direction: column;
}

.pd-lightbox::backdrop {
    background: rgba(1, 5, 13, .86);
    backdrop-filter: blur(5px);
}

.pd-lightbox__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(107, 205, 211, .16);
    background: rgba(7, 22, 39, .96);
}

.pd-lightbox__title {
    min-width: 0;
    overflow: hidden;
    color: #d9edf2;
    font-family: var(--pd-font-ui);
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-lightbox__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.pd-lightbox__button {
    display: inline-grid;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    place-items: center;
    border: 1px solid rgba(107, 205, 211, .22);
    border-radius: 9px;
    color: #d9f7f5;
    background: rgba(8, 31, 51, .8);
    font-size: .82rem;
}

.pd-lightbox__button:hover {
    border-color: rgba(74, 224, 220, .55);
    color: #fff;
    background: rgba(12, 51, 68, .86);
}

.pd-lightbox__button--close {
    color: #fff;
    background: rgba(115, 38, 48, .62);
}

.pd-lightbox__stage {
    position: relative;
    min-height: 0;
    flex: 1;
    overflow: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .025) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, .025) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, .025) 75%);
    background-position: 0 0, 12px 12px;
    background-size: 24px 24px;
    scrollbar-color: rgba(107, 205, 211, .55) rgba(3, 9, 20, .75);
    scrollbar-width: thin;
}

.pd-lightbox__stage.is-zoomed {
    cursor: grab;
}

.pd-lightbox__stage.is-panning {
    cursor: grabbing;
    user-select: none;
}

.pd-lightbox__canvas {
    display: flex;
    width: max-content;
    min-width: 100%;
    min-height: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.pd-lightbox__image {
    display: block;
    width: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
}

@media (max-width: 900px) {
    .pd-content-detail .pd-article-shell {
        width: min(100% - 24px, 1160px);
    }

    .pd-pagination {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .pd-content-detail .pd-article-content {
        padding: 21px 17px 28px;
    }

    .pd-answer-check__row {
        flex-direction: column;
    }

    .pd-answer-check__row .pd-btn {
        width: 100%;
    }

    .pd-practice-item {
        padding: 18px 16px;
    }

    .pd-question-accordion > summary {
        flex-direction: column;
        gap: 8px;
    }

    .pd-lightbox {
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .pd-lightbox__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
}

.pd-page-hero--mcq {
    padding-bottom: 28px;
}

.pd-mcq-stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.pd-mcq-stepper li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7e98aa;
    font-family: var(--pd-font-ui);
    font-size: 0.8rem;
}

.pd-mcq-stepper li:not(:last-child)::after {
    width: 28px;
    height: 1px;
    margin-left: 4px;
    background: rgba(131, 169, 187, 0.28);
    content: "";
}

.pd-mcq-stepper li > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(122, 173, 187, 0.26);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.pd-mcq-stepper li.is-active { color: var(--pd-ink); }
.pd-mcq-stepper li.is-active > span { border-color: rgba(88, 233, 220, 0.62); color: #04151e; background: var(--pd-brand); box-shadow: 0 0 20px rgba(40, 235, 217, 0.24); }
.pd-mcq-stepper li.is-complete { color: #a8c8d2; }
.pd-mcq-stepper li.is-complete > span { border-color: rgba(255, 200, 61, 0.45); color: var(--pd-accent); background: rgba(255, 200, 61, 0.08); }

.pd-mcq-form { display: grid; gap: 22px; }
.pd-mcq-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.pd-mcq-department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 11px;
}

.pd-mcq-department-card,
.pd-mcq-topic-card,
.pd-mcq-all-toggle {
    position: relative;
    cursor: pointer;
}

.pd-mcq-department-card > input,
.pd-mcq-topic-card > input,
.pd-mcq-all-toggle > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pd-mcq-department-card {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(12, 38, 61, 0.9), rgba(6, 20, 37, 0.96));
    box-shadow: var(--pd-shadow-sm);
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.pd-mcq-department-card:hover {
    border-color: rgba(80, 222, 219, 0.48);
    transform: translateY(-2px);
}

.pd-mcq-department-card:has(input:focus-visible),
.pd-mcq-topic-card:has(input:focus-visible),
.pd-mcq-all-toggle:has(input:focus-visible) {
    outline: 3px solid var(--pd-accent);
    outline-offset: 3px;
}

.pd-mcq-department-card.is-selected {
    border-color: rgba(63, 235, 219, 0.78);
    background: linear-gradient(145deg, rgba(10, 60, 70, 0.96), rgba(6, 28, 44, 0.98));
    box-shadow: inset 0 0 0 1px rgba(63, 235, 219, 0.15), 0 14px 34px rgba(0, 0, 0, 0.3);
}

.pd-mcq-department-card__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(87, 208, 211, 0.22);
    border-radius: 10px;
    color: #67e8e1;
    background: rgba(24, 111, 121, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pd-mcq-department-card__icon svg {
    width: 21px;
    height: 21px;
}

.pd-mcq-department-card.is-selected .pd-mcq-department-card__icon {
    border-color: rgba(89, 238, 227, 0.5);
    color: #04171d;
    background: #54e7dd;
}

.pd-mcq-department-card__name {
    color: var(--pd-ink);
    font-family: var(--pd-font-ui);
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.4;
}

.pd-mcq-formbar {
    position: sticky;
    z-index: 8;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 17px;
    border: 1px solid rgba(84, 197, 203, 0.24);
    border-radius: 14px;
    background: rgba(4, 19, 34, 0.93);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.pd-mcq-formbar p { margin: 0; color: var(--pd-muted); font-size: 0.9rem; }
.pd-mcq-formbar p strong { color: var(--pd-ink); font-size: 1.05rem; }
.pd-mcq-formbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-btn--ghost { border: 1px solid transparent; color: #b8d4dc; background: transparent; }
.pd-btn--ghost:hover { border-color: rgba(104, 219, 216, 0.28); color: #fff; background: rgba(40, 235, 217, 0.06); }
.pd-btn:disabled,
.pd-btn[disabled] { cursor: not-allowed; box-shadow: none; filter: saturate(0.35); opacity: 0.45; transform: none; }

.pd-mcq-scope-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 15px 17px;
    border: 1px solid rgba(95, 194, 201, 0.18);
    border-radius: 13px;
    background: rgba(7, 28, 47, 0.55);
}

.pd-mcq-scope-summary__label {
    display: block;
    margin-bottom: 8px;
    color: #7f9fb0;
    font-family: var(--pd-font-ui);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-mcq-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-mcq-chips span {
    padding: 5px 10px;
    border: 1px solid rgba(255, 205, 76, 0.22);
    border-radius: 999px;
    color: #f1d987;
    background: rgba(255, 205, 76, 0.07);
    font-size: 0.76rem;
    font-weight: 700;
}

.pd-mcq-topic-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 22px;
    margin-bottom: 20px;
}

.pd-mcq-all-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 205, 76, 0.3);
    border-radius: 999px;
    color: #f6db8f;
    background: rgba(255, 205, 76, 0.07);
    font-family: var(--pd-font-ui);
    font-size: 0.82rem;
    font-weight: 800;
}

.pd-mcq-all-toggle::before {
    display: block;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 219, 124, 0.5);
    border-radius: 5px;
    background: rgba(3, 15, 28, 0.6);
    content: "";
}

.pd-mcq-all-toggle:has(input:checked) {
    border-color: rgba(255, 214, 92, 0.7);
    color: #04141c;
    background: #f0c84f;
}

.pd-mcq-all-toggle:has(input:checked)::before {
    border-color: #0c4a4b;
    background: #0c4a4b;
    box-shadow: inset 0 0 0 4px #f0c84f;
}

.pd-mcq-all-toggle:has(input:disabled) { cursor: not-allowed; opacity: 0.45; }

.pd-mcq-topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.pd-mcq-topic-card {
    display: flex;
    min-height: 58px;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--pd-line);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(10, 34, 56, 0.84), rgba(6, 21, 38, 0.94));
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.pd-mcq-topic-card:hover { border-color: rgba(83, 218, 215, 0.46); transform: translateY(-1px); }

.pd-mcq-topic-card.is-selected {
    border-color: rgba(66, 226, 215, 0.72);
    background: linear-gradient(145deg, rgba(10, 60, 71, 0.88), rgba(6, 27, 45, 0.96));
    box-shadow: inset 3px 0 0 #42e2d7;
}

.pd-mcq-topic-card__title { color: #edf8fc; font-family: var(--pd-font-ui); font-size: 0.94rem; font-weight: 800; line-height: 1.35; }

.pd-mcq-quiz-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
}

.pd-mcq-quiz-head h1 { margin: 0; }
.pd-mcq-quiz-head__set {
    margin: 7px 0 0;
    color: #91b2c1;
    font-family: var(--pd-font-ui);
    font-size: 0.86rem;
    letter-spacing: 0.01em;
}
.pd-mcq-quiz-head form { flex: 0 0 auto; }

.pd-mcq-runner { display: grid; gap: 22px; }

.pd-mcq-progress {
    display: grid;
    gap: 10px;
    padding: 15px 17px;
    border: 1px solid rgba(83, 193, 199, 0.2);
    border-radius: 13px;
    background: rgba(5, 23, 40, 0.62);
}

.pd-mcq-progress__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #9ab6c4;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
}

.pd-mcq-progress__copy strong { color: #d8eef2; font-size: 0.76rem; }
.pd-mcq-progress__track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(112, 165, 177, 0.14); }
.pd-mcq-progress__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #20b8b3, #54ebe0, #f0c84f); box-shadow: 0 0 14px rgba(84, 235, 224, 0.38); transition: width 260ms ease; }

.pd-mcq-question-list { display: grid; gap: 24px; }

.pd-mcq-card {
    position: relative;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid rgba(97, 204, 207, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, 0.07), transparent 33%),
        linear-gradient(150deg, rgba(11, 36, 59, 0.95), rgba(6, 20, 37, 0.98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.3);
    scroll-margin-top: 105px;
    animation: pdMcqCardIn 280ms ease both;
}

@keyframes pdMcqCardIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.pd-mcq-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin-bottom: 19px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(105, 181, 190, 0.14);
}

.pd-mcq-card__number {
    color: #f4d36e;
    font-family: var(--pd-font-ui);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-mcq-card__source { color: #82a9ba; font-size: 0.76rem; text-align: right; }

.pd-mcq-card__question {
    margin-bottom: 22px;
    color: #f4fbff;
    font-size: clamp(1.08rem, 2.2vw, 1.28rem);
    font-weight: 700;
    line-height: 1.65;
}

.pd-mcq-card__question > :first-child { margin-top: 0; }
.pd-mcq-card__question > :last-child { margin-bottom: 0; }
.pd-mcq-card__question img { display: block; margin-inline: auto; border-radius: 10px; }

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

.pd-mcq-answer {
    display: grid;
    min-height: 70px;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid rgba(105, 183, 193, 0.25);
    border-radius: 12px;
    color: #dbeaf1;
    background: rgba(5, 24, 42, 0.68);
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.pd-mcq-answer:hover:not(:disabled) {
    border-color: rgba(83, 228, 221, 0.64);
    background: rgba(13, 55, 70, 0.72);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.pd-mcq-answer:disabled { cursor: default; }
.pd-mcq-answer.is-pending { border-color: rgba(255, 210, 84, 0.5); animation: pdMcqPending 700ms ease-in-out infinite alternate; }

@keyframes pdMcqPending {
    from { box-shadow: 0 0 0 rgba(255, 210, 84, 0); }
    to { box-shadow: 0 0 24px rgba(255, 210, 84, 0.14); }
}

.pd-mcq-answer.is-locked:not(.is-correct):not(.is-wrong) { opacity: 0.46; }

.pd-mcq-answer.is-correct {
    border-color: rgba(85, 235, 150, 0.85);
    color: #eafff3;
    background: linear-gradient(145deg, rgba(19, 105, 66, 0.92), rgba(11, 75, 51, 0.96));
    box-shadow: inset 0 0 0 1px rgba(124, 252, 177, 0.12), 0 0 30px rgba(46, 214, 124, 0.16);
    animation: pdMcqCorrectPop 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pd-mcq-answer.is-wrong {
    border-color: rgba(255, 112, 126, 0.82);
    color: #fff0f1;
    background: linear-gradient(145deg, rgba(123, 37, 52, 0.94), rgba(85, 25, 40, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255, 150, 160, 0.1);
    animation: pdMcqWrongShake 400ms ease;
}

.pd-mcq-answer__key {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(131, 199, 203, 0.28);
    border-radius: 9px;
    color: #7de7e1;
    background: rgba(5, 20, 35, 0.55);
    font-family: var(--pd-font-ui);
    font-size: 0.8rem;
    font-weight: 900;
}

.pd-mcq-answer.is-correct .pd-mcq-answer__key { border-color: rgba(188, 255, 211, 0.46); color: #eafff3; background: rgba(7, 62, 40, 0.62); }
.pd-mcq-answer.is-wrong .pd-mcq-answer__key { border-color: rgba(255, 172, 181, 0.42); color: #fff0f1; background: rgba(66, 18, 30, 0.55); }
.pd-mcq-answer__text { min-width: 0; line-height: 1.5; }

.pd-mcq-answer__status {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    font-size: 0.82rem;
    font-weight: 900;
}

.pd-mcq-answer.is-correct .pd-mcq-answer__status { color: #032a18; background: #72f3ae; }
.pd-mcq-answer.is-wrong .pd-mcq-answer__status { color: #3b0710; background: #ff9da8; }

@keyframes pdMcqCorrectPop {
    0% { transform: scale(1); }
    35% { transform: scale(1.025); }
    65% { transform: scale(0.995); }
    100% { transform: scale(1); }
}

@keyframes pdMcqWrongShake {
    0%, 100% { transform: translateX(0); }
    24% { transform: translateX(-5px); }
    48% { transform: translateX(5px); }
    72% { transform: translateX(-3px); }
}

.pd-mcq-feedback {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(95, 193, 197, 0.18);
    border-radius: 13px;
    background: rgba(5, 22, 39, 0.66);
    animation: pdMcqFeedbackIn 220ms ease both;
}

.pd-mcq-feedback.is-correct { border-color: rgba(73, 218, 137, 0.34); background: rgba(9, 57, 39, 0.45); }
.pd-mcq-feedback.is-wrong { border-color: rgba(238, 107, 121, 0.32); background: rgba(71, 21, 31, 0.38); }

@keyframes pdMcqFeedbackIn {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: none; }
}

.pd-mcq-feedback__content { display: flex; gap: 12px; align-items: flex-start; }

.pd-mcq-feedback__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 900;
}

.pd-mcq-feedback.is-correct .pd-mcq-feedback__icon { color: #032818; background: #72f3ae; }
.pd-mcq-feedback.is-wrong .pd-mcq-feedback__icon { color: #3b0710; background: #ff9da8; }
.pd-mcq-feedback__copy { min-width: 0; flex: 1; }
.pd-mcq-feedback h3 { margin: 2px 0 5px; color: #f3fbff; font-family: var(--pd-font-ui); font-size: 1rem; }
.pd-mcq-feedback__body { color: #b8d0db; font-size: 0.88rem; }
.pd-mcq-feedback__body p { margin: 0; }

.pd-mcq-explanation {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(130, 183, 193, 0.16);
    color: #c1d7e1;
    font-size: 0.9rem;
    line-height: 1.65;
}

.pd-mcq-explanation > :first-child { margin-top: 0; }
.pd-mcq-explanation > :last-child { margin-bottom: 0; }
.pd-mcq-explanation img { display: block; margin: 12px auto; border-radius: 9px; }
.pd-mcq-explanation .pd-table-wrap { overflow-x: auto; }
.pd-mcq-explanation table { width: 100%; border-collapse: collapse; }
.pd-mcq-explanation th,
.pd-mcq-explanation td { padding: 7px 9px; border: 1px solid rgba(132, 187, 195, 0.22); }

.pd-mcq-next { margin-top: 14px; }
.pd-mcq-next[hidden] { display: none; }

.pd-mcq-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 8px;
    color: #89a9b8;
    font-family: var(--pd-font-ui);
    font-size: 0.78rem;
}

.pd-mcq-pagination > div { display: flex; gap: 9px; }

.pd-btn--finish {
    border-color: rgba(255, 219, 72, 0.36);
    color: #ffe889;
    background: rgba(255, 213, 54, 0.08);
}

.pd-btn--finish:hover {
    border-color: rgba(255, 226, 110, 0.72);
    color: #061921;
    background: #f5d65f;
}

.pd-mcq-scoreboard {
    position: sticky;
    z-index: 80;
    top: 78px;
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px 18px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(85, 223, 216, 0.32);
    border-radius: 14px;
    color: #dff8fa;
    background: rgba(4, 21, 37, 0.94);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-family: var(--pd-font-ui);
    pointer-events: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.pd-mcq-scoreboard__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.pd-mcq-scoreboard__top span { color: #8cabb9; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pd-mcq-scoreboard__top strong { color: #69eee3; font-size: 1.16rem; line-height: 1; }
.pd-mcq-scoreboard__track { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(117, 172, 181, 0.16); }
.pd-mcq-scoreboard__track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #23bdb7, #55eee2, #f0c84f); box-shadow: 0 0 13px rgba(84, 235, 224, 0.38); transition: width 260ms ease; }
.pd-mcq-scoreboard p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: #9dbac7; font-size: 0.73rem; line-height: 1.4; text-align: right; }
.pd-mcq-scoreboard p strong { color: #eefdff; font-size: 0.82rem; }
.pd-mcq-scoreboard p span { margin-inline: 2px; color: #708e9e; }

@media (min-width: 1500px) {
    .pd-mcq-scoreboard {
        position: fixed;
        right: max(20px, env(safe-area-inset-right));
        bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px));
        top: auto;
        display: block;
        width: 220px;
        margin: 0;
    }

    .pd-mcq-scoreboard__top { margin-bottom: 9px; }
    .pd-mcq-scoreboard p { margin: 9px 0 0; text-align: left; }
}

body.pd-mcq-modal-open { overflow: hidden; }

.pd-mcq-modal {
    position: fixed;
    z-index: 1500;
    inset: 0;
    display: grid;
    padding: 20px;
    place-items: center;
}

.pd-mcq-modal[hidden] { display: none; }

.pd-mcq-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 9, 19, 0.76);
    opacity: 0;
    transition: opacity 200ms ease;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

.pd-mcq-modal__panel {
    position: relative;
    width: min(510px, 100%);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: clamp(25px, 5vw, 38px);
    border: 1px solid rgba(86, 224, 216, 0.36);
    border-radius: 20px;
    color: #dbeef4;
    background:
        radial-gradient(circle at 100% 0%, rgba(40, 235, 217, 0.15), transparent 42%),
        linear-gradient(150deg, rgba(12, 42, 65, 0.99), rgba(4, 17, 32, 0.99));
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    outline: none;
    transform: translateY(22px) scale(0.965);
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pd-mcq-modal__panel--warning { border-color: rgba(255, 218, 80, 0.42); }
.pd-mcq-modal.is-open .pd-mcq-modal__backdrop { opacity: 1; }
.pd-mcq-modal.is-open .pd-mcq-modal__panel { opacity: 1; transform: none; }

.pd-mcq-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #69eee3;
    font-family: var(--pd-font-ui);
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-mcq-modal__eyebrow::before { width: 20px; height: 3px; border-radius: 99px; background: var(--pd-accent); content: ""; }
.pd-mcq-modal__panel--warning .pd-mcq-modal__eyebrow { color: #ffdf70; }
.pd-mcq-modal__panel h2 { margin: 0 0 12px; color: #f5fcff; font-family: var(--pd-font-display); font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.1; }
.pd-mcq-modal__panel p { margin: 0; color: #a9c2cd; font-size: 0.94rem; line-height: 1.65; }

.pd-mcq-modal__close {
    position: absolute;
    top: 13px;
    right: 13px;
    display: grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(135, 187, 197, 0.23);
    border-radius: 50%;
    color: #a9c3ce;
    background: rgba(4, 18, 34, 0.58);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.pd-mcq-modal__close:hover { border-color: rgba(91, 231, 221, 0.55); color: #fff; }

.pd-mcq-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 23px;
}

.pd-mcq-result-grid > div {
    padding: 15px 10px;
    border: 1px solid rgba(97, 193, 199, 0.18);
    border-radius: 12px;
    background: rgba(5, 24, 42, 0.62);
    text-align: center;
}

.pd-mcq-result-grid strong { display: block; color: #72eee5; font-family: var(--pd-font-ui); font-size: 1.35rem; line-height: 1.2; }
.pd-mcq-result-grid span { display: block; margin-top: 4px; color: #84a5b4; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase; }

.pd-mcq-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 26px;
}

.pd-mcq-modal__actions form { display: contents; }

.pd-mcq-modal__actions .pd-btn { flex: 1 1 160px; }

.pd-mcq-celebration {
    position: fixed;
    z-index: 1300;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.pd-mcq-celebration__balloon {
    position: absolute;
    bottom: -70px;
    width: 17px;
    height: 23px;
    border-radius: 50% 50% 45% 45%;
    background: hsl(var(--balloon-hue, 180) 86% 64%);
    box-shadow: inset -4px -5px 0 rgba(0, 0, 0, 0.13);
    animation: pdMcqBalloonRise 720ms ease-out forwards;
}

.pd-mcq-celebration__balloon::after {
    position: absolute;
    top: 22px;
    left: 8px;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    content: "";
}

.pd-mcq-celebration__firework {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff2a0;
    box-shadow: 0 0 18px 8px rgba(255, 220, 90, 0.52);
    animation: pdMcqFireworkPop 660ms ease-out forwards;
}

@keyframes pdMcqBalloonRise {
    to { transform: translateY(-58vh) rotate(8deg); opacity: 0; }
}

@keyframes pdMcqFireworkPop {
    0% { transform: scale(0.25); opacity: 1; }
    72% { transform: scale(1.8); opacity: 1; }
    100% { transform: scale(2.8); opacity: 0; }
}

@media (max-width: 760px) {
    .pd-mcq-quiz-head,
    .pd-mcq-topic-toolbar,
    .pd-mcq-formbar,
    .pd-mcq-pagination,
    .pd-mcq-scope-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .pd-mcq-all-toggle { width: fit-content; }
    .pd-mcq-formbar { position: static; }
    .pd-mcq-formbar .pd-btn,
    .pd-mcq-formbar__actions,
    .pd-mcq-formbar__actions .pd-btn { width: 100%; }
    .pd-mcq-formbar__actions { display: grid; grid-template-columns: 1fr; }
    .pd-mcq-answer-grid { grid-template-columns: 1fr; }
    .pd-mcq-card__source { width: 100%; text-align: left; }
    .pd-mcq-pagination > div { flex-wrap: wrap; }
    .pd-mcq-pagination .pd-btn { flex: 1 1 140px; }
    .pd-mcq-modal__actions { justify-content: stretch; }
    .pd-mcq-modal__actions .pd-btn { flex-basis: 100%; }
}

@media (max-width: 520px) {
    .pd-mcq-department-grid,
    .pd-mcq-topic-grid { grid-template-columns: 1fr; }
    .pd-mcq-department-card { min-height: 60px; padding: 14px 16px; }
    .pd-mcq-topic-card { min-height: 54px; }
    .pd-mcq-answer { grid-template-columns: 31px minmax(0, 1fr) 21px; padding: 11px 12px; }
    .pd-mcq-answer__key { width: 29px; height: 29px; }
    .pd-mcq-stepper { gap: 9px; }
    .pd-mcq-stepper li:not(:last-child)::after { width: 12px; }
    .pd-mcq-progress__copy { align-items: flex-start; flex-direction: column; gap: 4px; }
    .pd-mcq-scoreboard {
        top: 72px;
        width: 100%;
        padding: 12px 14px;
        gap: 6px 12px;
    }
    .pd-mcq-modal { padding: 13px; }
    .pd-mcq-modal__panel { padding: 25px 20px; border-radius: 16px; }
    .pd-mcq-result-grid { gap: 7px; }
    .pd-mcq-result-grid > div { padding: 12px 7px; }
    .pd-mcq-result-grid strong { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .pd-mcq-card,
    .pd-mcq-answer.is-correct,
    .pd-mcq-answer.is-wrong,
    .pd-mcq-feedback { animation: none !important; }
    .pd-mcq-celebration { display: none !important; }
    .pd-mcq-modal__backdrop,
    .pd-mcq-modal__panel,
    .pd-mcq-scoreboard__track span { transition: none !important; }
}

.pd-short-card {
    width: 100%;
    max-width: none;
}

.pd-short-prompt {
    display: grid;
    gap: 12px;
    margin: 5px 0 24px;
    padding: clamp(22px, 3.2vw, 34px);
    border: 1px solid rgba(84, 220, 215, 0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 15%, rgba(62, 229, 218, 0.12), transparent 58%),
        rgba(5, 24, 41, 0.58);
    text-align: left;
}

.pd-short-prompt__label {
    color: #8cabb9;
    font-family: var(--pd-font-ui);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pd-short-question {
    max-width: 980px;
    margin: 0;
    color: #f2fbff;
    font-family: var(--pd-font-display);
    font-size: clamp(1.55rem, 3.1vw, 2.45rem);
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.pd-short-question strong {
    margin-inline: 0.08em;
    color: #f4d36e;
    font-family: var(--pd-font-ui);
    font-size: 1.12em;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-shadow: 0 0 24px rgba(244, 211, 110, 0.12);
}

.pd-short-entry__row {
    display: grid;
    gap: 14px;
}

.pd-short-entry__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #dceff5;
    font-family: var(--pd-font-ui);
    font-size: 0.9rem;
    font-weight: 800;
}

.pd-short-entry__label span {
    color: #7f9ead;
    font-size: 0.76rem;
    font-weight: 500;
}

.pd-short-entry__input {
    width: 100%;
    min-width: 0;
    min-height: 96px;
    padding: 14px 16px;
    border: 1px solid rgba(111, 188, 197, 0.32);
    border-radius: 12px;
    color: #f3fbff;
    background: rgba(4, 21, 38, 0.86);
    font: inherit;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.pd-short-entry__input::placeholder { color: #7695a5; }
.pd-short-entry__input:focus { border-color: rgba(79, 232, 221, 0.72); outline: 0; box-shadow: 0 0 0 3px rgba(58, 218, 208, 0.13); }
.pd-short-entry__input:disabled { color: #f1fbff; opacity: 1; -webkit-text-fill-color: #f1fbff; }
.pd-short-entry__input.is-correct { border-color: rgba(88, 238, 152, 0.8); background: rgba(10, 72, 46, 0.58); box-shadow: inset 3px 0 0 #58ee98; }
.pd-short-entry__input.is-wrong { border-color: rgba(255, 122, 137, 0.78); background: rgba(78, 18, 31, 0.58); box-shadow: inset 3px 0 0 #ff7a89; }

.pd-short-entry__actions {
    display: flex;
    justify-content: center;
}

.pd-short-entry__actions .pd-btn {
    min-width: 190px;
    min-height: 52px;
}

.pd-short-expected {
    margin: 8px 0 0 !important;
    color: #9fc2ce;
    font-size: 0.9rem;
}

.pd-short-expected strong { color: #f5fbff; }

.pd-short-pagination__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.pd-short-pagination__actions .pd-btn.is-disabled {
    opacity: 0.42;
    pointer-events: none;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .pd-short-entry__label { align-items: flex-start; flex-direction: column; gap: 3px; }
    .pd-short-entry__actions .pd-btn { width: 100%; }
    .pd-short-pagination__actions { width: 100%; }
    .pd-short-pagination__actions .pd-btn { flex: 1 1 130px; }
}
