:root {
  --cdim-ink: #18272d;
  --cdim-ink-soft: #25383e;
  --cdim-brass: #a7773e;
  --cdim-brass-light: #d3ad78;
  --cdim-paper: #f6f5f1;
  --cdim-text: #26343a;
  --cdim-muted: #647177;
}
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
/* Fill short pages while keeping the footer in the document flow. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--cdim-text); background: #fff; font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body > header, body > .site-footer { flex-shrink: 0; }
#contenido-principal { flex: 1 0 auto; min-width: 0; }
a { color: var(--bs-link-color); }
a:hover { color: var(--bs-link-hover-color); }
a:focus-visible, button:focus-visible { outline: 3px solid #d6a45f; outline-offset: 3px; }
.site-container { max-width: 1180px; }
.certificate-heading { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1.25rem; }
.certificate-heading > div { min-width: 0; overflow-wrap: anywhere; }
.certificate-heading p { margin-bottom: 0; }
.certificate-download { display: inline-flex; flex-shrink: 0; align-items: center; gap: .45rem; margin-left: auto; padding: .55rem .8rem; color: #536168; background: #fff; border: 1px solid #dce1e2; border-radius: 6px; font-size: .85rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
.certificate-download:hover { color: var(--cdim-ink); background: #f6f7f7; border-color: #aeb9bd; }
.site-nav { min-height: 84px; padding: .65rem 0; background: rgba(255,255,255,.97); border-bottom: 1px solid #e9e8e3; }
.site-brand { display: inline-flex; align-items: center; padding: 0; }
.site-brand img, .footer-brand img { display: block; width: 118px; height: auto; }
.site-nav .nav-link { padding: .7rem .9rem; color: #35464b; font-size: .9rem; font-weight: 600; }
.site-nav .nav-link:hover { color: var(--cdim-brass); }
.site-nav-toggle { border-color: #d5d6d1; }
.btn-nav-contact { padding: .66rem 1.05rem; color: #fff; background: var(--cdim-ink); border: 1px solid var(--cdim-ink); border-radius: 2px; font-size: .88rem; font-weight: 650; }
.btn-nav-contact:hover { color: #fff; background: #31464d; }
.hero-section { position: relative; overflow: hidden; color: #fff; background: var(--cdim-ink); }
.hero-pattern { position: absolute; inset: 0 0 0 45%; opacity: .65; background: radial-gradient(ellipse at 80% 20%, rgba(167,119,62,.25), transparent 48%), linear-gradient(140deg, transparent 40%, rgba(255,255,255,.035) 40.1%, transparent 40.5%), linear-gradient(28deg, transparent 62%, rgba(255,255,255,.04) 62.1%, transparent 62.4%); }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; min-height: 535px; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.hero-copy { max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.2rem; color: var(--cdim-brass-light); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 28px; height: 2px; background: var(--cdim-brass-light); }
.hero-copy h1 { max-width: 700px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5.4vw, 5.15rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; }
.hero-lead { max-width: 520px; margin: 1.5rem 0 0; color: #d3dcde; font-size: clamp(1rem, 1.4vw, 1.13rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.btn-gold { padding: .9rem 1.2rem; color: var(--cdim-ink); background: var(--cdim-brass-light); border: 1px solid var(--cdim-brass-light); border-radius: 2px; font-size: .9rem; font-weight: 700; }
.btn-gold:hover { color: var(--cdim-ink); background: #e0c39a; border-color: #e0c39a; }
.icon-arrow-up-right { display: inline-block; width: 1em; height: 1em; flex: 0 0 1em; vertical-align: -.08em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M6 4h6v6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 12 12 4M6 4h6v6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-secondary-link { color: #edf1f1; font-size: .9rem; font-weight: 600; text-decoration: none; }
.hero-secondary-link:hover { color: var(--cdim-brass-light); }
.hero-quote { position: relative; max-width: 390px; justify-self: end; padding: 2rem 0 2rem 1.7rem; border-left: 1px solid rgba(211,173,120,.58); }
.quote-mark { height: 2.8rem; color: var(--cdim-brass-light); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.hero-quote blockquote { margin: .3rem 0 1.75rem; color: #f1f2ef; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.22rem, 1.8vw, 1.55rem); line-height: 1.5; }
.quote-attribution { display: flex; gap: .8rem; align-items: flex-start; }
.quote-rule { width: 18px; height: 1px; margin-top: .6rem; background: var(--cdim-brass-light); }
.quote-attribution strong, .quote-attribution span:not(.quote-rule) { display: block; }
.quote-attribution strong { color: #fff; font-size: .82rem; }
.quote-attribution div span { margin-top: .2rem; color: #bac5c7; font-size: .76rem; line-height: 1.5; }
.hero-bottom-line { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1.1fr 1fr 1fr; height: 4px; }
.hero-bottom-line span:nth-child(1) { background: var(--cdim-brass); }
.hero-bottom-line span:nth-child(2) { background: rgba(255,255,255,.18); }
.hero-bottom-line span:nth-child(3) { background: rgba(255,255,255,.07); }
.intro-section { padding: clamp(4rem, 8vw, 7rem) 0; background: #fff; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.eyebrow-dark { color: var(--cdim-brass); }
.intro-section h2, .section-heading h2, .contact-section h2 { margin: 0; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 3.7vw, 3.45rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.intro-copy { padding-top: .25rem; }
.intro-copy p { margin: 0 0 1.1rem; color: #59676c; font-size: 1rem; line-height: 1.8; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: .55rem; color: #805a31; font-size: .9rem; font-weight: 700; text-decoration: none; }
.text-link { margin-top: .5rem; }
.text-link:hover, .card-link:hover { color: #4d351e; text-decoration: underline; text-underline-offset: 4px; }
.services-section { padding: clamp(4rem, 7vw, 6.5rem) 0; background: var(--cdim-paper); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 650px; }
.section-heading > p { max-width: 340px; margin: 0 0 .3rem; color: #647177; font-size: .95rem; line-height: 1.7; }
.service-card { display: flex; flex-direction: column; height: 100%; min-height: 350px; padding: 2rem 1.75rem 1.65rem; background: #fff; border: 1px solid #e8e7e0; border-top: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-top-color: var(--cdim-brass); box-shadow: 0 14px 35px rgba(24,39,45,.08); }
.service-card-featured { border-top-color: var(--cdim-brass); }
.service-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.6rem; color: var(--cdim-brass); background: #f6f1e8; border-radius: 50%; }
.service-icon svg { width: 28px; height: 28px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.card-index { margin: 0 0 .7rem; color: #94734e; font-size: .66rem; font-weight: 750; letter-spacing: .12em; }
.service-card h3 { max-width: 310px; margin: 0 0 .8rem; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 400; line-height: 1.22; }
.service-card > p:not(.card-index) { margin: 0 0 1.5rem; color: #647177; font-size: .9rem; line-height: 1.7; }
.service-card .card-link { margin-top: auto; }
.contact-section { padding: clamp(3.3rem, 6vw, 5rem) 0; color: #fff; background: var(--cdim-ink-soft); }
.contact-inner { display: flex; justify-content: space-between; gap: 2.5rem; align-items: center; }
.contact-section h2 { max-width: 710px; color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); }
.btn-light-contact { flex: 0 0 auto; padding: .9rem 1.1rem; color: var(--cdim-ink); background: #fff; border: 1px solid #fff; border-radius: 2px; font-size: .87rem; font-weight: 700; }
.btn-light-contact:hover { color: #fff; background: transparent; }
.site-footer { padding: 2.2rem 0 1.1rem; background: #f9f9f6; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.2rem 2rem; align-items: center; padding-bottom: 1.8rem; }
.footer-main p { margin: 0 auto 0 0; color: #647177; font-size: .84rem; }
.footer-contact, .footer-bottom a { color: #59676c; font-size: .82rem; text-decoration: none; }
.footer-contact:hover, .footer-bottom a:hover { color: var(--cdim-brass); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: #7c8688; border-top: 1px solid #e7e7e1; font-size: .76rem; }
@media (max-width: 991.98px) {
  .hero-content { min-height: auto; grid-template-columns: 1fr; gap: 3.25rem; padding-top: 4.5rem; padding-bottom: 4.7rem; }
  .hero-quote { justify-self: start; max-width: 560px; }
  .site-nav .navbar-collapse { padding: .75rem 0 .5rem; }
  .site-nav .nav-link { padding-left: 0; }
  .btn-nav-contact { display: inline-block; margin-top: .35rem; }
}
@media (max-width: 767.98px) {
  .site-nav { min-height: 72px; }
  .site-brand img, .footer-brand img { width: 104px; }
  .hero-content { gap: 2.5rem; padding-top: 3.8rem; padding-bottom: 3.8rem; }
  .hero-copy h1 { font-size: clamp(2.65rem, 11vw, 4.4rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.15rem; }
  .hero-quote { padding-top: .5rem; padding-bottom: .5rem; }
  .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  .service-card { min-height: 320px; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main p { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--cdim-ink); }
.page-hero::after { position: absolute; top: -8rem; right: -3rem; width: 24rem; height: 24rem; border: 1px solid rgba(211,173,120,.2); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(211,173,120,.035), 0 0 0 6rem rgba(211,173,120,.025); content: ""; }
.page-hero-content { position: relative; z-index: 1; max-width: 1180px; padding-top: clamp(4.2rem, 8vw, 7.5rem); padding-bottom: clamp(4.2rem, 8vw, 7.5rem); }
.page-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 6vw, 5.25rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.page-hero-lead { max-width: 640px; margin: 1.35rem 0 0; color: #d3dcde; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.75; }
.page-hero .btn { margin-top: 1.8rem; }
.page-section { padding: clamp(3.7rem, 7vw, 6rem) 0; }
.page-section-paper { background: var(--cdim-paper); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.mission-grid h2, .course-intro h2, .course-cta h2 { max-width: 600px; margin: 0; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 3.5vw, 3.2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.15; }
.page-copy { color: #59676c; font-size: 1rem; line-height: 1.85; }
.page-copy p { margin: 0 0 1rem; }
.values-section { background: #fff; }
.value-card { height: 100%; min-height: 190px; padding: 1.5rem; background: #fbfaf7; border: 1px solid #e8e7e0; }
.value-card > span { color: var(--cdim-brass); font-size: .68rem; font-weight: 750; letter-spacing: .12em; }
.value-card h3 { margin: 1.1rem 0 .55rem; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.value-card p { margin: 0; color: #647177; font-size: .88rem; line-height: 1.7; }
.service-detail { display: grid; grid-template-columns: 54px minmax(0, 1fr) minmax(240px, .8fr); gap: 1.5rem; align-items: start; padding: 2.7rem 0; border-bottom: 1px solid #e4e5e1; }
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; }
.service-detail-index { margin: .15rem 0 0; color: var(--cdim-brass); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.service-detail .eyebrow { margin-bottom: .65rem; }
.service-detail h2 { max-width: 520px; margin: 0; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.65rem, 2.7vw, 2.45rem); font-weight: 400; line-height: 1.2; }
.service-detail .page-copy { padding-top: 1.8rem; font-size: .94rem; }
.service-list { margin: 0; padding-left: 1.2rem; }
.service-list li { padding: .25rem 0; }
.course-intro { max-width: 1180px; }
.course-intro h2 { max-width: 760px; }
.course-intro > .page-copy { max-width: 700px; margin-top: 1.2rem; }
.course-cta { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 2rem; align-items: center; }
.course-cta h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.course-cta > .page-copy { max-width: 360px; margin: 0; font-size: .94rem; }
.course-cta .btn { white-space: nowrap; }
@media (max-width: 767.98px) {
  .page-hero::after { top: auto; right: -9rem; bottom: -12rem; width: 19rem; height: 19rem; }
  .mission-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .service-detail { grid-template-columns: 38px 1fr; gap: .8rem 1rem; }
  .service-detail .page-copy { grid-column: 2; padding-top: 0; }
  .course-cta { grid-template-columns: 1fr; gap: 1.2rem; }
  .course-cta .btn { justify-self: start; }
}

/* Account entry pages: the same ink, brass and paper as the public site. */
.account-section { padding: clamp(2rem, 5vw, 4.5rem) 0 2rem; background: var(--cdim-paper); }
.account-shell { display: grid; grid-template-columns: .95fr 1.05fr; max-width: 1040px; margin: 0 auto; border: 1px solid #dedfd9; border-radius: 4px; overflow: hidden; box-shadow: 0 16px 45px rgba(24,39,45,.055); }
.account-intro { position: relative; display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.5rem); color: #fff; background: radial-gradient(ellipse at 0 100%, rgba(167,119,62,.15), transparent 65%), var(--cdim-ink); border-top: 3px solid var(--cdim-brass-light); }
.account-intro .eyebrow { margin-bottom: 2rem; }
.account-intro h2 { max-width: 350px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; }
.account-intro-copy { max-width: 340px; margin: 1.3rem 0 0; color: #d3dcde; font-size: .95rem; line-height: 1.8; }
.account-intro-note { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(211,173,120,.3); }
.account-note-icon { display: grid; flex-shrink: 0; place-items: center; width: 38px; height: 38px; color: var(--cdim-brass-light); border: 1px solid rgba(211,173,120,.3); border-radius: 50%; }
.account-note-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.account-intro-note strong, .account-steps strong { font-size: .87rem; font-weight: 600; }
.account-intro-note p, .account-steps p { margin: .4rem 0 0; color: #bac5c7; font-size: .84rem; line-height: 1.7; }
.account-intro-link { align-self: flex-start; margin-top: auto; padding-top: 2rem; color: var(--cdim-brass-light); font-size: .86rem; font-weight: 600; text-decoration: none; }
.account-intro-link:hover { color: #e0c39a; text-decoration: underline; text-underline-offset: 4px; }
.account-card { min-width: 0; padding: clamp(2rem, 4vw, 3.5rem); background: #fff; }
.account-kicker { margin: 0 0 .75rem; color: #805a31; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.account-card-heading h1 { margin: 0; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; }
.account-card-heading > p:last-child { margin: 1rem 0 0; color: var(--cdim-muted); font-size: .92rem; line-height: 1.7; }
.account-form { margin-top: 1.8rem; }
.account-field { margin-bottom: 1.35rem; }
.account-form .form-label { margin-bottom: .5rem; color: var(--cdim-ink); font-size: .86rem; font-weight: 600; }
.account-form .form-control { min-height: 48px; padding: .75rem .9rem; border-color: #c8ceca; border-radius: 3px; font-size: .94rem; }
.account-form .form-control::placeholder { color: #647177; opacity: 1; }
.account-form .form-control:focus { border-color: var(--cdim-brass); }
.account-field-help { margin: .55rem 0 0; color: var(--cdim-muted); font-size: .79rem; line-height: 1.6; }
.account-turnstile { min-height: 65px; margin-bottom: 1.35rem; }
.account-submit { display: flex; align-items: center; justify-content: center; gap: .85rem; width: 100%; min-height: 48px; padding: .8rem 1rem; border-radius: 3px; font-size: .88rem; }
.account-password { margin-top: 1.7rem; border-top: 1px solid #e8e7e0; }
.account-password summary { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: 1.15rem 0 .25rem; color: var(--cdim-text); font-size: .81rem; font-weight: 600; cursor: pointer; list-style: none; }
.account-password summary::-webkit-details-marker { display: none; }
.account-password summary > span { color: #805a31; font-size: 1.25rem; line-height: 1; }
.account-password[open] summary > span { transform: rotate(45deg); }
.account-password summary:focus-visible { outline: 3px solid var(--cdim-brass-light); outline-offset: 4px; }
.account-password-content > p { margin-bottom: 1rem; }
.account-card-footer { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid #e8e7e0; font-size: .85rem; }
.account-card-footer p { margin: 0 0 .35rem; color: var(--cdim-muted); }
.account-card-footer a { font-weight: 600; text-decoration: none; }
.account-card-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-signup-invite p { font-size: 1.1rem; line-height: 1.5; margin-bottom: .45rem; }
.account-signup-invite a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.account-name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.account-name-fields > * { min-width: 0; }
.account-steps { display: grid; gap: 1.5rem; margin: 2rem 0 0; padding: 1.8rem 0 0; border-top: 1px solid rgba(211,173,120,.3); list-style: none; }
.account-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.account-steps li > span { padding-top: .1rem; color: var(--cdim-brass-light); font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.account-privacy-note { margin: 1rem 0 0; color: var(--cdim-muted); font-size: .76rem; line-height: 1.7; }
.account-validation.validation-summary-valid, .account-field-error.field-validation-valid { display: none; }
.account-validation.validation-summary-errors { margin-bottom: 1.3rem; padding: 1rem; color: var(--bs-danger-text-emphasis); background: var(--bs-danger-bg-subtle); border: 1px solid var(--bs-danger-border-subtle); border-radius: 3px; font-size: .85rem; line-height: 1.6; }
.account-validation ul { margin: 0; padding-left: 1.1rem; }
.account-field-error.field-validation-error { display: block; margin-top: .45rem; color: var(--bs-danger); font-size: .8rem; }
.account-form .input-validation-error { border-color: var(--bs-danger); }
.account-form .account-pin-input { min-height: 68px; padding: .8rem .5rem; color: var(--cdim-ink); background: #fbfaf7; font-family: Consolas, "Courier New", monospace; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; letter-spacing: .3em; text-indent: .3em; text-align: center; }
.account-form .account-pin-input::placeholder { color: #929b9e; font-weight: 400; }
.account-pin-validity { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.35rem; color: var(--cdim-muted); font-size: .76rem; line-height: 1.6; }
.account-pin-validity > span { color: var(--cdim-brass); font-size: 1.15rem; }
@media (max-width: 767.98px) { .account-verification .account-intro { display: none; } }
.account-bottom-note { margin: 1.5rem 0 0; color: var(--cdim-muted); text-align: center; font-size: .73rem; line-height: 1.6; }
@media (max-width: 991.98px) {
  .account-shell { grid-template-columns: .9fr 1.1fr; }
  .account-card, .account-intro { padding: 2rem; }
  .account-name-fields { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 767.98px) {
  .account-shell { grid-template-columns: 1fr; max-width: 540px; }
  .account-intro { padding: 1.8rem; }
  .account-intro .eyebrow { margin-bottom: 1rem; }
  .account-intro h2 { max-width: 100%; font-size: 2rem; }
  .account-intro-copy { max-width: 100%; margin-top: .8rem; font-size: .88rem; }
  .account-intro-note, .account-steps, .account-intro-link { display: none; }
  .account-card { padding: 1.8rem; }
}
@media (max-width: 375px) { .account-card, .account-intro { padding: 1.4rem; } }

/* Optional course media retain their complete image and adapt to available assets. */
.course-media { display: grid; gap: 1.5rem; align-items: center; margin: 1.5rem 0 2.5rem; }
.course-media-both { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-media-single { max-width: 960px; margin-inline: auto; }
.course-media-image { margin: 0; min-width: 0; }
.course-media-image img { display: block; width: 100%; max-height: 620px; object-fit: contain; border-radius: 12px; }
.course-media-both .course-media-image img { aspect-ratio: 16 / 9; height: auto; max-height: none; }
.course-media-video { min-width: 0; aspect-ratio: 16 / 9; background: #101b28; border-radius: 12px; overflow: hidden; }
.course-media-video video, .course-media-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.course-editor-image { display: block; width: 100%; max-height: 280px; object-fit: contain; border-radius: 8px; }
.course-card-image { width: 100%; height: 210px; object-fit: contain; border-radius: 8px; margin-bottom: 1rem; background: #f4f6f8; }
@media (max-width: 767.98px) { .course-media-both { grid-template-columns: minmax(0, 1fr); } }

/* Course descriptions preserve plain-text line breaks without rendering HTML. */
.training-text { white-space: pre-wrap; overflow-wrap: anywhere; }


.editorial-body { max-width: 78ch; line-height: 1.8; }

/* Signed-in account overview. */
.dashboard-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.dashboard-section { padding: clamp(2rem, 4vw, 3.5rem) 0 3.5rem; background: var(--cdim-paper); }
.dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.dashboard-heading h1 { margin: 0; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; }
.dashboard-heading > div > p:last-child { margin: .8rem 0 0; color: var(--cdim-muted); font-size: .95rem; line-height: 1.7; }
.dashboard-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 2rem; }
.dashboard-sidebar { background: #fff; border: 1px solid #e1e2dc; border-radius: 4px; overflow: hidden; }
.dashboard-profile { padding: 1.6rem 1.4rem 1.5rem; border-bottom: 1px solid #e8e7e0; }
.dashboard-avatar { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; color: var(--cdim-ink); background: var(--cdim-paper); border: 1px solid #e8e7e0; border-radius: 50%; }
.dashboard-section svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.dashboard-profile > strong { display: block; color: var(--cdim-ink); font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.dashboard-profile > p { margin: .3rem 0 .85rem; color: var(--cdim-muted); font-size: .76rem; line-height: 1.6; overflow-wrap: anywhere; }
.dashboard-role { display: inline-block; margin-top: .25rem; padding: .25rem .55rem; color: #805a31; background: #f6f1e8; border: 1px solid #e9dcc9; border-radius: 3px; font-size: .68rem; font-weight: 600; }
.dashboard-nav { display: grid; gap: .2rem; padding: 1.1rem .65rem; }
.dashboard-nav-label { margin: .1rem .75rem .6rem; color: var(--cdim-muted); font-size: .63rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-nav-group { margin-top: 1rem; }
.dashboard-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .75rem; color: #526066; font-size: .8rem; font-weight: 500; line-height: 1.5; text-decoration: none; border-left: 2px solid transparent; border-radius: 2px; }
.dashboard-nav a:hover { color: var(--cdim-ink); background: #f6f5f1; }
.dashboard-nav a.dashboard-nav-active { color: var(--cdim-ink); background: #f6f1e8; border-left-color: var(--cdim-brass); font-weight: 650; }
.dashboard-nav svg { width: 18px; height: 18px; }
.dashboard-session { padding: 1rem 1.4rem; border-top: 1px solid #e8e7e0; }
.dashboard-session button { display: flex; gap: .7rem; align-items: center; padding: .4rem 0; color: #647177; background: transparent; border: 0; font: inherit; font-size: .8rem; font-weight: 600; }
.dashboard-session button:hover { color: var(--cdim-ink); }
.dashboard-session svg { width: 18px; height: 18px; }
.dashboard-content { min-width: 0; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .8rem; margin: 0 0 1.5rem; }
.dashboard-metric { position: relative; min-width: 0; padding: 1.2rem; background: #fff; border: 1px solid #e1e2dc; border-top: 2px solid var(--cdim-brass); border-radius: 4px; }
.dashboard-metric dt a { color: inherit; text-decoration: none; }
.dashboard-metric dt a::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.dashboard-metric:hover { border-color: var(--cdim-brass); box-shadow: 0 3px 10px #1e292e18; }
.dashboard-metric:hover dt a { text-decoration: underline; text-underline-offset: 3px; }
.dashboard-metric:focus-within { outline: 2px solid var(--cdim-brass); outline-offset: 3px; }
.dashboard-metric dt a:focus-visible { outline: none; }
.dashboard-metric dt { color: var(--cdim-muted); font-size: .78rem; font-weight: 600; }
.dashboard-metric dd { margin: .65rem 0 .4rem; color: var(--cdim-ink); font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.dashboard-metric span { display: block; margin-top: .65rem; color: var(--cdim-muted); font-size: .72rem; line-height: 1.5; }
.dashboard-metric-emphasis { background: var(--cdim-ink); }
.dashboard-metric-emphasis dt, .dashboard-metric-emphasis span { color: #d3dcde; }
.dashboard-metric-emphasis dd { color: #fff; }
.dashboard-task-metrics .dashboard-metric { display: grid; grid-template-rows: 1fr auto; }
.dashboard-task-metrics .dashboard-metric dt { font-size: .875rem; line-height: 1.4; }
.dashboard-panel { margin-bottom: 1.25rem; padding: 1.4rem; background: #fff; border: 1px solid #e1e2dc; border-radius: 4px; }
.dashboard-panel > h2 { font-size: 1.05rem; }
.dashboard-panel a { color: #805a31; font-size: .78rem; font-weight: 600; text-underline-offset: 3px; }
.dashboard-panel-note, .dashboard-empty { margin: 0; color: var(--cdim-muted); font-size: .81rem; line-height: 1.7; }
.dashboard-records { list-style: none; margin: 0; padding: 0; }
.dashboard-records li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #eeeee8; }
.dashboard-records li:last-child { border-bottom: 0; }
.dashboard-records li > div { min-width: 0; overflow-wrap: anywhere; }
.dashboard-records strong { color: var(--cdim-ink); font-size: .88rem; font-weight: 650; }
.dashboard-records p { margin: .3rem 0 0; color: var(--cdim-muted); font-size: .76rem; line-height: 1.6; }
.dashboard-records a { flex-shrink: 0; }
.dashboard-status { display: inline-block; margin-top: .4rem; padding: .25rem .55rem; border-radius: 3px; background: #f6f1e8; color: #805a31; font-size: .7rem; }
@media (max-width: 575.98px) {
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-metric { padding: 1rem; }
  .dashboard-panel { padding: 1.1rem; }
  .dashboard-records li { flex-wrap: wrap; gap: .6rem; }
}
.dashboard-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem 1rem; margin-bottom: 1rem; }
.dashboard-section-heading h2 { margin: 0; color: var(--cdim-ink); font-size: 1.05rem; font-weight: 650; }
.dashboard-section-heading p { margin: 0; color: var(--cdim-muted); font-size: .78rem; }
.dashboard-help { margin: 1.4rem 0 0; color: var(--cdim-muted); font-size: .76rem; line-height: 1.8; }
.dashboard-help a { font-weight: 600; text-decoration: none; }
.dashboard-help a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991.98px) {
  .dashboard-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 1.3rem; }
}
@media (max-width: 767.98px) {
  .dashboard-heading { align-items: flex-start; flex-direction: column; margin-bottom: 1.5rem; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-profile { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: .2rem 1rem; padding: 1.2rem; }
  .dashboard-avatar { grid-row: span 3; margin-bottom: 0; }
  .dashboard-profile > p { margin: 0; }
  .dashboard-role { justify-self: start; }
  .dashboard-nav { display: flex; flex-wrap: wrap; padding: .9rem .7rem; gap: .3rem; }
  .dashboard-nav-label { width: 100%; }
  .dashboard-nav a { padding: .65rem .6rem; }
  .dashboard-session { padding: .8rem 1.2rem; }
  .dashboard-section-heading { flex-direction: column; align-items: flex-start; gap: .35rem; }
}
/* Password settings reuse the signed-in shell and account form controls. */
.account-security-panel { max-width: 760px; padding: clamp(1.2rem, 3vw, 2rem); }
.account-security-panel .dashboard-section-heading { flex-direction: row; align-items: center; }
.account-security-panel .dashboard-section-heading > svg { color: var(--cdim-brass); }
.account-security-form { max-width: 520px; }

/* Administration shares the account dashboard shell and navigation. */
.administration-section > .site-container > .account-kicker { margin-bottom: 1.5rem; }
.administration-panel { padding: clamp(1.2rem, 2.5vw, 2rem); background: #fff; border: 1px solid #e1e2dc; border-radius: 4px; }
.administration-panel h1 { margin-bottom: 1rem; color: var(--cdim-ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
.administration-panel h2 { color: var(--cdim-ink); font-size: 1.25rem; }
.administration-panel .form-label { color: var(--cdim-ink); font-size: .85rem; font-weight: 600; }
.administration-panel .table { font-size: .85rem; }
.administration-panel .table th { color: var(--cdim-muted); background: var(--cdim-paper); font-size: .75rem; font-weight: 650; }
.administration-panel .table > :not(caption) > * > * { padding: .9rem .75rem; border-bottom-color: #e8e7e0; }
.administration-panel .table td { overflow-wrap: anywhere; }
.administration-panel .table .course-status-column { min-width: 6.5rem; white-space: nowrap; overflow-wrap: normal; }
.administration-panel .table .enrollment-status-column { width: 1%; min-width: 8rem; white-space: nowrap; overflow-wrap: normal; }
.course-list-scroll { position: relative; }
.course-tools { display: grid; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid #e8e7e0; }
.course-search { display: flex; gap: .5rem; }
.course-search-field { position: relative; flex: 1; min-width: 0; }
.course-search-field svg { position: absolute; top: 50%; left: .9rem; width: 1.1rem; height: 1.1rem; transform: translateY(-50%); color: var(--cdim-muted); pointer-events: none; }
.course-search-field .form-control { padding-left: 2.5rem; }
.course-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.course-filter { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.25rem; padding: .4rem .85rem; border: 1px solid #e1e2dc; border-radius: 999px; color: #536269; background: #fff; font-size: .78rem; font-weight: 500; line-height: 1.3; text-decoration: none; }
.course-filter:hover { color: var(--cdim-ink); border-color: #b9c3bf; background: #f8f9f6; }
.course-filter.is-active { color: #253f36; border-color: #b5c8ba; background: #edf3ed; box-shadow: inset 0 0 0 1px #b5c8ba; }
.course-filter-dot { width: .4rem; height: .4rem; flex: 0 0 auto; border-radius: 50%; background: #637e69; }
.enrollment-filters { align-items: center; }
.enrollment-filters .course-filter:focus-visible { outline: 2px solid var(--cdim-brass); outline-offset: 3px; }
.course-results-summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin: 1rem 0 .85rem; color: var(--cdim-muted); font-size: .78rem; }
.course-results-summary p { margin: 0; overflow-wrap: anywhere; }
.course-results-summary strong { color: var(--cdim-ink); font-weight: 600; }
.course-clear-filters { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem 0; color: var(--cdim-muted); text-underline-offset: .2em; }
.course-clear-filters:hover { color: var(--cdim-ink); }
.course-empty { padding: 2.5rem 1rem; text-align: center; border: 1px dashed #dedfd7; border-radius: 4px; background: #fafaf8; }
.administration-panel .course-empty h2 { margin-bottom: .5rem; font-size: 1rem; }
.course-empty p { margin-bottom: .6rem; color: var(--cdim-muted); font-size: .85rem; }
.course-empty a { font-size: .85rem; text-underline-offset: .2em; }
.administration-panel .course-list-table { min-width: 40rem; }
.administration-panel .student-directory-table { min-width: 34rem; }
.administration-panel .table .btn { white-space: normal; }
.administration-panel .course-list-table th:last-child,
.administration-panel .course-list-table td:last-child { width: 1%; white-space: nowrap; overflow-wrap: normal; }
.administration-panel .course-list-table .btn { display: inline-flex; align-items: center; justify-content: center; width: 6.5rem; min-height: 2rem; white-space: nowrap; overflow-wrap: normal; }
.course-list-table .course-enroll-action { font-weight: 600; }
.course-list-table .course-enroll-action:disabled { color: #717976; background: #f1f2ef; border-color: #e1e4dd; opacity: 1; }
/* Scheduling is the primary task; the reusable course record stays available below. */
.course-back-link { display: inline-block; margin-bottom: 1.25rem; font-size: .8rem; }
.course-next-step { margin-bottom: 1.5rem; padding: 1.25rem; border: 1px solid #e5dccd; border-left: 3px solid #a7773e; border-radius: .5rem; background: #faf8f3; }
.course-next-step h2 { margin-bottom: .65rem; font-family: inherit; font-size: 1.05rem; font-weight: 600; }
.course-next-step p, .course-next-step li { font-size: .85rem; line-height: 1.65; }
.course-next-step ul { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; padding-left: 1.1rem; margin-bottom: 1rem; }
.course-next-step .btn { font-size: .8rem; }
.course-add-date { display: inline-block; margin-top: .85rem; font-size: .8rem; }
.course-record :is(input, textarea, fieldset) { scroll-margin-top: 2rem; }
.course-management-header { margin-bottom: 1.8rem; }
.course-management-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .7rem; color: var(--cdim-muted); font-size: .75rem; }
.administration-panel .course-management-header h1 { max-width: 34ch; font-family: inherit; font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.course-management-header > a { font-size: .8rem; }
.course-schedule { padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid #dedfd7; border-top: 3px solid var(--cdim-brass); border-radius: 4px; background: #fafaf7; }
.course-schedule-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.course-schedule-heading h2 { margin-bottom: .4rem; font-size: 1.45rem; }
.course-schedule-heading p { max-width: 42ch; margin: 0; color: var(--cdim-muted); font-size: .85rem; line-height: 1.6; }
.course-schedule-heading > .btn { display: inline-flex; align-items: center; gap: 1.1rem; white-space: nowrap; }
.course-schedule-empty { padding: 1.5rem; border: 1px dashed #cfd3cb; border-radius: 3px; background: #fff; }
.course-schedule-empty h3 { margin-bottom: .5rem; font-size: 1rem; }
.course-schedule-empty p { max-width: 60ch; margin: 0; font-size: .85rem; color: var(--cdim-muted); line-height: 1.7; }
.course-schedule-list { display: grid; gap: .8rem; }
.course-schedule-item { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem; border: 1px solid #e1e2dc; border-radius: 3px; background: #fff; }
.course-schedule-date > span { display: block; margin-bottom: .3rem; color: var(--cdim-muted); font-size: .7rem; }
.course-schedule-date h3 { margin-bottom: .35rem; font-size: .95rem; line-height: 1.5; }
.course-schedule-date small { display: block; color: var(--cdim-muted); font-size: .72rem; line-height: 1.7; overflow-wrap: anywhere; }
.course-schedule-info { min-width: 0; font-size: .8rem; }
.course-schedule-info p { margin: .5rem 0 .2rem; overflow-wrap: anywhere; }
.course-schedule-info small { color: var(--cdim-muted); }
.course-schedule-status { display: inline-block; padding: .25rem .5rem; border-radius: 3px; background: #edf0f1; color: #46565c; font-size: .72rem; font-weight: 600; }
.course-schedule-status[data-status="Open"] { background: #eaf2ec; color: #305743; }
.course-schedule-status[data-status="Cancelled"] { background: #f7ece9; color: #884737; }
.course-schedule-actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; }
.course-schedule-actions .btn { font-size: .75rem; }
.course-record { border: 1px solid #e1e2dc; border-radius: 4px; }
.course-record > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; cursor: pointer; list-style: none; }
.course-record > summary::-webkit-details-marker { display: none; }
.course-record > summary strong { font-size: 1rem; font-weight: 600; }
.course-record > summary small { display: block; margin-top: .3rem; color: var(--cdim-muted); font-size: .8rem; }
.course-record-toggle { font-size: 1.5rem; color: var(--cdim-brass); }
.course-record[open] .course-record-toggle { transform: rotate(180deg); }
.course-record > summary:focus-visible { outline: 2px solid var(--cdim-brass); outline-offset: 3px; }
.course-record-body { padding: 1.25rem; border-top: 1px solid #e1e2dc; }
.course-overview { display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: start; gap: 1.5rem; margin-bottom: 1.75rem; }
.course-overview-single { grid-template-columns: minmax(0, 1fr); }
.course-overview > .course-management-header { min-width: 0; margin-bottom: 0; }
.course-programming { margin-bottom: 1.75rem; }
.course-overview-card { min-width: 0; padding: 1.4rem; border: 1px solid #dedfd7; border-radius: 8px; background: #fafaf7; box-shadow: 0 3px 12px #18272d04; }
.course-graduates { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem .75rem; padding: 1rem; background: linear-gradient(135deg, #faf8f3, #fff); }
.course-card-heading { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; }
.course-card-heading h2 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.course-card-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border: 1px solid #e6dfd0; border-radius: 9px; color: #896537; background: #f5f0e6; }
.course-card-icon svg { width: 21px; height: 21px; }
.course-card-count { margin-left: auto; color: var(--cdim-muted); font-size: .72rem; white-space: nowrap; }
.course-graduates .course-card-heading { flex: 1 0 auto; gap: .5rem; margin: 0; }
.course-graduates .course-card-heading h2 { font-size: .85rem; }
.course-graduates .course-card-icon { flex-basis: 30px; height: 30px; border-radius: 8px; }
.course-graduates .course-card-icon svg { width: 18px; height: 18px; }
.course-graduate-total { margin: 0 0 0 auto; }
.course-graduate-total strong { color: var(--cdim-ink); font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.course-graduates-link { display: flex; flex-basis: 100%; align-items: center; justify-content: space-between; gap: .75rem; min-height: 32px; padding-top: .65rem; border-top: 1px solid #e6dfd0; color: #805a31; font-size: .76rem; font-weight: 600; text-decoration: none; }
.course-graduates-link:hover { color: var(--cdim-ink); text-decoration: underline; text-underline-offset: 3px; }
.course-graduates-link:focus-visible { outline: 2px solid var(--cdim-brass); outline-offset: 4px; border-radius: 2px; }
.course-card-note { color: var(--cdim-muted); font-size: .76rem; line-height: 1.6; margin: 0 0 1.2rem; }
.course-card-button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-top: auto; font-size: .83rem; padding: .65rem .85rem; }
.course-programming-empty { min-height: 94px; padding: .3rem 0 1rem; }
.course-programming-empty h3 { font-size: .9rem; margin-bottom: .5rem; }
.course-programming-empty p { color: var(--cdim-muted); font-size: .8rem; line-height: 1.6; margin: 0; }
.course-schedule-highlights { margin-bottom: 1rem; }
.course-schedule-highlight { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .7rem 0; color: var(--cdim-ink, #18272d); text-decoration: none; border-top: 1px solid #e5e5de; }
.course-schedule-highlight:hover strong { text-decoration: underline; }
.course-highlight-label { font-size: .69rem; font-weight: 600; color: #896537; }
.course-schedule-highlight strong { display: block; font-size: .8rem; font-weight: 600; overflow-wrap: anywhere; }
.course-schedule-highlight small { display: block; margin-top: .25rem; font-size: .68rem; color: var(--cdim-muted); }
.course-all-dates { margin-top: 1rem; }
.course-all-dates > summary { font-size: .75rem; color: var(--cdim-muted); cursor: pointer; }
.course-all-dates[open] > summary { margin-bottom: 1rem; }
.course-programming .course-schedule-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding: 1.1rem; }
.course-programming .course-schedule-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
@media (max-width: 1199.98px) { .course-overview { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .course-programming .course-schedule-item { grid-template-columns: minmax(0, 1fr); } }
.course-record { border-radius: 8px; overflow: clip; }
.course-record > summary { padding: 1.4rem 1.6rem; background: #f8f8f5; }
.course-record > summary strong { display: block; font-size: 1.3rem; margin-top: .25rem; }
.course-record-eyebrow { color: #896537; font-size: .62rem; font-weight: 600; letter-spacing: .13em; }
.course-record-body { padding: 1.25rem 1.6rem 0; }
.course-editor-section { min-width: 0; margin: 0; padding: 1.6rem 0; }
.course-editor-section + .course-editor-section { border-top: 1px solid #e5e5de; }
.course-editor-section legend { float: none; width: auto; display: flex; align-items: center; gap: .7rem; margin: 0 0 .65rem; font-size: 1rem; font-weight: 600; }
.course-editor-section legend > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f2eee5; color: #896537; font-size: .65rem; }
.course-section-help, .course-editor-section > p { color: var(--cdim-muted); font-size: .8rem; line-height: 1.7; margin-bottom: 1.3rem; }
.course-editor-section .form-label { font-size: .8rem; font-weight: 600; }
.course-editor-section .form-control, .course-editor-section .form-select { font-size: .85rem; }
.course-editor-section .form-text, .course-editor-section small { font-size: .73rem; line-height: 1.6; }
.course-editor-section [data-topic] { background: #fafaf7; }
.course-editor-save { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.course-editor-save > div { flex: 0 1 280px; }
.course-editor-save > .btn { display: flex; justify-content: space-between; gap: 2rem; padding: .65rem 1rem; }
@media (max-width: 767.98px) {
    .course-overview { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .course-overview-card { padding: 1.15rem; }
    .course-record-body { padding: 1.25rem 1rem 0; }
    .course-record > summary { padding: 1.15rem; }
    .course-editor-section { padding: 1.3rem 0; }
    .course-editor-save { align-items: stretch; flex-direction: column; }
    .course-editor-save > div { flex-basis: auto; }
    .course-schedule-highlight { grid-template-columns: 5.3rem minmax(0, 1fr) auto; }
}
@media (max-width: 1199.98px) { .course-schedule-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .course-schedule-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; } }
@media (max-width: 575.98px) { .course-schedule, .course-record-body, .course-record > summary { padding: 1rem; } .course-schedule-item { grid-template-columns: minmax(0, 1fr); } .course-schedule-heading > .btn { width: 100%; justify-content: space-between; } }
@media (min-width: 768px) { .administration-section .dashboard-sidebar { position: sticky; top: 1.5rem; } }
@media (max-width: 575.98px) { .administration-panel .d-flex { flex-wrap: wrap; } }

/* A labelled home destination in every navigation, including the mobile menu. */
.site-nav .nav-home { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-width: 44px; min-height: 44px; }
.site-nav .nav-home svg { flex-shrink: 0; }
@media (min-width: 992px) { .nav-home-label { display: none; } }
@media (max-width: 991.98px) { .site-nav .nav-home { justify-content: flex-start; } }
/* The course menu stays within its field, even with long catalog titles. */
.certification-course-picker { position: relative; min-width: 0; }
.certification-course-trigger { text-align: left; cursor: pointer; }
.certification-course-trigger > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.certification-course-trigger[aria-expanded="true"] { border-color: #a7773e; box-shadow: 0 0 0 .2rem #a7773e1f; }
.certification-course-options {
  position: absolute; z-index: 20; inset: calc(100% + .5rem) 0 auto;
  max-height: min(22.5rem, 60vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: .375rem; list-style: none; border: 1px solid #dedfd9;
  border-radius: .65rem; background: #fff; box-shadow: 0 12px 32px #18272d1a, 0 2px 6px #18272d08;
  scrollbar-width: thin; scrollbar-color: #c5c8bf transparent;
}
.certification-course-options.opens-up { top: auto; bottom: calc(100% + .5rem); }
.certification-course-options [role="option"] {
  position: relative; padding: .65rem 2rem .65rem .75rem; border-radius: .35rem;
  color: var(--cdim-ink, #18272d); font-size: .85rem; line-height: 1.45;
  white-space: normal; overflow-wrap: anywhere; cursor: pointer;
}
.certification-course-options [role="option"] + [role="option"] { margin-top: .125rem; }
.certification-course-code { display: block; margin-bottom: .15rem; color: #805a31; font-size: .65rem; font-weight: 600; letter-spacing: .06em; }
.certification-course-options [role="option"][aria-selected="true"] { background: #eef3ef; }
.certification-course-options [role="option"][aria-selected="true"]::after { content: '\2713'; position: absolute; right: .7rem; top: .7rem; color: #356553; font-weight: 600; }
.certification-course-options [role="option"]:hover,
.certification-course-options [role="option"].is-active { background: #f4f1ea; outline: 1px solid #e5dccd; outline-offset: -1px; }

/* Keep certificate details roomy while actions form one compact, consistent rail. */
.certification-table .certification-actions-heading,
.certification-table .certification-actions-cell { width: 1%; min-width: 10.5rem; text-align: right; white-space: nowrap; }
.certification-table .certification-completion-state { white-space: nowrap; overflow-wrap: normal; }
.certification-table .certification-student-email { display: block; max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.certification-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.certification-table .certification-action { display: inline-flex; align-items: center; justify-content: center; width: 9rem; min-height: 2rem; white-space: nowrap; }
@media (max-width: 767.98px) {
  .certification-table, .certification-table tbody { display: block; width: 100%; }
  .certification-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .certification-table tr { display: block; margin-bottom: 1rem; border: 1px solid #dedfd9; border-radius: .25rem; padding: .75rem; }
  .certification-table td { display: block; width: auto; border: 0; padding: .5rem 0; overflow-wrap: anywhere; }
  .certification-table td::before { content: attr(data-label); display: block; margin-bottom: .25rem; color: #647177; font-size: .75rem; font-weight: 600; }
  .certification-table .certification-actions-cell { width: auto; min-width: 0; text-align: left; white-space: normal; }
  .certification-actions { align-items: stretch; }
  .certification-table .certification-action { width: 100%; }
  .certification-table .btn { word-break: normal; overflow-wrap: normal; }
}
