:root {
  --bg: #f2f6f3;
  --ink: #17211d;
  --muted: #687874;
  --green: #1f6f5b;
  --line: #dce7e1;
  --white: #ffffff;
  --gold: #f5b83d;
  --blue: #dbeff4;
  --rose: #f4e5df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  background: rgba(242, 246, 243, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 225, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.language-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 42px;
  min-width: 86px;
  padding: 0 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-dropdown::after {
  content: "⌄";
  margin-left: 8px;
  color: var(--green);
  font-weight: 900;
  pointer-events: none;
}

.language-select {
  width: 54px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  appearance: none;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.language-menu {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 104px;
  height: 48px;
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 25, 23, 0.07);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.language-trigger:hover,
.language-menu.open .language-trigger {
  border-color: rgba(31, 125, 96, 0.24);
  box-shadow: 0 18px 44px rgba(16, 25, 23, 0.1);
  transform: translateY(-1px);
}

.language-trigger b {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}

.language-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 168px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(16, 25, 23, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.language-menu.open .language-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-options button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.14s ease, background 0.14s ease, transform 0.14s ease;
}

.language-options button:hover,
.language-options button.active {
  color: var(--green);
  background: #eaf5ef;
}

.language-options button:hover {
  transform: translateX(2px);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 174px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.primary-btn {
  color: var(--white);
  background: var(--green);
}

.secondary-btn {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 58px 7vw 74px;
  overflow: hidden;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 120px));
  gap: 18px;
  margin-top: 40px;
}

.hero-stats div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.phone-preview {
  position: relative;
  width: min(100%, 390px);
  min-height: 660px;
  justify-self: center;
  padding: 24px;
  color: var(--white);
  background: #0b1512;
  border: 10px solid #101917;
  border-radius: 42px;
  box-shadow: 0 30px 80px rgba(16, 25, 23, 0.28);
}

.phone-preview.report-preview {
  width: min(100%, 360px);
  min-height: 470px;
  padding: 20px;
  border-width: 8px;
  border-radius: 38px;
}

.phone-top {
  width: 120px;
  height: 28px;
  margin: 0 auto 28px;
  background: #050807;
  border-radius: 0 0 18px 18px;
}

.report-preview .phone-top {
  width: 104px;
  height: 22px;
  margin-bottom: 18px;
}

.scan-card,
.report-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.scan-card {
  display: grid;
  grid-template-columns: 78px 1fr 58px;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.scan-card img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: var(--white);
  border-radius: 16px;
}

.scan-card span {
  color: #9fd0c2;
  font-size: 13px;
  font-weight: 900;
}

.scan-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.scan-card p,
.report-block p {
  margin: 6px 0 0;
  color: #b7c4c0;
  font-size: 13px;
  line-height: 1.45;
}

.scan-card b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--gold);
  border-radius: 999px;
  font-size: 20px;
}

.mode-row {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.mode-row span {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  color: #c8d5d0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.mode-row .active {
  color: #0b1512;
  background: #d7e6df;
}

.report-block {
  padding: 18px;
  margin-bottom: 14px;
}

.report-block h3 {
  margin-bottom: 4px;
  font-size: 17px;
}

.report-preview {
  display: flex;
  flex-direction: column;
}

.report-summary-card {
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.report-product-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
}

.report-product-row img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  padding: 7px;
  background: var(--white);
  border-radius: 16px;
}

.report-product-row span,
.ingredient-report-list span {
  color: #9fd0c2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.report-product-row strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.08;
}

.report-product-row p {
  margin: 6px 0 0;
  color: #b7c4c0;
  font-size: 12px;
  line-height: 1.28;
}

.report-product-row b {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  border: 4px solid var(--gold);
  border-radius: 999px;
  font-size: 21px;
}

