/* ═══════════════════════════════════════════════════════════════════
   /verify-certificate: Hire and verify, the one page for employers
   (templates/verify_certificate.html, static/js/employers.js).
   Approved prototype page-employers.html, round 4, 2026-10-07.

   Scoped to .dfe (and .dfe-* for the tray) so the short names cannot
   leak. Layout only, tokens only: every colour comes from df-tokens.css
   (tests/test_theme_tokens.py forbids raw values here). Fields and buttons
   are the shared standard in df-forms.css; the only button rule here is
   the on-dark variant the gradient and navy chapters need.

   The certificate is paper in both themes, so it uses the theme-stable
   tokens (paper --df-paper-fixed, ink --df-navy). The Find
   graduates directory is the /application Interns component, styled by
   apply-interns.css; this file adds only the shortlist button it hosts.
   ═══════════════════════════════════════════════════════════════════ */

.dfe {
    --dfe-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    --dfe-sans: Inter, system-ui, sans-serif;
    --dfe-ease: cubic-bezier(.22, 1, .36, 1);
    --dfe-grad: var(--df-brand-gradient);
    --dfe-wg: color-mix(in srgb, var(--df-on-navy) 5%, transparent);
    --dfe-gridc: color-mix(in srgb, var(--df-ink) 4%, transparent);
    --dfe-navy: var(--df-navy);
    --dfe-paper: var(--df-paper-fixed);
    --dfe-paper-ink: var(--df-navy);
    --dfe-paper-ink-2: color-mix(in srgb, var(--df-navy) 62%, var(--df-paper-fixed));
    --dfe-card: var(--df-surface);
    font-family: var(--dfe-sans);
    font-feature-settings: "tnum" 1;
    color: var(--df-ink);
}
[data-theme="dark"] .dfe {
    --dfe-navy: color-mix(in srgb, var(--df-navy-line) 20%, var(--df-navy));
    --dfe-card: color-mix(in srgb, var(--df-line) 55%, var(--df-surface));
}
.dfe :focus-visible { outline: 3px solid var(--df-accent); outline-offset: 3px; }
.dfe-dk :focus-visible { outline-color: var(--df-on-navy-accent-deep); }
.dfe-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.dfe-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dfe-sec { padding: clamp(20px, 3.5vh, 36px) 0; scroll-margin-top: calc(var(--df-nav-h) + 8px); }
.dfe-sec#hire { padding-top: clamp(14px, 2.5vh, 24px); }

/* Display recipe and sizes come from the shared type system (df-tokens.css). */
body.public .dfe-disp {
    font-family: var(--df-font-display); font-stretch: var(--df-display-stretch); font-variation-settings: var(--df-display-wdth); font-weight: var(--df-display-weight);
    text-transform: uppercase; line-height: var(--df-display-lh); letter-spacing: var(--df-display-ls); margin: 0; color: inherit; max-width: none;
}
body.public .dfe-h1 { font-size: var(--df-type-hero); margin-top: 14px !important; }
body.public .dfe-h2 { font-size: var(--df-type-h2); }
.dfe-lede { font-size: 1.1rem; line-height: 1.55; color: var(--df-ink-2); max-width: 46ch; margin: 18px 0 0; }
.dfe-kick { font: 600 12px var(--dfe-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--df-accent); }
.dfe .ar { display: inline-block; transition: transform .2s var(--dfe-ease); }
.dfe a:hover .ar, .dfe button:hover .ar { transform: translateX(3px); }

