/* Waveform Analyzer — styles in original cascade order. */
/* Style section 1: base / layout */
:root {
  --ink: #17191c;
  --black: #101216;
  --lime: #b9ff66;
  --lime2: #eaffc8;
  --paper: #f6f7f3;
  --white: #fff;
  --muted: #67706e;
  --line: #dce0d8;
  --red: #a63a32;
  --sidebar: 264px;
  --shadow: 0 7px 0 #17191c10;
  font-family: Inter,"Segoe UI",Arial,sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}
button,input,select,textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
a {
  color: inherit;
}
a:hover {
  text-decoration: none;
}
button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible {
  outline: 3px solid #82b328;
  outline-offset: 3px;
}
::selection {
  background: var(--lime);
}
.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0,1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 27px 17px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -1.6px;
  padding: 0 13px;
}
.logo-icon {
  height: 39px;
  width: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  border: 2px solid var(--ink);
  font-size: 24px;
}
.tiny {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-weight: 800;
}
.sidebar .tiny {
  padding: 0 13px;
}
.nav {
  display: grid;
  gap: 5px;
}
.navbtn {
  border: 0;
  text-align: left;
  padding: 12px 13px;
  border-radius: 11px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #424844;
  font-weight: 650;
}
.navbtn:hover {
  background: #f3f5f1;
}
.navbtn.active {
  background: var(--lime);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  color: var(--ink);
}
.numnav {
  width: 28px;
  height: 28px;
  border: 1px solid #d4d8d0;
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.active .numnav {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}
.sidebottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 17px 13px 0;
  color: var(--muted);
  font-size: 12px;
}
.sidebottom strong {
  color: var(--ink);
}
.main {
  min-width: 0;
}
.topbar {
  height: 71px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px,4vw,62px);
  background: #ffffffcc;
  backdrop-filter: blur(14px);
}
.topbar .crumb {
  font-size: 12px;
  color: var(--muted);
}
.topbar .crumb b {
  color: var(--ink);
}
.live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  border: 1px solid #d1d7cd;
  padding: 8px 12px;
  border-radius: 30px;
  background: #fff;
}
.dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #9aa19b;
}
.dot.yes {
  background: #70b029;
}
.content {
  max-width: 1290px;
  margin: auto;
  padding: clamp(20px,3.2vw,45px) clamp(20px,4vw,62px) 80px;
}
.page {
  display: none;
  animation: entry .24s ease both;
}
.page.active {
  display: block;
}
@keyframes entry {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 850;
  color: #4b6554;
}
.page-title {
  font-size: clamp(29px,3vw,43px);
  letter-spacing: -1.8px;
  line-height: 1.13;
  margin: 7px 0 10px;
  font-weight: 850;
}
.intro {
  max-width: 740px;
  color: #57615d;
  font-size: 15px;
  margin: 0 0 27px;
}
.highlight {
  background: var(--lime);
  padding: 1px 8px;
  border-radius: 5px;
  box-decoration-break: clone;
}
.hero {
  border: 2px solid var(--ink);
  border-radius: 23px;
  min-height: 298px;
  position: relative;
  overflow: hidden;
  background: var(--lime);
  padding: clamp(25px,4vw,52px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(33px,4vw,59px);
  line-height: 1.04;
  letter-spacing: -2.9px;
  margin: 15px 0;
}
.hero p {
  max-width: 520px;
  font-size: 15px;
}
.hero .tiny {
  color: #2e4523;
}
.hero-art {
  align-self: center;
  position: relative;
}
.orb {
  position: absolute;
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 230px;
  height: 150px;
  transform: rotate(-25deg);
  left: 35px;
  top: 15px;
  opacity: .5;
}
.hero-art svg {
  position: relative;
  width: 100%;
  filter: drop-shadow(7px 9px 0 #00000018);
}
.btn {
  border: 1.7px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 11px 17px;
  font-weight: 750;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  transition: transform .17s,box-shadow .17s;
  text-decoration: none;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 3px 4px 0 #6d8c50;
}
.btn.light {
  background: #fff;
  color: var(--ink);
}
.btn.lime {
  background: var(--lime);
  color: var(--ink);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: #bdc5ba;
}
.btn.sm {
  font-size: 12px;
  padding: 8px 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.sectionhead {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 14px;
}
.sectionhead h2 {
  font-size: 20px;
  letter-spacing: -.65px;
  margin: 0;
}
.sectionhead small {
  color: var(--muted);
}
.grid {
  display: grid;
  gap: 15px;
}
.grid.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.grid.three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.grid.four {
  grid-template-columns: repeat(4,minmax(0,1fr));
}
.card {
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 17px;
  padding: 22px;
  box-shadow: 3px 4px 0 #17191c0a;
  min-width: 0;
}
.card.soft {
  border-color: var(--line);
  box-shadow: none;
}
.card.dark {
  background: var(--ink);
  color: #fff;
}
.card.lime {
  background: var(--lime);
}
.card h3 {
  font-size: 17px;
  letter-spacing: -.5px;
  margin: 0 0 9px;
}
.card p {
  margin: 6px 0;
  color: #555d58;
}
.card.dark p {
  color: #d8ded7;
}
.card .symbol {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 13px;
}
.pill {
  display: inline-flex;
  background: var(--lime);
  color: #182118;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 8px;
}
.pill.gray {
  background: #eff1ed;
  color: #59605b;
}
.pill.dark {
  background: var(--ink);
  color: #fff;
}
.metric {
  font-size: 26px;
  letter-spacing: -1px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.metric small {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--muted);
}
.note {
  border-left: 4px solid #90c938;
  background: #f1f9e7;
  padding: 12px 15px;
  border-radius: 0 10px 10px 0;
  color: #3a4938;
  font-size: 13px;
  margin: 14px 0;
}
.note.warning {
  border-left-color: #d2a451;
  background: #fff7e5;
}
.note.danger {
  border-left-color: #c86d63;
  background: #fff0ed;
}
.muted {
  color: var(--muted);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}
.stepcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  min-width: 0;
}
.stepcard b {
  font-size: 22px;
}
.stepcard strong {
  display: block;
  font-size: 13px;
  margin: 5px 0;
}
.stepcard small {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}
.stepcard.done {
  border-color: #8cbe51;
  background: #f3ffe9;
}
.stepcard.current {
  border: 2px solid var(--ink);
  background: var(--lime);
}
.formgrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 12px;
  font-weight: 750;
}
.field .hint {
  font-size: 11px;
  color: var(--muted);
}
.field input,.field select,.field textarea {
  width: 100%;
  min-height: 43px;
  background: #fff;
  border: 1.5px solid #cbd1c7;
  border-radius: 9px;
  padding: 10px 12px;
  color: var(--ink);
  outline-offset: 2px;
}
.field input:focus,.field select:focus {
  border-color: #588621;
}
.field input[type=file] {
  font-size: 12px;
}
.field input[type=radio] {
  width: auto;
  min-height: 0;
}
.seg {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.seg button {
  padding: 9px 13px;
  border: 1px solid #bec5ba;
  border-radius: 9px;
  background: #fff;
  font-weight: 700;
}
.seg button.selected {
  background: var(--lime);
  border: 1.5px solid var(--ink);
}
.choice {
  border: 1.5px solid #cad0c5;
  background: #fff;
  border-radius: 15px;
  padding: 21px;
  text-align: left;
  width: 100%;
  min-height: 130px;
}
.choice:hover {
  border-color: var(--ink);
}
.choice.selected {
  border: 2px solid var(--ink);
  background: #efffdc;
}
.choice .choicehead {
  font-size: 17px;
  font-weight: 800;
}
.choice small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 21px 0;
}
.toprow {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
  margin-bottom: 21px;
}
.toprow p {
  color: var(--muted);
  margin: 6px 0 0;
}
.chartbox {
  border: 1px solid #e4e8e0;
  background: #fbfcf9;
  border-radius: 12px;
  padding: 12px;
  position: relative;
}
.chartbox svg {
  width: 100%;
  height: auto;
  display: block;
}
.chartlegend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #52605a;
  margin-top: 7px;
}
.swatch {
  display: inline-block;
  width: 21px;
  height: 3px;
  margin: 0 6px 3px 0;
  background: #6a9d2b;
}
.swatch.black {
  background: #222;
}
.swatch.orange {
  background: #d48b31;
}
.statrow {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
.stat {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 11px;
  background: #fff;
  min-width: 0;
}
.stat label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.stat b {
  font-size: 19px;
  letter-spacing: -.45px;
  overflow-wrap: anywhere;
}
.tablewrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  background: #fff;
}
th {
  background: #f0f3ed;
  color: #3b453f;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
th,td {
  padding: 11px 13px;
  border-bottom: 1px solid #e8ece6;
  vertical-align: top;
}
tr:last-child td {
  border-bottom: 0;
}
td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
code,.formula {
  font-family: "Cascadia Code",Consolas,monospace;
}
.formula {
  padding: 14px;
  background: #f3f5f0;
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.65;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.footnav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.empty {
  border: 1px dashed #b8c2b2;
  padding: 32px;
  border-radius: 15px;
  background: #fafcf7;
  text-align: center;
}
.empty h3 {
  margin: 5px 0;
}
.empty p {
  max-width: 560px;
  margin: 0 auto 17px;
  color: var(--muted);
}
.hidden {
  display: none!important;
}
.research {
  margin-top: 18px;
  padding: 19px;
  background: #17191c;
  color: #fff;
  border-radius: 14px;
}
.research p {
  color: #cad2c9;
}
.kbd {
  font-family: monospace;
  background: #ebede8;
  padding: 2px 5px;
  border-radius: 3px;
}
.footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
/* Print output */
#printArea {
  display: none;
}
.report-title {
  font-size: 26px;
  letter-spacing: -1px;
}
.print-hd {
  background: var(--lime);
  padding: 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--ink);
}
.print-hd strong {
  font-size: 30px;
  letter-spacing: -1px;
}
.print-section {
  margin-top: 23px;
}
.print-section h3 {
  background: #e9ffce;
  padding: 7px 10px;
  border-left: 5px solid #7faa37;
}
.print-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.print-stats>div {
  border: 1px solid #bbb;
  padding: 10px;
  border-radius: 7px;
}
.print-report {
  font: 12px/1.55 Arial,sans-serif;
  color: #111;
}
.print-report table {
  font-size: 11px;
}
.print-chart {
  margin: 12px 0;
  max-width: 720px;
}
.print-chart svg {
  width: 100%;
  height: auto;
  max-height: 235px;
}
.print-footer {
  margin-top: 20px;
  border-top: 1px solid #777;
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
}
@page {
  size: A4;
  margin: 12mm;
}
@media print {
  body {
    background: #fff!important;
  }
  .shell {
    display: none!important;
  }
  #printArea {
    display: block!important;
  }
  .print-hd,.print-section h3 {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .print-section {
    break-inside: avoid;
  }
  table {
    break-inside: auto;
  }
  tr {
    break-inside: avoid;
  }
  .print-report a {
    word-break: break-all;
  }
}
@media(max-width:1120px) {
  :root {
    --sidebar: 220px;
  }
  .hero {
    grid-template-columns: 1.2fr .8fr;
  }
  .grid.four {
    grid-template-columns: repeat(2,1fr);
  }
}
@media(max-width:850px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 10;
    padding: 9px 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    box-shadow: 0 2px 9px #00000008;
  }
  .sidebar .tiny,.sidebottom {
    display: none;
  }
  .sidebar .logo {
    padding: 0;
    font-size: 19px;
    flex-shrink: 0;
  }
  .logo-icon {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }
  .nav {
    display: flex;
    gap: 5px;
  }
  .navbtn {
    padding: 8px;
    font-size: 11px;
    white-space: nowrap;
  }
  .numnav {
    height: 21px;
    width: 21px;
  }
  .topbar {
    height: 50px;
    padding: 0 20px;
  }
  .content {
    padding: 22px 17px 55px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 380px;
    justify-self: center;
  }
  .steps {
    grid-template-columns: repeat(5,minmax(132px,1fr));
    overflow-x: auto;
  }
  .grid.three {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .formgrid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:560px) {
  .grid.two,.grid.three,.grid.four,.formgrid,.statrow {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 23px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.8px;
  }
  .hero-art {
    display: none;
  }
  .topbar .crumb {
    display: none;
  }
  .sectionhead {
    align-items: start;
  }
  .card {
    padding: 17px;
  }
  .metric {
    font-size: 23px;
  }
}
/* Research-grade verification layer */
.research-table td,.research-table th {
  font-variant-numeric: tabular-nums;
}
.result-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #53752b;
}
.auditgrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.auditmetric {
  border: 1px solid #cad3c1;
  background: #f7fbee;
  border-radius: 11px;
  padding: 14px;
}
.auditmetric b {
  display: block;
  font-size: 23px;
  letter-spacing: -.5px;
}
.auditmetric small {
  color: #51604d;
}
.sourcebox {
  word-break: break-word;
}
.status-ok {
  color: #477d23;
}
.status-note {
  color: #82622b;
}
@media(max-width:800px) {
  .auditgrid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .auditgrid {
    grid-template-columns: repeat(3,1fr);
  }
  .auditmetric {
    break-inside: avoid;
  }
  .audit-appendix {
    break-inside: avoid;
  }
  .print-hd {
    background: #b9ff66!important;
    color: #17191c!important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
/* Waveform Analyzer / refined workstation interface — deployable responsive skin */
:root {
  --sidebar: 264px;
  --ink: #151a17;
  --lime: #b9ff66;
  --paper: #f7f8f5;
  --line: #e0e5de;
  --muted: #66716b;
  --shadow: none;
}
html {
  scroll-padding-top: 90px;
}
body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button,select,input {
  touch-action: manipulation;
}
.shell {
  min-height: 100dvh;
}
.sidebar {
  height: 100dvh;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6dfd1 transparent;
  gap: 24px;
  padding: 28px 19px 18px;
  z-index: 20;
}
.logo {
  font-size: 26px;
  letter-spacing: -1.45px;
  padding: 0 9px;
  white-space: nowrap;
}
.logo-icon {
  border-width: 1.7px;
  border-radius: 12px;
}
.sidebar-kicker {
  font-size: 10px!important;
  letter-spacing: 1.35px!important;
  line-height: 1.45;
  color: #78847b;
  padding: 0 9px!important;
}
.nav {
  gap: 5px;
}
.navbtn {
  width: 100%;
  padding: 11px 10px;
  min-height: 48px;
  border-radius: 9px;
  transition: background .16s ease,color .16s ease;
  white-space: normal;
}
.navbtn.active {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.numnav {
  flex: none;
}
.sidebottom {
  margin-top: auto;
  padding: 17px 9px 7px;
  line-height: 1.5;
  font-size: 12px;
  overflow-wrap: anywhere;
  flex-shrink: 0;
}
.sidebottom strong {
  display: block;
  color: #242c26;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
  overflow-wrap: anywhere;
  white-space: normal;
}
.profile-label,.faculty-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.05px;
  color: #7a847c;
  margin-bottom: 6px;
}
.faculty-label {
  margin-top: 17px;
}
.sidebottom div:not(.profile-label):not(.faculty-label) {
  margin-top: 2px;
}
.main {
  width: 100%;
  min-width: 0;
}
.topbar {
  height: 68px;
  padding: 0 clamp(24px,3.4vw,58px);
  background: #fff;
}
.content {
  max-width: 1480px;
  padding: clamp(25px,3.4vw,50px) clamp(24px,3.4vw,58px) 78px;
}
.page {
  min-width: 0;
}
.hero {
  background: #f0f4e9;
  border: 1px solid #d8e3ce;
  border-radius: 17px;
  min-height: 410px;
  box-shadow: none;
  gap: clamp(20px,2.7vw,50px);
  grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
  align-items: center;
  padding: clamp(25px,4vw,58px);
  overflow: hidden;
}
.hero-copy,.hero-art {
  min-width: 0;
}
.hero-kicker {
  font-size: 10px;
  letter-spacing: 1.45px;
  font-weight: 800;
  color: #53664d;
  display: flex;
  gap: 9px;
  align-items: center;
}
.hero-kicker-dot {
  width: 8px;
  height: 8px;
  background: #77ad32;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.hero h1 {
  font-size: clamp(34px,3.35vw,58px);
  letter-spacing: -.055em;
  line-height: 1.11;
  font-weight: 850;
  margin: 23px 0 20px;
  text-wrap: balance;
  overflow-wrap: normal;
}
.hero h1 span {
  color: #45702b;
  white-space: normal;
}
.hero p {
  max-width: 610px;
  font-size: clamp(14px,1.05vw,16px);
  line-height: 1.75;
  color: #4d5a4e;
  margin: 0;
}
.hero .hero-actions {
  margin-top: 27px;
  gap: 10px;
}
.hero .btn {
  padding: 12px 16px;
  border-radius: 8px;
}
.hero .btn.light {
  background: transparent;
  border-color: #b7c5b5;
}
.hero .hero-caption {
  font-size: 11px;
  letter-spacing: .05px;
  color: #697a68;
  margin-top: 22px;
}
.hero-caption span {
  padding: 0 5px;
}
.hero-art {
  width: 100%;
  align-self: center;
}
.instrument {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  border: 1px solid #242c26;
  background: #fff;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 8px 9px 0 #dce8d5;
}
.instrument-top {
  height: 38px;
  background: #202622;
  color: #f6fff1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 17px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .9px;
}
.instrument-indicator {
  font-size: 9px;
  color: #b9ff66;
}
.instrument svg {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
  padding: 7px 12px 0;
}
.instrument-bottom {
  border-top: 1px solid #edf0ec;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  font-size: 9px;
  color: #63716b;
  letter-spacing: .5px;
}
.instrument-bottom i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #79b13f;
  border-radius: 50%;
  margin-right: 4px;
}
.plot-disclaimer {
  font-size: 10px!important;
  text-align: right;
  margin-top: 13px!important;
  color: #7a867c!important;
}
.card {
  box-shadow: none;
  border: 1px solid #dce3d9;
  border-radius: 13px;
  padding: clamp(17px,1.7vw,23px);
}
.card.dark {
  border-color: #202622;
}
.card.lime {
  border-color: #bedf9c;
}
.sectionhead {
  margin-top: 36px;
}
.sectionhead h2 {
  font-size: 20px;
  font-weight: 800;
}
.stepcard {
  border-radius: 10px;
  padding: 14px;
}
.stepcard.current {
  border-width: 1px;
  box-shadow: inset 0 0 0 1px #283322;
}
.btn {
  border-radius: 8px;
  box-shadow: none;
}
.btn:hover:not(:disabled) {
  box-shadow: none;
  transform: translateY(-1px);
}
.choice {
  border-radius: 12px;
  min-height: 126px;
}
.choice.selected {
  border-width: 1.5px;
}
.chartbox {
  background: #fff;
}
.topbar .crumb {
  white-space: nowrap;
}
.live {
  white-space: nowrap;
}
.mobilebar,.menu-scrim {
  display: none;
}
/* Mid-width laptops: protect text and controls without horizontal page overflow */
@media(min-width:851px) and (max-width:1300px) {
  :root {
    --sidebar: 234px;
  }
  .sidebar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .content {
    padding-left: clamp(23px,3vw,42px);
    padding-right: clamp(23px,3vw,42px);
  }
  .hero {
    grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
    padding: clamp(25px,3vw,39px);
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(30px,3.2vw,45px);
  }
  .hero .hero-actions {
    flex-wrap: wrap;
  }
  .hero-art {
    max-width: 430px;
  }
  .steps {
    grid-template-columns: repeat(5,minmax(0,1fr));
  }
}
@media(min-width:851px) and (max-height:660px) {
  .sidebar {
    gap: 10px;
    padding-top: 13px;
  }
  .navbtn {
    padding: 7px 9px;
    min-height: 38px;
  }
  .sidebottom {
    padding-top: 10px;
  }
  .faculty-label {
    margin-top: 8px;
  }
  .logo {
    font-size: 23px;
  }
  .logo-icon {
    height: 33px;
    width: 33px;
  }
}
/* Genuine mobile navigation: no overflowing horizontal strip of six menu tabs */
@media(max-width:850px) {
  .mobilebar {
    position: sticky;
    top: 0;
    z-index: 42;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    align-items: center;
    background: #f5f7f3;
    border: 1px solid var(--line);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex: none;
    padding: 8px;
  }
  .menu-toggle span {
    height: 2px;
    width: 17px;
    background: #242a25;
    border-radius: 2px;
  }
  .mobile-wordmark {
    white-space: nowrap;
    font-size: 17px;
    letter-spacing: -.7px;
  }
  .mobile-wordmark:first-letter {
    color: #599521;
  }
  .mobile-location {
    margin-left: auto;
    color: #6f7970;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(310px,87vw);
    height: 100dvh;
    max-height: none;
    transform: translateX(-105%);
    transition: transform .24s ease;
    z-index: 51;
    background: #fff;
    box-shadow: 12px 0 44px #101b1524;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 19px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  body.menu-open .sidebar {
    transform: translateX(0);
  }
  .sidebar .tiny {
    display: block;
  }
  .sidebottom {
    display: block;
  }
  .nav {
    display: grid;
    overflow: visible;
    width: 100%;
    gap: 6px;
  }
  .navbtn {
    font-size: 14px;
    white-space: normal;
    width: 100%;
    min-height: 48px;
    padding: 11px;
  }
  .numnav {
    height: 28px;
    width: 28px;
  }
  .sidebar .logo {
    font-size: 24px;
  }
  .logo-icon {
    width: 39px;
    height: 39px;
    font-size: 23px;
  }
  .menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: #08130b75;
    display: none;
  }
  body.menu-open .menu-scrim {
    display: block;
  }
  body.menu-open {
    overflow: hidden;
  }
  .topbar {
    height: 48px;
    padding: 0 21px;
    background: transparent;
  }
  .topbar .crumb {
    display: block;
  }
  .content {
    padding: 22px 20px 60px;
  }
  .hero {
    grid-template-columns: 1fr 0.83fr;
    min-height: auto;
    gap: 20px;
    padding: clamp(22px,3vw,35px);
  }
  .hero h1 {
    font-size: clamp(31px,4.5vw,43px);
  }
  .hero .hero-caption {
    margin-top: 15px;
  }
  .steps {
    grid-template-columns: repeat(5,minmax(145px,1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .grid.three {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-art {
    max-width: 410px;
    margin: 0 auto;
  }
  .hero h1 {
    font-size: clamp(34px,8.6vw,48px);
  }
  .grid.two,.grid.three,.grid.four,.formgrid {
    grid-template-columns: 1fr;
  }
  .statrow {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .sectionhead {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3px;
  }
  .sectionhead small {
    width: 100%;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
}
@media(max-width:650px) {
  .hero-art {
    display: block;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    overflow: visible;
    padding-bottom: 0;
  }
  .stepcard:last-child {
    grid-column: 1 / -1;
  }
  .instrument {
    max-width: 370px;
  }
  .instrument svg {
    max-height: 235px;
  }
  .instrument-bottom {
    font-size: 9px;
  }
}
@media(max-width:390px) {
  .content {
    padding: 19px 13px 48px;
  }
  .mobilebar {
    padding: 0 12px;
  }
  .hero {
    padding: 22px 17px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero .btn {
    width: 100%;
  }
  .hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .statrow {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 16px;
  }
  .topbar {
    padding: 0 13px;
  }
}
@media print {
  .mobilebar,.menu-scrim {
    display: none!important;
  }
  .hero {
    background: #fff;
  }
  body {
    overflow: visible!important;
  }
}
/* Waveform Analyzer / original lime-and-ink design system, accessible responsive skin */
:root {
  --ink: #191a1e;
  --black: #191a1e;
  --lime: #b9ff66;
  --lime2: #e9ffc6;
  --paper: #fff;
  --line: #dedede;
  --muted: #737373;
  --shadow: 5px 6px 0 #191a1e;
  --sidebar: 286px;
}
body {
  background: #fff;
  color: var(--ink);
  font-family: Inter,"Segoe UI",Arial,sans-serif;
}
.sidebar {
  border-right: 1px solid #d6d6d6;
  padding: 34px 22px 20px;
  gap: 10px;
  background: #fff;
}
.logo {
  padding: 9px 10px 0;
  font-size: 31px;
  letter-spacing: -1.8px;
  gap: 12px;
}
.logo-icon {
  height: 51px;
  width: 51px;
  border: 2px solid #18191c;
  border-radius: 15px;
  font-size: 29px;
  background: var(--lime);
}
.sidebar-kicker {
  padding: 0 0 0 69px!important;
  margin-top: -8px;
  margin-bottom: 40px;
  font-size: 9px!important;
  color: #8b8b8b!important;
  letter-spacing: 1.3px!important;
  white-space: nowrap;
}
.nav {
  gap: 8px;
}
.navgroup {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 2px;
  color: #888;
  margin: 20px 11px 6px;
}
.navgroup:first-child {
  margin-top: 0;
}
.navbtn {
  padding: 13px 15px;
  min-height: 53px;
  font-size: 14px;
  font-weight: 750;
  color: #3c3d3f;
  border-radius: 12px;
  gap: 14px;
  transition: transform .18s,background .18s,box-shadow .18s;
}
.navbtn:hover {
  background: #f1f4ec;
  transform: translateX(2px);
}
.navbtn.active {
  border: 2px solid var(--ink);
  background: var(--lime);
  box-shadow: 3px 5px 0 var(--ink);
  padding: 11px 13px;
}
.numnav {
  border: 0;
  background: transparent!important;
  color: inherit!important;
  width: 23px;
  height: 25px;
  font-size: 13px;
}
.active .numnav {
  border: 0;
  color: var(--ink)!important;
}
.sidebottom {
  margin-top: auto;
  padding: 18px 12px 8px;
  border-top: 1px solid #e8e8e8;
}
.faculty-label {
  margin-top: 10px;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid #efefef;
  height: 55px;
  padding: 0 clamp(24px,3.6vw,55px);
}
.content {
  max-width: 1620px;
  padding: clamp(24px,3.3vw,54px) clamp(24px,3.6vw,55px) 70px;
}
.hero {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 340px;
  padding: 0;
  grid-template-columns: minmax(0,1.23fr) minmax(245px,.77fr);
  gap: 30px;
  overflow: visible;
}
.hero h1 {
  font-size: clamp(41px,4.4vw,72px);
  letter-spacing: -.065em;
  font-weight: 900;
  line-height: 1.06;
  margin: 29px 0 20px;
  max-width: 820px;
}
.hero h1 span {
  color: var(--ink);
  background: linear-gradient(to bottom,transparent 58%,var(--lime) 58%,var(--lime) 90%,transparent 90%);
  padding: 0 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero p {
  font-size: clamp(15px,1.15vw,18px);
  line-height: 1.75;
  color: #5e5e5e;
  max-width: 760px;
}
.hero strong {
  color: var(--ink);
}
.hero-kicker {
  display: inline-flex;
  background: var(--lime);
  border-radius: 5px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 1.3px;
  font-weight: 900;
}
.hero-kicker-dot {
  display: none;
}
.hero .hero-caption {
  color: #777;
  font-size: 12px;
  margin-top: 15px;
}
.hero-actions {
  margin-top: 24px!important;
}
.orbital-art {
  max-width: 470px;
  align-self: start;
  margin: 0 auto;
  overflow: visible;
}
.orbital-art svg {
  width: 100%;
  height: auto;
  max-height: 360px;
  filter: none;
  overflow: visible;
}
.orbital-ring {
  transform-origin: 221px 179px;
  animation: orbitalRotate 20s linear infinite;
}
.orbital-wave {
  transform-origin: 230px 190px;
  animation: waveFloat 5s ease-in-out infinite;
}
.orbital-dot {
  animation: dotFloat 4s ease-in-out infinite alternate;
}
.orbital-star {
  transform-origin: 371px 73px;
  animation: starPulse 3s ease-in-out infinite;
}
@keyframes orbitalRotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes waveFloat {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes dotFloat {
  to {
    transform: translateY(12px);
  }
}
@keyframes starPulse {
  50% {
    transform: scale(1.18);
    opacity: .7;
  }
}
.btn {
  font-weight: 800;
  border: 1.8px solid var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
  border-radius: 10px;
}
.btn:hover:not(:disabled) {
  transform: translate(-1px,-2px);
  box-shadow: 4px 5px 0 var(--ink);
}
.btn.ghost {
  background: #fff;
}
.btn.light {
  background: #fff!important;
  border-color: var(--ink)!important;
}
.overview-snapshot {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin: 20px 0 30px;
}
.snapshot-card {
  min-width: 0;
  min-height: 156px;
  border: 2px solid var(--ink);
  border-radius: 19px;
  background: #fff;
  box-shadow: 5px 6px 0 var(--ink);
  padding: 24px 21px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform .2s,box-shadow .2s;
}
.snapshot-card.accent {
  background: var(--lime);
}
.snapshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 10px 0 var(--ink);
}
.snapshot-card>span {
  color: #656565;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.snapshot-card strong {
  font-size: clamp(27px,2.8vw,41px);
  line-height: 1.15;
  letter-spacing: -1.7px;
  margin: 13px 0;
}
.snapshot-card strong.source-value {
  font-size: clamp(15px,1.4vw,22px);
  letter-spacing: -.5px;
  overflow-wrap: anywhere;
}
.snapshot-card small {
  font-size: 12px;
  color: #6a6a6a;
}
.sectionhead {
  margin-top: 38px;
}
.sectionhead h2 {
  font-size: 23px;
}
.sectionhead h2::selection {
  background: var(--lime);
}
.card,.stepcard {
  border: 1.7px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 5px 0 var(--ink);
}
.card.soft {
  border-color: #c3c7c1;
  box-shadow: 2px 3px 0 #191a1e17;
}
.card.dark {
  box-shadow: 4px 5px 0 #b9ff66;
}
.card.lime {
  border-color: var(--ink);
}
.stepcard {
  padding: 17px;
  transition: transform .17s;
}
.stepcard:hover {
  transform: translateY(-3px);
}
.pill {
  font-size: 11px;
  background: var(--lime);
  color: var(--ink);
}
.note {
  border-left-color: #7fae38;
}
.choice {
  border: 2px solid #303230;
  box-shadow: 3px 4px 0 #191a1e20;
  transition: transform .18s,box-shadow .18s;
}
.choice:hover {
  transform: translateY(-2px);
  box-shadow: 3px 6px 0 #191a1e;
}
.choice.selected {
  background: #eaffca;
  border: 2px solid var(--ink);
  box-shadow: 3px 4px 0 var(--ink);
}
.stat {
  border-color: #bcc2b9;
}
.live {
  border-color: #d8ded4;
}
.page-title {
  font-weight: 900;
}
@media(max-width:1250px) and (min-width:851px) {
  :root {
    --sidebar: 240px;
  }
  .sidebar {
    padding: 23px 13px;
  }
  .logo {
    font-size: 26px;
  }
  .sidebar-kicker {
    padding-left: 59px!important;
    font-size: 8px!important;
  }
  .hero h1 {
    font-size: clamp(36px,4vw,51px);
  }
  .overview-snapshot {
    gap: 11px;
  }
  .snapshot-card {
    padding: 19px 14px;
  }
  .snapshot-card strong {
    font-size: clamp(24px,2.5vw,32px);
  }
  .orbital-art {
    max-width: 350px;
  }
}
@media(max-width:850px) {
  .sidebar {
    padding: 26px 15px 20px;
    gap: 10px;
  }
  .sidebar-kicker {
    display: block;
    margin-bottom: 16px;
    padding-left: 66px!important;
  }
  .navgroup {
    margin-top: 12px;
  }
  .navbtn {
    font-size: 14px;
  }
  .navbtn.active {
    padding: 11px 13px;
  }
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0,1fr) minmax(200px,.65fr);
    gap: 10px;
    padding: 10px 0 0;
  }
  .hero h1 {
    font-size: clamp(36px,5vw,52px);
  }
  .orbital-art {
    max-width: 310px;
  }
  .overview-snapshot {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
  }
  .content {
    padding: 24px 20px 65px;
  }
  .mobilebar {
    border-bottom: 1px solid #dedede;
  }
}
@media(max-width:650px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(34px,8vw,51px);
  }
  .orbital-art {
    max-width: 285px;
    justify-self: center;
    max-height: 205px;
    overflow: hidden;
  }
  .orbital-art svg {
    height: 220px;
  }
  .hero-actions {
    display: flex!important;
  }
  .overview-snapshot {
    gap: 12px;
  }
  .snapshot-card {
    min-height: 132px;
    padding: 17px 13px;
    box-shadow: 3px 4px 0 var(--ink);
  }
  .snapshot-card>span {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .snapshot-card strong {
    font-size: 28px;
  }
  .snapshot-card strong.source-value {
    font-size: 16px;
  }
  .sectionhead h2 {
    font-size: 20px;
  }
}
@media(max-width:390px) {
  .hero h1 {
    font-size: clamp(31px,9vw,36px);
  }
  .hero-kicker {
    font-size: 9px;
    letter-spacing: .7px;
  }
  .overview-snapshot {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .snapshot-card strong {
    font-size: 24px;
  }
  .snapshot-card strong.source-value {
    font-size: 14px;
  }
  .snapshot-card small {
    font-size: 10px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .orbital-ring,.orbital-wave,.orbital-dot,.orbital-star {
    animation: none!important;
  }
}
@media print {
  .overview-snapshot {
    display: none!important;
  }
  .orbital-ring,.orbital-wave,.orbital-dot,.orbital-star {
    animation: none!important;
  }
}
/* Release refinements: four primary destinations, guided substages */
.welcome-guidance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  margin: 20px 0 18px;
  background: #fff;
  border: 1.7px solid var(--ink);
  border-radius: 15px;
  box-shadow: 4px 5px 0 var(--ink);
}
.welcome-guidance>div {
  display: grid;
  gap: 3px;
}
.welcome-guidance b {
  font-size: 16px;
}
.welcome-guidance span {
  font-size: 13px;
  color: #505852;
  max-width: 690px;
}
.navbtn[aria-current=page] {
  font-weight: 800;
}
.page .eyebrow {
  letter-spacing: 1.2px;
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .choice,.card,.stepcard,.snapshot-card {
    transition: transform .2s ease,box-shadow .2s ease;
  }
  .choice:hover {
    transform: translateY(-2px);
  }
  .stepcard:hover {
    transform: translateY(-2px);
  }
  .navbtn {
    transition: background .18s ease,transform .18s ease;
  }
  .navbtn:hover {
    transform: translateX(2px);
  }
}
@media(max-width:650px) {
  .welcome-guidance {
    flex-direction: column;
    align-items: stretch;
  }
  .welcome-guidance .btn {
    width: 100%;
  }
  .welcome-guidance {
    margin-top: 17px;
    padding: 15px;
  }
}
@media(max-width:390px) {
  .welcome-guidance span {
    font-size: 12px;
  }
}
/* Release: simplify overview; retain supporting academic material on demand */
.research-details {
  margin-top: 32px;
  border: 1.5px solid #202124;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  box-shadow: 3px 4px 0 #191a1e;
}
.research-details>summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 22px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.research-details>summary::-webkit-details-marker {
  display: none;
}
.research-details>summary span {
  font-size: 20px;
  line-height: 1;
  color: #526834;
  transition: transform .18s;
}
.research-details[open]>summary span {
  transform: rotate(45deg);
}
.research-details-content {
  padding: 0 20px 24px;
  border-top: 1px solid #e3e6df;
}
.research-details-content .sectionhead:first-child {
  margin-top: 22px;
}
.research-details>summary:focus-visible {
  outline: 3px solid #72a42b;
  outline-offset: -4px;
}
@media(max-width:650px) {
  .research-details>summary {
    padding: 16px;
    font-size: 13px;
  }
  .research-details-content {
    padding: 0 12px 20px;
  }
}
@media print {
  .research-details {
    display: none!important;
  }
}
/* Waveform Analyzer v2 · interactive engineering workstation */
:root {
  --lime: #b9ff66;
  --ink: #191a1e;
  --paper: #fff;
}
.topbar-right {
  font-size: 11px;
  letter-spacing: .4px;
  color: #727872;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.topbar-monogram {
  display: grid;
  place-items: center;
  color: #191a1e;
  font-weight: 900;
  font-size: 18px;
  background: var(--lime);
  border: 1.5px solid #191a1e;
  width: 29px;
  height: 29px;
  border-radius: 9px;
}
.navbtn {
  align-items: center;
}
.main .content {
  min-height: calc(100vh - 56px);
}
.page-title {
  max-width: 850px;
}
.card p {
  line-height: 1.75;
}
.choice:focus-visible,.btn:focus-visible,.chart-tool:focus-visible,.csv-dropzone:focus-visible {
  outline: 3px solid #6c9c22;
  outline-offset: 4px;
}
.live-preview-card {
  margin-top: 19px;
  border: 1.5px solid #202124;
  border-radius: 17px;
  background: #f9fcf5;
  padding: 18px 20px;
  overflow: hidden;
}
.live-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.live-preview-head h3 {
  margin: 3px 0;
  font-size: 18px;
}
.live-preview-head p {
  font-size: 12px;
  color: #68736b;
  margin: 3px 0 5px;
}
.preview-readout {
  font-size: 12px;
  font-weight: 800;
  color: #35462c;
  padding: 8px 11px;
  border-radius: 9px;
  background: #e8facf;
}
#livePreview {
  width: 100%;
  height: 215px;
  display: block;
  margin-top: 8px;
}
.preview-legend {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #6a756b;
}
.preview-legend i {
  display: inline-block;
  width: 18px;
  height: 3px;
  background: #191a1e;
  vertical-align: middle;
  margin-right: 5px;
}
.csv-dropzone {
  border: 2px dashed #9dae8d;
  border-radius: 17px;
  background: #f5fbea;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 155px;
  gap: 5px;
  padding: 16px;
  cursor: pointer;
  margin: 16px 0 9px;
  transition: background .2s,border-color .2s,transform .2s;
}
.csv-dropzone:hover,.csv-dropzone.dragover {
  background: #e9ffcb;
  border-color: #191a1e;
  transform: translateY(-1px);
}
.csv-dropzone b {
  font-size: 17px;
}
.csv-dropzone span {
  font-size: 12px;
  color: #56604f;
}
.csv-drop-icon {
  border: 1.5px solid #191a1e;
  background: #b9ff66;
  border-radius: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 25px;
  color: #191a1e;
}
.csv-dropzone .csv-file-name {
  font-weight: 800;
  color: #23331d;
  overflow-wrap: anywhere;
}
.csv-file-accessible {
  max-width: 440px;
  margin-bottom: 10px;
}
.csv-file-accessible label {
  font-size: 11px;
  color: #6a7366;
}
.csv-file-accessible input {
  min-height: 35px;
  font-size: 12px;
}
.csv-preview {
  margin: 12px 0;
  border: 1px solid #d6dfcf;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.csv-preview b {
  display: block;
  margin-bottom: 6px;
}
.csv-preview pre {
  margin: 0;
  white-space: pre;
  overflow-x: auto;
  font-size: 11px;
  line-height: 1.7;
  background: #f7f9f5;
  border-radius: 6px;
  padding: 8px;
}
.csv-advanced {
  margin-top: 12px;
  border: 1px solid #d8dfd4;
  border-radius: 11px;
  padding: 12px 14px;
}
.csv-advanced summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 12px;
}
.interactive-wave {
  background: #fff;
  border: 1px solid #dce5d7;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
  padding: 13px 14px;
  border-bottom: 1px solid #e6ebe2;
  background: #f9fbf7;
}
.chart-toolbar-left,.chart-toolbar-right {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.chart-tool {
  background: #fff;
  border: 1px solid #d2d8d0;
  border-radius: 8px;
  padding: 8px 10px;
  min-height: 37px;
  font-size: 12px;
  font-weight: 700;
  color: #454b46;
  transition: background .15s,border-color .15s,transform .15s;
}
.chart-tool:hover {
  border-color: #18191c;
  background: #f0f6e6;
}
.chart-tool.active {
  background: #b9ff66;
  border-color: #161719;
  color: #111;
  box-shadow: 2px 2px 0 #161719;
}
.chart-tool[data-action=reset] {
  background: #fff;
}
.chart-tool.quiet {
  min-width: 36px;
  font-size: 17px;
  padding: 6px 10px;
}
.chart-tool:disabled {
  opacity: .4;
  cursor: default;
}
.chart-viewport {
  position: relative;
  min-height: 340px;
  user-select: none;
  background: #fff;
  overflow: hidden;
}
.chart-viewport canvas {
  width: 100%;
  height: 340px;
  display: block;
  touch-action: none;
  cursor: crosshair;
}
.chart-viewport.mode-explore canvas {
  cursor: grab;
}
.chart-viewport.mode-explore.is-dragging canvas {
  cursor: grabbing;
}
.chart-viewport.mode-interval canvas {
  cursor: crosshair;
}
.chart-tooltip {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  max-width: 245px;
  min-width: 156px;
  padding: 10px 11px;
  border: 1.5px solid #191a1e;
  background: #fff;
  border-radius: 9px;
  box-shadow: 3px 4px 0 #191a1e;
  line-height: 1.55;
  font-size: 12px;
  white-space: pre-line;
  color: #191a1e;
}
.chart-tooltip b {
  color: #243821;
}
.chart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 14px;
  background: #f9fbf7;
  border-top: 1px solid #e6ebe2;
  font-size: 12px;
  color: #576357;
}
.chart-help {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.chart-help-dot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #c8d7bb;
  font-weight: 900;
  font-size: 12px;
  color: #467529;
  background: #e8f9d4;
}
.chart-quick-action {
  background: #191a1e;
  color: #fff;
  border: 1.5px solid #191a1e;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.chart-quick-action:hover {
  background: #39512e;
}
.chart-quick-action.hidden {
  display: none;
}
.chartbox:has(.interactive-wave) {
  padding: 0;
  background: #fff;
  border: 0;
}
.chartbox .interactive-wave {
  border: 0;
}
.chart-quick-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 9px 14px 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #656e62;
}
.chart-quick-legend span:before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 3px;
  margin-right: 6px;
  vertical-align: middle;
  background: #17191c;
}
.chart-quick-legend span:nth-child(2):before {
  background: #78b536;
}
.chart-quick-legend span:nth-child(3):before {
  background: #d99832;
}
@media(max-width:650px) {
  .chart-toolbar {
    padding: 9px;
    gap: 8px;
  }
  .chart-toolbar-left {
    gap: 5px;
  }
  .chart-tool {
    padding: 8px;
    font-size: 11px;
    min-height: 34px;
  }
  .chart-viewport,.chart-viewport canvas {
    height: 285px;
    min-height: 285px;
  }
  .chart-footer {
    padding: 11px 12px;
  }
  .chart-quick-action {
    width: 100%;
  }
  .topbar-right {
    font-size: 0;
  }
  .topbar-right .topbar-monogram {
    font-size: 18px;
  }
  .live-preview-card {
    padding: 13px;
  }
  #livePreview {
    height: 175px;
  }
}
@media print {
  .interactive-wave {
    display: none!important;
  }
  .csv-dropzone {
    display: none!important;
  }
}
.application-cards .formula {
  font-size: 11px;
  line-height: 1.85;
  margin-top: 14px;
}
.application-cards .fine {
  margin-top: 11px!important;
}
.chart-viewport:focus-visible {
  outline: 3px solid #74aa29;
  outline-offset: -4px;
}
@media(max-width:650px) {
  .application-cards .formula {
    font-size: 10px;
  }
  .chart-viewport canvas {
    touch-action: none;
  }
}
/* Upload UX: one accessible file picker, one clearly defined action. */
.csv-upload {
  position: relative;
  margin: 17px 0 16px;
}
.csv-upload .csv-dropzone {
  margin: 0;
  min-height: 168px;
  padding: 22px 18px;
  border: 2px dashed #91a782;
  background: #f8fdf0;
  border-radius: 15px;
  gap: 7px;
}
.csv-upload .csv-dropzone:hover,.csv-upload .csv-dropzone:focus-visible,.csv-upload .csv-dropzone.dragover {
  background: #efffdb;
  border-color: #202124;
}
.csv-upload .csv-dropzone.has-file {
  background: #eeffd8;
  border-style: solid;
  border-color: #7caf3c;
}
.csv-upload .csv-dropzone.has-file .csv-drop-icon {
  background: #191a1e;
  color: #b9ff66;
}
.csv-upload .csv-dropzone b {
  font-size: 17px;
  letter-spacing: -.3px;
}
.csv-upload .csv-dropzone .csv-upload-format {
  font-size: 11px;
  color: #677262;
}
.csv-upload .csv-dropzone .csv-file-name {
  display: block;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  color: #25461a;
  margin-top: 3px;
}
.csv-native-file {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  white-space: nowrap!important;
  border: 0!important;
  opacity: 0!important;
  pointer-events: none!important;
}
.csv-validation-note {
  font-size: 12px;
  color: #627060;
  background: #f7f9f4;
  border-left: 3px solid #93bd68;
  border-radius: 3px 8px 8px 3px;
  padding: 10px 12px;
  line-height: 1.6;
  margin: 17px 0 0!important;
}
.csv-validation-note strong {
  color: #2a3529;
}
@media(max-width:650px) {
  .csv-upload .csv-dropzone {
    min-height: 148px;
    padding: 16px 13px;
  }
  .csv-upload .csv-dropzone b {
    font-size: 16px;
  }
  .csv-upload .csv-dropzone .csv-upload-format {
    font-size: 10px;
  }
  #source-csv .actions .btn {
    flex: 1 1 180px;
    min-height: 46px;
  }
  #source-csv .formgrid {
    gap: 13px;
  }
  #source-csv>.card {
    padding: 15px;
  }
}
/* Sidebar layout repair — full labels, no desktop sidebar scrollbars. */
@media(min-width:851px) {
  :root {
    --sidebar: clamp(295px,23vw,340px);
  }
  .sidebar {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden!important;
    padding: clamp(14px,2.4vh,28px) clamp(16px,1.7vw,24px) clamp(12px,2vh,20px);
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .sidebar .logo {
    padding: 0 4px;
    gap: 10px;
    min-width: 0;
    font-size: clamp(25px,2.15vw,30px);
    letter-spacing: -1.5px;
    line-height: 1.15;
  }
  .sidebar .logo-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 26px;
  }
  .sidebar .sidebar-kicker {
    display: block!important;
    min-width: 0;
    max-width: 100%!important;
    margin: 8px 0 clamp(17px,3.5vh,34px)!important;
    padding: 0 4px!important;
    font-size: 10px!important;
    letter-spacing: .75px!important;
    line-height: 1.45!important;
    white-space: normal!important;
    overflow-wrap: break-word!important;
    word-break: normal!important;
  }
  .sidebar .nav {
    width: 100%;
    gap: clamp(4px,.75vh,8px);
  }
  .sidebar .navgroup {
    margin: clamp(5px,1vh,12px) 8px clamp(7px,1.2vh,12px);
    font-size: 10px;
  }
  .sidebar .navbtn {
    min-width: 0;
    min-height: clamp(43px,6.2vh,53px);
    padding: 9px 12px;
    gap: 12px;
    font-size: clamp(12px,1vw,14px);
    line-height: 1.3;
    white-space: normal;
  }
  .sidebar .navbtn.active {
    padding: 7px 10px;
  }
  .sidebar .numnav {
    flex: 0 0 25px;
    width: 25px;
  }
  .sidebar .sidebottom {
    flex: 0 0 auto;
    margin-top: auto;
    min-width: 0;
    padding: clamp(10px,1.6vh,16px) 5px 0;
    line-height: 1.42;
    font-size: 11px;
    overflow: visible;
  }
  .sidebar .sidebottom strong {
    font-size: 11.5px;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .sidebar .profile-label,.sidebar .faculty-label {
    font-size: 9px;
    margin-bottom: 3px;
    letter-spacing: .6px;
  }
  .sidebar .faculty-label {
    margin-top: clamp(8px,1.3vh,14px);
  }
}
@media(min-width:851px) and (max-height:720px) {
  .sidebar {
    padding-top: 12px;
    padding-bottom: 11px;
  }
  .sidebar .logo-icon {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    font-size: 22px;
  }
  .sidebar .logo {
    font-size: 25px;
  }
  .sidebar .sidebar-kicker {
    font-size: 9px!important;
    margin: 5px 0 12px!important;
  }
  .sidebar .navgroup {
    margin: 4px 7px 5px;
  }
  .sidebar .nav {
    gap: 3px;
  }
  .sidebar .navbtn {
    min-height: 39px;
    padding: 6px 9px;
    font-size: 12px;
  }
  .sidebar .navbtn.active {
    padding: 4px 7px;
  }
  .sidebar .sidebottom {
    padding-top: 8px;
    font-size: 10px;
  }
  .sidebar .sidebottom strong {
    font-size: 10.5px;
  }
  .sidebar .faculty-label {
    margin-top: 7px;
  }
}
@media(max-width:850px) {
  .sidebar {
    overflow-x: hidden!important;
    overflow-y: auto!important;
  }
  .sidebar .logo {
    font-size: 25px;
    gap: 9px;
    padding: 0 6px;
  }
  .sidebar .sidebar-kicker {
    white-space: normal!important;
    overflow-wrap: break-word!important;
    margin: 7px 6px 16px!important;
    font-size: 10px!important;
    letter-spacing: .55px!important;
  }
}
/* Release specification: seven rubric-visible destinations, compact navigation. */
:root {
  --sidebar: clamp(296px,23.5vw,334px);
}
.sidebar {
  padding: 18px 17px 16px!important;
  gap: 7px!important;
  overflow-x: hidden!important;
}
.sidebar .logo {
  display: flex;
  align-items: center;
  font-size: 23px!important;
  line-height: 1.02;
  letter-spacing: -.95px;
  gap: 12px!important;
  padding: 0 8px!important;
  white-space: normal!important;
}
.sidebar .logo-icon {
  width: 44px!important;
  height: 44px!important;
  flex: 0 0 44px!important;
}
.brand-wordmark {
  display: block;
  font-weight: 900;
  min-width: 0;
  line-height: 1.01;
}
.brand-wordmark span {
  display: inline-block;
}
.brand-dot {
  color: #80bd37;
}
.sidebar .sidebar-kicker {
  font-size: 9px!important;
  letter-spacing: .43px!important;
  margin: 8px 7px 17px!important;
  line-height: 1.45!important;
  overflow-wrap: break-word;
}
.sidebar .navgroup {
  margin: 6px 7px 7px!important;
  font-size: 10px!important;
}
.sidebar .nav {
  gap: 5px!important;
}
.sidebar .navbtn {
  min-height: 49px!important;
  padding: 8px 10px!important;
  line-height: 1.15!important;
  font-size: 13px!important;
  gap: 10px!important;
  transition: background .15s ease,transform .15s ease;
}
.sidebar .navbtn.active {
  padding: 6px 8px!important;
}
.sidebar .navbtn>span:last-child {
  display: block;
  min-width: 0;
  flex: 1;
  white-space: normal;
}
.sidebar .navbtn small {
  display: block;
  font-size: 9.5px;
  color: #737b70;
  font-weight: 500;
  margin-top: 3px;
  letter-spacing: 0;
  line-height: 1.15;
}
.sidebar .navbtn.active small {
  color: #354b25;
  font-weight: 650;
}
.sidebar .numnav {
  font-size: 12px!important;
  flex: 0 0 26px!important;
}
.sidebar .sidebottom {
  font-size: 10px!important;
  line-height: 1.35!important;
  padding: 10px 8px 1px!important;
}
.sidebar .sidebottom strong {
  font-size: 10.5px!important;
}
.sidebar .faculty-label {
  margin-top: 10px!important;
}
.hero h1 {
  font-size: clamp(36px,3.75vw,57px)!important;
  line-height: 1.09!important;
  max-width: 840px;
}
.hero-name {
  font-size: .52em;
  letter-spacing: -.023em;
  font-style: normal;
  display: inline-block;
  margin-bottom: 13px;
  padding: 7px 10px;
  background: #b9ff66;
  border-radius: 5px;
  line-height: 1.22;
}
.hero h1 span {
  font-size: .82em;
  letter-spacing: -.045em;
}
.reference-entry {
  border: 1.5px solid #202124;
  border-radius: 13px;
  margin: 17px 0;
  background: #fbfef8;
  overflow: hidden;
}
.reference-entry>summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 15px;
}
.reference-entry>summary::-webkit-details-marker {
  display: none;
}
.reference-entry>summary:hover {
  background: #efffdc;
}
.reference-toggle {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 17px;
  flex-shrink: 0;
}
.reference-entry[open] .reference-toggle {
  transform: rotate(45deg);
}
.reference-body {
  padding: 13px 17px 19px;
  border-top: 1px solid #d6e1d0;
}
.reference-body p {
  margin: 0 0 14px;
  color: #576258;
}
.trace-preview {
  max-height: 325px;
  overflow: auto;
}
.trace-preview table {
  min-width: 570px;
}
.study-kicker {
  letter-spacing: .09em;
  font-size: 10px;
  font-weight: 850;
  color: #608a34;
  text-transform: uppercase;
}
.report-context {
  display: grid;
  gap: 9px;
}
.report-context p {
  margin: 0;
}
.case-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}
.case-limits span {
  background: #f2f6ed;
  border: 1px solid #d4e1c8;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
@media(min-width:851px) and (max-height:760px) {
  .sidebar {
    padding-top: 9px!important;
    padding-bottom: 9px!important;
    gap: 3px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 4px 7px 6px!important;
  }
  .sidebar .nav {
    gap: 1px!important;
  }
  .sidebar .navbtn {
    min-height: 40px!important;
    padding: 5px 8px!important;
    font-size: 12px!important;
  }
  .sidebar .navbtn.active {
    padding: 3px 6px!important;
  }
  .sidebar .navbtn small {
    font-size: 8.5px;
  }
  .sidebar .sidebottom {
    padding: 7px 6px!important;
    font-size: 9px!important;
  }
  .sidebar .sidebottom strong {
    font-size: 10px!important;
  }
  .sidebar .faculty-label {
    margin-top: 5px!important;
  }
}
@media(min-width:851px) and (max-height:570px) {
  .sidebar {
    overflow-y: auto!important;
  }
}
@media(max-width:850px) {
  .sidebar {
    overflow-y: auto!important;
    gap: 8px!important;
    padding: 22px 15px!important;
  }
  .sidebar .navbtn {
    min-height: 50px!important;
    font-size: 13px!important;
  }
  .sidebar .sidebottom {
    margin-top: 12px!important;
  }
  .hero h1 {
    font-size: clamp(35px,6vw,51px)!important;
  }
}
@media(max-width:650px) {
  .hero h1 {
    font-size: clamp(32px,8vw,45px)!important;
  }
  .hero-name {
    margin-bottom: 8px;
  }
  .reference-body {
    padding: 13px;
  }
  .reference-entry>summary {
    font-size: 12px;
  }
  .mobile-wordmark {
    font-size: 15px!important;
  }
  .topbar-right {
    display: none;
  }
}
@media print {
  .sidebar,.mobilebar {
    display: none!important;
  }
  .reference-entry {
    display: none;
  }
}
.guide-list {
  padding-left: 24px;
  margin: 12px 0 16px;
  color: #454d45;
  font-size: 13px;
  line-height: 1.8;
}
.guide-list li {
  padding-left: 3px;
  margin: 8px 0;
}
.help-data {
  margin-top: 18px;
  box-shadow: none!important;
  border-color: #cbd4c5!important;
}
.help-data h3 {
  margin: 16px 0 8px;
}
@media(max-width:850px) {
  .topbar {
    display: none!important;
  }
}
/* ===== Visual system 2026: consistent, formal, accessible ===== */
:root {
  --ink: #171b19;
  --black: #171b19;
  --lime: #b9ff66;
  --lime2: #f1ffdf;
  --paper: #fff;
  --line: #dce2db;
  --muted: #5e6962;
  --sidebar: 284px;
  --shadow: none;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: var(--ink);
  font: 14px/1.6 Inter,"Segoe UI",Arial,sans-serif;
  letter-spacing: .002em;
}
button,input,select,textarea {
  font: inherit;
}
button {
  transition: background .15s ease,border-color .15s ease,color .15s ease,transform .15s ease;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,.csv-dropzone:focus-visible {
  outline: 3px solid #658f25!important;
  outline-offset: 3px;
}
.shell {
  grid-template-columns: var(--sidebar) minmax(0,1fr);
}
.main {
  min-width: 0;
}
.content {
  max-width: 1430px;
  padding: clamp(27px,3vw,42px) clamp(23px,3.5vw,56px) 75px;
}
.topbar {
  height: 60px;
  padding: 0 clamp(23px,3.5vw,56px);
  border-bottom: 1px solid #e6eae5;
}
.topbar .crumb {
  font-size: 12px;
  color: #6b736e;
}
.topbar .crumb b {
  font-weight: 750;
  color: #243028;
}
.topbar-right {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: #767e76;
}
/* Consistent sidebar: no secondary English navigation and no clipped brand. */
@media(min-width:851px) {
  :root {
    --sidebar: clamp(272px,20.7vw,300px);
  }
  .sidebar {
    height: 100dvh;
    padding: 22px 18px 16px!important;
    gap: 0!important;
    overflow-x: hidden!important;
    overflow-y: auto!important;
    scrollbar-width: none!important;
  }
  .sidebar::-webkit-scrollbar {
    display: none!important;
  }
  .sidebar .logo {
    padding: 1px 6px 0!important;
    font-size: 23px!important;
    line-height: 1.07;
    gap: 11px!important;
    letter-spacing: -.85px;
  }
  .sidebar .logo-icon {
    width: 43px!important;
    height: 43px!important;
    flex: 0 0 43px!important;
    font-size: 25px;
  }
  .sidebar .sidebar-kicker {
    padding: 0 6px!important;
    margin: 10px 0 26px!important;
    font-size: 9px!important;
    line-height: 1.45!important;
    letter-spacing: .65px!important;
    white-space: normal!important;
  }
  .sidebar .navgroup {
    margin: 0 10px 10px!important;
    color: #7a837d;
    font-size: 10px!important;
    letter-spacing: 1.4px!important;
  }
  .sidebar .nav {
    gap: 5px!important;
  }
  .sidebar .navbtn {
    min-height: 47px!important;
    padding: 10px 12px!important;
    gap: 11px!important;
    border: 1px solid transparent!important;
    border-radius: 10px!important;
    box-shadow: none!important;
    color: #4c5650!important;
    font-size: 13px!important;
    line-height: 1.35!important;
    font-weight: 650!important;
  }
  .sidebar .navbtn:hover {
    transform: none;
    background: #f3f8ed!important;
    color: #202a1e!important;
  }
  .sidebar .navbtn.active {
    padding: 10px 12px!important;
    background: var(--lime)!important;
    border-color: #171b19!important;
    color: #171b19!important;
    box-shadow: 2px 3px 0 #171b19!important;
    font-weight: 800!important;
  }
  .sidebar .numnav {
    font-variant-numeric: tabular-nums;
    color: inherit!important;
    background: transparent!important;
    width: 25px!important;
    flex: 0 0 25px!important;
    font-size: 12px!important;
  }
  .sidebar .sidebottom {
    margin-top: auto;
    padding: 14px 8px 0!important;
    border-top: 1px solid #e7eae5;
    line-height: 1.48!important;
    font-size: 11px!important;
    color: #5f6861;
  }
  .sidebar .sidebottom strong {
    font-size: 11.5px!important;
    color: #1e2820;
  }
  .sidebar .profile-label,.sidebar .faculty-label {
    margin-bottom: 3px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  .sidebar .faculty-label {
    margin-top: 12px!important;
  }
}
@media(min-width:851px) and (max-height:715px) {
  .sidebar {
    padding-top: 11px!important;
    padding-bottom: 10px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 7px 0 12px!important;
  }
  .sidebar .nav {
    gap: 2px!important;
  }
  .sidebar .navbtn {
    min-height: 40px!important;
    padding: 7px 9px!important;
  }
  .sidebar .navbtn.active {
    padding: 7px 9px!important;
  }
  .sidebar .sidebottom {
    padding-top: 8px!important;
  }
  .sidebar .faculty-label {
    margin-top: 6px!important;
  }
}
@media(max-width:850px) {
  .sidebar {
    overflow-x: hidden!important;
    overflow-y: auto!important;
    gap: 9px!important;
    padding: 22px 16px!important;
  }
  .sidebar .navbtn {
    min-height: 48px!important;
    font-size: 13px!important;
    border: 1px solid transparent!important;
    box-shadow: none!important;
    padding: 10px 12px!important;
  }
  .sidebar .navbtn.active {
    border: 1px solid #171b19!important;
    background: var(--lime)!important;
    box-shadow: 2px 3px 0 #171b19!important;
    padding: 10px 12px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 8px 6px 19px!important;
    font-size: 10px!important;
  }
  .sidebar .sidebottom {
    margin-top: 17px!important;
  }
  .mobilebar {
    height: 58px;
  }
  .mobile-wordmark {
    font-size: 16px!important;
  }
  .mobile-location {
    font-size: 11px;
    max-width: 36vw;
  }
}
.page {
  animation: entry .18s ease both;
}
.page-title {
  font-size: clamp(28px,2.7vw,37px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin: 6px 0 9px;
  max-width: 950px;
}
.eyebrow,.page .eyebrow {
  display: inline-block;
  color: #53742e;
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 850;
}
.intro {
  font-size: 14px;
  line-height: 1.7;
  color: #5c6861;
  max-width: 790px;
  margin: 0 0 25px;
}
.sectionhead {
  margin: 32px 0 15px;
  align-items: baseline;
  gap: 10px;
}
.sectionhead h2 {
  font-size: 20px;
  letter-spacing: -.035em;
  font-weight: 850;
}
.sectionhead small {
  font-size: 12px;
  color: #778078;
}
/* Landing hero: clear identity, purpose and primary action. */
.hero {
  min-height: 315px;
  grid-template-columns: minmax(0,1.3fr) minmax(210px,.7fr);
  gap: 30px;
  align-items: center;
  border: 0;
  box-shadow: none;
  padding: 10px 0 15px;
  margin-bottom: 10px;
  background: #fff;
}
.hero-kicker {
  background: #efffdc;
  color: #395827;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  padding: 7px 11px;
  border: 1px solid #d9eacb;
}
.hero h1 {
  font-size: clamp(36px,3.5vw,52px)!important;
  line-height: 1.12!important;
  letter-spacing: -.055em!important;
  margin: 18px 0 18px!important;
  font-weight: 900!important;
  max-width: 850px;
}
.hero-name {
  display: block;
  font-size: 1em!important;
  line-height: 1.08!important;
  letter-spacing: -.057em!important;
  padding: 0!important;
  margin: 0 0 11px!important;
  background: none!important;
  border-radius: 0!important;
  font-weight: 900!important;
}
.hero h1 span {
  display: block;
  font-size: .58em!important;
  letter-spacing: -.04em!important;
  line-height: 1.26!important;
  max-width: 760px;
  background: none!important;
  padding: 0!important;
  font-weight: 700!important;
  color: #47524a!important;
}
.hero p {
  font-size: 15px;
  line-height: 1.75;
  color: #58645d;
  max-width: 710px;
}
.hero .hero-actions {
  margin-top: 24px!important;
}
.hero .hero-caption {
  font-size: 12px;
  color: #788278;
  margin-top: 16px!important;
}
.orbital-art {
  max-width: 320px;
  margin: 0 auto;
}
.orbital-art svg {
  max-height: 300px;
}
/* One button family, predictable spacing. */
.btn {
  min-height: 44px;
  padding: 11px 17px;
  box-shadow: none!important;
  border: 1.5px solid #171b19!important;
  border-radius: 9px!important;
  font-size: 13px;
  font-weight: 750!important;
  line-height: 1.35;
  text-align: center;
}
.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 2px 3px 0 #171b19!important;
}
.btn.light,.btn.ghost {
  color: #171b19!important;
  background: #fff!important;
  border-color: #aeb9ae!important;
}
.btn.light:hover,.btn.ghost:hover {
  border-color: #171b19!important;
  background: #f5faef!important;
}
.btn:disabled {
  opacity: .45;
  box-shadow: none!important;
}
.btn.sm {
  min-height: 36px;
  font-size: 12px;
  padding: 7px 11px;
}
.actions {
  gap: 10px;
}
.footnav {
  margin-top: 26px;
  border-top: 1px solid #e5eae3;
  padding-top: 18px;
  gap: 13px;
}
/* Minimize visual noise while preserving original brand language. */
.steps {
  gap: 12px;
}
.stepcard {
  border: 1px solid #d9e2d7!important;
  border-radius: 12px!important;
  box-shadow: none!important;
  padding: 17px 15px!important;
  background: #fbfcf9;
  min-height: 140px;
}
.stepcard:hover {
  transform: none!important;
}
.stepcard .pill {
  background: #e8f8d3;
  font-size: 10px;
}
.stepcard strong {
  font-size: 13px;
  margin: 10px 0 5px;
}
.stepcard small {
  font-size: 12px;
  line-height: 1.5;
  color: #616b62;
}
.card {
  border: 1px solid #d9e1d7!important;
  border-radius: 14px!important;
  box-shadow: none!important;
  padding: clamp(17px,1.8vw,24px);
}
.card.soft {
  background: #fff;
  border: 1px solid #e3e8e0!important;
  box-shadow: none!important;
}
.card.dark {
  background: #1d2220;
  border-color: #1d2220!important;
  color: #fff;
}
.card.lime {
  background: #eaffd0;
  border-color: #bddf99!important;
}
.card h3 {
  font-size: 16px;
  letter-spacing: -.018em;
}
.card p {
  font-size: 13px;
  line-height: 1.72;
  color: #5a665e;
}
.card.dark p {
  color: #d9e4d6;
}
.card .symbol {
  font-size: 23px;
  margin-bottom: 8px;
}
.pill {
  font-size: 10px;
  background: #dcf8bd;
  border-radius: 6px;
  font-weight: 800;
}
.pill.gray {
  background: #f0f3ed;
  color: #5b665d;
}
.note {
  border-left: 3px solid #8db958;
  background: #f5faef;
  color: #41503e;
  border-radius: 0 8px 8px 0;
  padding: 11px 14px;
  font-size: 12px;
  line-height: 1.65;
}
.note.warning {
  background: #fff9ec;
  border-left-color: #cdac63;
  color: #624f2d;
}
.note.danger {
  background: #fff1ed;
  color: #883a2f;
  border-left-color: #c96c5a;
}
.fine,.hint,.field .hint {
  font-size: 11px;
  line-height: 1.65;
  color: #68746b;
}
.research-details {
  box-shadow: none!important;
  border: 1px solid #d8e2d6!important;
  border-radius: 12px!important;
  margin-top: 25px;
}
.research-details>summary {
  font-size: 13px;
  padding: 16px 18px;
}
.research-details-content {
  border-color: #e3e9df;
}
.research-details .card {
  box-shadow: none!important;
}
/* Inputs and source selection. */
.grid {
  gap: 15px;
}
.choice {
  min-height: 102px!important;
  border: 1px solid #ccd7c8!important;
  border-radius: 13px!important;
  box-shadow: none!important;
  padding: 18px 20px!important;
  background: #fff;
}
.choice:hover {
  transform: none!important;
  box-shadow: none!important;
  background: #f7fbf2;
  border-color: #99b87a!important;
}
.choice.selected {
  border: 2px solid #202720!important;
  box-shadow: 2px 3px 0 #202720!important;
  background: #f1ffdf!important;
  padding: 17px 19px!important;
}
.choice .choicehead {
  font-size: 16px;
  font-weight: 800;
  margin-top: 8px!important;
}
.choice small {
  font-size: 12px;
  line-height: 1.6;
  color: #616d64;
  margin-top: 5px;
}
.toprow {
  margin-bottom: 18px;
}
.toprow p {
  font-size: 13px;
  margin-top: 4px;
}
.formgrid {
  gap: 17px;
}
.field {
  gap: 7px;
}
.field label {
  font-size: 12px;
  font-weight: 750;
  color: #29352d;
}
.field input,.field select,.field textarea {
  min-height: 45px;
  border: 1px solid #bfcbbc;
  border-radius: 9px!important;
  padding: 10px 12px;
  background: #fff;
  color: #202a22;
  font-size: 14px;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color: #68952e;
}
.field input::placeholder {
  color: #88928b;
}
.formgrid label {
  line-height: 1.4;
}
.live-preview-card {
  margin-top: 22px;
  border: 1px solid #d9e4d6!important;
  background: #fbfdf9!important;
  border-radius: 13px!important;
  padding: 17px 20px;
}
.live-preview-head h3 {
  font-size: 16px;
}
.live-preview-head p {
  font-size: 12px;
}
#livePreview {
  height: 200px;
}
.preview-readout {
  background: #edfbdc;
  color: #39542b;
  font-size: 11px;
}
.csv-upload .csv-dropzone {
  min-height: 142px;
  border: 1.5px dashed #a3b89a;
  border-radius: 12px!important;
  background: #fafdf6;
  transition: background .15s,border-color .15s,transform .15s;
}
.csv-upload .csv-dropzone:hover {
  transform: none;
  background: #f0fce5;
  border-color: #4d7b36;
}
.csv-drop-icon {
  background: #e4f8c9;
  border: 1px solid #b8d397;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  font-size: 21px;
}
.csv-upload .csv-dropzone b {
  font-size: 15px;
}
.csv-validation-note {
  font-size: 12px;
}
.csv-advanced {
  border: 1px solid #e0e6df;
  border-radius: 11px;
}
.csv-advanced summary {
  font-size: 12px;
}
/* Chart viewport, controls, validation metrics. */
.interactive-wave {
  border: 1px solid #d9e3d7;
  border-radius: 12px;
}
.chart-toolbar {
  background: #f9fbf7;
  border-bottom: 1px solid #e2e9df;
  padding: 11px 12px;
  gap: 8px;
}
.chart-tool {
  border: 1px solid #c5d0c2;
  border-radius: 8px;
  padding: 8px 11px;
  min-height: 38px;
  font-size: 12px;
  color: #3b463d;
}
.chart-tool.active {
  background: #e2f9c5;
  box-shadow: none!important;
  border-color: #5e8835;
}
.chart-tool:hover {
  background: #edf9de;
}
.chart-viewport {
  min-height: 320px;
}
.chart-viewport canvas {
  height: 320px;
}
.chart-footer {
  background: #fbfcf9;
  padding: 11px 13px;
  font-size: 12px;
}
.chart-quick-action {
  font-size: 12px;
  min-height: 39px;
}
.chart-tooltip {
  box-shadow: 1px 2px 0 #171b19;
}
.statrow {
  gap: 10px;
}
.stat {
  border: 1px solid #dfe6dc;
  background: #fcfdfa;
  border-radius: 10px;
  padding: 13px;
}
.stat label {
  font-size: 11px;
}
.stat b {
  font-size: 19px;
}
.tablewrap {
  border-color: #e1e6df;
}
.formula {
  font-size: 11.5px;
  background: #f5f7f3;
}
.metric {
  font-size: clamp(22px,2.3vw,30px);
  line-height: 1.28;
}
.result-kicker {
  color: #46742f;
}
.auditmetric {
  border-color: #d7e3d0;
}
.auditmetric b {
  font-size: 21px;
}
.research {
  background: #1b221e;
}
.research p {
  color: #dce5d9;
}
.reference-entry {
  border: 1px solid #d6e0d3;
  background: #fbfdf9;
}
.reference-entry>summary {
  font-size: 13px;
  padding: 15px 17px;
}
.reference-body {
  border-top-color: #e2e9df;
}
/* Accessibility, no truncation or horizontal document scroll. */
.page,.card,.stat,.stepcard,.choice,.toprow,.field,.research-details,.hero-copy {
  min-width: 0;
}
.card,.metric,.tablewrap {
  overflow-wrap: anywhere;
}
.tablewrap {
  overflow-x: auto;
}
.content {
  overflow-wrap: break-word;
}
.intro,.hero p {
  text-wrap: pretty;
}
@media(max-width:1150px) and (min-width:851px) {
  .hero {
    grid-template-columns: minmax(0,1fr) minmax(170px,.52fr);
  }
  .orbital-art {
    max-width: 250px;
  }
  .steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .hero h1 {
    font-size: clamp(33px,3.65vw,45px)!important;
  }
}
@media(max-width:850px) {
  .content {
    padding: 26px 21px 60px;
  }
  .hero {
    grid-template-columns: minmax(0,1fr) minmax(170px,.5fr);
    min-height: 0;
    gap: 12px;
    padding: 6px 0;
  }
  .hero h1 {
    font-size: clamp(33px,4.7vw,45px)!important;
  }
  .orbital-art {
    max-width: 240px;
  }
  .steps {
    grid-template-columns: repeat(3,minmax(0,1fr));
    overflow: visible;
  }
  .chart-viewport,.chart-viewport canvas {
    height: 300px;
    min-height: 300px;
  }
}
@media(max-width:650px) {
  .content {
    padding: 22px 17px 58px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .hero-art {
    display: none!important;
  }
  .hero h1 {
    font-size: clamp(34px,8vw,43px)!important;
    margin: 17px 0 15px!important;
  }
  .hero h1 span {
    font-size: .61em!important;
  }
  .hero p {
    font-size: 14px;
  }
  .page-title {
    font-size: clamp(27px,7vw,34px);
  }
  .grid.two,.grid.three,.grid.four,.formgrid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
  }
  .stepcard {
    min-height: 0;
    padding: 13px!important;
  }
  .stepcard:last-child {
    grid-column: auto;
  }
  .card {
    padding: 17px;
  }
  .choice {
    min-height: 0!important;
    padding: 15px!important;
  }
  .choice.selected {
    padding: 14px!important;
  }
  .sectionhead {
    margin-top: 27px;
  }
  .sectionhead h2 {
    font-size: 19px;
  }
  .sectionhead small {
    width: auto;
  }
  .statrow {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .chart-toolbar {
    gap: 7px;
    padding: 10px;
  }
  .chart-toolbar-left,.chart-toolbar-right {
    gap: 5px;
  }
  .chart-tool {
    padding: 8px;
    font-size: 11px;
    min-height: 38px;
  }
  .chart-viewport,.chart-viewport canvas {
    height: 260px;
    min-height: 260px;
  }
  .chart-footer {
    padding: 10px;
  }
  .live-preview-card {
    padding: 13px;
  }
  #livePreview {
    height: 180px;
  }
  .footnav .btn {
    flex: 1 1 170px;
  }
  .topbar-right {
    display: none;
  }
  .hero .hero-actions .btn {
    min-width: 0;
  }
  .hero .hero-caption {
    line-height: 1.6;
  }
  .sidebar .nav {
    gap: 6px!important;
  }
}
@media(max-width:390px) {
  .content {
    padding: 19px 14px 49px;
  }
  .hero h1 {
    font-size: 32px!important;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .hero .hero-actions {
    display: grid!important;
    grid-template-columns: 1fr;
  }
  .hero .hero-actions .btn {
    width: 100%;
  }
  .statrow {
    grid-template-columns: 1fr;
  }
  .mobile-location {
    max-width: 27vw;
  }
}
@media(prefers-reduced-motion:reduce) {
  .page {
    animation: none!important;
  }
  .btn,.choice,.sidebar .navbtn {
    transition: none!important;
  }
}
@media print {
  .page,.shell {
    display: none!important;
  }
  #printArea {
    display: block!important;
  }
  .print-report {
    color: #111;
  }
  .print-hd {
    background: #b9ff66!important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/* Gradual detail reveal for a general audience; detailed audit remains available. */
.result-detail-panel {
  margin: 18px 0;
  border: 1px solid #d9e4d5;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.result-detail-panel>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 18px;
  background: #fafdf8;
  color: #222d25;
  font-size: 14px;
  font-weight: 800;
}
.result-detail-panel>summary::-webkit-details-marker {
  display: none;
}
.result-detail-panel>summary:hover {
  background: #f0f9e8;
}
.result-detail-panel>summary small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #667267;
  margin-top: 3px;
  line-height: 1.45;
}
.result-detail-panel>.result-detail-body {
  padding: 17px;
  border-top: 1px solid #e6ece4;
}
.result-detail-panel .detail-chevron {
  border: 1px solid #cbd9c4;
  border-radius: 8px;
  background: white;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 19px;
  flex-shrink: 0;
  transition: transform .15s;
}
.result-detail-panel[open] .detail-chevron {
  transform: rotate(180deg);
}
.result-detail-panel .result-detail-body>.grid,.result-detail-panel .result-detail-body>.card {
  margin: 0;
}
.result-detail-panel .result-detail-body>.card+.card {
  margin-top: 12px;
}
.result-detail-panel .result-detail-body>.sectionhead {
  margin-top: 22px;
}
@media(max-width:390px) {
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:340px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
@media print {
  .result-detail-panel {
    display: none!important;
  }
}
/* ===========================================================
   ANALYSIS WORKSPACE — UX revision. Consistent lime/ink theme.
   Pure CSS/HTML; no external fonts, frameworks, or tracking.
   =========================================================== */
:root {
  --paper: #f8faf5;
  --line: #dde4d8;
  --lime: #b9ff66;
  --ink: #1b211e;
  --muted: #59665d;
}
body {
  background: var(--paper);
  color: var(--ink);
}
.main {
  background: var(--paper);
}
.content {
  max-width: 1500px;
  padding: clamp(25px,2.5vw,40px) clamp(22px,3.7vw,60px) 85px;
}
.topbar {
  background: #fff;
  border-bottom: 1px solid #e5ebe1;
}
.page-title {
  font-size: clamp(31px,3vw,43px);
  font-weight: 850;
  letter-spacing: -.047em;
}
.intro {
  max-width: 780px;
  color: #5b675f;
  margin-bottom: 26px;
  font-size: 14px;
}
.eyebrow,.page .eyebrow {
  background: #ebf8db;
  border: 1px solid #dceccf;
  padding: 4px 9px;
  border-radius: 5px;
  letter-spacing: .75px!important;
  color: #43632e;
}
.sectionhead {
  margin: 35px 0 16px;
}
.sectionhead h2 {
  font-size: clamp(19px,1.6vw,23px);
}
.sectionhead small {
  font-size: 11px;
  letter-spacing: .01em;
}
.card,.card.soft {
  background: white;
  border: 1px solid #d8e1d4;
  border-radius: 16px;
  box-shadow: none;
  padding: clamp(18px,1.8vw,27px);
}
.card.dark {
  background: #1d2821;
  border-color: #1d2821;
  box-shadow: none;
  color: white;
}
.card.dark h3 {
  color: white;
}
.card.lime {
  background: #d7ffa5;
  border-color: #86b455;
}
.card p {
  line-height: 1.7;
  color: #59655d;
}
.card h3 {
  font-weight: 800;
  letter-spacing: -.028em;
}
.pill {
  background: #e2fac5;
  border-radius: 7px;
  color: #2d4524;
  font-size: 10px;
  letter-spacing: .025em;
  padding: 6px 10px;
}
.pill.gray {
  background: #f0f3ee;
  color: #5a665e;
}
.note {
  background: #f0f8e9;
  border-left: 3px solid #83b84e;
  color: #40543d;
  border-radius: 0 8px 8px 0;
}
.note.warning {
  background: #fff9ec;
  border-left-color: #c7a04e;
}
.note.danger {
  background: #fff0ef;
  border-left-color: #cf766b;
}
.btn {
  border-radius: 9px;
  min-height: 43px;
  padding: 10px 17px;
  box-shadow: none!important;
  font-size: 13px;
}
.btn:hover:not(:disabled) {
  box-shadow: none!important;
  transform: translateY(-1px);
}
.btn.light {
  background: #ecfbd8!important;
  border: 1px solid #8fac6e!important;
  color: #24321f;
}
.btn.ghost {
  border-color: #cad7c8;
  background: #fff;
}
.btn:disabled {
  opacity: .48;
}
/* Navigation illustrates current location without oversized shadows. */
.sidebar {
  background: #fff!important;
  border-right: 1px solid #e2e8df!important;
}
.sidebar .navbtn {
  position: relative;
}
.sidebar .navbtn.active {
  box-shadow: inset 3px 0 0 #1b211e!important;
  border: 1px solid #95bf69!important;
  background: #d5ffa0!important;
}
/* A stepper groups the six consecutive tasks, while sidebar retains all seven rubric menus. */
.journey {
  background: #fff;
  border: 1px solid #d9e2d7;
  border-radius: 14px;
  padding: 16px 18px 17px;
  margin: 0 0 32px;
  box-shadow: 0 3px 0 #222b1b09;
}
.journey.hidden {
  display: none!important;
}
.journey-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 13px;
  flex-wrap: wrap;
}
.journey-caption {
  font-size: 10px;
  font-weight: 850;
  color: #56743b;
  letter-spacing: 1.1px;
}
.journey-position {
  font-size: 12px;
  font-weight: 750;
  color: #222d23;
}
.journey-data {
  font-size: 11px;
  color: #718071;
  margin-left: auto;
  white-space: nowrap;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.journey-track {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 7px;
}
.journey-step {
  background: #f7f9f5;
  border: 1px solid #edf0eb;
  border-radius: 8px;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  color: #657168;
  padding: 7px 6px;
  line-height: 1.2;
}
.journey-index {
  font-size: 10px;
  color: #7b877f;
  font-variant-numeric: tabular-nums;
}
.journey-step:hover {
  background: #eff8e5;
  border-color: #aac696;
  color: #293c26;
}
.journey-step.active {
  background: #c9ff86;
  border-color: #87b64b;
  color: #1c291a;
  box-shadow: inset 0 -2px 0 #93c84e;
}
.journey-step.active .journey-index {
  color: #253a1d;
}
.journey-step.finished:not(.active) {
  background: #f0f9e7;
  color: #426936;
}
.journey-mobile-bar {
  display: none;
}
/* Hero: physical signal instrumentation rather than generic decoration. */
.hero {
  background: #202921!important;
  border: 1px solid #202921!important;
  border-radius: 22px!important;
  padding: clamp(26px,3.65vw,52px)!important;
  grid-template-columns: minmax(0,1.08fr) minmax(305px,.92fr)!important;
  gap: clamp(22px,3vw,47px)!important;
  min-height: 390px;
  overflow: hidden!important;
  margin: 0 0 23px!important;
  box-shadow: 5px 7px 0 #b9ff66!important;
}
.hero .hero-kicker {
  background: #b9ff66!important;
  color: #263321!important;
  border-color: #b9ff66!important;
  font-weight: 900;
}
.hero h1 {
  color: #fff!important;
  font-size: clamp(36px,3.8vw,56px)!important;
  line-height: 1.09!important;
  max-width: 750px!important;
  margin: 24px 0 19px!important;
}
.hero-name {
  color: #fff!important;
  margin-bottom: 9px!important;
}
.hero h1 span {
  color: #bbf78b!important;
  font-size: .57em!important;
  max-width: 610px;
  line-height: 1.24!important;
}
.hero p {
  color: #d2e0d2!important;
  font-size: clamp(14px,1.05vw,16px)!important;
  line-height: 1.8!important;
}
.hero p strong {
  color: #fff;
}
.hero .hero-caption {
  color: #a7baa6!important;
}
.hero .hero-actions {
  margin-top: 27px!important;
}
.hero .btn {
  background: #b9ff66!important;
  color: #172018!important;
  border: 1px solid #b9ff66!important;
  min-height: 46px;
}
.hero .btn.light {
  background: transparent!important;
  color: #fff!important;
  border: 1px solid #607561!important;
}
.hero .btn:hover {
  background: #d2ff99!important;
  color: #182219!important;
}
.signal-preview {
  width: 100%;
  max-width: 520px;
  background: #121a15;
  border: 1px solid #566954;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 8px 9px 0 #131a14;
  align-self: center;
}
.signal-preview-top,.signal-preview-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  color: #e3eddf;
  font-size: 10px;
  letter-spacing: .6px;
  font-weight: 800;
}
.signal-preview-top {
  border-bottom: 1px solid #334237;
}
.signal-preview-top>span:last-child {
  color: #b9ff66;
  font-size: 9px;
}
.signal-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9ff66;
  margin-right: 6px;
  box-shadow: 0 0 0 3px #b9ff661a;
}
.signal-preview-screen {
  background: #1a241d;
  padding: 5px 6px 0;
}
.signal-preview-screen svg {
  display: block;
  width: 100%;
  height: auto;
  filter: none!important;
}
.signal-preview-bottom {
  border-top: 1px solid #354137;
  gap: 5px;
  padding: 13px 12px;
  justify-content: center;
  letter-spacing: 0;
  font-size: 10px;
  color: #d6e3d3;
}
.signal-preview-bottom strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #f1fff1;
}
.signal-preview-bottom>span:not(.signal-arrow) {
  text-align: center;
  flex: 1;
}
.signal-arrow {
  color: #b9ff66;
  font-size: 18px;
}
.signal-preview-disclaimer {
  color: #93a58e!important;
  text-align: center;
  font-size: 10px!important;
  line-height: 1.3!important;
  margin: 0!important;
  padding: 0 7px 13px!important;
}
@media(prefers-reduced-motion:no-preference) {
  .signal-preview-wave {
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    animation: signalDraw 1.9s ease .2s forwards;
  }
  @keyframes signalDraw {
    to {
      stroke-dashoffset: 0;
    }
  }
}
/* First click can take user directly to synthetic generator or CSV upload. */
.quick-section {
  margin: 24px 0 14px;
}
.quick-section .sectionhead {
  margin-top: 14px;
}
.quick-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
.quick-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 17px;
  text-align: left;
  min-width: 0;
  min-height: 114px;
  border: 1.5px solid #becdb9;
  border-radius: 15px;
  background: #fff;
  padding: 20px 22px;
  color: #253126;
  box-shadow: 3px 4px 0 #24321f0f;
}
.quick-option:first-child {
  background: #e7ffc9;
  border-color: #9abb7d;
}
.quick-option:hover {
  border-color: #4b7e29;
  box-shadow: 4px 5px 0 #b9ff66;
  transform: translateY(-1px);
}
.quick-option:focus-visible {
  outline: 3px solid #557e27;
  outline-offset: 3px;
}
.quick-icon {
  background: #1d281e;
  color: #c4ff83;
  border-radius: 12px;
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 800;
}
.quick-content {
  display: grid;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.quick-content strong {
  font-size: 16px;
  letter-spacing: -.025em;
}
.quick-content small {
  font-size: 12px;
  color: #59685b;
  line-height: 1.58;
}
.quick-arrow {
  font-size: 25px;
  align-self: center;
  color: #3d6630;
}
/* Six clickable steps replace inconsistent five-card chronology. */
.steps {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 11px!important;
  overflow: visible!important;
}
.stepcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  min-height: 126px;
  padding: 18px 17px!important;
  background: #fff;
  border: 1px solid #d9e3d7!important;
  border-radius: 13px!important;
  box-shadow: none!important;
  cursor: pointer;
  color: #202920;
}
.stepcard:hover {
  border-color: #78ac53!important;
  background: #f6ffec;
  transform: translateY(-2px);
}
.stepcard .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 29px;
  background: #e7f8d6;
  border-radius: 7px;
  color: #395b27;
  font-size: 11px;
  font-weight: 850;
  margin-bottom: 5px;
}
.stepcard strong {
  font-size: 13px;
  margin: 0;
}
.stepcard small {
  font-size: 12px;
  line-height: 1.48;
  color: #68766d;
}
/* Inputs, source choices and charts should form one coherent component family. */
.choice {
  border: 1.5px solid #cbd8c5!important;
  min-height: 133px!important;
  box-shadow: none!important;
  border-radius: 14px!important;
  background: #fff!important;
  padding: 22px!important;
}
.choice.selected {
  background: #e6ffc7!important;
  border-color: #83b64b!important;
  box-shadow: inset 0 0 0 1px #83b64b!important;
}
.choice:hover {
  transform: none!important;
  box-shadow: 0 4px 0 #d4efba!important;
}
.choice .choicehead {
  font-size: 17px;
}
.choice small {
  font-size: 12px;
  line-height: 1.65;
}
.field input,.field select,.field textarea {
  border: 1px solid #c5d2c0!important;
  background: #fff;
  min-height: 47px;
  border-radius: 9px!important;
}
.csv-upload .csv-dropzone {
  background: #f4faec;
  min-height: 157px;
  border: 1.5px dashed #96b782;
}
.live-preview-card {
  background: #fbfdf9!important;
}
.chart-toolbar {
  background: #f5f9f0;
}
.chart-tool {
  min-height: 40px;
}
.chart-tool.active {
  background: #b9ff66;
  border-color: #476c32;
}
.chart-viewport {
  background: #fff;
}
.chart-footer {
  background: #f7faf4;
}
.stat {
  border-color: #dce5d7;
  background: #fafcf8;
}
.footnav {
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #e4e9e1;
}
/* Responsive: intentional reading order and no horizontal page overflow. */
@media(max-width:1230px) {
  .hero {
    grid-template-columns: minmax(0,1fr) minmax(245px,.7fr)!important;
    gap: 24px!important;
    padding: 32px!important;
  }
  .signal-preview-bottom {
    font-size: 9px;
  }
  .signal-preview-bottom strong {
    font-size: 10px;
  }
  .hero h1 {
    font-size: clamp(33px,3.8vw,47px)!important;
  }
}
@media(max-width:1030px) {
  .journey-track {
    gap: 4px;
  }
  .journey-step {
    gap: 5px;
    font-size: 10px;
  }
  .journey-index {
    font-size: 9px;
  }
  .hero {
    grid-template-columns: 1fr!important;
    padding: 29px!important;
  }
  .hero .hero-art {
    display: none!important;
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:850px) {
  .content {
    padding: 24px 19px 65px;
  }
  .hero {
    border-radius: 17px!important;
    padding: 29px 23px!important;
    box-shadow: 4px 5px 0 #b9ff66!important;
  }
  .hero h1 {
    font-size: clamp(35px,6vw,48px)!important;
  }
  .journey {
    padding: 14px;
    margin-bottom: 24px;
  }
  .journey-heading {
    margin-bottom: 11px;
  }
  .journey-data {
    max-width: 48%;
  }
}
@media(max-width:650px) {
  .hero {
    padding: 26px 20px!important;
    min-height: 0;
    margin-top: 0!important;
  }
  .hero h1 {
    font-size: clamp(32px,8.4vw,42px)!important;
  }
  .hero h1 span {
    font-size: .61em!important;
  }
  .hero p {
    font-size: 13px!important;
    line-height: 1.75!important;
  }
  .hero .btn {
    min-height: 46px;
  }
  .hero .hero-caption {
    font-size: 11px;
  }
  .quick-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .quick-option {
    min-height: 105px;
    padding: 16px;
    gap: 13px;
  }
  .quick-icon {
    width: 44px;
    flex-basis: 44px;
    height: 44px;
  }
  .quick-content strong {
    font-size: 15px;
  }
  .quick-content small {
    font-size: 12px;
  }
  .quick-arrow {
    font-size: 21px;
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px!important;
  }
  .stepcard {
    min-height: 124px;
    padding: 14px 12px!important;
  }
  .stepcard:last-child {
    grid-column: auto;
  }
  .stepcard strong {
    font-size: 12px;
  }
  .stepcard small {
    font-size: 11px;
  }
  .journey {
    padding: 13px 14px!important;
    border-radius: 12px;
  }
  .journey-heading {
    margin-bottom: 8px;
  }
  .journey-position {
    margin-left: auto;
  }
  .journey-data {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }
  .journey-track {
    display: none;
  }
  .journey-mobile-bar {
    display: block;
    height: 6px;
    background: #e7eee2;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 11px;
  }
  .journey-mobile-bar>div {
    height: 100%;
    width: 16.67%;
    background: #94ce55;
    border-radius: 6px;
    transition: width .2s;
  }
  .page-title {
    font-size: clamp(28px,7vw,35px);
  }
  .sectionhead small {
    font-size: 11px;
  }
}
@media(max-width:390px) {
  .content {
    padding: 17px 14px 50px;
  }
  .hero {
    padding: 23px 17px!important;
  }
  .hero h1 {
    font-size: 31px!important;
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .quick-option {
    padding: 14px;
  }
  .quick-content strong {
    font-size: 14px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .signal-preview-wave {
    animation: none!important;
    stroke-dasharray: none!important;
    stroke-dashoffset: 0!important;
  }
}
@media print {
  .journey {
    display: none!important;
  }
  .signal-preview-wave {
    animation: none!important;
    stroke-dasharray: none!important;
  }
}
/* Compact hero keeps the first actionable choices near the first desktop viewport. */
@media(min-width:1031px) {
  .hero {
    grid-template-columns: minmax(0,1.18fr) minmax(295px,.82fr)!important;
    padding: clamp(25px,2.6vw,36px)!important;
    gap: clamp(20px,2.8vw,40px)!important;
    min-height: 405px!important;
  }
  .hero h1 {
    font-size: clamp(32px,3.18vw,46px)!important;
    margin: 16px 0 14px!important;
    line-height: 1.065!important;
  }
  .hero h1 span {
    font-size: .60em!important;
    line-height: 1.22!important;
  }
  .hero p {
    font-size: 14px!important;
    line-height: 1.7!important;
  }
  .hero .hero-actions {
    margin-top: 20px!important;
  }
  .signal-preview-bottom {
    padding: 10px!important;
  }
}
@media(max-width:1030px) {
  .hero {
    min-height: 0!important;
  }
  .hero h1 {
    margin: 16px 0!important;
  }
}
/* WAVEFORM ANALYZER — 2026 cohesive professional UI revision */
:root {
  --ink: #1b231d;
  --paper: #f8faf7;
  --lime: #b9ff66;
  --line: #dfe6de;
  --muted: #617063;
  --sidebar: 252px;
  --soft: #eff6e8;
}
html {
  scroll-padding-top: 80px;
}
body {
  background: var(--paper);
  font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.main {
  background: var(--paper);
}
.sidebar {
  background: #fff!important;
  padding: 23px 14px 16px!important;
  gap: 9px!important;
  border-color: #dfe5dd!important;
  scrollbar-width: none;
  max-width: 100%;
}
.sidebar .logo {
  font-size: 20px!important;
  letter-spacing: -1.04px!important;
  align-items: center;
  gap: 10px;
  padding: 5px 7px 0!important;
  line-height: 1.08!important;
}
.sidebar .logo-icon {
  width: 40px!important;
  height: 40px!important;
  border-radius: 12px!important;
  font-size: 23px!important;
  flex-shrink: 0;
}
.sidebar .brand-wordmark {
  font-size: 21px!important;
  letter-spacing: -1.05px;
  line-height: 1!important;
}
.sidebar .sidebar-kicker {
  font-size: 8.5px!important;
  letter-spacing: .52px!important;
  color: #66736b!important;
  margin: 6px 7px 25px!important;
  max-width: 95%;
  line-height: 1.6!important;
}
.sidebar .navgroup {
  font-size: 10px;
  margin: 8px 8px 12px;
  color: #78847c;
  letter-spacing: 1.2px;
}
.sidebar .nav {
  gap: 4px!important;
}
.sidebar .navbtn {
  border: 1px solid transparent!important;
  min-height: 44px!important;
  padding: 9px 11px!important;
  gap: 11px!important;
  border-radius: 10px!important;
  font-size: 12.5px!important;
  color: #435045!important;
  line-height: 1.22!important;
  box-shadow: none!important;
  transform: none!important;
  font-weight: 660!important;
  white-space: normal;
}
.sidebar .navbtn:hover {
  background: #f0f7ea!important;
  border-color: #e4ece0!important;
  color: #1d2b1e!important;
}
.sidebar .navbtn.active {
  background: #c8ff89!important;
  border: 1px solid #85b254!important;
  color: #19261b!important;
  box-shadow: inset 3px 0 0 #1c2d1c!important;
  font-weight: 800!important;
  padding: 9px 11px!important;
}
.sidebar .numnav {
  width: 23px!important;
  min-width: 23px!important;
  text-align: center;
  font-size: 10px!important;
  font-weight: 850!important;
}
.sidebar .sidebottom {
  padding: 13px 8px 5px!important;
  font-size: 11px!important;
  line-height: 1.5!important;
  color: #677168;
  gap: 1px;
}
.sidebar .sidebottom strong {
  font-size: 11.5px!important;
  color: #223026;
}
.sidebar .profile-label,.sidebar .faculty-label {
  font-size: 9px;
  letter-spacing: .8px;
  margin: 4px 0 2px;
}
.sidebar .faculty-label {
  margin-top: 11px!important;
}
.topbar {
  height: 54px!important;
  background: white!important;
  border-color: #e7ece5!important;
  padding: 0 clamp(22px,3.4vw,52px)!important;
}
.crumb {
  font-size: 12px!important;
}
.topbar-right {
  display: none!important;
}
.content {
  max-width: 1470px!important;
  padding: clamp(24px,2.7vw,40px) clamp(21px,3.4vw,52px) 70px!important;
}
.page-title {
  margin: 9px 0 9px!important;
  font-size: clamp(29px,3.1vw,41px)!important;
  letter-spacing: -.044em!important;
  line-height: 1.12!important;
  color: var(--ink);
  font-weight: 820!important;
}
.page>.eyebrow {
  font-size: 10px!important;
  letter-spacing: .35px!important;
  color: #507239!important;
  background: #eef8e5!important;
  border-color: #dceccb!important;
  padding: 5px 9px!important;
}
.page>.intro {
  margin-bottom: 24px!important;
  line-height: 1.65!important;
  color: #5d6b5f!important;
  max-width: 790px!important;
  font-size: 14px!important;
}
.page.active {
  animation: entry .2s ease both;
}
/* Single quiet step indicator instead of duplicated step navigation. */
.journey {
  background: #fff!important;
  border: 1px solid #e0e8de!important;
  border-radius: 13px!important;
  padding: 12px 16px 13px!important;
  margin: 0 0 25px!important;
  box-shadow: none!important;
}
.journey-heading {
  margin-bottom: 8px!important;
  display: flex!important;
  gap: 10px!important;
  flex-wrap: wrap;
  align-items: center!important;
}
.journey-caption {
  font-size: 10px!important;
  letter-spacing: .6px!important;
  color: #678156!important;
}
.journey-position {
  font-size: 12px!important;
  font-weight: 780!important;
  color: #233023!important;
}
.journey-data {
  font-size: 11px!important;
  max-width: 38%;
  color: #68786b;
}
.journey-track {
  display: none!important;
}
.journey-progress {
  display: block!important;
  height: 5px;
  background: #edf2eb;
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 0!important;
  width: 100%;
}
.journey-progress>div {
  height: 100%;
  background: #89bc4f;
  border-radius: 99px;
  width: 16.67%;
  transition: width .15s;
}
/* Consistent header and card rhythm */
.sectionhead {
  margin: 32px 0 14px!important;
  gap: 8px!important;
  align-items: end;
}
.sectionhead h2 {
  font-size: clamp(18px,1.7vw,22px)!important;
  font-weight: 800!important;
  letter-spacing: -.035em!important;
}
.sectionhead small {
  font-size: 11px!important;
}
.card,.card.soft {
  border: 1px solid #dce5d9!important;
  box-shadow: none!important;
  border-radius: 14px!important;
  background: #fff;
  padding: clamp(19px,1.7vw,25px)!important;
}
.card.dark {
  background: #1f2921!important;
  color: white;
  border-color: #1f2921!important;
}
.card.lime {
  background: #d9ffab!important;
  border-color: #b6d98d!important;
}
.card h3 {
  font-size: 17px!important;
  font-weight: 780!important;
  margin: 0 0 6px!important;
}
.card p {
  font-size: 13px;
  line-height: 1.65;
  color: #536055;
}
.btn {
  min-height: 43px!important;
  background: #1f2921!important;
  border: 1px solid #1f2921!important;
  color: white!important;
  border-radius: 9px!important;
  font-size: 13px!important;
  box-shadow: none!important;
  padding: 10px 17px!important;
  transition: background .12s,border-color .12s,transform .12s!important;
}
.btn:hover:not(:disabled) {
  background: #344738!important;
  color: white!important;
  transform: translateY(-1px)!important;
  box-shadow: none!important;
}
.btn:active:not(:disabled) {
  transform: translateY(0)!important;
}
.btn.ghost {
  background: white!important;
  color: #27342b!important;
  border-color: #c9d7c6!important;
}
.btn.light {
  background: #effbdf!important;
  color: #26351f!important;
  border-color: #b6d19a!important;
}
.btn:focus-visible,button:focus-visible,.csv-dropzone:focus-visible {
  outline: 3px solid #6eaa32!important;
  outline-offset: 3px;
}
.pill {
  font-size: 10px!important;
  padding: 5px 9px!important;
  border-radius: 6px!important;
  background: #e9f9d9!important;
  color: #39532c!important;
  letter-spacing: 0!important;
}
.note {
  font-size: 12px!important;
  line-height: 1.62!important;
  border-left-width: 3px!important;
  margin: 13px 0!important;
  padding: 11px 13px!important;
  color: #49584b!important;
  background: #f0f8e9!important;
}
.note.warning {
  background: #fff8e8!important;
}
.note.danger {
  background: #fff0ef!important;
}
.field {
  gap: 7px!important;
}
.field label {
  color: #27352b;
  font-size: 12px!important;
  font-weight: 700!important;
}
.field input,.field select,.field textarea {
  min-height: 44px!important;
  border: 1px solid #c8d3c5!important;
  border-radius: 9px!important;
  padding: 10px 11px!important;
  font-size: 13px!important;
  box-shadow: none!important;
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color: #729d4e!important;
  outline: 2px solid #b9ff6666!important;
  outline-offset: 1px!important;
}
.field .hint {
  font-size: 11px!important;
  line-height: 1.5!important;
}
.choice {
  min-height: 104px!important;
  padding: 17px 19px!important;
  border: 1px solid #ccd7c9!important;
  box-shadow: none!important;
  border-radius: 13px!important;
  background: #fff!important;
  transition: border-color .13s,background .13s!important;
}
.choice:hover {
  transform: none!important;
  box-shadow: none!important;
  border-color: #9cbf80!important;
}
.choice.selected {
  border: 1.5px solid #7fb34e!important;
  background: #effddf!important;
  box-shadow: inset 0 0 0 .5px #7fb34e!important;
}
.choice .choicehead {
  margin: 0!important;
  font-size: 16px!important;
  letter-spacing: -.02em!important;
}
.choice small {
  font-size: 12px!important;
  color: #526251!important;
  margin-top: 5px!important;
  line-height: 1.5!important;
}
.formgrid {
  gap: 16px!important;
}
.card>.toprow {
  margin-bottom: 16px;
}
.toprow p {
  margin: 4px 0 0!important;
  font-size: 13px!important;
}
.footnav {
  margin-top: 24px!important;
  padding-top: 18px!important;
  border-top: 1px solid #e0e8df!important;
  gap: 12px!important;
}
.footnav .btn:last-child:not(.ghost) {
  background: #b9ff66!important;
  color: #1e2b20!important;
  border-color: #8eb858!important;
}
.footnav .btn:last-child:not(.ghost):hover {
  background: #ceff9c!important;
}
/* Clear landing page: large contrast, fewer words, immediate source selection. */
.hero {
  background: #1c2921!important;
  border: 1px solid #1c2921!important;
  border-radius: 19px!important;
  box-shadow: 5px 5px 0 #b9ff66!important;
  min-height: 0!important;
  padding: clamp(25px,3vw,39px)!important;
  gap: clamp(18px,3vw,36px)!important;
  grid-template-columns: minmax(0,1.12fr) minmax(260px,.88fr)!important;
  align-items: center!important;
  margin-bottom: 26px!important;
}
.hero h1 {
  color: white!important;
  font-size: clamp(33px,3.2vw,47px)!important;
  letter-spacing: -.05em!important;
  line-height: 1.08!important;
  margin: 16px 0!important;
  max-width: 640px!important;
}
.hero h1 span {
  display: block;
  color: #beee8f!important;
  font-size: .53em!important;
  letter-spacing: -.025em!important;
  line-height: 1.29!important;
  margin-top: 8px;
}
.hero p {
  font-size: 14px!important;
  line-height: 1.67!important;
  max-width: 570px!important;
  color: #d2ddd1!important;
}
.hero .hero-kicker {
  font-size: 10px!important;
  letter-spacing: .9px!important;
  padding: 6px 9px!important;
}
.hero .hero-actions {
  margin-top: 20px!important;
}
.hero .btn {
  background: #b9ff66!important;
  color: #18251c!important;
  border-color: #b9ff66!important;
}
.hero .btn.light {
  background: transparent!important;
  color: white!important;
  border-color: #728976!important;
}
.signal-preview {
  border-radius: 13px!important;
  box-shadow: none!important;
  max-width: 450px!important;
}
.signal-preview-top,.signal-preview-bottom {
  font-size: 10px!important;
  padding: 10px 12px!important;
}
.signal-preview-screen {
  padding: 0 5px!important;
}
.signal-preview-disclaimer {
  font-size: 10px!important;
  margin: 0!important;
  padding: 0 6px 9px!important;
}
.quick-section {
  margin: 23px 0 10px!important;
}
.quick-section .sectionhead {
  margin-top: 0!important;
}
.quick-options {
  gap: 13px!important;
}
.quick-option {
  min-height: 100px!important;
  background: #fff!important;
  border: 1px solid #d6e1d1!important;
  border-radius: 14px!important;
  padding: 18px 19px!important;
  box-shadow: none!important;
  gap: 14px!important;
}
.quick-option:first-child {
  background: #e9ffd1!important;
  border-color: #a5ce87!important;
}
.quick-option:hover {
  box-shadow: none!important;
  border-color: #77a74c!important;
  transform: translateY(-1px)!important;
}
.quick-icon {
  background: #1f2a22!important;
  width: 43px!important;
  flex-basis: 43px!important;
  height: 43px!important;
  border-radius: 10px!important;
  font-size: 23px!important;
}
.quick-content strong {
  font-size: 15px!important;
}
.quick-content small {
  font-size: 12px!important;
  line-height: 1.52!important;
}
.quick-arrow {
  font-size: 21px!important;
}
.steps {
  display: grid!important;
  grid-template-columns: repeat(3,minmax(0,1fr))!important;
  gap: 10px!important;
}
.stepcard {
  min-height: 92px!important;
  padding: 14px!important;
  border: 1px solid #dee8dc!important;
  border-radius: 11px!important;
  box-shadow: none!important;
  gap: 2px!important;
}
.stepcard:hover {
  transform: translateY(-1px)!important;
  background: #f6fdf0!important;
}
.stepcard .step-number {
  width: 27px!important;
  height: 24px!important;
  margin-bottom: 3px!important;
  font-size: 10px!important;
}
.stepcard strong {
  font-size: 12px!important;
}
.stepcard small {
  font-size: 11px!important;
  line-height: 1.4!important;
}
#page-overview .grid.two:not(.application-cards) .card {
  min-height: 160px;
}
#page-overview .card p {
  max-width: 600px;
}
.scope-panel {
  background: #fff;
  border: 1px solid #dce5d9;
  border-radius: 14px;
  padding: 22px 23px;
  display: grid;
  gap: 18px;
}
.scope-lead {
  display: flex;
  gap: 15px;
  align-items: center;
}
.scope-mark {
  background: #d7ffa9;
  border-radius: 11px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 30px;
  color: #203320;
}
.scope-lead h3 {
  font-size: 16px;
  letter-spacing: -.02em;
  margin: 0 0 3px;
}
.scope-lead p {
  margin: 0;
  color: #637064;
  line-height: 1.6;
  font-size: 13px;
  max-width: 760px;
}
.scope-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.scope-facts>div {
  background: #f7faf4;
  border: 1px solid #e3ebdf;
  border-radius: 9px;
  padding: 13px;
  display: grid;
  gap: 5px;
}
.scope-facts small {
  font-size: 10px;
  letter-spacing: .5px;
  font-weight: 800;
  color: #658050;
}
.scope-facts strong {
  font-size: 12px;
  font-weight: 650;
  line-height: 1.56;
  color: #314035;
}
.scope-note {
  border-top: 1px solid #e6ece3;
  margin: 0;
  padding-top: 13px;
  font-size: 12px;
  color: #677168;
}
.research-details {
  background: #fff!important;
  border: 1px solid #dce5d9!important;
  border-radius: 12px!important;
  box-shadow: none!important;
  margin: 17px 0!important;
}
.research-details>summary {
  font-size: 13px!important;
  font-weight: 750!important;
  padding: 15px 18px!important;
}
.research-details>summary:hover {
  background: #f6faf2;
}
.research-details-content {
  padding: 0 18px 20px!important;
}
.inline-help {
  border: 1px solid #dce6d7;
  background: #f9fcf7;
  border-radius: 9px;
  margin: 14px 0 17px;
  color: #4c604b;
}
.inline-help summary {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}
.inline-help summary:focus-visible {
  outline: 3px solid #72a937;
  outline-offset: 2px;
}
.inline-help p {
  padding: 0 14px 13px;
  margin: 0!important;
  font-size: 12px!important;
  line-height: 1.6;
}
.live-preview-card {
  background: #fbfdf8!important;
  border-color: #dce6d8!important;
  box-shadow: none!important;
  border-radius: 12px!important;
  margin-top: 22px!important;
  padding: 17px!important;
}
.live-preview-head h3 {
  margin: 0 0 5px!important;
  font-size: 15px!important;
}
.preview-readout {
  font-size: 11px!important;
}
.preview-legend {
  color: #647267!important;
  font-size: 10px!important;
}
.csv-upload .csv-dropzone {
  border-radius: 12px!important;
  background: #f5faef!important;
  border-color: #a7c79a!important;
  min-height: 147px!important;
}
.csv-dropzone:hover,.csv-dropzone.dragover {
  background: #e9ffd0!important;
}
.csv-upload-format {
  font-size: 11px!important;
  color: #678066!important;
}
.csv-validation-note {
  font-size: 12px!important;
  line-height: 1.6!important;
}
.chart-toolbar {
  gap: 9px!important;
}
.chart-tool {
  min-height: 38px!important;
  border-radius: 7px!important;
  font-size: 12px!important;
}
.chart-viewport {
  min-height: 300px!important;
}
.chart-viewport canvas {
  height: 320px!important;
}
.interactive-wave {
  border-radius: 11px!important;
  border-color: #dee7da!important;
}
.result-detail-panel,.reference-entry {
  border-color: #d9e5d5!important;
  box-shadow: none!important;
  border-radius: 12px!important;
}
.result-detail-panel>summary {
  padding: 13px 16px!important;
  font-size: 13px!important;
}
.result-detail-panel>.result-detail-body {
  padding: 15px!important;
}
/* Responsive behavior: readable columns, no forced page-wide scrolling. */
@media(min-width:851px) and (max-width:1150px) {
  :root {
    --sidebar: 235px;
  }
  .sidebar .navbtn {
    font-size: 12px!important;
  }
  .hero {
    grid-template-columns: minmax(0,1fr) minmax(225px,.70fr)!important;
    padding: 27px!important;
  }
  .hero h1 {
    font-size: 34px!important;
  }
  .signal-preview-bottom {
    font-size: 9px!important;
  }
}
@media(max-width:1000px) {
  .hero {
    grid-template-columns: 1fr!important;
  }
  .hero .hero-art {
    display: none!important;
  }
  .hero h1 {
    font-size: clamp(32px,4.4vw,46px)!important;
  }
}
@media(max-width:850px) {
  .sidebar {
    max-width: none!important;
    overflow-y: auto!important;
    padding: 23px 16px!important;
  }
  .sidebar .navbtn {
    min-height: 46px!important;
    font-size: 13px!important;
  }
  .content {
    padding: 22px 20px 56px!important;
  }
  .mobilebar {
    height: 57px!important;
    padding: 0 15px!important;
  }
  .journey {
    padding: 11px 13px!important;
  }
  .journey-data {
    max-width: 44%;
  }
  .hero {
    margin-top: 0!important;
    padding: 26px!important;
  }
  .hero h1 {
    font-size: clamp(34px,6vw,45px)!important;
  }
}
@media(max-width:650px) {
  .content {
    padding: 18px 15px 52px!important;
  }
  .hero {
    padding: 24px 19px!important;
    border-radius: 15px!important;
    box-shadow: 3px 4px 0 #b9ff66!important;
  }
  .hero h1 {
    font-size: clamp(30px,8.6vw,38px)!important;
  }
  .hero h1 span {
    font-size: .63em!important;
  }
  .hero p {
    font-size: 13px!important;
  }
  .hero .hero-actions {
    display: flex!important;
    gap: 9px!important;
  }
  .hero .btn {
    font-size: 12px!important;
    padding: 10px 12px!important;
  }
  .quick-options {
    grid-template-columns: 1fr!important;
    gap: 10px!important;
  }
  .quick-option {
    min-height: 88px!important;
    padding: 14px 15px!important;
  }
  .quick-content strong {
    font-size: 14px!important;
  }
  .quick-content small {
    font-size: 11.5px!important;
  }
  .steps {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
    gap: 9px!important;
  }
  .stepcard {
    padding: 13px 12px!important;
    min-height: 97px!important;
  }
  .stepcard:last-child {
    grid-column: auto!important;
  }
  .scope-facts {
    grid-template-columns: 1fr!important;
    gap: 8px!important;
  }
  .scope-panel {
    padding: 17px!important;
  }
  .scope-lead {
    align-items: start;
  }
  .journey-heading {
    gap: 5px 9px!important;
  }
  .journey-data {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-left: 0!important;
    white-space: nowrap;
  }
  .chart-toolbar {
    gap: 7px!important;
    flex-wrap: wrap;
  }
  .chart-toolbar-left,.chart-toolbar-right {
    flex-wrap: wrap;
  }
  .chart-viewport {
    min-height: 260px!important;
  }
  .chart-viewport canvas {
    height: 290px!important;
  }
  .formgrid {
    grid-template-columns: 1fr!important;
  }
  .footnav {
    flex-wrap: wrap;
  }
  .footnav>.btn {
    min-height: 42px;
  }
  .page-title {
    font-size: clamp(28px,7.4vw,36px)!important;
  }
}
@media(max-width:380px) {
  .hero h1 {
    font-size: 30px!important;
  }
  .hero .hero-actions {
    display: grid!important;
    grid-template-columns: 1fr;
  }
  .hero .hero-actions .btn {
    width: 100%;
  }
  .steps {
    grid-template-columns: 1fr!important;
  }
  .stepcard {
    min-height: 74px!important;
  }
  .quick-option {
    padding: 13px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  .page.active {
    animation: none!important;
  }
  .btn,.quick-option,.stepcard,.journey-progress>div {
    transition: none!important;
  }
}
@media print {
  .shell,.journey,.sidebar,.mobilebar,.menu-scrim {
    display: none!important;
  }
  #printArea {
    display: block!important;
  }
  .scope-panel {
    display: none!important;
  }
}
/* Usability finishing pass: compact data-inspection metrics and touch-friendly hierarchy. */
.signal-preview-bottom {
  display: none!important;
}
#inspectionPlot .chart-viewport {
  background: #fff;
}
#inspectContent .toprow {
  flex-wrap: wrap;
  align-items: flex-start;
}
#inspectContent .toprow>div {
  min-width: 0;
  flex: 1 1 240px;
}
#inspectContent .toprow h3 {
  overflow-wrap: anywhere;
}
#inspectContent .toprow .pill {
  flex: 0 0 auto;
  white-space: nowrap;
  align-self: flex-start;
}
#inspectContent .statrow {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
#inspectContent .stat {
  padding: 13px!important;
  min-width: 0;
}
#inspectContent .stat label {
  font-size: 11px!important;
  line-height: 1.4!important;
  color: #67756a!important;
}
#inspectContent .stat b {
  font-size: 17px!important;
  letter-spacing: -.025em!important;
  line-height: 1.4!important;
  word-break: break-word;
}
.inspection-details {
  margin: 19px 0 14px;
  border: 1px solid #e0e8dc;
  border-radius: 12px;
  background: #fbfdf8;
  overflow: hidden;
}
.inspection-details summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 780;
  color: #2c3b2e;
}
.inspection-details summary::-webkit-details-marker {
  display: none;
}
.inspection-details summary:hover {
  background: #f2f9ed;
}
.inspection-details summary span {
  font-size: 18px;
  color: #527c37;
  transition: transform .2s;
}
.inspection-details[open] summary span {
  transform: rotate(180deg);
}
.inspection-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e1eade;
}
.inspection-stats .stat {
  background: #fff;
}
@media(max-width:1200px) {
  #inspectContent .statrow {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .inspection-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px) {
  #inspectContent .statrow {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
    gap: 8px!important;
  }
  #inspectContent .stat {
    padding: 12px 10px!important;
  }
  #inspectContent .stat b {
    font-size: 15px!important;
  }
  .inspection-stats {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
    padding: 10px!important;
    gap: 8px!important;
  }
  #inspectContent .chart-toolbar .chart-toolbar-left {
    flex: 1 1 100%;
  }
  #inspectContent .chart-toolbar .chart-toolbar-right {
    justify-content: flex-end;
  }
}
@media(max-width:345px) {
  #inspectContent .stat b {
    font-size: 14px!important;
    overflow-wrap: anywhere;
  }
  .inspection-stats {
    grid-template-columns: 1fr!important;
  }
}
/* Comfortable touch targets and stable mobile menu dimensions. */
@media(max-width:850px) {
  .menu-toggle {
    width: 44px!important;
    height: 44px!important;
    min-width: 44px!important;
  }
  .mobilebar {
    gap: 10px!important;
  }
}
@media(max-width:650px) {
  .chart-tool {
    min-height: 42px!important;
    min-width: 42px!important;
  }
  .chart-quick-action {
    min-height: 43px!important;
  }
}
/* Integrated teaching examples: consistent with Waveform Analyzer visual language */
.builtin-resources {
  margin: 22px 0 24px;
  padding: 24px;
  border: 1.5px solid #19201a;
  border-radius: 18px;
  background: #fff;
  box-shadow: 4px 5px 0 #191a1e;
}
.resources-heading h2 {
  font-size: clamp(19px,2vw,25px);
  letter-spacing: -.7px;
  margin: 6px 0;
}
.resources-heading p {
  color: #646e64;
  margin: 0 0 17px;
  max-width: 760px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}