.report-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.report-score-grid div {
  padding: 8px 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.report-score-grid strong,
.report-score-grid span {
  display: block;
}

.report-score-grid strong {
  font-size: 17px;
}

.report-score-grid span {
  margin-top: 2px;
  color: #b7c4c0;
  font-size: 10px;
  font-weight: 800;
}

.ingredient-report-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.ingredient-report-list div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.ingredient-report-list strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.ingredient-report-list p {
  margin: 5px 0 0;
  color: #b7c4c0;
  font-size: 11px;
  line-height: 1.3;
}

.report-preview .report-block {
  display: none;
}

.report-preview .ingredient-report-list div:nth-child(2) {
  display: none;
}

.section {
  padding: 86px 7vw;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid,
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.data-grid div {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-grid p,
.data-grid p,
.split p,
.final-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  place-items: center;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 14px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
}

.skin-panel {
  position: relative;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.skin-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
}

.skin-score {
  position: absolute;
  top: 36px;
  right: 36px;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  color: var(--white);
  background: rgba(11, 21, 18, 0.72);
  border: 4px solid var(--gold);
  border-radius: 999px;
}

.skin-score strong {
  font-size: 26px;
  line-height: 1;
}

.skin-score span {
  font-size: 11px;
}

.skin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skin-tags span {
  padding: 8px 12px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.data-band {
  background: #e8f0ec;
}

.data-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.geo-hub {
  background: #ffffff;
}

.geo-hub .section-heading p:not(.eyebrow) {
  max-width: 860px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.geo-link-grid,
.thread-grid,
.answer-grid,
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.geo-link-grid a,
.thread-grid article,
.answer-grid div,
.ingredient-grid div {
  min-width: 0;
  padding: 22px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.geo-link-grid span,
.thread-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.geo-link-grid strong,
.thread-grid h3,
.answer-grid strong,
.ingredient-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.geo-link-grid p,
.thread-grid p,
.answer-grid p,
.ingredient-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.final-cta {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 7vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--green);
  font-weight: 900;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 86px;
}

.legal-page h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 5vw, 64px);
}

.legal-updated {
  color: var(--muted);
  font-weight: 800;
}

.legal-page section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.legal-page p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-page a {
  color: var(--green);
  font-weight: 900;
}

.community-page {
  background: #f7faf8;
}

.community-hero,
.community-article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 76px 7vw 44px;
}

.community-hero h1,
.community-article h1 {
  max-width: 920px;
  font-size: clamp(38px, 4.2vw, 62px);
}

.community-hero > p:not(.eyebrow),
.community-article .lead {
  max-width: 860px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.65;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.community-feed {
  padding-top: 44px;
}

.thread-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thread-grid.compact,
.answer-grid,
.ingredient-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.community-article {
  display: grid;
  gap: 28px;
}

.community-article section {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.community-article section h2 {
  font-size: clamp(26px, 2.6vw, 36px);
}

.thread-list,
.numbered-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.note-box {
  background: #fff8ef !important;
  border-color: #f1d5a2 !important;
}

.faq-section {
  padding-top: 44px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.compact-btn {
  min-height: 38px;
  padding: 0 16px;
}

.webapp-body {
  min-height: 100vh;
  background: #edf4f0;
}

.webapp-header {
  position: sticky;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: 28px;
}

.app-top-nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.app-top-nav button {
  min-width: 0;
  height: 38px;
  padding: 0 14px;
  color: #4d5d58;
  background: transparent;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.app-top-nav button.active {
  color: var(--green);
  background: #e5f2ed;
}

.webapp-main {
  max-width: 1040px;
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 54px 24px 64px;
}

.app-page {
  display: none;
}

.app-page.active {
  display: block;
}

.app-page-heading {
  max-width: 680px;
  margin-bottom: 24px;
}

.app-page-heading.compact {
  max-width: 680px;
  margin-bottom: 22px;
}

.app-page-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(36px, 4.2vw, 54px);
}

.app-page-heading.compact h1 {
  font-size: clamp(32px, 3.4vw, 44px);
}

.app-page-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.web-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  margin-bottom: 18px;
}

.dashboard-hero,
.decision-summary,
.module-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.dashboard-hero {
  min-height: 280px;
  padding: 34px;
}

.dashboard-hero h1 {
  max-width: 720px;
  margin-bottom: 12px;
  font-size: clamp(38px, 4.6vw, 62px);
}

.dashboard-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.decision-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 24px;
  background: #10201b;
  color: var(--white);
}

.decision-summary span {
  color: #a8c8bf;
  font-weight: 900;
}

.decision-summary strong {
  display: block;
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.2;
}

.decision-summary p {
  color: #bdd0c9;
  line-height: 1.55;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.summary-metrics div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.summary-metrics b,
.summary-metrics small {
  display: block;
}

.summary-metrics b {
  font-size: 24px;
}

.summary-metrics small {
  color: #bdd0c9;
  font-size: 12px;
}

.home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: 18px;
}

.module-panel {
  padding: 22px;
}

.panel-head,
.page-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.panel-head {
  margin-bottom: 14px;
}

.panel-head h2 {
  margin-bottom: 4px;
  font-size: 24px;
}

.panel-head p,
.page-title-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.panel-head button {
  height: 36px;
  padding: 0 13px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.page-title-row {
  margin-bottom: 22px;
}

.page-title-row h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 3.6vw, 50px);
}

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

.home-content-grid .quick-actions {
  grid-template-columns: 1fr;
}

.quick-card {
  display: grid;
  min-height: 138px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
}

.quick-card.mint {
  background: #eaf7f1;
}

.quick-card.blue {
  background: #e8f3f5;
}

.quick-card.gold {
  background: #f7f0d9;
}

.quick-card span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 900;
}

