/* Customer-facing YapMobile, isolated from owner-only task controls. */
#yapmobile-customer-dialog{width:min(94vw,790px);max-height:90dvh;overflow:auto;border:1px solid var(--border,#d7e3da);border-radius:22px;padding:0;background:var(--panel,#fff);color:var(--fg,#18251c);box-shadow:0 20px 75px #0005;font:14px/1.55 system-ui}
#yapmobile-customer-dialog::backdrop{background:#0a1715a8;backdrop-filter:blur(3px)}
#yapmobile-customer-dialog *{box-sizing:border-box}
#yapmobile-customer-dialog .ymc-wrap{padding:clamp(18px,3vw,30px);display:grid;gap:22px}
#yapmobile-customer-dialog .ymc-head{display:flex;gap:20px;align-items:flex-start;justify-content:space-between}
#yapmobile-customer-dialog .ymc-head small,#yapmobile-customer-dialog .ymc-connect small{display:block;letter-spacing:.08em;font-size:11px;font-weight:750;color:#26704b}
#yapmobile-customer-dialog h2{font-size:29px;line-height:1.12;letter-spacing:-.035em;margin:7px 0}
#yapmobile-customer-dialog h3{font-size:17px;line-height:1.4;margin:0 0 8px}
#yapmobile-customer-dialog p{margin:4px 0;color:var(--muted,#596b60)}
#yapmobile-customer-dialog button{background:transparent;border:1px solid var(--border,#d7e3da);color:inherit;border-radius:11px;padding:9px 13px;font:inherit;cursor:pointer;min-height:40px}
#yapmobile-customer-dialog button:focus-visible,#yapmobile-customer-dialog a:focus-visible{outline:2px solid #278354;outline-offset:3px}
#yapmobile-customer-dialog [data-ymc=close]{flex:none;width:38px;padding:0;font-size:25px}
#yapmobile-customer-dialog .ymc-connect{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:var(--bubble,#edf5ef);padding:17px;border-radius:15px}
#yapmobile-customer-dialog .ymc-content{display:grid;grid-template-columns:1.15fr 1fr;gap:25px}
#yapmobile-customer-dialog form{display:grid;gap:10px;margin:14px 0 8px}
#yapmobile-customer-dialog label{font-weight:650}
#yapmobile-customer-dialog textarea{font:inherit;color:inherit;background:var(--panel,#fff);border:1px solid var(--border,#b7cabc);border-radius:12px;padding:12px;width:100%;resize:vertical}
#yapmobile-customer-dialog .ymc-primary{background:#216d47;color:white;border-color:#216d47;font-weight:750}
#yapmobile-customer-dialog .ymc-guide{border-left:1px solid var(--border,#d7e3da);padding-left:24px}
#yapmobile-customer-dialog ol{margin:10px 0 16px;padding-left:20px;display:grid;gap:8px}
#yapmobile-customer-dialog a{color:#26704b;font-weight:650}
#yapmobile-customer-dialog [data-ymc=message]{font-size:12px}
@media(max-width:610px){#yapmobile-customer-dialog .ymc-content{grid-template-columns:1fr}#yapmobile-customer-dialog .ymc-guide{border-left:0;border-top:1px solid var(--border,#d7e3da);padding:18px 0 0}}

/* A compact, discoverable entry stays inside the live chat composer area. */
#yapmobile-chat-bridge #yapmobile-chat-open,.ymc-chat-entry #yapmobile-chat-open{border:1px solid var(--border,#c9d7cb);border-radius:99px;padding:7px 12px;min-height:34px;background:var(--bubble,#edf5ef);color:var(--fg,#18251c);font:650 12px/1.4 system-ui;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
#yapmobile-chat-bridge #yapmobile-chat-open:hover,.ymc-chat-entry #yapmobile-chat-open:hover{background:var(--panel,#fff)}
#yapmobile-chat-bridge #yapmobile-chat-open:focus-visible,.ymc-chat-entry #yapmobile-chat-open:focus-visible{outline:2px solid var(--accent,#278354);outline-offset:2px}
.ymc-chat-entry{margin:0 0 5px;display:flex}
