/* Project Bikelife brand UI - permanent. No calendar/theme switching.
   Dark navy surfaces, electric-blue actions, icy blue highlights. */
:root{
  color-scheme:dark;
  --pbl-brand-bg:#0b111d;
  --pbl-brand-primary:#2e70e7;
  --pbl-brand-accent:#7bb9ff;
  --pbl-brand-accent-soft:rgba(79,151,255,.14);
  --pbl-brand-panel:#151f30;
  --pbl-brand-panel-alt:#1b2940;
  --pbl-brand-line:#314665;
  --pbl-brand-ink:#f4f8ff;
  --pbl-brand-muted:#a8bdd6;
  --bg:#0b111d;--surface:#151f30;--line:#314665;--text:#f4f8ff;--muted:#a8bdd6;
  --accent:#2e70e7;--bright:#7bb9ff;
  --next-bg:#0b111d;--next-panel:#151f30;--next-panel-2:#1b2940;
  --next-line:#314665;--next-ink:#f4f8ff;--next-muted:#a8bdd6;
  --next-blue:#458bff;--next-cyan:#65c7ff;--next-highlight:#7bb9ff;
  --v4-bg:#0b111d;--v4-card:#151f30;--v4-card2:#1b2940;
  --v4-border:#314665;--v4-text:#f4f8ff;--v4-muted:#a8bdd6;
  --v4-accent:#7bb9ff;--v4-accent-on:#0a1c38;--v4-accent-soft:rgba(79,151,255,.14);
  --calm-bg:#0b111d;--calm-panel:#151f30;--calm-card:#1b2940;
  --calm-deep:#0e1828;--calm-line:#314665;--calm-ink:#f4f8ff;
  --calm-muted:#a8bdd6;--calm-accent:#7bb9ff;--calm-accent-strong:#2e70e7;
  --calm-accent-soft:#1c3656;--calm-wash:#142741;--calm-badge:#1b3556;
}
html,body{color-scheme:dark}
body.next-site:not(.department-iframe-body){
 background-color:var(--pbl-brand-bg)!important;
 background-image:radial-gradient(ellipse 70% 35% at 75% -15%,rgba(47,109,221,.12),transparent 75%)!important;
 background-repeat:no-repeat!important;
 background-attachment:scroll!important;
 color:var(--pbl-brand-ink);
}
body.next-site :is(.next-header,.next-footer){background:#0f1929!important;border-color:var(--pbl-brand-line)!important}
body.next-site .next-nav a.next-active{color:var(--pbl-brand-accent)!important}
body.next-site :is(.v4-home-hero,.v4-bottom-cta,.hq-hero,.dept-hero){border-color:var(--pbl-brand-line)}
/* Main actions use deep blue with white, rather than warm or holiday-themed accents. */
body.next-site :is(.button:not(.secondary),button.button:not(.secondary),.next-primary-button,.v4-btn.primary,.pbl-exam-action-primary){
 background:var(--pbl-brand-primary)!important;
 border-color:#4189fc!important;
 color:#fff!important;
}
body.next-site :is(.button:not(.secondary),button.button:not(.secondary),.next-primary-button,.v4-btn.primary,.pbl-exam-action-primary):hover{background:#3d81fa!important}
body.next-site :is(input,textarea,select):focus-visible{border-color:#7bb9ff!important;outline-color:#7bb9ff!important}
body.next-site a:focus-visible,body.next-site button:focus-visible{outline:2px solid #7bb9ff;outline-offset:2px}
body.next-site :is(.eyebrow,.v4-eyebrow,.pbl-journey-kicker,.next-section-kicker){color:var(--pbl-brand-accent)}
body.next-site .pbl-modal-backdrop .pbl-modal{background:var(--pbl-brand-panel)!important;border-color:var(--pbl-brand-line)!important}
body.next-site .pbl-modal-icon{background:var(--pbl-brand-accent-soft)!important;color:var(--pbl-brand-accent)!important}
/* Department application popup is a standalone document. */
body.department-iframe-body{background:#0b111d!important;color:#f4f8ff}
body.department-iframe-body :is(.card,.position-manager){background:#151f30;border-color:#314665}
body.department-iframe-body :is(input,textarea,select){background:#0f1929;color:#f4f8ff;border-color:#314665}
body.department-iframe-body :is(input,textarea,select):focus-visible{outline-color:#7bb9ff;border-color:#7bb9ff}
body.department-iframe-body .button:not(.secondary){background:#2e70e7;border-color:#4189fc;color:white}
/* System status is a standalone page: preserve semantic green/red availability indicators. */
body.pbl-status-page{background:#0b111d;color:#f4f8ff}
body.pbl-status-page .panel{background:#151f30;border-color:#314665}
body.pbl-status-page :is(header,.panelhead,.service){border-color:#314665}
body.pbl-status-page .crumb,body.pbl-status-page .panelhead span{color:#a8bdd6}

body.next-site :is(.next-header,.next-footer){
  background:#181c22!important;
  border-color:var(--pbl-brand-line)!important;
}
body.next-site :is(.next-nav,.next-more-button,.next-auth-link){color:var(--pbl-brand-ink)}
body.next-site .next-nav a.next-active,
body.next-site .next-nav a:hover,
body.next-site .next-more-button:hover{color:var(--pbl-brand-accent)!important}
body.next-site .next-more-menu,
body.next-site .next-nav.next-menu-open{
  background:var(--pbl-brand-panel)!important;
  border-color:var(--pbl-brand-line)!important;
}
body.next-site .next-more-menu a{
  color:var(--pbl-brand-ink)!important;
}
body.next-site .next-more-menu a:hover{
  background:var(--pbl-brand-accent-soft)!important;
  color:var(--pbl-brand-accent)!important;
}
body.next-site .next-more-menu .next-icon{color:var(--pbl-brand-accent)!important}

/* Legacy Explorer, help, creators, team directory and documentation pages use
   these shared component names. Change colors only, never their grid dimensions. */
body.next-site :is(.next-page-hero,.next-rich-panel,.next-feature-card,.next-faq-list details,
 .next-team-person,.next-role-card,.next-role-card-top,.pbl-docs article,.pbl-public-page article,
 .next-portal-metrics>div,.next-empty,.pbl-public-position,.pbl-member-card,
 .hq-panel,.hq-stat,.card,.pbl-modal,.hq-dialog){
  background:var(--pbl-brand-panel)!important;
  border-color:var(--pbl-brand-line)!important;
  color:var(--pbl-brand-ink);
}
body.next-site :is(.next-page-hero h1 em,.next-portal-intro h1 span,
 .next-feature-icon,.next-rich-panel .next-text-link,.next-section-kicker,.next-faq-list summary:after,
 .pbl-public-page .eyebrow,.pbl-public-page h1 span,.pbl-docs .eyebrow,
 .next-team-person p,.next-team-sub){color:var(--pbl-brand-accent)!important}
body.next-site .next-feature-icon{
  background:var(--pbl-brand-accent-soft)!important;
  border-color:var(--pbl-brand-line)!important;
}
body.next-site :is(.next-page-hero p,.next-feature-card p,.next-rich-panel p,
 .pbl-docs article p,.pbl-public-page .pbl-lead,.next-team-person small,
 .next-faq-list p,.next-role-card p){color:var(--pbl-brand-muted)!important}
body.next-site :is(.button.secondary,.next-outline-button){
  background:var(--pbl-brand-panel-alt)!important;
  border-color:var(--pbl-brand-line)!important;
  color:var(--pbl-brand-ink)!important;
}
body.next-site :is(.next-page-hero,.pbl-docs article,.next-rich-panel){
  box-shadow:none;
}
/* Restyle only the presentation of the private chat; keep two-column / mobile
   behavior defined by pbl-v45-chat.css unchanged. */
body.next-site :is(.v45-switch,.v45-layout,.v45-thread-list,
 .v45-list-head,.v45-conversation,.v45-chat-top,.v45-composer-wrap,.v45-offer-summary){
  background:var(--pbl-brand-panel)!important;border-color:var(--pbl-brand-line)!important;
}
body.next-site :is(.v45-bike-chip,.v45-status,.v45-bubble){
  background:var(--pbl-brand-panel-alt)!important;border-color:var(--pbl-brand-line)!important;
}
body.next-site .v45-message.mine .v45-bubble{
  background:var(--v4-accent)!important;color:var(--v4-accent-on)!important;
}
body.next-site :is(.v45-compose textarea,.v45-switch select){
  background:#15181e!important;border-color:var(--pbl-brand-line)!important;color:#f5f6f9!important;
}
/* Confirmation modals are styled confirmation overlays; preserve the dialog stacking order. */
body.next-site .pbl-modal-backdrop .pbl-modal{
  background:var(--pbl-brand-panel)!important;border-color:var(--pbl-brand-line)!important;
}
body.next-site .pbl-modal-icon{
  background:var(--pbl-brand-accent-soft)!important;color:var(--pbl-brand-accent)!important;
}
/* Preview controls: low-key expandable widget, present only in preview_mode.
   Real website production templates render no preview widget or demo banner. */
.pbl-preview-tools{position:fixed;right:17px;bottom:15px;z-index:90;width:min(310px,calc(100vw - 32px));
 font-size:12px;font-family:inherit;color:#edf0f5;filter:drop-shadow(0 8px 24px #0008)}
.pbl-preview-tools summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;
 padding:10px 13px;border:1px solid var(--pbl-brand-line);border-radius:30px;
 background:#20242b;color:#e8ecf2;width:max-content;margin-left:auto;font-size:11px;font-weight:750}
.pbl-preview-tools summary::-webkit-details-marker{display:none}
.pbl-preview-tools[open] summary{border-radius:9px 9px 0 0;border-bottom:0}
.pbl-preview-tools summary .next-icon{width:15px;height:15px;color:var(--pbl-brand-accent)}
.pbl-preview-tools-body{display:grid;gap:10px;padding:15px;border:1px solid var(--pbl-brand-line);
 background:#1b1f26;border-radius:10px 0 10px 10px}
.pbl-preview-tools-body p{display:grid;gap:5px;margin:0;line-height:1.5}.pbl-preview-tools-body span{color:#afb8c4}
.pbl-preview-tools-body a{display:inline-flex;gap:7px;align-items:center;color:var(--pbl-brand-accent)!important;font-weight:750}
.pbl-preview-tools-body .next-icon{width:13px;height:13px}
.pbl-preview-tools-body label{font-size:11px;font-weight:750}
.pbl-preview-tools-body select{min-height:40px;width:100%;background:#121820!important;color:#f3f5f8!important;
 border:1px solid var(--pbl-brand-line)!important;border-radius:8px;padding:8px 10px;font:inherit}
@media(max-width:600px){.pbl-preview-tools{right:10px;bottom:10px}}
@media(prefers-reduced-motion:reduce){body.next-site *{animation:none!important;transition:none!important}}