/* grounds */
.dfe-ch { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(22px, 4.4vw, 56px); }
.dfe-grad { background-image: linear-gradient(var(--dfe-wg) 1px, transparent 1px), linear-gradient(90deg, var(--dfe-wg) 1px, transparent 1px), var(--dfe-grad); background-size: 48px 48px, 48px 48px, 100% 100%; }
.dfe-navy { background-color: var(--dfe-navy); background-image: linear-gradient(var(--dfe-wg) 1px, transparent 1px), linear-gradient(90deg, var(--dfe-wg) 1px, transparent 1px); background-size: 48px 48px; }
[data-theme="dark"] .dfe-navy { box-shadow: inset 0 0 0 1px var(--df-line); }
.dfe-panel { background-color: var(--df-public-panel); background-image: linear-gradient(var(--dfe-gridc) 1px, transparent 1px), linear-gradient(90deg, var(--dfe-gridc) 1px, transparent 1px); background-size: 22px 22px; }
.dfe-dk { color: var(--df-on-navy); }
.dfe-dk .dfe-lede { color: color-mix(in srgb, var(--df-on-navy) 86%, transparent); }
.dfe-dk .dfe-kick { color: var(--df-on-navy-accent-deep); }
.dfe-dk .dff-b1 { background: var(--df-on-navy); color: var(--df-navy); }
.dfe-dk .dff-b2 { background: color-mix(in srgb, var(--df-on-navy) 14%, transparent); color: var(--df-on-navy); border-color: transparent; }
.dfe-dk .dff-b2:hover { background: color-mix(in srgb, var(--df-on-navy) 22%, transparent); }
.dfe-dk .dff-b1:focus-visible, .dfe-dk .dff-b2:focus-visible { outline-color: var(--df-on-navy-accent-deep); }
/* Cards on a dark chapter (the ticket, the result) are the page's own
   surface again, so their buttons return to the standard colours. */
.dfe-dk .dfe-tk .dff-b1 { background: var(--df-ink); color: var(--df-paper); }
.dfe-dk .dfe-rcard .dff-b2 { background: var(--df-surface); color: var(--df-ink); border-color: var(--df-line); }
.dfe-dk .dfe-rcard .dff-b2:hover { background: var(--df-accent-soft); }
.dfe-dk .dfe-tk :focus-visible, .dfe-dk .dfe-rcard :focus-visible { outline-color: var(--df-accent); }

/* ── 1 · hero: on the page ground, no chapter card (Tassy, 2026-10-09).
   Ink text and the standard buttons: primary ink, secondary the soft fill. ── */
.dfe-hero { min-height: min(700px, calc(100svh - var(--df-nav-h) - 40px)); padding: clamp(8px, 2vh, 24px) 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.dfe-hero .dfe-lede { font-family: var(--df-font-text); font-size: var(--df-type-lede); line-height: var(--df-type-lede-lh); }
.dfe-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.dfe-hero .dff-b2 { background: color-mix(in srgb, var(--df-ink) 7%, transparent); border-color: transparent; }
.dfe-hero .dff-b2:hover { background: var(--df-accent-soft); }
.dfe-hero .dfe-cert { box-shadow: 0 1px 2px color-mix(in srgb, var(--df-navy) 8%, transparent), 0 18px 40px -18px color-mix(in srgb, var(--df-navy) 28%, transparent); }
[data-theme="dark"] .dfe-hero .dfe-cert { box-shadow: none; }
.dfe-obj { display: grid; justify-items: center; gap: 16px; }
.dfe-obj .dfe-certw { max-width: 560px; transform: rotate(-2.2deg); transition: transform .5s var(--dfe-ease); }
.dfe-obj:hover .dfe-certw { transform: rotate(0); }
.dfe-qstat { display: inline-flex; align-items: baseline; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--df-ink) 6%, transparent); color: var(--df-ink); font-size: 14px; }
.dfe-qstat b { font-weight: 700; font-size: 15px; }
.dfe-qstat span { color: var(--df-ink-2); }

