:root {
    --ca-ink: #07162e;
    --ca-muted: #6b7280;
    --ca-surface: #ffffff;
    --ca-accent: #ff6b2c;
    --ca-bg: #f5f7fb;
    --ca-line: #e5e7eb;
}

.floating-demo-button { position:fixed; right:22px; bottom:22px; z-index:1035; display:flex; align-items:center; gap:9px; border:0; border-radius:6px; padding:13px 18px; background:#ff642d; color:#fff; font-weight:800; box-shadow:0 12px 30px rgba(255,100,45,.35); }
.demo-modal .modal-content { border:0; border-radius:8px; box-shadow:0 28px 80px rgba(8,27,59,.25); }
@media (max-width:575.98px) { .floating-demo-button span { display:none; } .floating-demo-button { width:48px; height:48px; padding:0; justify-content:center; } }

body {
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ca-bg);
    color: var(--ca-ink);
}

.sales-page {
    background: #f7f8fb;
    color: var(--ca-ink);
}

.sales-page h1,
.sales-page h2,
.sales-page h3 {
    letter-spacing: 0;
}

.sales-page .section-heading {
    display: block;
    max-width: 760px;
    margin-bottom: 2rem;
}

.sales-page .section-heading h2 {
    margin: .8rem 0 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
    font-weight: 950;
}

.sales-page .pricing-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.sales-page .pricing-heading h2 {
    max-width: 620px;
}

.sales-nav {
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--ca-line);
    backdrop-filter: blur(12px);
}

.sales-logo {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: #fff3ed;
    color: var(--ca-accent);
    box-shadow: inset 0 0 0 1px #ffd5c2;
}

.fw-black {
    font-weight: 900;
}

.btn-nexo {
    --bs-btn-bg: var(--ca-accent);
    --bs-btn-border-color: var(--ca-accent);
    --bs-btn-color: #fff;
    --bs-btn-hover-bg: #ea5317;
    --bs-btn-hover-border-color: #ea5317;
    --bs-btn-hover-color: #fff;
    box-shadow: 0 14px 28px rgba(255, 107, 44, .22);
}

.sales-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 107, 44, .16), transparent 28rem),
        linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

.premium-sales-hero {
    min-height: 92vh;
}

.sales-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    border: 1px solid #ffd5c2;
    background: #fff7f3;
    color: #b63b08;
    font-weight: 800;
    font-size: .82rem;
}

.sales-hero h1 {
    margin-top: 1rem;
    font-size: clamp(2.2rem, 4.4vw, 4.15rem);
    line-height: 1.03;
    font-weight: 950;
    max-width: 12ch;
}

.hero-copy {
    margin: 1.25rem 0 2rem;
    font-size: 1.15rem;
    color: #475569;
    max-width: 40rem;
}

.sales-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.4rem;
    color: #475569;
    font-weight: 700;
}

.sales-trust span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.sales-trust i {
    color: var(--ca-accent);
}

.hero-product {
    min-height: 560px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--ca-line);
    padding: 1.2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
}

.premium-hero-product {
    position: relative;
    min-height: 620px;
    overflow: visible;
}

.hero-map {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.42) 49%, transparent 50%) 0 0/70px 70px,
        linear-gradient(rgba(255,255,255,.46) 49%, transparent 50%) 0 0/70px 70px,
        #dbeafe;
}

.premium-map {
    min-height: 575px;
    overflow: hidden;
}

.hero-map::before,
.phone-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(25deg, transparent 44%, rgba(255,107,44,.34) 45%, rgba(255,107,44,.34) 47%, transparent 48%),
        linear-gradient(145deg, transparent 45%, rgba(14,165,233,.28) 46%, rgba(14,165,233,.28) 48%, transparent 49%);
}

.hero-card {
    position: absolute;
    left: 2rem;
    top: 2rem;
    right: auto;
    width: min(205px, calc(100% - 4rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    padding: .9rem;
    z-index: 2;
}

.hero-card h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
}

.pin {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50% 50% 50% 0;
    background: var(--ca-accent);
    left: 44%;
    top: 31%;
    transform: rotate(-45deg);
    z-index: 1;
    box-shadow: 0 0 0 14px rgba(255,107,44,.13);
}

.pin::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    left: 9px;
    top: 9px;
}

.phone-preview {
    position: absolute;
    width: min(300px, 68%);
    min-height: 430px;
    right: 2.2rem;
    bottom: 1.9rem;
    border-radius: 36px;
    background: #fff;
    border: 10px solid #152033;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 28px 60px rgba(15,23,42,.28);
}

.premium-phone {
    min-height: 480px;
    overflow: hidden;
}

.phone-map {
    position: relative;
    height: 160px;
    background: #eef2f7;
}

.premium-phone .phone-map {
    height: 155px;
}

.map-avatar {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -40%) rotate(-45deg);
    background: #24135f;
    color: #fff;
    font-weight: 900;
    z-index: 2;
}

.map-avatar::first-letter {
    transform: rotate(45deg);
}

.phone-white-panel {
    position: relative;
    margin-top: -10px;
    padding: 1.35rem 1rem 5.2rem;
    min-height: 314px;
    border-radius: 28px 28px 0 0;
    background: #fff;
}

.phone-check {
    width: 152px;
    height: 152px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--ca-accent), #f04b18);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 20px 45px rgba(255,107,44,.38);
}

.phone-check span {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
}

.phone-meta {
    text-align: center;
}

.phone-meta strong {
    display: block;
    font-size: 2rem;
    font-weight: 950;
}

.phone-meta span {
    color: #64748b;
}

.phone-tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background: #fff;
    border-top: 1px solid var(--ca-line);
    color: #64748b;
}

.phone-tabs .active {
    color: var(--ca-accent);
}

.phone-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .55rem;
    margin-top: 1rem;
}

.phone-stats div {
    padding: .65rem .35rem;
    border: 1px solid var(--ca-line);
    border-radius: 12px;
    text-align: center;
}

.phone-stats i {
    color: var(--ca-accent);
}

.phone-stats span,
.phone-stats strong {
    display: block;
}

.phone-stats span {
    color: #64748b;
    font-size: .74rem;
}

.phone-stats strong {
    font-size: .86rem;
}

.hero-dashboard-card,
.hero-live-card {
    position: absolute;
    z-index: 4;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .12);
}

.hero-dashboard-card {
    left: -1.2rem;
    bottom: 2.2rem;
    width: 238px;
    padding: 1rem;
}

.hero-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
}

.hero-dashboard-top span,
.hero-live-card span {
    display: block;
    color: #64748b;
    font-size: .82rem;
}

.hero-dashboard-top strong,
.hero-live-card strong {
    display: block;
    font-weight: 950;
}

.hero-dashboard-top i {
    color: #16a34a;
    font-size: 1.6rem;
}

.hero-bars {
    display: flex;
    align-items: end;
    gap: .45rem;
    height: 88px;
    margin-top: .8rem;
}

.hero-bars span {
    flex: 1;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #ff8a54, var(--ca-accent));
}

.hero-live-card {
    left: 1.4rem;
    top: 1.6rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .85rem;
    max-width: 275px;
}

.employee-dot {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff3ed;
    color: var(--ca-accent);
    font-weight: 950;
}

.sales-proof {
    padding: 0 0 4.5rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: -2rem;
}

.proof-grid div {
    padding: 1.2rem;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.proof-grid strong,
.proof-grid span {
    display: block;
}

.proof-grid strong {
    font-weight: 950;
}

.proof-grid span {
    color: #64748b;
}

.premium-suite {
    background: linear-gradient(180deg, #fff, #f7f8fb);
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.suite-grid article {
    padding: 1.5rem;
    border: 1px solid var(--ca-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.suite-grid i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #fff3ed;
    color: var(--ca-accent);
    font-size: 1.35rem;
}

.suite-grid h3 {
    margin-top: 1rem;
    font-weight: 950;
}

.suite-grid p {
    color: #64748b;
}

.product-visuals {
    background: linear-gradient(180deg, #f7f8fb 0%, #fff 100%);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1.35fr .82fr .82fr;
    gap: 1.1rem;
    align-items: stretch;
}

.visual-card {
    min-height: 430px;
    padding: 1.35rem;
    border: 1px solid var(--ca-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.visual-card h3 {
    margin: 1.1rem 0 .5rem;
    font-weight: 950;
}

.visual-card p,
.visual-copy p,
.visual-lead {
    color: #526178;
    font-size: 1.05rem;
}

.visual-card-large {
    display: grid;
    grid-template-columns: .72fr 1fr;
    gap: 1.25rem;
    align-items: center;
}

.visual-copy span {
    color: var(--ca-accent);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .78rem;
}

.visual-copy h3 {
    margin: .55rem 0 .75rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
    font-weight: 950;
}

.dashboard-mockup,
.report-mockup,
.map-console {
    border: 1px solid var(--ca-line);
    background: #fff;
    box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
}

.dashboard-mockup {
    min-height: 340px;
    padding: 1rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 107, 44, .14), transparent 12rem),
        #fff;
}

.mockup-toolbar,
.report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mockup-toolbar strong,
.report-header strong {
    font-weight: 950;
}

.mockup-toolbar span {
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #fff3ed;
    color: var(--ca-accent);
    font-weight: 900;
}

.mockup-kpis,
.report-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
    margin: 1rem 0;
}

.mockup-kpis span,
.report-kpis span {
    display: block;
    min-height: 76px;
    padding: .75rem;
    border: 1px solid var(--ca-line);
    border-left: 3px solid var(--ca-accent);
    border-radius: 16px;
    color: #64748b;
    background: #fff;
}

.mockup-kpis b,
.report-kpis b {
    display: block;
    color: var(--ca-ink);
    font-size: 1.55rem;
    line-height: 1;
}

.mockup-chart {
    height: 165px;
    display: flex;
    align-items: end;
    gap: .8rem;
    padding: 1rem;
    border-radius: 18px;
    background:
        linear-gradient(#eef2f7 1px, transparent 1px) 0 0/100% 25%,
        #f8fafc;
}

.mockup-chart i {
    flex: 1;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #ff9a68, var(--ca-accent));
    box-shadow: 0 10px 22px rgba(255, 107, 44, .22);
}

.employee-phone-art {
    position: relative;
    min-height: 382px;
    border: 8px solid #172033;
    border-radius: 34px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
}

.employee-map-art {
    height: 136px;
    position: relative;
    background:
        linear-gradient(36deg, transparent 42%, rgba(255,107,44,.22) 43%, rgba(255,107,44,.22) 46%, transparent 47%),
        linear-gradient(126deg, transparent 45%, rgba(14,165,233,.22) 46%, rgba(14,165,233,.22) 49%, transparent 50%),
        #eef2f7;
}

.employee-map-art span {
    position: absolute;
    left: 50%;
    top: 54%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #24135f;
    color: #fff;
    font-weight: 950;
    transform: translate(-50%, -50%);
}

.employee-phone-art button {
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    margin: 1.1rem auto .85rem;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ca-accent), #f04b18);
    color: #fff;
    box-shadow: 0 18px 40px rgba(255, 107, 44, .32);
}

.employee-phone-art button i {
    font-size: 2rem;
}

.employee-phone-art button strong,
.employee-time-art strong,
.employee-time-art span {
    display: block;
}

.employee-time-art {
    text-align: center;
    padding: 0 1rem 4.4rem;
}

.employee-time-art strong {
    font-size: 1.55rem;
    font-weight: 950;
}

.employee-time-art span {
    color: #64748b;
}

.employee-bottom-art {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    padding: .85rem;
    border-top: 1px solid var(--ca-line);
    color: #64748b;
    background: #fff;
}

.qr-mockup {
    min-height: 310px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .55rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 30% 15%, rgba(255, 107, 44, .13), transparent 9rem),
        #f8fafc;
}

.qr-box {
    width: 182px;
    height: 182px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 14px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 35px rgba(15, 23, 42, .12);
}

.qr-box span {
    border-radius: 3px;
    background: #eef2f7;
}

.qr-box span.on {
    background: var(--ca-ink);
}

.qr-mockup strong {
    font-size: 1.25rem;
    font-weight: 950;
}

.qr-mockup span {
    color: #64748b;
}

.location-showcase {
    background: #fff;
}

.map-console {
    position: relative;
    min-height: 430px;
    border-radius: 28px;
    overflow: clip;
}

.map-console-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(15,23,42,.06) 1px, transparent 1px) 0 0/64px 64px,
        linear-gradient(rgba(15,23,42,.06) 1px, transparent 1px) 0 0/64px 64px,
        #eef2f7;
}

.map-route,
.map-zone,
.map-worker {
    position: absolute;
    display: block;
}

.map-route {
    width: 106%;
    height: 10px;
    border-radius: 999px;
    opacity: .45;
}

.route-a {
    left: -3%;
    top: 34%;
    transform: rotate(22deg);
    background: #38bdf8;
}

.route-b {
    left: 0;
    width: 96%;
    top: 65%;
    transform: rotate(-18deg);
    background: var(--ca-accent);
}

.map-zone {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 44, .45);
    background: rgba(255, 107, 44, .13);
    transform: translate(-50%, -50%);
}

.zone-a {
    left: 28%;
    top: 34%;
}

.zone-b {
    left: 56%;
    top: 58%;
}

