/* eAppSys Meeting Scheduler */
.eams{--eams-accent:#ED1B24;--eams-ink:#1A1D29;--eams-muted:#5E6474;--eams-line:#E3E5EB;--eams-field:#F6F7F9;
  width:100%;max-width:100%;box-sizing:border-box;font-family:"Poppins","Segoe UI",Arial,sans-serif;background:#fff;color:#1F2937;padding:88px 0;scroll-margin-top:100px;line-height:1.6}
.eams *,.eams *::before,.eams *::after{box-sizing:border-box}
.eams [hidden]{display:none!important}
.eams-wrap{max-width:1140px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:56px;align-items:start}
.eams--stacked .eams-wrap{grid-template-columns:1fr;max-width:820px;gap:28px;text-align:center}
.eams--stacked .eams-form{text-align:left}
.eams--stacked .eams-faces{justify-content:center}
.eams h2{font-family:inherit;font-weight:700;font-size:clamp(30px,4vw,44px);line-height:1.15;margin:0 0 18px;color:#111827}
.eams-intro p{font-size:17px;margin:0 0 18px;color:#374151}
.eams-intro a{color:var(--eams-accent)}
.eams-faces{display:flex;margin-top:28px}
.eams-faces img{width:56px;height:56px;border-radius:50%!important;border:3px solid #fff!important;margin-left:-12px;object-fit:cover;box-shadow:0 2px 8px rgba(17,24,39,.2)}
.eams-faces img:first-child{margin-left:0}
.eams-form{background:#fff;color:var(--eams-ink);border:1px solid #E5E7EB;border-radius:16px;padding:32px;box-shadow:0 10px 40px rgba(17,24,39,.08);margin:0}
.eams fieldset{border:0;margin:0 0 22px;padding:0;min-width:0}
.eams legend{font-weight:600;font-size:14px;margin-bottom:10px;padding:0;color:var(--eams-ink)}
.eams-req{color:var(--eams-accent)}
.eams button{font-family:inherit;text-transform:none;letter-spacing:0;box-shadow:none;min-height:0;margin:0}
.eams-chips{display:flex;flex-wrap:wrap;gap:8px;border-radius:10px}
.eams .eams-chip{border:1.5px solid var(--eams-line)!important;background:transparent!important;color:var(--eams-ink)!important;font-weight:500!important;font-size:13px!important;padding:7px 14px!important;border-radius:999px!important;cursor:pointer;line-height:1.3!important}
.eams .eams-chip:hover{border-color:var(--eams-accent)!important}
.eams .eams-chip[aria-pressed="true"]{background:var(--eams-accent)!important;border-color:var(--eams-accent)!important;color:#fff!important}
.eams-daynav{display:flex;align-items:stretch;gap:6px;margin-bottom:10px}
.eams-days{flex:1;display:grid;grid-template-columns:repeat(var(--eams-cols,4),minmax(0,1fr));gap:8px}
.eams .eams-nav{flex:none;width:34px;border:1.5px solid var(--eams-line)!important;background:#fff!important;color:var(--eams-ink)!important;border-radius:10px!important;font-size:22px!important;line-height:1!important;cursor:pointer;padding:0!important}
.eams .eams-nav:disabled{opacity:.35;cursor:default}
.eams .eams-day{border:1.5px solid var(--eams-line)!important;background:transparent!important;color:var(--eams-ink)!important;border-radius:10px!important;padding:8px 4px!important;cursor:pointer;text-align:center;line-height:1.25!important}
.eams .eams-day b{display:block;font-weight:700;font-size:22px}
.eams .eams-day small{font-size:12px;color:var(--eams-muted)}
.eams .eams-day.is-empty{opacity:.5}
.eams .eams-day[aria-pressed="true"]{border-color:var(--eams-accent)!important;background:color-mix(in srgb,var(--eams-accent) 10%,#fff)!important}
.eams-slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:6px;border-radius:10px}
.eams .eams-slot{border:1.5px solid var(--eams-line)!important;background:transparent!important;color:var(--eams-ink)!important;font-weight:500!important;font-size:13px!important;padding:7px 0!important;border-radius:7px!important;cursor:pointer;font-variant-numeric:tabular-nums;line-height:1.3!important}
.eams .eams-slot:hover:not(:disabled){border-color:var(--eams-accent)!important}
.eams .eams-slot[aria-pressed="true"]{background:var(--eams-accent)!important;border-color:var(--eams-accent)!important;color:#fff!important}
.eams .eams-slot:disabled{background:#F3F4F6!important;color:#B6BBC6!important;border-style:dashed!important;cursor:not-allowed;text-decoration:line-through}
.eams-none{grid-column:1/-1}
.eams-small{font-size:12px;color:var(--eams-muted);margin:8px 0 0}
.eams-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.eams label{display:block;font-size:13px;font-weight:500;margin-bottom:5px;color:var(--eams-ink)}
.eams input:not([type=checkbox]),.eams select,.eams textarea{width:100%;font-family:inherit;font-size:15px;color:var(--eams-ink);background:var(--eams-field);border:1.5px solid var(--eams-line);border-radius:8px;padding:10px 12px;margin:0;box-shadow:none;height:auto}
.eams input:focus,.eams select:focus,.eams textarea:focus{outline:none;border-color:var(--eams-accent);background:#fff}
.eams textarea{min-height:76px;resize:vertical}
.eams-full{grid-column:1/-1}
.eams-consent label{display:flex;gap:10px;align-items:flex-start;font-weight:400;font-size:13px;line-height:1.5;margin:0}
.eams-consent label>span{display:block;flex:1}
.eams-consent input{margin-top:3px;accent-color:var(--eams-accent);width:16px;height:16px;flex:none}
.eams-consent a{color:var(--eams-accent)}
.eams-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.eams .is-invalid{outline:2px solid var(--eams-accent)!important;outline-offset:3px}
.eams-error{background:#FDECED;border:1px solid #F7B4B7;color:#9B1118;border-radius:8px;padding:10px 14px;font-size:14px;margin:0 0 14px}
.eams .eams-submit{width:100%;border:0!important;background:var(--eams-accent)!important;color:#fff!important;font-weight:600!important;font-size:16px!important;padding:15px!important;border-radius:8px!important;cursor:pointer}
.eams .eams-submit:hover{filter:brightness(.92)}
.eams .eams-submit:disabled{opacity:.6;cursor:wait}
.eams :focus-visible{outline:3px solid var(--eams-accent);outline-offset:2px}
.eams-done{text-align:center;padding:24px 8px}
.eams-done:focus{outline:none}
.eams-tick{width:64px;height:64px;border-radius:50%;background:var(--eams-accent);color:#fff;font-size:34px;line-height:64px;margin:0 auto 16px;font-weight:700}
.eams-done h3{font-family:inherit;font-weight:700;font-size:22px;margin:0 0 10px;color:#111827}
.eams-done p{font-size:15px;color:#374151;margin:0 0 10px}
.eams .eams-again{margin-top:10px;border:1.5px solid var(--eams-accent)!important;background:#fff!important;color:var(--eams-accent)!important;font-weight:600!important;font-size:14px!important;padding:10px 18px!important;border-radius:8px!important;cursor:pointer}
@media (max-width:900px){.eams-wrap{grid-template-columns:1fr;gap:32px}}
@media (max-width:600px){.eams{padding:56px 0}.eams-fields{grid-template-columns:1fr}.eams-form{padding:22px}}
@media (max-width:860px){.eams-wrap{grid-template-columns:1fr;gap:32px}}
@media (max-width:560px){.eams-fields{grid-template-columns:1fr}.eams-form{padding:22px}}
@media (prefers-reduced-motion: reduce){.eams *{scroll-behavior:auto!important}}
/* Mobile fix: stop theme styles adding height/offset to the booking section */
section.eams{min-height:0!important;height:auto!important;margin:0!important;float:none!important;transform:none!important}
.eams-wrap,.eams-form{min-height:0!important;height:auto!important;transform:none!important}
.eams-wrap>*{min-width:0}
@media (max-width:767px){section.eams{padding:40px 0 24px!important}.eams-wrap{display:block!important;padding:0 16px!important}.eams-intro{margin-bottom:24px}.eams-form{width:auto!important;max-width:100%!important;margin:0!important}}
/* Mobile polish */
@media (max-width:767px){.eams h2{font-size:28px;text-align:center}.eams-intro{text-align:center}.eams-intro p{font-size:15px}.eams-faces{justify-content:center;margin-top:16px}.eams-form{padding:20px!important;border-radius:14px}.eams .eams-submit{font-size:17px!important;padding:16px!important}}

/* Never let the form shrink narrower than its box */
.eams-wrap>*{min-width:0;width:100%}
.eams-form{box-sizing:border-box;width:100%}
