.rbs-app {
    --rbs-green: #115e48;
    --rbs-ink: #172b25;
    --rbs-muted: #61716b;
    --rbs-line: #dce5df;
    color: var(--rbs-ink);
    max-width: 1600px;
    min-width: 0;
    width: 100%;
    margin: auto;
}
.page-wrapper:has(.rbs-app) {
    min-width: 0;
}
.rbs-app * {
    box-sizing: border-box;
}
.rbs-hero {
    background: linear-gradient(115deg, #103e33, #17684e);
    border-radius: 20px;
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
}
.rbs-hero h1 {
    font-size: 30px;
    margin: 8px 0 10px;
    font-weight: 700;
    color: #fff;
}
.rbs-hero p {
    margin: 0;
    color: #d7e9df;
    max-width: 660px;
}
.rbs-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    font-weight: 700;
}
.rbs-link-light {
    color: #fff;
    white-space: nowrap;
    border: 1px solid #ffffff55;
    padding: 10px 16px;
    border-radius: 10px;
}
.rbs-link-light:hover {
    color: #fff;
    background: #ffffff15;
}
.rbs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
    border-bottom: 1px solid var(--rbs-line);
    margin: 18px 0 22px;
    padding: 5px 0 12px;
}
.rbs-tabs a {
    white-space: nowrap;
    padding: 10px 15px;
    border-radius: 9px;
    color: var(--rbs-muted);
    text-decoration: none;
}
.rbs-tabs a[aria-current="page"] {
    color: #fff;
    background: var(--rbs-green);
    font-weight: 600;
}
.rbs-toolbar,
.rbs-inline,
.rbs-section-heading,
.rbs-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.rbs-toolbar {
    margin: 0 0 24px;
}
.rbs-inline {
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
}
.rbs-card {
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--rbs-line);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
    min-width: 0;
}
.rbs-card h2,
.rbs-section-heading h2 {
    font-size: 19px;
    font-weight: 650;
    margin: 0 0 12px;
}
.rbs-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
}
.rbs-section-heading {
    align-items: flex-start;
    margin: 12px 0 18px;
}
.rbs-section-heading span,
.rbs-muted,
.rbs-card p {
    color: var(--rbs-muted);
    line-height: 1.6;
}
.rbs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.rbs-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}
.rbs-metric {
    padding: 23px;
    border-radius: 15px;
    border: 1px solid var(--rbs-line);
    background: var(--bs-body-bg, #fff);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 9px;
    color: var(--rbs-ink);
}
.rbs-metric:hover {
    border-color: #6a9e85;
    box-shadow: 0 6px 16px #17472c0a;
}
.rbs-metric > span {
    color: var(--rbs-muted);
    font-size: 13px;
}
.rbs-metric strong {
    font-size: 26px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    letter-spacing: -0.03em;
}
.rbs-metric small {
    font-size: 11px;
    color: #1d7957;
}
.rbs-list-row {
    padding: 16px 0;
    border-bottom: 1px solid var(--rbs-line);
}
.rbs-list-row:last-child {
    border: 0;
}
.rbs-list-row strong,
.rbs-table small,
.rbs-task small {
    display: block;
}
.rbs-list-row small,
.rbs-task small {
    color: var(--rbs-muted);
    font-size: 12px;
    margin-top: 5px;
}
.rbs-list-row time {
    color: var(--rbs-muted);
    font-size: 12px;
    white-space: nowrap;
}
.rbs-btn,
.rbs-public button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 17px;
    background: #115e48;
    border: 1px solid #115e48;
    border-radius: 9px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
}
.rbs-btn:hover,
.rbs-public button:hover {
    background: #0c4836;
    color: #fff;
}
.rbs-secondary {
    background: transparent;
    color: var(--rbs-green);
    border-color: #b5c6bb;
}
.rbs-secondary:hover {
    background: #eef5ef;
    color: #115e48;
}
.rbs-app label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
}
.rbs-app input,
.rbs-app select,
.rbs-app textarea {
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid #bdcdc2;
    border-radius: 8px;
    background: var(--bs-body-bg, #fff);
    color: inherit;
    font: inherit;
    max-width: 100%;
    font-size: 13px;
}
.rbs-app textarea {
    min-height: 86px;
    resize: vertical;
}
.rbs-app :focus-visible,
.rbs-public :focus-visible,
.rbs-confirm :focus-visible {
    outline: 3px solid #5cbd91;
    outline-offset: 3px;
}
.rbs-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.rbs-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}
.rbs-form > .rbs-btn {
    align-self: flex-start;
}
.rbs-table-wrap {
    overflow: auto;
    max-width: 100%;
    margin: 16px 0;
}
.rbs-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    white-space: normal;
}
.rbs-table th {
    font-size: 11px;
    font-weight: 650;
    color: var(--rbs-muted);
    background: #f4f8f5;
}
.rbs-table th,
.rbs-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--rbs-line);
    vertical-align: top;
    min-width: 90px;
}
.rbs-table td:first-child {
    min-width: 150px;
}
.rbs-table small {
    font-size: 11px;
    color: var(--rbs-muted);
    margin-top: 4px;
}
.rbs-table a {
    color: #14644b;
}
.rbs-badge {
    display: inline-flex;
    white-space: nowrap;
    font-size: 11px;
    border-radius: 6px;
    background: #ecf5ee;
    color: #245943;
    padding: 5px 8px;
}
.rbs-badge-warning {
    background: #fff3d8;
    color: #815610;
}
.rbs-notice {
    padding: 15px 18px;
    border-radius: 10px;
    background: #edf6ef;
    color: #225b41;
    margin: 16px 0;
}
.rbs-warning {
    background: #fff4dc;
    color: #7c5418;
}
.rbs-empty {
    padding: 38px 18px;
    text-align: center;
    color: var(--rbs-muted);
    border: 1px dashed var(--rbs-line);
    border-radius: 12px;
    margin: 16px 0;
}
.rbs-task {
    border: 1px solid var(--rbs-line);
    border-radius: 10px;
    margin: 12px 0;
}
.rbs-task > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 18px;
}
.rbs-task > summary:before {
    content: "+";
    color: #48815e;
}
.rbs-task[open] > summary:before {
    content: "−";
}
.rbs-task > summary > span:first-child {
    flex: 1;
}
.rbs-task-body {
    border-top: 1px solid var(--rbs-line);
    padding: 20px;
}
.rbs-details {
    margin-top: 24px;
}
.rbs-details summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 12px;
}
.rbs-code {
    display: block;
    overflow-wrap: anywhere;
    white-space: normal;
    padding: 14px;
    background: #f4f8f5;
    margin: 12px 0;
}
.rbs-experiment {
    border-bottom: 1px solid var(--rbs-line);
    padding: 15px 0 25px;
    margin-bottom: 16px;
}
.rbs-foot {
    font-size: 11px;
    color: var(--rbs-muted);
    padding: 12px 0 28px;
}
.rbs-insight-result {
    margin-top: 24px;
}
.rbs-insight-result pre {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    background: #f3f7f3;
    border-radius: 12px;
    padding: 18px;
    max-height: 480px;
    overflow: auto;
}
.rbs-offer-item label:first-child {
    flex: 1;
    min-width: 160px;
}
.rbs-offer-item label:nth-child(2) {
    max-width: 90px;
}
.rbs-public {
    font-size: 13px;
    color: #263d33;
    line-height: 1.7;
    clear: both;
}
.rbs-public .rbs-subscribe,
.rbs-combo {
    padding: 18px;
    border: 1px solid #cdddce;
    border-radius: 12px;
    background: #f5faf5;
    margin: 15px 0;
}
.rbs-public label {
    display: block;
    margin: 10px 0;
}
.rbs-public input[type="email"] {
    display: block;
    padding: 9px;
    border: 1px solid #b7c9bc;
    border-radius: 7px;
    width: 100%;
    background: #fff;
    color: #183e2b;
}
.rbs-public input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    vertical-align: middle;
}
.rbs-public p {
    font-size: 12px;
    color: #5c7163;
    margin: 8px 0 12px;
}
.rbs-public [role="status"] {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}
.rbs-public h3 {
    font-size: 17px;
    margin: 8px 0;
}
.rbs-combo > div > span {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #286544;
}
.rbs-combo ul {
    padding-left: 20px;
    list-style: disc;
}
.rbs-consent {
    margin: 18px 0;
    padding: 16px;
    border: 1px solid #cdddce;
    border-radius: 10px;
}
.rbs-confirm-page {
    background: #eef3ee;
    color: #19382c;
    font-family: system-ui, sans-serif;
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.rbs-confirm {
    max-width: 520px;
    background: #fff;
    border: 1px solid #d5e1d7;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px #1738220c;
}
.rbs-confirm h1 {
    font-size: 26px;
    margin-top: 30px;
    line-height: 1.5;
}
.rbs-confirm p {
    color: #5b6e60;
    line-height: 1.8;
}
.rbs-confirm a {
    color: #15633f;
}
.rbs-confirm img {
    max-width: 100%;
    height: auto;
}
.rbs-public button:disabled,
.rbs-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
@media (max-width: 1100px) {
    .rbs-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rbs-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 700px) {
    .rbs-hero {
        padding: 23px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 14px;
    }
    .rbs-hero h1 {
        font-size: 25px;
    }
    .rbs-link-light {
        padding: 8px 12px;
    }
    .rbs-tabs {
        margin-top: 12px;
        flex-wrap: nowrap;
    }
    .rbs-tabs a {
        padding: 9px 12px;
    }
    .rbs-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .rbs-card {
        padding: 18px;
        border-radius: 12px;
    }
    .rbs-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .rbs-metric {
        padding: 17px;
    }
    .rbs-metric strong {
        font-size: 20px;
    }
    .rbs-metrics {
        gap: 10px;
    }
    .rbs-fields {
        grid-template-columns: 1fr;
    }
    .rbs-section-heading {
        gap: 8px;
        flex-wrap: wrap;
    }
    .rbs-task > summary {
        padding: 15px;
        align-items: flex-start;
    }
    .rbs-confirm {
        padding: 26px;
    }
    .rbs-app input,
    .rbs-app select,
    .rbs-app textarea {
        font-size: 16px;
    }
    .rbs-table th,
    .rbs-table td {
        padding: 12px 9px;
    }
    .rbs-inline > label {
        max-width: 100%;
    }
}
[data-bs-theme="dark"] .rbs-app {
    --rbs-ink: #e1ece5;
    --rbs-muted: #adc0b2;
    --rbs-line: #354a3d;
}
[data-bs-theme="dark"] .rbs-table th,
[data-bs-theme="dark"] .rbs-code,
[data-bs-theme="dark"] .rbs-insight-result pre {
    background: #20372b;
}
[data-bs-theme="dark"] .rbs-table a,
[data-bs-theme="dark"] .rbs-secondary {
    color: #99d4b0;
}
[data-bs-theme="dark"] .rbs-badge {
    background: #254b36;
    color: #bde3c9;
}
[data-bs-theme="dark"] .rbs-badge-warning {
    background: #523f1f;
    color: #ffe0a5;
}
