/**
 * Contact Support, design B "Support dashboard" (Card2Tap\Help\ContactPage, plugin 1.68.0): a navy header with the Help
 * search, topic cards, "You may find the answer faster here", ways to reach us, the form with the topics down its side
 * (a dropdown on phones), contact details, hours and the security notice. Visible focus; labels always visible; errors
 * in words next to each field; nothing conveyed by colour alone; one column and large tap targets on phones.
 */
.c2t-ct {
	--ct-accent: var(--c2t-color-accent, #2146f3);
	--ct-accent-soft: #eef2ff;
	--ct-ink: var(--c2t-color-text, #0a0a0a);
	--ct-text: #2b2f38;
	--ct-muted: #4b5161;
	--ct-line: #e2e5ec;
	--ct-line-strong: #c9ceda;
	--ct-bg: #f3f5f9;
	--ct-surface: #fbfcfe;
	--ct-bad: #b42318;
	--ct-bad-soft: #fff4f2;
	--ct-ok: #157347;
	--ct-ok-soft: #effaf3;
	--ct-warn: #7a4a00;
	--ct-warn-soft: #fff8e8;
	--ct-navy: #0f1c5e;
	--ct-navy-2: #1a2d8f;
	background: var(--ct-bg);
	color: var(--ct-text);
}
.c2t-ct h1, .c2t-ct h2, .c2t-ct h3 { text-wrap: balance; }
.c2t-ct a:focus-visible, .c2t-ct button:focus-visible, .c2t-ct input:focus-visible, .c2t-ct select:focus-visible, .c2t-ct textarea:focus-visible, .c2t-ct [tabindex="-1"]:focus-visible { outline: 3px solid var(--ct-accent); outline-offset: 3px; border-radius: 10px; }
.c2t-ct [tabindex="-1"]:focus:not(:focus-visible) { outline: none; }
.c2t-ct-ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ct-accent-soft); color: var(--ct-accent); }