.resource-card {
  border: 1px solid #d7ddd4;
  border-radius: 13px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  background: #fafbf8;
}
.resource-math {
  background: #f1ffdf;
  border-color: #a6ca75;
}
.resource-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}
.resource-card p {
  margin: 0;
  color: #4d594d;
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}
.resource-tag {
  font-weight: 850;
  letter-spacing: .8px;
  font-size: 10px;
  color: #3c6523;
}
.resource-tag.neutral {
  color: #59645c;
}
.resource-actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.resource-actions .btn {
  font-size: 12px;
  padding: 10px 12px;
}
.builtin-guide {
  border: 1px solid #dde1d9;
  border-radius: 11px;
  margin-top: 16px;
  background: #fff;
  overflow: hidden;
}
.builtin-guide summary {
  cursor: pointer;
  padding: 16px 17px;
  font-size: 13px;
  font-weight: 800;
  list-style-position: inside;
}
.builtin-guide summary:hover {
  background: #f6f9f3;
}
.builtin-guide-body {
  border-top: 1px solid #e2e8df;
  padding: 16px 19px 22px;
  font-size: 13px;
  line-height: 1.7;
}
.builtin-guide-body h3 {
  font-size: 14px;
  margin: 16px 0 5px;
}
.builtin-guide-body h3:first-child {
  margin-top: 0;
}
.builtin-guide-body p {
  margin: 4px 0 12px;
  color: #3e4740;
}
.builtin-guide-body a {
  color: #2e6226;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.example-onboarding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid #c9d5bb;
  border-left: 5px solid #77a93e;
  border-radius: 12px;
  background: #f5faed;
  margin: 20px 0 14px;
}
.example-onboarding>div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.example-onboarding strong {
  font-size: 14px;
}
.example-onboarding span {
  font-size: 12px;
  color: #5b675c;
}
.example-onboarding .btn {
  flex: none;
}
.builtin-method-hint {
  padding: 14px 17px;
  margin-bottom: 14px;
  background: #f2fbe7;
  border: 1px solid #b7d694;
  border-radius: 11px;
  font-size: 13px;
  color: #314333;
  line-height: 1.7;
}
.builtin-method-hint b {
  color: #18271b;
}
@media(max-width:720px) {
  .builtin-resources {
    padding: 17px;
    box-shadow: 2px 3px 0 #191a1e;
  }
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .example-onboarding {
    flex-direction: column;
    align-items: stretch;
  }
  .example-onboarding .btn {
    width: 100%;
  }
}
@media print {
  .builtin-resources,.example-onboarding {
    display: none!important;
  }
}
.builtin-active-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid #a9c984;
  background: #f4ffe6;
  padding: 15px 17px;
  margin: 16px 0;
}
.builtin-active-note>div {
  display: grid;
  gap: 2px;
}
.builtin-active-note strong {
  font-size: 13px;
}
.builtin-active-note span {
  font-size: 12px;
  color: #4b5f47;
}
@media(max-width:650px) {
  .builtin-active-note {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Revision: clear source-first workflow and an accessible guide. */
.guide-intro .btn.lime {
  background: #b9ff66!important;
  color: #191a1e!important;
  border-color: #b9ff66!important;
}
.navgroup-help {
  margin-top: 17px!important;
}
.sidebar .navbtn {
  min-height: 45px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.sample-library {
  margin: 22px 0 18px;
  background: #fff;
  border: 1.5px solid #202124;
  border-radius: 15px;
  box-shadow: 3px 4px 0 #191a1e;
  overflow: hidden;
}
.sample-library>summary {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 21px;
  cursor: pointer;
  list-style: none;
}
.sample-library>summary::-webkit-details-marker {
  display: none;
}
.sample-library>summary strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}
.sample-library>summary small {
  display: block;
  font-size: 12px;
  color: #68706a;
  margin-top: 3px;
}
.sample-summary-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #b9ff66;
  border: 1px solid #18191c;
  border-radius: 10px;
  font-size: 23px;
  flex-shrink: 0;
}
.sample-chevron {
  font-size: 23px;
  margin-left: auto;
  transition: transform .18s;
}
.sample-library[open] .sample-chevron {
  transform: rotate(180deg);
}
.sample-library-body {
  padding: 18px 21px 20px;
  border-top: 1px solid #e2e5df;
  background: #fafbf8;
}
.sample-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.sample-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  padding: 19px;
  border: 1px solid #d8ded3;
  border-radius: 12px;
  gap: 9px;
  min-width: 0;
}
.sample-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.sample-tag {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .7px;
  color: #46652d;
}
.sample-ornament {
  font-size: 25px;
  font-weight: 850;
  color: #559420;
}
.sample-card h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.4px;
}
.sample-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #5c665d;
  line-height: 1.58;
  flex: 1;
}
.sample-disclaimer {
  font-size: 12px;
  color: #5c645b;
  margin: 15px 0 0;
  line-height: 1.6;
}
.plain-text-action {
  background: none;
  border: 0;
  text-decoration: underline;
  color: #296126;
  font-weight: 800;
  padding: 0;
}
.guide-intro {
  background: #191a1e;
  color: #fff;
  border-radius: 17px;
  padding: 27px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 22px;
}
.guide-intro h2 {
  color: #fff;
  font-size: 22px;
  margin: 6px 0;
}
.guide-intro p {
  color: #c7d0c5;
  margin: 0;
}
.guide-small {
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 850;
  color: #b9ff66;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.guide-step {
  display: flex;
  gap: 15px;
  border: 1px solid #dedfdd;
  border-radius: 13px;
  padding: 19px;
  background: #fff;
}
.guide-step>span {
  font-weight: 900;
  color: #658d39;
  font-size: 19px;
  line-height: 1.2;
}
.guide-step h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.guide-step p {
  font-size: 13px;
  color: #58635d;
  line-height: 1.58;
  margin: 0 0 12px;
}
.guide-link {
  background: none;
  border: 0;
  padding: 0;
  color: #336b29;
  text-decoration: underline;
  font-weight: 800;
  font-size: 12px;
}
.guide-tests {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.guide-test {
  padding: 23px;
  background: #f8faF5;
  border: 1px solid #d6dfd0;
  border-radius: 14px;
}
.guide-test h3 {
  margin: 8px 0;
  font-size: 17px;
}
.guide-test p {
  font-size: 13px;
  line-height: 1.65;
  color: #58615c;
  min-height: 92px;
}
.guide-real {
  box-shadow: none;
  border: 1px solid #dce0dc;
}
.guide-real ol {
  padding-left: 20px;
  color: #4e5951;
  line-height: 1.75;
}
.guide-real li {
  margin-bottom: 8px;
}
.guide-callout {
  padding: 13px 16px;
  background: #f3f9ea;
  border-left: 4px solid #86b74c;
  border-radius: 4px;
  font-size: 13px;
}
.guide-callout a {
  color: #30652b;
  text-decoration: underline;
}
.guide-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 24px;
}
.guide-bottom-grid p {
  font-size: 13px;
  color: #58635b;
  line-height: 1.65;
}
@media(max-width:800px) {
  .sample-grid,.guide-grid,.guide-tests,.guide-bottom-grid {
    grid-template-columns: 1fr;
  }
  .guide-intro {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-test p {
    min-height: 0;
  }
}
@media(max-width:500px) {
  .sample-library>summary {
    padding: 14px;
  }
  .sample-library-body {
    padding: 14px;
  }
  .sample-card {
    padding: 15px;
  }
  .guide-step {
    padding: 15px;
  }
  .guide-intro {
    padding: 21px;
  }
}
@media print {
  #page-guide,.sample-library {
    display: none!important;
  }
}
/* Style section 2: base / layout */
/* Waveform Analyzer: academic rubric, inclusive usability and safe CSV preprocessing */
.sample-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.academic-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}
.academic-item {
  display: flex;
  gap: 15px;
  padding: 19px;
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 14px;
  min-width: 0;
}
.academic-item>span {
  font-size: 11px;
  font-weight: 900;
  color: #395d23;
  background: #eaffcb;
  border-radius: 8px;
  padding: 7px 10px;
  height: max-content;
}
.academic-item h3 {
  margin: 0 0 7px;
  font-size: 16px;
  letter-spacing: -.35px;
}
.academic-item p,.academic-item ol {
  margin: 0;
  color: #4b534e;
  font-size: 13px;
  line-height: 1.75;
}
.academic-item ol {
  padding-left: 19px;
}
.academic-wide {
  grid-column: 1/-1;
}
.work-link {
  margin: 12px 0 27px;
  padding: 17px 20px;
  border: 1px solid #d6decf;
  border-radius: 13px;
  background: #f7fbed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.work-link p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #58655a;
}
.hero-sinus {
  background: #fff!important;
  color: #191a1e!important;
}
.math-panel {
  margin: 14px 0 23px;
}
.math-table {
  min-width: 740px;
}
.math-table td:first-child {
  min-width: 140px;
}
.math-equation {
  font: 12px/1.65 Consolas,'Courier New',monospace;
  min-width: 260px;
}
.math-panel .fine {
  margin: 11px 0 0;
}
.math-panel .card {
  box-shadow: none!important;
}
.navbtn .nav-label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
  text-align: left;
  line-height: 1.28;
}
.navbtn .nav-label strong {
  font-size: 13px;
  line-height: 1.25;
}
.navbtn .nav-label small {
  font-size: 10px;
  letter-spacing: .1px;
  color: #6d746d;
  font-weight: 550;
}
.navbtn.active .nav-label small {
  color: #314d20;
}
.navbtn {
  align-items: center!important;
}
.verification-section {
  margin-top: 28px;
}
.verification-section .tablewrap {
  margin-top: 12px;
}
.verification-section #rubricConvergence svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 310px;
}
.preprocess-section {
  margin: 14px 0;
  border: 1px solid #d7ded2;
  background: #f9fbf7;
  padding: 14px;
  border-radius: 10px;
}
.preprocess-section summary {
  font-weight: 800;
  cursor: pointer;
}
.preprocess-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}
.preprocess-options label,.overlay-check {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
}
.preprocess-options input,.overlay-check input {
  width: 17px;
  height: 17px;
  accent-color: #73a92b;
}
.active-dataset {
  border: 1.5px solid #17191c;
  border-radius: 14px;
  padding: 18px 21px;
  margin: 20px 0;
  background: #f5f9ed;
}
.active-dataset .sectionhead {
  margin: 0 0 12px;
}
.active-dataset .dataset-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dataset-facts span {
  background: #fff;
  border: 1px solid #d2d8cc;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 12px;
}
.log-item {
  font-size: 12px;
  padding: 5px 0;
  color: #45504a;
}
.data-table-panel {
  margin: 22px 0;
}
.data-table-panel .tablewrap {
  margin: 12px 0;
}
.data-table-panel .tablewrap table {
  width: 100%;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.resample-section {
  margin-top: 18px;
}
.resample-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 15px;
}
.resample-controls button {
  min-height: 43px;
}
.chart-curve-legend {
  font-size: 12px;
  color: #5b685c;
  margin: 8px 0;
}
.benchmark-status {
  font-weight: 800;
}
.benchmark-status.passed {
  color: #326b23;
}
.benchmark-status.failed {
  color: #a13328;
}
.benchmark-foot {
  font-size: 12px;
  color: #5b665a;
  margin-top: 9px;
}
.guide-test {
  min-width: 0;
}
@media(max-width:980px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }
  .academic-grid {
    grid-template-columns: 1fr;
  }
  .academic-wide {
    grid-column: auto;
  }
  .resample-controls {
    grid-template-columns: 1fr 1fr;
  }
  .resample-controls button {
    grid-column: 1/-1;
  }
}
@media(max-width:650px) {
  .work-link {
    align-items: stretch;
    flex-direction: column;
  }
  .work-link button {
    width: 100%;
  }
  .academic-item {
    padding: 15px;
  }
  .preprocess-options,.resample-controls {
    grid-template-columns: 1fr;
  }
  .resample-controls button {
    grid-column: auto;
  }
  .math-table {
    min-width: 670px;
  }
  .verification-section .card {
    padding: 16px;
  }
  .navbtn .nav-label strong {
    font-size: 13px;
  }
}
@media print {
  .verification-section,.resample-section,.data-table-panel {
    display: none!important;
  }
}
/* Style section 3: wa-last-polish */
.sidebar-close {
  display: none;
}
.signal-preview-wave {
  stroke-dasharray: none!important;
  stroke-dashoffset: 0!important;
  animation: none!important;
}
@media(max-width:850px) {
  .sidebar-close {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 3px 4px auto;
    background: #f6f8f3;
    border: 1px solid #dce2d7;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #222;
    padding: 7px 10px;
  }
}
@media(min-width:851px) {
  .sidebar-close {
    display: none!important;
  }
}
/* Style section 4: waveform-final-polish */
/* FINAL RELEASE · accessible navigation, consistent spacing and no cropped identities */
:root {
  --sidebar: 266px;
  --ink: #18241c;
  --lime: #b9ff66;
  --paper: #f7faf6;
  --line: #dbe5d7;
  --muted: #56645b;
}
html {
  scroll-padding-top: 85px;
}
body {
  font-kerning: normal;
  overflow-x: clip;
}
button,input,textarea,select {
  font-family: inherit;
}
.btn,.choice,.quick-option,.navbtn,button[data-page] {
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible,.navbtn:focus-visible,.choice:focus-visible,.quick-option:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #458519!important;
  outline-offset: 3px!important;
}
.page-title {
  max-width: 960px;
  text-wrap: balance;
}
.intro {
  max-width: 760px;
  line-height: 1.7;
}
.card p,.note,.fine {
  overflow-wrap: break-word;
}
.tablewrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.card,.choice,.stat,.chartbox,.quick-option {
  min-width: 0;
}
.field label {
  line-height: 1.4;
}
.field input,.field select,.field textarea {
  min-height: 44px;
}
button.btn,.choice,.quick-option {
  min-height: 44px;
}
.pagination {
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.note {
  line-height: 1.65;
}
.page .sectionhead h2 {
  line-height: 1.3;
}
/* A comfortable, stable lecturer panel. All honorifics remain in normal flow. */
@media(min-width:851px) {
  .shell {
    grid-template-columns: var(--sidebar) minmax(0,1fr)!important;
  }
  .sidebar {
    position: sticky!important;
    top: 0!important;
    height: 100dvh!important;
    min-height: 0!important;
    box-sizing: border-box!important;
    display: flex!important;
    flex-direction: column!important;
    gap: 0!important;
    overflow-x: hidden!important;
    overflow-y: auto!important;
    padding: 19px 15px 14px!important;
    scrollbar-width: none!important;
  }
  .sidebar::-webkit-scrollbar {
    width: 0!important;
    display: none!important;
  }
  .sidebar .logo {
    padding: 0 5px!important;
    min-width: 0!important;
    gap: 10px!important;
    font-size: 22px!important;
    line-height: 1.02!important;
    flex-shrink: 0;
  }
  .sidebar .brand-wordmark {
    min-width: 0!important;
    white-space: normal!important;
    overflow: visible!important;
  }
  .sidebar .sidebar-kicker {
    margin: 9px 5px 17px!important;
    max-width: 100%!important;
    white-space: normal!important;
    line-height: 1.45!important;
    font-size: 9px!important;
    letter-spacing: .7px!important;
  }
  .sidebar .nav {
    display: grid!important;
    gap: 3px!important;
    align-content: start!important;
    flex-shrink: 0;
  }
  .sidebar .navgroup {
    margin: 4px 8px 5px!important;
    font-size: 9px!important;
    letter-spacing: 1.35px!important;
  }
  .sidebar .navgroup-help {
    margin-top: 7px!important;
  }
  .sidebar .navbtn,.sidebar .navbtn.active {
    width: 100%!important;
    min-height: 43px!important;
    padding: 7px 10px!important;
    gap: 10px!important;
    line-height: 1.25!important;
    transform: none!important;
  }
  .sidebar .navbtn .nav-label {
    min-width: 0!important;
    flex: 1!important;
  }
  .sidebar .navbtn .nav-label strong {
    font-size: 12.25px!important;
    line-height: 1.28!important;
    white-space: normal!important;
  }
  .sidebar .navbtn .nav-label small {
    font-size: 9.25px!important;
    line-height: 1.2!important;
    white-space: normal!important;
  }
  .sidebar .sidebottom {
    margin-top: auto!important;
    border-top: 1px solid #dfe6dc!important;
    padding: 12px 5px 3px!important;
    flex: 0 0 auto!important;
    min-width: 0!important;
    width: 100%!important;
    max-width: 100%!important;
    overflow: visible!important;
    text-overflow: clip!important;
    line-height: 1.5!important;
    font-size: 11px!important;
  }
  .sidebar .sidebottom strong {
    display: block!important;
    max-width: 100%!important;
    font-size: 12px!important;
    line-height: 1.42!important;
    white-space: normal!important;
    overflow: visible!important;
    text-overflow: clip!important;
    overflow-wrap: break-word!important;
    word-break: normal!important;
  }
  .sidebar .profile-label,.sidebar .faculty-label {
    font-size: 9px!important;
    letter-spacing: .8px!important;
    margin: 0 0 3px!important;
  }
  .sidebar .faculty-label {
    margin-top: 9px!important;
  }
}
@media(min-width:851px) and (max-width:1150px) {
  :root {
    --sidebar: 248px;
  }
}
@media(min-width:851px) and (max-height:790px) {
  .sidebar {
    padding: 11px 13px 9px!important;
  }
  .sidebar .logo {
    font-size: 20px!important;
  }
  .sidebar .logo-icon {
    width: 35px!important;
    height: 35px!important;
    font-size: 21px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 5px 5px 9px!important;
    font-size: 8.5px!important;
  }
  .sidebar .nav {
    gap: 1px!important;
  }
  .sidebar .navbtn,.sidebar .navbtn.active {
    min-height: 39px!important;
    padding: 5px 9px!important;
  }
  .sidebar .navbtn .nav-label strong {
    font-size: 11.7px!important;
  }
  .sidebar .navbtn .nav-label small {
    font-size: 8.8px!important;
  }
  .sidebar .navgroup {
    margin: 3px 8px 4px!important;
  }
  .sidebar .navgroup-help {
    margin-top: 4px!important;
  }
  .sidebar .sidebottom {
    padding-top: 7px!important;
    font-size: 10.5px!important;
  }
  .sidebar .sidebottom strong {
    font-size: 11px!important;
  }
  .sidebar .faculty-label {
    margin-top: 5px!important;
  }
}
@media(min-width:851px) and (max-height:615px) {
  /* When the viewport is genuinely too short, scrolling is preferable to hiding the lecturer. */
  .sidebar .sidebar-kicker {
    margin-bottom: 5px!important;
  }
  .sidebar .navbtn,.sidebar .navbtn.active {
    min-height: 35px!important;
    padding: 3px 8px!important;
  }
  .sidebar .navbtn .nav-label small {
    font-size: 8px!important;
  }
}
@media(max-width:850px) {
  .sidebar {
    width: min(322px,89vw)!important;
    max-width: 89vw!important;
    height: 100dvh!important;
    overflow-x: hidden!important;
    overflow-y: auto!important;
    overscroll-behavior: contain!important;
    padding: 17px 17px 18px!important;
    box-sizing: border-box!important;
  }
  .sidebar .sidebottom {
    width: 100%!important;
    min-width: 0!important;
    margin-top: 17px!important;
    padding: 14px 7px 4px!important;
    overflow: visible!important;
  }
  .sidebar .sidebottom strong {
    font-size: 12px!important;
    line-height: 1.5!important;
    white-space: normal!important;
    overflow-wrap: break-word!important;
    word-break: normal!important;
    text-overflow: clip!important;
    overflow: visible!important;
  }
  .sidebar .sidebar-kicker {
    white-space: normal!important;
    font-size: 9.5px!important;
  }
  .sidebar-close {
    position: sticky!important;
    top: 0!important;
    z-index: 2!important;
    background: #fff!important;
  }
  .mobilebar {
    gap: 9px!important;
    padding-inline: 14px!important;
  }
  .mobile-wordmark {
    min-width: 0!important;
    font-size: 15px!important;
    line-height: 1.15!important;
    white-space: nowrap!important;
  }
  .mobile-location {
    font-size: 11px!important;
    max-width: 28vw!important;
  }
  .content {
    padding: 20px 16px 58px!important;
  }
  .hero .hero-actions {
    gap: 9px!important;
  }
  .hero .hero-actions .btn {
    white-space: normal!important;
    line-height: 1.35!important;
  }
  .card,.choice,.quick-option {
    border-radius: 13px!important;
  }
  .toprow {
    flex-wrap: wrap;
  }
  .page-title {
    overflow-wrap: break-word;
  }
  .footnav .btn {
    flex: 1 1 145px;
  }
  .field input,.field select {
    font-size: 16px;
  }
}
@media(max-width:380px) {
  .mobile-wordmark {
    font-size: 13px!important;
  }
  .mobile-location {
    max-width: 23vw!important;
  }
  .content {
    padding-inline: 13px!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto!important;
  }
}
/* Academic formulas become readable cards instead of a clipped wide table on phones. */
@media(max-width:650px) {
  .math-panel .tablewrap {
    overflow: visible!important;
    border: 0!important;
    background: transparent!important;
  }
  .math-table,.math-table tbody,.math-table tr,.math-table td {
    display: block!important;
    width: 100%!important;
    min-width: 0!important;
    max-width: 100%!important;
    box-sizing: border-box!important;
  }
  .math-table {
    border: 0!important;
    background: transparent!important;
    border-collapse: separate!important;
  }
  .math-table thead {
    display: none!important;
  }
  .math-table tr {
    overflow: hidden!important;
    margin: 0 0 12px!important;
    border: 1px solid #dbe4d8!important;
    border-radius: 12px!important;
    background: #fff!important;
    box-shadow: none!important;
  }
  .math-table td {
    border: 0!important;
    padding: 10px 13px!important;
    overflow: visible!important;
    white-space: normal!important;
    text-align: left!important;
  }
  .math-table td:first-child {
    background: #eaffd6!important;
    color: #1d321d!important;
    font-size: 13px!important;
    font-weight: 800!important;
    padding: 12px 13px!important;
  }
  .math-table .math-equation {
    min-width: 0!important;
    font-size: 12px!important;
    line-height: 1.65!important;
    overflow-wrap: anywhere!important;
    word-break: normal!important;
    background: #f7faf3!important;
    color: #1c2a20!important;
  }
  .math-table td:last-child {
    font-size: 12px!important;
    color: #506158!important;
    padding: 10px 13px 12px!important;
  }
  .math-table td:last-child::before {
    content: 'Kegunaan';
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #647566;
    margin-bottom: 4px;
  }
}
@media print {
  .sidebar,.mobilebar,.menu-scrim,.journey {
    display: none!important;
  }
}
/* Style section 5: wa-project-review-v3 */
/* Presentation-friendly overview: clear scientific purpose before any input controls. */
.wa-overview-lead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.wa-top-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #315528;
  background: #e7f9d6;
  border: 1px solid #cde8b7;
  border-radius: 99px;
  padding: 7px 11px;
  font-size: 10px;
  letter-spacing: .11em;
  font-weight: 850;
}
.wa-dot {
  width: 7px;
  height: 7px;
  background: #76ad41;
  border-radius: 50%;
}
.wa-top-label {
  font-size: 11px;
  color: #647367;
  font-weight: 700;
}
#page-overview .wa-home-hero {
  margin-bottom: 20px!important;
  min-height: 335px!important;
  padding: clamp(22px,3vw,37px)!important;
}
#page-overview .wa-home-hero h1 {
  margin: 14px 0!important;
  font-size: clamp(32px,3.05vw,44px)!important;
}
#page-overview .wa-home-hero h1 span {
  line-height: 1.25!important;
  font-size: .57em!important;
}
#page-overview .wa-home-hero p {
  font-size: 13px!important;
  line-height: 1.74!important;
}
#page-overview .wa-home-hero .hero-caption {
  font-size: 10.5px!important;
  color: #abbdaa!important;
  margin-top: 15px!important;
}
#page-overview .wa-home-hero .hero-art {
  max-width: 470px!important;
}
#page-overview .wa-home-hero .hero-actions {
  margin-top: 19px!important;
}
#page-overview .wa-home-hero .btn.light {
  background: transparent!important;
  color: #f5fff2!important;
  border-color: #7a8e7a!important;
}
.wa-purpose-line {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1.25fr;
  gap: 15px;
  align-items: center;
  background: #fff;
  border: 1px solid #dce8d6;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 8px 0 30px;
}
.wa-purpose-line>div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.wa-purpose-line>div>span {
  font-size: 9px;
  letter-spacing: .12em;
  color: #68834d;
  font-weight: 900;
}
.wa-purpose-line strong {
  font-size: 13px;
  line-height: 1.5;
}
.wa-purpose-line .wa-arrow {
  font-size: 19px;
  color: #8fa88b;
}
.wa-home-section {
  margin: 31px 0 29px;
}
.wa-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.wa-section-kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  color: #5b8338;
}
.wa-section-heading h2 {
  margin: 6px 0 7px;
  font-size: clamp(20px,1.9vw,26px);
  letter-spacing: -.045em;
  line-height: 1.24;
}
.wa-section-heading p {
  margin: 0;
  color: #5b6c60;
  font-size: 12.5px;
  max-width: 690px;
}
.wa-goal-grid,.wa-example-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 15px;
}
.wa-goal-card {
  border: 1px solid #d8e3d3;
  background: #fff;
  border-radius: 15px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.wa-card-icon {
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  background: #e4fbc9;
  border: 1px solid #cce5b2;
  border-radius: 10px;
}
.wa-card-kicker {
  display: block;
  font-size: 10px;
  color: #608b40;
  font-weight: 850;
  letter-spacing: .10em;
}
.wa-goal-card h3 {
  margin: 7px 0 8px;
  font-size: 18px;
  letter-spacing: -.034em;
  line-height: 1.37;
}
.wa-goal-card p {
  color: #546159;
  line-height: 1.65;
  font-size: 12.5px;
  margin: 0 0 16px;
}
.wa-example-value {
  padding: 10px 12px;
  background: #f3f8ed;
  border: 1px solid #e4eddd;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #435740;
  font-size: 11px;
}
.wa-example-value strong {
  font-size: 20px;
  color: #1c3322;
}
.wa-example-value small {
  font-size: 10px;
  color: #647469;
}
.wa-synthetic-tag {
  font-size: 9px;
  letter-spacing: .08em;
  font-weight: 850;
  color: #4e6b3d;
  background: #e5f5d7;
  border: 1px solid #d1e6c5;
  padding: 7px 10px;
  border-radius: 6px;
  white-space: normal;
}
.wa-example-card {
  background: #fff;
  border: 1px solid #cfdaca;
  border-radius: 16px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wa-example-card-green {
  background: #effcde;
  border-color: #b6d49e;
}
.wa-example-number {
  color: #548038;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.wa-example-number span {
  color: #738479;
}
.wa-example-card h3 {
  margin: 11px 0 4px;
  letter-spacing: -.04em;
  font-size: 21px;
}
.wa-example-card .wa-math {
  font: 600 14px/1.7 Consolas,monospace;
  color: #28452e;
  background: #f5fbf0;
  border: 1px solid #e1ead8;
  border-radius: 8px;
  padding: 9px 11px;
  margin: 8px 0 12px;
}
.wa-example-card p:not(.wa-math) {
  color: #53645a;
  font-size: 12px;
  line-height: 1.67;
  margin: 0 0 15px;
  flex: 1;
}
.wa-test-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 17px;
}
.wa-test-facts span {
  background: #fff;
  border: 1px solid #d4e2cb;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 10px;
  color: #47613c;
  font-weight: 720;
}
.wa-example-card .btn {
  align-self: start;
}
.wa-active-dataset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dce6da;
  border-radius: 13px;
  padding: 15px 18px;
  margin-top: 15px;
}
.wa-active-dataset>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-active-dataset strong {
  font-size: 13px;
}
.wa-active-dataset small {
  font-size: 11px;
  color: #67766a;
}
.wa-active-dataset .btn {
  white-space: normal;
}
.wa-step-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}
.wa-step-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  background: #fff;
  border: 1px solid #dce5d8;
  border-radius: 11px;
  padding: 15px 16px;
  min-height: 103px;
  transition: border-color .15s,background .15s;
}
.wa-step-card:hover {
  background: #f5fced;
  border-color: #8fbb65;
}
.wa-step-card span {
  color: #608f42;
  font-size: 11px;
  font-weight: 850;
}
.wa-step-card strong {
  font-size: 13px;
}
.wa-step-card small {
  color: #68746d;
  font-size: 11px;
  line-height: 1.5;
}
.wa-academic-details {
  margin: 21px 0;
  background: #fff;
  border: 1px solid #d6e1d3;
  border-radius: 14px;
  overflow: hidden;
}
.wa-academic-details>summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 17px 19px;
}
.wa-academic-details>summary::-webkit-details-marker {
  display: none;
}
.wa-academic-details>summary span:first-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wa-academic-details summary strong {
  font-size: 14px;
}
.wa-academic-details summary small {
  font-size: 11px;
  color: #69796c;
}
.wa-details-mark {
  font-size: 20px;
  color: #5b8a32;
}
.wa-academic-details[open] .wa-details-mark {
  transform: rotate(45deg);
}
.wa-academic-body {
  border-top: 1px solid #e0e9da;
  padding: 20px;
}
.wa-academic-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 13px;
}
.wa-academic-grid article {
  padding: 16px;
  background: #f9fbf6;
  border: 1px solid #e2eadf;
  border-radius: 10px;
}
.wa-academic-grid h3 {
  font-size: 13px;
  margin: 0 0 7px;
}
.wa-academic-grid p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  color: #536256;
}
.wa-academic-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
#page-method:not(.wa-integral-mode) #methodArea .inline-help {
  display: none!important;
}
/* Calculation page: actionable controls before reference table, mathematical theory still available. */
.wa-calc-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 17px;
  background: #e8f9d7;
  border: 1px solid #c8e8b2;
  border-radius: 11px;
  margin: 4px 0 17px;
  flex-wrap: wrap;
}
.wa-calc-intro strong {
  font-size: 13px;
}
.wa-calc-intro small {
  font-size: 11px;
  color: #4e6550;
}
.wa-calc-intro button {
  background: #fff;
  border: 1px solid #b9d5ad;
  border-radius: 7px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 750;
}
.wa-math-details {
  margin: 22px 0;
  border: 1px solid #dbe6d5;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}
.wa-math-details>summary {
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 15px 17px;
  font-weight: 750;
  font-size: 13px;
}
.wa-math-details>summary::-webkit-details-marker {
  display: none;
}
.wa-math-details>summary small {
  font-size: 11px;
  color: #6a776d;
  font-weight: 450;
}
.wa-math-details .math-panel {
  margin: 0!important;
  padding: 3px 17px 19px;
  border-top: 1px solid #e5ebe2;
}
.wa-math-details .math-panel .sectionhead {
  margin-top: 14px!important;
}
/* Results: immediately explain what is calculated, on which data, and the trusted comparison. */
.wa-result-summary {
  background: #fff;
  border: 1px solid #dbe6d8;
  border-radius: 13px;
  padding: 17px 19px;
  margin: 0 0 16px;
}
.wa-result-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.wa-result-summary h2 {
  font-size: 18px;
  letter-spacing: -.035em;
  margin: 4px 0 7px;
}
.wa-result-summary p {
  font-size: 12px;
  color: #536156;
  margin: 0;
}
.wa-result-source {
  font-size: 10px;
  font-weight: 800;
  background: #f0f8e6;
  padding: 6px 9px;
  border-radius: 6px;
  color: #507241;
}
.wa-result-errors {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 15px;
}
.wa-result-errors div {
  padding: 11px 12px;
  border-radius: 8px;
  background: #f4f9ed;
  border: 1px solid #e0ead9;
}
.wa-result-errors small {
  display: block;
  font-size: 10px;
  color: #586c55;
  margin-bottom: 6px;
}
.wa-result-errors strong {
  display: block;
  font-size: 15px;
  word-wrap: break-word;
}
.wa-result-foot {
  font-size: 11px!important;
  color: #68766b!important;
  margin-top: 9px!important;
}
@media(max-width:1030px) {
  .wa-purpose-line {
    gap: 8px;
  }
  .wa-purpose-line strong {
    font-size: 11px;
  }
  .wa-goal-card {
    padding: 17px;
    gap: 12px;
  }
  .wa-card-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}
@media(max-width:750px) {
  .wa-goal-grid,.wa-example-grid,.wa-academic-grid {
    grid-template-columns: 1fr;
  }
  .wa-step-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .wa-purpose-line {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .wa-purpose-line .wa-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .wa-result-errors {
    grid-template-columns: 1fr 1fr;
  }
  .wa-active-dataset .btn {
    width: 100%;
  }
  #page-overview .wa-home-hero {
    min-height: 0!important;
  }
}
@media(max-width:430px) {
  .wa-step-grid {
    grid-template-columns: 1fr 1fr;
  }
  .wa-step-card {
    padding: 12px;
    min-height: 95px;
  }
  .wa-purpose-line {
    padding: 14px;
  }
  .wa-goal-card {
    padding: 15px;
  }
  .wa-example-card {
    padding: 17px;
  }
  .wa-result-errors {
    grid-template-columns: 1fr;
  }
  .wa-top-label {
    display: none;
  }
}
@media print {
  .wa-overview-lead,.wa-academic-details {
    display: none!important;
  }
}
/* Style section 6: wa-compact-academic-ux */
/* Five primary choices, two contextual steps. No analytical page is removed. */
@media (min-width:851px) {
  :root {
    --sidebar: 235px!important;
  }
  .sidebar {
    padding: 23px 15px 17px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 7px 5px 24px!important;
  }
  .sidebar .navbtn,.sidebar .navbtn.active {
    min-height: 47px!important;
    padding: 10px 12px!important;
  }
  .sidebar .sidebottom {
    margin-top: auto!important;
  }
  .sidebar .navgroup {
    margin: 7px 9px 11px!important;
  }
}
.sidebar .nav {
  gap: 6px!important;
}
.wa-menu-cluster {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sidebar .navbtn .nav-label strong {
  font-size: 13px!important;
  line-height: 1.36!important;
}
.sidebar .navbtn .nav-label {
  min-width: 0;
}
.wa-menu-cluster .wa-nav-sub {
  display: none!important;
  padding: 8px 10px 8px 25px!important;
  min-height: 36px!important;
  margin-top: 1px!important;
  font-size: 12px!important;
  background: #f6faf2;
  border: 1px solid #e3ebdd!important;
}
.wa-menu-cluster.is-expanded .wa-nav-sub {
  display: flex!important;
}
.wa-menu-cluster.is-expanded >.navbtn:not(.active) {
  background: #f3f9ec!important;
  color: #213b21!important;
}
.sidebar .wa-nav-sub.active {
  border-color: #8ab458!important;
  background: #e8ffd1!important;
  box-shadow: inset 2px 0 0 #4a833a!important;
}
.sidebar .wa-nav-sub .nav-label strong {
  font-size: 11.5px!important;
}
.sidebar .wa-nav-sub .numnav {
  font-size: 14px!important;
  flex-basis: 18px!important;
  width: 18px!important;
}
.wa-guide-link {
  margin: 9px 5px 3px;
  border: 0;
  border-top: 1px solid #e6eee3;
  background: transparent;
  padding: 13px 8px 7px;
  color: #657368;
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  gap: 9px;
  align-items: center;
}
.wa-guide-link span {
  display: inline-grid;
  place-items: center;
  border: 1px solid #d6e6cd;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  color: #537c39;
  font-weight: 800;
}
.wa-guide-link:hover,.wa-guide-link.active {
  color: #345d29;
}
.wa-guide-link:focus-visible {
  outline: 3px solid #6eaa32;
  outline-offset: 2px;
}
.wa-context-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid #dde8d7;
  border-radius: 10px;
  background: #fff;
  margin: 0 0 19px;
  max-width: 100%;
  flex-wrap: wrap;
}
.wa-context-tabs button {
  border: 0;
  background: transparent;
  padding: 8px 13px;
  color: #647367;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  min-height: 36px;
}
.wa-context-tabs button.active {
  background: #d9ffb0;
  color: #273c27;
  box-shadow: inset 0 0 0 1px #b6d98b;
}
.wa-context-tabs button:hover:not(.active) {
  background: #f0f8e9;
}
#page-overview .wa-home-hero {
  min-height: 290px!important;
  padding: 25px 30px!important;
  gap: 24px!important;
  margin-bottom: 16px!important;
}
#page-overview .wa-home-hero h1 {
  font-size: clamp(33px,3.15vw,45px)!important;
  margin: 12px 0!important;
}
#page-overview .wa-home-hero p {
  line-height: 1.64!important;
  font-size: 13.2px!important;
}
#page-overview .wa-home-hero .hero-caption {
  font-size: 10px!important;
  margin-top: 9px!important;
  opacity: .9;
}
#page-overview .wa-home-hero .hero-actions {
  margin-top: 16px!important;
}
#page-overview .signal-preview {
  max-width: 390px!important;
}
#page-overview .signal-preview-screen svg {
  max-height: 205px!important;
}
#page-overview .wa-purpose-line {
  padding: 13px 18px!important;
  margin: 6px 0 15px!important;
  gap: 11px!important;
}
#page-overview .wa-home-section {
  margin: 19px 0 22px!important;
}
#page-overview .wa-section-heading {
  margin-bottom: 12px!important;
}
#page-overview .wa-section-heading h2 {
  font-size: 21px!important;
  margin: 4px 0!important;
}
#page-overview .wa-goal-card {
  padding: 16px!important;
  min-height: 145px;
  gap: 13px!important;
}
#page-overview .wa-goal-card h3 {
  font-size: 16px!important;
  margin: 4px 0!important;
}
#page-overview .wa-goal-card p {
  font-size: 12px!important;
  line-height: 1.55!important;
  margin: 2px 0!important;
}
#page-overview .wa-goal-card .wa-example-value {
  margin-top: 10px!important;
  padding: 9px 10px!important;
}
#page-overview .wa-example-card {
  padding: 17px 19px!important;
}
#page-overview .wa-example-card h3 {
  font-size: 18px!important;
  margin: 5px 0!important;
}
#page-overview .wa-example-card p {
  margin: 6px 0!important;
  font-size: 12px!important;
}
#page-overview .wa-example-card .wa-test-facts {
  margin: 9px 0!important;
}
#page-overview .wa-active-dataset {
  margin-top: 11px!important;
  padding: 11px 14px!important;
}
.wa-lean-steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.wa-lean-steps button {
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  row-gap: 2px;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid #dae7d5;
  border-radius: 11px;
  min-height: 76px;
}
.wa-lean-steps button:hover {
  background: #f4fce9;
  border-color: #9cbe80;
}
.wa-lean-steps button span {
  grid-row: span 2;
  color: #6f994b;
  font-size: 13px;
  font-weight: 900;
}
.wa-lean-steps button strong {
  font-size: 13px;
}
.wa-lean-steps button small {
  font-size: 11px;
  color: #6c796e;
}
#page-method .builtin-method-hint {
  padding: 11px 15px!important;
  margin-bottom: 12px!important;
}
#page-method .math-panel .fine {
  font-size: 11px!important;
}
#page-method:not(.wa-integral-mode) #methodArea .card>details.inline-help {
  display: none!important;
}
@media(max-width:850px) {
  .wa-guide-link {
    margin-top: 5px;
  }
  .sidebar .navbtn .nav-label strong {
    font-size: 12.5px!important;
  }
}
@media(max-width:650px) {
  #page-overview .wa-home-hero {
    padding: 22px 18px!important;
  }
  #page-overview .wa-home-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  #page-overview .wa-home-hero .hero-actions .btn {
    width: 100%;
  }
  .wa-lean-steps {
    grid-template-columns: 1fr;
  }
  .wa-lean-steps button {
    min-height: 55px;
  }
  .wa-context-tabs {
    display: flex;
    width: 100%;
  }
  .wa-context-tabs button {
    flex: 1;
  }
  .wa-lean-steps button span {
    grid-row: span 2;
  }
}
@media print {
  .wa-context-tabs,.wa-lean-steps {
    display: none!important;
  }
}
/* Style section 7: wa-reference-exact-final */
:root {
  --ink: #191a1e!important;
  --black: #191a1e!important;
  --lime: #b9ff66!important;
  --paper: #fff!important;
  --line: #dedede!important;
  --muted: #737373!important;
  --shadow: 4px 5px 0 #191a1e!important;
}
body {
  background: #fff!important;
  color: #191a1e!important;
  font-family: Inter,"Segoe UI",Arial,sans-serif!important;
}
.sidebar {
  background: #fff!important;
  border-right: 1px solid #d6d6d6!important;
}
.sidebar .logo-icon {
  background: #b9ff66!important;
  border: 2px solid #191a1e!important;
  border-radius: 14px!important;
  color: #191a1e!important;
  box-shadow: none!important;
}
.sidebar .brand-wordmark {
  font-weight: 900!important;
  letter-spacing: -1.2px!important;
  line-height: 1.04!important;
  color: #191a1e!important;
}
.sidebar .sidebar-kicker {
  color: #888!important;
  letter-spacing: .8px!important;
}
.sidebar .navgroup {
  color: #888!important;
  letter-spacing: 1.8px!important;
}
.sidebar .navbtn {
  border: 2px solid transparent!important;
  border-radius: 12px!important;
  color: #3c3d3f!important;
  font-weight: 750!important;
  box-shadow: none!important;
  min-height: 48px!important;
}
.sidebar .navbtn:hover {
  background: #f1f4ec!important;
}
.sidebar .navbtn.active {
  background: #b9ff66!important;
  border: 2px solid #191a1e!important;
  box-shadow: 3px 5px 0 #191a1e!important;
  color: #191a1e!important;
}
.sidebar .numnav {
  background: transparent!important;
  color: inherit!important;
  border: 0!important;
}
.sidebar .sidebottom {
  border-top: 1px solid #e8e8e8!important;
}
.sidebar .wa-nav-sub.active {
  background: #eaffca!important;
  box-shadow: 2px 3px 0 #191a1e!important;
}
.sidebar .wa-menu-cluster {
  gap: 7px!important;
}
.sidebar .wa-nav-sub {
  min-height: 35px!important;
}
.topbar {
  background: #fff!important;
  height: 55px!important;
  border-bottom: 1px solid #efefef!important;
}
.content {
  max-width: 1620px!important;
  padding: clamp(24px,3.3vw,54px) clamp(24px,3.6vw,55px) 70px!important;
}
#page-overview .wa-overview-lead {
  display: none!important;
}
#page-overview .wa-home-hero {
  display: grid!important;
  grid-template-columns: minmax(0,1.28fr) minmax(200px,.72fr)!important;
  align-items: center!important;
  gap: 24px!important;
  background: #fff!important;
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
  padding: 0!important;
  min-height: 0!important;
  margin: 0 0 29px!important;
  overflow: visible!important;
}
#page-overview .hero-copy {
  min-width: 0!important;
}
#page-overview .wa-home-hero h1 {
  font-size: clamp(36px,3.8vw,63px)!important;
  letter-spacing: -.06em!important;
  line-height: 1.07!important;
  font-weight: 900!important;
  margin: 22px 0 20px!important;
  color: #191a1e!important;
  text-wrap: balance!important;
}
#page-overview .wa-home-hero h1 span {
  color: #191a1e!important;
  display: inline!important;
  background: linear-gradient(to bottom,transparent 64%,#b9ff66 64%,#b9ff66 91%,transparent 91%)!important;
  padding: 0 2px!important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
#page-overview .hero-kicker {
  display: inline-flex!important;
  background: #b9ff66!important;
  color: #191a1e!important;
  padding: 8px 11px!important;
  border-radius: 5px!important;
  font-size: 10px!important;
  font-weight: 900!important;
  letter-spacing: .9px!important;
  border: 0!important;
}
#page-overview .wa-home-hero p {
  font-size: 15px!important;
  line-height: 1.7!important;
  color: #5e5e5e!important;
}
#page-overview .hero-caption {
  font-size: 11px!important;
  color: #737373!important;
}
#page-overview .hero-actions {
  margin-top: 23px!important;
}
.orbital-art {
  max-width: 430px!important;
  width: 100%!important;
  align-self: center!important;
  margin: 0 auto!important;
  display: block!important;
  background: none!important;
  border: 0!important;
  box-shadow: none!important;
  padding: 0!important;
  overflow: visible!important;
}
.orbital-art svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  filter: none;
  overflow: visible;
}
.orbital-ring,.orbital-wave,.orbital-dot,.orbital-star {
  animation: none!important;
}
.btn {
  border: 1.8px solid #191a1e!important;
  box-shadow: 2px 3px 0 #191a1e!important;
  border-radius: 10px!important;
  font-weight: 800!important;
  transition: transform .15s,box-shadow .15s!important;
}
.btn:not(.light):not(.ghost):not(.lime) {
  background: #191a1e!important;
  color: white!important;
}
.btn.light,.btn.ghost {
  background: #fff!important;
  color: #191a1e!important;
}
.btn.lime {
  background: #b9ff66!important;
  color: #191a1e!important;
}
.btn:hover:not(:disabled) {
  transform: translate(-1px,-2px)!important;
  box-shadow: 4px 5px 0 #191a1e!important;
}
.btn:disabled {
  opacity: .45!important;
  box-shadow: none!important;
}
.card,.stepcard,.wa-goal-card,.wa-example-card,.wa-academic-details,.wa-purpose-line,.wa-active-dataset,.sample-card,.wa-result-summary,.wa-lean-steps button {
  border: 1.7px solid #191a1e!important;
  border-radius: 15px!important;
  box-shadow: 3px 4px 0 #191a1e!important;
  background: #fff!important;
  color: #191a1e!important;
}
.card.soft {
  border: 1px solid #c3c7c1!important;
  box-shadow: 2px 3px 0 #191a1e17!important;
}
.card.dark {
  background: #191a1e!important;
  color: #fff!important;
  box-shadow: 3px 4px 0 #b9ff66!important;
}
.card.lime,.wa-example-card-green {
  background: #b9ff66!important;
  color: #191a1e!important;
}
.choice {
  background: #fff!important;
  border: 2px solid #191a1e!important;
  border-radius: 15px!important;
  box-shadow: 3px 4px 0 #191a1e30!important;
}
.choice.selected {
  background: #eaffca!important;
  border: 2px solid #191a1e!important;
  box-shadow: 3px 4px 0 #191a1e!important;
}
.pill {
  background: #b9ff66!important;
  color: #191a1e!important;
}
.pill.gray {
  background: #f0f1ed!important;
}
.pill.dark {
  background: #191a1e!important;
  color: #fff!important;
}
.page-title {
  font-weight: 900!important;
  letter-spacing: -1.6px!important;
  color: #191a1e!important;
}
.sectionhead h2,.wa-section-heading h2 {
  font-weight: 850!important;
  color: #191a1e!important;
}
.wa-context-tabs {
  border: 1px solid #191a1e!important;
  border-radius: 10px!important;
}
.wa-context-tabs button.active,.seg button.selected,.chart-tool.active {
  background: #b9ff66!important;
  color: #191a1e!important;
  box-shadow: inset 0 0 0 1px #191a1e!important;
}
.field input,.field select,.field textarea {
  border-color: #bfc5bc!important;
}
.chartbox,.interactive-wave {
  background: #fff!important;
}
.wa-lean-steps button span {
  color: #191a1e!important;
  background: #b9ff66!important;
  border-radius: 5px!important;
  padding: 4px 7px!important;
}
.wa-lean-steps button:hover {
  background: #efffdc!important;
}
.wa-section-kicker,.wa-card-kicker {
  color: #555!important;
}
.wa-card-icon {
  display: none!important;
}
.wa-goal-card {
  display: block!important;
  min-height: 0!important;
}
.wa-example-details #waExampleContent {
  padding: 0 17px 17px!important;
  margin: 0!important;
}
.wa-example-details>summary,.wa-math-disclosure>summary {
  cursor: pointer!important;
}
.wa-math-disclosure {
  margin: 0 0 18px!important;
}
.wa-math-disclosure .math-panel {
  padding: 0 17px 17px!important;
  margin: 0!important;
}
.wa-math-disclosure .math-panel>.sectionhead {
  margin-top: 6px!important;
}
.wa-purpose-line {
  margin: 8px 0 24px!important;
}
.wa-home-workflow {
  margin-bottom: 25px!important;
}
.wa-guide-link {
  color: #333!important;
}
.wa-goal-card .wa-example-value {
  display: none!important;
}
.wa-example-details,.wa-academic-details {
  margin-top: 22px!important;
}
@media(min-width:851px) {
  :root {
    --sidebar: clamp(245px,20vw,286px)!important;
  }
  .sidebar {
    padding: 25px 18px 18px!important;
    overflow-y: auto!important;
    overflow-x: hidden!important;
  }
  .sidebar .logo {
    padding: 0 4px!important;
    gap: 10px!important;
  }
  .sidebar .logo-icon {
    width: 44px!important;
    height: 44px!important;
    flex: 0 0 44px!important;
  }
  .sidebar .sidebar-kicker {
    margin: 9px 4px 29px!important;
  }
  .sidebar .nav {
    gap: 9px!important;
    padding: 0 4px 6px!important;
  }
  .sidebar .navbtn .nav-label strong {
    font-size: 13px!important;
  }
}
@media(max-width:850px) {
  .content {
    padding: 23px 20px 60px!important;
  }
  #page-overview .wa-home-hero h1 {
    font-size: clamp(34px,5vw,48px)!important;
  }
  .orbital-art {
    max-width: 310px!important;
  }
  .sidebar .nav {
    padding: 0 5px 6px!important;
  }
  .topbar {
    height: 48px!important;
  }
}
@media(max-width:650px) {
  #page-overview .wa-home-hero {
    grid-template-columns: 1fr!important;
    gap: 10px!important;
  }
  #page-overview .wa-home-hero h1 {
    font-size: clamp(32px,8.5vw,45px)!important;
  }
  #page-overview .wa-home-hero p {
    font-size: 14px!important;
  }
  .orbital-art {
    max-width: 270px!important;
  }
  .orbital-art svg {
    max-height: 210px!important;
  }
  .content {
    padding: 22px 16px 55px!important;
  }
  .wa-lean-steps {
    gap: 12px!important;
  }
  .wa-context-tabs button {
    font-size: 11px!important;
  }
  .wa-purpose-line {
    overflow: hidden!important;
  }
}
@media print {
  .card,.wa-academic-details {
    box-shadow: none!important;
  }
  .orbital-art {
    display: none!important;
  }
}
/* Style section 8: wa-final-contrast */
.page.active {
  animation: none!important;
  opacity: 1;
  transform: none!important;
}
#page-overview .wa-home-hero h1 span {
  display: inline!important;
  font-size: inherit!important;
  line-height: inherit!important;
}
#page-overview .wa-home-hero h1 {
  font-size: clamp(34px,3.25vw,53px)!important;
  text-wrap: initial!important;
}
#page-overview .wa-home-hero h1:after {
  content: none!important;
}
#page-overview .hero-copy p strong {
  color: #191a1e!important;
}
#page-overview .hero-copy p {
  text-align: left!important;
}
#page-overview .hero-actions .btn.light,#page-overview .hero-actions .btn.light * {
  color: #191a1e!important;
}
#page-overview .hero-actions .btn:not(.light),#page-overview .hero-actions .btn:not(.light) * {
  color: #fff!important;
}
#page-overview .hero-caption {
  color: #737373!important;
}
#page-overview .hero-copy h1 span:before {
  content: none!important;
  display: none!important;
}
#page-overview .wa-home-hero h1 span {
  font-size: .86em!important;
}
@media(max-width:650px) {
  #page-overview .wa-home-hero h1 {
    font-size: clamp(32px,8vw,43px)!important;
  }
}
/* Style section 9: base / layout */
#page-overview .wa-home-hero .hero-caption {
  opacity: 1!important;
  color: #737373!important;
}
#page-overview .wa-home-hero .orbital-art {
  display: block!important;
  visibility: visible!important;
  max-height: none!important;
}
#page-overview .wa-home-hero .orbital-art svg {
  display: block!important;
  opacity: 1!important;
}
#page-overview .wa-home-hero .hero-actions .btn {
  border-color: #191a1e!important;
}
.wa-context-tabs {
  display: flex!important;
  width: max-content;
  max-width: 100%;
  margin-bottom: 16px!important;
}
.sidebar .navbtn.active:not(.wa-nav-sub) {
  background: #b9ff66!important;
}
@media(max-width:650px) {
  #page-overview .wa-home-hero .orbital-art {
    max-width: 260px!important;
    height: auto!important;
    min-height: 0!important;
  }
  #page-overview .wa-home-hero .orbital-art svg {
    max-height: 190px!important;
  }
  .wa-context-tabs {
    width: 100%;
  }
}
/* Style section 10: wa-final-layout */
#sampleLibrary .sample-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
#sampleLibrary .sample-card .actions {
  flex-wrap: wrap;
}
#sampleLibrary .sample-card a {
  overflow-wrap: anywhere;
}
#sampleLibrary {
  scroll-margin-top: 75px;
}
@media(max-width:650px) {
  #sampleLibrary .sample-grid {
    grid-template-columns: 1fr;
  }
}


