/*!
 * OrbiNota UI 10.0 — camada de design moderna.
 * Carregada depois de orbinota.css: redefine tokens, componentes do painel,
 * formulários, tabelas e responsividade. © 2026 Angelo Colli Henriques.
 */

/* ============================================================
   1. Tokens
   ============================================================ */
:root {
    color-scheme: light;

    --o-font: "Inter", "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
    --o-font-display: "Inter", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --o-font-mono: "JetBrains Mono", "Cascadia Mono", ui-monospace, SFMono-Regular, Consolas, monospace;

    /* superfícies */
    --o-canvas: #f4f7f5;
    --o-surface: #ffffff;
    --o-surface-2: #f7faf8;
    --o-surface-3: #eef3f0;
    --o-line: #e2eae5;
    --o-line-strong: #cfdbd5;

    /* texto */
    --o-text: #0d2a27;
    --o-text-2: #46605a;
    --o-text-3: #7b918b;

    /* marca */
    --o-brand: #10534b;
    --o-brand-2: #157a68;
    --o-brand-ink: #082220;
    --o-brand-soft: #e4f2ec;
    --o-accent: #f0762f;
    --o-accent-2: #d95f1c;
    --o-accent-soft: #fdeade;

    /* semântica */
    --o-ok: #17805a;
    --o-ok-soft: #ddf2e7;
    --o-warn: #a86a08;
    --o-warn-soft: #fbeed3;
    --o-danger: #c03a34;
    --o-danger-soft: #fbe3e1;
    --o-info: #2664ac;
    --o-info-soft: #e0ecfa;

    /* forma */
    --o-r-sm: 8px;
    --o-r-md: 12px;
    --o-r-lg: 16px;
    --o-r-xl: 22px;
    --o-r-pill: 999px;

    /* elevação */
    --o-sh-1: 0 1px 2px rgba(13, 42, 39, .05), 0 1px 3px rgba(13, 42, 39, .04);
    --o-sh-2: 0 2px 4px rgba(13, 42, 39, .04), 0 8px 20px rgba(13, 42, 39, .06);
    --o-sh-3: 0 4px 8px rgba(13, 42, 39, .05), 0 20px 44px rgba(13, 42, 39, .1);
    --o-sh-brand: 0 8px 22px rgba(16, 83, 75, .28);
    --o-ring: 0 0 0 3px rgba(21, 122, 104, .28);

    --o-sidebar: 262px;
    --o-ease: cubic-bezier(.4, 0, .2, 1);

    /* mantém compatibilidade com as regras herdadas */
    --orbi-ink: var(--o-text);
    --orbi-ink-2: var(--o-brand);
    --orbi-paper: var(--o-canvas);
    --orbi-line: var(--o-line);
    --orbi-muted: var(--o-text-3);
    --orbi-orange: var(--o-accent);
    --orbi-orange-dark: var(--o-accent-2);
    --orbi-focus: var(--o-brand-2);
    --orbi-shadow: var(--o-sh-3);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --o-canvas: #08100f;
    --o-surface: #0f1c1a;
    --o-surface-2: #132321;
    --o-surface-3: #1a2c29;
    --o-line: #1f3430;
    --o-line-strong: #2b443f;
    --o-text: #e8f1ee;
    --o-text-2: #a9c0ba;
    --o-text-3: #7d938d;
    --o-brand: #1c7d6c;
    --o-brand-2: #2ba088;
    --o-brand-soft: #12302a;
    /* Tons semânticos clareados: no escuro o texto precisa vencer a superfície. */
    --o-ok: #4fcb92;
    --o-warn: #e2ad55;
    --o-danger: #f0837c;
    --o-info: #74aeed;
    --o-accent: #f78c4c;
    --o-accent-2: #e06b28;
    --o-accent-soft: #35211a;
    --o-ok-soft: #12332a;
    --o-warn-soft: #332812;
    --o-danger-soft: #351f1e;
    --o-info-soft: #14263a;
    --o-sh-1: 0 1px 2px rgba(0, 0, 0, .4);
    --o-sh-2: 0 2px 6px rgba(0, 0, 0, .38), 0 10px 26px rgba(0, 0, 0, .32);
    --o-sh-3: 0 8px 20px rgba(0, 0, 0, .45), 0 24px 60px rgba(0, 0, 0, .4);
    --o-ring: 0 0 0 3px rgba(43, 160, 136, .35);
}

/* ============================================================
   2. Base
   ============================================================ */
.orbi-site,
.orbi-panel-body {
    background: var(--o-canvas);
    color: var(--o-text);
    font-family: var(--o-font);
    font-feature-settings: "cv05" 1, "ss01" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.orbi-panel-body h1,
.orbi-panel-body h2,
.orbi-panel-body h3,
.orbi-site h1,
.orbi-site h2,
.orbi-site h3 {
    font-family: var(--o-font-display);
    letter-spacing: -.021em;
    color: var(--o-text);
    text-wrap: balance;
}

.orbi-panel-body p,
.orbi-panel-body li {
    text-wrap: pretty;
}

:where(a, button, input, select, textarea, summary):focus-visible {
    outline: 2px solid var(--o-brand-2);
    outline-offset: 2px;
    box-shadow: var(--o-ring);
    border-radius: var(--o-r-sm);
}

.orbi-skip-link {
    background: var(--o-surface);
    color: var(--o-text) !important;
    border: 1px solid var(--o-brand-2);
    border-radius: var(--o-r-md);
    box-shadow: var(--o-sh-3);
}

/* ============================================================
   3. Botões
   ============================================================ */
.orbi-button,
.orbi-button-secondary,
.orbi-button-small,
.orbi-danger-button,
.orbi-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.006em;
    padding: 12px 20px;
    min-height: 42px;
    border-radius: var(--o-r-md);
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .14s var(--o-ease), box-shadow .18s var(--o-ease),
                background-color .18s var(--o-ease), border-color .18s var(--o-ease),
                color .18s var(--o-ease);
}

