@font-face { font-family:Poppins; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/poppins-regular.ttf') format('truetype'); }
@font-face { font-family:Poppins; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/poppins-semibold.ttf') format('truetype'); }
@font-face { font-family:Poppins; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/poppins-bold.ttf') format('truetype'); }

.ef-site { --ink:#002854; --navy:#00162a; --orange:#ec6608; --green:#006c32; margin:0; background:#fff; color:var(--ink); font:16px/1.65 'Poppins',Arial,sans-serif; letter-spacing:0; }
.ef-site *, .ef-site *::before, .ef-site *::after { box-sizing:border-box; }
.ef-site [hidden] { display:none !important; } /* Preserve HTML hidden against component layout rules. */
.ef-site h1,.ef-site h2,.ef-site h3,.ef-site h4 { font-family:inherit; color:inherit; font-weight:700; line-height:1.25; letter-spacing:0; }
.ef-site h1 { font-size:36px; margin:0 0 20px; }
.ef-site h2 { font-size:28px; margin:0 0 20px; }
.ef-site h3 { font-size:20px; margin:0 0 14px; }
.ef-site p { margin:0 0 18px; }
.ef-site a { color:var(--ink); text-decoration:underline; text-decoration-color:var(--orange); text-underline-offset:4px; }
.ef-site button,.ef-site input { font:inherit; }
.ef-site button { cursor:pointer; }
.ef-site button:disabled { cursor:default; opacity:.55; }
.ef-site :focus-visible { outline:3px solid #167ac6; outline-offset:4px; }
.ef-container { width:min(100% - 48px,1080px); margin-inline:auto; }
.ef-narrow { max-width:820px; }
.ef-header { background:white; border-bottom:1px solid #e5e9ee; }
.ef-header-inner { display:flex; align-items:center; gap:28px; min-height:132px; padding-block:16px; }
.ef-header-inner > a { flex:none; }
.ef-header img { width:166px; height:auto; display:block; }
.ef-header-label { font-size:14px; font-weight:700; line-height:1.5; text-transform:uppercase; }
.ef-header-label span { display:block; font-size:12px; font-weight:400; margin-top:3px; }
.ef-header nav { display:flex; gap:24px; margin-left:auto; font-size:14px; }
.ef-header nav a[aria-current] { font-weight:700; }
.ef-skip { position:fixed; left:16px; top:-80px; z-index:100; background:white; padding:12px; border:2px solid var(--ink); }
.ef-skip:focus { top:16px; }
.ef-eyebrow { font-size:13px; font-weight:700; text-transform:uppercase; }
.ef-meta { font-size:13px; color:#536475; }
.ef-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1px solid transparent; border-radius:5px; background:var(--orange); color:var(--navy); padding:12px 20px; min-height:48px; font-size:14px; font-weight:700; text-decoration:none; line-height:1.4; text-align:center; }
.ef-site a.ef-button { color:var(--navy); text-decoration:none; }
.ef-button:hover { background:#fa791c; color:var(--navy); }
.ef-button-outline { background:transparent; border-color:#bac7d2; color:inherit; }
.ef-button-outline:hover { background:#ffffff16; color:inherit; }
.ef-button-secondary { background:#edf2f7; color:var(--ink); }
.ef-button-secondary:hover { background:#e1e9f0; }
.ef-text-button { border:0; padding:0; background:none; color:inherit; font-size:14px; text-align:left; text-decoration:underline; text-underline-offset:4px; }
.ef-band { background:var(--navy); color:white; }
.ef-band h2 { color:#ff790e; }
.ef-band a { color:white; }
.ef-band .ef-meta { color:#c4d1da; }
.ef-band :focus-visible { outline-color:#ffac64; }
.ef-event-intro { padding:52px 0 40px; text-align:center; }
.ef-event-intro h1 { margin-bottom:24px; }
.ef-event-details { padding:44px 0; text-align:center; }
.ef-event-details h2 { font-size:30px; margin-bottom:8px; }
.ef-event-details hr { border-color:#ffffff30; margin:26px 0; }
.ef-event-time { font-size:22px; }
.ef-event-social { font-size:14px; margin-top:28px; }
.ef-home-lab { padding:44px 0; text-align:center; background:#f3f6f8; }
.ef-lab-intro { padding:38px 0 40px; text-align:center; }
.ef-lab-intro p { max-width:690px; margin-inline:auto; }
.ef-lab-intro .ef-meta { margin-bottom:22px; }
.ef-game-section { padding:40px 0 56px; }
.ef-section-heading { text-align:center; margin-bottom:32px; }
.ef-section-heading h2 { margin-bottom:12px; }
.ef-section-heading p { font-size:15px; }
.ef-game-layout { display:grid; grid-template-columns:400px minmax(0,1fr); gap:64px; padding:32px 24px 0; border-top:1px solid #ffffff26; }
.ef-board-wrap { position:relative; width:100%; }
.ef-grid { width:100%; aspect-ratio:10 / 16; display:grid; grid-template-rows:repeat(16,minmax(0,1fr)); overflow:hidden; border:1px solid #cad5df; border-radius:6px; background:white; user-select:none; touch-action:pan-y; }
.ef-grid-row { display:grid; grid-template-columns:repeat(10,minmax(0,1fr)); min-height:0; }
.ef-grid-cell { position:relative; padding:0; margin:0; border:0; border-right:1px solid #dce3e8; border-bottom:1px solid #dce3e8; border-radius:0; background:white; color:var(--ink); display:grid; place-items:center; font-size:16px; font-weight:700; min-width:0; min-height:0; line-height:1; }
.ef-grid-cell:hover { background:#eaf0f6; }
.ef-grid-cell.is-found { background:var(--green); color:white; text-decoration:line-through; text-decoration-thickness:2px; }
.ef-grid-cell.is-selected,.ef-grid-cell.is-help { background:var(--orange); color:var(--navy); box-shadow:inset 0 0 0 2px var(--navy); }
.ef-grid-cell:focus-visible { outline:none; box-shadow:inset 0 0 0 2px white,inset 0 0 0 4px #00162a; z-index:1; }
.ef-grid-status { margin-top:14px; min-height:48px; font-size:13px; color:#c4d1da; }
.ef-start-overlay { position:absolute; inset:0; background:#00162acc; border-radius:6px; display:flex; align-items:center; justify-content:center; padding:20px; }
.ef-start-box { background:white; color:var(--ink); border-radius:6px; padding:28px 24px; text-align:center; width:100%; box-shadow:0 10px 30px #0002; }
.ef-start-icon { color:var(--orange); margin-bottom:16px; }
.ef-start-box p { font-size:14px; }
.ef-game-sidebar { min-width:0; }
.ef-word-panel { padding:24px; border-radius:6px; background:#1a2e40; }
.ef-word-meta { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; font-size:11px; text-transform:uppercase; }
.ef-word-meta span:first-child { color:#ff790e; font-weight:700; }
.ef-word-meta span:last-child { color:#c4d1da; }
.ef-word-panel progress { appearance:none; display:block; width:100%; height:7px; margin:16px 0 22px; border:0; border-radius:4px; overflow:hidden; background:#405566; }
.ef-word-panel progress::-webkit-progress-bar { background:#405566; }
.ef-word-panel progress::-webkit-progress-value { background:var(--orange); }
.ef-word-panel progress::-moz-progress-bar { background:var(--orange); }
.ef-find-label { font-size:13px; color:#c4d1da; }
.ef-word-panel h3 { font-size:24px; overflow-wrap:anywhere; margin-bottom:20px; }
.ef-word-panel .ef-button { width:100%; font-size:13px; }
.ef-word-panel .ef-how-to { margin-top:10px; }
.ef-instructions { padding-left:24px; margin:20px 0; }
.ef-instructions li { padding-left:4px; margin-bottom:14px; }
.ef-collected { margin-top:28px; }
.ef-collected h3 { font-size:17px; }
.ef-collected h3 span { font-weight:400; color:#c4d1da; }
.ef-glossary-entry { padding:18px 0; border-top:1px solid #ffffff26; }
.ef-glossary-entry h4 { font-size:15px; margin:0 0 8px; }
.ef-glossary-entry p { font-size:13px; color:#c4d1da; margin:0 0 8px; }
.ef-glossary-entry button { color:#ff790e; font-weight:600; }
.ef-direct { display:block; margin-top:24px; color:#c4d1da; }
.ef-dialog { position:fixed; padding:38px; width:min(640px,calc(100% - 32px)); max-height:calc(100dvh - 40px); overflow:auto; border:0; border-radius:8px; background:white; color:var(--ink); box-shadow:0 18px 80px #0004; }
.ef-dialog::backdrop { background:#00162ac9; }
.ef-dialog h2 { font-size:26px; padding-right:18px; }
.ef-icon-button { display:inline-grid; place-items:center; padding:0; width:40px; height:40px; border:1px solid #d6dee5; border-radius:4px; background:white; color:var(--ink); }
.ef-dialog-close { position:absolute; top:12px; right:12px; }
.ef-dialog .ef-eyebrow { margin-top:12px; color:#586978; }
.ef-dialog fieldset { border:0; padding:0; margin:0; }
.ef-question-text { font-size:19px; line-height:1.55; }
.ef-answer-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:28px 0; }
.ef-answer-options label { cursor:pointer; }
.ef-answer-options input { position:absolute; width:1px; height:1px; opacity:0; }
.ef-answer-options span { display:block; border:2px solid #c4d0da; border-radius:5px; text-align:center; padding:12px 8px; font-weight:600; }
.ef-answer-options input:checked + span { border-color:var(--ink); background:#edf2f7; }
.ef-answer-options input:focus-visible + span { outline:3px solid #167ac6; outline-offset:3px; }
.ef-feedback-outcome { color:var(--green); font-weight:700; }
.ef-feedback-outcome.is-wrong { color:#a62628; }
.ef-added { padding:14px 0; border-top:1px solid #d8e2e9; color:var(--green); font-size:14px; }
.ef-example { padding:16px 20px; border-left:3px solid var(--orange); background:#f3f6f8; font-size:15px; }
.ef-video-trigger { display:inline-flex; align-items:center; gap:8px; }
.ef-video-trigger > [uk-icon] { flex:none; }
.ef-video-dialog { width:min(960px,calc(100% - 32px)); }
.ef-video-dialog h2 { padding-right:32px; }
.ef-video-frame { display:block; aspect-ratio:16 / 9; width:100%; max-height:calc(100dvh - 170px); object-fit:contain; border:0; background:#000; }
.ef-video-dialog #video-status { margin-top:18px; }
.ef-result-hero { padding:48px 0; text-align:center; }
.ef-result-hero h1 { color:#ff790e; font-size:32px; }
.ef-result-hero .ef-eyebrow { color:#d2dbe2; }
.ef-score { display:flex; align-items:baseline; justify-content:center; gap:4px; width:112px; height:112px; margin:20px auto; border:4px solid var(--orange); border-radius:50%; padding-top:24px; background:#1a2e40; }
.ef-score span { font-size:40px; line-height:1.1; font-weight:700; }
.ef-score small { font-size:18px; }
.ef-results-section,.ef-profiles-section { padding:48px 0; }
.ef-results-table { width:100%; border-collapse:collapse; font-size:14px; }
.ef-results-table th { padding:14px 12px; text-align:left; font-size:11px; text-transform:uppercase; color:#586978; border-bottom:1px solid #d8e2e9; }
.ef-results-table td { padding:18px 12px; border-bottom:1px solid #d8e2e9; vertical-align:middle; }
.ef-results-table td:first-child { color:#586978; }
.ef-results-table td:nth-child(2) { font-weight:700; font-size:12px; }
.ef-results-table .ef-text-button { font-size:13px; font-weight:600; text-decoration-color:var(--orange); }
.ef-outcome { display:inline-flex; gap:6px; align-items:center; font-size:13px; font-weight:600; }
.ef-outcome.is-correct { color:var(--green); }
.ef-outcome.is-wrong { color:#a62628; }
.ef-resource-section { padding:44px 0; }
.ef-resource-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.ef-resource { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font-size:13px; padding:24px 16px; background:#1a2e40; border-radius:5px; text-decoration:none; }
.ef-site .ef-resource { text-decoration:none; }
.ef-resource > span:first-child { color:#ff790e; margin-bottom:10px; }
.ef-resource > span:last-child { color:#c4d1da; font-size:12px; }
.ef-resource:hover { background:#263f54; }
.ef-profiles { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.ef-profile { background:#f3f6f8; padding:22px 18px; border:2px solid transparent; border-radius:5px; }
.ef-profile.is-current { border-color:var(--orange); }
.ef-profile h3 { font-size:16px; margin:14px 0 12px; }
.ef-profile p { font-size:12px; margin-bottom:0; }
.ef-profile small { display:block; font-size:12px; margin-bottom:12px; }
.ef-profile-label { display:block; min-height:22px; font-size:10px; font-weight:700; text-transform:uppercase; color:var(--ink); }
.ef-profile.is-current .ef-profile-label { background:var(--orange); width:fit-content; padding:3px 7px; border-radius:3px; }
.ef-survey-section { padding:44px 0; }
.ef-survey-section form { text-align:center; }
.ef-rating { border:0; border-top:1px solid #ffffff26; padding:20px 0; margin:0; text-align:left; }
.ef-rating legend { float:left; width:55%; padding:0; font-size:14px; font-weight:600; }
.ef-rating-options { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.ef-rating-options label { position:relative; display:grid; place-items:center; width:34px; height:38px; color:#9aaebf; cursor:pointer; }
.ef-rating-options input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }
.ef-rating-options label.is-rated { color:#ff790e; }
.ef-rating-options input:focus-visible + span { outline:3px solid #ffac64; outline-offset:4px; }
.ef-rating-options output { font-size:12px; min-width:48px; color:#c4d1da; text-align:right; }
.ef-survey-section .ef-button { margin:16px 0; }
.ef-replay-section { padding:36px 0; text-align:center; background:#f3f6f8; }
.ef-glossary-page { padding:44px 0; }
.ef-glossary-page article { padding:28px 0 10px; border-bottom:1px solid #d8e2e9; }
.ef-glossary-page article h2 { font-size:23px; }
.ef-glossary-page > div > .ef-button:last-child { margin-top:28px; }
.ef-footer { background:white; padding:32px 0 22px; border-top:1px solid #e5e9ee; }
.ef-footer img { display:block; width:min(100%,940px); height:auto; margin:auto; }
.ef-footer-lab-logos { position:relative; width:min(100%,728px); aspect-ratio:728 / 127; margin-inline:auto; overflow:hidden; }
/* Window onto the two current logos, excluding the patronage row and Bocconi. */
.ef-footer .ef-footer-lab-logos img { position:absolute; width:186.1263736264%; max-width:none; height:auto; left:0; top:-208.6614173228%; margin:0; }
.ef-footer nav { display:flex; justify-content:center; flex-wrap:wrap; gap:20px; font-size:12px; }
.ef-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
@media (max-width:1000px) {
    .ef-game-layout { grid-template-columns:360px minmax(0,1fr); gap:32px; padding-inline:0; }
    .ef-profiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ef-word-panel { padding:20px; }
    .ef-word-panel h3 { font-size:21px; }
}
@media (max-width:760px) {
    .ef-container { width:calc(100% - 32px); }
    .ef-header-inner { flex-wrap:wrap; gap:12px 18px; min-height:120px; justify-content:center; padding:14px 0; }
    .ef-header img { width:126px; }
    .ef-header-label { font-size:11px; max-width:175px; }
    .ef-header-label span { font-size:11px; }
    .ef-header nav { width:100%; margin:0; justify-content:center; font-size:12px; gap:24px; }
    .ef-site h1 { font-size:28px; }
    .ef-site h2 { font-size:24px; }
    .ef-desktop-break { display:none; }
    .ef-lab-intro { padding:28px 0; }
    .ef-lab-intro p { font-size:14px; }
    .ef-game-section { padding:28px 0 36px; }
    .ef-section-heading { margin-bottom:24px; }
    .ef-game-layout { display:flex; flex-direction:column; gap:22px; padding-top:24px; }
    .ef-game-sidebar { display:contents; }
    .ef-word-panel { order:0; }
    .ef-board-column { order:1; width:min(100%,400px); align-self:center; }
    .ef-collected { order:2; margin:0; }
    .ef-direct { order:3; margin:0; }
    .ef-grid-cell { font-size:14px; }
    .ef-word-panel h3 { font-size:22px; }
    .ef-word-panel .ef-button { width:auto; }
    .ef-word-panel progress { margin-bottom:14px; }
    .ef-find-label { margin-bottom:10px; }
    .ef-start-box { padding:22px 16px; }
    .ef-start-box .ef-button { padding-inline:14px; }
    .ef-dialog { padding:30px 22px; }
    .ef-dialog h2 { font-size:23px; }
    .ef-question-text { font-size:17px; }
    .ef-answer-options { gap:8px; }
    .ef-answer-options span { font-size:14px; }
    .ef-result-hero { padding:32px 0; }
    .ef-results-section,.ef-profiles-section { padding:32px 0; }
    .ef-results-table thead { display:none; }
    .ef-results-table tbody { display:block; }
    .ef-results-table tr { display:grid; grid-template-columns:30px minmax(0,1fr) auto; padding:18px 0; border-bottom:1px solid #d8e2e9; row-gap:10px; }
    .ef-results-table td { padding:0; border:0; }
    .ef-results-table td:nth-child(2) { font-size:12px; overflow-wrap:anywhere; }
    .ef-results-table td:nth-child(4) { grid-column:2; }
    .ef-results-table td:nth-child(5) { grid-column:3; grid-row:2; text-align:right; }
    .ef-outcome { font-size:11px; }
    .ef-resource-grid { grid-template-columns:1fr; gap:12px; }
    .ef-resource { padding:22px; }
    .ef-profiles { gap:12px; }
    .ef-profile { padding:16px 12px; }
    .ef-profile h3 { font-size:14px; }
    .ef-rating legend { float:none; width:100%; margin-bottom:16px; }
    .ef-rating-options { justify-content:flex-start; gap:14px; }
    .ef-survey-section { padding:32px 0; }
    .ef-footer { padding:20px 0; }
    .ef-event-intro { padding:30px 0; }
    .ef-event-intro p { font-size:14px; }
    .ef-event-details h2 { font-size:26px; }
}
@media (max-width:360px) {
    .ef-grid-cell { font-size:12px; }
    .ef-profiles { grid-template-columns:1fr; }
    .ef-rating-options { gap:8px; }
    .ef-header-label { max-width:150px; font-size:10px; }
}
@media (prefers-reduced-motion:reduce) { .ef-site * { scroll-behavior:auto; } }