/* ── the certificate object ── */
.dfe-certw { container-type: inline-size; width: 100%; }
.dfe-cert { position: relative; overflow: hidden; border-radius: 18px; background: var(--dfe-paper); color: var(--dfe-paper-ink); padding: 6.2cqw 6.4cqw 5.4cqw; font-size: max(10px, 2.55cqw); line-height: 1.45; text-align: left; }
.dfe-cert .band { position: absolute; left: 0; right: 0; top: 0; height: max(5px, 1.3cqw); background: linear-gradient(90deg, var(--df-brand-blue), var(--df-brand-cyan), var(--df-brand-teal)); }
.dfe-cert .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dfe-cert .wm { display: flex; align-items: center; gap: .5em; font: 800 1.12em "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -.01em; }
.dfe-cert .wm i { width: 1.05em; height: 1.05em; border-radius: .28em; background: var(--dfe-grad); }
.dfe-cert .no { font-size: .82em; color: var(--dfe-paper-ink-2); white-space: nowrap; }
.dfe-cert .ttl { font-weight: 750; font-size: 2.1em; letter-spacing: -.03em; line-height: 1.05; margin: 1.1em 0 .45em; }
.dfe-cert .tc { font-size: .92em; color: var(--dfe-paper-ink-2); }
.dfe-cert .nm { display: flex; align-items: flex-end; gap: .5em; height: 2.6em; max-width: 72%; margin: .25em 0 .8em; padding-bottom: .35em; border-bottom: 1.5px solid var(--dfe-paper-ink); font-weight: 650; font-size: 1.25em; }
.dfe-cert .nm svg { width: 1em; height: 1em; flex: none; fill: var(--dfe-paper-ink-2); transform: translateY(-.1em); }
.dfe-cert .body { margin: 0; max-width: 62%; font-size: .92em; line-height: 1.5; color: var(--dfe-paper-ink-2); }
.dfe-cert .ft { display: flex; gap: 2.4em; margin-top: 1.3em; }
.dfe-cert .k { display: block; margin-bottom: .3em; font: 600 .72em var(--dfe-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dfe-paper-ink-2); }
.dfe-cert .v { font-weight: 650; font-size: .98em; }
.dfe-cert .cseal { position: absolute; right: 5.2cqw; bottom: 4.6cqw; width: 26cqw; height: 26cqw; }

/* the seal (certificate + ticket stub) */
.dfe-seal { display: block; width: 100%; height: 100%; }
.dfe-seal .s-bg { fill: color-mix(in srgb, var(--df-brand-cyan) 16%, var(--df-paper-fixed)); transition: fill .35s; }
.dfe-seal .s-ring { transform-origin: 100px 100px; transform-box: view-box; animation: dfe-spin 40s linear infinite; }
.dfe-seal .s-ring text { fill: color-mix(in srgb, var(--df-brand-cyan) 80%, var(--df-navy)); font: 700 12px var(--dfe-sans); letter-spacing: 3px; transition: fill .35s; }
.dfe-seal .s-core { fill: color-mix(in srgb, var(--df-brand-cyan) 80%, var(--df-navy)); transition: fill .35s; }
.dfe-seal .s-dash { fill: none; stroke: var(--df-on-navy); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .45; }
.dfe-seal .s-ck { fill: none; stroke: var(--df-on-navy); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.dfe-seal .s-l1 { fill: var(--df-on-navy); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-stretch: 75%; font-variation-settings: "wdth" 75; }
@keyframes dfe-spin { to { transform: rotate(360deg); } }

/* ── 2 · verify ── */
.dfe-vx { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 60px); align-items: center; }
.dfe-vcol { display: grid; gap: 14px; min-width: 0; }
.dfe-tk { display: grid; grid-template-columns: minmax(0, 1fr) 150px; }
.dfe-tk-m { min-width: 0; padding: 22px 24px; border-radius: 22px 0 0 22px; background: var(--dfe-card); color: var(--df-ink);
    -webkit-mask: radial-gradient(circle 13px at 100% 0, transparent 96%, black) top / 100% 51% no-repeat, radial-gradient(circle 13px at 100% 100%, transparent 96%, black) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 13px at 100% 0, transparent 96%, black) top / 100% 51% no-repeat, radial-gradient(circle 13px at 100% 100%, transparent 96%, black) bottom / 100% 51% no-repeat; }
.dfe-tk-m .dff { margin-bottom: 14px; }
.dfe-tk-s { display: grid; place-items: center; padding: 16px; border-radius: 0 22px 22px 0; background-color: var(--dfe-card);
    background-image: linear-gradient(color-mix(in srgb, var(--df-ink) 25%, transparent) 55%, transparent 0); background-size: 2px 12px; background-repeat: repeat-y;
    -webkit-mask: radial-gradient(circle 13px at 0 0, transparent 96%, black) top / 100% 51% no-repeat, radial-gradient(circle 13px at 0 100%, transparent 96%, black) bottom / 100% 51% no-repeat;
    mask: radial-gradient(circle 13px at 0 0, transparent 96%, black) top / 100% 51% no-repeat, radial-gradient(circle 13px at 0 100%, transparent 96%, black) bottom / 100% 51% no-repeat; }