.orbi-button,
.orbi-submit {
    background: linear-gradient(180deg, var(--o-brand-2), var(--o-brand));
    color: #fff;
    box-shadow: var(--o-sh-brand);
}

.orbi-button:hover,
.orbi-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(16, 83, 75, .34);
}

/* No site a chamada precisa saltar; dentro do painel ela convive com dezenas de
   controles, por isso ali fica o verde da marca. */
.orbi-site .orbi-button,
.orbi-site .orbi-submit,
.orbi-form-page .orbi-button,
.orbi-form-page .orbi-submit {
    background: linear-gradient(180deg, var(--o-accent), var(--o-accent-2));
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(240, 118, 47, .3);
}

.orbi-site .orbi-button:hover,
.orbi-site .orbi-submit:hover,
.orbi-form-page .orbi-button:hover,
.orbi-form-page .orbi-submit:hover {
    box-shadow: 0 14px 32px rgba(240, 118, 47, .38);
}

.orbi-site .orbi-button,
.orbi-site .orbi-button-secondary {
    min-height: 50px;
    padding: 0 24px;
    font-size: 15px;
    border-radius: 14px;
}

.orbi-button:active,
.orbi-submit:active {
    transform: translateY(0);
    box-shadow: var(--o-sh-1);
}

.orbi-button span {
    transition: transform .18s var(--o-ease);
}

.orbi-button:hover span {
    transform: translateX(3px);
}

.orbi-button-secondary {
    background: var(--o-surface);
    color: var(--o-text);
    border-color: var(--o-line-strong);
    box-shadow: var(--o-sh-1);
}

.orbi-button-secondary:hover {
    background: var(--o-surface-2);
    border-color: var(--o-brand-2);
    color: var(--o-brand);
    transform: translateY(-1px);
}

.orbi-button-small {
    padding: 8px 14px;
    min-height: 34px;
    font-size: 13px;
    border-radius: var(--o-r-sm);
    background: var(--o-surface-3);
    color: var(--o-text-2);
    border-color: var(--o-line);
}

.orbi-button-small:hover {
    background: var(--o-brand-soft);
    color: var(--o-brand);
}

.orbi-danger-button {
    background: var(--o-danger);
    color: #fff;
    box-shadow: 0 8px 20px rgba(192, 58, 52, .26);
}

.orbi-danger-button:hover {
    background: #a92f2a;
    transform: translateY(-1px);
}

.orbi-button[disabled],
.orbi-submit[disabled],
.orbi-button-secondary[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.orbi-text-danger {
    color: var(--o-danger);
    font-size: 13px;
    font-weight: 600;
}

.orbi-text-danger:hover {
    text-decoration: underline;
}

/* ============================================================
   4. Formulários
   ============================================================ */
.orbi-panel-form,
.orbi-checkout-form,
.orbi-mini-form,
.orbi-test-form,
.orbi-fields {
    font-family: inherit;
}

.orbi-panel-form label,
.orbi-fields label,
.orbi-form-section label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--o-text-2);
}

.orbi-panel-body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.orbi-panel-body select,
.orbi-panel-body textarea,
.orbi-site input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.orbi-site select,
.orbi-site textarea {
    width: 100%;
    font: 400 14px/1.45 var(--o-font);
    color: var(--o-text);
    background: var(--o-surface);
    border: 1px solid var(--o-line-strong);
    border-radius: var(--o-r-md);
    padding: 11px 13px;
    min-height: 42px;
    transition: border-color .16s var(--o-ease), box-shadow .16s var(--o-ease), background-color .16s var(--o-ease);
}

.orbi-panel-body textarea,
.orbi-site textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.orbi-panel-body input:hover:not(:disabled),
.orbi-panel-body select:hover:not(:disabled),
.orbi-panel-body textarea:hover:not(:disabled) {
    border-color: var(--o-brand-2);
}

.orbi-panel-body input:focus,
.orbi-panel-body select:focus,
.orbi-panel-body textarea:focus,
.orbi-site input:focus,
.orbi-site select:focus,
.orbi-site textarea:focus {
    outline: none;
    border-color: var(--o-brand-2);
    box-shadow: var(--o-ring);
}

.orbi-panel-body input::placeholder,
.orbi-site input::placeholder,
.orbi-panel-body textarea::placeholder {
    color: var(--o-text-3);
}

.orbi-panel-body input:disabled,
.orbi-panel-body select:disabled,
.orbi-panel-body textarea:disabled {
    background: var(--o-surface-3);
    color: var(--o-text-3);
    cursor: not-allowed;
}

.orbi-panel-body select,
.orbi-site select {
    appearance: none;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%237b918b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
}

.orbi-panel-body input[type="checkbox"],
.orbi-panel-body input[type="radio"],
.orbi-site input[type="checkbox"],
.orbi-site input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--o-brand-2);
    cursor: pointer;
    flex: 0 0 auto;
}

.orbi-inline-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--o-text-2);
}

.orbi-panel-form {
    display: grid;
    gap: 16px;
}

.orbi-panel-form > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.orbi-panel-form h3 {
    margin: 10px 0 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--o-text);
    padding-top: 14px;
    border-top: 1px solid var(--o-line);
}

.orbi-panel-form h3:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

/* ============================================================
   5. Estrutura do painel
   ============================================================ */
.orbi-panel-body {
    display: grid;
    grid-template-columns: var(--o-sidebar) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100dvh;
}

/* --- Barra lateral --- */
.orbi-panel-side {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 22px 16px 20px;
    background:
        radial-gradient(120% 60% at 0% 0%, rgba(43, 160, 136, .18), transparent 60%),
        linear-gradient(180deg, #0c2724 0%, #071b19 100%);
    color: #dfeeea;
    border-right: 1px solid rgba(255, 255, 255, .06);
    overflow-y: auto;
    scrollbar-width: thin;
    z-index: 60;
}

.orbi-panel-side .orbi-brand {
    padding: 4px 10px 22px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 6px;
}

.orbi-panel-side .orbi-brand strong {
    font-size: 19px;
    color: #fff;
}

.orbi-panel-side .orbi-brand small {
    color: #6f938b;
}

.orbi-panel-side nav {
    display: grid;
    gap: 2px;
    margin-top: 12px;
}

.orbi-panel-side nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border-radius: var(--o-r-md);
    font-size: 13.5px;
    font-weight: 500;
    color: #9db8b1;
    transition: background-color .16s var(--o-ease), color .16s var(--o-ease);
}

