.dct {
    --dct-ink: #142b2b;
    --dct-muted: #4c6462;
    --dct-line: #d7e5df;
    --dct-pale: #e9f3ed;
    --dct-accent: #096851;
    --dct-deep: #073d35;
    color: var(--dct-ink);
    font-family: "DM Sans", system-ui, sans-serif;
    line-height: 1.55;
    margin: 24px auto 48px;
    max-width: 1240px;
}
.dct *, .dct *::before, .dct *::after { box-sizing: border-box; }
.dct [hidden] { display: none !important; }
.dct h1, .dct h2, .dct h3 { line-height: 1.12; letter-spacing: -.035em; color: inherit; margin: 0 0 .5em; }
.dct h1 { font-size: clamp(2rem, 5.5vw, 4.5rem); }
.dct h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); }
.dct h3 { font-size: 1.35rem; }
.dct p { margin: 0 0 1em; }
.dct a { color: var(--dct-accent); text-underline-offset: .2em; }
.dct a:focus-visible, .dct button:focus-visible, .dct input:focus-visible, .dct textarea:focus-visible, .dct select:focus-visible { outline: 3px solid #a6530c; outline-offset: 3px; }
.dct .dct-hero { display: grid; grid-template-columns: 1fr .95fr; background: var(--dct-deep); color: #fff; border-radius: 28px; overflow: hidden; }
.dct .dct-hero-copy { padding: clamp(28px, 6vw, 76px); align-self: center; }
.dct .dct-hero img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.dct .dct-hero a { color: #fff; }
.dct .dct-kicker { font-size: .84rem; letter-spacing: .09em; font-weight: 750; text-transform: uppercase; margin-bottom: .65rem; }
.dct .dct-hero .dct-kicker, .dct-directory-header .dct-kicker { color: #b9e7cd; }
.dct .dct-button, .dct .dct-secondary, .dct #wp-submit {
    display: inline-flex; border-radius: 9px; padding: .7em 1.15em; font: inherit; font-weight: 700;
    align-items: center; cursor: pointer; text-decoration: none; border: 1px solid transparent;
}
.dct .dct-button, .dct #wp-submit { background: var(--dct-accent); color: #fff; }
.dct .dct-hero .dct-button { background: #d4f5b7; color: #163520; }
.dct .dct-secondary { background: #fff; border-color: var(--dct-accent); color: var(--dct-accent); }
.dct .dct-actions, .dct-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 14px 0; }
.dct .dct-section { padding: clamp(22px, 4vw, 48px); }
.dct .dct-accent { background: var(--dct-pale); border-radius: 22px; }
.dct .dct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin: 20px 0; }
.dct .dct-grid article { background: #fff; border: 1px solid var(--dct-line); border-radius: 16px; padding: 20px; box-shadow: 0 6px 20px #142b2b0a; overflow-wrap: anywhere; }
.dct .dct-grid article p:last-child { margin-bottom: 0; }
.dct-portal { max-width: 860px; }
.dct-portal form:not([data-dct-wizard]) { max-width: 480px; }
.dct .dct-trap { position: absolute; left: -10000px; }
.dct .dct-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 0; list-style: none; margin: 24px 0; }
.dct .dct-steps li { background: var(--dct-pale); border-radius: 8px; padding: 10px; font-weight: 650; }
.dct .dct-steps li[aria-current=step] { color: white; background: var(--dct-accent); }
.dct .dct-panel { min-width: 0; border: 1px solid var(--dct-line); border-radius: 15px; padding: clamp(14px, 3vw, 27px); margin: 18px 0; background: white; }
.dct .dct-panel > legend { padding: 0 8px; font-weight: 750; font-size: 1.15rem; }
.dct .dct-fields, .dct .dct-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.dct label { display: block; font-weight: 650; }
.dct input:not([type=checkbox]):not([type=submit]):not([type=hidden]), .dct textarea, .dct select {
    display: block; width: 100%; max-width: 100%; min-height: 42px; background: #f9fcfa; color: var(--dct-ink);
    border: 1px solid #a8bdb4; border-radius: 8px; padding: 8px 11px; font: inherit; margin: 4px 0 0;
}
.dct input[type=checkbox] { width: 1rem; height: 1rem; vertical-align: middle; accent-color: var(--dct-accent); }
.dct .dct-grades { min-width: 0; border: 1px solid var(--dct-line); border-radius: 10px; padding: 12px; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.dct .dct-consent { grid-column: 1 / -1; }
.dct .dct-status { color: #124f41; background: var(--dct-pale); border-radius: 8px; padding: 7px 11px; width: fit-content; }
.dct .dct-error { color: #9b2b1d; font-weight: 700; }
.dct .dct-history, .dct .dct-details div { background: #fff; padding: 12px 16px; border: 1px solid var(--dct-line); border-radius: 10px; margin: 14px 0; overflow-wrap: anywhere; }
.dct .dct-details dt { font-weight: 750; }
.dct .dct-details dd { margin: 0; }
.dct .dct-directory-header { padding: 25px 30px; border-radius: 16px; background: var(--dct-deep); color: white; margin-bottom: 20px; }
.dct .dct-directory-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.dct-filter { align-items: end; }
.dct .dct-card img { display: block; width: 70px; height: 70px; border-radius: 50%; object-fit: cover; float: right; margin: 0 0 10px 10px; background: var(--dct-pale); }
.dct .dct-card h2 { font-size: 1.4rem; }
@media (max-width: 700px) {
    .dct .dct-hero, .dct .dct-fields, .dct .dct-details { grid-template-columns: 1fr; }
    .dct .dct-hero img { min-height: 0; aspect-ratio: 16 / 9; }
    .dct .dct-steps { grid-template-columns: repeat(2, 1fr); }
}
.dct-site-page main { padding-inline: clamp(12px, 3vw, 36px); }
.dct-site-page main .wp-block-post-title { display: none; }
.dct-site-page main .wp-block-post-content { max-width: 1240px !important; }
.dct-site-page main .wp-block-post-content > .dct:not(.dct-portal) { max-width: 1240px !important; }
.dct-site-page main .wp-block-post-content > .dct-portal { max-width: 860px !important; }
