/* ==========================================================================
   Estándar: the category-standard commerce SaaS look, played straight.
   White ground, warm-neutral bands, near-black ink, one commerce green for
   primary actions and positive figures. Geist for text, Geist Mono only for
   figures inside the product mockups. No blue anywhere.
   Styles the shared component vocabulary (rn-*) plus the landing (st-*).
   ========================================================================== */

:root {
    --rn-paper: #ffffff;
    --rn-ink: #111412;
    --rn-ink-soft: #4f5552;
    --rn-rule: rgba(17, 20, 18, 0.1);
    --rn-total: #0e7c4a;
    --rn-total-deep: #0b6640;
    --rn-graphite: #111412;
    --rn-cap: #ffffff;

    --st-tint: #f6f6f3;
    --st-tint-2: #eeeee9;
    --st-muted: #6b716d;
    --st-line: rgba(17, 20, 18, 0.16);
    --st-green-tint: #e6f3ec;
    --st-green-ink: #0b5e39;
    --st-warn-tint: #fdf1e2;
    --st-warn-ink: #9a4a08;

    --rn-font: "Geist", "Helvetica Neue", Arial, sans-serif;
    --rn-mono: "Geist Mono", ui-monospace, Menlo, monospace;
    --rn-ease: cubic-bezier(0.16, 1, 0.3, 1);

    --st-radius: 10px;
    --st-card: 16px;
    --st-shadow: 0 1px 2px rgba(17, 20, 18, 0.06), 0 12px 32px -16px rgba(17, 20, 18, 0.18);
    --st-shadow-lg: 0 2px 4px rgba(17, 20, 18, 0.04), 0 24px 48px -24px rgba(17, 20, 18, 0.22), 0 48px 96px -48px rgba(17, 20, 18, 0.28);
}

/* --------------------------------------------------------------------------
   Ground and base
   -------------------------------------------------------------------------- */

html.rn-auth-html {
    min-height: 100%;
    background: #fff;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body.rn-body {
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: var(--rn-ink);
    font-family: var(--rn-font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
}

/* Auth pages with the topbar (register, password) sit on the warm band */
body.rn-body:has(.rn-auth-main) {
    background: var(--st-tint);
}

.rn-body ::selection {
    background: var(--st-green-tint);
    color: var(--st-green-ink);
}

.rn-body a {
    color: inherit;
    text-underline-offset: 0.22em;
    text-decoration-thickness: 1px;
}

.rn-body a:hover,
.rn-body a:focus {
    color: inherit;
}

.rn-body :focus-visible {
    outline: 2px solid var(--rn-total);
    outline-offset: 3px;
    border-radius: 6px;
}

.rn-body h1,
.rn-body h2,
.rn-body h3 {
    color: inherit;
    font-family: var(--rn-font);
}

.rn-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rn-body .pace .pace-progress {
    background: var(--rn-total) !important;
}

.rn-body .pace .pace-activity {
    display: none !important;
}

.st-icon {
    width: 22px;
    height: 22px;
    flex: none;
}

.st-icon--sm {
    width: 18px;
    height: 18px;
}

.st-icon--xs {
    width: 14px;
    height: 14px;
}

.st-num {
    font-family: var(--rn-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.st-mono {
    font-family: var(--rn-mono);
    font-size: 0.92em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.rn-key,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline),
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn),
.rn-panel-theme .modal-footer .tw-dw-btn-neutral,
.rn-panel-theme .tw-dw-btn.more_btn,
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    min-height: 44px;
    padding: 0.55em 1.15em;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    background: #fff;
    color: var(--rn-ink) !important;
    font-family: var(--rn-font);
    font-size: 0.97rem;
    font-weight: 550;
    letter-spacing: -0.005em;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(17, 20, 18, 0.06);
    transition: background-color 160ms var(--rn-ease), border-color 160ms var(--rn-ease), transform 120ms var(--rn-ease), box-shadow 160ms var(--rn-ease);
}

.rn-key:hover,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline):hover,
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn):hover,
.rn-panel-theme .modal-footer .tw-dw-btn-neutral:hover,
.rn-panel-theme .tw-dw-btn.more_btn:hover,
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500:hover,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs):hover {
    background: var(--st-tint);
    border-color: rgba(17, 20, 18, 0.24);
}

.rn-key:active,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline):active,
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn):active,
.rn-panel-theme .modal-footer .tw-dw-btn-neutral:active,
.rn-panel-theme .tw-dw-btn.more_btn:active,
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500:active,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs):active {
    transform: translateY(1px);
}

.rn-key--graphite {
    border-color: var(--rn-ink);
    background: var(--rn-ink);
    color: #fff !important;
}

.rn-key--graphite:hover {
    border-color: #2a2f2c;
    background: #2a2f2c;
}

.rn-key--total,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline),
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn),
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs) {
    border-color: var(--rn-total);
    background: var(--rn-total);
    color: #fff !important;
    box-shadow: 0 1px 2px rgba(11, 102, 64, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.rn-key--total:hover,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline):hover,
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn):hover,
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500:hover,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs):hover {
    border-color: var(--rn-total-deep);
    background: var(--rn-total-deep);
}

.rn-key--lg,
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline),
.rn-panel-theme .modal-footer .tw-dw-btn-neutral,
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs) {
    min-height: 52px;
    padding: 0.7em 1.45em;
    font-size: 1.04rem;
    border-radius: 12px;
}

.rn-key--sm,
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn),
.rn-panel-theme .tw-dw-btn.more_btn {
    min-height: 38px;
    padding: 0.4em 0.9em;
    font-size: 0.92rem;
    border-radius: 9px;
}

.rn-key--block {
    display: flex;
    width: 100%;
    white-space: normal;
    text-align: center;
}

/* Panel: «Añadir» de los listados y «Guardar» de los formularios usan la misma
   tecla que Iniciar sesión / Registrar cuenta; esto neutraliza el resto de daisyUI */
.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs) {
    height: auto;
    flex-wrap: nowrap;
    text-align: center;
}

.rn-panel-theme .tw-dw-btn.tw-from-indigo-600.tw-to-blue-500:disabled,
.rn-panel-theme form .tw-dw-btn-primary[type="submit"]:not(.tw-dw-btn-outline):not(.tw-dw-btn-sm):not(.tw-dw-btn-xs):disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Modales, botones chicos y «Más información» comparten la tecla; sin restos de daisyUI */
.rn-panel-theme .modal-footer .tw-dw-btn-primary:not(.tw-dw-btn-outline),
.rn-panel-theme .tw-dw-btn:is(.tw-dw-btn-primary, .tw-dw-btn-success).tw-dw-btn-sm:not(.tw-dw-btn-outline):not(.more_btn),
.rn-panel-theme .modal-footer .tw-dw-btn-neutral,
.rn-panel-theme .tw-dw-btn.more_btn {
    height: auto;
    flex-wrap: nowrap;
    text-align: center;
}

