/* File2Finance dark theme, matched to the supplied Stitch screens. */
body.theme-dark {
  color-scheme: dark;
  --ink: #e1e3e1;
  --muted: #bfc8c5;
  --line: #404946;
  --green: #99d1c6;
  --green-dark: #b5cbc6;
  --mint: #374b47;
  --orange: #fcd34d;
  --surface: #1d201f;
  --surface-soft: #282b2a;
  --shadow: 0 16px 42px rgba(0, 0, 0, .28);
  color: #e1e3e1;
  background: #111413;
}

body.theme-dark,
body.theme-dark .view,
body.theme-dark .public-home,
body.theme-dark #signup-view,
body.theme-dark #login-view,
body.theme-dark #provision-view,
body.theme-dark #legal-view,
body.theme-dark #app-view,
body.theme-dark .app-main {
  color: #e1e3e1;
  background: #111413;
}

body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .hero h1,
body.theme-dark .form-card h1,
body.theme-dark .provision-card h1,
body.theme-dark .section-heading h2,
body.theme-dark .page-heading h2,
body.theme-dark .app-topbar h1,
body.theme-dark .surface-heading h3,
body.theme-dark .results-heading h3,
body.theme-dark .legal-page-heading h1,
body.theme-dark .legal-document h2,
body.theme-dark .legal-document-content h3,
body.theme-dark .legal-document-content h4 {
  color: #e1e3e1;
}

body.theme-dark p,
body.theme-dark small,
body.theme-dark label,
body.theme-dark li,
body.theme-dark .muted-copy,
body.theme-dark .hero-lede,
body.theme-dark .hero-card > p,
body.theme-dark .workflow-steps p,
body.theme-dark .benefit-card p,
body.theme-dark .plans-footnote,
body.theme-dark .legal-document-content,
body.theme-dark .legal-page-heading > div > p:last-child,
body.theme-dark .public-footer {
  color: #bfc8c5;
}

body.theme-dark a:not(.button),
body.theme-dark .text-button,
body.theme-dark .back-link {
  color: #99d1c6;
}

