/*
 * BDV Operations — R1.18.4 UI audit layer
 * Loaded LAST. Visual/readability/accessibility corrections only.
 * No business logic, permissions, data model, workflow or document behavior change.
 *
 * Goals:
 * - normalize typography without removing legacy CSS contracts;
 * - stop accidental 8–10px text from leaking into normal staff/client content;
 * - reduce excessive visual boldness;
 * - use one predictable overlay/popover z-index ladder;
 * - keep popovers inside the viewport and prevent clipping;
 * - improve keyboard focus, touch targets and mobile safe areas;
 * - preserve the exact dense Check-in board geometry as much as possible.
 */

:root{
  --bdv-ui-text:#15364f;
  --bdv-ui-muted:#657c8e;
  --bdv-ui-line:#d8e4eb;
  --bdv-ui-line-strong:#c5d6e0;
  --bdv-ui-surface:#ffffff;
  --bdv-ui-focus:#1489b8;
  --bdv-ui-shadow-popover:0 18px 48px rgba(10,43,67,.18);
  --bdv-ui-shadow-modal:0 34px 90px rgba(4,30,51,.28);
  --bdv-ui-z-sticky:100;
  --bdv-ui-z-popover:600;
  --bdv-ui-z-sidebar-overlay:800;
  --bdv-ui-z-sidebar:810;
  --bdv-ui-z-dialog-backdrop:900;
  --bdv-ui-z-dialog:910;
  --bdv-ui-z-toast:1000;
}

html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
  scroll-behavior:smooth;
}

/* -------------------------------------------------------------------------
   STAFF — TYPOGRAPHY / READABILITY
   ------------------------------------------------------------------------- */
