/* The public access panels share TuViaje's typography and form controls. */
body:has(#loginform), body:has(.avp-chat-auth) {
  min-height:100dvh; margin:0; display:grid; place-items:center;
  padding:28px 18px; box-sizing:border-box; color:#102950; font-family:Inter,"Segoe UI",Arial,sans-serif;
  background:radial-gradient(ellipse at 72% 5%,#e2edff,transparent 52%),#f3f6fa;
}
body:has(#loginform) main,.avp-chat-auth {
  width:min(100%,440px); box-sizing:border-box; padding:clamp(24px,5vw,42px); border:1px solid #cad8e7;
  border-top:4px solid #ef792e; border-radius:18px; background:#fff; color:#102950; box-shadow:0 14px 50px #15325310;
}
body:has(#loginform) h1,.avp-chat-auth h1 {font:400 clamp(32px,5vw,46px)/1.05 Georgia,serif;letter-spacing:-.045em;color:#102950}
body:has(#loginform) label,.avp-chat-auth label {font-size:14px;color:#27425e}
.avp-chat-auth p,.avp-chat-auth .remember {color:#536780}
.avp-chat-auth strong {color:#073abc}
#loginform input:not([type=checkbox]):not([type=hidden]),.avp-chat-auth input[type=text],.avp-chat-auth input[type=password] {
  box-sizing:border-box; width:100%; font:inherit; padding:12px; color:#102950; border:1px solid #b7c8db; border-radius:8px; background:#f7faff;
}
#loginform button,.avp-chat-auth button {border:0;border-radius:24px;color:white;background:#073abc;font:600 15px/1.4 Inter,Arial,sans-serif;padding:12px 22px}
:focus-visible {outline:3px solid #fa7918;outline-offset:3px}

body:has(.auth-shell){margin:0;background:#f2f6f9;color:#19344f}
#app .auth-shell{width:min(1100px,92%);margin:clamp(22px,5vw,80px) auto;display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);min-height:540px;background:white;border-radius:22px;overflow:hidden;border:1px solid #d2ddea}
#app .auth-story{position:relative;isolation:isolate;padding:clamp(22px,4vw,60px);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;background:linear-gradient(0deg,#132a44f3 0%,#132a4466 70%),url("https://tuviaje.online/wp-content/themes/tuviaje/assets/portada/santa-marta.jpg") center/cover;color:white}
#app .auth-story .brand{margin:0 auto auto 0;background:white;border-radius:9px;padding:8px 14px}#app .auth-story .brand-logo{width:110px;filter:none}
#app .auth-story h1{font:400 clamp(37px,4.4vw,66px)/1.02 Georgia,serif;color:#fff;letter-spacing:-.052em;margin:44px 0 14px}
#app .auth-story p{color:white;font-size:16px;line-height:1.55}
#app .auth-panel{background:white;min-width:0;padding:clamp(23px,4vw,66px);display:grid;align-content:center}
#app .auth-card{width:100%;max-width:none;color:#153453;background:white;border:none;padding:0;box-shadow:none}
#app .auth-card h2{font:400 clamp(26px,3.2vw,43px)/1.12 Georgia,serif;letter-spacing:-.035em}
#app .auth-card :is(input[type=email],input[type=text],input[type=tel]){max-width:100%;min-height:44px}
#app .auth-card button[type=submit]{border-radius:24px;background:#123eb0;color:white;min-height:44px}
#app .auth-channel-options{flex-wrap:wrap}
body .nav-link.active,body .nav-link:hover{background:#e7effb;color:#12366d}
#app .auth-help{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px 16px}
#app .auth-help a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:740px){#app .auth-shell{grid-template-columns:1fr;min-height:0}#app .auth-story{padding:20px}#app .auth-story h1{font-size:36px;margin:18px 0 6px}#app .auth-story h1 br{display:none}#app .auth-story p{font-size:14px}#app .auth-panel{padding:24px 20px}#app .auth-story .brand{padding:5px 8px}#app .auth-story .brand img{width:85px}}

:root:has(.workspace-shell, .avp-gestion-operation, #app) {
  --bg:#f3f7fb; --surface:#fff; --ink:#102d50; --muted:#50667f; --line:#d1dfeb;
  --brand:#0b3fbb; --brand-hover:#0a338d; --brand-ink:#fff; --gold:#244f82;
  --olive:#1c4477; --soft:#e9f1fc; --focus:#d96518; --charcoal:#183357;
}
.workspace-shell {color:var(--ink);background:var(--bg)}
.workspace-shell .sidebar, .avp-gestion-operation .gestion-navigation {
  background:#122e50; color:#fff; border:0;
  --ink:#fff; --muted:#c7d7e8; --gold:#fff; --line:#476180; --soft:#254565;
}
.workspace-shell .sidebar .brand, .avp-gestion-operation .gestion-navigation .brand {
  width:fit-content; max-width:100%; padding:8px 12px; border-radius:12px 4px 12px 4px; background:white;
}
.workspace-shell .sidebar .brand img, .avp-gestion-operation .gestion-navigation .brand img {max-width:100%;height:auto;filter:none}
.workspace-shell .sidebar .eyebrow, .avp-gestion-operation .gestion-navigation .eyebrow {color:#dae7f6}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .nav-link {color:#e2ebf6}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .nav-link .nav-icon {color:inherit}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .nav-link:hover {background:#254565;color:#fff}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .nav-link.active {background:#f0f5fc;color:#183d71;box-shadow:inset 4px 0 #ff8733}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .gestion-module-search input {color:#fff}
:is(.workspace-shell, .avp-gestion-operation) .sidebar .gestion-module-search input::placeholder {color:#c7d7e8}
:is(.workspace-shell, .avp-gestion-operation) .sidebar :is(.sidebar-toggle,.sidebar-mobile-close) {background:transparent;color:#e4efff}
.workspace-shell .sidebar-foot .button {color:#173453}
.workspace-shell .topbar {height:auto;min-height:66px;padding-block:10px;background:#fff}
.workspace-shell .avatar {background:#e9f0fc;color:#19467a}
.workspace-shell :is(.page-heading h1,.hero h1),.avp-gestion-operation #wpbody-content .wrap > h1 {
  color:#102d50;font:400 clamp(32px,3.8vw,55px)/1.05 Georgia,serif;letter-spacing:-.047em;
}
.workspace-shell .page-heading {gap:16px;flex-wrap:wrap}
.workspace-shell .page-heading .subtitle {margin-bottom:0}
.workspace-shell .hero:not(.customer-trips-hero) {border:1px solid var(--line);border-left:4px solid #ef7a29;background:#eaf1fb;border-radius:4px 18px 18px 4px}
.workspace-shell .hero::after {display:none}
.workspace-shell :is(.card,.metric) {border-color:var(--line);box-shadow:0 5px 18px #193d5c07}
.workspace-shell :is(.card-header h2,.workspace-section h2) {color:#162e4c;font:400 clamp(22px,2.1vw,30px)/1.15 Georgia,serif;letter-spacing:-.035em}
.workspace-shell .metric .num {color:#17437b;font-variant-numeric:tabular-nums}
.workspace-shell .button.primary, .avp-gestion-operation .button-primary {background:#0b3fbb;border-color:#0b3fbb;color:#fff}
.workspace-shell .button.primary:hover,.avp-gestion-operation .button-primary:hover {background:#092f8e;color:white}
.workspace-shell .card-link:hover {border-color:#7798c5}
.workspace-shell footer {color:#4e647b}
.workspace-shell .trip-cover {border-radius:14px 14px 0 0}
.workspace-shell .trip-hero {border-radius:19px 5px 19px 5px}
.workspace-shell .expedient-tabs,.workspace-shell .tabs {scrollbar-width:thin;scrollbar-color:#95adc8 transparent}
@media(max-width:600px) {
  .workspace-shell .page-heading {align-items:flex-start}
  .workspace-shell .topbar {gap:9px;min-height:60px;padding-inline:12px}
  .workspace-shell .user-menu {min-width:0}
  .workspace-shell .user-menu > span:not(.avatar) {overflow-wrap:anywhere}
  .workspace-shell .topbar :is(.text-button,.icon-button) {min-height:44px}
  .workspace-shell .card-header {gap:10px;flex-wrap:wrap}
}
