.kelas-page .eks-page {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
    max-width: 1024px;
    color: var(--kls-ink);
    font-family: Inter, system-ui, sans-serif;
}

.eks-page > * { min-width: 0; }

.eks-page h1, .eks-page h2, .eks-page h3 {
    margin: 0;
    color: var(--kls-navy);
    font-weight: 750;
    line-height: 1.2;
}

.eks-page h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.035em; }
.eks-page h2 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.eks-page h3 { font-size: 1.0625rem; }
.eks-page p { margin: .5rem 0 0; }

.eks-hero, .eks-panel, .eks-steps {
    min-width: 0;
    padding: clamp(1rem, 3vw, 1.5rem);
    border: 1px solid var(--kls-line);
    border-radius: var(--kls-radius);
    background: #fff;
    box-shadow: 0 2px 6px rgb(15 27 45 / 5%);
}

.eks-hero {
    padding: clamp(1.125rem, 4vw, 2.5rem);
    border-radius: 1rem;
}

.eks-event { color: var(--kls-blue); font-weight: 700; }
.eks-venue { max-width: 64ch; color: var(--kls-muted); font-size: .9375rem; }

.eks-steps {
    display: grid;
    gap: .625rem;
    margin: 0;
    padding: .75rem 1rem;
    list-style: none;
}

.eks-steps li, .eks-grid h3, .eks-receipt h2 {
    display: flex;
    align-items: center;
    gap: .625rem;
}

.eks-steps li { font-size: .9375rem; }
.eks-steps strong { color: var(--kls-navy); }

.eks-icon {
    display: inline-grid;
    flex: none;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    background: var(--kls-soft);
    color: var(--kls-blue);
}

.eks-steps .eks-icon { width: 32px; height: 32px; }

.eks-grid, .eks-fields { display: grid; gap: .75rem; }
.eks-grid { margin-top: .75rem; }
.eks-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.eks-grid article p { margin-bottom: .5rem; color: var(--kls-muted); }

.eks-grid a:not(.kls-btn) {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    min-height: 44px;
    color: var(--kls-blue);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.eks-grid a { margin-top: auto; }
.eks-actions { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1rem; }

.kelas-page .eks-page .kls-btn {
    min-height: 44px;
    max-width: 100%;
    padding: .625rem .875rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
}

.eks-page svg { flex: none; }
.eks-page .kls-btn svg, .eks-grid a svg { width: 20px; height: 20px; }

.eks-wa { background: #12733e; color: #fff; }
.eks-wa:hover { background: #0e5930; color: #fff; }
.eks-receipt { border-color: #86c59f; }
.eks-receipt h2 { overflow-wrap: anywhere; }
.eks-receipt .eks-icon { background: #eaf6ef; color: #12733e; }

.eks-form { display: grid; align-items: start; gap: 1rem; margin-top: 1rem; }
.eks-form button { justify-self: start; }
.eks-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.eks-field label, .eks-form legend { display: block; margin-bottom: .375rem; font-weight: 650; }

.eks-field input, .eks-field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: .55rem .7rem;
    border: 1px solid #74849c;
    border-radius: 8px;
    font: inherit;
    color: inherit;
    background: #fff;
}

.eks-field textarea { resize: vertical; }
.eks-choices { display: flex; flex-wrap: wrap; gap: .5rem; }

.eks-consent, .eks-choices label {
    display: flex;
    align-items: center;
    min-height: 44px;
    gap: .55rem;
    cursor: pointer;
}

.eks-choices label { border: 1px solid var(--kls-line); border-radius: 8px; padding: .45rem .65rem; }
.eks-choices label:has(:checked) { border-color: var(--kls-blue); background: var(--kls-soft); }

.eks-form input[type="checkbox"], .eks-form input[type="radio"] {
    flex: 0 0 1rem;
    width: 1rem;
    height: 1rem;
    accent-color: var(--kls-blue);
}

.kelas-page .eks-page :focus-visible { outline: 2px solid var(--kls-blue); outline-offset: 3px; }
.eks-error, .eks-alert { color: var(--kls-bad); }
.eks-alert { background: #fff1f2; border-radius: 8px; padding: .75rem; margin-top: .75rem; }
.eks-alert a { display: flex; width: fit-content; margin-top: .5rem; }
.eks-disclaimer { color: var(--kls-muted); font-size: .875rem; }
.eks-page #form, .eks-page #terima { scroll-margin-top: 6rem; }

@media (max-width: 479px) {
    .eks-hero .kls-btn { width: 100%; }
}

@media (min-width: 640px) {
    .eks-grid, .eks-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eks-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