body.staff-app.bdv-ui-r119{
  color:var(--bdv-ui-text);
  font-size:14px;
  line-height:1.45;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.staff-app.bdv-ui-r119 .content{
  font-size:14px;
  line-height:1.45;
}
body.staff-app.bdv-ui-r119 h1{
  font-size:clamp(24px,2vw,30px)!important;
  line-height:1.15!important;
  font-weight:760!important;
  letter-spacing:-.028em!important;
}
body.staff-app.bdv-ui-r119 h2{
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:740!important;
  letter-spacing:-.018em!important;
}
body.staff-app.bdv-ui-r119 h3{
  font-size:15.5px!important;
  line-height:1.3!important;
  font-weight:720!important;
  letter-spacing:-.012em!important;
}
body.staff-app.bdv-ui-r119 p,
body.staff-app.bdv-ui-r119 li,
body.staff-app.bdv-ui-r119 dd,
body.staff-app.bdv-ui-r119 .detail .val,
body.staff-app.bdv-ui-r119 .multi-line{
  line-height:1.48;
}

/* Normal supporting text should remain readable. */
body.staff-app.bdv-ui-r119 .content small,
body.staff-app.bdv-ui-r119 .cell-muted,
body.staff-app.bdv-ui-r119 .subtle,
body.staff-app.bdv-ui-r119 .helptext,
body.staff-app.bdv-ui-r119 .form-field .helptext,
body.staff-app.bdv-ui-r119 .detail .key,
body.staff-app.bdv-ui-r119 [class*="-meta"],
body.staff-app.bdv-ui-r119 [class*="-hint"]{
  font-size:11.5px!important;
  line-height:1.4!important;
}

/* Labels are strong enough without shouting. */
body.staff-app.bdv-ui-r119 label,
body.staff-app.bdv-ui-r119 .form-field label{
  font-size:12.5px!important;
  line-height:1.3!important;
  font-weight:680!important;
}
body.staff-app.bdv-ui-r119 .eyebrow,
body.staff-app.bdv-ui-r119 [class*="-eyebrow"],
body.staff-app.bdv-ui-r119 [class*="-overline"]{
  font-size:10.5px!important;
  line-height:1.25!important;
  font-weight:760!important;
}

/* Navigation. */
body.staff-app.bdv-ui-r119 .bdv-nav>a,
body.staff-app.bdv-ui-r119 .bdv-nav-tools summary,
body.staff-app.bdv-ui-r119 .bdv-nav-tools div>a{
  font-size:12.5px!important;
  line-height:1.25!important;
  font-weight:650!important;
}
body.staff-app.bdv-ui-r119 .nav .nav-section,
body.staff-app.bdv-ui-r119 .bdv-nav .nav-section{
  font-size:10px!important;
  line-height:1.25!important;
  font-weight:720!important;
}

/* Buttons/controls: predictable rhythm and touch targets. */
body.staff-app.bdv-ui-r119 .btn,
body.staff-app.bdv-ui-r119 button:not(.checkin-r5-check),
body.staff-app.bdv-ui-r119 input[type="submit"],
body.staff-app.bdv-ui-r119 input[type="button"]{
  min-height:36px;
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:680!important;
}
body.staff-app.bdv-ui-r119 .btn-small,
body.staff-app.bdv-ui-r119 .r18-mini-btn,
body.staff-app.bdv-ui-r119 [class*="mini-btn"]{
  min-height:30px;
  font-size:11.5px!important;
  font-weight:680!important;
}
body.staff-app.bdv-ui-r119 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.staff-app.bdv-ui-r119 select,
body.staff-app.bdv-ui-r119 textarea,
body.staff-app.bdv-ui-r119 .form-control,
body.staff-app.bdv-ui-r119 .form-select{
  min-height:38px;
  font-size:13.5px!important;
  line-height:1.35!important;
}
body.staff-app.bdv-ui-r119 textarea{min-height:88px}
body.staff-app.bdv-ui-r119 input[type="checkbox"],
body.staff-app.bdv-ui-r119 input[type="radio"]{
  min-width:18px;
  min-height:18px;
}

/* Tables: compact, not microscopic. */
body.staff-app.bdv-ui-r119 .table-wrap,
body.staff-app.bdv-ui-r119 [class*="table-wrap"],
body.staff-app.bdv-ui-r119 [class*="sheet-wrap"]{
  scrollbar-gutter:stable;
  overscroll-behavior:contain;
}
body.staff-app.bdv-ui-r119 table th{
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:740!important;
}
body.staff-app.bdv-ui-r119 table td{
  font-size:12.5px!important;
  line-height:1.42!important;
}
body.staff-app.bdv-ui-r119 table td small{
  font-size:11px!important;
  line-height:1.38!important;
}

/* Data-heavy Agency screens were the most compressed area. */
body.staff-app.bdv-ui-r119 .agency-data-table th,
body.staff-app.bdv-ui-r119 .agency-kv-table th{
  font-size:10.5px!important;
  font-weight:740!important;
}
body.staff-app.bdv-ui-r119 .agency-data-table td,
body.staff-app.bdv-ui-r119 .agency-kv-table td{
  font-size:12px!important;
  line-height:1.4!important;
}
body.staff-app.bdv-ui-r119 .agency-data-table td small,
body.staff-app.bdv-ui-r119 .agency-count-inline,
body.staff-app.bdv-ui-r119 .agency-kind-label{
  font-size:10.5px!important;
}
body.staff-app.bdv-ui-r119 .agency-command,
body.staff-app.bdv-ui-r119 .agency-code{
  font-size:11.5px!important;
  line-height:1.42!important;
}

/* Badges/statuses should not dominate nearby content. */
body.staff-app.bdv-ui-r119 .badge,
body.staff-app.bdv-ui-r119 .pill,
body.staff-app.bdv-ui-r119 [class*="-badge"],
body.staff-app.bdv-ui-r119 [class*="-pill"],
body.staff-app.bdv-ui-r119 [class*="-chip"],
body.staff-app.bdv-ui-r119 [class*="-status"]{
  font-weight:700!important;
}
body.staff-app.bdv-ui-r119 .badge,
body.staff-app.bdv-ui-r119 .status-pill{
  font-size:11px!important;
  line-height:1.2!important;
}

/* Known compact popover text that was previously 8–9px. */
body.staff-app.bdv-ui-r119 .r17-booked-by-popover-head strong{font-size:12px!important}
body.staff-app.bdv-ui-r119 .r17-booked-by-popover-head small,
body.staff-app.bdv-ui-r119 .r17-booked-by-state{font-size:10.5px!important;line-height:1.35!important}
body.staff-app.bdv-ui-r119 .r17-booked-by-options span{font-size:11.5px!important;font-weight:650!important}
body.staff-app.bdv-ui-r119 .group-more-popover small{font-size:11px!important;line-height:1.35!important}
body.staff-app.bdv-ui-r119 .group-more-popover strong{font-size:12.5px!important;font-weight:700!important}

/* Check-in remains dense by design. Raise only genuinely microscopic text. */
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-table-head,
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-toolbar{
  font-size:10.5px!important;
}
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-row,
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-row input,
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-row select,
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-row button{
  line-height:1.3!important;
}
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .checkin-r5-row small,
body.staff-app.bdv-ui-r119[data-page="checkin_list"] .th-sub{
  font-size:9.5px!important;
  line-height:1.25!important;
}

/* -------------------------------------------------------------------------
   STAFF — OVERLAY / POPOVER STACKING
   ------------------------------------------------------------------------- */
body.staff-app.bdv-ui-r119 .topbar{z-index:var(--bdv-ui-z-sticky)!important}
body.staff-app.bdv-ui-r119 .mobile-overlay{z-index:var(--bdv-ui-z-sidebar-overlay)!important}
body.staff-app.bdv-ui-r119 .sidebar{z-index:var(--bdv-ui-z-sidebar)!important}

body.staff-app.bdv-ui-r119 details.action-menu,
body.staff-app.bdv-ui-r119 .r18-action-menu,
body.staff-app.bdv-ui-r119 .group-more-menu,
body.staff-app.bdv-ui-r119 .r17-booked-by-picker{
  isolation:isolate;
}
body.staff-app.bdv-ui-r119 details.action-menu[open],
body.staff-app.bdv-ui-r119 .r18-action-menu[open],
body.staff-app.bdv-ui-r119 .group-more-menu[open],
body.staff-app.bdv-ui-r119 .r17-booked-by-picker:has(.r17-booked-by-popover:not([hidden])){
  z-index:calc(var(--bdv-ui-z-popover) - 1)!important;
}
body.staff-app.bdv-ui-r119 .r18-service-card:has(.r18-action-menu[open]){
  overflow:visible!important;
  z-index:calc(var(--bdv-ui-z-popover) - 2)!important;
}
body.staff-app.bdv-ui-r119 .r18-action-popover,
body.staff-app.bdv-ui-r119 .group-more-popover,
body.staff-app.bdv-ui-r119 .r17-booked-by-popover,
body.staff-app.bdv-ui-r119 .action-menu-panel{
  z-index:var(--bdv-ui-z-popover)!important;
  max-width:min(340px,calc(100vw - 24px))!important;
  max-height:min(70vh,520px)!important;
  overflow:auto!important;
  overscroll-behavior:contain;
  box-shadow:var(--bdv-ui-shadow-popover)!important;
}
body.staff-app.bdv-ui-r119 .fx-command-backdrop{
  z-index:var(--bdv-ui-z-dialog-backdrop)!important;
}
body.staff-app.bdv-ui-r119 .fx-command-palette{
  z-index:var(--bdv-ui-z-dialog)!important;
}
body.staff-app.bdv-ui-r119 .fx-command-shell{
  max-height:min(76vh,680px);
  overflow:auto;
  box-shadow:var(--bdv-ui-shadow-modal)!important;
}
body.staff-app.bdv-ui-r119 .fx-toast-stack{
  z-index:var(--bdv-ui-z-toast)!important;
  max-width:min(390px,calc(100vw - 24px));
}

/* Long names, refs and emails should wrap rather than break cards. */
body.staff-app.bdv-ui-r119 .content :is(p,span,strong,small,a,td,dd):not(.nowrap),
body.staff-app.bdv-ui-r119 .r18-action-popover,
body.staff-app.bdv-ui-r119 .group-more-popover{
  overflow-wrap:anywhere;
}

/* -------------------------------------------------------------------------
   CLIENT PORTAL — READABILITY
   ------------------------------------------------------------------------- */
body.portal-shell.portal-ui-r119{
  color:#193b54;
  font-size:15px;
  line-height:1.5;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.portal-shell.portal-ui-r119 .portal-content{
  font-size:15px;
  line-height:1.5;
}
body.portal-shell.portal-ui-r119 h1{font-size:clamp(25px,4.2vw,36px)!important;line-height:1.12!important;font-weight:760!important}
body.portal-shell.portal-ui-r119 h2{font-size:20px!important;line-height:1.25!important;font-weight:740!important}
body.portal-shell.portal-ui-r119 h3{font-size:16px!important;line-height:1.3!important;font-weight:700!important}
body.portal-shell.portal-ui-r119 p{line-height:1.55}
body.portal-shell.portal-ui-r119 small,
body.portal-shell.portal-ui-r119 [class*="-meta"],
body.portal-shell.portal-ui-r119 [class*="-hint"],
body.portal-shell.portal-ui-r119 .portal-document-copy>span,
body.portal-shell.portal-ui-r119 .portal-document-context-r118{
  font-size:12px!important;
  line-height:1.42!important;
}
body.portal-shell.portal-ui-r119 .portal-document-copy strong,
body.portal-shell.portal-ui-r119 .portal-service-audience-r118>strong{
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
body.portal-shell.portal-ui-r119 .portal-primary-nav a{
  font-size:13px!important;
  font-weight:650!important;
}
body.portal-shell.portal-ui-r119 .portal-pass-link strong{font-weight:700!important}
body.portal-shell.portal-ui-r119 .portal-pass-link small{font-size:11.5px!important}
body.portal-shell.portal-ui-r119 .portal-mobile-bottom-nav{z-index:300!important}
body.portal-shell.portal-ui-r119 .portal-mobile-bottom-nav small{
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:650!important;
}
body.portal-shell.portal-ui-r119 .portal-mobile-bottom-nav a{
  min-height:48px;
}
body.portal-shell.portal-ui-r119 .portal-footer{
  font-size:12px;
  line-height:1.45;
}
body.portal-shell.portal-ui-r119 .portal-footer small{font-size:11px!important}
body.portal-shell.portal-ui-r119 :is(.portal-card,.portal-trip-card-v4,.portal-document-card,.portal-service-card){
  overflow-wrap:anywhere;
}

/* -------------------------------------------------------------------------
   LOGIN — CALM TYPOGRAPHY + MOBILE INPUT SIZE
   ------------------------------------------------------------------------- */
body.login-ui-r119{
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.login-ui-r119 .login-staff-copy>span,
body.login-ui-r119 .login-staff-secure-line{
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
body.login-ui-r119 .login-staff-copy h2{
  font-size:28px!important;
  line-height:1.15!important;
  font-weight:760!important;
}
body.login-ui-r119 .login-staff-copy p{
  font-size:14px!important;
  line-height:1.5!important;
}
body.login-ui-r119 .login-staff-field label{
  font-size:12.5px!important;
  font-weight:680!important;
}
body.login-ui-r119 .login-staff-field input{
  min-height:46px;
  font-size:16px!important; /* prevents mobile browser zoom */
  line-height:1.3!important;
}
body.login-ui-r119 .login-staff-submit{
  min-height:46px;
  font-size:14px!important;
  font-weight:720!important;
}
body.login-ui-r119 .login-staff-security{
  font-size:11.5px!important;
  line-height:1.4!important;
}

/* -------------------------------------------------------------------------
   ACCESSIBILITY / FOCUS / MOTION
   ------------------------------------------------------------------------- */
body.staff-app.bdv-ui-r119 :focus-visible,
body.portal-shell.portal-ui-r119 :focus-visible,
body.login-ui-r119 :focus-visible{
  outline:3px solid rgba(20,137,184,.42)!important;
  outline-offset:2px!important;
  box-shadow:0 0 0 2px #fff!important;
}

@media(max-width:760px){
  body.staff-app.bdv-ui-r119 .content{padding-left:12px!important;padding-right:12px!important;padding-bottom:max(38px,env(safe-area-inset-bottom))!important}
  body.staff-app.bdv-ui-r119 .page-head{gap:12px!important}
  body.staff-app.bdv-ui-r119 .r18-action-popover,
  body.staff-app.bdv-ui-r119 .group-more-popover,
  body.staff-app.bdv-ui-r119 .r17-booked-by-popover,
  body.staff-app.bdv-ui-r119 .action-menu-panel{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:auto!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-width:none!important;
    max-height:min(68vh,520px)!important;
    border-radius:16px!important;
    z-index:var(--bdv-ui-z-dialog)!important;
  }
  body.staff-app.bdv-ui-r119 .fx-command-palette{
    padding:12px!important;
    padding-top:max(12px,env(safe-area-inset-top))!important;
    place-items:start stretch!important;
  }
  body.staff-app.bdv-ui-r119 .fx-command-shell{
    width:100%!important;
    max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
  body.portal-shell.portal-ui-r119 .portal-content{
    padding-bottom:calc(78px + env(safe-area-inset-bottom))!important;
  }
  body.portal-shell.portal-ui-r119 .portal-footer{
    padding-bottom:calc(72px + env(safe-area-inset-bottom))!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  body.staff-app.bdv-ui-r119 *,
  body.portal-shell.portal-ui-r119 *,
  body.login-ui-r119 *{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
}


/* BDV R1.18.6 — focused production fixes */
/* Agenda: month is the default and must be readable at a glance. */
.staff-app .r17-agenda-month{border-radius:18px!important;box-shadow:0 12px 34px rgba(13,48,72,.08)!important}
.staff-app .r17-agenda-month .r9-agenda-month-head span{padding:12px 8px!important;font-size:12px!important;letter-spacing:.04em!important}
.staff-app .r17-agenda-month .r9-agenda-day{min-height:168px!important;padding:10px!important;gap:7px!important}
.staff-app .r17-agenda-month .r9-agenda-day>strong{font-size:14px!important}
.staff-app .r17-agenda-month .r9-month-event{padding:7px 8px!important;border-radius:9px!important;font-size:11.5px!important;line-height:1.3!important}
.staff-app .r17-agenda-month .r9-month-event.holiday{background:#e9f0ff!important;border:1px solid #cbdaf8!important;color:#284f88!important;font-size:12px!important;font-weight:800!important;box-shadow:0 3px 10px rgba(55,89,142,.08)!important}
.staff-app .r17-agenda-drag-help{font-size:11.5px!important;padding:11px 13px!important}
.staff-app .r17-view-tabs a,.staff-app .r17-staff-filter a{font-size:11.5px!important;padding:8px 12px!important}
@media(max-width:1050px){.staff-app .r17-agenda-month{overflow-x:auto}.staff-app .r17-agenda-month .r9-agenda-month-head,.staff-app .r17-agenda-month .r9-agenda-month-week{min-width:980px}}

/* Rail: journey first, individual legs second. */
.r1186-train-journeys{display:grid;gap:12px!important}
.r1186-train-journey{border:1px solid #dce8ef;border-radius:14px;background:#fff;overflow:hidden}
.r1186-train-journey>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#f6fafc;border-bottom:1px solid #e4edf2}
.r1186-train-journey>header>div{display:grid;gap:2px}.r1186-train-journey>header span{font-size:10px;font-weight:800;color:#71889a}.r1186-train-journey>header strong{font-size:14px;color:#153f60}.r1186-train-journey>header small{font-size:11px;color:#5f788c}.r1186-train-legs{display:grid}
.r1186-train-legs .transport-row-r6{margin:0!important;border:0!important;border-bottom:1px solid #edf2f5!important;border-radius:0!important}.r1186-train-legs .transport-row-r6:last-child{border-bottom:0!important}
.portal-train-journeys-r1186{display:grid;gap:14px}.portal-train-journey-r1186{border:1px solid #dce6ed;border-radius:18px;background:#fff;overflow:hidden}.portal-train-journey-r1186>header{display:grid;gap:4px;padding:16px 18px;background:#f7fafc}.portal-train-journey-r1186>header>span{font-size:11px;font-weight:750;color:#718599;text-transform:uppercase}.portal-train-journey-r1186>header>strong{font-size:18px;color:#0d3765}.portal-train-journey-r1186>header>small{font-size:12px;color:#5f7488}.portal-train-legs-r1186{display:grid;padding:4px 18px 12px}.portal-train-legs-r1186>div{display:grid;grid-template-columns:minmax(0,1fr) auto 24px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #edf1f4}.portal-train-legs-r1186>div:last-child{border-bottom:0}.portal-train-legs-r1186 b{font-size:12px}.portal-train-legs-r1186 span{font-size:12px;font-weight:800}.portal-train-legs-r1186 i{text-align:center;font-style:normal;color:#79a0b9}.portal-train-legs-r1186 small{grid-column:1/-1;color:#718496;font-size:10px}

/* Portal branding: identity in header, utility/contact in footer. No repetition. */
.portal-r116 .portal-header-inner{min-height:106px!important}
.portal-brand-r1186{display:flex!important;align-items:center!important;width:min(430px,44vw)!important;min-width:280px!important}
.portal-brand-card-r1186{display:block!important;width:100%!important;max-width:420px!important;height:auto!important;object-fit:contain!important;background:#fff!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.portal-r116 .portal-header-tools-r116{margin-left:auto!important;margin-right:0!important}
.bdv-portal-footer-r1186{display:grid!important;grid-template-columns:1fr 1fr!important;gap:28px!important;align-items:start!important}
.portal-footer-contact-r1186,.portal-footer-hours-r1186{display:grid!important;gap:5px!important}.portal-footer-contact-r1186 strong,.portal-footer-hours-r1186 strong{font-size:12px!important;color:#183f61!important}.portal-footer-contact-r1186 a,.portal-footer-hours-r1186 span,.portal-footer-hours-r1186 small{font-size:11px!important;color:#667e91!important;text-decoration:none!important}
@media(max-width:760px){.portal-r116 .portal-header-inner{min-height:auto!important}.portal-brand-r1186{width:min(310px,70vw)!important;min-width:0!important}.portal-brand-card-r1186{max-width:310px!important}.bdv-portal-footer-r1186{grid-template-columns:1fr!important;gap:14px!important}.r1186-train-journey>header{align-items:flex-start;flex-direction:column}.portal-train-legs-r1186>div{grid-template-columns:1fr auto 18px 1fr auto}}

/* R1.18.7 — portal header/footer close-out and human "À savoir" */
body.portal-shell.portal-ui-r119 .portal-footer-r1187{margin-top:34px!important;padding:0!important;border:0!important;background:#0d2f4a!important;color:#fff!important}
body.portal-shell.portal-ui-r119 .bdv-portal-footer-r1187{width:min(1180px,calc(100% - 40px))!important;margin:0 auto!important;padding:20px 0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,.85fr)!important;gap:34px!important;align-items:center!important}
body.portal-shell.portal-ui-r119 .portal-footer-support-r1187,body.portal-shell.portal-ui-r119 .portal-footer-hours-r1187{display:grid!important;gap:5px!important;min-width:0!important}
body.portal-shell.portal-ui-r119 .portal-footer-hours-r1187{text-align:right!important;justify-items:end!important}
body.portal-shell.portal-ui-r119 .portal-footer-kicker-r1187{font-size:10px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#7ed0ef!important}
body.portal-shell.portal-ui-r119 .portal-footer-r1187 strong{font-size:13px!important;line-height:1.35!important;color:#fff!important}
body.portal-shell.portal-ui-r119 .portal-footer-links-r1187{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
body.portal-shell.portal-ui-r119 .portal-footer-links-r1187 a{font-size:12px!important;color:#d7edf7!important;text-decoration:none!important;font-weight:650!important}
body.portal-shell.portal-ui-r119 .portal-footer-links-r1187 a:hover{text-decoration:underline!important;color:#fff!important}
body.portal-shell.portal-ui-r119 .portal-footer-links-r1187 span{color:#65859a!important}
body.portal-shell.portal-ui-r119 .portal-footer-hours-r1187 small{max-width:520px!important;font-size:10.5px!important;line-height:1.45!important;color:#a9c2d1!important}
body.portal-shell.portal-ui-r119 .portal-r1187-know{margin-top:14px;padding:13px;border:1px solid #dce7ef;border-radius:14px;background:#f9fcfe}
body.portal-shell.portal-ui-r119 .portal-r1187-know-title{display:block;margin-bottom:8px;font-size:11px;color:#5b7387;text-transform:uppercase;letter-spacing:.07em}
body.portal-shell.portal-ui-r119 .portal-r1187-know-list{display:grid;gap:7px}
body.portal-shell.portal-ui-r119 .portal-r1187-know-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #e3ebf1;border-radius:10px;background:#fff}
body.portal-shell.portal-ui-r119 .portal-r1187-know-row>div{display:grid;gap:2px;min-width:0}
body.portal-shell.portal-ui-r119 .portal-r1187-know-row>div>strong{font-size:13px!important;color:#173f5e!important;text-transform:none!important;letter-spacing:0!important}
body.portal-shell.portal-ui-r119 .portal-r1187-know-row span,body.portal-shell.portal-ui-r119 .portal-r1187-know-row small{font-size:11px!important;color:#6d8294!important}
body.portal-shell.portal-ui-r119 .portal-r1187-know-row>b{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#e9f7f0;color:#26704e;font-size:10px;font-weight:800}
@media(max-width:700px){body.portal-shell.portal-ui-r119 .bdv-portal-footer-r1187{width:min(100% - 28px,1180px)!important;grid-template-columns:1fr!important;gap:15px!important;padding:18px 0 74px!important}body.portal-shell.portal-ui-r119 .portal-footer-hours-r1187{text-align:left!important;justify-items:start!important}body.portal-shell.portal-ui-r119 .portal-footer-links-r1187{display:grid!important;gap:4px!important}body.portal-shell.portal-ui-r119 .portal-footer-links-r1187>span{display:none!important}body.portal-shell.portal-ui-r119 .portal-r1187-know-row{align-items:flex-start}}

/* === R1.18.8 EMBEDDED OVERRIDES START === */
/* R1.18.8 — staff clarity / compact check-ins / source-truth document UX */
:root{--r120-ink:#0b3556;--r120-muted:#6d8396;--r120-line:#dbe7ef;--r120-soft:#f5f9fc;--r120-soft2:#eef6fb;--r120-blue:#087fb8;--r120-navy:#0b3b62;--r120-good:#16794e;--r120-warn:#a75b14}

/* Brand: canonical master logo on one matching white card; soft surrounding shell, no nested mismatch. */
.r120-brand-card{display:grid!important;grid-template-columns:62px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;margin:10px 10px 14px!important;padding:10px 12px!important;min-height:82px!important;background:#fff!important;border:1px solid #dfeaf0!important;border-radius:16px!important;box-shadow:0 7px 22px rgba(16,56,82,.06)!important;text-decoration:none!important;overflow:hidden!important}
.r120-brand-logo{display:grid;place-items:center;width:62px;height:62px;border-right:1px solid #d7e5ed;padding-right:10px;box-sizing:border-box}
.r120-brand-logo img{display:block!important;width:54px!important;height:54px!important;max-width:none!important;object-fit:contain!important;background:#fff!important;filter:none!important}
.r120-brand-copy{display:grid;min-width:0;line-height:1.05}
.r120-brand-copy strong{font-family:Georgia,'Times New Roman',serif;font-size:16px!important;line-height:1.05!important;color:#0a315a!important;white-space:normal!important}
.r120-brand-copy em{font-family:Georgia,'Times New Roman',serif;font-size:12px!important;line-height:1.15!important;color:#078ec8!important;font-weight:700!important;margin-top:3px!important}
.r120-brand-copy small{font-size:10px!important;line-height:1.25!important;color:#6c8192!important;margin-top:5px!important;letter-spacing:.01em!important}

/* Check-ins: only operational information, no right-side state column/badges. */
.checkin-r1187-toolbar{padding:14px 16px!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 28px rgba(25,73,99,.05)!important}
.checkin-r1187-filter-form{display:grid!important;gap:10px!important}
.checkin-r1187-search{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
.checkin-r1187-filters{display:grid!important;grid-template-columns:minmax(190px,1.2fr) minmax(150px,.9fr) minmax(150px,.9fr) 145px 145px auto auto!important;gap:8px!important;align-items:end!important}
.checkin-r1187-filters label{display:grid!important;gap:4px!important;min-width:0!important}
.checkin-r1187-filters label>span{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#7890a1!important;font-weight:800!important}
.checkin-r1187-filters .form-control,.checkin-r1187-filters .form-select,.checkin-r1187-search .form-control{min-height:40px!important;border-radius:10px!important;border-color:#d8e5ed!important;background:#fff!important}
.r120-history-link{white-space:nowrap!important}
.checkin-r5-board{overflow-x:auto!important;border-radius:16px!important;box-shadow:0 9px 30px rgba(18,63,90,.05)!important;background:#fff!important}
.checkin-r5-table-head,.checkin-r5-row{grid-template-columns:52px 160px 145px minmax(245px,1.22fr) minmax(175px,.84fr) minmax(230px,1fr) 112px 145px 82px!important;min-width:1210px!important}
.checkin-r5-table-head{background:#123f63!important;min-height:44px!important;align-items:center!important}
.checkin-r5-table-head>span{font-size:10px!important;letter-spacing:.035em!important;white-space:nowrap!important;padding:0 10px!important;color:#fff!important;overflow:visible!important}
.checkin-r5-table-head>span:first-child{font-size:0!important}
.checkin-r5-table-head>span:first-child:after{content:'✓';font-size:12px;opacity:.8}
.checkin-r5-row{min-height:106px!important;background:#fff!important;border-bottom:1px solid #e4edf2!important;align-items:stretch!important}
.checkin-r5-row>div{padding:12px 10px!important;min-width:0!important;display:flex;align-items:center!important}
.checkin-r5-done{justify-content:center!important}
.checkin-r5-done-label{display:none!important}
.checkin-r5-due{display:grid!important;align-content:center!important;gap:4px!important}
.checkin-r5-due strong{font-size:12px!important;color:#163b58!important;white-space:nowrap!important}
.checkin-r116-review{font-size:10px!important;color:#aa5c18!important;font-weight:750!important}
.checkin-r5-booker{align-items:center!important}
.checkin-r5-cell-select{width:100%!important;min-height:39px!important;border:1px solid #d9e6ed!important;border-radius:9px!important;background:#fbfdfe!important;color:#173e5d!important;font-size:10px!important;font-weight:750!important;padding:0 28px 0 9px!important}
.checkin-r116-flight{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important}
.checkin-r116-airline strong{font-size:12px!important;color:#123b5b!important}.checkin-r116-airline small{display:block!important;margin-top:3px!important;font-size:10px!important;color:#7c91a2!important;line-height:1.35!important}
.checkin-r116-refs{display:grid!important;gap:5px!important;justify-items:start!important}
.checkin-r1187-pnr-copy,.checkin-r116-dossier{font-size:10px!important;white-space:nowrap!important}
.checkin-r1187-passenger-list{display:flex!important;flex-wrap:wrap!important;gap:3px 7px!important;align-items:center!important}.checkin-r1187-passenger-list a,.checkin-r1187-passenger-list span{font-size:10px!important;font-weight:750!important;color:#087aaa!important;text-decoration:none!important}
.checkin-r5-email form{width:100%!important}.checkin-email-line{grid-template-columns:24px minmax(0,1fr) 54px!important;gap:5px!important}.checkin-email-input{font-size:10px!important;min-height:32px!important;max-height:42px!important}.checkin-email-tools{gap:3px!important}.checkin-email-tool{width:25px!important;height:25px!important}.checkin-email-save{min-height:29px!important;font-size:10px!important;padding:0 8px!important}.checkin-email-copy-all{font-size:10px!important;line-height:1.15!important}
.checkin-r5-rule{display:grid!important;align-content:center!important;justify-items:start!important;gap:3px!important}.checkin-r5-rule strong,.checkin-r5-rule b{font-size:12px!important}.checkin-r5-rule small{font-size:10px!important;color:#8698a6!important}
.checkin-r1187-client-booker{display:grid!important;align-content:center!important;gap:3px!important;min-width:0!important}.checkin-r1187-client-booker strong{font-size:10px!important;color:#173d5b!important;line-height:1.3!important;overflow-wrap:anywhere!important}.checkin-r1187-client-booker small{font-size:10px!important;color:#8295a4!important;text-transform:none!important}
.checkin-r5-more{justify-content:center!important}.checkin-r5-more>summary{width:38px!important;height:36px!important;display:grid!important;place-items:center!important;border:1px solid #d9e6ed!important;border-radius:9px!important;background:#fbfdfe!important;cursor:pointer!important}.checkin-r5-more>summary span{display:none!important}.checkin-r5-more>summary b{font-size:0!important}.checkin-r5-more>summary b:after{content:'•••';font-size:13px!important;letter-spacing:2px!important;color:#245270!important}

/* Dashboard: priorities are named, no mystery/truncated KPI cards. */
.r120-dashboard-hero{display:flex!important;justify-content:space-between!important;align-items:flex-end!important;gap:20px!important;margin-bottom:14px!important}.r120-dashboard-hero h1{margin:.15rem 0 .2rem!important;font-size:30px!important}.r120-dashboard-hero p{margin:0!important;color:#6d8394!important;font-size:12px!important;max-width:700px!important}.r120-dashboard-hero-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
.r120-priority-strip{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important}.r120-priority-card{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:13px!important;min-height:104px!important;background:#fff!important;border:1px solid #dce8ef!important;border-radius:14px!important;text-decoration:none!important;color:inherit!important;box-shadow:0 7px 22px rgba(20,65,92,.045)!important}.r120-priority-card:hover{border-color:#bcd9e8!important;transform:translateY(-1px)!important}.r120-priority-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef7fb;color:#0b83b9}.r120-priority-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.r120-priority-card>span:last-child{display:grid;gap:3px}.r120-priority-card small{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#8195a4;font-weight:800}.r120-priority-card strong{font-size:11px;line-height:1.28;color:#123b5a}.r120-priority-card strong b{font-size:20px;margin-right:3px;color:#0b6f9f}.r120-priority-card em{font-size:10px;line-height:1.35;color:#7c8f9d;font-style:normal}.r120-priority-card.is-attention{border-color:#efd6b7;background:#fffdf9}.r120-priority-card.is-danger{border-color:#f0c9c7;background:#fffafa}
.r120-section-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding-bottom:11px!important;border-bottom:1px solid #e4edf2!important}.r120-section-head>div:first-child{display:grid;gap:2px}.r120-section-head span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#6f8798;font-weight:800}.r120-section-head h2{font-size:15px!important;margin:0!important;color:#173d5c!important}.r120-section-head .actions{display:flex;gap:6px;flex-wrap:wrap}
.r120-dashboard-agenda,.r120-dashboard-panel{padding:16px!important;border-radius:15px!important}.r120-agenda-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;gap:0!important}.r120-agenda-list{padding-right:14px!important}.r120-presence{padding:14px 0 0 16px!important;border-left:1px solid #e5edf2!important;display:grid!important;align-content:start!important;gap:8px!important}.r120-presence>a{display:flex!important;justify-content:space-between!important;gap:10px!important;text-decoration:none!important;color:#244b68!important;font-size:10px!important}.r120-presence small{font-size:10px;color:#73899a}.r120-agenda-row{display:grid!important;grid-template-columns:55px minmax(0,1fr) 130px!important;gap:10px!important;padding:10px 2px!important;border-bottom:1px solid #edf2f5!important;text-decoration:none!important;color:#244b67!important}.r120-agenda-row time{font-weight:800;color:#0c6e9f}.r120-agenda-row span{display:grid;gap:2px}.r120-agenda-row strong{font-size:10px}.r120-agenda-row small{font-size:10px;color:#7b8f9e}.r120-agenda-row>b{text-align:right;font-size:10px;color:#58758b}
.r120-dashboard-main{display:grid!important;grid-template-columns:minmax(0,1.75fr) minmax(280px,.75fr)!important;gap:12px!important}.r120-dashboard-bottom{grid-template-columns:1fr 1fr!important}.r120-checkin-row{display:grid!important;grid-template-columns:60px minmax(0,1fr) 135px auto!important;gap:10px!important;align-items:center!important;padding:10px 2px!important;border-bottom:1px solid #edf2f5!important;text-decoration:none!important;color:#214762!important}.r120-checkin-row time{display:grid}.r120-checkin-row time strong{font-size:13px;color:#123d5d}.r120-checkin-row time small{font-size:10px;color:#8094a2}.r120-checkin-main{display:grid;gap:3px}.r120-checkin-main strong{font-size:10px;color:#0b7eaf}.r120-checkin-main small{font-size:10px;color:#8294a1}.r120-checkin-owner{display:grid;gap:2px}.r120-checkin-owner small{font-size:10px;color:#899aa6}.r120-checkin-owner b{font-size:10px;color:#2c506a}.r120-review-note{padding:5px 7px;border-radius:999px;background:#fff1ea;color:#a95827;font-size:10px;font-weight:800;white-space:nowrap}
.r120-control-list,.r120-trip-list,.r120-import-list{display:grid}.r120-control-list>a,.r120-trip-row,.r120-import-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:11px 2px!important;border-bottom:1px solid #edf2f5!important;text-decoration:none!important;color:#214762!important}.r120-control-list>a span,.r120-trip-row span,.r120-import-row span{display:grid;gap:2px}.r120-control-list strong,.r120-trip-row strong,.r120-import-row strong{font-size:10px;color:#0c6f9e}.r120-control-list small,.r120-trip-row small,.r120-import-row small{font-size:10px;color:#7d91a0}.r120-control-list>a>b{min-width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#eef5f8;color:#214761;font-size:10px}.r120-empty{display:flex!important;gap:10px!important;align-items:center!important;padding:18px 4px!important;color:#5f788c!important}.r120-empty-icon{width:34px;height:34px;border-radius:10px;background:#eef7fb;display:grid;place-items:center;color:#0785ba}.r120-empty-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.r120-empty>span:last-child{display:grid;gap:2px}.r120-empty strong{font-size:10px}.r120-empty small{font-size:10px;color:#8798a5}

/* Dossier: source-truth baggage + readable service information instead of sentence soup. */
.r120-baggage-section{margin-top:10px;border:1px solid #dfe9ef;border-radius:12px;background:#fbfdfe;overflow:hidden}.r120-baggage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 11px;border-bottom:1px solid #e6eef3}.r120-baggage-head strong{font-size:10px;color:#17415f}.r120-baggage-head small{font-size:10px;color:#8193a0}.r120-baggage-bar{margin:0!important;padding:8px 10px!important;background:transparent!important}.r120-baggage-bar>span{border:1px solid #deeaef!important;background:#fff!important;border-radius:9px!important;padding:7px 9px!important}
.r120-service-info{margin-top:10px;border:1px solid #dfe9ef;border-radius:12px;background:#fff;overflow:hidden}.r120-service-info-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;background:#f8fbfd;border-bottom:1px solid #e5edf2}.r120-service-info-head>div{display:grid;gap:2px}.r120-service-info-head strong{font-size:10px;color:#0f4668}.r120-service-info-head small{font-size:10px;color:#8294a0}.r120-service-info-list{display:grid;padding:3px 10px 7px}.r120-service-info-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 1px;border-bottom:1px solid #edf2f5}.r120-service-info-row:last-child{border-bottom:0}.r120-service-info-row>div{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}.r120-service-info-row strong{font-size:10px;color:#173d59}.r120-service-info-row span{font-size:10px;color:#547187}.r120-service-info-row small{font-size:10px;color:#8999a4}.r120-service-info-row>b{font-size:10px;padding:4px 7px;border-radius:999px;background:#eef4f7;color:#536b7d;white-space:nowrap}.r120-service-info-row>b.status-confirmé,.r120-service-info-row>b.status-confirme,.r120-service-info-row>b.status-confirmed{background:#e7f6ee;color:#18734d}.r120-service-info-row>b.status-demandé,.r120-service-info-row>b.status-demande,.r120-service-info-row>b.status-requested{background:#edf5fb;color:#246c96}.r120-service-info-row>b.status-en-attente,.r120-service-info-row>b.status-waitlist{background:#fff4e7;color:#a46320}.r120-service-note,.r120-service-info-empty{padding:10px 11px;font-size:10px;line-height:1.45;color:#506f84}.r120-service-info-empty{color:#8999a4}.r120-eml-pdf-link{font-weight:800!important;color:#087faf!important;text-decoration:none!important;white-space:nowrap!important}

@media(max-width:1450px){.r120-priority-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}.checkin-r1187-filters{grid-template-columns:repeat(4,minmax(0,1fr))!important}.checkin-r1187-apply,.checkin-r1187-reset{min-height:40px!important}}
@media(max-width:1050px){.r120-priority-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}.r120-dashboard-main,.r120-dashboard-bottom{grid-template-columns:1fr!important}.r120-agenda-grid{grid-template-columns:1fr!important}.r120-presence{border-left:0!important;border-top:1px solid #e5edf2!important;padding:14px 0 0!important}.checkin-r1187-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.r120-brand-copy strong{font-size:14px!important}}
@media(max-width:720px){.r120-dashboard-hero{align-items:flex-start!important;flex-direction:column!important}.r120-priority-strip{grid-template-columns:1fr!important}.r120-agenda-row{grid-template-columns:48px minmax(0,1fr)!important}.r120-agenda-row>b{display:none}.r120-checkin-row{grid-template-columns:52px minmax(0,1fr)!important}.r120-checkin-owner,.r120-review-note{grid-column:2}.checkin-r1187-search{grid-template-columns:1fr!important}.checkin-r1187-filters{grid-template-columns:1fr!important}}

/* R1.18.8 — portal header cleanup: canonical master logo on matching white card, no nested mismatch */
.portal-header{background:#fff!important;border-bottom:1px solid #e6eef3!important;box-shadow:none!important}
.portal-header-inner{width:min(1380px,calc(100% - 44px))!important;min-height:112px!important;margin:0 auto!important;padding:12px 0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:28px!important}
.portal-brand-r120{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;align-items:center!important;gap:16px!important;min-width:430px!important;max-width:560px!important;padding:10px 18px 10px 12px!important;background:#fff!important;border:1px solid #e1eaf0!important;border-radius:18px!important;box-shadow:0 8px 26px rgba(15,51,76,.055)!important;text-decoration:none!important;overflow:hidden!important}
.portal-brand-logo-r120{width:92px!important;height:84px!important;display:grid!important;place-items:center!important;border-right:1px solid #d9e5ec!important;padding-right:14px!important;box-sizing:border-box!important;background:#fff!important}
.portal-brand-logo-r120 img{display:block!important;width:76px!important;height:76px!important;max-width:none!important;object-fit:contain!important;background:#fff!important;mix-blend-mode:normal!important}
.portal-brand-copy-r120{display:grid!important;min-width:0!important;line-height:1.05!important}
.portal-brand-copy-r120 strong{font-family:Georgia,'Times New Roman',serif!important;font-size:27px!important;line-height:1.02!important;color:#0b3159!important;letter-spacing:-.02em!important;white-space:nowrap!important}
.portal-brand-copy-r120 em{font-family:Georgia,'Times New Roman',serif!important;font-size:18px!important;line-height:1.1!important;color:#078ec8!important;font-weight:700!important;margin-top:4px!important}
.portal-brand-copy-r120 small{font-family:Arial,sans-serif!important;font-size:11px!important;color:#677f93!important;margin-top:7px!important;letter-spacing:.01em!important}
.portal-header-tools-r116{margin-left:auto!important;display:flex!important;align-items:center!important;gap:12px!important}
.portal-pass-link{min-width:205px!important;min-height:58px!important;padding:10px 14px!important;border:1px solid #dbe7ee!important;border-radius:14px!important;background:#fbfdfe!important;box-shadow:0 7px 22px rgba(15,53,78,.045)!important}.portal-pass-link strong{font-size:12px!important}.portal-pass-link small{font-size:10px!important;color:#768b9b!important}
.portal-primary-nav{background:#fff!important;border-top:0!important;border-bottom:1px solid #e4edf2!important;box-shadow:none!important}.portal-primary-nav-inner{width:min(1380px,calc(100% - 44px))!important;margin:0 auto!important;display:flex!important;align-items:center!important;gap:4px!important;padding:0!important;min-height:50px!important}.portal-primary-nav a{display:flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:0 13px!important;border-radius:10px!important;color:#516c82!important;font-size:11px!important;font-weight:750!important;text-decoration:none!important;border:0!important}.portal-primary-nav a:hover,.portal-primary-nav .portal-nav-home{background:#edf7fb!important;color:#087fb5!important}.portal-primary-nav a span{font-size:13px!important;color:inherit!important}
.portal-footer-r1187{margin-top:38px!important}
@media(max-width:900px){.portal-header-inner{width:min(100% - 24px,1380px)!important;min-height:auto!important;padding:9px 0!important;gap:10px!important}.portal-brand-r120{min-width:0!important;grid-template-columns:60px minmax(0,1fr)!important;gap:10px!important;padding:8px 10px!important}.portal-brand-logo-r120{width:60px!important;height:58px!important;padding-right:8px!important}.portal-brand-logo-r120 img{width:50px!important;height:50px!important}.portal-brand-copy-r120 strong{font-size:18px!important}.portal-brand-copy-r120 em{font-size:12px!important}.portal-brand-copy-r120 small{font-size:10px!important;margin-top:4px!important}.portal-pass-link{min-width:0!important;min-height:50px!important}.portal-primary-nav-inner{width:min(100% - 24px,1380px)!important;overflow-x:auto!important}.portal-primary-nav a{white-space:nowrap!important}}
@media(max-width:620px){.portal-header-inner{align-items:stretch!important;display:grid!important;grid-template-columns:1fr!important}.portal-brand-r120{width:100%!important;max-width:none!important}.portal-header-tools-r116{margin-left:0!important}.portal-pass-link{width:100%!important}.portal-primary-nav{display:none!important}}
/* === R1.18.8 EMBEDDED OVERRIDES END === */


/* === R1.18.8 P5 RECOVERY + BRANDING OVERRIDES START === */
/* P6: canonical master logo only. Crop its built-in white margins in CSS so the real mark stays large without violating the asset contract. */
.r120-brand-card{
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:13px!important;
  min-height:92px!important;
  padding:10px 13px!important;
}
.r120-brand-logo{
  width:72px!important;height:72px!important;
  padding-right:11px!important;
  overflow:hidden!important;
  background:#fff!important;
}
.r120-brand-logo img{
  width:60px!important;height:60px!important;
  max-width:none!important;
  object-fit:contain!important;
  transform:scale(2.18)!important;
  transform-origin:center center!important;
  background:#fff!important;
}
.r120-brand-copy strong{font-size:17px!important}
.r120-brand-copy em{font-size:12.5px!important}

/* Portal header: simple horizontal identity, larger real logo, no oversized nested card. */
body.portal-shell.portal-ui-r119 .portal-header{
  position:sticky!important;top:0!important;
  background:rgba(255,255,255,.985)!important;
  border-bottom:1px solid #e4edf2!important;
  box-shadow:0 8px 24px rgba(15,52,77,.035)!important;
}
body.portal-shell.portal-ui-r119 .portal-header-inner{
  width:min(1420px,calc(100% - 48px))!important;
  min-height:104px!important;
  padding:9px 0!important;
  gap:24px!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-r120{
  display:flex!important;
  align-items:center!important;
  gap:17px!important;
  width:auto!important;min-width:0!important;max-width:none!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-logo-r120{
  width:96px!important;height:86px!important;
  flex:0 0 96px!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  overflow:hidden!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-logo-r120 img{
  width:86px!important;height:86px!important;
  max-width:86px!important;
  object-fit:contain!important;
  transform:scale(2.18)!important;
  transform-origin:center center!important;
  background:#fff!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-copy-r120{
  display:grid!important;
  gap:2px!important;
  min-width:0!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 strong{
  font-size:30px!important;
  line-height:1.02!important;
  white-space:normal!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 em{
  font-size:16px!important;
  margin-top:2px!important;
}
body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 small{
  font-size:11.5px!important;
  margin-top:5px!important;
}
body.portal-shell.portal-ui-r119 .portal-pass-link{
  min-width:190px!important;
  min-height:54px!important;
  padding:9px 13px!important;
  border-radius:13px!important;
  box-shadow:none!important;
  background:#f8fbfd!important;
}
body.portal-shell.portal-ui-r119 .portal-primary-nav-inner{
  width:min(1420px,calc(100% - 48px))!important;
  min-height:48px!important;
}
body.portal-shell.portal-ui-r119 .portal-primary-nav a{
  min-height:36px!important;
  padding:0 12px!important;
  font-size:11.5px!important;
}

/* Dashboard must never become a blank HTTP 500 due to one secondary widget. */
.r121-dashboard-recovery{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin:0 0 12px;padding:10px 13px;
  border:1px solid #f0d7a4;border-radius:12px;background:#fffaf0;color:#6f4c13;
  font-size:11.5px;line-height:1.4;
}
.r121-dashboard-recovery strong{font-size:12px;color:#6a4308}
.r121-recovery-home{
  display:grid;gap:22px;
  padding:28px;border:1px solid #dce8ef;border-radius:20px;background:#fff;
  box-shadow:0 14px 36px rgba(18,63,90,.06);
}
.r121-recovery-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#0784b5}
.r121-recovery-home h1{margin:5px 0 8px;color:#0b3556;font-size:30px}
.r121-recovery-home p{margin:0;max-width:850px;color:#627b8e;line-height:1.55}
.r121-recovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.r121-recovery-grid a{display:grid;gap:3px;padding:15px;border:1px solid #dfeaf0;border-radius:14px;background:#f9fcfe;text-decoration:none}
.r121-recovery-grid a:hover{border-color:#bcd9e8;background:#f3f9fc}
.r121-recovery-grid strong{font-size:14px;color:#123e60}
.r121-recovery-grid small{font-size:11px;color:#748a9b}

@media(max-width:900px){
  body.portal-shell.portal-ui-r119 .portal-header-inner{width:calc(100% - 24px)!important;min-height:86px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-logo-r120{width:70px!important;height:66px!important;flex-basis:70px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-logo-r120 img{width:64px!important;height:64px!important;max-width:64px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 strong{font-size:22px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 em{font-size:13px!important}
  body.portal-shell.portal-ui-r119 .portal-primary-nav-inner{width:calc(100% - 24px)!important}
  .r121-recovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  body.portal-shell.portal-ui-r119 .portal-header-inner{display:flex!important;align-items:center!important;gap:10px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-r120{flex:1 1 auto!important}
  body.portal-shell.portal-ui-r119 .portal-brand-logo-r120{width:58px!important;height:56px!important;flex-basis:58px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-logo-r120 img{width:54px!important;height:54px!important;max-width:54px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 strong{font-size:18px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 em{font-size:11px!important}
  body.portal-shell.portal-ui-r119 .portal-brand-copy-r120 small{display:none!important}
  body.portal-shell.portal-ui-r119 .portal-header-tools-r116{margin-left:auto!important}
  body.portal-shell.portal-ui-r119 .portal-pass-link{width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;justify-content:center!important}
  body.portal-shell.portal-ui-r119 .portal-pass-link>span,
  body.portal-shell.portal-ui-r119 .portal-pass-link>b{display:none!important}
  .r121-recovery-grid{grid-template-columns:1fr}
}
/* === R1.18.8 P5 RECOVERY + BRANDING OVERRIDES END === */


/* === R1.18.8 P6 FINAL VISIBILITY GUARDS START === */
.staff-app .r17-agenda-month .r9-agenda-day{min-height:178px!important}
.staff-app .r17-agenda-month .r9-month-event.holiday{padding:8px 9px!important;font-size:12.5px!important;line-height:1.35!important;font-weight:800!important;border-width:1px!important}
/* === R1.18.8 P6 FINAL VISIBILITY GUARDS END === */


/* === R1.18.8 P13 GLOBAL PREMIUM BRAND START ===
   Global staff shell only. Check-ins keeps its large P12 banner and hides the sidebar card.
   The staff sidebar identity is now one horizontal white premium card: logo, one-line lockup,
   and a real travel image. No animation, no square dark card, no wrapped brand name. */
@media (min-width:761px){
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) .app-shell{
    grid-template-columns:350px minmax(0,1fr)!important;
  }
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar{
    padding:14px 12px 16px!important;
  }
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand{
  display:grid!important;
  grid-template-columns:58px minmax(0,1fr) 80px!important;
  align-items:center!important;
  column-gap:7px!important;
  width:100%!important;
  min-width:0!important;
  height:104px!important;
  min-height:104px!important;
  margin:4px 0 17px!important;
  padding:7px 7px 7px 9px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  position:relative!important;
  inset:auto!important;
  border:1px solid #dbe8ef!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 34px rgba(4,34,63,.18)!important;
  text-decoration:none!important;
  opacity:1!important;
  transform:none!important;
  translate:none!important;
  animation:none!important;
  transition:box-shadow .16s ease,border-color .16s ease!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand:hover{
  border-color:#c9dfe9!important;
  background:#fff!important;
  box-shadow:0 16px 38px rgba(4,34,63,.22)!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand::before,
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand::after{
  content:none!important;
  display:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo{
  width:58px!important;
  height:78px!important;
  min-width:58px!important;
  padding:0!important;
  border:0!important;
  border-right:0!important;
  border-radius:13px!important;
  overflow:hidden!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  animation:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo img{
  display:block!important;
  width:54px!important;
  height:54px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center!important;
  background:transparent!important;
  filter:none!important;
  opacity:1!important;
  transform:scale(2.18)!important;
  transform-origin:center!important;
  animation:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy{
  display:grid!important;
  align-content:center!important;
  gap:4px!important;
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
  line-height:1!important;
  transform:none!important;
  animation:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy strong{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:13.2px!important;
  line-height:1!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
  color:#0b3159!important;
  white-space:nowrap!important;
  overflow:visible!important;
  overflow-wrap:normal!important;
  text-overflow:clip!important;
  text-shadow:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy em{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  margin:0!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:10.6px!important;
  line-height:1!important;
  font-style:italic!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  color:#078ec8!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy small{
  display:block!important;
  width:max-content!important;
  max-width:none!important;
  margin:1px 0 0!important;
  font-family:Arial,sans-serif!important;
  font-size:9.5px!important;
  line-height:1.1!important;
  font-weight:600!important;
  letter-spacing:0!important;
  color:#70869a!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-brand-photo{
  position:relative!important;
  align-self:stretch!important;
  display:block!important;
  width:80px!important;
  height:88px!important;
  border-radius:12px!important;
  overflow:hidden!important;
  background:#e8f4fa!important;
  transform:none!important;
  animation:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-brand-photo::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0 auto 0 0!important;
  width:20px!important;
  background:linear-gradient(90deg,#fff,rgba(255,255,255,0))!important;
  pointer-events:none!important;
}
body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-brand-photo img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:72% center!important;
  filter:saturate(.94) contrast(.98)!important;
  transform:none!important;
  animation:none!important;
}
@media (min-width:761px) and (max-width:1100px){
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) .app-shell{grid-template-columns:320px minmax(0,1fr)!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand{grid-template-columns:52px minmax(0,1fr) 62px!important;height:96px!important;min-height:96px!important;padding:6px!important;column-gap:5px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo{width:52px!important;height:72px!important;min-width:52px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo img{width:48px!important;height:48px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy strong{font-size:11.6px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy em{font-size:9.5px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy small{font-size:9.5px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-brand-photo{width:62px!important;height:82px!important}
}
@media (max-width:760px){
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar{width:min(330px,92vw)!important;padding:12px 10px 16px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar > .r121-premium-sidebar-brand{grid-template-columns:56px minmax(0,1fr) 66px!important;height:98px!important;min-height:98px!important;margin:2px 0 14px!important;padding:7px!important;column-gap:6px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo{width:56px!important;height:74px!important;min-width:56px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-logo img{width:51px!important;height:51px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy strong{font-size:11.9px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy em{font-size:9.6px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-premium-sidebar-brand .r120-brand-copy small{font-size:9.5px!important}
  body.staff-app.bdv-p13:not([data-page="checkin_list"]) #staff-sidebar .r121-brand-photo{width:66px!important;height:84px!important}
}
@media (prefers-reduced-motion:reduce){
  body.staff-app.bdv-p13 #staff-sidebar .r121-premium-sidebar-brand,
  body.staff-app.bdv-p13 #staff-sidebar .r121-premium-sidebar-brand *{animation:none!important;transition:none!important}
}
/* === R1.18.8 P13 GLOBAL PREMIUM BRAND END === */