.zone-c {
    left: 72%;
    top: 26%;
    width: 118px;
    height: 118px;
    border-color: rgba(22, 163, 74, .36);
    background: rgba(22, 163, 74, .10);
}

.map-worker {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 4px solid #fff;
    background: var(--ca-accent);
    color: #fff;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .18);
    transform: translate(-50%, -50%);
}

.worker-a { left: 28%; top: 34%; }
.worker-b { left: 72%; top: 26%; background: #16a34a; }
.worker-c { left: 56%; top: 58%; background: #24135f; }

.map-info-card {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    padding: 1rem;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
}

.map-info-card strong,
.map-info-card span,
.map-info-card small {
    display: block;
}

.map-info-card strong {
    font-weight: 950;
}

.map-info-card span {
    color: #526178;
}

.map-info-card small {
    color: #16a34a;
    font-weight: 800;
}

.location-showcase h2,
.reports-showcase h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
    font-weight: 950;
    margin: .8rem 0 1rem;
}

.visual-points {
    display: grid;
    gap: .75rem;
    margin-top: 1.25rem;
}

.visual-points span {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1rem;
    border: 1px solid var(--ca-line);
    border-radius: 14px;
    background: #fff;
    font-weight: 800;
}

.visual-points i {
    color: var(--ca-accent);
}

.reports-showcase {
    background: linear-gradient(180deg, #f7f8fb, #fff);
}

.report-mockup {
    padding: 1.1rem;
    border-radius: 24px;
}

.report-header button {
    border: 0;
    border-radius: 999px;
    padding: .55rem .9rem;
    background: var(--ca-accent);
    color: #fff;
    font-weight: 900;
}

.report-table {
    display: grid;
    gap: .4rem;
}

.report-table > div {
    display: grid;
    grid-template-columns: 1.25fr .72fr .72fr 1fr .8fr;
    gap: .65rem;
    align-items: center;
    padding: .8rem;
    border-radius: 13px;
    background: #f8fafc;
}

.report-table > div:first-child {
    background: #fff3ed;
}

.report-table b {
    font-size: .88rem;
}

.report-table span {
    color: #526178;
}

.report-table .ok,
.report-table .warn,
.report-table .info {
    display: inline-flex;
    justify-content: center;
    border-radius: 999px;
    padding: .25rem .5rem;
    font-weight: 900;
    font-size: .82rem;
}

.report-table .ok {
    color: #166534;
    background: #dcfce7;
}

.report-table .warn {
    color: #92400e;
    background: #fef3c7;
}

.report-table .info {
    color: #1e3a8a;
    background: #dbeafe;
}

.compliance-showcase {
    background: #fff;
}

.compliance-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.compliance-head h2 {
    max-width: 850px;
    margin: .8rem 0 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
    font-weight: 950;
}

.compliance-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.compliance-board article {
    min-height: 230px;
    padding: 1.35rem;
    border: 1px solid var(--ca-line);
    border-radius: 22px;
    background:
        linear-gradient(180deg, #fff 0%, #fff8f4 100%);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .07);
}

.compliance-board i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--ca-accent);
    background: #fff3ed;
    font-size: 1.45rem;
}

.compliance-board strong,
.compliance-board span {
    display: block;
}

.compliance-board strong {
    margin: 1.1rem 0 .55rem;
    font-size: 1.2rem;
    font-weight: 950;
}

.compliance-board span {
    color: #526178;
}

.compliance-evidence {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 1.25rem;
    padding: 1.15rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 92% 16%, rgba(255, 107, 44, .20), transparent 12rem),
        linear-gradient(135deg, #07162e 0%, #0b1f3d 100%);
    color: #fff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, .16);
}

.evidence-copy {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.35rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.compliance-evidence small {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .75rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    color: #fed7aa;
    background: rgba(255, 107, 44, .12);
    border: 1px solid rgba(255, 107, 44, .24);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .76rem;
}

.compliance-evidence h3 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(1.45rem, 2.15vw, 2.15rem);
    line-height: 1.08;
    font-weight: 950;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}

.compliance-evidence p {
    max-width: 540px;
    margin: .8rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
    line-height: 1.55;
}

.evidence-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    align-content: center;
    justify-content: stretch;
}

.evidence-tags span {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 52px;
    padding: .75rem .85rem;
    border-radius: 16px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    font-weight: 850;
}

.evidence-tags i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: var(--ca-accent);
    background: rgba(255, 107, 44, .14);
}

.legal-showcase {
    background: #fff;
}

.legal-showcase h2,
.channels-showcase h2,
.digital-clock-section h2,
.whatsapp-band h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1;
    font-weight: 950;
}

.legal-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 3px solid #e5e7eb;
}

.legal-timeline span {
    position: relative;
    display: grid;
    gap: .15rem;
    color: #526178;
}

.legal-timeline span::before {
    content: "";
    position: absolute;
    top: -1.35rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ca-accent);
}

.legal-timeline span:last-child::before {
    background: #16a34a;
}

.legal-timeline b {
    color: var(--ca-ink);
}

.legal-screen {
    padding: 1.8rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #101b33, #162640);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .18);
}

.legal-screen-table {
    display: grid;
    gap: .7rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255,255,255,.05);
}

.legal-screen-table > div {
    display: grid;
    grid-template-columns: 42px 1.3fr repeat(6, .55fr);
    gap: .55rem;
    align-items: center;
    min-width: 720px;
    padding: .8rem;
    border-radius: 16px;
    color: #cbd5e1;
    background: rgba(255,255,255,.04);
}

.legal-screen-table > div:first-child {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: .74rem;
    background: transparent;
}

.legal-screen-table strong {
    color: #fff;
}

.legal-screen-table em {
    justify-self: start;
    border-radius: 999px;
    padding: .25rem .55rem;
    color: #16a34a;
    background: rgba(34, 197, 94, .12);
    font-style: normal;
    font-weight: 900;
}

.legal-screen-table em.warn {
    color: #f59e0b;
    background: rgba(245, 158, 11, .13);
}

.legal-screen-table em.info {
    color: #38bdf8;
    background: rgba(56, 189, 248, .13);
}

.avatar-pill {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 950;
}

.avatar-pill.green { background: #15803d; }
.avatar-pill.orange { background: var(--ca-accent); }
.avatar-pill.red { background: #dc2626; }

.legal-screen-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1rem;
}

.legal-screen-kpis span {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    color: #cbd5e1;
}

.legal-screen-kpis small,
.legal-screen-kpis b {
    display: block;
}

.legal-screen-kpis b {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 950;
}

.risk-block {
    margin-top: 5rem;
    text-align: center;
}

.risk-block h2 {
    margin: .8rem 0 .35rem;
    color: #dc2626;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 950;
}

.risk-block > p {
    max-width: 760px;
    margin-inline: auto;
    color: #526178;
    font-size: 1.08rem;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.risk-grid article {
    padding: 1.4rem;
    border: 1px solid #fecaca;
    border-top: 4px solid #dc2626;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.risk-grid i {
    color: #dc2626;
    font-size: 1.5rem;
}

.risk-grid h3 {
    margin-top: 1rem;
    font-weight: 950;
}

.channels-showcase {
    background: #fff;
}

.channels-showcase .section-heading {
    max-width: 950px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.channel-card {
    min-height: 178px;
    padding: 1.35rem;
    text-align: center;
    border: 1px solid var(--ca-line);
    border-top: 4px solid var(--ca-accent);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 35px rgba(15, 23, 42, .06);
}

.channel-card i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto .8rem;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--ca-accent);
    font-size: 1.45rem;
}

.channel-card h3 {
    margin: 0 0 .35rem;
    font-weight: 950;
}

.channel-card p {
    min-height: 48px;
    margin-bottom: .7rem;
    color: #526178;
}

.channel-card span {
    display: inline-flex;
    border-radius: 999px;
    padding: .25rem .65rem;
    background: #fff3ed;
    color: var(--ca-accent);
    font-weight: 900;
    font-size: .78rem;
}

.channel-card.whatsapp { border-top-color: #22c55e; }
.channel-card.whatsapp i, .channel-card.whatsapp span { color: #16a34a; background: #dcfce7; }
.channel-card.gps { border-top-color: #0ea5e9; }
.channel-card.gps i, .channel-card.gps span { color: #0284c7; background: #e0f2fe; }
.channel-card.zkteco { border-top-color: #7c3aed; }
.channel-card.zkteco i, .channel-card.zkteco span { color: #6d28d9; background: #ede9fe; }

.digital-clock-section {
    background: linear-gradient(180deg, #f7f8fb, #fff);
}

.comparison-wrap {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 2rem;
    align-items: center;
}

.classic-clock {
    display: grid;
    justify-items: center;
    gap: .9rem;
}

.classic-device {
    width: 178px;
    height: 220px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 20px 40px rgba(15,23,42,.08);
}

.classic-device strong {
    padding: .8rem 1.2rem;
    border-radius: 8px;
    background: #334155;
    color: #34d399;
    font-size: 1.55rem;
}

.classic-device i {
    color: #94a3b8;
    font-size: 2.1rem;
}

.classic-clock span {
    color: #64748b;
    font-weight: 950;
    text-transform: uppercase;
    font-size: .82rem;
}

.classic-clock p {
    max-width: 280px;
    text-align: center;
    color: #526178;
}

.comparison-table {
    overflow: hidden;
    border: 1px solid var(--ca-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 55px rgba(15,23,42,.08);
}

.comparison-table > div {
    display: grid;
    grid-template-columns: 1.15fr .9fr .95fr;
    border-bottom: 1px solid var(--ca-line);
}

.comparison-table > div:last-child {
    border-bottom: 0;
}

.comparison-table b,
.comparison-table span,
.comparison-table strong {
    padding: .9rem 1rem;
}

.comparison-table > div:first-child {
    background: #fff3ed;
    font-weight: 950;
}

.comparison-table strong {
    color: #15803d;
    background: #f0fdf4;
}

.whatsapp-band {
    color: #fff;
    background:
        radial-gradient(circle at 90% 0%, rgba(255,255,255,.16), transparent 18rem),
        linear-gradient(135deg, #0f766e, #16a34a);
}

.whatsapp-band h2,
.whatsapp-band p {
    color: #fff;
}

.whatsapp-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #dcfce7;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.whatsapp-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.2rem;
}

.whatsapp-benefits span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #ecfdf5;
    font-weight: 800;
}

.whatsapp-visual {
    position: relative;
    min-height: 430px;
}

.chat-card {
    position: absolute;
    left: 0;
    top: 20%;
    width: min(340px, 70%);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 20px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 55px rgba(15,23,42,.2);
}

.chat-card small {
    display: block;
    text-align: center;
    margin-bottom: .85rem;
    color: #bbf7d0;
    font-weight: 900;
}

.bubble {
    width: fit-content;
    max-width: 86%;
    margin: .55rem 0;
    padding: .75rem .85rem;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
}

.bubble.user {
    margin-left: auto;
    background: #dcfce7;
    color: #14532d;
    min-width: 110px;
    text-align: center;
}

.whatsapp-phone {
    position: absolute;
    right: 8%;
    top: 0;
    width: 240px;
    height: 410px;
    overflow: hidden;
    border: 9px solid #172033;
    border-radius: 34px;
    background: #f8fafc;
    box-shadow: 0 30px 70px rgba(15,23,42,.32);
}

.wa-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem;
    background: #128c7e;
    color: #fff;
    font-weight: 950;
}

.wa-screen {
    display: grid;
    gap: .65rem;
    padding: 1rem;
    color: var(--ca-ink);
}

.wa-msg,
.wa-receipt {
    border-radius: 12px;
    padding: .7rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
}

.user-msg {
    margin-left: auto;
    background: #dcfce7;
}

.wa-receipt i {
    display: block;
    color: #16a34a;
    font-size: 2rem;
}

.wa-receipt strong,
.wa-receipt span {
    display: block;
}

.whatsapp-float {
    position: absolute;
    right: 0;
    top: 1.4rem;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 5px solid #dcfce7;
    background: #22c55e;
    color: #fff;
    font-size: 2.4rem;
    box-shadow: 0 18px 40px rgba(15,23,42,.25);
}

.legal-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.legal-modal .modal-header {
    align-items: start;
    padding: 1.4rem;
}

.legal-modal .modal-title {
    margin-top: .5rem;
    font-size: 1.75rem;
    font-weight: 950;
}

.legal-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.legal-modal-grid article {
    padding: 1.1rem;
    border: 1px solid var(--ca-line);
    border-radius: 16px;
    background: #f8fafc;
}

.legal-modal-grid i {
    color: var(--ca-accent);
    font-size: 1.55rem;
}

.legal-modal-grid h3 {
    margin-top: .75rem;
    font-size: 1.1rem;
    font-weight: 950;
}

.legal-modal-grid p {
    color: #526178;
}

.legal-modal-note {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: #fff3ed;
    color: #7c2d12;
}

.sales-section {
    padding: 5.5rem 0;
}

.section-heading {
    max-width: 740px;
    margin-bottom: 2rem;
}

.pricing-heading {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.pricing-heading h2 {
    max-width: 620px;
}

.section-heading h2,
.sales-band h2,
.register-copy h2 {
    margin-top: .8rem;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 950;
}

.sales-feature,
.price-card,
.contract-card,
.register-copy,
.thanks-card,
.process-grid div {
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.sales-feature {
    height: 100%;
    padding: 1.5rem;
}

.sales-feature i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--ca-accent);
    font-size: 1.45rem;
}

.sales-feature h3 {
    margin: 1.2rem 0 .55rem;
    font-weight: 900;
}

.sales-feature p,
.price-card p,
.register-copy p,
.sales-band p {
    color: #526178;
}

.sales-band {
    background: #fff;
    border-block: 1px solid var(--ca-line);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.process-grid div {
    padding: 1.3rem;
}

.process-grid i {
    color: var(--ca-accent);
    font-size: 1.8rem;
}

.process-grid strong,
.process-grid span {
    display: block;
}

.process-grid strong {
    margin-top: .7rem;
    font-size: 1.15rem;
}

.process-grid span {
    color: #64748b;
}

.billing-toggle {
    flex: 0 0 auto;
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(132px, 1fr));
    gap: .25rem;
    padding: .35rem;
    border: 1px solid var(--ca-line);
    border-radius: 20px;
    background: #fff;
}

.billing-toggle button {
    border: 0;
    background: transparent;
    min-height: 54px;
    border-radius: 16px;
    padding: .55rem .8rem;
    font-weight: 900;
    color: #64748b;
}

.billing-toggle button.active {
    background: var(--ca-accent);
    color: #fff;
}

.billing-toggle span {
    display: block;
    font-size: .72rem;
    opacity: .8;
}

.price-card {
    position: relative;
    min-height: 100%;
    padding: 1.55rem;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--ca-accent);
    transform: translateY(-.4rem);
}

.price-ribbon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: #fff3ed;
    color: #c2410c;
    font-size: .78rem;
    font-weight: 900;
}

.price-card h3 {
    font-weight: 950;
}

.price-value {
    display: flex;
    align-items: end;
    gap: .3rem;
    margin: 1rem 0;
}

.price-value span {
    font-size: 2.6rem;
    font-weight: 950;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.price-card li {
    display: flex;
    gap: .55rem;
    margin-bottom: .65rem;
    color: #334155;
}

.price-card li i {
    color: #16a34a;
}

.sales-register {
    background: linear-gradient(180deg, #f7f8fb, #fff);
}

.register-copy,
.contract-card {
    height: 100%;
    padding: 1.45rem;
}

.premium-register-copy,
.premium-contract-card {
    border-radius: 24px;
}

.checkout-summary {
    margin-top: 1.5rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: #07162e;
    color: #fff;
}

.checkout-summary span,
.checkout-summary p,
.checkout-summary em,
.checkout-summary strong {
    display: block;
}

.checkout-summary span,
.checkout-summary p {
    color: #cbd5e1;
}

.checkout-summary strong {
    margin-top: .25rem;
    font-size: 1.45rem;
}

.checkout-summary em {
    margin-top: .5rem;
    color: #ffb28f;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 950;
}

.contract-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contract-title span {
    color: #64748b;
    font-weight: 800;
    font-size: .86rem;
}

.contract-title h3 {
    margin: 0;
    font-weight: 950;
}

.contract-title i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--ca-accent);
    font-size: 1.35rem;
}

.register-steps {
    display: grid;
    gap: .8rem;
    margin-top: 1.5rem;
}

.register-steps span {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 900;
}

.register-steps i {
    color: var(--ca-accent);
}

.register-shell {
    display: grid;
    grid-template-columns: minmax(320px, .86fr) minmax(520px, 1.14fr);
    gap: 1.35rem;
    align-items: stretch;
}

.register-shell .premium-register-copy,
.register-shell .premium-contract-card {
    border-radius: 28px;
    border: 1px solid var(--ca-line);
    box-shadow: 0 26px 60px rgba(15, 23, 42, .08);
}

.register-shell .premium-register-copy {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 107, 44, .14), transparent 11rem),
        linear-gradient(145deg, #fff 0%, #fff 58%, #fff7f3 100%);
}

.register-shell .premium-register-copy::after {
    content: "";
    position: absolute;
    right: -88px;
    top: -88px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    border: 34px solid rgba(255, 107, 44, .08);
}

.register-copy-head h2 {
    max-width: 560px;
    margin: .9rem 0 1rem;
    font-size: clamp(1.9rem, 2.7vw, 2.75rem);
    line-height: 1.05;
    font-weight: 950;
}

.register-copy-head p {
    max-width: 560px;
    color: #526178;
    font-size: 1.05rem;
}

.register-shell .checkout-summary {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 107, 44, .32), transparent 8rem),
        var(--ca-ink);
    color: #fff;
}

.register-shell .checkout-summary::after {
    content: "";
    position: absolute;
    right: -54px;
    bottom: -54px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 22px solid rgba(255, 255, 255, .08);
}

.register-shell .checkout-summary strong {
    color: #fff;
}

.register-shell .checkout-summary em {
    color: #ffb088;
}

.register-shell .register-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.register-shell .register-steps span {
    min-height: 92px;
    display: grid;
    grid-template-rows: 38px minmax(2.7em, auto);
    align-content: start;
    gap: .35rem;
    padding: .9rem;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
}

.register-shell .register-steps b {
    display: none;
}

.register-shell .register-steps i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff3ed;
}

.register-shell .register-steps small {
    display: block;
    min-height: 2.7em;
    color: #526178;
    font-weight: 800;
    line-height: 1.35;
}

.register-assurance {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}

.register-assurance div {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: .75rem;
    align-items: center;
    padding: .9rem;
    border: 1px solid var(--ca-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
}

.register-assurance i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--ca-accent);
}