/* Producto: los «Guardar y …» junto a «Guardar» toman el tamaño y la letra de la
   tecla, pero conservan su color propio */
.rn-panel-theme form .tw-dw-btn.submit_product_form:not(.tw-dw-btn-primary) {
    height: auto;
    min-height: 52px;
    padding: 0.7em 1.45em;
    border-radius: 12px;
    font-family: var(--rn-font);
    font-size: 1.04rem;
    font-weight: 550;
    letter-spacing: -0.005em;
    line-height: 1.1;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.rn-key[disabled],
.rn-key.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Wordmark, topbar, language
   -------------------------------------------------------------------------- */

.rn-wordmark {
    display: inline-flex;
    flex-direction: column;
    gap: 0.1rem;
    color: var(--rn-ink) !important;
    text-decoration: none !important;
    line-height: 1;
}

.rn-wordmark__name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.rn-wordmark__pos {
    padding: 0.2em 0.42em 0.22em;
    border-radius: 6px;
    background: var(--st-green-tint);
    color: var(--st-green-ink);
    font-size: 0.62em;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.rn-wordmark__sub {
    color: var(--st-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.rn-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: none;
    min-height: 68px;
    margin: 0;
    padding: 0.7rem max(clamp(1rem, 4vw, 3rem), calc((100% - 1200px) / 2));
    background: #fff;
    border-bottom: 1px solid var(--rn-rule);
}

.rn-topbar__nav {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2.2vw, 2rem);
}

.rn-topbar__link {
    color: var(--rn-ink-soft) !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 150ms var(--rn-ease);
}

.rn-topbar__link:hover {
    color: var(--rn-ink) !important;
}

.rn-topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: clamp(0rem, 1vw, 0.75rem);
}

.rn-lang {
    position: relative;
}

.rn-lang > summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0 0.6rem;
    border-radius: 9px;
    list-style: none;
    cursor: pointer;
    color: var(--rn-ink-soft);
    font-size: 0.88rem;
    font-weight: 550;
    transition: background-color 150ms var(--rn-ease);
}

.rn-lang > summary:hover,
.rn-lang[open] > summary {
    background: var(--st-tint);
    color: var(--rn-ink);
}

.rn-lang > summary::-webkit-details-marker {
    display: none;
}

.rn-lang > summary svg {
    width: 18px;
    height: 18px;
}

.rn-lang__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    width: 15rem;
    max-height: 60vh;
    overflow: auto;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--rn-rule);
    border-radius: 12px;
    box-shadow: var(--st-shadow);
}

.rn-lang__menu a {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    font-size: 0.92rem;
    text-decoration: none !important;
    color: var(--rn-ink) !important;
}

.rn-lang__menu a:hover {
    background: var(--st-tint);
}

.rn-lang__menu a[aria-current="true"] {
    background: var(--st-green-tint);
    color: var(--st-green-ink) !important;
    font-weight: 550;
}

/* --------------------------------------------------------------------------
   Type and layout primitives
   -------------------------------------------------------------------------- */

.rn-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 3rem);
    padding-right: clamp(1rem, 4vw, 3rem);
    box-sizing: content-box;
}

.rn-display {
    margin: 0;
    color: var(--rn-ink);
    font-family: var(--rn-font);
    font-weight: 620;
    letter-spacing: -0.035em;
    line-height: 1.04;
    text-wrap: balance;
}

.rn-lead {
    max-width: 38rem;
    margin: 1.1rem 0 0;
    color: var(--rn-ink-soft);
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.rn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.st-tag,
.st-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--st-tint-2);
    color: var(--rn-ink-soft);
    font-size: 0.74rem;
    font-weight: 550;
    line-height: 1.3;
    white-space: nowrap;
}

.st-chip--ok {
    background: var(--st-green-tint);
    color: var(--st-green-ink);
}

.st-chip--warn {
    margin-left: 0.4rem;
    background: var(--st-warn-tint);
    color: var(--st-warn-ink);
}

.st-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

/* --------------------------------------------------------------------------
   Hero and the product window
   -------------------------------------------------------------------------- */

.st-hero {
    position: relative;
    padding-top: clamp(2.75rem, 6.5vw, 5.25rem);
    isolation: isolate;
}

/* The warm band starts halfway down the window and carries into features */
.st-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(46%, 330px);
    z-index: -1;
    background: var(--st-tint);
}

.st-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.st-hero .rn-display {
    max-width: 15ch;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.st-hero .rn-lead {
    max-width: 36rem;
    margin-top: 1.4rem;
}

.st-hero .rn-actions {
    justify-content: center;
}

.st-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 1.4rem 0 0;
    color: var(--st-muted);
    font-size: 0.92rem;
}

.st-hero__note .st-icon {
    color: var(--rn-total);
}

.st-window {
    position: relative;
    margin: clamp(2.5rem, 5vw, 3.75rem) auto 0;
    max-width: 1120px;
    overflow: hidden;
    border: 1px solid var(--rn-rule);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--st-shadow-lg);
    animation: st-rise 900ms var(--rn-ease) both;
}

@keyframes st-rise {
    from {
        transform: translateY(24px);
        opacity: 0.001;
    }
}

.st-window__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    height: 46px;
    padding: 0 1rem;
    background: #fbfbf9;
    border-bottom: 1px solid var(--rn-rule);
}

.st-window__dots {
    display: inline-flex;
    gap: 7px;
}

.st-window__dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #dcdcd6;
}

.st-window__url {
    min-width: 16rem;
    padding: 0.3rem 1rem;
    border-radius: 8px;
    background: var(--st-tint-2);
    color: var(--st-muted);
    font-size: 0.8rem;
    text-align: center;
}

.st-window__bar .st-tag {
    justify-self: end;
}

.st-tabs {
    position: relative;
    display: flex;
    gap: 0.25rem;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--rn-rule);
    overflow-x: auto;
    scrollbar-width: none;
}

.st-tabs::-webkit-scrollbar {
    display: none;
}

.st-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--st-muted);
    font-family: var(--rn-font);
    font-size: 0.93rem;
    font-weight: 550;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms var(--rn-ease), color 160ms var(--rn-ease);
}

.st-tab:hover {
    color: var(--rn-ink);
    background: var(--st-tint);
}

.st-tab[aria-selected="true"] {
    background: var(--st-green-tint);
    color: var(--st-green-ink);
}

.st-tabs__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    pointer-events: none;
}

.st-tabs__progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--rn-total);
    transform: scaleX(0);
    transform-origin: left center;
}

.st-window.is-running .st-tabs__progress i {
    animation: st-progress 6000ms linear forwards;
}

.st-window.is-paused .st-tabs__progress i {
    animation-play-state: paused;
}

@keyframes st-progress {
    to {
        transform: scaleX(1);
    }
}

.st-screens {
    position: relative;
    min-height: 440px;
    background: #fff;
}

