/**
 * The Custom Design Studio Help page (Card2Tap\Help\StudioGuide, plugin 1.69.0, design C "Modern Interactive Help"):
 * a compact hero with the four ways and the flow, a sticky "On this page" (Jump to section on tablets and phones),
 * sections with real Studio screens, tabs, check examples, timelines and accordions. Visible focus; nothing conveyed by
 * colour alone; one column and large tap targets on phones; reduced motion respected.
 */
.c2t-sg {
	--sg-accent: var(--c2t-color-accent, #2146f3);
	--sg-accent-2: #1736c9;
	--sg-soft: #eef2ff;
	--sg-ink: var(--c2t-color-text, #0f172a);
	--sg-text: #2b3243;
	--sg-muted: #4f5869;
	--sg-line: #e3e7ef;
	--sg-surface: #f6f7fb;
	--sg-ok: #137a45;
	--sg-ok-soft: #e7f6ee;
	--sg-warn: #7a4a00;
	--sg-warn-soft: #fff4df;
	--sg-bad: #b42318;
	--sg-bad-soft: #fdeceb;
	--sg-navy: #0f1c5e;
	color: var(--sg-text);
}
.c2t-sg [hidden] { display: none !important; }
.c2t-sg h1, .c2t-sg h2, .c2t-sg h3 { color: var(--sg-ink); text-wrap: balance; letter-spacing: -0.02em; line-height: 1.2; }
.c2t-sg h2 { margin: 0 0 8px; font-size: 1.75rem; }
.c2t-sg h3 { margin: 22px 0 10px; font-size: 1.125rem; }
.c2t-sg p { margin: 0 0 12px; }
.c2t-sg ul, .c2t-sg ol { margin: 0; padding: 0; }
.c2t-sg a:focus-visible, .c2t-sg button:focus-visible, .c2t-sg select:focus-visible, .c2t-sg summary:focus-visible, .c2t-sg [tabindex]:focus-visible { outline: 3px solid var(--sg-accent); outline-offset: 3px; border-radius: 10px; }
/* The theme styles links and buttons on page sections; this page sets its own. */
body .c2t-help.c2t-sg .c2t-sg-sec p a:not(.c2t-help-btn):not(.c2t-sg-more), body .c2t-help.c2t-sg .c2t-sg-acc a, body .c2t-help.c2t-sg .c2t-sg-prod th a, body .c2t-help.c2t-sg .c2t-sg-meta a { color: var(--sg-accent); text-decoration: underline; text-underline-offset: 0.18em; }
body .c2t-help.c2t-sg a.c2t-help-btn--primary:not([data-c2t-x]) { color: #fff; }
body .c2t-help.c2t-sg a.c2t-help-btn:not(.c2t-help-btn--primary):not([data-c2t-x]) { color: var(--sg-ink); }
.c2t-sg button { white-space: normal; text-transform: none; letter-spacing: normal; }
.c2t-sg .c2t-help-btn { white-space: normal; text-align: center; }
.c2t-sg button.c2t-help-btn:hover { background: #fff; color: var(--sg-ink); }

/* ---------------------------------------------------------------- hero */
.c2t-sg-hero { padding: 28px 0 26px; border: 1px solid var(--sg-line); border-radius: 22px; background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%); }
.c2t-sg-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.c2t-sg .c2t-help-crumbs { display: block; }
.c2t-sg-title { margin: 10px 0 10px; font-size: clamp(2rem, 4vw, 2.6rem); }
.c2t-sg-lead { font-size: 1.125rem; line-height: 1.55; color: var(--sg-text); }
.c2t-sg-sub { color: var(--sg-muted); }
.c2t-sg-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.c2t-sg-ctas--sm { margin-top: 12px; }
.c2t-sg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 14px 0 0; font-size: 0.875rem; color: var(--sg-muted); }
.c2t-sg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.c2t-sg-paths { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.c2t-sg-paths li { margin: 0; }
body .c2t-help.c2t-sg .c2t-sg-path { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; height: 100%; padding: 14px; border: 1px solid var(--sg-line); border-radius: 16px; background: #fff; color: var(--sg-ink); text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06); }
.c2t-sg-path:hover { border-color: var(--sg-accent); }
.c2t-sg-path b { display: block; font-size: 0.9375rem; }
.c2t-sg-path b + span { font-size: 0.8125rem; color: var(--sg-muted); }
.c2t-sg-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sg-soft); color: var(--sg-accent); flex: none; }
.c2t-sg-steps { list-style: none; counter-reset: sg; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0 0 12px; }
.c2t-sg-hero .c2t-sg-steps { margin: 22px 0 0; padding: 12px 16px; border: 1px solid var(--sg-line); border-radius: 16px; background: #fff; }
.c2t-sg-steps li { counter-increment: sg; display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; font-size: 0.875rem; color: var(--sg-ink); }
.c2t-sg-steps li::before { content: counter(sg); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sg-accent); color: #fff; font-size: 0.75rem; font-weight: 700; flex: none; }
.c2t-sg-steps li:not(:last-child)::after { content: "→"; margin-left: 4px; color: #8a93a6; font-weight: 400; }

/* ---------------------------------------------------------------- layout */
.c2t-sg-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 30px; padding-bottom: 56px; }
.c2t-sg-side { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; border-left: 2px solid var(--sg-line); font-size: 0.875rem; }
.c2t-sg-side p { margin: 0 0 6px; padding: 0 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); }
.c2t-sg-side ul { list-style: none; }
.c2t-sg-side li { margin: 0; }
body .c2t-help.c2t-sg .c2t-sg-side a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--sg-muted); font-weight: 500; text-decoration: none; }
body .c2t-help.c2t-sg .c2t-sg-side a:hover { color: var(--sg-ink); }
body .c2t-help.c2t-sg .c2t-sg-side a[aria-current="true"] { border-color: var(--sg-accent); color: var(--sg-accent); font-weight: 700; }
.c2t-sg-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 52px; min-width: 0; }
.c2t-sg-main > * { min-width: 0; }
.c2t-sg-jump { display: none; }
.c2t-sg-jump label { display: block; margin-bottom: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sg-muted); }
.c2t-sg-jump select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #cfd5e1; border-radius: 12px; background: #fff; font: inherit; font-weight: 600; color: var(--sg-ink); }
.c2t-sg-sec { scroll-margin-top: 110px; }
.c2t-sg-intro { max-width: 760px; margin-bottom: 18px; font-size: 1.0625rem; color: var(--sg-muted); }
.c2t-sg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.c2t-sg-two > *, .c2t-sg-figs > * { min-width: 0; }
.c2t-sg-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.c2t-sg-stack { display: grid; gap: 10px; align-content: start; }
.c2t-sg-small { font-size: 0.875rem; color: var(--sg-muted); }
.c2t-sg-live { min-height: 1.4em; font-size: 0.875rem; font-weight: 600; color: var(--sg-ok); }