.orbi-panel-side nav a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .7;
    transition: opacity .16s var(--o-ease), color .16s var(--o-ease);
}

.orbi-panel-side nav a:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.orbi-panel-side nav a:hover svg {
    opacity: 1;
}

.orbi-panel-side nav a[aria-current="page"] {
    background: linear-gradient(90deg, rgba(43, 160, 136, .3), rgba(43, 160, 136, .08));
    color: #fff;
    font-weight: 650;
    box-shadow: inset 0 0 0 1px rgba(43, 160, 136, .3);
}

.orbi-panel-side nav a[aria-current="page"] svg {
    color: var(--o-accent);
    opacity: 1;
}

.orbi-panel-side nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    width: 3px;
    height: 20px;
    margin-top: -10px;
    border-radius: 0 3px 3px 0;
    background: var(--o-accent);
}

.orbi-panel-side .orbi-side-group {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #5f7a74;
    padding: 18px 13px 6px;
}

.orbi-panel-side form {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.orbi-panel-side form button {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--o-r-md);
    background: rgba(255, 255, 255, .04);
    color: #b8d0ca;
    font: 600 13px var(--o-font);
    padding: 10px;
    cursor: pointer;
    transition: background-color .16s var(--o-ease), color .16s var(--o-ease), border-color .16s var(--o-ease);
}

.orbi-panel-side form button:hover {
    background: rgba(192, 58, 52, .18);
    border-color: rgba(192, 58, 52, .45);
    color: #ffd9d6;
}

/* --- Área principal --- */
.orbi-panel-main {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-width: 0;
}

.orbi-panel-top {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    padding: 18px clamp(20px, 3.4vw, 44px);
    background: color-mix(in srgb, var(--o-canvas) 82%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--o-line);
}

.orbi-panel-top small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--o-brand-2);
}

.orbi-panel-top h1 {
    font: 700 clamp(20px, 2.4vw, 27px)/1.2 var(--o-font-display);
    margin: 5px 0 0;
    letter-spacing: -.028em;
}

.orbi-panel-topside {
    display: flex;
    align-items: center;
    gap: 10px;
}

.orbi-panel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: linear-gradient(140deg, var(--o-accent), var(--o-accent-2));
    color: #fff;
    display: grid;
    place-items: center;
    font: 700 14px var(--o-font-display);
    letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(240, 118, 47, .3);
    flex: 0 0 auto;
}

.orbi-panel-content {
    flex: 1 1 auto;
    padding: 26px clamp(20px, 3.4vw, 44px) 40px;
    min-width: 0;
}

.orbi-panel-flashes {
    margin-bottom: 18px;
    display: grid;
    gap: 10px;
}

/* --- Alternador de tema e menu --- */
.orbi-icon-button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--o-r-md);
    border: 1px solid var(--o-line-strong);
    background: var(--o-surface);
    color: var(--o-text-2);
    cursor: pointer;
    padding: 0;
    transition: background-color .16s var(--o-ease), color .16s var(--o-ease), border-color .16s var(--o-ease);
}

.orbi-icon-button:hover {
    background: var(--o-brand-soft);
    color: var(--o-brand);
    border-color: var(--o-brand-2);
}

.orbi-icon-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html[data-theme="dark"] .orbi-icon-button .orbi-icon-moon,
html:not([data-theme="dark"]) .orbi-icon-button .orbi-icon-sun {
    display: none;
}

.orbi-panel-burger {
    display: none;
}

.orbi-panel-scrim {
    display: none;
}

/* ============================================================
   6. Cards, métricas e conteúdo
   ============================================================ */
.orbi-panel-card,
.orbi-panel-metrics article,
.orbi-message-card,
.orbi-cancel-card,
.orbi-auth-card {
    background: var(--o-surface);
    border: 1px solid var(--o-line);
    border-radius: var(--o-r-lg);
    box-shadow: var(--o-sh-1);
}

.orbi-panel-card {
    padding: clamp(18px, 2.4vw, 26px);
    transition: box-shadow .2s var(--o-ease), border-color .2s var(--o-ease);
}

.orbi-panel-card:hover {
    box-shadow: var(--o-sh-2);
}

.orbi-panel-card h2 {
    font: 700 19px/1.3 var(--o-font-display);
    margin: 10px 0 14px;
    letter-spacing: -.022em;
}

.orbi-panel-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--o-text-2);
    margin: 0 0 12px;
}

.orbi-panel-card > *:last-child {
    margin-bottom: 0;
}

.orbi-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--o-brand-2);
    background: var(--o-brand-soft);
    border-radius: var(--o-r-pill);
    padding: 5px 11px;
}

.orbi-card-title,
.orbi-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.orbi-card-title h2,
.orbi-card-head h2 {
    margin-bottom: 0;
}

.orbi-panel-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.orbi-panel-metrics article {
    position: relative;
    padding: 20px 22px;
    overflow: hidden;
    transition: transform .18s var(--o-ease), box-shadow .18s var(--o-ease);
}

.orbi-panel-metrics article::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--o-brand-2), var(--o-accent));
    opacity: .85;
}

.orbi-panel-metrics article:hover {
    transform: translateY(-2px);
    box-shadow: var(--o-sh-2);
}

.orbi-panel-metrics article span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--o-text-3);
}

.orbi-panel-metrics article strong {
    display: block;
    font: 700 clamp(21px, 2.6vw, 27px)/1.15 var(--o-font-display);
    letter-spacing: -.03em;
    margin: 10px 0 4px;
    color: var(--o-text);
    font-variant-numeric: tabular-nums;
}

