:root {
  --oglobo-radius: 14px;
  --oglobo-header-height: 72px;
  --oglobo-ink: #172033;
  --oglobo-muted: #667085;
  --oglobo-line: #e7eaf0;
  --oglobo-surface: #ffffff;
  --oglobo-bg: #f5f7fb;
  --oglobo-primary: #206bc4;
}
* { box-sizing: border-box; }
html { background: var(--oglobo-bg); }
body { min-height: 100vh; background: var(--oglobo-bg); color: var(--oglobo-ink); }
.card { border-radius: var(--oglobo-radius); }
.table td, .table th { vertical-align: middle; }
.btn-list form { margin: 0; }
.page-header { margin-top: 1.25rem; }
.page-title { letter-spacing: -.025em; }
.oglobo-page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
}
.oglobo-header,
.oglobo-content-wrapper { width: 100%; }
.oglobo-header-inner,
.oglobo-content-container {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.oglobo-content-wrapper { min-height: calc(100vh - var(--oglobo-header-height)); }
.oglobo-content-wrapper .page-body { padding-top: 1.35rem; padding-bottom: 2rem; }

/* Top navigation */
.oglobo-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(98,105,118,.14);
  box-shadow: 0 3px 18px rgba(24,36,51,.045);
}
.oglobo-header-inner { min-height: var(--oglobo-header-height); }
.oglobo-header-main {
  min-height: var(--oglobo-header-height);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 1rem;
}
.oglobo-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: var(--oglobo-ink);
  white-space: nowrap;
}
.oglobo-brand:hover { color: var(--oglobo-primary); }
.oglobo-brand-icon {
  display: none;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24,36,51,.12);
}
.oglobo-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.oglobo-login-logo {
  display: inline-block;
  height: 74px;
  width: auto;
  max-width: min(100%, 290px);
  object-fit: contain;
}

.oglobo-main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .25rem;
  min-width: 0;
}
.oglobo-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-height: 42px;
  padding: .55rem .72rem;
  border-radius: 11px;
  color: #536072;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.oglobo-nav-link:hover { color: var(--oglobo-primary); background: #f0f6fd; }
