:root {
  --sg-bg: #f5f7f2;
  --sg-surface: #ffffff;
  --sg-surface-soft: #eef2eb;
  --sg-surface-strong: #e2e9df;
  --sg-ink: #172019;
  --sg-muted: #647067;
  --sg-line: #d7ded4;
  --sg-line-strong: #aab6aa;
  --sg-primary: #0b7138;
  --sg-primary-hover: #075c2d;
  --sg-primary-soft: #d9f2df;
  --sg-gold: #f6bd16;
  --sg-red: #bf3835;
  --sg-blue: #123a70;
  --sg-shadow-1: 0 1px 2px rgba(15, 35, 21, 0.08), 0 4px 16px rgba(15, 35, 21, 0.05);
  --sg-shadow-2: 0 12px 36px rgba(15, 35, 21, 0.14);
  --sg-header: 4.75rem;
  --sg-sidebar: 15.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.skillgrid-body { margin: 0; min-width: 20rem; background: var(--sg-bg); color: var(--sg-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.skillgrid-body :where(button, input, textarea) { font: inherit; }
.skillgrid-body :where(input, textarea) { color: inherit; }
.skillgrid-body button, .skillgrid-body a { -webkit-tap-highlight-color: transparent; }
.skillgrid-body button { cursor: pointer; }
.skillgrid-body [hidden] { display: none !important; }
.skillgrid-body :focus-visible { outline: 3px solid #1f72d6; outline-offset: 2px; }
.sg-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; }
.sg-skip-link { position: fixed; z-index: 200; left: 1rem; top: -5rem; border-radius: 0.65rem; background: var(--sg-ink); color: #fff; padding: 0.75rem 1rem; text-decoration: none; }
.sg-skip-link:focus { top: 0.75rem; }

.sg-app { min-height: 100vh; }
.sg-topbar { position: fixed; z-index: 50; inset: 0 0 auto 0; height: var(--sg-header); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem; padding: 0 1.2rem; background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--sg-line); backdrop-filter: blur(18px); }
.sg-brand { display: flex; width: fit-content; align-items: center; border-radius: 0.6rem; }
.sg-brand-logo { display: block; width: 9.25rem; height: auto; }
.sg-icon-svg { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: currentColor; vertical-align: middle; }
.sg-icon { width: 1.35rem; height: 1.35rem; color: var(--sg-muted); }
.sg-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.sg-resource-page { min-height: 100vh; padding: 2rem clamp(1rem, 4vw, 4rem); background: var(--sg-bg); }
.sg-resource-header { max-width: 76rem; margin: 0 auto 2rem; display: grid; gap: 1.25rem; }
.sg-resource-header h1 { margin: 0.35rem 0 0; }
.sg-resource-header p { margin: 0.45rem 0 0; color: var(--sg-muted); }
.sg-resource-grid { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem; }
.sg-breadcrumb-bar { padding: 1rem 1rem 0; }
.sg-breadcrumb-bar nav { max-width: 76rem; margin: 0 auto; }
.sg-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; padding: 0; color: var(--sg-muted); font-size: 0.75rem; font-weight: 650; list-style: none; }
.sg-breadcrumbs li { display: inline-flex; align-items: center; gap: 0.4rem; }
.sg-breadcrumbs li + li::before { color: var(--sg-line-strong); content: "/"; font-weight: 500; }
.sg-breadcrumbs a { color: var(--sg-muted); text-decoration: none; }
.sg-breadcrumbs a:hover { color: var(--sg-primary); text-decoration: underline; text-underline-offset: 0.2rem; }
.sg-breadcrumbs [aria-current="page"] { color: var(--sg-ink); }
.sg-breadcrumb-bar.is-authentication { width: calc(100% - 2rem); max-width: 42rem; margin: 0 auto; padding: .75rem 0 0; }
.sg-breadcrumb-bar.is-authentication nav { max-width: none; }
.sg-auth-layout { min-height: 100vh; display: flex; flex-direction: column; background: var(--sg-bg); }
.sg-auth-main { width: calc(100% - 2rem); max-width: 42rem; margin: auto; padding: 1.25rem 0 2rem; }
.sg-auth-brand { justify-content: center; margin: 0 auto 1rem; }
.sg-auth-panel { min-width: 0; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--sg-line); border-radius: .5rem; background: var(--sg-surface); }
.sg-auth-panel > header { margin-bottom: 1rem; }
.sg-auth-panel > header > p:first-child { margin: 0 0 .35rem; color: var(--sg-primary); font-size: .78rem; font-weight: 700; }
.sg-auth-panel > header h1 { margin: 0; color: var(--sg-ink); font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; }
.sg-auth-panel > header h1 + p { margin: .35rem 0 0; color: var(--sg-muted); font-size: .875rem; line-height: 1.45; }
.sg-auth-label { display: block; color: var(--sg-ink); font-size: .875rem; font-weight: 650; }
.sg-auth-input { width: 100%; min-height: 2.5rem; display: block; margin-top: .3rem; padding: .5rem .7rem; border: 1px solid var(--sg-line-strong); border-radius: .5rem; background: var(--sg-surface); color: var(--sg-ink); font-size: .875rem; }
.sg-auth-input::placeholder { color: var(--sg-muted); }
.sg-auth-input:hover { border-color: var(--sg-muted); }
.sg-auth-input:focus { border-color: var(--sg-primary); outline: 0; box-shadow: 0 0 0 3px rgba(11, 113, 56, .14); }
.sg-auth-primary, .sg-auth-provider { width: 100%; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .5rem 1rem; border-radius: .5rem; font-size: .875rem; font-weight: 700; text-decoration: none; transition: background 150ms ease, border-color 150ms ease; }
.sg-auth-primary { border: 1px solid var(--sg-primary); background: var(--sg-primary); color: #fff; }
.sg-auth-primary:hover { border-color: var(--sg-primary-hover); background: var(--sg-primary-hover); }
.sg-auth-primary:disabled { cursor: not-allowed; opacity: .5; }
.sg-auth-provider { border: 1px solid var(--sg-line-strong); background: var(--sg-surface); color: var(--sg-ink); }
.sg-auth-provider:hover { border-color: var(--sg-muted); background: var(--sg-surface-soft); }
.sg-auth-primary:focus-visible, .sg-auth-provider:focus-visible, .sg-auth-danger-button:focus-visible { outline-color: var(--sg-primary); }
.sg-auth-link { color: var(--sg-primary); font-weight: 650; text-decoration: none; }
.sg-auth-link:hover { color: var(--sg-primary-hover); text-decoration: underline; text-underline-offset: .2rem; }
.sg-auth-check { display: inline-flex; align-items: center; gap: .55rem; color: var(--sg-muted); font-size: .825rem; cursor: pointer; }
.sg-auth-check input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--sg-primary); }
.sg-auth-help { margin: .4rem 0 0; color: var(--sg-muted); font-size: .75rem; line-height: 1.45; }
.sg-auth-footer { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--sg-line); color: var(--sg-muted); font-size: .875rem; text-align: center; }
.sg-auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .75rem; padding-top: .25rem; color: var(--sg-muted); font-size: .75rem; }
.sg-auth-divider > span:first-child, .sg-auth-divider > span:last-child { height: 1px; background: var(--sg-line); }
.sg-auth-errors { margin-bottom: 1.25rem; padding: .85rem 1rem; border: 1px solid #e3aaa8; border-radius: .5rem; background: #fff4f3; color: #7f2523; font-size: .875rem; }
.sg-auth-errors h2 { margin: 0; font-size: .875rem; }
.sg-auth-errors ul { margin: .5rem 0 0; padding-left: 1.15rem; }
.sg-auth-danger { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--sg-line); }
.sg-auth-danger h2 { margin: 0; color: var(--sg-ink); font-size: 1rem; }
.sg-auth-danger p { margin: .35rem 0 0; color: var(--sg-muted); font-size: .8rem; line-height: 1.5; }
.sg-auth-danger-button { min-height: 2.5rem; padding: .55rem .9rem; border: 1px solid #d18a87; border-radius: .5rem; background: var(--sg-surface); color: #8b2926; font-size: .8rem; font-weight: 700; }
.sg-auth-danger-button:hover { border-color: var(--sg-red); background: #fff4f3; }
.sg-error-layout { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--sg-bg); }
.sg-error-page { width: 100%; max-width: 36rem; }
.sg-error-brand { justify-content: center; margin: 0 auto 1rem; }
.sg-error-content { padding: 1.75rem; border: 1px solid var(--sg-line); border-radius: .5rem; background: var(--sg-surface); text-align: center; }
.sg-error-code { margin: 0 0 .5rem; color: var(--sg-primary); font-size: .75rem; font-weight: 750; }
.sg-error-content h1 { margin: 0; font-size: 1.5rem; letter-spacing: -.025em; }
.sg-error-content h1 + p { max-width: 42ch; margin: .6rem auto 1.25rem; color: var(--sg-muted); font-size: .875rem; line-height: 1.55; }
.sg-error-action { min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; padding: .5rem 1rem; border: 1px solid var(--sg-primary); border-radius: .5rem; background: var(--sg-primary); color: #fff; font-size: .875rem; font-weight: 700; text-decoration: none; }
.sg-error-action:hover { border-color: var(--sg-primary-hover); background: var(--sg-primary-hover); }
.sg-error-action:focus-visible { outline-color: var(--sg-primary); }
@media (max-width: 35rem) {
  .sg-auth-main { padding: 1rem 0 2rem; }
  .sg-auth-panel { padding: 1.25rem; }
}
.sg-pagination { max-width: 76rem; margin: 2rem auto 0; display: flex; justify-content: center; }
.sg-pagination.is-top { margin: 0 auto 1rem; }
.sg-pagination .pagination { display: flex; align-items: center; gap: 0.25rem; }
.sg-pagination .pagination > span { display: inline-flex; }
.sg-pagination .pagination a, .sg-pagination .pagination .current { min-width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 0.65rem; border: 1px solid var(--sg-line); border-radius: 0.5rem; background: var(--sg-surface); color: var(--sg-ink); font-size: 0.78rem; font-style: normal; font-weight: 700; text-decoration: none; }
.sg-pagination .pagination a:hover { border-color: var(--sg-line-strong); background: var(--sg-surface-soft); }
.sg-pagination .pagination .current { border-color: var(--sg-primary); background: var(--sg-primary); color: #fff; }
.sg-pagination .pagination .gap { min-width: 1.5rem; align-items: center; justify-content: center; color: var(--sg-muted); }
.sg-hidden-upload-form { display: none; }
.sg-icon-button { position: relative; width: 2.65rem; height: 2.65rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sg-surface-soft); font-size: 1.25rem; transition: background 150ms ease, transform 150ms ease; }
.sg-icon-button:hover { background: var(--sg-surface-strong); transform: translateY(-1px); }
.sg-icon-button .sg-icon-svg { width: 1.3rem; height: 1.3rem; }
.sg-language-button { width: 2.65rem; min-width: 2.65rem; height: 2.65rem; padding: 0; border-radius: 50%; color: var(--sg-ink); }
.sg-alert-dot { position: absolute; top: 0.4rem; right: 0.35rem; width: 0.63rem; height: 0.63rem; border: 2px solid #fff; border-radius: 50%; background: var(--sg-red); }
.sg-profile-button { min-height: 3rem; display: flex; align-items: center; gap: 0.65rem; padding: 0.25rem 0.45rem; border: 0; border-radius: 0.7rem; background: transparent; text-align: left; }
.sg-profile-button:hover { background: var(--sg-surface-soft); }
.sg-avatar { width: 2.35rem; height: 2.35rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--sg-primary); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.03em; }
.sg-avatar.is-large { width: 4rem; height: 4rem; font-size: 1.1rem; }
.sg-profile-copy { display: grid; gap: 0.08rem; min-width: 0; }
.sg-profile-copy strong { font-size: 0.8rem; }
.sg-profile-copy small { color: var(--sg-muted); font-size: 0.68rem; }
.sg-popover-wrap { position: relative; }
.sg-popover { position: absolute; z-index: 80; top: calc(100% + 0.65rem); right: 0; width: min(22rem, calc(100vw - 2rem)); overflow: hidden; border: 1px solid var(--sg-line); border-radius: 1rem; background: #fff; box-shadow: var(--sg-shadow-2); animation: sg-pop 150ms ease-out; }
/* Base right:0 is a fallback; command_center_controller.js sets an
   explicit inline `left` on open, clamped to the viewport, since neither
   fixed anchor side is safe for every trigger position at narrow widths. */
@keyframes sg-pop { from { opacity: 0; transform: translateY(-0.4rem) scale(0.98); } }
.sg-popover-heading { display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--sg-line); }
.sg-popover-heading button { border: 0; background: transparent; color: var(--sg-primary); font-size: 0.75rem; font-weight: 700; }
.sg-language-menu { width: 16.5rem; padding: 0; }
.sg-language-menu form { margin: 0; }
.sg-language-option { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border: 0; border-bottom: 1px solid var(--sg-line); background: #fff; font-size: 1.1rem; text-align: left; }
.sg-language-menu form:last-child .sg-language-option { border-bottom: 0; }
.sg-language-option:hover { background: var(--sg-bg); }
.sg-language-option > span:nth-child(2) { display: grid; gap: 0.05rem; font-size: 0.85rem; }
.sg-language-option > span:nth-child(2) strong { font-size: 0.84rem; }
.sg-language-option > span:nth-child(2) small { color: var(--sg-muted); font-size: 0.7rem; }
.sg-language-option.is-selected { background: var(--sg-primary-soft); }
.sg-language-option .sg-icon-svg { width: 1.1rem; height: 1.1rem; color: var(--sg-primary); }
.sg-profile-menu { width: 18.5rem; padding: 0.45rem; }
.sg-menu-person { display: flex; align-items: center; gap: 0.7rem; padding: 0.65rem 0.65rem 0.9rem; margin-bottom: 0.25rem; border-bottom: 1px solid var(--sg-line); }
.sg-menu-person > span:last-child { min-width: 0; display: grid; gap: 0.12rem; }
.sg-menu-person small { overflow: hidden; color: var(--sg-muted); font-size: 0.72rem; text-overflow: ellipsis; }
.sg-profile-menu > a, .sg-profile-menu > button, .sg-profile-menu > form button { width: 100%; display: flex; align-items: center; gap: 0.7rem; padding: 0.72rem; border: 0; border-radius: 0.65rem; background: transparent; color: var(--sg-ink); font-size: 0.82rem; text-align: left; text-decoration: none; }
.sg-profile-menu .sg-icon-svg { width: 1.15rem; height: 1.15rem; }
.sg-profile-menu > a:hover, .sg-profile-menu > button:hover, .sg-profile-menu > form button:hover { background: var(--sg-surface-soft); }
.sg-profile-menu form { margin: 0; }
.sg-menu-signout { color: var(--sg-red) !important; }

.sg-layout { min-height: 100vh; padding-top: var(--sg-header); display: grid; grid-template-columns: var(--sg-sidebar) minmax(0, 1fr); }
.sg-sidebar { position: fixed; z-index: 20; inset: var(--sg-header) auto 0 0; width: var(--sg-sidebar); display: flex; flex-direction: column; padding: 1.35rem 0.8rem 1rem; border-right: 1px solid var(--sg-line); background: var(--sg-surface); }
.sg-sidebar-label { margin: 0 0 0.55rem 0.7rem; color: var(--sg-muted); font-size: 0.67rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.sg-sidebar nav { display: grid; gap: 0.2rem; }
.sg-nav-item { position: relative; min-height: 2.9rem; display: grid; grid-template-columns: 1.75rem 1fr auto; align-items: center; gap: 0.55rem; padding: 0 0.85rem; border: 0; border-radius: 0.75rem; background: transparent; color: var(--sg-muted); text-align: left; text-decoration: none; }
.sg-nav-item > span:first-child { font-size: 1.2rem; text-align: center; }
.sg-nav-item > .sg-icon-svg { width: 1.3rem; height: 1.3rem; justify-self: center; }
.sg-nav-item > span:nth-child(2) { font-size: 0.85rem; font-weight: 650; }
.sg-nav-item small { min-width: 1.45rem; padding: 0.12rem 0.32rem; border-radius: 999px; background: var(--sg-surface-soft); color: var(--sg-muted); font-size: 0.64rem; text-align: center; }
.sg-nav-item i { width: 0.48rem; height: 0.48rem; border-radius: 50%; background: var(--sg-gold); }
.sg-nav-item:hover { background: var(--sg-bg); color: var(--sg-ink); }
.sg-nav-item.is-active { background: var(--sg-primary-soft); color: var(--sg-primary-hover); }
.sg-nav-item.is-active::before { content: ""; position: absolute; left: -0.8rem; width: 0.22rem; height: 1.6rem; border-radius: 0 0.25rem 0.25rem 0; background: var(--sg-primary); }
.sg-nav-item.is-active small { background: rgba(11, 113, 56, 0.12); color: var(--sg-primary); }
.sg-path-card { margin-top: 2rem; padding: 1rem; border: 1px solid var(--sg-line); border-radius: 1rem; background: var(--sg-bg); }
.sg-path-card > strong { display: block; margin-top: 0.35rem; font-size: 0.88rem; line-height: 1.3; }
.sg-path-card p { margin: 0.5rem 0 0; color: var(--sg-muted); font-size: 0.7rem; line-height: 1.45; }
.sg-path-card button { margin-top: 0.75rem; padding: 0; border: 0; background: transparent; color: var(--sg-primary); font-size: 0.72rem; font-weight: 750; }
.sg-progress-track { height: 0.35rem; margin-top: 0.75rem; overflow: hidden; border-radius: 999px; background: var(--sg-line); }
.sg-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--sg-primary), #42a857); }
.sg-sidebar-foot { margin: auto 0.65rem 0; color: var(--sg-muted); font-size: 0.67rem; line-height: 1.4; }
.sg-main { grid-column: 2; min-width: 0; height: calc(100vh - var(--sg-header)); overflow-y: auto; padding: 2.15rem clamp(1.25rem, 3.2vw, 3rem) 5rem; }
.sg-section { width: 100%; max-width: 90rem; margin: 0 auto; }
.sg-page-heading { min-height: 4.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.sg-page-heading h1 { margin: 0.18rem 0 0.2rem; font-size: clamp(1.75rem, 3.2vw, 2.65rem); line-height: 1.05; letter-spacing: -0.045em; }
.sg-page-heading p { margin: 0; color: var(--sg-muted); font-size: 0.88rem; }
.sg-eyebrow { display: block; color: var(--sg-muted); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.11em; line-height: 1.3; text-transform: uppercase; }

.sg-primary-button, .sg-tonal-button, .sg-quiet-button { min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.58rem 1.1rem; border-radius: 999px; font-size: 0.78rem; font-weight: 760; line-height: 1; text-decoration: none; white-space: nowrap; }
.sg-primary-button { border: 1px solid var(--sg-primary); background: var(--sg-primary); color: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); }
.sg-primary-button:hover { border-color: var(--sg-primary-hover); background: var(--sg-primary-hover); box-shadow: var(--sg-shadow-1); }
.sg-tonal-button { border: 1px solid transparent; background: var(--sg-surface-strong); color: var(--sg-ink); }
.sg-tonal-button:hover { border-color: var(--sg-line-strong); background: #e8ece6; }
.sg-quiet-button { border: 1px solid transparent; background: transparent; color: var(--sg-primary); }
.sg-quiet-button:hover { background: rgba(11, 113, 56, 0.08); }
.sg-text-button { padding: 0.45rem; border: 0; background: transparent; color: var(--sg-primary); font-size: 0.76rem; font-weight: 760; }
.sg-button-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem; }

.sg-hero { position: relative; min-height: 17.5rem; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 0.55fr); align-items: center; gap: 2rem; overflow: hidden; padding: clamp(1.5rem, 3.5vw, 3rem); border-radius: 1.35rem; background: linear-gradient(120deg, #06381f 0%, #0a6233 58%, #087a3a 100%); color: #fff; box-shadow: var(--sg-shadow-1); transition: opacity 200ms ease, transform 200ms ease; }
.sg-hero.is-dismissed { opacity: 0; transform: scale(0.985); }
.sg-hero-copy { position: relative; z-index: 2; max-width: 48rem; margin: 0 auto; text-align: center; }
.sg-hero .sg-eyebrow { color: #c3eacb; }
.sg-hero h2 { max-width: 22ch; margin: 0.55rem 0 0; font-size: clamp(1.65rem, 3.4vw, 3rem); line-height: 1.02; letter-spacing: -0.045em; text-wrap: balance; }
.sg-hero-copy > p { max-width: 62ch; margin: 1rem 0 0; color: #d8ebdd; font-size: 0.9rem; line-height: 1.62; }
.sg-hero .sg-primary-button { border-color: #fff; background: #fff; color: #064524; }
.sg-hero .sg-primary-button:hover { background: #effbf1; }
.sg-hero-pattern { position: absolute; z-index: 1; inset: 0; overflow: hidden; opacity: 0.33; pointer-events: none; }
.sg-hero-pattern::before { content: ""; position: absolute; width: 40rem; height: 40rem; right: -18rem; top: -16rem; border: 5rem solid rgba(255, 255, 255, 0.16); border-radius: 50%; }
.sg-hero-pattern span { position: absolute; bottom: -5rem; width: 10rem; height: 23rem; transform: rotate(28deg); background: rgba(246, 189, 22, 0.55); }
.sg-hero-pattern span:nth-child(1) { right: 31%; }
.sg-hero-pattern span:nth-child(2) { right: 22%; bottom: -3rem; }
.sg-hero-pattern span:nth-child(3) { right: 13%; bottom: -1rem; }
.sg-match-ring { position: relative; z-index: 3; justify-self: center; width: 10.5rem; height: 10.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0.8rem solid rgba(255, 255, 255, 0.17); border-top-color: var(--sg-gold); border-right-color: var(--sg-gold); border-radius: 50%; background: rgba(3, 42, 22, 0.7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15); text-align: center; transform: rotate(4deg); }
.sg-match-ring > span { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.06em; }
.sg-match-ring small { font-size: 1rem; }
.sg-match-ring p { width: 9ch; margin: 0.12rem 0 0; color: #d7ebdb; font-size: 0.65rem; line-height: 1.25; }
.sg-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin: 2.5rem 0 0.9rem; }
.sg-section-heading h2 { margin: 0.22rem 0 0; font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -0.035em; }

.sg-inbox { min-height: 31rem; display: grid; grid-template-columns: minmax(22rem, 0.93fr) minmax(28rem, 1.15fr); overflow: hidden; border: 1px solid var(--sg-line); border-radius: 1.2rem; background: var(--sg-surface); box-shadow: var(--sg-shadow-1); }
.sg-inbox-list { min-width: 0; border-right: 1px solid var(--sg-line); }
.sg-list-toolbar { min-height: 3.15rem; display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; border-bottom: 1px solid var(--sg-line); color: var(--sg-muted); font-size: 0.7rem; }
.sg-list-toolbar button { border: 0; background: transparent; color: var(--sg-primary); font-size: 0.72rem; font-weight: 750; }
.sg-filter-strip { display: flex; gap: 0.35rem; overflow-x: auto; padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--sg-line); }
.sg-filter-strip button { padding: 0.35rem 0.65rem; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; font-size: 0.68rem; }
.sg-filter-strip button.is-selected { border-color: var(--sg-primary); background: var(--sg-primary-soft); color: var(--sg-primary); }
.sg-job-row { position: relative; width: 100%; display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: 0.8rem; padding: 0.95rem 1rem; border: 0; border-bottom: 1px solid var(--sg-line); background: #fff; text-align: left; }
.sg-job-row:last-child { border-bottom: 0; }
.sg-job-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0.24rem; background: transparent; }
.sg-job-row:hover { background: #f8faf7; }
.sg-job-row.is-selected { background: var(--sg-primary-soft); }
.sg-job-row.is-selected::before { background: var(--sg-primary); }
.sg-company-mark { position: relative; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--sg-line); border-radius: 0.65rem; background: #fff; color: var(--sg-blue); font-size: 0.67rem; font-weight: 850; letter-spacing: -0.02em; }
.sg-company-mark img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; box-sizing: border-box; padding: 0.35rem; object-fit: contain; background: #fff; }
.sg-company-mark.is-large { width: 3.8rem; height: 3.8rem; border-radius: 0.9rem; font-size: 0.78rem; }
.sg-company-mark.sbm { color: #0a528d; }
.sg-company-mark.bh { color: #136b41; }
.sg-company-mark.nsb { color: #3d315a; }
.sg-job-row-copy { min-width: 0; display: grid; gap: 0.2rem; }
.sg-row-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.85rem; }
.sg-row-top strong { min-width: 0; overflow: hidden; font-size: 0.86rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-row-top b { color: var(--sg-primary); font-size: 0.68rem; white-space: nowrap; }
.sg-job-row-copy > span:nth-child(2), .sg-job-row-copy small { overflow: hidden; color: var(--sg-muted); font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-job-row-copy small i { display: inline-block; width: 0.42rem; height: 0.42rem; margin-right: 0.22rem; border-radius: 50%; background: var(--sg-red); }
.sg-job-preview { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--sg-bg); }
.sg-job-preview.is-changing { animation: sg-preview 220ms ease; }
@keyframes sg-preview { from { opacity: 0.45; transform: translateX(0.3rem); } }
.sg-preview-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; align-items: start; }
.sg-preview-top h3 { margin: 0.25rem 0 0.15rem; font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -0.035em; }
.sg-preview-top p { margin: 0; color: var(--sg-muted); font-size: 0.75rem; }
.sg-save-button.is-saved, button.is-saved { color: #9a6b00; }
.sg-save-control { display: inline-flex; }
.sg-save-item-form { display: inline-flex; margin: 0; }
.sg-score-banner { display: flex; align-items: center; gap: 0.7rem; margin: 1.45rem 0 1.1rem; padding: 0.7rem 0.85rem; border-radius: 0.7rem; background: var(--sg-primary-soft); color: var(--sg-primary-hover); }
.sg-score-banner.is-low-fit { border-color: #efb6b3; background: #fde7e7; color: #8f2725; }
.sg-score-banner.is-medium-fit { border-color: #e5c55e; background: #fff2c2; color: #705000; }
.sg-score-banner.is-high-fit { border-color: #a9d8b6; background: var(--sg-primary-soft); color: var(--sg-primary-hover); }
.sg-score-banner strong { font-size: 0.9rem; }
.sg-score-banner span { font-size: 0.7rem; }
.sg-preview-description { margin: 0 0 1.25rem; color: #455048; font-size: 0.82rem; line-height: 1.62; }
.sg-field-label { display: block; margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 750; }
.sg-skill-list { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sg-skill-list span { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.4rem 0.62rem; border-radius: 0.5rem; background: #fff; color: var(--sg-primary); font-size: 0.68rem; font-weight: 650; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-skill-list .sg-icon-svg { width: 0.9rem; height: 0.9rem; }
.sg-skill-list span.is-gap { color: #8a5d00; box-shadow: inset 0 0 0 1px #e2c46d; }
.sg-inline-empty { width: 100%; margin: 0; padding: .65rem .75rem; border: 1px dashed var(--sg-line-strong); border-radius: .65rem; color: var(--sg-muted); font-size: .7rem; line-height: 1.45; }
.sg-preview-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.sg-source-note { margin: 1rem 0 0; color: var(--sg-muted); font-size: 0.65rem; line-height: 1.45; }

.sg-learning-section { margin-bottom: 1rem; }
.sg-rail-controls { display: flex; gap: 0.4rem; }
.sg-rail-controls button { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border: 1px solid var(--sg-line); border-radius: 50%; background: #fff; font-weight: 750; }
.sg-rail-controls button:hover { background: var(--sg-surface-soft); }
.sg-course-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17rem, 22rem); gap: 0.9rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; padding: 0 0 0.9rem; }
.sg-course-card { overflow: hidden; border: 1px solid var(--sg-line); border-radius: 1rem; background: #fff; scroll-snap-align: start; box-shadow: 0 1px 2px rgba(15, 35, 21, 0.04); }
.sg-course-cover { position: relative; width: 100%; min-height: 12.5rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; overflow: hidden; padding: 1rem; border: 0; background: #183c31; color: #fff; text-align: left; isolation: isolate; }
.sg-course-cover::before, .sg-course-cover::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; opacity: 0.65; transition: transform 260ms ease; }
.sg-course-cover::before { width: 13rem; height: 13rem; right: -4rem; top: -5rem; border: 2.5rem solid rgba(255, 255, 255, 0.16); }
.sg-course-cover::after { width: 10rem; height: 3rem; left: -2rem; bottom: 1.5rem; border-radius: 0; background: rgba(246, 189, 22, 0.75); transform: rotate(-12deg); }
.sg-course-cover:hover::before { transform: scale(1.08) rotate(5deg); }
.sg-course-cover.marine { background: linear-gradient(135deg, #0c4162, #137a7a); }
.sg-course-cover.infrastructure { background: linear-gradient(135deg, #2c315d, #765782); }
.sg-course-cover.urban { background: linear-gradient(135deg, #62420e, #a56d12); }
.sg-course-provider { margin-bottom: auto; padding: 0.25rem 0.45rem; border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 0.4rem; background: rgba(0, 0, 0, 0.18); font-size: 0.61rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.sg-course-cover strong { position: relative; z-index: 2; max-width: 21ch; margin-top: 2rem; font-size: 1.1rem; line-height: 1.15; letter-spacing: -0.025em; }
.sg-course-cover small { position: relative; z-index: 2; margin-top: 0.4rem; color: rgba(255, 255, 255, 0.82); font-size: 0.67rem; }
.sg-cover-arrow { position: absolute; right: 0.8rem; top: 0.8rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.sg-course-cover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sg-course-cover.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: -1; width: auto; height: auto; top: auto; right: auto; left: auto; bottom: auto;
  border: 0; border-radius: 0; opacity: 1; transform: none;
  background: linear-gradient(180deg, rgba(10, 22, 17, 0.1) 0%, rgba(10, 22, 17, 0.35) 55%, rgba(10, 22, 17, 0.86) 100%);
}
.sg-course-cover.has-image::after { content: none; }
.sg-course-cover.has-image:hover::before { transform: none; }
.sg-course-meta { min-height: 3.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.65rem 0.8rem; }
.sg-course-meta > span { color: var(--sg-muted); font-size: 0.69rem; }
.sg-course-meta button, .sg-catalog-meta button, .sg-result-card-top button { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sg-surface-soft); font-size: 1.05rem; }
.sg-save-icon { grid-area: 1 / 1; }
.sg-save-icon-filled { display: none; color: var(--sg-primary); }
button.is-saved .sg-save-icon-outline { display: none; }
button.is-saved .sg-save-icon-filled { display: block; }


.sg-job-index-controls { display: grid; gap: 0.55rem; margin-bottom: 1.3rem; }
.sg-job-index-controls .sg-discovery-toolbar { margin-bottom: 0; }
.sg-discovery-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; margin-bottom: 1.3rem; padding: 0.55rem; border: 1px solid var(--sg-line); border-radius: 1rem; background: #fff; }
.sg-index-search-toolbar { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.sg-index-filter-toolbar { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; background: var(--sg-surface-soft); }
.sg-discovery-toolbar label { min-width: 15rem; flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0 0.65rem; }
.sg-discovery-toolbar input.form-control { width: 100%; min-height: 2.4rem; padding: .5rem .65rem; border: 1px solid var(--sg-line-strong); border-radius: .5rem; outline: 0; background: var(--sg-surface); color: var(--sg-ink); font-size: 0.78rem; }
.sg-discovery-toolbar input.form-control::placeholder { color: var(--sg-muted); }
.sg-discovery-toolbar input.form-control:focus { border-color: var(--sg-primary); box-shadow: 0 0 0 3px rgba(11, 113, 56, .14); }
.sg-discovery-toolbar > input.sg-filter-search { width: 11rem; }
.sg-discovery-toolbar > button { min-height: 2.35rem; display: inline-flex; align-items: center; gap: 0.25rem; padding: 0 0.75rem; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; color: var(--sg-muted); font-size: 0.7rem; font-weight: 650; }
.sg-discovery-toolbar > button .sg-icon-svg { width: 1rem; height: 1rem; }
.sg-discovery-toolbar > button:hover, .sg-discovery-toolbar > button[aria-pressed="true"] { border-color: var(--sg-primary); background: var(--sg-primary-soft); color: var(--sg-primary); }
.sg-discovery-toolbar > select { min-height: 2.35rem; padding: 0 1.75rem 0 0.75rem; border: 1px solid var(--sg-line); border-radius: 999px; background: #fff; color: var(--sg-muted); font: inherit; font-size: 0.7rem; font-weight: 650; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.6rem center; background-size: 1rem; }
.sg-discovery-toolbar > select:focus-visible { outline: 2px solid var(--sg-primary); outline-offset: 1px; }
.sg-results-summary { display: flex; align-items: center; justify-content: space-between; margin: 0 0 0.75rem; color: var(--sg-muted); font-size: 0.7rem; }
.sg-results-summary strong { color: var(--sg-ink); font-size: 0.8rem; }
.sg-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.sg-result-card { min-height: 16rem; display: flex; flex-direction: column; padding: 1rem; border: 1px solid var(--sg-line); border-radius: 1rem; background: #fff; box-shadow: 0 1px 2px rgba(15, 35, 21, 0.04); cursor: pointer; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.sg-result-card:hover { border-color: var(--sg-line-strong); box-shadow: var(--sg-shadow-1); transform: translateY(-1px); }
.sg-result-card:active { transform: translateY(0); }
.sg-result-card-top { display: flex; align-items: center; justify-content: space-between; }
.sg-match-chip { width: fit-content; margin-top: 1rem; padding: 0.28rem 0.5rem; border-radius: 0.45rem; background: var(--sg-primary-soft); color: var(--sg-primary); font-size: 0.66rem; font-weight: 800; }
.sg-result-card h2 { margin: 0.65rem 0 0.3rem; font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.025em; }
.sg-result-card > p { margin: 0; color: var(--sg-muted); font-size: 0.72rem; line-height: 1.45; }
.sg-card-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 1rem; }
.sg-card-footer > span { max-width: 20ch; color: var(--sg-muted); font-size: 0.65rem; line-height: 1.45; }
.sg-card-footer .sg-tonal-button { min-height: 2.15rem; padding-inline: 0.8rem; }

.sg-course-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.sg-catalog-card { overflow: hidden; border: 1px solid var(--sg-line); border-radius: 1rem; background: #fff; }
.sg-catalog-card .sg-course-cover { min-height: 15rem; }
.sg-catalog-meta { min-height: 4.35rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.7rem 0.85rem; }
.sg-catalog-meta > div { min-width: 0; display: grid; gap: 0.15rem; }
.sg-catalog-meta > .sg-catalog-actions { display: flex; align-items: center; gap: 0.4rem; }
.sg-catalog-meta strong { overflow: hidden; font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-catalog-meta span { color: var(--sg-muted); font-size: 0.65rem; }
.sg-index-save-button { width: 2.15rem; height: 2.15rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sg-surface-soft); color: var(--sg-muted); }
.sg-index-save-button:hover { background: var(--sg-surface-strong); color: var(--sg-ink); }

.sg-profile-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); gap: 1rem; }
.sg-profile-card, .sg-resume-health, .sg-resume-panel { border: 1px solid var(--sg-line); border-radius: 1.15rem; background: #fff; box-shadow: var(--sg-shadow-1); }
.sg-profile-card { padding: clamp(1.25rem, 3vw, 2rem); }
.sg-profile-card-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.9rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--sg-line); }
.sg-profile-card-head h2 { margin: 0 0 0.2rem; font-size: 1.35rem; letter-spacing: -0.03em; }
.sg-profile-card-head p { margin: 0; color: var(--sg-muted); font-size: 0.75rem; }
.sg-completion-badge { padding: 0.4rem 0.6rem; border-radius: 0.5rem; background: var(--sg-primary-soft); color: var(--sg-primary); font-size: 0.68rem; font-weight: 760; }
.sg-profile-facts { display: grid; grid-template-columns: 1fr 1fr; }
.sg-profile-facts > div { min-width: 0; display: grid; gap: 0.35rem; padding: 1rem; border-bottom: 1px solid var(--sg-line); }
.sg-profile-facts > div:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--sg-line); }
.sg-profile-facts span { color: var(--sg-muted); font-size: 0.65rem; }
.sg-profile-facts strong { overflow: hidden; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-profile-actions { display: flex; gap: 0.55rem; padding-top: 1.2rem; }
.sg-resume-health { padding: 1.3rem; }
.sg-resume-health h2 { margin: 0.25rem 0 0.75rem; font-size: 1.25rem; }
.sg-health-item { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; padding: 0.85rem 0; border-top: 1px solid var(--sg-line); }
.sg-health-item > span { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--sg-surface-soft); font-size: 0.68rem; font-weight: 800; }
.sg-health-item > span.is-high { background: #ffe0dc; color: var(--sg-red); }
.sg-health-item strong { font-size: 0.75rem; }
.sg-health-item p { margin: 0.22rem 0 0; color: var(--sg-muted); font-size: 0.67rem; line-height: 1.45; }
.sg-ai-review-status { margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--sg-line); }
.sg-ai-review-status strong { font-size: 0.75rem; }
.sg-ai-review-status p { margin: 0.25rem 0 0; color: var(--sg-muted); font-size: 0.67rem; line-height: 1.45; }
.sg-resume-panel { display: grid; grid-template-columns: 1fr minmax(12rem, 0.55fr) auto; align-items: center; gap: 2rem; margin-top: 1rem; padding: clamp(1.25rem, 3vw, 2rem); }
.sg-resume-panel h2 { margin: 0.3rem 0; font-size: 1.2rem; }
.sg-resume-panel p { margin: 0; color: var(--sg-muted); font-size: 0.7rem; }
.sg-document-preview { height: 9rem; padding: 1rem; border: 1px solid var(--sg-line); border-radius: 0.35rem; background: #fbfbfa; box-shadow: 0 3px 12px rgba(15, 35, 21, 0.08); transform: rotate(-1deg); }
.sg-document-preview > div { display: grid; gap: 0.2rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--sg-ink); }
.sg-document-preview strong { font-size: 0.52rem; }
.sg-document-preview span { color: var(--sg-muted); font-size: 0.42rem; }
.sg-document-preview i { display: block; height: 0.3rem; margin-top: 0.55rem; border-radius: 999px; background: #d8ddd5; }
.sg-document-preview i.short { width: 65%; }
.sg-resume-panel-actions { display: grid; gap: 0.5rem; }
.sg-danger-button { min-height: 2.35rem; padding: 0 .85rem; border: 1px solid #e0aaa4; border-radius: .55rem; background: #fff7f5; color: #a33a2f; font: inherit; font-size: .72rem; font-weight: 700; }
.sg-danger-button:hover { border-color: #c96d63; background: #ffefec; }
.sg-danger-button:focus-visible { outline: 2px solid #c96d63; outline-offset: 2px; }

/* Shared modal surface: every full-screen popup uses this viewport-centered rule. */
.sg-dialog { position: fixed; inset: 0; width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; overscroll-behavior: contain; margin: auto; padding: 1.5rem; border: 0; border-radius: 1.25rem; background: #fff; color: var(--sg-ink); box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25); }
.sg-dialog::backdrop { background: rgba(9, 25, 14, 0.58); backdrop-filter: blur(3px); }
.sg-dialog[open] { animation: sg-dialog-in 180ms ease-out; }
@keyframes sg-dialog-in { from { opacity: 0; transform: translateY(0.75rem) scale(0.98); } }
.sg-dialog > form:first-child { float: right; margin: -0.5rem -0.5rem 0 0.75rem; }
.sg-dialog-close { width: 2.35rem; height: 2.35rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sg-surface-soft); font-size: 1.25rem; }
.sg-dialog-close .sg-icon-svg { width: 1.2rem; height: 1.2rem; }
.sg-dialog h2 { margin: 0.45rem 0 0.7rem; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.08; letter-spacing: -0.04em; }
.sg-dialog > p { color: var(--sg-muted); font-size: 0.82rem; line-height: 1.6; }
.sg-dialog-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.sg-dialog-meta span { padding: 0.35rem 0.55rem; border-radius: 0.45rem; background: var(--sg-surface-soft); color: var(--sg-muted); font-size: 0.68rem; }
.sg-dialog-note { margin-top: 1rem; padding: 0.85rem; border-left: 3px solid var(--sg-gold); background: #fff8dc; }
.sg-dialog-note strong { font-size: 0.74rem; }
.sg-dialog-note p { margin: 0.25rem 0 0; color: #67571d; font-size: 0.7rem; line-height: 1.45; }
.sg-dialog-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--sg-line); }
.sg-interest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem; }
.sg-interest-grid label { cursor: pointer; }
.sg-interest-grid input { position: absolute; opacity: 0; }
.sg-interest-grid span { min-height: 2.7rem; display: flex; align-items: center; padding: 0.6rem 0.75rem; border: 1px solid var(--sg-line); border-radius: 0.65rem; font-size: 0.7rem; font-weight: 650; }
.sg-interest-grid input:checked + span { border-color: var(--sg-primary); background: var(--sg-primary-soft); color: var(--sg-primary); }
.sg-interest-grid input:focus-visible + span { outline: 3px solid #1f72d6; outline-offset: 2px; }
.sg-interests-dialog { overflow: hidden; }
.sg-interests-form { min-height: 0; max-height: calc(100dvh - 12rem); display: flex; flex-direction: column; }
.sg-interests-form .sg-interest-grid { min-height: 0; overflow-y: auto; padding-right: 0.25rem; }
.sg-interests-form .sg-dialog-actions { flex: none; margin-top: 0.75rem; background: #fff; }
.sg-resume-field { display: grid; gap: 0.45rem; margin-top: 1rem; font-size: 0.74rem; font-weight: 700; }
.sg-resume-field textarea { width: 100%; resize: vertical; padding: 0.85rem; border: 1px solid var(--sg-line-strong); border-radius: 0.7rem; background: #fff; font-size: 0.78rem; font-weight: 400; line-height: 1.55; }
.sg-resume-field small { color: var(--sg-muted); font-size: 0.65rem; font-weight: 400; }
.sg-suggestion { margin-top: 1rem; padding: 0.85rem; border-radius: 0.75rem; background: var(--sg-primary-soft); }
.sg-suggestion > span { color: var(--sg-primary); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sg-suggestion p { margin: 0.3rem 0 0.6rem; color: #31533b; font-size: 0.72rem; line-height: 1.5; }
.sg-suggestion button { padding: 0; border: 0; background: transparent; color: var(--sg-primary); font-size: 0.7rem; font-weight: 760; }
.sg-ai-suggestions { margin-top: 1rem; padding: 0.85rem; border-radius: 0.75rem; border: 1px dashed var(--sg-line-strong); }
.sg-ai-suggestions > span { color: var(--sg-primary); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sg-ai-suggestions strong { display: block; margin-top: 0.7rem; font-size: 0.68rem; }
.sg-ai-suggestions p, .sg-ai-suggestions ul { margin: 0.3rem 0 0; font-size: 0.72rem; line-height: 1.5; color: #31533b; }
.sg-ai-suggestions ul { padding-left: 1.1rem; }
.sg-resume-findings { display: grid; gap: 0.5rem; }

.sg-bento-grid { display: flex; flex-direction: column; gap: 1.75rem; }
.sg-home-separator { width: min(100%, 42rem); margin: 0 auto; border: 0; border-top: 1px solid var(--sg-line); }
.sg-recommendations-card { width: min(100%, 52rem); margin-inline: auto; display: flex; flex-direction: column; }
.sg-recommendations-card > h2 { margin: 0.5rem 0 0; font-size: 1.15rem; letter-spacing: -0.02em; }
.sg-recommendations-card > p { margin: 0.4rem 0 1rem; color: var(--sg-muted); font-size: 0.78rem; line-height: 1.5; }
.sg-recommendation-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; flex: 1; }
.sg-recommendation-item { min-width: 0; display: flex; align-items: flex-start; gap: 0.6rem; width: 100%; padding: 0.7rem 0.75rem; border: 1px solid var(--sg-line); border-radius: 0.85rem; background: var(--sg-bg); text-align: left; font: inherit; }
.sg-recommendation-item:hover { border-color: var(--sg-primary); background: var(--sg-primary-soft); }
.sg-recommendation-item .sg-priority-icon { flex: none; width: 0.85rem; height: 0.85rem; margin-top: 0.3rem; color: var(--sg-line-strong); }
.sg-recommendation-item[data-priority="high"] .sg-priority-icon { color: var(--sg-red, #d64545); }
.sg-recommendation-item[data-priority="medium"] .sg-priority-icon { color: var(--sg-gold); }
.sg-recommendation-item span { flex: 1; font-size: 0.76rem; line-height: 1.4; color: var(--sg-ink); }
.sg-recommendation-item .sg-icon-svg:not(.sg-priority-icon) { flex-shrink: 0; width: 1rem; height: 1rem; color: var(--sg-muted); }
@media (max-width: 47.999rem) {
  .sg-recommendation-list { grid-template-columns: 1fr; }
}
.sg-recommendations-empty { display: grid; gap: 0.6rem; flex: 1; align-content: center; text-align: center; padding: 1rem; color: var(--sg-muted); font-size: 0.78rem; line-height: 1.5; }
.sg-ai-analysis-form { display: grid; gap: .75rem; margin-top: 1rem; }
.sg-ai-consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .55rem; color: var(--sg-muted); font-size: .7rem; line-height: 1.45; text-align: left; }
.sg-ai-consent input { width: 1rem; height: 1rem; margin-top: .05rem; accent-color: var(--sg-primary); }
.sg-ai-consent input:focus-visible { outline: 2px solid var(--sg-primary); outline-offset: 2px; }
.sg-ai-analysis-form .sg-primary-button { justify-self: end; }
.sg-recommendations-footer { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--sg-line); font-size: 0.68rem; color: var(--sg-muted); }

.sg-resume-text-dialog { width: min(42rem, calc(100% - 2rem)); }
.sg-resume-text-note { margin: 0 0 1rem; padding: 0.85rem; border-radius: 0.75rem; background: var(--sg-primary-soft); }
.sg-resume-text-note > span { color: var(--sg-primary); font-size: 0.63rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.sg-resume-text-note p { margin: 0.3rem 0 0; color: #31533b; font-size: 0.78rem; line-height: 1.55; }
.sg-resume-text-note.is-additive { background: #fff8dc; }
.sg-resume-text-note .sg-location-guidance { padding-top: .55rem; border-top: 1px solid rgba(103,87,29,.2); color: #67571d; font-weight: 650; }
.sg-resume-text-panel { max-height: 22rem; overflow-y: auto; padding: 1.1rem; border: 1px solid var(--sg-line); border-radius: 0.85rem; background: var(--sg-bg); white-space: pre-wrap; font-size: 0.78rem; line-height: 1.7; color: var(--sg-ink); }
.sg-resume-text-panel mark { background: #ffe27a; color: inherit; border-radius: 0.2rem; padding: 0.05rem 0.15rem; scroll-margin: 2rem; }

@media (max-width: 48rem) {
  .sg-bento-grid { grid-template-columns: 1fr; }
}
.sg-empty-state { padding: 1.25rem; color: var(--sg-muted); font-size: 0.75rem; text-align: center; }
.sg-rail-empty, .sg-catalog-empty { width: 100%; min-height: 9rem; display: grid; place-items: center; border: 1px dashed var(--sg-line-strong); border-radius: 1rem; background: rgba(255,255,255,.65); }
.sg-catalog-empty { grid-column: 1 / -1; }
.sg-dialog-toast { position: fixed; z-index: 2; left: 50%; bottom: 1.25rem; max-width: calc(100vw - 2rem); padding: .75rem 1rem; border-radius: .65rem; background: #152019; color: #fff; box-shadow: var(--sg-shadow-2); font-size: .78rem; transform: translateX(-50%); animation: sg-dialog-toast-in 180ms ease-out; }
@keyframes sg-dialog-toast-in { from { opacity: 0; transform: translate(-50%, .75rem); } }
.sg-mobile-nav { display: none; }

/* Focused dashboard welcome: one obvious action on a calm, neutral surface. */
.sg-today-utility { min-height: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sg-hero { min-height: 0; grid-template-columns: 1fr; align-items: center; padding: 1.25rem 1rem 1.5rem; border: 0; background: transparent; color: var(--sg-ink); box-shadow: none; }
.sg-hero::after { display: none; }
.sg-hero .sg-eyebrow { color: var(--sg-primary); }
.sg-hero h1 { max-width: 18ch; margin: .55rem 0 .45rem; font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: .98; letter-spacing: -.05em; }
.sg-hero-copy > p { max-width: 42rem; margin: 0 auto; color: var(--sg-muted); font-size: .9rem; line-height: 1.55; }
.sg-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; margin-top: 1.5rem; }
.sg-hero-actions .sg-icon-svg { width: 1rem; height: 1rem; }

/* Job-board master/detail layout. It keeps the scan speed of an inbox while
   leaving the full real posting visible without opening a desktop modal. */
.sg-jobs-workspace { min-height: 36rem; display: grid; grid-template-columns: minmax(19rem, .78fr) minmax(28rem, 1.22fr); overflow: hidden; border: 1px solid var(--sg-line); border-radius: 1.25rem; background: #fff; box-shadow: var(--sg-shadow-1); }
.sg-job-index-list { max-height: 46rem; overflow-y: auto; border-right: 1px solid var(--sg-line); background: #fff; }
.sg-job-index-row { position: relative; width: 100%; min-height: 6.6rem; display: grid; grid-template-columns: 2.8rem minmax(0,1fr) auto; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 0; border-bottom: 1px solid var(--sg-line); background: #fff; color: var(--sg-ink); text-align: left; }
.sg-job-index-row:hover { background: var(--sg-bg); }
.sg-job-index-row.is-selected { background: var(--sg-primary-soft); box-shadow: inset .25rem 0 0 var(--sg-primary); }
.sg-job-index-row > .sg-icon-svg { width: 1rem; height: 1rem; color: var(--sg-muted); }
.sg-job-index-copy { min-width: 0; display: grid; gap: .28rem; }
.sg-job-index-copy > span:nth-child(2), .sg-job-index-copy small { overflow: hidden; color: var(--sg-muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-job-index-preview { min-width: 0; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--sg-bg); }
.sg-job-index-preview.is-changing { animation: sg-preview 220ms ease; }
.sg-clear-filters { border-color: #9eb9d1 !important; background: #edf5fc !important; color: var(--sg-blue) !important; }

/* Review progress/report use their own top-layer surfaces, so the action that
   triggered the review never remains frozen behind another modal. */
.sg-review-status { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; width: min(30rem, calc(100% - 2rem)); min-height: 4.25rem; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .75rem; padding: .8rem 1rem; border: 1px solid var(--sg-line-strong); border-radius: .65rem; background: #fff; color: var(--sg-ink); box-shadow: 0 2px 8px rgba(15,35,21,.1); text-decoration: none; }
.sg-review-status[data-state="complete"]:hover { border-color: var(--sg-primary); }
.sg-review-status:focus-visible { outline: 2px solid var(--sg-primary); outline-offset: 3px; }
.sg-review-status-indicator { width: 1rem; height: 1rem; border: 2px solid var(--sg-line-strong); border-top-color: var(--sg-primary); border-radius: 50%; animation: sg-spin .8s linear infinite; }
@keyframes sg-spin { to { transform: rotate(360deg); } }
.sg-review-status-copy { min-width: 0; display: grid; gap: .15rem; }
.sg-review-status-copy strong { font-size: .78rem; }
.sg-review-status-copy > span { overflow: hidden; color: var(--sg-muted); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.sg-review-status-action { display: inline-flex; align-items: center; gap: .35rem; color: var(--sg-primary); font-size: .72rem; font-weight: 750; text-decoration: none; }
.sg-review-status-action:hover { color: var(--sg-primary-hover); text-decoration: underline; }
.sg-review-status-action .sg-icon-svg { width: 1rem; height: 1rem; }
.sg-review-status[data-state="complete"] .sg-review-status-indicator { border: 0; background: var(--sg-primary); animation: none; }
.sg-review-status[data-state="failed"] .sg-review-status-indicator { border: 0; background: var(--sg-red); animation: none; }
.sg-analysis-report { width: min(38rem, calc(100% - 2rem)); }
.sg-analysis-report > p { padding: .85rem; border-radius: .8rem; background: var(--sg-primary-soft); color: #31533b; }
.sg-report-dot { width: .65rem; height: .65rem; flex: 0 0 auto !important; margin-top: .3rem; border-radius: 50%; background: var(--sg-gold); }

/* New-account setup has its own chrome and content rhythm. */
.sg-onboarding-layout { min-height: 100vh; background: var(--sg-bg); }
.sg-onboarding-layout > .sg-breadcrumb-bar { width: calc(100% - 2rem); max-width: 72rem; margin: 0 auto; padding: .75rem 0 0; }
.sg-onboarding-layout > .sg-breadcrumb-bar nav { max-width: none; }
.sg-onboarding-shell { width: calc(100% - 2rem); max-width: 72rem; min-height: 0; margin: 0 auto; padding: .75rem 0 2rem; background: transparent; }
.sg-onboarding-brand { display: flex; align-items: center; justify-content: space-between; margin: 0 0 1.25rem; }
.sg-onboarding-brand img { width: 10rem; height: auto; }
.sg-onboarding-brand span { color: var(--sg-muted); font-size: .72rem; font-weight: 750; }
.sg-onboarding-intro { max-width: 42rem; }
.sg-onboarding-intro h1 { margin: .35rem 0 .5rem; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.sg-onboarding-intro p { margin: 0; color: var(--sg-muted); font-size: .9rem; line-height: 1.6; }
.sg-onboarding-interest-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; margin: 1.25rem 0 0; padding: 0; border: 0; }
.sg-onboarding-interest-grid label { cursor: pointer; }
.sg-onboarding-interest-grid input { position: absolute; opacity: 0; }
.sg-onboarding-interest-grid span { min-height: 3rem; display: flex; align-items: center; gap: .4rem; padding: .55rem .7rem; border: 1px solid var(--sg-line); border-radius: .6rem; background: var(--sg-bg); font-size: .75rem; font-weight: 700; transition: 150ms ease; }
.sg-onboarding-interest-grid .sg-icon-svg { width: 1rem; height: 1rem; opacity: 0; color: var(--sg-primary); }
.sg-onboarding-interest-grid input:checked + span { border-color: var(--sg-primary); background: var(--sg-primary-soft); color: var(--sg-primary-hover); box-shadow: inset 0 0 0 1px var(--sg-primary); }
.sg-onboarding-interest-grid input:checked + span .sg-icon-svg { opacity: 1; }
.sg-onboarding-interest-grid input:focus-visible + span { outline: 3px solid #1f72d6; outline-offset: 2px; }
.sg-onboarding-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--sg-line); }
.sg-onboarding-footer p { margin: 0; color: var(--sg-muted); font-size: .7rem; }
.sg-onboarding-footer > div { display: flex; gap: .55rem; }
.sg-onboarding-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.sg-onboarding-resource-form { display: grid; align-content: start; gap: .75rem; }
.sg-onboarding-resource-form > .sg-primary-button, .sg-onboarding-resource-form > .sg-tonal-button { justify-self: end; }
.sg-uploaded-file { margin: 0; color: var(--sg-primary-hover); font-size: .7rem; font-weight: 700; overflow-wrap: anywhere; }
.sg-onboarding-field { display: grid; align-content: center; gap: .55rem; padding: 1.2rem; border: 1px solid var(--sg-line); border-radius: 1rem; background: var(--sg-bg); }
.sg-onboarding-field > span { font-size: .76rem; font-weight: 800; }
.sg-onboarding-field select { width: 100%; min-height: 3rem; padding: 0 .8rem; border: 1px solid var(--sg-line-strong); border-radius: .7rem; background: #fff; color: var(--sg-ink); }
.sg-onboarding-field small { color: var(--sg-muted); font-size: .67rem; }
.sg-upload-zone { min-height: 13rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.2rem; border: 2px dashed var(--sg-line-strong); border-radius: 1rem; background: #fbfcfa; text-align: center; cursor: pointer; }
.sg-upload-zone > .sg-icon-svg { width: 2rem; height: 2rem; color: var(--sg-primary); }
.sg-upload-zone strong { font-size: .86rem; }
.sg-upload-zone span { color: var(--sg-muted); font-size: .68rem; }
.sg-upload-zone input { max-width: 100%; margin-top: .5rem; font-size: .7rem; }

@media (max-width: 1120px) {
  :root { --sg-sidebar: 5.5rem; }
  .sg-topbar { grid-template-columns: 10rem minmax(0, 1fr); }
  .sg-sidebar { align-items: center; padding-inline: 0.4rem; }
  .sg-sidebar-label, .sg-path-card, .sg-sidebar-foot { display: none; }
  .sg-sidebar nav { width: 100%; }
  .sg-nav-item { min-height: 3.9rem; grid-template-columns: 1fr; grid-template-rows: auto auto; place-items: center; gap: 0.12rem; padding: 0.45rem 0.2rem; text-align: center; }
  .sg-nav-item > span:first-child { font-size: 1.15rem; }
  .sg-nav-item > span:nth-child(2) { font-size: 0.61rem; }
  .sg-nav-item small, .sg-nav-item i { position: absolute; right: 0.7rem; top: 0.45rem; }
  .sg-inbox { grid-template-columns: minmax(20rem, 0.9fr) minmax(24rem, 1.1fr); }
  .sg-job-grid, .sg-course-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-onboarding-interest-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  :root { --sg-header: 4.25rem; }
  .sg-topbar { grid-template-columns: 9rem minmax(0, 1fr); gap: 0.75rem; padding: 0 0.8rem; }
  .sg-brand-logo { width: 8rem; }
  .sg-profile-copy, .sg-profile-button > span:last-child { display: none; }
  .sg-sidebar { display: none; }
  .sg-layout { display: block; padding-top: var(--sg-header); }
  .sg-main { height: auto; min-height: calc(100vh - var(--sg-header)); padding: 1.35rem 1rem 6rem; overflow: visible; }
  .sg-inbox { grid-template-columns: 1fr; }
  .sg-inbox-list { border-right: 0; }
  .sg-job-preview { border-top: 1px solid var(--sg-line); }
  .sg-profile-layout { grid-template-columns: 1fr; }
  .sg-resume-panel { grid-template-columns: 1fr auto; }
  .sg-resume-panel-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .sg-resume-panel-actions .sg-danger-button { grid-column: 1 / -1; }
  .sg-mobile-nav { position: fixed; z-index: 45; inset: auto 0 0 0; min-height: 4.2rem; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0.35rem 0.5rem calc(0.35rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--sg-line); background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(16px); }
  .sg-review-status { right: .75rem; bottom: 5.2rem; width: calc(100% - 1.5rem); }
.sg-mobile-nav button, .sg-mobile-nav a { display: grid; place-items: center; gap: 0.12rem; border: 0; border-radius: 0.65rem; background: transparent; color: var(--sg-muted); font-size: 0.6rem; font-weight: 650; text-decoration: none; }
  .sg-mobile-nav button span { font-size: 1.1rem; }
  .sg-mobile-nav button .sg-icon-svg { width: 1.3rem; height: 1.3rem; }
  .sg-mobile-nav button.is-active { background: var(--sg-primary-soft); color: var(--sg-primary); }
  .sg-jobs-workspace { display: block; min-height: 0; }
  .sg-job-index-list { max-height: none; border-right: 0; }
  .sg-job-index-preview { display: none; }
  .sg-onboarding-interest-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .sg-topbar { grid-template-columns: minmax(7rem, 1fr) auto; }
  .sg-page-heading { align-items: flex-start; flex-direction: column; gap: 0.8rem; }
  .sg-page-heading .sg-tonal-button { width: 100%; }
  .sg-today-utility { align-items: flex-start; }
  .sg-today-utility .sg-tonal-button { min-height: 2.25rem; padding-inline: .8rem; }
  .sg-hero { min-height: 0; grid-template-columns: 1fr; align-items: center; gap: 1rem; padding: 1rem; }
  .sg-hero h1 { font-size: 2.25rem; }
  .sg-hero-copy { padding-top: 0; }
  .sg-section-heading { align-items: center; }
  .sg-inbox { min-height: auto; }
  .sg-job-row { grid-template-columns: 2.5rem minmax(0, 1fr); padding-inline: 0.75rem; }
  .sg-company-mark { width: 2.4rem; height: 2.4rem; }
  .sg-job-preview { padding: 1rem; }
  .sg-preview-top { grid-template-columns: auto 1fr; }
  .sg-preview-top .sg-save-button { position: absolute; right: 1.1rem; margin-top: 4.1rem; }
  .sg-score-banner { align-items: flex-start; flex-direction: column; gap: 0.12rem; }
  .sg-preview-actions { display: grid; }
  .sg-course-rail { grid-auto-columns: 84%; }
  .sg-rail-controls { display: none; }
  .sg-job-grid, .sg-course-catalog { grid-template-columns: 1fr; }
  .sg-discovery-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
  .sg-discovery-toolbar label { grid-column: 1 / -1; min-width: 0; border-bottom: 1px solid var(--sg-line); }
  .sg-discovery-toolbar > input.sg-filter-search { width: 100%; min-width: 0; }
  .sg-discovery-toolbar > select { width: 100%; min-width: 0; }
  .sg-discovery-toolbar .sg-clear-filters { grid-column: 1 / -1; justify-content: center; }
  .sg-job-index-row { min-height: 6rem; grid-template-columns: 2.5rem minmax(0,1fr) auto; padding-inline: .75rem; }
  .sg-job-dialog { margin: auto .5rem .5rem; width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 1.25rem 1.25rem .8rem .8rem; }
  .sg-profile-card-head { grid-template-columns: auto 1fr; }
  .sg-completion-badge { grid-column: 1 / -1; width: fit-content; }
  .sg-profile-facts { grid-template-columns: 1fr; }
  .sg-profile-facts > div:nth-child(odd) { padding-left: 1rem; border-right: 0; }
  .sg-profile-actions { display: grid; }
  .sg-resume-panel { grid-template-columns: 1fr; }
  .sg-document-preview { width: 70%; }
  .sg-interest-grid { grid-template-columns: 1fr; }
  .sg-dialog-actions { flex-direction: column-reverse; }
  .sg-dialog-actions form, .sg-dialog-actions button, .sg-dialog-actions a { width: 100%; }
  .sg-interests-dialog .sg-dialog-actions { position: sticky; z-index: 2; bottom: -1.5rem; margin-right: -1.5rem; margin-left: -1.5rem; padding: 1rem 1.5rem 1.5rem; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), #fff 1rem); box-shadow: 0 -1px 0 var(--sg-line); }
  .sg-review-status { grid-template-columns: auto minmax(0,1fr); }
  .sg-review-status-action { grid-column: 2; justify-self: start; }
  .sg-onboarding-shell { padding: 1rem 0 2rem; }
  .sg-onboarding-brand { margin-bottom: 1rem; }
  .sg-onboarding-interest-grid, .sg-onboarding-fields { grid-template-columns: 1fr; }
  .sg-onboarding-footer { align-items: stretch; flex-direction: column; }
  .sg-onboarding-footer > div { display: grid; }
  .sg-onboarding-footer .sg-primary-button, .sg-onboarding-footer .sg-tonal-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
