.mandate-note {
  padding: 20px 0 20px clamp(16px, 3vw, 40px);
  border-left: 2px solid #c8b6b4;
  max-width: 54ch;
}
.detail-page .mandate-note h2 {
  font-size: 18px;
  letter-spacing: -0.01em;
}
.mandate-note p {
  margin: 8px 0 0;
}
@media (max-width: 720px) {
  .mandate-note {
    padding: 4px 0 4px 16px;
    margin-top: 2px;
  }
}
/* Consultation and practice pages. */
.text-action,
.plain-button,
.detail-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font: 650 15px/1.35 var(--display);
  color: var(--wine);
  text-decoration: underline;
  text-decoration-color: #baa0a8;
  text-underline-offset: 4px;
}
.text-action svg,
.detail-start svg {
  width: 18px;
  height: 18px;
}
.plain-button {
  border: 0;
  background: none;
  padding: 6px 4px;
  cursor: pointer;
}
.demo-tag {
  color: #6f3549;
  font-size: 14px;
  font-weight: 680;
}
.meeting-grid,
.detail-grid,
.brief-section,
.practice-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 74px);
}
.meeting-grid h2 {
  max-width: 16ch;
}
.meeting-lead,
.meeting-info p,
.detail-content p,
.detail-content li,
.case-notes dd {
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 1.6;
  color: var(--soft);
}
.tint-rose {
  --tint: #f4e8ea;
  --tone: #812e43;
}
.tint-sage {
  --tint: #e9efe7;
  --tone: #425f49;
}
.tint-sand {
  --tint: #f1eadc;
  --tone: #765d32;
}
.tint-slate {
  --tint: #e6edf1;
  --tone: #405b6a;
}
.practice[hidden],
#brief-editor[hidden] {
  display: none;
}
.first-meeting {
  background: #eeebe4;
  padding-block: clamp(48px, 5.5vw, 86px);
}
.meeting-lead {
  margin-top: 19px;
  max-width: 40ch;
}
.meeting-info details {
  border-top: 1px solid #cfcac2;
  padding: 14px 0;
}
.meeting-info summary {
  cursor: pointer;
  min-height: 36px;
  font-weight: 700;
  line-height: 1.5;
  padding: 5px 0;
  font-size: 17px;
}
.meeting-info details p {
  margin: 9px 0 3px;
}
.meeting-info > .button {
  margin-top: 17px;
}
.detail-content {
  padding-top: 15px;
  padding-bottom: clamp(42px, 6vw, 76px);
}
.detail-start {
  color: #fff8f1;
  text-decoration: none;
}
.detail-page h1 {
  font-size: clamp(39px, 5.2vw, 76px);
  font-weight: 690;
  line-height: 1.055;
  letter-spacing: -0.04em;
}
.detail-page h2 {
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.detail-page h3 {
  font-size: 21px;
  line-height: 1.35;
  margin-top: 24px;
}
.detail-content section {
  scroll-margin-top: 14px;
}
.practice-head {
  align-items: center;
  padding-block: clamp(14px, 2.6vw, 42px) clamp(32px, 4.5vw, 62px);
}
.practice-head > div > p {
  margin: 16px 0 23px;
  max-width: 51ch;
}
.detail-grid,
.brief-section,
.terms-inline {
  padding-block: clamp(28px, 3.8vw, 52px);
  border-top: 1px solid var(--edge);
}
.detail-block h2 + p,
.terms-inline p {
  margin: 15px 0 0;
  max-width: 65ch;
}
.material-list {
  padding-left: 23px;
  margin: 15px 0 0;
}
.material-list li + li {
  margin-top: 6px;
}
.practice-sample {
  background: #eee9e0;
  border-radius: 12px;
  padding: clamp(22px, 3.5vw, 50px);
  margin: 0 0 clamp(30px, 3.8vw, 52px);
}
.practice-sample h2 {
  max-width: 28ch;
  margin: 12px 0 19px;
}
.case-notes {
  margin: 0;
}
.case-notes div {
  display: grid;
  grid-template-columns: minmax(110px, 21%) 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #d4cfc5;
}
.case-notes dt {
  font-weight: 700;
  font-size: 15px;
}
.case-notes dd {
  margin: 0;
  max-width: 64ch;
}
.brief-section p {
  margin: 13px 0;
  max-width: 48ch;
}
.brief-section .brief-privacy {
  font-size: 15px;
}
#brief-editor label {
  display: block;
  font-weight: 700;
  margin: 0 0 6px;
}
#brief-editor textarea {
  width: 100%;
  border: 1px solid #a7a29b;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
  border-radius: 7px;
  padding: 10px;
  resize: vertical;
  margin-bottom: 13px;
}
.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
#brief-status {
  font-size: 14px;
  color: var(--wine);
  margin: 6px 0 0;
}
.detail-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 28px;
  border-top: 1px solid var(--edge);
  padding-block: 18px;
}
.detail-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 720px) {
  .meeting-grid,
  .detail-grid,
  .practice-head,
  .brief-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .detail-mast .mast-inner {
    min-height: 65px;
  }
  .case-notes div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .detail-grid {
    gap: 25px;
  }
  .brief-section h2,
  .meeting-grid h2 {
    max-width: none;
  }
}
@media print {
  .mast,
  .detail-footer,
  .brief-actions,
  .cover-action {
    display: none;
  }
  .detail-page h1 {
    font-size: 28pt;
  }
  .detail-page h2 {
    font-size: 17pt;
  }
  .detail-grid,
  .brief-section,
  .practice-head {
    display: block;
  }
  .case-notes div {
    break-inside: avoid;
  }
}

/* Preserve the dark mast when a touch or pointer leaves the menu button hovered. */
.mast .mobile-menu:hover:not(:disabled),
.mast .mobile-menu[aria-expanded='true'] {
  background: #323934;
  color: #fbf7ee;
}