.quick-card strong {
  font-size: 20px;
}

.quick-card em {
  margin-top: 4px;
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.simple-home-hero {
  padding: 8px 0 14px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.simple-home-hero h1 {
  max-width: 560px;
  margin: 0 auto 24px;
  color: #24312d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.35vw, 34px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.home-command-box {
  display: grid;
  grid-template-rows: minmax(78px, auto) 42px;
  max-width: 840px;
  margin: 0 auto;
  padding: 12px 16px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(16, 25, 23, 0.07);
}

.home-command-box textarea {
  width: 100%;
  min-height: 78px;
  padding: 10px 8px;
  resize: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}

.home-command-box textarea::placeholder {
  color: #9b9f9d;
}

.command-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.command-add,
.command-send {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
}

.command-add {
  color: var(--ink);
  background: #f5f6f5;
  border: 1px solid var(--line);
}

.command-send {
  color: var(--white);
  background: var(--green);
}

.core-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(112px, 1fr));
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: 18px auto 40px;
}

.core-action-card {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  min-width: 0;
  padding: 0 10px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.core-action-card.mint {
  background: rgba(255, 255, 255, 0.74);
}

.core-action-card.blue {
  background: rgba(255, 255, 255, 0.74);
}

.core-action-card.gold {
  background: rgba(255, 255, 255, 0.74);
}

.core-action-card:hover {
  transform: translateY(-2px);
  border-color: #bfd9d0;
  box-shadow: 0 12px 24px rgba(16, 25, 23, 0.05);
}

.core-action-card span {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0;
  place-items: center;
  color: var(--green);
  background: transparent;
  border-radius: 0;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.core-action-card.gold span {
  font-size: 26px;
  transform: translateY(-1px);
}

.core-action-card strong,
.core-action-card em {
  display: block;
}

.core-action-card strong {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
}

.simple-records-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.app-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

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

.discover-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.discover-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.discover-search input {
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  outline: 0;
}

.discover-search button,
.discover-filters button {
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.discover-search button {
  color: var(--green);
  background: #eef7f3;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.discover-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discover-filters button {
  min-height: 34px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.discover-filters button.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.product-result-list,
.guide-list {
  display: grid;
  gap: 12px;
}

.product-result {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px;
  text-align: left;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}

.product-result img,
.result-placeholder {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
}

.result-placeholder {
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.product-result span,
.guide-list span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.product-result strong,
.guide-list strong {
  display: block;
  margin: 4px 0;
}

.product-result p,
.guide-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.product-result b {
  color: var(--green);
}

.guide-list article {
  padding: 16px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.experience-panel {
  margin-top: 18px;
}

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

.experience-grid article {
  overflow: hidden;
  padding: 0;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.experience-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(16, 25, 23, 0.08);
}

.discover-empty {
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  font-weight: 900;
}

.experience-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
  height: 150px;
  padding: 10px;
  background: #eef6f2;
}

.experience-media.warm {
  background: #f6f0dc;
}

.person-photo,
.product-photo {
  width: 100%;
  height: 130px;
  border-radius: 14px;
  display: block;
}

.person-photo {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #eef6f2, #f7fbf9);
}

.product-photo {
  object-fit: contain;
  padding: 10px;
  background: var(--white);
}

.product-photo.large {
  height: 112px;
}

.experience-copy {
  padding: 14px;
}

.experience-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.experience-copy em {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}

.experience-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.experience-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.experience-copy b {
  margin-top: 10px;
  color: var(--green);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.experience-detail {
  margin-top: 0;
  padding: 22px;
  background: #10201b;
  color: var(--white);
  border-radius: 20px;
}

.discover-detail-view {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 76px;
  scroll-margin-top: 96px;
}

.experience-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.experience-detail-toolbar button {
  height: 40px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.experience-detail-toolbar span {
  color: #a8c8bf;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.experience-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.experience-detail-head span {
  color: #a8c8bf;
  font-size: 13px;
  font-weight: 900;
}

.experience-detail-head h3 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.experience-detail-head button {
  height: 38px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.experience-detail-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
}

.experience-detail-media {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.experience-detail-media .person-photo,
.experience-detail-media .product-photo {
  width: 100%;
  height: 220px;
  border-radius: 14px;
}

.experience-detail-copy {
  display: grid;
  gap: 14px;
}

.experience-detail-copy section {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
}

.experience-detail-copy h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 18px;
}

.experience-detail-copy p {
  margin: 0;
  color: #c8d8d2;
  line-height: 1.8;
}

.app-section-head h2 {
  margin-bottom: 6px;
  font-size: 34px;
}

.app-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.app-section-head button {
  color: var(--green);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

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

.home-record {
  display: grid;
  grid-template-rows: 126px minmax(118px, auto);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  min-height: 252px;
  padding: 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.home-record:hover {
  transform: translateY(-2px);
  border-color: #bfd9d0;
  box-shadow: 0 12px 24px rgba(16, 25, 23, 0.05);
}

.home-record img {
  width: 100%;
  height: 126px;
  object-fit: contain;
  padding: 14px;
  background: var(--white);
}

.home-record img[src*="skin-face"] {
  object-fit: contain;
  padding: 8px;
}

.home-record span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.home-record div:not(.record-card-icon) {
  padding: 16px 16px 18px;
}

.home-record strong {
  display: block;
  margin: 6px 0;
  font-size: 19px;
  line-height: 1.22;
}

.home-record p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-record b {
  display: none;
}

.record-card-icon {
  display: grid;
  height: 126px;
  place-items: center;
  color: var(--green);
  background: var(--white);
  font-size: 32px;
  font-weight: 900;
}

.search-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-module input {
  min-height: 42px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
  font-weight: 800;
}

.search-module button {
  min-height: 42px;
  padding: 0 22px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.app-article-grid {
  margin-top: 0;
}

.profile-title-row,
.profile-layout {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.profile-title-row {
  align-items: end;
}

.profile-title-row h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.profile-account-card {
  display: grid;
  grid-template-columns: 56px minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.profile-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: #eaf5ef;
  border-radius: 50%;
}

.profile-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  min-width: 0;
}

.profile-info strong {
  display: block;
  max-width: 100%;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 2px;
}

.profile-info p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.profile-actions .g_id_signin {
  max-width: 100%;
  overflow: hidden;
}

.google-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 25, 23, 0.04);
}

.google-login-btn span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #4285f4;
  font-weight: 900;
}

.google-login-btn strong {
  font-size: 14px;
  line-height: 1.2;
}

.signout-btn {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s;
}

.signout-btn:hover {
  background: var(--bg);
}

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

.profile-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-grid article {
  min-height: 168px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.profile-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.profile-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.profile-stat-list {
  display: grid;
  grid-template-columns: repeat(3, 112px);
  gap: 10px;
}

.profile-stat-list div {
  padding: 14px 16px;
  background: #f4faf7;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.profile-stat-list strong,
.profile-stat-list span {
  display: block;
}

.profile-stat-list strong {
  font-size: 24px;
}

.profile-stat-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.web-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 58px 5vw 74px;
}

.app-shell {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(16, 25, 23, 0.16);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: #10201b;
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--white);
  font-weight: 900;
}

.app-logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.app-sidebar a {
  padding: 12px 14px;
  color: #bdd0c9;
  border-radius: 14px;
  font-weight: 900;
}

.app-sidebar a.active,
.app-sidebar a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.app-main {
  padding: 22px;
  background: #f6faf8;
}

.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.app-toolbar span {
  font-size: 22px;
  font-weight: 900;
}

.app-toolbar button,
.scan-zone button {
  height: 38px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.app-dashboard {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1fr);
  gap: 16px;
}

.webapp-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.webapp-tabs button {
  flex: 1;
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.webapp-tabs button.active {
  color: var(--white);
  background: var(--green);
}

.app-page.scan-report-mode .scan-title-row,
.app-page.scan-report-mode .webapp-tabs {
  display: none;
}

.webapp-workbench {
  align-items: start;
}

.webapp-workbench.report-ready {
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
}

.webapp-workbench.report-ready > .webapp-panel {
  display: none !important;
}

.webapp-workbench.report-ready .analysis-board {
  min-height: auto;
}

.scan-title-row {
  align-items: center;
}

.back-home-btn {
  min-height: 42px;
  padding: 0 18px;
  color: var(--green);
  background: #eef7f3;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.webapp-panel {
  display: none;
}

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

.scan-zone {
  min-height: 300px;
  padding: 20px;
  color: var(--white);
  background: #0b1512;
  border-radius: 20px;
}

.scan-zone span {
  display: block;
  margin-bottom: 22px;
  font-size: 20px;
  font-weight: 900;
}

.scan-frame {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 22px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.18) 49%, rgba(255, 255, 255, 0.18) 51%, transparent 52%),
    rgba(255, 255, 255, 0.04);
}

.scan-frame small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skin-scan-zone {
  background: #121817;
}

.face-frame {
  height: 190px;
  border-radius: 120px 120px 80px 80px;
}

.scan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-report,
.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 52px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.mini-report {
  align-content: start;
}

.mini-report img,
.product-row img,
.placeholder-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #eef6f2;
  border-radius: 16px;
}

.mini-report span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.mini-report strong,
.product-row strong {
  display: block;
  margin: 3px 0;
}

.ghost-scan-btn {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.16) !important;
}

.scan-note {
  margin: 14px 0 0;
  color: #b7c4c0;
  font-size: 13px;
  line-height: 1.55;
}

.analysis-board {
  scroll-margin-top: 104px;
  min-height: 300px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.analysis-empty {
  display: grid;
  min-height: 260px;
  place-content: center;
  color: var(--muted);
  text-align: center;
}

.analysis-empty[hidden],
.analysis-progress[hidden] {
  display: none !important;
}

.analysis-empty strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
}

.analysis-empty p {
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.6;
}

.analysis-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.analysis-upload-preview {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.analysis-upload-preview img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
}

.analysis-upload-preview strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.analysis-upload-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.analysis-live-note {
  padding: 12px 14px;
  color: var(--green);
  background: #e9f6f0;
  border: 1px solid #cfe6dc;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--muted);
  background: #f3f8f5;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.progress-step::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 999px;
}

.progress-step:first-of-type::before {
  box-shadow: 0 0 0 6px rgba(33, 124, 98, 0.12);
}

.analysis-error-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #fffaf4;
  border: 1px solid #efd6bd;
  border-radius: 22px;
}

.analysis-error-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: var(--white);
  border-radius: 18px;
}

.analysis-error-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a35c00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analysis-error-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
}

.analysis-error-card p,
.analysis-error-card em {
  display: block;
  max-width: 680px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

.analysis-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.analysis-error-actions button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.analysis-error-actions .ghost-error-btn {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
}

.result-card {
  display: grid;
  gap: 14px;
}

.result-hero {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 62px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.result-hero img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  background: var(--white);
  border-radius: 18px;
}

.result-hero span,
.record-item span,
.ingredient-list small {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.result-hero strong {
  display: block;
  margin: 3px 0;
  font-size: 20px;
}

.result-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.result-score {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 5px solid var(--gold);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
}

.result-section {
  padding: 14px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.result-section h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.ingredient-list {
  display: grid;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}

.ingredient-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: #f1f7f4;
  border-radius: 14px;
}

.ingredient-item strong {
  font-size: 15px;
}

.ingredient-item p,
.result-section li {
  color: var(--muted);
  line-height: 1.5;
}

.result-section ul {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  margin: 0;
}

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

.metric {
  padding: 12px;
  background: #f1f7f4;
  border-radius: 14px;
}

.metric strong {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.metric-bar {
  height: 8px;
  overflow: hidden;
  background: #dce7e1;
  border-radius: 999px;
}

.metric-bar i {
  display: block;
  height: 100%;
  background: var(--green);
}

.webapp-workbench.report-ready {
  grid-template-columns: minmax(0, 1180px);
}

.webapp-workbench.report-ready .analysis-board {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.webapp-workbench.report-ready .result-card {
  gap: 18px;
}

.report-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 2px;
}

.report-detail-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.report-detail-toolbar .back-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  margin-left: -5px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.report-detail-toolbar span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.webapp-workbench.report-ready .result-hero {
  grid-template-columns: 148px minmax(0, 1fr) 96px;
  gap: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 8% 10%, rgba(31, 111, 91, 0.08), transparent 28%),
    #fbfdfc;
  border-radius: 26px;
}

.webapp-workbench.report-ready .result-hero img {
  width: 148px;
  height: 148px;
  border: 1px solid #e8f0ec;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(16, 25, 23, 0.06);
}

.webapp-workbench.report-ready .result-hero span,
.webapp-workbench.report-ready .ingredient-list small {
  font-size: 13px;
}

.webapp-workbench.report-ready .result-hero strong {
  margin: 8px 0;
  max-width: 780px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.webapp-workbench.report-ready .result-hero p {
  max-width: 860px;
  font-size: 17px;
  line-height: 1.55;
}

.webapp-workbench.report-ready .result-score {
  width: 88px;
  height: 88px;
  align-self: center;
  border-width: 7px;
  background: var(--white);
  font-size: 32px;
}

.webapp-workbench.report-ready .result-section {
  padding: 24px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(16, 25, 23, 0.04);
}

.webapp-workbench.report-ready .result-section h4 {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.2;
}

.webapp-workbench.report-ready .ingredient-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: none;
  overflow: visible;
}

.webapp-workbench.report-ready .ingredient-item {
  align-content: start;
  gap: 5px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 18px;
}

.webapp-workbench.report-ready .ingredient-item strong,
.webapp-workbench.report-ready .metric strong {
  font-size: 19px;
  line-height: 1.2;
}

.webapp-workbench.report-ready .ingredient-item p,
.webapp-workbench.report-ready .result-section li,
.webapp-workbench.report-ready .metric p {
  font-size: 15px;
  line-height: 1.55;
}

.webapp-workbench.report-ready .result-section ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

.webapp-workbench.report-ready .result-section li {
  position: relative;
  padding: 18px 18px 18px 42px;
  background: #f8fbf9;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.webapp-workbench.report-ready .result-section li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 18px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 999px;
}

.webapp-workbench.report-ready .metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.webapp-workbench.report-ready .metric {
  min-height: 150px;
  padding: 18px;
  border-radius: 18px;
}

.webapp-workbench.report-ready .metric p {
  margin: 12px 0 0;
}

.ingredient-report-detail {
  --report-soft: #f1f7f4;
  --report-blue: #eaf3fb;
  --report-warn: #fff5e8;
}

.mode-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mode-chip-list button {
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
}

.mode-chip-list button.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

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

.skin-match-card {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 116px;
  padding: 16px 10px;
  background: var(--report-soft);
  border-radius: 18px;
  text-align: center;
}

.skin-match-card i {
  width: 18px;
  height: 18px;
  background: #22a77c;
  border-radius: 999px;
}

.skin-match-card strong {
  font-size: 15px;
  line-height: 1.15;
}

.skin-match-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.skin-match-card b {
  color: var(--green);
  font-size: 18px;
}

.star-ingredient-list,
.risk-alert-list,
.interaction-list,
.full-ingredient-list,
.alternative-list,
.suggestion-list {
  display: grid;
  gap: 12px;
}

.star-ingredient-row,
.risk-alert-row,
.alternative-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.star-ingredient-row {
  padding: 14px 0;
  border-bottom: 1px solid #edf3f0;
}

.star-ingredient-row:last-child {
  border-bottom: 0;
}

.star-ingredient-row strong,
.risk-alert-row strong,
.interaction-row strong,
.ingredient-row strong,
.alternative-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.star-ingredient-row p,
.risk-alert-row p,
.interaction-row p,
.ingredient-row p,
.alternative-card p,
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.star-ingredient-row span,
.risk-alert-row span,
.ingredient-stats span,
.alternative-card p {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  color: var(--muted);
  background: #f1f7f4;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.risk-alert-row {
  padding: 16px 0;
  border-bottom: 1px solid #edf3f0;
}

.risk-alert-row:last-child {
  border-bottom: 0;
}

.risk-alert-row span {
  color: #c57612;
  background: var(--report-warn);
}

.risk-alert-row em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.interaction-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.interaction-row > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 900;
}

.interaction-row.positive > span {
  color: var(--green);
  background: #e7f3ef;
}

.interaction-row.warning > span {
  color: #e16d45;
  background: #ffeceb;
}

.ingredient-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ingredient-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 26px;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
}

.ingredient-row > span {
  color: var(--muted);
  font-weight: 800;
}

.ingredient-row > b {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-size: 13px;
}

.suggestion-card {
  padding: 18px 20px;
  color: #25323a;
  background: var(--report-blue);
  border-left: 5px solid #4a90d9;
  border-radius: 0 14px 14px 0;
  font-size: 16px;
  line-height: 1.55;
}

.alternative-card {
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  padding: 16px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.alternative-logo {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: var(--green);
  background: #dcefe8;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 900;
}

.alternative-card span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.alternative-card p {
  width: fit-content;
  margin-top: 8px;
}

.skin-diagnosis-detail .result-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(31, 111, 91, 0.1), transparent 26%),
    #fbfdfc;
  color: var(--ink);
}