.orbi-panel-metrics article small {
    font-size: 11.5px;
    color: var(--o-text-3);
    line-height: 1.45;
}

.orbi-panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.orbi-panel-grid.admin {
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, .7fr);
}

.orbi-plan-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.orbi-panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.orbi-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================================
   7. Tabelas
   ============================================================ */
.orbi-table {
    overflow-x: auto;
    border: 1px solid var(--o-line);
    border-radius: var(--o-r-md);
    background: var(--o-surface);
    -webkit-overflow-scrolling: touch;
}

.orbi-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 520px;
    font-size: 13px;
}

.orbi-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--o-text-3);
    background: var(--o-surface-2);
    padding: 12px 14px;
    border-bottom: 1px solid var(--o-line);
    white-space: nowrap;
}

.orbi-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--o-line);
    vertical-align: middle;
    color: var(--o-text-2);
}

.orbi-table tbody tr:last-child td {
    border-bottom: 0;
}

.orbi-table tbody tr {
    transition: background-color .12s var(--o-ease);
}

.orbi-table tbody tr:hover {
    background: var(--o-surface-2);
}

.orbi-table td strong,
.orbi-table td a strong {
    color: var(--o-text);
    font-weight: 600;
}

.orbi-table td small {
    display: block;
    color: var(--o-text-3);
    margin-top: 3px;
    font-size: 11.5px;
}

.orbi-table td a:not(.orbi-button):not(.orbi-button-small) {
    color: var(--o-brand-2);
    font-weight: 600;
}

.orbi-table td a:not(.orbi-button):hover {
    text-decoration: underline;
}

/* ============================================================
   8. Estados, avisos e listas
   ============================================================ */
.orbi-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: var(--o-r-pill);
    background: var(--o-surface-3);
    color: var(--o-text-2);
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.orbi-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.orbi-status.active,
.orbi-status.trialing,
.orbi-status.paid,
.orbi-status.approved {
    background: var(--o-ok-soft);
    color: var(--o-ok);
}

.orbi-status.past_due,
.orbi-status.pending,
.orbi-status.lead {
    background: var(--o-warn-soft);
    color: var(--o-warn);
}

.orbi-status.suspended,
.orbi-status.canceled,
.orbi-status.rejected {
    background: var(--o-danger-soft);
    color: var(--o-danger);
}

.orbi-flash {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--o-r-md);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    border: 1px solid transparent;
    box-shadow: var(--o-sh-1);
}

.orbi-flash.success {
    background: var(--o-ok-soft);
    color: var(--o-ok);
    border-color: color-mix(in srgb, var(--o-ok) 28%, transparent);
}

.orbi-flash.error {
    background: var(--o-danger-soft);
    color: var(--o-danger);
    border-color: color-mix(in srgb, var(--o-danger) 28%, transparent);
}

.orbi-notice {
    background: var(--o-info-soft);
    border: 1px solid color-mix(in srgb, var(--o-info) 24%, transparent);
    border-left: 3px solid var(--o-info);
    border-radius: var(--o-r-md);
    padding: 13px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--o-text-2);
}

.orbi-notice.warn {
    background: var(--o-warn-soft);
    border-color: color-mix(in srgb, var(--o-warn) 24%, transparent);
    border-left-color: var(--o-warn);
}

.orbi-checklist {
    display: grid;
    gap: 8px;
    margin: 16px 0 20px;
}

.orbi-checklist div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: var(--o-r-md);
    background: var(--o-surface-2);
    border: 1px solid var(--o-line);
    color: var(--o-text-2);
    font-size: 13.5px;
}

.orbi-checklist i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--o-surface-3);
    color: var(--o-text-3);
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
}

.orbi-checklist .done {
    background: var(--o-ok-soft);
    border-color: color-mix(in srgb, var(--o-ok) 22%, transparent);
    color: var(--o-ok);
    font-weight: 600;
}

.orbi-checklist .done i {
    background: var(--o-ok);
    color: #fff;
}

.orbi-details {
    display: grid;
    gap: 0;
}

.orbi-details div {
    display: grid;
    grid-template-columns: minmax(110px, 150px) minmax(0, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--o-line);
    align-items: baseline;
}

.orbi-details div:last-child {
    border-bottom: 0;
}

.orbi-details dt {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--o-text-3);
}

.orbi-details dd {
    margin: 0;
    font-size: 13.5px;
    color: var(--o-text);
    overflow-wrap: anywhere;
}

.orbi-mini-form {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    flex-wrap: wrap;
}

.orbi-mini-form input,
.orbi-mini-form select {
    width: auto !important;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12.5px;
}

.orbi-mini-form button {
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-radius: var(--o-r-sm);
    background: var(--o-brand);
    color: #fff;
    font: 600 12.5px var(--o-font);
    cursor: pointer;
}

.orbi-mini-form button:hover {
    background: var(--o-brand-2);
}

/* ============================================================
   9. Rodapé do painel e assinatura
   ============================================================ */
.orbi-panel-footer {
    margin-top: auto;
    padding: 20px clamp(20px, 3.4vw, 44px) 26px;
    border-top: 1px solid var(--o-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--o-text-3);
}

.orbi-panel-footer strong {
    color: var(--o-text-2);
    font-weight: 600;
}

.orbi-panel-footer nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.orbi-panel-footer nav a {
    color: var(--o-text-3);
    transition: color .16s var(--o-ease);
}

.orbi-panel-footer nav a:hover {
    color: var(--o-brand-2);
}

.orbi-copyright {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--o-text-3);
}

/* ============================================================
   10. Páginas de autenticação
   ============================================================ */
.orbi-form-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background:
        radial-gradient(80% 60% at 12% 0%, var(--o-brand-soft), transparent 62%),
        radial-gradient(70% 55% at 92% 100%, var(--o-accent-soft), transparent 60%),
        var(--o-canvas);
}

