/* Onboarding — matched to the live site's design system (studied from prod):
 *   bg #181818 · warm panel #211d17 · cream ink #f4efe7 · gold accent #c7a46c
 *   headings Gloock (serif display) · body Poppins · gold pill eyebrows · rounded panels
 * The site is dark; content sits in a warm rounded panel with a photo-beside-text
 * hero, like the site's own sections (Our Story / supply-list). No white cards. */

/* hide the theme's redundant page title on the onboard page */
.mt-onboard-page .page-header{display:none}

/* the theme sets display on buttons etc., which silently defeats the [hidden]
 * attribute (same trap .mt-modal[hidden] patched before). Make hidden mean
 * hidden everywhere inside the onboarding UI. */
#mt-onboard [hidden],#mt-onboard-signin [hidden]{display:none !important}

#mt-onboard,#mt-onboard-signin{
  max-width:1000px;margin:1.5rem auto 3rem;padding:0 1.25rem;
  color:#e9e2d6;font-family:"Poppins",system-ui,Arial,sans-serif;line-height:1.6}
#mt-onboard h1,#mt-onboard h2,#mt-onboard-signin h1,#mt-onboard-signin h2{
  font-family:"Gloock",Georgia,serif;font-weight:400;color:#f7f2ea;line-height:1.15;margin:.2rem 0 .6rem}
#mt-onboard h1,#mt-onboard-signin h1{font-size:2rem}
#mt-onboard h2{font-size:1.35rem}
#mt-onboard p,#mt-onboard-signin p{color:#cdc6ba;margin:.5rem 0}