.st-screen {
    padding: clamp(1rem, 2.2vw, 1.5rem);
}

.st-screen[hidden] {
    display: none !important;
}

.st-screen.is-entering {
    animation: st-enter 520ms var(--rn-ease) both;
}

@keyframes st-enter {
    from {
        opacity: 0.001;
        transform: translateY(10px);
        filter: blur(4px);
    }
}

/* Sell */
.st-pos {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.st-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 44px;
    padding: 0 0.9rem;
    border: 1px solid var(--st-line);
    border-radius: 10px;
    color: var(--st-muted);
    font-size: 0.9rem;
}

.st-pos__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.st-product {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0.5rem 0.7rem;
    border: 1px solid var(--rn-rule);
    border-radius: 12px;
    font-size: 0.84rem;
}

.st-product__swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.45rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: rgba(17, 20, 18, 0.55);
}

.st-product--sage .st-product__swatch {
    background: #dfece2;
}

.st-product--sand .st-product__swatch {
    background: #f1e8d8;
}

.st-product--lilac .st-product__swatch {
    background: #ebe5f1;
}

.st-product--rose .st-product__swatch {
    background: #f4e0dd;
}

.st-product__name {
    overflow: hidden;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.st-product__price {
    color: var(--st-muted);
    font-family: var(--rn-mono);
    font-size: 0.8rem;
}

.st-pos__ticket {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: 14px;
    background: var(--st-tint);
}

.st-pos__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--rn-rule);
}

.st-pos__head div {
    display: flex;
    flex-direction: column;
}

.st-pos__head strong {
    font-weight: 620;
}

.st-pos__head div span {
    color: var(--st-muted);
    font-size: 0.85rem;
}

.st-lines {
    margin: 0;
    padding: 0.4rem 0;
    list-style: none;
    font-size: 0.88rem;
}

.st-lines li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0.45rem 0;
}

.st-lines__qty {
    color: var(--st-muted);
    font-family: var(--rn-mono);
}

.st-sum {
    margin: auto 0 0;
    padding-top: 0.6rem;
    border-top: 1px solid var(--rn-rule);
    font-size: 0.88rem;
}

.st-sum div,
.st-ledger div,
.st-art__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.st-sum div {
    padding: 0.2rem 0;
}

.st-sum dt,
.st-ledger dt {
    font-weight: 400;
    color: var(--rn-ink-soft);
}

.st-sum dd,
.st-ledger dd {
    margin: 0;
    white-space: nowrap;
}

.st-num {
    white-space: nowrap;
}

.st-sum__total {
    margin-top: 0.3rem;
    font-size: 1.15rem;
}

.st-sum__total dt {
    color: var(--rn-ink) !important;
    font-weight: 620 !important;
}

.st-sum__total dd {
    font-weight: 600;
}

.st-pay {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0.9rem 0 0.7rem;
    padding: 0.25rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--rn-rule);
    font-size: 0.78rem;
    font-weight: 550;
    text-align: center;
}

.st-pay span {
    padding: 0.4rem 0.2rem;
    border-radius: 7px;
    color: var(--st-muted);
    white-space: nowrap;
}

.st-pay .is-on {
    background: var(--rn-ink);
    color: #fff;
}

.st-mock-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 10px;
    background: var(--rn-total);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.st-mock-btn--ink {
    background: var(--rn-ink);
}

/* Register */
.st-reg {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: stretch;
    min-height: 440px;
    box-sizing: border-box;
}

.st-reg__card {
    padding: 1.2rem 1.3rem;
    border: 1px solid var(--rn-rule);
    border-radius: 14px;
}

.st-reg__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--rn-rule);
}

.st-reg__head strong {
    font-weight: 620;
}

.st-ledger {
    margin: 0;
}

.st-ledger div {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--rn-rule);
}

.st-ledger div:last-child {
    border-bottom: 0;
}

.st-reg__close {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    border-radius: 14px;
    background: var(--st-tint);
}

.st-ledger--close dd {
    font-size: 1.1rem;
    font-weight: 600;
}

.st-ledger .is-total {
    margin-top: 0.2rem;
    border-top: 1px solid var(--st-line);
}

.st-ledger .is-total dt,
.st-ledger .is-total dd {
    color: var(--rn-ink);
    font-weight: 620;
}

.st-mix__title {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--rn-ink-soft);
    font-size: 0.85rem;
}

.st-mix__bar {
    display: flex;
    gap: 3px;
    height: 10px;
}

.st-mix__bar i {
    border-radius: 3px;
    background: var(--rn-total);
}

.st-mix__bar i:nth-child(2) {
    background: #6fb391;
}

.st-mix__bar i:nth-child(3) {
    background: #bfdccb;
}

.st-mix ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    margin: 0.7rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--rn-ink-soft);
    font-size: 0.8rem;
}

.st-mix li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.st-mix b {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--rn-total);
}

.st-mix li:nth-child(2) b {
    background: #6fb391;
}

.st-mix li:nth-child(3) b {
    background: #bfdccb;
}

.st-ledger .is-ok dt,
.st-ledger .is-ok dd {
    color: var(--st-green-ink);
    font-weight: 620;
}

/* Stock */
.st-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.st-table th {
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--st-line);
    color: var(--st-muted);
    font-size: 0.8rem;
    font-weight: 550;
    text-align: left;
    white-space: nowrap;
}

.st-table td {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--rn-rule);
}

.st-table tbody tr:last-child td {
    border-bottom: 0;
}

.st-table .is-num {
    font-family: var(--rn-mono);
    text-align: right;
}

.st-table th.is-num {
    font-family: var(--rn-font);
}

.st-table td.st-mono {
    color: var(--st-muted);
}

.st-table .is-low {
    color: var(--st-warn-ink);
    font-weight: 600;
}

/* Reports */
.st-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.st-kpis div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--rn-rule);
    border-radius: 14px;
}

.st-kpis span {
    color: var(--st-muted);
    font-size: 0.85rem;
}

.st-kpis strong {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 600;
}

.st-kpis em {
    color: var(--st-green-ink);
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 550;
}

.st-bars {
    margin-top: 0.9rem;
    padding: 1rem 1.1rem 1.1rem;
    border: 1px solid var(--rn-rule);
    border-radius: 14px;
}

.st-bars__title {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    font-weight: 550;
}

.st-bars svg {
    display: block;
    width: 100%;
    height: 170px;
}

