@charset "UTF-8";

:root {
  --paper: #f5f5f4;
  --white: #fff;
  --ink: #25282b;
  --muted: #62686d;
  --line: #dfe1e3;
  --accent: #275d5b;
  --accent-dark: #11191a;
  --teal: #427871;
  --teal-light: #eef2f1;
  --viewer: #2d2d2d;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #658a8a;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: 38px; line-height: 1.35; letter-spacing: -.045em; font-weight: 700; }
h2 { font-size: 23px; line-height: 1.45; letter-spacing: -.025em; font-weight: 650; }
h3 { font-size: 16px; font-weight: 650; }
small, .small { font-size: 12px; }
.quiet { color: var(--muted); }
.eyebrow, .section-kicker { font-size: 13px; font-weight: 550; color: var(--accent); }

.preview-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
  padding: 5px 16px;
  font-size: 11px;
  color: #68758a;
  background: #e9edf5;
}
.preview-dot { width: 5px; height: 5px; border-radius: 50%; background: #7a8aa6; }
.strip-divider { opacity: .45; }
.site-header {
  max-width: 1440px;
  margin: auto;
  padding: 23px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 27px; line-height: 1.1; font-weight: 750; letter-spacing: -.045em; }
.brand small { display: block; color: #718097; margin-top: 7px; font-size: 11px; font-weight: 450; letter-spacing: .07em; }
.brand-symbol { position: relative; width: 36px; height: 36px; flex-shrink: 0; border: 2px solid var(--accent); border-radius: 10px; }
.brand-symbol::before { content: ""; position: absolute; inset: 7px; border: 2px solid var(--accent); border-radius: 50%; }
.brand-symbol::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; top: 4px; right: 4px; background: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
nav a { color: #7a8496; padding: 8px 0; }
nav a.active { color: var(--ink); }
nav .admin-nav { border: 1px solid #d5ddea; background: #ffffff80; padding: 7px 13px; border-radius: 6px; color: #6b768a; font-size: 12px; }
main { max-width: 1440px; margin: auto; padding: 0 5%; }
.page { padding-top: 30px; min-height: 68vh; }

/* The entry is an action-led photo viewer, not a marketing dashboard. */
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 5%; align-items: center; padding: 34px 0 49px; }
.study-label { display: flex; align-items: center; gap: 7px; color: #5d6e89; font-size: 12px; }
.study-label > span { width: 6px; height: 6px; border-radius: 50%; background: #7186d9; }
.hero-copy h1 { font-size: clamp(37px, 3.55vw, 54px); line-height: 1.36; letter-spacing: -.055em; margin: 20px 0 23px; font-weight: 730; }
.hero-intro { color: #626e83; font-size: 15px; line-height: 1.95; }
.hero-guide { display: flex; align-items: center; gap: 8px; margin-top: 26px; margin-bottom: 9px; color: #4761b7; }
.hero-guide strong { font-size: 12px; font-weight: 550; }
.entry-pointer { display: inline-block; font-size: 22px; line-height: 1; animation: point-to-start .8s ease-in-out 2; }
@keyframes point-to-start { 0%, 100% { transform: translateY(-3px); } 65% { transform: translateY(4px); } }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 7px; min-height: 46px; padding: 11px 22px; font-size: 14px; font-weight: 550; transition: background .15s; }
.button.primary { color: white; background: var(--accent); }
.button.secondary { background: white; border-color: #d6deeb; color: #53627c; }
.hero-cta { min-width: 270px; justify-content: space-between; min-height: 54px; font-size: 16px; padding: 14px 22px; box-shadow: 0 7px 16px #3654d623; }
.start-icon { width: 25px; height: 25px; position: relative; border: 1px solid #ffffff55; border-radius: 50%; }
.start-icon::after { content: ""; position: absolute; top: 7px; left: 10px; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid white; }
.hero-note { font-size: 11px; margin-top: 13px; color: #7a8497; }
.entry-steps { list-style: none; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 27px 0 0; color: #68758a; font-size: 11px; }
.entry-steps li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.entry-steps li > span { color: #677ebd; display: grid; place-items: center; height: 18px; width: 18px; border: 1px solid #d3dbec; border-radius: 50%; font-size: 10px; }
.hero-art { min-width: 0; padding: 16px; border: 1px solid #dbe2ee; border-radius: 12px; background: white; box-shadow: 0 15px 30px #233d7409; }
.art-caption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 1px 15px; font-size: 12px; color: #53637d; }
.art-caption > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.viewer-indicator { width: 7px; height: 7px; background: #8190aa; border-radius: 2px; }
.viewer-label { color: #8290a5; font-size: 11px; }
.hero-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 8px; }
.hero-frame { margin: 0; transform: none; background: var(--viewer); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.hero-frame img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: contain; }
.hero-frame figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #d2d2d2; font-size: 11px; border-top: 1px solid #424242; }
.hero-frame figcaption > span { display: grid; place-items: center; color: #222; background: #eee; width: 19px; height: 19px; border-radius: 4px; font-size: 10px; }
.art-footer { display: flex; align-items: center; gap: 13px; padding: 18px 2px 2px; }
.viewer-compare-mark { color: #73829d; font-size: 13px; padding: 6px 9px; background: #f2f5fa; border-radius: 5px; white-space: nowrap; }
.art-footer p { font-size: 11px; color: #8290a4; line-height: 1.85; }
.art-footer strong { color: #5f6f87; font-weight: 500; }
.steps-block { border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 2fr; gap: 40px; padding: 29px 0 20px; }
.steps-title h2 { font-size: 21px; }
.steps-title p { font-size: 12px; color: #7c889c; margin-top: 10px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.steps-grid article { padding-left: 13px; border-left: 2px solid #dfe5f0; }
.step-number { display: none; }
.steps-grid h3 { font-size: 14px; margin-bottom: 8px; }
.steps-grid p { font-size: 12px; line-height: 1.85; color: #6e7b90; }
.site-footer { max-width: 1440px; margin: 35px auto 0; padding: 22px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 11px; color: #8994a7; border-top: 1px solid var(--line); }
.footer-divider { color: #bbc4d4; margin: 0 12px; }

/* Registration uses the same start action and visible, readable form controls. */
.section-topline { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 4px 0 32px; }
.section-topline .small { font-size: 12px; }
.section-topline strong { color: #415caa; font-weight: 550; }
.flow-line { margin: 0 10px; color: #b6c0d1; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12%; max-width: 1050px; margin: 0 auto 55px; align-items: center; }
.profile-copy h1 { font-size: 42px; margin: 12px 0 24px; line-height: 1.4; }
.profile-copy > p { color: var(--muted); font-size: 14px; line-height: 1.95; max-width: 355px; }
.privacy-note { display: flex; gap: 14px; margin-top: 32px; align-items: flex-start; }
.privacy-symbol { width: 19px; height: 23px; border: 1.5px solid #8b9ecc; border-radius: 5px 5px 9px 9px; margin-top: 2px; flex-shrink: 0; position: relative; }
.privacy-symbol::after { content: ""; position: absolute; width: 5px; height: 3px; border-left: 1.5px solid #8b9ecc; border-bottom: 1.5px solid #8b9ecc; transform: rotate(-45deg); top: 7px; left: 5px; }
.privacy-note strong { font-size: 13px; color: #516b9d; font-weight: 550; }
.privacy-note p { margin-top: 8px; color: #78859b; font-size: 12px; line-height: 1.9; }
.environment-note { padding-top: 22px; margin-top: 27px; border-top: 1px solid var(--line); }
.environment-note .eyebrow { color: #5d6e8c; font-size: 12px; }
.environment-note p { font-size: 12px; line-height: 1.9; color: #78859b; margin-top: 8px; }
.profile-form { background: white; border: 1px solid #dfe5ef; border-radius: 12px; padding: 30px 34px; box-shadow: 0 12px 35px #24437407; }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.form-heading h2 { font-size: 23px; }
.form-heading > span { font-size: 12px; color: #8896ab; }
.field-label, .gender-field legend { display: block; color: #53637d; font-size: 13px; font-weight: 550; margin: 20px 0 9px; }
select { width: 100%; min-height: 44px; border: 1px solid #d5deeb; border-radius: 6px; padding: 10px 12px; color: #53637d; background: white; font-size: 13px; }
.gender-field { padding: 0; margin: 0; border: 0; }
.gender-field legend { padding: 0; }
.radio-options { display: flex; flex-wrap: wrap; gap: 7px; }
.radio-options label { flex: 1; min-width: 45px; position: relative; }
.radio-options input { position: absolute; opacity: 0; }
.radio-options span { display: block; padding: 10px 5px; min-height: 43px; text-align: center; border: 1px solid #d5deeb; border-radius: 6px; color: #6b7a91; font-size: 12px; }
.radio-options input:checked + span { background: #edf1ff; border-color: #6680e6; color: var(--accent); }
.radio-options input:focus-visible + span { outline: 3px solid #7288f2; outline-offset: 3px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0; font-size: 12px; line-height: 1.85; color: #758299; }
.consent input { flex-shrink: 0; height: 15px; width: 15px; margin-top: 5px; accent-color: var(--accent); }
.full-width { width: 100%; }
.form-footnote { font-size: 11px; text-align: center; color: #8b98ad; margin-top: 14px; line-height: 1.8; }
.resume-notice { color: #5d73ae; font-size: 12px; padding-top: 15px; }
.error-text { color: #ae463f; font-size: 12px; margin-bottom: 14px; }
.text-button { background: transparent; border: 0; color: #60749d; padding: 5px 0; font-size: 12px; }
.text-button:hover { color: var(--accent); }

/* The stimuli sit on an achromatic surface without color-changing effects. */
.study-page { padding-top: 18px; }
.study-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.study-top .eyebrow { font-size: 12px; color: #7b879b; }
.study-top h1 { font-size: 30px; font-weight: 650; margin-top: 8px; }
.study-counter { line-height: 1.25; flex-shrink: 0; font-variant-numeric: tabular-nums; text-align: right; }
.study-counter > span:first-child { font-size: 36px; font-weight: 600; letter-spacing: -.04em; }
.counter-total { font-size: 20px; color: #a0acc0; }
.study-counter small { display: block; font-size: 11px; color: #8b99ae; margin-top: 5px; }
.study-progress { height: 4px; margin-top: 21px; background: #e0e6f1; border-radius: 3px; overflow: hidden; }
.study-progress > span { height: 100%; width: 0; display: block; background: #6c83d9; transition: width .18s; }
.study-instructions { margin: 14px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.study-instructions p { color: #7b889e; font-size: 12px; }
.study-instructions p strong { color: #536784; font-weight: 550; }
.study-instruction-actions { display: flex; gap: 19px; flex-shrink: 0; }
.comparison-stage { background: var(--viewer); padding: 16px; border-radius: 9px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; position: relative; }
.image-choice { width: 100%; min-width: 0; min-height: 300px; padding: 13px 10px 24px; position: relative; display: flex; align-items: center; justify-content: center; background: var(--viewer); border: 2px solid transparent; border-radius: 4px; }
.image-choice img { width: 100%; height: 100%; max-height: 440px; aspect-ratio: 1.43; object-fit: contain; -webkit-user-drag: none; }
.image-choice[aria-pressed="true"] { border-color: #d9d9d9; }
.image-choice, .answer-button { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.image-badge { position: absolute; z-index: 1; left: 9px; top: 9px; display: grid; place-items: center; width: 23px; height: 23px; font-size: 11px; color: #333; background: #efefef; border-radius: 4px; pointer-events: none; }
.image-selection { display: none; position: absolute; bottom: 5px; left: 12px; right: 12px; font-size: 11px; color: #ddd; }
.image-selection > span { float: right; }
.image-choice[aria-pressed="true"] .image-selection { display: block; }
.image-loading { position: absolute; inset: 0; background: var(--viewer); border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 25px; color: #ddd; font-size: 13px; text-align: center; z-index: 2; }
.answer-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr); gap: 12px; margin-top: 16px; }
.answer-button { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 17px; border: 1px solid #d4dfed; background: white; border-radius: 7px; color: #516482; font-size: 14px; }
.answer-button kbd { font: 11px "Noto Sans CJK SC", sans-serif; display: grid; place-items: center; color: #8493ad; border: 1px solid #e0e6f1; background: #f6f8fc; width: 23px; height: 23px; border-radius: 4px; }
.answer-check { visibility: hidden; margin-left: auto; }
.answer-button[aria-pressed="true"] { background: #edf1ff; border-color: #7d94e5; color: var(--accent); }
.answer-button[aria-pressed="true"] .answer-check { visibility: visible; }
.tie-button { color: #7d8ba3; background: transparent; }
.study-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.study-bottom > .small { margin-left: auto; margin-right: auto; font-size: 12px; }
.next-button { min-width: 145px; justify-content: space-between; }
.study-footnote { font-size: 11px; color: #8d9ab0; text-align: center; margin-top: 22px; line-height: 1.9; }

.complete-page { max-width: 790px; margin: auto; text-align: center; padding-top: 50px; }
.completion-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 23px; background: #e7edff; color: var(--accent); border-radius: 50%; font-size: 25px; }
.complete-page h1 { font-size: 35px; margin: 15px 0; }
.complete-page > p { font-size: 13px; color: #7989a1; }
.personal-result { max-width: 570px; margin: 33px auto 23px; padding: 28px 30px; display: flex; justify-content: space-between; align-items: center; gap: 22px; text-align: left; background: white; border: 1px solid #dfe6f2; border-radius: 11px; }
.personal-result .small { font-size: 12px; }
.personal-result strong { display: block; font-size: 47px; font-weight: 600; letter-spacing: -.045em; color: var(--accent); line-height: 1.4; margin: 4px 0; }
.personal-result p { font-size: 11px; color: #7e8ca4; }
.result-ring { width: 93px; height: 93px; display: grid; place-items: center; border-radius: 50%; position: relative; flex-shrink: 0; }
.result-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: white; }
.result-ring > span { z-index: 1; font-size: 17px; color: var(--accent); font-weight: 550; }
.result-note { max-width: 520px; margin: auto; font-size: 12px; color: #7f8ca3; line-height: 1.9; }
.result-note strong { font-weight: 550; color: #5d7198; }
.result-note p { margin-top: 7px; }
.completion-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }

/* Research administration is denser than the participant experience. */
.admin-page { padding-top: 22px; }
.admin-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.admin-top h1 { font-size: 32px; margin: 8px 0 8px; }
.admin-top p { font-size: 13px; color: #7b8aa1; }
.admin-top-actions { display: flex; align-items: center; gap: 17px; }
.admin-top-actions .button { font-size: 12px; white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: #7a8bad; white-space: nowrap; font-size: 11px; }
.status-pill > span { width: 6px; height: 6px; background: #7a8bad; border-radius: 50%; }
.admin-demo-note { background: #eaf0fc; border: 1px solid #dce5f5; border-radius: 7px; padding: 11px 14px; margin: 24px 0 19px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #7587a9; font-size: 11px; }
.data-switch { display: flex; padding: 3px; background: #dfe7f7; border-radius: 5px; gap: 3px; flex-shrink: 0; }
.data-switch button { font-size: 11px; color: #7285a8; border: 0; background: transparent; border-radius: 4px; padding: 6px 10px; }
.data-switch button[aria-pressed="true"] { background: white; color: #405c9e; }
.admin-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.admin-filters label { font-size: 12px; color: #7a8ba7; min-width: 145px; }
.admin-filters select { font-size: 12px; min-height: 37px; padding: 7px 10px; display: block; margin-top: 5px; }
.filter-note { font-size: 11px; color: #8091ae; margin-left: auto; margin-bottom: 9px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.stat-card { padding: 21px; border: 1px solid #dde5f1; border-radius: 8px; background: white; }
.stat-card > span { color: #778bab; font-size: 12px; }
.stat-card strong { display: block; font-size: 36px; font-weight: 550; line-height: 1.35; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin: 11px 0 9px; }
.stat-card strong > span { font-size: 11px; color: #8b9ab1; font-weight: 400; margin-left: 6px; }
.stat-card small { color: #8597b5; font-size: 11px; }
.stat-primary { border-color: #ccd8f6; background: #eaf0ff; }
.stat-primary strong { color: var(--accent); }
.admin-middle { display: grid; grid-template-columns: 1.1fr 1fr; gap: 23px; margin: 24px 0; }
.distribution-panel, .sampling-panel { min-width: 0; background: white; border: 1px solid #dde5f1; padding: 22px; border-radius: 8px; }
.panel-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.panel-title .eyebrow, .records-heading .eyebrow { display: none; }
.panel-title h2 { font-size: 21px; }
.panel-title .small { font-size: 11px; color: #8c9ab2; margin-top: 5px; }
.distribution-bar { background: #eef2fa; height: 29px; margin-top: 28px; border-radius: 4px; overflow: hidden; display: flex; }
.distribution-bar > div { min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; color: white; font-size: 11px; }
.distribution-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 15px; font-size: 11px; color: #788bab; }
.legend-item { display: flex; align-items: center; gap: 6px; }
.legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.denominator-note { padding-top: 16px; margin-top: 18px; border-top: 1px solid #edf1f8; color: #8b9bb4; font-size: 11px; line-height: 1.9; }
.denominator-note strong { color: #5d79ab; font-weight: 550; }
.sampling-rule { font-size: 11px; color: #8798b3; margin: 19px 0 16px; }
.sampling-rule strong { color: #5c78a6; font-weight: 550; }
.sampling-rule > span { margin: 0 10px; color: #b1bfd4; }
.dataset-quotas > div { display: flex; align-items: center; gap: 14px; margin: 9px 0; color: #7a8fad; font-size: 12px; }
.dataset-quotas > div > span:first-child { width: 62px; flex-shrink: 0; }
.quota-bar { height: 6px; border-radius: 3px; background: #edf1f8; flex: 1; }
.quota-bar > i { height: 6px; border-radius: 3px; display: block; background: #9aafdd; }
.dataset-quotas strong { width: 21px; font-size: 12px; font-weight: 500; color: #6c85ad; }
.sampling-panel > p { font-size: 11px; color: #8d9bb2; line-height: 1.9; margin-top: 15px; }
.records-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 30px 0 14px; }
.records-heading h2 { font-size: 23px; }
.records-heading > .small { font-size: 11px; color: #8c9cb6; }
.table-wrap { background: white; border: 1px solid #dde5f1; border-radius: 7px; overflow-x: auto; }
.records-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; white-space: nowrap; }
.records-table th { font-weight: 500; font-size: 11px; color: #8b9db8; background: #edf2fa; padding: 12px 17px; border-bottom: 1px solid #e0e8f5; }
.records-table td { padding: 14px 17px; border-bottom: 1px solid #edf1f7; color: #768eaf; }
.records-table td:first-child { color: #46628b; }
.records-table tbody tr:last-child td { border-bottom: 0; }
.participant-meta { font-size: 11px; line-height: 1.9; color: #899ab4; }
.progress-label { display: flex; gap: 9px; align-items: center; }
.mini-progress { width: 54px; height: 4px; border-radius: 2px; background: #edf2fa; }
.mini-progress > span { display: block; height: 4px; background: #8da5d8; border-radius: 2px; }
.complete-tag { font-size: 10px; color: #6b86b3; }
.table-empty { text-align: center; padding: 35px 16px !important; font-size: 12px; color: #8b9bb4 !important; white-space: normal; }
.item-results { margin-bottom: 38px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #273654; color: white; padding: 12px 21px; font-size: 12px; border-radius: 7px; max-width: 90vw; z-index: 30; box-shadow: 0 6px 24px #17284222; }
dialog { padding: 29px; border: 1px solid #d3def0; border-radius: 13px; background: white; color: var(--ink); width: 90%; max-width: 900px; max-height: 88dvh; overflow: auto; box-shadow: 0 24px 80px #1e33501a; }
dialog::backdrop { background: #202c4852; backdrop-filter: blur(4px); }
dialog.study-guide { max-width: 560px; padding: 30px 34px; }
.guide-heading .eyebrow { color: #8a9bb5; font-size: 12px; }
.guide-heading h2 { font-size: 27px; margin: 10px 0 13px; }
.guide-heading p { color: #6b7d99; font-size: 13px; line-height: 1.95; }
.guide-steps { list-style: none; display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 24px 0 20px; }
.guide-steps > li { display: flex; gap: 13px; align-items: flex-start; }
.guide-steps > li > span { display: grid; place-items: center; width: 25px; height: 25px; background: #edf2ff; color: #6d84bd; border-radius: 6px; font-size: 12px; flex-shrink: 0; }
.guide-steps strong { font-size: 14px; font-weight: 550; }
.guide-steps p { color: #7b8ea9; font-size: 12px; line-height: 1.85; margin-top: 5px; }
.guide-environment { border-top: 1px solid #e7edf7; padding-top: 15px; margin-bottom: 22px; font-size: 11px; color: #8a9bb7; line-height: 1.85; }
.guide-return { display: block; min-height: 37px; margin: 10px auto 0; color: #91a1bb; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 23px; margin-bottom: 20px; }
.dialog-heading h2 { font-size: 24px; margin-top: 7px; }
.close-dialog { border: 0; background: transparent; color: #90a2c1; font-size: 30px; padding: 4px 8px; }
.detail-meta { color: #8a9dbb; font-size: 12px; margin-bottom: 17px; }
.detail-row { display: grid; grid-template-columns: 75px 1fr 1fr 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #e5ecf7; color: #7c94b7; font-size: 12px; }
.detail-row img { width: 68px; border-radius: 4px; }
.detail-row strong { font-size: 12px; font-weight: 550; color: #506d9b; }

/* Taste: quiet chrome. Emil: prompt press feedback. UI/UX: visible readiness. */
.preview-strip { background: #eaecee; color: #62676d; }
.brand-symbol { border-color: #424a55; }
.brand-symbol::before { border-color: #424a55; }
.brand-symbol::after { background: #424a55; }
.brand small,nav a,.hero-intro,.hero-note,.entry-steps,.viewer-label,.art-footer p,.steps-title p,.steps-grid p,.site-footer,.profile-copy>p,.privacy-note p,.environment-note p,.form-heading>span,.consent,.form-footnote,.study-top .eyebrow,.study-counter small,.study-instructions p,.study-footnote,.complete-page>p,.personal-result p,.result-note,.admin-top p,.admin-demo-note,.admin-filters label,.filter-note,.stat-card>span,.stat-card small,.distribution-legend,.denominator-note,.sampling-rule,.sampling-panel>p,.records-heading>.small,.records-table th,.records-table td,.participant-meta,.guide-heading .eyebrow,.guide-heading p,.guide-steps p,.guide-environment,.detail-meta,.detail-row { color: var(--muted); }
.hero-note,.entry-steps,.art-caption,.viewer-label,.art-footer p,.site-footer,.form-footnote,.study-footnote,.stat-card small,.distribution-legend,.denominator-note,.sampling-panel>p,.records-table th,.participant-meta,.guide-environment { font-size: 12px; }
.art-caption,.art-footer strong,.privacy-note strong,.environment-note .eyebrow,.field-label,.gender-field legend,.study-instructions p strong,.result-note strong { color: #4a515b; }
.hero-art,.profile-form,.distribution-panel,.sampling-panel { box-shadow: none; border-color: var(--line); }
.hero-art { padding: 12px; border-radius: 8px; }
.viewer-compare-mark { color: #575e69; background: #f0f1f2; }
.button { transition: background 140ms ease,transform 120ms var(--ease-out); }
.button:active:not(:disabled) { transform: scale(.98); }
.answer-button:active:not(:disabled) { background: #e9edf6; }
.using-keyboard .button,.using-keyboard .answer-button,.using-keyboard .study-progress>span { transition: none; }
.using-keyboard .button:active { transform: none; }
.asset-state { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; font-size: 12px; line-height: 1.8; padding: 0 0 16px; border-bottom: 1px solid var(--line); color: #62686d; }
.asset-state[data-status="error"] { color: #9f3037; }
.asset-state[data-status="loading"] { color: #62686d; }
.asset-state .text-button { text-decoration: underline; text-underline-offset: 3px; }
.image-retry { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); z-index: 3; background: #f4f4f4; color: #292929; min-width: 190px; }
.image-retry:active:not(:disabled) { transform: translateX(-50%) scale(.98); }
.stat-grid { gap: 0; border: 1px solid var(--line); border-radius: 7px; background: white; overflow: hidden; }
.stat-card { border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.stat-card:last-child { border-right: 0; }
.stat-card strong { font-size: 29px; }
.stat-primary strong { font-size: 36px; }
.stat-primary { background: transparent; }
.table-wrap { border-color: var(--line); }
.records-table th { background: white; }
.records-table th,.records-table td { font-variant-numeric: tabular-nums; }
.item-results .records-table th:nth-child(n+3),.item-results .records-table td:nth-child(n+3) { text-align: right; }
.button.primary { background: #252c30; }
.hero-cta { box-shadow: none; }
.hero-guide,.entry-pointer,.text-button,.section-kicker,.section-topline strong { color: #456261; }
.entry-steps li>span { color: #566b6a; border-color: #cbd3d2; }
.radio-options input:checked+span,.answer-button[aria-pressed="true"] { color: #345d5a; border-color: #7d9794; background: #edf2f0; }
.radio-options input:focus-visible+span { outline-color: #658a8a; }
.radio-options span { color: #5c6776; }
.guide-steps>li>span { background: #edf1f0; color: #596d69; }
.study-progress { background: #dde4e1; }
.study-progress>span { background: #78988d; }
.data-switch { background: #e4e8e7; }
.data-switch button,.data-switch button[aria-pressed="true"] { color: #465f5c; }
.admin-demo-note { background: #edf1ef; border-color: #dce4df; }
.complete-tag { color: #496c62; }
.mini-progress { background: #e8eeeb; }
.mini-progress>span { background: #829e93; }
.quota-bar { background: #ecf0ee; }
.quota-bar>i { background: #94aaa0; }
.completion-mark { background: #e9f0ed; color: #436b5e; }
.records-table td:first-child { color: #405851; }
.status-pill,.dataset-quotas strong,.sampling-rule strong { color: #556c62; }
.status-pill>span { background: #879a91; }
dialog::backdrop { background: #0005; backdrop-filter: none; }
@media (hover: hover) and (pointer: fine) {
  .button.primary:hover:not(:disabled) { background: var(--accent-dark); }
  .button.secondary:hover { background: #eef0f3; }
}
@media (max-width:760px) {
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .asset-state { font-size: 12px; }
}

@media (max-width: 1100px) {
  .hero { gap: 4%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.24fr); }
  .hero-copy h1 { font-size: 40px; }
  .hero-intro { font-size: 13px; }
  .hero-art { padding: 12px; }
  .art-caption { font-size: 11px; }
  .art-footer p { font-size: 11px; }
  .hero-frame figcaption { padding: 8px; }
  .steps-block { grid-template-columns: 1fr; gap: 24px; }
  .profile-grid { gap: 7%; }
  .profile-copy h1 { font-size: 36px; }
  .profile-form { padding: 27px; }
  .admin-top-actions { flex-direction: column; align-items: flex-end; gap: 10px; }
  .stat-card { padding: 17px; }
  .stat-card strong { font-size: 32px; }
  .admin-filters label { min-width: 120px; }
  .image-choice { min-height: 240px; }
  .study-top h1 { font-size: 25px; }
  .study-instructions { align-items: flex-start; }
}

@media (max-width: 760px) {
  .site-header { padding: 19px 6%; gap: 15px; }
  .brand { font-size: 25px; gap: 10px; }
  .brand-symbol { height: 32px; width: 32px; border-radius: 9px; }
  .brand-symbol::before { inset: 6px; }
  .brand small { font-size: 10px; }
  nav { gap: 16px; font-size: 12px; }
  nav .admin-nav { padding: 6px 9px; font-size: 11px; }
  main { padding: 0 6%; }
  .page { padding-top: 15px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding: 14px 0 32px; }
  .study-label { font-size: 11px; }
  .hero-copy h1 { font-size: 41px; line-height: 1.34; margin: 15px 0 18px; }
  .hero-intro { font-size: 14px; line-height: 1.9; }
  .hero-guide { margin-top: 22px; }
  .hero-guide strong { font-size: 12px; }
  .hero-cta { width: 100%; min-width: 0; min-height: 54px; }
  .hero-note { font-size: 11px; text-align: center; margin-top: 12px; }
  .entry-steps { justify-content: center; gap: 18px; margin-top: 21px; font-size: 11px; }
  .hero-art { padding: 12px; border-radius: 10px; }
  .hero-pair { gap: 7px; }
  .hero-frame figcaption { font-size: 10px; padding: 8px; gap: 6px; }
  .hero-frame figcaption > span { width: 18px; height: 18px; }
  .art-caption { padding-bottom: 12px; font-size: 11px; }
  .viewer-label { font-size: 10px; }
  .art-footer { padding-top: 13px; gap: 10px; }
  .art-footer p { font-size: 10px; line-height: 1.85; }
  .viewer-compare-mark { font-size: 12px; padding: 5px 8px; }
  .steps-block { padding-top: 24px; gap: 23px; }
  .steps-title h2 { font-size: 22px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid article { padding-left: 14px; }
  .steps-grid h3 { font-size: 14px; margin-bottom: 5px; }
  .steps-grid p { font-size: 12px; }
  .site-footer { padding: 21px 6%; margin-top: 22px; font-size: 10px; gap: 8px; }
  .section-topline { gap: 12px; margin-bottom: 22px; }
  .section-topline > .small { font-size: 11px; }
  .flow-line { margin: 0 6px; }
  .profile-grid { grid-template-columns: 1fr; gap: 23px; margin-bottom: 25px; }
  .profile-copy h1 { font-size: 33px; margin: 8px 0 14px; }
  .profile-copy > p { max-width: none; font-size: 13px; }
  .privacy-note { margin-top: 21px; }
  .environment-note { margin-top: 20px; padding-top: 17px; }
  .profile-form { padding: 25px; }
  select { font-size: 16px; }
  .radio-options span { min-height: 44px; }
  .consent { font-size: 12px; }
  .form-footnote { font-size: 11px; }
  .study-top h1 { font-size: 21px; max-width: 295px; line-height: 1.5; }
  .study-top .eyebrow { font-size: 11px; }
  .study-counter > span:first-child { font-size: 30px; }
  .counter-total { font-size: 18px; }
  .study-counter small { font-size: 10px; }
  .study-instructions { flex-direction: column; gap: 7px; align-items: stretch; margin: 13px 0; }
  .study-instructions p { font-size: 12px; line-height: 1.9; }
  .study-instruction-actions { justify-content: space-between; gap: 20px; }
  .study-instruction-actions .text-button { min-height: 34px; font-size: 12px; }
  .comparison-stage { padding: 7px; gap: 4px; border-radius: 7px; }
  .image-choice { min-height: 180px; padding: 9px 0 21px; }
  .image-choice img { aspect-ratio: 1; max-height: 270px; }
  .image-badge { top: 5px; left: 5px; width: 19px; height: 19px; font-size: 10px; }
  .image-selection { font-size: 9px; left: 5px; right: 5px; }
  .answer-controls { gap: 7px; grid-template-columns: 1fr 1fr .95fr; }
  .answer-button { min-height: 46px; gap: 4px; padding: 10px 8px; font-size: 12px; justify-content: center; }
  .answer-button kbd { display: none; }
  .answer-check { display: none; }
  .answer-button[aria-pressed="true"] .answer-check { display: inline; margin-left: 4px; }
  .study-bottom { gap: 12px; margin-top: 19px; }
  .study-bottom > .small { font-size: 11px; text-align: center; }
  .next-button { min-width: 105px; padding: 10px 13px; font-size: 12px; }
  .study-footnote { font-size: 11px; text-align: left; line-height: 1.9; }
  .complete-page { padding-top: 30px; }
  .complete-page h1 { font-size: 29px; }
  .complete-page > p { font-size: 12px; }
  .personal-result { padding: 21px; gap: 15px; }
  .personal-result strong { font-size: 41px; }
  .personal-result .small { font-size: 11px; }
  .personal-result p { font-size: 11px; }
  .result-ring { width: 78px; height: 78px; }
  .result-ring > span { font-size: 15px; }
  .result-note { font-size: 12px; }
  .completion-links { gap: 10px; }
  .completion-links .button { font-size: 12px; padding: 10px 16px; }
  .admin-top { align-items: flex-start; flex-direction: column; gap: 17px; }
  .admin-top h1 { font-size: 26px; }
  .admin-top p { font-size: 12px; }
  .admin-top-actions { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .admin-top-actions .button { font-size: 11px; padding: 9px 14px; }
  .admin-demo-note { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 11px; line-height: 1.9; }
  .admin-filters { gap: 9px; }
  .admin-filters label { min-width: 0; width: calc(33.333% - 6px); font-size: 11px; }
  .admin-filters select { font-size: 12px; padding: 8px 4px; }
  .filter-note { width: 100%; font-size: 11px; margin: 4px 0 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .stat-card { padding: 16px; }
  .stat-card > span { font-size: 11px; }
  .stat-card strong { font-size: 31px; }
  .stat-card small { font-size: 10px; line-height: 1.7; display: block; }
  .admin-middle { grid-template-columns: 1fr; gap: 16px; }
  .distribution-panel, .sampling-panel { padding: 19px; }
  .panel-title h2 { font-size: 21px; }
  .distribution-legend { gap: 11px; }
  .records-heading { align-items: flex-start; }
  .records-heading h2 { font-size: 21px; }
  .records-heading > .small { max-width: 135px; text-align: right; font-size: 10px; }
  .records-table th, .records-table td { padding: 12px; }
  .records-table { font-size: 11px; }
  .toast { width: max-content; font-size: 11px; }
  dialog { padding: 24px; max-height: 90dvh; }
  dialog.study-guide { padding: 25px 23px; width: calc(100% - 32px); }
  .guide-heading h2 { font-size: 24px; }
  .guide-heading p { font-size: 12px; }
  .guide-steps { gap: 17px; margin: 20px 0; }
  .guide-steps strong { font-size: 13px; }
  .guide-steps p { font-size: 12px; }
  .guide-environment { font-size: 11px; margin-bottom: 19px; }
  .study-guide .button { font-size: 13px; }
  .dialog-heading h2 { font-size: 22px; }
  .detail-row { grid-template-columns: 55px 1fr 1fr; font-size: 11px; }
  .detail-row > span:last-child { grid-column: 2 / 4; }
  .detail-row img { width: 50px; }
}

@media (max-width: 390px) {
  .preview-strip { font-size: 10px; gap: 4px; }
  .brand { font-size: 23px; }
  .brand-symbol { width: 29px; height: 29px; }
  .brand small { font-size: 9px; }
  nav { gap: 12px; font-size: 11px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-intro { font-size: 13px; }
  .entry-steps { gap: 11px; font-size: 10px; }
  .hero-frame figcaption { padding: 7px; }
  .art-footer p { font-size: 10px; }
  .viewer-compare-mark { display: none; }
  .profile-form { padding: 21px; }
  .profile-copy h1 { font-size: 30px; }
  .study-top h1 { font-size: 18px; }
  .image-choice { min-height: 156px; }
  .study-bottom > .small { max-width: 100px; font-size: 10px; }
  .answer-button { font-size: 11px; }
  .personal-result { padding: 17px; gap: 9px; }
  .result-ring { width: 68px; height: 68px; }
  .result-ring > span { font-size: 13px; }
  .admin-filters label { width: 100%; }
  .stat-card { padding: 13px; }
  .sampling-rule { font-size: 10px; }
  .sampling-rule > span { margin: 0 5px; }
}

@media (pointer: coarse) {
  .text-button { min-height: 44px; }
  .data-switch button { min-height: 40px; }
  .radio-options span { min-height: 44px; }
}
@media (max-width:760px) {
  .image-selection,.stat-card small,.site-footer,.entry-steps,.form-footnote,.study-counter small { font-size: 11px; }
  .image-choice { padding-bottom: 24px; }
  .answer-controls { gap: 8px; }
  .image-retry { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
