/* Guest sign-in window and account page for themes other than Premium (Premium carries the same rules in its shell.css). */
.pm-am__x{position:absolute;top:12px;inset-inline-end:12px;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#5C5C5C;font-size:22px;line-height:1;cursor:pointer}
.pm-am__x{background:#fff;z-index:2}
.pm-pop__main,.pm-account__main{display:block;width:100%;height:48px;border:0;border-radius:10px;background:var(--pv-accent);color:var(--pm-on-accent);font:700 15px/48px inherit;text-align:center;text-decoration:none;cursor:pointer}
.pm-am{position:fixed;inset:0;z-index:9500;display:grid;place-items:center;padding:16px}
.pm-am[hidden],.pm-pop[hidden]{display:none}
.pm-am__bg{position:absolute;inset:0;background:rgba(10,10,10,.55);backdrop-filter:blur(4px)}
.pm-am__box{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);width:min(960px,100%);min-height:520px;overflow:hidden;border-radius:22px;background:#fff;color:#0A0A0A}
.pm-am__left{display:flex;align-items:center;padding:44px 40px}
.pm-am__left form{width:100%}
.pm-am__left form[hidden]{display:none}
.pm-am__left h2{margin:0 0 8px;font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.02em;color:#0A0A0A}
.pm-am__left p{margin:0 0 22px;font-size:15px;line-height:1.5;color:#5C5C5C}
.pm-am__left input{display:block;width:100%;height:56px;padding:0 18px;border:1px solid #DCDCDC;border-radius:12px;font:inherit;font-size:16px;color:#0A0A0A;background:#fff;box-sizing:border-box}
.pm-am__left input:focus{outline:0;border-color:var(--pv-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--pv-accent) 25%,transparent)}
.pm-am__left button[type=submit]{width:100%;height:56px;margin-top:14px;border:0;border-radius:12px;background:#0A0A0A;color:#fff;font:700 16px inherit;cursor:pointer}
.pm-am__left button[type=submit]:hover{background:#2E2E2E;color:#fff}
.pm-am__err{margin:10px 0 0!important;color:#B3261E!important;font-size:14px!important}
.pm-am__err[hidden]{display:none}
.pm-am__back{display:block;width:100%;margin-top:10px;padding:8px;border:0;background:none;color:#5C5C5C;font:600 14px inherit;cursor:pointer}
.pm-am__right img{display:block;width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.pm-am__box{grid-template-columns:minmax(0,1fr);min-height:0}.pm-am__right{display:none}.pm-am__left{padding:44px 22px 28px}}
.pm-am__google{min-height:44px;display:flex;justify-content:center}
.pm-am__or{display:flex;align-items:center;gap:12px;margin:14px 0;color:#8A8A8A;font-size:13px}
.pm-am__or::before,.pm-am__or::after{content:"";flex:1;border-top:1px solid #E5E5E5}
/* Sign-in modal: every control shares the width of the Google button */
html body .pm-am__box{grid-template-columns:minmax(0,500px) minmax(0,1fr);width:min(940px,100%);min-height:0;border-radius:20px;box-shadow:0 40px 90px -30px rgba(0,0,0,.7)}
html body .pm-am__left{align-items:center;justify-content:center;padding:44px 50px}
html body .pm-am__left form{max-width:400px;margin:0 auto}
html body .pm-am__left h2{margin-bottom:8px;font-size:26px;line-height:1.2;color:#0A0A0A;text-wrap:balance}
html body .pm-am__left p{margin:0 0 22px;font-size:15px;line-height:1.5;color:#5C5C5C}
html body .pm-am__google{display:block;min-height:44px;overflow:visible;color-scheme:light}
html body .pm-am__or{margin:16px 0;font-size:13px}
html body .pm-am__left input{height:48px;padding:0 14px;border-radius:6px;font-size:16px}
html body .pm-am__left button[type=submit]{height:48px;margin-top:10px;border-radius:6px;font-size:15px;font-weight:600}
html body .pm-am__left .pm-am__community{margin:20px 0 0;padding-top:16px;border-top:1px solid #ECECEC;font-size:14px;color:#5C5C5C;text-align:center}
.pm-am__community b{font-weight:600;color:#0A0A0A}
.pm-am__right{position:relative;min-height:520px;background:#0A0A0A}
.pm-am__right img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% center}
.pm-am__right::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,8,10,.74),rgba(8,8,10,0) 34%)}
.pm-am__stats{position:absolute;z-index:1;inset:0 0 auto;display:flex;gap:32px;padding:26px 60px 0 26px;background:none;color:#fff}
.pm-am__stats small{display:block;margin-bottom:3px;font-size:12.5px;color:rgba(255,255,255,.82)}
.pm-am__stats b{font-size:19px;font-weight:600;color:#fff;white-space:nowrap}
html body .pm-am__x{top:14px;inset-inline-end:14px;width:32px;height:32px;background:rgba(255,255,255,.92);color:#0A0A0A;font-size:20px}
@media (max-width:860px){html body .pm-am__box{grid-template-columns:minmax(0,1fr);width:min(460px,100%)}.pm-am__right{display:none}html body .pm-am__left{padding:44px 24px 28px}html body .pm-am__x{background:#F1F1F1}}
html body .pm-account{min-height:56vh;padding:clamp(36px,5vw,72px) 0 clamp(56px,7vw,96px);background:#F6F6F4}
.pm-account__in{width:100%;max-width:1000px;margin:0 auto;padding:0 32px;box-sizing:border-box}
html body .pm-account h1{font-size:clamp(28px,3vw,40px);line-height:1.1}
.pm-account__gate{max-width:480px;margin:clamp(10px,4vw,48px) auto 0;padding:clamp(28px,4vw,44px);border:1px solid #E5E5E5;border-radius:18px;background:#fff;text-align:center}
.pm-account__gate p{margin:12px 0 24px;font-size:16px;line-height:1.55;color:#5C5C5C}
html body .pm-account__main{height:50px;border-radius:10px;font-size:15px;font-weight:600;line-height:50px}
.pm-account__code{display:inline-block;margin-top:16px;color:#0A0A0A;font-size:14.5px;font-weight:600;text-underline-offset:3px}
.pm-account__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:28px}
.pm-account__head p{margin:6px 0 0;color:#5C5C5C;font-size:15px}
.pm-account__actions{display:flex;align-items:center;gap:10px}
.pm-account__new{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:10px;background:var(--pv-accent);color:var(--pm-on-accent);font-size:14.5px;font-weight:600;text-decoration:none}
html body .pm-account__actions button{height:42px;padding:0 16px;border:1px solid #DCDCDC;border-radius:10px;background:#fff;color:#0A0A0A;font:600 14.5px inherit;cursor:pointer}
.pm-account h2{margin:28px 0 12px;font-size:17px;font-weight:700;color:#0A0A0A}
.pm-account__empty{padding:32px;border:1px solid #E5E5E5;border-radius:16px;background:#fff;color:#5C5C5C;font-size:16px;text-align:center}
.pm-account__empty p{margin:0}
.pm-trips{display:grid;gap:10px}
html body .pm-trip{display:grid;grid-template-columns:96px minmax(0,1fr) auto auto 20px;align-items:center;gap:18px;margin:0;padding:16px 18px;border:1px solid #E5E5E5;border-radius:14px;background:#fff;color:#0A0A0A;text-decoration:none;transition:border-color .15s}
html body .pm-trip:hover{border-color:#0A0A0A}
.pm-trip__date b{display:block;font-size:14.5px;font-weight:600}
.pm-trip__date small{display:block;margin-top:2px;color:#5C5C5C;font-size:13.5px}
.pm-trip__route{min-width:0}
.pm-trip__route b{display:block;font-size:14.5px;font-weight:600}
.pm-trip__route small{display:block;margin-top:2px;color:#5C5C5C;font-size:13.5px}
.pm-trip__pnr{font-size:13px;color:#5C5C5C}
.pm-trip__route b,.pm-trip__route small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pm-trip__state{padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap}
.pm-trip__state--on{background:color-mix(in srgb,var(--pv-accent) 22%,#fff);color:#0A0A0A}
.pm-trip__state--done{background:#ECECEC;color:#2E2E2E}
.pm-trip__state--off{background:#FBE9E7;color:#9B2C20}
html body .pm-trip__go{width:18px;height:18px;color:#8A8A8A}
@media (max-width:760px){
  .pm-account__in{padding:0 16px}
  html body .pm-trip{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px}
  .pm-trip__date{grid-column:1;display:flex;gap:8px;align-items:baseline}
  .pm-trip__date small{margin:0}
  .pm-trip__state{grid-column:2;grid-row:1}
  .pm-trip__route{grid-column:1 / -1}
  html body .pm-trip__pnr{display:block;grid-column:1;font-size:13px}
  html body .pm-trip__go{grid-column:2;justify-self:end}
  .pm-account__actions{width:100%}
  .pm-account__new{flex:1;justify-content:center}
}
/* Email field with its icon */
.pm-am__field{position:relative;display:block}
.pm-am__field svg{position:absolute;top:50%;inset-inline-start:15px;width:20px;height:20px;transform:translateY(-50%);color:#8A8A8A;pointer-events:none;transition:color .2s}
.pm-am__field:focus-within svg{color:#0A0A0A}
html body .pm-am__field input{padding-inline-start:46px}
/* Phones: a full screen sheet with the photo and figures on top, as on the original */
@media (max-width:860px){
  html body .pm-am{z-index:10000;padding:0;place-items:stretch}
  html body .pm-am__box{display:flex;flex-direction:column;width:100%;height:100%;border-radius:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain}
  html body .pm-am__right{display:block;order:-1;flex:none;width:100%;min-height:0;aspect-ratio:5/3;max-height:44vh}
  html body .pm-am__right::after{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(255,255,255,0) 40%)}
  html body .pm-am__stats{gap:26px;padding:18px 64px 0 18px;color:#0A0A0A}
  html body .pm-am__stats small{color:#3D3D3D;font-size:12.5px}
  html body .pm-am__stats b{color:#0A0A0A;font-size:16px}
  html body .pm-am__left{flex:1 0 auto;align-items:flex-start;padding:26px 24px calc(26px + env(safe-area-inset-bottom,0px))}
  html body .pm-am__left form{max-width:none}
  html body .pm-am__left h2{font-size:24px}
  html body .pm-am__x{position:absolute;top:14px;inset-inline-end:14px;background:rgba(255,255,255,.95);box-shadow:0 2px 10px rgba(0,0,0,.12)}
}
/* Account sign-in screen with a photo */
html body .pm-account__gate.has-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);max-width:860px;padding:0;overflow:hidden;text-align:start}
.pm-account__gate.has-photo .pm-account__photo{display:block;width:100%;height:100%;min-height:380px;object-fit:cover}
.pm-account__gate.has-photo .pm-account__gate-in{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(28px,4vw,48px)}
@media (max-width:760px){html body .pm-account__gate.has-photo{grid-template-columns:minmax(0,1fr);text-align:center}.pm-account__gate.has-photo .pm-account__photo{min-height:0;aspect-ratio:4/3}.pm-account__gate.has-photo .pm-account__gate-in{align-items:center}}
@media (max-width:860px){
  html body .pm-am__right img{object-position:center 22%}
  html body .pm-am__right::after{background:linear-gradient(180deg,rgba(14,14,16,.72),rgba(14,14,16,0) 46%)}
  html body .pm-am__stats{color:#fff}
  html body .pm-am__stats small{color:rgba(255,255,255,.82)}
  html body .pm-am__stats b{color:#fff}
}
/* Window without a photo: one column */
html body .pm-am--solo .pm-am__box{grid-template-columns:minmax(0,1fr);width:min(500px,100%)}
@media (max-width:860px){html body .pm-am--solo .pm-am__box{height:auto;min-height:100%}}
/* Header button of the account */
.m-account{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border:0;border-radius:6px;background:transparent;font:inherit;font-size:.85rem;font-weight:600;color:#17150F;text-decoration:none;white-space:nowrap;cursor:pointer}
.m-account:hover{background:rgba(0,0,0,.05)}
.m-account svg{width:17px;height:17px}
@media (max-width:460px){.m-account span{display:none}.m-account{padding:0 9px}}
