body.customers, body.admin {
    --cbx-deep: #0d3544;
    --cbx-plum: #71144f;
    --cbx-line: #d7e2e5;
    --cbx-surface: #f3f6f7;
}
body.customers, body.customers #wrapper, body.admin #wrapper {
    background-color: var(--cbx-surface);
}
body.customers .navbar.header, body.admin #header {
    box-shadow: 0 2px 9px #092b3917;
    border-bottom: 2px solid #427687;
}
body.customers .customer-top-submenu a {
    border-radius: 7px;
    color: var(--cbx-deep);
}
body.customers #content .panel_s > .panel-body, body.admin #wrapper .panel_s > .panel-body {
    border: 1px solid var(--cbx-line);
    border-radius: 12px;
    box-shadow: 0 3px 10px #12344108;
}
body.customers #content table.table thead th, body.admin #wrapper table.table thead th {
    background-color: #edf3f5;
    color: #1e414e;
}
body.customers .btn-primary, body.admin #wrapper .btn-primary {
    background-color: var(--cbx-deep);
    border-color: var(--cbx-deep);
}
body.customers .btn-primary:hover, body.admin #wrapper .btn-primary:hover {
    background-color: #195267;
}
body.customers .form-control:focus, body.admin #wrapper .form-control:focus {
    border-color: #37718a;
    box-shadow: 0 0 0 3px #44829b22;
}
body.admin #side-menu > li.active > a, body.admin #side-menu > li > a:hover {
    color: var(--cbx-deep);
    background: #e4eef1;
    box-shadow: inset 3px 0 var(--cbx-plum);
}
.cbx-client-return {
    display: inline-block;
    margin: 0 0 15px;
    padding: 7px 0;
    font-weight: 600;
    color: var(--cbx-deep);
}
.cbx-workday {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(110deg, #0b303c, #154656 76%, #244a5c);
    color: white;
    border-radius: 14px;
    padding: 21px clamp(18px, 2.5vw, 34px);
    margin: 12px 0 8px;
}
.cbx-workday p { margin: 0 0 5px; color: #c1dde5; font-size: 13px; }
.cbx-workday p::first-letter { text-transform: uppercase; }
.cbx-workday h1 { margin: 0; color: white; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.04em; font-weight: 650; }
.cbx-workday nav { display: flex; flex-wrap: wrap; gap: 7px; }
.cbx-workday nav a { border: 1px solid #7c9daa; border-radius: 7px; color: white; padding: 8px 13px; text-decoration: none; }
.cbx-workday nav a:hover, .cbx-workday nav a:focus-visible { background: white; color: #123e50; }
.cbx-timeline{background:#fff;border:1px solid #d7e2e5;border-radius:16px;padding:22px 22px 16px;margin:0 0 20px;box-shadow:0 5px 16px #1234410b}.cbx-timeline-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.cbx-timeline-kicker{font-size:10px;letter-spacing:1.5px;color:#087d78;font-weight:800}.cbx-timeline h2{font-size:20px;color:#123e50;margin:6px 0 4px;letter-spacing:-.02em}.cbx-timeline-head p{color:#789096;margin:0;font-size:12px}.cbx-today-badge{background:#e5f8ef;color:#16835b;padding:8px 12px;border-radius:99px;font-size:11px;font-weight:700;white-space:nowrap}.cbx-timeline-rail{display:grid;grid-template-columns:repeat(31,minmax(70px,1fr));gap:6px;overflow-x:auto;padding:2px 2px 10px}.cbx-day{min-height:102px;border:1px solid #e6eef0;border-radius:10px;background:#fbfcfc;padding:8px 7px;position:relative}.cbx-day.cbx-weekend{background:#f4f6f7}.cbx-day.cbx-current{border:2px solid #087d78;background:#f0fbf8;box-shadow:0 0 0 3px #087d7817}.cbx-day-top{display:flex;justify-content:space-between;align-items:center;color:#8b9ca0;font-size:10px;text-transform:capitalize}.cbx-day-top b{font-size:18px;color:#244c57}.cbx-current .cbx-day-top b{color:#087d78}.cbx-event{margin-top:8px;border-radius:6px;padding:5px 5px 4px;color:#fff;line-height:1.1}.cbx-event strong{font-size:9px;display:block}.cbx-event small{font-size:8px;display:block;margin-top:3px;opacity:.9}.cbx-event-tax{background:#d18b24}.cbx-event-payroll{background:#8b5bd6}.cbx-event-billing{background:#187ca5}.cbx-event-invoice{background:#c65369}.cbx-timeline-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:5px;color:#74888e;font-size:10px}.cbx-timeline-legend span{display:flex;align-items:center;gap:5px}.cbx-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.cbx-dot.tax{background:#d18b24}.cbx-dot.payroll{background:#8b5bd6}.cbx-dot.billing{background:#187ca5}.cbx-dot.invoice{background:#c65369}.cbx-dot.today{background:#087d78}.cbx-timeline-rail::-webkit-scrollbar{height:7px}.cbx-timeline-rail::-webkit-scrollbar-thumb{background:#c4d4d7;border-radius:99px}@media(max-width:700px){.cbx-timeline-head{flex-direction:column}.cbx-timeline{padding:18px 13px}.cbx-timeline-rail{grid-template-columns:repeat(31,70px)}}
body.customers .cbx-signin {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    max-width: 940px;
    margin: clamp(32px, 7vh, 76px) auto;
    background: white;
    border: 1px solid var(--cbx-line);
    border-radius: 18px;
    box-shadow: 0 14px 42px #12344114;
}
.cbx-signin > .cbx-signin-photo, .cbx-signin > .cbx-signin-fields {
    width: auto; min-width: 0; float: none; margin: 0;
}
.cbx-signin > .cbx-signin-photo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    padding: clamp(25px, 4vw, 48px);
    background: linear-gradient(0deg, #092b39 0%, #0a2c39cc 32%, #08293519 85%), url("paisaje.jpg") center / cover;
    border-radius: 17px 0 0 17px;
}
.cbx-signin .cbx-signin-photo h1 {
    margin: 0 0 10px; font-size: clamp(32px, 4vw, 52px); line-height: 1.03;
    letter-spacing: -.045em; color: white;
}
.cbx-signin-photo p { margin: 0; color: #eef7fa; font-size: 16px; line-height: 1.5; }
.cbx-signin > .cbx-signin-fields { padding: clamp(28px, 4vw, 53px); align-self: center; }
.cbx-signin-fields h2 { font-size: 28px; letter-spacing: -.04em; margin: 0 0 24px; color: var(--cbx-deep); font-weight: 650; }
body.customers #content .cbx-signin .panel_s, body.customers #content .cbx-signin .panel-body {
    margin: 0; padding: 0; box-shadow: none; border: 0; background: transparent;
}
.cbx-signin-fields .form-control { min-height: 42px; border-radius: 7px; }
.cbx-signin-fields button[type=submit] { min-height: 43px; border-radius: 7px; background-color: var(--cbx-deep); color: white; }
.cbx-signin-fields a { color: var(--cbx-plum); }
@media (max-width: 720px) {
    body.customers .cbx-signin { grid-template-columns: 1fr; margin: 16px 12px 28px; }
    .cbx-signin > .cbx-signin-photo { border-radius: 17px 17px 0 0; background-position: center 54%; }
}
