/* Shared support conversations, scoped away from cabinet forms and navigation. */
.gd-care-entry{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
footer .gd-care-entry{border:0;background:transparent;color:var(--accent,#08776d);font:inherit;padding:6px 0;cursor:pointer}
html body dialog.gd-care-center{box-sizing:border-box;width:min(940px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;border:1px solid #80959855;border-radius:20px;background:var(--gd-surface,var(--surface,#1b2230));color:var(--gd-text,var(--text,#edf1f7));overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 70px #0004}
html[data-theme=day] body dialog.gd-care-center{background:#fff;color:#24344d}
.gd-care-center::backdrop{background:#10202d70;backdrop-filter:blur(3px)}
.gd-care-center [hidden]{display:none!important}
.gd-care-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid #80959833;margin-bottom:16px}
.gd-care-head h2{margin:0;font-size:24px;line-height:1.3}
.gd-care-head button{flex:0 0 44px;width:44px;height:44px;padding:0;font-size:24px}
.gd-care-center button,.gd-care-center select,.gd-care-center input,.gd-care-center textarea{box-sizing:border-box;font:inherit;max-width:100%;min-width:0}
.gd-care-center button{min-height:44px;padding:10px 16px;border-radius:12px;white-space:nowrap;cursor:pointer}
.gd-care-center button:disabled{cursor:default;opacity:.6}
.gd-care-center :focus-visible{outline:3px solid #a88acb;outline-offset:3px}
.gd-care-toolbar,.gd-care-tabs,.gd-care-thread-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 0}
.gd-care-demo{padding:12px 14px;border:1px solid #a88acb66;border-radius:12px;color:inherit;font-size:14px;line-height:1.5;background:#a88acb12}
.gd-care-status{font-size:14px;line-height:1.5;min-height:20px;overflow-wrap:anywhere}
.gd-care-list{display:grid;gap:12px;margin:16px 0}
.gd-care-ticket{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 16px;width:100%;text-align:left;white-space:normal!important;background:transparent;color:inherit;border:1px solid #80959855}
.gd-care-ticket strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.gd-care-ticket small{grid-column:1/-1;font-size:12px;line-height:1.5;opacity:.75}
.gd-care-ticket.is-unread{border-color:#a88acb;border-left:4px solid #a88acb}
.gd-care-badge{font-size:12px;line-height:1.5;color:inherit;border-radius:20px;padding:4px 9px;background:#80959820;white-space:nowrap}
.gd-care-center form label{display:grid;gap:8px;margin:18px 0;font-size:14px;font-weight:500}
.gd-care-center form :is(input,textarea,select){display:block;width:100%;padding:12px;border:1px solid #80959866;border-radius:12px;background:transparent;color:inherit;line-height:1.45}
.gd-care-center form textarea{min-height:130px;resize:vertical}
.gd-care-center form p{font-size:13px;line-height:1.5;opacity:.8}
.gd-care-thread h3{font-size:20px;line-height:1.4;margin:16px 0 8px;overflow-wrap:anywhere}
.gd-care-messages{display:grid;gap:16px;margin:20px 0;max-height:360px;overflow:auto;padding:4px 8px 4px 0;overscroll-behavior:contain}
.gd-care-message{padding:16px;border:1px solid #80959844;border-radius:16px;background:#80959809;overflow-wrap:anywhere}
.gd-care-message.is-care{border-color:#a88acb66;background:#a88acb0d}
.gd-care-message .gd-care-message-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin:0 0 10px;font-size:13px}
.gd-care-message time{font-size:12px;opacity:.7}
.gd-care-message p{white-space:pre-wrap;line-height:1.55;margin:0}
@media(max-width:540px){html body dialog.gd-care-center{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);padding:16px;border-radius:16px}.gd-care-head h2{font-size:21px}.gd-care-center button{padding-inline:12px}.gd-care-ticket{grid-template-columns:minmax(0,1fr)}.gd-care-ticket .gd-care-badge{justify-self:start}.gd-care-thread-actions>*{flex:1 1 auto}.gd-care-messages{max-height:300px}.gd-care-center form button{width:100%}}
@media(prefers-reduced-motion:reduce){.gd-care-center *{scroll-behavior:auto!important}}
.gd-care-head h2:focus{outline:none}
.gd-care-entry[hidden]{display:none!important}

.gd-care-overline{font-size:14px;font-weight:600;line-height:1.5;margin:16px 0;color:inherit}

/* Client support is a visible cabinet action, not a footer link. */
.gd-care-entry[hidden]{display:none!important}
#cabinet .organization{flex-wrap:wrap}
#cabinet .organization>div{min-width:0;flex:1 1 200px}
html body #cabinet .gd-care-client-entry{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-height:46px;padding:11px 16px;border:1px solid #cfbfe5;border-radius:12px;background:#f2edf9;color:#694898;font-size:14px;font-weight:650;line-height:1.4;white-space:nowrap;margin-left:auto;cursor:pointer}
#cabinet .gd-care-client-entry svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme=night] body #cabinet .gd-care-client-entry{background:#30283f;border-color:#786090;color:#e1cef9}
@media(max-width:520px){html body #cabinet .gd-care-client-entry{margin:4px 0 0;min-height:46px}}
/* Give the reply field room for its focus ring and typed text. */
html body .gd-care-center [data-reply-form]{padding:8px 5px 4px}
html body .gd-care-center label{gap:12px}
html body .gd-care-center textarea{padding:18px 20px!important;line-height:1.65!important}
html body .gd-care-center textarea:focus-visible{outline-offset:3px}
.gd-care-unread,.gd-care-menu-unread{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#aa3358;color:#fff;font-size:11px;line-height:1;font-weight:750;flex:0 0 auto}.gd-care-unread[hidden],.gd-care-menu-unread[hidden]{display:none!important}.gd-owner-menu>summary{position:relative}.gd-care-menu-unread{position:absolute;top:-4px;right:-4px;border:2px solid var(--surface,#fff)}

/* Unread support stays next to the notification bell on phones. */
html body .gd-care-mobile-entry{display:none!important}
@media(max-width:767px){html body .gd-care-mobile-entry:not([hidden]){position:relative;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;margin:0;border:1px solid #b9a0d5;border-radius:13px;background:#eee5f8;color:#70469e;cursor:pointer}html[data-theme=night] body .gd-care-mobile-entry:not([hidden]){background:#382b49;color:#e5cdfc;border-color:#9473b2}.gd-care-mobile-count{position:absolute;top:-6px;right:-6px;display:flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border:2px solid var(--surface,#fff);border-radius:99px;background:#aa3358;color:#fff;font-size:11px;font-weight:750;line-height:1}.client-header-actions{flex-wrap:wrap;gap:10px}html body main>header:has(.client-header-actions){flex-wrap:wrap}.client-header-actions:has(.gd-care-mobile-entry:not([hidden])){margin-left:auto}}

.gd-care-entry>svg{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
