/* KTS v1.1.0 product structure reset
   Clear hierarchy: record management -> preparation -> education -> operations. */

:root {
  --v110-black: #090806;
  --v110-black-soft: #17130e;
  --v110-ink: #1b1711;
  --v110-muted: #756c5f;
  --v110-gold: #bd8c39;
  --v110-gold-deep: #7f5b22;
  --v110-gold-light: #f1d492;
  --v110-paper: #f7f1e7;
  --v110-ivory: #fffdf8;
  --v110-line: rgba(74, 57, 31, .14);
  --v110-shadow: 0 24px 70px rgba(41, 30, 14, .10);
  --v110-radius: 24px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: #111;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- Public home ---------- */
body.home-v110 {
  color: var(--v110-ink);
  background:
    radial-gradient(circle at 86% 4%, rgba(189, 140, 57, .12), transparent 24rem),
    linear-gradient(180deg, #fbf8f2 0%, #f4ecdf 100%);
}

.home-v110 .product-header {
  position: fixed;
  height: 78px;
  padding-inline: clamp(18px, 4vw, 64px);
}

.home-v110 .product-nav { gap: 2px; }

.home-v110 .product-nav a {
  min-height: 40px;
  padding-inline: 13px;
  font-size: 13px;
}

.home-v110 .product-nav .nav-login {
  margin-left: 8px;
  border: 1px solid rgba(243, 214, 141, .38);
  color: #fff7e6;
  background: rgba(255, 255, 255, .06);
}

.product-hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 100px);
  padding: 148px clamp(22px, 7vw, 112px) 88px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 22%, rgba(195, 145, 58, .23), transparent 24rem),
    radial-gradient(circle at 12% 90%, rgba(111, 77, 26, .18), transparent 26rem),
    linear-gradient(135deg, #090806 0%, #11100d 53%, #21190f 100%);
  border-bottom: 1px solid rgba(189, 140, 57, .28);
}

.product-hero-copy { max-width: 760px; }

.product-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--v110-gold-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.product-kicker span {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.product-kicker.light { color: #f5d996; }

.product-hero h1 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.13;
  letter-spacing: -.064em;
}

.product-hero h1 em {
  color: var(--v110-gold-light);
  font-style: normal;
}

.product-hero-lead {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 250, 240, .77);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.78;
  word-break: keep-all;
}

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

.product-hero-actions .btn {
  min-height: 50px;
  padding-inline: 23px;
  border-radius: 12px;
}

.product-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.product-hero-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(243, 214, 141, .22);
  border-radius: 999px;
  color: rgba(255, 250, 240, .72);
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 800;
}

.product-beta-warning {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, .52);
  font-size: 12px;
  line-height: 1.65;
}

.product-hero-visual {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(243, 214, 141, .26);
  border-radius: 28px;
  color: #211a10;
  background:
    radial-gradient(circle at 92% 0%, rgba(189, 140, 57, .17), transparent 18rem),
    linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(247, 239, 224, .96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, .32);
}

.product-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58);
}

.visual-head,
.readiness-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.visual-head strong,
.readiness-head strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -.04em;
}

.visual-label,
.readiness-head span {
  color: var(--v110-gold-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.visual-score,
.readiness-head b {
  color: var(--v110-gold-deep);
  font-family: var(--font-display);
  font-size: 31px;
}

.visual-progress,
.readiness-bar {
  overflow: hidden;
  height: 7px;
  margin: 18px 0 23px;
  border-radius: 99px;
  background: rgba(93, 67, 28, .10);
}

.visual-progress span,
.readiness-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8e6527, #dab568);
}

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

.record-flow-preview li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 12px 14px;
  border: 1px solid rgba(79, 59, 31, .10);
  border-radius: 15px;
  background: rgba(255, 255, 255, .62);
}

.record-flow-preview li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #7a5a26;
  background: #eee2ca;
  font-size: 10px;
  font-weight: 900;
}

.record-flow-preview li.done > span {
  color: #fff;
  background: #1f6554;
}

.record-flow-preview li.attention > span {
  color: #fff;
  background: #a26b22;
}