.skin-diagnosis-detail .result-hero span,
.skin-diagnosis-detail .result-hero p {
  color: var(--muted);
}

.skin-diagnosis-detail .result-score {
  color: var(--ink);
  background: var(--white);
}

.skin-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.skin-tag-list span {
  padding: 5px 10px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.diagnosis-dim-grid,
.target-ingredient-grid,
.timeline-grid,
.product-tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.diagnosis-dim,
.target-ingredient-card,
.timeline-card,
.product-tier-card {
  padding: 16px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.diagnosis-dim strong {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 17px;
}

.diagnosis-dim p,
.target-ingredient-card p,
.target-ingredient-card em,
.routine-step p,
.routine-step em,
.timeline-card p,
.lifestyle-list div,
.tier-product p,
.tier-product em,
.hero-product-card p,
.skin-report-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.issue-list,
.routine-grid,
.lifestyle-list,
.hero-product-list {
  display: grid;
  gap: 12px;
}

.issue-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #edf3f0;
}

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

.issue-row > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
}

.issue-row strong,
.target-ingredient-card strong,
.routine-step strong,
.timeline-card strong,
.tier-product strong,
.hero-product-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 17px;
}

.issue-row p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
}

.issue-row p b,
.target-ingredient-card span {
  padding: 3px 9px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
}

