.mod-sono /* ==============================================================
   Dashboard Day/Night Theme - shared, .mod-sono layout-free
   Sonographer in the Making
   Rides on the landing page and every report/tool page.
   Owns: palette variables, .mod-sono the fixed moon/sun toggle, .mod-sono the slider.
   Behavior + palette interpolation live in theme.js.
   ============================================================== */

/* Night is the default palette so the first paint is dark with no
   flash before theme.js confirms the stored preference. The values
   mirror palNight in theme.js. */
:root{
  --bg: #050710;
  --card-bg: #0a0e18;
  --text: #c0c8dd;
  --text-mute: #5a6880;
  --accent: #a0b8d8;
  --accent-dk: #7898c0;
  --border: #182030;
  --soft-1: #101828;
  --soft-2: #141e2e;
}.mod-sono /* Smooth the palette transition everywhere the variables are used. */
body{
  transition: background-color 0.6s ease, color 0.6s ease;
}.mod-sono /* ── Theme widget: fixed control cluster, .mod-sono top-right ── */
.sitm-theme{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-bg) 78%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}.mod-sono /* Celestial toggle - the moon that morphs to a sun. */
.sitm-theme-toggle{
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: none;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  outline: none;
}.mod-sono .sitm-theme-toggle:focus-visible{
  box-shadow: 0 0 0 2px var(--accent);
}.mod-sono /* The celestial body itself. Night = pale moon. Day = warm sun. */
.sitm-theme-orb{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #d7deec;
  box-shadow: 0 0 10px rgba(190, 205, 235, 0.55), inset -4px -3px 0 0 rgba(120, 140, 175, 0.0);
  transition: width 0.5s ease, height 0.5s ease, margin 0.5s ease,
              background-color 0.5s ease, box-shadow 0.5s ease;
}.mod-sono /* Crescent: a shadow disc bites the moon at night. */
.sitm-theme-orb::after{
  content: '';
  position: absolute;
  top: -3px;
  right: -5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--card-bg);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.45s ease, background-color 0.4s ease;
}.mod-sono /* Sun rays, .mod-sono hidden at night, .mod-sono fade in toward day. */
.sitm-theme-rays{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.6) rotate(-30deg);
  transition: opacity 0.5s ease, transform 0.6s ease;
  pointer-events: none;
}.mod-sono .sitm-theme-rays span{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 5px;
  margin: -2.5px 0 0 -1px;
  border-radius: 2px;
  background: #f2c14e;
  /* JS sets transform: rotate(Ndeg) translateY(-13px) per ray */
}.mod-sono /* Day state (set by theme.js when v >= 0.5). */
.sitm-theme.is-day .sitm-theme-orb{
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  background: #ffd24a;
  box-shadow: 0 0 14px rgba(255, 196, 74, 0.6);
}.mod-sono .sitm-theme.is-day .sitm-theme-orb::after{
  opacity: 0;
  transform: scale(0.2);
}.mod-sono .sitm-theme.is-day .sitm-theme-rays{
  opacity: 1;
  transform: scale(1) rotate(0deg);
}.mod-sono /* Slider - native range, .mod-sono restyled, .mod-sono compact. */
.sitm-theme-slider{
  -webkit-appearance: none;
  appearance: none;
  width: 92px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a0e18 0%, var(--accent-dk) 50%, #ffd24a 100%);
  outline: none;
  cursor: grab;
}.mod-sono .sitm-theme-slider:active{ cursor: grabbing; }.mod-sono .sitm-theme-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--card-bg);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  cursor: grab;
}.mod-sono .sitm-theme-slider::-moz-range-thumb{
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid var(--card-bg);
  cursor: grab;
}.mod-sono /* Compact on small screens - keep the toggle, .mod-sono shrink the slider. */
@media (max-width: 600px){
  .sitm-theme { top: 10px; right: 10px; gap: 8px; padding: 6px 10px 6px 8px; }
  .sitm-theme-slider { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {.mod-sono, .mod-sono .sitm-theme, .mod-sono .sitm-theme-orb, .mod-sono .sitm-theme-orb::after, .mod-sono .sitm-theme-rays{ transition: none; }
}.mod-sono /* ══════════════════════════════════════════════════════════
   Dashboard Shared Styles
   Sonographer In The Making - Audit Dashboard Pages
   ══════════════════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, .mod-sono *::before, .mod-sono *::after{ box-sizing: border-box; margin: 0; padding: 0; }.mod-sono{
  --bg: #151a1e;
  --card-bg: #1e2428;
  --text: #dde4e8;
  --text-mute: #a0aab2;
  --accent: #b8cee6;
  --accent-dk: #8fb3d4;
  --border: #2e3640;
  --soft-1: #222a30;
  --soft-2: #283038;
  --ease: cubic-bezier(0.21, 0.83, 0.26, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --glow: rgba(160, 200, 240, 0.15);
}.mod-sono{
  background: var(--bg);
  color: var(--text);
  font-family: 'Klee One', cursive;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-size: 18px;
  line-height: 1.6;
}.mod-sono /* Hard minimum: 12px. Nothing on any page goes below this. */

a{ color: var(--accent-dk); text-decoration: none; }.mod-sono a:hover{ color: var(--accent); }.mod-sono /* ── Page Layout ── */
.page-layout{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}.mod-sono .page-content{ min-width: 0; }.mod-sono /* ── Back Link ── */
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text-mute);
  margin-bottom: 32px;
  transition: color 0.2s;
}.mod-sono .back-link:hover{ color: var(--accent); }.mod-sono .back-link svg{ width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }.mod-sono /* ── Page Header ── */
h1{
  font-family: 'Patrick Hand SC', cursive;
  font-size: 52px;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 8px;
}.mod-sono h1 em{ font-style: italic; color: var(--accent-dk); }.mod-sono .report-meta{
  font-size: 15px;
  color: var(--text-mute);
  margin-bottom: 48px;
}.mod-sono /* ── Section Headings ── */
h2{
  font-family: 'Patrick Hand SC', cursive;
  font-size: 34px;
  color: var(--text);
  margin: 64px 0 24px;
}.mod-sono h2:first-of-type{ margin-top: 0; }.mod-sono h2 em{ font-style: normal; color: var(--accent-dk); }.mod-sono h3{
  font-family: 'Patrick Hand SC', cursive;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 16px;
}.mod-sono h3 em{ font-style: normal; color: var(--accent-dk); }.mod-sono /* ── Side Navigation ── */
.side-nav{
  position: sticky;
  top: 40px;
  align-self: start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}.mod-sono .side-nav a{
  display: block;
  padding: 6px 0 6px 14px;
  font-size: 14px;
  color: var(--text-mute);
  border-left: 2px solid transparent;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}.mod-sono .side-nav a:hover{ color: var(--text); }.mod-sono .side-nav a.active{
  color: var(--accent-dk);
  border-left-color: var(--accent-dk);
}.mod-sono /* ── Score Tags ── */
.sc-tag{
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-block;
}.mod-sono .t-red{ background: rgba(220,80,80,0.15); color: #e86060; }.mod-sono .t-orange{ background: rgba(220,160,60,0.15); color: #dca03c; }.mod-sono .t-yellow{ background: rgba(200,190,60,0.15); color: #c8be3c; }.mod-sono .t-green{ background: rgba(80,180,120,0.15); color: #50b478; }.mod-sono .t-blue{ background: rgba(100,160,220,0.15); color: #64a0dc; }.mod-sono /* ── Cards ── */
.card{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}.mod-sono .card:hover{
  border-color: rgba(143,179,212,0.3);
  box-shadow: 0 4px 24px var(--glow);
}.mod-sono /* ── Metric Cards ── */
.metric-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}.mod-sono .metric-num{
  font-family: 'Patrick Hand SC', cursive;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
}.mod-sono .metric-label{
  font-size: 15px;
  color: var(--text);
  margin-top: 4px;
}.mod-sono .metric-detail{
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  line-height: 1.4;
}.mod-sono /* ── Findings / Left-border Cards ── */
.findings{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-bottom: 48px;
}.mod-sono .finding{
  padding-left: 16px;
  border-left: 2px solid var(--border);
  transition: border-color 0.15s ease-out;
}.mod-sono .finding:hover{ border-left-color: var(--accent-dk); }.mod-sono .finding strong{
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}.mod-sono .finding p{
  color: var(--text-mute);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}.mod-sono /* ── Charts ── */
