#client-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 28px));max-height:calc(100dvh - 32px);border:1px solid #203d3126;border-radius:24px;background:var(--paper,#f7f5ec);color:var(--ink,#203d31);padding:0;box-shadow:0 24px 100px #142b3150;font:16px EstateSans,Arial,sans-serif;overflow:auto}#client-dialog::backdrop{background:#16352980;backdrop-filter:blur(5px)}.client-top{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;border-bottom:1px solid #203d3120;font-size:14px}.client-top button{min-height:44px;padding:8px}#client-body{padding:clamp(20px,5vw,40px)}#client-body h1{font:clamp(30px,5vw,44px)/1.15 EstateSerif,Georgia,serif;margin:12px 0 20px}#client-body h2{font:26px EstateSerif,Georgia,serif;margin:18px 0 12px}#client-body p{line-height:1.6}#client-body form{display:grid;gap:16px;margin-top:24px}#client-body label{display:grid;gap:8px;font-size:14px}#client-body input{width:100%;box-sizing:border-box;background:#ffffff80;border:1px solid #203d3140;border-radius:10px;padding:13px;font:16px EstateSans,Arial,sans-serif;color:#203d31}#client-body small{display:block;font-size:13px;line-height:1.5;opacity:.8}#client-body button{min-height:44px;padding:12px 18px;border:1px solid #203d3140;border-radius:12px;font:14px EstateSans,Arial,sans-serif;color:inherit}#client-body .client-primary{background:#203d31;color:#fff;border:0}#client-body button:disabled{opacity:.55;cursor:wait}#client-body .client-switch{margin-top:16px;border:0;text-decoration:underline}#client-body [role=alert]{color:#9b341b;font-size:14px}#client-body [role=alert]:empty{display:none}.client-actions{display:flex;gap:10px;flex-wrap:wrap}.client-summary,.client-request{border:1px solid #203d3126;border-radius:18px;padding:22px;margin:20px 0;background:#fff5}.client-summary strong,.client-request strong{font-size:24px}.client-status{display:inline-block;padding:7px 12px;border-radius:30px;font-size:14px}.client-status.pending{background:#ffe4bd;color:#85440c}.client-status.accepted{background:#d9e7ce;color:#203d31}.client-status.cancelled{background:#e8e3dc;color:#5b5044}.client-notes{white-space:pre-wrap;overflow-wrap:anywhere}.client-request p{overflow-wrap:anywhere}.client-note{font-size:14px}.client-empty{padding:24px 0}#client-dialog[open]{animation:client-reveal .3s cubic-bezier(.16,1,.3,1)}@keyframes client-reveal{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){#client-dialog[open]{animation:none}}

.header-access{display:flex;align-items:center;gap:22px}#header-user{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #203d3129;border-radius:999px;color:var(--ink,#203d31);font:14px EstateSans,Arial,sans-serif;transition:background .2s,border-color .2s}#header-user svg{width:19px;height:19px}#header-user:hover{background:#203d310c;border-color:#203d3160}@media(max-width:850px){.floating-header .header-location{display:none}}@media(max-width:700px){.header-access{gap:8px}#header-user{padding:8px;gap:5px;font-size:13px}#header-user svg{width:16px;height:16px}}@media(max-width:380px){#header-user svg{display:none}.floating-header{padding-inline:10px}.floating-header .brand-type{font-size:1.35rem}.floating-header .brand svg{width:24px}.header-access{gap:5px}}

