/* Only the four account-screen headers. No global or footer overrides. */
.ty-account-header{box-sizing:border-box;position:relative;display:grid;grid-template-columns:160px 1fr 160px;align-items:center;gap:24px;min-height:132px;padding:24px clamp(20px,5vw,88px);margin:0;background:radial-gradient(circle,rgba(255,246,209,.12) 1px,transparent 1.5px) 0 0/24px 24px,#282423;color:#fff9e9;border-bottom:1px solid rgba(243,207,116,.24);isolation:isolate}
.ty-account-header__brand{display:block;position:relative;width:150px;height:66px;overflow:hidden;border-radius:8px}
.ty-account-header__brand img{position:absolute;width:150px;height:150px;max-width:none;top:-40px;left:0;object-fit:contain}
.ty-account-header__copy{text-align:center;min-width:0}
.ty-account-header__eyebrow{display:block;color:#e9c66e;font:700 12px/1.5 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;margin-bottom:4px}
.ty-account-header__title{margin:0;color:#fff9e9;font-family:'Baloo 2',system-ui,sans-serif;font-size:clamp(26px,3vw,40px);font-weight:700;line-height:1.2;letter-spacing:-.02em}
.ty-account-header__mark{justify-self:end;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(233,198,110,.32);border-radius:16px;color:#e9c66e;background:rgba(233,198,110,.06)}
.ty-account-header__mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ty-account-header__brand:focus-visible{outline:3px solid #e9c66e;outline-offset:4px}
@media(max-width:600px){.ty-account-header{grid-template-columns:96px 1fr;gap:16px;min-height:104px;padding:20px}.ty-account-header__brand{width:96px;height:48px}.ty-account-header__brand img{width:96px;height:96px;top:-24px}.ty-account-header__copy{text-align:left}.ty-account-header__eyebrow{font-size:10px;letter-spacing:.12em}.ty-account-header__title{font-size:26px}.ty-account-header__mark{display:none}}

/* Shared wave geometry, with reserved space so the next section stays clear. */
.ty-account-header{border-bottom:0;margin-bottom:32px}
.ty-account-header__wave{position:absolute;left:0;top:calc(100% - 1px);width:100%;height:34px;display:block;color:#282423;pointer-events:none}
.ty-account-header__back{justify-self:start;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 18px;border:1px solid rgba(233,198,110,.45);border-radius:16px;background:linear-gradient(145deg,#494338,#302c25);color:#fff5d8;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 5px 14px rgba(0,0,0,.18);font:600 14px/1 system-ui,sans-serif;cursor:pointer;transition:background .18s,transform .18s}
.ty-account-header__back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ty-account-header__back:hover{background:#514836;transform:translateY(-1px)}
.ty-account-header__back:focus-visible{outline:3px solid #e9c66e;outline-offset:4px}
.ty-account-header__back:active{transform:translateY(0)}
@media(max-width:600px){.ty-account-header{grid-template-columns:92px 1fr}.ty-account-header__back{padding:0 12px;gap:6px}}
@media(prefers-reduced-motion:reduce){.ty-account-header__back{transition:none}}

/* account-header-merge-v1: four existing header/strip pairs only */
.ty-account-header:has(+ :is(.tripy-notifications-hero,.tripy-support-app,.tripy-wishlist-app,.tripy-account-referral-hero)){margin-bottom:0!important;z-index:2}
.ty-account-header + :is(.tripy-notifications-hero,.tripy-support-app,.tripy-wishlist-app,.tripy-account-referral-hero){margin-top:-4px!important;border-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}
.ty-account-header + :is(.tripy-support-app,.tripy-wishlist-app){width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.ty-account-header + .tripy-notifications-hero{padding-top:56px!important;border-radius:0 0 28px 28px!important}
.ty-account-header + .tripy-account-referral-hero{padding-top:56px!important;border-radius:0 0 28px 28px!important}
.ty-account-header + .tripy-support-app > .tripy-support-app__hero,
.ty-account-header + .tripy-wishlist-app > .tripy-wishlist-app__hero{padding-top:56px!important;border-radius:0 0 28px 28px!important}
.ty-account-header + .tripy-wishlist-app > .tripy-wishlist-app__hero{padding-bottom:20px!important}
@media(max-width:600px){
.ty-account-header + :is(.tripy-notifications-hero,.tripy-account-referral-hero),
.ty-account-header + .tripy-support-app > .tripy-support-app__hero,
.ty-account-header + .tripy-wishlist-app > .tripy-wishlist-app__hero{border-bottom-left-radius:22px!important;border-bottom-right-radius:22px!important}
}

/* account-header-compact-v1: spacing only, existing four account headers */
.ty-account-header:has(+ :is(.tripy-notifications-hero,.tripy-support-app,.tripy-wishlist-app,.tripy-account-referral-hero)){
  padding-bottom:0px!important;
  margin-top:-29px!important;
}
.ty-account-header .ty-account-header__wave{
  top:calc(100% - 5px);
}
.ty-account-header + .tripy-notifications-hero,
.ty-account-header + .tripy-account-referral-hero,
.ty-account-header + .tripy-support-app > .tripy-support-app__hero,
.ty-account-header + .tripy-wishlist-app > .tripy-wishlist-app__hero{
  padding-top:50px!important;
}

/* account-mobile-tweaks-v1: phone layout only */
@media (max-width:760px){
  .ty-account-header + .tripy-notifications-hero{
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    column-gap:14px;
  }
  .ty-account-header + .tripy-notifications-hero > .tripy-notifications-hero__icon{
    grid-column:1;
    grid-row:1;
  }
  .ty-account-header + .tripy-notifications-hero > .tripy-notifications-hero__copy{
    grid-column:2;
    grid-row:1;
    min-width:0;
    text-align:left;
    overflow-wrap:break-word;
  }
  .ty-account-header + .tripy-notifications-hero > .tripy-notifications-hero__stats{
    grid-column:1 / -1;
    grid-row:2;
    width:100%;
    min-width:0;
  }
  .ty-account-header + .tripy-wishlist-app .tripy-wishlist-app__share{
    display:none!important;
  }
  .ty-account-header + .tripy-support-app > .tripy-support-app__hero > .tripy-support-app__hero-copy{
    display:none!important;
  }
}

/* partner-profile-header-layout-v1 */
.ty-account-header:has(+ :is(.tripy-account-app-shell,.tripy-pdash,.tripy-partner-booking-toolbar)){
 padding-bottom:0!important;margin-top:-29px!important;margin-bottom:0!important;z-index:2;
}
.ty-account-header + :is(.tripy-account-app-shell,.tripy-pdash,.tripy-partner-booking-toolbar){
 margin-top:-4px!important;padding-top:50px!important;border-top-left-radius:0!important;border-top-right-radius:0!important;
}
.ty-account-header + .tripy-partner-booking-toolbar{border-bottom-left-radius:28px!important;border-bottom-right-radius:28px!important}

/* service-booking-first-gap-v1: same gap above the first card as between cards */
.ty-account-header + .tripy-partner-booking-toolbar + #tripy-partner-booking-results .tripy-partner-booking-list{padding-top:16px;}

/* service-journey-layout-v1: applies only to the service journey */
.ty-service-journey-header{padding-bottom:0!important;margin-top:-29px!important;margin-bottom:0!important;z-index:2}
.ty-service-journey-header .ty-account-header__wave{top:calc(100% - 5px)}
.ty-service-journey-header .ty-account-header__title{overflow-wrap:anywhere}
.ty-service-journey-header__home{display:grid;text-decoration:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 5px 14px rgba(0,0,0,.18);background:linear-gradient(145deg,#494338,#302c25);transition:background .18s,transform .18s}
.ty-service-journey-header__home:hover{background:#514836;transform:translateY(-1px)}
.ty-service-journey-header__home:focus-visible{outline:3px solid #e9c66e;outline-offset:4px}
.ty-service-journey-header + :is(.tripy-service-app-header,.tripy-service-flow-hero,.tripy-service-detail){margin-top:-4px!important;border-top-left-radius:0!important;border-top-right-radius:0!important}
.ty-service-journey-header + .tripy-service-app-header{padding-top:0!important;padding-left:0!important;padding-right:0!important}
.ty-service-journey-header + .tripy-service-app-header .tripy-service-app-header__bar{padding-top:50px!important;margin-top:0!important;border-radius:0 0 28px 28px!important}
.ty-service-journey-header + .tripy-service-flow-hero{padding-top:50px!important;border-radius:0 0 28px 28px!important}
.ty-service-journey-header + .tripy-service-detail{padding-top:34px!important}
@media(max-width:600px){
 .ty-service-journey-header{grid-template-columns:72px minmax(0,1fr) 44px;gap:10px;padding-left:14px;padding-right:14px}
 .ty-service-journey-header .ty-account-header__copy{text-align:center}
 .ty-service-journey-header .ty-account-header__title{font-size:22px;line-height:1.25}
 .ty-service-journey-header .ty-account-header__back{padding:0 10px;gap:4px}
 .ty-service-journey-header .ty-account-header__back svg{width:18px}
 .ty-service-journey-header .ty-service-journey-header__home{display:grid;width:44px;height:44px;border-radius:14px}
 .ty-service-journey-header + .tripy-service-detail{padding-top:20px!important}
}
@media(prefers-reduced-motion:reduce){.ty-service-journey-header__home{transition:none}}

/* listing-integrated-layout-v1 */
.ty-account-header.ty-listing-header{grid-template-columns:auto minmax(0,1fr);gap:16px 28px;padding:24px clamp(16px,4vw,64px) 0px;margin-top:-29px;margin-bottom:30px;min-height:0;z-index:2}
.ty-listing-header__back{text-decoration:none;white-space:nowrap;align-self:center}
.ty-listing-header .tripy-service-app-header__bar{grid-column:2;grid-row:1;min-width:0;margin:0;padding:0;border:0;border-radius:18px;background:rgba(255,255,255,.07);box-shadow:none}
.ty-listing-header .tripy-service-app-header__summary{display:flex;align-items:center;gap:14px;width:100%;min-width:0;padding:14px 16px;border:1px solid rgba(233,198,110,.25);border-radius:18px;background:transparent;color:#fff9e9;text-align:left;cursor:pointer}
.ty-listing-header .tripy-service-app-header__copy{flex:1;min-width:0}
.ty-listing-header .tripy-service-app-header__copy strong{color:#fff9e9;display:block;overflow-wrap:anywhere}
.ty-listing-header .tripy-service-app-header__copy small{color:#ded7c7;display:block;white-space:normal}
.ty-listing-header .tripy-service-app-header__edit{color:#f1d17d;background:rgba(233,198,110,.12)}
.ty-listing-header .tripy-service-app-header__meta{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;background:transparent;border:0;color:#fff9e9}
.ty-listing-header .tripy-service-app-header__topline{display:none}
.ty-listing-header .tripy-service-app-header__title{min-width:0}
.ty-listing-header .tripy-service-app-header__title small{display:inline-block;padding:9px 14px;border-radius:999px;border:1px solid rgba(233,198,110,.3);background:rgba(233,198,110,.08);color:#f1d17d;font-size:14px;line-height:1.3}
.ty-listing-header .tripy-service-app-header__actions{display:flex;gap:10px;align-items:center;margin-left:auto}
.ty-listing-header .tripy-service-app-header__flag{min-width:44px;min-height:44px;border-radius:14px;border:1px solid rgba(233,198,110,.3);background:rgb(255 255 255 / 0%);}
.ty-listing-header .tripy-service-app-header__flag img{width:28px;height:auto}
.ty-listing-header .tripy-service-app-header__chip{color:#fff9e9;background:rgba(255,255,255,.09)}
.ty-listing-header button:focus-visible{outline:3px solid #e9c66e;outline-offset:3px}
@media(max-width:600px){.ty-account-header.ty-listing-header{gap:12px;padding:20px 14px 0px;grid-template-columns:72px minmax(0,1fr)}.ty-listing-header .tripy-service-app-header__summary{padding:10px;gap:8px}.ty-listing-header .tripy-service-app-header__icon{display:none}.ty-listing-header .tripy-service-app-header__copy strong{font-size:16px}.ty-listing-header .tripy-service-app-header__copy small{font-size:12px}.ty-listing-header .tripy-service-app-header__edit{font-size:12px}.ty-listing-header .tripy-service-app-header__title small{font-size:12px;padding:8px 10px}}

/* listing-header-polish-v1 */
.ty-account-header.ty-listing-header{grid-template-columns:minmax(0,1fr)!important}
.ty-listing-header .tripy-service-app-header__bar{grid-column:1!important;display:flex;align-items:center;gap:12px;padding:12px!important;border-radius:22px;background:linear-gradient(120deg, rgb(233 198 110 / 0%), rgb(255 255 255 / 0%) 65%);}
.ty-listing-header .ty-listing-header__back{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;min-height:46px;padding:0;border-radius:15px;color:#fff9e9;background:linear-gradient(145deg,#60543c,#352f26)}
.ty-listing-header .ty-listing-header__back svg{width:23px;height:23px}
.ty-listing-header .tripy-service-app-header__summary{flex:1;width:auto;min-width:0;padding:4px 8px;border:0;border-radius:12px;background:transparent;box-shadow:none}
.ty-listing-header .tripy-service-app-header__title small{color:#fff!important;-webkit-text-fill-color:#fff!important}
#tripy-web-app[data-screen="service-list"] .tripy-service-save-search{margin:-40px 0 0!important;padding:50px 15px 15px!important;border-radius:0!important}
@media(max-width:600px){.ty-listing-header .tripy-service-app-header__bar{gap:8px;padding:10px!important}.ty-listing-header .ty-listing-header__back{flex-basis:44px;width:44px;height:44px;min-height:44px}.ty-listing-header .tripy-service-app-header__summary{padding:2px 0;gap:6px}}

/* listing-header-cleanup-layout-v1 */
.ty-listing-header .tripy-service-app-header__bar > .tripy-service-app-header__flag{flex:0 0 44px;display:grid;place-items:center;margin-left:2px;cursor:pointer}
#tripy-web-app[data-screen="service-list"] .tripy-service-save-search__body > span{display:none!important}
@media(max-width:760px){.ty-listing-header .tripy-service-app-header__bar > .tripy-service-app-header__flag{}}