.orbi-auth-card {
    width: min(440px, 100%);
    padding: clamp(26px, 4vw, 38px);
    border-radius: var(--o-r-xl);
    box-shadow: var(--o-sh-3);
}

.orbi-auth-card h1 {
    font: 700 25px/1.2 var(--o-font-display);
    letter-spacing: -.03em;
    margin: 14px 0 6px;
}

.orbi-auth-card > p {
    font-size: 14px;
    color: var(--o-text-2);
    line-height: 1.6;
    margin: 0 0 22px;
}

.orbi-fields {
    display: grid;
    gap: 15px;
}

.orbi-fields button[type="submit"],
.orbi-auth-card button[type="submit"] {
    width: 100%;
    margin-top: 4px;
}

.orbi-message-card {
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--o-r-xl);
    max-width: 560px;
    box-shadow: var(--o-sh-2);
}

.orbi-message-card h2 {
    font: 700 22px/1.25 var(--o-font-display);
    letter-spacing: -.025em;
    margin: 0 0 10px;
}

.orbi-message-card p {
    color: var(--o-text-2);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   11. Site público
   ============================================================ */
.orbi-header {
    background: color-mix(in srgb, var(--o-canvas) 84%, transparent);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--o-line);
}

.orbi-header nav a:hover,
.orbi-link:hover {
    color: var(--o-brand-2);
}

.orbi-footer {
    border-top: 1px solid var(--o-line);
}

.orbi-footer small {
    color: var(--o-text-3);
}

.orbi-whatsapp {
    box-shadow: 0 10px 28px rgba(37, 211, 102, .32);
    transition: transform .18s var(--o-ease), box-shadow .18s var(--o-ease);
}

.orbi-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 211, 102, .4);
}

/* ============================================================
   12. Responsividade do painel
   ============================================================ */
@media (max-width: 1080px) {
    :root {
        --o-sidebar: 224px;
    }

    .orbi-panel-grid.admin {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    .orbi-panel-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .orbi-panel-side {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(288px, 84vw);
        transform: translateX(-102%);
        transition: transform .26s var(--o-ease);
        box-shadow: 0 0 60px rgba(0, 0, 0, .4);
        z-index: 90;
    }

    .orbi-panel-body.orbi-nav-open .orbi-panel-side {
        transform: translateX(0);
    }

    .orbi-panel-burger {
        display: grid;
    }

    .orbi-panel-scrim {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(6, 22, 20, .5);
        backdrop-filter: blur(2px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .26s var(--o-ease);
        z-index: 80;
    }

    .orbi-panel-body.orbi-nav-open .orbi-panel-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    .orbi-panel-top {
        padding: 14px 18px;
    }

    .orbi-panel-top h1 {
        font-size: 19px;
    }

    .orbi-panel-content {
        padding: 20px 18px 32px;
    }

    .orbi-panel-footer {
        padding: 18px 18px 24px;
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .orbi-panel-metrics,
    .orbi-panel-grid,
    .orbi-plan-admin-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .orbi-panel-form > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .orbi-details div {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }

    .orbi-card-title,
    .orbi-card-head,
    .orbi-panel-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .orbi-account-actions .orbi-button,
    .orbi-account-actions .orbi-button-secondary {
        width: 100%;
    }

    .orbi-panel-top h1 {
        font-size: 17px;
    }

    .orbi-whatsapp span {
        display: none;
    }
}

/* ============================================================
   13. Impressão e movimento reduzido
   ============================================================ */
@media print {
    .orbi-panel-side,
    .orbi-panel-top,
    .orbi-panel-footer,
    .orbi-whatsapp,
    .orbi-panel-scrim {
        display: none !important;
    }

    .orbi-panel-body {
        grid-template-columns: 1fr;
        background: #fff;
    }

    .orbi-panel-card,
    .orbi-panel-metrics article {
        box-shadow: none;
        border-color: #ccc;
        break-inside: avoid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   14. Ajustes de tema escuro em superfícies herdadas
   ============================================================ */
html[data-theme="dark"] .orbi-panel-card,
html[data-theme="dark"] .orbi-panel-metrics article,
html[data-theme="dark"] .orbi-message-card,
html[data-theme="dark"] .orbi-auth-card,
html[data-theme="dark"] .orbi-table {
    background: var(--o-surface);
    border-color: var(--o-line);
}

html[data-theme="dark"] .orbi-table th {
    background: var(--o-surface-2);
}

html[data-theme="dark"] .orbi-checklist div {
    background: var(--o-surface-2);
}

html[data-theme="dark"] .orbi-button-secondary {
    background: var(--o-surface-2);
    color: var(--o-text);
    border-color: var(--o-line-strong);
}

html[data-theme="dark"] .orbi-icon-button {
    background: var(--o-surface-2);
    border-color: var(--o-line-strong);
    color: var(--o-text-2);
}

/* ============================================================
   15. Neutraliza o painel horizontal herdado
   O CSS anterior transformava a barra lateral numa faixa rolável a partir de
   760px. Aqui ela volta a ser a gaveta desta camada em todo o intervalo móvel.
   ============================================================ */
.orbi-side-group {
    margin: 0;
}

@media (max-width: 760px) {
    .orbi-panel-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .orbi-panel-side {
        position: fixed;
        inset: 0 auto 0 0;
        height: 100vh;
        height: 100dvh;
        width: min(288px, 84vw);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 22px 16px 20px;
        overflow-y: auto;
    }

    .orbi-panel-side .orbi-brand > span:last-child {
        display: flex;
    }

    .orbi-panel-side nav {
        display: grid;
        gap: 2px;
        margin-top: 0;
    }

    .orbi-panel-side form {
        margin-top: auto;
    }

    .orbi-panel-main {
        padding: 0;
    }
}

/* ============================================================
   16. Prints do produto — profundidade sem custo de carregamento
   Sombra em camadas e leve perspectiva dão dimensionalidade. Nada de WebGL:
   Core Web Vitals é fator de ranqueamento, e o comprador de emissor fiscal
   decide vendo o sistema resolver a NCM dele, não vendo animação.
   ============================================================ */
.orbi-shotframe {
    position: relative;
    z-index: 2;
    margin: 0;
    border-radius: 14px;
    background: var(--o-surface);
    border: 1px solid var(--o-line);
    overflow: hidden;
    /* Três sombras empilhadas: contato, corpo e ambiente. Uma sombra só
       achata; três dão a sensação de objeto pousado sobre a página. */
    box-shadow:
        0 1px 2px rgba(13, 42, 39, .06),
        0 12px 28px rgba(13, 42, 39, .10),
        0 42px 90px rgba(13, 42, 39, .14);
    transform: perspective(2400px) rotateX(1.6deg);
    transform-origin: 50% 0;
    transition: transform .5s var(--o-ease), box-shadow .5s var(--o-ease);
}

.orbi-shotframe:hover {
    transform: perspective(2400px) rotateX(0deg) translateY(-4px);
    box-shadow:
        0 1px 2px rgba(13, 42, 39, .06),
        0 18px 38px rgba(13, 42, 39, .12),
        0 56px 110px rgba(13, 42, 39, .16);
}

.orbi-shotframe-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 40px;
    padding: 0 14px;
    background: var(--o-surface-2);
    border-bottom: 1px solid var(--o-line);
}

.orbi-shotframe-dots {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
}

.orbi-shotframe-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--o-line-strong);
}

.orbi-shotframe-dots i:first-child {
    background: var(--o-accent);
}

.orbi-shotframe-url {
    flex: 1;
    max-width: 340px;
    margin: 0 auto;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--o-surface);
    border: 1px solid var(--o-line);
    font-size: 11px;
    color: var(--o-text-3);
}

.orbi-shotframe img {
    display: block;
    width: 100%;
    height: auto;
}

.orbi-shotframe figcaption {
    padding: 11px 16px;
    border-top: 1px solid var(--o-line);
    background: var(--o-surface-2);
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--o-text-3);
}