/* A quiet, practical guest welcome, within the existing estate widget. */
.guest-welcome{position:relative;isolation:isolate;padding:8px 0 18px;min-height:130px;overflow:hidden}.guest-welcome>img{position:absolute;right:-55px;bottom:-22px;width:240px;height:165px;object-fit:contain;opacity:.2;z-index:-1;mix-blend-mode:multiply;pointer-events:none}.guest-welcome h1{max-width:100%;overflow-wrap:anywhere}.guest-welcome p{margin:0;max-width:85%}.guest-notice:empty{display:none}.guest-notice:not(:empty){padding:12px 16px;border-radius:12px;background:#e3ebd7}.guest-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 16px}#client-body .guest-quick{display:flex;align-items:center;gap:12px;text-align:left;min-height:112px;padding:18px;background:#203d31;color:#fff;border:0;border-radius:18px;transition:transform .18s,background .18s}.guest-quick:hover{transform:translateY(-2px)}.guest-quick>span:nth-child(2){flex:1}.guest-quick strong{font-size:16px;line-height:1.4;display:block}.guest-quick small{margin-top:7px;opacity:1!important;color:#e0e8d3}.guest-quick-icon{font-size:26px;font-family:Georgia,serif}.guest-quick.is-confirmed{box-shadow:inset 0 0 0 2px #9db284}#client-body details>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;font-size:15px;list-style:none}#client-body details>summary::after{content:'+';font-size:23px;flex-shrink:0}#client-body details[open]>summary::after{content:'−'}#client-body details>summary::-webkit-details-marker{display:none}#client-body details>summary>span{margin-left:auto;font-size:13px;color:#516255}.guest-menu{padding:4px 18px;background:#e9ecdf;border-radius:14px}.guest-menu .menu-text{white-space:pre-wrap}.guest-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:26px}.guest-section-heading h2{margin:0!important}.guest-section-heading button{border:0!important;padding:8px!important;font-size:13px!important}.guest-stay{border:1px solid #203d3126;border-radius:18px;background:#fff8;margin:15px 0;padding:20px}.guest-stay h3{font:27px/1.2 EstateSerif,Georgia,serif;margin:18px 0 8px}.guest-stay>p{font-size:15px;margin:8px 0 18px}.guest-stay-top{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;font-size:13px}.guest-stay-top .client-status{font-size:13px}.guest-amounts{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px 0;border-top:1px solid #203d311b}.guest-amounts span{font-size:13px;display:block;margin-bottom:8px}.guest-amounts strong{font:24px EstateSerif,Georgia,serif}.guest-expenses{border-top:1px solid #203d311b}.guest-expense{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #203d3112;font-size:14px}.guest-expense strong{white-space:nowrap}.guest-help{display:grid;gap:8px;margin:20px 0}.guest-help>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;color:#203d31;text-decoration:none;padding:12px 16px;background:#e9ecdf;border-radius:12px;font-size:14px}.guest-help>a span{font-size:13px}.guest-help button{border:0!important;text-align:left;padding-left:16px!important}.guest-account,.guest-history{border-top:1px solid #203d3129;margin-top:16px;padding:6px 0}.guest-account p{overflow-wrap:anywhere}.guest-account form{margin-top:8px!important}.guest-account [data-profile-status]:empty{display:none}#guest-service{border:1px solid #203d3135;border-radius:18px;background:#fff8;margin:12px 0;padding:18px}.guest-service-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.guest-service-heading h2{font-size:24px!important;margin:0!important}.guest-service-heading button{border:0!important;padding:8px!important}#client-body select{max-width:100%;min-height:46px;font:16px EstateSans,Arial,sans-serif;padding:10px;border:1px solid #203d3140;border-radius:10px;background:#fff;color:#203d31}#guest-service [data-other-days]{margin-top:18px;background:transparent;width:100%;white-space:normal;text-align:left}#client-body [hidden]{display:none!important}#client-body :focus-visible{outline:3px solid #7a914c;outline-offset:3px}@media(max-width:520px){.guest-quick-grid{gap:8px}#client-body .guest-quick{padding:14px 12px;gap:8px;min-height:126px;align-items:flex-start;flex-wrap:wrap}.guest-quick>span:last-child{display:none}.guest-quick-icon{font-size:21px}.guest-quick strong{font-size:15px}.guest-quick>span:nth-child(2){flex-basis:100%}.guest-stay{padding:16px}.guest-help>a{align-items:flex-start;flex-direction:column;gap:5px}.guest-welcome>img{width:185px;right:-45px;opacity:.16}.guest-welcome p{max-width:100%}#client-body details>summary{font-size:14px}.guest-account summary>span{max-width:35%;overflow-wrap:anywhere}.guest-service-heading{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.guest-quick{transition:none!important}.guest-quick:hover{transform:none}}

/* Let native iOS form controls shrink inside the guest cards. */
#client-body,#client-body *{box-sizing:border-box}
#client-body form,#client-body label,#client-body form>*,#guest-service,#guest-service>div,#client-body .meal-panel{min-width:0;max-width:100%}
#client-body form,#client-body label{grid-template-columns:minmax(0,1fr)}
#client-body select,#client-body textarea,#client-body input{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
#client-body select{text-overflow:ellipsis}
#client-body button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#client-body .guest-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#client-body .guest-quick-grid>*{min-width:0}
#client-body [data-confirmed]{overflow-wrap:anywhere}
@media(max-width:520px){
 #client-body{padding:20px 16px}
 #guest-service{padding:16px 12px}
 #client-body .meal-panel{padding:14px 10px}
 #client-body .meal-attendance{grid-template-columns:minmax(0,1fr)}
 #client-body .guest-service-heading{flex-wrap:wrap}
 #client-body .meal-header{flex-wrap:wrap}
 #client-body .days-toolbar>div{flex-wrap:wrap}
}

.guest-linen{margin:24px 0;padding:18px;border:1px solid #203d3126;border-radius:16px;background:#e9ecdf}.guest-linen-room{padding:10px 0;border-bottom:1px solid #203d3120}.guest-linen h3{font-size:17px}.guest-linen .client-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#client-body .guest-linen button{padding:12px 10px;background:#fff8}#client-body .guest-linen button:disabled{opacity:1;color:#3f5d3b;background:#dce7d2;cursor:default}#client-body .guest-quick:disabled{cursor:default;opacity:.65}@media(max-width:380px){.guest-linen .client-actions{grid-template-columns:minmax(0,1fr)}}

.guest-balance{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:12px;background:#e3ebd7;margin:0 0 14px;font-size:16px}.guest-balance strong{font:28px EstateSerif,Georgia,serif;white-space:nowrap}.guest-payment{color:#285b40}.guest-payment strong{font-weight:700}
