@scope (:is([data-destination="claude"], [data-destination="gemini"], [data-destination="copilot"]) .destination-art) {

  .cg-ai-window,
  .cg-ai-window * {
    box-sizing: border-box;
  }

  .cg-ai-window {
    container: assistant-workspace / inline-size;
    --cg-ink: #1c1642;
    --cg-muted: #6e6982;
    --cg-wash: #f7f5fb;
    --cg-purple: #7d41f5;
    --cg-purple-dark: #5724bd;
    --cg-purple-soft: #eee6ff;
    --cg-mint: #00d7ad;
    --cg-line: #ddd8e9;
    position: relative;
    width: 100%;
    min-height: 570px;
    overflow: hidden;
    border: 1px solid rgba(125, 65, 245, 0.24);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(28, 22, 66, 0.1);
    color: var(--cg-ink);
    font-family: inherit;
    line-height: 1.55;
  }

  .cg-ai-window img {
    display: block;
    max-width: 100%;
  }

  .cg-window-top {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
    border-bottom: 1px solid var(--cg-line);
  }

  .cg-window-label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
  }

  .cg-window-label img {
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
  }

  .cg-live {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    color: var(--cg-muted);
    font-family: ui-monospace, monospace;
    font-size: 9px;
    text-transform: uppercase;
  }

  .cg-live::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cg-mint);
    box-shadow: 0 0 0 4px rgba(0, 215, 173, 0.12);
    content: "";
  }

  .cg-ai-layout {
    display: grid;
    min-height: 518px;
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .cg-source-rail {
    padding: 18px 12px;
    border-right: 1px solid var(--cg-line);
    background: var(--cg-wash);
  }

  .cg-rail-title {
    margin-bottom: 12px;
    padding: 0 6px;
    color: var(--cg-muted);
    font-family: ui-monospace, monospace;
    font-size: 9px;
    text-transform: uppercase;
  }

  .cg-source-item {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    margin-bottom: 7px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 500;
  }

  .cg-source-item.is-active {
    border-color: var(--cg-purple);
    background: #fff;
  }

  .cg-source-item img {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    object-fit: contain;
  }

  .cg-source-count {
    display: grid;
    min-height: 42px;
    margin-top: 12px;
    place-items: center;
    border: 1px dashed var(--cg-line);
    border-radius: 5px;
    color: var(--cg-purple-dark);
    font-family: ui-monospace, monospace;
    font-size: 9px;
  }

  .cg-conversation {
    display: grid;
    min-width: 0;
    padding: 24px;
    align-content: start;
    gap: 13px;
  }

  .cg-message {
    max-width: 86%;
    padding: 13px 15px;
    border: 1px solid var(--cg-line);
    border-radius: 6px;
    background: var(--cg-wash);
    font-size: 12px;
  }

  .cg-message.is-user {
    justify-self: end;
    border-color: var(--cg-purple);
    background: var(--cg-purple-soft);
  }

  .cg-answer-intro {
    margin-bottom: 12px;
  }

  .cg-answer-grid {
    display: grid;
    gap: 8px;
  }

  .cg-answer-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, monospace;
    font-size: 8px;
  }

  .cg-answer-row strong {
    text-align: right;
  }

  .cg-answer-track {
    height: 8px;
    background: #fff;
  }

  .cg-answer-track span {
    display: block;
    height: 100%;
    background: var(--cg-purple);
  }

  .cg-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(125, 65, 245, 0.24);
    font-size: 10px;
  }

  .cg-recommendation svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--cg-purple);
  }

  .cg-composer {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    padding: 0 12px;
    border: 1px solid var(--cg-line);
    border-radius: 6px;
    color: var(--cg-muted);
    font-size: 10px;
  }

  .cg-composer svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--cg-purple);
  }

  @container assistant-workspace (max-width: 540px) {
    .cg-ai-layout {
      grid-template-columns: 1fr;
    }

    .cg-source-rail {
      display: flex;
      overflow-x: auto;
      border-right: 0;
      border-bottom: 1px solid var(--cg-line);
      gap: 7px;
    }

    .cg-rail-title,
    .cg-source-count {
      display: none;
    }

    .cg-source-item {
      min-width: 118px;
      margin: 0;
    }
  }

  @media (max-width: 520px) {
    .cg-ai-window {
      min-height: 620px;
    }

    .cg-window-label {
      font-size: 11px;
    }

    .cg-live {
      font-size: 8px;
    }

    .cg-conversation {
      padding: 16px;
    }

    .cg-message {
      max-width: 96%;
    }

    .cg-answer-row {
      grid-template-columns: 68px minmax(0, 1fr) 30px;
    }
  }


    .catchr-how-tool-frame,
    .catchr-how-tool-frame * {
      box-sizing: border-box;
    }

    .catchr-how-tool-frame {
      width: 100%;
      min-width: 0;
      padding: 0 9px 9px 0;
      font-family: inherit;
    }

    .catchr-how-tool-embed {
      --ink: #1c1642;
      --muted: #6c6880;
      --wash: #f7f5fb;
      --purple: #7d41f5;
      --mint: #00d7ad;
      --mint-soft: #dffff7;
      --line: #ded9eb;

      width: 100%;
      overflow: hidden;
      border: 1px solid var(--ink);
      border-radius: 7px;
      background: #fff;
      color: var(--ink);
      box-shadow: 9px 9px 0 var(--mint-soft);
    }

    .catchr-how-tool-embed .how-tool-bar {
      display: flex;
      min-height: 48px;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 0 16px;
      border-bottom: 1px solid var(--line);
    }

    .catchr-how-tool-embed .how-tool-title {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
    }

    .catchr-how-tool-embed .how-tool-title svg {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      color: var(--purple);
    }

    .catchr-how-tool-embed .how-tool-status {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 6px;
      color: var(--muted);
      font-family: ui-monospace, monospace;
      font-size: 8px;
      text-transform: uppercase;
    }

    .catchr-how-tool-embed .how-tool-status::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--mint);
      content: "";
      box-shadow: 0 0 0 4px rgba(0, 215, 173, 0.11);
    }

    .catchr-how-tool-embed .how-source-list {
      display: grid;
      padding: 16px;
      gap: 8px;
    }

    .catchr-how-tool-embed .how-source-row {
      display: grid;
      min-height: 54px;
      padding: 8px 11px;
      grid-template-columns: 32px minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 5px;
    }

    .catchr-how-tool-embed .how-source-row img {
      display: block;
      width: 27px;
      height: 27px;
      object-fit: contain;
    }

    .catchr-how-tool-embed .how-source-name {
      min-width: 0;
    }

    .catchr-how-tool-embed .how-source-name strong,
    .catchr-how-tool-embed .how-source-name small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .catchr-how-tool-embed .how-source-name strong {
      font-size: 11px;
    }

    .catchr-how-tool-embed .how-source-name small {
      margin-top: 2px;
      color: var(--muted);
      font-family: ui-monospace, monospace;
      font-size: 8px;
    }

    .catchr-how-tool-embed .how-connected {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      color: #087e68;
      font-family: ui-monospace, monospace;
      font-size: 8px;
    }

    .catchr-how-tool-embed .how-connected svg {
      width: 13px;
      height: 13px;
      flex: 0 0 auto;
    }

    .catchr-how-tool-embed .how-account-footer {
      display: flex;
      min-height: 48px;
      padding: 0 16px;
      border-top: 1px solid var(--line);
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: var(--wash);
      color: var(--muted);
      font-size: 9px;
    }

    .catchr-how-tool-embed .how-account-footer strong {
      color: var(--ink);
    }

    @media (max-width: 420px) {
      .catchr-how-tool-embed .how-tool-bar,
      .catchr-how-tool-embed .how-account-footer {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
      }

      .catchr-how-tool-embed .how-source-row {
        grid-template-columns: 32px minmax(0, 1fr);
      }

      .catchr-how-tool-embed .how-connected {
        grid-column: 2;
      }
    }
  

    .catchr-routing-frame,
    .catchr-routing-frame * {
      box-sizing: border-box;
    }

    .catchr-routing-frame {
      width: 100%;
      min-width: 0;
      padding: 0 9px 9px 0;
      container-type: inline-size;
      font-family: inherit;
    }

    .catchr-routing-embed {
      --ink: #1c1642;
      --muted: #6c6880;
      --wash: #f7f5fb;
      --purple: #7d41f5;
      --mint: #00d7ad;
      --mint-soft: #dffff7;
      --line: #ded9eb;

      width: 100%;
      overflow: hidden;
      border: 1px solid var(--ink);
      border-radius: 7px;
      background: #fff;
      color: var(--ink);
      box-shadow: 9px 9px 0 var(--mint-soft);
    }

    .catchr-routing-embed .how-tool-bar {
      display: flex;
      min-height: 48px;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding: 0 16px;
      border-bottom: 1px solid var(--line);
    }

    .catchr-routing-embed .how-tool-title {
      display: flex;
      min-width: 0;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
    }

    .catchr-routing-embed .how-tool-title svg {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      color: var(--purple);
    }

    .catchr-routing-embed .how-tool-status {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 6px;
      color: var(--muted);
      font-family: ui-monospace, monospace;
      font-size: 8px;
      text-transform: uppercase;
    }

    .catchr-routing-embed .how-tool-status::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--mint);
      content: "";
      box-shadow: 0 0 0 4px rgba(0, 215, 173, 0.11);
    }

    .catchr-routing-embed .how-route-body {
      display: grid;
      min-height: 340px;
      padding: 26px;
      grid-template-columns: 1fr 86px 1.12fr;
      align-items: center;
      gap: 12px;
    }

    .catchr-routing-embed .how-route-stack,
    .catchr-routing-embed .how-destination-grid {
      display: grid;
      gap: 8px;
    }

    .catchr-routing-embed .how-route-source,
    .catchr-routing-embed .how-route-destination {
      display: flex;
      min-width: 0;
      min-height: 54px;
      align-items: center;
      gap: 9px;
      padding: 9px 10px;
      border: 1px solid var(--line);
      border-radius: 5px;
      font-size: 9px;
      font-weight: 600;
    }

    .catchr-routing-embed .how-route-source img,
    .catchr-routing-embed .how-route-destination img {
      display: block;
      width: 26px;
      height: 26px;
      flex: 0 0 auto;
      object-fit: contain;
    }

    .catchr-routing-embed .how-route-core {
      position: relative;
      display: grid;
      width: 76px;
      height: 76px;
      place-items: center;
      border-radius: 7px;
      background: var(--ink);
      box-shadow: 5px 5px 0 var(--mint);
    }

    .catchr-routing-embed .how-route-core::before,
    .catchr-routing-embed .how-route-core::after {
      position: absolute;
      top: 50%;
      width: 30px;
      border-top: 1px dashed var(--purple);
      content: "";
    }

    .catchr-routing-embed .how-route-core::before {
      right: 100%;
    }

    .catchr-routing-embed .how-route-core::after {
      left: 100%;
    }

    .catchr-routing-embed .how-route-core img {
      display: block;
      width: 52px;
      filter: brightness(0) invert(1);
    }

    .catchr-routing-embed .how-destination-grid {
      grid-template-columns: 1fr 1fr;
    }

    .catchr-routing-embed .how-route-destination {
      align-items: flex-start;
      flex-direction: column;
    }

    .catchr-routing-embed .how-route-destination span {
      overflow: hidden;
      max-width: 100%;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .catchr-routing-embed .how-route-footer {
      display: grid;
      min-height: 54px;
      padding: 0 16px;
      border-top: 1px solid var(--line);
      grid-template-columns: repeat(3, 1fr);
      align-items: center;
      background: var(--wash);
    }

    .catchr-routing-embed .how-route-footer span {
      display: flex;
      min-width: 0;
      align-items: center;
      justify-content: center;
      gap: 6px;
      color: var(--muted);
      font-family: ui-monospace, monospace;
      font-size: 8px;
      text-align: center;
    }

    .catchr-routing-embed .how-route-footer span + span {
      border-left: 1px solid var(--line);
    }

    .catchr-routing-embed .how-route-footer svg {
      width: 13px;
      height: 13px;
      flex: 0 0 auto;
      color: var(--purple);
    }

    @container (max-width: 520px) {
      .catchr-routing-embed .how-tool-bar {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
      }

      .catchr-routing-embed .how-route-body {
        min-height: 480px;
        padding: 20px;
        grid-template-columns: 1fr;
      }

      .catchr-routing-embed .how-route-stack {
        grid-template-columns: repeat(3, 1fr);
      }

      .catchr-routing-embed .how-route-source {
        justify-content: center;
        flex-direction: column;
        text-align: center;
      }

      .catchr-routing-embed .how-route-core {
        margin: 16px auto;
      }

      .catchr-routing-embed .how-route-core::before,
      .catchr-routing-embed .how-route-core::after {
        top: auto;
        right: auto;
        left: 50%;
        width: 0;
        height: 30px;
        border-top: 0;
        border-left: 1px dashed var(--purple);
      }

      .catchr-routing-embed .how-route-core::before {
        bottom: 100%;
      }

      .catchr-routing-embed .how-route-core::after {
        top: 100%;
      }

      .catchr-routing-embed .how-route-destination {
        align-items: center;
        flex-direction: row;
      }

      .catchr-routing-embed .how-route-footer {
        padding: 8px 12px;
        grid-template-columns: 1fr;
        gap: 7px;
      }

      .catchr-routing-embed .how-route-footer span {
        min-height: 28px;
      }

      .catchr-routing-embed .how-route-footer span + span {
        border-top: 1px solid var(--line);
        border-left: 0;
      }
    }

    @container (max-width: 360px) {
      .catchr-routing-embed .how-route-stack,
      .catchr-routing-embed .how-destination-grid {
        grid-template-columns: 1fr;
      }

      .catchr-routing-embed .how-route-source {
        justify-content: flex-start;
        flex-direction: row;
        text-align: left;
      }
    }
  
}