.st-bars__grid {
    stroke: var(--rn-rule);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.st-bars__bar {
    fill: #bfdccb;
}

.st-bars__bar.is-peak {
    fill: var(--rn-total);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.st-section {
    padding-top: clamp(4.5rem, 9vw, 7.5rem);
    padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
}

.st-section--tint {
    background: var(--st-tint);
}

#funciones {
    background: linear-gradient(var(--st-tint), #fff 22rem);
}

.st-section .rn-display {
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}

.st-head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2rem 4rem;
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.st-head .rn-lead {
    margin: 0;
}

.st-head--center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.st-head--center .rn-lead {
    margin-top: 1rem;
}

/* Feature rows */
.st-feature {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.st-feature--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.st-feature--flip .st-feature__copy {
    order: 2;
}

.st-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--st-green-tint);
    color: var(--st-green-ink);
}

.st-feature h3 {
    margin: 1.2rem 0 0;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 620;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.st-feature p {
    max-width: 36ch;
    margin: 0.8rem 0 0;
    color: var(--rn-ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
}

.st-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 20px;
    background: var(--st-tint);
    overflow: hidden;
}

.st-art--z {
    background: #edf0ea;
}

.st-art--stock {
    background: #f3efe8;
}

.st-art__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: min(100%, 23rem);
    padding: 1.2rem;
    border: 1px solid var(--rn-rule);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--st-shadow);
    font-size: 0.92rem;
}

.st-art__row--muted {
    color: var(--st-muted);
}

.st-art__row--total {
    padding-top: 0.7rem;
    border-top: 1px dashed var(--st-line);
    color: var(--st-green-ink);
    font-weight: 620;
}

.st-art__receipt strong {
    font-weight: 620;
}

.st-split-pay {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.st-split-pay div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.75rem;
    border: 1px solid var(--rn-rule);
    border-radius: 12px;
}

.st-split-pay div span {
    color: var(--st-muted);
    font-size: 0.8rem;
}

.st-split-pay strong {
    font-size: 1.05rem;
    font-weight: 600;
}

.st-split-pay .is-on {
    border-color: var(--rn-total);
    box-shadow: inset 0 0 0 1px var(--rn-total);
}

.st-split-pay .is-on .st-icon {
    color: var(--rn-total);
}

.st-art__float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--rn-rule);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--st-shadow);
    font-size: 0.84rem;
    font-weight: 550;
}

.st-art__float .st-icon {
    color: var(--rn-total);
}

.st-art__float--a {
    right: clamp(1rem, 4vw, 2.5rem);
    bottom: clamp(1rem, 3vw, 1.8rem);
}

.st-art__float--b {
    left: clamp(1rem, 4vw, 2.5rem);
    top: clamp(1rem, 3vw, 1.8rem);
    color: var(--st-warn-ink);
}

.st-transfer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.6rem;
}

.st-transfer div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.8rem;
    border: 1px solid var(--rn-rule);
    border-radius: 12px;
}

.st-transfer div span {
    color: var(--st-muted);
    font-size: 0.8rem;
}

.st-transfer strong {
    font-size: 1.5rem;
    font-weight: 600;
}

.st-transfer .is-low strong {
    color: var(--st-warn-ink);
}

.st-transfer__arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--rn-total);
}

.st-transfer__arrow em {
    color: var(--st-muted);
    font-size: 0.75rem;
    font-style: normal;
}

/* "Y además" list */
.st-more {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: clamp(2rem, 4vw, 3rem);
    border-top: 1px solid var(--rn-rule);
}

.st-more__title {
    margin: 0 0 1.5rem;
    font-size: 1.15rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.st-more__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 3rem;
    margin: 0;
}

.st-more__list dt {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.st-more__list dt .st-icon {
    color: var(--rn-total);
}

.st-more__list dd {
    margin: 0.4rem 0 0;
    color: var(--rn-ink-soft);
    line-height: 1.55;
}

/* Integrations */
.st-int {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.st-arca {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    align-items: center;
    gap: 2rem clamp(2rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: 20px;
    background: var(--rn-ink);
    color: #fff;
}

.st-arca h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    font-weight: 620;
    letter-spacing: -0.03em;
}

.st-arca p {
    max-width: 40ch;
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.04rem;
    line-height: 1.6;
}

.st-invoice {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.2rem;
    border-radius: 14px;
    background: #fff;
    color: var(--rn-ink);
    font-size: 0.9rem;
}

.st-invoice__head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--rn-rule);
}

.st-invoice__head div {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.st-invoice__head strong {
    font-weight: 620;
}

.st-invoice__head .st-mono {
    color: var(--st-muted);
    font-size: 0.8rem;
}

.st-invoice__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--rn-ink);
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
}

.st-invoice__sample {
    align-self: flex-end;
    color: var(--st-muted);
    font-size: 0.74rem;
}

.st-apps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--rn-rule);
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
}

.st-app {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    border-bottom: 1px solid var(--rn-rule);
}

.st-app:not(:nth-child(3n)) {
    border-right: 1px solid var(--rn-rule);
}

.st-app:nth-last-child(-n + 3) {
    border-bottom: 0;
}

.st-app__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--st-green-tint);
    color: var(--st-green-ink);
}

.st-app h3 {
    margin: 1rem 0 0;
    font-size: 1.1rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.st-app p {
    margin: 0.4rem 0 0;
    color: var(--rn-ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* Steps: the sequence is the information */
.st-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.st-steps li {
    position: relative;
    padding-top: 0.25rem;
}

.st-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: 56px;
    right: -1rem;
    height: 1px;
    background: var(--st-line);
}

.st-steps__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--st-line);
    border-radius: 50%;
    background: #fff;
    color: var(--st-green-ink);
    font-weight: 620;
}

.st-steps li:first-child .st-steps__n {
    border-color: var(--rn-total);
    background: var(--rn-total);
    color: #fff;
}

.st-steps h3 {
    margin: 1.3rem 0 0;
    font-size: 1.25rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.st-steps p {
    max-width: 30ch;
    margin: 0.5rem 0 0;
    color: var(--rn-ink-soft);
    line-height: 1.55;
}

/* Plans */
.st-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.st-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid var(--rn-rule);
    border-radius: 20px;
    background: #fff;
}

.st-plan h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.st-plan__for {
    min-height: 3em;
    margin: 0.4rem 0 0;
    color: var(--rn-ink-soft);
    line-height: 1.5;
}

.st-plan__price {
    margin: 1.4rem 0 1.4rem;
    font-size: 1.55rem;
    font-weight: 620;
    letter-spacing: -0.03em;
}

.st-plan ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.6rem 0 0;
    padding: 1.4rem 0 0;
    list-style: none;
    border-top: 1px solid var(--rn-rule);
    font-size: 0.97rem;
}

.st-plan li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.st-plan li .st-icon {
    margin-top: 0.15em;
    color: var(--rn-total);
}

.st-plan--featured {
    border-color: var(--rn-ink);
    background: var(--rn-ink);
    color: #fff;
    box-shadow: var(--st-shadow-lg);
}

.st-plan--featured h3,
.st-plan--featured .st-plan__price {
    color: #fff;
}

.st-plan--featured .st-plan__for {
    color: rgba(255, 255, 255, 0.72);
}

.st-plan--featured ul {
    border-top-color: rgba(255, 255, 255, 0.14);
}

.st-plan--featured li .st-icon {
    color: #6fd3a2;
}


