:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5f6e76;
  --line: #d8e0e3;
  --paper: #f6f8f8;
  --surface: #ffffff;
  --deep: #0d4c43;
  --green: #16856f;
  --blue: #315f91;
  --coral: #8d4a3c;
  --gold: #8f6b25;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 46px);
  background: rgba(246, 248, 248, 0.94);
  border-bottom: 1px solid rgba(219, 228, 223, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(13, 76, 67, 0.18);
  background: #fff url("amiq-brandmark.png") center / 86% auto no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(23, 32, 29, 0.08);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
}

.nav-button,
.nav-link {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link {
  display: inline-grid;
  place-items: center;
}

.nav-button.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) clamp(14px, 3vw, 28px) 48px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: min(660px, calc(100svh - 86px));
}

.hero-copy h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.45rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: #35443f;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.usp-statement {
  max-width: 860px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #9fc9bc;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #e9f6f0;
  color: #123f37;
  font-weight: 900;
  line-height: 1.48;
}

.hero-copy .usp-statement {
  max-width: 680px;
}

.eyebrow,
.option-kicker {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.ghost-action {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.primary-action {
  border: 1px solid var(--deep);
  background: var(--deep);
  color: #fff;
}

.secondary-action {
  border: 1px solid #9ec3b8;
  background: #e8f2ee;
  color: var(--deep);
}

.ghost-action {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.primary-action:disabled,
.secondary-action:disabled,
.ghost-action:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.as-link {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
}

.hero-media {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.source-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -12px 0 26px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.source-band strong {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 0.86rem;
}

.foundation-heading {
  max-width: 940px;
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.foundation-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.foundation-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 6px;
  background: #e9f2f1;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 950;
}

.foundation-card h3 {
  margin: 14px 0 8px;
  font-size: 1.18rem;
}

.foundation-card p {
  margin: 0 0 14px;
  color: #46555b;
  line-height: 1.52;
}

.foundation-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding: 7px 0 0;
  color: #115e82;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.foundation-card a + a {
  margin-top: 6px;
}

.foundation-card a::after {
  content: "ekstern";
  padding: 2px 5px;
  border-radius: 999px;
  background: #eef5f6;
  color: #46616d;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.competitor-comparison {
  margin-top: 24px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid #cfdcdf;
  border-radius: 10px;
  background: #f7faf9;
}

.competitor-heading {
  max-width: 980px;
}

.competitor-heading h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.competitor-heading > p:not(.eyebrow) {
  color: #405158;
  line-height: 1.58;
}

.comparison-caveat {
  padding: 14px 16px;
  border-left: 4px solid #b57c1c;
  background: #fff8e8;
}

.comparison-caveat strong {
  color: #6f4b12;
}

.norway-requirements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.norway-requirements article {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid #cbdcdf;
  border-radius: 8px;
  background: #eaf3f3;
}

.norway-requirements strong {
  color: var(--deep);
  font-size: 1rem;
}

.norway-requirements span {
  color: #46575d;
  font-size: 0.9rem;
  line-height: 1.48;
}

.competitor-group + .competitor-group {
  margin-top: 28px;
}

.competitor-group-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.competitor-group-heading span {
  color: var(--deep);
  font-size: 1.06rem;
  font-weight: 950;
}

.competitor-group-heading small {
  color: var(--muted);
  font-size: 0.86rem;
}

.competitor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.competitor-card {
  align-self: start;
  overflow: hidden;
  border: 1px solid #d3dee0;
  border-radius: 8px;
  background: #fff;
}

.competitor-card[open] {
  border-color: #9fbfc0;
  box-shadow: 0 12px 28px rgba(19, 54, 62, 0.08);
}

.competitor-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.competitor-card summary::-webkit-details-marker {
  display: none;
}

.competitor-card summary span {
  display: grid;
  gap: 5px;
}

.competitor-card summary strong {
  color: var(--deep);
  font-size: 1.08rem;
}

.competitor-card summary small {
  color: #526269;
  line-height: 1.4;
}

.competitor-card summary b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf4f4;
  color: #315c62;
  font-size: 0.72rem;
  font-weight: 900;
}

.competitor-card[open] summary {
  border-bottom: 1px solid #dce5e6;
  background: #f6fafa;
}

.competitor-card-body {
  display: grid;
  gap: 10px;
  padding: 14px 16px 17px;
}

.competitor-card-body p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px;
  border-radius: 7px;
  color: #405158;
  font-size: 0.9rem;
  line-height: 1.5;
}

.competitor-card-body p span {
  color: #49616a;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-strength {
  background: #f3f6f7;
}

.comparison-gap {
  border: 1px solid #ead9ae;
  background: #fff9ea;
}

.comparison-amiq {
  border: 1px solid #b9dccd;
  background: #eef8f3;
}

.competitor-card-body a {
  width: fit-content;
  color: #115e82;
  font-size: 0.82rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.comparison-footnote {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid #d6e1e2;
  color: #5a696e;
  font-size: 0.82rem;
  line-height: 1.55;
}

.small-business-comparison {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #c8d8da;
}

.small-business-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.small-business-intro h4 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.small-business-intro > div:first-child > p:not(.eyebrow) {
  max-width: 780px;
  color: #405158;
  line-height: 1.58;
}

.market-stat {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 22px;
  border: 1px solid #9fc9bc;
  border-radius: 9px;
  background: #e9f6f0;
}

.market-stat strong {
  color: var(--deep);
  font-size: clamp(2.7rem, 7vw, 4.7rem);
  line-height: 0.92;
}

.market-stat span {
  color: #173e3a;
  font-weight: 900;
  line-height: 1.35;
}

.market-stat small {
  color: #49655f;
  line-height: 1.4;
}

.market-stat a,
.small-business-source a {
  width: fit-content;
  color: #115e82;
  font-size: 0.82rem;
  font-weight: 850;
  text-underline-offset: 3px;
}

.size-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.size-mode-grid article {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 17px;
  border: 1px solid #cbdcdf;
  border-radius: 8px;
  background: #fff;
}

.size-mode-grid span {
  color: #3b6665;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.size-mode-grid strong {
  color: var(--deep);
  font-size: 1.02rem;
  line-height: 1.3;
}

.size-mode-grid p {
  margin: 0;
  color: #46575d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.small-business-table-wrap {
  border: 1px solid #cbd9dc;
  border-radius: 8px;
  background: #fff;
}

.mobile-table-hint {
  display: none;
}

.small-business-table-wrap:focus-visible {
  outline: 3px solid rgba(14, 112, 92, 0.3);
  outline-offset: 3px;
}

.suitability-table {
  min-width: 880px;
}

.suitability-table caption {
  padding: 14px 16px;
  border-bottom: 1px solid #d7e2e3;
  color: #38535a;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: left;
}

.suitability-table th[scope="row"] {
  color: var(--deep);
  font-size: 0.9rem;
  text-transform: none;
}

.suitability-table td:nth-child(2),
.suitability-table td:nth-child(3),
.suitability-table td:nth-child(4) {
  color: #234e4e;
  font-weight: 900;
  white-space: nowrap;
}

.suitability-table .is-amiq th,
.suitability-table .is-amiq td {
  background: #e9f6f0;
}

.suitability-table .is-amiq th,
.suitability-table .is-amiq td:nth-child(-n+4) {
  color: #075a48;
  font-weight: 950;
}

.weighted-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.weighted-summary div {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 8px;
  background: #eaf3f3;
}

.weighted-summary span {
  color: #4b6268;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.weighted-summary strong {
  color: var(--deep);
  font-size: 1.35rem;
}

.small-business-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid #b57c1c;
  background: #fff8e8;
  color: #5d543f;
  font-size: 0.84rem;
  line-height: 1.55;
}

.small-business-source {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 14px 0 0;
  color: #5a696e;
  font-size: 0.82rem;
}

.advantage-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid #c9d8dc;
  border-radius: 8px;
  background: #eaf2f4;
}