.register-assurance strong,
.register-assurance span {
    display: block;
}

.register-assurance strong {
    grid-column: 2;
}

.register-assurance span {
    grid-column: 2;
    color: #526178;
}

.contract-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.contract-grid .field {
    min-width: 0;
}

.span-4 {
    grid-column: span 4;
}

.span-5 {
    grid-column: span 5;
}

.span-6 {
    grid-column: span 6;
}

.span-7 {
    grid-column: span 7;
}

.span-12 {
    grid-column: 1 / -1;
}

.premium-contract-card {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, rgba(255, 107, 44, .24), rgba(15, 23, 42, .06)) border-box;
}

.premium-contract-card .form-label {
    font-weight: 850;
    color: #0f172a;
}

.premium-contract-card .form-control,
.premium-contract-card .form-select {
    border-radius: 14px;
    border-color: #dbe2ea;
    background-color: #fbfdff;
}

.premium-contract-card .form-control:focus,
.premium-contract-card .form-select:focus {
    border-color: var(--ca-accent);
    box-shadow: 0 0 0 .22rem rgba(255, 107, 44, .16);
}

.contract-check {
    padding: .85rem 1rem .85rem 2.5rem;
    border: 1px solid var(--ca-line);
    border-radius: 14px;
    background: #f8fafc;
}

.contract-footnote {
    margin: .8rem 0 0;
    color: #64748b;
    text-align: center;
    font-size: .92rem;
}

.contract-footnote i {
    color: var(--ca-accent);
}

.sales-footer {
    padding: 2rem 0;
    color: #64748b;
    background: #fff;
    border-top: 1px solid var(--ca-line);
}

.sales-thanks {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.thanks-card {
    max-width: 660px;
    margin: 3rem auto;
    padding: 3rem;
    text-align: center;
}

.thanks-card h1 {
    margin-top: 1rem;
    font-weight: 950;
}

.platform-owner {
    background: #f5f7fb;
}

.owner-adminlte .app-main {
    background: #f5f7fb;
}

.commercial-sidebar .brand-link {
    font-size: 1.02rem;
}

.commercial-sidebar .nav-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    border-radius: 12px;
    margin: .2rem .7rem;
}

.commercial-sidebar .nav-link.active {
    background: #fff3ed;
    color: var(--ca-accent);
    border-left: 4px solid var(--ca-accent);
    font-weight: 900;
}

.commercial-main .app-content {
    min-height: calc(100vh - 58px);
}

.commercial-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px solid var(--ca-line);
    border-radius: 20px;
    background: linear-gradient(135deg, #fff, #fff7f3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .05);
}

.commercial-hero h1 {
    margin: .55rem 0 .25rem;
    font-weight: 950;
}

.commercial-hero p {
    margin: 0;
    color: #64748b;
}

.commercial-actions {
    min-width: 430px;
    display: grid;
    gap: .45rem;
}

.commercial-package-form {
    display: grid;
    grid-template-columns: 1.3fr .9fr .7fr auto;
    gap: .35rem;
}

.client-login-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 107, 44, .18), transparent 28rem),
        radial-gradient(circle at 88% 80%, rgba(7, 22, 46, .12), transparent 30rem),
        #f7f8fb;
    color: var(--ca-ink);
}

.client-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
}

.client-login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 5rem);
    overflow: hidden;
}

.client-login-brand::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -8rem;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background: rgba(255, 107, 44, .09);
}

.client-login-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--ca-ink);
    text-decoration: none;
    font-size: 1.35rem;
}

.client-login-logo span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff3ed;
    color: var(--ca-accent);
    box-shadow: inset 0 0 0 1px #ffd5c2;
}

.client-login-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.client-login-copy h1 {
    margin: 1rem 0;
    font-size: clamp(2.3rem, 5vw, 5rem);
    line-height: .98;
    font-weight: 950;
}

.client-login-copy p {
    max-width: 560px;
    color: #526178;
    font-size: 1.12rem;
}

.client-login-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    max-width: 760px;
}

.client-login-proof div {
    padding: 1rem;
    border: 1px solid var(--ca-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}

.client-login-proof i {
    color: var(--ca-accent);
    font-size: 1.4rem;
}

.client-login-proof strong,
.client-login-proof span {
    display: block;
}

.client-login-proof strong {
    margin-top: .45rem;
    font-weight: 950;
}

.client-login-proof span {
    color: #64748b;
    font-size: .9rem;
}

.client-login-panel {
    display: grid;
    place-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--ca-line);
}

.client-login-card {
    width: min(100%, 480px);
    padding: 2rem;
    border: 1px solid var(--ca-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .14);
}

.client-login-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-login-card-head h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 950;
}

.client-login-card-head p {
    margin: .2rem 0 0;
    color: #64748b;
}

.client-login-form label {
    display: block;
    margin: .85rem 0 .35rem;
    font-weight: 800;
}

.client-input {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 54px;
    padding: 0 .95rem;
    border: 1px solid var(--ca-line);
    border-radius: 16px;
    background: #f8fafc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.client-input:focus-within {
    border-color: var(--ca-accent);
    background: #fff;
    box-shadow: 0 0 0 .22rem rgba(255, 107, 44, .12);
}

.client-input i {
    color: var(--ca-accent);
}

.client-input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ca-ink);
    font-size: 1rem;
}

.client-login-form .btn {
    margin-top: 1.25rem;
    border-radius: 16px;
}

.client-login-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin-top: 1.2rem;
}

.client-login-actions a {
    color: var(--ca-accent);
    font-weight: 800;
    text-decoration: none;
}

.client-login-actions span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.client-login-note {
    margin-top: 1rem;
    padding: .9rem;
    border-radius: 14px;
    background: #fff7f3;
    color: #7c3f24;
    font-size: .92rem;
}

.commercial-owner-login-page {
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 95, 37, .12), transparent 28rem),
        radial-gradient(circle at 86% 18%, rgba(8, 18, 38, .09), transparent 30rem),
        #f7f9fc;
}

.commercial-owner-brand {
    background:
        linear-gradient(135deg, rgba(8, 18, 38, .96), rgba(16, 33, 61, .94)),
        radial-gradient(circle at 80% 20%, rgba(255, 95, 37, .22), transparent 22rem);
    color: #fff;
}

.commercial-owner-brand::after {
    background: linear-gradient(135deg, rgba(255, 95, 37, .18), rgba(255, 255, 255, .04));
}

.commercial-owner-brand .client-login-logo,
.commercial-owner-brand .client-login-copy h1,
.commercial-owner-brand .client-login-proof strong {
    color: #fff;
}

.commercial-owner-brand .client-login-copy p,
.commercial-owner-brand .client-login-proof span {
    color: rgba(255, 255, 255, .72);
}

.commercial-owner-brand .client-login-proof div {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.commercial-owner-brand .client-login-proof i,
.commercial-owner-brand .client-login-logo span {
    color: #fff;
}

.commercial-owner-title {
    display: grid;
    justify-items: start;
    gap: 1rem;
}

.commercial-owner-title h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: .92;
    letter-spacing: 0;
}

.commercial-owner-clock {
    width: clamp(96px, 12vw, 150px);
    height: clamp(96px, 12vw, 150px);
    display: grid;
    place-items: center;
    border-radius: 34px;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .28), transparent 42%),
        linear-gradient(135deg, #ff6b2c, #e94116);
    color: #fff;
    box-shadow: 0 24px 60px rgba(255, 95, 37, .28);
}

.commercial-owner-clock i {
    font-size: clamp(3.4rem, 7vw, 5.8rem);
    line-height: 1;
}

.commercial-owner-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(248, 250, 252, .92));
}

.commercial-owner-note {
    background: #f8fafc;
    color: #334155;
}

