@font-face {
  font-family: SeekSans;
  src: url("/assets/fonts/OpenSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: SeekSans;
  src: url("/assets/fonts/OpenSans-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: SeekSerif;
  src: url("/assets/fonts/NotoSerif-Regular.ttf") format("truetype");
  font-display: swap;
}
:root {
  --navy: #071a2b;
  --green: #0b3027;
  --sage: #dce7e0;
  --paper: #f6f7f5;
  --ink: #20332f;
  --muted: #596b64;
  --line: #dce4df;
  --surface: #ffffff;
  --surface-soft: #eef3ef;
  --radius: 8px;
  --space: 24px;
  --shadow: 0 3px 16px #071a2b04;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.65 SeekSans,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}
:where(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid #9aaf9f;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    400 clamp(28px, 2.7vw, 38px)/1.25 SeekSerif,
    Georgia,
    serif;
  color: var(--navy);
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 16px;
}
h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 8px;
}
p {
  margin-bottom: 16px;
}
strong,
b {
  font-weight: 600;
}
.small,
small {
  font-size: 12px;
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.shell {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #f0f3f0;
  color: var(--navy);
  border-right: 1px solid var(--line);
  padding: 28px 18px;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font:
    400 23px/1.2 SeekSerif,
    Georgia,
    serif;
  letter-spacing: -1px;
}
.brand-logo {
  width: 42px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
  flex-shrink: 0;
}
.tag {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 18px 10px 28px;
  color: var(--muted);
}
.nav {
  display: grid;
  gap: 4px;
}
.nav button {
  border: 1px solid transparent;
  text-align: left;
  color: #455e53;
  background: transparent;
  padding: 11px 14px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
}
.nav button:hover {
  background: #e5ede7;
  color: var(--green);
}
.nav button.active {
  background: #e0e9e2;
  border-color: #d1ded4;
  color: var(--green);
  box-shadow: inset 3px 0 #b7cdbd;
}
.sidebar footer {
  margin-top: auto;
  padding: 36px 12px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.brand-signature {
  font:
    400 22px/1.4 SeekSerif,
    Georgia,
    serif;
  color: var(--navy);
  margin-bottom: 12px;
}
.monogram {
  font:
    48px/1 SeekSerif,
    Georgia,
    serif;
  margin-bottom: 16px;
}
.workspace {
  min-width: 0;
}
.topbar {
  padding: 20px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  background: var(--surface);
}
.topbar .eyebrow {
  margin-bottom: 4px;
}
.topbar > .actions {
  align-items: center;
}
.topbar select {
  max-width: 270px;
  min-width: 0;
  font-size: 12px;
}
.save-status {
  font-size: 11px;
  color: var(--muted);
  max-width: 220px;
  overflow-wrap: anywhere;
}
.content {
  padding: 32px 36px 48px;
  max-width: 1440px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.heading > div {
  min-width: 0;
  flex: 1 1 280px;
}
.heading .eyebrow {
  margin-bottom: 10px;
}
.heading .muted {
  max-width: 70ch;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  background: var(--surface-soft);
}
.badge.green {
  background: var(--sage);
  color: var(--green);
  border-color: transparent;
}
.hero {
  background: var(--green);
  color: white;
  padding: 28px 32px;
  border-radius: var(--radius);
  margin-bottom: var(--space);
}
.hero h2 {
  font:
    400 26px/1.45 SeekSerif,
    Georgia,
    serif;
  color: white;
  max-width: 38ch;
}
.hero p {
  color: #d4e2d9;
  max-width: 65ch;
}
.hero .eyebrow {
  color: #c0d5c8;
  margin-bottom: 12px;
}
.hero > :last-child {
  margin-bottom: 0;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space);
}
.grid > * {
  min-width: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: var(--space);
}
.stat,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space);
  box-shadow: var(--shadow);
  min-width: 0;
}
.card {
  margin-bottom: var(--space);
  overflow-wrap: anywhere;
}
.card > :last-child {
  margin-bottom: 0;
}
.stat strong {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  display: block;
  margin: 10px 0 8px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.row > :first-child {
  min-width: 0;
}
.row > h2,
.row > h3 {
  margin-bottom: 0;
}
.row + .list-item,
.row + .habit {
  margin-top: 16px;
}
.list-item {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.list-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.list-item:last-child {
  padding-bottom: 0;
}
.avatar {
  width: 42px;
  height: 42px;
  background: var(--sage);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.person {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.person > div {
  min-width: 0;
}
.person .badge {
  margin-top: 8px;
}
.btn {
  border: 1px solid #cdd9d1;
  border-radius: 8px;
  padding: 10px 16px;
  min-height: 44px;
  background: var(--surface);
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: middle;
  gap: 8px;
}
.btn:hover:not(:disabled) {
  background: var(--surface-soft);
  border-color: #91aa9a;
}
.btn.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.btn.primary:hover:not(:disabled) {
  background: #174a3c;
  border-color: #174a3c;
}
.btn.subtle {
  padding: 8px 12px;
  min-height: 40px;
  font-size: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
}
.habit {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  vertical-align: middle;
  flex-shrink: 0;
}
.habit input[type="checkbox"] {
  margin: 3px 0 0;
}
.habit .body {
  flex: 1;
  min-width: 0;
}
.habit .eyebrow {
  margin-bottom: 5px;
}
.habit strong,
.habit p {
  overflow-wrap: anywhere;
}
.habit .small {
  margin-top: 4px;
}
.habit summary {
  font-size: 12px;
  color: var(--green);
  cursor: pointer;
  margin-top: 8px;
  padding: 4px 0;
  font-weight: 600;
}
.habit details[open] {
  background: var(--paper);
  border-radius: 8px;
  padding: 0 12px 8px;
  margin-top: 8px;
}
.habit details p {
  margin: 8px 0 0;
}
.habit select {
  width: 128px;
  max-width: 100%;
  font-size: 12px;
  padding: 9px;
  flex-shrink: 0;
}
.completed {
  text-decoration: line-through;
  color: var(--muted);
}
label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}
input:not([type="checkbox"]),
textarea,
select {
  border: 1px solid #c5d2c9;
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 12px;
  min-height: 44px;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
  line-height: 1.6;
}
textarea,
input:not([type="checkbox"]) {
  width: 100%;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #718077;
  opacity: 1;
}
select:disabled,
input:disabled,
textarea:disabled {
  background: var(--surface-soft);
  color: var(--muted);
  opacity: 1;
}
.field {
  margin-bottom: 20px;
}
.field > select {
  width: min(100%, 360px);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.form-grid > * {
  min-width: 0;
}
.note {
  padding: 16px 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 3px solid #809c89;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  margin: 20px 0;
  color: #365044;
}
.note .actions {
  margin-top: 12px;
}
.notice {
  padding: 9px 20px;
  background: #eaf0ec;
  color: #40594d;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tabs .active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.bar,
progress {
  width: 100%;
  height: 8px;
  background: var(--sage);
  border-radius: 99px;
  overflow: hidden;
  margin: 12px 0 20px;
  border: 0;
}
.bar div {
  height: 100%;
  background: #48705b;
}
progress {
  accent-color: #48705b;
  display: block;
}
progress::-webkit-progress-bar {
  background: var(--sage);
  border-radius: 99px;
}
progress::-webkit-progress-value {
  background: #48705b;
  border-radius: 99px;
}
progress::-moz-progress-bar {
  background: #48705b;
  border-radius: 99px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.pillar {
  text-align: center;
  padding: 20px 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.pillar strong {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.4;
}
.empty {
  padding: 24px;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: min(440px, calc(100vw - 32px));
  background: var(--green);
  color: white;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 32px #071a2b20;
  z-index: 20;
  overflow-wrap: anywhere;
}
.resource {
  border-left: 3px solid #809c89;
  padding-left: 20px;
  margin: 24px 0;
}
.report-only,
.mobile-menu-toggle,
.mobile-bottom {
  display: none;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 20px 0;
}
.calendar-grid > strong {
  text-align: center;
  font-size: 11px;
  padding: 8px 0;
  color: var(--muted);
}
.calendar-cell {
  min-height: 92px;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 8px;
  font-size: 12px;
  overflow-wrap: anywhere;
  background: var(--surface);
}
.calendar-cell span {
  display: block;
  background: var(--surface-soft);
  color: var(--green);
  border-radius: 4px;
  padding: 4px;
  font-size: 10px;
  margin-top: 6px;
}
.practice-windows {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.practice-windows label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.material-form {
  max-width: 700px;
}
.material-form textarea {
  min-height: 88px;
  margin-bottom: 16px;
}
.slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 120px);
  gap: 8px;
  margin: 12px 0;
}
.slot-row input {
  min-width: 0;
  padding: 8px;
}
.card form button {
  margin-top: 12px;
}
.card form > label:not(:first-child) {
  margin-top: 16px;
}
.card form > input + input {
  margin-top: 10px;
}
.card form > h3 {
  margin-top: 24px;
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.auth-shell {
  max-width: 540px;
  margin: 56px auto;
  padding: 24px;
}
.auth-shell .brand {
  margin-bottom: 24px;
  color: var(--navy);
}
.auth-shell .brand-logo {
  width: 56px;
  height: 72px;
}
.auth-shell h1 {
  font-size: 30px;
}
.auth-shell input {
  margin-bottom: 20px;
}
.auth-shell input[type="checkbox"] {
  margin-bottom: 0;
}
.auth-shell [role="alert"] {
  color: #963e38;
}
.secret {
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  border-radius: 8px;
  background: var(--sage);
  font-size: 16px;
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 224px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 14px;
  }
  .brand {
    font-size: 20px;
  }
  .content,
  .topbar {
    padding-left: 24px;
    padding-right: 24px;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  :root {
    --space: 20px;
  }
  .shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    min-height: 0;
    overflow: visible;
    padding: 12px 18px;
  }
  .mobile-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    font-size: 22px;
  }
  .brand-logo {
    width: 34px;
    height: 44px;
  }
  .tag,
  .sidebar footer {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--navy);
    border-radius: 8px;
    padding: 9px 15px;
    min-height: 44px;
    font-size: 13px;
  }
  .sidebar .nav {
    display: none;
    margin-top: 16px;
  }
  .sidebar.mobile-menu-open .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .sidebar .nav button {
    white-space: normal;
    padding: 10px 12px;
    font-size: 12px;
  }
  .workspace {
    width: 100%;
  }
  .topbar {
    padding: 16px 18px;
    gap: 12px;
  }
  .topbar > .actions {
    display: flex;
    width: 100%;
    gap: 8px 12px;
  }
  .topbar select {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    min-height: 44px;
  }
  .topbar .save-status {
    flex: 1;
  }
  .content {
    padding: 24px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  }
  h1 {
    font-size: 28px;
    letter-spacing: -0.6px;
  }
  h2 {
    font-size: 18px;
  }
  .heading {
    margin-bottom: 24px;
    gap: 16px;
  }
  .heading > div {
    flex-basis: 100%;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat .eyebrow {
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  .card {
    padding: 20px;
  }
  .hero {
    padding: 24px;
  }
  .hero h2 {
    font-size: 23px;
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .habit {
    flex-wrap: wrap;
    gap: 10px 12px;
  }
  .habit .body {
    flex-basis: calc(100% - 34px);
  }
  .habit select {
    margin-left: 32px;
    min-height: 44px;
    width: calc(100% - 32px);
  }
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .row > .actions {
    width: 100%;
  }
  .btn.subtle {
    min-height: 44px;
  }
  .notice {
    font-size: 10px;
    padding: 8px 16px;
  }
  .mobile-bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 10;
    box-shadow: 0 -4px 20px #071a2b06;
  }
  .mobile-bottom button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    padding: 10px 3px;
    min-height: 46px;
    border-radius: 8px;
  }
  .mobile-bottom button[aria-current="page"] {
    background: var(--sage);
    color: var(--green);
    font-weight: 600;
  }
  .toast {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
  }
  .calendar-grid {
    gap: 3px;
  }
  .calendar-cell {
    min-height: 64px;
    padding: 4px;
    border-radius: 5px;
    font-size: 11px;
  }
  .calendar-cell span {
    font-size: 9px;
    padding: 3px;
  }
  .practice-windows {
    gap: 12px;
  }
  .auth-shell {
    margin: 24px auto;
    padding: 16px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .notice,
  .actions,
  .tabs,
  .btn,
  .toast,
  .mobile-bottom,
  .mobile-menu-toggle {
    display: none !important;
  }
  .shell,
  .grid {
    display: block;
  }
  .content {
    padding: 0;
  }
  .card,
  .stat,
  .hero,
  .pillar {
    break-inside: avoid;
    box-shadow: none;
  }
  .hero {
    color: var(--green);
    background: var(--surface-soft);
  }
  .hero p,
  .hero h2 {
    color: var(--ink);
  }
  body {
    background: white;
  }
  .report-only {
    display: block;
  }
}
/* Shared catalogue and client-document editor surfaces. */
.billing-toolbar {
  margin-bottom: 24px;
}
.billing-item {
  min-width: 0;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.billing-item legend {
  padding: 0 8px;
  font-weight: 600;
  color: var(--green);
}
.billing-item > .actions {
  margin-bottom: 12px;
}
.agreement-editor {
  min-height: 260px;
  line-height: 1.8;
}
#product-form label:has(input[type="checkbox"]),
#invoice-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
#product-form h3,
#invoice-form h3 {
  margin-top: 24px;
}
#product-form .list-item h3,
.billing-toolbar + .card .list-item h3 {
  margin: 8px 0;
}
@media (max-width: 700px) {
  .billing-item {
    padding: 16px 12px;
  }
}
.client-context {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.client-context > strong {
  margin-left: 12px;
  font-size: 16px;
}
.client-context .tabs {
  margin: 16px 0 0;
}
.habit-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.habit-pillar {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}
.habit-pillar summary {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}
.habit-pillar summary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: var(--muted);
}
.habit-pillar[open] summary::after {
  content: "−";
}
.pillar-icon {
  width: 25px;
  height: 25px;
  color: var(--green);
  flex-shrink: 0;
}
.pillar-actions {
  margin-top: 16px;
}
.daily-action {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  font-weight: 400;
  margin: 18px 0 8px;
}
.daily-action input {
  margin: 2px 0 0;
}
.habit-status {
  width: calc(100% - 30px);
  margin-left: 30px;
  font-size: 12px;
  min-height: 36px;
  padding: 6px 10px;
}
.journey-steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
}
.journey-steps li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 12px;
  color: var(--muted);
}
.journey-steps .step-done {
  color: var(--green);
  background: var(--sage);
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
details.card > summary {
  font-size: 17px;
}
details.card[open] > summary {
  margin-bottom: 16px;
}
.email-body,
.terms-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.terms-copy {
  line-height: 1.85;
  margin: 20px 0;
}
.onboarding-agreement {
  margin-bottom: 24px;
}
.auth-shell:has(#private-intake),
.auth-shell:has(#private-agree) {
  max-width: 820px;
}
.auth-shell:has(#private-intake) textarea {
  min-height: 100px;
}
#private-intake details {
  border-top: 1px solid var(--line);
  margin: 16px 0;
  padding: 12px 0;
}
@media (max-width: 700px) {
  .habit-pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .habit-pillar:not([open]) {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .client-context .tabs {
    gap: 6px;
  }
  .client-context .tabs .btn {
    padding: 6px 10px;
  }
}
.hero .btn.primary {
  background: white;
  color: var(--green);
  border-color: white;
}
.hero .btn.primary:hover:not(:disabled) {
  background: var(--sage);
  border-color: var(--sage);
}
#invoice-form:has([name="requiresAgreement"]:not(:checked)) .agreement-fields {
  display: none;
}
#billing-receipt-form label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
.time-preview {
  margin: 8px 0 16px;
  overflow-wrap: anywhere;
}