.advantage-panel h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.advantage-panel p {
  margin: 12px 0 0;
  color: #415057;
  line-height: 1.55;
}

.advantage-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advantage-list li {
  padding: 13px 14px;
  border: 1px solid #d5e0e3;
  border-radius: 8px;
  background: #fff;
  color: #435158;
  line-height: 1.43;
}

.advantage-list strong {
  color: var(--deep);
}

.panel {
  display: none;
  padding: clamp(18px, 3vw, 34px) 0;
}

.panel.is-active {
  display: block;
}

.context-module-details {
  margin: 18px 0 22px;
  border: 1px solid #c9d9d7;
  border-radius: 10px;
  background: #f8fbfa;
  overflow: clip;
}

.context-module-details > summary {
  display: flex;
  min-height: 58px;
  padding: 15px 50px 15px 17px;
  position: relative;
  align-items: center;
  color: var(--deep);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.context-module-details > summary::-webkit-details-marker {
  display: none;
}

.context-module-details > summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e3efeb;
  color: var(--deep);
  font-size: 1.25rem;
  line-height: 1;
}

.context-module-details[open] > summary::after {
  content: "−";
}

.context-module-details .context-module-picker {
  margin: 0;
  padding: 4px 17px 17px;
  border: 0;
  border-top: 1px solid #dbe6e3;
}

.workflow-details > summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.workflow-details > summary::-webkit-details-marker {
  display: none;
}

.workflow-details > summary span:first-child {
  display: grid;
  gap: 4px;
}