.dfe-bigseal { width: 118px; height: 118px; }
.dfe-cert-in { text-transform: uppercase; letter-spacing: .04em; font-family: var(--dfe-sans); font-variant-numeric: tabular-nums; font-weight: 600; }
.dfe-vf[data-state="loading"] .dfe-go { opacity: .55; pointer-events: none; }
.dfe-vf[data-state="loading"] .dfe-seal .s-ring { animation-duration: 2.2s; }
.dfe-vf[data-state="verified"] .dfe-seal .s-core, .dfe-vf[data-state="verified"] .dfe-seal .s-ring text { fill: color-mix(in srgb, var(--df-brand-teal) 55%, var(--df-navy)); }
.dfe-vf[data-state="verified"] .dfe-seal .s-bg { fill: color-mix(in srgb, var(--df-brand-teal) 18%, var(--df-paper-fixed)); }
.dfe-vf[data-state="notfound"] .dfe-seal .s-core, .dfe-vf[data-state="notfound"] .dfe-seal .s-ring text { fill: color-mix(in srgb, var(--df-danger) 80%, var(--df-navy)); }
.dfe-vf[data-state="notfound"] .dfe-seal .s-bg { fill: color-mix(in srgb, var(--df-danger) 16%, var(--df-paper-fixed)); }
.dfe-vf.shake .dfe-tk { animation: dfe-shake .4s; }
.dfe-vf:is([data-state="verified"], [data-state="notfound"]) .dfe-bigseal { animation: dfe-thud .45s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes dfe-shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes dfe-thud { 0% { transform: scale(.8); } 100% { transform: none; } }

.dfe-rs { display: grid; min-height: 300px; border-radius: 22px; }
.dfe-ghost { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding: 22px 24px; border-radius: 22px; background: color-mix(in srgb, var(--df-on-navy) 7%, transparent); }
.dfe-ghost .gs { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: color-mix(in srgb, var(--df-on-navy) 10%, transparent); color: color-mix(in srgb, var(--df-on-navy) 55%, transparent); transform: rotate(-10deg); font: 800 13px "Bricolage Grotesque", system-ui, sans-serif; font-stretch: 75%; font-variation-settings: "wdth" 75; letter-spacing: .04em; }
.dfe-ghost .gl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.dfe-ghost .gl span { display: block; font: 600 10.5px var(--dfe-mono); letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--df-on-navy) 55%, transparent); }
.dfe-ghost .gl i { display: block; height: 12px; margin-top: 7px; border-radius: 6px; background: color-mix(in srgb, var(--df-on-navy) 12%, transparent); }
.dfe-ghost .gl .w { grid-column: 1 / -1; }
.dfe-ghost .gl .w i { width: 70%; height: 20px; }
.dfe-load { display: grid; place-items: center; border-radius: 22px; background: color-mix(in srgb, var(--df-on-navy) 7%, transparent); color: color-mix(in srgb, var(--df-on-navy) 82%, transparent); font-size: 14.5px; }

