@font-face {
  font-family: 'Creek DM Sans';
  src: url('/assets/fonts/dm-sans-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: 'Creek DM Sans';
  src: url('/assets/fonts/dm-sans-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Creek DM Sans';
  src: url('/assets/fonts/dm-sans-700.ttf') format('truetype');
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

/* A shared layer keeps older page-specific typography from mixing font families. */
@layer creek-brand-ui {
  html body {
    font-family: 'Creek DM Sans', 'DM Sans', Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
  }
  html body :where(*):not(:where(svg, svg *, pre, pre *, code, code *, kbd, samp,
    .fa, .fas, .far, .fab, .fal, .fad, [class*='fa-'], .material-icons,
    .material-symbols-outlined, .material-symbols-rounded)) {
    font-family: 'Creek DM Sans', 'DM Sans', Arial, sans-serif !important;
  }
  html body :where(h1, h2, h3, h4, h5, h6) {
    font-weight: 600 !important;
  }
  html body :where(h1, h2) { letter-spacing: -.03em !important; }
  html body :where(h3, h4, h5, h6) { letter-spacing: -.02em !important; }

  /* Public navigation keeps its current position and mobile menu behavior. */
  html body .site-header.restored-header .nav-links {
    gap: 4px !important;
  }
  html body .site-header.restored-header .nav-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #101419 !important;
    -webkit-text-fill-color: #101419 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none !important;
    transition: background-color .15s, color .15s;
  }
  html body .site-header.restored-header .nav-links a:hover {
    background: #eef0f3 !important;
  }
  html body .site-header.restored-header .nav-links a:is([aria-current='page'], [aria-current='location']) {
    background: #101419 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
  html body .site-header.restored-header .nav-actions {
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0;
  }
  html body .site-header.restored-header :is(.restored-signin, .restored-nav-cta) {
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    height: 44px !important;
    min-width: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: none !important;
    transform: none !important;
  }
  html body .site-header.restored-header .restored-signin {
    display: inline-flex;
    background: #f0f1f3 !important;
    color: #101419 !important;
    -webkit-text-fill-color: #101419 !important;
  }
  html body .site-header.restored-header .restored-signin:hover {
    background: #e2e5e9 !important;
  }
  html body .site-header.restored-header .restored-nav-cta {
    padding-inline: 22px !important;
    background: #ff3600 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }
  html body .site-header.restored-header .restored-nav-cta:hover {
    background: #e63000 !important;
  }

  @media (min-width: 1051px) {
    html body .site-header.restored-header .nav {
      gap: 16px !important;
      width: min(1280px, calc(100% - 48px)) !important;
      max-width: 1280px !important;
    }
    html body .site-header.restored-header .nav-links {
      margin-inline: auto !important;
    }
  }
  @media (max-width: 1050px) {
    html body .site-header.restored-header .restored-signin {
      padding-inline: 14px !important;
    }
  }
}


@layer creek-brand-ui {
 /* Homepage calls to action follow the same pill shape as booking and account. */
 html body:has(#quickSearch) :is(.btn-primary,.restored-contact button[type=submit]){min-height:44px!important;padding:12px 24px!important;border:0!important;border-radius:999px!important;background:#ff3600!important;color:#fff!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;box-shadow:none!important;text-decoration:none!important}
 html body:has(#quickSearch) .btn-primary:hover{background:#e63000!important;color:#fff!important}
 html body:has(#quickSearch) :is(.restored-review-grid article,.restored-steps article){border-radius:18px!important;box-shadow:none!important}
}

/* Keep calendar years editable without redundant spinner arrows. */
@layer creek-brand-ui {
  html body .flatpickr-current-month .numInputWrapper > :is(.arrowUp, .arrowDown) { display: none !important; }
  html body .flatpickr-current-month input.cur-year { appearance: textfield !important; -moz-appearance: textfield !important; padding-right: 0 !important; }
  html body .flatpickr-current-month input.cur-year::-webkit-inner-spin-button,
  html body .flatpickr-current-month input.cur-year::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0 !important; }
}

/* Shared link treatment across public pages, booking and account screens. */
@layer creek-brand-ui {
  html body :is(a, button, summary, [role="link"]),
  html body :is(a, button, summary, [role="link"]) * {
    text-decoration-line: none !important;
  }
}

html body .site-header [data-ca-book][hidden] { display: none !important; }

@layer creek-brand-ui {
 html body .ca-account-dropdown>button.secondary {display:flex!important;align-items:center!important;width:100%!important;min-height:44px!important;padding:12px 16px!important;margin:6px 0!important;border:0!important;border-radius:999px!important;background:#f0f2f5!important;color:#101419!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important}
 html body .ca-account-dropdown>button.secondary:hover{background:#e2e5e9!important}
 html body .creek-account-security[data-app=rentals]{border-radius:18px!important;background:#fff!important;border:1px solid #dfe3e8!important;box-shadow:none!important;padding:24px!important}
 html body .creek-account-security[data-app=rentals] button:not(.creek-dropdown-trigger){border-radius:999px!important;background:#ff3600!important;color:#fff!important;min-height:44px!important;padding:12px 20px!important}
 html body .creek-account-security[data-app=rentals] button.secondary{background:#f0f2f5!important;color:#101419!important}
 html body .creek-account-security[data-app=rentals] :is(input,select,textarea){border-radius:14px!important;background:#f0f2f5!important;border:1px solid transparent!important;min-height:48px!important}
 html body .creek-account-security[data-app=rentals] .guide{border-radius:14px!important;background:#f0f2f5!important}
 @media(min-width:1051px){
  html body .site-header.restored-header{height:80px!important;min-height:80px!important;padding:0!important;border:0!important;border-top:3px solid #ff3600!important}
  html body .site-header.restored-header>.nav,html body.creek-customer-account .ca-site-header{display:grid!important;grid-template-columns:206px minmax(0,1fr) 150px!important;gap:16px!important;align-items:center!important;box-sizing:border-box!important}
  html body .site-header.restored-header>.nav{width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;height:77px!important;margin:0 auto!important;padding:0!important}
  html body .site-header.restored-header .brand{width:206px!important;max-width:206px!important;margin:0!important}
  html body .site-header.restored-header .nav-links,html body.creek-customer-account .ca-main-nav{display:flex!important;justify-content:center!important;gap:2px!important;margin:0!important;min-width:0!important}
  html body .site-header.restored-header .nav-links a,html body.creek-customer-account .ca-main-nav a{padding:10px 7px!important;font-size:13px!important}
  html body .site-header.restored-header .nav-actions,html body.creek-customer-account .ca-header-controls{display:flex!important;width:150px!important;margin:0!important;gap:6px!important;justify-content:flex-end!important}
  html body .site-header.restored-header .restored-nav-cta{display:none!important}
  html body .site-header.restored-header .restored-signin,html body .site-header .ca-home-account,html body.creek-customer-account .ca-account-menu{width:100px!important;min-width:100px!important;max-width:100px!important;flex:0 0 100px!important}
  html body .site-header .ca-home-account>[data-open-auth],html body.creek-customer-account .ca-account-menu>summary{width:100px!important;justify-content:center!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important;padding:8px!important;border-radius:999px!important;background:#f0f2f5!important}
 }
}

@layer creek-brand-ui {
 html body .site-header .ca-booking-menu{position:relative!important}
 html body .site-header .ca-booking-menu>summary{list-style:none!important;cursor:pointer!important;white-space:nowrap!important;padding:12px 8px!important;min-height:44px!important;border-radius:999px!important;color:#101419!important;font-size:13px!important;font-weight:600!important}
 html body .site-header .ca-booking-menu>summary::-webkit-details-marker{display:none!important}
 html body .site-header .ca-booking-menu>nav{position:absolute!important;top:100%!important;right:0!important;display:grid!important;min-width:210px!important;padding:10px!important;border:1px solid #dfe3e8!important;border-radius:16px!important;background:white!important;z-index:200!important}
 html body .site-header .ca-booking-menu:not([open])>nav{display:none!important}
 html body .site-header .ca-booking-menu>nav>a{justify-content:flex-start!important}
}

/* Restore the earlier, roomier primary header button sizing. */
@layer creek-brand-ui {
 html body .site-header.restored-header .nav-links>a,
 html body .site-header.restored-header .nav-links>.ca-booking-menu>summary {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;min-height:44px!important;height:44px!important;
  padding:0 12px!important;font-size:14px!important;font-weight:600!important;line-height:20px!important;
 }
}


/* Customer dialogs use the same controls as the account pages. Keep calendar,
   dropdown, upload, and payment-provider controls on their own component styles. */
@layer creek-brand-ui {
 html body :is(.account-delete-dialog,.cancel-preview-dialog,.customer-action-panel),
 html body .service-modal > :is(form,section,.modal-card),
 html body.creek-customer-account #creekSiteDialog {
  box-sizing:border-box!important;border:1px solid #e1e4e8!important;border-radius:18px!important;
  background:#fff!important;color:#101419!important;box-shadow:none!important;
  padding:24px!important;overflow-wrap:anywhere;max-width:calc(100vw - 32px)!important;
 }
 html body :is(.account-delete-dialog,.cancel-preview-dialog,.customer-action-panel) h2,
 html body.creek-customer-account #creekSiteDialog h2,
 html body .service-modal h2 {font-size:20px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:-.03em!important}
 html body .account-delete-confirm {padding:0!important;border-radius:0!important;background:transparent!important;gap:12px!important;line-height:1.6!important}
 html body .account-delete-confirm input {accent-color:#ff3600!important;width:20px!important;height:20px!important;min-height:20px!important;flex:0 0 20px!important}
 html body :is(.account-delete-actions,.cancel-preview-actions) {gap:12px!important;margin-top:24px!important}
 html body :is(.account-delete-actions,.cancel-preview-actions,.customer-action-footer) button,
 html body.creek-customer-account #creekSiteDialog button,
 html body .service-modal .submit {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:12px 20px!important;border:0!important;border-radius:999px!important;
  background:#f0f2f5!important;color:#101419!important;font-size:14px!important;font-weight:600!important;
  line-height:1.4!important;box-shadow:none!important;transform:none!important;cursor:pointer;
 }
 html body #confirmAccountDeletionRequest,
 html body .cancel-preview-actions .danger,
 html body .customer-action-footer [data-customer-dialog-submit],
 html body.creek-customer-account #creekSiteDialog .site-dialog-submit,
 html body .service-modal .submit {background:#ff3600!important;color:#fff!important}
 html body :is(.account-delete-actions,.cancel-preview-actions,.customer-action-footer) button:not(:disabled):hover,
 html body.creek-customer-account #creekSiteDialog button:not(:disabled):hover {background:#e2e5e9!important}
 html body #confirmAccountDeletionRequest:not(:disabled):hover,
 html body .cancel-preview-actions .danger:not(:disabled):hover,
 html body .customer-action-footer [data-customer-dialog-submit]:not(:disabled):hover,
 html body.creek-customer-account #creekSiteDialog .site-dialog-submit:not(:disabled):hover,
 html body .service-modal .submit:not(:disabled):hover {background:#e63000!important;color:#fff!important}
 html body :is(.account-delete-actions,.cancel-preview-actions,.customer-action-footer) button:disabled,
 html body.creek-customer-account #creekSiteDialog button:disabled,
 html body .service-modal .submit:disabled {opacity:.5!important;cursor:not-allowed!important}
 html body .service-modal :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea),
 html body .customer-action-fields :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea),
 html body.creek-customer-account #creekSiteDialog :is(input,textarea) {
  box-sizing:border-box!important;min-height:48px!important;max-width:100%!important;padding:12px 14px!important;
  border:1px solid transparent!important;border-radius:14px!important;background:#f0f2f5!important;color:#101419!important;font-size:16px!important;box-shadow:none!important;
 }
 html body.creek-customer-account #creekSiteDialog .site-dialog-close,
 html body .service-modal .close {width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f0f2f5!important;color:#101419!important}
 html body :is(.account-delete-dialog,.cancel-preview-dialog,.customer-action-panel,.service-modal) :is(button,input,textarea):focus-visible,
 html body.creek-customer-account #creekSiteDialog :is(button,input,textarea):focus-visible {outline:2px solid #34495e!important;outline-offset:3px!important}
 html body.creek-customer-account :is(.security-row,.password-requirements,.verified,.refund-preview-lines) {border-radius:14px!important}
 @media(max-width:560px){
  html body :is(.account-delete-dialog,.cancel-preview-dialog,.customer-action-panel),
  html body .service-modal > :is(form,section,.modal-card),
  html body.creek-customer-account #creekSiteDialog {padding:22px 18px!important;border-radius:18px!important}
  html body :is(.account-delete-actions,.cancel-preview-actions) {grid-template-columns:1fr!important}
  html body .customer-action-footer,html body.creek-customer-account #creekSiteDialog footer {flex-wrap:wrap!important}
  html body .customer-action-footer button,html body.creek-customer-account #creekSiteDialog footer button {flex:1 1 140px!important}
 }
}

/* Match the My rentals reference: restrained 14px copy, 20px card titles,
   28px page titles, 44px actions, and thin-bordered white surfaces. */
@layer creek-brand-ui {
 html body.creek-customer-account :is(.profile-main,.support-shell,.claims-shell,.portal-workspace),
 html body :is(.account-delete-dialog,.cancel-preview-dialog,.customer-action-panel),
 html body .service-modal > :is(form,section),
 html body.creek-customer-account #creekSiteDialog {font-size:14px!important;line-height:1.6!important}
 html body.creek-customer-account :is(.profile-card,.claim-card,.support-grid,.modal-card) p {font-size:14px!important;line-height:1.6!important}
 html body.creek-customer-account :is(.profile-card,.claim-card,.support-grid) label {font-size:13px!important;font-weight:600!important}
 html body.creek-customer-account #postTripInvoices {background:#fff!important;border:1px solid #e1e4e8!important;border-radius:18px!important;padding:24px!important;margin-top:20px!important}
 html body.creek-customer-account #postTripInvoices h2 {font-size:20px!important;font-weight:600!important;margin:0 0 12px!important}
 html body.creek-customer-account #postTripInvoices p {font-size:13px!important;color:#59636f!important}
 html body .creek-account-security[data-app=rentals],
 html body .creek-password-required[data-app=rentals] {border:1px solid #e1e4e8!important;border-radius:18px!important;padding:24px!important;background:#f3f4f6!important;font-size:14px!important;line-height:1.6!important}
 html body .creek-account-security[data-app=rentals] h2,
 html body .creek-password-required[data-app=rentals] h2 {font-size:24px!important;line-height:1.25!important;font-weight:600!important}
 html body .creek-account-security[data-app=rentals] .security-section {background:#fff!important;border:1px solid #e1e4e8!important;border-radius:18px!important;padding:22px!important;margin:16px 0!important}
 html body .creek-account-security[data-app=rentals] .security-section h3 {font-size:16px!important;line-height:1.4!important;font-weight:600!important}
 html body .creek-account-security[data-app=rentals] .security-section p {font-size:14px!important;line-height:1.6!important}
 html body .creek-account-security[data-app=rentals] .guide {background:#fff!important;border:1px solid #e1e4e8!important;border-radius:16px!important;padding:18px!important;font-size:13px!important}
 html body .creek-account-security[data-app=rentals] button:not(.creek-dropdown-trigger) {font-weight:600!important}
 html body .creek-account-security[data-app=rentals] :is(input,select,textarea),
 html body .creek-password-required[data-app=rentals] input {background:#fff!important;border:1px solid #cdd5df!important;border-radius:16px!important;min-height:44px!important;font-size:14px!important}
 @media(max-width:560px){
  html body .creek-account-security[data-app=rentals],html body .creek-password-required[data-app=rentals] {padding:18px!important}
  html body .creek-account-security[data-app=rentals] .security-section {padding:18px!important}
  html body .creek-account-security[data-app=rentals] :is(input,select,textarea),html body .creek-password-required[data-app=rentals] input {font-size:16px!important}
 }
}