@media (max-width: 991.98px) {
    .client-login-shell {
        grid-template-columns: 1fr;
    }

    .client-login-brand {
        min-height: auto;
        gap: 2rem;
        padding-bottom: 1rem;
    }

    .client-login-panel {
        border-left: 0;
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .client-login-proof {
        grid-template-columns: 1fr;
    }

    .client-login-card {
        padding: 1.25rem;
        border-radius: 22px;
    }
}

/* Ajuste comercial premium del sitio publico */
.sales-page-premium {
    --site-hero: clamp(2rem, 3.1vw, 3.05rem);
    --site-heading: clamp(1.55rem, 2.25vw, 2.35rem);
    --site-subheading: clamp(1.08rem, 1.35vw, 1.38rem);
    --site-copy: clamp(.95rem, .95vw, 1.02rem);
    background:
        radial-gradient(circle at 90% 0%, rgba(255, 107, 44, .08), transparent 24rem),
        linear-gradient(180deg, #fbfcff 0%, #f6f8fc 45%, #fff 100%);
}

.sales-page-premium .sales-section {
    padding: clamp(3.25rem, 6vw, 5.6rem) 0;
}

.sales-page-premium .sales-hero h1 {
    max-width: 18ch;
    font-size: var(--site-hero);
    line-height: 1.09;
    font-weight: 800;
}

.sales-page-premium .section-heading h2,
.sales-page-premium .sales-band h2,
.sales-page-premium .register-copy h2,
.sales-page-premium .compliance-head h2,
.sales-page-premium .location-showcase h2,
.sales-page-premium .reports-showcase h2,
.sales-page-premium .digital-clock-section h2,
.sales-page-premium .whatsapp-band h2 {
    max-width: 820px;
    font-size: var(--site-heading);
    line-height: 1.12;
    font-weight: 800;
}

.sales-page-premium .section-heading {
    max-width: 760px;
    margin-bottom: 1.7rem;
}

.sales-page-premium .section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.sales-page-premium p,
.sales-page-premium .hero-copy,
.sales-page-premium .visual-card p,
.sales-page-premium .visual-copy p,
.sales-page-premium .visual-lead {
    font-size: var(--site-copy);
    line-height: 1.58;
}

.sales-page-premium .pricing-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: 100%;
    max-width: none;
}

.sales-page-premium .pricing-heading h2 {
    max-width: 420px;
    margin-bottom: 0;
}

.sales-page-premium .billing-toggle {
    justify-self: end;
    margin-left: auto;
    min-width: 320px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
}

.sales-page-premium .price-card {
    border-radius: 22px;
    padding: 1.45rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, .07);
}

.sales-page-premium .price-card h3,
.sales-page-premium .sales-feature h3,
.sales-page-premium .suite-grid h3,
.sales-page-premium .channel-card h3,
.sales-page-premium .visual-card h3,
.sales-page-premium .visual-copy h3 {
    font-size: var(--site-subheading);
    line-height: 1.16;
    font-weight: 800;
}

.sales-page-premium .price-value {
    margin: 1.15rem 0;
}

.sales-page-premium .price-value span {
    font-size: clamp(2rem, 2.8vw, 2.7rem);
}

.sales-page-premium .visual-grid {
    align-items: stretch;
}

.sales-page-premium .employee-phone-art {
    display: grid;
    grid-template-rows: 108px 168px auto 48px;
    min-height: 430px;
    padding: 0;
    overflow: hidden;
}

.sales-page-premium .employee-map-art {
    position: relative;
    height: 108px;
    border-radius: 25px 25px 0 0;
    background:
        linear-gradient(140deg, rgba(255, 107, 44, .18) 0 2px, transparent 2px 100%),
        linear-gradient(42deg, transparent 0 42%, rgba(125, 211, 252, .45) 42% 44%, transparent 44%),
        #eef4fb;
    background-size: 54px 54px, 100% 100%, auto;
}

.sales-page-premium .employee-map-art span {
    left: 50%;
    top: 78px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sales-page-premium .employee-phone-art button {
    align-self: start;
    width: 130px;
    height: 130px;
    margin: 28px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 16px 38px rgba(255, 107, 44, .27);
}

.sales-page-premium .employee-time-art {
    margin-top: .25rem;
    padding-bottom: .85rem;
}

.sales-page-premium .employee-bottom-art {
    border-top: 1px solid #e6ebf2;
    background: #fff;
}

.sales-page-premium .register-shell {
    align-items: stretch;
}

.sales-page-premium .register-copy-head h2 {
    max-width: 14ch;
}

.sales-page-premium .register-assurance div {
    background: rgba(255, 255, 255, .84);
    border-color: rgba(255, 107, 44, .16);
}

@media (min-width: 1200px) {
    .sales-page-premium #precios .container {
        max-width: 1420px;
    }
}

@media (max-width: 991.98px) {
    .sales-page-premium .pricing-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sales-page-premium .billing-toggle {
        justify-self: start;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .sales-page-premium {
        --site-hero: clamp(1.85rem, 8.2vw, 2.35rem);
        --site-heading: clamp(1.45rem, 7vw, 1.92rem);
    }

    .sales-page-premium .billing-toggle {
        min-width: 0;
        width: 100%;
    }
}

.compact-login-shell {
    grid-template-columns: minmax(320px, 520px);
    justify-content: center;
}

.client-login-forgot {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
    color: var(--nexo-orange);
    font-weight: 800;
    text-decoration: none;
}

.client-login-forgot:hover {
    color: #e74a18;
    text-decoration: underline;
}

.subscription-locked .app-sidebar,
.subscription-locked .app-content-header .badge,
.subscription-locked .app-footer {
    opacity: .45;
}

.subscription-locked .app-sidebar,
.subscription-locked .app-sidebar a,
.subscription-locked .app-sidebar button,
.subscription-locked .topbar-actions,
.subscription-locked .nav-jump {
    pointer-events: none;
    cursor: not-allowed;
}

.subscription-locked .nav-jump {
    color: #94a3b8 !important;
}

.subscription-locked .nav-jump.active {
    background: transparent !important;
    border-left-color: transparent !important;
}

.subscription-locked .module-section,
.subscription-locked .content-section,
.subscription-locked .dashboard-grid,
.subscription-locked .card:not(.subscription-lock-card) {
    pointer-events: none;
    filter: grayscale(.2);
    opacity: .35;
}

.subscription-lock-panel {
    position: relative;
    z-index: 20;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 190px);
    padding: 2rem 0;
}

.subscription-lock-card {
    max-width: 760px;
    padding: 2rem;
    border: 1px solid #ffd5c2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .14);
}

.subscription-lock-card h1 {
    margin: 1rem 0;
    font-weight: 950;
}

.subscription-lock-card p {
    color: #526178;
}

.subscription-lock-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.2rem;
}

.subscription-lock-summary div {
    padding: 1rem;
    border: 1px solid var(--ca-line);
    border-radius: 16px;
    background: #f8fafc;
}

.subscription-lock-summary span,
.subscription-lock-summary strong {
    display: block;
}

.subscription-lock-summary span {
    color: #64748b;
    font-size: .82rem;
}

.subscription-lock-summary strong {
    font-weight: 950;
}

.owner-metric,
.owner-panel {
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .05);
}

.owner-metric {
    position: relative;
    min-height: 118px;
    padding: 1.2rem;
    overflow: hidden;
}

.owner-metric span {
    display: block;
    color: #64748b;
    font-weight: 700;
}

.owner-metric strong {
    display: block;
    margin-top: .55rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
}

.owner-metric i {
    position: absolute;
    right: 1rem;
    bottom: .6rem;
    color: #d7dde7;
    font-size: 2.8rem;
}

.owner-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--ca-line);
}

.owner-panel-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
}

.owner-panel-header span {
    color: #64748b;
}

@media (max-width: 991.98px) {
    .sales-hero {
        padding-top: 7rem;
    }

    .phone-preview {
        right: 50%;
        transform: translateX(50%);
    }

    .hero-card {
        display: none;
    }

    .pricing-heading {
        display: block;
    }

    .billing-toggle {
        margin-top: 1rem;
    }

    .proof-grid,
    .visual-grid,
    .suite-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visual-card-large {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .channels-grid,
    .risk-grid,
    .compliance-board,
    .legal-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compliance-head {
        align-items: start;
        flex-direction: column;
    }

    .compliance-evidence {
        grid-template-columns: 1fr;
    }

    .evidence-copy {
        min-height: auto;
    }

    .comparison-wrap {
        grid-template-columns: 1fr;
    }

    .legal-screen-table,
    .comparison-table {
        overflow-x: auto;
    }

    .whatsapp-phone {
        right: 0;
    }

    .chat-card {
        left: 0;
        top: 26%;
    }

    .dashboard-mockup,
    .map-console {
        min-height: 360px;
    }

    .hero-dashboard-card {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .pricing-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-toggle {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-product {
        min-height: 510px;
        padding: .7rem;
    }

    .hero-map {
        min-height: 490px;
    }

    .hero-card {
        left: 1rem;
        right: 1rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid,
    .visual-grid,
    .mockup-kpis,
    .report-kpis,
    .suite-grid {
        grid-template-columns: 1fr;
    }

    .visual-card {
        min-height: auto;
        padding: 1rem;
        border-radius: 18px;
    }

    .qr-box {
        width: 156px;
        height: 156px;
    }

    .report-table {
        overflow-x: auto;
        padding-bottom: .25rem;
    }

    .report-table > div {
        min-width: 0;
        grid-template-columns: 1.2fr .65fr .65fr .85fr .82fr;
        gap: .35rem;
    }

    .report-table b,
    .report-table span {
        font-size: .74rem;
        overflow-wrap: anywhere;
    }

    .report-table .ok,
    .report-table .warn,
    .report-table .info {
        padding: .22rem .35rem;
    }

    .channels-grid,
    .risk-grid,
    .compliance-board,
    .legal-modal-grid,
    .legal-timeline,
    .legal-screen-kpis {
        grid-template-columns: 1fr;
    }

    .compliance-evidence {
        padding: .85rem;
        border-radius: 22px;
    }

    .evidence-copy {
        padding: 1rem;
        border-radius: 18px;
    }

    .evidence-tags {
        grid-template-columns: 1fr;
    }

    .evidence-tags span {
        min-height: 48px;
    }

    .legal-screen {
        padding: .85rem;
        border-radius: 20px;
        overflow-x: auto;
    }

    .legal-screen-table {
        min-width: 720px;
    }

    .comparison-table {
        overflow-x: auto;
    }

    .comparison-table > div {
        min-width: 0;
        grid-template-columns: 1fr .72fr .78fr;
    }

    .comparison-table b,
    .comparison-table span,
    .comparison-table strong {
        padding: .72rem .55rem;
        font-size: .82rem;
        overflow-wrap: anywhere;
    }

    .whatsapp-visual {
        min-height: 650px;
    }

    .chat-card,
    .whatsapp-phone {
        position: relative;
        width: 100%;
        max-width: 340px;
        inset: auto;
        margin: 0 auto 1rem;
    }

    .whatsapp-phone {
        height: 390px;
    }

    .whatsapp-float {
        right: 1rem;
        top: auto;
        bottom: 1rem;
    }

    .hero-live-card {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

.app-main,
.app-content {
    background: var(--ca-bg);
}

.app-header {
    border-bottom: 1px solid var(--ca-line);
    box-shadow: none;
}

.app-sidebar .brand-link {
    gap: .6rem;
}

.nexo-sidebar {
    background: #fff;
    color: #2f3a4f;
    border-right: 1px solid var(--ca-line);
}

.nexo-sidebar .sidebar-brand {
    border-bottom: 1px solid var(--ca-line);
}

.nexo-sidebar .brand-link,
.nexo-sidebar .nav-link {
    color: #2f3a4f;
}

.nexo-sidebar .nav-header {
    color: #9ca3af;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 1rem 1rem .35rem;
}

.nexo-sidebar .nav-link {
    border-radius: 0;
    margin: .1rem .45rem;
}

.nexo-sidebar .nav-link.active {
    background: #fff3ed;
    color: var(--ca-accent);
    border-left: 3px solid var(--ca-accent);
}

.nexo-sidebar .nav-link:hover {
    background: #f8fafc;
    color: var(--ca-accent);
}

@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .brand-link {
        justify-content: center;
        padding-inline: 0;
    }

    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .brand-image {
        width: auto;
        margin: 0;
        font-size: 1.25rem;
    }

    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        min-height: 2.8rem;
        margin: .18rem auto;
        padding: 0;
        border: 0;
        border-radius: 6px;
    }

    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .nav-link.active {
        border-left: 0;
        box-shadow: inset 3px 0 0 var(--ca-accent);
    }

    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .nav-icon {
        margin: 0 !important;
        font-size: 1.05rem;
    }

    .sidebar-mini.sidebar-collapse.sidebar-without-hover .nexo-sidebar .sidebar-wrapper {
        scrollbar-width: thin;
    }
}

.nexo-sidebar-nav-tooltip {
    position: fixed;
    z-index: 2000;
    max-width: 240px;
    padding: .48rem .7rem;
    border-radius: 6px;
    background: #12233f;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(4px, -50%);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    box-shadow: 0 8px 22px rgba(15, 32, 58, .18);
}

.nexo-sidebar-nav-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    border: 6px solid transparent;
    border-right-color: #12233f;
    transform: translateY(-50%);
}

.nexo-sidebar-nav-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.brand-image {
    color: var(--ca-accent);
}

.quick-action {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid transparent;
    margin-inline: .18rem;
    background: #fff;
}

.quick-action.success {
    background: #64bd4d;
    color: #fff;
}

.quick-action.warning {
    background: #fff8e1;
    color: #f7a800;
    border-color: #f7d77a;
}

.quick-action.danger {
    background: #fff0f3;
    color: #e83e61;
    border-color: #f5b8c5;
}

.card {
    border-radius: .55rem;
    border: 1px solid rgba(31, 42, 55, .08);
    box-shadow: 0 .35rem 1.2rem rgba(31, 42, 55, .055);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 64px;
}

.card-header .card-title {
    float: none;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.card-header .text-muted {
    display: block;
    max-width: 640px;
    margin-top: .2rem;
    line-height: 1.35;
}

.dt-layout-row {
    padding: .75rem 1rem;
}

.small-box {
    border-radius: .5rem;
    overflow: hidden;
}

.module-view {
    animation: caFade .16s ease-out;
}

.table td,
.table th {
    vertical-align: middle;
}

.employee-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

#peopleMap {
    min-height: 620px;
    width: 100%;
}

#workdayMap {
    min-height: 320px;
    border-radius: .5rem;
    overflow: hidden;
}

#employeeHomeMap {
    min-height: 320px;
    border-radius: .75rem;
    border: 1px solid var(--ca-line);
    overflow: hidden;
}

.employee-home-map-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .5rem;
}