/* ---------------------------------------------------------------- parts */
.c2t-sg-tw { overflow-x: auto; border: 1px solid var(--sg-line); border-radius: 14px; }
.c2t-sg-tbl { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.c2t-sg-tbl th, .c2t-sg-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--sg-line); text-align: left; vertical-align: top; }
.c2t-sg-tbl thead th, .c2t-sg-tbl thead td { background: var(--sg-surface); font-size: 0.75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--sg-muted); }
.c2t-sg-tbl tbody th { color: var(--sg-ink); font-weight: 700; }
.c2t-sg-tbl tbody tr:last-child th, .c2t-sg-tbl tbody tr:last-child td { border-bottom: 0; }
.c2t-sg-cmp { min-width: 640px; }
.c2t-sg-cmp tbody th { width: 20%; }
.c2t-sg-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 4px 10px; border-radius: 999px; background: #eef0f4; color: #3a4252; font-size: 0.8125rem; font-weight: 600; }
.c2t-sg-chip--ok { background: var(--sg-ok-soft); color: var(--sg-ok); }
.c2t-sg-chip--warn { background: var(--sg-warn-soft); color: var(--sg-warn); }
.c2t-sg-chip--bad { background: var(--sg-bad-soft); color: var(--sg-bad); }
.c2t-sg-chip--b { background: var(--sg-soft); color: var(--sg-accent); }
.c2t-sg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.c2t-sg-ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 12px; }
.c2t-sg-ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.c2t-sg-ticks .c2t-help-icon { margin-top: 3px; color: var(--sg-ok); }
.c2t-sg-note { padding: 14px 16px; border: 1px solid var(--sg-line); border-radius: 14px; background: var(--sg-surface); }
.c2t-sg-note--warn { border-color: #f1d9a3; background: var(--sg-warn-soft); color: #5f3a00; }
.c2t-sg-note--b { border-color: #d6defc; background: var(--sg-soft); color: #1d2f7a; }
.c2t-sg-card { padding: 20px; border: 1px solid var(--sg-line); border-radius: 18px; background: #fff; }
.c2t-sg-kick { margin: 0 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); }
.c2t-sg-price { margin: 0 0 10px; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--sg-ink); }
.c2t-sg-price small { font-size: 0.8125rem; font-weight: 600; color: var(--sg-muted); letter-spacing: 0; }
.c2t-sg-tl { list-style: none; display: grid; gap: 0; margin: 0 0 12px; }
.c2t-sg-tl li { position: relative; display: grid; gap: 2px; margin: 0; padding: 0 0 14px 34px; }
.c2t-sg-tl li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 10px; height: 10px; border: 3px solid var(--sg-accent); border-radius: 50%; background: #fff; }
.c2t-sg-tl li::after { content: ""; position: absolute; left: 13px; top: 22px; bottom: 0; width: 2px; background: #d6defc; }
.c2t-sg-tl li:last-child::after { display: none; }
.c2t-sg-tl b { color: var(--sg-ink); }
.c2t-sg-tl span { font-size: 0.875rem; color: var(--sg-muted); }
.c2t-sg-tiles { list-style: none; counter-reset: sgt; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 0 0 12px; }
.c2t-sg-tiles li { counter-increment: sgt; display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border: 1px solid var(--sg-line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 0.875rem; color: var(--sg-ink); line-height: 1.3; }
.c2t-sg-tiles li::before { content: counter(sgt); display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sg-accent); color: #fff; font-size: 0.75rem; }
.c2t-sg-acc { border: 1px solid var(--sg-line); border-radius: 14px; background: #fff; }
.c2t-sg-acc + .c2t-sg-acc { margin-top: 10px; }
.c2t-sg-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 16px; cursor: pointer; font-weight: 700; color: var(--sg-ink); list-style: none; }
.c2t-sg-acc summary::-webkit-details-marker { display: none; }
.c2t-sg-acc summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sg-surface); color: var(--sg-muted); font-weight: 700; }
.c2t-sg-acc[open] summary::after { content: "−"; }
.c2t-sg-acc > div { padding: 0 16px 14px; }
.c2t-sg-acc > div > :last-child { margin-bottom: 0; }
.c2t-sg-fig { margin: 0; }
.c2t-sg-fig img { display: block; width: 100%; max-width: 100%; height: auto; border: 1px solid var(--sg-line); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .1); }
.c2t-sg-fig figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--sg-muted); }
.c2t-sg-read { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--sg-line); font-size: 0.875rem; }
.c2t-sg-read > span { color: var(--sg-muted); font-weight: 600; }
body .c2t-help.c2t-sg .c2t-sg-more { display: inline-flex; align-items: center; gap: 2px; color: var(--sg-accent); font-weight: 600; text-decoration: none; }
body .c2t-help.c2t-sg .c2t-sg-more:hover { text-decoration: underline; }

