[hidden] {
    display: none !important;
}

body {
    --teacher-shadow: 0 24px 70px rgba(31, 52, 42, 0.09);
    color: var(--brown-dark);
    background:
        radial-gradient(circle at 82% 8%, rgba(214, 236, 120, 0.24), transparent 28rem),
        var(--parchment-accent);
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

.teacher-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 76px;
    padding: 14px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid rgba(23, 37, 31, 0.09);
    background: rgba(245, 244, 237, 0.88);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand,
.header-actions,
.user-badge {
    align-items: center;
    display: flex;
}

.brand {
    color: var(--brown-dark);
    gap: 14px;
    text-decoration: none;
}

.brand img {
    height: 38px;
    max-width: 126px;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 26px;
    background: var(--parchment-dark);
}

.brand-product {
    font-size: 15px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.header-actions {
    gap: 12px;
}

.header-link,
.quiet-button {
    border: 0;
    background: transparent;
    color: var(--brown-light);
    cursor: pointer;
    padding: 10px 12px;
    text-decoration: none;
}

.header-link:hover,
.quiet-button:hover {
    color: var(--green);
}

.user-badge {
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
}

.user-initial {
    align-items: center;
    background: var(--green);
    border-radius: 50%;
    color: white;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.preview-banner {
    background: var(--green);
    color: #30420a;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.04em;
    padding: 10px 24px;
    text-align: center;
}

main {
    margin: 0 auto;
    max-width: 1480px;
    padding: 0 clamp(20px, 5vw, 72px) 80px;
}

.dashboard-hero {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    min-height: 340px;
    padding: 60px 0 42px;
}

.eyebrow {
    color: var(--green);
    display: inline-block;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-hero h1,
.state-card h1 {
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: clamp(40px, 5.1vw, 72px);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.08;
    margin: 18px 0 22px;
    max-width: 900px;
}

.dashboard-hero p,
.state-card p {
    color: var(--brown-light);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    max-width: 680px;
}

.hero-orbit {
    aspect-ratio: 1;
    border: 1px solid rgba(20, 93, 67, 0.22);
    border-radius: 50%;
    position: relative;
}

.hero-orbit::after {
    background: var(--green);
    border-radius: 50%;
    content: "";
    inset: 27%;
    position: absolute;
}

.hero-orbit span {
    align-items: center;
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    border-radius: 50%;
    box-shadow: var(--teacher-shadow);
    display: flex;
    font-family: Georgia, serif;
    font-size: 18px;
    height: 48px;
    justify-content: center;
    position: absolute;
    width: 48px;
    z-index: 2;
}

.hero-orbit span:nth-child(1) { left: 8%; top: 10%; }
.hero-orbit span:nth-child(2) { right: -2%; top: 41%; }
.hero-orbit span:nth-child(3) { bottom: 2%; left: 20%; }

.metric-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 0.8fr 0.8fr 1.4fr;
    margin-bottom: 42px;
}

.metric-card {
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    border-radius: 18px;
    display: grid;
    min-height: 152px;
    padding: 24px;
}

.metric-card > span,
.metric-card small {
    color: var(--brown-light);
    font-size: 13px;
}

.metric-card strong {
    align-self: end;
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 48px;
    font-weight: 500;
}

.metric-primary {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

.metric-primary > span,
.metric-primary small {
    color: rgba(255, 255, 255, 0.72);
}

.metric-note {
    background: var(--parchment-accent);
}

.metric-note strong {
    font-family: inherit;
    font-size: 24px;
    font-weight: 800;
}

.workspace {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: 310px minmax(0, 1fr);
}

.course-rail,
.course-focus {
    min-width: 0;
}

.course-rail {
    position: sticky;
    top: 104px;
}

.section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-heading h2 {
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: 28px;
    font-weight: 500;
    margin: 7px 0 0;
}

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

.course-button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    display: grid;
    gap: 7px;
    padding: 17px 18px;
    text-align: left;
    transition: 150ms ease;
    width: 100%;
}

.course-button:hover {
    background: rgba(255, 254, 249, 0.7);
    border-color: var(--parchment-dark);
}

.course-button.active {
    background: var(--parchment);
    border-color: rgba(20, 93, 67, 0.2);
    box-shadow: 0 14px 40px rgba(31, 52, 42, 0.07);
}

.course-button strong {
    font-size: 15px;
    line-height: 1.45;
}

.course-button span {
    color: var(--brown-light);
    font-size: 12px;
}

.course-title-panel {
    align-items: center;
    background: var(--parchment);
    border: 1px solid var(--parchment-dark);
    border-radius: 24px;
    box-shadow: var(--teacher-shadow);
    display: flex;
    justify-content: space-between;
    min-height: 190px;
    padding: clamp(24px, 4vw, 44px);
}

.course-code {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.course-title-panel h2 {
    font-family: Georgia, "Noto Serif TC", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    margin: 11px 0 8px;
}

.course-english {
    color: var(--brown-light);
    margin: 0;
}

.enrollment-pill {
    align-items: center;
    aspect-ratio: 1;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 118px;
}

.enrollment-pill span {
    font-size: 11px;
    font-weight: 700;
}

.enrollment-pill strong {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
}

.next-move {
    padding: 44px 0 36px;
}

.section-heading.horizontal {
    align-items: center;
}

.keyword-pill {
    background: rgba(20, 93, 67, 0.08);
    border-radius: 999px;
    color: var(--green);
    font-size: 12px;
    font-weight: 750;
    padding: 9px 13px;
}