.employee-labor-history {
    padding: 1rem;
    border: 1px solid var(--ca-line);
    border-radius: .85rem;
    background: #f8fafc;
}

.employee-labor-history table {
    background: #fff;
    border-radius: .65rem;
    overflow: hidden;
}

.weekday-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .35rem;
    font-size: .9rem;
}

.weekday-grid label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .45rem .25rem;
    border: 1px solid rgba(31, 42, 55, .12);
    border-radius: .45rem;
    background: #fff;
}

.map-people-list {
    max-height: 520px;
    overflow: auto;
}

.map-avatar-marker {
    width: 48px;
    height: 48px;
    border: 4px solid var(--ca-accent);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .25);
    background: #fff;
}

.map-avatar-marker img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attendance-photo-preview {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid var(--ca-line);
}

.attendance-photo-preview img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: .85rem;
    object-fit: contain;
    box-shadow: 0 .75rem 1.5rem rgba(31, 42, 55, .12);
}

.approval-event {
    display: grid;
    gap: .25rem;
    min-width: 122px;
}

.approval-event strong {
    color: var(--ca-ink);
    font-size: .92rem;
}

.approval-event .btn-group {
    width: max-content;
}

.approval-event .evidence-disabled {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #cbd5e1;
    opacity: 1;
}

.qr-canvas {
    width: min(320px, 100%);
    min-height: 320px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 .5rem 1.25rem rgba(31, 42, 55, .12);
}

.qr-canvas canvas,
.qr-canvas img {
    max-width: 100%;
    height: auto;
}

.capability {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 64px;
    padding: .85rem;
    border: 1px solid rgba(31, 42, 55, .08);
    border-radius: .5rem;
    background: #fff;
}

.capability i {
    color: var(--ca-accent);
    font-size: 1.25rem;
}

.employee-portal-body {
    min-height: 100vh;
    background: #f5f7fb;
}

.employee-app-page {
    min-height: 100vh;
}

.employee-app-shell {
    position: relative;
    width: min(100%, 560px);
    min-height: 100vh;
    margin: 0 auto;
    background: #f5f7fb;
}

.employee-app-content {
    padding: 0 0 5.6rem;
}

.employee-logout-button {
    position: fixed;
    top: .75rem;
    right: max(.75rem, calc((100vw - 560px) / 2 + .75rem));
    z-index: 80;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 107, 44, .22);
    border-radius: 50%;
    color: var(--ca-accent);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 .7rem 1.4rem rgba(15, 23, 42, .12);
    backdrop-filter: blur(12px);
}

.employee-login-screen {
    min-height: 100vh;
    display: grid;
    align-content: center;
    gap: 1.1rem;
    padding: 1.35rem;
    background:
        radial-gradient(circle at 86% 8%, rgba(255, 107, 44, .18), transparent 26%),
        radial-gradient(circle at 0% 90%, rgba(255, 138, 79, .12), transparent 32%),
        #f7f9fc;
}

.employee-login-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.employee-login-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    color: #fff;
    background: linear-gradient(145deg, #ff8a4f, var(--ca-accent) 62%, #df4d17);
    box-shadow: 0 .9rem 1.7rem rgba(255, 107, 44, .24);
    font-size: 1.35rem;
}

.employee-login-brand strong,
.employee-login-brand span,
.employee-login-hero span,
.employee-login-hero h1,
.employee-login-hero p {
    display: block;
}

.employee-login-brand strong {
    color: var(--ca-ink);
    font-size: 1.1rem;
    font-weight: 950;
}

.employee-login-brand span,
.employee-login-hero p {
    color: #64748b;
}

.employee-login-hero {
    padding: .75rem 0 .1rem;
}

.employee-login-hero span {
    width: fit-content;
    margin-bottom: .45rem;
    padding: .38rem .62rem;
    border-radius: 999px;
    color: #7c2d12;
    background: #ffedd5;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.employee-login-hero h1 {
    max-width: 390px;
    margin: 0;
    color: var(--ca-ink);
    font-size: clamp(2.2rem, 10vw, 3.4rem);
    font-weight: 950;
    line-height: .96;
}

.employee-login-hero p {
    max-width: 420px;
    margin: .75rem 0 0;
    font-size: 1.02rem;
}

.employee-login-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.employee-login-benefits span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .65rem;
    border: 1px solid rgba(255, 107, 44, .18);
    border-radius: 999px;
    color: #7c2d12;
    background: rgba(255, 255, 255, .78);
    font-size: .82rem;
    font-weight: 900;
    box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .05);
}

.employee-login-card {
    width: 100%;
    margin: 0 auto;
    padding: 1.1rem;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 1.25rem;
    box-shadow: 0 1.4rem 3rem rgba(31, 42, 55, .12);
    backdrop-filter: blur(12px);
}

.employee-login-card-head {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1rem;
}

.employee-login-card h2 {
    margin: 0;
    color: var(--ca-ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.employee-login-card p {
    margin: .12rem 0 0;
    color: var(--ca-muted);
    font-size: .92rem;
}

.employee-login-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 1rem;
    color: var(--ca-accent);
    background: #fff3ed;
    font-size: 1.5rem;
}

.employee-input-label {
    display: block;
    margin: .75rem 0 .35rem;
    color: #475569;
    font-size: .82rem;
    font-weight: 900;
}

.employee-login-field {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 52px;
    padding: 0 .85rem;
    border: 1px solid #dbe3ef;
    border-radius: .95rem;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.employee-login-field:focus-within {
    border-color: rgba(255, 107, 44, .55);
    box-shadow: 0 0 0 .18rem rgba(255, 107, 44, .12);
}

.employee-login-field i {
    color: var(--ca-accent);
    font-size: 1.15rem;
}

.employee-login-field .form-control {
    min-height: 50px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-weight: 800;
}

.employee-login-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 1rem;
    border-radius: .95rem;
    font-weight: 900;
}

.employee-login-foot {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.employee-login-foot i {
    color: #198754;
}

.employee-check-card {
    position: relative;
    overflow: hidden;
    padding: 0 0 1rem;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 0 0 1.4rem 1.4rem;
    box-shadow: 0 1.2rem 2.5rem rgba(31, 42, 55, .08);
}

.employee-map-stage {
    position: relative;
    min-height: 360px;
    padding: 1rem;
    overflow: hidden;
    background: #eef4fb;
}

.employee-live-map,
.employee-map-overlay {
    position: absolute;
    inset: 0;
}

.employee-live-map {
    z-index: 0;
    filter: saturate(.78) contrast(.96) brightness(1.04);
}

.employee-live-map .leaflet-tile-pane {
    opacity: .78;
}

.employee-map-marker {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 12%;
    color: #fff;
    background: var(--ca-accent);
    box-shadow: 0 .6rem 1.2rem rgba(127, 45, 18, .25);
    transform: rotate(-45deg);
}

.employee-map-marker i {
    transform: rotate(45deg);
}

.employee-map-overlay {
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(245, 247, 251, .22), rgba(245, 247, 251, 0) 48%, rgba(255, 255, 255, .66) 96%),
        radial-gradient(circle at 50% 78%, rgba(255, 107, 44, .12), transparent 31%);
}

.employee-hero-top,
.employee-proof-badges,
.employee-info-popover {
    position: relative;
    z-index: 2;
}

.employee-hero-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.employee-hero-top span {
    color: #7c3f24;
    font-size: .85rem;
    font-weight: 700;
}

.employee-hero-top h1 {
    max-width: 270px;
    margin: .15rem 0 0;
    color: #07142b;
    font-size: clamp(1.25rem, 5vw, 1.85rem);
    font-weight: 900;
    line-height: 1.05;
}

.employee-icon-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    color: var(--ca-accent);
    background: #fff;
    box-shadow: 0 .6rem 1.2rem rgba(15, 23, 42, .12);
}

.employee-qr-shortcut {
    position: absolute;
    top: .15rem;
    right: 2.4rem;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--ca-accent);
    background: #fff;
    box-shadow: 0 .7rem 1.5rem rgba(15, 23, 42, .12);
}

.employee-qr-shortcut i {
    font-size: 1.35rem;
}

.employee-proof-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem;
    margin-top: 12rem;
    margin-bottom: 0;
}

.employee-proof-badges span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .4rem .6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    color: #64748b;
    border: 1px solid rgba(148, 163, 184, .26);
    font-size: .8rem;
    font-weight: 800;
}

.employee-proof-badges span.active {
    color: #0f5132;
    border-color: #86efac;
    background: rgba(240, 253, 244, .94);
}

.employee-info-button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 107, 44, .34);
    border-radius: 50%;
    color: var(--ca-accent);
    background: rgba(255, 255, 255, .92);
    font-weight: 900;
}

.employee-info-popover {
    width: min(100%, 330px);
    margin: .6rem auto 0;
    padding: .75rem .9rem;
    text-align: center;
    border: 1px solid rgba(255, 107, 44, .22);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 .8rem 1.8rem rgba(15, 23, 42, .1);
    backdrop-filter: blur(8px);
}

.employee-info-popover strong,
.employee-info-popover span {
    display: block;
}

.employee-info-popover strong {
    color: #07142b;
    font-size: 1.02rem;
    font-weight: 900;
}

.employee-info-popover span {
    margin-top: .2rem;
    color: #64748b;
    font-size: .83rem;
}

.employee-check-button {
    width: min(210px, 62vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    margin: -.85rem auto .6rem;
    padding: 1rem;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #ff8a4f, var(--ca-accent) 62%, #e04f18);
    box-shadow: 0 1.1rem 2.2rem rgba(255, 107, 44, .34), 0 0 0 12px rgba(255, 255, 255, .72);
    transition: transform .18s ease, box-shadow .18s ease;
}

.employee-check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 1.3rem 2.4rem rgba(255, 107, 44, .4), 0 0 0 12px rgba(255, 255, 255, .72);
}

.employee-check-button:disabled {
    background: linear-gradient(145deg, #94a3b8, #64748b);
    box-shadow: 0 .8rem 1.7rem rgba(100, 116, 139, .22), 0 0 0 12px rgba(255, 255, 255, .72);
}

.employee-check-button i {
    font-size: 2.6rem;
}

.employee-check-button strong {
    font-size: 1.25rem;
    text-transform: uppercase;
}

.employee-check-button span {
    font-size: .82rem;
    opacity: .88;
}

.employee-today-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
    padding: 0 1rem;
}

.employee-today-metrics div {
    min-height: 68px;
    display: grid;
    place-items: center;
    gap: .1rem;
    padding: .55rem .35rem;
    border: 1px solid var(--ca-line);
    border-radius: .85rem;
    background: #fbfdff;
}

.employee-today-metrics i {
    color: var(--ca-accent);
    font-size: 1.15rem;
}

.employee-today-metrics span {
    color: #64748b;
    font-size: .75rem;
}

.employee-today-metrics strong {
    color: #07142b;
    font-size: .92rem;
}

.employee-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
    padding: 0;
}

.employee-check-card .employee-quick-actions {
    padding: 0 1rem;
}

.employee-check-card > .alert,
.employee-check-card > .small {
    margin-left: 1rem;
    margin-right: 1rem;
}

.employee-home-tab {
    padding: 1rem;
}

.employee-home-hero {
    min-height: 300px;
    display: grid;
    align-content: center;
    gap: .35rem;
    padding: 2rem 1.4rem;
    color: #fff;
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .25) 0 42px, transparent 43px),
        radial-gradient(circle at 13% 82%, rgba(255, 255, 255, .18) 0 58px, transparent 59px),
        linear-gradient(135deg, var(--ca-accent), #d84a16);
    box-shadow: 0 1.2rem 2.6rem rgba(255, 107, 44, .28);
}

.employee-home-hero span {
    font-size: .9rem;
    font-weight: 800;
    opacity: .82;
}

.employee-home-hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 13vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
}

.employee-home-hero p {
    max-width: 360px;
    margin: .25rem 0 .7rem;
    color: rgba(255, 255, 255, .84);
}

