      .yandex-source-panel {
        --ys-card: #f8fafc; --ys-field: #fff; --ys-line: #d7e0ed; --ys-text: #172235;
        --ys-muted: #5d6c80; --ys-accent: #ba9200; --ys-accent-soft: #fff7d9;
        margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ys-line);
      }
      :root[data-theme=dark] .yandex-source-panel {
        --ys-card: #10224b; --ys-field: #0b1939; --ys-line: #334b7d; --ys-text: #f4f7ff;
        --ys-muted: #b8c5db; --ys-accent: #ffcf27; --ys-accent-soft: #30280a;
      }
      .yandex-source-panel .yandex-section-heading { margin-bottom: 10px; }
      .yandex-source-panel .yandex-section-heading h3 { color: var(--ys-text); }
      .yandex-source-panel .yandex-section-heading p,
      .yandex-source-panel__note { color: var(--ys-muted); line-height: 1.55; }
      #yandex-eats-settings .yandex-rule-group {
        min-inline-size: 0; padding: 16px; overflow: visible;
      }
      #yandex-eats-settings .yandex-rule-group > legend {
        display: table; max-width: calc(100% - 16px); margin-left: 4px; padding: 0 8px;
        border-radius: 6px; background: #f6f8fc; color: #172235; line-height: 1.5;
        overflow-wrap: anywhere;
      }
      :root[data-theme=dark] #yandex-eats-settings .yandex-rule-group > legend {
        background: #0b1939; color: #edf3ff;
      }
      .yandex-source-panel__note { max-width: 960px; margin: 0 0 18px; overflow-wrap: anywhere; }
      .yandex-source-panel__card {
        position: relative; overflow: hidden; margin: 14px 0; padding: 18px;
        border: 1px solid var(--ys-line); border-radius: 16px; background: var(--ys-card);
        box-shadow: 0 8px 20px rgba(21, 38, 72, .07);
      }
      :root[data-theme=dark] .yandex-source-panel__card { box-shadow: none; }
      .yandex-source-panel__card::before {
        content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--ys-accent); opacity: .85;
      }
      .yandex-source-panel__card-header {
        display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px;
      }
      .yandex-source-panel__branch-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
      .yandex-source-panel__branch-name > div { min-width: 0; }
      .yandex-source-panel__branch-icon {
        display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px;
        background: var(--ys-accent-soft); color: var(--ys-accent); font-weight: 850; font-size: 15px;
      }
      .yandex-source-panel__card h4 { margin: 0; overflow-wrap: anywhere; color: var(--ys-text); font-size: 16px; line-height: 1.25; }
      .yandex-source-panel__card-caption { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--ys-muted); font-size: 12px; line-height: 1.4; }
      .yandex-source-panel__badge {
        flex: 0 0 auto; padding: 5px 9px; border: 1px solid var(--ys-line); border-radius: 999px;
        color: var(--ys-muted); font-size: 11px; font-weight: 750; white-space: nowrap;
      }
      .yandex-source-panel__grid {
        display: grid !important; grid-template-columns: minmax(210px, 1.25fr) minmax(210px, 1.25fr) minmax(120px, .5fr) !important;
        gap: 12px; align-items: end;
      }
      .yandex-source-panel__new-branch .yandex-source-panel__grid { grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) !important; }
      .yandex-source-panel .yandex-source-panel__grid > label {
        display: grid !important; grid-column: auto !important; gap: 7px; min-width: 0; margin: 0 !important;
        color: var(--ys-text) !important; font-size: 12px; font-weight: 750;
      }
      .yandex-source-panel__field-label { color: var(--ys-muted); }
      .yandex-source-panel .yandex-source-panel__grid select,
      .yandex-source-panel .yandex-source-panel__grid input {
        width: 100% !important; min-width: 0; min-height: 46px; margin: 0 !important; padding: 10px 12px;
        border: 1px solid var(--ys-line) !important; border-radius: 10px !important; background: var(--ys-field) !important;
        color: var(--ys-text) !important; box-shadow: none !important;
      }
      .yandex-source-panel .yandex-source-panel__grid select { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .yandex-source-panel .yandex-source-panel__grid select:focus,
      .yandex-source-panel .yandex-source-panel__grid input:focus { border-color: var(--ys-accent) !important; outline: 2px solid color-mix(in srgb, var(--ys-accent) 28%, transparent); outline-offset: 1px; }
      .yandex-source-panel__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
      .yandex-source-panel__actions button { min-height: 42px; margin: 0 !important; padding: 9px 14px; }
      .yandex-source-panel__actions .secondary-action { background: transparent; color: var(--ys-text); border-color: var(--ys-line); }
      :root[data-theme=dark] .yandex-source-panel__actions .secondary-action { background: #172d5d; color: #f4f7ff; }
      .yandex-source-panel__result { margin-top: 14px; padding: 10px 12px; overflow-x: auto; border-radius: 10px; color: var(--ys-muted); background: color-mix(in srgb, var(--ys-field) 72%, transparent); }
      .yandex-source-panel__result:empty { display: none; }
      .yandex-source-panel__result.error { color: #a6222b; background: #fff0f1; }
      .yandex-source-panel__result.success { color: #147342; background: #ecf9f0; }
      :root[data-theme=dark] .yandex-source-panel__result.error { color: #ffb9bd; background: #3b1720; }
      :root[data-theme=dark] .yandex-source-panel__result.success { color: #a8edbc; background: #123524; }
      .yandex-source-panel table { width: 100%; min-width: 520px; border-collapse: collapse; margin-top: 10px; color: inherit; font-size: 13px; }
      .yandex-source-panel th, .yandex-source-panel td { padding: 9px 8px; overflow-wrap: anywhere; border-bottom: 1px solid var(--ys-line); text-align: left; }
      @media (max-width: 920px) {
        .yandex-source-panel__grid, .yandex-source-panel__new-branch .yandex-source-panel__grid { grid-template-columns: 1fr 1fr !important; }
        .yandex-source-panel__grid > label:last-child { grid-column: span 2 !important; }
      }
      @media (max-width: 620px) {
        .yandex-source-panel__card { padding: 15px; border-radius: 14px; }
        .yandex-source-panel__grid, .yandex-source-panel__new-branch .yandex-source-panel__grid { grid-template-columns: 1fr !important; }
        .yandex-source-panel__grid > label:last-child { grid-column: auto !important; }
        .yandex-source-panel__card-header { align-items: flex-start; flex-direction: column; }
      }