.st-plans__note {
    max-width: 52rem;
    margin: 2rem auto 0;
    color: var(--rn-ink-soft);
    text-align: center;
    text-wrap: balance;
}

.st-plans__note .st-icon {
    display: inline-block;
    margin-right: 0.35rem;
    vertical-align: -0.2em;
    color: var(--rn-total);
}

/* FAQ */
.st-faq {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 2rem clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.st-faq .rn-display {
    position: sticky;
    top: 100px;
}

.st-faq__list details {
    border-bottom: 1px solid var(--rn-rule);
}

.st-faq__list details:first-child {
    border-top: 1px solid var(--rn-rule);
}

.st-faq__list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.3rem 0;
    list-style: none;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 560;
    letter-spacing: -0.01em;
}

.st-faq__list summary::-webkit-details-marker {
    display: none;
}

.st-faq__list summary .st-icon {
    color: var(--st-muted);
    transition: transform 220ms var(--rn-ease);
}

.st-faq__list details[open] summary .st-icon {
    transform: rotate(45deg);
    color: var(--rn-ink);
}

.st-faq__list summary:hover {
    color: var(--st-green-ink);
}

.st-faq__list p {
    max-width: 62ch;
    margin: -0.4rem 0 1.4rem;
    color: var(--rn-ink-soft);
    line-height: 1.65;
}

/* Close */
.st-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(3rem, 6vw, 5rem);
    padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
    border-radius: 28px;
    background: var(--rn-ink);
    color: #fff;
    text-align: center;
}

.st-close .rn-display {
    max-width: 16ch;
    color: #fff;
    font-size: clamp(2.3rem, 5vw, 3.9rem);
}

.st-close .rn-lead {
    color: rgba(255, 255, 255, 0.74);
}

.st-close .rn-actions {
    justify-content: center;
}

.st-close__login {
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.st-close__login a {
    color: #fff !important;
    font-weight: 550;
    text-decoration: underline;
}

/* Footer */
.st-footer {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.st-footer__brand p {
    max-width: 30ch;
    margin: 0.9rem 0 0;
    color: var(--rn-ink-soft);
}

.st-footer nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.st-footer h3 {
    margin: 0 0 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.st-footer nav a {
    color: var(--rn-ink-soft) !important;
    font-size: 0.95rem;
    text-decoration: none !important;
}

.st-footer nav a:hover {
    color: var(--rn-ink) !important;
}

.st-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid var(--rn-rule);
    color: var(--st-muted);
    font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   Auth pages (shared views): login split, fields, reset card, register
   -------------------------------------------------------------------------- */

.rn-auth-main {
    padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
}

.rn-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
}

.rn-split__panel {
    display: flex;
    flex-direction: column;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 6vw, 5rem);
}

.rn-split__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rn-split__form {
    width: 100%;
    max-width: 24rem;
    margin: auto;
    padding: 3rem 0;
}

.rn-split__form .rn-display {
    font-size: clamp(2.1rem, 3.4vw, 2.75rem);
}

.rn-split__form .rn-lead {
    margin: 0.6rem 0 2rem;
    font-size: 1.04rem;
}

.rn-split__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--st-muted);
    font-size: 0.9rem;
}

.rn-split__bottom a {
    font-weight: 550;
    color: var(--rn-ink) !important;
}

.rn-split__photo {
    position: relative;
    margin: 12px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--st-tint-2);
}

.rn-split__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 50%;
}

.rn-split__photo figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rn-ink-soft);
    font-size: 0.75rem;
}

.rn-split__photo figcaption a {
    color: inherit !important;
    text-decoration: none;
}

.rn-field {
    display: block;
    margin: 0 0 1.15rem;
}

.rn-field__label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.45rem;
    color: var(--rn-ink);
    font-size: 0.9rem;
    font-weight: 550;
}

.rn-field__label label {
    margin: 0;
    font-weight: 550;
}

.rn-field__label a {
    color: var(--st-green-ink) !important;
    font-size: 0.86rem;
    font-weight: 500;
    text-decoration: none !important;
}

.rn-field__label a:hover {
    text-decoration: underline !important;
}

.rn-field__control {
    position: relative;
}

.rn-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 0.95rem;
    border: 1px solid var(--st-line);
    border-radius: var(--st-radius);
    background: #fff;
    color: var(--rn-ink);
    font-family: var(--rn-font);
    font-size: 1rem;
    caret-color: var(--rn-total);
    box-shadow: 0 1px 2px rgba(17, 20, 18, 0.05);
    transition: border-color 150ms var(--rn-ease), box-shadow 150ms var(--rn-ease);
}

.rn-input:hover {
    border-color: rgba(17, 20, 18, 0.28);
}

.rn-input::placeholder {
    color: var(--st-muted);
}

.rn-input:focus {
    outline: none;
    border-color: var(--rn-total);
    box-shadow: 0 0 0 4px rgba(14, 124, 74, 0.15);
}

.rn-input--pass {
    padding-right: 3.2rem;
}

.rn-field.has-error .rn-input {
    border-color: #b42318;
}

.rn-field.has-error .rn-input:focus {
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14);
}

.rn-field__error {
    display: block;
    margin-top: 0.4rem;
    color: #b42318;
    font-size: 0.88rem;
    font-weight: 500;
}

.rn-eye {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--st-muted);
    cursor: pointer;
}

.rn-eye:hover {
    background: var(--st-tint);
    color: var(--rn-ink);
}

.rn-eye svg {
    width: 20px;
    height: 20px;
}

.rn-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.1rem 0 1.5rem;
    font-size: 0.93rem;
    font-weight: 400;
    cursor: pointer;
}

.rn-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--rn-total);
}

.rn-card {
    max-width: 26rem;
    margin: clamp(1.5rem, 6vh, 4rem) auto 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--rn-rule);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--st-shadow);
}