.employee-home-hero strong {
    width: fit-content;
    padding: .45rem .7rem;
    border-radius: 999px;
    color: #7c2d12;
    background: #fff;
    font-size: .9rem;
}

.employee-home-announcements {
    margin: 1rem 0 0;
}

.employee-check-time-wrap {
    position: relative;
}

.employee-check-time {
    display: grid;
    place-items: center;
    gap: .1rem;
    margin-bottom: .95rem;
}

.employee-check-time strong {
    color: var(--ca-ink);
    font-size: 1.9rem;
    font-weight: 950;
    line-height: 1;
}

.employee-check-time span {
    color: #8a98ad;
    font-size: 1rem;
    font-weight: 700;
    text-transform: capitalize;
}

.employee-check-actions-title {
    display: grid;
    gap: .1rem;
    padding: .2rem 1rem .65rem;
}

.employee-check-actions-title strong {
    color: #07142b;
    font-weight: 900;
}

.employee-check-actions-title span {
    color: #64748b;
    font-size: .86rem;
}

.employee-quick-actions button {
    border: 1px solid var(--ca-line);
    border-radius: .85rem;
    background: #fff;
    color: var(--ca-ink);
    font-weight: 700;
}

.employee-quick-actions button {
    display: grid;
    place-items: center;
    gap: .25rem;
    min-height: 74px;
}

.employee-quick-actions i {
    color: var(--ca-accent);
    font-size: 1.35rem;
}

.employee-quick-actions button.is-disabled {
    color: #94a3b8;
    background: #f8fafc;
    opacity: 1;
}

.employee-quick-actions button.is-disabled i {
    color: #cbd5e1;
}

.employee-section {
    margin: 1rem;
    padding: 1rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 1rem;
    box-shadow: 0 .35rem 1.1rem rgba(31, 42, 55, .055);
}

.employee-section h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.employee-app-shell .btn-primary,
.employee-app-shell .btn-outline-primary {
    --bs-btn-color: var(--ca-accent);
    --bs-btn-border-color: var(--ca-accent);
    --bs-btn-hover-bg: var(--ca-accent);
    --bs-btn-hover-border-color: var(--ca-accent);
    --bs-btn-active-bg: var(--ca-accent);
    --bs-btn-active-border-color: var(--ca-accent);
}

.employee-app-shell .btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ca-accent);
    --bs-btn-border-color: var(--ca-accent);
}

.employee-calendar-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.employee-calendar-head h5 {
    margin-bottom: .15rem;
}

.employee-calendar-head p {
    margin: 0 0 .75rem;
    color: #64748b;
    font-size: .9rem;
}

.employee-month-picker {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: .6rem;
    padding: .55rem;
    border: 1px solid var(--ca-line);
    border-radius: 1rem;
    background: #fbfdff;
}

.employee-month-picker button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: .85rem;
    color: var(--ca-accent);
    background: #fff3ed;
}

.employee-month-picker strong {
    color: var(--ca-ink);
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
}

.employee-calendar-strip {
    display: flex;
    gap: .55rem;
    margin: .7rem 0 1rem;
    padding-bottom: .25rem;
    overflow-x: auto;
}

.employee-calendar-strip button {
    min-width: 72px;
    display: grid;
    place-items: center;
    gap: .1rem;
    padding: .65rem .45rem;
    border: 1px solid var(--ca-line);
    border-radius: 1rem;
    background: #fff;
    color: #64748b;
}

.employee-calendar-strip button.active {
    color: #fff;
    border-color: var(--ca-accent);
    background: var(--ca-accent);
    box-shadow: 0 .8rem 1.6rem rgba(255, 107, 44, .24);
}

.employee-calendar-strip strong {
    font-size: 1.25rem;
    line-height: 1;
}

.employee-calendar-strip span,
.employee-calendar-strip em {
    font-size: .74rem;
    font-style: normal;
    text-transform: capitalize;
}

.employee-calendar-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
}

.employee-calendar-summary div {
    padding: .75rem;
    border: 1px solid var(--ca-line);
    border-radius: .9rem;
    background: #fbfdff;
}

.employee-calendar-summary span,
.employee-calendar-summary strong {
    display: block;
}

.employee-calendar-summary span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
}

.employee-calendar-summary strong {
    color: #07142b;
    font-size: .95rem;
}

.employee-timeline {
    display: grid;
    gap: .65rem;
}

.employee-timeline-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: .75rem;
    align-items: center;
    padding: .8rem;
    border: 1px solid var(--ca-line);
    border-radius: .95rem;
    background: #fff;
}

.employee-timeline-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ca-accent);
    background: #fff3ed;
}

.employee-timeline-item strong,
.employee-timeline-item span,
.employee-timeline-item em {
    display: block;
}

.employee-timeline-item strong {
    color: #07142b;
    font-weight: 900;
}

.employee-timeline-item span,
.employee-timeline-item em,
.employee-empty-calendar {
    color: #64748b;
    font-size: .86rem;
    font-style: normal;
}

.employee-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.employee-section-head p {
    margin: -.35rem 0 .75rem;
    color: #64748b;
    font-size: .9rem;
}

.employee-face-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.employee-profile-hero {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .25rem;
    margin: -1rem -1rem 1rem;
    padding: 2rem 1rem 1.2rem;
    text-align: center;
    border-radius: 1rem 1rem 1.4rem 1.4rem;
    background:
        radial-gradient(circle at 52% 0, rgba(255, 255, 255, .4), transparent 70px),
        linear-gradient(135deg, #fff3ed, #ffffff 72%);
}

.employee-profile-photo {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border: 5px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, var(--ca-accent), #d84a16);
    box-shadow: 0 .9rem 1.8rem rgba(127, 45, 18, .2);
    font-size: 1.5rem;
    font-weight: 950;
}

.employee-profile-photo.small {
    width: 48px;
    height: 48px;
    border-width: 3px;
    font-size: .9rem;
    box-shadow: none;
}

.employee-profile-hero h5 {
    margin: .4rem 0 0;
    font-size: 1.2rem;
}

.employee-profile-hero p {
    margin: 0;
    color: #64748b;
}

.employee-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    margin-bottom: 1rem;
}

.employee-profile-stats div,
.employee-profile-detail div {
    padding: .75rem;
    border: 1px solid var(--ca-line);
    border-radius: .9rem;
    background: #fbfdff;
}

.employee-profile-stats span,
.employee-profile-stats strong,
.employee-profile-detail span,
.employee-profile-detail strong {
    display: block;
}

.employee-profile-stats span,
.employee-profile-detail span {
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
}

.employee-profile-stats strong,
.employee-profile-detail strong {
    color: var(--ca-ink);
    font-size: .95rem;
}

.employee-profile-detail {
    display: grid;
    gap: .55rem;
    margin-bottom: 1rem;
}

.employee-requests-hero {
    margin-top: .75rem;
    color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .2), transparent 22%),
        linear-gradient(135deg, var(--ca-accent), #d84a16);
    border: 0;
}

.employee-requests-hero span,
.employee-requests-hero h5,
.employee-requests-hero p {
    display: block;
    color: inherit;
}

.employee-requests-hero span {
    margin-bottom: .35rem;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.employee-requests-hero h5 {
    margin-bottom: .35rem;
    font-size: 1.25rem;
    font-weight: 900;
}

.employee-requests-hero p {
    max-width: 420px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
}

.employee-request-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.employee-request-status div {
    min-height: 86px;
    display: grid;
    align-content: center;
    gap: .12rem;
    padding: .75rem;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 1rem;
    background: #fff;
}

.employee-request-status i {
    color: var(--ca-accent);
    font-size: 1.15rem;
}

.employee-request-status span,
.employee-request-status strong {
    display: block;
}

.employee-request-status span {
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
}

.employee-request-status strong {
    color: var(--ca-ink);
    font-size: 1.25rem;
    font-weight: 900;
}

.employee-tab-panel {
    display: none;
}

.employee-tab-panel.active {
    display: block;
}

.employee-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 50;
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    transform: translateX(-50%);
    padding: .45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 -1rem 2rem rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
}

.employee-bottom-nav button {
    display: grid;
    place-items: center;
    gap: .18rem;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: #748196;
    font-size: .72rem;
    font-weight: 800;
}

.employee-bottom-nav i {
    font-size: 1.25rem;
}

.employee-bottom-nav button.active {
    color: var(--ca-accent);
}

.employee-bottom-nav .employee-nav-primary {
    width: 62px;
    height: 62px;
    min-height: 62px;
    justify-self: center;
    align-self: start;
    margin-top: -1.05rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #ff8a4f, var(--ca-accent) 62%, #df4d17);
    box-shadow: 0 .9rem 1.8rem rgba(255, 107, 44, .34), 0 0 0 7px rgba(255, 255, 255, .96);
}

.employee-bottom-nav .employee-nav-primary i {
    font-size: 1.55rem;
}

.employee-bottom-nav .employee-nav-primary span {
    display: none;
}

.employee-bottom-nav .employee-nav-primary.active {
    color: #fff;
}

.employee-face-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(8, 25, 48, .42);
    backdrop-filter: blur(8px);
}

.employee-face-overlay-card {
    position: relative;
    width: min(100%, 360px);
    min-height: 520px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 1.2rem;
    padding: 2.2rem 1.4rem;
    color: #fff;
    text-align: center;
    border-radius: 1.4rem;
    background: linear-gradient(180deg, #ff7a35, #e04f18);
    box-shadow: 0 2rem 4rem rgba(127, 45, 18, .32);
}

.employee-face-close {
    position: absolute;
    top: .8rem;
    right: .8rem;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .16);
}

.employee-face-overlay-card > span {
    font-weight: 800;
}

.employee-face-camera {
    position: relative;
    width: 210px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .22);
}

.employee-face-camera video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-face-ring {
    position: absolute;
    inset: 7px;
    border: 3px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    animation: facePulse 1.25s ease-in-out infinite;
    pointer-events: none;
}

.employee-face-overlay-card strong {
    font-size: 1.35rem;
    font-weight: 900;
}

.employee-face-overlay-card p {
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

@keyframes facePulse {
    0%, 100% { transform: scale(.98); opacity: .82; }
    50% { transform: scale(1.04); opacity: 1; }
}

@media (max-width: 640px) {
    .employee-portal-body {
        background: #f5f7fb;
    }

    .employee-app-shell {
        min-height: 100dvh;
    }

    .employee-app-content {
        padding: 0 0 5.6rem;
    }

    .employee-map-stage {
        min-height: 360px;
        padding: .85rem;
    }

    .employee-check-button {
        width: min(205px, 56vw);
    }

    .employee-calendar-head,
    .employee-calendar-summary {
        grid-template-columns: 1fr;
    }

    .employee-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employee-face-actions {
        grid-template-columns: 1fr;
    }
}

.org-chart {
    overflow-x: auto;
    padding: 1rem 0 2rem;
}

.org-tree ul {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding-top: 2rem;
    padding-left: 0;
    list-style: none;
}

.org-tree ul ul::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 2rem;
    border-left: 2px solid #cbd5e1;
}

.org-tree li {
    position: relative;
    min-width: 300px;
    text-align: center;
}

.org-tree li::before,
.org-tree li::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 2rem;
    border-top: 2px solid #cbd5e1;
}

.org-tree li::before {
    right: 50%;
}

.org-tree li::after {
    left: 50%;
    border-left: 2px solid #cbd5e1;
}

.org-tree li:only-child::before,
.org-tree li:only-child::after {
    display: none;
}

.org-tree li:first-child::before,
.org-tree li:last-child::after {
    border-top: 0;
}

.org-card {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    width: 300px;
    min-height: 142px;
    padding: .85rem;
    text-align: left;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: .75rem;
    box-shadow: 0 .4rem 1.1rem rgba(31, 42, 55, .07);
}

.org-card small {
    display: block;
    color: var(--ca-muted);
    line-height: 1.35;
}

.org-card-body {
    min-width: 0;
    flex: 1;
}

.org-card-body strong,
.org-card-body small {
    overflow-wrap: anywhere;
}

.org-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 999px;
    background: var(--ca-accent);
    color: #fff;
    font-weight: 800;
}

.org-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: .2rem;
    margin-top: .45rem;
    color: #475569;
    font-size: .78rem;
}

.org-meta span {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 0;
}

.org-meta i {
    color: var(--ca-accent);
}

.org-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .55rem;
}

.org-tags span {
    padding: .16rem .45rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-size: .72rem;
    font-weight: 700;
}

.org-section-title {
    margin: .5rem 0 1rem;
    text-align: center;
}

.org-section-title h4 {
    margin: 0;
    font-weight: 900;
}

.org-section-title span {
    color: var(--ca-muted);
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.org-card-flat {
    width: 100%;
}

.org-card-dept {
    border-left: 4px solid var(--ca-accent);
}

.kiosk-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 12%, rgba(255, 107, 44, .16), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
}

.kiosk-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(340px, 760px) minmax(280px, 380px);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.kiosk-panel,
.kiosk-help {
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: 1.25rem;
    box-shadow: 0 1rem 2.5rem rgba(31, 42, 55, .09);
}

.kiosk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--ca-line);
}

.kiosk-header strong {
    color: var(--ca-ink);
    font-size: 1.05rem;
}

.kiosk-header span {
    display: block;
    color: var(--ca-muted);
    font-size: .92rem;
}

#kioskClock {
    color: var(--ca-accent);
    font-size: 1.45rem;
    font-weight: 900;
}