.oglobo-nav-link.active { color: var(--oglobo-primary); background: #eaf3fd; box-shadow: inset 0 0 0 1px rgba(32,107,196,.08); }
.oglobo-nav-link svg { flex: 0 0 auto; }

.oglobo-account { justify-self: end; }
.oglobo-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem .5rem .35rem .35rem;
  border-radius: 12px;
  color: var(--oglobo-ink);
  text-decoration: none;
  transition: background-color .15s ease;
}
.oglobo-account-trigger:hover { color: var(--oglobo-ink); background: #f4f6f9; }
.oglobo-account-copy { display: grid; line-height: 1.14; max-width: 170px; min-width: 0; }
.oglobo-account-copy strong { font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oglobo-account-copy small { margin-top: .16rem; color: var(--oglobo-muted); font-size: .7rem; }
.oglobo-account-menu { min-width: 235px; border: 1px solid var(--oglobo-line); border-radius: 12px; box-shadow: 0 14px 35px rgba(24,36,51,.13); overflow: hidden; }
.oglobo-avatar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 !important;
  line-height: 1 !important;
  letter-spacing: .02em;
  text-align: center;
  background: linear-gradient(135deg,#206bc4,#6f42c1);
  color: #fff !important;
  font-weight: 800;
  border: 0;
  border-radius: 50% !important;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(32,107,196,.18);
  user-select: none;
}
.avatar-sm.oglobo-avatar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  font-size: .76rem;
}
.avatar-xl.oglobo-avatar {
  width: 76px !important;
  height: 76px !important;
  min-width: 76px;
  min-height: 76px;
  font-size: 1.18rem;
}

/* Existing module surfaces */
.filter-card,.user-table-card,.profile-summary-card { border:0; box-shadow:0 6px 24px rgba(24,36,51,.06); }
.user-table-card .table>thead th { font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; color:#667085; background:#f8fafc; }
.security-panel { padding:1rem; border:1px solid #e6e9ef; border-radius:12px; background:#fafbfc; }
.security-icon { font-size:1.15rem; }
.password-rules { display:flex; flex-wrap:wrap; gap:.45rem; }
.password-rules span { font-size:.75rem; padding:.28rem .55rem; border-radius:999px; background:#f1f3f5; color:#667085; transition:.15s; }
.password-rules span.is-valid { background:#e6f7ed; color:#18794e; }
.dropdown-menu .dropdown-item svg { vertical-align:-3px; }


/* Mobile navigation trigger: hidden on desktop, visible only on phones */
.oglobo-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border: 1px solid var(--oglobo-line);
  border-radius: 11px;
  background: #fff;
  color: var(--oglobo-ink);
  box-shadow: none;
  cursor: pointer;
}
.oglobo-menu-toggle:hover { background:#f6f8fb; color:var(--oglobo-primary); }
.oglobo-menu-toggle:focus-visible { outline:3px solid rgba(32,107,196,.18); outline-offset:2px; }

/* Account dropdown */
.oglobo-account-menu {
  padding: .45rem;
  border-radius: 14px;
  background: #fff;
}
.oglobo-account-menu .oglobo-account-menu-head {
  margin: -.1rem -.1rem .35rem;
  padding: .65rem .7rem .75rem;
  border-bottom: 1px solid var(--oglobo-line);
}
.oglobo-account-menu .dropdown-item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100%;
  border-radius: 9px;
  color: #344054;
  text-decoration: none;
}
.oglobo-account-menu .dropdown-item:hover,
.oglobo-account-menu .dropdown-item:focus { background:#f5f7fa !important; color:var(--oglobo-ink); }
.oglobo-account-menu .dropdown-item.text-danger { color:#d63939 !important; }
.oglobo-account-menu .dropdown-item.text-danger:hover { background:#fff1f1 !important; }

/* Table action menu */
.user-table-card .dropdown-menu form { margin:0; }
.user-table-card .dropdown-menu .dropdown-item {
  width:100%;
  border:0 !important;
  outline:0;
  background:transparent !important;
  box-shadow:none !important;
  color:#344054;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.user-table-card .dropdown-menu .dropdown-item:hover,
.user-table-card .dropdown-menu .dropdown-item:focus { background:#f5f7fa !important; color:var(--oglobo-ink); }
.user-table-card .dropdown-menu .dropdown-item.text-danger { color:#d63939 !important; }
.user-table-card .dropdown-menu .dropdown-item.text-danger:hover { background:#fff1f1 !important; }
.user-table-card .dropdown-menu .dropdown-item.text-success { color:#2b8a3e !important; }
.user-table-card .dropdown-menu .dropdown-item.text-success:hover { background:#edf9f0 !important; }

/* Profile workspace */
.oglobo-profile-grid { align-items:flex-start; }
.oglobo-profile-main { min-width:0; }
.oglobo-profile-card {
  border:1px solid rgba(98,105,118,.12);
  box-shadow:0 8px 28px rgba(24,36,51,.055);
  overflow:hidden;
}
.oglobo-profile-card .card-header {
  min-height:auto;
  padding:1.15rem 1.25rem;
  background:#fff;
  border-bottom:1px solid var(--oglobo-line);
}
.oglobo-section-heading { display:flex; align-items:flex-start; gap:.85rem; }
.oglobo-section-icon {
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  border-radius:11px;
  background:#eef5fd;
  color:var(--oglobo-primary);
}
.oglobo-section-heading h3 { margin:0; font-size:1rem; line-height:1.3; }
.oglobo-section-heading p { margin:.2rem 0 0; color:var(--oglobo-muted); font-size:.8rem; }
.oglobo-profile-card .card-body { padding:1.3rem 1.25rem; }
.oglobo-profile-card .card-footer {
  padding:.85rem 1.25rem;
  background:#fbfcfe;
  border-top:1px solid var(--oglobo-line);
  display:flex;
  justify-content:flex-end;
}
.oglobo-profile-card .form-label { margin-bottom:.4rem; font-weight:600; color:#344054; }
.oglobo-profile-card .form-control,
.oglobo-profile-card .form-select {
  display:block;
  width:100%;
  min-height:42px;
  border-radius:10px;
}
.oglobo-profile-card .input-icon { width:100%; }
.oglobo-profile-card .input-icon .form-control { width:100%; }
.oglobo-profile-card .btn { min-height:40px; border-radius:9px; }
.oglobo-profile-help {
  display:flex;
  align-items:flex-start;
  gap:.55rem;
  padding:.75rem .85rem;
  border-radius:10px;
  background:#f7f9fc;
  color:#667085;
  font-size:.78rem;
  line-height:1.45;
}
.oglobo-password-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}
.oglobo-password-rules-wrap { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--oglobo-line); }
.profile-summary-card { overflow:hidden; }
.profile-summary-card .profile-role-pill {
  display:inline-flex;
  align-items:center;
  padding:.35rem .65rem;
  border-radius:999px;
  background:#eef5fd;
  color:#206bc4;
  font-size:.75rem;
  font-weight:700;
}
.profile-summary-card .profile-meta-list { display:grid; gap:.8rem; }
.profile-summary-card .profile-meta-row { display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; }
.profile-summary-card .profile-meta-label { color:var(--oglobo-muted); font-size:.78rem; }
.profile-summary-card .profile-meta-value { color:var(--oglobo-ink); font-size:.78rem; font-weight:700; text-align:right; word-break:break-word; }
@media (max-width: 991.98px) {
  .oglobo-profile-summary { position:static !important; }
  .oglobo-password-grid { grid-template-columns:1fr; }
}
@media (max-width: 575.98px) {
  .oglobo-profile-card .card-header,
  .oglobo-profile-card .card-body,
  .oglobo-profile-card .card-footer { padding-left:1rem; padding-right:1rem; }
  .oglobo-profile-card .card-footer .btn { width:100%; }
}

/* Tablet: keep top bar, allow menu to wrap compactly */
@media (max-width: 1199.98px) and (min-width: 768px) {
  :root { --oglobo-header-height: 66px; }
  .oglobo-header-main { gap: .65rem; }
  .oglobo-brand-logo { height: 32px; max-width: 150px; }
  .oglobo-brand-icon { display:none; }
  .oglobo-main-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: .25rem 0; }
  .oglobo-main-nav::-webkit-scrollbar { display: none; }
  .oglobo-nav-link { padding: .5rem .58rem; font-size: .81rem; }
  .oglobo-nav-link svg { width: 18px; height: 18px; }
  .oglobo-account-copy { display: none; }
}

/* Phone: brand/account stay in top row; navigation opens underneath */
@media (max-width: 767.98px) {
  :root { --oglobo-header-height: 62px; }
  .oglobo-header { position: sticky; }
  .oglobo-header-inner { min-height: var(--oglobo-header-height); padding-left: 12px; padding-right: 12px; }
  .oglobo-content-container { padding-left: 12px; padding-right: 12px; }
  .oglobo-header-main {
    min-height: var(--oglobo-header-height);
    grid-template-columns: auto 1fr auto auto;
    gap: .5rem;
  }
  .oglobo-brand { grid-column: 1; gap: .55rem; }
  .oglobo-brand-icon { display:none; }
  .oglobo-brand-logo { height: 28px; max-width: 120px; }
  .oglobo-menu-toggle { display: inline-flex; grid-column: 3; }
  .oglobo-account { grid-column: 4; }
  .oglobo-account-copy, .oglobo-account-trigger > svg:last-child { display: none; }
  .oglobo-account-trigger { padding: .2rem; }
  .oglobo-main-nav {
    display: none;
    grid-column: 1 / -1;
    width: calc(100% + 24px);
    margin-left: -12px;
    padding: .45rem 12px .8rem;
    border-top: 1px solid var(--oglobo-line);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
  }
  .oglobo-main-nav.is-open { display: flex; }
  .oglobo-nav-link { width: 100%; min-height: 44px; padding: .65rem .75rem; font-size: .9rem; }
  .oglobo-content-wrapper .page-body { padding-top: 1rem; }
  .page-header { margin-top: .75rem; }
  .card-body { padding: 1rem; }
  .table-responsive { border-radius: 12px; }
}

@media (max-width: 420px) {
  .oglobo-brand-logo { display: none; }
  .oglobo-brand-icon { display:block; width:34px; height:34px; flex-basis:34px; }
  .oglobo-header-main { grid-template-columns: auto 1fr auto auto; }
}

.oglobo-account-trigger .oglobo-avatar { margin-right: .05rem; }
.user-table-card .oglobo-avatar { margin-right: .9rem; }


/* Refined account/profile presentation */
.oglobo-account-trigger .oglobo-avatar { margin-right: .05rem; }
.oglobo-account-copy { min-width: 0; }
.oglobo-account-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  padding: .62rem .9rem;
}
.oglobo-account-menu .dropdown-item svg {
  flex: 0 0 auto;
  margin-right: 0 !important;
}
.profile-summary-card .card-body:first-child {
  padding: 2rem 1.35rem 1.6rem;
}
.profile-summary-card .oglobo-avatar {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem !important;
}
.profile-summary-card h3 {
  margin-top: .1rem;
  line-height: 1.25;
}
.profile-summary-card .badge {
  padding: .42rem .7rem;
  border-radius: 999px;
  font-weight: 600;
}
.profile-summary-card .card-body.border-top {
  padding: 1rem 1.2rem 1.1rem;
}
.profile-summary-card .card-body.border-top .d-flex {
  align-items: flex-start;
  gap: .75rem;
}
.profile-summary-card .card-body.border-top strong {
  text-align: right;
  margin-left: auto;
  word-break: break-word;
}
.user-table-card .oglobo-avatar {
  margin-right: .9rem !important;
}
@media (min-width: 992px) {
  .oglobo-profile-summary {
    position: sticky;
    top: calc(var(--oglobo-header-height) + 1.25rem);
  }
}
@media (max-width: 767.98px) {
  .avatar-sm.oglobo-avatar {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    min-height: 34px;
    font-size: .72rem;
  }
  .avatar-xl.oglobo-avatar {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px;
    min-height: 68px;
    font-size: 1.05rem;
  }
  .profile-summary-card .card-body:first-child {
    padding: 1.5rem 1rem;
  }
}

/* Floating table action dropdowns: avoid clipping inside .table-responsive */
.user-table-card .dropdown-menu {
  min-width: 230px;
  padding: .4rem;
  border-radius: 12px;
}
.user-table-card .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: .55rem .7rem;
  border-radius: 8px;
}
.user-table-card .dropdown-item svg { flex: 0 0 auto; margin-right: 0 !important; }
.user-table-card .dropdown-divider { height: 1px; margin: .35rem .2rem; background: rgba(98,105,118,.14); }
.dropdown-menu.oglobo-dropdown-floating {
  position: fixed !important;
  z-index: 2000 !important;
  margin: 0 !important;
}
@media (max-width: 575.98px) {
  .user-table-card .dropdown-menu { min-width: 210px; }
}


/* Modal actions */
.oglobo-modal-action { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; }
.oglobo-modal-action svg { flex:0 0 auto; }
.modal-footer .btn-outline-danger { color:#d63939; border-color:#d63939; }
.modal-footer .btn-outline-danger:hover { background:#d63939; color:#fff; }


/* Authentication */
.oglobo-auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(32,107,196,.10), transparent 30rem),
    radial-gradient(circle at 88% 92%, rgba(111,66,193,.07), transparent 28rem),
    var(--oglobo-bg);
  color: var(--oglobo-ink);
}
.oglobo-login-shell {
  min-height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.oglobo-login-panel {
  width: min(100%, 440px);
}
.oglobo-login-branding {
  text-align: center;
  margin-bottom: 22px;
}
.oglobo-login-branding .oglobo-login-logo {
  height: auto;
  width: min(100%, 250px);
  max-height: 88px;
  margin: 0 auto 10px;
}
.oglobo-login-kicker {
  color: var(--oglobo-primary);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .11em;
}
.oglobo-login-subtitle {
  max-width: 360px;
  margin: 7px auto 0;
  color: var(--oglobo-muted);
  font-size: .9rem;
  line-height: 1.5;
}
.oglobo-login-card {
  border: 1px solid rgba(98,105,118,.14);
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(24,36,51,.12);
  overflow: hidden;
  background: rgba(255,255,255,.98);
}
.oglobo-login-card .card-body {
  padding: 30px;
}
.oglobo-login-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}
.oglobo-login-heading h1 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.025em;
}
.oglobo-login-heading p {
  margin: 3px 0 0;
  color: var(--oglobo-muted);
  font-size: .86rem;
}
.oglobo-login-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #eaf3fd;
  color: var(--oglobo-primary);
}
.oglobo-login-form {
  display: grid;
  gap: 18px;
}
.oglobo-login-form .form-label {
  margin-bottom: 7px;
  font-size: .83rem;
  font-weight: 700;
}
.oglobo-field-with-icon {
  position: relative;
}
.oglobo-field-with-icon .form-control {
  min-height: 48px;
  padding-left: 43px;
  border-radius: 11px;
  border-color: #d8dee8;
  font-size: .92rem;
  background: #fff;
}
.oglobo-field-with-icon .form-control:focus {
  border-color: rgba(32,107,196,.58);
  box-shadow: 0 0 0 .2rem rgba(32,107,196,.10);
}
.oglobo-field-icon {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #7a8798;
  pointer-events: none;
}
.oglobo-password-field .form-control {
  padding-right: 48px;
}
.oglobo-password-toggle {
  position: absolute;
  z-index: 3;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6d7888;
  cursor: pointer;
}
.oglobo-password-toggle:hover,
.oglobo-password-toggle:focus-visible {
  background: #f0f4f8;
  color: var(--oglobo-primary);
  outline: none;
}
.oglobo-password-toggle .oglobo-eye-hide { display: none; }
.oglobo-password-toggle.is-visible .oglobo-eye-show { display: none; }
.oglobo-password-toggle.is-visible .oglobo-eye-hide { display: block; }
.oglobo-login-submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 11px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(32,107,196,.20);
}
.oglobo-login-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  border-radius: 11px;
}
.oglobo-login-alert svg { flex: 0 0 auto; margin-top: 1px; }
.oglobo-login-footer {
  margin-top: 18px;
  text-align: center;
  color: #8a94a3;
  font-size: .76rem;
}
@media (max-width: 575.98px) {
  .oglobo-login-shell { padding: 22px 14px; }
  .oglobo-login-card .card-body { padding: 24px 20px; }
  .oglobo-login-branding { margin-bottom: 18px; }
  .oglobo-login-branding .oglobo-login-logo { width: min(100%, 220px); }
  .oglobo-login-subtitle { font-size: .84rem; }
  .oglobo-login-heading { margin-bottom: 22px; }
}

/* Reusable action dropdowns for responsive tables */
.oglobo-table-actions {
  min-width: 220px;
  padding: .45rem;
  border: 1px solid var(--oglobo-line);
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(24,36,51,.14);
}
.oglobo-table-actions form { margin: 0; }
.oglobo-table-actions .dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .62rem .7rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--oglobo-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.oglobo-table-actions .dropdown-item:hover,
.oglobo-table-actions .dropdown-item:focus { background: #f5f7fa; }
.oglobo-table-actions .dropdown-item.text-danger:hover { background: #fff1f1; }
.oglobo-table-actions .dropdown-item.text-success:hover { background: #edf9f0; }
.oglobo-table-actions .dropdown-divider { margin: .35rem 0; }

/* Agency module */
.oglobo-icon-avatar,
.oglobo-agency-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.oglobo-agency-avatar {
  background: #eaf3fd;
  color: var(--oglobo-primary);
  font-weight: 800;
  letter-spacing: .02em;
}
@media (max-width: 767.98px) {
  .oglobo-icon-avatar, .oglobo-agency-avatar { width: 38px; height: 38px; }
}

/* Polished modal close button — visible and consistent across all modules */
.modal-header .btn-close.oglobo-modal-close,
.modal-header .btn-close {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin: 0 0 0 1rem;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #f4f6f9 !important;
  opacity: 1;
  transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.modal-header .btn-close::before,
.modal-header .btn-close::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #748094;
  transform-origin: center;
  transition: background-color .15s ease;
}
.modal-header .btn-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal-header .btn-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal-header .btn-close:hover,
.modal-header .btn-close:focus-visible {
  background: #fff0f1 !important;
  box-shadow: 0 0 0 3px rgba(214,57,57,.08);
  outline: none;
}
.modal-header .btn-close:hover::before,
.modal-header .btn-close:hover::after,
.modal-header .btn-close:focus-visible::before,
.modal-header .btn-close:focus-visible::after { background: #d63939; }
.modal-header .btn-close:active { transform: scale(.94); }

/* Agency modal */
.oglobo-agency-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(24,36,51,.22);
}
.oglobo-agency-modal-header {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--oglobo-line);
  background: linear-gradient(180deg,#fff,#fbfcfe);
}
.oglobo-modal-heading-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 13px;
  background: #eaf3fd;
  color: var(--oglobo-primary);
}
.oglobo-agency-modal-body { padding: 1.25rem 1.35rem 1.35rem; background: #f8fafc; }
.oglobo-form-section {
  padding: 1rem;
  margin-bottom: .9rem;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24,36,51,.025);
}
.oglobo-form-section-heading {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .9rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #eef1f5;
}
.oglobo-form-section-heading > div { display: grid; min-width: 0; }
.oglobo-form-section-heading strong { font-size: .9rem; color: var(--oglobo-ink); }
.oglobo-form-section-heading small { margin-top: .12rem; color: var(--oglobo-muted); font-size: .75rem; }
.oglobo-form-section-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #f0f6fd;
  color: var(--oglobo-primary);
}
.oglobo-agency-modal .form-control,
.oglobo-agency-modal .form-select { min-height: 42px; border-radius: 9px; }
.oglobo-agency-modal .form-label { margin-bottom: .4rem; font-weight: 700; font-size: .8rem; }
.oglobo-agency-modal-footer { padding: .9rem 1.35rem; border-top: 1px solid var(--oglobo-line); background: #fff; }

.oglobo-security-pending {
  font-weight: 700;
  border: 1px solid rgba(214,57,57,.12);
}

@media (max-width: 767.98px) {
  .oglobo-agency-modal .modal-dialog { margin: .65rem; }
  .oglobo-agency-modal-header { padding: 1rem; align-items: flex-start; }
  .oglobo-agency-modal-body { padding: .9rem; }
  .oglobo-form-section { padding: .9rem; }
  .oglobo-agency-modal-footer { padding: .8rem .9rem; gap: .6rem; }
  .oglobo-modal-heading-icon { width: 40px; height: 40px; flex-basis: 40px; }
}


/* v0.7.2 — modal close placement + stronger pending security state */
.oglobo-security-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .38rem .62rem;
  border: 1px solid #d63939 !important;
  border-radius: 7px;
  background: #d63939 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 2px 7px rgba(214,57,57,.18);
}

.modal-content {
  position: relative;
}
.modal-header {
  position: relative;
  padding-right: 4.5rem !important;
}
.modal-header .btn-close,
.modal-header .btn-close.oglobo-modal-close {
  position: absolute !important;
  top: 14px;
  right: 14px;
  left: auto;
  margin: 0 !important;
  z-index: 3;
}
.modal-header .btn-close:hover,
.modal-header .btn-close:focus-visible {
  background: #fff0f1 !important;
}

@media (max-width: 767.98px) {
  .modal-header {
    padding-right: 4rem !important;
  }
  .modal-header .btn-close,
  .modal-header .btn-close.oglobo-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* v0.8.0 Workforce / scheduling / attendance */
.oglobo-metric-card {
  border: 0;
  box-shadow: 0 6px 24px rgba(24,36,51,.055);
}
.oglobo-clock-card {
  border: 0;
  box-shadow: 0 12px 34px rgba(24,36,51,.08);
  overflow: hidden;
}
.oglobo-clock-time {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.055em;
  color: var(--oglobo-ink);
}
.oglobo-clock-time span {
  font-size: 1rem;
  letter-spacing: .04em;
  color: var(--oglobo-muted);
}
.oglobo-clock-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.oglobo-clock-status.is-in { background:#e8f7ee; color:#16834a; }
.oglobo-clock-status.is-out { background:#f1f3f5; color:#667085; }
.oglobo-camera-test video {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  background: #0f172a;
}
#employee-compensation-wrap .oglobo-form-section { background:#fbfdff; }

@media (max-width: 767.98px) {
  .oglobo-clock-time { font-size: 3.5rem; }
  .oglobo-clock-card .card-body { padding: 1.2rem !important; }
}

/* Keep the expanded workforce navigation usable on medium desktop widths. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .oglobo-header-main { gap: .55rem; }
  .oglobo-brand-logo { height: 30px; max-width: 135px; }
  .oglobo-main-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .oglobo-main-nav::-webkit-scrollbar { display: none; }
  .oglobo-nav-link { padding: .5rem .52rem; font-size: .78rem; }
  .oglobo-nav-link svg { width: 17px; height: 17px; }
  .oglobo-account-copy { max-width: 125px; }
}

/* v0.8.2 — attendance, breaks, weekly schedule and timesheet review */
.oglobo-attendance-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
  gap: 1rem;
}
.oglobo-attendance-main,
.oglobo-shift-panel {
  border: 1px solid #e5eaf0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24,36,51,.065);
}
.oglobo-attendance-main { padding: clamp(1.25rem, 2.2vw, 2rem); }
.oglobo-shift-panel { padding: 1.5rem; }
.oglobo-attendance-topline { display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; }
.oglobo-attendance-state { margin-top:.2rem; font-size:1.45rem; font-weight:800; letter-spacing:-.025em; }
.oglobo-live-clock { margin:1.6rem 0 1.2rem; }
.oglobo-live-clock-time { font-size:clamp(3.4rem,7vw,6.3rem); line-height:.92; font-weight:800; letter-spacing:-.065em; color:var(--oglobo-ink); }
.oglobo-live-clock-period { margin-left:.55rem; font-size:1rem; font-weight:800; color:var(--oglobo-muted); }
.oglobo-live-clock-date { margin-top:.65rem; color:var(--oglobo-muted); font-size:.9rem; }
.oglobo-punch-meta { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin-bottom:.9rem; color:var(--oglobo-muted); }
.oglobo-punch-meta strong { color:var(--oglobo-ink); }
.oglobo-primary-punch { min-height:56px; border-radius:13px; font-size:1rem; font-weight:800; }
.oglobo-clock-message { padding:.85rem 1rem; border-radius:12px; font-size:.88rem; }
.oglobo-clock-message.is-ready { background:#edf7ff; color:#1765ad; }
.oglobo-clock-message.is-waiting { background:#fff7e6; color:#9a6700; }
.oglobo-break-actions { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.oglobo-break-actions form,.oglobo-break-actions button { width:100%; }
.oglobo-break-actions button { min-height:46px; border-radius:11px; font-weight:700; }
.oglobo-action-icon { margin-right:.4rem; }
.oglobo-break-active { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; border:1px solid #f1c46a; border-radius:14px; background:#fff8e8; color:#8a5a00; }
.oglobo-break-active .btn { white-space:nowrap; }
.oglobo-panel-eyebrow { font-size:.72rem; text-transform:uppercase; letter-spacing:.07em; font-weight:800; color:var(--oglobo-muted); }
.oglobo-shift-time { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin-top:1rem; font-size:clamp(1.45rem,3vw,2.1rem); font-weight:800; letter-spacing:-.035em; }
.oglobo-shift-time span { color:#a1a8b3; font-weight:500; }
.oglobo-shift-facts { display:grid; gap:.7rem; margin-top:1.25rem; }
.oglobo-shift-facts span,.oglobo-policy-mini { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem .85rem; border-radius:10px; background:#f7f9fc; color:var(--oglobo-muted); font-size:.82rem; }
.oglobo-shift-facts strong,.oglobo-policy-mini strong { color:var(--oglobo-ink); }
.oglobo-policy-mini { margin-top:1rem; border-top:1px solid #eef1f5; background:transparent; padding:.85rem 0 0; border-radius:0; }
.oglobo-empty-shift { display:grid; place-items:center; min-height:190px; text-align:center; color:var(--oglobo-muted); }
.oglobo-empty-shift-icon { display:grid; place-items:center; width:54px; height:54px; border-radius:50%; background:#f1f4f8; font-size:2rem; color:#8791a1; }
.oglobo-empty-shift strong { margin-top:.5rem; color:var(--oglobo-ink); }
.oglobo-empty-shift p { max-width:300px; margin:.25rem auto 0; font-size:.85rem; }
.oglobo-repeat-schedule { padding:1rem; border:1px solid #dfe6ef; border-radius:14px; background:#f9fbfd; }
.oglobo-weekday-picker { display:flex; flex-wrap:wrap; gap:.5rem; transition:opacity .15s ease; }
.oglobo-weekday-picker.is-disabled { opacity:.45; }
.oglobo-weekday-chip { position:relative; cursor:pointer; }
.oglobo-weekday-chip input { position:absolute; opacity:0; pointer-events:none; }
.oglobo-weekday-chip span { display:inline-flex; align-items:center; justify-content:center; min-width:48px; min-height:38px; padding:.45rem .65rem; border:1px solid #dfe4eb; border-radius:10px; background:#fff; color:#536072; font-size:.8rem; font-weight:700; transition:.15s ease; }
.oglobo-weekday-chip input:checked + span { border-color:#206bc4; background:#eaf3fd; color:#206bc4; box-shadow:inset 0 0 0 1px rgba(32,107,196,.08); }
.oglobo-weekday-chip input:focus-visible + span { outline:3px solid rgba(32,107,196,.15); }

@media (max-width: 991.98px) {
  .oglobo-attendance-hero { grid-template-columns:1fr; }
}
@media (max-width: 575.98px) {
  .oglobo-attendance-main,.oglobo-shift-panel { border-radius:15px; }
  .oglobo-attendance-main { padding:1rem; }
  .oglobo-shift-panel { padding:1rem; }
  .oglobo-live-clock-time { font-size:3.55rem; }
  .oglobo-break-actions { grid-template-columns:1fr; }
  .oglobo-break-active { align-items:stretch; flex-direction:column; }
  .oglobo-break-active .btn { width:100%; }
  .oglobo-weekday-chip span { min-width:44px; }
}


/* v0.8.3 — card alignment, profile summary actions, detail modals */
.oglobo-metric-card,
.oglobo-attendance-main,
.oglobo-shift-panel,
.profile-summary-card,
.oglobo-profile-card,
.card.user-table-card { overflow:hidden; }

.oglobo-metric-card .card-body {
  min-height: 92px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: .95rem 1rem;
}
.oglobo-metric-card .text-secondary.small,
.oglobo-metric-card .text-uppercase.small { line-height:1.25; }
.oglobo-metric-card .display-6 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-top: .45rem !important;
  white-space: nowrap;
}

.profile-summary-card .card-footer {
  display:grid !important;
  grid-template-columns:1fr;
  gap:.75rem;
  padding:1rem;
}
.profile-summary-card .card-footer .btn {
  width:100%;
  min-width:0;
  white-space:normal;
  justify-content:center;
}
.profile-summary-card .card-body,
.profile-summary-card .card-footer { min-width:0; }
.profile-summary-card .profile-meta-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:.75rem;
  align-items:start;
}
.profile-summary-card .profile-meta-label,
.profile-summary-card .profile-meta-value {
  line-height:1.4;
  overflow-wrap:anywhere;
}
.profile-summary-card .profile-meta-value { text-align:right; }

.oglobo-card-title-wrap,
.card-header > div,
.card-body > div { min-width:0; }
.oglobo-attendance-state { line-height:1.15; }
.oglobo-live-clock-date { line-height:1.35; }
.oglobo-policy-mini { align-items:flex-start; }

.oglobo-detail-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.oglobo-detail-item {
  padding:.9rem 1rem;
  border:1px solid var(--oglobo-line);
  border-radius:12px;
  background:#fbfcfe;
  min-width:0;
}
.oglobo-detail-item.full { grid-column:1 / -1; }
.oglobo-detail-label {
  display:block;
  margin-bottom:.28rem;
  font-size:.74rem;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:800;
  color:var(--oglobo-muted);
}
.oglobo-detail-value {
  display:block;
  font-size:.92rem;
  line-height:1.45;
  color:var(--oglobo-ink);
  overflow-wrap:anywhere;
}

@media (max-width: 767.98px) {
  .oglobo-detail-grid { grid-template-columns:1fr; }
  .profile-summary-card .profile-meta-row { grid-template-columns:1fr; gap:.2rem; }
  .profile-summary-card .profile-meta-value { text-align:left; }
}


/* v0.8.4 — Clock layout + account shortcuts */
.oglobo-metrics-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}
.oglobo-attendance-secondary-grid {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(320px,.9fr);
  gap:1rem;
  align-items:stretch;
}
.oglobo-history-card,
.oglobo-face-card,
.oglobo-review-card {
  min-width:0;
  border:1px solid rgba(98,105,118,.12);
  box-shadow:0 8px 28px rgba(24,36,51,.05);
  overflow:hidden;
}
.oglobo-history-card .card-header,
.oglobo-face-card .card-header,
.oglobo-review-card .card-header {
  min-height:auto;
  padding:1rem 1.15rem;
  background:#fff;
}
.oglobo-face-card .card-body { padding:1.1rem 1.15rem; }
.oglobo-biometric-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.8rem .9rem;
  margin-bottom:1rem;
  border-radius:10px;
  background:#f7f9fc;
  font-size:.82rem;
}
.oglobo-review-heading {
  width:100%;
  min-width:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.oglobo-review-heading .badge { flex:0 0 auto; }
.oglobo-account-menu .dropdown-divider { margin:.35rem .55rem; }

@media (max-width: 991.98px) {
  .oglobo-metrics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .oglobo-attendance-secondary-grid { grid-template-columns:1fr; }
}
@media (max-width: 575.98px) {
  .oglobo-metrics-grid { gap:.75rem; }
  .oglobo-metric-card .card-body { min-height:84px; padding:.8rem .85rem; }
  .oglobo-review-heading { flex-direction:column; align-items:flex-start; }
}


/* v0.8.5 — simplified manual timeclock while face verification is pending */
.oglobo-clock-action-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem;
}
.oglobo-clock-action-grid form { min-width:0; }
.oglobo-clock-action {
  width:100%;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:.8rem;
  padding:.75rem 1rem;
  border-radius:13px;
  text-align:left;
  white-space:normal;
}
.oglobo-clock-action > span:last-child { display:grid; line-height:1.18; min-width:0; }
.oglobo-clock-action strong { font-size:.92rem; }
.oglobo-clock-action small { margin-top:.18rem; font-size:.72rem; opacity:.8; font-weight:500; }
.oglobo-clock-action-icon {
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 34px;
  border-radius:10px;
  background:rgba(255,255,255,.2);
  font-size:1rem;
}
.oglobo-clock-action.btn-outline-warning .oglobo-clock-action-icon { background:#fff4d6; }
.oglobo-lunch-active {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.8rem 1rem;
  border:1px solid #f0c36a;
  border-radius:12px;
  background:#fff8e8;
  color:#855c00;
}
.oglobo-lunch-active span { font-size:.8rem; }
.oglobo-history-card { overflow:hidden; }
@media (max-width:575.98px) {
  .oglobo-clock-action-grid { grid-template-columns:1fr; }
  .oglobo-clock-action { min-height:58px; }
  .oglobo-lunch-active { align-items:flex-start; flex-direction:column; gap:.2rem; }
}

/* v0.9.0 — clients, senders, recipients and dual addresses */
.oglobo-client-tabs {
  display:flex;
  align-items:center;
  gap:.35rem;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:.8rem;
}
.oglobo-client-tabs::-webkit-scrollbar { display:none; }
.oglobo-client-tab {
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  min-height:42px;
  padding:.55rem .85rem;
  border-radius:10px;
  color:#536072;
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}
.oglobo-client-tab:hover { background:#f4f7fb; color:var(--oglobo-primary); }
.oglobo-client-tab.active { background:#eaf3fd; color:var(--oglobo-primary); }
.oglobo-client-tab span {
  display:inline-flex;
  min-width:22px;
  height:22px;
  align-items:center;
  justify-content:center;
  padding:0 .35rem;
  border-radius:999px;
  background:rgba(32,107,196,.10);
  font-size:.72rem;
}
.oglobo-client-stats .card-body { min-height:88px; }
.oglobo-address-preview { max-width:360px; line-height:1.45; color:#475467; }
.oglobo-two-addresses {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.oglobo-address-card {
  min-width:0;
  padding:1rem;
  border:1px solid #e3e8ef;
  border-radius:14px;
  background:#fbfcfe;
}
.oglobo-address-card .form-control,
.oglobo-address-card .form-select { min-height:42px; }
.oglobo-address-title { color:var(--oglobo-ink); font-size:.95rem; }
.oglobo-address-hint { margin-top:.15rem; }
.oglobo-address-badge { min-width:28px; justify-content:center; }
@media (max-width: 991.98px) {
  .oglobo-two-addresses { grid-template-columns:1fr; }
}
@media (max-width: 575.98px) {
  .oglobo-client-stats .col-6 { width:100%; }
  .oglobo-client-tabs { margin-left:-.35rem; margin-right:-.35rem; }
  .oglobo-address-card { padding:.85rem; }
}

/* v0.9.1 — improved client modal + progressive second address */
.oglobo-client-modal .modal-content {
  border:0;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(24,36,51,.18);
}
.oglobo-client-modal-header {
  padding:1.15rem 1.35rem;
  background:#fff;
  border-bottom:1px solid var(--oglobo-line);
}
.oglobo-client-modal-body {
  padding:1.25rem 1.35rem 1.4rem;
  background:#f7f9fc;
}
.oglobo-client-modal-footer {
  padding:.9rem 1.35rem;
  background:#fff;
  border-top:1px solid var(--oglobo-line);
}
.oglobo-client-contact-section,
.oglobo-client-address-section {
  padding:1rem;
  border:1px solid #e3e8ef;
  border-radius:14px;
  background:#fff;
}
.oglobo-client-address-section { margin-top:1rem; }
.oglobo-client-section-heading {
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  min-width:0;
}
.oglobo-client-section-heading > div { min-width:0; }
.oglobo-client-section-icon {
  width:36px;
  height:36px;
  flex:0 0 36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#eef5fd;
  color:var(--oglobo-primary);
}
.oglobo-address-stack {
  display:grid;
  gap:.9rem;
  margin-top:1rem;
}
.oglobo-address-card {
  padding:1rem;
  border:1px solid #e3e8ef;
  border-radius:13px;
  background:#fbfcfe;
}
.oglobo-address-card-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.oglobo-address-number {
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:9px;
  background:#eaf3fd;
  color:#206bc4;
  font-size:.82rem;
  font-weight:800;
}
.oglobo-add-address-wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  padding:.15rem 0;
}
.oglobo-add-address {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  border-style:dashed;
}
.oglobo-secondary-address {
  border-color:#b9d4f2;
  background:#fafdff;
  animation:ogloboAddressReveal .16s ease-out;
}
@keyframes ogloboAddressReveal {
  from { opacity:0; transform:translateY(-4px); }
  to { opacity:1; transform:translateY(0); }
}
.oglobo-client-modal .form-label {
  margin-bottom:.4rem;
  font-size:.8rem;
  font-weight:700;
  color:#344054;
}
.oglobo-client-modal .form-control,
.oglobo-client-modal .form-select {
  min-height:42px;
  border-radius:9px;
}
@media (max-width:767.98px) {
  .oglobo-client-modal .modal-dialog { margin:.65rem; }
  .oglobo-client-modal-header,
  .oglobo-client-modal-body,
  .oglobo-client-modal-footer { padding-left:.9rem; padding-right:.9rem; }
  .oglobo-client-contact-section,
  .oglobo-client-address-section,
  .oglobo-address-card { padding:.85rem; }
  .oglobo-address-card-header { align-items:flex-start; }
  .oglobo-add-address-wrap { align-items:stretch; flex-direction:column; text-align:center; }
  .oglobo-add-address { width:100%; }
}


/* v0.9.2 — visual identity for senders/recipients + searchable initial sender */
.oglobo-client-tab { gap:.5rem; }
.oglobo-client-tab svg { flex:0 0 auto; }
.oglobo-client-tab-sender.active { background:#eaf3fd; color:#206bc4; }
.oglobo-client-tab-recipient.active { background:#f1edff; color:#7048c8; }
.oglobo-client-tab-recipient.active span { background:#e3d9ff; color:#5f3dc4; }
.oglobo-recipient-button {
  background:#7048c8;
  border-color:#7048c8;
  color:#fff;
}
.oglobo-recipient-button:hover,
.oglobo-recipient-button:focus { background:#5f3dc4; border-color:#5f3dc4; color:#fff; }
.oglobo-sender-avatar { background:#eaf3fd !important; color:#206bc4 !important; }
.oglobo-recipient-avatar { background:#f1edff !important; color:#7048c8 !important; }
.oglobo-sender-icon { background:#eaf3fd !important; color:#206bc4 !important; }
.oglobo-recipient-icon,
.oglobo-recipient-section-icon { background:#f1edff !important; color:#7048c8 !important; }
.oglobo-sender-modal .oglobo-client-contact-section { border-left:3px solid #206bc4; }
.oglobo-recipient-modal .oglobo-client-contact-section { border-left:3px solid #7048c8; }
.oglobo-client-search-results {
  z-index:1080;
  top:calc(100% + 6px);
  max-height:280px;
  overflow:auto;
  border-radius:12px;
  border:1px solid #dfe5ed;
  background:#fff;
}
.oglobo-sender-search-item { padding:.7rem .8rem; }
.oglobo-mini-sender-icon {
  width:30px;height:30px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 30px;background:#eaf3fd;color:#206bc4;font-weight:900;
}
.oglobo-selected-sender {
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:.8rem .9rem;border:1px solid #b9d6f6;border-radius:12px;background:#f3f8fe;color:#344054;
}
.oglobo-selected-sender > div { min-width:0; }
.oglobo-phone-prefix { min-width:52px; justify-content:center; font-weight:800; color:#344054; background:#f7f9fc; }
@media (max-width:575.98px){
  .oglobo-selected-sender { align-items:flex-start; }
}


/* v0.9.3 — OGlobo recipient destinations and phone formatting */
#recipient-country-control { font-weight:700; }
#recipient-phone-prefix { min-width:64px; }
.oglobo-recipient-modal .oglobo-recipient-address-country { border-color:#d9d2f4; }
.oglobo-recipient-modal .oglobo-recipient-address-country:focus { border-color:#7048c8; box-shadow:0 0 0 .25rem rgba(112,72,200,.1); }

/* v0.9.4 — global error states */
.oglobo-error-state {
  width:min(100%,720px);
  margin:clamp(2rem,8vh,6rem) auto;
  padding:clamp(1.5rem,4vw,3rem);
  text-align:center;
  border:1px solid var(--oglobo-line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 48px rgba(24,36,51,.08);
}
.oglobo-error-code { font-size:.78rem; font-weight:800; letter-spacing:.14em; color:var(--oglobo-muted); }
.oglobo-error-state h1 { margin:.45rem 0 .6rem; font-size:clamp(1.5rem,3vw,2.2rem); }
.oglobo-error-state p { max-width:560px; margin:0 auto; color:var(--oglobo-muted); }
.oglobo-error-reference { display:inline-block; margin-top:1rem; padding:.55rem .8rem; border-radius:9px; background:#f5f7fa; color:#536072; font-size:.8rem; }

/* v0.10.0 — Tarifario avanzado */
.oglobo-rate-tabs{display:flex;gap:.75rem;flex-wrap:wrap}.oglobo-rate-tab{display:flex;align-items:center;gap:.75rem;min-width:230px;padding:.85rem 1rem;border:1px solid #dfe6ef;border-radius:14px;background:#fff;color:#344054;text-decoration:none;box-shadow:0 5px 18px rgba(24,36,51,.035)}.oglobo-rate-tab:hover{border-color:#b8cee8;color:#1d5fa9}.oglobo-rate-tab.active{border-color:#206bc4;background:#eef6ff;color:#174f8b}.oglobo-rate-tab-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f1f4f8;font-weight:900;font-size:1.05rem}.oglobo-rate-tab.active .oglobo-rate-tab-icon{background:#dcecff;color:#206bc4}.oglobo-rate-tab span:last-child{display:flex;flex-direction:column}.oglobo-rate-tab small{color:#7a8596;font-size:.75rem;margin-top:.12rem}
.oglobo-rate-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.oglobo-rate-metric{border:0;box-shadow:0 7px 24px rgba(24,36,51,.055)}.oglobo-rate-metric .card-body{display:flex;align-items:center;gap:.85rem;min-height:92px}.oglobo-rate-metric .metric-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;font-size:1.05rem;font-weight:900;flex:0 0 44px}.metric-icon.all{background:#eef5fd;color:#206bc4}.metric-icon.active{background:#eaf8ef;color:#16834a}.metric-icon.sea{background:#e9f5ff;color:#1677b8}.metric-icon.air{background:#f2ecff;color:#6f42c1}
.oglobo-rate-price{font-size:1.2rem;font-weight:800;letter-spacing:-.025em;white-space:nowrap}.oglobo-rate-price small{font-size:.72rem;font-weight:700;margin-left:.22rem}.oglobo-rate-price.agency{color:#b45f06}.oglobo-rate-price.public{color:#206bc4}
.oglobo-rate-form-section{padding:1rem 1.1rem;border:1px solid #e2e8f0;border-radius:15px;background:#fbfcfe}.oglobo-rate-section-title{display:flex;align-items:center;gap:.75rem}.oglobo-rate-section-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf3fd;color:#206bc4;font-size:.75rem;font-weight:900;flex:0 0 34px}.oglobo-rate-section-title>div{display:flex;flex-direction:column}.oglobo-rate-section-title small{font-size:.75rem;color:#7a8596;margin-top:.08rem}
.oglobo-service-picker{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.oglobo-service-picker label{position:relative;cursor:pointer}.oglobo-service-picker input{position:absolute;opacity:0;pointer-events:none}.oglobo-service-picker span{display:flex;flex-direction:column;gap:.12rem;min-height:84px;padding:.85rem 1rem;border:1px solid #dfe6ef;border-radius:12px;background:#fff;transition:.15s}.oglobo-service-picker b{font-size:1rem}.oglobo-service-picker small{color:#7a8596}.oglobo-service-picker input:checked+span{border-color:#206bc4;background:#eef6ff;box-shadow:inset 0 0 0 1px rgba(32,107,196,.08);color:#174f8b}.oglobo-price-panel{height:100%;padding:1rem;border-radius:14px;border:1px solid #e0e6ed}.oglobo-price-panel.agency{background:#fffaf2;border-color:#f0d5ae}.oglobo-price-panel.public{background:#f4f9ff;border-color:#cbdff5}.price-panel-head{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start;margin-bottom:.85rem}.price-panel-head span{font-weight:800}.price-panel-head small{color:#7a8596;text-align:right}.oglobo-search-results{z-index:1080;max-height:260px;overflow:auto}.oglobo-selected-agency{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .7rem;border-radius:9px;background:#fff4e6;color:#a95b07;font-size:.82rem;font-weight:700}
.oglobo-credit-rule{display:flex;gap:.8rem;align-items:flex-start;padding:1rem;border-radius:13px;background:#fff8e8;border:1px solid #f0d18c}.oglobo-credit-rule .rule-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f59f00;color:white;font-weight:900;flex:0 0 34px}.oglobo-credit-rule p{margin:.2rem 0 0;color:#6d5a2f;font-size:.84rem;line-height:1.45}
@media(max-width:991.98px){.oglobo-rate-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.oglobo-rate-tabs{display:grid;grid-template-columns:1fr}.oglobo-rate-tab{min-width:0}.oglobo-rate-metrics{grid-template-columns:1fr 1fr;gap:.65rem}.oglobo-rate-metric .card-body{padding:.8rem}.oglobo-rate-metric .metric-icon{width:36px;height:36px;flex-basis:36px}.oglobo-service-picker{grid-template-columns:1fr}.price-panel-head{flex-direction:column}.price-panel-head small{text-align:left}}

/* v0.10.1 — tarifario por zona/agencia y wizard */
.oglobo-rate-wizard .modal-body{min-height:440px;padding:1.25rem 1.5rem}.oglobo-wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;padding:1rem 1.5rem;border-bottom:1px solid var(--oglobo-line);background:#fbfcfe}.oglobo-wizard-steps button{border:0;background:transparent;color:#7a8493;font-weight:700;text-align:left;display:flex;align-items:center;gap:.55rem}.oglobo-wizard-steps button span{width:28px;height:28px;border-radius:50%;display:inline-grid;place-items:center;background:#edf1f5}.oglobo-wizard-steps button.active{color:var(--oglobo-primary)}.oglobo-wizard-steps button.active span{background:#eaf3fd;color:var(--oglobo-primary)}.oglobo-wizard-page{display:none}.oglobo-wizard-page.active{display:block}.oglobo-scope-picker{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.oglobo-scope-picker label{cursor:pointer}.oglobo-scope-picker input{position:absolute;opacity:0}.oglobo-scope-picker span{display:block;border:1px solid #dfe5ec;border-radius:12px;padding:1rem;background:#fff}.oglobo-scope-picker strong,.oglobo-scope-picker small{display:block}.oglobo-scope-picker small{color:var(--oglobo-muted);margin-top:.25rem}.oglobo-scope-picker input:checked+span{border-color:#206bc4;background:#eef6ff;box-shadow:inset 0 0 0 1px rgba(32,107,196,.08)}.oglobo-rate-item{border:1px solid #e1e7ef;border-radius:14px;padding:1rem;margin-bottom:.9rem;background:#fbfcfe}.oglobo-rate-item-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.oglobo-review-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}.oglobo-review-grid>div{padding:1rem;border:1px solid #e1e7ef;border-radius:12px;background:#fbfcfe}.oglobo-review-grid span,.oglobo-review-grid strong{display:block}.oglobo-review-grid span{font-size:.72rem;text-transform:uppercase;color:var(--oglobo-muted);font-weight:800;margin-bottom:.25rem}@media(max-width:767.98px){.oglobo-rate-wizard .modal-body{min-height:0;padding:1rem}.oglobo-wizard-steps{padding:.75rem 1rem}.oglobo-wizard-steps button{font-size:.76rem}.oglobo-wizard-steps button span{width:24px;height:24px}.oglobo-scope-picker,.oglobo-review-grid{grid-template-columns:1fr}}

/* v0.11.0 — Tarifario dashboard + Inventario/Kardex */
.oglobo-rate-hero{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:.25rem 0}.oglobo-rate-create{min-height:42px;padding:.65rem 1rem;border-radius:10px;font-weight:700}.oglobo-rate-nav{display:flex;gap:.75rem;flex-wrap:wrap}.oglobo-rate-nav-item{display:flex;align-items:center;gap:.75rem;min-width:235px;padding:.85rem 1rem;border:1px solid #e2e8f0;border-radius:14px;background:#fff;color:var(--oglobo-ink);text-decoration:none;box-shadow:0 5px 18px rgba(24,36,51,.035)}.oglobo-rate-nav-item:hover{border-color:#bfd5ef;color:var(--oglobo-primary)}.oglobo-rate-nav-item.active{border-color:#206bc4;background:#f2f7fd;box-shadow:0 8px 22px rgba(32,107,196,.08)}.oglobo-rate-nav-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#eef5fd;color:#206bc4;font-size:1.1rem;font-weight:800}.oglobo-rate-nav-item strong,.oglobo-rate-nav-item small{display:block}.oglobo-rate-nav-item small{margin-top:.1rem;color:var(--oglobo-muted);font-size:.75rem}
.oglobo-rate-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.oglobo-rate-stat{display:flex;align-items:center;gap:.9rem;min-width:0;padding:1rem 1.05rem;border:1px solid #e6ebf1;border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(24,36,51,.04)}.rate-stat-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;font-weight:800}.rate-stat-icon.is-primary{background:#eaf3fd;color:#206bc4}.rate-stat-icon.is-green{background:#eaf8ef;color:#16834a}.rate-stat-icon.is-blue{background:#edf7ff;color:#1765ad}.rate-stat-icon.is-purple{background:#f3edff;color:#6f42c1}.oglobo-rate-stat div{min-width:0}.oglobo-rate-stat small,.oglobo-rate-stat span{display:block;color:var(--oglobo-muted);font-size:.74rem}.oglobo-rate-stat strong{display:block;font-size:1.65rem;line-height:1.15;margin:.08rem 0;font-weight:800;letter-spacing:-.035em}.oglobo-service-summary{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:1rem}.oglobo-service-summary-card,.oglobo-rate-priority-note{display:flex;align-items:center;gap:.9rem;padding:1rem 1.05rem;border-radius:15px;border:1px solid #e6ebf1;background:#fff}.oglobo-service-summary-card.maritime{border-left:4px solid #0ca678}.oglobo-service-summary-card.air{border-left:4px solid #4299e1}.service-summary-icon{font-size:1.35rem}.oglobo-service-summary-card small,.oglobo-service-summary-card span,.oglobo-rate-priority-note small{display:block;color:var(--oglobo-muted);font-size:.75rem}.oglobo-service-summary-card strong{display:block;margin:.08rem 0}.oglobo-rate-priority-note{background:#fbfcfe}.oglobo-rate-priority-note>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#eef5fd;color:#206bc4;font-weight:800}.oglobo-rate-priority-note strong{display:block;font-size:.85rem}.oglobo-rate-filter-card{border:1px solid #e6ebf1;box-shadow:0 6px 22px rgba(24,36,51,.035)}.oglobo-rate-filters{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(3,minmax(150px,.8fr)) auto;gap:.75rem;align-items:end}.oglobo-rate-filters .form-label{font-weight:700;font-size:.78rem}.rate-filter-actions{display:flex;gap:.5rem}.oglobo-rate-list-card{border:1px solid #e6ebf1;box-shadow:0 10px 28px rgba(24,36,51,.045);overflow:hidden}.oglobo-rate-list-card .card-header{background:#fff}.oglobo-scope-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%}.oglobo-scope-dot.zone{background:#206bc4}.oglobo-scope-dot.agency{background:#6f42c1}.oglobo-service-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.38rem .6rem;border-radius:999px;font-size:.76rem;font-weight:700}.oglobo-service-badge.maritime{background:#e7f8f1;color:#087f5b}.oglobo-service-badge.air{background:#eaf4ff;color:#1765ad}.oglobo-price-stack{display:grid;gap:.22rem}.oglobo-price-stack span{display:flex;gap:.4rem;align-items:baseline}.oglobo-price-stack small{min-width:48px;color:var(--oglobo-muted);font-size:.7rem}.oglobo-price-stack strong{font-size:.78rem}.oglobo-empty-state{display:grid;place-items:center;text-align:center;gap:.2rem;padding:2.5rem 1rem;color:var(--oglobo-muted)}.oglobo-empty-state>span{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#f3f6fa;font-size:1.35rem}.oglobo-empty-state strong{margin-top:.35rem;color:var(--oglobo-ink)}.oglobo-empty-state small{font-size:.78rem}

.oglobo-inventory-toolbar{display:flex;align-items:end;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border:1px solid #e5eaf0;border-radius:15px;background:#fff;box-shadow:0 7px 24px rgba(24,36,51,.04)}.oglobo-inventory-office{display:flex;align-items:center;gap:.8rem;min-width:0}.oglobo-inventory-office-icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#eef5fd;color:#206bc4;font-size:1.2rem}.oglobo-inventory-office small,.oglobo-inventory-office strong{display:block}.oglobo-inventory-office small{color:var(--oglobo-muted);font-size:.72rem}.oglobo-inventory-office strong{font-size:.95rem}.oglobo-office-switcher{width:min(100%,360px)}.oglobo-inventory-tabs{display:flex;gap:.75rem;flex-wrap:wrap}.oglobo-inventory-tab{display:flex;align-items:center;gap:.7rem;min-width:210px;padding:.8rem .95rem;border:1px solid #e3e8ee;border-radius:13px;background:#fff;text-decoration:none;color:var(--oglobo-ink)}.oglobo-inventory-tab>span{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f3f6fa;color:#536072}.oglobo-inventory-tab strong,.oglobo-inventory-tab small{display:block}.oglobo-inventory-tab small{color:var(--oglobo-muted);font-size:.72rem}.oglobo-inventory-tab.active{border-color:#206bc4;background:#f3f8fe}.oglobo-inventory-tab.active>span{background:#e4f0fd;color:#206bc4}.oglobo-inventory-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.oglobo-inventory-metric{display:flex;align-items:center;gap:.85rem;padding:1rem;border:1px solid #e5eaf0;border-radius:15px;background:#fff;box-shadow:0 7px 22px rgba(24,36,51,.04)}.metric-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;font-weight:800}.metric-icon.is-green{background:#eaf8ef;color:#16834a}.metric-icon.is-blue{background:#edf7ff;color:#1765ad}.metric-icon.is-orange{background:#fff4e6;color:#d97706}.metric-icon.is-purple{background:#f3edff;color:#6f42c1}.oglobo-inventory-metric small,.oglobo-inventory-metric span{display:block;color:var(--oglobo-muted);font-size:.72rem}.oglobo-inventory-metric strong{display:block;font-size:1.55rem;line-height:1.1;margin:.08rem 0;font-weight:800}.oglobo-inventory-card{border:1px solid #e5eaf0;box-shadow:0 9px 28px rgba(24,36,51,.045);overflow:hidden}.oglobo-inventory-card .card-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff}.oglobo-inline-search{display:flex;gap:.5rem;width:min(100%,420px)}.oglobo-transfer-selection{display:flex;gap:.5rem;flex-wrap:wrap;min-height:52px;padding:.7rem;border:1px dashed #cfd8e3;border-radius:12px;background:#fbfcfe}.oglobo-transfer-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.45rem .55rem;border:1px solid #dce4ed;border-radius:10px;background:#fff}.oglobo-transfer-chip strong{font-size:.8rem}.oglobo-transfer-chip small{color:var(--oglobo-muted);font-size:.7rem}.oglobo-transfer-chip button{border:0;background:transparent;color:#d63939;font-size:1rem;line-height:1;padding:0 .1rem}

@media(max-width:1199.98px){.oglobo-rate-summary,.oglobo-inventory-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-rate-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-search{grid-column:1/-1}.rate-filter-actions{grid-column:1/-1}.oglobo-service-summary{grid-template-columns:1fr 1fr}.oglobo-rate-priority-note{grid-column:1/-1}}
@media(max-width:767.98px){.oglobo-rate-hero{align-items:stretch;flex-direction:column}.oglobo-rate-create{width:100%}.oglobo-rate-nav-item,.oglobo-inventory-tab{width:100%;min-width:0}.oglobo-rate-summary,.oglobo-inventory-metrics,.oglobo-service-summary,.oglobo-rate-filters{grid-template-columns:1fr}.filter-search,.rate-filter-actions,.oglobo-rate-priority-note{grid-column:auto}.rate-filter-actions .btn{flex:1}.oglobo-inventory-toolbar,.oglobo-inventory-card .card-header{align-items:stretch;flex-direction:column}.oglobo-office-switcher,.oglobo-inline-search{width:100%}.oglobo-price-stack span{display:block}}


/* v0.11.1 — Tarifario / Inventario iconography and table alignment */
.rate-stat-icon svg,
.service-summary-icon svg,
.oglobo-rate-nav-icon svg,
.metric-icon svg,
.oglobo-inventory-tab>span svg,
.oglobo-empty-state>span svg,
.input-icon-addon svg {
  display:block;
  width:20px;
  height:20px;
  stroke:currentColor;
}
.service-summary-icon,
.rate-stat-icon,
.metric-icon,
.oglobo-inventory-tab>span,
.oglobo-rate-nav-icon {
  line-height:1;
}
.service-summary-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  background:#f3f6fa;
  color:#536072;
}
.oglobo-service-summary-card.maritime .service-summary-icon { background:#e7f8f1; color:#087f5b; }
.oglobo-service-summary-card.air .service-summary-icon { background:#eaf4ff; color:#1765ad; }

.oglobo-rate-stat,
.oglobo-inventory-metric {
  min-height:98px;
  align-items:center;
}
.oglobo-rate-stat>div,
.oglobo-inventory-metric>div {
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
}
.oglobo-rate-stat small,
.oglobo-rate-stat span,
.oglobo-inventory-metric small,
.oglobo-inventory-metric span {
  line-height:1.25;
}
.oglobo-rate-stat strong,
.oglobo-inventory-metric strong {
  line-height:1;
  margin:.25rem 0 .2rem;
}

.oglobo-rate-list-card .card-header,
.oglobo-inventory-card .card-header {
  min-height:76px;
  padding:1rem 1.15rem;
}
.oglobo-rate-list-card .card-title,
.oglobo-inventory-card .card-title {
  line-height:1.25;
}

.oglobo-rate-list-card table,
.oglobo-inventory-card table {
  width:100%;
  table-layout:auto;
  margin:0;
}
.oglobo-rate-list-card .table > :not(caption) > * > *,
.oglobo-inventory-card .table > :not(caption) > * > * {
  vertical-align:middle !important;
  padding:.8rem .9rem;
  line-height:1.35;
}
.oglobo-rate-list-card thead th,
.oglobo-inventory-card thead th {
  height:44px;
  padding-top:.7rem !important;
  padding-bottom:.7rem !important;
  vertical-align:middle !important;
  white-space:nowrap;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.025em;
  color:#667085;
  background:#f8fafc;
  border-bottom:1px solid #e5eaf0;
}
.oglobo-rate-list-card tbody td,
.oglobo-inventory-card tbody td {
  min-height:56px;
  font-size:.82rem;
  color:#344054;
}
.oglobo-rate-list-card tbody tr,
.oglobo-inventory-card tbody tr {
  height:58px;
}
.oglobo-rate-list-card tbody tr:hover,
.oglobo-inventory-card tbody tr:hover {
  background:#fbfcfe;
}
.oglobo-rate-list-card .fw-bold,
.oglobo-rate-list-card strong,
.oglobo-inventory-card strong {
  line-height:1.3;
}
.oglobo-rate-list-card .text-secondary.small,
.oglobo-inventory-card .text-secondary.small {
  line-height:1.3;
}
.oglobo-rate-list-card td:last-child,
.oglobo-inventory-card td:last-child {
  white-space:nowrap;
}
.oglobo-empty-state {
  min-height:190px;
  padding:2rem 1rem;
}
.oglobo-empty-state>span {
  color:#536072;
}

/* Table header and empty rows must span cleanly without visual drift */
.oglobo-rate-list-card .table-responsive,
.oglobo-inventory-card .table-responsive {
  overflow-x:auto;
  overflow-y:visible;
}
.oglobo-rate-list-card .table-responsive > .table,
.oglobo-inventory-card .table-responsive > .table {
  min-width:860px;
}

/* Inventory toolbar/search alignment */
.oglobo-inventory-card .card-header .oglobo-inline-search {
  align-self:center;
}
.oglobo-inline-search .form-control,
.oglobo-inline-search .btn {
  min-height:40px;
}

@media (max-width: 991.98px) {
  .oglobo-rate-list-card .table-responsive > .table,
  .oglobo-inventory-card .table-responsive > .table { min-width:760px; }
}
@media (max-width: 767.98px) {
  .oglobo-rate-stat,
  .oglobo-inventory-metric { min-height:92px; }
  .oglobo-rate-list-card .card-header,
  .oglobo-inventory-card .card-header { min-height:auto; }
}


.oglobo-rate-create,
.oglobo-modal-action { display:inline-flex; align-items:center; justify-content:center; gap:.45rem; }
.oglobo-rate-create svg,
.oglobo-modal-action svg { flex:0 0 auto; }
.oglobo-inventory-office-icon svg { display:block; width:22px; height:22px; }
.oglobo-service-choice-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#f3f6fa; color:#536072; margin-bottom:.45rem; }
.oglobo-service-choice-icon svg { width:20px; height:20px; }

/* Consistent alignment for all tables inside Tarifario, including credit */
body .oglobo-rate-list-card .card-table,
body .oglobo-inventory-card .card-table,
body .user-table-card .card-table {
  border-collapse:separate;
  border-spacing:0;
}
body .oglobo-rate-list-card .card-table thead tr,
body .oglobo-inventory-card .card-table thead tr {
  height:44px;
}
body .oglobo-rate-list-card .card-table tbody td,
body .oglobo-inventory-card .card-table tbody td {
  vertical-align:middle !important;
}


/* v0.12.0 — global quality, validation and accessibility pass */
:root {
  --oglobo-focus: rgba(32,107,196,.28);
  --oglobo-card-radius: 14px;
}

.btn, .form-control, .form-select, .input-group-text, .card, .modal-content {
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease, transform .15s ease;
}

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--oglobo-focus);
  outline-offset: 2px;
}

.form-control:focus,
.form-select:focus {
  border-color: #74a7df;
  box-shadow: 0 0 0 .2rem rgba(32,107,196,.10);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #d63939;
  box-shadow: 0 0 0 .16rem rgba(214,57,57,.07);
}

.invalid-feedback { font-weight: 600; }
.form-hint { line-height: 1.45; }

button[aria-busy="true"] {
  cursor: wait !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.card {
  border-color: rgba(98,105,118,.14);
  border-radius: var(--oglobo-card-radius);
}

.table-responsive {
  border-radius: 0 0 var(--oglobo-card-radius) var(--oglobo-card-radius);
}

.table.table-vcenter > :not(caption) > * > * {
  vertical-align: middle;
}

.table thead th {
  white-space: nowrap;
  letter-spacing: .025em;
}

.table tbody td {
  line-height: 1.4;
}

.alert {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(24,36,51,.035);
}

.modal-content {
  border: 1px solid rgba(98,105,118,.16);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(24,36,51,.18);
}

.modal-header,
.modal-footer {
  background: #fff;
}

.dropdown-menu {
  border-color: rgba(98,105,118,.16);
  box-shadow: 0 16px 42px rgba(24,36,51,.14);
}

.oglobo-account-menu form .dropdown-item {
  border: 0;
  background: transparent;
  text-align: left;
}

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

/* v0.12.1 — exact icon centering for Tarifario / Inventario */
.rate-stat-icon,
.service-summary-icon,
.metric-icon,
.oglobo-rate-nav-icon,
.oglobo-inventory-tab > span,
.oglobo-inventory-office-icon,
.oglobo-rate-priority-note > span,
.oglobo-empty-state > span,
.oglobo-service-choice-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  text-align: center !important;
  overflow: hidden;
}

.rate-stat-icon svg,
.service-summary-icon svg,
.metric-icon svg,
.oglobo-rate-nav-icon svg,
.oglobo-inventory-tab > span svg,
.oglobo-inventory-office-icon svg,
.oglobo-rate-priority-note > span svg,
.oglobo-empty-state > span svg,
.oglobo-service-choice-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  vertical-align: middle !important;
  flex: 0 0 20px !important;
  overflow: visible;
}

/* A touch more room for the main office/location icon while keeping exact centering. */
.oglobo-inventory-office-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  flex-basis: 22px !important;
}

/* Keep icon and text blocks optically centered on the same vertical axis. */
.oglobo-rate-stat,
.oglobo-service-summary-card,
.oglobo-inventory-metric,
.oglobo-rate-nav-item,
.oglobo-inventory-tab,
.oglobo-inventory-office {
  align-items: center !important;
}

/* v0.13.0 — Commercial rules: insurance, taxes and redistribution */
.oglobo-policy-hero {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.1rem 1.2rem;
  border:1px solid var(--oglobo-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 26px rgba(24,36,51,.05);
}
.oglobo-policy-hero h3 { margin:0 0 .25rem; font-size:1.05rem; }
.oglobo-policy-hero p { margin:0; max-width:850px; color:var(--oglobo-muted); font-size:.84rem; line-height:1.5; }
.oglobo-policy-icon {
  width:48px;height:48px;flex:0 0 48px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;line-height:0;
}
.oglobo-policy-icon svg { width:24px;height:24px;display:block;margin:0; }
.oglobo-policy-icon.insurance { background:#e9f7ef;color:#1c8c54; }
.oglobo-policy-icon.redistribution { background:#eef5fd;color:#206bc4; }
.oglobo-policy-hero .btn { white-space:nowrap; }
#ins-agency-results { top:calc(100% + 4px); }
#ins-agency-results .list-group-item { min-height:42px; }
#insurance-modal .oglobo-form-section { margin:0; }
@media(max-width:767.98px){
  .oglobo-policy-hero { align-items:flex-start; flex-wrap:wrap; padding:1rem; }
  .oglobo-policy-hero .btn { width:100%; margin-left:0 !important; }
}


/* v0.13.2 — commercial rules functional fixes */
.oglobo-commercial-help{border-radius:12px;padding:.8rem 1rem;font-size:.84rem;}
#insurance-form .form-control:required:invalid:not(:placeholder-shown),
#insurance-form .form-select:required:invalid{border-color:#d63939;}
.oglobo-policy-hero{min-width:0;}
.oglobo-policy-hero>div:nth-child(2){min-width:0;flex:1;}
@media(max-width:767.98px){.oglobo-policy-hero{align-items:stretch;flex-direction:column}.oglobo-policy-hero .ms-auto{margin-left:0!important;width:100%}}

/* v0.13.3 — distinguish navigation cards from informational cards */
.oglobo-rate-nav-item,
.oglobo-client-tab,
.oglobo-inventory-tab,
a.card.oglobo-action-card,
button.card.oglobo-action-card {
  position: relative;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}
.oglobo-rate-nav-item::after,
.oglobo-client-tab::after,
.oglobo-inventory-tab::after {
  content: '›';
  margin-left: auto;
  align-self: center;
  font-size: 1.2rem;
  line-height: 1;
  color: #98a2b3;
  font-weight: 800;
}
.oglobo-rate-nav-item:hover,
.oglobo-client-tab:hover,
.oglobo-inventory-tab:hover,
a.card.oglobo-action-card:hover,
button.card.oglobo-action-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(32,107,196,.10);
  border-color: rgba(32,107,196,.45);
}
.oglobo-rate-nav-item.active::after,
.oglobo-client-tab.active::after,
.oglobo-inventory-tab.active::after { color: var(--oglobo-primary); }

/* Informational KPI cards stay visually static and never look clickable. */
.oglobo-rate-stat,
.oglobo-service-summary-card,
.oglobo-rate-priority-note,
.oglobo-inventory-metric,
.oglobo-metric-card,
.oglobo-profile-summary,
.oglobo-policy-mini {
  cursor: default;
}
.oglobo-rate-stat:hover,
.oglobo-service-summary-card:hover,
.oglobo-inventory-metric:hover,
.oglobo-metric-card:hover {
  transform: none;
}

.oglobo-rate-price-legend {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem .75rem;
}
.oglobo-rate-price-legend span {
  display:inline-flex;
  align-items:center;
  gap:.25rem;
  padding:.32rem .55rem;
  border:1px solid #e3e8ee;
  border-radius:999px;
  background:#fff;
  color:#667085;
  font-size:.74rem;
}
.oglobo-rate-price-legend strong { color:#24324a; }

/* Multi-sender relationship selector on recipient form. */
.oglobo-sender-chip-list {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  min-height:0;
}
.oglobo-sender-chip {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  max-width:100%;
  padding:.45rem .55rem;
  border:1px solid #dce6f1;
  border-radius:10px;
  background:#f8fbff;
  color:#24324a;
}
.oglobo-sender-chip > div { min-width:0; }
.oglobo-sender-chip strong,
.oglobo-sender-chip small { display:block; }
.oglobo-sender-chip strong {
  max-width:240px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.8rem;
}
.oglobo-sender-chip small { color:#667085; font-size:.68rem; }
.oglobo-sender-chip button {
  width:24px;
  height:24px;
  display:inline-grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#d63939;
  font-size:1rem;
  line-height:1;
}
.oglobo-sender-chip button:hover { background:#fff0f1; }

@media (prefers-reduced-motion: reduce) {
  .oglobo-rate-nav-item,
  .oglobo-client-tab,
  .oglobo-inventory-tab,
  a.card.oglobo-action-card,
  button.card.oglobo-action-card { transition:none; }
}

/* v0.13.4 — commercial rules card typography/alignment refinement */
.oglobo-rate-nav-item,
.oglobo-policy-hero,
.oglobo-service-summary-card,
.oglobo-rate-priority-note,
.oglobo-inventory-tab,
.oglobo-inventory-metric,
.oglobo-rate-stat {
  min-width: 0;
}

.oglobo-rate-nav-item {
  min-height: 72px;
}
.oglobo-rate-nav-item > div,
.oglobo-service-summary-card > div,
.oglobo-inventory-tab > div,
.oglobo-inventory-metric > div,
.oglobo-rate-stat > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
}

.oglobo-rate-nav-item strong,
.oglobo-service-summary-card strong,
.oglobo-inventory-tab strong,
.oglobo-inventory-metric strong,
.oglobo-rate-stat strong,
.oglobo-policy-hero h3,
.oglobo-rate-priority-note strong {
  margin: 0;
  line-height: 1.18;
}

.oglobo-rate-nav-item small,
.oglobo-service-summary-card small,
.oglobo-service-summary-card span,
.oglobo-inventory-tab small,
.oglobo-inventory-metric small,
.oglobo-inventory-metric span,
.oglobo-rate-stat small,
.oglobo-rate-stat span,
.oglobo-rate-priority-note small {
  margin: .16rem 0 0;
  line-height: 1.3;
}

.oglobo-rate-nav-icon,
.oglobo-policy-icon,
.service-summary-icon,
.rate-stat-icon,
.metric-icon,
.oglobo-inventory-tab > span,
.oglobo-rate-priority-note > span {
  align-self: center;
}

.oglobo-rate-nav-item::after,
.oglobo-inventory-tab::after,
.oglobo-client-tab::after {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.oglobo-policy-hero {
  align-items: center;
}
.oglobo-policy-hero > div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}
.oglobo-policy-hero > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.oglobo-policy-hero h3,
.oglobo-policy-hero p {
  margin-left: 0;
  margin-right: 0;
}

/* Slightly tighten commercial rule content cards so headings and buttons share one baseline. */
#insurance-modal .modal-header > div,
#declared-modal .modal-header > div,
#tax-modal .modal-header > div,
#redis-modal .modal-header > div {
  min-width: 0;
}

@media (max-width: 767.98px) {
  .oglobo-rate-nav-item,
  .oglobo-inventory-tab {
    min-height: 0;
  }
  .oglobo-policy-hero {
    align-items: stretch;
  }
}

/* v0.13.5 — modern card system and commercial content alignment */
:root {
  --oglobo-shadow-card: 0 8px 26px rgba(24,36,51,.055);
  --oglobo-shadow-card-hover: 0 14px 34px rgba(24,36,51,.095);
  --oglobo-card-radius: 16px;
}

/* Modernize ordinary cards throughout the application without making them look clickable. */
.oglobo-page .card {
  border-color: #e5eaf0;
  border-radius: var(--oglobo-card-radius);
  box-shadow: var(--oglobo-shadow-card);
  background: #fff;
}
.oglobo-page .card > .card-header:first-child {
  border-top-left-radius: var(--oglobo-card-radius);
  border-top-right-radius: var(--oglobo-card-radius);
}
.oglobo-page .card > .card-footer:last-child {
  border-bottom-left-radius: var(--oglobo-card-radius);
  border-bottom-right-radius: var(--oglobo-card-radius);
}

/* Navigational/action cards are visually distinct from informational cards. */
.oglobo-rate-nav-item,
.oglobo-client-tab,
.oglobo-inventory-tab,
a.oglobo-action-card,
button.oglobo-action-card {
  box-shadow: 0 5px 18px rgba(24,36,51,.045);
  border-width: 1px;
  overflow: hidden;
}
.oglobo-rate-nav-item:hover,
.oglobo-client-tab:hover,
.oglobo-inventory-tab:hover,
a.oglobo-action-card:hover,
button.oglobo-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--oglobo-shadow-card-hover);
}

/* Commercial module identity colors. */
.oglobo-rate-nav-item.is-rates .oglobo-rate-nav-icon { background:#eaf3fd; color:#206bc4; }
.oglobo-rate-nav-item.is-credit .oglobo-rate-nav-icon { background:#fff4e6; color:#d97706; }
.oglobo-rate-nav-item.is-insurance .oglobo-rate-nav-icon { background:#eaf8ef; color:#16834a; }
.oglobo-rate-nav-item.is-tax .oglobo-rate-nav-icon { background:#eef2ff; color:#4f46e5; }
.oglobo-rate-nav-item.is-redistribution .oglobo-rate-nav-icon { background:#f3edff; color:#7c3aed; }
.oglobo-rate-nav-item.is-rates.active { border-color:#206bc4; background:linear-gradient(180deg,#f7fbff,#eef6ff); }
.oglobo-rate-nav-item.is-credit.active { border-color:#d97706; background:linear-gradient(180deg,#fffdf8,#fff7e8); }
.oglobo-rate-nav-item.is-insurance.active { border-color:#16834a; background:linear-gradient(180deg,#f8fffb,#eefaf3); }
.oglobo-rate-nav-item.is-tax.active { border-color:#4f46e5; background:linear-gradient(180deg,#fafaff,#f2f3ff); }
.oglobo-rate-nav-item.is-redistribution.active { border-color:#7c3aed; background:linear-gradient(180deg,#fcfaff,#f7f1ff); }

/* Content cards: consistent title/subtitle/button alignment and table spacing. */
.oglobo-content-card {
  position: relative;
  overflow: hidden;
}
.oglobo-content-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:#dbe3ec;
  z-index:1;
}
.oglobo-content-card.oglobo-accent-insurance::before { background:#20a464; }
.oglobo-content-card.oglobo-accent-declared::before { background:#206bc4; }
.oglobo-content-card.oglobo-accent-tax::before { background:#4f46e5; }
.oglobo-content-card.oglobo-accent-redistribution::before { background:#7c3aed; }
.oglobo-content-card.oglobo-accent-audit::before { background:#94a3b8; }

.oglobo-content-card > .card-header {
  min-height: 78px;
  padding: 1.05rem 1.15rem;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:1rem;
  background:linear-gradient(180deg,#fff,#fbfcfe);
  border-bottom:1px solid #e8edf3;
}
.oglobo-content-card > .card-header > div {
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:.22rem;
}
.oglobo-content-card .card-title {
  margin:0 !important;
  line-height:1.2;
  font-size:1.02rem;
  font-weight:750;
  color:#172033;
}
.oglobo-content-card .card-header .text-secondary {
  margin:0;
  line-height:1.35;
}
.oglobo-content-card .card-header .btn {
  flex:0 0 auto;
  align-self:center;
  min-height:36px;
}

.oglobo-content-card .table-responsive {
  margin:0;
}
.oglobo-content-card .table {
  margin-bottom:0;
}
.oglobo-content-card .table thead th {
  padding:.72rem 1rem;
  vertical-align:middle;
  line-height:1.2;
  font-size:.71rem;
  font-weight:700;
  letter-spacing:.02em;
  color:#64748b;
  background:#f8fafc;
  border-bottom-color:#e4eaf1;
  white-space:nowrap;
}
.oglobo-content-card .table tbody td {
  padding:.82rem 1rem;
  vertical-align:middle;
  line-height:1.35;
}
.oglobo-content-card .table tbody tr {
  transition:background-color .14s ease;
}
.oglobo-content-card .table tbody tr:hover {
  background:#fbfdff;
}
.oglobo-content-card .table td > strong,
.oglobo-content-card .table td > .fw-semibold {
  line-height:1.25;
}

/* Informational cards get depth but never a pointer/hover lift. */
.oglobo-rate-stat,
.oglobo-service-summary-card,
.oglobo-rate-priority-note,
.oglobo-inventory-metric,
.oglobo-metric-card,
.oglobo-policy-mini {
  border-color:#e6ebf1;
  box-shadow:0 6px 20px rgba(24,36,51,.04);
  transition:border-color .16s ease, box-shadow .16s ease;
}
.oglobo-rate-stat:hover,
.oglobo-service-summary-card:hover,
.oglobo-inventory-metric:hover,
.oglobo-metric-card:hover {
  box-shadow:0 6px 20px rgba(24,36,51,.04);
}

/* Make the insurance/redistribution hero blocks feel intentional and aligned. */
.oglobo-policy-hero {
  border-radius:var(--oglobo-card-radius);
  box-shadow:var(--oglobo-shadow-card);
  padding:1.15rem 1.25rem;
}
.oglobo-policy-hero h3 { font-size:1rem; font-weight:750; }
.oglobo-policy-hero p { line-height:1.45; }

/* Cleaner audit empty-state rows. */
.oglobo-accent-audit tbody td[colspan] {
  padding:1rem 1.15rem !important;
  background:#fbfcfe;
}

/* Refine module tables globally without changing business logic. */
.user-table-card,
.oglobo-inventory-card,
.oglobo-rate-list-card {
  overflow:hidden;
}
.user-table-card .table-vcenter > :not(caption) > * > *,
.oglobo-inventory-card .table-vcenter > :not(caption) > * > *,
.oglobo-rate-list-card .table-vcenter > :not(caption) > * > * {
  vertical-align:middle;
}

@media (max-width: 767.98px) {
  .oglobo-content-card > .card-header {
    min-height:0;
    padding:.9rem 1rem;
    align-items:stretch !important;
    flex-direction:column;
  }
  .oglobo-content-card .card-header .btn {
    width:100%;
  }
  .oglobo-content-card .table thead th,
  .oglobo-content-card .table tbody td {
    padding:.72rem .8rem;
  }
}

/* v0.13.6 — Global modern modal system */
.modal .modal-content.oglobo-modal-modern {
  --oglobo-modal-accent: #206bc4;
  --oglobo-modal-soft: #eef5fd;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(98,105,118,.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(24,36,51,.20), 0 8px 24px rgba(24,36,51,.08);
}
.modal .modal-content.oglobo-modal-modern::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--oglobo-modal-accent);
  z-index: 5;
}
.modal .oglobo-modal-modern .modal-header {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 82px;
  padding: 1.1rem 4.25rem 1.05rem 1.2rem !important;
  border-bottom: 1px solid #e8edf3;
  background: linear-gradient(180deg, color-mix(in srgb, var(--oglobo-modal-soft) 55%, white), #fff 92%);
}
.modal .oglobo-modal-modern .modal-header > .oglobo-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 13px;
  background: var(--oglobo-modal-soft);
  color: var(--oglobo-modal-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--oglobo-modal-accent) 18%, transparent);
  line-height: 0;
}
.modal .oglobo-modal-modern .modal-header > .oglobo-modal-icon svg {
  width: 23px;
  height: 23px;
  display: block;
  stroke: currentColor;
}
.modal .oglobo-modal-modern .modal-header > div:not(.oglobo-modal-icon),
.modal .oglobo-modal-modern .modal-header > .oglobo-modal-heading {
  min-width: 0;
  flex: 1 1 auto;
}
.modal .oglobo-modal-modern .page-pretitle {
  margin-bottom: .2rem;
  color: var(--oglobo-modal-accent);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .07em;
}
.modal .oglobo-modal-modern .modal-title {
  margin: 0;
  line-height: 1.2;
  font-size: 1.05rem;
  font-weight: 800;
  color: #182433;
}
.modal .oglobo-modal-modern .modal-title + .text-secondary,
.modal .oglobo-modal-modern .modal-header .text-secondary.small {
  margin-top: .25rem;
  line-height: 1.35;
}
.modal .oglobo-modal-modern .modal-body {
  padding: 1.25rem;
  background: #fff;
}
.modal .oglobo-modal-modern .modal-footer {
  min-height: 68px;
  padding: .9rem 1.2rem;
  border-top: 1px solid #e8edf3;
  background: #fbfcfe;
  gap: .65rem;
}
.modal .oglobo-modal-modern .modal-footer .btn {
  min-height: 40px;
  border-radius: 9px;
  font-weight: 700;
}
.modal .oglobo-modal-modern .btn-close {
  top: 18px !important;
  right: 18px !important;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: #f5f7fa;
  opacity: .78;
}
.modal .oglobo-modal-modern .btn-close:hover,
.modal .oglobo-modal-modern .btn-close:focus-visible {
  background-color: #fff0f1 !important;
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(214,57,57,.10);
}
.modal .oglobo-modal-modern .form-label {
  margin-bottom: .38rem;
  font-size: .78rem;
  font-weight: 700;
  color: #344054;
}
.modal .oglobo-modal-modern .form-control,
.modal .oglobo-modal-modern .form-select,
.modal .oglobo-modal-modern .input-group-text {
  min-height: 40px;
  border-color: #dce3eb;
  border-radius: 9px;
}
.modal .oglobo-modal-modern .form-control:focus,
.modal .oglobo-modal-modern .form-select:focus {
  border-color: var(--oglobo-modal-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--oglobo-modal-accent) 12%, transparent);
}
.modal .oglobo-modal-modern textarea.form-control { min-height: 76px; }
.modal .oglobo-modal-modern .oglobo-form-section,
.modal .oglobo-modal-modern .oglobo-detail-item {
  border-color: #e3e8ef;
  background: #fbfcfe;
}

/* Semantic modal tones */
.oglobo-modal-tone-blue   { --oglobo-modal-accent:#206bc4 !important; --oglobo-modal-soft:#eaf3fd !important; }
.oglobo-modal-tone-cyan   { --oglobo-modal-accent:#0d8aa6 !important; --oglobo-modal-soft:#e8f7fa !important; }
.oglobo-modal-tone-green  { --oglobo-modal-accent:#15945b !important; --oglobo-modal-soft:#eaf8f0 !important; }
.oglobo-modal-tone-purple { --oglobo-modal-accent:#7048b8 !important; --oglobo-modal-soft:#f2edfb !important; }
.oglobo-modal-tone-orange { --oglobo-modal-accent:#d97706 !important; --oglobo-modal-soft:#fff3e4 !important; }
.oglobo-modal-tone-red    { --oglobo-modal-accent:#d63939 !important; --oglobo-modal-soft:#fff0f1 !important; }
.oglobo-modal-tone-indigo { --oglobo-modal-accent:#4263eb !important; --oglobo-modal-soft:#eef1ff !important; }
.oglobo-modal-tone-slate  { --oglobo-modal-accent:#536072 !important; --oglobo-modal-soft:#f1f4f7 !important; }

/* Validation/error UX inside modals */
.oglobo-form-error-banner {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: 0 0 1rem;
  padding: .75rem .85rem;
  border: 1px solid #f1c4c7;
  border-radius: 10px;
  background: #fff4f5;
  color: #b4232f;
  font-size: .8rem;
  line-height: 1.4;
}
.modal .is-invalid,
.modal [aria-invalid="true"] {
  border-color: #d63939 !important;
  box-shadow: 0 0 0 3px rgba(214,57,57,.08) !important;
}

/* Modern confirmation dialog */
#oglobo-confirm-modal .modal-dialog { max-width: 470px; }
#oglobo-confirm-modal .oglobo-confirm-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin:0 auto 1rem;
  border-radius:16px;
  background:#fff0f1;
  color:#d63939;
  line-height:0;
}
#oglobo-confirm-modal .oglobo-confirm-icon svg { width:28px;height:28px; }
#oglobo-confirm-modal .oglobo-confirm-copy { text-align:center; }
#oglobo-confirm-modal .oglobo-confirm-copy h4 { margin:0 0 .45rem;font-size:1.12rem; }
#oglobo-confirm-modal .oglobo-confirm-copy p { margin:0;color:#667085;line-height:1.5; }

@media (max-width: 575.98px) {
  .modal .oglobo-modal-modern { border-radius: 15px; }
  .modal .oglobo-modal-modern .modal-header { padding: 1rem 3.75rem 1rem 1rem !important; min-height: 74px; }
  .modal .oglobo-modal-modern .modal-header > .oglobo-modal-icon { width:40px;height:40px;flex-basis:40px;border-radius:11px; }
  .modal .oglobo-modal-modern .modal-body { padding: 1rem; }
  .modal .oglobo-modal-modern .modal-footer { padding: .8rem 1rem; }
  .modal .oglobo-modal-modern .btn-close { top:12px !important; right:12px !important; }
}

/* v0.13.7 — shared commercial navigation consistency */
.oglobo-rate-nav {
  align-items: stretch;
}
.oglobo-rate-nav-item {
  flex: 0 1 245px;
}
.oglobo-rate-nav-item.active {
  box-shadow: 0 10px 26px rgba(24,36,51,.075);
}
@media (max-width: 767.98px) {
  .oglobo-rate-nav-item { flex-basis: 100%; }
}


/* v0.13.8 — module-colored top navigation */
.oglobo-nav-link {
  --nav-accent: #206bc4;
  --nav-soft: #eef6ff;
  --nav-border: rgba(32,107,196,.20);
  position: relative;
  border: 1px solid transparent;
  isolation: isolate;
  overflow: hidden;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.oglobo-nav-link svg {
  color: currentColor;
  transition: transform .18s ease;
}
.oglobo-nav-link:hover {
  color: var(--nav-accent);
  background: var(--nav-soft);
  border-color: var(--nav-border);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--nav-accent) 10%, transparent);
}
.oglobo-nav-link:hover svg { transform: translateY(-1px); }
.oglobo-nav-link.active {
  color: var(--nav-accent);
  background: var(--nav-soft);
  border-color: color-mix(in srgb, var(--nav-accent) 30%, transparent);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--nav-accent) 10%, transparent);
  font-weight: 700;
}
.oglobo-nav-link.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-accent);
  transform: translateX(-50%);
  opacity: .9;
}

/* Module identities — same visual language used inside OGlobo modules. */
.oglobo-nav-link.nav-dashboard {
  --nav-accent:#475569;
  --nav-soft:#f1f5f9;
  --nav-border:rgba(71,85,105,.18);
}
.oglobo-nav-link.nav-users {
  --nav-accent:#5f3dc4;
  --nav-soft:#f3f0ff;
  --nav-border:rgba(95,61,196,.18);
}
.oglobo-nav-link.nav-offices {
  --nav-accent:#0b7285;
  --nav-soft:#e7f5ff;
  --nav-border:rgba(11,114,133,.18);
}
.oglobo-nav-link.nav-rates {
  --nav-accent:#206bc4;
  --nav-soft:#eef6ff;
  --nav-border:rgba(32,107,196,.20);
}
.oglobo-nav-link.nav-inventory {
  --nav-accent:#0f8b62;
  --nav-soft:#eaf8f1;
  --nav-border:rgba(15,139,98,.18);
}
.oglobo-nav-link.nav-shipments {
  --nav-accent:#d97706;
  --nav-soft:#fff4e6;
  --nav-border:rgba(217,119,6,.20);
}
.oglobo-nav-link.nav-clients {
  --nav-accent:#2563eb;
  --nav-soft:#eff6ff;
  --nav-border:rgba(37,99,235,.19);
}
.oglobo-nav-link.nav-agencies {
  --nav-accent:#7c3aed;
  --nav-soft:#f5f0ff;
  --nav-border:rgba(124,58,237,.18);
}

/* Mobile keeps color identity but removes floating movement. */
@media (max-width: 767.98px) {
  .oglobo-nav-link:hover { transform:none; box-shadow:none; }
  .oglobo-nav-link.active::before {
    left: 8px;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 20px;
    transform: translateY(-50%);
  }
}


/* v0.13.9 — colored personal navigation: Profile / Schedule / Clock */
.oglobo-account-menu {
  padding: .45rem;
  overflow: visible;
}
.oglobo-account-menu-head {
  margin: -.45rem -.45rem .4rem;
  border-radius: 12px 12px 0 0;
}
.oglobo-account-menu .oglobo-account-action {
  --account-accent:#206bc4;
  --account-soft:#eef6ff;
  --account-border:rgba(32,107,196,.18);
  display:grid !important;
  grid-template-columns:36px minmax(0,1fr) 18px;
  align-items:center;
  gap:.7rem;
  min-height:52px;
  padding:.55rem .65rem !important;
  margin:.18rem 0;
  border:1px solid transparent;
  border-radius:10px;
  color:var(--oglobo-ink) !important;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.oglobo-account-menu .oglobo-account-action:hover,
.oglobo-account-menu .oglobo-account-action:focus,
.oglobo-account-menu .oglobo-account-action.active {
  color:var(--account-accent) !important;
  background:var(--account-soft) !important;
  border-color:var(--account-border);
  transform:translateX(2px);
  box-shadow:0 5px 14px color-mix(in srgb,var(--account-accent) 9%,transparent);
}
.oglobo-account-action-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:10px;
  color:var(--account-accent);
  background:var(--account-soft);
  line-height:0;
}
.oglobo-account-action-icon svg {
  width:18px !important;
  height:18px !important;
  margin:0 !important;
}
.oglobo-account-action-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  line-height:1.2;
}
.oglobo-account-action-copy strong {
  font-size:.8rem;
  font-weight:700;
  color:inherit;
}
.oglobo-account-action-copy small {
  margin-top:.15rem;
  font-size:.68rem;
  color:var(--oglobo-muted);
  font-weight:500;
}
.oglobo-account-action-arrow {
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1rem;
  line-height:1;
  color:#98a2b3;
  font-weight:800;
}
.oglobo-account-action.active .oglobo-account-action-arrow,
.oglobo-account-action:hover .oglobo-account-action-arrow { color:var(--account-accent); }
.oglobo-account-action.account-profile {
  --account-accent:#5f3dc4;
  --account-soft:#f3f0ff;
  --account-border:rgba(95,61,196,.20);
}
.oglobo-account-action.account-schedule {
  --account-accent:#0b7285;
  --account-soft:#e7f5ff;
  --account-border:rgba(11,114,133,.20);
}
.oglobo-account-action.account-clock {
  --account-accent:#d97706;
  --account-soft:#fff4e6;
  --account-border:rgba(217,119,6,.20);
}
.oglobo-account-menu .dropdown-divider { margin:.4rem .2rem; }
.oglobo-account-menu form .dropdown-item.text-danger {
  min-height:42px;
  border-radius:9px;
  padding:.55rem .7rem !important;
}

/* Profile shortcuts reuse the same identity colors. */
.profile-summary-card .card-footer .oglobo-profile-shortcut {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  min-height:42px;
  border-width:1px;
  font-weight:700;
  transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease;
}
.oglobo-profile-shortcut.shortcut-schedule {
  color:#0b7285;
  background:#f3fbfd;
  border-color:rgba(11,114,133,.28);
}
.oglobo-profile-shortcut.shortcut-schedule:hover {
  color:#086172;
  background:#e7f5ff;
  border-color:#0b7285;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(11,114,133,.10);
}
.oglobo-profile-shortcut.shortcut-clock {
  color:#b45f06;
  background:#fff9f0;
  border-color:rgba(217,119,6,.28);
}
.oglobo-profile-shortcut.shortcut-clock:hover {
  color:#9a5205;
  background:#fff4e6;
  border-color:#d97706;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(217,119,6,.10);
}

@media(max-width:767.98px){
  .oglobo-account-menu .oglobo-account-action:hover,
  .oglobo-account-menu .oglobo-account-action:focus,
  .oglobo-account-menu .oglobo-account-action.active { transform:none; }
}

/* v0.14.0 — Guías / Envíos */
.oglobo-shipment-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.oglobo-shipment-metric{display:flex;align-items:center;gap:.85rem;min-height:96px;padding:1rem;border:1px solid #e4eaf1;border-radius:16px;background:#fff;box-shadow:0 8px 26px rgba(24,36,51,.045)}.shipment-metric-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:13px;line-height:0}.shipment-metric-icon svg{width:21px;height:21px}.shipment-metric-icon.is-blue{background:#eaf3fd;color:#206bc4}.shipment-metric-icon.is-green{background:#eaf8ef;color:#16834a}.shipment-metric-icon.is-cyan{background:#e7f8f7;color:#0f8f87}.shipment-metric-icon.is-purple{background:#f3edff;color:#6f42c1}.shipment-metric-icon.is-orange{background:#fff4e6;color:#d97706}.oglobo-shipment-metric>div{display:flex;flex-direction:column;justify-content:center;min-width:0}.oglobo-shipment-metric small,.oglobo-shipment-metric span{color:var(--oglobo-muted);font-size:.72rem;line-height:1.25}.oglobo-shipment-metric strong{font-size:1.55rem;line-height:1;margin:.2rem 0;font-weight:800}.oglobo-shipment-filters{display:grid;grid-template-columns:minmax(240px,1.55fr) repeat(4,minmax(140px,.72fr)) auto;gap:.75rem;align-items:end}.oglobo-shipment-filters .form-label{font-size:.76rem;font-weight:700}.module-shipments{border-top:3px solid #f59f00}.shipment-step{display:none}.shipment-step.active{display:block}.shipment-wizard-steps{grid-template-columns:repeat(4,1fr)}.oglobo-guide-selected{margin-top:.5rem;padding:.6rem .7rem;border:1px solid #dce6f1;border-radius:10px;background:#f8fbff}.oglobo-guide-selected strong,.oglobo-guide-selected small{display:block}.oglobo-guide-selected small{color:var(--oglobo-muted);font-size:.72rem}.oglobo-address-option{display:block;cursor:pointer;margin-top:.5rem}.oglobo-address-option input{position:absolute;opacity:0}.oglobo-address-option span{display:block;padding:.65rem .75rem;border:1px solid #dfe6ef;border-radius:10px;background:#fff}.oglobo-address-option strong,.oglobo-address-option small{display:block}.oglobo-address-option small{margin-top:.15rem;color:var(--oglobo-muted);font-size:.72rem}.oglobo-address-option input:checked+span{border-color:#206bc4;background:#eef6ff;box-shadow:inset 0 0 0 1px rgba(32,107,196,.08)}.oglobo-quote-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.oglobo-quote-grid>div{padding:1rem;border:1px solid #e2e8f0;border-radius:13px;background:#fbfcfe}.oglobo-quote-grid span,.oglobo-quote-grid strong,.oglobo-quote-grid small{display:block}.oglobo-quote-grid span{font-size:.7rem;text-transform:uppercase;font-weight:800;color:var(--oglobo-muted)}.oglobo-quote-grid strong{font-size:1.2rem;margin:.2rem 0}.oglobo-quote-grid small{color:var(--oglobo-muted);font-size:.72rem}.oglobo-quote-grid .total{background:#eef6ff;border-color:#cfe1f5}.oglobo-review-total{grid-column:1/-1;background:#eef6ff!important;border-color:#cfe1f5!important}.oglobo-review-total strong{font-size:1.35rem}.oglobo-guide-detail{min-height:120px}
@media(max-width:1199.98px){.oglobo-shipment-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-shipment-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-quote-grid .total{grid-column:1/-1}}
@media(max-width:767.98px){.oglobo-shipment-metrics,.oglobo-shipment-filters,.oglobo-quote-grid{grid-template-columns:1fr}.oglobo-shipment-filters>div:last-child{display:grid!important;grid-template-columns:1fr 1fr}.shipment-wizard-steps{grid-template-columns:repeat(2,1fr)}.oglobo-quote-grid .total{grid-column:auto}}

/* v0.14.1 — automatic guide context + inline client creation */
.oglobo-guide-context{display:flex;align-items:center;gap:.85rem;padding:.9rem 1rem;border:1px solid #dce6f1;border-radius:14px;background:#f8fbff}.oglobo-guide-context.is-agency{background:#faf7ff;border-color:#e4d8f6}.oglobo-guide-context-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#e9f3ff;color:#206bc4;font-weight:900}.oglobo-guide-context.is-agency .oglobo-guide-context-icon{background:#f0e8ff;color:#6f42c1}.oglobo-guide-context small,.oglobo-guide-context strong,.oglobo-guide-context span{display:block}.oglobo-guide-context small{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:var(--oglobo-muted);font-weight:800}.oglobo-guide-context strong{font-size:.92rem;margin:.08rem 0}.oglobo-guide-context span{font-size:.76rem;color:var(--oglobo-muted)}
.oglobo-inline-client-form{padding:1rem;border:1px solid #cfe0f4;border-radius:14px;background:#f8fbff;box-shadow:0 8px 24px rgba(32,107,196,.06)}.oglobo-inline-client-form.is-recipient{border-color:#dfd3f2;background:#fbf9ff}.oglobo-inline-client-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.oglobo-inline-client-head strong,.oglobo-inline-client-head small{display:block}.oglobo-inline-client-head small{margin-top:.15rem;color:var(--oglobo-muted);font-size:.74rem}.oglobo-inline-client-form .form-label{font-size:.74rem;margin-bottom:.3rem}.btn-outline-purple{color:#6f42c1;border-color:#bea8df}.btn-outline-purple:hover{color:#fff;background:#6f42c1;border-color:#6f42c1}.btn-purple{color:#fff;background:#6f42c1;border-color:#6f42c1}.btn-purple:hover{color:#fff;background:#5d35a6;border-color:#5d35a6}

/* v0.14.3 — Guías: tracking consecutivo + agenda operativa */
.oglobo-guide-schedule{
  border:1px solid #e7dfcf;
  border-radius:16px;
  padding:1rem 1.05rem;
  background:linear-gradient(180deg,#fffdf8 0%,#fff 100%);
  box-shadow:0 8px 26px rgba(217,119,6,.06);
}
.oglobo-guide-schedule .oglobo-form-section-heading strong{color:#8a4b08}
.oglobo-guide-schedule .form-hint{line-height:1.4}
#shipment-appointment-modal .modal-content{overflow:hidden}
#shipment-appointment-modal .modal-header{border-top:4px solid #f59f00}
#shipment-appointment-modal .modal-header::before{
  content:'↻';display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;
  border-radius:12px;background:#fff4e6;color:#d97706;font-weight:900;font-size:1.15rem;
}
#shipment-appointment-modal .modal-header{display:flex;align-items:center;gap:.8rem}
.oglobo-modern-table td .badge.bg-orange-lt{white-space:nowrap}
@media(max-width:767.98px){
  .oglobo-guide-schedule{padding:.85rem}
}

/* v0.14.4 — Inventory visual system aligned with OGlobo module cards */
.oglobo-inventory-toolbar {
  position: relative;
  overflow: hidden;
  border-color: #dfe8f2;
  box-shadow: 0 10px 28px rgba(24,36,51,.055);
}
.oglobo-inventory-toolbar::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #206bc4;
}
.oglobo-inventory-office-icon {
  box-shadow: inset 0 0 0 1px rgba(32,107,196,.08);
}

.oglobo-inventory-tab {
  position: relative;
  overflow: hidden;
  min-height: 68px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
  box-shadow: 0 5px 18px rgba(24,36,51,.035);
}
.oglobo-inventory-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 26px rgba(24,36,51,.075);
}
.oglobo-inventory-tab.is-inventory:hover,
.oglobo-inventory-tab.is-inventory.active { border-color:#20a05a; background:#f0fbf5; }
.oglobo-inventory-tab.is-inventory.active > span { background:#e4f7ec; color:#16834a; }
.oglobo-inventory-tab.is-transfers:hover,
.oglobo-inventory-tab.is-transfers.active { border-color:#e88718; background:#fff8ef; }
.oglobo-inventory-tab.is-transfers.active > span { background:#fff0dc; color:#d97706; }
.oglobo-inventory-tab.is-kardex:hover,
.oglobo-inventory-tab.is-kardex.active { border-color:#7b61d1; background:#f8f5ff; }
.oglobo-inventory-tab.is-kardex.active > span { background:#eee9ff; color:#6f42c1; }

.oglobo-inventory-metric {
  position: relative;
  overflow: hidden;
  border-color:#e2e8f0;
  box-shadow:0 9px 26px rgba(24,36,51,.045);
}
.oglobo-inventory-metric::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:3px;
  border-radius:15px 0 0 15px;
}
.oglobo-inventory-metric.is-available::before { background:#20a05a; }
.oglobo-inventory-metric.is-incoming::before { background:#206bc4; }
.oglobo-inventory-metric.is-outgoing::before { background:#e88718; }
.oglobo-inventory-metric.is-network::before { background:#7b61d1; }

.oglobo-inventory-content-card {
  position:relative;
  border-color:#e2e8f0;
  box-shadow:0 12px 34px rgba(24,36,51,.055);
}
.oglobo-inventory-content-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  z-index:1;
}
.oglobo-inventory-content-card.is-inventory::before { background:#20a05a; }
.oglobo-inventory-content-card.is-transfers::before { background:#e88718; }
.oglobo-inventory-content-card.is-kardex::before { background:#7b61d1; }
.oglobo-inventory-content-card .card-header {
  border-bottom-color:#edf1f5;
  background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);
}
.oglobo-inventory-content-card .card-title {
  font-weight:800;
  letter-spacing:-.015em;
}
.oglobo-inventory-content-card .table thead th {
  background:#f8fafc;
  color:#5d6b7e;
  font-size:.72rem;
  letter-spacing:.025em;
}
.oglobo-inventory-content-card .table tbody tr:hover td {
  background:#fbfdff;
}

/* v0.14.6 — Commercial rules action menus */
.oglobo-policy-action-trigger {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #516079;
}
.oglobo-policy-action-trigger:hover,
.oglobo-policy-action-trigger:focus {
  background: #f3f6fb;
  color: var(--oglobo-primary);
}
.oglobo-policy-view-grid .oglobo-detail-item {
  background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.oglobo-policy-view-grid .oglobo-detail-value .badge { vertical-align: middle; }

/* v0.14.7 — Tarifario & Guías action/detail UX */
.oglobo-rate-view-item {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.9rem 1rem;
  border:1px solid var(--oglobo-line);
  border-radius:12px;
  background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}
.oglobo-rate-view-item + .oglobo-rate-view-item { margin-top:.65rem; }
.oglobo-rate-view-item > div:first-child { min-width:0; }
.oglobo-rate-view-item strong { display:block; line-height:1.25; }
.oglobo-rate-view-item small { display:block; margin-top:.2rem; color:var(--oglobo-muted); }
.oglobo-rate-view-item > div:last-child {
  display:flex;
  align-items:flex-end;
  gap:1.25rem;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.oglobo-rate-view-item > div:last-child span { display:flex; flex-direction:column; font-size:.74rem; color:var(--oglobo-muted); }
.oglobo-rate-view-item > div:last-child strong { color:var(--oglobo-ink); font-size:.92rem; }

@media (max-width:767.98px) {
  .oglobo-rate-view-item { align-items:flex-start; flex-direction:column; }
  .oglobo-rate-view-item > div:last-child { width:100%; justify-content:flex-start; }
}

/* v0.14.8 — shipment list header refinement */
.oglobo-shipment-list-head {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.05rem 1.15rem !important;
  margin:0;
  border-bottom:1px solid #e7ebf1;
  background:linear-gradient(90deg,#fff9ef 0%,#fff 42%);
}
.oglobo-shipment-list-head-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  border-radius:14px;
  background:#fff1dc;
  color:#d97706;
  box-shadow:inset 0 0 0 1px rgba(217,119,6,.12),0 7px 18px rgba(217,119,6,.09);
}
.oglobo-shipment-list-head-icon svg { width:22px;height:22px; }
.oglobo-shipment-list-head-copy { min-width:0;flex:1 1 auto; }
.oglobo-shipment-list-head-copy .page-pretitle { margin:0 0 .15rem;color:#b86705; }
.oglobo-shipment-list-head-copy h3 { margin:0;font-size:1.05rem;line-height:1.25;font-weight:800;color:var(--oglobo-ink); }
.oglobo-shipment-list-head-copy p { margin:.25rem 0 0;color:var(--oglobo-muted);font-size:.8rem;line-height:1.35; }
.oglobo-shipment-list-head-meta { flex:0 0 auto; }
.oglobo-shipment-list-head-meta .badge { padding:.45rem .65rem;border-radius:999px;font-weight:700; }
@media (max-width:767.98px){
  .oglobo-shipment-list-head{align-items:flex-start;flex-wrap:wrap;padding:.9rem !important}
  .oglobo-shipment-list-head-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .oglobo-shipment-list-head-meta{width:100%;padding-left:56px}
}

/* v0.14.9 — Create guide wizard UX refinement */
#shipment-modal .modal-dialog {
  max-width: 1040px;
}
#shipment-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
}
#shipment-modal .modal-header {
  padding: 1.15rem 1.35rem 1rem;
}
#shipment-modal .modal-body {
  padding: 1.25rem 1.35rem 1.35rem;
  background: #fbfcfe;
}
#shipment-modal .modal-footer {
  padding: .9rem 1.35rem;
  background: #fff;
}
.shipment-wizard-steps {
  padding: .8rem 1.35rem;
  background: #fff;
  border-top: 1px solid #edf1f5;
  border-bottom: 1px solid #e7ecf2;
  gap: .4rem;
}
.shipment-wizard-steps button {
  min-height: 42px;
  border-radius: 12px;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.shipment-wizard-steps button.active {
  background: #eef6ff;
  color: #206bc4;
  box-shadow: inset 0 0 0 1px #cfe2f8;
}
.oglobo-guide-context {
  padding: 1rem 1.05rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(24,36,51,.035);
}
.oglobo-guide-party-card {
  height: 100%;
  min-height: 198px;
  padding: 1rem;
  border: 1px solid #dfe7f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24,36,51,.035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.oglobo-guide-party-card.is-sender {
  border-top: 3px solid #206bc4;
}
.oglobo-guide-party-card.is-recipient {
  border-top: 3px solid #7048b8;
}
.oglobo-guide-party-card.oglobo-field-error {
  border-color: #d63939 !important;
  box-shadow: 0 0 0 3px rgba(214,57,57,.09), 0 10px 28px rgba(24,36,51,.06);
}
.oglobo-guide-party-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
}
.oglobo-guide-party-head > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.oglobo-guide-party-kicker {
  font-size: .66rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 800;
  color: var(--oglobo-muted);
}
.oglobo-guide-party-head .form-label {
  font-size: .94rem;
  font-weight: 800;
}
.oglobo-guide-new-client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  white-space: nowrap;
  border-radius: 10px;
  min-height: 34px;
}
.oglobo-guide-new-client svg {
  flex: 0 0 auto;
}
#guide-sender-search,
#guide-recipient-search {
  min-height: 42px;
  border-radius: 11px;
  background: #fcfdff;
}
#guide-sender-search:focus,
#guide-recipient-search:focus {
  background: #fff;
}
.oglobo-guide-selected {
  padding: .75rem .85rem;
  border-radius: 11px;
}
.oglobo-guide-validation {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  padding: .8rem .9rem;
  border: 1px solid #f1b6bc;
  border-radius: 13px;
  background: #fff4f5;
  color: #7d222b;
  box-shadow: 0 8px 22px rgba(214,57,57,.06);
}
.oglobo-guide-validation.d-none { display: none !important; }
.oglobo-guide-validation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ffe5e7;
  color: #d63939;
}
.oglobo-guide-validation strong,
.oglobo-guide-validation span {
  display: block;
}
.oglobo-guide-validation strong {
  margin-bottom: .08rem;
  font-size: .84rem;
}
.oglobo-guide-validation #guide-validation-message {
  font-size: .78rem;
  color: #8e434a;
  line-height: 1.35;
}
.oglobo-guide-validation .btn-close {
  position: static !important;
  width: 30px;
  height: 30px;
  margin: 0 !important;
}
#shipment-modal .oglobo-field-error:not(.oglobo-guide-party-card) {
  border-color: #d63939 !important;
  box-shadow: 0 0 0 3px rgba(214,57,57,.08) !important;
}
#shipment-modal .oglobo-inline-client-form {
  border-radius: 13px;
  box-shadow: none;
}
#shipment-modal .modal-footer .btn {
  min-height: 40px;
  border-radius: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (max-width: 767.98px) {
  #shipment-modal .modal-dialog { max-width: none; margin: .5rem; }
  #shipment-modal .modal-header,
  #shipment-modal .modal-body,
  #shipment-modal .modal-footer { padding-left: 1rem; padding-right: 1rem; }
  .shipment-wizard-steps { padding-left: 1rem; padding-right: 1rem; }
  .oglobo-guide-party-card { min-height: 0; }
  .oglobo-guide-party-head { align-items: flex-start; flex-direction: column; }
  .oglobo-guide-new-client { width: 100%; }
}

/* v0.15.0 — Guide client pairing + modern search/select dropdowns */
.oglobo-guide-parties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.oglobo-guide-parties-grid > div { min-width: 0; }
.oglobo-guide-parties-grid .oglobo-guide-party-card {
  width: 100%;
  min-height: 220px;
}
#shipment-modal .oglobo-search-results {
  top: calc(100% + 7px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1090 !important;
  max-height: 280px;
  overflow-y: auto;
  padding: .4rem;
  border: 1px solid #dfe6ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(24,36,51,.16) !important;
}
#shipment-modal .oglobo-guide-search-item {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 22px;
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .55rem .65rem;
  margin: 0 0 .25rem;
  border: 0 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: var(--oglobo-ink) !important;
  text-align: left;
}
#shipment-modal .oglobo-guide-search-item:last-child { margin-bottom:0; }
#shipment-modal .oglobo-guide-search-item:hover,
#shipment-modal .oglobo-guide-search-item:focus {
  background: #f4f8fd !important;
  box-shadow: inset 0 0 0 1px #d8e7f6;
}
.oglobo-guide-search-avatar,
.oglobo-guide-selected-avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:11px;
  font-weight:800;
  font-size:.82rem;
}
.oglobo-guide-search-avatar.is-sender,
.oglobo-guide-selected-avatar.is-sender { background:#eaf3fd;color:#206bc4; }
.oglobo-guide-search-avatar.is-recipient,
.oglobo-guide-selected-avatar.is-recipient { background:#f2edfb;color:#7048b8; }
.oglobo-guide-search-copy,
.oglobo-guide-selected-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}
.oglobo-guide-search-copy strong,
.oglobo-guide-selected-copy strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.84rem;
  line-height:1.25;
}
.oglobo-guide-search-copy small,
.oglobo-guide-selected-copy small {
  display:block;
  margin-top:.12rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--oglobo-muted);
  font-size:.71rem;
  line-height:1.25;
}
.oglobo-guide-search-arrow {
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9aa6b4;
  font-size:1.2rem;
}
#shipment-modal .oglobo-guide-selected {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 28px;
  align-items:center;
  gap:.7rem;
  min-height:58px;
  margin-top:.65rem;
  padding:.58rem .68rem;
  border:1px solid #dce6f1;
  border-radius:12px;
  background:#fbfdff;
  box-shadow:0 5px 14px rgba(24,36,51,.035);
}
#shipment-modal .oglobo-guide-selected.d-none { display:none !important; }
.oglobo-guide-selected-check {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#e9f8ef;
  color:#16834a;
  font-size:.78rem;
  font-weight:900;
}
#shipment-modal #guide-sender-search,
#shipment-modal #guide-recipient-search {
  width:100%;
  min-height:44px;
  border:1px solid #dbe3ed;
  box-shadow:none;
}
#shipment-modal #guide-sender-search:focus { border-color:#206bc4;box-shadow:0 0 0 3px rgba(32,107,196,.09); }
#shipment-modal #guide-recipient-search:focus { border-color:#7048b8;box-shadow:0 0 0 3px rgba(112,72,184,.09); }
#shipment-modal #guide-recipient-search:disabled {
  opacity:1;
  color:#7c8795;
  background:#f4f6f8;
}
@media (max-width: 767.98px) {
  .oglobo-guide-parties-grid { grid-template-columns:1fr; }
  .oglobo-guide-parties-grid .oglobo-guide-party-card { min-height:0; }
}

/* v0.15.2 — Semantic list system */
.oglobo-semantic-table {
  --oglobo-row-hover: #f8fbff;
}
.oglobo-semantic-table thead th {
  font-size: .73rem;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: #617087;
  background: #f7f9fc;
  border-bottom-color: #e3e9f1;
  white-space: nowrap;
}
.oglobo-semantic-table tbody tr {
  transition: background-color .14s ease, box-shadow .14s ease;
}
.oglobo-semantic-table tbody tr:hover {
  background: var(--oglobo-row-hover);
  box-shadow: inset 3px 0 0 rgba(32,107,196,.18);
}
.oglobo-semantic-table td {
  vertical-align: middle;
}
.oglobo-semantic-table td > .text-secondary.small,
.oglobo-semantic-table td .text-secondary.small {
  line-height: 1.35;
}

.oglobo-list-chip {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  min-height: 28px;
  padding: .3rem .58rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .77rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  vertical-align: middle;
}
.oglobo-list-chip.compact {
  min-height: 24px;
  padding: .22rem .48rem;
  font-size: .72rem;
}
.oglobo-list-chip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.oglobo-list-chip.chip-green { color:#147a48; background:#eaf8f0; border-color:#ccebd9; }
.oglobo-list-chip.chip-blue { color:#155caa; background:#ebf4ff; border-color:#cfe3fb; }
.oglobo-list-chip.chip-cyan { color:#087b96; background:#e9f8fb; border-color:#c9eaf0; }
.oglobo-list-chip.chip-purple { color:#6a42b2; background:#f2edfc; border-color:#ded2f6; }
.oglobo-list-chip.chip-indigo { color:#4d55c7; background:#eef0ff; border-color:#d8dcff; }
.oglobo-list-chip.chip-orange { color:#b85e00; background:#fff3e5; border-color:#f7dcc0; }
.oglobo-list-chip.chip-yellow { color:#906500; background:#fff8dc; border-color:#f2e6a9; }
.oglobo-list-chip.chip-red { color:#c33232; background:#fff0f1; border-color:#f4cdcf; }
.oglobo-list-chip.chip-slate { color:#5c6878; background:#f1f4f7; border-color:#dde3e9; }

/* Make status colors readable across legacy badges too. */
.badge.bg-green-lt { border:1px solid #ccebd9; }
.badge.bg-orange-lt { border:1px solid #f7dcc0; }
.badge.bg-purple-lt { border:1px solid #ded2f6; }
.badge.bg-blue-lt { border:1px solid #cfe3fb; }
.badge.bg-cyan-lt { border:1px solid #c9eaf0; }
.badge.bg-secondary-lt { border:1px solid #dde3e9; }

/* Lists/cards should feel like one visual family. */
.user-table-card,
.oglobo-rate-list-card,
.oglobo-inventory-content-card,
.module-shipments {
  overflow: visible;
}
.user-table-card .table-responsive,
.oglobo-rate-list-card .table-responsive,
.oglobo-inventory-content-card .table-responsive,
.module-shipments .table-responsive {
  border-radius: 0 0 14px 14px;
}

@media (max-width: 767.98px) {
  .oglobo-list-chip { min-height:26px; font-size:.73rem; }
  .oglobo-semantic-table thead th { font-size:.69rem; }
}

/* v0.15.3 — Personal profile, schedule and attendance semantic UI */
.oglobo-status-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.36rem;
  min-height:26px;
  padding:.28rem .58rem;
  border-radius:999px;
  border:1px solid transparent;
  font-size:.75rem;
  font-weight:800;
  line-height:1.1;
  white-space:nowrap;
}
.oglobo-status-chip.status-completed { color:#147a48;background:#eaf8f0;border-color:#ccebd9; }
.oglobo-status-chip.status-scheduled { color:#155caa;background:#ebf4ff;border-color:#cfe3fb; }
.oglobo-status-chip.status-review { color:#a86400;background:#fff3e5;border-color:#f7dcc0; }
.oglobo-status-chip.status-cancelled { color:#c33232;background:#fff0f1;border-color:#f4cdcf; }
.oglobo-status-chip.status-info { color:#4d55c7;background:#eef0ff;border-color:#d8dcff; }

/* Profile */
.oglobo-profile-summary {
  overflow:hidden;
  border-top:3px solid #7048b8;
  box-shadow:0 12px 30px rgba(36,48,65,.08);
}
.oglobo-profile-summary .oglobo-avatar {
  box-shadow:0 10px 22px rgba(91,71,188,.20);
}
.oglobo-role-badge {
  display:inline-flex;
  align-items:center;
  padding:.34rem .7rem;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  font-size:.75rem;
}
.oglobo-role-badge.role-admin { color:#5b3db0;background:#f1edfb;border-color:#dcd1f5; }
.oglobo-role-badge.role-office { color:#155caa;background:#ebf4ff;border-color:#cfe3fb; }
.oglobo-role-badge.role-warehouse { color:#087b96;background:#e9f8fb;border-color:#c9eaf0; }
.oglobo-role-badge.role-driver { color:#b85e00;background:#fff3e5;border-color:#f7dcc0; }
.oglobo-role-badge.role-agency { color:#6a42b2;background:#f2edfc;border-color:#ded2f6; }
.profile-meta-row { border-radius:10px; padding:.52rem .6rem; margin:0 -.1rem; }
.profile-meta-row:hover { background:#f8fafc; }
.profile-meta-access .profile-meta-label::before,
.profile-meta-security .profile-meta-label::before,
.profile-meta-pay .profile-meta-label::before,
.profile-meta-timezone .profile-meta-label::before {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  margin-right:.35rem;
  font-weight:900;
}
.profile-meta-access .profile-meta-label::before { content:'◷'; color:#206bc4; }
.profile-meta-security .profile-meta-label::before { content:'◆'; color:#7048b8; font-size:.58rem; }
.profile-meta-pay .profile-meta-label::before { content:'$'; color:#15945b; }
.profile-meta-timezone .profile-meta-label::before { content:'◉'; color:#0d8aa6; font-size:.68rem; }
.oglobo-profile-card { border-top:3px solid #206bc4; box-shadow:0 10px 26px rgba(36,48,65,.06); }
.oglobo-profile-card + .oglobo-profile-card { border-top-color:#7048b8; }

/* Shared semantic metrics for Schedule / Clock */
.oglobo-semantic-metric {
  position:relative;
  overflow:hidden;
  border:1px solid #e3e9f1;
  box-shadow:0 8px 24px rgba(35,48,67,.055);
}
.oglobo-semantic-metric::before {
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:var(--metric-accent,#206bc4);
}
.oglobo-semantic-metric.metric-hours { --metric-accent:#206bc4; }
.oglobo-semantic-metric.metric-regular { --metric-accent:#15945b; }
.oglobo-semantic-metric.metric-overtime { --metric-accent:#d97706; }
.oglobo-semantic-metric.metric-doubletime { --metric-accent:#d63939; }
.oglobo-semantic-metric:hover { transform:translateY(-1px); box-shadow:0 12px 28px rgba(35,48,67,.08); }

/* Schedule */
.oglobo-schedule-filter-card { border-top:3px solid #206bc4; box-shadow:0 9px 24px rgba(36,48,65,.055); }
.oglobo-labor-rule-card { border-left:4px solid #4263eb; background:linear-gradient(90deg,#f5f7ff 0,#fff 35%); box-shadow:0 8px 22px rgba(36,48,65,.05); }
.oglobo-accent-schedule { border-top:3px solid #0d8aa6; }
.oglobo-schedule-list-card { box-shadow:0 12px 30px rgba(36,48,65,.065); }
.oglobo-schedule-list-card .card-header { background:linear-gradient(180deg,#fbfdff,#fff); }
.oglobo-schedule-list-card tbody tr:has(.status-cancelled) { opacity:.72; }

/* Attendance */
.oglobo-semantic-attendance .oglobo-attendance-main { border-top:4px solid #206bc4; }
.oglobo-semantic-attendance .oglobo-shift-panel { border-top:4px solid #7048b8; }
.oglobo-accent-clock { border-top:3px solid #d97706; }
.oglobo-accent-review { border-top:3px solid #7048b8; }
.oglobo-history-card,
.oglobo-review-card { box-shadow:0 12px 30px rgba(36,48,65,.06); }
.oglobo-history-card .card-header,
.oglobo-review-card .card-header { background:linear-gradient(180deg,#fbfdff,#fff); }
.oglobo-clock-status.is-in { color:#147a48;background:#eaf8f0;border:1px solid #ccebd9; }
.oglobo-clock-status.is-out { color:#5c6878;background:#f1f4f7;border:1px solid #dde3e9; }
.oglobo-lunch-active { border-left:4px solid #d97706; background:#fff7ed; }
.oglobo-clock-action { transition:transform .14s ease,box-shadow .14s ease; }
.oglobo-clock-action:not(:disabled):hover { transform:translateY(-1px); box-shadow:0 8px 18px rgba(36,48,65,.12); }

@media (max-width:767.98px) {
  .oglobo-status-chip { white-space:normal; text-align:center; }
  .oglobo-semantic-metric:hover,
  .oglobo-clock-action:not(:disabled):hover { transform:none; }
}

/* v0.15.4 — Agencies semantic UI */
.oglobo-agency-stat {
  border:1px solid #e4e9f0;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 25px rgba(24,36,51,.045);
  position:relative;
}
.oglobo-agency-stat::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; }
.oglobo-agency-stat.is-total::before { background:#7048b8; }
.oglobo-agency-stat.is-active::before { background:#15945b; }
.oglobo-agency-stat.is-inactive::before { background:#7c8797; }
.oglobo-agency-stat-icon {
  width:46px; height:46px; flex:0 0 46px; border-radius:13px;
  display:flex; align-items:center; justify-content:center;
}
.oglobo-agency-stat.is-total .oglobo-agency-stat-icon { background:#f2edfb; color:#7048b8; }
.oglobo-agency-stat.is-active .oglobo-agency-stat-icon { background:#eaf8f0; color:#15945b; }
.oglobo-agency-stat.is-inactive .oglobo-agency-stat-icon { background:#f1f4f7; color:#6b7788; }
.oglobo-agency-stat .h2 { font-weight:800; letter-spacing:-.035em; }
.oglobo-agency-filter-card,
.oglobo-agency-list-card {
  border:1px solid #e4e9f0;
  border-radius:16px;
  box-shadow:0 9px 28px rgba(24,36,51,.045);
  overflow:hidden;
}
.oglobo-agency-filter-card { border-top:3px solid #8a63c7; }
.oglobo-agency-list-card { border-top:3px solid #7048b8; }
.oglobo-agency-list-header {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  background:linear-gradient(180deg,#fbf9ff 0%,#fff 100%);
  padding:1rem 1.1rem;
}
.oglobo-agency-list-icon {
  width:40px; height:40px; border-radius:11px; flex:0 0 40px;
  display:flex; align-items:center; justify-content:center;
  color:#7048b8; background:#f2edfb;
}
.oglobo-agency-count-badge {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:30px; padding:.35rem .65rem; border-radius:999px;
  background:#f2edfb; color:#7048b8; font-size:.75rem; font-weight:800;
}
.oglobo-agency-avatar.is-agency {
  background:linear-gradient(135deg,#7b57c5,#5c39a5);
  color:#fff;
  box-shadow:0 6px 16px rgba(112,72,184,.2);
}
.oglobo-agency-row { transition:background-color .15s ease, box-shadow .15s ease; }
.oglobo-agency-row.is-active:hover { background:#fcfaff; }
.oglobo-agency-row.is-inactive { opacity:.78; }
.oglobo-list-meta { display:flex; align-items:center; gap:.42rem; min-width:0; line-height:1.35; }
.oglobo-list-meta + .oglobo-list-meta { margin-top:.28rem; }
.oglobo-list-meta-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 17px; }
.oglobo-list-meta-icon.is-phone { color:#206bc4; }
.oglobo-list-meta-icon.is-email { color:#7048b8; }
.oglobo-list-meta-icon.is-location { color:#0d8aa6; }
.oglobo-semantic-pill.is-agency { background:#f2edfb; border-color:#ded2f6; color:#6a42b2; }
.oglobo-semantic-pill.is-success { background:#eaf8f0; border-color:#cdebd9; color:#16834a; }
.oglobo-semantic-pill.is-muted { background:#f1f4f7; border-color:#dce2e8; color:#687487; }
@media (max-width:767.98px){
  .oglobo-agency-list-header{align-items:flex-start;flex-direction:column}
  .oglobo-agency-count-badge{align-self:flex-start}
}

/* v0.15.5 — Offices / Warehouses semantic UI */
.oglobo-office-stat {
  position:relative;
  overflow:hidden;
  border:1px solid #e5edf5;
  border-radius:16px;
  box-shadow:0 8px 22px rgba(30,55,78,.06);
  background:linear-gradient(180deg,#fff,#fbfdff);
}
.oglobo-office-stat::before{content:"";position:absolute;inset:0 auto 0 0;width:4px}
.oglobo-office-stat.is-total::before{background:#0d8aa6}
.oglobo-office-stat.is-active::before{background:#15945b}
.oglobo-office-stat.is-inactive::before{background:#7c8797}
.oglobo-office-stat.is-users::before{background:#206bc4}
.oglobo-office-stat-icon{width:44px;height:44px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px}
.oglobo-office-stat.is-total .oglobo-office-stat-icon{background:#e8f7fa;color:#0d8aa6}
.oglobo-office-stat.is-active .oglobo-office-stat-icon{background:#eaf8f0;color:#15945b}
.oglobo-office-stat.is-inactive .oglobo-office-stat-icon{background:#f1f4f7;color:#6b7788}
.oglobo-office-stat.is-users .oglobo-office-stat-icon{background:#eaf3fd;color:#206bc4}
.oglobo-office-stat .h2{font-weight:800;letter-spacing:-.035em}
.oglobo-office-filter-card,.oglobo-office-list-card{border:1px solid #e4edf4;border-radius:16px;box-shadow:0 10px 28px rgba(24,36,51,.06);overflow:hidden}
.oglobo-office-filter-card{border-top:3px solid #0d8aa6}
.oglobo-office-list-card{border-top:3px solid #0d8aa6}
.oglobo-office-list-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:linear-gradient(180deg,#f7fcfd,#fff);padding:1rem 1.25rem}
.oglobo-office-list-icon{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:#e8f7fa;color:#0d8aa6}
.oglobo-office-count-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:.35rem .7rem;border-radius:999px;background:#e8f7fa;color:#0d7289;font-size:.78rem;font-weight:800;white-space:nowrap}
.oglobo-office-avatar{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;background:linear-gradient(135deg,#e8f7fa,#d9f0f5);color:#0d7289;border:1px solid #cae8ee;font-weight:800;letter-spacing:.02em}
.oglobo-office-row.is-inactive{opacity:.78}
.oglobo-office-row:hover{background:#f8fcfd !important}
@media(max-width:767.98px){.oglobo-office-list-header{align-items:flex-start;flex-direction:column}.oglobo-office-count-badge{align-self:flex-start}}
/* v0.16.0 Operations calendar */
.oglobo-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.oglobo-calendar-weekdays{font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#667085;margin-bottom:8px;text-align:center}.oglobo-calendar-day{min-height:118px;border:1px solid #e6eaf0;border-radius:12px;padding:8px;background:#fff;overflow:hidden}.oglobo-calendar-day.is-empty{background:#f8fafc}.oglobo-calendar-day.is-today{border-color:#206bc4;box-shadow:0 0 0 2px rgba(32,107,196,.08)}.oglobo-calendar-date{font-weight:800;font-size:.78rem;color:#667085;margin-bottom:6px}.oglobo-calendar-event{border-radius:8px;padding:6px 7px;margin-top:5px;font-size:.72rem;line-height:1.2;background:#eef6ff;color:#1f5a96;border-left:3px solid #206bc4}.oglobo-calendar-event.is-fullbox{background:#f4efff;color:#6f42c1;border-left-color:#6f42c1}.oglobo-calendar-event strong,.oglobo-calendar-event span,.oglobo-calendar-event small{display:block}.oglobo-calendar-event small{opacity:.78;margin-top:2px}@media(max-width:767.98px){.oglobo-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-calendar-weekdays{display:none}.oglobo-calendar-day.is-empty{display:none}.oglobo-calendar-day{min-height:auto}.oglobo-calendar-date:before{content:"Día ";font-weight:500}}

/* v0.16.1 — calmer grouped top navigation */
.oglobo-header-main{
  gap:.8rem;
}
.oglobo-brand-logo{
  height:32px;
  max-width:145px;
}
.oglobo-main-nav{
  justify-content:flex-start;
  gap:.18rem;
  padding:.28rem;
  border:1px solid rgba(98,105,118,.09);
  border-radius:14px;
  background:rgba(248,250,252,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.82);
}
.oglobo-nav-link{
  min-height:40px;
  padding:.5rem .64rem;
  border-radius:10px;
  font-size:.82rem;
  line-height:1;
  background:transparent;
}
.oglobo-nav-link > svg:first-child{
  color:var(--nav-accent,#536072);
  opacity:.92;
}
.oglobo-nav-link:not(.active):not(:hover){
  border-color:transparent;
  box-shadow:none;
}
.oglobo-nav-link:not(.active):not(:hover) > span{
  color:#536072;
}
.oglobo-nav-link.active::before{
  bottom:2px;
  width:16px;
}

/* New operational module identities. */
.oglobo-nav-link.nav-operations,
.nav-operations{--nav-accent:#e8590c;--nav-soft:#fff4e8;--nav-border:rgba(232,89,12,.19)}
.oglobo-nav-link.nav-finance,
.nav-finance{--nav-accent:#0f8b62;--nav-soft:#eaf8f1;--nav-border:rgba(15,139,98,.18)}
.oglobo-nav-link.nav-consolidations,
.nav-consolidations{--nav-accent:#0d8aa6;--nav-soft:#e9f8fb;--nav-border:rgba(13,138,166,.18)}
.oglobo-nav-link.nav-commercial,
.nav-commercial{--nav-accent:#206bc4;--nav-soft:#eef6ff;--nav-border:rgba(32,107,196,.19)}
.oglobo-nav-link.nav-admin,
.nav-admin{--nav-accent:#7048b8;--nav-soft:#f4efff;--nav-border:rgba(112,72,184,.18)}
.nav-communications{--nav-accent:#d63384;--nav-soft:#fff0f7;--nav-border:rgba(214,51,132,.18)}

.oglobo-nav-group{
  display:flex;
  align-items:center;
}
.oglobo-nav-group-trigger{
  appearance:none;
  border:1px solid transparent;
  cursor:pointer;
}
.oglobo-nav-group-trigger .oglobo-nav-chevron{
  width:12px;
  height:12px;
  margin-left:-.15rem;
  color:#98a2b3;
  transition:transform .16s ease,color .16s ease;
}
.oglobo-nav-group.show .oglobo-nav-chevron{
  transform:rotate(180deg);
  color:var(--nav-accent);
}
.oglobo-module-menu{
  min-width:300px;
  margin-top:0 !important;
  padding:.5rem;
  border:1px solid rgba(98,105,118,.14);
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 42px rgba(24,36,51,.14);
}
.oglobo-module-menu-label{
  padding:.38rem .65rem .5rem;
  color:#98a2b3;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.oglobo-module-menu .dropdown-item{
  --nav-accent:#536072;
  --nav-soft:#f6f8fb;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:.65rem;
  min-height:54px;
  margin:.12rem 0;
  padding:.52rem .62rem;
  border:1px solid transparent !important;
  border-radius:10px;
  color:#344054;
  background:transparent !important;
  white-space:normal;
}
.oglobo-module-menu .dropdown-item > svg{
  width:32px;
  height:32px;
  padding:7px;
  border-radius:9px;
  color:var(--nav-accent);
  background:var(--nav-soft);
  margin:0 !important;
}
.oglobo-module-menu .dropdown-item span{
  display:grid;
  min-width:0;
  line-height:1.15;
}
.oglobo-module-menu .dropdown-item strong{
  color:#253043;
  font-size:.8rem;
  font-weight:750;
}
.oglobo-module-menu .dropdown-item small{
  margin-top:.18rem;
  color:#7b8798;
  font-size:.68rem;
  font-weight:500;
}
.oglobo-module-menu .dropdown-item:hover,
.oglobo-module-menu .dropdown-item:focus,
.oglobo-module-menu .dropdown-item.active{
  color:var(--nav-accent) !important;
  border-color:color-mix(in srgb,var(--nav-accent) 14%, transparent) !important;
  background:var(--nav-soft) !important;
}
.oglobo-module-menu .dropdown-item.active strong{
  color:var(--nav-accent);
}

/* v0.19.6 — Top navigation dropdowns always open below their trigger.
   The local Tabler bundle does not use Popper for regular navbar dropdowns,
   so Comercial and Administración need an explicit vertical anchor. */
@media (min-width:768px){
  .oglobo-main-nav > .oglobo-nav-group{
    position:relative;
  }
  .oglobo-main-nav > .oglobo-nav-group > .oglobo-module-menu{
    top:calc(100% + .55rem) !important;
    bottom:auto !important;
    left:0 !important;
    right:auto !important;
    transform:none !important;
    margin:0 !important;
  }
  .oglobo-main-nav > .oglobo-nav-group:last-child > .oglobo-module-menu{
    left:auto !important;
    right:0 !important;
  }
}

/* Module colors are also available to dropdown entries. */
.oglobo-module-menu .nav-rates{--nav-accent:#206bc4;--nav-soft:#eef6ff}
.oglobo-module-menu .nav-clients{--nav-accent:#2563eb;--nav-soft:#eff6ff}
.oglobo-module-menu .nav-agencies{--nav-accent:#7c3aed;--nav-soft:#f5f0ff}
.oglobo-module-menu .nav-communications{--nav-accent:#d63384;--nav-soft:#fff0f7}
.oglobo-module-menu .nav-users{--nav-accent:#5f3dc4;--nav-soft:#f3f0ff}
.oglobo-module-menu .nav-offices{--nav-accent:#0b7285;--nav-soft:#e7f5ff}

.oglobo-account{
  padding-left:.35rem;
  border-left:1px solid rgba(98,105,118,.12);
}
.oglobo-account-trigger{
  gap:.55rem;
}
.oglobo-account-copy{
  max-width:145px;
}

@media (min-width:1200px) and (max-width:1499.98px){
  .oglobo-header-inner{padding-left:1rem;padding-right:1rem}
  .oglobo-header-main{gap:.5rem}
  .oglobo-brand-logo{height:29px;max-width:125px}
  .oglobo-main-nav{gap:.08rem;padding:.22rem}
  .oglobo-nav-link{padding:.46rem .5rem;font-size:.76rem}
  .oglobo-nav-link > svg:first-child{width:17px;height:17px}
  .oglobo-account-copy{display:none}
}

@media (max-width:1199.98px) and (min-width:768px){
  .oglobo-main-nav{
    border:0;
    background:transparent;
    border-radius:0;
    box-shadow:none;
  }
  .oglobo-nav-group{flex:0 0 auto}
  .oglobo-module-menu{min-width:285px}
}

@media (max-width:767.98px){
  .oglobo-main-nav{
    padding:.55rem 12px .9rem;
    border:0;
    border-top:1px solid var(--oglobo-line);
    border-radius:0;
    background:#fff;
    box-shadow:0 14px 28px rgba(24,36,51,.08);
  }
  .oglobo-nav-group{
    display:block;
    width:100%;
  }
  .oglobo-nav-group-trigger{
    width:100%;
    justify-content:flex-start;
  }
  .oglobo-nav-group-trigger .oglobo-nav-chevron{
    margin-left:auto;
  }
  .oglobo-module-menu{
    position:static !important;
    transform:none !important;
    width:100%;
    min-width:0;
    margin:.2rem 0 .35rem !important;
    padding:.35rem;
    border:1px solid #edf0f4;
    border-radius:11px;
    box-shadow:none;
    background:#fafbfd;
  }
  .oglobo-module-menu-label{display:none}
  .oglobo-module-menu .dropdown-item{min-height:50px}
  .oglobo-account{padding-left:0;border-left:0}
}

/* v0.16.3 — Operations split modules */
.oglobo-ops-subnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:8px;background:#fff;border:1px solid #e7ebf1;border-radius:16px;box-shadow:0 6px 22px rgba(31,41,55,.05)}
.oglobo-ops-subnav-item{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border-radius:12px;text-decoration:none;color:#516079;border:1px solid transparent;transition:.18s ease}
.oglobo-ops-subnav-item:hover{background:#f8fafc;color:#1f2937;transform:translateY(-1px)}
.oglobo-ops-subnav-item.active{background:#fff4e8;border-color:rgba(232,89,12,.22);color:#d9480f;box-shadow:0 4px 12px rgba(232,89,12,.08)}
.oglobo-ops-subnav-item.is-scan.active{background:#fff4e8;color:#e8590c}.oglobo-ops-subnav-item.is-calendar.active{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.oglobo-ops-subnav-item.is-driver.active{background:#fff7ed;color:#c2410c;border-color:#fed7aa}.oglobo-ops-subnav-item.is-history.active{background:#f5f3ff;color:#7c3aed;border-color:#ddd6fe}
.oglobo-ops-subnav-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f3f6fa;font-size:19px;flex:0 0 auto}.oglobo-ops-subnav-item span:last-child{min-width:0}.oglobo-ops-subnav-item strong,.oglobo-ops-subnav-item small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-ops-subnav-item small{font-size:11px;color:#8a94a6;margin-top:1px}
.oglobo-stat-card{height:100%;display:flex;align-items:center;gap:14px;padding:18px;background:#fff;border:1px solid #e6eaf0;border-radius:16px;box-shadow:0 5px 18px rgba(31,41,55,.05)}.oglobo-stat-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;font-size:22px}.oglobo-stat-card small,.oglobo-stat-card strong{display:block}.oglobo-stat-card strong{font-size:26px;line-height:1.1;margin-top:2px}.oglobo-stat-card.tone-blue .oglobo-stat-icon{background:#eaf2ff;color:#2563eb}.oglobo-stat-card.tone-cyan .oglobo-stat-icon{background:#e6faff;color:#0891b2}.oglobo-stat-card.tone-purple .oglobo-stat-icon{background:#f3e8ff;color:#7c3aed}.oglobo-stat-card.tone-orange .oglobo-stat-icon{background:#fff2e5;color:#e8590c}
.oglobo-operation-launch{display:block;height:100%;padding:22px;border:1px solid #e6eaf0;border-radius:18px;background:#fff;text-decoration:none;color:#1f2937;box-shadow:0 7px 24px rgba(31,41,55,.05);transition:.18s ease}.oglobo-operation-launch:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(31,41,55,.09);color:#1f2937}.oglobo-operation-launch-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;font-size:25px;margin-bottom:18px}.oglobo-operation-launch h3{margin:0 0 8px;font-size:18px}.oglobo-operation-launch p{color:#6b7280;min-height:60px;margin-bottom:16px}.oglobo-operation-launch span{font-weight:700;font-size:13px}.oglobo-operation-launch.is-scan .oglobo-operation-launch-icon{background:#fff1e6;color:#e8590c}.oglobo-operation-launch.is-scan span{color:#e8590c}.oglobo-operation-launch.is-calendar .oglobo-operation-launch-icon{background:#eaf2ff;color:#2563eb}.oglobo-operation-launch.is-calendar span{color:#2563eb}.oglobo-operation-launch.is-driver .oglobo-operation-launch-icon{background:#fff7ed;color:#c2410c}.oglobo-operation-launch.is-driver span{color:#c2410c}.oglobo-operation-launch.is-history .oglobo-operation-launch-icon{background:#f3e8ff;color:#7c3aed}.oglobo-operation-launch.is-history span{color:#7c3aed}
.oglobo-camera-frame{position:relative;aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:#10151c;border:1px solid #2c3440}.oglobo-camera-frame video{width:100%;height:100%;object-fit:cover}.oglobo-camera-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d8dee8;gap:6px;background:radial-gradient(circle at center,#253140,#111820)}.oglobo-camera-placeholder small{color:#9da8b6}.oglobo-camera-guide{position:absolute;inset:18%;pointer-events:none}.oglobo-camera-guide span{position:absolute;width:34px;height:34px;border-color:#ff922b}.oglobo-camera-guide span:nth-child(1){left:0;top:0;border-left:3px solid #ff922b;border-top:3px solid #ff922b}.oglobo-camera-guide span:nth-child(2){right:0;top:0;border-right:3px solid #ff922b;border-top:3px solid #ff922b}.oglobo-camera-guide span:nth-child(3){left:0;bottom:0;border-left:3px solid #ff922b;border-bottom:3px solid #ff922b}.oglobo-camera-guide span:nth-child(4){right:0;bottom:0;border-right:3px solid #ff922b;border-bottom:3px solid #ff922b}.oglobo-scan-result{padding:18px;border:1px solid #dfe5ec;border-radius:16px;background:linear-gradient(180deg,#fff,#fafbfd)}.oglobo-inline-loading{padding:12px;border-radius:10px;background:#f3f6fa;color:#64748b}
.oglobo-status-pill{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700}.oglobo-status-pill.tone-blue{background:#eaf2ff;color:#2563eb}.oglobo-status-pill.tone-orange{background:#fff2e5;color:#d9480f}.oglobo-status-pill.tone-green{background:#eafaf0;color:#16803a}.oglobo-status-pill.tone-purple{background:#f3e8ff;color:#7c3aed}
.oglobo-driver-list{overflow:hidden}.oglobo-driver-head-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;font-size:22px;margin-right:12px}.oglobo-driver-list.tone-cyan .oglobo-driver-head-icon{background:#e6faff;color:#0891b2}.oglobo-driver-list.tone-purple .oglobo-driver-head-icon{background:#f3e8ff;color:#7c3aed}.oglobo-driver-task{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,250px);gap:18px;padding:18px;border-bottom:1px solid #edf0f4}.oglobo-driver-task:last-child{border-bottom:0}.oglobo-task-meta{display:flex;flex-wrap:wrap;gap:8px}.oglobo-task-meta span{padding:5px 8px;border-radius:8px;background:#f5f7fa;color:#5f6b7a;font-size:12px}.oglobo-driver-task-action{align-self:center}
.oglobo-calendar-shell{overflow:hidden}.oglobo-calendar-toolbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}.oglobo-calendar-toolbar .btn-group{justify-self:end}.oglobo-calendar-title{font-weight:700;text-align:center}.oglobo-calendar-add{border:0;background:#fff2e5;color:#d9480f;width:24px;height:24px;border-radius:8px;font-weight:800}.oglobo-calendar-date-row{display:flex;align-items:center;justify-content:space-between}.oglobo-calendar-month .oglobo-calendar-day{min-height:145px}.oglobo-day-view{display:grid;grid-template-columns:180px 1fr;min-height:420px}.oglobo-day-date{padding:24px;border-right:1px solid #edf0f4;background:#fafbfd}.oglobo-day-date strong,.oglobo-day-date span{display:block}.oglobo-day-date strong{font-size:18px}.oglobo-day-events{padding:18px}.oglobo-calendar-list-event{display:flex;align-items:flex-start;gap:14px;padding:14px;border:1px solid #e7ebf1;border-left:4px solid #2563eb;border-radius:12px;background:#fff;margin-bottom:10px}.oglobo-calendar-list-event.is-emptybox{border-left-color:#0891b2}.oglobo-calendar-list-event.is-fullbox{border-left-color:#7c3aed}.oglobo-calendar-list-time{min-width:50px;font-weight:800;color:#475569}.oglobo-calendar-empty{padding:24px;text-align:center;color:#94a3b8}.oglobo-week-grid{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));overflow-x:auto}.oglobo-week-day{min-height:420px;border-right:1px solid #edf0f4}.oglobo-week-day:last-child{border-right:0}.oglobo-week-day.is-today{background:#fffaf4}.oglobo-week-day-head{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid #edf0f4}.oglobo-week-day-head small,.oglobo-week-day-head strong{display:block}.oglobo-week-day-head strong{font-size:22px}.oglobo-week-day-body{padding:8px}.oglobo-week-day .oglobo-calendar-list-event{display:block;padding:10px}.oglobo-week-day .oglobo-calendar-list-time{margin-bottom:4px}
.oglobo-ops-search-results{position:absolute;z-index:1065;left:0;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid #dfe5ec;border-radius:12px;box-shadow:0 14px 34px rgba(31,41,55,.14);max-height:280px;overflow:auto}.oglobo-ops-search-item{width:100%;border:0;border-bottom:1px solid #eef1f5;background:#fff;padding:11px 13px;text-align:left}.oglobo-ops-search-item:hover{background:#f8fafc}.oglobo-ops-search-item:last-child{border-bottom:0}.oglobo-ops-search-item strong,.oglobo-ops-search-item span,.oglobo-ops-search-item small{display:block}.oglobo-ops-search-item span{color:#536174;font-size:13px}.oglobo-ops-search-item small{color:#8b96a7}.oglobo-selected-shipment{display:flex;gap:10px;align-items:center;padding:10px 12px;background:#ecfdf3;border:1px solid #bbf7d0;border-radius:10px;color:#166534}.oglobo-selected-shipment span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#dcfce7}.oglobo-selected-shipment strong,.oglobo-selected-shipment small{display:block}.oglobo-selected-shipment small{color:#4d7c5b}
@media(max-width:1100px){.oglobo-ops-subnav{grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-calendar-toolbar{grid-template-columns:1fr 1fr}.oglobo-calendar-title{grid-column:1/-1;grid-row:1;text-align:left}.oglobo-calendar-toolbar>div:first-child{grid-row:2}.oglobo-calendar-toolbar .btn-group{grid-row:2}}
@media(max-width:767px){.oglobo-ops-subnav{display:flex;overflow-x:auto;scrollbar-width:none}.oglobo-ops-subnav::-webkit-scrollbar{display:none}.oglobo-ops-subnav-item{min-width:150px}.oglobo-ops-subnav-item small{display:none}.oglobo-driver-task{grid-template-columns:1fr}.oglobo-day-view{grid-template-columns:1fr}.oglobo-day-date{border-right:0;border-bottom:1px solid #edf0f4}.oglobo-calendar-toolbar{display:flex;flex-wrap:wrap}.oglobo-calendar-title{width:100%;order:-1;text-align:left}.oglobo-week-grid{grid-template-columns:repeat(7,220px)}.oglobo-calendar-month{min-width:850px}.oglobo-calendar-shell .card-body{overflow-x:auto}}

/* v0.16.4 — Operations reliability + semantic states */
.oglobo-status-pill.tone-red{background:#fff0f1;color:#c92a2a}
.oglobo-scan-card .btn:disabled{opacity:.62;cursor:not-allowed}
.oglobo-scan-result .alert{border-radius:12px}
.oglobo-driver-task:has(.oglobo-status-pill.tone-red){background:linear-gradient(90deg,rgba(214,57,57,.035),transparent 40%)}
.oglobo-calendar-event.is-overdue,.oglobo-calendar-list-event.is-overdue{border-color:#ffc9c9;background:#fff5f5}

/* v0.16.6 — Operación: capa visual moderna */
.oglobo-module-hero{display:flex;align-items:center;gap:16px;padding:20px 22px;background:#fff;border:1px solid #e7ebf1;border-radius:18px;box-shadow:0 8px 26px rgba(31,41,55,.055);position:relative;overflow:hidden}.oglobo-module-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--hero-accent,#e8590c)}.oglobo-module-hero .page-pretitle{font-size:11px;font-weight:800;letter-spacing:.085em;color:var(--hero-accent,#e8590c)}.oglobo-module-hero-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto;background:var(--hero-soft,#fff4e8);color:var(--hero-accent,#e8590c);box-shadow:inset 0 0 0 1px var(--hero-border,rgba(232,89,12,.12))}.oglobo-module-hero-operation,.oglobo-module-hero-scan,.oglobo-module-hero-driver{--hero-accent:#e8590c;--hero-soft:#fff4e8;--hero-border:#fed7aa}.oglobo-module-hero-calendar{--hero-accent:#2563eb;--hero-soft:#eff6ff;--hero-border:#bfdbfe}.oglobo-module-hero-history{--hero-accent:#7c3aed;--hero-soft:#f5f3ff;--hero-border:#ddd6fe}.oglobo-module-hero-badge{margin-left:auto;display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;font-size:12px;font-weight:700}.oglobo-module-hero-badge span{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.1)}.oglobo-module-hero-counter{margin-left:auto;text-align:right}.oglobo-module-hero-counter strong,.oglobo-module-hero-counter span{display:block}.oglobo-module-hero-counter strong{font-size:24px;line-height:1;color:#5b21b6}.oglobo-module-hero-counter span{font-size:11px;color:#8a94a6;margin-top:4px;text-transform:uppercase;letter-spacing:.06em}
.oglobo-stat-caption{display:block;font-size:11px;color:#8a94a6;margin-top:2px}.oglobo-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.oglobo-section-kicker{font-size:10px;font-weight:800;letter-spacing:.1em;color:#e8590c;display:block;margin-bottom:3px}
.oglobo-ops-subnav{padding:7px;gap:7px;border-radius:15px}.oglobo-ops-subnav-item{position:relative;padding:9px 11px}.oglobo-ops-subnav-item:after{content:"";position:absolute;left:13px;right:13px;bottom:-8px;height:3px;border-radius:3px;background:transparent}.oglobo-ops-subnav-item.active:after{background:currentColor}.oglobo-ops-subnav-icon{background:#f7f9fc;color:#667085;transition:.18s ease}.oglobo-ops-subnav-item.active .oglobo-ops-subnav-icon{background:#fff;color:currentColor;box-shadow:0 3px 10px rgba(31,41,55,.08)}.oglobo-ops-subnav-item.is-center.active{background:#fff4e8;color:#d9480f;border-color:#fed7aa}.oglobo-ops-subnav-item.is-scan:not(.active) .oglobo-ops-subnav-icon{color:#e8590c;background:#fff7ed}.oglobo-ops-subnav-item.is-calendar:not(.active) .oglobo-ops-subnav-icon{color:#2563eb;background:#eff6ff}.oglobo-ops-subnav-item.is-driver:not(.active) .oglobo-ops-subnav-icon{color:#c2410c;background:#fff7ed}.oglobo-ops-subnav-item.is-history:not(.active) .oglobo-ops-subnav-icon{color:#7c3aed;background:#f5f3ff}
.oglobo-operation-launch{position:relative;overflow:hidden;padding:24px 22px 21px}.oglobo-operation-launch:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--launch-accent,#e8590c);opacity:.85}.oglobo-operation-launch.is-scan{--launch-accent:#e8590c}.oglobo-operation-launch.is-calendar{--launch-accent:#2563eb}.oglobo-operation-launch.is-driver{--launch-accent:#f97316}.oglobo-operation-launch.is-history{--launch-accent:#7c3aed}.oglobo-operation-launch-kicker{font-size:10px;letter-spacing:.09em;font-weight:800;color:var(--launch-accent);margin-bottom:5px}.oglobo-operation-launch span{display:inline-flex;align-items:center;gap:5px}.oglobo-operation-launch-icon{box-shadow:inset 0 0 0 1px rgba(0,0,0,.035)}
.oglobo-card-head-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.oglobo-card-head-icon.tone-orange{color:#e8590c;background:#fff4e8}.oglobo-card-head-icon.tone-blue{color:#2563eb;background:#eff6ff}.oglobo-card-head-icon.tone-purple{color:#7c3aed;background:#f5f3ff}.oglobo-scan-card{border:1px solid #e7ebf1;border-radius:18px;overflow:hidden;box-shadow:0 8px 26px rgba(31,41,55,.055)}.oglobo-scan-card .card-header{min-height:72px;background:linear-gradient(180deg,#fff,#fbfcfe);border-bottom-color:#edf0f4}.oglobo-camera-frame{border-radius:16px;overflow:hidden;border:1px solid #1f2937;background:#111827;min-height:300px}.oglobo-camera-placeholder-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.08);color:#f8fafc;margin:0 auto 12px}.oglobo-input-icon{color:#2563eb;background:#f8fbff}.oglobo-scan-result{border:1px solid #dbe4ef;border-radius:16px;padding:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.oglobo-calendar-legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:0 4px;color:#667085;font-size:12px}.oglobo-calendar-legend span{display:inline-flex;align-items:center;gap:7px}.oglobo-calendar-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.oglobo-calendar-legend .is-emptybox{background:#06b6d4}.oglobo-calendar-legend .is-fullbox{background:#8b5cf6}.oglobo-calendar-legend .is-route{background:#f97316}.oglobo-calendar-legend .is-complete{background:#22c55e}.oglobo-calendar-shell{border-radius:18px;border:1px solid #e5eaf1;box-shadow:0 8px 26px rgba(31,41,55,.055);overflow:hidden}.oglobo-calendar-toolbar{background:linear-gradient(180deg,#fff,#fafcff)}.oglobo-hero-action{margin-left:auto;display:inline-flex;align-items:center;gap:7px}
.oglobo-driver-list{border-radius:18px;border:1px solid #e6eaf0;overflow:hidden;box-shadow:0 8px 26px rgba(31,41,55,.055)}.oglobo-driver-list.tone-cyan{border-top:4px solid #06b6d4}.oglobo-driver-list.tone-purple{border-top:4px solid #8b5cf6}.oglobo-driver-list .card-header{background:linear-gradient(180deg,#fff,#fbfcfe);min-height:76px}.oglobo-driver-head-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center}.oglobo-driver-list.tone-cyan .oglobo-driver-head-icon{background:#ecfeff;color:#0891b2}.oglobo-driver-list.tone-purple .oglobo-driver-head-icon{background:#f5f3ff;color:#7c3aed}.oglobo-driver-task{transition:.16s ease}.oglobo-driver-task:hover{background:#fbfcfe}.oglobo-task-meta span{display:inline-flex;align-items:center;gap:5px}.oglobo-empty-op-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#f7f9fc;color:#98a2b3;margin:0 auto}
.oglobo-filter-card,.oglobo-history-card{border:1px solid #e6eaf0;border-radius:18px;box-shadow:0 8px 26px rgba(31,41,55,.05);overflow:hidden}.oglobo-filter-card{border-left:4px solid #7c3aed}.oglobo-history-card .card-header{background:linear-gradient(180deg,#fff,#fbfcfe);min-height:72px}.oglobo-count-badge{min-width:34px;height:28px;padding:0 10px;border-radius:999px;display:grid;place-items:center;font-size:12px;font-weight:800}.oglobo-count-badge.tone-purple{background:#f5f3ff;color:#7c3aed}.oglobo-history-table thead th{font-size:10px;letter-spacing:.055em;text-transform:uppercase;color:#7b8798;background:#fafbfc}.oglobo-date-cell strong,.oglobo-date-cell span{display:block}.oglobo-date-cell span{font-size:11px;color:#98a2b3;margin-top:2px}.oglobo-tracking-cell{display:flex;align-items:center;gap:10px;min-width:230px}.oglobo-tracking-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#fff4e8;color:#e8590c;flex:0 0 auto}.oglobo-tracking-cell strong,.oglobo-tracking-cell small{display:block}.oglobo-tracking-cell small{color:#8a94a6;margin-top:2px}.oglobo-source-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:700;background:#f4f6f8;color:#667085}.oglobo-source-chip.tone-orange{background:#fff4e8;color:#d9480f}.oglobo-source-chip.tone-blue{background:#eff6ff;color:#2563eb}.oglobo-source-chip.tone-cyan{background:#ecfeff;color:#0891b2}.oglobo-source-chip.tone-purple{background:#f5f3ff;color:#7c3aed}.oglobo-source-chip.tone-indigo{background:#eef2ff;color:#4f46e5}.oglobo-location-cell,.oglobo-user-cell{display:flex;align-items:center;gap:6px;color:#536174;white-space:nowrap}.oglobo-location-cell svg{color:#0ea5e9}.oglobo-user-cell svg{color:#7c3aed}.oglobo-note-cell{max-width:280px}.oglobo-empty-state{text-align:center;padding:52px 20px}.oglobo-empty-state>span{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:#f5f3ff;color:#7c3aed;margin:0 auto 12px}.oglobo-empty-state strong,.oglobo-empty-state small{display:block}.oglobo-empty-state small{color:#98a2b3;margin-top:5px}
@media(max-width:767px){.oglobo-module-hero{align-items:flex-start;padding:17px}.oglobo-module-hero-icon{width:46px;height:46px;border-radius:14px}.oglobo-module-hero-badge,.oglobo-module-hero-counter{display:none}.oglobo-module-hero .page-title{font-size:20px}.oglobo-section-heading{display:block}.oglobo-section-heading>.text-secondary{margin-top:5px}.oglobo-hero-action{width:100%;justify-content:center;margin:12px 0 0}.oglobo-module-hero-calendar{flex-wrap:wrap}.oglobo-calendar-legend{gap:10px 14px}.oglobo-camera-frame{min-height:240px}}

/* v0.16.7 — Scanner permission + driver task clarity */
.oglobo-scanner-hero-badge{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:12px;white-space:nowrap}.oglobo-scanner-hero-badge>span{width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.12)}.oglobo-scanner-hero-badge>span.is-granted{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.oglobo-scanner-hero-badge>span.is-denied{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12)}
.oglobo-scan-camera-card{border-top:4px solid #f97316}.oglobo-scan-manual-card{border-top:4px solid #2563eb}.oglobo-scan-card-header{padding:16px 18px}.oglobo-camera-permission{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #fed7aa;border-radius:14px;background:linear-gradient(180deg,#fffaf5,#fff7ed)}.oglobo-camera-permission-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#ffedd5;color:#ea580c;flex:0 0 auto}.oglobo-camera-permission strong,.oglobo-camera-permission small{display:block}.oglobo-camera-permission small{margin-top:2px;color:#7c6f64}.oglobo-permission-pill{padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.oglobo-permission-pill.is-pending{background:#fef3c7;color:#92400e}.oglobo-permission-pill.is-granted{background:#dcfce7;color:#166534}.oglobo-permission-pill.is-denied{background:#fee2e2;color:#991b1b}
.oglobo-camera-frame{box-shadow:inset 0 0 0 1px rgba(255,255,255,.05),0 8px 24px rgba(15,23,42,.13)}.oglobo-camera-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.oglobo-btn-camera{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#f97316,#ea580c);color:#fff!important;border:1px solid #ea580c;font-weight:800;box-shadow:0 8px 18px rgba(234,88,12,.22)}.oglobo-btn-camera:hover,.oglobo-btn-camera:focus{background:linear-gradient(135deg,#ea580c,#c2410c);border-color:#c2410c;transform:translateY(-1px);color:#fff!important}.oglobo-camera-hint{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid #e5e7eb;color:#64748b;font-size:12px}.oglobo-camera-hint svg{flex:0 0 auto;margin-top:1px}.oglobo-manual-track-intro{display:flex;align-items:center;gap:12px;padding:14px;border-radius:14px;background:#eff6ff;border:1px solid #dbeafe;color:#1d4ed8}.oglobo-manual-track-intro>span{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#fff;box-shadow:0 3px 10px rgba(37,99,235,.08)}.oglobo-manual-track-intro strong,.oglobo-manual-track-intro small{display:block}.oglobo-manual-track-intro small{color:#64748b;margin-top:2px}.oglobo-track-input-group{box-shadow:0 5px 16px rgba(37,99,235,.07);border-radius:12px}
.oglobo-driver-summary{gap:8px;margin-left:auto}.oglobo-driver-summary span{min-width:72px;padding:8px 12px;border-radius:12px;background:#fff;border:1px solid #eceff4;text-align:center}.oglobo-driver-summary strong,.oglobo-driver-summary small{display:block}.oglobo-driver-summary strong{font-size:18px}.oglobo-driver-summary small{font-size:10px;color:#7c8798;text-transform:uppercase;letter-spacing:.05em}.oglobo-driver-list-header{padding:16px 18px}.oglobo-task-count{min-width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-weight:800;font-size:13px;background:#f3f6fa;color:#475569}.oglobo-driver-list.tone-cyan .oglobo-task-count{background:#ecfeff;color:#0e7490}.oglobo-driver-list.tone-purple .oglobo-task-count{background:#f5f3ff;color:#7c3aed}.oglobo-driver-task{position:relative;background:#fff;min-height:150px}.oglobo-driver-task.is-running{background:linear-gradient(90deg,#fff7ed 0,#fff 32%)}.oglobo-task-box-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#f8fafc;color:#64748b}.tone-cyan .oglobo-task-box-icon{background:#ecfeff;color:#0891b2}.tone-purple .oglobo-task-box-icon{background:#f5f3ff;color:#7c3aed}.oglobo-task-tracking{font-size:15px;letter-spacing:.02em}.oglobo-task-client{font-size:14px;font-weight:800;color:#253044}.oglobo-driver-task-action{padding-left:2px}.oglobo-action-callout{display:flex;align-items:center;gap:9px;padding:9px 10px;margin-bottom:9px;border-radius:11px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.oglobo-action-callout.is-success{background:#ecfdf3;border-color:#bbf7d0;color:#166534}.oglobo-action-callout-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#fff;flex:0 0 auto}.oglobo-action-callout strong,.oglobo-action-callout small{display:block}.oglobo-action-callout strong{font-size:12px}.oglobo-action-callout small{font-size:10px;opacity:.78;margin-top:1px}.oglobo-btn-start-task{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;background:linear-gradient(135deg,#f97316,#ea580c);border:1px solid #ea580c;color:#fff!important;font-weight:800;box-shadow:0 7px 17px rgba(234,88,12,.2)}.oglobo-btn-start-task:hover,.oglobo-btn-start-task:focus{background:linear-gradient(135deg,#ea580c,#c2410c);border-color:#c2410c;color:#fff!important;transform:translateY(-1px)}.oglobo-btn-start-task svg:last-child{margin-left:auto}.oglobo-btn-complete-task{display:flex;align-items:center;justify-content:center;gap:7px;font-weight:800;min-height:40px}
@media(max-width:1199px){.oglobo-driver-task{grid-template-columns:minmax(0,1fr) minmax(220px,280px)}}
@media(max-width:767px){.oglobo-scanner-hero-badge{display:none}.oglobo-camera-actions{grid-template-columns:1fr}.oglobo-camera-actions .btn{width:100%}.oglobo-camera-permission{align-items:flex-start}.oglobo-permission-pill{margin-left:auto}.oglobo-driver-task{padding:15px}.oglobo-driver-task-action{padding-top:2px}.oglobo-track-input-group{display:flex;flex-wrap:wrap}.oglobo-track-input-group .input-group-text{border-radius:10px 0 0 10px}.oglobo-track-input-group input{min-width:0}.oglobo-track-input-group #scan-find{width:100%;margin-top:8px;border-radius:10px!important}}

/* v0.17.0 — Consolidations modern workflow + external tracking */
.oglobo-cons-hero{display:flex;align-items:center;gap:16px;padding:20px 22px;border:1px solid #e5eaf0;border-left:4px solid #0891b2;border-radius:18px;background:linear-gradient(135deg,#fff 0%,#f7fcff 100%);box-shadow:0 8px 28px rgba(15,23,42,.055)}.oglobo-cons-hero-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#ecfeff;color:#0891b2;flex:0 0 auto}.oglobo-cons-new{margin-left:auto;display:inline-flex;gap:7px;align-items:center}.oglobo-cons-kpi{display:flex;align-items:center;gap:12px;padding:15px 16px;border:1px solid #e8ecf2;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(31,41,55,.04)}.oglobo-cons-kpi>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center}.oglobo-cons-kpi strong,.oglobo-cons-kpi small{display:block}.oglobo-cons-kpi strong{font-size:22px;line-height:1}.oglobo-cons-kpi small{margin-top:4px;color:#748094;font-size:11px}.oglobo-cons-kpi.tone-blue>span{background:#eff6ff;color:#2563eb}.oglobo-cons-kpi.tone-cyan>span{background:#ecfeff;color:#0891b2}.oglobo-cons-kpi.tone-orange>span{background:#fff7ed;color:#ea580c}.oglobo-cons-kpi.tone-green>span{background:#ecfdf3;color:#15803d}.oglobo-api-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px}.oglobo-api-provider{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #e6eaf0;border-radius:14px;background:#fff}.oglobo-api-provider .provider-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center}.provider-icon.sea{background:#ecfeff;color:#0891b2}.provider-icon.air{background:#f5f3ff;color:#7c3aed}.oglobo-api-provider strong,.oglobo-api-provider small{display:block}.oglobo-api-provider small{color:#7b8798;margin-top:2px}.provider-state{margin-left:auto;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}.is-ready .provider-state{background:#dcfce7;color:#166534}.is-pending .provider-state{background:#fff7ed;color:#9a3412}.oglobo-cons-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.oglobo-cons-toolbar .btn{display:inline-flex;align-items:center;gap:6px}.oglobo-cons-card{border:1px solid #e5eaf0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 25px rgba(31,41,55,.045)}.oglobo-cons-card.is-sea{border-left:4px solid #06b6d4}.oglobo-cons-card.is-air{border-left:4px solid #8b5cf6}.oglobo-cons-card-main{display:grid;grid-template-columns:auto minmax(180px,1.2fr) minmax(230px,1fr) minmax(230px,1fr) 72px;align-items:center;gap:16px;padding:17px 18px}.oglobo-cons-mode-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center}.is-sea .oglobo-cons-mode-icon{background:#ecfeff;color:#0891b2}.is-air .oglobo-cons-mode-icon{background:#f5f3ff;color:#7c3aed}.oglobo-cons-identity small,.oglobo-cons-ref small,.oglobo-cons-route small{display:block;color:#8590a1;margin-top:3px}.oglobo-cons-ref label,.oglobo-cons-route label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:#98a2b3;font-weight:800;margin-bottom:3px}.oglobo-cons-code{font-size:15px}.oglobo-cons-boxcount{text-align:center;padding:8px;border-radius:12px;background:#f8fafc}.oglobo-cons-boxcount span,.oglobo-cons-boxcount small{display:block}.oglobo-cons-boxcount span{font-size:22px;font-weight:800}.oglobo-cons-boxcount small{font-size:9px;text-transform:uppercase;color:#8792a2}.oglobo-cons-live{display:flex;align-items:center;gap:14px;padding:11px 18px;border-top:1px solid #eef1f5;background:#fafbfc}.oglobo-live-status{display:flex;align-items:center;gap:8px;min-width:280px}.oglobo-live-status>span{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#f1f5f9;color:#64748b}.oglobo-live-status strong,.oglobo-live-status small{display:block}.oglobo-live-status small{font-size:10px;color:#8993a2;margin-top:1px}.oglobo-live-status.is-ready>span{background:#ecfdf3;color:#16a34a}.oglobo-live-status.has-error>span{background:#fef2f2;color:#dc2626}.oglobo-live-pos{display:flex;align-items:center;gap:6px;color:#536174;font-size:11px}.oglobo-live-pos small{margin-left:5px;color:#8993a2}.oglobo-cons-actions{margin-left:auto;display:flex;gap:8px}.oglobo-cons-actions .btn{display:inline-flex;align-items:center;gap:6px}.oglobo-cons-tools{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;padding:16px 18px;border-top:1px dashed #dfe5ec;background:#fff}.oglobo-cons-empty{text-align:center;padding:58px 24px;border:1px dashed #d9e0e8;border-radius:18px;background:#fbfcfd}.oglobo-cons-empty>span{width:68px;height:68px;border-radius:20px;display:grid;place-items:center;margin:0 auto 13px;background:#ecfeff;color:#0891b2}.oglobo-cons-empty h3{margin:0 0 5px}.oglobo-cons-empty p{color:#7b8798}.oglobo-cons-type-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cons-type-option input{position:absolute;opacity:0;pointer-events:none}.type-card{display:flex;align-items:center;gap:10px;padding:14px;border:2px solid #e5eaf0;border-radius:15px;cursor:pointer;transition:.15s}.type-card strong,.type-card small{display:block}.type-card small{margin-left:auto;color:#8b95a5;font-size:11px}.cons-type-option input:checked+.type-card.sea{border-color:#06b6d4;background:#ecfeff;color:#0e7490}.cons-type-option input:checked+.type-card.air{border-color:#8b5cf6;background:#f5f3ff;color:#6d28d9}.oglobo-cons-form-section{border:1px solid #e6eaf0;border-radius:16px;padding:16px}.oglobo-cons-form-section.sea{border-left:4px solid #06b6d4}.oglobo-cons-form-section.air{border-left:4px solid #8b5cf6}.oglobo-cons-form-section.neutral{border-left:4px solid #2563eb}.oglobo-cons-form-section .section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.oglobo-cons-form-section .section-title>span{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f8fafc}.oglobo-cons-form-section .section-title strong,.oglobo-cons-form-section .section-title small{display:block}.oglobo-cons-form-section .section-title small{font-size:11px;color:#7b8798;margin-top:2px}.oglobo-cons-form-section.sea .section-title>span{background:#ecfeff;color:#0891b2}.oglobo-cons-form-section.air .section-title>span{background:#f5f3ff;color:#7c3aed}.oglobo-cons-form-section.neutral .section-title>span{background:#eff6ff;color:#2563eb}
@media(max-width:1199px){.oglobo-cons-card-main{grid-template-columns:auto 1fr 1fr}.oglobo-cons-route{grid-column:2/3}.oglobo-cons-boxcount{grid-column:3;grid-row:2}.oglobo-cons-live{flex-wrap:wrap}.oglobo-cons-actions{margin-left:0}.oglobo-cons-tools{grid-template-columns:1fr}}
@media(max-width:767px){.oglobo-cons-hero{align-items:flex-start;flex-wrap:wrap}.oglobo-cons-new{width:100%;justify-content:center;margin-left:0}.oglobo-api-strip{grid-template-columns:1fr}.oglobo-cons-toolbar{align-items:flex-start;flex-direction:column}.oglobo-cons-card-main{grid-template-columns:auto 1fr}.oglobo-cons-ref,.oglobo-cons-route,.oglobo-cons-boxcount{grid-column:1/-1}.oglobo-cons-boxcount{text-align:left;display:flex;gap:8px;align-items:baseline}.oglobo-cons-live{align-items:flex-start;flex-direction:column}.oglobo-live-status{min-width:0}.oglobo-cons-actions{width:100%}.oglobo-cons-actions form,.oglobo-cons-actions .btn{flex:1}.oglobo-cons-type-picker{grid-template-columns:1fr}.type-card small{margin-left:auto}.oglobo-cons-tools form{flex-wrap:wrap}.oglobo-cons-tools form .form-control,.oglobo-cons-tools form .form-select{min-width:160px;flex:1}.oglobo-cons-tools form .btn{width:100%}}

/* v0.17.2 — Scanner compact camera + consolidation boxes modal */
.oglobo-scanner-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.7fr);gap:18px;align-items:start}
.oglobo-scan-camera-shell{padding:18px}
.oglobo-scan-camera-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.oglobo-camera-compact-status{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:999px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:11px;white-space:nowrap}
.oglobo-camera-compact-status>span{width:8px;height:8px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.12)}
.oglobo-camera-compact-status>span.is-granted{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.12)}
.oglobo-camera-compact-status>span.is-denied,.oglobo-camera-compact-status>span.is-insecure{background:#ef4444;box-shadow:0 0 0 3px rgba(239,68,68,.12)}
.oglobo-camera-frame-compact{width:min(100%,760px);aspect-ratio:16/9;min-height:0!important;max-height:430px;margin:0 auto}
.oglobo-camera-frame-compact .oglobo-camera-guide{inset:18% 25%}
.oglobo-camera-frame-compact .oglobo-camera-placeholder{padding:22px;text-align:center}
.oglobo-camera-controlbar{display:flex;align-items:center;justify-content:space-between;gap:14px;width:min(100%,760px);margin:12px auto 0}
.oglobo-camera-permission-compact{display:flex;align-items:center;gap:9px;min-width:0;flex:1}
.oglobo-camera-permission-compact .oglobo-camera-permission-icon{width:34px;height:34px;border-radius:10px}
.oglobo-camera-permission-compact strong,.oglobo-camera-permission-compact small{display:block}
.oglobo-camera-permission-compact strong{font-size:12px;color:#334155}
.oglobo-camera-permission-compact small{font-size:10px;color:#8490a2;margin-top:1px;white-space:normal}
.oglobo-camera-controlbar .oglobo-camera-actions{display:flex;grid-template-columns:none;flex:0 0 auto;margin:0!important}
.oglobo-camera-controlbar .oglobo-btn-camera{min-width:160px}
.oglobo-scan-camera-shell>.oglobo-camera-hint{width:min(100%,760px);margin:10px auto 0!important;padding:8px 10px;background:transparent;border-style:dashed}
.oglobo-manual-compact{padding:18px}
.oglobo-scan-manual-card{border-top-width:3px}

.oglobo-cons-boxes-btn{display:inline-flex;align-items:center;gap:6px;font-weight:700;border:1px solid transparent}
.oglobo-cons-boxes-btn.is-sea{background:#ecfeff;color:#0e7490;border-color:#bae6fd}
.oglobo-cons-boxes-btn.is-sea:hover{background:#cffafe;color:#155e75;border-color:#67e8f9}
.oglobo-cons-boxes-btn.is-air{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}
.oglobo-cons-boxes-btn.is-air:hover{background:#ede9fe;color:#5b21b6;border-color:#c4b5fd}
.oglobo-cons-boxes-count{min-width:21px;height:21px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:rgba(255,255,255,.8);font-size:10px;font-weight:900}
.oglobo-cons-box-modal-summary{display:grid;grid-template-columns:1fr 1.3fr .55fr;gap:12px}
.oglobo-cons-box-modal-summary>div{position:relative;padding:13px 14px 13px 48px;border:1px solid #e6ebf1;border-radius:14px;background:linear-gradient(180deg,#fff,#fafcfe);min-width:0}
.oglobo-cons-box-modal-summary>div>span{position:absolute;left:13px;top:13px;width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:#f1f5f9;color:#475569}
.oglobo-cons-box-modal-summary small,.oglobo-cons-box-modal-summary strong{display:block}
.oglobo-cons-box-modal-summary small{font-size:9px;text-transform:uppercase;letter-spacing:.055em;color:#94a3b8;font-weight:800}
.oglobo-cons-box-modal-summary strong{font-size:12px;color:#263246;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oglobo-cons-box-list{border:1px solid #e5eaf0;border-radius:15px;overflow:hidden;background:#fff}
.oglobo-cons-box-row{display:grid;grid-template-columns:38px minmax(200px,1.4fr) minmax(160px,1fr) minmax(150px,.8fr) minmax(160px,.9fr);gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid #edf1f5}
.oglobo-cons-box-row:last-child{border-bottom:0}
.oglobo-cons-box-row:hover{background:#fbfdff}
.oglobo-cons-box-row-icon{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eff6ff;color:#2563eb}
.oglobo-cons-box-row-main strong,.oglobo-cons-box-row-main small,.oglobo-cons-box-row-size small,.oglobo-cons-box-row-size strong,.oglobo-cons-box-row-destination small,.oglobo-cons-box-row-destination strong,.oglobo-cons-box-row-status small{display:block}
.oglobo-cons-box-row-main strong{font-size:13px;color:#172033}.oglobo-cons-box-row-main small{font-size:10px;color:#7b8798;margin-top:2px}
.oglobo-cons-box-row-size small,.oglobo-cons-box-row-destination small{font-size:9px;text-transform:uppercase;letter-spacing:.045em;color:#9aa4b2;font-weight:800}
.oglobo-cons-box-row-size strong,.oglobo-cons-box-row-destination strong{font-size:11px;color:#3b4758;margin-top:2px}
.oglobo-cons-box-row-status{text-align:right}.oglobo-cons-box-row-status small{font-size:9px;color:#8b95a5;margin-top:4px;text-transform:capitalize}
.oglobo-cons-box-modal-empty{text-align:center;padding:42px 20px;border:1px dashed #dce3ea;border-radius:15px;background:#fbfcfd}.oglobo-cons-box-modal-empty>span{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;margin:0 auto 10px;background:#eff6ff;color:#2563eb}.oglobo-cons-box-modal-empty h4{margin:0 0 4px}.oglobo-cons-box-modal-empty p{margin:0;color:#7c8798;font-size:12px}

@media(max-width:1199px){.oglobo-scanner-workspace{grid-template-columns:1fr}.oglobo-manual-compact{max-width:860px;width:100%;margin:auto}.oglobo-cons-box-row{grid-template-columns:38px 1.4fr 1fr 1fr}.oglobo-cons-box-row-status{grid-column:2/-1;text-align:left;display:flex;align-items:center;gap:8px}.oglobo-cons-box-row-status small{margin:0}}
@media(max-width:767px){.oglobo-scan-camera-shell{padding:14px}.oglobo-scan-camera-top{align-items:flex-start}.oglobo-camera-compact-status{display:none}.oglobo-camera-frame-compact{aspect-ratio:4/3;max-height:none}.oglobo-camera-frame-compact .oglobo-camera-guide{inset:20%}.oglobo-camera-controlbar{align-items:stretch;flex-direction:column}.oglobo-camera-controlbar .oglobo-camera-actions{width:100%;display:grid;grid-template-columns:1fr auto}.oglobo-camera-controlbar .oglobo-btn-camera{min-width:0}.oglobo-cons-box-modal-summary{grid-template-columns:1fr}.oglobo-cons-box-row{grid-template-columns:36px 1fr;gap:10px}.oglobo-cons-box-row-size,.oglobo-cons-box-row-destination,.oglobo-cons-box-row-status{grid-column:2}.oglobo-cons-box-row-status{display:block}.oglobo-cons-box-row-status small{margin-top:4px}.oglobo-cons-actions{flex-wrap:wrap}.oglobo-cons-actions>.btn,.oglobo-cons-actions>form{min-width:calc(50% - 4px)}}

/* OGlobo v0.18.0 - Contabilidad separada: clientes / agencias */
.oglobo-finance-header .page-title{letter-spacing:-.02em}
.oglobo-finance-live-badge{padding:.5rem .75rem;border-radius:999px;font-weight:600}
.oglobo-finance-switcher{border:1px solid rgba(98,105,118,.14);box-shadow:0 10px 30px rgba(31,41,55,.05);overflow:hidden}
.oglobo-finance-tabs{gap:.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.oglobo-finance-tabs .nav-link{display:flex;align-items:center;gap:.75rem;text-align:left;color:var(--tblr-body-color);border-radius:.75rem;padding:.8rem 1rem;min-height:70px;transition:.18s ease}
.oglobo-finance-tabs .nav-link:hover{background:rgba(32,107,196,.055)}
.oglobo-finance-tabs .nav-link.active{background:linear-gradient(135deg,rgba(32,107,196,.10),rgba(124,58,237,.06));color:var(--tblr-body-color);box-shadow:inset 0 0 0 1px rgba(32,107,196,.16)}
.oglobo-finance-tabs .nav-link strong{display:block;font-size:.91rem}
.oglobo-finance-tabs .nav-link small{display:block;color:var(--tblr-secondary);font-size:.73rem;margin-top:.12rem}
.oglobo-finance-tab-icon{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(32,107,196,.09);color:#206bc4;flex:0 0 auto}
.oglobo-finance-tabs .nav-link:nth-child(2) .oglobo-finance-tab-icon{background:rgba(124,58,237,.09);color:#7c3aed}
.oglobo-finance-kpi{border:1px solid rgba(98,105,118,.13);box-shadow:0 8px 24px rgba(31,41,55,.045);height:100%}
.oglobo-finance-kpi .card-body{padding:1.1rem 1.2rem}
.oglobo-kpi-icon{width:42px;height:42px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}
.oglobo-finance-card{border:1px solid rgba(98,105,118,.13);box-shadow:0 10px 28px rgba(31,41,55,.045);overflow:hidden}
.oglobo-finance-card>.card-header{min-height:72px;background:linear-gradient(180deg,rgba(248,250,252,.9),rgba(255,255,255,.75))}
.oglobo-finance-search{min-width:235px}
.oglobo-finance-table thead th{font-size:.72rem;letter-spacing:.025em;text-transform:uppercase;color:var(--tblr-secondary);white-space:nowrap}
.oglobo-finance-table tbody tr{transition:background .15s ease}
.oglobo-finance-table tbody tr:hover{background:rgba(32,107,196,.025)}
.oglobo-finance-selected-guide{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem .9rem;border:1px solid rgba(32,107,196,.15);background:rgba(32,107,196,.045);border-radius:.65rem}
.oglobo-finance-selected-guide span{display:flex;flex-direction:column}
.oglobo-finance-selected-guide small{color:var(--tblr-secondary);font-size:.7rem;text-transform:uppercase;letter-spacing:.03em}
.oglobo-finance-selected-guide strong{font-size:.9rem;margin-top:.1rem}
@media (max-width:767.98px){
  .oglobo-finance-tabs{grid-template-columns:1fr}
  .oglobo-finance-search{min-width:0;width:100%;margin-top:.65rem}
  .oglobo-finance-card>.card-header{align-items:flex-start;flex-direction:column}
  .oglobo-finance-card .card-actions{margin-left:0;width:100%}
}


/* OGlobo v0.19.0 — Módulo financiero ampliado */
.oglobo-finance-period{padding:.55rem .65rem;border:1px solid rgba(98,105,118,.13);border-radius:.75rem;background:#fff;box-shadow:0 8px 22px rgba(31,41,55,.035)}
.oglobo-finance-tabs-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.oglobo-finance-tabs-5 .nav-link{min-width:0}
.oglobo-finance-tabs-5 .nav-link:nth-child(3) .oglobo-finance-tab-icon{background:rgba(239,68,68,.08);color:#dc2626}
.oglobo-finance-tabs-5 .nav-link:nth-child(4) .oglobo-finance-tab-icon{background:rgba(245,158,11,.10);color:#d97706}
.oglobo-finance-tabs-5 .nav-link:nth-child(5) .oglobo-finance-tab-icon{background:rgba(16,185,129,.09);color:#059669}
.oglobo-finance-summary-row{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:14px;align-items:center;padding:15px 0;border-bottom:1px solid rgba(98,105,118,.11)}
.oglobo-finance-summary-row:last-child{border-bottom:0}
.oglobo-finance-summary-row>span{display:flex;flex-direction:column}
.oglobo-finance-summary-row small{font-size:.69rem;color:var(--tblr-secondary);margin-top:.15rem}
.oglobo-finance-health{display:flex;gap:12px;align-items:flex-start;padding:10px 0}
.oglobo-finance-health>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.oglobo-finance-health strong,.oglobo-finance-health small{display:block}
.oglobo-finance-health small{font-size:.72rem;color:var(--tblr-secondary);margin-top:2px}
.oglobo-payroll-net{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-radius:.75rem;background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(32,107,196,.05));border:1px solid rgba(16,185,129,.16)}
.oglobo-payroll-net span{font-size:.75rem;text-transform:uppercase;letter-spacing:.035em;color:var(--tblr-secondary);font-weight:700}
.oglobo-payroll-net strong{font-size:1.35rem;color:#059669}
@media(max-width:1199px){.oglobo-finance-tabs-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){
 .oglobo-finance-period{width:100%;display:grid!important;grid-template-columns:1fr 1fr}
 .oglobo-finance-period .btn{grid-column:1/-1}
 .oglobo-finance-tabs-5{grid-template-columns:1fr}
 .oglobo-finance-summary-row{grid-template-columns:1fr 1fr}
 .oglobo-finance-summary-row>span:first-child{grid-column:1/-1}
}

/* OGlobo v0.19.1 — Finanzas compactas, cards jerárquicos y acciones no invasivas */
.oglobo-finance-toolbar .btn svg,.oglobo-finance-list-tools .btn svg{width:17px;height:17px;margin-right:5px;vertical-align:-3px}
.oglobo-finance-period-menu{width:260px}
.oglobo-finance-switcher{border:1px solid rgba(98,105,118,.12);border-radius:16px;box-shadow:0 10px 30px rgba(31,41,55,.055);background:rgba(255,255,255,.92)}
.oglobo-finance-tabs{gap:6px}
.oglobo-finance-tabs .nav-link{position:relative;border-radius:12px;min-height:64px;padding:.7rem .8rem;background:transparent;border:1px solid transparent}
.oglobo-finance-tabs .nav-link:hover{background:#f8fafc;border-color:#edf1f5}
.oglobo-finance-tabs .nav-link.active{background:linear-gradient(135deg,#f2f7ff 0%,#f7f3ff 100%);border-color:#c9dcfb;box-shadow:0 4px 14px rgba(32,107,196,.07)}
.oglobo-finance-tab-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf5ff;color:#206bc4}
.oglobo-finance-tab-icon svg{width:18px;height:18px}
.oglobo-finance-tabs .nav-link:nth-child(2) .oglobo-finance-tab-icon{background:#f3edff;color:#7c3aed}
.oglobo-finance-tabs .nav-link:nth-child(3) .oglobo-finance-tab-icon{background:#fff0f0;color:#d63939}
.oglobo-finance-tabs .nav-link:nth-child(4) .oglobo-finance-tab-icon{background:#fff6e8;color:#d97706}
.oglobo-finance-tabs .nav-link:nth-child(5) .oglobo-finance-tab-icon{background:#eaf9f4;color:#0ca678}
.oglobo-nav-count{margin-left:auto;min-width:25px;height:25px;padding:0 7px;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:700;background:#f5f7fa;color:#586273;border:1px solid #e6eaf0}
.oglobo-finance-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.oglobo-finance-kpi-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.oglobo-finance-kpi-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.oglobo-finance-kpi{position:relative;overflow:hidden;border:1px solid #e8edf2;border-radius:15px;box-shadow:0 8px 24px rgba(31,41,55,.055);text-decoration:none!important;color:inherit;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;background:#fff}
.oglobo-finance-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--oglobo-kpi-accent,#206bc4)}
.oglobo-finance-kpi:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(31,41,55,.08);border-color:#dce5ee;color:inherit}
.oglobo-finance-kpi .card-body{padding:15px 16px 14px 17px;min-height:116px}
.oglobo-finance-kpi--green{--oglobo-kpi-accent:#2fb344;--oglobo-kpi-soft:#ecf8ef;--oglobo-kpi-ink:#238636}.oglobo-finance-kpi--red{--oglobo-kpi-accent:#d63939;--oglobo-kpi-soft:#fff0f0;--oglobo-kpi-ink:#c92a2a}.oglobo-finance-kpi--orange{--oglobo-kpi-accent:#f59f00;--oglobo-kpi-soft:#fff7e6;--oglobo-kpi-ink:#d97706}.oglobo-finance-kpi--blue{--oglobo-kpi-accent:#206bc4;--oglobo-kpi-soft:#edf5ff;--oglobo-kpi-ink:#206bc4}.oglobo-finance-kpi--yellow{--oglobo-kpi-accent:#f0b429;--oglobo-kpi-soft:#fff8df;--oglobo-kpi-ink:#b7791f}.oglobo-finance-kpi--purple{--oglobo-kpi-accent:#7c3aed;--oglobo-kpi-soft:#f3edff;--oglobo-kpi-ink:#6d28d9}
.oglobo-kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.oglobo-kpi-label{font-size:12px;color:#677284;font-weight:600}.oglobo-kpi-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--oglobo-kpi-soft);color:var(--oglobo-kpi-ink);flex:0 0 auto}.oglobo-kpi-icon svg{width:17px;height:17px}.oglobo-kpi-value{font-size:21px;line-height:1.15;font-weight:700;letter-spacing:-.025em;margin-top:8px;color:#172033}.oglobo-kpi-meta{font-size:10.5px;color:#8a94a4;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oglobo-finance-mini-progress,.oglobo-finance-collection-bar{height:5px;background:#eef1f5;border-radius:999px;overflow:hidden}.oglobo-finance-mini-progress{margin-top:12px}.oglobo-finance-mini-progress span{display:block;height:100%;background:linear-gradient(90deg,#7c3aed,#9f67f8);border-radius:inherit}.oglobo-finance-collection-bar{height:7px;margin:2px 0 13px}.oglobo-finance-collection-bar span{display:block;height:100%;background:linear-gradient(90deg,#2fb344,#4bc563);border-radius:inherit}
.oglobo-finance-card{border:1px solid #e8edf2;border-radius:15px;box-shadow:0 9px 26px rgba(31,41,55,.05);overflow:hidden}.oglobo-finance-card>.card-header{min-height:66px;background:#fff}.oglobo-finance-card .card-title{font-size:15px}.oglobo-finance-summary-row{color:inherit;text-decoration:none;transition:.15s ease;border-radius:10px;padding:12px 8px;margin:0 -8px;border-bottom:1px solid #eef1f4}.oglobo-finance-summary-row:hover{background:#f8fafc;color:inherit}.oglobo-finance-summary-row:last-child{border-bottom:0}.oglobo-finance-summary-row>span:nth-child(3){color:#2b8a3e}.oglobo-finance-summary-row>span:nth-child(4){color:#d97706}
.oglobo-finance-action-line{display:flex;align-items:center;gap:10px;padding:10px 4px;color:inherit;text-decoration:none;border-bottom:1px solid #eef1f4}.oglobo-finance-action-line:last-child{border-bottom:0}.oglobo-finance-action-line:hover{color:inherit;background:#fafbfc}.oglobo-finance-action-line strong,.oglobo-finance-action-line small{display:block}.oglobo-finance-action-line strong{font-size:12px}.oglobo-finance-action-line small{font-size:10px;color:#8490a1;margin-top:2px}.oglobo-mini-icon{width:32px;height:32px;border-radius:10px;background:#f5f7fa;display:grid;place-items:center;flex:0 0 auto}.oglobo-mini-icon svg{width:16px;height:16px}
.oglobo-finance-list-tools{display:flex;align-items:center;gap:8px}.oglobo-finance-list-tools .input-icon{width:255px}.oglobo-finance-list-tools select{width:125px}.oglobo-finance-table thead th{background:#fbfcfd;border-bottom-color:#edf0f3}.oglobo-finance-table tbody td{padding-top:11px;padding-bottom:11px}.oglobo-finance-table tbody tr:hover{background:#fbfdff}.oglobo-card-count{min-width:28px;height:28px;padding:0 8px;border-radius:9px;background:#f4f6f8;color:#677284;display:grid;place-items:center;font-size:11px;font-weight:700}
.oglobo-finance-selected-guide{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #d9e8fa;background:#f6faff;border-radius:12px}.oglobo-finance-selected-guide small,.oglobo-finance-selected-guide strong{display:block}.oglobo-finance-selected-guide small{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#7c8798}.oglobo-finance-selected-guide strong{font-size:14px;margin-top:2px}.oglobo-payroll-net{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;border-radius:.75rem;background:linear-gradient(135deg,rgba(16,185,129,.08),rgba(32,107,196,.05));border:1px solid rgba(16,185,129,.16)}.oglobo-payroll-net span{font-size:.75rem;text-transform:uppercase;letter-spacing:.035em;color:var(--tblr-secondary);font-weight:700}.oglobo-payroll-net strong{font-size:1.35rem;color:#059669}
@media(max-width:1199px){.oglobo-finance-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-finance-kpi-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-finance-tabs-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){.oglobo-finance-toolbar{width:100%}.oglobo-finance-toolbar .btn-list{width:100%;justify-content:flex-end}.oglobo-finance-tabs-5{grid-template-columns:1fr}.oglobo-finance-kpi-grid,.oglobo-finance-kpi-grid--4,.oglobo-finance-kpi-grid--3{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.oglobo-finance-kpi .card-body{min-height:108px;padding:13px 14px 12px 15px}.oglobo-kpi-value{font-size:18px}.oglobo-finance-list-header{align-items:flex-start;flex-direction:column}.oglobo-finance-list-tools{width:100%;display:grid;grid-template-columns:1fr auto}.oglobo-finance-list-tools .input-icon{width:100%;grid-column:1/-1}.oglobo-finance-list-tools select{width:100%}.oglobo-finance-summary-row{grid-template-columns:1fr 1fr}.oglobo-finance-summary-row>span:first-child{grid-column:1/-1}}
@media(max-width:420px){.oglobo-finance-kpi-grid,.oglobo-finance-kpi-grid--4,.oglobo-finance-kpi-grid--3{grid-template-columns:1fr 1fr}.oglobo-kpi-meta{font-size:9.5px}.oglobo-finance-tab-icon{width:34px;height:34px}}

/* Finance workspace UI v0.19.2 */
.oglobo-finance-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:16px}
.oglobo-window-card{background:#fff;border:1px solid #e6ebf1;border-radius:18px;box-shadow:0 10px 30px rgba(31,41,55,.055);overflow:hidden}
.oglobo-window-head{min-height:74px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eef2f6;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)}
.oglobo-window-title{display:flex;align-items:center;gap:12px}.oglobo-window-title h3{font-size:16px;line-height:1.25;margin:1px 0 0}.oglobo-window-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;flex:0 0 38px}.oglobo-window-icon svg{width:19px;height:19px}
.oglobo-window-metric{text-align:right}.oglobo-window-metric strong{display:block;font-size:22px;line-height:1;color:#182433}.oglobo-window-metric span{font-size:11px;color:#667382}
.oglobo-window-body{padding:16px 18px}.oglobo-progress-shell{height:7px;background:#eef2f6;border-radius:999px;overflow:hidden;margin-bottom:16px}.oglobo-progress-shell>span{height:100%;display:block;background:linear-gradient(90deg,#206bc4,#4dabf7);border-radius:inherit}
.oglobo-account-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.oglobo-account-tile{display:block;border:1px solid #edf0f4;border-radius:14px;padding:13px 14px;text-decoration:none;color:inherit;background:#fff;transition:.16s ease}.oglobo-account-tile:hover{border-color:#d8e2ee;box-shadow:0 8px 22px rgba(31,41,55,.055);transform:translateY(-1px);color:inherit}
.oglobo-account-title{display:flex;align-items:center;gap:10px}.oglobo-account-title>div{min-width:0}.oglobo-account-title strong,.oglobo-account-title small{display:block}.oglobo-account-title small{font-size:10.5px;color:#7a8694;margin-top:2px}.oglobo-account-arrow{margin-left:auto;color:#84909e;font-size:20px}.oglobo-account-values{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px;padding-top:12px;border-top:1px solid #f0f2f5}.oglobo-account-values small,.oglobo-account-values b{display:block}.oglobo-account-values small{font-size:9.5px;color:#84909e;margin-bottom:2px}.oglobo-account-values b{font-size:12px;font-weight:700}
.oglobo-attention-list{padding:6px 14px 10px}.oglobo-attention-list>a{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:11px 4px;color:inherit;text-decoration:none;border-bottom:1px solid #eef2f5}.oglobo-attention-list>a:last-child{border-bottom:0}.oglobo-attention-list>a:hover div strong{color:#206bc4}.oglobo-attention-list strong,.oglobo-attention-list small{display:block}.oglobo-attention-list strong{font-size:12px}.oglobo-attention-list small{font-size:10.5px;color:#748091;margin-top:2px}
.oglobo-finance-workspace{background:#fff;border:1px solid #e4eaf0;border-radius:18px;box-shadow:0 12px 32px rgba(31,41,55,.055);overflow:hidden}
.oglobo-workspace-head{padding:17px 20px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%);border-bottom:1px solid #edf1f5}.oglobo-workspace-head h3{font-size:17px;margin:1px 0 2px}.oglobo-workspace-head p{font-size:11.5px;color:#748091;margin:0}.oglobo-workspace-actions{display:flex;gap:8px;align-items:center}
.oglobo-inner-tabs{padding:0 16px;border-bottom:1px solid #e9eef3;background:#fbfcfe;gap:4px;overflow-x:auto;flex-wrap:nowrap}.oglobo-inner-tabs .nav-item{flex:0 0 auto}.oglobo-inner-tabs .nav-link{border:0;border-radius:0;padding:12px 13px 10px;color:#667382;background:transparent;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;position:relative;white-space:nowrap}.oglobo-inner-tabs .nav-link svg{width:17px;height:17px}.oglobo-inner-tabs .nav-link:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:2px;border-radius:2px;background:transparent}.oglobo-inner-tabs .nav-link.active{color:#206bc4;background:transparent}.oglobo-inner-tabs .nav-link.active:after{background:#206bc4}.oglobo-inner-tabs .badge{font-size:9px;line-height:1;padding:4px 6px;border-radius:999px;background:#eef2f6;color:#6b7684}.oglobo-inner-tabs .nav-link.active .badge{background:#e8f2ff;color:#206bc4}
.oglobo-workspace-content{padding:0}.oglobo-workspace-content>.tab-pane{min-height:220px}.oglobo-table-toolbar{display:flex;align-items:center;gap:8px;padding:14px 16px 10px}.oglobo-table-toolbar .input-icon{width:min(360px,100%)}.oglobo-table-toolbar select{width:165px}
.oglobo-table-shell{border-top:1px solid #f0f2f5}.oglobo-finance-table--modern{margin:0}.oglobo-finance-table--modern thead th{background:#f8fafc!important;color:#6f7a88!important;font-size:10px!important;font-weight:700;letter-spacing:.045em;border-bottom:1px solid #e9eef3!important;padding:10px 12px}.oglobo-finance-table--modern tbody td{padding:12px;border-bottom:1px solid #edf1f4;vertical-align:middle}.oglobo-finance-table--modern tbody tr:last-child td{border-bottom:0}.oglobo-finance-table--modern tbody tr:hover{background:#fbfdff!important}.oglobo-primary-cell strong,.oglobo-primary-cell small{display:block}.oglobo-primary-cell strong{font-size:12px}.oglobo-primary-cell small{font-size:10.5px;color:#7d8996;margin-top:2px}
.oglobo-status-pill,.oglobo-category-pill,.oglobo-method-pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:600;border:1px solid transparent;white-space:nowrap}.oglobo-status-pill.is-paid{background:#edf9f0;border-color:#cdeed5;color:#25843a}.oglobo-status-pill.is-pending{background:#fff6e9;border-color:#ffe0ad;color:#b96f00}.oglobo-status-pill.is-partial{background:#fff9df;border-color:#f5e39e;color:#9a7600}.oglobo-status-pill.is-info{background:#edf5ff;border-color:#d3e6ff;color:#206bc4}.oglobo-category-pill{background:#fff2f2;border-color:#f8dcdc;color:#b42318}.oglobo-method-pill{background:#f4f6f8;border-color:#e6eaee;color:#5d6977}
.oglobo-row-action{width:31px;height:31px;border-radius:9px;background:#edf5ff;color:#206bc4;border:1px solid #d8e9ff}.oglobo-row-action:hover{background:#206bc4;color:#fff;border-color:#206bc4}
.oglobo-empty-state{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#7a8694;padding:26px}.oglobo-empty-state>span{width:44px;height:44px;border-radius:14px;background:#f3f6f9;display:grid;place-items:center;color:#6d7988;margin-bottom:10px}.oglobo-empty-state strong{color:#334155;font-size:13px}.oglobo-empty-state small{max-width:390px;margin-top:4px;font-size:10.5px}.oglobo-empty-state--wide{grid-column:1/-1;min-height:210px}
.oglobo-pane-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 11px}.oglobo-pane-heading h4{font-size:14px;margin:0 0 2px}.oglobo-pane-heading p{font-size:10.5px;color:#7a8694;margin:0}
.oglobo-summary-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:14px;padding:16px}.oglobo-summary-panel{border:1px solid #e9edf2;border-radius:14px;background:#fff;overflow:hidden}.oglobo-summary-panel--soft{background:#fbfcfe}.oglobo-breakdown-row{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:11px 16px;border-top:1px solid #f0f2f5}.oglobo-breakdown-row>div:first-child{display:flex;align-items:center;gap:8px}.oglobo-breakdown-row strong{font-size:11.5px}.oglobo-breakdown-row span{font-size:10px;color:#87919e}.oglobo-breakdown-row>b{font-size:11.5px}.oglobo-breakdown-bar{grid-column:1/-1;height:5px;background:#edf1f4;border-radius:999px;overflow:hidden}.oglobo-breakdown-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d63939,#f76707)}
.oglobo-stat-stack{padding:4px 16px 12px}.oglobo-stat-stack>div{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #eef2f5}.oglobo-stat-stack>div:last-child{border-bottom:0}.oglobo-stat-stack span{font-size:11px;color:#6f7b89}.oglobo-stat-stack strong{font-size:13px}
.oglobo-ready-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.oglobo-ready-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #e8edf2;border-radius:14px;padding:13px;background:#fff}.oglobo-ready-avatar{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf5ff;color:#206bc4;font-weight:800}.oglobo-ready-info strong,.oglobo-ready-info span,.oglobo-ready-info div{display:block}.oglobo-ready-info strong{font-size:12px}.oglobo-ready-info span{font-size:10px;color:#7b8795;margin:1px 0 5px}.oglobo-ready-info div{font-size:10.5px;color:#536171}
.oglobo-automation-flow{display:grid;grid-template-columns:30px 1fr;gap:10px 12px;padding:8px 16px 16px}.oglobo-automation-flow>span{width:28px;height:28px;border-radius:9px;background:#edf5ff;color:#206bc4;display:grid;place-items:center;font-weight:700;font-size:11px}.oglobo-automation-flow strong,.oglobo-automation-flow small{display:block}.oglobo-automation-flow strong{font-size:11.5px}.oglobo-automation-flow small{font-size:10px;color:#7b8795;margin-top:2px}
@media(max-width:1199px){.oglobo-finance-overview-grid{grid-template-columns:1fr}.oglobo-ready-grid{grid-template-columns:1fr}.oglobo-summary-grid{grid-template-columns:1fr}}
@media(max-width:767.98px){.oglobo-window-head,.oglobo-workspace-head{align-items:flex-start}.oglobo-workspace-head{flex-direction:column}.oglobo-account-grid{grid-template-columns:1fr}.oglobo-account-values{grid-template-columns:repeat(3,1fr)}.oglobo-table-toolbar{align-items:stretch;flex-direction:column}.oglobo-table-toolbar .input-icon,.oglobo-table-toolbar select{width:100%}.oglobo-inner-tabs{padding:0 8px}.oglobo-ready-card{grid-template-columns:38px minmax(0,1fr)}.oglobo-ready-card>.btn{grid-column:1/-1;width:100%}.oglobo-finance-table--modern{min-width:760px}}

/* v0.19.5 - Finanzas: paneles internos reales e independientes de Bootstrap tabs */
.oglobo-finance-workspace .oglobo-workspace-content > .tab-pane {
  display: none !important;
  opacity: 1 !important;
  visibility: hidden;
}
.oglobo-finance-workspace .oglobo-workspace-content > .tab-pane.active {
  display: block !important;
  visibility: visible;
}
.oglobo-finance-workspace .oglobo-workspace-content > .tab-pane.fade {
  transition: none !important;
}

/* v0.20.0 — Communications workspace */
.oglobo-comm-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oglobo-comm-kpi{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #e6ebf1;background:#fff;border-radius:15px;padding:14px 16px;box-shadow:0 8px 24px rgba(31,41,55,.045);transition:.16s ease;color:inherit}.oglobo-comm-kpi:hover,.oglobo-comm-kpi.is-active{transform:translateY(-1px);box-shadow:0 11px 28px rgba(31,41,55,.07);border-color:#d9e4ef}.oglobo-comm-kpi>span:last-child{min-width:0}.oglobo-comm-kpi small,.oglobo-comm-kpi strong,.oglobo-comm-kpi em{display:block}.oglobo-comm-kpi small{font-size:11px;color:#6f7b8c}.oglobo-comm-kpi strong{font-size:22px;line-height:1.15;margin:2px 0}.oglobo-comm-kpi em{font-style:normal;font-size:10px;color:#8a95a5}.oglobo-comm-kpi-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}.oglobo-comm-kpi-icon.tone-blue{background:#edf5ff;color:#206bc4}.oglobo-comm-kpi-icon.tone-purple{background:#f3edff;color:#7c3aed}.oglobo-comm-kpi-icon.tone-orange{background:#fff5e8;color:#d97706}
.oglobo-comm-workspace{background:#fff;border:1px solid #e4eaf0;border-radius:18px;box-shadow:0 12px 32px rgba(31,41,55,.055);overflow:hidden}.oglobo-comm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px;border-bottom:1px solid #edf1f5;background:#fbfcfd}.oglobo-comm-tab{display:flex;align-items:center;gap:10px;border:1px solid transparent;background:transparent;border-radius:12px;padding:10px 12px;text-align:left;color:#4d5a6d;min-width:0}.oglobo-comm-tab:hover{background:#fff;border-color:#e8edf2}.oglobo-comm-tab.active{background:linear-gradient(135deg,#f2f7ff,#f8f5ff);border-color:#cbdcf6;color:#182433;box-shadow:0 4px 14px rgba(32,107,196,.06)}.oglobo-comm-tab>span{min-width:0;flex:1}.oglobo-comm-tab strong,.oglobo-comm-tab small{display:block}.oglobo-comm-tab strong{font-size:12px}.oglobo-comm-tab small{font-size:10px;color:#8490a0;margin-top:1px}.oglobo-comm-tab>b{min-width:26px;height:26px;padding:0 7px;display:grid;place-items:center;border-radius:9px;background:#eef2f6;font-size:10px}.oglobo-comm-tab>b.is-alert{background:#fff0e6;color:#d9480f}
.oglobo-comm-panel{display:none}.oglobo-comm-panel.active{display:block}.oglobo-comm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #eef2f5}.oglobo-comm-toolbar h3{margin:1px 0 3px;font-size:17px}.oglobo-comm-toolbar p{margin:0;color:#7b8797;font-size:11px}.oglobo-comm-tools{display:flex;align-items:center;gap:8px}.oglobo-comm-tools .input-icon{width:280px}.oglobo-comm-tools select{width:145px}.oglobo-comm-table{margin:0;min-width:820px}.oglobo-comm-table thead th{background:#f8fafc;color:#6f7a88;font-size:10px;font-weight:700;letter-spacing:.045em;padding:10px 12px;border-bottom:1px solid #e8edf2}.oglobo-comm-table tbody td{padding:12px;vertical-align:middle;border-bottom:1px solid #edf1f4}.oglobo-comm-table tbody tr:last-child td{border-bottom:0}.oglobo-comm-table tbody tr:hover{background:#fbfdff}.oglobo-comm-table tbody tr.is-unread{background:linear-gradient(90deg,#fff8ef 0,#fff 16%)}.oglobo-comm-table tbody tr.is-unread td:first-child{border-left:3px solid #f59f00}.oglobo-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.oglobo-pill.tone-green{background:#eaf8ef;color:#238636}.oglobo-pill.tone-blue{background:#edf5ff;color:#206bc4}.oglobo-pill.tone-orange{background:#fff4e8;color:#d97706}.oglobo-pill.tone-purple{background:#f3edff;color:#7c3aed}.oglobo-pill.tone-slate{background:#f1f4f7;color:#677284}.oglobo-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:38px 20px;color:#8793a3}.oglobo-empty-state svg{width:30px;height:30px;color:#a6b1bf}.oglobo-empty-state strong{color:#4e5b6c}.oglobo-empty-state span{font-size:11px}.oglobo-contact-strip{display:flex;gap:10px;padding:12px 20px;border-bottom:1px solid #eef2f5;background:#fcfdfe}.oglobo-contact-strip>span{display:flex;align-items:center;gap:7px;padding:6px 9px;border-radius:10px;background:#f5f7fa}.oglobo-contact-strip strong{font-size:12px}.oglobo-contact-strip small{font-size:10px;color:#7d8998}.oglobo-contact-strip .tone-orange strong{color:#d97706}.oglobo-contact-strip .tone-blue strong{color:#206bc4}.oglobo-contact-strip .tone-green strong{color:#238636}.oglobo-contact-detail{white-space:pre-wrap;line-height:1.65;padding:16px;border:1px solid #e6ebf0;border-radius:12px;background:#fbfcfd;color:#3f4b5b}
.oglobo-message-bell{position:relative;margin-right:8px}.oglobo-message-bell>a{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#526173;text-decoration:none;border:1px solid transparent}.oglobo-message-bell>a:hover,.oglobo-message-bell.show>a{background:#f7f9fb;border-color:#e7ebf0}.oglobo-message-bell-count{position:absolute;right:-3px;top:-3px;min-width:18px;height:18px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#d63939;color:#fff;font-size:9px;font-weight:800;box-shadow:0 0 0 2px #fff}.oglobo-message-bell-count.is-zero{display:none}.oglobo-message-menu{width:320px;padding:0;overflow:hidden;border-radius:14px}.oglobo-message-menu-head{padding:12px 14px;border-bottom:1px solid #edf1f4}.oglobo-message-menu-head strong,.oglobo-message-menu-head small{display:block}.oglobo-message-menu-head small{font-size:10px;color:#8792a1}.oglobo-message-item{display:block;padding:10px 14px;text-decoration:none;color:inherit;border-bottom:1px solid #f0f2f5}.oglobo-message-item:hover{background:#fafbfd;color:inherit}.oglobo-message-item strong,.oglobo-message-item span{display:block}.oglobo-message-item strong{font-size:11px}.oglobo-message-item span{font-size:10px;color:#7b8796;margin-top:2px}.oglobo-message-menu-foot{display:block;text-align:center;padding:10px;font-size:11px;font-weight:700;text-decoration:none}
@media(max-width:900px){.oglobo-comm-kpis{grid-template-columns:1fr}.oglobo-comm-tabs{grid-template-columns:1fr}.oglobo-comm-toolbar{align-items:flex-start;flex-direction:column}.oglobo-comm-tools{width:100%;display:grid;grid-template-columns:1fr auto}.oglobo-comm-tools .input-icon{width:100%;grid-column:1/-1}.oglobo-comm-tools select{width:100%}}

/* v0.21.0 — Role-aware dashboard + compact top bar */
:root{--oglobo-header-height:62px}
@media(min-width:1200px){
  .oglobo-header-inner{padding-left:1.1rem;padding-right:1.1rem}
  .oglobo-header-main{grid-template-columns:auto minmax(0,1fr) auto auto;gap:.55rem;min-height:var(--oglobo-header-height)}
  .oglobo-brand{min-width:116px;max-width:116px;justify-content:flex-start}
  .oglobo-brand-logo{height:27px!important;max-width:116px!important;width:auto;object-fit:contain}
  .oglobo-main-nav{justify-content:center;gap:.08rem;padding:.2rem;border-radius:12px}
  .oglobo-nav-link{min-height:36px;padding:.42rem .5rem;font-size:.75rem;border-radius:9px;gap:.34rem}
  .oglobo-nav-link>svg:first-child{width:16px;height:16px}
  .oglobo-message-bell{margin-right:0}
  .oglobo-message-bell>a{width:36px;height:36px;border-radius:10px}
  .oglobo-account{padding-left:.25rem}
  .oglobo-account-trigger{min-height:38px;padding:.25rem .38rem .25rem .28rem;gap:.48rem;border-radius:10px}
  .oglobo-account-trigger .avatar{width:32px;height:32px;font-size:.72rem}
  .oglobo-account-copy{max-width:118px}
  .oglobo-account-copy strong{font-size:.74rem}.oglobo-account-copy small{font-size:.64rem}
}
@media(min-width:1200px) and (max-width:1439.98px){.oglobo-account-copy{display:none}.oglobo-brand{min-width:105px;max-width:105px}.oglobo-brand-logo{max-width:105px!important}.oglobo-nav-link{padding:.4rem .43rem;font-size:.72rem}}

.oglobo-dash-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:.35rem 0 1rem;padding:.15rem .1rem}.oglobo-dash-head h2{margin:.1rem 0 .15rem;font-size:1.65rem;letter-spacing:-.04em}.oglobo-dash-head p{margin:0;color:#7a8696;font-size:.8rem}.oglobo-dash-date{display:grid;grid-template-columns:auto auto;grid-template-rows:auto auto;align-items:center;column-gap:.45rem;min-width:112px;padding:.58rem .72rem;border:1px solid #e3e9ef;border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(24,36,51,.05)}.oglobo-dash-date span{grid-row:1;font-size:.65rem;font-weight:800;text-transform:uppercase;color:#206bc4}.oglobo-dash-date strong{grid-row:1/3;grid-column:2;font-size:1.65rem;line-height:1;letter-spacing:-.05em}.oglobo-dash-date small{grid-row:2;font-size:.62rem;color:#8a95a5}
.oglobo-dash-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:.75rem}.oglobo-dash-kpi{--kpi:#206bc4;--soft:#eef6ff;position:relative;display:flex;align-items:center;gap:.72rem;min-height:92px;padding:.85rem .9rem;border:1px solid #e4eaf0;border-radius:15px;background:linear-gradient(135deg,#fff 62%,var(--soft));box-shadow:0 9px 24px rgba(24,36,51,.055);overflow:hidden}.oglobo-dash-kpi:before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 99px 99px 0;background:var(--kpi)}.oglobo-dash-kpi-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;color:var(--kpi);background:var(--soft);border:1px solid color-mix(in srgb,var(--kpi) 12%,transparent)}.oglobo-dash-kpi-icon svg{width:20px;height:20px}.oglobo-dash-kpi-copy{display:grid;min-width:0}.oglobo-dash-kpi-copy small{color:#7a8696;font-size:.68rem;font-weight:700}.oglobo-dash-kpi-copy strong{margin:.08rem 0;font-size:1.27rem;line-height:1.15;letter-spacing:-.035em}.oglobo-dash-kpi-copy span{color:#98a2b3;font-size:.62rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-dash-kpi.is-green{--kpi:#15945b;--soft:#eaf8f0}.oglobo-dash-kpi.is-red{--kpi:#d63939;--soft:#fff0f1}.oglobo-dash-kpi.is-orange{--kpi:#d97706;--soft:#fff4e6}.oglobo-dash-kpi.is-purple{--kpi:#7048b8;--soft:#f3effb}.oglobo-dash-kpi.is-cyan{--kpi:#0d8aa6;--soft:#e8f7fa}
.oglobo-dash-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);gap:.85rem}.oglobo-dash-panel{border:1px solid #e4eaf0;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(24,36,51,.055);overflow:hidden}.oglobo-dash-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.9rem 1rem .75rem;border-bottom:1px solid #edf1f5;background:linear-gradient(180deg,#fbfcfe,#fff)}.oglobo-dash-panel-head h3{margin:.06rem 0 0;font-size:.94rem;letter-spacing:-.02em}.oglobo-dash-panel-head>a{font-size:.68rem;font-weight:750;text-decoration:none}.oglobo-dash-eyebrow{display:block;color:#8a95a5;font-size:.6rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.oglobo-mini-chart{display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:.6rem;height:190px;padding:1rem 1rem .8rem}.oglobo-mini-col{display:grid;grid-template-rows:18px 1fr 18px;gap:.25rem;align-items:end;text-align:center;height:100%}.oglobo-mini-value{font-size:.62rem;font-weight:800;color:#536072}.oglobo-mini-track{position:relative;height:100%;min-height:70px;border-radius:8px;background:linear-gradient(180deg,#f7f9fb,#eef2f6);overflow:hidden}.oglobo-mini-track i{position:absolute;left:18%;right:18%;bottom:0;border-radius:7px 7px 3px 3px;background:linear-gradient(180deg,#4d93df,#206bc4);box-shadow:0 -5px 14px rgba(32,107,196,.12)}.oglobo-mini-col small{font-size:.58rem;color:#8a95a5;font-weight:700}
.oglobo-status-list{display:grid;gap:.75rem;padding:1rem}.oglobo-status-row{display:grid;grid-template-columns:1fr auto;gap:.34rem .7rem;align-items:center}.oglobo-status-row>div{display:flex;align-items:center;gap:.45rem}.oglobo-status-row strong{font-size:.72rem}.oglobo-status-row>span{font-size:.65rem;color:#7a8696;font-weight:700}.oglobo-status-row>i{grid-column:1/-1;display:block;height:5px;border-radius:99px;background:#eef2f5;overflow:hidden}.oglobo-status-row>i>b{display:block;height:100%;border-radius:inherit;background:#7b8798}.oglobo-status-dot{width:8px;height:8px;border-radius:50%;background:#7b8798}.is-green.oglobo-status-dot,.oglobo-status-row b.is-green{background:#15945b}.is-red.oglobo-status-dot,.oglobo-status-row b.is-red{background:#d63939}.is-orange.oglobo-status-dot,.oglobo-status-row b.is-orange{background:#d97706}.is-blue.oglobo-status-dot,.oglobo-status-row b.is-blue{background:#206bc4}
.oglobo-money-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:1rem;align-items:end;height:180px;padding:1rem 1.2rem .7rem}.oglobo-money-day{height:100%;display:grid;grid-template-rows:1fr 18px;gap:.3rem;align-items:end;text-align:center}.oglobo-money-bars{height:100%;display:flex;align-items:end;justify-content:center;gap:5px;border-bottom:1px solid #e7ecf1}.oglobo-money-bars i{display:block;width:16px;min-height:4px;border-radius:6px 6px 2px 2px}.oglobo-money-bars i.is-billed{background:#a8cbed}.oglobo-money-bars i.is-paid{background:#15945b}.oglobo-money-day small{font-size:.58rem;color:#8a95a5;font-weight:700}.oglobo-chart-legend{display:flex;gap:.8rem}.oglobo-chart-legend span{display:flex;align-items:center;gap:.28rem;font-size:.62rem;color:#7a8696;font-weight:700}.oglobo-chart-legend i{width:8px;height:8px;border-radius:3px}.oglobo-chart-legend .is-billed{background:#a8cbed}.oglobo-chart-legend .is-paid{background:#15945b}
.oglobo-announcement-list{display:grid}.oglobo-announcement-item{display:grid;grid-template-columns:34px 1fr;gap:.7rem;padding:.8rem 1rem;border-bottom:1px solid #f0f2f5}.oglobo-announcement-item:last-child{border-bottom:0}.oglobo-announcement-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef6ff;color:#206bc4}.oglobo-announcement-icon svg{width:17px;height:17px}.oglobo-announcement-title{display:flex;align-items:center;gap:.5rem}.oglobo-announcement-title strong{font-size:.75rem}.oglobo-announcement-title span{padding:.16rem .42rem;border-radius:999px;background:#f3effb;color:#7048b8;font-size:.52rem;font-weight:800;text-transform:uppercase}.oglobo-announcement-item p{margin:.2rem 0 0;color:#6f7b8c;font-size:.68rem;line-height:1.45}.oglobo-announcement-item a{display:inline-block;margin-top:.35rem;font-size:.64rem;font-weight:750;text-decoration:none}.oglobo-promo-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.55rem;padding:.75rem 1rem;border-top:1px solid #edf1f5;background:#fbfcfe}.oglobo-promo-strip>div{display:grid;padding:.6rem .7rem;border:1px dashed #cfe0f1;border-radius:10px;background:#fff}.oglobo-promo-strip small{color:#206bc4;font-size:.54rem;font-weight:800}.oglobo-promo-strip strong{font-size:.68rem;margin:.08rem 0}.oglobo-promo-strip span{font-size:.58rem;color:#15945b;font-weight:700}
.oglobo-dash-feed{display:grid}.oglobo-dash-feed-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.72rem 1rem;border-bottom:1px solid #f0f2f5}.oglobo-dash-feed-row:last-child{border-bottom:0}.oglobo-feed-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eef6ff;color:#206bc4}.oglobo-feed-icon.is-cyan{background:#e8f7fa;color:#0d8aa6}.oglobo-feed-icon.is-orange{background:#fff4e6;color:#d97706}.oglobo-feed-icon svg{width:17px;height:17px}.oglobo-dash-feed-row>div{display:grid;min-width:0}.oglobo-dash-feed-row strong{font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-dash-feed-row div span{font-size:.6rem;color:#8591a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-dash-feed-row>small{font-size:.57rem;color:#98a2b3;white-space:nowrap}.oglobo-dash-badge{display:inline-flex;padding:.24rem .45rem;border-radius:999px;font-size:.55rem;font-weight:800;background:#f1f4f7;color:#647184}.oglobo-dash-badge.is-green{background:#eaf8f0;color:#148653}.oglobo-dash-badge.is-red{background:#fff0f1;color:#c62f3a}.oglobo-dash-badge.is-orange{background:#fff4e6;color:#c26d05}.oglobo-dash-badge.is-blue{background:#eef6ff;color:#206bc4}
.oglobo-dash-attention{display:grid;grid-template-columns:230px 1fr;border:1px solid #eadfc6;border-radius:15px;background:linear-gradient(90deg,#fffaf0,#fff);overflow:hidden}.oglobo-dash-attention-head{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;border-right:1px solid #efe6d2}.oglobo-dash-attention-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff0d6;color:#c97705}.oglobo-dash-attention-head svg{width:17px;height:17px}.oglobo-dash-attention-head div{display:grid}.oglobo-dash-attention-head strong{font-size:.72rem}.oglobo-dash-attention-head small{font-size:.57rem;color:#8a95a5}.oglobo-dash-attention-items{display:flex;align-items:stretch;overflow-x:auto}.oglobo-dash-attention-items a{min-width:185px;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem .9rem;border-right:1px solid #f0eadf;text-decoration:none;color:#344054}.oglobo-dash-attention-items a div{display:grid}.oglobo-dash-attention-items a strong{font-size:.64rem}.oglobo-dash-attention-items a span{font-size:.55rem;color:#8a95a5}.oglobo-dash-attention-items a b{font-size:.8rem;color:#d97706}.oglobo-dash-attention-items a.is-red b{color:#d63939}.oglobo-dash-attention-items a.is-blue b{color:#206bc4}.oglobo-dash-attention-items a.is-cyan b{color:#0d8aa6}
.oglobo-dash-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.7rem}.oglobo-dash-actions>a{display:flex;align-items:center;gap:.65rem;padding:.72rem .8rem;border:1px solid #e4eaf0;border-radius:13px;background:#fff;color:#344054;text-decoration:none;box-shadow:0 7px 18px rgba(24,36,51,.04);transition:.15s ease}.oglobo-dash-actions>a:hover{transform:translateY(-1px);border-color:#cad8e6;box-shadow:0 10px 24px rgba(24,36,51,.07)}.oglobo-dash-actions>a>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f1f6fb;color:#206bc4}.oglobo-dash-actions svg{width:18px;height:18px}.oglobo-dash-actions div{display:grid}.oglobo-dash-actions strong{font-size:.68rem}.oglobo-dash-actions small{font-size:.57rem;color:#8a95a5}.oglobo-dash-empty{padding:1.1rem;text-align:center;color:#98a2b3;font-size:.68rem}
@media(max-width:991.98px){.oglobo-dash-grid{grid-template-columns:1fr}.oglobo-dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-dash-attention{grid-template-columns:1fr}.oglobo-dash-attention-head{border-right:0;border-bottom:1px solid #efe6d2}}
@media(max-width:575.98px){.oglobo-dash-head{align-items:flex-start}.oglobo-dash-date{display:none}.oglobo-dash-head h2{font-size:1.35rem}.oglobo-dash-kpis{grid-template-columns:1fr}.oglobo-mini-chart,.oglobo-money-chart{gap:.3rem;padding-left:.65rem;padding-right:.65rem}.oglobo-money-bars i{width:10px}.oglobo-dash-feed-row{grid-template-columns:32px minmax(0,1fr)}.oglobo-dash-feed-row>:last-child{grid-column:2;justify-self:start}.oglobo-dash-attention-items{display:grid}.oglobo-dash-attention-items a{min-width:0;border-right:0;border-bottom:1px solid #f0eadf}}
/* v0.22.1 Comunicaciones: audiencias múltiples */
.oglobo-audience-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.oglobo-audience-option{display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e4eaf0;border-radius:10px;background:#fbfcfe;font-size:11px;cursor:pointer}.oglobo-audience-option:hover{border-color:#bfd3ee;background:#f6faff}.oglobo-audience-option:has(input:checked){border-color:#9ec5f4;background:#eef6ff;color:#165da8}.oglobo-audience-option input{margin:0}@media(max-width:900px){.oglobo-audience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v0.22.1 Camera QR */
.oglobo-qr-camera{position:relative;overflow:hidden;border-radius:16px;background:#101827;aspect-ratio:4/3;min-height:260px}.oglobo-qr-camera video{width:100%;height:100%;object-fit:cover;display:block}.oglobo-qr-frame{position:absolute;inset:16% 14%;border:2px solid rgba(255,255,255,.92);border-radius:18px;box-shadow:0 0 0 999px rgba(5,12,24,.24);pointer-events:none}.oglobo-qr-frame:before,.oglobo-qr-frame:after{content:"";position:absolute;width:34px;height:34px;border-color:#2fb344}.oglobo-qr-frame:before{left:-3px;top:-3px;border-left:4px solid #2fb344;border-top:4px solid #2fb344;border-radius:10px 0 0 0}.oglobo-qr-frame:after{right:-3px;bottom:-3px;border-right:4px solid #2fb344;border-bottom:4px solid #2fb344;border-radius:0 0 10px 0}.oglobo-scan-input-group{display:flex;gap:8px}.oglobo-scan-input-group .form-control{min-width:0}

/* v0.24.2 - Dashboard interactive, Products workspace, finance period, cancelled guides */
.oglobo-dash-kpi{color:inherit;text-decoration:none;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.oglobo-dash-kpi:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(24,36,51,.11);border-color:color-mix(in srgb,var(--kpi) 28%,#e4eaf0);color:inherit}.oglobo-dash-kpi:active{transform:translateY(-1px)}.oglobo-dash-kpi-arrow{margin-left:auto;color:var(--kpi);font-weight:800;font-size:1rem;opacity:0;transform:translateX(-5px);transition:.18s ease}.oglobo-dash-kpi:hover .oglobo-dash-kpi-arrow{opacity:1;transform:translateX(0)}
.oglobo-shipment-row-cancelled{background:#fff7f7!important}.oglobo-shipment-row-cancelled td{border-color:#f5d6d6!important}.oglobo-shipment-row-cancelled:hover{background:#fff1f1!important}.oglobo-shipment-row-cancelled td:not(:last-child){opacity:.86}.oglobo-shipment-row-cancelled strong.text-danger{text-decoration:line-through;text-decoration-thickness:1px}
.oglobo-finance-period-menu{width:360px!important;padding:0!important;border:1px solid #e1e7ee!important;border-radius:16px!important;overflow:hidden;box-shadow:0 22px 55px rgba(31,41,55,.18)!important}.oglobo-period-head{display:flex;gap:11px;align-items:center;padding:14px 15px;background:linear-gradient(135deg,#f6f9fd,#fbf9ff);border-bottom:1px solid #edf0f4}.oglobo-period-head>div{display:grid}.oglobo-period-head strong{font-size:13px}.oglobo-period-head small{font-size:10px;color:#7d8998;margin-top:2px}.oglobo-period-icon{width:36px;height:36px;border-radius:11px;background:#eaf3ff;color:#206bc4;display:grid;place-items:center}.oglobo-period-icon svg{width:18px;height:18px}.oglobo-period-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:12px 12px 0}.oglobo-period-quick a{display:grid;text-decoration:none;color:inherit;border:1px solid #e7ebf0;border-radius:10px;padding:9px;background:#fff;transition:.15s}.oglobo-period-quick a:hover{border-color:#bcd4f4;background:#f6faff;transform:translateY(-1px)}.oglobo-period-quick strong{font-size:11px}.oglobo-period-quick small{font-size:9px;color:#8894a4;margin-top:2px}.oglobo-period-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:12px}.oglobo-period-form .form-label{font-size:10px;font-weight:700;margin-bottom:4px}.oglobo-period-form .form-control{font-size:12px}.oglobo-period-form .btn{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:6px}.oglobo-period-form .btn svg{width:16px;height:16px}
.oglobo-products-page{padding-bottom:20px}.oglobo-products-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:14px}.oglobo-products-hero h2{margin:.2rem 0;font-size:1.65rem;letter-spacing:-.035em}.oglobo-products-hero p{margin:0;color:#667386;font-size:.82rem;max-width:760px}.oglobo-products-actions{display:flex;gap:8px;flex-wrap:wrap}.oglobo-products-actions .btn{display:flex;align-items:center;gap:6px}.oglobo-products-actions svg{width:16px;height:16px}.oglobo-products-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:14px}.oglobo-product-kpi{--p:#206bc4;--ps:#eef6ff;display:flex;align-items:center;gap:11px;min-height:92px;padding:13px 14px;border:1px solid #e4eaf0;border-radius:15px;background:linear-gradient(135deg,#fff 64%,var(--ps));box-shadow:0 8px 24px rgba(31,41,55,.05);color:inherit;text-decoration:none;transition:.16s}.oglobo-product-kpi:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(31,41,55,.09);border-color:color-mix(in srgb,var(--p) 25%,#e4eaf0);color:inherit}.oglobo-product-kpi>span{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:var(--ps);color:var(--p);flex:0 0 auto}.oglobo-product-kpi svg{width:20px;height:20px}.oglobo-product-kpi>div{display:grid;min-width:0}.oglobo-product-kpi small{font-size:10px;color:#788596;font-weight:700}.oglobo-product-kpi strong{font-size:20px;line-height:1.2;margin:2px 0}.oglobo-product-kpi em{font-style:normal;font-size:9.5px;color:#98a2b3}.oglobo-product-kpi.is-green{--p:#16834a;--ps:#ebf8f0}.oglobo-product-kpi.is-orange{--p:#d97706;--ps:#fff5e8}.oglobo-product-kpi.is-purple{--p:#7048b8;--ps:#f3effb}.oglobo-product-kpi.is-red{--p:#cf3b43;--ps:#fff0f1}.oglobo-products-workspace{display:grid;grid-template-columns:245px minmax(0,1fr);background:#fff;border:1px solid #e4eaf0;border-radius:18px;box-shadow:0 12px 32px rgba(31,41,55,.055);overflow:hidden;min-height:520px}.oglobo-products-tabs{background:#f8fafc;border-right:1px solid #e9edf2;padding:12px;display:flex;flex-direction:column;gap:6px}.oglobo-products-tabs>a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:11px;text-decoration:none;color:#49566a;border:1px solid transparent;transition:.15s}.oglobo-products-tabs>a:hover{background:#fff;border-color:#e5eaf0;color:#182433}.oglobo-products-tabs>a.active{background:#fff;border-color:#d7e4f3;box-shadow:0 5px 14px rgba(32,107,196,.07);color:#206bc4}.oglobo-products-tabs>a>span{width:34px;height:34px;border-radius:9px;background:#eef3f8;display:grid;place-items:center;flex:0 0 auto}.oglobo-products-tabs>a.active>span{background:#eaf3ff}.oglobo-products-tabs svg{width:17px;height:17px}.oglobo-products-tabs strong,.oglobo-products-tabs small{display:block}.oglobo-products-tabs strong{font-size:11px}.oglobo-products-tabs small{font-size:9px;color:#8c97a6;margin-top:2px}.oglobo-products-content{padding:18px;min-width:0}.oglobo-products-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}.oglobo-products-section-head>div{display:flex;align-items:center;gap:10px}.oglobo-products-section-head h3{font-size:15px;margin:0}.oglobo-products-section-head p{font-size:10px;color:#7d8998;margin:2px 0 0}.oglobo-products-section-head .btn{display:flex;gap:6px;align-items:center}.oglobo-products-section-head .btn svg{width:15px;height:15px}.oglobo-section-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eef6ff;color:#206bc4}.oglobo-section-icon svg{width:19px;height:19px}.oglobo-section-icon.is-green{background:#ebf8f0;color:#16834a}.oglobo-section-icon.is-orange{background:#fff5e8;color:#d97706}.oglobo-section-icon.is-red{background:#fff0f1;color:#cf3b43}.oglobo-section-icon.is-purple{background:#f3effb;color:#7048b8}.oglobo-section-icon.is-cyan{background:#e8f7fa;color:#0d8aa6}.oglobo-products-table-shell{border:1px solid #e7ebf0;border-radius:13px;overflow:hidden}.oglobo-products-table{margin:0}.oglobo-products-table thead th{background:#f9fafc;color:#768294;font-size:9.5px;text-transform:uppercase;letter-spacing:.025em;border-bottom:1px solid #e7ebf0;padding:10px 11px}.oglobo-products-table tbody td{padding:11px;font-size:11px}.oglobo-products-table tbody tr:hover{background:#fbfdff}.oglobo-product-primary{display:flex;align-items:center;gap:9px}.oglobo-product-primary>span{width:32px;height:32px;border-radius:9px;background:#eef6ff;color:#206bc4;display:grid;place-items:center;flex:0 0 auto}.oglobo-product-primary svg{width:16px;height:16px}.oglobo-product-primary strong,.oglobo-product-primary small{display:block}.oglobo-product-primary small{font-size:9.5px;color:#8994a3;margin-top:1px}.oglobo-location-pill,.oglobo-product-status,.oglobo-movement-pill{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;font-size:9.5px;font-weight:700;background:#f1f4f7;color:#566273}.oglobo-location-pill.is-office{background:#eaf3ff;color:#206bc4}.oglobo-location-pill.is-agency{background:#f3edff;color:#7048b8}.oglobo-product-status.is-received,.oglobo-product-status.is-paid{background:#eaf8ef;color:#16834a}.oglobo-product-status.is-in_transit,.oglobo-product-status.is-issued{background:#eaf3ff;color:#206bc4}.oglobo-product-status.is-partial{background:#fff5e8;color:#d97706}.oglobo-product-status.is-cancelled,.oglobo-product-status.is-void{background:#fff0f1;color:#cf3b43}.oglobo-products-empty{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;color:#8490a1;padding:25px}.oglobo-products-empty>span{width:48px;height:48px;border-radius:14px;background:#f0f4f8;display:grid;place-items:center;color:#718096}.oglobo-products-empty svg{width:22px;height:22px}.oglobo-products-empty strong{font-size:12px;color:#445064}.oglobo-products-empty small{font-size:10px;max-width:430px}.oglobo-product-onboarding{display:flex;gap:14px;align-items:center;border:1px dashed #bfd4ed;background:#f7fbff;border-radius:13px;padding:14px;margin-bottom:14px}.oglobo-product-onboarding>span{width:46px;height:46px;border-radius:13px;background:#eaf3ff;color:#206bc4;display:grid;place-items:center;flex:0 0 auto}.oglobo-product-onboarding svg{width:22px;height:22px}.oglobo-product-onboarding h3{font-size:13px;margin:0}.oglobo-product-onboarding p{font-size:10px;color:#708094;margin:3px 0 8px}.oglobo-product-onboarding .btn{margin-right:5px}.oglobo-product-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oglobo-product-card{border:1px solid #e5eaf0;border-radius:14px;padding:14px;background:#fff;box-shadow:0 7px 20px rgba(31,41,55,.04);transition:.15s}.oglobo-product-card:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(31,41,55,.075)}.oglobo-product-card-top{display:flex;gap:10px;align-items:center}.oglobo-product-card-top>span{width:39px;height:39px;border-radius:11px;background:#eaf3ff;color:#206bc4;display:grid;place-items:center}.oglobo-product-card-top svg{width:19px;height:19px}.oglobo-product-card-top small{font-size:9px;color:#8c97a6}.oglobo-product-card-top h3{font-size:13px;margin:1px 0 0}.oglobo-product-dims{font-size:9.5px;color:#7d8998;background:#f7f9fb;border-radius:8px;padding:7px 8px;margin:11px 0}.oglobo-product-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.oglobo-product-prices>div{display:grid}.oglobo-product-prices small{font-size:8.5px;color:#8c97a6}.oglobo-product-prices strong{font-size:12px}.oglobo-products-empty.full{grid-column:1/-1}.oglobo-products-page .modal-header{background:linear-gradient(135deg,#fbfcfe,#f6f9fd)}
@media(max-width:1199px){.oglobo-products-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-product-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){.oglobo-products-workspace{grid-template-columns:1fr}.oglobo-products-tabs{border-right:0;border-bottom:1px solid #e9edf2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-products-hero{align-items:flex-start;flex-direction:column}.oglobo-products-actions{width:100%}}
@media(max-width:767px){.oglobo-products-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-products-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.oglobo-product-catalog{grid-template-columns:1fr}.oglobo-products-section-head{align-items:flex-start;flex-direction:column}.oglobo-products-section-head .btn{width:100%;justify-content:center}.oglobo-finance-period-menu{width:min(360px,calc(100vw - 28px))!important}}

/* v0.24.3 · reserva de caja vacía desde Guías */
.oglobo-empty-box-stock{border:1px solid #dbe7f4;background:linear-gradient(135deg,#fbfdff,#f5f9ff)}
.oglobo-stock-mini{min-height:66px;border:1px solid #d9e5f2;border-radius:12px;background:#fff;padding:10px 14px;display:flex;flex-direction:column;justify-content:center}
.oglobo-stock-mini span{font-size:.72rem;color:#718096;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.oglobo-stock-mini strong{font-size:1.05rem;color:#182433}

/* v0.25.0 · Masivo + Reportes */
.oglobo-tool-page{padding-bottom:24px}.oglobo-tool-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:4px 0 18px}.oglobo-tool-hero .page-title{margin:3px 0 5px;font-size:1.75rem}.oglobo-tool-hero p{margin:0;color:#667085;max-width:850px}.oglobo-tool-badge{min-width:112px;border:1px solid #dfe6ee;border-radius:18px;background:#fff;padding:12px 16px;box-shadow:0 8px 28px rgba(31,41,55,.05);display:flex;flex-direction:column;align-items:center}.oglobo-tool-badge strong{font-size:1.4rem;line-height:1}.oglobo-tool-badge span{font-size:.72rem;color:#758195;margin-top:5px}.oglobo-filter-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:14px 16px;margin-bottom:16px;box-shadow:0 8px 30px rgba(31,41,55,.035)}
.bulk-actions-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}.bulk-action-card{background:#fff;border:1px solid #e3e8ef;border-radius:18px;padding:15px;display:flex;flex-direction:column;gap:10px;min-height:210px;box-shadow:0 8px 28px rgba(31,41,55,.035);transition:.18s ease}.bulk-action-card:hover{transform:translateY(-2px);box-shadow:0 13px 34px rgba(31,41,55,.075);border-color:#cfd8e5}.bulk-action-card>div:nth-child(2){min-height:58px}.bulk-action-card strong{display:block;color:#172033}.bulk-action-card small{display:block;color:#748095;margin-top:3px;line-height:1.35}.bulk-action-card .btn{margin-top:auto}.bulk-action-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:18px}.bulk-action-icon.status{background:#e8f2ff;color:#146fd1}.bulk-action-icon.labels{background:#eafaf2;color:#108b5f}.bulk-action-icon.invoice{background:#fff6df;color:#b97900}.bulk-action-icon.consolidation{background:#ecfbf8;color:#078b77}.bulk-action-icon.transfer{background:#fff0e8;color:#d7661a}.bulk-selection-card{border-radius:18px;overflow:hidden}.bulk-row-cancelled{background:#fff5f5!important;color:#9b2630}.reports-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:12px 16px;margin-bottom:12px}.reports-toolbar>div:first-child{display:flex;flex-direction:column}.reports-toolbar span{font-size:.76rem;color:#7b8798}.report-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.report-summary-card{background:#fff;border:1px solid #e3e8ef;border-radius:16px;padding:12px 14px}.report-summary-card span{display:block;font-size:.72rem;color:#7b8798}.report-summary-card strong{display:block;font-size:1.2rem;margin-top:2px;color:#172033}.reports-page .card{border-radius:18px;overflow:hidden}.nav-tools.active{color:#7c3aed!important;background:#f5f0ff!important;border-color:#ddd0ff!important}
@media(max-width:1400px){.bulk-actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.bulk-actions-grid{grid-template-columns:1fr 1fr}.report-summary-grid{grid-template-columns:1fr 1fr}.oglobo-tool-hero{align-items:center}}@media(max-width:600px){.bulk-actions-grid,.report-summary-grid{grid-template-columns:1fr}.oglobo-tool-hero{flex-direction:column}.oglobo-tool-badge{width:100%;flex-direction:row;justify-content:center;gap:8px}.reports-toolbar{align-items:stretch;flex-direction:column}.reports-toolbar .btn-list{display:grid;grid-template-columns:1fr 1fr}}


/* v0.25.1 · UX refinement: dashboard 3D, tarifario scope, guides, consolidations, tools, users, offices, reports, bulk */
.oglobo-dash-kpi{position:relative;overflow:hidden;transform:perspective(900px) translateZ(0);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%)}
.oglobo-dash-kpi:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:currentColor;opacity:.85}.oglobo-dash-kpi:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-45px;top:-58px;background:currentColor;opacity:.035}.oglobo-dash-kpi:hover{transform:perspective(900px) translateY(-5px) rotateX(1.2deg);box-shadow:0 18px 36px rgba(31,45,61,.13)}
.oglobo-mini-chart{perspective:900px}.oglobo-mini-track{overflow:visible!important;background:linear-gradient(180deg,#f0f4f8,#e9eef5)!important;border-radius:10px 10px 4px 4px;box-shadow:inset 0 1px 4px rgba(34,55,80,.06)}.oglobo-mini-track i{border-radius:8px 8px 3px 3px!important;background:linear-gradient(90deg,#5ca7f5 0%,#206bc4 60%,#18589e 100%)!important;box-shadow:7px 6px 12px rgba(32,107,196,.16),inset -5px 0 7px rgba(0,0,0,.08),inset 4px 0 7px rgba(255,255,255,.22);transform:translateZ(10px)}
.oglobo-money-chart{perspective:1000px}.oglobo-money-bars i{border-radius:7px 7px 2px 2px!important;box-shadow:6px 5px 11px rgba(28,45,68,.13),inset -4px 0 5px rgba(0,0,0,.07),inset 3px 0 5px rgba(255,255,255,.25)}.oglobo-money-bars .is-billed{background:linear-gradient(90deg,#b8dcfa,#7eb9eb,#5b9dd6)!important}.oglobo-money-bars .is-paid{background:linear-gradient(90deg,#36c987,#14945f,#0f754c)!important}
.oglobo-status-row>i{height:7px!important;background:#edf1f5;border-radius:99px;box-shadow:inset 0 1px 2px rgba(17,38,62,.08)}.oglobo-status-row>i>b{border-radius:99px;box-shadow:0 3px 7px rgba(25,50,75,.14)}

.oglobo-scope-picker-3{grid-template-columns:repeat(3,minmax(0,1fr))}.oglobo-scope-picker-3 span{min-height:148px;position:relative;padding:1rem 1rem .9rem}.oglobo-scope-picker-3 strong{font-size:.91rem;margin-top:.55rem}.oglobo-scope-card-icon{display:grid!important;place-items:center;width:38px;height:38px;border-radius:11px;font-size:.78rem!important;font-weight:900!important;color:#fff!important;margin:0!important}.oglobo-scope-card-icon.is-zone{background:linear-gradient(145deg,#3d8ff0,#206bc4)}.oglobo-scope-card-icon.is-agency{background:linear-gradient(145deg,#8d64de,#6f42c1)}.oglobo-scope-card-icon.is-office{background:linear-gradient(145deg,#18b887,#0b8b65)}.oglobo-scope-picker-3 input:checked+span{transform:translateY(-2px);box-shadow:0 10px 22px rgba(32,107,196,.10),inset 0 0 0 1px rgba(32,107,196,.10)}
.oglobo-rate-wizard{border-top:4px solid #206bc4!important}.oglobo-rate-wizard .modal-header{background:linear-gradient(180deg,#f8fbff,#fff)}

.oglobo-guide-actions{padding:.5rem;min-width:245px;border:1px solid #e4eaf1;border-radius:14px;box-shadow:0 16px 38px rgba(21,36,54,.14)}.oglobo-guide-actions .dropdown-item{border-radius:9px;margin:2px 0;padding:.62rem .7rem;gap:.62rem}.oglobo-guide-actions .dropdown-item svg{width:18px;height:18px}.oglobo-guide-actions .action-view{color:#315a86}.oglobo-guide-actions .action-view:hover{background:#edf5ff}.oglobo-guide-actions .action-empty{color:#157a58}.oglobo-guide-actions .action-empty:hover{background:#eaf9f3}.oglobo-guide-actions .action-pickup{color:#9a6500}.oglobo-guide-actions .action-pickup:hover{background:#fff7df}.oglobo-guide-actions .action-label{color:#6b46c1}.oglobo-guide-actions .action-label:hover{background:#f4efff}.oglobo-guide-actions .action-invoice{color:#0b7c9a}.oglobo-guide-actions .action-invoice:hover{background:#eaf9fd}.oglobo-guide-actions .action-cancel:hover{background:#fff0f1!important}.module-shipments .oglobo-modern-table tbody tr{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.module-shipments .oglobo-modern-table tbody tr:hover{background:#fbfdff;box-shadow:inset 4px 0 0 #206bc4}

.oglobo-consolidation-table tbody tr{transition:background .17s ease,box-shadow .17s ease,transform .17s ease}.oglobo-consolidation-table tbody tr:hover{background:#fbfdff;box-shadow:inset 4px 0 0 #206bc4}.oglobo-cons-row-air{background:linear-gradient(90deg,rgba(111,66,193,.035),transparent 35%)}.oglobo-cons-row-sea{background:linear-gradient(90deg,rgba(12,166,120,.04),transparent 35%)}.oglobo-cons-type-icon{box-shadow:0 7px 15px rgba(30,48,70,.09)}

.oglobo-tools-menu .nav-bulk .oglobo-nav-icon,.oglobo-tools-menu .nav-bulk>svg{color:#d46b08}.oglobo-tools-menu .nav-bulk:hover{background:#fff6e8!important;color:#a44f00}.oglobo-tools-menu .nav-reports .oglobo-nav-icon,.oglobo-tools-menu .nav-reports>svg{color:#6f42c1}.oglobo-tools-menu .nav-reports:hover{background:#f5efff!important;color:#57339a}.oglobo-tools-menu{border-top:3px solid #7b61d1!important}

.oglobo-smart-results{z-index:1075;top:calc(100% + 6px);max-height:310px;overflow:auto;border:1px solid #dfe6ee;border-radius:13px;background:#fff;box-shadow:0 18px 38px rgba(25,43,64,.16);padding:.38rem}.oglobo-smart-result{display:flex;width:100%;gap:.65rem;align-items:center;border:0;background:transparent;padding:.62rem .66rem;border-radius:9px;text-align:left}.oglobo-smart-result:hover{background:#eef6ff}.oglobo-smart-result-icon{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:linear-gradient(145deg,#e9f3ff,#d8eaff);color:#206bc4;font-weight:900;font-size:.72rem}.oglobo-smart-result-copy{min-width:0;display:flex;flex-direction:column}.oglobo-smart-result-copy strong{font-size:.82rem;color:#1f2d3d}.oglobo-smart-result-copy small{font-size:.71rem;color:#758196;white-space:normal}.oglobo-smart-empty{padding:.9rem;text-align:center;color:#7a8595;font-size:.78rem}

.oglobo-office-stat{position:relative;overflow:hidden;border:1px solid #e3eaf2!important;transition:transform .2s ease,box-shadow .2s ease}.oglobo-office-stat:after{content:"";position:absolute;width:90px;height:90px;border-radius:50%;right:-42px;top:-45px;background:currentColor;opacity:.035}.oglobo-office-stat:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(24,44,67,.1)}.oglobo-office-stat-icon{box-shadow:0 8px 16px rgba(29,49,72,.08)}

.oglobo-report-start{min-height:330px;border:1px dashed #cfdbe8;border-radius:18px;background:linear-gradient(145deg,#fbfdff,#f5f8fc);display:flex;align-items:center;justify-content:center;gap:1.1rem;padding:2rem;text-align:left;color:#627086}.oglobo-report-start-icon{display:grid;place-items:center;width:72px;height:72px;flex:0 0 72px;border-radius:20px;background:linear-gradient(145deg,#eef5ff,#daeaff);color:#206bc4;box-shadow:0 12px 26px rgba(32,107,196,.12)}.oglobo-report-start-icon svg{width:34px;height:34px}.oglobo-report-start strong{display:block;font-size:1rem;color:#223247;margin-bottom:.25rem}.oglobo-report-start p{margin:0;max-width:630px}.oglobo-report-results{border-radius:16px;overflow:hidden}

.oglobo-bulk-excel{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;border:1px solid #cfe7d8;border-radius:16px;background:linear-gradient(145deg,#f6fff9,#eefaf2);box-shadow:0 8px 22px rgba(20,112,67,.05)}.oglobo-bulk-excel-copy{display:flex;align-items:center;gap:.8rem}.oglobo-bulk-excel-copy strong,.oglobo-bulk-excel-copy small{display:block}.oglobo-bulk-excel-copy small{color:#667485;margin-top:.12rem}.oglobo-bulk-excel-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#28a66d,#107c49);color:#fff;font-weight:900;font-size:1.1rem;box-shadow:0 8px 16px rgba(16,124,73,.18)}.oglobo-bulk-excel-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;justify-content:flex-end}

@media(max-width:991.98px){.oglobo-scope-picker-3{grid-template-columns:1fr}.oglobo-scope-picker-3 span{min-height:0}.oglobo-bulk-excel{align-items:flex-start;flex-direction:column}.oglobo-bulk-excel-actions{width:100%;justify-content:flex-start}.oglobo-bulk-excel-actions form{width:100%;flex-wrap:wrap}.oglobo-bulk-excel-actions input{flex:1 1 260px}.oglobo-report-start{align-items:flex-start}}

.oglobo-scope-dot.office{background:#0ca678}.cons-kpi{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;position:relative;overflow:hidden}.cons-kpi:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(24,44,67,.1)}.cons-kpi:nth-child(1){border-left:4px solid #206bc4}.cons-kpi:nth-child(2){border-left:4px solid #0ca678}.cons-kpi:nth-child(3){border-left:4px solid #7c3aed}.cons-kpi:nth-child(4){border-left:4px solid #16a34a}.cons-kpi:nth-child(1)>span{background:#eaf3fd;color:#206bc4}.cons-kpi:nth-child(2)>span{background:#e9faf3;color:#0b8f63}.cons-kpi:nth-child(3)>span{background:#f3eaff;color:#7c3aed}.cons-kpi:nth-child(4)>span{background:#eaf8ef;color:#16834a}

/* v0.25.1 finishing polish */
.oglobo-shipment-metric{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;isolation:isolate}.oglobo-shipment-metric:after{content:"";position:absolute;right:-22px;top:-28px;width:90px;height:90px;border-radius:50%;background:radial-gradient(circle,rgba(32,107,196,.10),transparent 68%);z-index:-1}.oglobo-shipment-metric:nth-child(2):after{background:radial-gradient(circle,rgba(22,131,74,.11),transparent 68%)}.oglobo-shipment-metric:nth-child(3):after{background:radial-gradient(circle,rgba(15,143,135,.11),transparent 68%)}.oglobo-shipment-metric:nth-child(4):after{background:radial-gradient(circle,rgba(111,66,193,.11),transparent 68%)}.oglobo-shipment-metric:nth-child(5):after{background:radial-gradient(circle,rgba(217,119,6,.11),transparent 68%)}.oglobo-shipment-metric:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(15,23,42,.11);border-color:#d5dfeb}.oglobo-shipment-metric .shipment-metric-icon{box-shadow:0 7px 18px rgba(15,23,42,.08),inset 0 1px 0 rgba(255,255,255,.8)}
.cons-actions .cons-action-btn{border-radius:9px;font-weight:650;transition:.16s ease}.cons-actions .cons-action-btn:nth-child(1){color:#2563eb;border-color:#bfdbfe;background:#eff6ff}.cons-actions .cons-action-btn:nth-child(1):hover{background:#dbeafe}.cons-actions .cons-action-btn:nth-child(2){color:#7c3aed;border-color:#ddd6fe;background:#f5f3ff}.cons-actions .cons-action-btn:nth-child(2):hover{background:#ede9fe}.cons-actions .cons-action-btn:nth-child(3){color:#334155;border-color:#cbd5e1;background:#f8fafc}.cons-actions .cons-action-btn:nth-child(3):hover{background:#e2e8f0}.oglobo-consolidation-table tbody tr{transition:background .15s ease,box-shadow .15s ease}.oglobo-consolidation-table tbody tr:hover{box-shadow:inset 3px 0 0 currentColor}.oglobo-cons-row-air{color:#1e293b;background:linear-gradient(90deg,rgba(124,58,237,.035),transparent 28%)}.oglobo-cons-row-sea{color:#1e293b;background:linear-gradient(90deg,rgba(8,121,144,.045),transparent 28%)}

/* v0.26.0 · RBAC, contexto operativo y tablas masivas */
.rbac-hidden{display:none!important}
.oglobo-office-context{margin-left:auto;position:relative}
.oglobo-office-context-trigger{height:42px;max-width:260px;border:1px solid #dbe5f0;background:linear-gradient(180deg,#fff,#f8fbff);border-radius:12px;padding:6px 10px;display:flex;align-items:center;gap:9px;color:#26364d;box-shadow:0 3px 12px rgba(31,49,79,.06);transition:.18s ease}
.oglobo-office-context-trigger:hover{transform:translateY(-1px);border-color:#9bc2f4;box-shadow:0 7px 18px rgba(36,104,190,.12)}
.oglobo-office-context-trigger>span:nth-child(2){display:flex;min-width:0;flex-direction:column;text-align:left;line-height:1.05}
.oglobo-office-context-trigger small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#8290a5;font-weight:700}
.oglobo-office-context-trigger strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px;margin-top:4px}
.oglobo-office-context-icon{width:27px;height:27px;border-radius:8px;background:#eaf4ff;color:#1769c2;display:grid;place-items:center;font-weight:800}
.oglobo-office-context-menu{width:310px;padding:10px;border:1px solid #e4eaf1;box-shadow:0 18px 45px rgba(33,48,75,.16);border-radius:14px}
.oglobo-office-option{display:grid!important;grid-template-columns:52px 1fr 20px;align-items:center;gap:9px;border-radius:10px;padding:9px 10px!important;margin:2px 0}
.oglobo-office-option>span{font-size:10px;font-weight:800;color:#1769c2;background:#eaf4ff;padding:6px 5px;border-radius:8px;text-align:center}
.oglobo-office-option>div{min-width:0;display:flex;flex-direction:column}.oglobo-office-option strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-office-option small{font-size:10px;color:#8a97a9}
.oglobo-office-option.active{background:#edf6ff;color:#145ba8}.oglobo-office-option.active>span{background:#d9edff}

.rbac-permission-section{border:1px solid #dfe8f2;background:linear-gradient(180deg,#fbfdff,#f7faff)}
.rbac-permission-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}
.rbac-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;max-height:330px;overflow:auto;padding:4px 5px 8px 1px}
.rbac-permission-module{grid-column:1/-1;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:#718198;margin-top:8px;padding-top:8px;border-top:1px solid #e5ebf2}
.rbac-permission-item{display:flex;align-items:flex-start;gap:9px;padding:9px 10px;border:1px solid #e5ebf2;border-radius:10px;background:#fff;cursor:pointer;transition:.15s ease}
.rbac-permission-item:hover{border-color:#b8d3f1;box-shadow:0 4px 12px rgba(33,83,144,.07)}
.rbac-permission-item input{margin-top:2px}.rbac-permission-item span{display:flex;flex-direction:column;min-width:0}.rbac-permission-item strong{font-size:11px;color:#28364a}.rbac-permission-item small{font-size:10px;line-height:1.3;color:#7d8a9d;margin-top:2px}

.rbac-denied-page{min-height:62vh;display:grid;place-items:center;padding:40px 20px}.rbac-denied-card{width:min(620px,100%);text-align:center;background:#fff;border:1px solid #e5e9ef;border-radius:20px;padding:38px;box-shadow:0 22px 60px rgba(37,52,77,.10)}
.rbac-denied-lock{width:82px;height:82px;margin:0 auto 18px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(145deg,#fff2f2,#ffe5e7);color:#ce2e3c;border:1px solid #ffd3d7;box-shadow:inset 0 1px 0 #fff,0 12px 24px rgba(206,46,60,.10)}
.rbac-denied-card h1{font-size:28px;margin:5px 0 8px}.rbac-denied-card>p{color:#6d7c90;max-width:500px;margin:0 auto}.rbac-denied-note{margin-top:22px;padding:14px 16px;border-radius:12px;background:#f8fafc;border:1px solid #e6ebf1;text-align:left;display:flex;flex-direction:column;gap:3px}.rbac-denied-note strong{font-size:12px}.rbac-denied-note span{font-size:11px;color:#748196;line-height:1.45}

.oglobo-bulk-workspace{margin-top:14px;border:1px solid #e3e9f0;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(31,47,74,.05)}
.oglobo-bulk-workspace .oglobo-workspace-content>.tab-pane{display:none!important;visibility:hidden;min-height:220px}.oglobo-bulk-workspace .oglobo-workspace-content>.tab-pane.active{display:block!important;visibility:visible}.oglobo-bulk-workspace #bulk-operation{padding:14px}.oglobo-bulk-workspace #bulk-history{padding:14px}
.bulk-history-card{border:0;box-shadow:none}.bulk-operation-name{font-weight:700;text-transform:capitalize}
.bulk-selection-card .table,.bulk-history-card .table,.oglobo-data-table{font-size:12px;line-height:1.35;table-layout:auto}
.bulk-selection-card .table th,.bulk-selection-card .table td,.bulk-history-card .table th,.bulk-history-card .table td,.oglobo-data-table th,.oglobo-data-table td{vertical-align:middle!important;padding:11px 12px!important;white-space:normal;letter-spacing:0!important;word-spacing:0!important}
.bulk-selection-card .table thead th,.bulk-history-card .table thead th,.oglobo-data-table thead th{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.045em!important;color:#66758b;background:#f8fafc;border-bottom:1px solid #e4eaf0}
.bulk-selection-card .table tbody strong{font-size:12px}.bulk-selection-card .small{font-size:10px;line-height:1.35}

@media(max-width:1200px){.oglobo-office-context-trigger strong{max-width:110px}.oglobo-office-context-trigger{max-width:190px}}
@media(max-width:900px){.oglobo-office-context-trigger>span:nth-child(2){display:none}.oglobo-office-context-trigger{width:42px;padding:6px;justify-content:center}.oglobo-office-context-trigger>b{display:none}.rbac-permission-grid{grid-template-columns:1fr}}


.oglobo-office-context-static{height:42px;max-width:250px;border:1px solid #e4e9ef;background:#f8fafc;border-radius:12px;padding:6px 10px;display:flex;align-items:center;gap:9px;color:#4b5d73}
.oglobo-office-context-static>span:nth-child(2){display:flex;min-width:0;flex-direction:column;line-height:1.05}.oglobo-office-context-static small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#929daf;font-weight:700}.oglobo-office-context-static strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:165px;margin-top:4px}
.bulk-selection-card .form-check{display:flex;align-items:center;gap:7px;margin:0}.bulk-selection-card .form-check-input{margin:0;float:none;flex:0 0 auto}.bulk-selection-card tbody td:first-child{text-align:center;width:48px}.bulk-selection-card tbody td:first-child .form-check-input{margin:0 auto;display:block}
.bulk-active-origin{display:flex;flex-direction:column;gap:2px;padding:7px 9px;border:1px solid #e3e8ef;background:#f8fafc;border-radius:9px}.bulk-active-origin span{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#8995a7;font-weight:700}.bulk-active-origin strong{font-size:11px;color:#334155}
@media(max-width:900px){.oglobo-office-context-static>span:nth-child(2){display:none}.oglobo-office-context-static{width:42px;padding:6px;justify-content:center}}
.oglobo-active-office-field{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dfe7ef;background:linear-gradient(180deg,#fbfdff,#f6f9fc);border-radius:11px}.oglobo-active-office-field>span{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#e9f4ff;color:#1769c2;font-weight:800}.oglobo-active-office-field>div{display:flex;flex-direction:column;min-width:0}.oglobo-active-office-field strong{font-size:12px;color:#27364a}.oglobo-active-office-field small{font-size:10px;color:#7d8b9e;margin-top:2px;line-height:1.35}

/* v0.26.1 - contexto operativo, formularios y top navigation */
.oglobo-header{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 1px 0 rgba(15,23,42,.08)}
.oglobo-header-inner{min-height:64px;gap:12px}.oglobo-header-main{gap:10px}.oglobo-main-nav{gap:2px;padding:4px;border-radius:14px;background:#f7f9fc;border:1px solid #e8edf5}
.oglobo-nav-link{min-height:38px;border-radius:10px;padding:7px 10px}.oglobo-brand-logo{max-height:34px}
.oglobo-office-context-trigger,.oglobo-office-context-static{min-width:205px;max-width:270px;border:1px solid #dbe6f4;background:linear-gradient(180deg,#fff,#f7fbff);border-radius:13px;padding:6px 9px;box-shadow:0 5px 16px rgba(15,46,86,.06)}
.oglobo-office-context-trigger:hover{border-color:#9fc5f6;box-shadow:0 8px 22px rgba(37,99,235,.12)}
.oglobo-office-context-trigger em,.oglobo-office-context-static em{display:inline-block;margin-left:6px;font-size:9px;font-style:normal;color:#6b7280;font-weight:700}
.oglobo-context-modern{width:min(480px,calc(100vw - 24px));padding:12px;border:1px solid #e1e8f2;border-radius:16px;box-shadow:0 22px 60px rgba(15,23,42,.18)}
.oglobo-context-menu-head{padding:3px 5px 10px}.oglobo-context-menu-head strong{display:block;font-size:14px}.oglobo-context-menu-head small{display:block;color:#667085;margin-top:2px}
.oglobo-context-section-title{font-size:10px;letter-spacing:.08em;text-transform:uppercase;font-weight:800;color:#8390a5;margin:5px 4px 7px}
.oglobo-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.oglobo-context-grid form{min-width:0}.oglobo-context-option{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;border:1px solid #dfe6ef;background:#fff;border-radius:11px;padding:9px 10px;color:#1e293b;box-shadow:none;appearance:none}
.oglobo-context-option:hover{border-color:#93baf2;background:#f5f9ff;transform:translateY(-1px)}.oglobo-context-option.active{border-color:#2780e3;background:#eef6ff;box-shadow:inset 0 0 0 1px #2780e3}.oglobo-context-option.is-agency.active{border-color:#7c3aed;background:#f7f2ff;box-shadow:inset 0 0 0 1px #7c3aed}
.oglobo-context-code{font-size:10px;font-weight:800;color:#1769c2;background:#eaf4ff;border-radius:7px;padding:4px 6px}.oglobo-context-option.is-agency .oglobo-context-code{color:#6d28d9;background:#f1eafe}.oglobo-context-option strong,.oglobo-context-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.oglobo-context-option small{font-size:10px;color:#7b8798;margin-top:1px}
.oglobo-guide-context{display:flex;align-items:center;gap:12px}.oglobo-guide-context>div{min-width:0;flex:1}.oglobo-guide-context .btn{flex:0 0 auto}
.oglobo-modal-textarea,.modal textarea.form-control{width:100%;max-width:100%;box-sizing:border-box;resize:vertical;min-height:84px;line-height:1.45}
.oglobo-shipment-wizard .form-control,.oglobo-shipment-wizard .form-select{max-width:100%}
@media(max-width:1250px){.oglobo-main-nav .oglobo-nav-link{padding-inline:8px}.oglobo-main-nav .oglobo-nav-link span{font-size:12px}.oglobo-office-context-trigger{min-width:180px}}
@media(max-width:900px){.oglobo-context-grid{grid-template-columns:1fr}.oglobo-office-context-trigger,.oglobo-office-context-static{min-width:0;max-width:none}.oglobo-guide-context{align-items:flex-start;flex-wrap:wrap}}
.oglobo-context-zone-pills{display:flex;gap:5px;overflow-x:auto;padding:0 2px 8px;scrollbar-width:thin}.oglobo-context-zone-pills button{border:1px solid #dfe6ef;background:#fff;color:#667085;border-radius:999px;padding:4px 9px;font-size:10px;font-weight:800;appearance:none}.oglobo-context-zone-pills button:hover,.oglobo-context-zone-pills button.active{border-color:#7c3aed;color:#6d28d9;background:#f5f0ff}

/* v0.27.0 - header compacto en una sola fila + kits tarifarios */
@media (min-width:1200px){
  :root{--oglobo-header-height:58px}
  .oglobo-header-inner{min-height:58px;padding:.3rem 1rem}
  .oglobo-header-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:.55rem;min-height:50px}
  .oglobo-brand{align-self:center}.oglobo-brand-logo{height:27px;max-width:118px}
  .oglobo-main-nav{min-width:0;overflow:visible;padding:.18rem .24rem;gap:.06rem;white-space:nowrap}
  .oglobo-nav-link{min-height:36px;padding:.42rem .48rem;font-size:.75rem}
  .oglobo-nav-link>svg:first-child{width:16px;height:16px}
  .oglobo-office-context,.oglobo-office-context-static{min-width:0;max-width:210px}
  .oglobo-office-context-trigger,.oglobo-office-context-static{min-height:40px;padding:.34rem .48rem;border-radius:11px}
  .oglobo-office-context-trigger>span:nth-child(2),.oglobo-office-context-static>span:nth-child(2){min-width:0}
  .oglobo-office-context-trigger small,.oglobo-office-context-static small{display:none}
  .oglobo-office-context-trigger strong,.oglobo-office-context-static strong{font-size:.72rem;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .oglobo-office-context-trigger em,.oglobo-office-context-static em{display:none}
  .oglobo-message-bell{justify-self:end}.oglobo-account{justify-self:end;padding-left:0;border-left:0}
  .oglobo-account-copy{display:none}.oglobo-account-trigger{padding:.2rem .25rem}
}
@media (min-width:1200px) and (max-width:1380px){
  .oglobo-nav-link{padding:.4rem .38rem;font-size:.7rem}.oglobo-nav-link>span{display:none}.oglobo-nav-group-trigger>span{display:inline}
  .oglobo-main-nav{justify-content:center}
}
.oglobo-rate-kits{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.oglobo-rate-kit-card{position:relative;padding:16px;border:1px solid #dfe7f0;border-radius:16px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 10px 28px rgba(38,55,77,.07);overflow:hidden}
.oglobo-rate-kit-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#206bc4}
.oglobo-rate-kit-card.is-inactive{opacity:.72;filter:saturate(.65)}
.oglobo-rate-kit-head,.oglobo-rate-kit-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.oglobo-rate-kit-zone{display:inline-flex;align-items:center;padding:.28rem .5rem;border-radius:8px;background:#eaf3ff;color:#1558a6;font-size:.72rem;font-weight:800;letter-spacing:.05em}
.oglobo-rate-kit-card h3{font-size:1rem;margin:12px 0 2px}.oglobo-rate-kit-card p{margin:0 0 12px;color:#7a8799;font-size:.76rem}
.oglobo-rate-kit-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.oglobo-rate-kit-metrics span{display:grid;padding:8px;border-radius:10px;background:#fff;border:1px solid #edf1f5}.oglobo-rate-kit-metrics b{font-size:1rem}.oglobo-rate-kit-metrics small{font-size:.64rem;color:#8390a2}
.oglobo-rate-kit-services{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:13px}.oglobo-rate-kit-services span{padding:.28rem .48rem;border-radius:8px;font-size:.69rem;font-weight:700}.oglobo-rate-kit-services .chip-cyan{background:#eaf9fb;color:#087b91}.oglobo-rate-kit-services .chip-purple{background:#f4efff;color:#7048b8}

/* v0.27.1 - Tarifario: workspace compacto de kits */
.oglobo-kit-workspace{border:1px solid #e2e8f0;border-radius:18px;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 12px 34px rgba(15,23,42,.055);overflow:hidden}
.oglobo-kit-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px 13px;border-bottom:1px solid #edf2f7;background:linear-gradient(135deg,#fbfdff,#f5f9ff)}
.oglobo-kit-workspace-head h3{font-size:1.02rem}.oglobo-kit-workspace-head p{font-size:.76rem;color:#718096}
.oglobo-kit-workspace-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.oglobo-kit-workspace-summary>span{display:flex;align-items:baseline;gap:4px;padding:6px 9px;border:1px solid #e7edf4;background:#fff;border-radius:10px;line-height:1}.oglobo-kit-workspace-summary b{font-size:.88rem;color:#1f2937}.oglobo-kit-workspace-summary small{font-size:.62rem;color:#8793a5;text-transform:uppercase;letter-spacing:.035em}
.oglobo-rate-kits-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px}
.oglobo-rate-kit-compact{border:1px solid #e2e9f2;border-radius:14px;background:#fff;padding:11px 12px;transition:.18s ease;box-shadow:0 4px 14px rgba(15,23,42,.035)}
.oglobo-rate-kit-compact:hover{transform:translateY(-1px);border-color:#b9d4f3;box-shadow:0 9px 24px rgba(31,111,207,.09)}
.oglobo-rate-kit-compact.is-selected{border-color:#68a5eb;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 0 0 2px rgba(32,107,196,.08),0 10px 24px rgba(32,107,196,.1)}
.oglobo-rate-kit-compact.is-inactive{opacity:.68}.oglobo-rate-kit-compact-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px}.oglobo-rate-kit-copy{min-width:0}.oglobo-rate-kit-copy strong{font-size:.82rem;color:#182433}.oglobo-rate-kit-copy small{display:block;color:#8491a2;font-size:.67rem;margin-top:2px}.oglobo-kit-status{font-size:.57rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding:3px 6px;border-radius:999px}.oglobo-kit-status.is-on{color:#15803d;background:#eaf8ef}.oglobo-kit-status.is-off{color:#64748b;background:#f1f5f9}.oglobo-kit-open{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#edf5ff;color:#1f69bd;font-weight:900;text-decoration:none;transition:.15s}.oglobo-kit-open:hover{background:#206bc4;color:#fff;transform:translateX(1px)}
.oglobo-rate-kit-compact-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px solid #f0f3f7;color:#758296;font-size:.64rem}.oglobo-rate-kit-compact-meta b{color:#26364a}.oglobo-rate-kit-compact-meta .is-maritime{color:#087b91;font-weight:800}.oglobo-rate-kit-compact-meta .is-air{color:#7048b8;font-weight:800}.oglobo-kit-toggle{border:0;background:transparent;color:#7c8797;font-size:.62rem;padding:2px 4px}.oglobo-kit-toggle:hover{color:#206bc4;text-decoration:underline}
.oglobo-rate-overview-strip{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding:9px 12px;border-top:1px solid #edf2f7;background:#fafcff}.oglobo-rate-overview-strip>div:not(.oglobo-rate-priority-inline){display:flex;align-items:center;gap:5px;padding:4px 7px;border-radius:8px;font-size:.65rem;color:#728096}.oglobo-rate-overview-strip strong{font-size:.75rem;color:#26364a}.oglobo-rate-overview-strip .dot{width:7px;height:7px;border-radius:50%}.oglobo-rate-overview-strip .dot.is-green{background:#22a06b}.oglobo-rate-overview-strip .dot.is-blue{background:#206bc4}.oglobo-rate-overview-strip .dot.is-purple{background:#7c3aed}.oglobo-rate-overview-strip .dot.is-cyan{background:#0891b2}.oglobo-rate-overview-strip .dot.is-violet{background:#8b5cf6}.oglobo-rate-priority-inline{margin-left:auto;display:flex;align-items:center;gap:6px;min-width:240px;justify-content:flex-end}.oglobo-rate-priority-inline>span{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#eef4ff;color:#206bc4;font-weight:800;font-size:.65rem}.oglobo-rate-priority-inline small{color:#7a8798;font-size:.64rem}
@media(max-width:900px){.oglobo-kit-workspace-head{align-items:flex-start;flex-direction:column}.oglobo-kit-workspace-summary{justify-content:flex-start}.oglobo-rate-kits-compact{grid-template-columns:1fr}.oglobo-rate-priority-inline{margin-left:0;justify-content:flex-start;min-width:0;width:100%}}

/* v0.27.1 - selector de origen desde Nueva guía */
.oglobo-origin-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}.oglobo-origin-section-head strong{font-size:.82rem;color:#223047}.oglobo-origin-section-head small{font-size:.68rem;color:#8491a3}
.oglobo-origin-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.oglobo-origin-choice{width:100%;border:1px solid #dfe7f0;background:linear-gradient(180deg,#fff,#fafcff);border-radius:12px;padding:10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;text-align:left;color:#26364a;transition:.16s ease}.oglobo-origin-choice:hover{border-color:#8fbeeF;box-shadow:0 7px 18px rgba(32,107,196,.10);transform:translateY(-1px)}.oglobo-origin-choice.is-active{border-color:#5b9ee8;background:#eef6ff;box-shadow:0 0 0 2px rgba(32,107,196,.08)}.oglobo-origin-choice.is-agency{border-left:3px solid #7c3aed}.oglobo-origin-choice-code{display:inline-grid;place-items:center;min-width:48px;height:28px;padding:0 7px;border-radius:8px;background:#eaf3ff;color:#1766b5;font-size:.68rem;font-weight:900;letter-spacing:.025em}.oglobo-origin-choice.is-agency .oglobo-origin-choice-code{background:#f4efff;color:#6d28d9}.oglobo-origin-choice>span:nth-child(2){min-width:0}.oglobo-origin-choice strong{display:block;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oglobo-origin-choice small{display:block;color:#8491a3;font-size:.65rem;margin-top:2px}.oglobo-origin-choice>b{color:#2672c8;font-size:.85rem}
.oglobo-origin-zone-filter{display:flex;gap:5px;overflow-x:auto;margin:0 0 10px;padding-bottom:2px}.oglobo-origin-zone-filter button{border:1px solid #dfe6ef;background:#fff;color:#69788d;border-radius:999px;padding:4px 9px;font-size:.63rem;font-weight:800}.oglobo-origin-zone-filter button.active,.oglobo-origin-zone-filter button:hover{border-color:#8b5cf6;background:#f5f0ff;color:#6d28d9}
@media(max-width:720px){.oglobo-origin-section-head{align-items:flex-start;flex-direction:column}.oglobo-origin-choice-grid{grid-template-columns:1fr}}

/* v0.27.1 - Navegación comercial más liviana dentro de Tarifario */
.oglobo-rate-nav{display:flex!important;gap:6px!important;padding:5px!important;border:1px solid #e5ebf2!important;border-radius:14px!important;background:#f8fafc!important;box-shadow:none!important;overflow-x:auto!important}
.oglobo-rate-nav-item{min-width:0!important;flex:1 0 145px!important;min-height:52px!important;padding:8px 10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.oglobo-rate-nav-item:hover{background:#fff!important;border-color:#e1e8f0!important;box-shadow:0 4px 12px rgba(15,23,42,.04)!important}
.oglobo-rate-nav-item.active{background:#fff!important;border-color:#b9d3f2!important;box-shadow:0 5px 14px rgba(32,107,196,.08)!important}
.oglobo-rate-nav-icon{width:30px!important;height:30px!important;border-radius:9px!important;flex:0 0 30px!important}.oglobo-rate-nav-icon svg{width:16px!important;height:16px!important}
.oglobo-rate-nav-item strong{font-size:.76rem!important}.oglobo-rate-nav-item small{font-size:.61rem!important;line-height:1.15!important;margin-top:1px!important}
@media(max-width:760px){.oglobo-rate-nav-item{flex:0 0 132px!important}.oglobo-rate-nav-item small{display:none!important}}

/* v0.27.2 · Comunicaciones compactas + timeline interno */
.oglobo-comm-editor{border:0;border-radius:20px;overflow:hidden;box-shadow:0 26px 70px rgba(20,31,50,.18)}
.oglobo-comm-editor .modal-header{padding:18px 22px;background:linear-gradient(180deg,#fbfdff,#f7f9fc);border-bottom:1px solid #e5eaf1}
.oglobo-comm-editor .modal-body{padding:20px 22px;background:#f8fafc}
.oglobo-comm-editor .modal-footer{padding:14px 22px;background:#fff;border-top:1px solid #e8edf3}
.oglobo-comm-form-card{background:#fff;border:1px solid #e5eaf1;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(35,52,73,.045)}
.oglobo-comm-form-title{display:flex;flex-direction:column;gap:2px;margin-bottom:14px}.oglobo-comm-form-title strong{font-size:14px;color:#172033}.oglobo-comm-form-title small{font-size:12px;color:#728096}
.oglobo-modal-textarea{width:100%;min-height:110px;resize:vertical}
.oglobo-comm-preview{white-space:pre-wrap;font-size:14px;line-height:1.65;color:#243044;background:#f8fafc;border:1px solid #e5eaf1;border-radius:14px;padding:16px}
.oglobo-comm-preview-meta{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:start}.oglobo-comm-preview-meta>div{background:#fff;border:1px solid #e6ebf2;border-radius:12px;padding:12px}.oglobo-comm-preview-meta small{display:block;color:#8490a3;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:.06em}.oglobo-comm-preview-meta strong{display:block;font-size:12px;margin-top:4px}
.oglobo-guide-timeline{position:relative;padding-left:22px}.oglobo-guide-timeline:before{content:"";position:absolute;left:6px;top:8px;bottom:8px;width:2px;background:#e1e8f1}.oglobo-timeline-event{position:relative;display:flex;gap:14px;padding:0 0 18px}.oglobo-timeline-dot{position:absolute;left:-20px;top:5px;width:10px;height:10px;border-radius:50%;background:#206bc4;box-shadow:0 0 0 4px #e8f2ff}.oglobo-timeline-event>div{min-width:0}.oglobo-timeline-event small{display:block;color:#78859a;margin-top:3px}.oglobo-timeline-event p{margin:5px 0 0;color:#4d5b70;font-size:12px}.oglobo-evidence-grid{display:flex;flex-wrap:wrap;gap:8px}.oglobo-evidence-grid a{display:flex;flex-direction:column;text-decoration:none;border:1px solid #dbe4ef;border-radius:10px;padding:9px 12px;background:#fff}.oglobo-evidence-grid a span{font-weight:700;color:#206bc4}.oglobo-evidence-grid a small{color:#7b879a}
@media(max-width:991.98px){.oglobo-comm-preview-meta{grid-template-columns:1fr}.oglobo-comm-editor .modal-body{padding:16px}}

/* v0.27.3 - Guías: caja personalizada como opción del desglose */
.oglobo-custom-box-note{
  margin-top:.65rem;padding:.7rem .8rem;border:1px solid #bfd7ff;border-radius:12px;
  background:linear-gradient(135deg,#f4f8ff 0%,#fbfdff 100%);display:flex;gap:.45rem;align-items:flex-start;
  color:#4b5f7a;font-size:.78rem;line-height:1.35
}
.oglobo-custom-box-note strong{color:#165dba;white-space:nowrap}

/* v0.27.4 - Reportes: manifiestos de consolidado / aduana */
.report-summary-grid-auto{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.reports-page .report-manifest-only .form-select{border-color:#b8cdf0;background-color:#fbfdff}
.reports-page .report-customs-only .form-control{border-color:#e7c474;background:#fffdf7}
.reports-page .oglobo-report-results table th{white-space:nowrap;font-size:.69rem;letter-spacing:.02em;color:#5e6b7d;background:#f7f9fc}
.reports-page .oglobo-report-results table td{font-size:.74rem;vertical-align:top;line-height:1.35}
.reports-page .oglobo-report-results table td:nth-child(5),.reports-page .oglobo-report-results table td:nth-child(9),.reports-page .oglobo-report-results table td:last-child{white-space:normal;min-width:180px}
@media(max-width:768px){.report-summary-grid-auto{grid-template-columns:1fr 1fr}}

/* v0.27.5 - Dashboard: anuncios como noticia / comunicado en modal */
.oglobo-announcement-news-list{gap:0}
.oglobo-announcement-news{appearance:none;width:100%;border:0;border-bottom:1px solid #edf1f5;background:#fff;text-align:left;cursor:pointer;transition:background .16s ease,transform .16s ease,box-shadow .16s ease;padding:.9rem 1rem}
.oglobo-announcement-news:last-child{border-bottom:0}.oglobo-announcement-news:hover{background:linear-gradient(90deg,#f7fbff 0%,#fff 72%);box-shadow:inset 3px 0 0 #206bc4}.oglobo-announcement-news:focus-visible{outline:2px solid #206bc4;outline-offset:-2px}
.oglobo-announcement-news-copy{display:block;min-width:0}.oglobo-announcement-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.28rem;color:#69788c;font-size:.7rem;line-height:1.5}
.oglobo-announcement-news-meta{display:flex;align-items:center;gap:.55rem;margin-top:.48rem;font-size:.62rem}.oglobo-announcement-news-meta b{color:#206bc4}.oglobo-announcement-news-meta em{font-style:normal;color:#7c8797;padding:.16rem .4rem;border-radius:999px;background:#f2f5f8}.oglobo-announcement-news-meta i{font-style:normal;color:#206bc4;margin-left:auto;font-size:.82rem;transition:transform .16s}.oglobo-announcement-news:hover .oglobo-announcement-news-meta i{transform:translateX(3px)}
.oglobo-news-modal-dialog{max-width:850px}.oglobo-news-modal{position:relative;border:0;border-radius:22px;overflow:hidden;box-shadow:0 32px 90px rgba(20,31,50,.26);background:#fff}.oglobo-news-modal-accent{height:5px;background:linear-gradient(90deg,#206bc4,#4f8ed8 55%,#78b8f5)}
.oglobo-news-modal-header{align-items:flex-start;padding:22px 26px 18px;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);border-bottom:1px solid #e8edf4}.oglobo-news-modal-heading{min-width:0;padding-right:16px}.oglobo-news-kicker{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#206bc4;text-transform:uppercase;font-size:.63rem;font-weight:850;letter-spacing:.065em}.oglobo-news-kicker span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#e9f3ff}.oglobo-news-kicker svg{width:14px;height:14px}.oglobo-news-modal-header h3{font-size:1.32rem;line-height:1.2;color:#172033;font-weight:800;margin:0;letter-spacing:-.018em}.oglobo-news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:9px}.oglobo-news-meta span{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid #e1e8f1;border-radius:999px;background:#fff;color:#6d798b;font-size:.65rem;font-weight:650}
.oglobo-news-modal-body{padding:0;background:#fff}.oglobo-news-media{background:#f3f6fa;border-bottom:1px solid #e7edf4;max-height:430px;overflow:hidden}.oglobo-news-media img,.oglobo-news-media video{display:block;width:100%;max-height:430px;object-fit:contain;background:#eef2f6}.oglobo-news-file{display:flex;align-items:center;gap:12px;margin:18px 24px;padding:14px 16px;border:1px solid #dbe6f3;border-radius:14px;background:#f8fbff;text-decoration:none}.oglobo-news-file>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e7f2ff;color:#206bc4;font-size:1.05rem}.oglobo-news-file strong{display:block;color:#1d2a3c;font-size:.78rem}.oglobo-news-file small{display:block;color:#78869a;font-size:.66rem;margin-top:2px}.oglobo-news-file:hover{border-color:#9fc2eb;background:#f1f7ff}
.oglobo-news-article{padding:25px 28px 30px;white-space:pre-wrap;color:#334155;font-size:.89rem;line-height:1.78;min-height:110px}.oglobo-news-article::first-line{color:#26364a}.oglobo-news-modal-footer{justify-content:space-between;padding:13px 24px;background:#f8fafc;border-top:1px solid #e7edf4}.oglobo-news-modal-footer>span{display:flex;align-items:center;gap:7px;color:#8491a3;font-size:.64rem;font-weight:650}.oglobo-news-modal-footer>span i{width:7px;height:7px;border-radius:50%;background:#22a06b;box-shadow:0 0 0 3px #e5f7ee}
@media(max-width:767.98px){.oglobo-news-modal-dialog{margin:.6rem}.oglobo-news-modal{border-radius:17px}.oglobo-news-modal-header{padding:18px}.oglobo-news-modal-header h3{font-size:1.1rem}.oglobo-news-article{padding:20px;font-size:.82rem}.oglobo-news-modal-footer{padding:12px 16px}.oglobo-news-modal-footer>span{display:none}}

.oglobo-login-announcements{display:grid;gap:12px;margin-top:22px}.oglobo-login-announcements a{display:flex;flex-direction:column;padding:18px 20px;border-radius:14px;background:#eef2ff;color:#212f86;border:1px solid #dce3ff;text-decoration:none;transition:transform .2s,box-shadow .2s}.oglobo-login-announcements a:hover{transform:translateY(-2px);box-shadow:0 8px 20px #212f8618}.oglobo-login-announcements span{font-size:13px}.oglobo-login-announcements strong{font-size:17px;margin-top:5px;overflow-wrap:anywhere}.oglobo-login-announcements a.oglobo-login-whatsapp{background:#eaf8ef;color:#156c39;border-color:#c6ead2}@media(prefers-reduced-motion:reduce){.oglobo-login-announcements a{transition:none}}

/* Production: destination inventory and driver agenda layout */
.oglobo-destination-card>.card-header{padding:22px 24px;display:block;border-bottom:1px solid #e7edf4}
.oglobo-destination-heading{display:flex;align-items:flex-start;gap:14px;min-width:0}
.oglobo-destination-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:12px;background:#eaf4ff;color:#206bc4;font-size:25px}
.oglobo-destination-heading .card-title{margin:0 0 7px;font-size:18px;line-height:1.35}
.oglobo-destination-heading p{font-size:13px;line-height:1.6;margin:0;max-width:900px}
.oglobo-destination-card>.card-body{padding:18px 24px}
.oglobo-destination-filters{display:grid;grid-template-columns:minmax(200px,1fr) minmax(190px,260px) auto auto;align-items:end;gap:12px}
.oglobo-destination-card .table th,.oglobo-destination-card .table td{padding:14px 20px;vertical-align:middle}
.oglobo-destination-card .table{margin:0;min-width:820px}
.oglobo-destination-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:36px 16px;color:#718096}
.oglobo-destination-empty strong{font-size:15px;color:#334155}.oglobo-destination-empty span{font-size:13px}
.oglobo-driver-agenda-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.oglobo-driver-agenda-column{min-width:0}.oglobo-driver-list{height:100%}
.oglobo-driver-list>.card-header{display:flex;align-items:flex-start;gap:14px;padding:20px 22px;min-height:110px}
.oglobo-driver-list-header>.flex-fill{flex:1;min-width:0}.oglobo-driver-list .card-title{font-size:17px;line-height:1.4;margin:0}
.oglobo-driver-list .card-subtitle{margin-top:8px;color:#6b7a90;font-size:13px;line-height:1.5}
.oglobo-driver-list .oglobo-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:210px;padding:30px 22px;gap:10px}
.oglobo-driver-list .oglobo-empty-state strong,.oglobo-driver-list .oglobo-empty-state small{display:block;max-width:420px;line-height:1.6;margin:0}
.oglobo-driver-delivered>.card-header{padding:20px 24px;min-height:64px;display:flex;align-items:center}.oglobo-driver-delivered>.card-body{padding:20px 24px}
.oglobo-operation-launch{min-width:0}.oglobo-operation-launch h3,.oglobo-module-hero .page-title{line-height:1.35;overflow-wrap:anywhere}
@media(max-width:900px){.oglobo-destination-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.oglobo-driver-agenda-grid{grid-template-columns:1fr}}
@media(max-width:520px){.oglobo-destination-filters{grid-template-columns:1fr}.oglobo-destination-card>.card-header,.oglobo-destination-card>.card-body{padding:16px}.oglobo-driver-list>.card-header{padding:16px}.oglobo-destination-heading .card-title{font-size:16px}}

@media(max-width:600px){
 .oglobo-ops-subnav-item>span:last-child{display:none}
 .oglobo-ops-subnav-item{justify-content:center;min-width:48px;padding:10px!important;gap:0}
 .oglobo-ops-subnav{gap:6px}
}