.record-flow-preview strong,
.record-flow-preview small { display: block; }
.record-flow-preview strong { font-size: 14px; }
.record-flow-preview small { margin-top: 2px; color: #847968; font-size: 11px; }
.record-flow-preview b { color: #82735f; font-size: 11px; }
.record-flow-preview .done b { color: #296957; }
.record-flow-preview .attention b { color: #9b6119; }

.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(79, 59, 31, .12);
  color: #7c705f;
  font-size: 11px;
}

.visual-footer strong {
  color: #6e4d1b;
  letter-spacing: .12em;
}

.identity-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 82px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #f9edcf;
  background: #17130e;
  border-top: 1px solid rgba(243, 214, 141, .16);
  border-bottom: 1px solid rgba(243, 214, 141, .16);
  text-align: center;
}

.identity-strip strong { font-family: var(--font-display); font-size: 18px; }
.identity-strip span { color: rgba(255, 248, 231, .58); font-size: 13px; }

.product-section {
  max-width: 1480px;
  margin: 0 auto;
  padding: 118px clamp(22px, 6vw, 88px);
}

.product-section-head { max-width: 850px; margin-bottom: 48px; }
.product-section-head.narrow { max-width: 760px; }
.product-section-head.left { margin-bottom: 0; }

.section-number {
  margin: 0 0 16px;
  color: var(--v110-gold-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.product-section-head h2 {
  margin: 0;
  color: var(--v110-ink);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.24;
}

.product-section-head > p:last-child {
  max-width: 790px;
  margin: 22px 0 0;
  color: var(--v110-muted);
  font-size: 17px;
  line-height: 1.8;
  word-break: keep-all;
}

.problem-section { padding-bottom: 104px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--v110-line);
  border-bottom: 1px solid var(--v110-line);
}

.problem-grid article {
  min-height: 250px;
  padding: 32px 28px;
  border-right: 1px solid var(--v110-line);
}
.problem-grid article:last-child { border-right: 0; }
.problem-grid article > span { color: var(--v110-gold); font-size: 11px; font-weight: 900; }
.problem-grid h3 { margin: 25px 0 12px; font-size: 21px; }
.problem-grid p { margin: 0; color: var(--v110-muted); font-size: 14px; line-height: 1.75; }

.flow-section {
  max-width: none;
  padding-inline: clamp(22px, 6vw, 96px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(247, 240, 228, .96));
  border-top: 1px solid var(--v110-line);
  border-bottom: 1px solid var(--v110-line);
}

.flow-section > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.flow-section .product-section-head { margin-left: auto; margin-right: auto; }

.record-journey {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: stretch;
  gap: 8px;
  margin-bottom: 50px;
}

.record-journey article {
  min-width: 0;
  padding: 22px 17px;
  border: 1px solid var(--v110-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 12px 30px rgba(53, 39, 20, .04);
}

.record-journey article span {
  display: block;
  margin-bottom: 20px;
  color: var(--v110-gold-deep);
  font-size: 10px;
  font-weight: 900;
}
.record-journey article strong,
.record-journey article small { display: block; }
.record-journey article strong { font-size: 14px; }
.record-journey article small { margin-top: 6px; color: var(--v110-muted); font-size: 11px; line-height: 1.5; }
.record-journey i { align-self: center; color: rgba(126, 91, 34, .46); font-style: normal; }

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(300px, .75fr) minmax(0, 1.35fr);
  gap: 34px;
  overflow: hidden;
  border: 1px solid var(--v110-line);
  border-radius: 28px;
  background: var(--v110-ivory);
  box-shadow: var(--v110-shadow);
}

.feature-copy {
  padding: 45px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(198, 149, 63, .26), transparent 16rem),
    linear-gradient(145deg, #100e0b, #241a0e);
}

.feature-tag {
  color: var(--v110-gold-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.feature-copy h3 { margin: 28px 0 14px; color: #fff9ec; font-size: 31px; line-height: 1.35; }
.feature-copy p { margin: 0 0 26px; color: rgba(255, 249, 236, .67); font-size: 14px; line-height: 1.75; }
.text-link { color: var(--v110-gold-deep); font-weight: 900; }
.feature-copy .text-link { color: var(--v110-gold-light); }
.text-link span { margin-left: 5px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 20px;
}

.feature-list article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  border-bottom: 1px solid var(--v110-line);
}
.feature-list article:nth-child(odd) { border-right: 1px solid var(--v110-line); }
.feature-list article:nth-last-child(-n+2) { border-bottom: 0; }
.feature-list b { color: var(--v110-gold); font-size: 11px; }
.feature-list strong,
.feature-list span { display: block; }
.feature-list strong { font-size: 15px; }
.feature-list span { margin-top: 5px; color: var(--v110-muted); font-size: 12px; }

.preparation-section { max-width: none; background: #15120d; color: #fff; }
.preparation-layout {
  max-width: 1220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, .7fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
  margin: 0 auto;
}
.preparation-section .section-number { color: var(--v110-gold-light); }
.preparation-section .product-section-head h2 { color: #fff9ec; }
.preparation-section .product-section-head > p:last-child { color: rgba(255, 249, 236, .65); }
.preparation-section .product-section-head .btn { margin-top: 24px; color: #fff7e4; border-color: rgba(243, 214, 141, .28); background: rgba(255,255,255,.04); }

.readiness-card {
  padding: 31px;
  border: 1px solid rgba(243, 214, 141, .24);
  border-radius: 26px;
  color: #241b10;
  background: linear-gradient(180deg, #fffdf8, #f3e9d7);
  box-shadow: 0 32px 80px rgba(0,0,0,.32);
}
.readiness-group { padding: 17px 0; border-top: 1px solid var(--v110-line); }
.readiness-group strong { display: block; margin-bottom: 12px; font-size: 12px; }
.readiness-group p { margin: 8px 0; color: #655a4b; font-size: 13px; }
.readiness-group p span { display: inline-grid; width: 20px; margin-right: 7px; font-weight: 900; }
.readiness-group.completed p span { color: #246551; }
.readiness-group.needed p span { color: #a56b1c; }
.readiness-card > small { display: block; margin-top: 15px; color: #877a67; font-size: 10px; }

.education-section { padding-bottom: 102px; }
.education-grid,
.pillar-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.education-grid article,
.pillar-grid article,
.resource-grid article {
  padding: 29px;
  border: 1px solid var(--v110-line);
  border-radius: 20px;
  background: rgba(255, 253, 248, .76);
  box-shadow: 0 15px 40px rgba(48, 35, 17, .045);
}
.education-grid span,
.pillar-grid span,
.resource-grid > article > span { color: var(--v110-gold-deep); font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.education-grid h3,
.pillar-grid h3,
.resource-grid h3 { margin: 27px 0 11px; font-size: 21px; }
.education-grid p,
.pillar-grid p,
.resource-grid p { margin: 0; color: var(--v110-muted); font-size: 13px; line-height: 1.75; }

.pillars-section { max-width: none; background: rgba(230, 216, 193, .35); border-block: 1px solid var(--v110-line); }
.pillars-section > * { max-width: 1320px; margin-inline: auto; }
.pillar-grid article { min-height: 270px; display: flex; flex-direction: column; }
.pillar-grid article b { display: block; margin-top: auto; padding-top: 22px; color: var(--v110-gold-deep); font-size: 11px; }
.pillar-grid .primary-pillar { color: #fff; border-color: #1a160f; background: linear-gradient(145deg, #0f0d0a, #2a1e10); box-shadow: 0 24px 60px rgba(26,18,8,.18); }
.pillar-grid .primary-pillar h3 { color: #fff9ed; }
.pillar-grid .primary-pillar p { color: rgba(255,249,237,.66); }
.pillar-grid .primary-pillar span,
.pillar-grid .primary-pillar b { color: var(--v110-gold-light); }

.roadmap-list { border-top: 1px solid var(--v110-line); }
.roadmap-list article {
  display: grid;
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.3fr);
  gap: 50px;
  padding: 27px 0;
  border-bottom: 1px solid var(--v110-line);
}
.roadmap-list article > div { display: flex; align-items: center; gap: 20px; }
.roadmap-list span { min-width: 64px; color: var(--v110-gold-deep); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.roadmap-list strong { font-family: var(--font-display); font-size: 19px; }
.roadmap-list p { margin: 0; color: var(--v110-muted); font-size: 14px; }
.roadmap-list .current strong { color: #7f5a21; }

.resource-section { display: grid; grid-template-columns: minmax(270px, .58fr) minmax(0, 1.42fr); gap: 60px; align-items: start; }
.resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resource-grid article { min-height: 260px; display: flex; flex-direction: column; }
.resource-grid .text-link { margin-top: auto; padding-top: 22px; }

.product-cta {
  max-width: 1340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin: 0 auto 50px;
  padding: 55px clamp(28px, 5vw, 70px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 0%, rgba(209, 163, 77, .24), transparent 18rem),
    linear-gradient(135deg, #0c0a08, #22180d);
  box-shadow: 0 34px 90px rgba(30, 20, 8, .21);
}
.product-cta h2 { margin: 0; color: #fff8e9; font-size: clamp(30px, 3.5vw, 48px); }
.product-cta p:not(.product-kicker) { margin: 14px 0 0; color: rgba(255,248,233,.66); }
.product-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.product-cta-actions .btn { min-height: 48px; white-space: nowrap; }

.legal-note-section {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin: 0 auto;
  padding: 30px 22px 90px;
  color: var(--v110-muted);
  font-size: 12px;
}
.legal-note-section strong { color: var(--v110-ink); }
.legal-note-section p { margin: 0; }

.product-footer { border-top: 1px solid rgba(243, 214, 141, .14); }

/* ---------- Dashboard v1.1 ---------- */
body.dashboard-v110 {
  min-height: 100vh;
  background:
    radial-gradient(circle at 90% 0%, rgba(189, 140, 57, .11), transparent 25rem),
    linear-gradient(180deg, #f8f3ea 0%, #f2e9dc 100%);
}

body.dashboard-v110 .app-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 72px;
  padding: 12px clamp(16px, 3vw, 40px);
}

body.dashboard-v110 .app-header .brand strong span {
  color: rgba(255, 248, 233, .58);
}

.product-app-nav {
  position: sticky;
  z-index: 70;
  top: 72px;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 55px;
  padding: 7px clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--v110-line);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 10px 30px rgba(42, 31, 15, .055);
  backdrop-filter: blur(16px);
}

.product-app-nav button,
.product-app-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 8px 14px;
  color: #5f5547;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}
.product-app-nav button:hover,
.product-app-nav a:hover { color: #221a10; background: #f2e8d6; }
.product-app-nav button.active { color: #fff7e6; background: #21180e; box-shadow: 0 7px 18px rgba(35,24,11,.16); }
.product-app-nav .nav-spacer { flex: 1; }
.product-app-nav .nav-test-note { color: #9b702d; font-size: 11px; font-weight: 800; }

body.dashboard-v110 .app-shell {
  width: min(1560px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 70px;
}

body.dashboard-v110 .workflow-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  margin: 0 0 16px;
  padding: 0;
  border-color: rgba(61, 45, 23, .14);
  border-radius: 23px;
  background: var(--v110-ivory);
  box-shadow: 0 18px 45px rgba(48, 34, 15, .07);
}

body.dashboard-v110 .workflow-hero-copy {
  min-width: 0;
  padding: 32px 34px;
}

body.dashboard-v110 .workflow-hero-copy .eyebrow { margin-bottom: 8px; }
body.dashboard-v110 .workflow-hero h1 { margin: 0; font-size: clamp(28px, 3vw, 42px); }
body.dashboard-v110 .workflow-hero-copy > p:not(.eyebrow) { max-width: 780px; margin: 12px 0 0; color: #746a5c; }

body.dashboard-v110 .today-purpose {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
body.dashboard-v110 .today-purpose span {
  padding: 6px 10px;
  border: 1px solid rgba(126, 91, 34, .14);
  border-radius: 999px;
  color: #77623f;
  background: #f6eddd;
  font-size: 11px;
  font-weight: 850;
}

body.dashboard-v110 .workflow-actions-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(202, 155, 70, .26), transparent 15rem),
    linear-gradient(145deg, #11100d, #261b0f);
}
body.dashboard-v110 .workflow-actions-card > strong { color: #f5d993; font-family: var(--font-display); font-size: 18px; }
body.dashboard-v110 .workflow-actions-card .btn { width: 100%; min-height: 42px; justify-content: center; }
body.dashboard-v110 .workflow-actions-card .btn.secondary { color: #fff7e7; border-color: rgba(243, 214, 141, .22); background: rgba(255,255,255,.045); }
body.dashboard-v110 .workflow-actions-card details { margin-top: 2px; }
body.dashboard-v110 .workflow-actions-card summary { cursor: pointer; color: rgba(255,248,233,.65); font-size: 11px; font-weight: 800; }
body.dashboard-v110 .workflow-actions-card .extra-actions { display: grid; gap: 7px; margin-top: 9px; }
body.dashboard-v110 .workflow-actions-card small { color: rgba(255,248,233,.50); font-size: 10px; }

body.dashboard-v110 .notice-box.compact-notice {
  margin-top: 17px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 11px;
}

.product-onboarding {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 2.25fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
  padding: 22px 24px;
  border: 1px solid rgba(139, 99, 36, .18);
  border-radius: 20px;
  background: linear-gradient(120deg, #fffaf0, #f4e7cf);
  box-shadow: 0 13px 34px rgba(57, 40, 18, .055);
}
.product-onboarding[hidden] { display: none !important; }
.product-onboarding-intro strong { display: block; font-family: var(--font-display); font-size: 19px; }
.product-onboarding-intro span { display: block; margin-top: 5px; color: #766956; font-size: 11px; }
.onboarding-steps-v110 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.onboarding-step-v110 {
  min-height: 78px;
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(84, 62, 31, .11);
  border-radius: 13px;
  background: rgba(255,255,255,.55);
}
.onboarding-step-v110 > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 9px; color: #fff; background: #98702e; font-size: 10px; font-weight: 900; }
.onboarding-step-v110 strong,
.onboarding-step-v110 small { display: block; }
.onboarding-step-v110 strong { font-size: 12px; }
.onboarding-step-v110 small { margin-top: 3px; color: #7a6e5d; font-size: 10px; line-height: 1.45; }
.onboarding-step-v110 button { grid-column: 2; justify-self: start; border: 0; padding: 0; color: #77521b; background: none; cursor: pointer; font-size: 10px; font-weight: 900; }
.product-onboarding-dismiss { border: 0; color: #87775f; background: none; cursor: pointer; font-size: 11px; }

body.dashboard-v110 .workflow-summary {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}
body.dashboard-v110 .workflow-summary .summary-card {
  min-height: 112px;
  padding: 18px;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(54, 38, 17, .045);
}
body.dashboard-v110 .workflow-summary .summary-card span { font-size: 11px; }
body.dashboard-v110 .workflow-summary .summary-card strong { margin-top: 5px; font-size: 30px; }
body.dashboard-v110 .workflow-summary .summary-card em { font-size: 10px; }

body.dashboard-v110 .dashboard-mode-switch {
  min-height: 62px;
  margin: 0 0 16px;
  padding: 10px 12px 10px 20px;
  border-radius: 17px;
  background: rgba(255, 253, 248, .83);
}
body.dashboard-v110 .dashboard-mode-switch > div:first-child { display: flex; align-items: center; gap: 10px; }
body.dashboard-v110 .dashboard-mode-switch .eyebrow { margin: 0; }
body.dashboard-v110 .dashboard-mode-switch strong { font-size: 12px; }
body.dashboard-v110 .mode-buttons { padding: 4px; border-radius: 12px; background: #eee3d1; }
body.dashboard-v110 .mode-button { min-height: 37px; border-radius: 9px; font-size: 12px; }

body.dashboard-v110 #recordsWorkspace,
body.dashboard-v110 #bookingWorkspace { gap: 16px; }

body.dashboard-v110 .dashboard-layout { gap: 16px; margin-bottom: 16px; }
body.dashboard-v110 .record-list-panel,
body.dashboard-v110 .workflow-detail-panel,
body.dashboard-v110 .support-panel,
body.dashboard-v110 .manual-record-box { border-radius: 20px; }

body.dashboard-v110 .support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .28fr);
  gap: 16px;
  align-items: start;
  margin-top: 0;
}
body.dashboard-v110 .support-panel { margin: 0; }
body.dashboard-v110 .shop-panel .panel-heading { cursor: default; }
body.dashboard-v110 .shop-panel-toggle { min-height: 38px; border-radius: 10px; }

body.dashboard-v110 #settingsSection { scroll-margin-top: 145px; }
body.dashboard-v110 #todaySection,
body.dashboard-v110 #recordsWorkspace,
body.dashboard-v110 #bookingWorkspace { scroll-margin-top: 145px; }

body.dashboard-v110 .dashboard-command-center { display: none !important; }
body.dashboard-v110 .beta-onboarding-panel { display: none !important; }

/* Smaller desktop and tablet */
@media (max-width: 1180px) {
  .home-v110 .product-nav a:nth-child(3),
  .home-v110 .product-nav a:nth-child(4) { display: none; }
  .product-hero { grid-template-columns: 1fr minmax(360px, .72fr); gap: 40px; padding-inline: 42px; }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid article:nth-child(2) { border-right: 0; }
  .problem-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--v110-line); }
  .education-grid,
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-journey i { display: none; }
  .resource-section { grid-template-columns: 1fr; }
  body.dashboard-v110 .workflow-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .home-v110 .product-header { position: absolute; height: auto; min-height: 72px; }
  .home-v110 .product-nav a:not(.nav-login) { display: none; }
  .product-hero { min-height: auto; grid-template-columns: 1fr; padding: 130px 22px 64px; }
  .product-hero-copy { max-width: none; }
  .product-hero-visual { max-width: 620px; width: 100%; }
  .identity-strip { flex-direction: column; gap: 5px; }
  .product-section { padding: 84px 22px; }
  .feature-showcase,
  .preparation-layout { grid-template-columns: 1fr; }
  .feature-copy { padding: 34px; }
  .resource-grid { grid-template-columns: 1fr; }
  .product-cta { margin-inline: 18px; flex-direction: column; align-items: flex-start; }
  .legal-note-section { grid-template-columns: 1fr; }

  body.dashboard-v110 .app-header { position: relative; }
  .product-app-nav { top: 0; overflow-x: auto; justify-content: flex-start; }
  .product-app-nav button,
  .product-app-nav a { flex: 0 0 auto; }
  .product-app-nav .nav-spacer,
  .product-app-nav .nav-test-note { display: none; }
  body.dashboard-v110 .app-shell { width: min(100% - 20px, 760px); padding-top: 12px; }
  body.dashboard-v110 .workflow-hero { grid-template-columns: 1fr; }
  body.dashboard-v110 .workflow-actions-card { padding: 22px; }
  .product-onboarding { grid-template-columns: 1fr auto; }
  .onboarding-steps-v110 { grid-column: 1 / -1; grid-template-columns: 1fr; }
  body.dashboard-v110 .workflow-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.dashboard-v110 .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .home-v110 .product-header { padding-inline: 14px; }
  .home-v110 .brand small { display: none; }
  .home-v110 .product-nav .nav-login { margin-left: 0; padding-inline: 11px; }
  .product-hero { padding-top: 112px; }
  .product-hero h1 { font-size: 41px; }
  .product-hero-lead { font-size: 16px; }
  .product-hero-actions { display: grid; }
  .product-hero-actions .btn { width: 100%; }
  .product-hero-visual { padding: 19px; border-radius: 21px; }
  .visual-score { font-size: 26px; }
  .problem-grid,
  .education-grid,
  .pillar-grid,
  .feature-list { grid-template-columns: 1fr; }
  .problem-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--v110-line); }
  .problem-grid article:last-child { border-bottom: 0; }
  .feature-list article:nth-child(odd) { border-right: 0; }
  .feature-list article:nth-last-child(2) { border-bottom: 1px solid var(--v110-line); }
  .record-journey { grid-template-columns: 1fr 1fr; }
  .roadmap-list article { grid-template-columns: 1fr; gap: 10px; }
  .roadmap-list article > div { justify-content: space-between; }
  .product-cta-actions { display: grid; width: 100%; }
  .product-cta-actions .btn { width: 100%; }

  body.dashboard-v110 .app-header { align-items: flex-start; gap: 10px; }
  body.dashboard-v110 .app-header .header-actions .btn:first-child { display: none; }
  .product-app-nav { padding-inline: 10px; }
  body.dashboard-v110 .workflow-hero-copy { padding: 24px 20px; }
  body.dashboard-v110 .workflow-actions-card { padding: 20px; }
  .product-onboarding { padding: 18px; gap: 14px; }
  body.dashboard-v110 .workflow-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
  body.dashboard-v110 .workflow-summary .summary-card { min-height: 98px; padding: 14px; }
  body.dashboard-v110 .workflow-summary .summary-card:last-child { grid-column: 1 / -1; }
  body.dashboard-v110 .dashboard-mode-switch { align-items: stretch; padding: 12px; }
  body.dashboard-v110 .dashboard-mode-switch > div:first-child { display: none; }
  body.dashboard-v110 .dashboard-mode-switch .mode-buttons { width: 100%; }
}

/* v0.9 compatibility overrides */
body.dashboard-v091.dashboard-v110 .workflow-hero {
  display: grid !important;
}

body.dashboard-v110 .product-onboarding #onboardingSampleBtn {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  color: #77521b !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 10px !important;
  font-weight: 900 !important;
}

body.dashboard-v110 .product-onboarding #onboardingSampleBtn:hover {
  color: #4d320e !important;
  background: transparent !important;
}

@media (max-width: 620px) {
  body.dashboard-v110 .app-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 9px 14px;
  }

  body.dashboard-v110 .app-header .brand {
    min-width: 0;
    flex: 1;
  }

  body.dashboard-v110 .app-header .brand-mark {
    width: 36px;
    height: 36px;
  }

  body.dashboard-v110 .app-header .brand strong {
    font-size: 12px;
    white-space: nowrap;
  }

  body.dashboard-v110 .app-header .brand strong span {
    display: none;
  }

  body.dashboard-v110 .app-header .header-actions {
    width: auto;
    display: flex;
    flex: 0 0 auto;
    margin: 0;
  }

  body.dashboard-v110 .app-header .header-actions .btn:nth-child(1),
  body.dashboard-v110 .app-header .header-actions .btn:nth-child(2) {
    display: none;
  }

  body.dashboard-v110 .app-header .header-actions #logoutBtn {
    width: auto;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 10px;
  }
}

@media (max-width: 900px) {
  body.dashboard-v110,
  body.dashboard-v110 .app-shell,
  body.dashboard-v110 #recordsWorkspace,
  body.dashboard-v110 .support-grid,
  body.dashboard-v110 .shop-panel,
  body.dashboard-v110 #shopForm {
    min-width: 0;
    max-width: 100%;
  }

  body.dashboard-v110 { overflow-x: hidden; }

  body.dashboard-v110 #shopForm {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.dashboard-v110 #shopForm > *,
  body.dashboard-v110 #shopForm .full,
  body.dashboard-v110 #shopForm .actions,
  body.dashboard-v110 #shopForm .field-help {
    min-width: 0;
    max-width: 100%;
  }

  body.dashboard-v110 #shopForm .save-actions-inline,
  body.dashboard-v110 #shopForm .shop-save-actions,
  body.dashboard-v110 #shopForm .shop-preview-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body.dashboard-v110 .workflow-tabbar {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

@media (max-width: 900px) {
  body.dashboard-v110 #shopForm .save-actions-inline,
  body.dashboard-v110 #shopForm .shop-save-actions,
  body.dashboard-v110 #shopForm .shop-preview-actions {
    flex-wrap: nowrap !important;
  }

  body.dashboard-v110 #shopForm .save-actions-inline small,
  body.dashboard-v110 #shopForm .shop-save-actions small,
  body.dashboard-v110 #shopForm .shop-preview-actions small {
    width: auto !important;
    flex: 0 1 auto !important;
    flex-basis: auto !important;
  }

  body.dashboard-v110 #shopForm .save-actions-inline .btn,
  body.dashboard-v110 #shopForm .shop-save-actions .btn,
  body.dashboard-v110 #shopForm .shop-preview-actions .btn {
    width: 100% !important;
  }
}
