/* My Home: a quiet notebook, not a marketing dashboard. Scoped to its own pages. */
@font-face {
  font-family: "Manrope";
  src: url("./my-home-manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #1f2d3b;
  --muted: #59646b;
  --line: #d8dedc;
  --paper: #fff;
  --canvas: #f5f5f0;
  --blue: #294766;
  --green: #33614e;
  --red: #943b30;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #ae620f;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  letter-spacing: -0.045em;
}
h2 {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.1rem;
}
button {
  border-radius: 4px;
}
input,
select,
textarea {
  width: 100%;
  background: white;
  color: var(--ink);
  border: 1px solid #8c969b;
  border-radius: 4px;
  min-height: 46px;
  padding: 9px 12px;
}
textarea {
  resize: vertical;
  min-height: 106px;
}
input[type="checkbox"] {
  width: 21px;
  min-height: 21px;
  accent-color: var(--blue);
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
small {
  font-size: 0.85rem;
}
.skip {
  position: absolute;
  left: 16px;
  top: -90px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
}
.mh-head {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 16px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mh-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}
.mh-product {
  border-left: 1px solid var(--line);
  padding-left: 25px;
  text-decoration: none;
  font-size: 16px;
}
.mh-guide-link {
  margin-left: auto;
  font-size: 14px;
  text-underline-offset: 4px;
}
.mh-mode-note,
.mh-preview-note {
  font-size: 13px;
  color: #515d63;
  padding: 10px 24px;
  background: #eceee8;
  border-bottom: 1px solid var(--line);
}
.mh-preview-note {
  padding: 12px 0;
  background: transparent;
}
.mh-layout {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
  min-height: calc(100vh - 124px);
}
.mh-sidebar {
  padding: 38px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.mh-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}
.mh-home-name {
  font-size: 19px;
  font-weight: 600;
  margin: 8px 0 25px;
  overflow-wrap: anywhere;
}
.mh-sidebar nav {
  display: grid;
  gap: 4px;
}
.mh-sidebar nav a {
  padding: 10px 12px;
  min-height: 46px;
  text-decoration: none;
  border-radius: 3px;
  font-size: 15px;
}
.mh-sidebar nav a[aria-current="page"] {
  background: #e5eaf0;
  color: #183a5a;
  font-weight: 600;
}
.mh-sidebar nav a:hover {
  background: #e8ebe8;
}
.mh-sidebar-foot {
  margin-top: 70px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.mh-workspace {
  padding: 42px 0 72px 48px;
  min-width: 0;
}
.mh-topline {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 9px;
}
.mh-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.mh-page-heading p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 550px;
}
.mh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 11px 19px;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}
.mh-button:hover {
  background: #1d3650;
}
.mh-button.secondary {
  background: transparent;
  color: var(--blue);
  border-color: #899aaa;
}
.mh-button.secondary:hover {
  background: #e8edf1;
}
.mh-button.danger {
  background: var(--red);
  border-color: var(--red);
}
.mh-text-button {
  border: 0;
  background: none;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 8px 5px;
}
.mh-text-link {
  color: var(--blue);
  text-underline-offset: 4px;
}
.mh-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
  gap: 36px;
}
.mh-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
}
.mh-section-head a {
  font-size: 14px;
  color: var(--blue);
}
.mh-section {
  margin-bottom: 35px;
}
.mh-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mh-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.mh-row-content {
  flex: 1;
  min-width: 0;
}
.mh-row-title {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mh-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.mh-note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  color: var(--muted);
  margin-top: 8px;
}
.mh-complete {
  width: 44px;
  height: 44px;
  border: 1px solid #9ba8ab;
  background: var(--paper);
  flex-shrink: 0;
  font-size: 21px;
  color: var(--green);
}
.mh-complete:hover {
  border-color: var(--green);
  background: #edf2ed;
}
.mh-overdue {
  color: #8b4a23;
}
.mh-budget-panel {
  padding: 25px;
  background: #e9ede6;
  border-top: 3px solid #6b7f6a;
  align-self: start;
}
.mh-budget-panel h2 {
  font-size: 1.25rem;
}
.mh-budget-total {
  font-size: 37px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
  margin: 19px 0 7px;
}
.mh-budget-panel p {
  color: #415247;
  font-size: 14px;
}
.mh-budget-panel a {
  display: inline-block;
  margin-top: 21px;
  font-size: 14px;
}
.mh-rule-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 25px;
}
.mh-empty {
  padding: 28px 0;
  color: var(--muted);
}
.mh-empty p {
  max-width: 530px;
  margin-bottom: 14px;
}
.mh-subsection {
  margin-top: 32px;
}
.mh-money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.mh-project {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.mh-project-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.mh-project-figures {
  display: flex;
  gap: 30px;
  margin: 17px 0;
  flex-wrap: wrap;
}
.mh-project-figures div {
  font-size: 13px;
  color: var(--muted);
}
.mh-project-figures strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}
.mh-project-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}
.mh-project-links a {
  color: var(--blue);
  text-underline-offset: 4px;
}
.mh-search {
  max-width: 500px;
  margin-bottom: 14px;
}
.mh-settings {
  max-width: 650px;
}
.mh-settings section {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.mh-settings h2 {
  margin-bottom: 12px;
}
.mh-settings p {
  color: var(--muted);
  margin-bottom: 16px;
}
.mh-settings .mh-button {
  margin: 6px 8px 6px 0;
}
.mh-inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
}
.mh-inline-form > div {
  flex: 1;
}
.mh-save-message {
  min-height: 24px;
  margin-top: 12px;
  color: var(--green);
  font-size: 14px;
}
.mh-status {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #203340;
  color: white;
  max-width: calc(100% - 32px);
  width: max-content;
  padding: 12px 18px;
  z-index: 30;
  border-radius: 4px;
  box-shadow: 0 3px 12px #0002;
  font-size: 14px;
}
.mh-status:empty {
  display: none;
}
.mh-status button {
  background: transparent;
  color: white;
  border: 0;
  text-decoration: underline;
  padding: 5px 10px;
  min-height: 44px;
}
.mh-error {
  color: var(--red);
  margin: 14px 0;
  font-size: 15px;
}
.mh-auth {
  max-width: 470px;
}
.mh-auth p {
  color: var(--muted);
  margin: 18px 0;
}
.mh-auth label {
  margin-top: 22px;
}
.mh-auth .mh-button {
  margin-top: 20px;
}
.mh-onboarding {
  max-width: 520px;
  padding-top: 20px;
}
.mh-onboarding p {
  color: var(--muted);
  margin: 20px 0;
}
.mh-onboarding .mh-button {
  margin-top: 20px;
}
.mh-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}
.mh-check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}
.mh-check label {
  font-weight: 400;
  margin: 0;
}
.mh-noscript {
  padding: 30px;
}
dialog {
  width: min(580px, calc(100% - 28px));
  max-height: 90dvh;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #18232f66;
}
dialog h2 {
  margin-bottom: 20px;
}
dialog .mh-field {
  margin-bottom: 18px;
}
dialog .mh-field small {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.mh-form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.mh-form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.mh-dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mh-dialog-top button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 24px;
}
.mh-landing {
  max-width: 1160px;
  padding: 0 28px;
  margin: auto;
}
.mh-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 75px;
  align-items: center;
  padding: 76px 0 85px;
}
.mh-intro h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 20px 0 24px;
}
.mh-lead {
  font-size: 19px;
  line-height: 1.7;
  max-width: 490px;
  color: var(--muted);
  margin-bottom: 30px;
}
.mh-notebook {
  background: #fff;
  padding: 34px;
  border: 1px solid #d9dcd2;
  border-top: 4px solid #64765f;
  box-shadow: 8px 9px 0 #e8eae1;
}
.mh-notebook h2 {
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 17px 0 25px;
}
.mh-paper-row {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.mh-paper-row span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
}
.mh-paper-row strong {
  font-size: 15px;
  font-weight: 500;
}
.mh-story {
  padding: 58px 0;
  border-top: 1px solid #a6b1ad;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
}
.mh-story > h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.3;
}
.mh-story article {
  position: relative;
  padding: 0 0 30px 44px;
}
.mh-step {
  position: absolute;
  left: 0;
  font-size: 12px;
  color: var(--muted);
}
.mh-story h3 {
  margin-bottom: 12px;
}
.mh-story p {
  color: var(--muted);
}
.mh-closing {
  border-top: 1px solid var(--line);
  padding: 50px 0 70px;
  max-width: 800px;
}
.mh-closing p {
  margin: 18px 0;
  color: var(--muted);
}
.mh-footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 1300px) {
  .mh-layout {
    margin: 0 28px;
  }
  .mh-workspace {
    padding-left: 36px;
  }
}
@media (max-width: 900px) {
  .mh-content-grid {
    grid-template-columns: 1fr;
  }
  .mh-budget-panel {
    max-width: 550px;
  }
  .mh-layout {
    grid-template-columns: 175px minmax(0, 1fr);
  }
  .mh-sidebar {
    padding-right: 14px;
  }
  .mh-workspace {
    padding-left: 26px;
  }
  .mh-page-heading {
    flex-wrap: wrap;
  }
  .mh-intro {
    gap: 35px;
  }
  .mh-story {
    gap: 35px;
  }
  .mh-head {
    padding: 16px 24px;
  }
}
@media (max-width: 650px) {
  .mh-head {
    min-height: 72px;
    padding: 14px 18px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .mh-brand {
    font-size: 23px;
  }
  .mh-product {
    padding-left: 14px;
  }
  .mh-guide-link {
    font-size: 12px;
  }
  .mh-mode-note {
    padding: 10px 18px;
    line-height: 1.5;
  }
  .mh-layout {
    display: block;
    margin: 0 20px;
  }
  .mh-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 21px 0 14px;
  }
  .mh-sidebar > .mh-eyebrow,
  .mh-sidebar-foot {
    display: none;
  }
  .mh-home-name {
    font-size: 16px;
    margin: 0 0 12px;
  }
  .mh-sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
  }
  .mh-sidebar nav a {
    font-size: 14px;
    padding: 10px;
    min-height: 44px;
  }
  .mh-workspace {
    padding: 29px 0 80px;
  }
  .mh-page-heading {
    margin-bottom: 27px;
    gap: 17px;
  }
  .mh-page-heading h1 {
    font-size: 31px;
  }
  .mh-page-heading p {
    font-size: 15px;
  }
  .mh-row {
    gap: 10px;
    padding: 17px 0;
  }
  .mh-row-title {
    font-size: 16px;
  }
  .mh-row > .mh-text-button {
    font-size: 14px;
  }
  .mh-row .mh-money {
    font-size: 14px;
  }
  .mh-meta {
    font-size: 13px;
  }
  .mh-inline-form {
    align-items: stretch;
    flex-direction: column;
  }
  .mh-form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 22px;
  }
  .mh-project-figures {
    gap: 23px;
  }
  .mh-project-figures strong {
    font-size: 18px;
  }
  .mh-landing {
    padding: 0 22px;
  }
  .mh-intro {
    display: block;
    padding: 42px 0 55px;
  }
  .mh-intro h1 {
    font-size: 43px;
  }
  .desktop-break {
    display: none;
  }
  .mh-notebook {
    margin: 40px 6px 0 0;
    padding: 25px;
  }
  .mh-lead {
    font-size: 17px;
  }
  .mh-story {
    display: block;
    padding: 35px 0 10px;
  }
  .mh-story > h2 {
    margin-bottom: 34px;
    font-size: 29px;
  }
  .mh-story article {
    padding-left: 36px;
  }
  .mh-closing {
    padding: 35px 0;
  }
  .mh-preview-note {
    font-size: 12px;
  }
  .mh-form-actions .mh-button {
    flex: 1;
  }
  .mh-project-head {
    gap: 12px;
  }
  .mh-project-head h2 {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.mh-content-grid {
  margin-bottom: 32px;
}
@media print {
  .mh-head,
  .mh-sidebar,
  .mh-mode-note,
  .mh-status,
  .mh-button,
  .mh-text-button {
    display: none;
  }
  .mh-layout {
    display: block;
  }
  .mh-workspace {
    padding: 0;
  }
  .mh-content-grid {
    display: block;
  }
  body {
    background: white;
  }
}

/* Product layout: a home workspace with horizontal navigation. */
:root {
  --canvas: #f3f4f1;
  --line: #dfe3e1;
  --ink: #223647;
  --muted: #5b6871;
  --blue: #274c6a;
}
body {
  letter-spacing: -0.015em;
}
h1 {
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.055em;
}
h2 {
  font-size: 1.2rem;
  font-weight: 650;
}
.mh-head {
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
}
.mh-brand {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.2px;
}
.mh-product {
  font-weight: 500;
  color: var(--muted);
}
.mh-guide-link {
  font-size: 13px;
  text-decoration: none;
}
.mh-guide-link:hover {
  text-decoration: underline;
}
.mh-mode-note {
  padding: 8px max(24px, calc((100vw - 1120px) / 2));
  background: #e9eeef;
  border: 0;
  color: #4b606c;
  font-size: 12px;
}
.mh-layout {
  display: block;
  max-width: 1120px;
  margin: 0 auto;
  min-height: calc(100dvh - 110px);
}
.mh-home-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 24px;
}
.mh-home-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.mh-home-symbol {
  flex-shrink: 0;
  color: var(--blue);
  width: 50px;
  height: 50px;
  padding: 4px;
  background: #e5ebed;
  border-radius: 9px;
}
.mh-home-context .mh-eyebrow {
  letter-spacing: 0.06em;
  font-size: 10px;
  font-weight: 650;
}
.mh-home-name {
  font-size: 19px;
  margin: 4px 0 0;
  font-weight: 650;
  line-height: 1.4;
}
.mh-sync {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}
.mh-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #cdd5d7;
}
.mh-subscription {
  margin-top: 32px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.mh-plan-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 12px;
}
.mh-subscription > .mh-text-button {
  display: block;
  margin-top: 16px;
}
.mh-tabs a {
  padding: 12px 2px 15px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  min-height: 48px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.mh-tabs a[aria-current="page"] {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 750;
}
.mh-tabs a:hover {
  color: var(--ink);
}
.mh-workspace {
  padding: 36px 0 80px;
}
.mh-topline {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
.mh-page-heading {
  align-items: center;
  margin-bottom: 32px;
}
.mh-page-heading p {
  font-size: 14px;
  margin-top: 9px;
  line-height: 1.7;
}
.mh-button {
  min-height: 45px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 650;
  padding: 12px 18px;
  box-shadow: 0 1px 2px #20384b12;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}
.mh-button:active {
  transform: translateY(1px);
}
.mh-button.secondary {
  border-color: #bdc9cf;
  background: #fff;
}
.mh-content-grid {
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 32px;
}
.mh-content-grid > .mh-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px 26px 15px;
  margin: 0;
}
.mh-section-head {
  padding-bottom: 17px;
  border-color: var(--line);
}
.mh-section-head a {
  font-size: 12px;
  text-decoration: none;
}
.mh-section-head a:hover {
  text-decoration: underline;
}
.mh-row {
  gap: 16px;
  padding: 21px 0;
}
.mh-row:last-child {
  border-bottom: 0;
}
.mh-row-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
}
.mh-meta {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.6;
}
.mh-note {
  font-size: 15px;
  line-height: 1.75;
  max-width: 65ch;
}
.mh-complete {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border-color: #d3dcdf;
  color: var(--blue);
  background: white;
  font-size: 24px;
}
.mh-complete:hover {
  background: #e9eff3;
  border-color: var(--blue);
}
.mh-text-button {
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.mh-text-button:hover {
  text-decoration: underline;
}
.mh-rule-note {
  font-size: 12px;
  line-height: 1.75;
  border-color: var(--line);
  padding-top: 16px;
  margin-top: 12px;
}
.mh-budget-panel {
  border: 1px solid #d6e0e6;
  border-radius: 9px;
  background: #e7eef2;
  padding: 26px;
}
.mh-budget-panel h2 {
  font-size: 14px;
  font-weight: 600;
}
.mh-budget-total {
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -0.06em;
  margin: 22px 0 12px;
}
.mh-budget-panel p {
  font-size: 13px;
  color: #526674;
  line-height: 1.8;
}
.mh-budget-panel a {
  font-size: 12px;
  margin-top: 25px;
  color: var(--blue);
}
.mh-workspace > .mh-section {
  margin-top: 35px;
}
.mh-project {
  background: white;
  border: 1px solid var(--line);
  padding: 25px 28px;
  border-radius: 9px;
  margin-bottom: 18px;
}
.mh-project-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 20px 0;
}
.mh-project-figures div {
  font-size: 12px;
}
.mh-project-figures strong {
  font-size: 23px;
  font-weight: 600;
  margin-top: 5px;
}
.mh-project-links {
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 18px;
}
.mh-search {
  margin-bottom: 22px;
}
.mh-search label {
  font-size: 12px;
}
#record-results {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0 25px;
}
.mh-settings {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.mh-settings section {
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  min-width: 0;
}
.mh-settings section:first-child {
  grid-column: 1 / -1;
}
.mh-settings section:last-child {
  background: transparent;
  border-style: dashed;
}
.mh-settings h2 {
  font-size: 17px;
}
.mh-settings p {
  font-size: 13px;
  line-height: 1.8;
}
.mh-settings label {
  font-size: 13px;
}
.mh-settings .mh-inline-form {
  max-width: 650px;
}
input,
select,
textarea {
  border-color: #afbec6;
  border-radius: 6px;
  font-size: 16px;
}
input:hover,
select:hover,
textarea:hover {
  border-color: #718b9c;
}
label {
  font-size: 13px;
  font-weight: 650;
}
dialog {
  margin: 0 0 0 auto;
  width: min(570px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 34px;
  box-shadow: -12px 0 40px #1e354c15;
}
dialog::backdrop {
  background: #1f344b40;
}
dialog h2 {
  font-size: 25px;
  font-weight: 650;
  margin-bottom: 26px;
}
dialog .mh-field {
  margin-bottom: 22px;
}
dialog .mh-field small {
  font-size: 12px;
  line-height: 1.6;
}
dialog textarea {
  min-height: 150px;
}
.mh-dialog-top {
  align-items: baseline;
}
.mh-dialog-top button {
  border-radius: 50%;
  background: #f0f3f4;
  color: var(--ink);
  font-size: 22px;
}
.mh-form-actions {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.mh-auth,
.mh-onboarding {
  margin: 16px auto 0;
  padding: 38px;
  max-width: 530px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.mh-auth h1,
.mh-onboarding h1 {
  font-size: 32px;
}
.mh-auth p,
.mh-onboarding p {
  font-size: 14px;
}
.mh-auth .mh-button,
.mh-onboarding .mh-button {
  width: 100%;
}
.mh-landing {
  max-width: 1120px;
}
.mh-intro h1 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 550;
  letter-spacing: -0.065em;
  font-size: clamp(38px, 4.7vw, 58px);
  line-height: 1.13;
}
.mh-notebook {
  border-radius: 3px;
  border-color: #ccd7dd;
  border-top-color: var(--blue);
  box-shadow: 8px 9px 0 #e6ebed;
}
.mh-notebook h2,
.mh-story > h2 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.mh-lead {
  font-size: 17px;
}
@media (max-width: 1180px) {
  .mh-layout {
    margin: 0 28px;
  }
}
@media (max-width: 800px) {
  .mh-content-grid {
    grid-template-columns: 1fr;
  }
  .mh-budget-panel {
    max-width: none;
  }
  .mh-settings {
    grid-template-columns: 1fr;
  }
  .mh-home-context {
    padding: 24px 0;
  }
  .mh-page-heading {
    align-items: flex-start;
  }
}
@media (max-width: 650px) {
  .mh-head {
    padding: 13px 18px;
    gap: 13px;
    min-height: 68px;
  }
  .mh-guide-link {
    font-size: 11px;
  }
  .mh-product {
    font-size: 14px;
    padding-left: 13px;
  }
  .mh-mode-note {
    padding: 8px 18px;
    font-size: 11px;
  }
  .mh-layout {
    margin: 0 18px;
  }
  .mh-home-context {
    align-items: flex-start;
    padding: 24px 0 18px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .mh-home-identity {
    gap: 12px;
  }
  .mh-home-symbol {
    width: 42px;
    height: 42px;
  }
  .mh-home-name {
    font-size: 17px;
  }
  .mh-sync {
    font-size: 10px;
    padding-left: 54px;
    margin-top: -3px;
    width: 100%;
  }
  .mh-tabs {
    gap: 0;
    flex-wrap: wrap;
  }
  .mh-tabs a {
    font-size: 12px;
    padding: 12px 11px;
    min-height: 46px;
  }
  .mh-tabs a:first-child {
    padding-left: 0;
    padding-right: 15px;
  }
  .mh-workspace {
    padding: 28px 0 70px;
  }
  .mh-page-heading {
    gap: 18px;
    margin-bottom: 25px;
  }
  .mh-page-heading h1 {
    font-size: 30px;
  }
  .mh-page-heading p {
    font-size: 13px;
  }
  .mh-content-grid {
    gap: 20px;
  }
  .mh-content-grid > .mh-section {
    padding: 20px 18px 14px;
  }
  .mh-row {
    gap: 12px;
    padding: 18px 0;
  }
  .mh-row-title {
    font-size: 14px;
  }
  .mh-meta {
    font-size: 11px;
  }
  .mh-row > .mh-text-button {
    font-size: 11px;
  }
  .mh-budget-panel {
    padding: 24px;
  }
  .mh-budget-total {
    font-size: 36px;
  }
  .mh-complete {
    width: 44px;
    height: 44px;
  }
  .mh-section-head h2 {
    font-size: 17px;
  }
  .mh-project {
    padding: 22px 19px;
  }
  .mh-project-head h2 {
    font-size: 20px;
  }
  .mh-project-figures {
    gap: 12px;
  }
  .mh-project-figures div {
    font-size: 10px;
  }
  .mh-project-figures strong {
    font-size: 19px;
  }
  .mh-project-links {
    gap: 10px;
  }
  .mh-settings {
    gap: 18px;
  }
  .mh-settings section {
    padding: 23px 21px;
  }
  .mh-auth,
  .mh-onboarding {
    padding: 25px 22px;
    margin-top: 0;
  }
  #record-results {
    padding: 0 18px;
  }
  dialog {
    width: 100%;
    padding: 26px 22px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .mh-intro h1 {
    font-size: 41px;
  }
}
@media print {
  .mh-home-context,
  .mh-tabs {
    display: none;
  }
  .mh-layout {
    margin: 0;
  }
  .mh-workspace {
    padding: 0;
  }
  .mh-content-grid,
  .mh-settings {
    display: block;
  }
  .mh-project,
  .mh-settings section {
    break-inside: avoid;
  }
}

/* Launch refinement: clear reading order and progressive detail, not tile grids. */
:root {
  --canvas: #f7f8f6;
  --ink: #203543;
  --muted: #53636d;
}
.mh-home-context {
  padding-top: 22px;
  padding-bottom: 18px;
}
.mh-home-symbol {
  background: transparent;
  border-radius: 0;
  width: 40px;
  height: 40px;
}
.mh-home-context .mh-eyebrow {
  display: none;
}
.mh-workspace {
  padding-top: 32px;
}
.mh-page-heading {
  align-items: flex-start;
}
.mh-page-heading p {
  max-width: 55ch;
  font-size: 16px;
}
.mh-section-head h2 {
  font-size: 20px;
}
.mh-content-grid > .mh-section {
  background: transparent;
  border: 0;
  padding: 0;
}
.mh-budget-panel {
  background: #edf1ec;
  border: 0;
  border-radius: 4px;
}
.mh-budget-panel p,
.mh-budget-panel a {
  font-size: 14px;
}
.mh-budget-total {
  letter-spacing: -0.045em;
}
.mh-project {
  border-radius: 4px;
  padding: 28px 32px;
}
.mh-project-tools {
  padding: 12px 0 8px;
}
.mh-project-tools p {
  margin-top: 10px;
}
.mh-project-links {
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.mh-project-figures div {
  font-size: 14px;
}
.mh-project-figures strong {
  font-variant-numeric: tabular-nums;
}
.mh-settings {
  display: block;
  max-width: 800px;
}
.mh-settings section,
.mh-settings section:last-child {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 28px 0;
  border-radius: 0;
}
.mh-settings section:first-child {
  padding-top: 0;
}
.mh-settings p,
.mh-settings label {
  font-size: 15px;
}
.mh-settings section > .mh-button {
  margin: 12px 10px 0 0;
}
.mh-subscription {
  max-width: 800px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 28px 0;
  margin: 0;
  border-radius: 0;
}
.mh-subscription h2 {
  margin-bottom: 16px;
}
.mh-plan-options .mh-button {
  text-align: left;
  white-space: normal;
}
.mh-app-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.mh-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.mh-filter {
  background: transparent;
  border: 1px solid var(--line);
  padding: 9px 14px;
  min-height: 44px;
  font-size: 14px;
}
.mh-filter[aria-pressed="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.mh-toolbar > .mh-text-button {
  margin-left: auto;
}
.mh-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  font-size: 15px;
}
.mh-choice input {
  flex: 0 0 21px;
  margin-top: 4px;
}
.mh-choice strong,
.mh-choice small {
  display: block;
}
.mh-choice small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.7;
}
.mh-consent {
  border: 0;
  font-size: 14px;
}
.mh-ideas {
  margin: 14px 0 24px;
}
.mh-dialog-context {
  margin: -10px 0 24px;
  color: var(--muted);
}
.mh-plain-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.mh-plain-fieldset legend {
  font-size: 18px;
  font-weight: 650;
  margin: 0 0 22px;
}
.mh-forecast {
  padding: 22px;
  margin: 20px 0;
  background: #edf1ec;
  border-left: 3px solid #506e58;
}
.mh-forecast > span {
  display: block;
  font-size: 14px;
}
.mh-forecast > strong {
  display: block;
  font-size: 32px;
  font-variant-numeric: tabular-nums;
  margin: 8px 0;
}
.mh-forecast hr {
  border: 0;
  border-top: 1px solid #ced8cf;
  margin: 16px 0;
}
.mh-forecast small {
  display: block;
  margin-top: 12px;
  line-height: 1.7;
}
.mh-quote-details summary {
  padding: 18px 0;
  font-size: 17px;
  font-weight: 650;
  cursor: pointer;
}
.mh-quote-details > p {
  font-size: 14px;
  line-height: 1.8;
}
.mh-quote {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
  padding: 20px 0 0;
  min-width: 0;
}
.mh-quote legend {
  padding-right: 12px;
  font-weight: 650;
}
.mh-quote textarea {
  min-height: 90px;
}
.mh-danger {
  background: #873d32;
  border-color: #873d32;
}
.mh-danger:hover {
  background: #702e25;
}
#deletion-form {
  margin-top: 24px;
}
#deletion-form input {
  margin-bottom: 18px;
}
[data-deletion-message] {
  margin-top: 12px;
}
.mh-legal {
  max-width: 760px;
  margin: 44px auto 80px;
  padding: 0 24px;
}
.mh-legal h1 {
  margin: 30px 0 20px;
}
.mh-legal h2 {
  margin: 32px 0 12px;
}
.mh-legal p {
  margin-bottom: 16px;
  line-height: 1.85;
}
.mh-auth > p {
  margin-top: 16px;
}
button:disabled {
  cursor: not-allowed;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--blue);
}
@media (max-width: 1180px) {
  .mh-app-footer {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 640px) {
  .mh-home-context {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .mh-home-name {
    font-size: 17px;
  }
  .mh-home-symbol {
    display: none;
  }
  .mh-tabs {
    gap: 0;
    justify-content: space-between;
  }
  .mh-tabs a {
    font-size: 13px;
    padding: 12px 3px;
  }
  .mh-page-heading {
    display: block;
  }
  .mh-page-heading > .mh-button {
    margin-top: 20px;
  }
  .mh-project {
    padding: 22px 20px;
  }
  .mh-project-figures {
    gap: 12px;
  }
  .mh-project-figures strong {
    font-size: 21px;
  }
  .mh-project-figures div {
    font-size: 12px;
  }
  .mh-toolbar > .mh-text-button {
    margin-left: 0;
  }
  .mh-plan-options {
    display: grid;
    grid-template-columns: 1fr;
  }
  .mh-app-footer {
    margin-left: 18px;
    margin-right: 18px;
  }
  .mh-form-pair {
    grid-template-columns: 1fr;
  }
  .mh-settings section > .mh-button {
    display: block;
  }
}
@media print {
  .mh-tabs,
  .mh-home-context,
  .mh-app-footer,
  .mh-toolbar {
    display: none;
  }
}

.mh-quote-summary {
  margin: 18px 0;
}
.mh-quote-summary summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 650;
}
.mh-quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.mh-quote-row > strong {
  font-variant-numeric: tabular-nums;
}
.mh-quote-row .mh-note {
  overflow-wrap: anywhere;
}

.mh-price-offer {
  max-width: 680px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
}
.mh-price-offer p {
  margin: 18px 0;
}