.issue-row em {
  color: var(--muted);
  font-style: normal;
}

.routine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.routine-card {
  padding: 16px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.routine-card h5,
.product-tier-card h5 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf3f0;
  font-size: 17px;
}

.routine-step {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
}

.routine-step > span,
.tier-product > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.routine-step em,
.target-ingredient-card em,
.tier-product em {
  display: block;
  margin-top: 4px;
  font-style: normal;
}

.target-ingredient-card span {
  display: inline-flex;
  margin: 8px 0;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  text-align: center;
}

.timeline-card strong {
  color: var(--green);
  font-size: 18px;
}

.lifestyle-list div {
  padding: 12px 14px;
  background: #f7fbf9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.skin-summary-card {
  padding: 22px;
  color: #20372f;
  background: linear-gradient(135deg, #eef8f4, #f8f1de);
  border: 1px solid var(--line);
  border-radius: 22px;
  line-height: 1.8;
}

.product-tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.tier-product {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf3f0;
}

.tier-product:last-child {
  border-bottom: 0;
}

.tier-product > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.tier-product b {
  color: var(--green);
  font-size: 12px;
  text-transform: uppercase;
}

.hero-product-list {
  margin-top: 16px;
}

.hero-product-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  background: #fff6d9;
  border: 1px solid #f3df9f;
  border-radius: 16px;
}