body.theme-dark .eyebrow { color: #b5cbc6; }
body.theme-dark .site-header {
  color: #e1e3e1;
  background: #111413;
  border-color: #404946;
  box-shadow: none;
}
body.theme-dark .brand-product { color: #e1e3e1; border-color: #404946; }
body.theme-dark .brand img {
  padding: 3px 5px;
  border-radius: 4px;
  background: #f8faf8;
}
body.theme-dark .secure-indicator,
body.theme-dark .status-pill {
  color: #d1e7e2;
  background: #1d201f;
  border-color: #404946;
}
body.theme-dark .secure-indicator i,
body.theme-dark .status-pill i {
  background: #6ee7b7;
  box-shadow: 0 0 0 3px #123524;
}
body.theme-dark .button-primary,
body.theme-dark .button-primary:hover {
  color: #003731;
  background: #99d1c6;
  border-color: #99d1c6;
  box-shadow: none;
}
body.theme-dark .button-outline,
body.theme-dark .button-quiet {
  color: #d1e7e2;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark .button-outline:hover,
body.theme-dark .button-quiet:hover {
  color: #e1e3e1;
  background: #282b2a;
  border-color: #899390;
}
body.theme-dark .button:focus-visible,
body.theme-dark a:focus-visible,
body.theme-dark input:focus-visible,
body.theme-dark select:focus-visible,
body.theme-dark textarea:focus-visible {
  outline: 2px solid #99d1c6;
  outline-offset: 2px;
}

/* Public landing page and plan selection. */
body.theme-dark .practice-hero .hero-copy h1,
body.theme-dark .practice-hero .hero-copy h1 span { color: #e1e3e1; }
body.theme-dark .practice-label {
  color: #d1efe9;
  background: #0f4c44;
}
body.theme-dark .practice-workflow,
body.theme-dark .hero-card {
  color: #e1e3e1;
  background: #1d201f;
  border-color: #404946;
  box-shadow: none;
}
body.theme-dark .hero-card:after { background: #282b2a; opacity: .8; }
body.theme-dark .practice-workflow .hero-card-top h2,
body.theme-dark .workflow-steps strong { color: #e1e3e1; }
body.theme-dark .workflow-step-number {
  color: #003731;
  background: #99d1c6;
}
body.theme-dark .benefits-section {
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark .benefits-section .section-heading h2 { color: #e1e3e1; }
body.theme-dark .benefit-card {
  color: #e1e3e1;
  background: #111413;
  border-color: #404946;
}
body.theme-dark .benefit-card h3,
body.theme-dark .benefit-icon { color: #99d1c6; }
body.theme-dark .plans-section { background: #111413; border-color: #404946; }
body.theme-dark .plans-section .section-heading h2 { color: #e1e3e1; }
body.theme-dark .reset-time {
  color: #d1e7e2;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark #public-home .plan-card {
  color: #e1e3e1;
  background: #0c0f0e;
  border-color: #404946;
  border-top-color: #0f4c44;
  box-shadow: none;
}
body.theme-dark #public-home .plan-card .plan-top h3,
body.theme-dark #public-home .plan-card .plan-price,
body.theme-dark #public-home .plan-card li,
body.theme-dark #public-home .plan-card li strong { color: #e1e3e1; }
body.theme-dark #public-home .plan-card .plan-price small,
body.theme-dark #public-home .plan-card .plan-tax { color: #bfc8c5; }
body.theme-dark #public-home .plan-card li:before { color: #6ee7b7; }
body.theme-dark #public-home .plan-card .plan-top > span,
body.theme-dark #public-home .plan-ribbon {
  color: #d1efe9;
  background: #0f4c44;
}
body.theme-dark #public-home .plan-featured { border-color: #99d1c6; }
body.theme-dark #public-home .plan-featured .plan-top > span { color: #003731; background: #99d1c6; }
body.theme-dark #public-home .plan-featured .button-primary { color: #003731; background: #99d1c6; }
body.theme-dark .plans-usage-note,
body.theme-dark .trust-strip {
  color: #d1e7e2;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark .plans-usage-note strong,
body.theme-dark .plans-usage-note span,
body.theme-dark .trust-strip span,
body.theme-dark .trust-strip p { color: #d1e7e2; }
body.theme-dark .public-footer { border-color: #404946; }

/* Shared signup, sign-in, email confirmation, and preparation views. */
body.theme-dark .signup-resume-note,
body.theme-dark .checkout-retry-note {
  color: #d1e7e2;
  background: #1d201f;
  border-color: #404946;
}
body.theme-dark .signup-resume-note p { color: #bfc8c5; }
body.theme-dark .narrow-view { color: #e1e3e1; }
body.theme-dark .form-card,
body.theme-dark .login-card,
body.theme-dark .provision-card,
body.theme-dark .signup-checkout-panel {
  color: #e1e3e1;
  background: #111413;
  border-color: #404946;
  box-shadow: none;
}
body.theme-dark #signup-view .form-card { background: transparent; }
body.theme-dark #signup-view .signup-section,
body.theme-dark #signup-view .chosen-plan,
body.theme-dark #signup-view .consent-box,
body.theme-dark #signup-view .legal-agreements,
body.theme-dark .login-card .login-identity {
  color: #e1e3e1;
  background: #0c0f0e;
  border-color: #404946;
}
body.theme-dark #signup-view .chosen-plan {
  color: #e1e3e1;
  background: #191c1b;
}
body.theme-dark #signup-view .chosen-plan:before { color: #b5cbc6; }
body.theme-dark .form-heading h1,
body.theme-dark .login-form-heading h1,
body.theme-dark .provision-card h1 { color: #e1e3e1; }
body.theme-dark .signup-progress li { color: #bfc8c5; border-color: transparent transparent #404946; }
body.theme-dark .signup-progress li > span { color: #bfc8c5; background: #191c1b; border-color: #404946; }
body.theme-dark .signup-progress li.is-current { color: #99d1c6; border-bottom-color: #99d1c6; }
body.theme-dark .signup-progress li.is-current > span,
body.theme-dark .signup-progress li.is-complete > span { color: #003731; background: #99d1c6; border-color: #99d1c6; }
body.theme-dark .signup-progress li.is-complete { border-bottom-color: #0f4c44; }
body.theme-dark input:not([type=checkbox]):not([type=file]):not([type=color]),
body.theme-dark select,
body.theme-dark textarea {
  color: #e1e3e1;
  background: #0c0f0e;
  border-color: #404946;
}
body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder { color: #899390; opacity: 1; }
body.theme-dark .signup-section,
body.theme-dark .address-fields,
body.theme-dark .signup-fields,
body.theme-dark .field-hint,
body.theme-dark .secure-note,
body.theme-dark .login-identity-copy small,
body.theme-dark .password-requirements { color: #bfc8c5; }
body.theme-dark .signup-checkout-panel { border-color: #404946; }
body.theme-dark #stripe-checkout { background: #111413; }
body.theme-dark .test-mode-signup-note,
body.theme-dark .legal-draft-label {
  color: #fde68a;
  background: #3b2405;
  border-color: #663f0d;
}
body.theme-dark .form-feedback:not(.is-ok) { color: #ffb4ab; }
body.theme-dark .form-feedback.is-ok { color: #a7f3d0; }
body.theme-dark .wait-progress { background: #282b2a; }
body.theme-dark .wait-progress > span { background: #99d1c6; }
body.theme-dark .provision-steps { border-color: #404946; }
body.theme-dark .provision-step { border-color: #404946; }

/* Legal library. */
body.theme-dark .legal-view { color: #e1e3e1; }
body.theme-dark .legal-page-heading h1,
body.theme-dark .legal-document h2,
body.theme-dark .legal-document-content h3,
body.theme-dark .legal-document-content h4 { color: #e1e3e1; }
body.theme-dark .legal-nav,
body.theme-dark .legal-document {
  color: #e1e3e1;
  background: #0c0f0e;
  border-color: #404946;
}
body.theme-dark .legal-nav strong { color: #b5cbc6; }
body.theme-dark .legal-nav button { color: #e1e3e1; }
body.theme-dark .legal-nav button:hover,
body.theme-dark .legal-nav button.is-active { color: #d1efe9; background: #0f4c44; }
body.theme-dark .legal-document h2,
body.theme-dark .legal-document-content hr { border-color: #404946; }
body.theme-dark .legal-document-content code,
body.theme-dark .legal-document-content th { color: #e1e3e1; background: #282b2a; }
body.theme-dark .legal-table-wrap { border-color: #404946; }
body.theme-dark .legal-document-content td,
body.theme-dark .legal-document-content th { border-color: #404946; }

/* Workspace uses the same Stitch surfaces as the public and signup pages. */
body.theme-dark.is-workspace {
  --ink: #e1e3e1;
  --muted: #bfc8c5;
  --line: #404946;
  --green: #99d1c6;
  --green-dark: #b5cbc6;
  --mint: #374b47;
  --surface: #1d201f;
  --surface-soft: #282b2a;
  background: #111413;
  color: #e1e3e1;
}
body.theme-dark.is-workspace .app-sidebar { background: #0c0f0e; border-color: #404946; }
body.theme-dark.is-workspace .app-topbar { background: #111413; border-color: #404946; }
body.theme-dark.is-workspace .metric-card,
body.theme-dark.is-workspace .surface-card,
body.theme-dark.is-workspace .results-area,
body.theme-dark.is-workspace .activity-list-card,
body.theme-dark.is-workspace .activity-report-card,
body.theme-dark.is-workspace .profile-popover,
body.theme-dark.is-workspace .firm-side-card,
body.theme-dark.is-workspace .logout-button {
  color: #e1e3e1;
  background: #0c0f0e;
  border-color: #404946;
  box-shadow: none;
}
body.theme-dark.is-workspace .workspace-status-strip,
body.theme-dark.is-workspace .document-kind-tabs,
body.theme-dark.is-workspace .team-list,
body.theme-dark.is-workspace .table-scroll,
body.theme-dark.is-workspace .upload-card,
body.theme-dark.is-workspace .quota-action,
body.theme-dark.is-workspace .disclosure-box,
body.theme-dark.is-workspace .activity-retention-note,
body.theme-dark.is-workspace .activity-run,
body.theme-dark.is-workspace .profile-workspace-summary,
body.theme-dark.is-workspace .profile-inline-form {
  color: #e1e3e1;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark.is-workspace .nav-item { color: #bfc8c5; }
body.theme-dark.is-workspace .nav-item:hover,
body.theme-dark.is-workspace .nav-item.is-active { color: #d1efe9; background: #0f4c44; }
body.theme-dark.is-workspace .workspace-status-label,
body.theme-dark.is-workspace .metric-card > span,
body.theme-dark.is-workspace .surface-heading h3,
body.theme-dark.is-workspace .overview-heading h2,
body.theme-dark.is-workspace .app-topbar h1,
body.theme-dark.is-workspace .app-topbar .eyebrow,
body.theme-dark.is-workspace .firm-side-card strong,
body.theme-dark.is-workspace .results-heading h3 { color: #e1e3e1; }
body.theme-dark.is-workspace .muted-copy,
body.theme-dark.is-workspace .page-heading > div > p:not(.eyebrow),
body.theme-dark.is-workspace .overview-heading > div > p:not(.eyebrow),
body.theme-dark.is-workspace .dashboard-info > span,
body.theme-dark.is-workspace .dashboard-info strong,
body.theme-dark.is-workspace .metric-card small,
body.theme-dark.is-workspace .employee-form label,
body.theme-dark.is-workspace .password-requirements,
body.theme-dark.is-workspace .profile-firm-label,
body.theme-dark.is-workspace .profile-role,
body.theme-dark.is-workspace .profile-popover-heading small,
body.theme-dark.is-workspace .profile-trigger-copy small,
body.theme-dark.is-workspace .field-hint,
body.theme-dark.is-workspace .team-user small,
body.theme-dark.is-workspace .workspace-address-row strong,
body.theme-dark.is-workspace .support-note,
body.theme-dark.is-workspace .support-note strong,
body.theme-dark.is-workspace .support-note small { color: #bfc8c5; }
body.theme-dark.is-workspace .eyebrow { color: #b5cbc6; }
body.theme-dark.is-workspace .nav-item:hover,
body.theme-dark.is-workspace .nav-item.is-active { border-color: #99d1c6; }
body.theme-dark.is-workspace .plan-chip,
body.theme-dark.is-workspace .result-tag,
body.theme-dark.is-workspace .activity-run-status {
  color: #d1efe9;
  background: #0f4c44;
  border-color: #404946;
}
body.theme-dark.is-workspace .button-primary { color: #003731; background: #99d1c6; border-color: #99d1c6; }
body.theme-dark.is-workspace .button-outline,
body.theme-dark.is-workspace .button-quiet,
body.theme-dark.is-workspace .overview-refresh-button {
  color: #d1e7e2;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark.is-workspace .usage-track { background: #282b2a; }
body.theme-dark.is-workspace .usage-track > span { background: #99d1c6; }
body.theme-dark.is-workspace .dropzone,
body.theme-dark.is-workspace .document-kind-tab { color: #e1e3e1; background: #191c1b; border-color: #404946; }
body.theme-dark.is-workspace .document-kind-tab.is-active { color: #003731; background: #99d1c6; border-color: #99d1c6; }
body.theme-dark.is-workspace .upload-icon,
body.theme-dark.is-workspace .icon-box { color: #003731; background: #99d1c6; }
body.theme-dark.is-workspace .result-table { color: #e1e3e1; }
body.theme-dark.is-workspace .result-table th { color: #e1e3e1; background: #282b2a; border-color: #404946; }
body.theme-dark.is-workspace .result-table td,
body.theme-dark.is-workspace .team-user,
body.theme-dark.is-workspace .setup-list li,
body.theme-dark.is-workspace .workspace-address-row,
body.theme-dark.is-workspace .dashboard-info { border-color: #404946; }
body.theme-dark.is-workspace .result-table tr.row-rejected,
body.theme-dark.is-workspace .result-table tr.row-review { background: #3b2405; }
body.theme-dark.is-workspace .result-tag.reject,
body.theme-dark.is-workspace .status-badge.reject,
body.theme-dark.is-workspace .receipt-review-tag,
body.theme-dark.is-workspace .result-tag.review { color: #fde68a; background: #3b2405; }
body.theme-dark.is-workspace .status-badge,
body.theme-dark.is-workspace .confidence-rating.high { color: #a7f3d0; background: #123524; }
body.theme-dark.is-workspace .confidence-rating.medium { color: #fde68a; background: #3b2405; }
body.theme-dark.is-workspace .confidence-rating.low { color: #ffdad6; background: #93000a; }
body.theme-dark.is-workspace .workspace-notice,
body.theme-dark.is-workspace .activity-report-message { color: #fde68a; background: #3b2405; border-color: #663f0d; }
body.theme-dark.is-workspace .workspace-notice.is-ok { color: #a7f3d0; background: #123524; border-color: #285c43; }
body.theme-dark.is-workspace .profile-popover-heading,
body.theme-dark.is-workspace .theme-setting,
body.theme-dark.is-workspace .sidebar-bottom { border-color: #404946; }
body.theme-dark.is-workspace .profile-action-row strong,
body.theme-dark.is-workspace .profile-workspace-summary > strong,
body.theme-dark.is-workspace .profile-heading-copy strong,
body.theme-dark.is-workspace .theme-setting-copy strong { color: #e1e3e1; }
body.theme-dark.is-workspace .profile-action-icon,
body.theme-dark.is-workspace .profile-popover-heading > button,
body.theme-dark.is-workspace .profile-text-button,
body.theme-dark.is-workspace .profile-inline-form input,
body.theme-dark.is-workspace .profile-reset-password {
  color: #e1e3e1;
  background: #191c1b;
  border-color: #404946;
}
body.theme-dark.is-workspace .profile-action-row:hover,
body.theme-dark.is-workspace .profile-action-row:focus-visible { background: #282b2a; }
body.theme-dark.is-workspace .profile-action-danger strong,
body.theme-dark.is-workspace .profile-action-danger .profile-action-icon { color: #ffb4ab; }
body.theme-dark.is-workspace .profile-reset-feedback.is-success { color: #a7f3d0; background: #123524; }
body.theme-dark.is-workspace .profile-reset-feedback.is-info { color: #d1e7e2; background: #203430; }
body.theme-dark.is-workspace .profile-reset-feedback.is-error { color: #ffdad6; background: #690005; }
body.theme-dark.is-workspace .plan-change-dialog,
body.theme-dark.is-workspace .plan-change-card,
body.theme-dark.is-workspace .plan-dialog-close,
body.theme-dark.is-workspace .plan-change-detail,
body.theme-dark.is-workspace .plan-change-price { color: #e1e3e1; background: #1d201f; border-color: #404946; }
body.theme-dark.is-workspace .plan-change-card h2,
body.theme-dark.is-workspace .plan-change-detail strong { color: #e1e3e1; }
body.theme-dark.is-workspace .plan-change-price strong { color: #99d1c6; }
body.theme-dark.is-workspace .extract-progress { color: #bfc8c5; }
body.theme-dark.is-workspace .extract-progress .usage-track { background: #282b2a; }
body.theme-dark.is-workspace .sidebar-bottom { background: #0c0f0e; }
body.theme-dark.is-workspace .logout-button:hover { color: #e1e3e1; background: #282b2a; }

body.theme-dark.is-workspace .notifications-trigger,
body.theme-dark.is-workspace .notification-panel,
body.theme-dark.is-workspace .notification-item,
body.theme-dark.is-workspace .plan-options-dialog,
body.theme-dark.is-workspace .plan-options-panel { color:#f3faf6; background:#1d2925; border-color:#52675d; }
body.theme-dark.is-workspace .notification-panel-heading,
body.theme-dark.is-workspace .announcement-tools { border-color:#52675d; }
body.theme-dark.is-workspace .notification-panel-heading h2,
body.theme-dark.is-workspace .notification-item-heading strong,
body.theme-dark.is-workspace .notification-item p,
body.theme-dark.is-workspace .announcement-tools-heading strong,
body.theme-dark.is-workspace .announcement-tools label,
body.theme-dark.is-workspace .comparison-plan-card .plan-top h3,
body.theme-dark.is-workspace .comparison-plan-card li,
body.theme-dark.is-workspace .current-plan-strip strong { color:#f3faf6; }
body.theme-dark.is-workspace .notification-item.is-unread,
body.theme-dark.is-workspace .current-plan-strip,
body.theme-dark.is-workspace .comparison-plan-card .current-plan-tag,
body.theme-dark.is-workspace .comparison-plan-card .plan-ribbon,
body.theme-dark.is-workspace .notification-close,
body.theme-dark.is-workspace .announcement-tools { background:#263832; border-color:#52675d; }
body.theme-dark.is-workspace .comparison-plan-card { background:#151b19; border-color:#52675d; }
body.theme-dark.is-workspace .comparison-plan-card.is-current-plan { border-color:#78d2ae; box-shadow:0 0 0 1px #78d2ae; }
body.theme-dark.is-workspace .comparison-plan-card .plan-ribbon { color:#d8fff0; background:#245a49; }
body.theme-dark.is-workspace .comparison-plan-card .plan-price { color:#9ce8c5; }
body.theme-dark.is-workspace .comparison-plan-card li::before,
body.theme-dark.is-workspace .notification-read-button { color:#9ce8c5; }
body.theme-dark.is-workspace .plan-options-intro,
body.theme-dark.is-workspace .current-plan-strip span,
body.theme-dark.is-workspace .comparison-plan-card .plan-reference,
body.theme-dark.is-workspace .comparison-plan-card .plan-reference del,
body.theme-dark.is-workspace .comparison-plan-card .plan-price small,
body.theme-dark.is-workspace .notification-unread-summary,
body.theme-dark.is-workspace .notification-item-heading time,
body.theme-dark.is-workspace .notification-empty,
body.theme-dark.is-workspace .announcement-tools-heading small { color:#d6e2dc; }
body.theme-dark.is-workspace .announcement-tools input,
body.theme-dark.is-workspace .announcement-tools textarea { color:#f3faf6; background:#111715; border-color:#52675d; }
body.theme-dark.is-workspace .notification-feedback { color:#f3faf6; background:#151b19; }
body.theme-dark.is-workspace .notification-feedback.is-success { color:#b9f5d2; background:#183b2d; }
body.theme-dark.is-workspace .notification-feedback.is-error { color:#ffdad6; background:#4a2927; }
body.theme-dark.is-workspace .notification-unread-count { border-color:#1d2925; }

@media (prefers-reduced-motion: reduce) {
  body.theme-dark *, body.theme-dark *::before, body.theme-dark *::after { transition-duration: .01ms !important; }
}

/* Keep dark surfaces neutral; use teal only for primary actions and small state cues. */
body.theme-dark {
  --ink: #f1f2f3;
  --muted: #b8bdc1;
  --line: #35393d;
  --green: #8fcbb9;
  --green-dark: #a9c8bf;
  --mint: #222629;
  --surface: #0b0c0e;
  --surface-soft: #151719;
  color: #f1f2f3;
  background: #070809;
}
body.theme-dark,
body.theme-dark .view,
body.theme-dark .public-home,
body.theme-dark #signup-view,
body.theme-dark #login-view,
body.theme-dark #provision-view,
body.theme-dark #legal-view,
body.theme-dark #app-view,
body.theme-dark .app-main { color: #f1f2f3; background: #070809; }
body.theme-dark h1,
body.theme-dark h2,
body.theme-dark h3,
body.theme-dark h4,
body.theme-dark .hero h1,
body.theme-dark .form-card h1,
body.theme-dark .provision-card h1,
body.theme-dark .section-heading h2,
body.theme-dark .page-heading h2,
body.theme-dark .app-topbar h1,
body.theme-dark .surface-heading h3,
body.theme-dark .results-heading h3,
body.theme-dark .legal-page-heading h1,
body.theme-dark .legal-document h2,
body.theme-dark .legal-document-content h3,
body.theme-dark .legal-document-content h4 { color: #f1f2f3; }
body.theme-dark a:not(.button),
body.theme-dark .text-button,
body.theme-dark .back-link { color: #d9dddf; }
body.theme-dark .eyebrow { color: #aeb4b8; }
body.theme-dark .site-header,
body.theme-dark .app-topbar { color: #f1f2f3; background: #090a0b; border-color: #35393d; box-shadow: none; }
body.theme-dark .practice-workflow,
body.theme-dark .hero-card,
body.theme-dark .benefit-card,
body.theme-dark #public-home .plan-card,
body.theme-dark .form-card,
body.theme-dark .login-card,
body.theme-dark .provision-card,
body.theme-dark .signup-checkout-panel,
body.theme-dark .legal-nav,
body.theme-dark .legal-document { color: #f1f2f3; background: #0d0e10; border-color: #35393d; box-shadow: none; }
body.theme-dark .benefits-section,
body.theme-dark .plans-section { background: #090a0b; border-color: #35393d; }
body.theme-dark #public-home .plan-card { border-top-color: #393e42; }
body.theme-dark #public-home .plan-featured { background: #111315; border-color: #647d74; }
body.theme-dark #public-home .plan-featured .plan-top > span,
body.theme-dark #public-home .plan-ribbon,
body.theme-dark #public-home .plan-card .plan-top > span { color: #e1e5e6; background: #222629; }
body.theme-dark .benefit-card h3 { color: #f1f2f3; }
body.theme-dark .benefit-icon { color: #c8d4d0; background: #1b1e20; }
body.theme-dark .practice-label,
body.theme-dark .workflow-step-number { color: #f1f2f3; background: #222629; }
body.theme-dark .benefits-section .section-heading h2,
body.theme-dark .plans-section .section-heading h2 { color: #f1f2f3; }
body.theme-dark .secure-indicator,
body.theme-dark .status-pill,
body.theme-dark .reset-time,
body.theme-dark .plans-usage-note,
body.theme-dark .trust-strip { color: #d9dddf; background: #151719; border-color: #35393d; }
body.theme-dark .plans-usage-note strong,
body.theme-dark .plans-usage-note span,
body.theme-dark .trust-strip span,
body.theme-dark .trust-strip p { color: #d9dddf; }
body.theme-dark .button-primary,
body.theme-dark .button-primary:hover { color: #07100d; background: #8fcbb9; border-color: #8fcbb9; box-shadow: none; }
body.theme-dark .button-outline,
body.theme-dark .button-quiet { color: #e1e4e5; background: #151719; border-color: #41464a; }
body.theme-dark .button-outline:hover,
body.theme-dark .button-quiet:hover { color: #fff; background: #222629; border-color: #62696e; }
body.theme-dark input:not([type=checkbox]):not([type=file]):not([type=color]),
body.theme-dark select,
body.theme-dark textarea { color: #f1f2f3; background: #090a0b; border-color: #35393d; }
body.theme-dark .form-card,
body.theme-dark .login-card,
body.theme-dark .provision-card,
body.theme-dark .signup-checkout-panel,
body.theme-dark #signup-view .signup-section,
body.theme-dark #signup-view .chosen-plan,
body.theme-dark #signup-view .consent-box,
body.theme-dark #signup-view .legal-agreements,
body.theme-dark .login-card .login-identity,
body.theme-dark .legal-nav,
body.theme-dark .legal-document { background: #0d0e10; border-color: #35393d; }
body.theme-dark .test-mode-signup-note,
body.theme-dark .legal-draft-label { color: #fde68a; background: #30240f; border-color: #51401f; }

body.theme-dark.is-workspace {
  --ink: #f1f2f3;
  --muted: #b8bdc1;
  --line: #35393d;
  --green: #8fcbb9;
  --green-dark: #a9c8bf;
  --mint: #222629;
  --surface: #0b0c0e;
  --surface-soft: #151719;
  color: #f1f2f3;
  background: #070809;
}
body.theme-dark.is-workspace .app-sidebar { background: #090a0b; border-color: #35393d; }
body.theme-dark.is-workspace .metric-card,
body.theme-dark.is-workspace .surface-card,
body.theme-dark.is-workspace .results-area,
body.theme-dark.is-workspace .activity-list-card,
body.theme-dark.is-workspace .activity-report-card,
body.theme-dark.is-workspace .profile-popover,
body.theme-dark.is-workspace .firm-side-card,
body.theme-dark.is-workspace .logout-button,
body.theme-dark.is-workspace .plan-options-dialog,
body.theme-dark.is-workspace .plan-options-panel,
body.theme-dark.is-workspace .notification-panel,
body.theme-dark.is-workspace .notification-item { color: #f1f2f3; background: #0d0e10; border-color: #35393d; box-shadow: none; }
body.theme-dark.is-workspace .workspace-status-strip,
body.theme-dark.is-workspace .document-kind-tabs,
body.theme-dark.is-workspace .team-list,
body.theme-dark.is-workspace .table-scroll,
body.theme-dark.is-workspace .upload-card,
body.theme-dark.is-workspace .quota-action,
body.theme-dark.is-workspace .disclosure-box,
body.theme-dark.is-workspace .activity-retention-note,
body.theme-dark.is-workspace .activity-run,
body.theme-dark.is-workspace .profile-workspace-summary,
body.theme-dark.is-workspace .profile-inline-form,
body.theme-dark.is-workspace .plan-change-card,
body.theme-dark.is-workspace .plan-change-detail,
body.theme-dark.is-workspace .plan-change-price,
body.theme-dark.is-workspace .notification-item.is-unread,
body.theme-dark.is-workspace .current-plan-strip,
body.theme-dark.is-workspace .announcement-tools { color: #f1f2f3; background: #151719; border-color: #35393d; }
body.theme-dark.is-workspace .nav-item { color: #c2c7ca; }
body.theme-dark.is-workspace .nav-item:hover,
body.theme-dark.is-workspace .nav-item.is-active { color: #f1f2f3; background: #222629; border-color: #8fcbb9; }
body.theme-dark.is-workspace .plan-chip,
body.theme-dark.is-workspace .result-tag,
body.theme-dark.is-workspace .activity-run-status,
body.theme-dark.is-workspace .notification-close,
body.theme-dark.is-workspace .current-plan-tag,
body.theme-dark.is-workspace .plan-ribbon { color: #d9dddf; background: #222629; border-color: #41464a; }
body.theme-dark.is-workspace .usage-track { background: #25292c; }
body.theme-dark.is-workspace .usage-track > span { background: #8fcbb9; }
body.theme-dark.is-workspace .dropzone,
body.theme-dark.is-workspace .document-kind-tab,
body.theme-dark.is-workspace .notifications-trigger,
body.theme-dark.is-workspace .profile-action-icon,
body.theme-dark.is-workspace .profile-popover-heading > button,
body.theme-dark.is-workspace .profile-text-button,
body.theme-dark.is-workspace .profile-inline-form input,
body.theme-dark.is-workspace .profile-reset-password { color: #e1e4e5; background: #151719; border-color: #41464a; }
body.theme-dark.is-workspace .document-kind-tab.is-active,
body.theme-dark.is-workspace .upload-icon,
body.theme-dark.is-workspace .icon-box { color: #e8eeee; background: #25292c; border-color: #50565b; }
body.theme-dark.is-workspace .result-table { color: #f1f2f3; }
body.theme-dark.is-workspace .result-table th { color: #f1f2f3; background: #191b1d; border-color: #35393d; }
body.theme-dark.is-workspace .result-table td,
body.theme-dark.is-workspace .team-user,
body.theme-dark.is-workspace .setup-list li,
body.theme-dark.is-workspace .workspace-address-row,
body.theme-dark.is-workspace .dashboard-info { border-color: #35393d; }
body.theme-dark.is-workspace .result-table tr.row-rejected,
body.theme-dark.is-workspace .result-table tr.row-review,
body.theme-dark.is-workspace .result-tag.reject,
body.theme-dark.is-workspace .status-badge.reject,
body.theme-dark.is-workspace .receipt-review-tag,
body.theme-dark.is-workspace .result-tag.review,
body.theme-dark.is-workspace .workspace-notice,
body.theme-dark.is-workspace .activity-report-message { color: #fde68a; background: #30240f; border-color: #51401f; }
body.theme-dark.is-workspace .status-badge,
body.theme-dark.is-workspace .confidence-rating.high,
body.theme-dark.is-workspace .confidence-rating.medium { color: #dfe6e2; background: #202523; }
body.theme-dark.is-workspace .confidence-rating.low { color: #ffdad6; background: #462423; }
body.theme-dark.is-workspace .workspace-notice.is-ok,
body.theme-dark.is-workspace .profile-reset-feedback.is-success,
body.theme-dark.is-workspace .notification-feedback.is-success { color: #dfe6e2; background: #202523; border-color: #35393d; }
body.theme-dark.is-workspace .notification-panel-heading,
body.theme-dark.is-workspace .announcement-tools-heading { border-color: #35393d; }
body.theme-dark.is-workspace .notification-panel-heading h2,
body.theme-dark.is-workspace .notification-item-heading strong,
body.theme-dark.is-workspace .notification-item p,
body.theme-dark.is-workspace .announcement-tools-heading strong,
body.theme-dark.is-workspace .announcement-tools label,
body.theme-dark.is-workspace .comparison-plan-card .plan-top h3,
body.theme-dark.is-workspace .comparison-plan-card li,
body.theme-dark.is-workspace .current-plan-strip strong { color: #f1f2f3; }
body.theme-dark.is-workspace .comparison-plan-card { background: #111315; border-color: #35393d; }
body.theme-dark.is-workspace .comparison-plan-card.is-current-plan { border-color: #647d74; box-shadow: 0 0 0 1px #647d74; }
body.theme-dark.is-workspace .comparison-plan-card .plan-price { color: #dce3e0; }
body.theme-dark.is-workspace .comparison-plan-card li::before,
body.theme-dark.is-workspace .notification-read-button,
body.theme-dark.is-workspace .plan-change-price strong { color: #b6c8c1; }
body.theme-dark.is-workspace .plan-options-intro,
body.theme-dark.is-workspace .current-plan-strip span,
body.theme-dark.is-workspace .comparison-plan-card .plan-reference,
body.theme-dark.is-workspace .comparison-plan-card .plan-reference del,
body.theme-dark.is-workspace .comparison-plan-card .plan-price small,
body.theme-dark.is-workspace .notification-unread-summary,
body.theme-dark.is-workspace .notification-item-heading time,
body.theme-dark.is-workspace .notification-empty,
body.theme-dark.is-workspace .announcement-tools-heading small { color: #b8bdc1; }
body.theme-dark.is-workspace .announcement-tools input,
body.theme-dark.is-workspace .announcement-tools textarea { color: #f1f2f3; background: #090a0b; border-color: #35393d; }
body.theme-dark.is-workspace .notification-feedback { color: #f1f2f3; background: #151719; }
body.theme-dark.is-workspace .notification-feedback.is-error,
body.theme-dark.is-workspace .profile-reset-feedback.is-error { color: #ffdad6; background: #462423; }
body.theme-dark.is-workspace .profile-action-row:hover,
body.theme-dark.is-workspace .profile-action-row:focus-visible,
body.theme-dark.is-workspace .logout-button:hover { color: #f1f2f3; background: #222629; }
body.theme-dark.is-workspace .sidebar-bottom { background: #090a0b; border-color: #35393d; }
body.theme-dark .legal-nav button:hover,
body.theme-dark .legal-nav button.is-active { color: #f1f2f3; background: #222629; }
body.theme-dark.is-workspace .profile-reset-feedback.is-info { color: #d9dddf; background: #151719; }

/* Public home and every signup step use the dark Stitch surfaces and spacing. */
body.theme-dark:not(.is-workspace) {
  --ink: #f1f2f3;
  --muted: #b8bdc1;
  --line: #35393d;
  --green: #8fcbb9;
  --green-dark: #a9c8bf;
  --mint: #222629;
  --surface: #0d0e10;
  --surface-soft: #151719;
  color: #f1f2f3;
  background: #070809;
}
body.theme-dark:not(.is-workspace) .site-header { color:#f1f2f3;background:#090a0b;border-color:#35393d;box-shadow:none }
body.theme-dark:not(.is-workspace) .public-home,
body.theme-dark:not(.is-workspace) #signup-view,
body.theme-dark:not(.is-workspace) #login-view,
body.theme-dark:not(.is-workspace) #provision-view,
body.theme-dark:not(.is-workspace) #legal-view { color:#f1f2f3;background:#070809 }
body.theme-dark:not(.is-workspace) .practice-hero .hero-copy h1,
body.theme-dark:not(.is-workspace) .practice-hero .hero-copy h1 span { color:#f1f2f3 }
body.theme-dark:not(.is-workspace) .practice-hero .hero-copy h1 span { color:#8fcbb9 }
body.theme-dark:not(.is-workspace) .practice-workflow,
body.theme-dark:not(.is-workspace) .hero-card,
body.theme-dark:not(.is-workspace) .benefit-card,
body.theme-dark:not(.is-workspace) #public-home .plan-card,
body.theme-dark:not(.is-workspace) #signup-view .form-card,
body.theme-dark:not(.is-workspace) #login-view .form-card,
body.theme-dark:not(.is-workspace) #provision-view .form-card,
body.theme-dark:not(.is-workspace) .signup-checkout-panel { color:#f1f2f3;background:#0d0e10;border-color:#35393d;box-shadow:none }
body.theme-dark:not(.is-workspace) .hero-card:after { content:none }
body.theme-dark:not(.is-workspace) .signup-resume-note,
body.theme-dark:not(.is-workspace) .checkout-retry-note { color:#f1f2f3;background:#0d0e10;border-color:#35393d }
body.theme-dark:not(.is-workspace) .signup-resume-note p { color:#b8bdc1 }
body.theme-dark:not(.is-workspace) .benefits-section,
body.theme-dark:not(.is-workspace) .plans-section { background:#090a0b;border-color:#35393d }
body.theme-dark:not(.is-workspace) #public-home .plan-featured { background:#111315;border-color:#647d74 }
body.theme-dark:not(.is-workspace) .practice-workflow .hero-card-top h2,
body.theme-dark:not(.is-workspace) .workflow-steps strong,
body.theme-dark:not(.is-workspace) .benefit-card h3,
body.theme-dark:not(.is-workspace) .plans-section .section-heading h2,
body.theme-dark:not(.is-workspace) .benefits-section .section-heading h2,
body.theme-dark:not(.is-workspace) #public-home .plan-card .plan-top h3,
body.theme-dark:not(.is-workspace) #public-home .plan-card .plan-price,
body.theme-dark:not(.is-workspace) #public-home .plan-card li,
body.theme-dark:not(.is-workspace) #public-home .plan-card li strong { color:#f1f2f3 }
body.theme-dark:not(.is-workspace) .plan-card .plan-price small,
body.theme-dark:not(.is-workspace) .plan-card .plan-reference,
body.theme-dark:not(.is-workspace) .plan-card .plan-tax,
body.theme-dark:not(.is-workspace) .benefit-card p,
body.theme-dark:not(.is-workspace) .workflow-steps p,
body.theme-dark:not(.is-workspace) .hero-lede,
body.theme-dark:not(.is-workspace) .plans-footnote,
body.theme-dark:not(.is-workspace) .public-footer { color:#b8bdc1 }
body.theme-dark:not(.is-workspace) #public-home .plan-card .plan-top>span,
body.theme-dark:not(.is-workspace) #public-home .plan-ribbon { color:#e1e5e6;background:#222629 }
body.theme-dark:not(.is-workspace) .plan-featured .plan-top>span { color:#e1e5e6;background:#222629 }
body.theme-dark:not(.is-workspace) .plan-card li:before { color:#8fcbb9 }
body.theme-dark:not(.is-workspace) .site-header .brand-product { color:#e1e4e5;border-color:#35393d }
body.theme-dark:not(.is-workspace) .secure-indicator,
body.theme-dark:not(.is-workspace) .reset-time,
body.theme-dark:not(.is-workspace) .plans-usage-note,
body.theme-dark:not(.is-workspace) .trust-strip { color:#d9dddf;background:#151719;border-color:#35393d }
body.theme-dark:not(.is-workspace) .button-primary,
body.theme-dark:not(.is-workspace) .button-primary:hover { color:#07100d;background:#8fcbb9;border-color:#8fcbb9;box-shadow:none }
body.theme-dark:not(.is-workspace) .button-outline,
body.theme-dark:not(.is-workspace) .button-quiet { color:#e1e4e5;background:#151719;border-color:#41464a }
body.theme-dark:not(.is-workspace) .button-outline:hover,
body.theme-dark:not(.is-workspace) .button-quiet:hover { color:#fff;background:#222629;border-color:#62696e }
body.theme-dark:not(.is-workspace) .home-theme-picker { padding:3px;border:1px solid #35393d;border-radius:8px;background:#151719 }
body.theme-dark:not(.is-workspace) .home-theme-picker button { color:#c3c9cc;background:transparent;border:0 }
body.theme-dark:not(.is-workspace) .home-theme-picker button[aria-pressed="true"] { color:#07100d;background:#8fcbb9 }
body.theme-dark:not(.is-workspace) #signup-view .form-card { display:grid;background:#0d0e10;border-color:#35393d }
body.theme-dark:not(.is-workspace) #signup-view .signup-section,
body.theme-dark:not(.is-workspace) #signup-view .chosen-plan,
body.theme-dark:not(.is-workspace) #signup-view .consent-box,
body.theme-dark:not(.is-workspace) #login-view .login-identity { color:#f1f2f3;background:#0d0e10;border-color:#35393d }
body.theme-dark:not(.is-workspace) #signup-view .chosen-plan { background:#111315 }
body.theme-dark:not(.is-workspace) .signup-progress li { color:#b8bdc1;border-color:transparent transparent #35393d }
body.theme-dark:not(.is-workspace) .signup-progress li>span { color:#b8bdc1;background:#151719;border-color:#41464a }
body.theme-dark:not(.is-workspace) .signup-progress li.is-current { color:#8fcbb9;border-bottom-color:#8fcbb9 }
body.theme-dark:not(.is-workspace) .signup-progress li.is-current>span,
body.theme-dark:not(.is-workspace) .signup-progress li.is-complete>span { color:#07100d;background:#8fcbb9;border-color:#8fcbb9 }
body.theme-dark:not(.is-workspace) input:not([type=checkbox]):not([type=file]):not([type=color]),
body.theme-dark:not(.is-workspace) select,
body.theme-dark:not(.is-workspace) textarea { color:#f1f2f3;background:#090a0b;border-color:#35393d }
body.theme-dark:not(.is-workspace) input::placeholder,
body.theme-dark:not(.is-workspace) textarea::placeholder { color:#92999d;opacity:1 }
body.theme-dark:not(.is-workspace) input:focus-visible,
body.theme-dark:not(.is-workspace) select:focus-visible,
body.theme-dark:not(.is-workspace) textarea:focus-visible,
body.theme-dark:not(.is-workspace) button:focus-visible,
body.theme-dark:not(.is-workspace) a:focus-visible { outline:2px solid #8fcbb9;outline-offset:2px }
body.theme-dark:not(.is-workspace) input[type=checkbox] { accent-color:#8fcbb9 }
body.theme-dark:not(.is-workspace) .legal-review-link { color:#8fcbb9 }
body.theme-dark:not(.is-workspace) .legal-library-item { color:#f1f2f3;background:#0d0e10;border-color:#35393d }
body.theme-dark:not(.is-workspace) .legal-library-item>summary { color:#f1f2f3 }
body.theme-dark:not(.is-workspace) .legal-library-item[open]>summary { border-color:#35393d }
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content { color:#d4d9db }
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content h3,
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content h4 { color:#e1e4e5 }
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content hr { background:#35393d }
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content code,
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content th { color:#f1f2f3;background:#222629 }
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content td,
body.theme-dark:not(.is-workspace) .legal-library-item .legal-document-content th { border-color:#35393d }
body.theme-dark:not(.is-workspace) .legal-draft-label,
body.theme-dark:not(.is-workspace) .test-mode-signup-note { color:#fde68a;background:#30240f;border-color:#51401f }
body.theme-dark:not(.is-workspace) .form-feedback:not(.is-ok) { color:#ffb4ab }
body.theme-dark:not(.is-workspace) .form-feedback.is-ok { color:#a7f3d0 }
body.theme-dark:not(.is-workspace) .public-footer { border-color:#35393d }
@media(max-width:720px){body.theme-dark:not(.is-workspace) #signup-view .form-card{display:flex;flex-direction:column}}
