._theme-matcha {

    /* Legacy (kept sensible) */
    --wf-color-bg-secondary: #313244;
    --wf-color-background-info: #1e1e2e;
    --wf-color-text-warning: #181825;
    --wf-color-text-info: #89b4fa;
    --wf-color-link-01: #89b4fa;
    --wf-color-link-hover-01: #b4befe;

    --gray1: #cdd6f4;
    --gray2: #bac2de;
    --gray3: #a6adc8;
    --gray4: #9399b2;
    --gray5: #7f849c;
    --gray6: #6c7086;
    --gray7: #585b70;
    --gray8: #45475a;
    --accent: #85AC41;

    /* Refactored tokens */

    /* Backgrounds */
    --wf-background: #DDEABE;
    --wf-background-secondary: #B1CF7D;
    --wf-background-tertiary: #EEF6CF; /* date tag pill */
    --wf-background-accent: #85AC41;
    --wf-background-inverse: #EEF6CF; /* mouseover tooltip bg*/
    --wf-background-inverse-transparent: rgba(205,214,244,0.10);
    --wf-page-background: #DDEABE;

    /* Borders */
    --wf-border-default: #85AC41; /* default border */
    --wf-border-active: #85AC41; /* active border*/
    --wf-border-strong: #45475a;
    --wf-border-subtle: #85ac4179; /* nested thread border */

    /* Text */
    --wf-text-primary: #415915;
    --wf-text-secondary: #415915;
    --wf-text-on-color: #FCFFF2;
    --wf-text-inverse: #1e1e2e;
    --wf-text-helper: #6B9325; /* secondary text in menu*/
    --wf-text-disabled: #F0DAC9;
    --wf-text-error: #D56C62;

    /* Buttons */
    --wf-button-background: #B1CF7D; /*sidebar hover background*/
    --wf-button-background-primary: #B1CF7D; /* button background*/
    --wf-button-background-primary-hover: #6B9325;
    --wf-button-background-primary-active: #6B9325;
    --wf-button-background-secondary: #85AC41; /* bullet ring */
    --wf-button-background-secondary-hover: #6B9325;
    --wf-button-background-secondary-active: #6B9325;
    --wf-ghost-button-background-hover: #B1CF7D; /* button background hover*/
    --wf-ghost-button-background-active: #85AC41;
    --wf-button-background-danger: #D56C62;
    --wf-button-background-danger-hover: var(--wf-red-700);
    --wf-button-background-loading: #85AC41;
    --wf-button-disabled: #B1CF7D;

    /* Icons */
    --wf-icon-primary: #85AC41; /* bullets*/
    --wf-icon-secondary: #415915; /* bullet ring in table */
    --wf-icon-tertiary: #85AC41; /* arrow icon*/
    --wf-icon-active: #6B9325; /* comment icon hover*/

    /* Support */
    --wf-support-success: #74bc6d;
    --wf-support-warning: #dfb966;
    --wf-support-error: #c14165;

    /* Links */
    --wf-link-primary: #1C2427;
    --wf-link-secondary: #415915;

    /* Header */
    --wf-header-background: #B1CF7D;
    --wf-header-text: #6B9325;
    --wf-header-icon: #6B9325;
    --wf-header-text-secondary: #415915;
    --wf-header-border: #85AC41;
    --wf-header-button-background-hover: #DDEABE;
    --wf-header-button-background-active: #1e1e2e;
    --wf-header-button-background-disabled: #45475a;

    /* Menu */
    --wf-menu-background: #B1CF7D; /* menu background */
    --wf-menu-text: #FCFFF2; /* menu text */
    --wf-menu-border: #85AC41;
    --wf-menu-icon: #6B9325;

    /* Input */
    --wf-input-background: #B1CF7D; /* todo bg*/
    --wf-input-background-hover: #85AC41;
    --wf-input-default: #B1CF7D;
    --wf-input-active: #85AC41;

    /* Text, Highlight and Tag colors */
    --wf-tag-background: #FCFFF2;
    --wf-tag-text: #4A5A28;

    --wf-tag-text-red: #C43838;
    --wf-tag-background-red: #F5D0C8;

    --wf-tag-text-orange: #D06020;
    --wf-tag-background-orange: #F8DCC0;

    --wf-tag-text-yellow: #A88510;
    --wf-tag-background-yellow: #F0E4A8;

    --wf-tag-text-green: #3D8828;
    --wf-tag-background-green: #C0E0A0;

    --wf-tag-text-blue: #2868A0;
    --wf-tag-background-blue: #C0D8F0;

    --wf-tag-text-purple: #7848A8;
    --wf-tag-background-purple: #DCC8F0;

    --wf-tag-text-gray: #505850;
    --wf-tag-background-gray: #D0D8C8;

    --wf-tag-text-teal: #188878;
    --wf-tag-background-teal: #B0E0D8;

    --wf-tag-text-sky: #1878A0;
    --wf-tag-background-sky: #B8D8E8;

    --wf-tag-text-pink: #C04878;
    --wf-tag-background-pink: #F0D0D8;

    /* Misc */
    --wf-highlight: #EEF6CF; /* share ring */
    --wf-search-highlight: #FBDA8A;
    --wf-icon-star: #f9e2af;
    --wf-page-shadow: none;
    --wf-present-theme: light;
    --wf-payment-stripe-theme: night;

    /* Scrollbar */
    --webkit-scrollbar-track: transparent;
    --webkit-scrollbar-thumb: #B1CF7D;
    --webkit-scrollbar-thumb-hover: #85AC41;

    /* Text-annotation icon colors */
    --text-annotation-icon-colors-mentioned: #89b4fa;
    --text-annotation-icon-colors-added: #a6e3a1;
    --text-annotation-icon-colors-moved: #cba6f7;
    --text-annotation-icon-colors-completed: #7f849c;
    --text-annotation-icon-colors-edited: #fab387;

    /* Text-annotation background colors */
    --text-annotation-background-colors-mentioned: #313244;
    --text-annotation-background-colors-added: #244232;
    --text-annotation-background-colors-moved: #32274a;
    --text-annotation-background-colors-completed: #2b2e3a;
    --text-annotation-background-colors-edited: #3e3326;

    /* Shadows */
    --root-thread-box-shadow: rgba(0,0,0,0.45) 0 7px 9px -4px,
                             rgba(0,0,0,0.30) 0 14px 21px 2px,
                             rgba(0,0,0,0.28) 0 5px 26px 4px;
    --comment-box-shadow: 0 0px 0px 0px rgba(0,0,0,0.45),
                          0 0px 0px 0 rgba(0,0,0,0.40),
                          0 0px 0px 0 rgba(0,0,0,0.38);
    --comment-box-shadow-stacked-2: 0 3px 3px -2px rgba(0,0,0,0.45),
                                    0 3px 4px 0 rgba(0,0,0,0.40),
                                    0 1px 8px 0 rgba(0,0,0,0.38),
                                    0 10px 0 -5px #2b2e3a,
                                    0 13px 3px -7px rgba(0,0,0,0.40),
                                    0 13px 4px -5px rgba(0,0,0,0.40),
                                    0 11px 8px -5px rgba(0,0,0,0.40),
                                    0 20px 0 -10px #2b2e3a,
                                    0 23px 3px -12px rgba(0,0,0,0.40),
                                    0 23px 4px -10px rgba(0,0,0,0.40),
                                    0 21px 8px -10px rgba(0,0,0,0.40);
  }


  ._theme-matcha .menu .text {
    color: #FCFFF2 !important;
  }

  ._theme-matcha .menu .text-tertiary {
    color: #6B9325 !important;
  }

  ._theme-matcha .comment.thread  {
    border: 1px solid #B1CF7D !important;
    box-shadow: 0 0 20px 1px #b1cf7d38 !important;
  }

  ._theme-matcha .ai-chat-button  {
    border: 0px solid !important;
    box-shadow: none !important;
  }

  ._theme-matcha .item-checkbox {
    color: #B1CF7D !important;
  }

  ._theme-matcha .item-checkbox.checked {
    color: #B1CF7D !important;
  }

  ._theme-matcha .button.primary {
    color: #415915 !important;
  }

  ._theme-matcha .iconButton {
    color: #85AC41 !important;
  }

  ._theme-matcha .ctx-menu .iconButton {
    color: #6b9325 !important;
  }

  ._theme-matcha .leftBar div {
    box-shadow: none !important;
  }

  ._theme-matcha .leftBar .text-secondary {
    color: #FCFFF2 !important;
  }

  ._theme-matcha hr {
    color: #85ac4179 !important;
    border-top-color: #85ac4179 !important;
  }

  ._theme-matcha .monolith-pill .content-wrapper {
    color: #6e9625 !important;
  }

  ._theme-matcha .toggle-switch {
    border: 1px solid #85AC41 !important;
  }

    ._theme-matcha .leftBar div {
    box-shadow: none !important;
  }

  ._theme-matcha .line {
    background:#85AC41 !important;
  }

  ._theme-matcha .project.drag-hovered-at:after {
    background: #85AC41 !important;
  }