.rn-card .rn-display {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.rn-card .rn-lead {
    margin: 0.6rem 0 1.8rem;
    font-size: 1rem;
}

.rn-card .alert {
    border-radius: var(--st-radius);
}

/* Register wizard */
.rn-auth-main .tw-bg-white,
.rn-auth-main .wizard > .content {
    background-color: #fff !important;
}

.rn-auth-main .tw-bg-white {
    border: 1px solid var(--rn-rule);
    border-radius: 20px !important;
    box-shadow: var(--st-shadow) !important;
    --tw-ring-shadow: 0 0 #0000 !important;
}

.rn-auth-main .rn-register__title {
    margin-top: 1.25rem;
    font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.rn-auth-main .rn-register__lead {
    max-width: none;
    margin: 0.6rem auto 0.5rem;
    font-size: 1.02rem;
}

.rn-auth-main .wizard legend {
    border-bottom: 1px solid var(--rn-rule);
    color: var(--rn-ink) !important;
    font-family: var(--rn-font);
    font-size: 1.2rem;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.rn-auth-main label {
    color: var(--rn-ink);
    font-weight: 550;
}

.rn-auth-main .form-control,
.rn-auth-main .input-group-addon,
.rn-auth-main .select2-container--default .select2-selection--single {
    border-color: var(--st-line) !important;
    background-color: #fff;
    color: var(--rn-ink);
}

.rn-auth-main .form-control,
.rn-auth-main .select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: var(--st-radius) !important;
}

.rn-auth-main .input-group .form-control:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.rn-auth-main .input-group-addon {
    border-radius: var(--st-radius) 0 0 var(--st-radius) !important;
    background-color: var(--st-tint);
    color: var(--st-muted);
}

.rn-auth-main .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
}

.rn-auth-main .form-control:focus {
    border-color: var(--rn-total) !important;
    box-shadow: 0 0 0 4px rgba(14, 124, 74, 0.15);
}

.rn-auth-main .wizard > .steps a,
.rn-auth-main .wizard > .steps a:hover {
    border-radius: var(--st-radius);
    font-family: var(--rn-font);
    font-size: 1rem;
    font-weight: 600;
}

.rn-auth-main .wizard > .steps .current a,
.rn-auth-main .wizard > .steps .current a:hover,
.rn-auth-main .wizard > .steps .current a:active,
.rn-auth-main .wizard > .actions a,
.rn-auth-main .wizard > .actions a:hover,
.rn-auth-main .wizard > .actions a:active,
.rn-auth-main .btn-primary,
.rn-auth-main .btn-primary:hover,
.rn-auth-main .btn-primary:focus {
    border-radius: var(--st-radius) !important;
    background: var(--rn-ink) !important;
    border-color: var(--rn-ink) !important;
    color: #fff !important;
}

.rn-auth-main .wizard > .steps .disabled a,
.rn-auth-main .wizard > .steps .disabled a:hover {
    background: var(--st-tint-2) !important;
    color: var(--st-muted) !important;
}

.rn-auth-main .wizard > .steps .done a,
.rn-auth-main .wizard > .steps .done a:hover {
    background: var(--st-green-tint) !important;
    color: var(--st-green-ink) !important;
}

.rn-auth-main .wizard > .actions a[href="#finish"] {
    background: var(--rn-total) !important;
    border-color: var(--rn-total) !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    .st-pos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .st-pos__grid li:nth-child(n + 7) {
        display: none;
    }

    .st-more__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .rn-topbar__nav .rn-topbar__link {
        display: none;
    }

    .st-head,
    .st-feature,
    .st-arca,
    .st-faq {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-apps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-app:not(:nth-child(3n)) {
        border-right: 0;
    }

    .st-app:nth-child(odd) {
        border-right: 1px solid var(--rn-rule);
    }

    .st-app:nth-last-child(-n + 3) {
        border-bottom: 1px solid var(--rn-rule);
    }

    .st-app:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .st-head {
        gap: 1rem;
    }

    .st-feature--flip .st-feature__copy {
        order: 0;
    }

    .st-art {
        min-height: 260px;
    }

    .st-faq .rn-display {
        position: static;
    }

    .st-plans,
    .st-steps {
        grid-template-columns: minmax(0, 1fr);
        max-width: 30rem;
        margin-left: auto;
        margin-right: auto;
    }

    .st-steps li:not(:last-child)::after {
        display: none;
    }

    .st-pos,
    .st-reg {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-pos__catalog {
        display: none;
    }

    .st-screens,
    .st-reg {
        min-height: 0;
    }

    .st-window__bar {
        grid-template-columns: auto 1fr;
    }

    .st-window__url {
        display: none;
    }

    .st-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-footer__brand {
        grid-column: 1 / -1;
    }

    .rn-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .rn-split__photo {
        display: none;
    }
}

@media (max-width: 560px) {
    .rn-topbar {
        gap: 0.5rem;
        min-height: 60px;
    }

    .rn-topbar__actions .rn-key--graphite {
        display: none;
    }

    .rn-actions .rn-key {
        flex: 1 1 100%;
    }

    .st-hero__note {
        align-items: flex-start;
        text-align: left;
    }

    .st-window {
        border-radius: 16px;
    }

    .st-tab {
        padding: 0 0.75rem;
    }

    .st-tab .st-icon {
        display: none;
    }

    .st-kpis {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-kpis div {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        gap: 0.1rem 0.75rem;
        padding: 0.75rem 0.9rem;
    }

    .st-kpis em {
        flex-basis: 100%;
    }

    .st-bars svg {
        height: 120px;
    }

    .st-hide-sm {
        display: none;
    }

    .st-table th,
    .st-table td {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .st-table .st-chip--warn {
        display: table;
        margin: 0.3rem 0 0;
    }

    .st-more__list,
    .st-apps {
        grid-template-columns: minmax(0, 1fr);
    }

    .st-app:nth-child(odd) {
        border-right: 0;
    }

    .st-app:nth-last-child(2) {
        border-bottom: 1px solid var(--rn-rule);
    }

    .st-art {
        padding: 1.25rem;
        padding-top: 4rem;
    }

    .st-art--pay {
        padding-top: 1.25rem;
        padding-bottom: 4rem;
    }

    .st-art--z {
        padding-top: 1.25rem;
    }

    .st-footer {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html.rn-auth-html {
        scroll-behavior: auto;
    }

    .st-window,
    .st-screen.is-entering {
        animation: none;
    }

    .rn-key,
    .st-tab,
    .st-faq__list summary .st-icon {
        transition: none;
    }

    .st-tabs__progress {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Panel: white header with a hairline, warm-neutral ground, green accents
   -------------------------------------------------------------------------- */

.rn-panel-theme body {
    font-family: var(--rn-font);
}

.rn-panel-theme .theme-header-bg {
    background-color: #fff !important;
    background-image: none !important;
    border-bottom: 0 !important;
}

.rn-panel-theme .theme-header-bg.tw-border-b {
    border-bottom: 1px solid var(--rn-rule) !important;
}

.rn-panel-theme .theme-header-bg .tw-text-white,
.rn-panel-theme .theme-header-bg .text-white,
.rn-panel-theme .theme-header-bg h1 {
    color: var(--rn-ink) !important;
}

.rn-panel-theme .theme-btn-bg {
    background-color: var(--st-tint) !important;
    color: var(--rn-ink) !important;
    --tw-ring-color: var(--rn-rule) !important;
}

.rn-panel-theme .theme-btn-bg:hover {
    background-color: var(--st-tint-2) !important;
}

.rn-panel-theme .theme-btn-bg:active,
.rn-panel-theme .theme-btn-bg:focus,
.rn-panel-theme .theme-btn-bg:focus-visible {
    background-color: var(--st-tint-2) !important;
    color: var(--rn-ink) !important;
    outline: 2px solid var(--rn-total);
}

.rn-panel-theme .theme-btn-bg svg {
    color: var(--rn-ink);
}

.rn-panel-theme .theme-logo-bg {
    background-color: var(--rn-ink) !important;
}

.rn-panel-theme body.tw-bg-gray-100,
.rn-panel-theme main.tw-bg-gray-100,
.rn-panel-theme main .tw-bg-gray-100,
.rn-panel-theme .content-wrapper {
    background: var(--st-tint) !important;
}

/* The dashboard band shares the ground, so no edge crosses the cards */
.rn-panel-theme main .theme-header-bg:not(.tw-border-b) {
    background: transparent !important;
}



.rn-panel-theme .nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: var(--rn-total);
}

.rn-panel-theme .tw-dw-btn-outline.tw-dw-btn-info {
    border-color: var(--st-line) !important;
    color: var(--rn-ink) !important;
    background: #fff !important;
}

.rn-panel-theme .tw-dw-btn-outline.tw-dw-btn-info:hover {
    background: var(--rn-ink) !important;
    border-color: var(--rn-ink) !important;
    color: #fff !important;
}

.rn-panel-theme .text-info,
.rn-panel-theme .fa-info-circle {
    color: var(--rn-ink-soft) !important;
}

.rn-panel-theme main .tw-shadow-sm,
.rn-panel-theme main .tw-shadow-md,
.rn-panel-theme main .hover\:tw-shadow-md:hover {
    box-shadow: 0 1px 2px rgba(17, 20, 18, 0.05) !important;
}

.rn-panel-theme main .tw-ring-1 {
    --tw-ring-color: var(--rn-rule) !important;
}

/* Barra de las tablas (#9, public/css/datatables-toolbar.css) */
html.rn-panel-theme {
    --dt-line: var(--st-line);
    --dt-radius: 8px;
}

/* Sidebar search: warm neutral instead of the legacy slate */
.rn-panel-theme div:has(> #sidebar-search) {
    background-color: var(--st-tint) !important;
    border-color: var(--rn-rule) !important;
}

.rn-panel-theme #sidebar-search {
    background: transparent !important;
    color: var(--rn-ink) !important;
}

.rn-panel-theme #sidebar-search::placeholder {
    color: var(--st-muted) !important;
}

.rn-panel-theme div:has(> #sidebar-search) svg,
.rn-panel-theme #sidebar-search-clear {
    color: var(--st-muted) !important;
}

/* Stat icons: green and warm tints instead of sky discs */
.rn-panel-theme main .tw-rounded-full.tw-bg-sky-100,
.rn-panel-theme main .tw-rounded-full.bg-sky-100 {
    background: var(--st-green-tint) !important;
    color: var(--st-green-ink) !important;
}

.rn-panel-theme main .tw-rounded-full.tw-bg-sky-100 svg,
.rn-panel-theme main .tw-rounded-full.bg-sky-100 svg,
.rn-panel-theme main .tw-text-sky-500,
.rn-panel-theme main .tw-text-sky-600 {
    color: var(--st-green-ink) !important;
}

.rn-panel-theme .content-header h1,
.rn-panel-theme .theme-header-bg h1 {
    font-family: var(--rn-font) !important;
    font-weight: 620 !important;
    letter-spacing: -0.025em;
}

.rn-panel-theme main h3.tw-font-bold,
.rn-panel-theme main .tw-font-bold.tw-text-base {
    color: var(--rn-ink) !important;
    font-weight: 620 !important;
    letter-spacing: -0.01em;
}

/* Chart series in green (CSS beats SVG presentation attributes) */
.rn-panel-theme .highcharts-graph {
    stroke: var(--rn-total) !important;
}

.rn-panel-theme .highcharts-point,
.rn-panel-theme .highcharts-legend-item .highcharts-point,
.rn-panel-theme .highcharts-legend-item path {
    fill: var(--rn-total) !important;
    stroke: var(--rn-total) !important;
}

/* daisyUI primary (buttons, checkboxes, badges) becomes the theme green */
html.rn-panel-theme {
    --p: 51.74% 0.1206 156.29;
    --pc: 100% 0 0;
    --fallback-p: #0e7c4a;
    --fallback-pc: #ffffff;
}

.rn-panel-theme .pagination > .active > a,
.rn-panel-theme .pagination > .active > a:hover,
.rn-panel-theme .pagination > .active > span {
    background-color: var(--rn-total) !important;
    border-color: var(--rn-total) !important;
    color: #fff !important;
}

/* POS: indigo chips and buttons (date, recent transactions) follow the theme */
.rn-panel-theme .tw-bg-\[\#646EE4\],
.rn-panel-theme .hover\:tw-bg-\[\#414aac\]:hover {
    background-color: var(--rn-ink) !important;
    color: #fff !important;
}

/* Listados: encabezado de las tablas con un tinte suave del acento del tema */
.rn-panel-theme .dataTables_wrapper table.dataTable > thead > tr > th,
.rn-panel-theme .dataTables_wrapper table.dataTable > thead > tr > td {
    background-color: var(--st-green-tint);
    color: var(--st-green-ink);
    border-top: 1px solid color-mix(in srgb, var(--rn-total) 22%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--rn-total) 22%, transparent);
}

/* ==========================================================================
   Panel: consistencia (crítica 2026-10-05)
   ========================================================================== */

html.rn-panel-theme {
    --rn-accent-tint: var(--st-green-tint);
    --rn-accent-ink: var(--st-green-ink);
    --rn-accent-line: color-mix(in srgb, var(--rn-total) 22%, transparent);
}

/* Restos de azul de AdminLTE y Bootstrap: el acento pasa a ser el del tema */
:where(.rn-panel-theme) a:where(:not(.btn, .tw-dw-btn)),
:where(.rn-panel-theme) a:where(:not(.btn, .tw-dw-btn)):hover,
:where(.rn-panel-theme) a:where(:not(.btn, .tw-dw-btn)):focus {
    color: var(--rn-accent-ink);
}

.rn-panel-theme .text-primary,
.rn-panel-theme .text-blue,
.rn-panel-theme .text-light-blue {
    color: var(--rn-accent-ink) !important;
}

.rn-panel-theme .btn-primary,
.rn-panel-theme .btn-primary:focus,
.rn-panel-theme .bg-light-blue,
.rn-panel-theme .label-primary {
    background-color: var(--rn-total) !important;
    border-color: var(--rn-total) !important;
    color: #fff !important;
}

.rn-panel-theme .btn-primary:hover,
.rn-panel-theme .btn-primary:active,
.rn-panel-theme .btn-primary.active {
    background-color: color-mix(in srgb, var(--rn-total) 84%, #000) !important;
    border-color: color-mix(in srgb, var(--rn-total) 84%, #000) !important;
}

/* «Examinar» de los adjuntos: acción secundaria, neutra */
.rn-panel-theme .btn-file,
.rn-panel-theme .btn-file.btn-primary,
.rn-panel-theme .btn-file.btn-primary:focus {
    background-color: #fff !important;
    border-color: var(--rn-rule) !important;
    color: var(--rn-ink) !important;
}

.rn-panel-theme .btn-file:hover,
.rn-panel-theme .btn-file.btn-primary:hover {
    background-color: var(--rn-accent-tint) !important;
    border-color: var(--rn-rule) !important;
}

/* Foco de campos y selects */
.rn-panel-theme .form-control:focus,
.rn-panel-theme .select2-container--default.select2-container--focus .select2-selection--multiple,
.rn-panel-theme .select2-container--default.select2-container--open .select2-selection,
.rn-panel-theme .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--rn-total) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rn-total) 16%, transparent) !important;
}

.rn-panel-theme .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--rn-total) !important;
    color: #fff !important;
}

/* Etiquetas de selección múltiple (ubicaciones, etc.) */
.rn-panel-theme .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--rn-accent-tint) !important;
    border-color: var(--rn-accent-line) !important;
    color: var(--rn-accent-ink) !important;
}