.dfe-rcard { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding: 24px 26px; border-radius: 22px; background: var(--dfe-card); color: var(--df-ink); animation: dfe-rin .45s var(--dfe-ease); }
@keyframes dfe-rin { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dfe-stamp { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; text-align: center; color: var(--df-on-navy); transform: rotate(-10deg); animation: dfe-stamp .42s cubic-bezier(.2, 1.5, .4, 1) .08s backwards; }
@keyframes dfe-stamp { from { opacity: 0; transform: scale(1.7) rotate(-26deg); } }
.dfe-stamp b { display: block; font: 800 22px "Bricolage Grotesque", system-ui, sans-serif; font-stretch: 75%; font-variation-settings: "wdth" 75; letter-spacing: .04em; line-height: 1; }
.dfe-stamp svg { display: block; width: 30px; height: 30px; margin: 0 auto 4px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dfe-rcard.ok .dfe-stamp { background: color-mix(in srgb, var(--df-brand-teal) 55%, var(--df-navy)); box-shadow: 0 0 0 6px var(--df-ok-soft); }
.dfe-rcard.no .dfe-stamp, .dfe-rcard.warn .dfe-stamp { background: color-mix(in srgb, var(--df-danger) 80%, var(--df-navy)); box-shadow: 0 0 0 6px var(--df-danger-soft); }
.dfe-rcard.warn .dfe-stamp { background: color-mix(in srgb, var(--df-warn) 80%, var(--df-navy)); box-shadow: 0 0 0 6px var(--df-warn-soft); }
.dfe-rcard .msg { margin: 0; font-size: 14px; line-height: 1.45; font-weight: 550; color: var(--df-ok); }
.dfe-rcard.no .msg, .dfe-rcard.warn .msg { font-size: 17px; font-weight: 650; line-height: 1.35; color: var(--df-danger); }
.dfe-rcard.warn .msg { color: var(--df-warn); }
.dfe-rcard .rn { margin: 8px 0 14px; font-weight: 750; font-size: clamp(1.4rem, 2.3vw, 1.9rem); letter-spacing: -.025em; line-height: 1.1; overflow-wrap: anywhere; }
.dfe-rcard dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.dfe-rcard dt { font: 600 10.5px var(--dfe-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--df-ink-3); }
.dfe-rcard dd { margin: 3px 0 0; font-weight: 650; font-size: 15px; overflow-wrap: anywhere; }
.dfe-rcard .rb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ── 3 · what the certificate stands for ── */
.dfe-mx { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(20px, 5vh, 56px) 0 clamp(20px, 5vh, 56px) clamp(0px, 4.4vw, 56px); }
.dfe-mx .dfe-lede { margin-bottom: 26px; }
.dfe-flipp { display: grid; justify-items: center; padding: clamp(22px, 4.4vw, 64px); border-radius: 32px; background-color: var(--df-public-panel); background-image: linear-gradient(var(--dfe-gridc) 1px, transparent 1px), linear-gradient(90deg, var(--dfe-gridc) 1px, transparent 1px); background-size: 22px 22px; }
.dfe-flip { position: relative; display: grid; width: min(540px, 100%); border-radius: 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dfe-flip > .face { grid-area: 1 / 1; transform-origin: 50% 50%; }
/* A flat turn: the visible face narrows to nothing, then the other widens. */
.dfe-flip > .front { transform: scaleX(1); transition: transform .22s cubic-bezier(0, .55, .45, 1) .2s; }
.dfe-flip > .back { transform: scaleX(0); transition: transform .2s cubic-bezier(.55, 0, 1, .45) 0s; }
.dfe-flip.on > .front { transform: scaleX(0); transition: transform .2s cubic-bezier(.55, 0, 1, .45) 0s; }
.dfe-flip.on > .back { transform: scaleX(1); transition: transform .22s cubic-bezier(0, .55, .45, 1) .2s; }
@media (hover: hover) {
    .dfe-flip:hover > .front { transform: scaleX(0); transition: transform .2s cubic-bezier(.55, 0, 1, .45) 0s; }
    .dfe-flip:hover > .back { transform: scaleX(1); transition: transform .22s cubic-bezier(0, .55, .45, 1) .2s; }
}
.dfe-flip:focus-visible { outline-offset: 6px; }
.dfe-flip .back { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 3cqw; padding: 6cqw 6.4cqw; border-radius: 18px; color: var(--df-on-navy); }
.dfe-flip .back .dfe-kick { color: var(--df-on-navy-accent-deep); }
.dfe-flip .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.6cqw 5cqw; }
.dfe-flip .facts b { display: block; font-weight: 750; font-size: max(22px, 7.4cqw); letter-spacing: -.035em; line-height: 1; }
.dfe-flip .facts span { display: block; margin-top: .5em; font-size: max(11.5px, 2.6cqw); line-height: 1.35; opacity: .84; }
.dfe-flip .dots { display: grid; grid-template-columns: repeat(37, minmax(0, 1fr)); gap: max(2px, .55cqw); }
.dfe-flip .dots i { aspect-ratio: 1; border-radius: 2px; background: color-mix(in srgb, var(--df-on-navy) 16%, transparent); }
.dfe-flip .dots i.on { background: var(--df-on-navy); }

/* ── 4 · tell us the role ── */
.dfe-rl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.dfe-fcard { padding: clamp(20px, 2.8vw, 32px); border-radius: 26px; background: var(--dfe-card); }
.dfe-slc { margin: 0 0 18px; padding: 0 0 16px; border-bottom: 1px solid var(--df-line); }
.dfe-slc .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dfe-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 7px 6px 12px; border: 0; border-radius: 999px; background: var(--df-ink); color: var(--df-paper); font: 500 13.5px var(--dfe-sans); cursor: pointer; transition: transform .15s var(--dfe-ease); }
.dfe-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dfe-chip i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--df-paper) 22%, transparent); font-style: normal; font-size: 12px; }
.dfe-chip:active { transform: scale(.96); }
.dfe-ffoot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.dfe-ffoot .dff-help { margin: 0; }
.dfe .nope { animation: dfe-shake .4s; }

