/* Action color pairs are applied together so product styles cannot split them. */
@layer tissyo-cta {
  body {
    --cta-fill:#11676a;
    --cta-ink:#fff;
    --cta-hover:#0c5255;
    --cta-line:#0b5053;
  }
  body.universe-studio {
    --cta-fill:#46ded5;
    --cta-ink:#071521;
    --cta-hover:#89eee8;
    --cta-line:#127578;
  }
  body.universe-voice {
    --cta-fill:#ff9d00;
    --cta-ink:#071521;
    --cta-hover:#ffba53;
    --cta-line:#a95500;
  }
  body.universe-copy {
    --cta-fill:#f69279;
    --cta-ink:#071521;
    --cta-hover:#ffb09c;
    --cta-line:#a13f31;
  }
  body.universe-interact {
    --cta-fill:#5634cd;
    --cta-ink:#fff;
    --cta-hover:#4525a9;
    --cta-line:#4525a9;
  }
  body.universe-jury,body.universe-pomodoflow {
    --cta-fill:#0756b9;
    --cta-ink:#fff;
    --cta-hover:#08468e;
    --cta-line:#08468e;
  }

  /* Scope the treatment to named actions. App demos, playback controls and tabs stay independent. */
  :is(a.session-cta,a.elementor-button,button.elementor-button,a.button,a.btn.cta,.tissyo-chat-action,
      .voice-offer-cta,.voice-share-cta,.pf-button,.pf-launch button[type="submit"],
      .tec-sticky-btn,.hub-primary,.tissyo-lm-form button[type="submit"]) {
    --action-bg:var(--cta-fill);
    --action-ink:var(--cta-ink);
    --action-over:var(--cta-hover);
    --action-line:var(--cta-line);
    background:var(--action-bg)!important;
    color:var(--action-ink)!important;
    border:1px solid var(--action-line)!important;
    border-radius:12px!important;
    font-weight:700;
  }
  :is(a.session-cta,.tec-sticky-btn) {border-radius:999px!important}
  :is(a.elementor-button,button.elementor-button) :is(.elementor-button-text,.elementor-button-icon) {
    color:var(--action-ink)!important;
  }
  :is(a.session-cta,a.elementor-button,button.elementor-button,a.button,a.btn.cta,.tissyo-chat-action,
      .voice-offer-cta,.voice-share-cta,.pf-button,.pf-launch button[type="submit"],
      .tec-sticky-btn,.hub-primary,.tissyo-lm-form button[type="submit"]):is(:hover,:active) {
    background:var(--action-over)!important;
    color:var(--action-ink)!important;
  }

  /* Secondary controls use a light panel and a visible edge on both light and dark sections. */
  :is(.studio-asc-secondary,.copy-action-secondary,.elementor-button-secondary,
      .tissyo-product-resources-elementor,.blog-context-video) a.elementor-button,
  :is(a.button.ghost,a.btn.cta.secondary,.hub-text-button) {
    --action-bg:#f4f8fa;
    --action-ink:#102333;
    --action-over:#e3edf1;
    --action-line:#516b79;
  }
  .hub-text-button {color:#102333!important;background:#f4f8fa!important}
  .blog-context-card:not(.blog-context-video) a.elementor-button {
    --action-bg:#102f40;
    --action-ink:#fff;
    --action-over:#214c60;
    --action-line:#102f40;
  }
  .blog-context-video a.elementor-button {
    --action-bg:#f2f7f8;
    --action-ink:#102f40;
    --action-over:#e0edf0;
  }
  .hx-sec-studio a.hx-link,.hx-sec-trust a.hx-link {color:#11676a!important}
  .hx-sec-voice a.hx-link {color:#ffc37c!important}
  .universe-pomodoflow :is(.blog-story-link,.resource-card-link) {color:#07526e!important}
  .universe-interact .support-hub a[href*="apps.microsoft.com/"]:not(.elementor-button,.button,.cta) {
    color:#432695!important;
    text-decoration:underline;
    text-underline-offset:.18em;
  }
  :is(.studio-platform-switch a,.session-cta-link,.blog-story-link,.resource-card-link) {
    text-decoration:underline;
    text-underline-offset:.18em;
  }

  :is(a.session-cta,a.session-cta-link,a.elementor-button,button.elementor-button,a.button,a.btn.cta,.tissyo-chat-action,
      .voice-offer-cta,.voice-share-cta,.pf-button,.pf-launch button[type="submit"],
      .tec-sticky-btn,.hub-primary,.hub-text-button,.tissyo-lm-form button[type="submit"],
      a.hx-tile,a.hx-link,.studio-platform-switch a,a.blog-story-link,a.resource-card-link):focus-visible {
    box-shadow:0 0 0 2px #071521!important;
    outline:2px solid #fff!important;
    outline-offset:2px!important;
  }
  @media (forced-colors:active) {
    :is(a.session-cta,a.elementor-button,button.elementor-button,a.button,a.btn.cta):focus-visible {
      outline-color:Highlight!important;
    }
  }
}