.workflow-details > summary small {
  color: var(--accent-warm);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-details > summary strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.workflow-details[open] > summary {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.5;
}

.progress-line {
  position: sticky;
  top: 69px;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--deep);
  font-weight: 900;
}

.question-list {
  display: grid;
  gap: 12px;
}

.single-question-form .question-list {
  min-height: 360px;
}

.question-card {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.single-question-form .question-card {
  min-height: 332px;
}

.single-question-form .question-card:not(.is-active),
.single-question-form .question-card[hidden] {
  display: none;
}

body.answer-focus .site-header,
body.answer-focus .hero-section,
body.answer-focus .source-band,
body.answer-focus .site-footer,
body.answer-focus [data-panel="sjekk"] > .section-heading,
body.answer-focus .context-module-details,
.test-taking-page.answer-focus .test-intro,
.test-taking-page.answer-focus .privacy-banner {
  display: none !important;
}

body.answer-focus main {
  width: min(760px, 100%);
  padding: clamp(12px, 4vw, 22px);
}

body.answer-focus .test-main {
  max-width: 760px;
}

body.answer-focus .test-form {
  margin: 0 auto;
}

body.answer-focus .progress-line {
  top: 0;
  margin-bottom: 10px;
}

body.code-focus .hero-section,
body.code-focus .source-band,
body.code-focus [data-panel="kode"] > .section-heading {
  display: none !important;
}

body.code-focus [data-panel="kode"] {
  width: min(720px, 100%);
  margin: 0 auto;
  padding-top: clamp(18px, 4vw, 34px);
}

body.code-focus [data-panel="kode"] .code-panel {
  margin: 0;
}

body.answer-focus .progress-line span:last-child,
body.answer-focus .area-pill,
body.answer-focus [data-reset-test] {
  display: none !important;
}

body.answer-focus .single-question-form .question-list {
  min-height: 0;
}

body.answer-focus .single-question-form .question-card {
  min-height: 0;
  padding: clamp(14px, 4vw, 28px) 0 0;
  border: 0;
  background: transparent;
  align-content: start;
}

body.answer-focus .question-card legend {
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  font-size: clamp(1.28rem, 5vw, 2.05rem);
}

body.answer-focus .question-actions {
  margin-top: clamp(18px, 5vw, 34px);
}

.question-card legend {
  display: grid;
  gap: 6px;
  padding: 0;
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.35;
}

.question-card legend span {
  color: var(--green);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.private-help-page {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 5vw, 36px);
  border: 2px solid #0e6657;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(16, 51, 46, 0.14);
}

.private-help-page[hidden],
.private-help-page [hidden] {
  display: none !important;
}

.private-help-page h2 {
  max-width: 700px;
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1.08;
}

.private-help-page p {
  max-width: 720px;
  line-height: 1.55;
}

body.private-help-active .progress-line,
body.private-help-active .question-stepper,
body.private-help-active .question-list,
body.private-help-active .question-actions,
body.private-help-active .answer-save-line,
body.private-help-active .language-tools {
  display: none !important;
}

.private-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.private-help-choices {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbfa;
}

.private-help-choices legend {
  padding: 0 6px;
  color: var(--deep);
  font-size: 1.05rem;
  font-weight: 950;
}

.private-help-choices .radio-line,
.private-help-choices .checkbox-line,
.private-help-confirm {
  user-select: text;
}

.private-help-preview {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #9eb9b3;
  border-radius: 10px;
  background: #edf7f3;
}

.private-help-preview pre {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #203b36;
  font: 500 0.9rem/1.55 var(--font-body, system-ui, sans-serif);
}

.private-help-status {
  min-height: 1.5em;
  color: #7b302d;
  font-weight: 800;
}

.question-stepper {
  position: relative;
  height: 8px;
  margin: -4px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7e5;
}

.question-stepper span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #b9902f);
  transition: width 0.18s ease;
}

.area-pill {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f5efe1;
  color: #765a1b;
  font-size: 0.8rem;
  font-weight: 850;
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.answer-option {
  display: grid;
  gap: 7px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.answer-option input {
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--green);
}

.answer-option:has(input:checked) {
  border-color: var(--green);
  background: #e9f5ef;
  box-shadow: inset 0 0 0 1px var(--green);
}

.result-panel {
  margin-top: 24px;
}

.result-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 20px;
  align-items: center;
  padding: 24px;
  border-radius: 8px;
  background: #102f2b;
  color: #fff;
}

.result-hero span {
  grid-column: 1 / -1;
  color: #a5d8c8;
  font-weight: 900;
  text-transform: uppercase;
}

.result-hero strong {
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.8;
}

.result-hero h3,
.result-hero p {
  margin: 0;
}

.result-hero h3 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}

.result-hero p {
  margin-top: 8px;
  color: #d8ede7;
}

