.wf-workspace,
.wf-login-page {
  --wf-ink: #19252c;
  --wf-muted: #52616a;
  --wf-line: #cbd5d9;
  --wf-accent: #006b5b;
  --wf-focus: #a34800;
  color: var(--wf-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.wf-workspace {
  --wf-ink: var(--ink, #19252c);
  --wf-muted: var(--muted, #52616a);
  --wf-line: var(--line, #cbd5d9);
  --wf-accent: var(--primary, #006b5b);
  container: wf-workspace / inline-size;
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--surface, #fff);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wf-workspace *, .wf-login-page * { box-sizing: border-box; letter-spacing: 0; }
.wf-workspace [hidden], .wf-login-page [hidden] { display: none !important; }
.wf-workspace h2, .wf-workspace h3, .wf-workspace h4,
.wf-login-page h1 { color: var(--wf-ink); margin: 0; line-height: 1.3; }
.wf-workspace h2 { font-size: 20px; }
.wf-workspace h3 { font-size: 16px; }
.wf-workspace h4 { font-size: 14px; }
.wf-workspace p { margin: 4px 0; }
.wf-workspace svg, .wf-login-page svg { width: 18px; height: 18px; flex: 0 0 18px; pointer-events: none; }
.wf-workspace :is(button,a,input,select,textarea,summary,[tabindex]):focus-visible,
.wf-login-page :is(button,a,[tabindex]):focus-visible {
  outline: 3px solid var(--wf-focus);
  outline-offset: 3px;
}
.wf-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--wf-line); }
.wf-header > div { min-width: 0; }
.wf-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.wf-role-label { color: var(--wf-muted); font-size: 13px; border-left: 1px solid var(--wf-line); padding-left: 12px; }
.wf-eyebrow { font-size: 12px; font-weight: 700; color: var(--wf-muted); }
.wf-workspace .wf-notice:empty { display: none; }
.wf-workspace .wf-notice { color: #005b38; margin: 12px 0; }
.wf-workspace .wf-error, .wf-login-page .wf-error { color: #8e2020; background: #fff0f0; border: 1px solid #b96363; border-left-width: 4px; border-radius: 4px; padding: 12px; margin: 12px 0; }
.wf-selector { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.wf-selector:not(:has(.wf-field)) { display: none; }
.wf-selector .wf-field { width: 360px; max-width: 100%; }
.wf-summary { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 16px 24px; padding: 14px 0; border-bottom: 1px solid var(--wf-line); }
.wf-summary .wf-details { margin: 0; }
.wf-dossier { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.wf-dossier h3 { font-size: 16px; }
.wf-dossier p { color: var(--wf-muted); }
.wf-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,260px); gap: 24px; }
.wf-layout-single { grid-template-columns: minmax(0,1fr); }
.wf-main, .wf-aside { min-width: 0; }
.wf-aside { border-left: 1px solid var(--wf-line); padding-left: 20px; }
.wf-section { padding: 14px 0; border-bottom: 1px solid var(--wf-line); min-width: 0; }
.wf-section > h3 { margin-bottom: 8px; }
.wf-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 16px; margin: 10px 0; }
.wf-details div { min-width: 0; }
.wf-details dt { color: var(--wf-muted); font-size: 12px; }
.wf-details dd { margin: 0; font-weight: 600; }
.wf-aside .wf-details { grid-template-columns: minmax(0,1fr); }
.wf-status { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.4; color: #33454e; background: #edf2f4; border: 1px solid #b8c7ce; border-radius: 4px; padding: 3px 7px; max-width: 100%; }
.wf-status[data-tone="positive"] { color: #17613f; background: #edf7f0; border-color: #a8cbb7; }
.wf-status[data-tone="pending"] { color: #735114; background: #fcf7e9; border-color: #d9c798; }
.wf-status[data-tone="negative"] { color: #982c2c; background: #fdf0f0; border-color: #dbb1b1; }
.wf-workspace .wf-button, .wf-workspace .wf-icon-button,
.wf-login-page .wf-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; max-width: 100%; padding: 8px 11px; border: 1px solid #9aadb5; border-radius: 4px;
  background: #fff; color: var(--wf-ink); font: inherit; font-weight: 600; line-height: 1.4;
  cursor: pointer; white-space: normal; text-align: left; box-shadow: none;
}
.wf-workspace .wf-button span, .wf-login-page .wf-button span { min-width: 0; overflow-wrap: anywhere; }
.wf-workspace .wf-button:hover:not(:disabled), .wf-workspace .wf-icon-button:hover:not(:disabled) { background: #edf5f3; border-color: var(--wf-accent); }
.wf-workspace .wf-primary, .wf-login-page .wf-primary { background: var(--wf-accent); color: #fff; border-color: var(--wf-accent); }
.wf-workspace .wf-primary:hover:not(:disabled), .wf-login-page .wf-primary:hover:not(:disabled) { background: #005246; color: #fff; }
.wf-workspace .wf-icon-button { padding: 9px; width: 38px; height: 38px; flex: 0 0 38px; }
.wf-workspace button:disabled, .wf-login-page button:disabled { background: #edf0f1; border-color: #c6cfd3; color: #5d6970; cursor: not-allowed; opacity: 1; }
.wf-form { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 12px 0; max-width: 100%; }
.wf-inline-form { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
.wf-form-grid { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.wf-form-grid > button { grid-column: 1 / -1; justify-self: start; }
.wf-form-grid > .wf-field { width: auto; }
.wf-workspace .wf-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-weight: 600; }
.wf-form > .wf-field { width: 100%; }
.wf-inline-form > .wf-field { width: 300px; max-width: 100%; }
.wf-workspace :is(input:not([type="checkbox"]),select,textarea) { min-width: 0; max-width: 100%; width: 100%; min-height: 40px; border: 1px solid #8399a3; border-radius: 4px; padding: 8px 10px; background: #fff; color: var(--wf-ink); font: inherit; font-weight: 400; }
.wf-workspace input[type="file"] { padding: 6px; overflow: hidden; }
.wf-workspace textarea { resize: vertical; }
.wf-workspace :is(input,select,textarea):disabled { color: #5d6970; background: #edf0f1; }
.wf-check { display: flex; align-items: center; gap: 9px; min-height: 32px; font-weight: 500; }
.wf-exam-access { padding: 12px 0; border-top: 1px solid var(--wf-line); }
.wf-token-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; }
.wf-launch-token { min-width: 0; max-width: 100%; padding: 8px; border: 1px solid var(--wf-line); background: #f2f5f6; font-size: 14px; overflow-wrap: anywhere; user-select: all; }
.wf-workspace input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--wf-accent); flex: 0 0 18px; }
.wf-workspace .wf-document, .wf-login-page a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: #005e72; text-decoration: underline; text-underline-offset: 3px; max-width: 100%; }
.wf-document + .wf-document { margin-left: 14px; }
.wf-session-list { border-top: 1px solid var(--wf-line); }
.wf-session { display: grid; grid-template-columns: minmax(0,1fr) minmax(130px,210px); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--wf-line); }
.wf-session p { color: var(--wf-muted); font-size: 13px; }
.wf-session .wf-booking-reason { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.wf-table-wrap { width: 100%; min-width: 0; overflow-x: auto; }
.wf-workspace .wf-table { width: 100%; min-width: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; }
.wf-table caption { text-align: left; font-weight: 600; margin-bottom: 6px; }
.wf-workspace .wf-table th, .wf-workspace .wf-table td { border-bottom: 1px solid var(--wf-line); padding: 8px 6px; text-align: left; vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.wf-workspace .wf-table th { text-transform: none; }
.wf-workspace .wf-table tbody th { background: transparent; color: var(--wf-ink); }
.wf-table thead th { color: var(--wf-muted); background: #f2f5f6; font-size: 12px; }
.wf-table th:last-child, .wf-table td:last-child { width: 150px; }
.wf-table .wf-button { font-size: 12px; }
.wf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wf-timeline, .wf-plain-list, .wf-result-list { margin: 0; padding: 0; list-style: none; }
.wf-progress { padding: 12px 0; border-bottom: 1px solid var(--wf-line); }
.wf-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.wf-workspace .wf-progress-count { color: var(--wf-muted); font-size: 12px; margin: 0; font-variant-numeric: tabular-nums; }
.wf-timeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px 16px; margin-top: 12px; }
.wf-timeline li { display: grid; grid-template-columns: 26px minmax(0,1fr); align-items: start; gap: 8px; min-width: 0; font-size: 12px; }
.wf-step-marker { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--wf-line); border-radius: 4px; color: var(--wf-muted); font-weight: 600; }
.wf-step-marker[data-tone="positive"] { color: #17613f; background: #edf7f0; border-color: #a8cbb7; }
.wf-timeline [aria-current="step"] .wf-step-marker { color: #fff; background: var(--wf-accent); border-color: var(--wf-accent); }
.wf-step-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wf-step-label { font-weight: 600; }
.wf-step-status { color: var(--wf-muted); }
.wf-step-status[data-tone="positive"] { color: #17613f; }
.wf-step-status[data-tone="negative"] { color: #982c2c; }
.wf-phase-track { display: grid; grid-template-columns: repeat(auto-fit,minmax(115px,1fr)); gap: 12px; list-style: none; margin: 18px 0 14px; padding: 0; }
.wf-phase-track li { position: relative; min-width: 0; display: grid; grid-template-rows: 34px auto; justify-items: center; gap: 8px; text-align: center; }
.wf-phase-track li::before { content: ''; position: absolute; height: 2px; background: var(--wf-line); top: 16px; width: calc(100% + 12px); left: calc(-50% - 6px); }
.wf-phase-track li:first-child::before { display: none; }
.wf-phase-symbol { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--wf-line); border-radius: 50%; color: var(--wf-muted); background: var(--surface, #fff); }
.wf-phase-track li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wf-phase-track strong { font-size: 13px; font-weight: 600; }
.wf-phase-track li > div > span { font-size: 12px; color: var(--wf-muted); }
.wf-phase-track [data-state="complete"] .wf-phase-symbol { background: #edf7f0; color: #17613f; border-color: #a8cbb7; }
.wf-phase-track [data-state="current"] .wf-phase-symbol { background: var(--wf-accent); color: #fff; border-color: var(--wf-accent); }
.wf-phase-track [data-state="current"] strong { color: var(--wf-accent); font-weight: 700; }
.wf-progress-details { border-top: 1px solid var(--wf-line); padding-top: 10px; }
.wf-progress-details > summary { width: fit-content; max-width: 100%; min-height: 32px; cursor: pointer; color: var(--wf-muted); font-size: 13px; }
.wf-next-step { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; margin: 16px 0 4px; border-left: 3px solid var(--wf-accent); background: #f0f7f5; }
.wf-next-step > div { min-width: 0; }
.wf-next-symbol { display: grid; place-items: center; width: 34px; height: 34px; color: var(--wf-accent); }
.wf-workspace .wf-next-owner { font-size: 12px; font-weight: 600; color: var(--wf-muted); margin: 0 0 3px; }
.wf-next-step h3 { font-size: 18px; }
.wf-next-step p:last-child { color: var(--wf-muted); }
.wf-next-action { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #005e72; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; max-width: 260px; }
.wf-next-action span { min-width: 0; }
.wf-booked { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 10px; padding: 12px 14px; margin: 12px 0; border-left: 3px solid var(--wf-accent); background: #f2f7fa; }
.wf-booked > span { color: var(--wf-accent); }
.wf-booked strong { color: #17613f; font-size: 12px; }
.wf-school-check { align-items: flex-start; min-height: 38px; }
.wf-school-check input { margin-top: 2px; }
.wf-school-check span { min-width: 0; }
.wf-check-result { font-size: 12px; color: #17613f; }
.wf-plain-list li { padding: 4px 0; }
.wf-result-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding: 8px 0; border-bottom: 1px solid #e2e8eb; }
.wf-message { border-bottom: 1px solid var(--wf-line); padding: 10px 0; }
.wf-message summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; cursor: pointer; min-height: 36px; }
.wf-message summary > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.wf-message summary::before { content: '+'; font-size: 18px; font-weight: bold; flex: 0 0 14px; }
.wf-message[open] summary::before { content: '-'; }
.wf-message summary .wf-status { margin-left: auto; }
.wf-message-kind { color: var(--wf-muted); font-size: 12px; }
.wf-message-body { white-space: pre-wrap; padding: 8px 0 8px 26px; }
.wf-workspace .wf-empty { color: var(--wf-muted); padding: 8px 0; }
.wf-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.wf-login-page { margin: 0; background: #f5f7f8; min-height: 100vh; }
.wf-login-header, .wf-login-footer { padding: 18px 24px; background: #fff; border-bottom: 1px solid var(--wf-line); }
.wf-login-header strong { font-size: 18px; }
.wf-login-header span { margin-left: 12px; color: var(--wf-muted); }
.wf-login-main { max-width: 620px; margin: 0 auto; padding: 48px 24px; }
.wf-login-main h1 { font-size: 26px; }
.wf-login-main p { margin: 12px 0 22px; }
.wf-login-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.wf-login-footer { border-top: 1px solid var(--wf-line); border-bottom: 0; color: var(--wf-muted); font-size: 12px; }
.wf-login-skip { position: absolute; left: 16px; top: -100px; padding: 10px; background: #fff; z-index: 1; }
.wf-login-skip:focus { top: 10px; }

@container wf-workspace (max-width: 850px) {
  .wf-summary { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .wf-timeline { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .wf-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  .wf-aside { border-left: 0; padding-left: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
  .wf-phase-track { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .wf-phase-track li::before { display: none; }
  .wf-next-step { grid-template-columns: 34px minmax(0,1fr); }
  .wf-next-action { grid-column: 2; justify-self: start; }
}
@container wf-workspace (max-width: 520px) {
  .wf-timeline { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .wf-details { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .wf-session { grid-template-columns: minmax(0,1fr); }
  .wf-session .wf-button { justify-self: start; }
  .wf-form-grid, .wf-aside { grid-template-columns: minmax(0,1fr); }
  .wf-workspace .wf-table th, .wf-workspace .wf-table td { padding: 8px 3px; }
  .wf-table th:last-child, .wf-table td:last-child { width: 68px; }
  .wf-table .wf-button { padding: 8px; min-width: 36px; }
  .wf-table [data-wf-action="provider-approve"] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wf-role-label { border-left: 0; padding-left: 0; }
  .wf-phase-track { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wf-phase-track li { grid-template-columns: 34px minmax(0,1fr); grid-template-rows: auto; align-items: center; justify-items: start; text-align: left; }
  .wf-phase-track strong { font-size: 12px; }
  .wf-next-step { padding: 12px; gap: 8px; }
  .wf-next-step h3 { font-size: 16px; }
  .wf-school-check span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 520px) {
  .wf-workspace { padding: 12px; }
  .wf-login-main { padding: 32px 20px; }
  .wf-login-header, .wf-login-footer { padding: 16px 20px; }
}
@media (forced-colors: active) {
  .wf-status, .wf-button, .wf-icon-button, .wf-step-marker { border: 1px solid ButtonText; }
}