/* ── 5 · Find graduates: the status tabs use the shared pill from apply-interns.css (no page override). ── */

/* ── 6 · closing: one panel, Hire from DataraFlow, with a quiet applicant line ── */
/* edges line up with the Find graduates panel above it (df-wrap) */
.dfe-close { padding-top: 0; }
.dfe-close .dfe-wrap { max-width: 1200px; padding: 0 20px; }
body.public .dfe-cl .dfe-disp { font-size: var(--df-type-h2); max-width: 11ch; margin-top: 12px !important; }
.dfe-cl .row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; }
.dfe-cl .row > div { max-width: 42ch; }
.dfe-cl .dfe-lede { margin: 0 0 18px; }
.dfe-also { margin: clamp(22px, 3vw, 36px) 0 0; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--df-on-navy) 22%, transparent); font-size: 15px; color: color-mix(in srgb, var(--df-on-navy) 80%, transparent); }
.dfe-also a { margin-left: 4px; color: var(--df-on-navy); font-weight: 600; text-decoration: none; }
.dfe-also a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 7 · Find graduates: the shortlist button the Interns cards host ── */
.dfi [data-interns][data-card-actions="shortlist"] .tc { grid-template-rows: auto auto 1fr auto auto; grid-template-columns: minmax(0, 1fr); }
.dfi [data-interns][data-card-actions="shortlist"] .tc .ft { min-width: 0; }
.dfi [data-interns][data-card-actions="shortlist"] .lr { grid-template-columns: 42px minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1fr) auto auto; }
.dfi .dfe-slb, .dfe-slb { position: relative; z-index: 1; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 11px 7px 9px; border: 0; border-radius: 999px; background: var(--df-public-panel); color: var(--df-ink-2); font: 600 12.5px Inter, system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .15s cubic-bezier(.22, 1, .36, 1); }
.dfi .lr .dfe-slb, .dfi .stage .dfe-slb { margin-top: 0; }
.dfi .stage .dfe-slb { padding: 10px 16px 10px 13px; font-size: 14px; }
.dfe-slb:hover { background: var(--df-accent-soft); color: var(--df-ink); }
.dfe-slb:active { transform: scale(.96); }
.dfe-slb .ic { display: grid; place-items: center; flex: none; width: 14px; height: 14px; border-radius: 50%; background: color-mix(in srgb, var(--df-ink) 10%, transparent); }
.dfe-slb .ic::before { content: "+"; margin-top: -1px; font: 700 12px/1 Inter, system-ui, sans-serif; }
.dfe-slb[aria-pressed="true"] { background: var(--df-ink); color: var(--df-paper); }
.dfe-slb[aria-pressed="true"] .ic { background: var(--df-achieve-fill); }
.dfe-slb[aria-pressed="true"] .ic::before { content: ""; width: 7px; height: 4px; border: 2px solid var(--df-on-achieve); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.dfe-slb:focus-visible { outline: 2px solid var(--df-accent); outline-offset: 2px; }

/* the sticky shortlist tray */
.dfe-tray { position: fixed; right: 76px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 4px; max-width: calc(100vw - 20px); padding: 5px 5px 5px 16px; border-radius: 999px; background: var(--df-ink); color: var(--df-paper); box-shadow: var(--df-shadow); font: 500 14px Inter, system-ui, sans-serif; transform: translateY(140%); opacity: 0; transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s; }
.dfe-tray.on { transform: none; opacity: 1; }
.dfe-tray b { font-weight: 700; }
.dfe-tray a { margin-left: 6px; padding: 8px 14px; border-radius: 999px; background: var(--df-paper); color: var(--df-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.dfe-tray a:hover { background: var(--df-accent-soft); }
.dfe-tray a:focus-visible { outline: 2px solid var(--df-accent); outline-offset: 2px; }

/* ── responsive ── */
@media (max-width: 980px) {
    .dfe-hero, .dfe-vx, .dfe-mx, .dfe-rl { grid-template-columns: minmax(0, 1fr); }
    .dfe-obj .dfe-certw { max-width: 460px; }
}
@media (max-width: 760px) {
    .dfi [data-interns][data-card-actions="shortlist"] .lr { grid-template-columns: 40px minmax(0, 1fr) auto auto; }
    .lr .dfe-slb .t { display: none; }
    .lr .dfe-slb { padding: 7px; }
}
@media (max-width: 640px) {
    .dfe-wrap { padding: 0 16px; }
    .dfe-ch { border-radius: 24px; padding: 22px 18px; }
    .dfe-hero { min-height: calc(100svh - var(--df-nav-h) - 40px); gap: 22px; padding: 4px 0 12px; align-content: center; }
    body.public .dfe-h1 { margin-top: 10px !important; }
    .dfe-lede { font-size: 1.02rem; }
    .dfe-lede, .dfe-hero .dfe-lede { margin-top: 12px; }
    .dfe-cta { margin-top: 20px; gap: 8px; }
    .dfe-obj .dfe-certw { transform: rotate(-1.5deg); }
    .dfe-qstat { font-size: 13px; padding: 7px 12px; }
    .dfe-vx { gap: 18px; }
    .dfe-tk { grid-template-columns: minmax(0, 1fr) 84px; }
    .dfe-tk-m { padding: 16px 14px; }
    .dfe-tk-m .dff-b1 { width: 100%; }
    .dfe-tk-s { padding: 8px; }
    .dfe-bigseal { width: 70px; height: 70px; }
    .dfe-rs, .dfe-load { min-height: 0; }
    .dfe-load { padding: 30px 0; }
    .dfe-ghost { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; }
    .dfe-ghost .gs { width: 60px; height: 60px; font-size: 10px; }
    .dfe-rcard { position: relative; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px 16px; }
    .dfe-stamp { position: absolute; right: 12px; top: 12px; width: 78px; height: 78px; }
    .dfe-stamp b { font-size: 14px; }
    .dfe-stamp svg { width: 20px; height: 20px; margin-bottom: 2px; }
    .dfe-rcard .msg, .dfe-rcard .rn { padding-right: 84px; }
    .dfe-mx { padding: 8px 0; }
    .dfe-flipp { padding: 22px 14px; border-radius: 24px; }
    .dfe-rl { gap: 12px; }
    .dfe-fcard { padding: 16px 14px; border-radius: 22px; }
    .dfe-rl .dff { margin-bottom: 10px; }
    .dfe-rl .dfe-lede { margin-top: 8px; }
    .dfe-also { font-size: 14px; }
    .dfe-tray { right: 70px; bottom: 18px; }
}
@media (max-width: 560px) {
    .dfe-close .dfe-wrap { padding: 0 8px; }
    .dfi [data-interns][data-card-actions="shortlist"] .tc .dfe-slb { padding: 6px 10px 6px 8px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .dfe *, .dfe *::before, .dfe *::after, .dfe-tray, .dfe-slb { animation: none !important; transition: none !important; }
}

/* Find graduates sits on the page itself, not inside the grey panel
   (Tassy, 9 Oct). Scoped to this page; /application#interns keeps it. */
#graduates .dfi-panel { background: none; border-radius: 0; box-shadow: none; }
#graduates .dfi-panel::before { display: none; }

/* Verify a certificate, centred (Tassy, 2026-10-09: "not intuitive, you might not know where to enter it").
   Title, then ONE big input with the button attached, then the result right under it. */
.dfe-vx { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 28px; }
.dfe-vx > div:first-child { max-width: 640px; }
.dfe-vx .dfe-lede { margin-left: auto; margin-right: auto; }
.dfe-vcol { width: 100%; max-width: 760px; gap: 18px; text-align: left; }
.dfe-vx .dfe-tk { grid-template-columns: minmax(0, 1fr); }
.dfe-vx .dfe-tk-s { display: none; }
.dfe-vx .dfe-tk-m { border-radius: 20px; padding: 18px 18px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: start; }
.dfe-vx .dfe-tk-m .dff { margin-bottom: 0; }
.dfe-vx .dfe-cert-in { height: 58px; font-size: 1.125rem; border-radius: 14px; }
.dfe-vx .dfe-go { height: 58px; margin-top: var(--dfe-labh, 29px); padding: 0 24px; border-radius: 999px; white-space: nowrap; }
.dfe-vx .dfe-rs { min-height: 0; }
@media (max-width: 600px) {
    .dfe-vx .dfe-tk-m { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 14px; }
    .dfe-vx .dfe-go { margin-top: 0; width: 100%; }
}