/* --- Seção de provas: um print por promessa --- */
.orbi-proofs {
    padding: clamp(70px, 9vw, 118px) clamp(22px, 6vw, 90px);
    background: var(--o-surface);
    border-top: 1px solid var(--o-line);
}

.orbi-proofs-head {
    max-width: 720px;
    margin: 0 auto clamp(38px, 5vw, 62px);
    text-align: center;
}

.orbi-proofs-head h2 {
    font: 800 clamp(30px, 4vw, 46px)/1.08 var(--o-font-display);
    letter-spacing: -.035em;
    margin: 16px 0 14px;
}

.orbi-proofs-head p {
    color: var(--o-text-2);
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

.orbi-proof-item {
    max-width: 1120px;
    margin: 0 auto clamp(48px, 6vw, 78px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: clamp(26px, 4vw, 56px);
    align-items: center;
}

/* Alterna o lado do print para a página não virar uma lista monótona. */
.orbi-proof-item:nth-child(even) .orbi-proof-copy {
    order: 2;
}

.orbi-proof-item:last-child {
    margin-bottom: 0;
}

.orbi-proof-copy h3 {
    font: 800 clamp(21px, 2.4vw, 27px)/1.22 var(--o-font-display);
    letter-spacing: -.028em;
    margin: 12px 0 12px;
}

.orbi-proof-copy p {
    color: var(--o-text-2);
    font-size: 15.5px;
    line-height: 1.68;
    margin: 0 0 14px;
}

.orbi-proof-copy ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.orbi-proof-copy li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--o-text-2);
}

.orbi-proof-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--o-brand-soft);
    box-shadow: inset 0 0 0 1.5px var(--o-brand-2);
}

.orbi-proof-copy li::after {
    content: "";
    position: absolute;
    left: 4.6px;
    top: 10.4px;
    width: 5.6px;
    height: 3px;
    border-left: 1.7px solid var(--o-brand-2);
    border-bottom: 1.7px solid var(--o-brand-2);
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .orbi-proof-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .orbi-proof-item:nth-child(even) .orbi-proof-copy {
        order: 0;
    }

    .orbi-shotframe {
        transform: none;
    }

    .orbi-shotframe:hover {
        transform: translateY(-2px);
    }
}

/* --- Prints dentro dos guias --- */
.orbi-article figure.orbi-shotframe {
    margin: 30px 0;
}

@media (prefers-reduced-motion: reduce) {
    .orbi-shotframe,
    .orbi-shotframe:hover {
        transform: none;
        transition: none;
    }
}

/* ============================================================
   17. Área do parceiro
   ============================================================ */
.orbi-partner {
    max-width: 1120px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 46px) clamp(18px, 4vw, 32px) 70px;
}

.orbi-partner-head {
    margin-bottom: clamp(22px, 3vw, 32px);
}

/* O título é de painel, não de artigo: 44px de manchete competiria com os
   números, que são o que o parceiro veio ver. */
.orbi-partner-head h1 {
    font: 700 clamp(24px, 3.2vw, 32px)/1.15 var(--o-font-display);
    letter-spacing: -.03em;
    margin: 10px 0 8px;
}

.orbi-partner-head p {
    color: var(--o-text-2);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
    max-width: 62ch;
}

.orbi-partner .orbi-panel-card {
    margin-bottom: 16px;
}

/* Campo somente-leitura com botão de copiar ao lado. */
.orbi-copyrow {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}

.orbi-copyrow input {
    flex: 1 1 320px;
    min-width: 0;
    font-family: var(--o-font-mono);
    font-size: 13.5px;
    background: var(--o-surface-2) !important;
    cursor: text;
}

.orbi-copyrow .orbi-button {
    flex: 0 0 auto;
    min-width: 116px;
}

@media (max-width: 560px) {
    .orbi-copyrow .orbi-button {
        width: 100%;
    }
}

