@font-face {
  font-family: "Manrope Media";
  src: url("/site-assets/assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --navy: #071632;
  --navy-2: #0d2347;
  --green: #00c875;
  --green-dark: #008d55;
  --mint: #e1f8ee;
  --bg: #f2f5f8;
  --white: #fff;
  --ink: #152036;
  --muted: #718097;
  --line: #dce3ea;
  --danger: #b63737;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope Media", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 15px; top: -70px; z-index: 1000; padding: 10px 14px; background: var(--green); color: var(--navy); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 15px; }
.eyebrow, .panel-kicker { margin: 0 0 14px; color: var(--green); font-size: .69rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow.dark, .panel-kicker { color: var(--green-dark); }

.login-shell { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.login-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 70% 75%, rgba(0,200,117,.23), transparent 33%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    var(--navy);
  background-size: auto, 56px 56px, 56px 56px, auto;
}
.login-logo { display: block; width: 180px; }
.login-logo img, .sidebar-logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
.login-brand h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 5vw, 5.6rem); letter-spacing: -.06em; line-height: .98; }
.login-brand > div > p:last-child { max-width: 610px; margin: 28px 0 0; color: #afbdd1; font-size: 1.08rem; line-height: 1.65; }
.login-principles { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); color: #94a4bc; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.login-principles span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 1px 0; border-radius: 50%; background: var(--green); }
.login-panel { display: grid; place-items: center; min-height: 100vh; padding: 45px; background: white; }
.login-box { width: min(430px, 100%); }
.login-box h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.045em; line-height: 1.05; }
.login-help { margin: 20px 0 33px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.login-box form { display: grid; }
.login-box label { margin: 16px 0 7px; color: #3b485b; font-size: .77rem; font-weight: 780; }
.login-box input { width: 100%; height: 51px; padding: 0 15px; border: 1px solid #cdd6df; border-radius: 11px; outline: none; color: var(--ink); background: #fbfcfd; transition: border .2s, box-shadow .2s; }
.login-box input:focus { border-color: var(--green-dark); box-shadow: 0 0 0 4px rgba(0,200,117,.11); }
#mfa { max-width: 170px; letter-spacing: .24em; font-weight: 780; }
.form-error { min-height: 23px; margin-top: 12px; color: var(--danger); font-size: .78rem; }
.primary-button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 54px; margin-top: 6px; padding: 0 20px; border: 0; border-radius: 11px; color: var(--navy); background: var(--green); font-weight: 850; cursor: pointer; transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-1px); background: #13dd8d; }
.primary-button:disabled { opacity: .65; cursor: wait; }
.login-footer { display: flex; justify-content: space-between; gap: 15px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.login-footer a { color: var(--green-dark); font-weight: 750; }

.app-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; z-index: 50; display: flex; flex-direction: column; height: 100vh; padding: 27px 18px 20px; color: white; background: var(--navy); }
.sidebar-logo { width: 135px; margin: 0 12px; }
.product-name { display: grid; margin: 24px 12px 26px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.1); }
.product-name strong { font-size: .88rem; }
.product-name span { margin-top: 3px; color: #8496b2; font-size: .68rem; }
#module-nav { display: grid; gap: 4px; overflow-y: auto; }
#module-nav button, .sidebar-bottom a, .sidebar-bottom button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 43px; padding: 0 13px; border: 0; border-radius: 9px; color: #9cadc5; background: transparent; font-size: .79rem; font-weight: 690; text-align: left; text-decoration: none; cursor: pointer; }
#module-nav button:hover, #module-nav button.active, .sidebar-bottom a:hover, .sidebar-bottom button:hover { color: white; background: rgba(255,255,255,.08); }
#module-nav button.active { box-shadow: inset 3px 0 var(--green); }
.nav-icon { display: grid; place-items: center; width: 20px; color: var(--green); font-size: .95rem; }
.sidebar-bottom { display: grid; gap: 4px; margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.1); }
.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 35px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .77rem; }
.breadcrumb i { color: #c2cad4; font-style: normal; }
.breadcrumb strong { color: var(--ink); }
.user-menu { display: flex; align-items: center; gap: 12px; }
.user-copy { display: grid; justify-items: end; }
.user-copy strong { font-size: .78rem; }
.user-copy span { color: var(--muted); font-size: .65rem; }
.avatar, .profile-avatar { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--navy); background: var(--mint); font-size: .73rem; font-weight: 900; cursor: pointer; }
.sidebar-toggle { display: none; }
.main-content { width: min(1420px, 100%); margin: 0 auto; padding: 36px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.date-label { margin: 0 0 7px; color: var(--green-dark); font-size: .7rem; font-weight: 800; text-transform: capitalize; }
.welcome-row h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -.05em; }
.welcome-row > div:first-child > p:last-child { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.welcome-actions { display: flex; align-items: center; gap: 10px; }
.new-research-button { min-height: 49px; padding: 0 18px; border: 0; border-radius: 11px; color: var(--navy); background: var(--green); font-size: .74rem; font-weight: 850; cursor: pointer; }
.new-research-button span { margin-right: 6px; font-size: 1rem; }
.security-state { display: flex; align-items: center; gap: 11px; padding: 11px 15px; border: 1px solid #c9ecdc; border-radius: 11px; color: var(--green-dark); background: #f2fcf8; }
.security-state > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: white; background: var(--green-dark); font-size: .68rem; font-weight: 900; }
.security-state div { display: grid; }
.security-state strong { font-size: .71rem; }
.security-state small { color: #68887a; font-size: .62rem; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin-bottom: 18px; }
.metric-grid article { display: grid; min-height: 135px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.metric-grid article > span { color: var(--muted); font-size: .69rem; font-weight: 720; }
.metric-grid strong { align-self: end; margin-top: 10px; color: var(--navy); font-size: 2.25rem; letter-spacing: -.06em; }
.metric-grid small { color: #98a3b2; font-size: .62rem; }
.panel { margin-top: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.panel-header { display: flex; justify-content: space-between; gap: 25px; align-items: start; margin-bottom: 22px; }
.panel-kicker { margin-bottom: 5px; font-size: .6rem; }
.panel h2 { margin: 0; font-size: 1.17rem; letter-spacing: -.02em; }
.scope-note { padding: 6px 9px; border-radius: 999px; color: #687a91; background: var(--bg); font-size: .62rem; }
.research-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.research-item { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fcfdfe; }
.research-top { display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 999px; color: #52677e; background: #edf1f5; font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.status-campo { color: #7c5811; background: #fff4d7; }
.status-concluida { color: #087549; background: #dcf6e9; }
.status-analise { color: #41528a; background: #e9edff; }
.registration { color: var(--muted); font-size: .6rem; }
.research-item h3 { margin: 15px 0 5px; font-size: .95rem; line-height: 1.35; }
.research-detail { margin: 0; color: var(--muted); font-size: .67rem; }
.progress { display: block; width: 100%; height: 6px; margin: 18px 0 7px; overflow: hidden; border: 0; border-radius: 999px; appearance: none; background: #e8edf2; }
.progress::-webkit-progress-bar { border-radius: inherit; background: #e8edf2; }
.progress::-webkit-progress-value { border-radius: inherit; background: var(--green); }
.progress::-moz-progress-bar { border-radius: inherit; background: var(--green); }
.research-footer { display: flex; justify-content: space-between; gap: 15px; color: #8190a3; font-size: .59rem; }
.research-modules { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.research-modules span { padding: 4px 7px; border-radius: 6px; color: #506176; background: #eef3f6; font-size: .55rem; font-weight: 720; }
.lower-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.approval-list, .role-list { display: grid; gap: 9px; }
.approval-item, .role-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #edf0f3; }
.approval-item:last-child, .role-item:last-child { border-bottom: 0; }
.approval-item div, .role-item div { display: grid; }
.approval-item strong, .role-item strong { font-size: .73rem; }
.approval-item small, .role-item small { margin-top: 3px; color: var(--muted); font-size: .61rem; }
.approval-badge { padding: 5px 8px; border-radius: 999px; color: #846015; background: #fff4d5; font-size: .55rem; font-weight: 800; }
.role-item { justify-content: flex-start; }
.role-marker { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; color: var(--green-dark); background: var(--mint); font-size: .65rem; font-weight: 900; }
.empty-state, .loading-state { grid-column: 1 / -1; padding: 25px; border: 1px dashed #cbd4dc; border-radius: 12px; color: var(--muted); font-size: .75rem; text-align: center; }
.empty-state.good { color: #3e735c; border-color: #b9e5d1; background: #f5fcf8; }

.draft-grid { display: grid; gap: 10px; }
.draft-item { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.draft-item > div { display: grid; gap: 3px; }
.draft-item span { color: var(--green-dark); font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.draft-item strong { font-size: .78rem; }
.draft-item small { color: var(--muted); font-size: .61rem; }
.secondary-button, .quiet-button, .primary-inline, .back-button { min-height: 42px; padding: 0 15px; border-radius: 9px; font-size: .7rem; font-weight: 800; cursor: pointer; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: white; }
.quiet-button { border: 0; color: #607086; background: transparent; }
.primary-inline { border: 0; color: var(--navy); background: var(--green); }
.secondary-button:disabled, .quiet-button:disabled, .primary-inline:disabled { opacity: .5; cursor: not-allowed; }

.builder { width: min(1480px, 100%); margin: 0 auto; }
.builder-header { display: grid; grid-template-columns: 170px 1fr auto; align-items: start; gap: 28px; margin-bottom: 25px; }
.builder-header h1 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.15rem); letter-spacing: -.05em; }
.builder-header > div > p:last-child { max-width: 740px; margin: 9px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.back-button { padding: 0; border: 0; color: #52657d; background: transparent; text-align: left; }
.draft-state { display: flex; align-items: center; gap: 9px; min-width: 185px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.draft-state > span { width: 9px; height: 9px; border-radius: 50%; background: #d29c34; }
.draft-state > span.saved { background: var(--green-dark); }
.draft-state div { display: grid; }
.draft-state strong { font-size: .65rem; }
.draft-state small { color: var(--muted); font-size: .55rem; }
.builder-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 18px; align-items: start; }
.step-nav { position: sticky; top: 95px; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.step-nav button { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; min-height: 67px; padding: 13px 14px; border: 0; border-bottom: 1px solid #edf0f3; color: #7d8999; background: white; text-align: left; cursor: pointer; }
.step-nav button:last-child { border-bottom: 0; }
.step-nav button.active { color: var(--ink); background: var(--mint); box-shadow: inset 3px 0 var(--green); }
.step-nav button > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: var(--green-dark); background: #eaf8f2; font-size: .56rem; font-weight: 900; }
.step-nav button div { display: grid; gap: 2px; }
.step-nav button strong { font-size: .68rem; }
.step-nav button small { font-size: .54rem; line-height: 1.35; }
.builder-form { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: white; }
.builder-message { min-height: 0; padding: 0 28px; color: var(--muted); font-size: .7rem; transition: padding .15s; }
.builder-message:not(:empty) { min-height: 42px; padding-top: 13px; padding-bottom: 12px; border-bottom: 1px solid var(--line); background: #f7f9fb; }
.builder-message.error { color: var(--danger); background: #fff7f7; }
.builder-message.success { color: var(--green-dark); background: #f3fcf8; }
.form-step { min-width: 0; margin: 0; padding: 30px; border: 0; }
.form-step legend { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 28px; padding: 0; }
.form-step legend > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: white; background: var(--navy); font-size: .65rem; font-weight: 900; }
.form-step legend div { display: grid; gap: 2px; }
.form-step legend strong { font-size: 1.15rem; }
.form-step legend small { color: var(--muted); font-size: .64rem; }
.field-grid { display: grid; gap: 19px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field-grid .wide { grid-column: 1 / -1; }
.field-grid label:not(.switch-row), .choice-field { display: grid; gap: 7px; }
.field-grid label > span:first-child, .choice-field > span { color: #3e4c60; font-size: .68rem; font-weight: 790; }
.field-grid input:not([type="checkbox"]), .field-grid select { width: 100%; height: 49px; padding: 0 13px; border: 1px solid #cdd6df; border-radius: 10px; outline: none; color: var(--ink); background: #fbfcfd; }
.field-grid input:focus, .field-grid select:focus { border-color: var(--green-dark); box-shadow: 0 0 0 4px rgba(0,200,117,.1); }
.choice-field { gap: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.choice-grid.modules { grid-template-columns: repeat(3, 1fr); }
.choice-card { position: relative; display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 9px; min-height: 58px; padding: 11px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; cursor: pointer; }
.choice-card:has(input:checked) { border-color: #82d7b3; background: var(--mint); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-number { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; color: #718096; background: #edf1f5; font-size: .55rem; font-weight: 900; }
.choice-card:has(input:checked) .choice-number { color: white; background: var(--green-dark); }
.choice-card strong { font-size: .63rem; line-height: 1.3; }
.compact-top { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.switch-row { display: flex; align-items: center; gap: 11px; min-height: 52px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.switch-row input { width: 17px; height: 17px; accent-color: var(--green-dark); }
.switch-row span { display: grid; gap: 2px; }
.switch-row strong { font-size: .65rem; }
.switch-row small { color: var(--muted); font-size: .56rem; }
.switch-row.locked { opacity: .68; }
.form-note { margin: 22px 0 0; padding: 12px 14px; border-left: 3px solid var(--green); color: #607086; background: #f5faf8; font-size: .65rem; line-height: 1.5; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-card { display: grid; gap: 5px; min-height: 105px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.review-card > span { color: var(--green-dark); font-size: .55rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.review-card strong { font-size: .75rem; }
.review-card small { color: var(--muted); font-size: .59rem; line-height: 1.45; }
.declaration { display: flex; align-items: start; gap: 12px; margin-top: 20px; padding: 16px; border: 1px solid #b8e5cf; border-radius: 11px; background: #f4fcf8; }
.declaration input { margin-top: 3px; accent-color: var(--green-dark); }
.declaration span { display: grid; gap: 3px; }
.declaration strong { font-size: .7rem; }
.declaration small { color: #648173; font-size: .59rem; line-height: 1.45; }
.creation-result { display: grid; gap: 5px; margin-top: 18px; padding: 18px; border-radius: 11px; color: #075c3a; background: var(--mint); }
.creation-result strong { font-size: .85rem; }
.creation-result span, .creation-result small { font-size: .62rem; }
.builder-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 76px; padding: 15px 30px; border-top: 1px solid var(--line); background: #fafbfc; }
.builder-footer > div { display: flex; align-items: center; gap: 5px; }

dialog { width: min(480px, calc(100% - 30px)); padding: 0; border: 0; border-radius: 18px; color: var(--ink); box-shadow: 0 28px 90px rgba(7,22,50,.25); }
dialog::backdrop { background: rgba(7,22,50,.62); backdrop-filter: blur(4px); }
.dialog-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding: 25px; border-bottom: 1px solid var(--line); }
.dialog-header h2 { margin: 0; font-size: 1.3rem; }
.dialog-header button { width: 32px; height: 32px; border: 0; border-radius: 50%; color: var(--muted); background: var(--bg); font-size: 1.2rem; cursor: pointer; }
#profile-content { padding: 25px; }
.profile-identity { display: flex; align-items: center; gap: 13px; }
.profile-identity > div { display: grid; }
.profile-identity strong { font-size: .92rem; }
.profile-identity small { color: var(--muted); font-size: .72rem; }
.profile-avatar { width: 45px; height: 45px; }
.profile-details { display: grid; margin: 25px 0 0; border-top: 1px solid var(--line); }
.profile-details div { display: flex; justify-content: space-between; gap: 25px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { color: var(--muted); font-size: .7rem; }
.profile-details dd { margin: 0; font-size: .7rem; font-weight: 750; text-align: right; }

@media (max-width: 1050px) {
  .login-shell { grid-template-columns: .85fr 1.15fr; }
  .login-brand h1 { font-size: 3.4rem; }
  .app-shell { grid-template-columns: 220px 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .research-grid { grid-template-columns: 1fr; }
  .builder-header { grid-template-columns: 1fr auto; }
  .builder-header .back-button { grid-column: 1 / -1; }
  .builder-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .choice-grid, .choice-grid.modules { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 320px; padding: 35px 25px; }
  .login-brand h1 { font-size: 2.55rem; }
  .login-brand > div > p:last-child, .login-principles { display: none; }
  .login-logo { width: 145px; }
  .login-panel { min-height: auto; padding: 45px 24px 65px; }
  .app-shell { display: block; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
  .sidebar-open .sidebar { transform: translateX(0); }
  .sidebar-open::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(7,22,50,.5); }
  .sidebar-open .sidebar { z-index: 50; }
  .sidebar-toggle { display: block; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; }
  .topbar { padding: 0 17px; }
  .breadcrumb span, .breadcrumb i, .user-copy { display: none; }
  .main-content { padding: 26px 17px; }
  .welcome-row { align-items: start; }
  .security-state { display: none; }
  .lower-grid { grid-template-columns: 1fr; }
  .builder-header { grid-template-columns: 1fr; }
  .draft-state { width: 100%; }
  .builder-layout { grid-template-columns: 1fr; }
  .step-nav { position: static; display: flex; overflow-x: auto; }
  .step-nav button { flex: 0 0 150px; border-right: 1px solid #edf0f3; border-bottom: 0; }
  .field-grid.two, .review-grid { grid-template-columns: 1fr; }
  .field-grid .wide { grid-column: auto; }
  .draft-item { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  .login-brand { min-height: 270px; }
  .login-brand h1 { font-size: 2.15rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-grid article { min-height: 118px; padding: 16px; }
  .metric-grid strong { font-size: 1.85rem; }
  .panel { padding: 19px 15px; }
  .scope-note { display: none; }
  .research-top { align-items: start; flex-direction: column; gap: 7px; }
  .login-footer { flex-direction: column; }
  .welcome-actions { align-items: stretch; flex-direction: column; }
  .choice-grid, .choice-grid.modules { grid-template-columns: 1fr; }
  .form-step { padding: 23px 17px; }
  .builder-footer { align-items: stretch; flex-direction: column; padding: 15px 17px; }
  .builder-footer > .secondary-button { width: 100%; }
  .builder-footer > div { display: grid; grid-template-columns: 1fr 1fr; }
  .primary-inline { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
