/* EducationSector design system - canonical.
   Fetched verbatim from https://ui.educationsector.uk/assets/educationsector.css
   on 2026-08-29. Do not hand-edit: re-fetch to update, and keep Funding-specific
   rules in funding.css so this file stays a faithful copy of the shared system. */
:root {
  --es-ink: #17221f;
  --es-ink-soft: #26332f;
  --es-paper: #f5f2ea;
  --es-surface: #ffffff;
  --es-green: #20b77a;
  --es-green-dark: #087a50;
  --es-green-soft: #dff5ea;
  --es-amber: #f2a93b;
  --es-purple: #7257d7;
  --es-red: #d95454;
  --es-muted: #61706b;
  --es-line: #dde3dd;
  --es-line-strong: #c7d0c9;
  --es-font: var(--font-manrope), "Manrope", "Segoe UI", Arial, sans-serif;
  --es-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --es-space-1: .25rem;
  --es-space-2: .5rem;
  --es-space-3: .75rem;
  --es-space-4: 1rem;
  --es-space-6: 1.5rem;
  --es-space-8: 2rem;
  --es-space-12: 3rem;
  --es-radius-sm: 6px;
  --es-radius: 10px;
  --es-radius-lg: 14px;
  --es-radius-xl: 18px;
  --es-shadow: 0 18px 45px rgba(23, 34, 31, .11);
  --es-focus: 0 0 0 3px rgba(32, 183, 122, .28);
  --es-speed: 160ms;
}

.es-button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 43px; padding: .72rem 1rem; border: 1px solid transparent; border-radius: var(--es-radius-sm);
  font-family: var(--es-font); font-size: .78rem; line-height: 1; font-weight: 760; text-decoration: none; cursor: pointer;
  transition: transform var(--es-speed) ease, box-shadow var(--es-speed) ease, background var(--es-speed) ease;
}
.es-button:hover { transform: translateY(-1px); }
.es-button:focus-visible, .es-field input:focus-visible, .es-field select:focus-visible { outline: 0; box-shadow: var(--es-focus); }
.es-button--primary { background: var(--es-green); color: var(--es-ink); }
.es-button--primary:hover { background: #28c987; box-shadow: 0 7px 18px rgba(32, 183, 122, .22); }
.es-button--ink { background: var(--es-ink); color: #fff; }
.es-button--outline { background: transparent; color: var(--es-ink); border-color: var(--es-line-strong); }
.es-button--quiet { background: transparent; color: var(--es-green-dark); }
.es-button--small { min-height: 34px; padding: .55rem .8rem; font-size: .68rem; }
.es-button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.es-badge { display: inline-flex; align-items: center; padding: .28rem .48rem; border-radius: 999px; background: #edf0ed; color: var(--es-muted); font-size: .52rem; font-weight: 750; }
.es-badge--verified { color: var(--es-green-dark); background: var(--es-green-soft); }

.es-field { display: flex; flex-direction: column; gap: .42rem; color: var(--es-ink); font-family: var(--es-font); font-size: .62rem; font-weight: 700; }
.es-field input, .es-field select { width: 100%; height: 42px; padding: 0 .8rem; color: var(--es-ink); background: #fff; border: 1px solid var(--es-line-strong); border-radius: var(--es-radius-sm); font-size: .68rem; outline: 0; }
.es-field input::placeholder { color: #8e9a96; }

.es-alert { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: .7rem; padding: .78rem; border: 1px solid var(--es-line); border-radius: var(--es-radius); background: #fff; font-family: var(--es-font); }
.es-alert > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; font-size: .65rem; }
.es-alert span { display: flex; flex-direction: column; gap: .2rem; }.es-alert strong { font-size: .64rem; }.es-alert small { color: var(--es-muted); font-size: .52rem; }
.es-alert--success { border-left: 3px solid var(--es-green); }.es-alert--success > b { color: var(--es-green-dark); background: var(--es-green-soft); }
.es-alert--notice { border-left: 3px solid var(--es-amber); }.es-alert--notice > b { color: #8e5e12; background: #fff1db; }

[data-es-theme="dark"] { --es-paper: #101815; --es-surface: #17221f; --es-muted: #9baca6; --es-line: #34423d; color-scheme: dark; }

/* Web Awesome bridge: apply the same tokens without coupling applications to it. */
wa-button.es-button { --wa-color-brand-fill-normal: var(--es-green); --wa-color-brand-on-normal: var(--es-ink); --wa-border-radius-m: var(--es-radius-sm); }
wa-input, wa-select, wa-textarea { --wa-color-focus: var(--es-green); --wa-border-radius-m: var(--es-radius-sm); }
wa-dialog::part(dialog) { border-radius: var(--es-radius-xl); }