/* step header: step pill on the left, "skip for now" link inline on the right */
.mt-step-hd{display:flex;align-items:center;gap:1rem;margin-bottom:.6rem}
.mt-step-hd .mt-eyebrow{margin-bottom:0}
.mt-skip{font-size:.85rem;color:#c7a46c;text-decoration:underline;cursor:pointer;margin:0 0 0 auto;white-space:nowrap}
.mt-skip:hover{filter:brightness(1.12)}

/* gold pill eyebrow (like the site's "ON DREAM VACATION" badges) */
.mt-eyebrow{display:inline-block;background:#c7a46c;color:#181818;
  font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  padding:.32rem .85rem;border-radius:999px;margin-bottom:.4rem}

/* warm rounded panel */
.mt-panel{background:#211d17;border:1px solid #2f2a20;border-radius:18px;
  padding:2.2rem 2.3rem;margin-top:1.1rem}

/* progress stepper */
.mt-steps{list-style:none;display:flex;padding:0;margin:0 0 .4rem;counter-reset:s}
.mt-steps li{flex:1;position:relative;text-align:center;font-size:.76rem;color:#8a8275;padding-top:2.5rem}
.mt-steps li::before{counter-increment:s;content:counter(s);position:absolute;top:0;left:50%;
  transform:translateX(-50%);width:2rem;height:2rem;line-height:2rem;border-radius:50%;
  background:#3a352b;color:#cdc6ba;font-weight:600;font-family:"Poppins",sans-serif}
.mt-steps li::after{content:"";position:absolute;top:1rem;left:-50%;width:100%;height:2px;background:#3a352b;z-index:-1}
.mt-steps li:first-child::after{display:none}
.mt-steps li.is-active::before,.mt-steps li.is-done::before{background:#c7a46c;color:#181818}
.mt-steps li.is-done::before{content:"\2713"}
.mt-steps li.is-active{color:#f4efe7;font-weight:600}

/* photo-beside-text hero */
.mt-hero{display:flex;gap:2.2rem;align-items:center;flex-wrap:wrap}
.mt-hero img{width:300px;max-width:38%;height:auto;border-radius:14px;flex:none;box-shadow:0 8px 28px rgba(0,0,0,.45)}
.mt-hero-text{flex:1;min-width:280px}
@media(max-width:640px){.mt-hero{gap:1.4rem}.mt-hero img{width:auto;max-width:62%;margin:0 auto;display:block}}

/* sign-in actions */
.mt-signin-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.9rem;margin-top:1.5rem}
.mt-signin-alt{color:#cdc6ba;font-size:.9rem;text-decoration:underline}
.mt-signin-alt:hover{color:#c7a46c}

/* official "Sign in with Google" button (Google branding, stands on its own) */
.mt-gsi-btn{display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 16px;background:#fff;
  border:1px solid #747775;border-radius:6px;color:#1f1f1f;font-family:Roboto,Arial,sans-serif;
  font-size:14px;font-weight:500;text-decoration:none}
.mt-gsi-btn:hover{background:#f4f5f5;box-shadow:0 1px 3px rgba(0,0,0,.35)}
.mt-gsi-btn svg{width:18px;height:18px;display:block;flex:none}

/* form (dark inputs on the warm panel) */
.mt-form-row{display:flex;gap:1rem;flex-wrap:wrap}
.mt-form-row .mt-field{flex:1;min-width:150px}
.mt-field{margin:.7rem 0}
.mt-field label{display:block;font-size:.82rem;color:#b7b0a3;margin-bottom:.3rem}
.mt-field input{width:100%;box-sizing:border-box;background:#17140f;border:1px solid #463f33;
  color:#f4efe7;border-radius:9px;padding:.62rem .7rem;font:inherit;font-size:1rem}
.mt-field input::placeholder{color:#766f61}
.mt-field input:focus{outline:none;border-color:#c7a46c;box-shadow:0 0 0 2px rgba(199,164,108,.22)}
.mt-field select{width:100%;box-sizing:border-box;background:#17140f;border:1px solid #463f33;
  color:#f4efe7;border-radius:9px;padding:.62rem .7rem;font:inherit;font-size:1rem}
.mt-field select:focus{outline:none;border-color:#c7a46c;box-shadow:0 0 0 2px rgba(199,164,108,.22)}
.mt-field--wide{flex:2 1 260px}
.mt-field--sm{flex:0 1 120px;min-width:96px}
.mt-panel h3{font-family:"Gloock",Georgia,serif;color:#f7f2ea;font-weight:400;font-size:1.1rem;margin:1.5rem 0 .3rem}
.mt-optional{font-family:"Poppins",sans-serif;font-size:.72rem;color:#9b9282;letter-spacing:.02em}
.mt-hint{font-size:.82rem;color:#9b9282;margin:.2rem 0 .6rem}
.mt-hint[data-kind="err"]{color:#ff9b8a}
.mt-field input.mt-auto{background:#211d17;color:#cdc6ba}
/* emails already on file — shown grayed, not editable */
.mt-onfile{list-style:none;padding:0;margin:.4rem 0 1rem}
.mt-onfile li{display:flex;align-items:center;gap:.6rem;background:#1a1712;border:1px solid #2f2a20;
  border-radius:8px;padding:.5rem .75rem;margin:.3rem 0;opacity:.65}
.mt-onfile-v{color:#cdc6ba;font-size:.92rem}
.mt-onfile-t{color:#8a8275;font-size:.74rem;font-style:italic;margin-left:auto}
/* secondary button — outlined gold pill. !important to beat the theme's default pink button. */
.mt-add{display:inline-block;background:transparent !important;border:1.5px solid #c7a46c !important;color:#c7a46c !important;
  border-radius:999px;padding:.6rem 1.25rem;font-family:"Poppins",Arial,sans-serif;font-size:.92rem;font-weight:600;
  cursor:pointer;margin:.2rem .5rem .2rem 0;transition:background .15s}
.mt-add:hover{background:rgba(199,164,108,.14) !important}
#mt-prop-msg[data-kind="err"]{color:#ff9b8a}
#mt-prop-msg[data-kind="ok"]{color:#7fd49a}
/* PMS suggestion nudge — appears when 2+ booking platforms are added to one property */
.mt-nudge{background:#1a1712;border:1px solid #2f2a20;border-left:4px solid #c7a46c;border-radius:12px;
  padding:1rem 1.2rem;margin:1rem 0 .4rem}
.mt-nudge strong{display:block;color:#f4efe7;font-weight:600;margin-bottom:.25rem;font-size:.98rem}
.mt-nudge p{margin:0;color:#cdc6ba;font-size:.9rem;line-height:1.55}
.mt-nudge a{color:#c7a46c}
#mt-pp-msg[data-kind="err"]{color:#ff9b8a}
#mt-pp-msg[data-kind="ok"]{color:#7fd49a}

/* role checkboxes */
.mt-checks{display:flex;flex-wrap:wrap;gap:1.2rem;margin-top:.3rem}
.mt-check{display:inline-flex;align-items:center;gap:.45rem;color:#cdc6ba;font-size:.95rem}
.mt-check input{width:auto;accent-color:#c7a46c}

/* "added so far" list heading + multi-button row */
.mt-list-h{color:#f4efe7;font-weight:600;font-size:.92rem;margin:.7rem 0 .1rem}
.mt-prop-actions{display:flex;flex-wrap:wrap;gap:.7rem;align-items:center;margin-top:.4rem}

/* people list */
.mt-people{list-style:none;padding:0;margin:.6rem 0 0}
.mt-people li{color:#f4efe7;padding:.3rem 0;font-size:.95rem}
.mt-pp-email{color:#9b9282;font-size:.85rem}
.mt-pp-note{color:#c7a46c;font-size:.78rem;font-style:italic}

/* per-property assign blocks */
.mt-assign{background:#1a1712;border:1px solid #2f2a20;border-radius:12px;padding:1.1rem 1.2rem;margin:.9rem 0}
.mt-assign-hd{font-family:"Gloock",Georgia,serif;color:#f7f2ea;font-size:1.05rem;margin-bottom:.5rem}
.mt-assign-list{list-style:none;padding:0;margin:0 0 .6rem}
.mt-assign-list li{color:#9fd9b0;font-size:.9rem;padding:.15rem 0}
.mt-assign-actions{display:flex;flex-wrap:wrap;gap:.7rem}
.mt-picker{margin-top:.9rem;border-top:1px solid #2f2a20;padding-top:.9rem}
.mt-pick-row{align-items:flex-end}
.mt-assign-msg{min-height:1em;margin:.5rem 0 0;font-size:.88rem}
.mt-assign-msg[data-kind="err"]{color:#ff9b8a}
.mt-assign-msg[data-kind="ok"]{color:#7fd49a}
.mt-finish-wrap{margin-top:1.6rem;border-top:1px solid #2f2a20;padding-top:1.2rem}
/* terms step */
.mt-terms{max-height:240px;overflow:auto;background:#17140f;border:1px solid #463f33;border-radius:9px;
  padding:1rem;color:#cdc6ba;font-size:.9rem;line-height:1.55;margin:.6rem 0 1rem;white-space:pre-wrap}
.mt-agree{margin:.4rem 0 1.1rem;align-items:flex-start}
#mt-terms-msg[data-kind="err"]{color:#ff9b8a}
#mt-terms-msg[data-kind="ok"]{color:#7fd49a}

/* instructions modal */
.mt-modal{position:fixed;inset:0;z-index:99999;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:1rem}
.mt-modal[hidden]{display:none}
.mt-modal-box{background:#211d17;border:1px solid #2f2a20;border-radius:14px;padding:1.6rem 1.7rem;max-width:440px;
  color:#e9e2d6;font-family:"Poppins",system-ui,sans-serif;box-shadow:0 12px 40px rgba(0,0,0,.5)}
.mt-modal-box p{margin:0 0 1.2rem;color:#cdc6ba;line-height:1.55}
.mt-modal-box h3{font-family:"Gloock",Georgia,serif;color:#f7f2ea;font-weight:400;font-size:1.15rem}
.mt-modal-actions{display:flex;gap:.8rem;flex-wrap:wrap}
/* standing notice above the assign grid — everyone assigned here gets emailed */
.mt-assign-note{background:#1a1712;border-left:3px solid #c7a46c;border-radius:0 8px 8px 0;
  padding:.7rem .9rem;margin:.1rem 0 1rem;font-size:.86rem;line-height:1.55;color:#cdc6ba}
.mt-assign-note[hidden]{display:none}
.mt-assign-note strong{color:#f7f2ea}
/* primary button — filled gold pill. !important to beat the theme's default pink button. */
.mt-submit{margin-top:.4rem;background:#c7a46c !important;color:#181818 !important;border:none !important;border-radius:999px;
  padding:.78rem 1.8rem;font-family:"Poppins",sans-serif;font-size:1rem;font-weight:600;cursor:pointer}
.mt-submit:hover{filter:brightness(1.06)}
.mt-submit[disabled]{opacity:.6;cursor:default}
#mt-ob-msg{min-height:1.2em;margin:.4rem 0 0;font-size:.92rem}
#mt-ob-msg[data-kind="err"]{color:#ff9b8a}
#mt-ob-msg[data-kind="ok"]{color:#7fd49a}

/* ---- assign redesign (v0.9.0): everyone listed w/ include + Primary/Billing ---- */
.mt-asg-all{display:block;padding:.3rem 0 .5rem;border-bottom:1px solid #2f2a20;margin-bottom:.4rem;color:#e8e2d6;font-weight:600}
.mt-asg-rows{display:flex;flex-direction:column;gap:.35rem;margin:.3rem 0 .5rem}
.mt-asg-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;padding:.35rem .2rem;border-bottom:1px dashed #26221a}
.mt-asg-row:last-child{border-bottom:0}
.mt-asg-who{color:#f4efe7;font-size:.95rem}
.mt-asg-row .mt-checks{margin-top:0}
.mt-asg-row input:disabled+*,.mt-asg-row .mt-check:has(input:disabled){opacity:.45}
/* FRP "what is this?" bubble next to the FRP checkbox */
.mt-frp-info{display:inline-flex;align-items:center;justify-content:center;width:1.15rem;height:1.15rem;
  border:1px solid #c7a46c;border-radius:50%;color:#c7a46c;font-size:.72rem;font-weight:600;
  text-decoration:none;margin-left:-.5rem}
.mt-frp-info:hover{background:rgba(199,164,108,.14)}
#mt-pp-choice{margin:.8rem 0}
#mt-pp-choice .mt-prop-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:.6rem}
.mt-assign-msg{min-height:1.2em;margin:.4rem 0 0;font-size:.92rem}
.mt-assign-msg[data-kind="err"]{color:#ff9b8a}
.mt-assign-msg[data-kind="ok"]{color:#7fd49a}


/* Resort combobox — dropdown + type-ahead over the canonical resort list */
.mt-combo { position: relative; }
.mt-combo input { width: 100%; padding-right: 2.2rem; }
.mt-combo-caret {
  position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; padding: .25rem .4rem;
  font-size: 1rem; line-height: 1; color: inherit; opacity: .75;
}
.mt-combo-caret:hover { opacity: 1; }
.mt-combo-list {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 2px);
  margin: 0; padding: .25rem 0; list-style: none;
  max-height: 16rem; overflow-y: auto;
  background: #1f1f1f; border: 1px solid #444; border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
.mt-combo-list li {
  padding: .5rem .75rem; cursor: pointer; font-size: .95rem; line-height: 1.3;
}
.mt-combo-list li:hover, .mt-combo-list li.active { background: #33301f; color: #e8c979; }
.mt-combo-list li.mt-combo-empty { cursor: default; opacity: .8; font-style: italic; }
.mt-combo-list li.mt-combo-empty:hover { background: none; color: inherit; }