/* ============================================================
   Checkout — cartão ilustrado, máscaras e força de senha
   O cartão desenhado reproduz o que está sendo digitado. É o que
   transforma um formulário de pagamento em algo em que se confia.
   ============================================================ */

.orbi-checkout-safe {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: var(--o-r-pill);
    background: var(--o-ok-soft);
    color: var(--o-ok);
    font-size: 12px;
    font-weight: 700;
}

.orbi-checkout-safe svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orbi-form-section {
    background: var(--o-surface);
    border: 1px solid var(--o-line);
    border-radius: var(--o-r-xl);
    box-shadow: var(--o-sh-1);
    padding: 26px 26px 28px;
}

.orbi-form-section h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    font: 800 17px/1 var(--o-font-display);
    letter-spacing: -.3px;
    color: var(--o-text);
}

.orbi-form-section h2 i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--o-brand);
    color: #fff;
    font: 800 12px/1 var(--o-font);
    font-style: normal;
}

/* ---------------------------------------------------- o cartão */

.orbi-cardstage {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin: 6px 0 24px;
}

.orbi-cardview {
    width: min(360px, 100%);
    aspect-ratio: 1.586;
    perspective: 1400px;
}

.orbi-cardview-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .55s var(--o-ease);
}

.orbi-cardview.is-flipped .orbi-cardview-inner {
    transform: rotateY(180deg);
}

.orbi-cardview-face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    backface-visibility: hidden;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .16), transparent 46%),
        linear-gradient(135deg, #123f39 0%, #0d2d29 52%, #0a2320 100%);
    box-shadow: 0 3px 6px rgba(8, 34, 32, .18), 0 22px 48px rgba(8, 34, 32, .34);
}

/* A cor acompanha a bandeira reconhecida: o reconhecimento fica óbvio. */
.orbi-cardview[data-brand="visa"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .18), transparent 46%), linear-gradient(135deg, #1c3f8f 0%, #14295c 55%, #0f1e45 100%);
}

.orbi-cardview[data-brand="mastercard"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .16), transparent 46%), linear-gradient(135deg, #3a2b26 0%, #23140f 55%, #170c08 100%);
}

.orbi-cardview[data-brand="elo"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .14), transparent 46%), linear-gradient(135deg, #2c2c2c 0%, #171717 55%, #0b0b0b 100%);
}

.orbi-cardview[data-brand="amex"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .2), transparent 46%), linear-gradient(135deg, #12688f 0%, #0b3f57 55%, #072b3c 100%);
}

.orbi-cardview[data-brand="diners"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .16), transparent 46%), linear-gradient(135deg, #2a4a7a 0%, #1b3153 55%, #121f36 100%);
}

.orbi-cardview[data-brand="hipercard"] .orbi-cardview-face {
    background: radial-gradient(120% 140% at 12% 8%, rgba(255, 255, 255, .16), transparent 46%), linear-gradient(135deg, #8f2020 0%, #611414 55%, #3f0c0c 100%);
}

.orbi-cardview-front {
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 22px 24px;
}

.orbi-cardview-shine {
    position: absolute;
    top: -60%;
    left: -30%;
    width: 55%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
    transform: rotate(18deg);
    pointer-events: none;
}

.orbi-cardview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.orbi-cardview-chip {
    width: 44px;
    height: 32px;
    fill: rgba(255, 214, 140, .22);
    stroke: rgba(255, 214, 140, .75);
    stroke-width: 1.1;
}

.orbi-cardview-brand,
.orbi-card-input-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 26px;
}

.orbi-cardview-brand svg {
    width: 52px;
    height: 32px;
}

.orbi-cardview-brand i {
    font-style: normal;
    color: #fff;
}

.orbi-mark-visa {
    font: 800 italic 22px/1 var(--o-font-display);
    letter-spacing: 1px;
}

.orbi-mark-elo {
    font: 800 22px/1 var(--o-font-display);
    letter-spacing: .5px;
}

.orbi-mark-amex {
    font: 800 16px/1 var(--o-font-display);
    letter-spacing: 1.6px;
}

.orbi-mark-diners,
.orbi-mark-hiper {
    font: 800 15px/1 var(--o-font-display);
    letter-spacing: .2px;
}

.orbi-cardview-number {
    align-self: center;
    font-family: var(--o-font-mono);
    font-size: clamp(17px, 5.2vw, 22px);
    letter-spacing: 1.6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
    white-space: nowrap;
}

.orbi-cardview-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.orbi-cardview-foot small {
    display: block;
    font-size: 8px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 3px;
}

.orbi-cardview-foot span {
    font-family: var(--o-font-mono);
    font-size: 12.5px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.orbi-cardview-foot > div:first-child {
    min-width: 0;
    overflow: hidden;
}

.orbi-cardview-foot > div:first-child span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------- o verso */

.orbi-cardview-back {
    transform: rotateY(180deg);
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 14px;
    padding: 20px 0 16px;
}

.orbi-cardview-stripe {
    display: block;
    height: 42px;
    background: #0a1614;
}

.orbi-cardview-sign {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
}

.orbi-cardview-sign em {
    flex: 1;
    height: 30px;
    border-radius: 4px;
    background: repeating-linear-gradient(135deg, #f2efe6 0 6px, #e3ded1 6px 12px);
}

.orbi-cardview-sign span {
    min-width: 62px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #f7f5ef;
    color: #111;
    font-family: var(--o-font-mono);
    font-size: 14px;
    letter-spacing: 3px;
    text-align: center;
}

.orbi-cardview-back p {
    align-self: end;
    margin: 0;
    padding: 0 22px;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .6);
}

.orbi-cardstage-hint {
    margin: 0;
    font-size: 12px;
    color: var(--o-text-3);
    text-align: center;
}

/* ------------------------------------------- campos do cartão */

.orbi-card-input {
    position: relative;
    display: block;
}

.orbi-card-input input {
    padding-right: 74px !important;
    font-family: var(--o-font-mono);
    letter-spacing: 1.2px;
}

.orbi-card-input-brand {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--o-text-2);
}