.result-columns,
.business-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.result-columns > section,
.business-option,
.metric-card,
.code-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.result-columns h3,
.business-option h3,
.focus-card h4 {
  margin: 0 0 12px;
}

.bar-list,
.focus-list {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.15fr) minmax(120px, 2fr) 44px;
  gap: 10px;
  align-items: center;
}

.bar-row span {
  color: #2d3b36;
  font-size: 0.92rem;
  font-weight: 800;
}

.bar-track {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6ece8;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green));
}

.bar-row strong {
  text-align: right;
}

.focus-card {
  padding: 14px;
  border-radius: 8px;
  background: #f8f2e6;
  border: 1px solid #eadbc0;
}

.focus-card p {
  margin: 8px 0 0;
  color: #4e4331;
  line-height: 1.42;
}

.privacy-note {
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  background: #ecf6f1;
  color: var(--deep);
  font-weight: 800;
}

.code-panel {
  max-width: 720px;
}

.code-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.code-row input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.business-option p,
.metric-card p {
  color: var(--muted);
  line-height: 1.5;
}

.purchase-option {
  border-color: #b8d2d1;
  background: #fbfdfd;
}

.purchase-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.purchase-form label {
  font-weight: 900;
}

.quantity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.quantity-row input {
  min-height: 48px;
  width: 100%;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.quantity-row span {
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.purchase-total {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #d0dee0;
  border-radius: 8px;
  background: #eef6f6;
}

.purchase-total span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.purchase-total strong {
  color: var(--deep);
  font-size: 1.8rem;
  line-height: 1;
}

.stripe-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
}

.qr-copy strong,
.qr-copy span {
  display: block;
}

.qr-copy span {
  margin-top: 6px;
  color: var(--muted);
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbf9;
}

.qr-box img {
  width: 156px;
  height: 156px;
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(16px, 4vw, 46px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.mobile-login-body {
  min-height: 100svh;
  background: #edf4f1;
}

.mobile-login {
  width: min(100% - 24px, 560px);
  margin: 0 auto;
  padding: 34px 0;
}

.mobile-login h1 {
  margin: 0;
  font-size: clamp(2.5rem, 10vw, 4.2rem);
  line-height: 0.95;
}

.mobile-login > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.45;
}

.provider-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.provider-button {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.provider-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.provider-button strong,
.provider-button small {
  display: block;
}

.provider-button small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 760;
}

.provider-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 950;
}

.google-icon {
  color: #4285f4;
  font-size: 1.35rem;
}

.microsoft-icon {
  grid-template-columns: repeat(2, 13px);
  grid-template-rows: repeat(2, 13px);
  gap: 3px;
}

.microsoft-icon i:nth-child(1) { background: #f25022; }
.microsoft-icon i:nth-child(2) { background: #7fba00; }
.microsoft-icon i:nth-child(3) { background: #00a4ef; }
.microsoft-icon i:nth-child(4) { background: #ffb900; }

.microsoft-icon i {
  width: 13px;
  height: 13px;
}

.notice,
.success-box,
.config-note {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.notice.error {
  border-color: #e1b6aa;
  background: #fff2ef;
  color: #743421;
}

.notice.success {
  border-color: #b7d9cc;
  background: #e8f5ef;
  color: #174d3f;
}

.credit-approval-page {
  display: grid;
  gap: 14px;
}

.approval-details {
  grid-template-columns: 1fr;
  margin: 0;
}

.success-box {
  background: #e8f5ef;
  border-color: #b7d9cc;
}

.success-box span {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.success-box strong {
  font-size: 1.65rem;
}

.dashboard-main {
  max-width: 1040px;
}

.checkout-main {
  max-width: 880px;
}

.checkout-panel {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checkout-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1;
}

.checkout-panel > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.order-summary div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfb;
}

.order-summary dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-summary dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.notice.info {
  background: #eef6f6;
  border-color: #c9dddf;
  color: #194c52;
}

.dashboard-hero {
  padding: 28px;
  border-radius: 8px;
  background: #102f2b;
  color: #fff;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 0.98;
}

.dashboard-hero p {
  color: #d8ede7;
}

.identity-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.identity-line div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.identity-line dt {
  color: #a5d8c8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.identity-line dd {
  margin: 4px 0 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.metric-card span {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-size: 2.2rem;
  line-height: 1;
}

.owner-dashboard {
  max-width: 1240px;
}

.owner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.dashboard-flash {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.dashboard-flash.success {
  border-color: #b9d9cc;
  background: #eaf6f0;
  color: var(--deep);
}

.dashboard-flash.error {
  border-color: #e3b8ad;
  background: #fff2ef;
  color: #763421;
}

.metric-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.owner-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.span-5 { grid-column: span 5; }
.span-7 { grid-column: span 7; }
.span-12 { grid-column: 1 / -1; }

.manager-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.manager-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h2 {
  margin-bottom: 0;
}

.soft-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #cfdde0;
  border-radius: 999px;
  background: #f2f7f7;
  color: #31535b;
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill {
  margin-left: 6px;
}

.status-pill.is-good {
  border-color: #acd7c7;
  background: #e7f6f0;
  color: #0d604f;
}

.status-pill.is-warn {
  border-color: #e4d2a5;
  background: #fff7df;
  color: #765a1b;
}

.status-pill.is-muted {
  border-color: #d7dee1;
  background: #f5f7f7;
  color: #5b6970;
}

.status-pill.is-risk,
.score-pill.is-risk {
  border-color: #e0aaa0;
  background: #fff0ed;
  color: #8b2f24;
}

.status-pill.is-mid,
.score-pill.is-mid {
  border-color: #b9d1db;
  background: #eef7fa;
  color: #245366;
}

.muted {
  color: var(--muted);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #53636a;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.data-table td {
  line-height: 1.38;
}

.data-table .comparison-group-row th {
  background: #eaf4f0;
  color: var(--green-deep);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.dashboard-form {
  display: grid;
  gap: 12px;
}

.dashboard-form.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-form label {
  display: grid;
  gap: 6px;
  color: #2e3b3a;
  font-weight: 900;
}

.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.dashboard-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.help-contact-setup {
  display: grid;
  gap: 14px;
}

.help-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
}

.help-contact-row > strong {
  grid-column: 1 / -1;
  align-self: center;
  color: var(--deep);
}

.dashboard-form button,
.form-note,
.modal-actions {
  grid-column: 1 / -1;
}

.form-note {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: #ecf6f1;
  color: #264d45;
  line-height: 1.42;
}

.mini-progress {
  width: min(180px, 100%);
  height: 10px;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4ece9;
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.event-list {
  display: grid;
  gap: 8px;
}

.event-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.event-list div:last-child {
  border-bottom: 0;
}

.event-list span {
  color: var(--muted);
  text-align: right;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 24, 22, 0.48);
}

.modal-panel {
  width: min(100%, 620px);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: 22px;
  border: 1px solid #cbdcde;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 72px rgba(15, 32, 35, 0.24);
}

.modal-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.08;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.credit-order-panel .purchase-total {
  margin: 0;
}

.customer-dashboard .dashboard-hero {
  background: #123c45;
}

.privacy-banner,
.privacy-inline {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #a9d3c6;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #e9f6f0;
  color: #123f37;
}

.privacy-banner strong,
.privacy-inline strong {
  font-size: 1.04rem;
}

.privacy-banner span,
.privacy-inline span {
  color: #2d5a52;
  line-height: 1.45;
}

.privacy-inline {
  margin: 0 0 14px;
  background: #f0f8f5;
}

.privacy-withheld-section {
  margin-top: 16px;
}

.privacy-withheld-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.privacy-withheld-card {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  border: 1px solid #000;
  border-radius: 8px;
  background: #111817;
  color: #fff;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.privacy-withheld-card h3,
.privacy-withheld-card p {
  margin: 0;
}

.privacy-withheld-card h3 {
  color: #fff;
  font-size: 1.15rem;
}

.privacy-withheld-card p {
  color: #e6efec;
  line-height: 1.5;
}

.privacy-withheld-label {
  color: #a9e5d2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-withheld-card .privacy-withheld-note {
  padding-top: 8px;
  border-top: 1px solid #40504d;
  color: #bfcac7;
  font-size: 0.88rem;
}

@media (max-width: 700px) {
  .privacy-withheld-grid {
    grid-template-columns: 1fr;
  }
}

.admin-access-banner {
  border-color: #bfd1e8;
  border-left-color: var(--blue);
  background: #eef5fb;
  color: #163d5a;
}

.admin-access-banner span {
  color: #2d526b;
}

.run-list {
  display: grid;
  gap: 10px;
}

.run-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfd;
  color: var(--ink);
  text-decoration: none;
}

.run-card.is-active {
  border-color: var(--green);
  background: #edf8f3;
  box-shadow: inset 0 0 0 1px var(--green);
}

.run-card strong,
.run-card small {
  display: block;
}

.run-card small {
  color: var(--muted);
  font-weight: 800;
}

.anonymity-ready,
.anonymity-warning {
  width: fit-content;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
}

.anonymity-ready {
  background: #e3f5ec;
  color: #0e604d;
}

.anonymity-warning {
  background: #fff2cf;
  color: #765a1b;
}

.team-chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.team-chip {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.team-chip span {
  color: var(--muted);
  font-weight: 800;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px;
  min-height: 44px;
}

.checkbox-line input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  accent-color: var(--green);
}

.radio-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding-block: 7px;
}

.radio-line input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  accent-color: var(--green);
}

.choice-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.choice-field legend {
  padding: 0 5px;
  color: #53636a;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px;
}

.admin-create-form {
  align-self: start;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.admin-card > div {
  grid-column: 1;
}

.admin-card p,
.admin-card small,
.admin-card form {
  grid-column: 1 / -1;
}

.admin-card .status-pill {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.admin-card strong,
.admin-card span {
  display: block;
}

.admin-card p {
  margin: 0;
  color: #243f45;
  font-weight: 850;
}

.admin-card small {
  color: var(--muted);
}

.file-format {
  padding: 12px 14px;
  border: 1px solid #d4e0e3;
  border-radius: 8px;
  background: #f8fbfb;
  color: #334348;
  line-height: 1.55;
}

.file-format code {
  font-size: 0.86rem;
  white-space: normal;
  overflow-wrap: anywhere;
}

.compact-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.small-action {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #bfd4d5;
  border-radius: 8px;
  background: #f3f9f8;
  color: #164c47;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.anon-id {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #c7d7dc;
  border-radius: 8px;
  background: #eef5f7;
  color: #163f49;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.report-page .manager-panel {
  margin-top: 18px;
}

.certified-cover {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  min-height: min(760px, calc(100svh - 120px));
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid #b9cbd0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(13, 76, 67, 0.08), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #ffffff, #f4f8f8);
  box-shadow: 0 22px 52px rgba(23, 32, 29, 0.12);
}

@media screen {
  .report-page > .certified-cover:not(.methodology-cover) {
    display: none;
  }
}

.cover-topline,
.cover-signature {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cover-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cover-brand-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 58px;
  border-radius: 8px;
  border: 1px solid rgba(13, 76, 67, 0.16);
  background: #fff url("amiq-brandmark.png") center / 78% auto no-repeat;
  color: transparent;
  font-size: 0;
  font-weight: 950;
  letter-spacing: 0.05em;
}

.cover-brand strong,
.cover-brand span,
.cover-signature span,
.cover-signature small {
  display: block;
}

.cover-brand strong {
  color: #15231f;
  font-size: 1.25rem;
}

.cover-brand span,
.cover-signature span,
.cover-signature small {
  color: var(--muted);
  font-weight: 800;
}

.document-badge {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #abc9c3;
  border-radius: 999px;
  background: #eaf6f2;
  color: var(--deep);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.cover-title {
  max-width: 860px;
  align-self: center;
}

.cover-title h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.95;
}

.cover-title p:not(.eyebrow) {
  margin: 16px 0 0;
  color: #35443f;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 850;
}

.cover-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfdddf;
  border-radius: 8px;
  background: #fff;
}

.cover-visual img {
  display: block;
  width: 100%;
  height: clamp(190px, 24vw, 310px);
  object-fit: cover;
}

.cover-meta,
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.cover-meta div,
.method-grid article {
  padding: 14px;
  border: 1px solid #cfdddf;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.cover-meta dt,
.method-grid span {
  color: #7b4a40;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover-meta dd {
  margin: 5px 0 0;
  color: #17201d;
  font-weight: 900;
}

.document-control-line {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #cad9dc;
  border-radius: 8px;
  background: #f4f8f8;
}

.document-control-line span {
  color: #64746f;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.document-control-line code {
  overflow-wrap: anywhere;
  color: #173f3a;
  font-size: 0.78rem;
}

.report-technical-meta {
  margin: 24px 0 8px;
  padding-top: 10px;
  border-top: 1px solid #dce5e6;
  color: #7a8985;
  font-size: 0.7rem;
  line-height: 1.5;
}

.report-technical-meta small {
  display: block;
  overflow-wrap: anywhere;
}

.certified-cover.methodology-cover {
  min-height: auto;
}

.method-footer {
  align-items: center;
}

.method-footer .method-meta-line {
  color: #70807b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-align: right;
}

.cover-statement {
  max-width: 980px;
  padding: 18px 20px;
  border-left: 5px solid var(--deep);
  background: #eef7f4;
  color: #163f39;
}

.cover-statement strong,
.cover-statement p {
  margin: 0;
}

.cover-statement p {
  margin-top: 6px;
  line-height: 1.55;
}

.cover-signature {
  align-self: end;
  padding-top: 20px;
  border-top: 1px solid #cad8db;
}

.cover-signature > div:last-child {
  min-width: min(330px, 100%);
  padding-top: 12px;
  border-top: 2px solid #20322e;
}

.cover-signature strong {
  display: block;
  margin-top: 4px;
  color: #16241f;
  font-size: 1.05rem;
}

.certified-method-panel {
  background: #f7fafb;
}

.method-grid article {
  display: grid;
  gap: 7px;
  background: #fff;
}

.method-grid strong {
  color: #142521;
  line-height: 1.25;
}

.method-grid p {
  margin: 0;
  color: #53646b;
  line-height: 1.45;
}

.test-taking-page {
  user-select: none;
}

.test-main {
  max-width: 960px;
}

.test-intro,
.completion-panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #cbd9dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(23, 32, 29, 0.08);
}

.test-intro h1,
.completion-panel h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
}

.test-intro p,
.completion-panel p {
  max-width: 760px;
  color: #43545a;
  font-size: 1.06rem;
  line-height: 1.55;
}

.invite-test-form .question-card {
  scroll-margin-top: 16px;
}

.invite-test-form {
  padding-bottom: 84px;
}

.question-actions {
  align-items: center;
  justify-content: space-between;
}

.question-actions .primary-action {
  margin-left: auto;
}

.sticky-submit {
  position: sticky;
  bottom: 0;
  z-index: 9;
  margin: 18px -6px 0;
  padding: 12px 6px;
  background: linear-gradient(180deg, rgba(246, 248, 248, 0), var(--paper) 28%);
}

.report-hero {
  background: linear-gradient(135deg, #123c45, #0d4c43);
}

.score-metric strong {
  color: var(--deep);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.9;
}

.report-explain-panel {
  background: #f6fafb;
}

.report-explain-panel p {
  max-width: 980px;
  color: #3f5056;
  line-height: 1.6;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.insight-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid #d6e1e4;
  border-top: 6px solid #8fb8c4;
  border-radius: 8px;
  background: #fbfdfd;
}

.insight-card.is-risk {
  border-top-color: #b84c3e;
  background: #fff7f5;
}

.insight-card.is-warn {
  border-top-color: #b88b28;
  background: #fffaf0;
}

.insight-card.is-mid {
  border-top-color: #3c7f9b;
}

.insight-card.is-good {
  border-top-color: var(--green);
}

.insight-card h3,
.insight-card p {
  margin: 0;
}

.insight-card p {
  color: #43545a;
  line-height: 1.48;
}

.insight-card strong {
  color: var(--deep);
}

.score-pill {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 42px;
  min-height: 34px;
  padding: 4px 9px;
  border: 1px solid #cbdadd;
  border-radius: 999px;
  background: #edf5f6;
  color: #214d57;
  font-weight: 950;
}

.report-area-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f2;
}

.report-area-row:last-child {
  border-bottom: 0;
}

.report-area-row > div:first-child {
  display: grid;
  gap: 4px;
}

.report-area-row strong {
  color: #1c2f34;
}

.report-area-row span {
  color: #617179;
  line-height: 1.35;
}

.previous-list {
  display: grid;
  gap: 10px;
}

.previous-list article {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, 1.2fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

.previous-list article > div:first-child {
  display: grid;
  gap: 3px;
}

.previous-list span:not(.score-pill) {
  color: var(--muted);
}

.report-source-panel p {
  max-width: 980px;
  color: #42535a;
  line-height: 1.6;
}

.report-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.report-source-list a {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c8d9dc;
  border-radius: 999px;
  background: #f4fafb;
  color: #154d5c;
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #167d8d;
  outline-offset: 3px;
}

.nav-button,
.nav-link,
.primary-action,
.secondary-action,
.ghost-action,
.small-action {
  min-height: 44px;
}

.answer-save-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.answer-save-line label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 800;
}

.answer-save-line input {
  width: 22px;
  height: 22px;
}

.dashboard-workflow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 18px;
}

.dashboard-workflow .is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.report-area-row small {
  color: var(--muted);
  line-height: 1.45;
}

.action-plan-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.action-plan-form textarea {
  resize: vertical;
}

.action-plan-form :is(input, select, textarea) {
  width: 100%;
  min-height: 44px;
}

.cause-fit-guide {
  display: grid;
  gap: 12px;
  margin: 4px 0 8px;
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid #9fcabd;
  border-left: 5px solid var(--green);
  border-radius: 10px;
  background: linear-gradient(145deg, #edf8f4, #f8fbfa);
}

.cause-fit-guide :is(h3, p) {
  margin: 0;
}

.cause-fit-guide > p:not(.eyebrow, .cause-fit-feedback) {
  color: #34534d;
  line-height: 1.55;
}

.cause-fit-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0;
  padding: 0;
  list-style: none;
}

.cause-fit-steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 11px;
  border: 1px solid #d4e0de;
  border-radius: 8px;
  background: #fff;
}

.cause-fit-steps li > span:last-child {
  display: grid;
  gap: 3px;
}

.cause-fit-steps strong {
  color: #213c37;
  font-size: 0.86rem;
  line-height: 1.25;
}

.cause-fit-steps small {
  color: #687873;
  font-size: 0.76rem;
  line-height: 1.35;
}

.cause-fit-number {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e7eeec;
  color: #536661;
  font-size: 0.78rem;
  font-weight: 950;
}

.cause-fit-steps li[data-state="ready"] {
  border-color: #8bc4af;
  background: #f0faf6;
}

.cause-fit-steps li[data-state="ready"] .cause-fit-number {
  background: #147761;
  color: #fff;
}

.cause-fit-steps li[data-state="warning"] {
  border-color: #dec27b;
  background: #fff9e9;
}

.cause-fit-steps li[data-state="warning"] .cause-fit-number {
  background: #a27417;
  color: #fff;
}

.cause-fit-feedback {
  padding: 12px 14px;
  border-radius: 8px;
  background: #e6f0ed;
  color: #214e45;
  font-weight: 800;
  line-height: 1.45;
}

.cause-fit-feedback[data-state="warning"] {
  background: #fff1c9;
  color: #6f5214;
}

.cause-fit-feedback[data-state="ready"] {
  background: #dcf3e9;
  color: #0c624e;
}

.cause-fit-example {
  border-top: 1px solid #c9ddd7;
  padding-top: 10px;
}

.cause-fit-example summary {
  min-height: 44px;
  color: #14594c;
  font-weight: 900;
  cursor: pointer;
}

.cause-fit-example p {
  margin-top: 8px;
  color: #3d504b;
  line-height: 1.5;
}

.privacy-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.critical-signal {
  border-color: #c96e3d;
  background: #fff5ef;
}

@media print {
  .site-header,
  .hero-actions,
  .top-nav {
    display: none !important;
  }

  .report-workflow {
    display: none !important;
  }

  .report-page [hidden] {
    display: block !important;
  }

  body {
    background: #fff;
  }

  .dashboard-main {
    padding: 0;
  }

  .manager-panel,
  .metric-card,
  .privacy-banner,
  .usp-statement,
  .certified-cover {
    break-inside: avoid;
    box-shadow: none;
  }

  .certified-cover {
    display: grid !important;
    min-height: 96vh;
    page-break-after: always;
  }

  .certified-cover.methodology-cover {
    min-height: 96vh;
  }

  .test-taking-page * {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .mobile-table-hint {
    display: block;
    margin: 0 0 8px;
    color: #526269;
    font-size: 0.8rem;
  }

  .site-header {
    display: grid;
    gap: 12px;
    position: static;
  }

  .top-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .nav-button,
  .nav-link {
    flex: 1 1 auto;
  }

  .hero-section,
  .result-columns,
  .business-grid,
  .dashboard-grid,
  .metric-row,
  .identity-line,
  .foundation-grid,
  .competitor-grid,
  .norway-requirements,
  .small-business-intro,
  .size-mode-grid,
  .weighted-summary,
  .advantage-panel {
    grid-template-columns: 1fr;
  }

  .owner-grid,
  .dashboard-form.two-col,
  .admin-grid,
  .insight-grid,
  .cover-meta,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .cover-topline,
  .cover-signature {
    display: grid;
  }

  .span-5,
  .span-7,
  .span-12 {
    grid-column: 1 / -1;
  }

  .panel-heading,
  .event-list div {
    display: grid;
  }

  .team-chip-list {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .cause-fit-steps {
    grid-template-columns: 1fr;
  }

  .compact-form {
    display: grid;
  }

  .modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .modal-panel {
    width: 100%;
    max-height: calc(100svh - 24px);
  }

  .event-list span {
    text-align: left;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 280px;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .answer-option {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 54px;
  }

  .single-question-form .question-list {
    min-height: 0;
  }

  .single-question-form .question-card {
    min-height: min(520px, calc(100svh - 300px));
  }

  .question-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .question-actions .primary-action,
  .question-actions .ghost-action {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }

  .help-contact-row {
    grid-template-columns: 1fr;
  }

  .private-help-page {
    padding: 18px 14px;
  }

  .private-help-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .private-help-actions button {
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 1fr 48px;
  }

  .report-area-row,
  .previous-list article {
    grid-template-columns: 1fr;
  }

  .answer-save-line,
  .dashboard-workflow {
    display: grid;
  }

  .bar-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .qr-layout,
  .code-row,
  .quantity-row,
  .order-summary {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .method-footer .method-meta-line {
    text-align: left;
  }
}
.language-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid var(--line, #d8e0e3);
  border-radius: 0.75rem;
  background: #fff;
}
.language-tools label { min-width: 12rem; }
.language-tools select { min-height: 44px; padding: 8px 36px 8px 10px; }
.language-tools details, .language-tools small { flex-basis: 100%; }
.language-tools dl { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 0.4rem 1rem; }
.language-tools dt { font-weight: 800; }
.language-tools dd { margin: 0; }
.plain-language .question-card legend { font-size: clamp(1.25rem, 2.5vw, 1.65rem); line-height: 1.55; max-width: 48rem; }
.plain-language .answer-option { font-size: 1.08rem; line-height: 1.5; min-height: 3.5rem; }