.hero-product-card > span {
  font-size: 24px;
}

.hero-product-card b {
  display: block;
  color: #986b07;
  font-size: 12px;
}

.skin-report-disclaimer {
  padding: 18px;
  text-align: center;
}

.records-panel {
  min-height: 360px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.records-panel h3 {
  font-size: 24px;
}

.records-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.records-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.record-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  text-align: left;
  background: #f5faf7;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}

.record-item img,
.record-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: #eaf5ef;
  border-radius: 12px;
}

.record-item strong {
  display: block;
  margin: 2px 0;
}

.record-score {
  color: var(--green);
  font-weight: 900;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mini-report p,
.product-row span {
  color: var(--muted);
  font-size: 13px;
}

.mini-report b,
.product-row b {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--ink);
  border: 4px solid var(--gold);
  border-radius: 999px;
}

.web-feature .section-heading {
  max-width: 860px;
}

.web-card-grid,
.article-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.web-card-grid article,
.article-demo-grid article,
.report-columns article {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.web-card-grid strong,
.article-demo-grid strong,
.report-columns strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.web-card-grid p,
.article-demo-grid p,
.report-columns p {
  color: var(--muted);
  line-height: 1.6;
}

.web-section-alt {
  background: #e8f0ec;
}

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

.search-bar {
  padding: 16px 18px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}

.placeholder-img {
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
}

.report-layout-demo {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
}

.score-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
  padding: 26px;
  color: var(--white);
  background: #10201b;
  border-radius: 26px;
}