.rn-panel-theme .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--rn-accent-ink) !important;
}

/* Encabezados de tablas dentro de formularios: el mismo tinte que los listados */
.rn-panel-theme .table-th-green th,
.rn-panel-theme .blue-header th,
.rn-panel-theme table tr.bg-green > th,
.rn-panel-theme table tr.bg-green > td {
    background-color: var(--rn-accent-tint) !important;
    color: var(--rn-accent-ink) !important;
    border-top: 1px solid var(--rn-accent-line) !important;
    border-bottom: 1px solid var(--rn-accent-line) !important;
}

.rn-panel-theme table tr.bg-green > th *,
.rn-panel-theme table tr.bg-green > td * {
    color: inherit;
}

/* Configuración: pestaña activa con tinte, sin degradado */
.rn-panel-theme div.pos-tab-menu div.list-group > a .glyphicon,
.rn-panel-theme div.pos-tab-menu div.list-group > a .fa {
    color: var(--rn-ink-soft);
}

.rn-panel-theme div.pos-tab-menu div.list-group > a.active,
.rn-panel-theme div.pos-tab-menu div.list-group > a.active .glyphicon,
.rn-panel-theme div.pos-tab-menu div.list-group > a.active .fa {
    background: var(--rn-accent-tint);
    color: var(--rn-accent-ink);
    border-color: var(--rn-accent-line);
}