.orbi-card-input-brand svg {
    width: 38px;
    height: 24px;
}

.orbi-card-input-brand i {
    font-style: normal;
    font-size: 13px;
    color: var(--o-text-2);
}

.orbi-card-input-brand .orbi-mark-visa {
    font-size: 15px;
}

/* Mês e ano são dois campos reais — sem JavaScript o formulário continua
   preenchível — mas desenhados como um controle só de validade. */
.orbi-card-expiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 172px;
    border: 1px solid var(--o-line-strong);
    border-radius: var(--o-r-md);
    background: var(--o-surface);
    padding: 0 10px;
}

.orbi-card-expiry:focus-within {
    border-color: var(--o-accent);
    box-shadow: 0 0 0 3px rgba(240, 118, 47, .14);
}

/* !important porque a regra base de input do site tem especificidade alta
   (.orbi-site input:not(...):not(...):not(...)) e fixaria width:100%. */
.orbi-card-expiry input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 11px 0 !important;
    min-height: 40px !important;
    font-family: var(--o-font-mono);
    letter-spacing: 1px;
    text-align: center;
    flex: 0 0 auto;
}

.orbi-card-expiry input#expiry-month {
    width: 42px !important;
}

.orbi-card-expiry input#expiry-year {
    width: 68px !important;
}

.orbi-card-expiry em {
    font-style: normal;
    color: var(--o-text-3);
}

.orbi-field-error {
    display: block;
    margin-top: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--o-danger);
}

/* --------------------------------------------------- a senha */

.orbi-password-field {
    position: relative;
    display: block;
}

.orbi-password-field input {
    padding-right: 46px !important;
}

.orbi-password-eye {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: var(--o-r-sm);
    background: transparent;
    color: var(--o-text-3);
    cursor: pointer;
}

.orbi-password-eye svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.orbi-password-eye.is-on {
    color: var(--o-brand-2);
    background: var(--o-brand-soft);
}

.orbi-password-meter {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.orbi-password-meter i {
    height: 4px;
    width: 26px;
    border-radius: var(--o-r-pill);
    background: var(--o-line-strong);
}

.orbi-password-meter b {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--o-text-3);
}

.orbi-password-meter[data-level="1"] i:nth-child(1) { background: var(--o-danger); }
.orbi-password-meter[data-level="2"] i:nth-child(-n+2) { background: var(--o-warn); }
.orbi-password-meter[data-level="3"] i { background: var(--o-ok); }

/* ------------------------------------------------ consentimento */

.orbi-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid var(--o-line);
    border-radius: var(--o-r-md);
    background: var(--o-surface);
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--o-text-2);
}

.orbi-consent input {
    margin-top: 2px;
    width: 17px;
    height: 17px;
    accent-color: var(--o-brand-2);
    flex: 0 0 auto;
}

.orbi-card-policy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 11px !important;
    line-height: 1.55;
    text-align: left !important;
    color: var(--o-text-3) !important;
}

.orbi-card-policy svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
    .orbi-cardview-inner {
        transition: none;
    }
}

@media (max-width: 560px) {
    .orbi-cardview {
        width: 100%;
    }

    .orbi-cardview-front {
        padding: 18px;
    }
}

/* ============================================================
   Ambiente de homologação
   A faixa de aviso é fixa em todas as telas: quem assiste à
   demonstração precisa saber, o tempo todo, que nada tem
   validade fiscal.
   ============================================================ */

.orbi-demo-band {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding: 14px 18px;
    border: 1px solid var(--o-warn-soft);
    border-left: 4px solid var(--o-warn);
    border-radius: var(--o-r-lg);
    background: var(--o-warn-soft);
    color: var(--o-warn);
}

.orbi-demo-band p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--o-warn);
}

.orbi-demo-band strong {
    color: var(--o-warn);
}

.orbi-demo-band-tag {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: var(--o-r-pill);
    background: var(--o-warn);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.orbi-demo-who {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: right;
}

.orbi-demo-who b {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--o-text);
}

.orbi-demo-who small {
    font-size: 10.5px;
    color: var(--o-text-3);
}

/* ------------------------------------------- roteiro de venda */

.orbi-demo-steps {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 2px;
}

.orbi-demo-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--o-line);
}

.orbi-demo-steps li:first-child {
    border-top: 0;
}

.orbi-demo-steps b {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--o-brand-soft);
    color: var(--o-brand);
    font-size: 11.5px;
    font-weight: 800;
}

.orbi-demo-steps div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.orbi-demo-steps a {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--o-brand-2);
}

.orbi-demo-steps a:hover {
    text-decoration: underline;
}

.orbi-demo-steps span {
    font-size: 12px;
    line-height: 1.55;
    color: var(--o-text-2);
}

/* ---------------------------------- espelho do documento fiscal */

.orbi-danfe-key {
    display: grid;
    gap: 6px;
    margin: 4px 0 20px;
    padding: 16px 18px;
    border: 1px dashed var(--o-line-strong);
    border-radius: var(--o-r-lg);
    background: var(--o-surface-2);
}

.orbi-danfe-key small {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.3px;
    color: var(--o-text-3);
}

.orbi-danfe-key code {
    font-family: var(--o-font-mono);
    font-size: clamp(12px, 2.4vw, 15px);
    letter-spacing: .6px;
    color: var(--o-text);
    word-break: break-all;
}

.orbi-danfe-key span {
    font-size: 11.5px;
    color: var(--o-text-3);
}

/* Totais do rodapé da tabela de itens. */
.orbi-table tfoot th {
    background: var(--o-surface-3);
    font-size: 12.5px;
    color: var(--o-text);
    border-top: 1px solid var(--o-line-strong);
}

.orbi-partner-demo {
    border-color: var(--o-brand-2);
    box-shadow: var(--o-sh-2);
}

@media (max-width: 680px) {
    .orbi-demo-band {
        flex-direction: column;
        gap: 10px;
    }

    .orbi-demo-who {
        display: none;
    }
}