/* Tabs: every panel is shown without the script; with it, one at a time. */
.c2t-sg-tablist { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 4px; border: 1px solid var(--sg-line); border-radius: 14px; background: var(--sg-surface); }
.c2t-sg .c2t-sg-tablist button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 10px; background: none; color: var(--sg-muted); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.c2t-sg .c2t-sg-tablist button:hover { background: rgba(255, 255, 255, .7); color: var(--sg-ink); }
.c2t-sg .c2t-sg-tablist button[aria-selected="true"] { background: #fff; color: var(--sg-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.c2t-sg-panel + .c2t-sg-panel { margin-top: 18px; }
.c2t-sg.has-js .c2t-sg-panel + .c2t-sg-panel { margin-top: 0; }
.c2t-sg.has-js .c2t-sg-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.c2t-sg-panel:focus-visible { outline-offset: 6px; }

.c2t-sg-checks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 8px; }
.c2t-sg-checks li { display: grid; gap: 4px; align-content: start; margin: 0; padding: 14px; border: 1px solid var(--sg-line); border-radius: 14px; background: #fff; }
.c2t-sg-checks b { color: var(--sg-ink); }
.c2t-sg-checks span { font-size: 0.875rem; }
.c2t-sg-results { list-style: none; display: grid; gap: 10px; }
.c2t-sg-results li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0; font-size: 0.9375rem; }
.c2t-sg-results .c2t-sg-chip { justify-content: center; }
.c2t-sg-example { padding: 16px; border: 1px solid var(--sg-line); border-radius: 14px; background: #fff; }
.c2t-sg-example__title { margin: 0 0 8px; font-weight: 700; color: var(--sg-ink); }
.c2t-sg-example ul { list-style: none; display: grid; gap: 6px; }
.c2t-sg-example li { display: flex; gap: 10px; align-items: center; margin: 0; }
.c2t-sg-mk { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 0.75rem; font-weight: 800; }
.c2t-sg-mk--ok { background: var(--sg-ok-soft); color: var(--sg-ok); }
.c2t-sg-mk--warn { background: var(--sg-warn-soft); color: var(--sg-warn); }
.c2t-sg-mk--bad { background: var(--sg-bad-soft); color: var(--sg-bad); }
.c2t-sg-example__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--sg-line); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sg-muted); }
.c2t-sg-example__status .c2t-sg-chip { letter-spacing: 0; text-transform: none; }
.c2t-sg-prompts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 10px; }
.c2t-sg-prompts li { display: grid; gap: 10px; align-content: start; margin: 0; padding: 16px; border: 1px solid var(--sg-line); border-radius: 16px; background: #fff; }
.c2t-sg-prompts p { margin: 0; color: var(--sg-ink); }
.c2t-sg-prompts .c2t-sg-chip { justify-self: start; }
.c2t-sg .c2t-sg-copy { justify-self: start; min-height: 38px; padding: 0 14px; font-size: 0.875rem; }
.c2t-sg-trouble { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
.c2t-sg-trouble li { margin: 0; }
body .c2t-help.c2t-sg .c2t-sg-trouble a { display: grid; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--sg-line); border-radius: 16px; background: #fff; color: var(--sg-text); text-decoration: none; }
.c2t-sg-trouble a:hover { border-color: var(--sg-accent); }
.c2t-sg-trouble b { color: var(--sg-ink); }
.c2t-sg-trouble span { font-size: 0.875rem; color: var(--sg-muted); }
.c2t-sg-trouble .c2t-sg-open { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; color: var(--sg-accent); font-weight: 600; }
.c2t-sg-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, var(--sg-navy), var(--sg-accent)); color: #dfe5ff; scroll-margin-top: 110px; }
.c2t-sg-support h2 { color: #fff; font-size: 1.6rem; }
.c2t-sg-support p { max-width: 560px; margin: 0; color: #dfe5ff; }
.c2t-sg-support .c2t-sg-ctas { margin: 0; }
body .c2t-help.c2t-sg .c2t-sg-support a.c2t-help-btn--primary { border-color: #fff; background: #fff; color: var(--sg-navy); }
body .c2t-help.c2t-sg .c2t-sg-support a.c2t-help-btn:not(.c2t-help-btn--primary) { border-color: rgba(255, 255, 255, .55); background: transparent; color: #fff; }

/* ---------------------------------------------------------------- tablets: the sidebar becomes "Jump to section" */
@media (max-width: 1100px) {
	.c2t-sg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 18px; }
	.c2t-sg-side { display: none; }
	.c2t-sg-jump { display: block; position: sticky; top: 0; z-index: 5; padding: 10px 0; background: #fff; }
	.c2t-sg-checks, .c2t-sg-trouble { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c2t-sg-main { gap: 44px; }
}
@media (max-width: 900px) {
	.c2t-sg-hero__grid, .c2t-sg-two { grid-template-columns: minmax(0, 1fr); }
	.c2t-sg-prompts { grid-template-columns: minmax(0, 1fr); }
}
/* ---------------------------------------------------------------- phones */
@media (max-width: 640px) {
	.c2t-sg-hero { padding: 20px 0; }
	.c2t-sg-lead { font-size: 1.0625rem; }
	.c2t-sg h2 { font-size: 1.4rem; }
	.c2t-sg-paths, .c2t-sg-checks, .c2t-sg-trouble, .c2t-sg-figs { grid-template-columns: minmax(0, 1fr); }
	.c2t-sg-ctas, .c2t-sg-ctas .c2t-help-btn { width: 100%; }
	.c2t-sg-ctas .c2t-help-btn { justify-content: center; }
	.c2t-sg-results li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.c2t-sg-results .c2t-sg-chip { justify-self: start; }
	.c2t-sg-tablist { flex-wrap: nowrap; overflow-x: auto; }
	.c2t-sg .c2t-sg-tablist button { min-height: 44px; white-space: nowrap; }
	.c2t-sg .c2t-sg-copy { min-height: 44px; }
	.c2t-sg-jump select { font-size: 16px; }
	.c2t-sg-support { padding: 22px; }
	.c2t-sg-prod thead { display: none; }
	.c2t-sg-prod tr { display: grid; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--sg-line); }
	.c2t-sg-prod tr:last-child { border-bottom: 0; }
	.c2t-sg-prod th, .c2t-sg-prod td { padding: 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.c2t-sg * { scroll-behavior: auto !important; }
}