/* POS: iconos de la barra inferior y del encabezado en tinta suave */
.rn-panel-theme .pos-form-actions .pos-footer-secondary i,
.rn-panel-theme .tw-text-\[\#009EE4\],
.rn-panel-theme .tw-text-\[\#646EE4\],
.rn-panel-theme .tw-text-indigo-600,
.rn-panel-theme .tw-text-violet-600 {
    color: var(--rn-ink-soft) !important;
}

/* POS: contadores de Categoría y Marcas, neutros */
.rn-panel-theme .pos-count-badge {
    background-color: color-mix(in srgb, var(--rn-ink) 6%, #fff) !important;
    border-color: var(--rn-rule) !important;
    color: var(--rn-ink-soft) !important;
}

/* POS: solo el cobro lleva color. Efectivo es la tecla del tema; Pago múltiple, neutro */
.rn-panel-theme .pos-form-actions button[data-pay_method="cash"] {
    background-color: var(--rn-total) !important;
    color: #fff !important;
}

.rn-panel-theme .pos-form-actions button[data-pay_method="cash"]:hover {
    background-color: color-mix(in srgb, var(--rn-total) 84%, #000) !important;
}

.rn-panel-theme .pos-form-actions .pos-finalize {
    background-color: #fff !important;
    color: var(--rn-ink) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rn-ink) 24%, transparent);
}

.rn-panel-theme .pos-form-actions .pos-finalize:hover {
    background-color: var(--rn-accent-tint) !important;
}

/* POS: totales legibles; «Total a pagar» con el acento del tema */
.rn-panel-theme .pos_form_totals .pos_totals_label {
    font-size: 11px;
    color: var(--rn-ink-soft);
}

.rn-panel-theme .pos_form_totals .pos_totals_value {
    color: var(--rn-ink);
}

.rn-panel-theme .pos_form_totals .pos_totals_edit {
    font-size: 11px;
    color: var(--rn-ink-soft);
}

.rn-panel-theme .pos_form_totals .pos_totals_right {
    background: var(--rn-accent-tint);
    border-color: var(--rn-accent-line);
}

.rn-panel-theme .pos_form_totals .pos_totals_right_label,
.rn-panel-theme .pos_form_totals .pos_totals_right_value {
    color: var(--rn-accent-ink);
}

.rn-panel-theme .pos_form_totals .pos_totals_right_label {
    font-size: 12px;
}

@media (min-width: 768px) {
    .rn-panel-theme .pos_form_totals .pos_totals_label {
        font-size: 12px;
    }

    .rn-panel-theme .pos_form_totals .pos_totals_value {
        font-size: 14px;
    }

    .rn-panel-theme .pos_form_totals .pos_totals_right_label {
        font-size: 12px;
    }
}

/* POS: tarjetas de producto y carrito vacío con contraste suficiente */
.rn-panel-theme .product_box small.text-muted {
    font-size: 11px !important;
    color: var(--rn-ink-soft) !important;
}

.rn-panel-theme .tw-text-slate-400 {
    color: var(--rn-ink-soft) !important;
}

.rn-panel-theme .text-muted {
    color: var(--rn-ink-soft);
}

.rn-panel-theme .tw-dw-btn.more_btn.center-block {
    display: flex;
    width: fit-content;
    margin-inline: auto;
}

/* POS: iconos del encabezado en tinta suave, como el resto de la barra */
.rn-panel-theme .pos-header .tw-text-\[\#00935F\],
.rn-panel-theme .pos-header .tw-text-\[\#EF4B53\] {
    color: var(--rn-ink-soft) !important;
}

/* Tablas con scroll (Clientes, Ventas…): encabezados en una línea */
.rn-panel-theme .dataTables_scroll table.dataTable > thead > tr > th {
    white-space: nowrap;
}

/* Input de archivo nativo: el botón toma la tecla neutra chica */
.rn-panel-theme input[type="file"]::file-selector-button {
    margin-right: 0.75em;
    padding: 0.4em 0.9em;
    border: 1px solid var(--rn-rule);
    border-radius: 9px;
    background: #fff;
    color: var(--rn-ink);
    font-family: var(--rn-font);
    font-size: 0.88rem;
    font-weight: 550;
    cursor: pointer;
    transition: background-color 160ms var(--rn-ease);
}

.rn-panel-theme input[type="file"]::file-selector-button:hover {
    background: var(--rn-accent-tint);
}

.rn-panel-theme input[type="file"] {
    width: 100%;
    color: var(--rn-ink-soft);
    font-size: 0.88rem;
}

/* Clientes y proveedores: una fila por contacto, la tabla se desplaza a lo ancho */
.rn-panel-theme #contact_table > tbody > tr > td {
    white-space: nowrap;
}