.kiosk-content {
    padding: 1.5rem 1.5rem 1.75rem;
    text-align: center;
}

.kiosk-employee-hero {
    max-width: 520px;
    margin: 0 auto .75rem;
}

.kiosk-employee-hero i {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto .85rem;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #ff8a4f, var(--ca-accent) 62%, #df4d17);
    box-shadow: 0 .9rem 1.8rem rgba(255, 107, 44, .28);
    font-size: 2rem;
}

.kiosk-employee-hero i:only-child {
    margin-bottom: 0;
}

.kiosk-employee-hero h1 {
    margin: 0;
    color: var(--ca-ink);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 950;
}

.kiosk-employee-hero p {
    max-width: 440px;
    margin: .5rem auto 0;
    color: #64748b;
    font-size: 1.05rem;
}

.kiosk-reader {
    max-width: 500px;
    margin: 0 auto 1.1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: #111827;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.kiosk-reader #reader {
    min-height: 330px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: .9rem;
}

.kiosk-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    max-width: 500px;
    margin: 0 auto;
}

.kiosk-help {
    padding: 2rem;
}

.kiosk-help-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 1.2rem;
    color: var(--ca-accent);
    background: #fff3ed;
}

.kiosk-help-icon i {
    color: var(--ca-accent);
    font-size: 2.2rem;
}

.kiosk-help h2 {
    color: var(--ca-ink);
    font-weight: 900;
    margin: 1rem 0 .75rem;
}

.kiosk-help ol {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: #334155;
    font-size: 1rem;
}

.kiosk-note {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem;
    border: 1px solid rgba(255, 107, 44, .22);
    border-radius: 1rem;
    color: #7c2d12;
    background: #fff7ed;
    font-weight: 800;
}

.kiosk-note i {
    color: var(--ca-accent);
    font-size: 1.35rem;
}

.kiosk-result-card {
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 1rem;
    font-size: 1.05rem;
    font-weight: 900;
}

.kiosk-result-card.success {
    color: #0f5132;
    background: #dcfce7;
}

.kiosk-result-card.danger {
    color: #842029;
    background: #fee2e2;
}

.cafeteria-kiosk-body {
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 98, 42, .16), transparent 30%),
        linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
}

.cafeteria-kiosk-shell {
    grid-template-columns: minmax(360px, 760px) minmax(300px, 460px);
}

.cafeteria-kiosk-panel {
    overflow: hidden;
}

.cafeteria-scan-status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .6rem .9rem;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-weight: 700;
}

.cafeteria-scan-status.ready,
.cafeteria-scan-status.success {
    border-color: rgba(25, 135, 84, .25);
    background: rgba(25, 135, 84, .08);
    color: #146c43;
}

.cafeteria-scan-status.warning {
    border-color: rgba(255, 193, 7, .35);
    background: rgba(255, 193, 7, .12);
    color: #8a5d00;
}

.cafeteria-scan-status.danger {
    border-color: rgba(220, 53, 69, .25);
    background: rgba(220, 53, 69, .08);
    color: #b02a37;
}

.cafeteria-reader {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #0f172a, #111827);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.cafeteria-reader #cafeteriaReader,
.cafeteria-reader #reader {
    width: min(100%, 520px);
}

.cafeteria-reader video,
.cafeteria-reader canvas {
    border-radius: .85rem;
}

.scan-frame {
    position: absolute;
    width: 260px;
    height: 260px;
    border: 3px solid rgba(255, 255, 255, .85);
    border-radius: 1rem;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, .22);
    pointer-events: none;
}

.scan-frame::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    background: var(--ca-accent);
    box-shadow: 0 0 18px rgba(255, 98, 42, .9);
    animation: scanLine 1.6s ease-in-out infinite;
}

@keyframes scanLine {
    0%, 100% { transform: translateY(-105px); }
    50% { transform: translateY(105px); }
}

.scanner-fallback {
    min-height: 260px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
}

.cafeteria-kiosk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .85rem;
}

.cafeteria-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem;
    border-radius: .85rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.cafeteria-result.success {
    background: rgba(25, 135, 84, .1);
    color: #146c43;
    border: 1px solid rgba(25, 135, 84, .22);
}

.cafeteria-result.danger {
    background: rgba(220, 53, 69, .1);
    color: #b02a37;
    border: 1px solid rgba(220, 53, 69, .22);
}

.cafeteria-kiosk-help {
    border-top: 5px solid var(--ca-accent);
}

.kiosk-preview {
    min-height: 330px;
    display: grid;
    place-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: .85rem;
    background:
        linear-gradient(135deg, rgba(255, 98, 42, .05), rgba(13, 110, 253, .05)),
        #fff;
}

.qr-empty-state {
    display: grid;
    place-items: center;
    gap: .35rem;
    color: var(--ca-muted);
    text-align: center;
    padding: 2rem;
}

.qr-empty-state i {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 98, 42, .1);
    color: var(--ca-accent);
    font-size: 2rem;
}

.qr-empty-state strong {
    color: #0f172a;
    font-size: 1.05rem;
}

.qr-detail-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.qr-detail-panel > div {
    padding: .8rem;
    border: 1px solid var(--ca-line);
    border-radius: .75rem;
    background: #f8fafc;
}

.qr-detail-panel span,
.qr-detail-panel strong,
.qr-detail-panel a {
    display: block;
}

.qr-detail-panel span {
    color: var(--ca-muted);
    font-size: .8rem;
}

.qr-detail-panel strong,
.qr-detail-panel a {
    font-weight: 800;
    word-break: break-word;
}

.company-tree-card {
    padding: 1rem;
    border: 1px solid var(--ca-line);
    border-radius: .75rem;
    background: #fff;
    margin-bottom: 1rem;
}

.company-tree-card h4 {
    font-weight: 800;
    margin-bottom: .75rem;
}

.company-center {
    border-left: 3px solid var(--ca-accent);
    padding: .65rem .85rem;
    margin: .65rem 0;
    background: #f8fafc;
    border-radius: .5rem;
}

.company-center > span {
    float: right;
    color: var(--ca-muted);
    font-size: .9rem;
}

.company-employees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .5rem;
    margin-top: .65rem;
}

.company-employees > div {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem;
    background: #fff;
    border: 1px solid var(--ca-line);
    border-radius: .5rem;
}

@media (max-width: 992px) {
    .kiosk-shell {
        grid-template-columns: 1fr;
    }

    .kiosk-form {
        grid-template-columns: 1fr;
    }

    .cafeteria-kiosk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cafeteria-reader {
        min-height: 300px;
    }
}

.status-pill {
    min-width: 86px;
}

.integral-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem;
    border: 1px solid rgba(31, 42, 55, .08);
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .25rem 1rem rgba(31, 42, 55, .045);
}

.integral-hero h2 {
    font-size: 1.35rem;
    line-height: 1.2;
}

.integral-actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.integral-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: .2rem;
    color: #374151;
}

.module-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .85rem;
}

.module-toolbar h4,
.action-panel h4 {
    margin: 0;
    font-size: 1rem;
}

.module-toolbar span {
    color: var(--ca-muted);
    font-size: .88rem;
}

.integral-table {
    border: 1px solid rgba(31, 42, 55, .08);
}

.integral-table thead th {
    background: #f8fafc;
    color: #374151;
    font-size: .82rem;
    text-transform: uppercase;
}

.action-panel {
    height: 100%;
    padding: 1rem;
    border: 1px solid rgba(31, 42, 55, .08);
    border-radius: .5rem;
    background: #fff;
}

.toast-container {
    z-index: 2000;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1rem;
}

.dashboard-tabs {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .75rem 0 1rem;
    flex-wrap: wrap;
}

.dashboard-tabs button {
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-weight: 700;
    padding: .55rem .85rem;
    border-bottom: 3px solid transparent;
}

.dashboard-tabs button.active {
    color: var(--ca-accent);
    border-bottom-color: var(--ca-accent);
}

.dashboard-filter {
    display: inline-flex;
    min-width: 170px;
    max-width: 230px;
    height: 38px;
    padding: .35rem 2rem .35rem .75rem;
    border: 0;
    border-radius: .45rem;
    background-color: transparent;
    font-weight: 700;
    font-size: .9rem;
    color: #1f2937;
}

.dashboard-filter:focus {
    outline: 2px solid rgba(255, 107, 44, .25);
    background-color: #fff;
}

.welcome-card,
.nexo-card,
.process-card,
.presence-panel {
    background: #fff;
    border: 1px solid rgba(31, 42, 55, .08);
    border-radius: .55rem;
    box-shadow: 0 .35rem 1.2rem rgba(31, 42, 55, .055);
}

.welcome-card {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.55rem;
    overflow: hidden;
}

.welcome-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
}

.btn-nexo {
    background: var(--ca-accent);
    color: #fff;
    border: 0;
    font-weight: 700;
}

.btn-nexo:hover {
    background: #ef5f22;
    color: #fff;
}

.welcome-illustration {
    width: 120px;
    height: 120px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff3ed;
    color: var(--ca-accent);
    font-size: 3rem;
}

.section-heading,
.module-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading h3,
.process-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.link-button {
    border: 0;
    background: transparent;
    color: #40516f;
    font-weight: 700;
}

.nexo-card,
.process-card {
    padding: 1.35rem;
}

.metric-card {
    position: relative;
    padding: 1rem;
    min-height: 104px;
    background: #fff;
    border: 1px solid rgba(31, 42, 55, .08);
    border-left: 4px solid var(--ca-accent);
    border-radius: .55rem;
    box-shadow: 0 .35rem 1.2rem rgba(31, 42, 55, .055);
}

.metric-card span,
.metric-card small {
    color: var(--ca-muted);
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-top: .65rem;
}

.metric-card i {
    position: absolute;
    right: 1rem;
    bottom: .85rem;
    color: #d1d5db;
    font-size: 2.2rem;
}

