/* Terms presentation only. Agreement wording and language/consent owners stay intact. */
body.terms-practice { padding-top: var(--legal-header-offset,72px); }
body.terms-practice .legal-header { background: var(--bg) !important; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.terms-practice .legal-header nav { min-height: 72px; height: auto; padding: 12px max(24px,calc((100vw - 1160px)/2)); gap: 20px; flex-wrap: wrap; }
body.terms-practice .nav-actions { min-width: 0; max-width: 100%; flex-wrap: wrap; gap: 8px 16px; overflow: visible !important; }
body.terms-practice .nav-actions > * { flex: 0 1 auto; }
body.terms-practice .back-link { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: 8px; font-size: 14px; line-height: 1.8; white-space: normal; }
html[data-theme] body.terms-practice .nav-actions > .back-link { color: var(--muted) !important; }
html[data-theme] body.terms-practice .nav-actions > .back-link:hover { color: var(--sky) !important; }
body.terms-practice .legal-translation-notice { color: var(--muted) !important; background: var(--bg2) !important; border-color: var(--border) !important; }
body.terms-practice .terms-skip-link { position: fixed; z-index: 1200; inset-block-start: 8px; inset-inline-start: 12px; padding: 10px 16px; border-radius: 10px; background: var(--sky); color: var(--practice-on-accent); min-height: 44px; }
body.terms-practice .terms-skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
body.terms-practice .page { max-width: 880px; padding: 48px 32px 80px; }
body.terms-practice h1 { margin-bottom: 16px; font-size: clamp(30px,4vw,42px); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
body.terms-practice .page .meta { padding-bottom: 24px; margin-bottom: 32px; border-color: var(--border); font-size: 14px; line-height: 1.8; }
body.terms-practice .page :is(p,li) { font-size: 16px; line-height: 1.85; }
body.terms-practice .page p { margin-bottom: 20px; }
body.terms-practice .page > h2 { margin: 40px 0 20px; padding-top: 24px; border-color: var(--border); color: var(--text); font-size: clamp(23px,3vw,28px); font-weight: 500; line-height: 1.5; }
body.terms-practice .page > h3 { margin: 28px 0 12px; font-size: 19px; font-weight: 500; line-height: 1.6; }
body.terms-practice :is(main,[id]) { scroll-margin-top: calc(var(--legal-header-offset,72px) + 24px); }
body.terms-practice .page :is(ul,ol) { padding-left: 0; padding-inline-start: 24px; margin-bottom: 24px; }
body.terms-practice .page li { margin-bottom: 12px; }
body.terms-practice .tldr { padding: 28px; margin-bottom: 24px; background: var(--practice-card); border: 1px solid var(--border); border-radius: 16px; }
body.terms-practice .page .tldr-title { margin: 0 0 16px; padding: 0; border: 0; color: var(--sky); font-size: 20px; font-weight: 500; line-height: 1.6; letter-spacing: 0; text-transform: none; }
body.terms-practice .tldr ul { padding: 0; margin: 0; }
body.terms-practice .tldr li { display: block; padding: 0; padding-inline-start: 26px; position: relative; font-size: 15px; line-height: 1.85; }
body.terms-practice .tldr li::before { position: absolute; inset-inline-start: 0; top: 0; color: var(--mint); }
body.terms-practice .tldr li:last-child { margin-bottom: 0; }
body.terms-practice .terms-contents { margin: 24px 0 40px; border: 1px solid var(--border); border-radius: 16px; background: var(--practice-card); }
body.terms-practice .terms-contents summary { min-height: 56px; padding: 16px 20px; border-radius: 16px; cursor: pointer; color: var(--sky); font-size: 16px; font-weight: 500; line-height: 1.8; }
body.terms-practice .terms-contents nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; min-height: 0; padding: 12px; gap: 8px; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; background: var(--practice-card) !important; }
body.terms-practice .terms-contents a { display: flex; align-items: center; min-height: 44px; min-width: 0; padding: 10px 12px; border-radius: 10px; color: var(--sky); font-size: 14px; line-height: 1.8; }
body.terms-practice .terms-contents a:hover { background: var(--practice-accent-wash); }
body.terms-practice .highlight { padding: 20px 24px; margin-block: 24px; border: 1px solid var(--border); border-inline-start: 3px solid var(--sky); border-radius: 12px; background: var(--practice-accent-wash); }
body.terms-practice .highlight p { margin: 0; font-size: 16px; line-height: 1.85; }
body.terms-practice .logo img { width: auto; height: 36px; object-fit: contain; }
body.terms-practice footer { max-width: 1160px; margin-inline: auto; padding: 24px 32px; align-items: start; border-color: var(--border); }
body.terms-practice footer p { font-size: 13px; line-height: 1.8; }
body.terms-practice footer a { display: inline-block; min-height: 44px; padding-block: 8px; }
body.terms-practice :is(h1,h2,h3,p,li,.meta,.back-link,.terms-contents a,footer) { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  body.terms-practice .page { padding: 32px 16px 64px; }
  body.terms-practice .tldr { padding: 20px; }
  body.terms-practice .terms-contents nav { grid-template-columns: minmax(0,1fr); }
  body.terms-practice .highlight { padding: 20px; }
  body.terms-practice footer { padding: 24px 16px; }
}
