@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0300-036F, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  font-family: Manrope, system-ui, sans-serif;
  color: #112e2a;
  background: #f2f6f3;
  --ink: #112e2a;
  --muted: #49635e;
  --surface: #fff;
  --canvas: #f2f6f3;
  --tint: #e3efe9;
  --line: #cddbd4;
  --line-strong: #869d93;
  --accent: #164e46;
  --accent-strong: #103e37;
  --highlight: #e5f9b9;
  --danger: #862d2d;
  --danger-tint: #fbefeb;
  --radius: 14px;
  font-synthesis: none;
  color-scheme: light;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
::selection { background: #d5ec9a; color: var(--ink); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: default; }
a { color: var(--accent-strong); text-underline-offset: .2em; text-decoration-thickness: .075em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 3px solid #277c66; outline-offset: 3px; }
:is(input, select, textarea):focus { outline: 3px solid #277c66; outline-offset: 2px; }
::placeholder { color: #536862; opacity: 1; }
input, select, textarea { caret-color: var(--accent); }

.shell {
  width: min(100% - clamp(2rem, 7vw, 7rem), 76rem);
  margin-inline: auto;
}

.site-header {
  background: #123d36;
  color: #f5faf6;
}

.site-header .shell {
  min-height: 4.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .3rem 1.2rem;
  padding-block: .45rem;
}

.site-header a { color: inherit; }
.site-header nav, .site-footer nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .85rem; }
.site-header nav a, .site-footer a { display: inline-flex; min-height: 44px; align-items: center; font-size: .9rem; font-weight: 750; }
.site-header :focus-visible { outline-color: #d9f4a4; }
.brand { font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-header .brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand svg { flex: 0 0 auto; color: #e0faad; margin-inline-end: .55rem; }
.site-footer { border-top: 1px solid var(--line); margin-top: 3.5rem; color: var(--muted); padding-block: 1.15rem; font-size: .9rem; }
.site-footer .shell { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.2rem; }
.site-footer a + a { margin-inline-start: .15rem; }
.skip-link { position: fixed; inset: .45rem auto auto .45rem; z-index: 10; background: #fff; padding: .7rem 1rem; opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }

h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2rem, 5vw, 3.45rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.018em; }
h3 { font-size: 1.04rem; line-height: 1.3; }
p { max-width: 68ch; }
.intro { padding-block: clamp(1.6rem, 4vw, 3.55rem) 1.65rem; }
.intro p { margin-top: .7rem; color: var(--muted); max-width: 61ch; }
.intro .actions { margin-top: 1rem; }
.muted, small { color: var(--muted); }
small { font-size: .84rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
.workspace > *, .panel, .form-grid > *, .field { min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(.9rem, 2.5vw, 1.65rem); }
.panel > h2 + p, .panel > h3 + p { margin-top: .45rem; }
.panel > form, .panel > .form-grid, .panel > .actions, .panel > p + p { margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: .8rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 750; }
.field small { font-weight: 600; }
fieldset { min-inline-size: 0; border: 1px solid var(--line); border-radius: 10px; margin: 0; padding: .85rem; }
legend { color: var(--ink); padding-inline: .25rem; font-weight: 800; }

input:not([type=checkbox], [type=radio], [type=file], [type=hidden]),
select, textarea, input[type=file] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .55rem .68rem;
  background-color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: .44rem;
  font-size: 1rem;
  font-weight: 600;
}

select {
  appearance: none;
  padding-inline-end: 2.05rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2333564c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right .65rem center / 1rem no-repeat;
}

input[type=checkbox], input[type=radio] { accent-color: var(--accent); inline-size: 1.12rem; block-size: 1.12rem; flex: none; }
label:has(> input:is([type=checkbox], [type=radio])) { display: flex; align-items: center; min-height: 44px; gap: .5rem; }
input[aria-invalid=true], select[aria-invalid=true] { border: 2px solid var(--danger); }

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: .57rem .87rem;
  line-height: 1.35;
  border: 1px solid transparent;
  border-radius: .45rem;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  overflow-wrap: anywhere;
}
.button:hover, button:hover { background: var(--accent-strong); }
.button.secondary, .button--secondary, button.secondary { background: #fff; border-color: var(--line-strong); color: var(--accent-strong); }
.button.secondary:hover, .button--secondary:hover, button.secondary:hover { background: var(--tint); }
.button.ghost, button.ghost { background: transparent; color: var(--accent-strong); }
.button.ghost:hover, button.ghost:hover { background: var(--tint); }
.button:disabled, button:disabled { background: #e5ebe7; border-color: #d6e0d9; color: #53645d; }
input[type=file]::file-selector-button { min-height: 34px; margin-inline-end: .45rem; appearance: none; padding: .3rem .55rem; border: 1px solid var(--line-strong); border-radius: .35rem; color: var(--ink); background: var(--tint); font: inherit; }
.notice { border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); background: var(--tint); padding: .72rem .85rem; font-size: .91rem; overflow-wrap: anywhere; }
.notice.error, .notice[role=alert], .error { color: var(--danger); }
.notice.error, .notice[role=alert] { border-color: #d2a9a1; background: var(--danger-tint); }

table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: start; border-bottom: 1px solid var(--line); padding: .65rem .55rem; vertical-align: top; }
th { color: var(--accent-strong); font-size: .875rem; }
.table-scroll { max-width: 100%; overflow: auto; }
.prose { padding-block: clamp(1.6rem, 5vw, 3.4rem); }
.prose section { margin-top: 2rem; }
.prose > p, .prose section > p { margin-top: .75rem; }
.prose .button { margin-top: .6rem; }

@media (max-width: 450px) {
  .shell { width: calc(100% - 2rem); }
  .site-header .shell { min-height: 3.4rem; }
  .site-header nav, .site-footer nav { gap: .45rem; }
  .site-header nav a { padding-inline: .15rem; }
}
