/* Contact information uses the existing merchant/client typography and palette. */
.service-settings{max-width:820px;margin-bottom:24px}
.service-settings form{display:grid;gap:20px}
.service-settings label{display:grid;gap:9px;min-width:0}
.service-settings .service-kind{max-width:320px}
.service-settings input:not([type=checkbox]),.service-settings select,.service-settings textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit}
.service-settings textarea{padding:12px;border:1px solid var(--line);border-radius:10px;resize:vertical}
.service-settings input[type=file]{padding:12px;border:1px dashed var(--line);border-radius:8px}
.service-settings input[type=file]::file-selector-button{font:inherit;min-height:36px;margin-right:12px;padding:6px 10px;border:1px solid #697565;border-radius:6px;cursor:pointer}
.service-settings .service-channel{margin:0;padding:20px;border:1px solid var(--line);border-radius:12px;min-width:0;display:grid;gap:22px}
.service-settings .service-channel[hidden],.service-contact [hidden]{display:none!important}
.service-channel legend{padding:0 8px;font-weight:700}
.service-required{font-size:12px;color:var(--tenant-primary);font-weight:500}
.service-settings .form-note{margin:0;line-height:1.8}
.service-settings .check-line{display:flex;align-items:center;gap:8px}
.service-existing-qr{margin:16px 0;display:grid;gap:12px;justify-items:start}
.service-existing-qr img{display:block;width:160px;height:160px;object-fit:contain;background:white;border:8px solid white;box-sizing:border-box}
.service-settings button[type=submit]{justify-self:start;min-height:44px;padding-inline:24px}
.service-contact{display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:20px;margin:18px 0;background:var(--panel);min-width:0}
.service-contact-details{flex:1 1 180px;min-width:0}
.service-contact-title{font-size:13px;color:var(--muted);margin:0 0 10px}
.service-contact-number{font-size:24px;font-weight:700;line-height:1.45;overflow-wrap:anywhere;user-select:text;margin:0 0 10px}
.service-contact-value{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px;min-width:0}
.service-contact-value .service-contact-number{margin:0;max-width:100%}
.service-contact-value .service-chat-link{overflow-wrap:anywhere}
.service-contact .service-contact-copy{flex:0 1 auto;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--cr-line,var(--line,#697565));border-radius:8px;background:var(--cr-soft,var(--panel,#191c22));color:var(--cr-text,var(--text,#eee8dc));font:inherit;font-size:13px;line-height:1.5;cursor:pointer;white-space:normal}
.service-contact .service-contact-copy:focus-visible{outline:2px solid var(--cr-gold,var(--tenant-primary,#d6ad66));outline-offset:3px}
.service-contact .service-contact-copy:disabled{cursor:wait;opacity:.65}
.service-contact-copy-feedback{margin:0 0 8px;font-size:13px;line-height:1.8;color:var(--cr-muted,var(--muted));overflow-wrap:anywhere}
.service-contact .service-contact-copy-manual{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin:0 0 10px;padding:10px;border:1px solid var(--cr-line,var(--line,#697565));border-radius:8px;background:var(--cr-soft,var(--panel,#191c22));color:var(--cr-text,var(--text,#eee8dc));font:inherit;font-size:16px;user-select:all}
.service-contact-help{color:var(--muted);font-size:13px;line-height:1.8;margin:0 0 8px}
.service-chat-link{display:inline-flex;align-items:center;min-height:44px;line-height:1.6}
.service-contact-qr{display:grid;gap:8px;justify-items:center;max-width:100%;font-size:12px}
.service-contact-qr img{display:block;width:192px;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:white;border:8px solid white;box-sizing:border-box}
.service-contact-confirm{flex:1 1 100%;min-width:0;border-top:1px solid var(--line);padding-top:16px}
@media(max-width:600px){.service-settings .service-channel{padding:16px 12px}.service-settings input,.service-settings select,.service-settings textarea{font-size:16px;min-height:44px}.service-settings .service-kind{max-width:none}.service-settings button[type=submit]{width:100%}.service-contact{padding:16px;gap:16px}.service-contact-number{font-size:22px}}

html.merchant-contact-open{overflow:hidden}
body.cr-client .merchant-contact-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:24px;border:1px solid var(--cr-line,#54462f)!important;border-radius:20px!important;background:var(--cr-card,#191c22)!important;color:var(--cr-text,#eee8dc)!important;box-shadow:0 24px 90px #0008;overflow:auto;overscroll-behavior:contain}
body.cr-client .merchant-contact-dialog::backdrop{background:#000a;backdrop-filter:blur(5px)}
body.cr-client .merchant-contact-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
body.cr-client .merchant-contact-dialog-merchant{margin:0 0 5px;color:var(--cr-muted,#b9b4aa);font-size:13px;line-height:1.6;overflow-wrap:anywhere}
body.cr-client .merchant-contact-dialog h2{margin:0;color:var(--cr-text,#eee8dc)!important;font-size:22px;line-height:1.4}
body.cr-client .merchant-contact-dialog-close{display:grid;place-items:center;flex:none;width:44px;min-height:44px;margin:0;padding:0!important;border:1px solid var(--cr-line,#54462f)!important;border-radius:12px!important;background:var(--cr-soft,#14171c)!important;color:var(--cr-text,#eee8dc)!important;font:inherit!important;font-size:28px!important;line-height:1!important;cursor:pointer}
body.cr-client .merchant-contact-dialog-close:focus-visible{outline:2px solid var(--cr-gold,#d6ad66)!important;outline-offset:3px}
body.cr-client .merchant-contact-dialog .service-contact{margin:0;padding:18px;border:1px solid var(--cr-line,#54462f)!important;background:var(--cr-soft,#14171c)!important}
body.cr-client .merchant-contact-dialog .service-contact-number{color:var(--cr-text,#eee8dc)!important}
@media(max-width:600px){body.cr-client .merchant-contact-dialog{padding:18px;width:calc(100% - 28px);max-height:calc(100dvh - 32px)}body.cr-client .merchant-contact-dialog-heading{margin-bottom:16px}body.cr-client .merchant-contact-dialog .service-contact{padding:16px;justify-content:center}body.cr-client .merchant-contact-dialog .service-contact-details{flex-basis:100%}}
