/* Generated by tools/build-dark-css.mjs - do not edit by hand. */

/* ---- style.css ---- */

html[data-theme="dark"] h2 {
  border-bottom: 1px solid hsl(0 0% 23%);
}

html[data-theme="dark"] .recurring-input-grid input[type="number"] {
  background: hsl(195 18% 12%);
}

html[data-theme="dark"] .level-select {
  border: 1px solid hsl(0 0% 26%);
  background: hsl(195 18% 12%);
  color: hsl(218 54% 86%);
}

html[data-theme="dark"] .level-select:focus {
  border-color: hsl(211 40% 43%);
}

html[data-theme="dark"] .subtle-link {
  color: hsl(0 0% 93% / 0.45);
}

html[data-theme="dark"] .subtle-link:hover {
  color: hsl(0 0% 93% / 0.75);
}

html[data-theme="dark"] .sidebar-header {
  border-bottom: 1px solid hsl(0 0% 20% / 0.1);
}

html[data-theme="dark"] .sidebar-close {
  color: hsl(222 60% 82%);
}

html[data-theme="dark"] .language-toggle,
html[data-theme="dark"] .theme-toggle {
  border: 1px solid hsl(0 0% 20% / 0.35);
}

html[data-theme="dark"] .language-options {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .language-option:hover,
html[data-theme="dark"] .language-option[aria-pressed="true"] {
  background: hsl(163 12% 13%);
  color: var(--brand-text);
}

html[data-theme="dark"] .language-option kbd {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .splash-title {
  background: linear-gradient(90deg, hsl(0 0% 11%), hsl(186 40% 14%) 40%, hsl(173 45% 17%) 100%);
}

html[data-theme="dark"] .splash-divider {
  background: linear-gradient(90deg, hsl(0 0% 11% / 0.7), hsl(0 0% 11% / 0.12));
}

html[data-theme="dark"] .splash-logo::after {
  background: linear-gradient(120deg, hsl(0 0% 11% / 0.05) 0%, hsl(0 0% 11% / 0) 40%, hsl(0 0% 11% / 0.05) 70%, hsl(0 0% 11% / 0) 100%);
}

html[data-theme="dark"] {
  --ink: hsl(185 43% 88%);
  --muted: hsl(177 10% 76%);
  --line: hsl(165 8% 26%);
  --surface: hsl(0 0% 11%);
}

html[data-theme="dark"] .local-preview-notice {
  border: 1px solid hsl(42 24% 29%);
  background: hsl(42 45% 13%);
  color: hsl(40 58% 83%);
}

html[data-theme="dark"] body {
  background-color: hsl(163 9% 14%);
}

html[data-theme="dark"] body::before {
  background: hsl(167 13% 14% / 0.68);
}

html[data-theme="dark"] .container {
  border: 1px solid hsl(0 0% 20% / 0.8);
  background: hsl(160 19% 12% / 0.96);
}

html[data-theme="dark"] label {
  color: hsl(182 20% 83%);
}

html[data-theme="dark"] input[type="number"] {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .check-card {
  background: hsl(160 10% 12%);
  color: hsl(182 20% 83%);
}

html[data-theme="dark"] .check-card:has(input:checked) {
  border-color: hsl(172 10% 36%);
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] button:focus-visible {
  outline: 3px solid hsl(38 26% 42%);
}

html[data-theme="dark"] textarea {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .sidebar {
  background: hsl(165 18% 12% / 0.97);
}

html[data-theme="dark"] .sidebar-tab {
  background: hsl(156 11% 13%);
  color: hsl(176 23% 83%);
}

html[data-theme="dark"] .sidebar-tab:hover {
  border-color: hsl(170 9% 29%);
  background: hsl(168 12% 14%);
}

html[data-theme="dark"] .sidebar-tab.active {
  border-color: hsl(170 10% 36%);
  background: hsl(169 13% 16%);
  color: var(--brand-text);
}

html[data-theme="dark"] .rec-option h3 {
  color: var(--brand-text);
}

html[data-theme="dark"] .summary-disclosure > summary:focus-visible {
  outline: 3px solid hsl(38 26% 42%);
}

html[data-theme="dark"] .level-label {
  color: hsl(182 20% 83%);
}

html[data-theme="dark"] .level-picker > summary {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .level-picker-options {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .level-option:hover,
html[data-theme="dark"] .level-option[aria-pressed="true"] {
  background: hsl(163 12% 13%);
  color: var(--brand-text);
}

html[data-theme="dark"] .level-error {
  color: hsl(2 49% 75%);
}

html[data-theme="dark"] .profile-grid input[type="text"],
html[data-theme="dark"] .profile-grid input[type="tel"],
html[data-theme="dark"] .profile-grid input[type="email"],
html[data-theme="dark"] .profile-grid select,
html[data-theme="dark"] .team-invite-form input,
html[data-theme="dark"] .team-join-form input,
html[data-theme="dark"] .team-row select {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .archive-entry {
  background: hsl(150 15% 12%);
}

html[data-theme="dark"] .archive-estimate-type {
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .archive-entry-details > summary {
  color: var(--brand-text);
}

html[data-theme="dark"] .archive-entry-summary {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .archive-delete-button,
html[data-theme="dark"] .archive-cancel {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .archive-delete-button:hover,
html[data-theme="dark"] .archive-cancel:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .settings-save-status[data-state="settings.unsaved"],
html[data-theme="dark"] .settings-save-status[data-state="settings.invalid"],
html[data-theme="dark"] .settings-save-status[data-state="settings.savedNoHistory"] {
  color: hsl(35 60% 81%);
}

html[data-theme="dark"] .history-entry {
  background: hsl(150 15% 12%);
}

html[data-theme="dark"] .archive-error {
  color: hsl(2 50% 77%);
}

html[data-theme="dark"] .archive-dialog input,
html[data-theme="dark"] .archive-dialog textarea {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .profile-password {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .profile-password:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .profile-logout {
  border: 1px solid hsl(5 17% 32%);
  background: hsl(0 0% 11%);
  color: hsl(4 43% 78%);
}

html[data-theme="dark"] .profile-logout:hover {
  border-color: hsl(5 15% 40%);
  background: hsl(5 28% 13%);
  color: hsl(3 44% 81%);
}

html[data-theme="dark"] .compare-panel {
  background: linear-gradient(180deg, hsl(170 17% 12%) 0%, hsl(0 0% 11%) 100%);
}

html[data-theme="dark"] .compare-form input,
html[data-theme="dark"] .compare-form select {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .compare-message {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .compare-count {
  color: var(--brand-text);
}

html[data-theme="dark"] .archive-entry.has-match {
  border-color: hsl(172 11% 30%);
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .match-panel {
  background: hsl(170 14% 13%);
}

html[data-theme="dark"] .match-score::before {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .match-bar {
  background: hsl(166 10% 16%);
}

html[data-theme="dark"] .match-badge {
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .match-badge[data-strength="exact"] {
  background: hsl(152 20% 14%);
  color: hsl(154 60% 83%);
}

html[data-theme="dark"] .match-badge[data-strength="partial"] {
  background: hsl(39 36% 14%);
  color: hsl(38 60% 81%);
}

html[data-theme="dark"] .archive-chip {
  background: hsl(160 10% 12%);
  color: hsl(182 20% 83%);
}

html[data-theme="dark"] .archive-chip[data-tone="highlight"] {
  border-color: hsl(40 24% 32%);
  background: hsl(39 36% 14%);
  color: hsl(38 60% 81%);
}

html[data-theme="dark"] .archive-chip[data-tone="time"] {
  border-color: hsl(172 11% 30%);
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .archive-filters input,
html[data-theme="dark"] .archive-filters select {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .pick-toggle {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .pick-options {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .pick-option:hover,
html[data-theme="dark"] .pick-option[aria-pressed="true"] {
  background: hsl(163 12% 13%);
  color: var(--brand-text);
}

html[data-theme="dark"] .pricing-mode-toggle {
  background: hsl(167 10% 15%);
}

html[data-theme="dark"] .pricing-level-card {
  background: hsl(150 9% 12%);
}

html[data-theme="dark"] .pricing-switch-notice {
  border: 1px solid hsl(40 24% 32%);
  background: hsl(39 36% 14%);
  color: hsl(38 60% 81%);
}

html[data-theme="dark"] .status-badge {
  background: hsl(39 36% 14%);
  color: hsl(38 60% 81%);
}

html[data-theme="dark"] .status-badge[data-status="accepted"] {
  background: hsl(152 20% 14%);
  color: hsl(154 60% 83%);
}

html[data-theme="dark"] .status-badge[data-status="declined"] {
  background: hsl(8 34% 14%);
  color: hsl(7 56% 77%);
}

html[data-theme="dark"] .status-summary-chip {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .status-summary-chip:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .status-summary-chip[aria-pressed="true"] {
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .tracking-overdue {
  color: hsl(8 59% 75%);
}

html[data-theme="dark"] .segmented-control {
  background: hsl(167 10% 15%);
}

html[data-theme="dark"] .choice-chip {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .choice-chip:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .choice-chip[aria-pressed="true"] {
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .tracking-follow-up input[type="date"] {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .tracking-link {
  color: var(--brand-text);
}

html[data-theme="dark"] .tracking-link:hover {
  color: var(--brand-text);
}

html[data-theme="dark"] .tracking-actual-field input {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .tracking-actual-compare {
  background: hsl(168 14% 14%);
  color: hsl(154 55% 83%);
}

html[data-theme="dark"] .tracking-actual-compare[data-tone="warn"] {
  background: hsl(37 34% 14%);
  color: hsl(36 60% 81%);
}

html[data-theme="dark"] .note-item {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .note-tag {
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .note-tag[data-category="house"] {
  background: hsl(213 32% 13%);
  color: hsl(213 55% 79%);
}

html[data-theme="dark"] .note-tag[data-category="client"] {
  background: hsl(268 28% 13%);
  color: hsl(266 38% 77%);
}

html[data-theme="dark"] .note-tag[data-category="pricing"] {
  background: hsl(39 36% 14%);
  color: hsl(38 60% 81%);
}

html[data-theme="dark"] .note-tag[data-category="follow_up"] {
  background: hsl(8 34% 14%);
  color: hsl(7 56% 77%);
}

html[data-theme="dark"] .note-form textarea {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .archive-edit-button {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .archive-edit-button:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .editing-banner {
  border: 1px solid hsl(172 11% 30%);
  background: hsl(168 14% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .editing-banner-clear {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .editing-banner-clear:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .quote-share-button,
html[data-theme="dark"] .quote-dialog-actions .archive-cancel {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .quote-share-button:hover,
html[data-theme="dark"] .quote-dialog-actions .archive-cancel:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .brand-label {
  color: hsl(182 20% 83%);
}

html[data-theme="dark"] .brand-field input[type="text"],
html[data-theme="dark"] .brand-field input[type="number"] {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .brand-field input[type="color"] {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .brand-logo-box {
  border: 1px dashed hsl(170 8% 30%);
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .brand-upload {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .brand-upload:hover {
  background: hsl(156 10% 13%);
}

html[data-theme="dark"] .brand-field textarea {
  background: hsl(160 10% 12%);
}

html[data-theme="dark"] .reports-range input[type="date"] {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .reports-range input[type="date"]:hover {
  border-color: hsl(165 7% 30%);
}

html[data-theme="dark"] .loss-reason-setting {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .export-panel {
  background: linear-gradient(180deg, hsl(170 17% 12%) 0%, hsl(0 0% 11%) 100%);
}

html[data-theme="dark"] .undo-toast-button {
  background: hsl(0 0% 11% / 0.14);
}

html[data-theme="dark"] .undo-toast-button:hover {
  background: hsl(0 0% 11% / 0.24);
}

html[data-theme="dark"] .empty-tip {
  border: 1px dashed hsl(171 9% 30%);
  background: hsl(168 15% 12%);
}

html[data-theme="dark"] .tour-bar {
  background: hsl(169 8% 19%);
}

html[data-theme="dark"] .manager-note {
  border: 1px solid hsl(42 24% 29%);
  background: hsl(42 45% 13%);
  color: hsl(40 58% 83%);
}

html[data-theme="dark"] .team-row {
  background: hsl(150 15% 12%);
}

html[data-theme="dark"] .team-you {
  background: hsl(171 17% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .team-role-badge {
  background: hsl(168 8% 14%);
}

html[data-theme="dark"] .team-role-badge.role-owner {
  background: hsl(41 41% 15%);
  color: hsl(38 60% 82%);
}

html[data-theme="dark"] .team-role-badge.role-admin {
  background: hsl(171 17% 14%);
  color: var(--brand-text);
}

html[data-theme="dark"] .team-remove {
  color: hsl(2 50% 77%);
}

html[data-theme="dark"] .team-invite-result {
  background: hsl(163 19% 13%);
}

/* ---- reports.css ---- */

html[data-theme="dark"] .report-doc {
  border: 1px solid hsl(165 8% 26%);
  background: hsl(0 0% 11%);
  color: hsl(184 24% 89%);
}

html[data-theme="dark"] .rp-company {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-title {
  border-top: 1px solid hsl(180 7% 24%);
}

html[data-theme="dark"] .rp-title h1 {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-muted {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-empty {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-kpi {
  border: 1px solid hsl(180 7% 24%);
  background: hsl(180 12% 12%);
}

html[data-theme="dark"] .rp-kpi-label {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-kpi strong {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-kpi-note {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-insights h2,
html[data-theme="dark"] .rp-card h2 {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-card {
  border: 1px solid hsl(180 7% 24%);
}

html[data-theme="dark"] .rp-bar {
  background: hsl(180 9% 14%);
}

html[data-theme="dark"] .rp-bar-value {
  color: hsl(177 13% 82%);
}

html[data-theme="dark"] .rp-donut > div {
  background: hsl(0 0% 11%);
}

html[data-theme="dark"] .rp-donut span {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-table th,
html[data-theme="dark"] .rp-table td {
  border-bottom: 1px solid hsl(180 7% 24%);
}

html[data-theme="dark"] .rp-table thead th {
  color: hsl(183 7% 72%);
}

html[data-theme="dark"] .rp-table tbody tr:nth-child(odd) {
  background: hsl(180 12% 12%);
}

html[data-theme="dark"] .rp-overdue {
  color: hsl(7 51% 71%);
}

html[data-theme="dark"] .rp-money tfoot th,
html[data-theme="dark"] .rp-money tfoot td {
  border-top: 2px solid hsl(165 8% 26%);
}

html[data-theme="dark"] .rp-sub {
  color: hsl(183 7% 72%);
}

html[data-theme="dark"] .rp-table thead th.rp-slot-accepted {
  color: hsl(154 60% 80%);
}

html[data-theme="dark"] .rp-table thead th.rp-slot-declined {
  color: hsl(7 51% 71%);
}

html[data-theme="dark"] .rp-table thead th.rp-slot-pending {
  color: hsl(38 60% 76%);
}

html[data-theme="dark"] .rp-more > summary {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-stat[data-slot="accepted"] strong {
  color: hsl(154 60% 80%);
}

html[data-theme="dark"] .rp-stat[data-slot="declined"] strong {
  color: hsl(7 51% 71%);
}

html[data-theme="dark"] .rp-stat[data-slot="pending"] strong {
  color: hsl(38 60% 76%);
}

html[data-theme="dark"] .rp-stat {
  border: 1px solid hsl(180 7% 24%);
  background: hsl(180 12% 12%);
}

html[data-theme="dark"] .rp-stat span {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-stat strong {
  color: var(--brand-text);
}

html[data-theme="dark"] .rp-stat em {
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .rp-type-row {
  background: hsl(180 12% 12%);
}

html[data-theme="dark"] .rp-diff[data-tone="good"] {
  color: hsl(154 60% 80%);
}

html[data-theme="dark"] .rp-diff[data-tone="over"] {
  color: hsl(7 51% 71%);
}

html[data-theme="dark"] .rp-diff[data-tone="under"] {
  color: hsl(38 60% 76%);
}

html[data-theme="dark"] .rp-foot {
  border-top: 1px solid hsl(180 7% 24%);
  color: hsl(183 8% 75%);
}

html[data-theme="dark"] .report-print {
  background: hsl(0 0% 11%);
}

/* ---- sign-in.css ---- */

html[data-theme="dark"] .auth-wordmark {
  color: var(--brand-text);
}

html[data-theme="dark"] .auth-panel {
  border: 1px solid hsl(165 8% 26% / 0.95);
  background: hsl(0 0% 11% / 0.97);
}

html[data-theme="dark"] .auth-kicker {
  color: var(--brand-text);
}

html[data-theme="dark"] .auth-field input {
  background: hsl(150 15% 12%);
}

html[data-theme="dark"] .auth-password-toggle {
  background: hsl(160 11% 13%);
  color: var(--brand-text);
}

html[data-theme="dark"] .auth-password-toggle:hover {
  background: hsl(164 12% 15%);
}

html[data-theme="dark"] .auth-status {
  border: 1px solid hsl(42 24% 29%);
  background: hsl(42 45% 13%);
  color: hsl(40 58% 83%);
}

html[data-theme="dark"] .auth-language select {
  border: 1px solid hsl(0 0% 20% / 0.75);
  background: hsl(0 0% 11% / 0.95);
}

html[data-theme="dark"] .auth-link {
  color: var(--brand-text);
}

html[data-theme="dark"] .auth-link:hover {
  color: var(--brand-text);
}

/* ---- tools/dark-extra.css ---- */

html[data-theme="dark"] {
  color-scheme: dark;
  --brand-text: #6fcfc6;
}

html[data-theme="dark"] body {
  color: #dbe7e5;
}

html[data-theme="dark"] body::before {
  background: rgba(8, 16, 18, 0.78);
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  background-color: hsl(180 10% 14%);
  color: #e3eeec;
  border-color: hsl(175 10% 27%);
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #8aa09d;
}

html[data-theme="dark"] input[type="checkbox"],
html[data-theme="dark"] input[type="radio"] {
  background-color: transparent;
}

html[data-theme="dark"] dialog {
  background: hsl(185 14% 13%);
  color: #dbe7e5;
}

html[data-theme="dark"] .quote-card-host {
  color-scheme: light;
}