.metric-card.success { border-left-color: #64bd4d; }
.metric-card.warning { border-left-color: #f7b928; }
.metric-card.danger { border-left-color: #e83e61; }
.metric-card.info { border-left-color: #3b82f6; }

.hours-layout {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.hours-summary {
    display: grid;
    gap: 1.2rem;
}

.hours-summary div {
    display: grid;
    grid-template-columns: 14px 1fr;
    column-gap: .65rem;
}

.hours-summary strong {
    grid-column: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: .3rem;
}

.dot.worked { background: #64bd4d; }
.dot.break { background: #f7b928; }
.dot.overtime { background: #e83e61; }

.process-list {
    display: grid;
    gap: .35rem;
    border-left: 3px solid #e5e7eb;
    margin-top: 1rem;
}

.process-list button {
    text-align: left;
    border: 0;
    background: transparent;
    padding: .85rem 1rem;
    border-left: 3px solid transparent;
    transform: translateX(-3px);
}

.process-list button:hover,
.process-list button.active {
    background: #fff;
    border-left-color: var(--ca-accent);
    box-shadow: 0 .5rem 1.5rem rgba(31, 42, 55, .08);
}

.process-list strong,
.process-list span {
    display: block;
}

.process-list span {
    color: #40516f;
}

.presence-panel {
    min-height: calc(100vh - 145px);
    padding: 1.25rem 1rem;
    position: sticky;
    top: 86px;
}

.presence-panel h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
}

.presence-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .35rem;
    border-bottom: 1px solid var(--ca-line);
    margin-bottom: 1rem;
}

.presence-counts button {
    border: 0;
    background: transparent;
    padding: .65rem .2rem;
    color: #9ca3af;
    border-bottom: 3px solid transparent;
}

.presence-counts button.active {
    color: var(--ca-accent);
    border-bottom-color: var(--ca-accent);
}

.presence-counts strong,
.presence-counts span {
    display: block;
}

.presence-search {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .65rem;
    border: 1px solid var(--ca-line);
    border-radius: .45rem;
}

.presence-search input {
    border: 0;
    outline: 0;
    width: 100%;
}

.presence-list {
    display: grid;
    gap: .8rem;
    margin-top: 1rem;
}

.presence-person {
    display: grid;
    grid-template-columns: 42px 1fr 10px;
    gap: .65rem;
    align-items: center;
}

.presence-person img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.presence-person small {
    display: block;
    color: var(--ca-muted);
}

.presence-person span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.presence-person .inside { background: #64bd4d; }
.presence-person .break { background: #f7b928; }
.presence-person .outside { background: #9ca3af; }

.presence-clock {
    margin-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

.presence-clock strong {
    display: block;
    font-size: 1.8rem;
}

.holiday-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.holiday-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: .75rem;
    align-items: center;
}

.holiday-item strong {
    color: var(--ca-accent);
}

.holiday-item span,
.holiday-item small {
    display: block;
}

.holiday-item small {
    color: #9ca3af;
}

.empty-state {
    min-height: 220px;
    display: grid;
    place-items: center;
    gap: .35rem;
    text-align: center;
    color: #64748b;
    border: 1px dashed #cbd5e1;
    border-radius: .85rem;
    background: #f8fafc;
    padding: 2rem;
}

.empty-state i {
    font-size: 2.4rem;
    color: var(--ca-accent);
}

.empty-state strong {
    display: block;
    color: #0f172a;
    font-weight: 900;
}

.empty-state span {
    display: block;
}

@keyframes caFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
    .app-content-header h3 {
        font-size: 1.15rem;
    }

    .table {
        font-size: .9rem;
    }

    .integral-hero,
    .module-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .integral-actions {
        justify-content: stretch;
    }

    .integral-actions .btn {
        width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .presence-panel {
        position: static;
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .hours-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .register-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .register-shell .register-steps,
    .contract-grid {
        grid-template-columns: 1fr;
    }

    .span-4,
    .span-5,
    .span-6,
    .span-7,
    .span-12 {
        grid-column: 1 / -1;
    }

    .register-shell .premium-register-copy,
    .register-shell .premium-contract-card {
        border-radius: 22px;
    }
}

/* Pulido del sitio publico: menos texto gigante y mockups completos. */
.sales-page {
    --site-heading: clamp(1.85rem, 3.2vw, 3rem);
    --site-subheading: clamp(1.45rem, 2.1vw, 2.05rem);
}

.sales-page .section-heading h2,
.section-heading h2,
.sales-band h2,
.register-copy h2,
.compliance-head h2,
.location-showcase h2,
.reports-showcase h2,
.legal-showcase h2,
.channels-showcase h2,
.digital-clock-section h2,
.whatsapp-band h2 {
    font-size: var(--site-heading);
    line-height: 1.08;
    max-width: 900px;
}

.brand-nowrap {
    white-space: nowrap;
}

.sales-register .register-copy-head h2 {
    max-width: 620px;
    font-size: clamp(1.85rem, 2.55vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.sales-hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    line-height: 1.05;
    max-width: 15ch;
}

.sales-page p,
.visual-card p,
.visual-copy p,
.visual-lead {
    line-height: 1.55;
}

.product-visuals .section-heading {
    max-width: 850px;
}

.visual-grid {
    grid-template-columns: 1.12fr .94fr .94fr;
    align-items: stretch;
}

.visual-card {
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    overflow: visible;
}

.visual-card h3 {
    font-size: var(--site-subheading);
    line-height: 1.08;
}

.visual-card-large {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.visual-card-large .dashboard-mockup {
    order: 1;
}

.visual-card-large .visual-copy {
    order: 2;
    padding-top: 1rem;
}

.visual-copy h3 {
    font-size: var(--site-subheading);
    line-height: 1.08;
}

.dashboard-mockup {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}

.mockup-kpis span {
    min-height: 72px;
    padding: .65rem;
    font-size: .92rem;
}

.mockup-chart {
    flex: 1;
    min-height: 130px;
}

.employee-phone-art,
.qr-mockup {
    flex: 0 0 auto;
    width: 100%;
    max-width: 310px;
    margin: 0 auto 1rem;
}

.employee-phone-art {
    min-height: 382px;
}

.employee-phone-art button {
    width: 128px;
    height: 128px;
    margin: 1.1rem auto .85rem;
}

.qr-mockup {
    min-height: 330px;
}

.map-console,
.report-mockup,
.comparison-table,
.whatsapp-phone,
.chat-card {
    max-width: 100%;
}

.report-table,
.legal-screen-table,
.comparison-table {
    overflow-x: auto;
}

.price-card h3,
.sales-feature h3,
.suite-grid h3,
.process-grid strong,
.channel-card h3 {
    line-height: 1.12;
}

@media (max-width: 1199.98px) {
    .visual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .visual-card-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .sales-page {
        --site-heading: clamp(1.7rem, 8vw, 2.35rem);
        --site-subheading: clamp(1.25rem, 6vw, 1.7rem);
    }

    .sales-section {
        padding: 4rem 0;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-card,
    .visual-card-large {
        min-height: auto;
    }

    .dashboard-mockup,
    .employee-phone-art,
    .qr-mockup {
        max-width: 100%;
    }

    .mockup-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .qr-mockup {
        min-height: 300px;
    }

    .employee-phone-art {
        min-height: 370px;
    }

    .whatsapp-visual {
        min-height: 650px;
    }

    .chat-card,
    .whatsapp-phone {
        position: relative;
        width: 100%;
        max-width: 340px;
        inset: auto;
        margin: 0 auto 1rem;
    }

    .whatsapp-phone {
        height: 390px;
    }

    .whatsapp-float {
        right: 1rem;
        top: auto;
        bottom: 1rem;
    }
}

/* Tipografia premium del sitio publico */
.sales-page {
    --site-heading: clamp(1.75rem, 2.65vw, 2.55rem);
    --site-subheading: clamp(1.25rem, 1.75vw, 1.65rem);
    --site-hero: clamp(2.15rem, 3.45vw, 3.35rem);
    --site-copy: clamp(.98rem, 1vw, 1.08rem);
    font-family: "Inter", "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.sales-page h1,
.sales-page h2,
.sales-page h3,
.sales-page .navbar-brand,
.sales-page .price-card h3,
.sales-page .price-value,
.sales-page .sales-pill {
    font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.sales-page h1,
.sales-page h2,
.sales-page h3 {
    color: var(--ca-ink);
    font-weight: 800;
}

.sales-hero h1 {
    max-width: 17ch;
    font-size: var(--site-hero);
    line-height: 1.08;
    font-weight: 800;
}

.sales-page .section-heading h2,
.section-heading h2,
.sales-band h2,
.register-copy h2,
.compliance-head h2,
.location-showcase h2,
.reports-showcase h2,
.legal-showcase h2,
.channels-showcase h2,
.digital-clock-section h2,
.whatsapp-band h2 {
    max-width: 760px;
    font-size: var(--site-heading);
    line-height: 1.12;
    font-weight: 800;
}

.sales-page .section-heading {
    max-width: 700px;
    margin-bottom: 1.75rem;
}

.sales-page .pricing-heading h2 {
    max-width: 540px;
}

.hero-copy,
.sales-page p,
.visual-card p,
.visual-copy p,
.visual-lead,
.sales-band p,
.register-copy p {
    font-size: var(--site-copy);
    line-height: 1.62;
}

.visual-card h3,
.visual-copy h3,
.sales-feature h3,
.channel-card h3,
.suite-grid h3,
.process-grid strong,
.price-card h3 {
    font-size: var(--site-subheading);
    line-height: 1.16;
    font-weight: 800;
}

.sales-feature h3,
.channel-card h3,
.price-card h3 {
    margin-bottom: .55rem;
}

.sales-pill {
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.sales-register .register-copy-head h2 {
    max-width: 560px;
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    line-height: 1.13;
    font-weight: 800;
}

.register-copy-head p {
    font-size: 1rem;
}

.price-value {
    font-size: clamp(2rem, 2.6vw, 2.45rem);
    line-height: 1.05;
}

.risk-showcase h2,
.risk-amount,
.thanks-card h1 {
    font-family: "Manrope", "Inter", system-ui, sans-serif;
    font-weight: 800;
}

.risk-amount {
    font-size: clamp(2.15rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.compliance-evidence h3 {
    font-size: clamp(1.35rem, 1.9vw, 1.9rem);
    line-height: 1.12;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}

@media (max-width: 767.98px) {
    .sales-page {
        --site-heading: clamp(1.55rem, 7vw, 2.05rem);
        --site-subheading: clamp(1.15rem, 5.4vw, 1.45rem);
        --site-hero: clamp(2rem, 9vw, 2.65rem);
    }

    .sales-hero h1,
    .sales-page .section-heading h2,
    .section-heading h2,
    .sales-band h2,
    .register-copy h2,
    .compliance-head h2,
    .location-showcase h2,
    .reports-showcase h2,
    .legal-showcase h2,
    .channels-showcase h2,
    .digital-clock-section h2,
    .whatsapp-band h2 {
        line-height: 1.14;
    }
}

/* Override final sitio comercial premium */
.sales-page-premium {
    --site-hero: clamp(2rem, 3.1vw, 3.05rem);
    --site-heading: clamp(1.55rem, 2.25vw, 2.35rem);
    --site-subheading: clamp(1.08rem, 1.35vw, 1.38rem);
    --site-copy: clamp(.95rem, .95vw, 1.02rem);
}

.sales-page-premium .sales-hero h1 {
    max-width: 18ch;
    font-size: var(--site-hero);
    line-height: 1.09;
    font-weight: 800;
}

.sales-page-premium .section-heading h2,
.sales-page-premium .sales-band h2,
.sales-page-premium .register-copy h2,
.sales-page-premium .compliance-head h2,
.sales-page-premium .location-showcase h2,
.sales-page-premium .reports-showcase h2,
.sales-page-premium .digital-clock-section h2,
.sales-page-premium .whatsapp-band h2 {
    max-width: 820px;
    font-size: var(--site-heading);
    line-height: 1.12;
    font-weight: 800;
}

.sales-page-premium p,
.sales-page-premium .hero-copy,
.sales-page-premium .visual-card p,
.sales-page-premium .visual-copy p,
.sales-page-premium .visual-lead {
    font-size: var(--site-copy);
    line-height: 1.58;
}

.sales-page-premium .pricing-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    width: 100%;
    max-width: none;
}

.sales-page-premium .pricing-heading h2 {
    max-width: 420px;
    margin-bottom: 0;
}

.sales-page-premium .billing-toggle {
    justify-self: end;
    margin-left: auto;
    min-width: 320px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .07);
}

.sales-page-premium .employee-phone-art {
    display: grid;
    grid-template-rows: 108px 144px auto 48px;
    min-height: 430px;
    padding: 0;
    overflow: hidden;
}

.sales-page-premium .employee-map-art {
    position: relative;
    height: 108px;
    border-radius: 25px 25px 0 0;
}

.sales-page-premium .employee-map-art span {
    left: 50%;
    top: 78px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.sales-page-premium .employee-phone-art button {
    align-self: start;
    width: 130px;
    height: 130px;
    margin: 22px auto 0;
    position: relative;
    z-index: 2;
}

.sales-page-premium .employee-time-art {
    margin-top: .7rem;
    padding-bottom: .85rem;
}

.sales-page-premium .employee-bottom-art {
    border-top: 1px solid #e6ebf2;
    background: #fff;
}

@media (min-width: 1200px) {
    .sales-page-premium #precios .container {
        max-width: 1420px;
    }
}

@media (max-width: 991.98px) {
    .sales-page-premium .pricing-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .sales-page-premium .billing-toggle {
        justify-self: start;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .sales-page-premium {
        --site-hero: clamp(1.85rem, 8.2vw, 2.35rem);
        --site-heading: clamp(1.45rem, 7vw, 1.92rem);
    }

    .sales-page-premium .billing-toggle {
        min-width: 0;
        width: 100%;
    }
}
.sales-page,
html:has(body.sales-page) {
    overflow-x: clip;
}

.pricing-unified {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-complete-card,
.pricing-calculator {
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 32, 58, .08);
}

.pricing-complete-card {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
    gap: 32px;
    padding: 34px;
}

.pricing-complete-copy h3 {
    margin: 18px 0 10px;
    color: #071a38;
    font-size: clamp(1.55rem, 2.3vw, 2.15rem);
    line-height: 1.15;
}

.pricing-complete-copy p {
    color: #52647f;
}

.unit-price {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
}

.unit-price strong {
    color: #ff642d;
    font-size: 2.3rem;
    line-height: 1;
}

.unit-price span {
    margin-top: 8px;
    color: #52647f;
    font-weight: 600;
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: center;
}

.pricing-features-grid span {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 60px;
    padding: 14px;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    color: #172b4d;
    font-weight: 600;
}

.pricing-features-grid i {
    color: #159b52;
}

.pricing-calculator {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #081b39;
    color: #fff;
}

.pricing-calculator > label {
    margin: 22px 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
}

.pricing-counter {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 8px;
}

.pricing-counter button,
.pricing-counter input {
    height: 52px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
}

.pricing-counter button {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.pricing-counter input {
    background: #fff;
    color: #071a38;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
}

.pricing-result {
    display: flex;
    flex-direction: column;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.16);
    border-bottom: 1px solid rgba(255,255,255,.16);
}

.pricing-result span,
.pricing-result small {
    color: #b9c6d9;
}

.pricing-result .pricing-savings {
    margin-top: 8px;
    color: #7ee2a8;
    font-weight: 700;
}

.pricing-result strong {
    margin: 8px 0;
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .pricing-unified,
    .pricing-complete-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .pricing-complete-card,
    .pricing-calculator {
        padding: 22px;
    }

    .pricing-features-grid {
        grid-template-columns: 1fr;
    }
}
.document-portal-panel {
    overflow: hidden;
}

.document-pdf-viewer {
    display: block;
    width: 100%;
    height: min(76vh, 920px);
    min-height: 620px;
    border: 0;
    background: #eef2f7;
}

.trial-status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid #ffd2c2;
    border-left: 4px solid #ff642f;
    border-radius: 8px;
    background: #fff8f5;
    box-shadow: 0 10px 28px rgba(10, 31, 64, .06);
}

.trial-status-banner > div {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px 14px;
}

.trial-status-banner strong { font-size: 1.05rem; color: #0a1f40; }
.trial-status-banner small { grid-column: 1 / -1; color: #60708a; }

@media (max-width: 767px) {
    .trial-status-banner { align-items: stretch; flex-direction: column; }
    .trial-status-banner > div { grid-template-columns: 1fr; }
    .trial-status-banner small { grid-column: auto; }
}

.document-module-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .document-module-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-pdf-viewer {
        height: 68vh;
        min-height: 480px;
    }
}