/* The theme styles links and buttons on page sections; this page sets its own. */
body .c2t-help.c2t-ct a:not([data-c2t-x]) { color: inherit; text-decoration: none; }
body .c2t-help.c2t-ct .c2t-ct-signin a, body .c2t-help.c2t-ct .c2t-ct-popular a, body .c2t-help.c2t-ct .c2t-ct-info a, body .c2t-help.c2t-ct .c2t-ct-relbox a span { text-decoration: underline; text-underline-offset: 0.18em; }
body .c2t-help.c2t-ct .c2t-ct-signin a, body .c2t-help.c2t-ct .c2t-ct-info a { color: var(--ct-accent); }
body .c2t-help.c2t-ct a.c2t-help-btn--primary:not([data-c2t-x]) { color: #fff; }
body .c2t-help.c2t-ct a.c2t-help-btn:not(.c2t-help-btn--primary):not([data-c2t-x]) { color: var(--ct-ink); }
.c2t-ct .c2t-help-btn { white-space: normal; text-align: center; }
.c2t-ct button.c2t-help-btn:hover:not(.c2t-help-btn--primary) { background: #fff; color: var(--ct-ink); }
.c2t-ct button.c2t-help-btn--primary:hover { background: var(--ct-accent); color: #fff; }
.c2t-ct [hidden] { display: none !important; }

/* ---------------------------------------------------------------- header + search */
.c2t-ct-hero { padding: 30px 0 28px; background: linear-gradient(180deg, var(--ct-navy) 0%, var(--ct-navy-2) 100%); color: #dfe5ff; }
.c2t-ct .c2t-help-crumbs { display: block; }
body .c2t-help.c2t-ct .c2t-ct-hero .c2t-help-crumbs, body .c2t-help.c2t-ct .c2t-ct-hero .c2t-help-crumbs * { color: #c3cdf5; }
body .c2t-help.c2t-ct .c2t-ct-hero .c2t-help-crumbs a { text-decoration: underline; text-underline-offset: 0.18em; }
body .c2t-help.c2t-ct .c2t-ct-hero .c2t-help-crumbs a:hover { color: #fff; }
.c2t-ct-hero .c2t-help-crumbs ol { margin: 0 0 12px; }
.c2t-ct-title { margin: 0 0 8px; font-size: clamp(2rem, 4.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff !important; }
.c2t-ct-lead { margin: 0; max-width: 660px; font-size: 1.0625rem; line-height: 1.55; color: #dfe5ff; }
.c2t-ct-search { max-width: 720px; margin-top: 18px; }
.c2t-ct-search .c2t-help-search { position: relative; margin: 0; }
.c2t-ct-search .c2t-help-search__box { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 6px 0 16px; border: 2px solid transparent; border-radius: 16px; background: #fff; color: var(--ct-muted); }
.c2t-ct-search .c2t-help-search__box:focus-within { border-color: #8ea0ff; box-shadow: 0 0 0 4px rgba(142, 160, 255, 0.35); }
.c2t-ct-search .c2t-help-search__input { flex: 1; min-width: 0; padding: 12px 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; color: var(--ct-ink); font: inherit; font-size: 1.0625rem; }
.c2t-ct-search .c2t-help-search__go { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--ct-accent); color: #fff; cursor: pointer; }
.c2t-ct-search .c2t-help-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; }
.c2t-ct-popular { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 12px 0 0; font-size: 0.8125rem; color: #c3cdf5; }
body .c2t-help.c2t-ct .c2t-ct-popular a { color: #fff; }

/* ---------------------------------------------------------------- body */
.c2t-ct-body { display: grid; gap: 22px; padding-top: 28px; padding-bottom: 56px; }
.c2t-ct-h2 { margin: 0 0 14px; font-size: 1.375rem; line-height: 1.3; color: var(--ct-ink); }
.c2t-ct-h3 { margin: 0; font-size: 1.0625rem; line-height: 1.35; color: var(--ct-ink); }
.c2t-ct-h4 { margin: 8px 0 0; font-size: 1rem; color: var(--ct-ink); }
.c2t-ct-card { border: 1px solid var(--ct-line); border-radius: 18px; background: #fff; box-shadow: 0 6px 18px rgba(10, 16, 40, 0.05); }

.c2t-ct-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.c2t-ct-cats li { margin: 0; }
body .c2t-help.c2t-ct .c2t-ct-cat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--ct-line); border-radius: 16px; background: #fff; color: var(--ct-ink); box-shadow: 0 6px 18px rgba(10, 16, 40, 0.05); transition: border-color 0.15s, box-shadow 0.15s; }
.c2t-ct-cat:hover { border-color: var(--ct-accent); }
.c2t-ct-cat.is-current { border: 2px solid var(--ct-accent); padding: 15px; box-shadow: 0 0 0 4px var(--ct-accent-soft); }
.c2t-ct-cat.is-current::after { content: "✓"; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ct-accent); color: #fff; font-size: 0.75rem; font-weight: 700; }
.c2t-ct-cat strong { margin-top: 4px; font-size: 1rem; }
.c2t-ct-cat__text { font-size: 0.875rem; line-height: 1.45; color: var(--ct-muted); }
.c2t-ct-cat__go { margin-top: auto; padding-top: 4px; font-size: 0.8125rem; font-weight: 700; color: var(--ct-accent); }

.c2t-ct-try { padding: 16px 18px; }
.c2t-ct-try ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.c2t-ct-try li { margin: 0; }
body .c2t-help.c2t-ct .c2t-ct-try a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--ct-line); border-radius: 14px; background: #fff; color: var(--ct-ink); font-weight: 600; }
.c2t-ct-try a:hover { border-color: var(--ct-accent); }
.c2t-ct-try__label { flex: 1; min-width: 0; }
.c2t-ct-try a > .c2t-help-icon:last-child { color: var(--ct-muted); flex: none; }

.c2t-ct-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body .c2t-help.c2t-ct .c2t-ct-method { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border: 1px solid var(--ct-line); border-radius: 16px; background: #fff; color: var(--ct-ink); min-width: 0; }
.c2t-ct-method strong { margin-top: 6px; }
.c2t-ct-method > span:last-child { font-size: 0.875rem; color: var(--ct-muted); overflow-wrap: anywhere; }
a.c2t-ct-method:hover { border-color: var(--ct-accent); }
.c2t-ct-method.is-main { border-color: var(--ct-accent); }

/* ---------------------------------------------------------------- the form */
.c2t-ct-panel { scroll-margin-top: 90px; overflow: hidden; }
.c2t-ct-cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.c2t-ct-topics { margin: 0; padding: 14px 10px; border: 0; border-right: 1px solid var(--ct-line); background: var(--ct-surface); min-width: 0; }
.c2t-ct-topics__group { margin: 12px 8px 4px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ct-muted); }
.c2t-ct-topics__group:first-of-type { margin-top: 2px; }
.c2t-ct-topics ul { list-style: none; margin: 0; padding: 0; }
.c2t-ct-topics li { margin: 0; }
.c2t-ct-topic { position: relative; display: block; cursor: pointer; }
.c2t-ct-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c2t-ct-topic span { display: block; padding: 8px 10px; border-radius: 10px; font-size: 0.9375rem; font-weight: 600; color: var(--ct-ink); }
.c2t-ct-topic:hover span { background: #eef0f6; }
.c2t-ct-topic input:checked + span { background: var(--ct-accent-soft); color: var(--ct-accent); box-shadow: inset 3px 0 0 var(--ct-accent); }
.c2t-ct-topic input:focus-visible + span { outline: 3px solid var(--ct-accent); outline-offset: 1px; }
.c2t-ct-topics.is-invalid { box-shadow: inset 0 0 0 2px var(--ct-bad); }
.c2t-ct-topics > .c2t-ct-err { display: block; margin: 8px; }

.c2t-ct-main { display: grid; gap: 14px; align-content: start; padding: 20px 22px 22px; min-width: 0; }
.c2t-ct .c2t-help-field.c2t-ct-topicselect { display: none; }
.c2t-ct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.c2t-ct-wide { grid-column: 1 / -1; }
.c2t-ct .c2t-help-field { display: grid; gap: 6px; margin: 0; min-width: 0; align-content: start; }
.c2t-ct .c2t-help-field > label, .c2t-ct-files__label { font-weight: 600; color: var(--ct-ink); }
.c2t-ct-opt { font-weight: 400; color: var(--ct-muted); }
.c2t-ct .c2t-help-field input:not([type="file"]), .c2t-ct .c2t-help-field select, .c2t-ct .c2t-help-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--ct-line-strong); border-radius: 10px; background: #fff; color: var(--ct-ink); font: inherit; font-size: 1rem; box-shadow: none; }
.c2t-ct .c2t-help-field textarea { min-height: 120px; resize: vertical; }
.c2t-ct .c2t-help-field.is-invalid input, .c2t-ct .c2t-help-field.is-invalid select, .c2t-ct .c2t-help-field.is-invalid textarea { border: 2px solid var(--ct-bad); background: var(--ct-bad-soft); }
.c2t-ct-err { display: flex; gap: 6px; align-items: flex-start; color: var(--ct-bad); font-size: 0.875rem; font-weight: 600; }
.c2t-ct-err::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--ct-bad); color: #fff; font-size: 0.75rem; }
.c2t-ct .c2t-help-small { font-size: 0.8125rem; color: var(--ct-muted); line-height: 1.45; }

.c2t-ct-errsum { padding: 14px 16px; border: 2px solid var(--ct-bad); border-radius: 14px; background: var(--ct-bad-soft); color: var(--ct-bad); }
.c2t-ct-errsum p { margin: 0 0 6px; font-weight: 700; }
.c2t-ct-errsum ul { margin: 0; padding-left: 20px; }
body .c2t-help.c2t-ct .c2t-ct-errsum a { color: var(--ct-bad); text-decoration: underline; }

.c2t-ct-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ct-warn-soft); color: var(--ct-warn); font-size: 0.9375rem; }
.c2t-ct-note--plain { background: var(--ct-surface); color: var(--ct-muted); border: 1px solid var(--ct-line); }

.c2t-ct-relbox { padding: 14px; border-radius: 14px; background: #f1f4ff; }
.c2t-ct-relbox__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin: 0 0 10px; }
.c2t-ct-relbox__head > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ct-ink); }
.c2t-ct-relbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.c2t-ct-relbox li { margin: 0; }
body .c2t-help.c2t-ct .c2t-ct-relbox a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid #dbe2fb; border-radius: 12px; background: #fff; color: var(--ct-ink); font-weight: 600; }
.c2t-ct-relbox a span { flex: 1; min-width: 0; }
.c2t-ct-relbox a:hover { border-color: var(--ct-accent); }
.c2t-ct-relbox a .c2t-help-icon:first-child { color: var(--ct-accent); }
.c2t-ct-relbox a .c2t-help-icon:last-child { color: var(--ct-muted); }

.c2t-ct-signin { margin: -6px 0 0; }
.c2t-ct-ctx { display: grid; gap: 12px; margin: 0; padding: 14px; border: 1px dashed var(--ct-line-strong); border-radius: 14px; background: var(--ct-surface); min-width: 0; }
.c2t-ct-ctx__legend { float: left; width: 100%; margin: 0 0 2px; padding: 0; font-weight: 700; color: var(--ct-ink); }
.c2t-ct-ctx__legend + * { clear: both; }
.c2t-ct-pickup { padding: 14px; border-radius: 12px; background: var(--ct-warn-soft); color: var(--ct-warn); }
.c2t-ct-pickup p { margin: 0 0 4px; }
.c2t-ct-pickup p:last-child { margin: 6px 0 0; }
.c2t-ct-pickup__title { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.c2t-ct-auto { display: grid; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ct-line); }
.c2t-ct-auto p { margin: 0; font-size: 0.9375rem; }
.c2t-ct-auto .c2t-help-btn { justify-self: start; }

.c2t-ct-files { gap: 8px; }
.c2t-ct-drop { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px; border: 2px dashed var(--ct-line-strong); border-radius: 14px; background: #fff; }
.c2t-ct-drop.is-over { border-color: var(--ct-accent); background: var(--ct-accent-soft); }
.c2t-ct-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.c2t-ct-drop:focus-within .c2t-ct-addfile { outline: 3px solid var(--ct-accent); outline-offset: 3px; }
.c2t-ct-addfile { cursor: pointer; }
.c2t-ct-files.is-invalid .c2t-ct-drop { border-color: var(--ct-bad); background: var(--ct-bad-soft); }
.c2t-ct-filelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.c2t-ct-filelist:empty { display: none; }
.c2t-ct-file { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 12px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; }
.c2t-ct-file__name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.c2t-ct .c2t-ct-file__remove { flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; color: var(--ct-ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.c2t-ct .c2t-ct-file__remove:hover { border-color: var(--ct-bad); background: #fff; color: var(--ct-bad); }

.c2t-ct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.c2t-ct-actions p { margin: 0; }
.c2t-ct .c2t-ct-send { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.c2t-ct .c2t-ct-send:disabled { opacity: 0.6; cursor: progress; }
.c2t-ct-status { margin: 0; font-weight: 600; }
.c2t-ct-status:empty { display: none; }
.c2t-ct-status.is-error { padding: 12px 14px; border-radius: 12px; background: var(--ct-bad-soft); color: var(--ct-bad); }

/* ---------------------------------------------------------------- confirmation */
.c2t-ct-done { scroll-margin-top: 90px; display: grid; gap: 14px; justify-items: start; margin: 18px; padding: 26px; border: 1px solid #b7e2c9; border-radius: 18px; background: linear-gradient(180deg, var(--ct-ok-soft), #fff); }
.c2t-ct-done p { margin: 0; max-width: 680px; }
.c2t-ct-done__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ct-ok); color: #fff; }
.c2t-ct-done__title { margin: 0; font-size: 1.75rem; line-height: 1.2; color: var(--ct-ink); }
.c2t-ct-done__facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 28px; margin: 0; }
.c2t-ct-done__facts div { min-width: 0; }
.c2t-ct-done__facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ct-muted); }
.c2t-ct-done__facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ct-ink); overflow-wrap: anywhere; }
.c2t-ct-ref { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.0625rem; letter-spacing: 0.02em; }
.c2t-ct-done__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- contact details */
.c2t-ct-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.c2t-ct-foot .c2t-ct-card { display: grid; gap: 8px; align-content: start; padding: 16px 18px; }
.c2t-ct-foot p { margin: 0; }
.c2t-ct-addr { line-height: 1.5; }
.c2t-ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.c2t-ct-list li { display: flex; align-items: center; gap: 8px; margin: 0; overflow-wrap: anywhere; }
.c2t-ct-list .c2t-help-icon { color: var(--ct-accent); }
.c2t-ct-hours__main { font-weight: 600; color: var(--ct-ink); }
.c2t-ct-secure { border-color: #f1d9a3; background: var(--ct-warn-soft); color: var(--ct-warn); }
.c2t-ct-secure h2 { display: flex; align-items: center; gap: 8px; color: var(--ct-warn); }

/* ---------------------------------------------------------------- tablets */
@media (max-width: 1024px) {
	.c2t-ct-cats, .c2t-ct-try ul, .c2t-ct-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c2t-ct-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.c2t-ct-secure { grid-column: 1 / -1; }
}
/* The topic list becomes a dropdown. */
@media (max-width: 860px) {
	.c2t-ct-cols { grid-template-columns: minmax(0, 1fr); }
	.c2t-ct-topics { display: none; }
	.c2t-ct .c2t-help-field.c2t-ct-topicselect { display: grid; }
}
/* ---------------------------------------------------------------- phones */
@media (max-width: 640px) {
	.c2t-ct-hero { padding: 20px 0 22px; }
	.c2t-ct-search .c2t-help-search__input { font-size: 16px; } /* No iOS zoom on focus. */
	.c2t-ct-body { gap: 18px; padding-top: 20px; }
	.c2t-ct-cats { gap: 10px; }
	body .c2t-help.c2t-ct .c2t-ct-cat { padding: 12px; }
	.c2t-ct-cat.is-current { padding: 11px; }
	.c2t-ct-cat__text { font-size: 0.8125rem; }
	.c2t-ct-try ul, .c2t-ct-grid, .c2t-ct-foot { grid-template-columns: minmax(0, 1fr); }
	.c2t-ct-methods { gap: 10px; }
	body .c2t-help.c2t-ct .c2t-ct-method { padding: 12px; }
	.c2t-ct-main { padding: 16px; }
	.c2t-ct-ctx { padding: 12px; }
	.c2t-ct .c2t-help-field input:not([type="file"]), .c2t-ct .c2t-help-field select, .c2t-ct .c2t-help-field textarea { font-size: 16px; }
	.c2t-ct-actions, .c2t-ct-actions .c2t-ct-send, .c2t-ct-done__actions .c2t-help-btn { width: 100%; }
	.c2t-ct-done { margin: 12px; padding: 18px; }
	.c2t-ct-done__title { font-size: 1.5rem; }
	.c2t-ct-done__facts { grid-template-columns: minmax(0, 1fr); }
	.c2t-ct-secure { grid-column: auto; }
}
@media (max-width: 380px) {
	.c2t-ct-cats, .c2t-ct-methods { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.c2t-ct-cat { transition: none; }
}
