:root {
  color-scheme: light;
  --ivory: #f4f1e9;
  --paper: #fcfbf8;
  --forest: #1e3930;
  --forest-light: #2e5043;
  --ink: #25362f;
  --muted: #6e736b;
  --line: #dddcd2;
  --bronze: #94733f;
  --heading: #1e3930;
  --sidebar-bg: #1e3930;
  --primary-bg: #1e3930;
  --primary-ink: #fff;
  --primary-hover: #2e5043;
  --primary-active: #14291f;
  --primary-disabled: #60736a;
  --input-bg: #fcfbf8;
  --input-focus-bg: #fff;
  --link: #305a48;
  --link-hover: #172f25;
  --on-sidebar: #fff;
  --avatar-ink: #1e3930;
  --danger-button: #a14236;
  --danger-button-hover: #86342a;
  --success-text: #376c4e;
  --danger-text: #a14236;
  --warning-text: #a57b2d;
  --info-text: #4e7075;
  --bs-body-color-rgb: 37, 54, 47;
  --bs-link-color-rgb: 48, 90, 72;
  --bs-link-hover-color-rgb: 23, 47, 37;
  --bs-primary-rgb: 30, 57, 48;
  --bs-success-rgb: 55, 108, 78;
  --bs-danger-rgb: 161, 66, 54;
  --bs-warning-rgb: 210, 174, 104;
  --bs-info-rgb: 78, 112, 117;
  --bs-secondary-rgb: 110, 115, 107;
  --bs-dark-rgb: 30, 57, 48;
  --bs-light-rgb: 244, 241, 233;
  --bs-emphasis-color-rgb: 30, 57, 48;
  --focus-rgb: 148, 115, 63;
  --close-filter: none;
  --focus-ring: #b29561;
  --sidebar-text: #f6f1e4;
  --brand-text: #f1e6d0;
  --sidebar-link: #e4e9e1;
  --sidebar-hover: #29493c;
  --sidebar-active: #2e5043;
  --sidebar-accent: #c3a06c;
  --sidebar-line: #476052;
  --sidebar-muted: #bdc9be;
  --avatar-bg: #e9d8b9;
  --breadcrumb-divider: #a8a99e;
  --surface-subtle: #eeede5;
  --outline-border: #85978a;
  --button-border: #cfcec2;
  --button-hover-bg: #e9e9df;
  --button-hover-border: #a6ad9e;
  --button-active-bg: #e3e7dc;
  --danger-outline: #994538;
  --danger-outline-border: #d7b7aa;
  --disabled-text: #7f8b79;
  --disabled-border: #c2c9bb;
  --input-border: #cecec1;
  --input-focus-border: #7c927e;
  --input-focus-ring: #dfe6d8;
  --placeholder: #81877b;
  --input-disabled-bg: #eaeae2;
  --input-disabled-text: #74796d;
  --check-border: #98a496;
  --tab-hover-border: #b7bda9;
  --table-hover: #eeefe6;
  --table-header-bg: #efeee6;
  --table-header-text: #596559;
  --surface-hover: #e9ece1;
  --pager-hover-border: #c3cbbb;
  --pager-disabled: #929989;
  --pager-disabled-text: #8f9789;
  --info-ink: #455e57;
  --info-bg: #e8ede3;
  --info-border: #d7dfce;
  --success-ink: #315542;
  --success-bg: #e4edde;
  --success-border: #cddbc5;
  --warning-ink: #785820;
  --warning-bg: #f4ebd7;
  --warning-border: #e5d4ae;
  --danger-ink: #8f3f33;
  --danger-bg: #f4e7e0;
  --danger-border: #e7c8b9;
  --empty-icon: #8b9b81;
  --guidance-border: #d5d8c9;
  --amount-due: #896323;
  --amount-settled: #52705b;
  --document-icon: #8a947e;
  --notification-new: #edf0e5;
  --accordion-active-bg: #e8ecdf;
  --calendar-today: #f4ecd7;
  --calendar-highlight: #e8eddd;
  --calendar-list-heading: #eeeee3;
  --status-idle-text: #68705e;
  --status-active-bg: #e2ebdf;
  --status-review-bg: #f1e8d4;
  --status-review-text: #775922;
  --status-done-bg: #e2e9e0;
  --status-done-text: #5a6d56;
  --file-icon: #839175;
  --calendar-unconfirmed: #e4e2d7;
  --calendar-online: #dbe8dd;
  --calendar-onsite: #c7d8b8;
  --calendar-holiday: #eddcd1;
  --calendar-short-day: #dce6df;
  --calendar-leave: #ead8ad;
  --calendar-leave-border: #ccb27d;
  --calendar-leave-text: #3f462d;
  --channel-unavailable: #c4c9ce;
  --channel-push: #5200cc;
  --channel-compass: #e05c35;
  --channel-telegram: #0088cc;
  --channel-email: #198754;
  --code-ink: #d63384;
  --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  --radio-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  --switch-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236e736b'/%3e%3c/svg%3e");
  --switch-focus-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%237c927e'/%3e%3c/svg%3e");
  --switch-checked-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  --select-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--ivory);
  --bs-link-color: var(--link);
  --bs-link-hover-color: var(--link-hover);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-secondary-bg: var(--surface-subtle);
  --bs-tertiary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-subtle);
  --bs-emphasis-color: var(--heading);
  --bs-code-color: var(--code-ink);
  --bs-form-valid-color: var(--success-text);
  --bs-form-valid-border-color: var(--success-text);
  --bs-form-invalid-color: var(--danger-text);
  --bs-form-invalid-border-color: var(--danger-text);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ivory: #151f1b;
    --paper: #1d2a23;
    --forest: #1e3930;
    --forest-light: #2e4536;
    --ink: #e9e5d9;
    --muted: #aeb7ab;
    --line: #39493e;
    --bronze: #bea06b;
    --heading: #e9e5d9;
    --sidebar-bg: #101b16;
    --primary-bg: #b7cbaa;
    --primary-ink: #14231a;
    --primary-hover: #c7d9bc;
    --primary-active: #a2bb92;
    --primary-disabled: #64765a;
    --input-bg: #24332b;
    --input-focus-bg: #28392e;
    --link: #bdcfae;
    --link-hover: #d6e5ca;
    --on-sidebar: #e9e5d9;
    --avatar-ink: #14231a;
    --danger-button: #a14236;
    --danger-button-hover: #b45243;
    --success-text: #9fc9a6;
    --danger-text: #e9a394;
    --warning-text: #d9b97b;
    --info-text: #accbc3;
    --bs-body-color-rgb: 233, 229, 217;
    --bs-link-color-rgb: 189, 207, 174;
    --bs-link-hover-color-rgb: 214, 229, 202;
    --bs-primary-rgb: 183, 203, 170;
    --bs-success-rgb: 55, 108, 78;
    --bs-danger-rgb: 161, 66, 54;
    --bs-warning-rgb: 210, 174, 104;
    --bs-info-rgb: 78, 112, 117;
    --bs-secondary-rgb: 110, 115, 107;
    --bs-dark-rgb: 16, 27, 22;
    --bs-light-rgb: 36, 51, 43;
    --bs-emphasis-color-rgb: 233, 229, 217;
    --focus-rgb: 190, 160, 107;
    --close-filter: invert(1) grayscale(100%) brightness(180%);
    --focus-ring: #bea06b;
    --sidebar-text: #e9e5d9;
    --brand-text: #e9e5d9;
    --sidebar-link: #e0e5da;
    --sidebar-hover: #26392d;
    --sidebar-active: #2e4536;
    --sidebar-accent: #bea06b;
    --sidebar-line: #324638;
    --sidebar-muted: #aeb7ab;
    --avatar-bg: #d8ccaf;
    --breadcrumb-divider: #7e8d7d;
    --surface-subtle: #24332b;
    --outline-border: #809777;
    --button-border: #53624e;
    --button-hover-bg: #2d4033;
    --button-hover-border: #74886b;
    --button-active-bg: #344b3b;
    --danger-outline: #e9a394;
    --danger-outline-border: #92665c;
    --disabled-text: #8b9985;
    --disabled-border: #4d5a47;
    --input-border: #5e6f5f;
    --input-focus-border: #adc29f;
    --input-focus-ring: #3e5441;
    --placeholder: #9dab95;
    --input-disabled-bg: #263229;
    --input-disabled-text: #94a18c;
    --check-border: #829578;
    --tab-hover-border: #8a9c7f;
    --table-hover: #2a3b30;
    --table-header-bg: #26362c;
    --table-header-text: #bfccba;
    --surface-hover: #2d4033;
    --pager-hover-border: #6c8064;
    --pager-disabled: #8b9985;
    --pager-disabled-text: #8b9985;
    --info-ink: #bbd6cd;
    --info-bg: #253b32;
    --info-border: #486557;
    --success-ink: #b4d5b5;
    --success-bg: #293e2e;
    --success-border: #506b4e;
    --warning-ink: #e3c890;
    --warning-bg: #403722;
    --warning-border: #756442;
    --danger-ink: #edb7aa;
    --danger-bg: #442e29;
    --danger-border: #815b50;
    --empty-icon: #a1b295;
    --guidance-border: #526548;
    --amount-due: #d9b97b;
    --amount-settled: #9fc9a6;
    --document-icon: #a6b496;
    --notification-new: #2a3e2f;
    --accordion-active-bg: #2d4233;
    --calendar-today: #403b28;
    --calendar-highlight: #354b39;
    --calendar-list-heading: #293c2f;
    --status-idle-text: #b2bea7;
    --status-active-bg: #2a4231;
    --status-review-bg: #453b25;
    --status-review-text: #ddc086;
    --status-done-bg: #2c3b2f;
    --status-done-text: #a7b99d;
    --file-icon: #a5b69a;
    --calendar-unconfirmed: #364236;
    --calendar-online: #2f4a3d;
    --calendar-onsite: #405637;
    --calendar-holiday: #6e493d;
    --calendar-short-day: #38604d;
    --calendar-leave: #5d4e2d;
    --calendar-leave-border: #a68e54;
    --calendar-leave-text: #efe0b3;
    --channel-unavailable: #778674;
    --channel-push: #bb9ee8;
    --channel-compass: #e99b83;
    --channel-telegram: #8bc5df;
    --channel-email: #9fc9a6;
    --code-ink: #e2b7ca;
    --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%2314231a' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    --radio-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2314231a'/%3e%3c/svg%3e");
    --switch-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23aeb7ab'/%3e%3c/svg%3e");
    --switch-focus-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23c7d9bc'/%3e%3c/svg%3e");
    --switch-checked-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2314231a'/%3e%3c/svg%3e");
    --select-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23bfccba' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  }
}
@media print {
  :root {
    color-scheme: light;
    --ivory: #f4f1e9;
    --paper: #fcfbf8;
    --forest: #1e3930;
    --forest-light: #2e5043;
    --ink: #25362f;
    --muted: #6e736b;
    --line: #dddcd2;
    --bronze: #94733f;
    --heading: #1e3930;
    --sidebar-bg: #1e3930;
    --primary-bg: #1e3930;
    --primary-ink: #fff;
    --primary-hover: #2e5043;
    --primary-active: #14291f;
    --primary-disabled: #60736a;
    --input-bg: #fcfbf8;
    --input-focus-bg: #fff;
    --link: #305a48;
    --link-hover: #172f25;
    --on-sidebar: #fff;
    --avatar-ink: #1e3930;
    --danger-button: #a14236;
    --danger-button-hover: #86342a;
    --success-text: #376c4e;
    --danger-text: #a14236;
    --warning-text: #a57b2d;
    --info-text: #4e7075;
    --bs-body-color-rgb: 37, 54, 47;
    --bs-link-color-rgb: 48, 90, 72;
    --bs-link-hover-color-rgb: 23, 47, 37;
    --bs-primary-rgb: 30, 57, 48;
    --bs-success-rgb: 55, 108, 78;
    --bs-danger-rgb: 161, 66, 54;
    --bs-warning-rgb: 210, 174, 104;
    --bs-info-rgb: 78, 112, 117;
    --bs-secondary-rgb: 110, 115, 107;
    --bs-dark-rgb: 30, 57, 48;
    --bs-light-rgb: 244, 241, 233;
    --bs-emphasis-color-rgb: 30, 57, 48;
    --focus-rgb: 148, 115, 63;
    --close-filter: none;
    --focus-ring: #b29561;
    --sidebar-text: #f6f1e4;
    --brand-text: #f1e6d0;
    --sidebar-link: #e4e9e1;
    --sidebar-hover: #29493c;
    --sidebar-active: #2e5043;
    --sidebar-accent: #c3a06c;
    --sidebar-line: #476052;
    --sidebar-muted: #bdc9be;
    --avatar-bg: #e9d8b9;
    --breadcrumb-divider: #a8a99e;
    --surface-subtle: #eeede5;
    --outline-border: #85978a;
    --button-border: #cfcec2;
    --button-hover-bg: #e9e9df;
    --button-hover-border: #a6ad9e;
    --button-active-bg: #e3e7dc;
    --danger-outline: #994538;
    --danger-outline-border: #d7b7aa;
    --disabled-text: #7f8b79;
    --disabled-border: #c2c9bb;
    --input-border: #cecec1;
    --input-focus-border: #7c927e;
    --input-focus-ring: #dfe6d8;
    --placeholder: #81877b;
    --input-disabled-bg: #eaeae2;
    --input-disabled-text: #74796d;
    --check-border: #98a496;
    --tab-hover-border: #b7bda9;
    --table-hover: #eeefe6;
    --table-header-bg: #efeee6;
    --table-header-text: #596559;
    --surface-hover: #e9ece1;
    --pager-hover-border: #c3cbbb;
    --pager-disabled: #929989;
    --pager-disabled-text: #8f9789;
    --info-ink: #455e57;
    --info-bg: #e8ede3;
    --info-border: #d7dfce;
    --success-ink: #315542;
    --success-bg: #e4edde;
    --success-border: #cddbc5;
    --warning-ink: #785820;
    --warning-bg: #f4ebd7;
    --warning-border: #e5d4ae;
    --danger-ink: #8f3f33;
    --danger-bg: #f4e7e0;
    --danger-border: #e7c8b9;
    --empty-icon: #8b9b81;
    --guidance-border: #d5d8c9;
    --amount-due: #896323;
    --amount-settled: #52705b;
    --document-icon: #8a947e;
    --notification-new: #edf0e5;
    --accordion-active-bg: #e8ecdf;
    --calendar-today: #f4ecd7;
    --calendar-highlight: #e8eddd;
    --calendar-list-heading: #eeeee3;
    --status-idle-text: #68705e;
    --status-active-bg: #e2ebdf;
    --status-review-bg: #f1e8d4;
    --status-review-text: #775922;
    --status-done-bg: #e2e9e0;
    --status-done-text: #5a6d56;
    --file-icon: #839175;
    --calendar-unconfirmed: #e4e2d7;
    --calendar-online: #dbe8dd;
    --calendar-onsite: #c7d8b8;
    --calendar-holiday: #eddcd1;
    --calendar-short-day: #dce6df;
    --calendar-leave: #ead8ad;
    --calendar-leave-border: #ccb27d;
    --calendar-leave-text: #3f462d;
    --channel-unavailable: #c4c9ce;
    --channel-push: #5200cc;
    --channel-compass: #e05c35;
    --channel-telegram: #0088cc;
    --channel-email: #198754;
    --code-ink: #d63384;
    --check-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    --radio-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    --switch-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%236e736b'/%3e%3c/svg%3e");
    --switch-focus-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%237c927e'/%3e%3c/svg%3e");
    --switch-checked-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    --select-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  }
}