.chart-wrap{
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  margin-bottom: 24px;
}.mod-sono .chart-wrap:hover{
  border-color: rgba(143,179,212,0.3);
  box-shadow: 0 4px 24px var(--glow);
}.mod-sono .chart-note{
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 14px;
  line-height: 1.5;
}.mod-sono .chart-note strong{ color: var(--text); }.mod-sono /* ── Tables ── */
.data-table{
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}.mod-sono .data-table th{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-mute);
  font-weight: 400;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}.mod-sono .data-table th.center{ text-align: center; }.mod-sono .data-table td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(46,54,64,0.5);
  font-size: 14px;
}.mod-sono .data-table td.center{ text-align: center; }.mod-sono .data-table tbody tr:hover{ background: var(--soft-1); }.mod-sono .data-table code{
  background: rgba(143,179,212,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}.mod-sono /* ── Callout Box ── */
.callout-box{
  background: var(--soft-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dk);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}.mod-sono .callout-box strong{
  display: block;
  font-family: 'Patrick Hand SC', cursive;
  font-size: 18px;
  margin-bottom: 6px;
}.mod-sono .callout-box code{
  background: rgba(143,179,212,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}.mod-sono .callout-box p{
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
  margin: 0;
}.mod-sono /* ── Status Banner ── */
.status-banner{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
}.mod-sono .status-banner.good{ background: rgba(80,180,120,0.06); border: 1px solid rgba(80,180,120,0.15); color: #50b478; }.mod-sono .status-banner.warn{ background: rgba(220,160,60,0.06); border: 1px solid rgba(220,160,60,0.15); color: #dca03c; }.mod-sono .status-banner.bad{ background: rgba(220,80,80,0.06); border: 1px solid rgba(220,80,80,0.15); color: #e86060; }.mod-sono /* ── Tabs ── */
.tab-bar{
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}.mod-sono .tab-btn{
  padding: 12px 20px;
  font-family: 'Patrick Hand SC', cursive;
  font-size: 18px;
  color: var(--text-mute);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease-out, border-color 0.15s ease-out;
}.mod-sono .tab-btn:hover{ color: var(--text); }.mod-sono .tab-btn.active{
  color: var(--accent-dk);
  border-bottom-color: var(--accent-dk);
}.mod-sono .tab-panel{ display: none; }.mod-sono .tab-panel.active{ display: block; }.mod-sono /* ── Timeline / Accordion ── */
.timeline{ position: relative; padding-left: 40px; }.mod-sono .timeline::before{
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #50b478 0%, #e8a84c 33%, var(--accent-dk) 66%, #4ca8e8 100%);
  opacity: 0.3;
}.mod-sono .tl-phase{ position: relative; margin-bottom: 8px; }.mod-sono .tl-phase:last-child{ margin-bottom: 0; }.mod-sono .tl-dot{
  position: absolute;
  left: -40px; top: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}.mod-sono .tl-dot::after{ content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }.mod-sono .tl-phase:hover .tl-dot{ transform: scale(1.3); }.mod-sono .tl-head{
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 12px 0;
  user-select: none;
}.mod-sono .tl-title{
  font-family: 'Patrick Hand SC', cursive;
  font-size: 24px;
  line-height: 1.2;
  transition: opacity 0.2s;
}.mod-sono .tl-head:hover .tl-title{ opacity: 0.8; }.mod-sono .tl-effort{
  font-size: 12px;
  padding: 2px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-mute);
}.mod-sono .tl-gain{
  font-size: 13px;
  color: #50b478;
  margin-left: auto;
  white-space: nowrap;
}.mod-sono .tl-chevron{
  width: 18px; height: 18px;
  stroke: var(--text-mute);
  stroke-width: 2;
  fill: none;
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}.mod-sono .tl-phase.open .tl-chevron{ transform: rotate(180deg); }.mod-sono .tl-body{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 0 0 4px;
}.mod-sono .tl-phase.open .tl-body{
  max-height: 800px;
  opacity: 1;
  padding: 4px 0 20px 4px;
}.mod-sono .tl-item{
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
  border-bottom: 1px solid rgba(46,54,64,0.3);
}.mod-sono .tl-item:last-child{ border-bottom: none; }.mod-sono .tl-sub{ color: var(--text-mute); font-size: 14px; }.mod-sono /* ── Tooltips ── */
[data-tip]{
  position: relative;
  border-bottom: 1px dotted var(--text-mute);
  cursor: help;
}.mod-sono [data-tip]::after{
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--soft-2);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease-out;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 1px solid var(--border);
}.mod-sono [data-tip]:hover::after{ opacity: 1; }.mod-sono /* ── Scroll Reveal ── */
[data-reveal]{
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}.mod-sono [data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}.mod-sono [data-reveal="stagger"] > *{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(1){ transition-delay: 0.05s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(2){ transition-delay: 0.1s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(3){ transition-delay: 0.15s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(4){ transition-delay: 0.2s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(5){ transition-delay: 0.25s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(6){ transition-delay: 0.3s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(7){ transition-delay: 0.35s; }.mod-sono [data-reveal="stagger"].is-visible > *:nth-child(8){ transition-delay: 0.4s; }.mod-sono [data-reveal="stagger"].is-visible > *{
  opacity: 1;
  transform: translateY(0);
}.mod-sono /* ── Scorecard Bars ── */
.scorecard{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 32px; }.mod-sono .sc-row{ display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(46,54,64,0.5); }.mod-sono .sc-row:last-child{ border-bottom: none; }.mod-sono .sc-label{ font-family: 'Patrick Hand SC', cursive; font-size: 18px; min-width: 120px; color: var(--text); }.mod-sono .sc-bar-track{ flex: 1; height: 6px; background: rgba(160,200,240,0.06); border-radius: 3px; overflow: hidden; }.mod-sono .sc-bar{ height: 100%; border-radius: 3px; transition: width 1.2s var(--ease); }.mod-sono .sc-val{ font-family: 'Patrick Hand SC', cursive; font-size: 20px; min-width: 32px; text-align: right; }.mod-sono /* ── Footer ── */
.report-footer{
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-mute);
  font-style: italic;
}.mod-sono /* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce){
  [data-reveal], [data-reveal="stagger"] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sc-bar { transition: none; }
  .tl-body { transition: none; }
  .tl-chevron { transition: none; }
}.mod-sono /* ── Responsive ── */
@media (max-width: 900px){
  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 20px 60px;
  }
  .side-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    padding: 12px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 4px;
    overflow-x: auto;
    white-space: nowrap;
    max-height: none;
  }
  .side-nav a {
    border-left: none;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
  }
  .side-nav a.active {
    background: rgba(143,179,212,0.1);
    border-left: none;
  }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .findings { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {.mod-sono h1{ font-size: 28px; }.mod-sono .metric-cards{ grid-template-columns: 1fr; }
}.mod-sono *, .mod-sono *::before, .mod-sono *::after{ box-sizing: border-box; margin: 0; padding: 0; }.mod-sono{
      --bg: #151a1e;
      --card-bg: #1e2428;
      --text: #dde4e8;
      --text-mute: #89939a;
      --accent: #b8cee6;
      --accent-dk: #8fb3d4;
      --border: #2e3640;
      --soft-1: #222a30;
      --soft-2: #283038;
      --ease: cubic-bezier(0.21, 0.83, 0.26, 1);
      --glow: rgba(160, 200, 240, 0.15);
    }.mod-sono{
      background: var(--bg);
      color: var(--text);
      font-family: 'Klee One', cursive;
      -webkit-font-smoothing: antialiased;
      min-height: 100vh;
    }.mod-sono .page{
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 32px 80px;
    }.mod-sono header{
      text-align: center;
      margin-bottom: 56px;
    }.mod-sono header h1{
      font-family: 'Patrick Hand SC', cursive;
      font-weight: 400;
      font-size: clamp(40px, 5.5vw, 64px);
      line-height: 1.05;
      color: var(--text);
      margin-bottom: 8px;
    }.mod-sono header h1 em{ font-style: italic; color: var(--accent-dk); }.mod-sono header p{
      font-size: 15px;
      color: var(--text-mute);
      letter-spacing: 0.02em;
    }.mod-sono .reveal{ opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }.mod-sono .reveal.visible{ opacity: 1; transform: translateY(0); }.mod-sono .delay-1{ transition-delay: 0.1s; }.mod-sono .delay-2{ transition-delay: 0.2s; }.mod-sono .delay-3{ transition-delay: 0.3s; }.mod-sono .delay-4{ transition-delay: 0.4s; }.mod-sono .nav-cards{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 24px;
    }.mod-sono .nav-cards-secondary{
      grid-template-columns: repeat(4, 1fr);
      margin-bottom: 72px;
    }.mod-sono .nav-card{
      position: relative;
      background: var(--card-bg);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 36px 28px 32px;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: all 0.3s var(--ease);
      overflow: hidden;
      cursor: pointer;
    }.mod-sono .nav-card::before{
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
      border-radius: 16px 16px 0 0;
      opacity: 0;
      transition: opacity 0.3s ease;
    }.mod-sono .nav-card:nth-child(1)::before{ background: linear-gradient(90deg, var(--accent), var(--accent-dk)); }.mod-sono .nav-card:nth-child(2)::before{ background: linear-gradient(90deg, var(--accent-dk), #6a8eb8); }.mod-sono .nav-card:nth-child(3)::before{ background: linear-gradient(90deg, #c0d0e8, var(--accent)); }.mod-sono .nav-card:hover{
      border-color: var(--accent);
      box-shadow: 0 8px 40px var(--glow), 0 0 80px rgba(160, 200, 240, 0.06), inset 0 1px 0 rgba(160, 200, 240, 0.1);
      transform: translateY(-6px) scale(1.02);
      background: var(--soft-2);
    }.mod-sono .nav-card:hover::before{ opacity: 1; }.mod-sono .nav-card:hover .nav-card-icon{ background: var(--accent); }.mod-sono .nav-card:hover .nav-card-icon svg{ stroke: var(--bg); }.mod-sono .nav-card-icon{
      width: 40px; height: 40px;
      border-radius: 10px;
      background: var(--soft-1);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }.mod-sono .nav-card:hover .nav-card-icon{ box-shadow: 0 0 16px rgba(160, 200, 240, 0.3); }.mod-sono .nav-card-icon svg{
      width: 20px; height: 20px;
      stroke: var(--accent-dk); stroke-width: 1.8; fill: none;
      transition: stroke 0.3s var(--ease);
    }.mod-sono .nav-card h2{
      font-family: 'Patrick Hand SC', cursive;
      font-weight: 400;
      font-size: 24px;
      line-height: 1.2;
      margin-bottom: 10px;
    }.mod-sono .nav-card h2 em{ font-style: italic; color: var(--accent-dk); }.mod-sono .nav-card p{
      font-size: 14px;
      color: var(--text-mute);
      line-height: 1.55;
      flex: 1;
      margin-bottom: 20px;
    }.mod-sono .nav-card-link{
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 500;
      color: var(--accent-dk);
      letter-spacing: 0.02em;
      margin-top: auto;
    }.mod-sono .nav-card-link svg{
      width: 14px; height: 14px;
      stroke: currentColor; stroke-width: 2; fill: none;
      transition: transform 0.2s ease;
    }.mod-sono .nav-card:hover .nav-card-link svg{ transform: translateX(3px); }.mod-sono .section-title{
      font-family: 'Patrick Hand SC', cursive;
      font-weight: 400;
      font-size: 28px;
      margin-bottom: 28px;
    }.mod-sono .section-title em{ font-style: italic; color: var(--accent-dk); }.mod-sono .flip-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 72px;
    }.mod-sono .flip-card{
      perspective: 800px;
      height: 160px;
      cursor: pointer;
    }.mod-sono .flip-inner{
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.55s var(--ease);
      transform-style: preserve-3d;
    }.mod-sono .flip-card.flipped .flip-inner{ transform: rotateY(180deg); }.mod-sono .flip-front, .mod-sono .flip-back{
      position: absolute;
      inset: 0;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      border-radius: 16px;
      border: 1px solid var(--border);
      padding: 20px 22px;
      display: flex;
      flex-direction: column;
      background: var(--card-bg);
      transition: border-color 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
    }.mod-sono .flip-card:hover .flip-front, .mod-sono .flip-card:hover .flip-back{ border-color: var(--accent); box-shadow: 0 4px 24px var(--glow), 0 0 40px rgba(160, 200, 240, 0.06); }.mod-sono .flip-card:hover .flip-front{ background: var(--soft-2); }.mod-sono .flip-back{
      transform: rotateY(180deg);
      background: linear-gradient(135deg, var(--soft-1), var(--soft-2));
    }.mod-sono .flip-top{
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
    }.mod-sono .flip-front h3{
      font-family: 'Patrick Hand SC', cursive;
      font-weight: 400;
      font-size: 19px;
      line-height: 1.2;
    }.mod-sono .flip-front h3 em{ font-style: italic; color: var(--accent-dk); }.mod-sono .flip-icon{
      width: 32px; height: 32px;
      border-radius: 8px;
      background: var(--soft-1);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }.mod-sono .flip-icon svg{
      width: 16px; height: 16px;
      stroke: var(--accent-dk); stroke-width: 1.8; fill: none;
    }.mod-sono .flip-summary{
      font-size: 13px;
      color: var(--text-mute);
      line-height: 1.5;
      flex: 1;
    }.mod-sono .flip-hint{
      font-size: 13px;
      color: var(--text-mute);
      opacity: 0.6;
    }.mod-sono .flip-back p{
      font-size: 13px;
      color: var(--text);
      line-height: 1.6;
      overflow-y: auto;
    }.mod-sono .flip-back .flip-close{
      font-size: 13px;
      color: var(--text-mute);
      opacity: 0.6;
      margin-top: auto;
      padding-top: 8px;
    }.mod-sono .resources{
      padding-top: 0;
    }.mod-sono .resource-grid{
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }.mod-sono .resource-link{
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      font-size: 13px;
      color: var(--text-mute);
      text-decoration: none;
      border: 1px solid var(--border);
      border-radius: 100px;
      transition: all 0.2s var(--ease);
      background: var(--card-bg);
    }.mod-sono .resource-link:hover{
      color: var(--accent);
      border-color: var(--accent);
      background: var(--soft-2);
      box-shadow: 0 0 16px var(--glow);
      transform: translateY(-2px);
    }.mod-sono .resource-link svg{
      width: 14px; height: 14px;
      stroke: currentColor; stroke-width: 1.8; fill: none;
      flex-shrink: 0;
    }.mod-sono .nav-card canvas, .mod-sono .flip-front canvas{
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border-radius: 16px;
      pointer-events: none;
      z-index: 0;
    }.mod-sono .nav-card > *:not(canvas), .mod-sono .flip-front > *:not(canvas){ position: relative; z-index: 1; }.mod-sono .resource-grid{ position: relative; }.mod-sono #strands-canvas{
      position: absolute;
      inset: -100px -60px;
      width: calc(100% + 120px);
      height: calc(100% + 200px);
      pointer-events: none;
      z-index: 0;
    }.mod-sono .resource-link{ position: relative; z-index: 1; }.mod-sono #cursor-trail{
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 9998;
    }.mod-sono #sky-canvas{
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }.mod-sono /* ─── AUDIT PIE CHART ─── */
    .audit-hub{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-bottom: 64px;
      position: relative;
    }.mod-sono .chart-toggle{
      position: absolute;
      top: 0;
      left: 0;
      display: inline-flex;
      gap: 4px;
      padding: 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.10);
      backdrop-filter: blur(6px);
      z-index: 3;
    }.mod-sono .chart-toggle-btn{
      appearance: none;
      border: none;
      cursor: pointer;
      font-family: inherit;
      font-size: 13px;
      letter-spacing: 0.02em;
      font-weight: 500;
      color: var(--text-mute);
      background: transparent;
      padding: 7px 18px;
      border-radius: 999px;
      transition: color 0.25s var(--ease), background 0.25s var(--ease);
    }.mod-sono .chart-toggle-btn:hover{ color: var(--text); }.mod-sono .chart-toggle-btn.active{
      color: var(--bg);
      background: var(--text);
    }.mod-sono .chart-toggle-btn:focus-visible{
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }.mod-sono .audit-chart-wrap{
      position: relative;
      width: clamp(500px, min(80vw, 85vh), 1100px);
      height: clamp(500px, min(80vw, 85vh), 1100px);
      overflow: visible;
    }.mod-sono .audit-chart-wrap svg{
      width: 100%;
      height: 100%;
    }.mod-sono .audit-wedge{
      cursor: pointer;
      transition: transform 0.3s var(--ease), filter 0.3s var(--ease), opacity 0.3s var(--ease);
      transform-origin: 350px 350px;
      opacity: 0;
      animation: wedge-in 0.5s var(--ease) forwards;
    }.mod-sono .audit-wedge:hover, .mod-sono .audit-wedge:focus-visible{
      filter: brightness(1.25);
      outline: none;
    }.mod-sono .audit-wedge.active{
      filter: brightness(1.3);
    }.mod-sono .audit-glow-beam{
      position: fixed;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.5s var(--ease);
      inset: 0;
      width: 100vw;
      height: 100vh;
      z-index: 0;
    }.mod-sono .audit-glow-beam.visible{
      opacity: 1;
    }
    @keyframes wedge-in {
      from { opacity: 0; transform: scale(0.85); }
      to   { opacity: 0.55; transform: scale(1); }
    }
    @keyframes label-in {
      from { opacity: 0; }
      to   { opacity: 1; }
    }.mod-sono .audit-fill-circle{
      pointer-events: none;
      transition: opacity 0.4s var(--ease);
      opacity: 0;
    }.mod-sono .audit-fill-circle.visible{ opacity: 0.08; }.mod-sono .audit-center{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -53.6%);
      width: 55%;
      height: 55%;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
      text-align: center;
      transition: box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease), -webkit-backdrop-filter 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
      text-decoration: none;
      background: transparent;
      border: 1px solid transparent;
      -webkit-backdrop-filter: blur(0px);
      backdrop-filter: blur(0px);
    }.mod-sono .audit-center:hover{
      box-shadow: 0 0 40px rgba(160, 200, 240, 0.1);
    }.mod-sono .audit-center.showing-detail{
      background: rgba(18, 24, 30, 0.15);
      -webkit-backdrop-filter: blur(12px) saturate(1.2);
      backdrop-filter: blur(12px) saturate(1.2);
      border-color: rgba(160, 200, 240, 0.08);
      box-shadow: 0 0 60px rgba(0, 0, 0, 0.15), inset 0 0 30px rgba(160, 200, 240, 0.03);
    }.mod-sono .audit-center-default{
      transition: opacity 0.25s var(--ease);
      position: relative;
      z-index: 1;
    }.mod-sono .audit-center.showing-detail .audit-center-default{
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.2s var(--ease), visibility 0s 0.2s;
    }.mod-sono .audit-center-title{
      font-family: 'Patrick Hand SC', cursive;
      font-size: 48px;
      color: var(--text);
      line-height: 1.2;
      margin-bottom: 8px;
    }.mod-sono .audit-center-title em{ font-style: italic; color: var(--accent-dk); }.mod-sono .audit-center-sub{
      font-size: 18px;
      color: var(--text);
      opacity: 0.75;
      letter-spacing: 0.03em;
    }.mod-sono .audit-center-cta{
      margin-top: 16px;
      font-size: 14px;
      color: var(--accent);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      font-weight: 500;
    }.mod-sono .audit-center-detail{
      position: absolute;
      top: 12%;
      left: 50%;
      transform: translate(-50%, 0);
      width: 88%;
      max-width: 480px;
      text-align: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s 0.05s var(--ease);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      z-index: 3;
    }.mod-sono .audit-center.showing-detail .audit-center-detail{ opacity: 1; pointer-events: auto; }.mod-sono .audit-detail-score{
      font-family: 'Patrick Hand SC', cursive;
      font-size: 64px;
      font-weight: 400;
      line-height: 1;
      letter-spacing: -0.02em;
    }.mod-sono .audit-detail-score::after{
      content: ' / 100';
      font-size: 20px;
      color: var(--text-mute);
      letter-spacing: 0.02em;
    }.mod-sono .audit-detail-label{
      font-family: 'Patrick Hand SC', cursive;
      font-size: 28px;
      color: var(--text);
      line-height: 1.2;
      margin-top: 2px;
    }.mod-sono .audit-detail-status{
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 4px 14px;
      border-radius: 20px;
      display: inline-block;
    }.mod-sono .audit-detail-status.red{ background: rgba(220, 80, 80, 0.2); color: #e86060; }.mod-sono .audit-detail-status.orange{ background: rgba(220, 160, 60, 0.2); color: #dca03c; }.mod-sono .audit-detail-status.yellow{ background: rgba(200, 190, 60, 0.2); color: #c8be3c; }.mod-sono .audit-detail-status.green{ background: rgba(80, 180, 120, 0.2); color: #50b478; }.mod-sono .audit-detail-status.blue{ background: rgba(100, 160, 220, 0.2); color: #64a0dc; }.mod-sono .audit-detail-summary{
      font-size: 17px;
      color: var(--text);
      opacity: 0.8;
      line-height: 1.55;
      max-width: 400px;
    }.mod-sono .audit-detail-findings{
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      justify-content: center;
      margin-top: 12px;
      max-width: 420px;
    }.mod-sono .audit-finding{
      font-size: 13px;
      color: var(--text);
      opacity: 0.85;
      background: rgba(160, 200, 240, 0.1);
      border: 1px solid rgba(160, 200, 240, 0.15);
      border-radius: 14px;
      padding: 4px 12px;
      line-height: 1.4;
    }.mod-sono .audit-label{
      font-size: 28px;
      font-family: 'Patrick Hand SC', cursive;
      fill: var(--text);
      pointer-events: none;
      transition: fill 0.3s var(--ease);
      opacity: 0;
      animation: label-in 0.4s var(--ease) forwards;
    }.mod-sono .audit-label-line{
      stroke-width: 1;
      fill: none;
      opacity: 0;
      animation: label-in 0.4s var(--ease) forwards;
      transition: opacity 0.3s var(--ease);
    }.mod-sono .audit-label-bg{
      fill: var(--card-bg);
      fill-opacity: 0.7;
      stroke-width: 1;
      rx: 6;
      ry: 6;
      opacity: 0;
      pointer-events: none;
      animation: label-in 0.4s var(--ease) forwards;
    }

    @media (max-width: 900px) {.mod-sono .nav-cards{ grid-template-columns: 1fr 1fr; gap: 16px; }.mod-sono .nav-cards-secondary{ grid-template-columns: 1fr 1fr; }.mod-sono .nav-card{ padding: 24px 20px 22px; }.mod-sono .nav-card h2{ font-size: 20px; }.mod-sono .nav-card p{ font-size: 13px; margin-bottom: 14px; }.mod-sono .nav-card-icon{ width: 34px; height: 34px; margin-bottom: 14px; }.mod-sono .flip-grid{ grid-template-columns: 1fr 1fr; }.mod-sono .audit-center-title{ font-size: 26px; }.mod-sono .audit-detail-score{ font-size: 48px; }.mod-sono .audit-detail-label{ font-size: 22px; }.mod-sono .audit-detail-summary{ font-size: 13px; }.mod-sono .audit-detail-findings{ display: none; }
    }
    @media (max-width: 600px) {.mod-sono .page{ padding: 40px 20px 60px; }.mod-sono .nav-cards{ grid-template-columns: 1fr 1fr; gap: 12px; }.mod-sono .nav-cards-secondary{ grid-template-columns: 1fr 1fr; }.mod-sono .nav-card{ padding: 20px 16px 18px; }.mod-sono .nav-card h2{ font-size: 18px; }.mod-sono .nav-card p{ font-size: 12px; margin-bottom: 10px; }.mod-sono .nav-card-icon{ width: 30px; height: 30px; margin-bottom: 12px; }.mod-sono .flip-grid{ grid-template-columns: 1fr; }.mod-sono .flip-card{ height: 160px; }.mod-sono .audit-center-title{ font-size: 22px; }.mod-sono .audit-detail-label{ font-size: 18px; }.mod-sono .audit-detail-summary{ font-size: 12px; }.mod-sono .audit-detail-findings{ display: none; }
    }
  