.score-panel span {
  color: #bdd0c9;
  font-weight: 900;
}

.score-panel strong {
  margin: 10px 0;
  font-size: 74px;
  line-height: 1;
}

.score-panel p {
  color: #bdd0c9;
}

.report-columns {
  display: grid;
  gap: 12px;
}

.article-demo-grid span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--green);
  background: #eaf5ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero,
  .web-hero,
  .split {
    grid-template-columns: 1fr;
  }

  .webapp-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .webapp-header .header-actions {
    justify-content: space-between;
  }

  .app-top-nav {
    justify-self: stretch;
    overflow-x: auto;
  }

  .quick-actions,
  .profile-grid,
  .web-dashboard,
  .home-content-grid,
  .discover-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .core-actions {
    grid-template-columns: repeat(2, minmax(128px, 1fr));
    max-width: 420px;
  }

  .account-panel {
    grid-template-columns: 1fr;
  }

  .profile-account-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .profile-stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    padding-top: 36px;
  }

  .feature-grid,
  .data-grid,
  .web-card-grid,
  .geo-link-grid,
  .thread-grid,
  .thread-grid.compact,
  .answer-grid,
  .ingredient-grid,
  .article-demo-grid,
  .report-layout-demo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }

  .app-logo {
    min-width: 150px;
    margin-bottom: 0;
  }

  .webapp-workbench.report-ready {
    grid-template-columns: 1fr;
  }

  .webapp-workbench.report-ready .result-hero {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }

  .webapp-workbench.report-ready .result-hero img {
    width: 112px;
    height: 112px;
  }

  .webapp-workbench.report-ready .result-score {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .webapp-workbench.report-ready .ingredient-list,
  .webapp-workbench.report-ready .metric-grid,
  .webapp-workbench.report-ready .result-section ul {
    grid-template-columns: 1fr;
  }

  .skin-match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .star-ingredient-row,
  .risk-alert-row {
    grid-template-columns: 1fr;
  }

  .diagnosis-dim-grid,
  .target-ingredient-grid,
  .routine-grid,
  .timeline-grid,
  .product-tier-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
    align-items: flex-start;
  }

  .header-actions {
    margin-left: auto;
    max-width: 230px;
  }

  h1 {
    font-size: 42px;
  }

  .hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .feature-grid,
  .data-grid,
  .web-card-grid,
  .geo-link-grid,
  .thread-grid,
  .thread-grid.compact,
  .answer-grid,
  .ingredient-grid,
  .article-demo-grid,
  .report-layout-demo,
  .quick-actions,
  .profile-grid,
  .web-dashboard,
  .home-content-grid,
  .discover-layout,
  .profile-layout,
  .experience-grid,
  .experience-detail-layout,
  .app-dashboard {
    grid-template-columns: 1fr;
  }

  .core-actions {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .experience-detail-media {
    grid-template-columns: minmax(0, 1fr) 110px;
  }

  .webapp-main {
    padding: 28px 16px 48px;
  }

  .simple-home-hero {
    padding: 24px;
  }

  .home-search-box {
    grid-template-columns: 1fr;
  }

  .profile-title-row {
    display: block;
  }

  .profile-title-row p {
    max-width: 320px;
  }

  .profile-account-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .profile-avatar {
    width: 46px;
    height: 46px;
  }

  .profile-stat-list {
    grid-template-columns: 1fr;
  }

  .profile-grid article {
    min-height: auto;
  }

  .home-search-box input,
  .home-search-box button {
    min-height: 72px;
  }

  .core-action-card {
    min-height: 76px;
  }

  .webapp-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    align-items: center;
    padding: 14px 16px;
  }

  .webapp-header .brand {
    min-width: 0;
  }

  .webapp-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    max-width: none;
    margin-left: 0;
  }

  .webapp-header .language-dropdown {
    display: none;
  }

  .webapp-header .app-top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .app-top-nav button {
    min-width: 64px;
  }

  .result-hero {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .result-hero img {
    width: 68px;
    height: 68px;
  }

  .result-score {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .home-records {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .phone-preview {
    min-height: 590px;
  }

  .scan-card {
    grid-template-columns: 64px 1fr;
  }

  .scan-card b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