/* Overview tutorial: integrated six-stage workflow. */
#waTutorial{scroll-margin-top:85px} #waTutorial .guide-grid{margin-top:14px} #waTutorial .help-data{margin-top:18px} #waTutorial .guide-step{min-width:0} .wa-goal-card{min-height:0} #verificationDetails .verification-section{margin:0} #verificationDetails .verification-section>.card:first-child{margin-top:16px} @media(max-width:650px){#waTutorial .guide-grid{grid-template-columns:1fr}}

/* Smooth navigation: highlight the current destination only. */
.sidebar .numnav{flex:0 0 25px!important;display:grid!important;place-items:center!important;white-space:nowrap!important;line-height:1!important;background:transparent!important;color:inherit!important}
.sidebar .navbtn{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;transform:none!important}
.sidebar .navbtn.active{box-shadow:2px 3px 0 #191a1e!important}
.sidebar .navbtn:not(.active):hover{transform:none!important}
.btn,.choice,.wa-context-tabs button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease!important}
@keyframes wa-page-fade{from{opacity:.78}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){.page.active{animation:wa-page-fade .20s ease-out both!important}}
@media(max-width:850px){
 .sidebar{gap:10px!important;transition:transform .26s cubic-bezier(.22,.68,.32,1),visibility .26s!important;visibility:hidden}
 body.menu-open .sidebar{visibility:visible}
 .menu-scrim{display:block!important;opacity:0;visibility:hidden;pointer-events:none;background:#17201966!important;transition:opacity .26s ease,visibility .26s}
 body.menu-open .menu-scrim{opacity:1;visibility:visible;pointer-events:auto}
 .sidebar .sidebar-kicker{margin-bottom:18px!important}
 .sidebar .nav{gap:6px!important}
 .sidebar .navbtn{min-height:46px!important}
 .sidebar .wa-nav-sub{min-height:39px!important}
 .sidebar .sidebottom{margin-top:18px!important}
 .sidebar-close{min-height:40px!important}
}
@media(prefers-reduced-motion:reduce){.sidebar,.menu-scrim,.navbtn,.btn,.choice,.page.active,.wa-context-tabs button{transition:none!important;animation:none!important}}
@media print{.page.active{animation:none!important}.menu-scrim{display:none!important}}

/* Final deployment: a single context line and compact disclosures. */
.wa-active-context{font-size:13px;color:var(--muted);margin:0 0 15px;overflow-wrap:anywhere;font-weight:600}
.wa-active-context[hidden]{display:none!important}
#page-method .wa-math-disclosure{margin:24px 0 0}
#resamplePanel .wa-academic-body{padding:0 18px 18px}
#reportContent .tablewrap{margin-top:16px}
#reportContent .actions{gap:10px}
#waTutorial .guide-step h3{margin-bottom:4px}
#waTutorial .guide-step p{margin-bottom:0}
@media(max-width:650px){#reportContent .actions .btn{flex:1 1 100%}#reportContent .tablewrap th,#reportContent .tablewrap td{padding:10px 8px}}

/* Final readability: keep numerical cells intact and allow local table scrolling. */
#rubricBenchmark .tablewrap table{min-width:660px;table-layout:auto}
#rubricBenchmark .tablewrap td.num{white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
#rubricBenchmark .tablewrap th{overflow-wrap:normal;word-break:normal}
@media screen and (max-width:650px){
 .chart-viewport:has(canvas){height:auto!important;min-height:300px!important;max-height:none!important}
 .chart-viewport canvas{height:300px!important;display:block}
}
/* Session controls: quiet contextual tabs, no progress symbols. */
.wa-session-tabs{display:flex;gap:4px;align-items:center;background:#f6f7f3;border:1px solid #dce1d7;border-radius:10px;padding:4px;width:max-content;max-width:100%;margin:0 0 20px}
.wa-session-tabs[hidden],#sessionNext[hidden]{display:none!important}
.wa-session-tab{font:inherit;font-weight:750;font-size:13px;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:7px;padding:9px 18px;cursor:pointer}
.wa-session-tab.active{background:#b9ff66;border-color:var(--ink)}
.wa-session-tab:hover:not(.active){background:#fff}
.wa-session-tab:focus-visible{outline:2px solid #6b9633;outline-offset:2px}
.wa-session-actions{justify-content:flex-end;flex-wrap:wrap}
.wa-report-analysis{margin-top:20px}.wa-report-analysis h3{margin-bottom:5px}
.wa-report-analysis+.wa-report-analysis{padding-top:18px;border-top:1px solid #e0e5da}
@media(max-width:650px){.wa-session-tabs{width:100%}.wa-session-tab{flex:1;min-width:0;padding:10px 8px}.wa-session-actions{width:100%}.wa-session-actions .btn{flex:1 1 auto}}
@media print{.wa-session-print .wa-print-analysis+ .wa-print-analysis{break-before:page}.wa-session-print .wa-print-analysis>h2{font-size:18px;margin-top:22px}.wa-session-print .print-section{break-inside:auto}}
