/* Gaemster QR Studio 1.2.0
 * Every selector is scoped under .gqrs so it can't collide with the theme.
 * Override the sticky offset for a taller site header with:  .gqrs { --gqrs-sticky: 120px; }
 */
.gqrs {
	--gqrs-ink: #0b1d46;
	--gqrs-muted: #56627c;
	--gqrs-line: #dfe5ef;
	--gqrs-line-strong: #b9c4d8;
	--gqrs-soft: #f4f7fc;
	--gqrs-focus: #0b57d0;
	--gqrs-ok-bg: #e4f6ea; --gqrs-ok: #0a6a31;
	--gqrs-warn-bg: #fff3d1; --gqrs-warn: #764700;
	--gqrs-bad-bg: #fde7e4; --gqrs-bad: #a3200f;
	--gqrs-info-bg: #e8f0fe; --gqrs-info: #1c3f8f;
	--gqrs-sticky: 100px;
	box-sizing: border-box;
	max-width: 1120px;
	margin: 24px auto;
	color: var(--gqrs-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.45;
	text-align: left;
	container-type: inline-size;
	container-name: gqrs;
}
.gqrs *, .gqrs *::before, .gqrs *::after { box-sizing: border-box; }
.gqrs [hidden] { display: none !important; }

.gqrs h2, .gqrs h3, .gqrs h4, .gqrs dl, .gqrs dd, .gqrs dt, .gqrs p, .gqrs ul, .gqrs fieldset, .gqrs legend, .gqrs pre { margin: 0; padding: 0; }

/* Neutralize aggressive theme styles on elements we use (uppercase labels, pill buttons, colored headings, etc.) */
.gqrs h2, .gqrs h3, .gqrs h4, .gqrs label, .gqrs legend, .gqrs summary, .gqrs button, .gqrs input, .gqrs select, .gqrs textarea, .gqrs p, .gqrs li {
	text-transform: none; letter-spacing: normal; text-shadow: none; font-family: inherit; font-style: normal;
}
.gqrs h2, .gqrs h3, .gqrs h4 { font-weight: 800; color: var(--gqrs-ink); }
.gqrs label { display: block; font-size: 14px; font-weight: 700; color: var(--gqrs-ink); line-height: 1.3; }
.gqrs legend, .gqrs summary { color: var(--gqrs-ink); }
.gqrs button { box-shadow: none; background-image: none; text-shadow: none; }
.gqrs details { border: 0; background: none; margin: 0; padding: 0; }
.gqrs summary { list-style-position: inside; }
.gqrs pre { border: 0; }
.gqrs ul { list-style: none; }
.gqrs a { color: var(--gqrs-focus); text-decoration: underline; text-underline-offset: 2px; }

.gqrs-sr {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.gqrs :focus-visible { outline: 3px solid var(--gqrs-focus); outline-offset: 2px; }

.gqrs-loading, .gqrs-noscript { color: var(--gqrs-muted); padding: 20px 0; }

/* ---------- Heading (optional) ---------- */
.gqrs .gqrs-head { margin-bottom: 20px; }
.gqrs .gqrs-eyebrow { color: var(--gqrs-muted); font-weight: 700; font-size: 14px; }
.gqrs .gqrs-head :is(h2, h3, h4) { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 4px 0 8px; color: var(--gqrs-ink); }
.gqrs .gqrs-lede { color: var(--gqrs-muted); max-width: 60ch; }

/* ---------- Layout ---------- */
.gqrs .gqrs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: 20px;
	align-items: start;
}
.gqrs .gqrs-card {
	background: #fff;
	border: 1px solid var(--gqrs-line);
	border-radius: 18px;
	padding: 22px;
	box-shadow: 0 8px 30px rgba(15, 35, 75, .05);
	min-width: 0;
}
.gqrs .gqrs-preview { position: sticky; top: var(--gqrs-sticky); }
.gqrs .gqrs-history, .gqrs .gqrs-tips { margin-top: 20px; }
.gqrs .gqrs-card :is(h2, h3, h4) { font-size: 18px; line-height: 1.2; color: var(--gqrs-ink); margin: 0; }

/* ---------- Type chips ---------- */
.gqrs .gqrs-types { border: 0; min-width: 0; }
.gqrs .gqrs-types legend, .gqrs .gqrs-design legend { font-weight: 800; font-size: 15px; padding: 0; margin-bottom: 10px; color: var(--gqrs-ink); }
.gqrs .gqrs-typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; }
.gqrs .gqrs-chip { position: relative; }
.gqrs .gqrs-chip input {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1;
}
.gqrs .gqrs-chip label {
	display: flex; align-items: center; justify-content: center; text-align: center;
	min-height: 46px; padding: 8px 10px; margin: 0;
	border: 1.5px solid var(--gqrs-line-strong); border-radius: 12px; background: #fff;
	font-size: 15px; font-weight: 700; line-height: 1.2; color: var(--gqrs-ink);
}
.gqrs .gqrs-chip input:hover + label { border-color: var(--gqrs-ink); }
.gqrs .gqrs-chip input:checked + label { background: var(--gqrs-ink); border-color: var(--gqrs-ink); color: #fff; }
.gqrs .gqrs-chip input:focus-visible + label { outline: 3px solid var(--gqrs-focus); outline-offset: 2px; }

.gqrs .gqrs-helprow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin: 14px 0 16px; }
.gqrs .gqrs-typehelp { color: var(--gqrs-muted); font-size: 15px; flex: 1 1 260px; }

/* ---------- Fields ---------- */
.gqrs .gqrs-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; }
.gqrs .gqrs-w6 { grid-column: span 6; }
.gqrs .gqrs-w3 { grid-column: span 3; }
.gqrs .gqrs-w2 { grid-column: span 2; }
.gqrs .gqrs-field { min-width: 0; }
.gqrs .gqrs-field > label, .gqrs .gqrs-color > label {
	display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--gqrs-ink); line-height: 1.3;
}
.gqrs .gqrs-req { color: var(--gqrs-muted); font-weight: 500; }

.gqrs input[type="text"], .gqrs input[type="url"], .gqrs input[type="email"], .gqrs input[type="tel"],
.gqrs input[type="password"], .gqrs input[type="datetime-local"], .gqrs select, .gqrs textarea {
	display: block; width: 100%; max-width: 100%; min-height: 46px; margin: 0;
	padding: 10px 12px;
	font: inherit; font-size: 16px; /* 16px stops iPhones zooming in on focus */
	line-height: 1.3; color: var(--gqrs-ink); letter-spacing: normal; text-transform: none;
	background: #fff; border: 1.5px solid var(--gqrs-line-strong); border-radius: 10px; box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
.gqrs select {
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230b1d46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 9px;
}
.gqrs textarea { min-height: 92px; resize: vertical; }
.gqrs input::placeholder, .gqrs textarea::placeholder { color: #7b869d; opacity: 1; }
.gqrs input[aria-invalid="true"], .gqrs textarea[aria-invalid="true"] { border-color: var(--gqrs-bad); background: #fffafa; }
.gqrs input:disabled { opacity: .5; }

.gqrs .gqrs-ferr { color: var(--gqrs-bad); font-size: 14px; font-weight: 600; margin-top: 6px; }
.gqrs .gqrs-hint { color: var(--gqrs-muted); font-size: 13px; margin-top: 5px; }

.gqrs .gqrs-checkbox { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 600; margin: 0; cursor: pointer; }
.gqrs .gqrs-checkbox input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--gqrs-ink); }

.gqrs .gqrs-pw { display: flex; gap: 8px; align-items: stretch; }
.gqrs .gqrs-pw input { flex: 1 1 auto; min-width: 0; }
.gqrs .gqrs-showpw {
	flex: none; min-width: 76px; min-height: 46px; padding: 0 12px; margin: 0;
	border: 1.5px solid var(--gqrs-line-strong); border-radius: 10px; background: #fff; color: var(--gqrs-ink);
	font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
}
.gqrs .gqrs-showpw:hover { border-color: var(--gqrs-ink); background: var(--gqrs-soft); }

.gqrs details.gqrs-more { margin-top: 14px; border: 1px solid var(--gqrs-line); border-radius: 12px; padding: 0 14px; }
.gqrs details.gqrs-more[open] { padding-bottom: 14px; }
.gqrs details.gqrs-more > summary, .gqrs .gqrs-tips > summary, .gqrs .gqrs-inside > summary {
	cursor: pointer; font-weight: 700; font-size: 15px; min-height: 46px; display: flex; align-items: center; color: var(--gqrs-ink);
}
.gqrs details.gqrs-more > .gqrs-fields { margin-top: 2px; }
.gqrs summary::-webkit-details-marker { display: none; }
.gqrs summary::marker { content: ""; }
.gqrs summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 20px; font-weight: 700; line-height: 1; color: var(--gqrs-muted); }
.gqrs details[open] > summary::after { content: "−"; }

/* ---------- Design ---------- */
.gqrs .gqrs-design { border: 0; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--gqrs-line); min-width: 0; }
.gqrs .gqrs-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.gqrs .gqrs-colorrow { display: flex; gap: 8px; align-items: stretch; }
.gqrs input[type="color"] {
	-webkit-appearance: none; appearance: none; flex: none;
	width: 52px; height: 46px; min-height: 46px; padding: 3px; margin: 0;
	background: #fff; border: 1.5px solid var(--gqrs-line-strong); border-radius: 10px; cursor: pointer;
}
.gqrs input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.gqrs input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
.gqrs input[type="color"]::-moz-color-swatch { border: 0; border-radius: 6px; }
.gqrs .gqrs-hex { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; text-transform: lowercase; }
.gqrs .gqrs-swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.gqrs .gqrs-swatch {
	width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--gqrs-line-strong);
	cursor: pointer; padding: 0; margin: 0;
}
.gqrs .gqrs-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--gqrs-ink); }
.gqrs .gqrs-design .gqrs-field { margin-top: 10px; }

/* ---------- Buttons ---------- */
.gqrs .gqrs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gqrs .gqrs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 20px; margin: 0;
	font: inherit; font-size: 16px; font-weight: 800; line-height: 1.2; letter-spacing: normal; text-transform: none; text-decoration: none;
	color: var(--gqrs-ink); background: #fff;
	border: 1.5px solid var(--gqrs-line-strong); border-radius: 12px; box-shadow: none; cursor: pointer;
}
.gqrs .gqrs-btn:hover:not(:disabled) { border-color: var(--gqrs-ink); background: var(--gqrs-soft); }
.gqrs .gqrs-btn--primary { background: var(--gqrs-ink); border-color: var(--gqrs-ink); color: #fff; }
.gqrs .gqrs-btn--primary:hover:not(:disabled) { background: #14306b; border-color: #14306b; }
.gqrs .gqrs-btn--small { min-height: 44px; padding: 6px 14px; font-size: 15px; }
.gqrs .gqrs-btn:disabled { opacity: .45; cursor: not-allowed; }
.gqrs .gqrs-link {
	background: none; border: 0; padding: 10px 0; margin: 0; min-height: 44px; font: inherit; font-size: 15px; font-weight: 700;
	color: var(--gqrs-focus); text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}

/* ---------- Preview ---------- */
.gqrs .gqrs-previewhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 14px; }
.gqrs .gqrs-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1.2; }
.gqrs .gqrs-pill::before { margin-right: 6px; font-weight: 900; }
.gqrs .gqrs-pill.is-idle { background: var(--gqrs-soft); color: var(--gqrs-muted); }
.gqrs .gqrs-pill.is-pass { background: var(--gqrs-ok-bg); color: var(--gqrs-ok); }
.gqrs .gqrs-pill.is-pass::before { content: "✓"; }
.gqrs .gqrs-pill.is-warn { background: var(--gqrs-warn-bg); color: var(--gqrs-warn); }
.gqrs .gqrs-pill.is-warn::before { content: "!"; }
.gqrs .gqrs-pill.is-fail { background: var(--gqrs-bad-bg); color: var(--gqrs-bad); }
.gqrs .gqrs-pill.is-fail::before { content: "✕"; }

.gqrs .gqrs-stage {
	display: flex; align-items: center; justify-content: center;
	min-height: 300px; padding: 18px; border-radius: 16px; background: var(--gqrs-soft);
}
.gqrs .gqrs-stage.is-transparent {
	background-color: #fff;
	background-image: linear-gradient(45deg, #e4e9f2 25%, transparent 25%, transparent 75%, #e4e9f2 75%), linear-gradient(45deg, #e4e9f2 25%, transparent 25%, transparent 75%, #e4e9f2 75%);
	background-size: 20px 20px; background-position: 0 0, 10px 10px;
}
.gqrs .gqrs-canvas { display: block; width: 100%; max-width: 340px; height: auto; border-radius: 4px; box-shadow: 0 2px 14px rgba(11, 29, 70, .12); }
.gqrs .gqrs-empty { color: var(--gqrs-muted); font-size: 15px; text-align: center; max-width: 24ch; }
.gqrs .gqrs-meta { color: var(--gqrs-muted); font-size: 13px; margin: 10px 0 0; overflow-wrap: anywhere; }

.gqrs .gqrs-results { display: grid; gap: 8px; margin: 16px 0; }
.gqrs .gqrs-result { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.gqrs .gqrs-result .gqrs-ic {
	flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
	font-size: 13px; font-weight: 900; line-height: 1; margin-top: 1px; color: #fff;
}
.gqrs .gqrs-rt { min-width: 0; overflow-wrap: anywhere; }
.gqrs .gqrs-result.is-pass { background: var(--gqrs-ok-bg); } .gqrs .gqrs-result.is-pass .gqrs-ic { background: var(--gqrs-ok); }
.gqrs .gqrs-result.is-warn { background: var(--gqrs-warn-bg); } .gqrs .gqrs-result.is-warn .gqrs-ic { background: var(--gqrs-warn); }
.gqrs .gqrs-result.is-fail { background: var(--gqrs-bad-bg); } .gqrs .gqrs-result.is-fail .gqrs-ic { background: var(--gqrs-bad); }
.gqrs .gqrs-result.is-info { background: var(--gqrs-info-bg); } .gqrs .gqrs-result.is-info .gqrs-ic { background: var(--gqrs-info); }

.gqrs .gqrs-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.gqrs .gqrs-dl .gqrs-btn { flex: 1 1 140px; }
.gqrs .gqrs-toast { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--gqrs-ok); }
.gqrs .gqrs-inside { margin-top: 8px; border-top: 1px solid var(--gqrs-line); }
.gqrs .gqrs-pre {
	white-space: pre-wrap; overflow-wrap: anywhere; max-height: 180px; overflow: auto;
	background: var(--gqrs-soft); border-radius: 10px; padding: 12px; font-size: 13px; line-height: 1.4;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--gqrs-ink);
}
.gqrs .gqrs-privacy { color: var(--gqrs-muted); font-size: 13px; margin-top: 12px; }

/* ---------- History + tips ---------- */
.gqrs .gqrs-historyhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.gqrs .gqrs-historylist { margin-top: 10px; }
.gqrs .gqrs-empty-history { color: var(--gqrs-muted); font-size: 15px; padding: 6px 0; }
.gqrs .gqrs-hitem {
	display: grid; grid-template-columns: 130px minmax(0, 1fr) auto auto; gap: 6px 14px; align-items: center;
	padding: 10px 0; border-top: 1px solid var(--gqrs-line);
}
.gqrs .gqrs-htype { font-weight: 800; font-size: 15px; }
.gqrs .gqrs-hlabel { color: var(--gqrs-muted); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gqrs .gqrs-hdate { color: var(--gqrs-muted); font-size: 13px; white-space: nowrap; }
.gqrs .gqrs-hbtns { display: flex; gap: 8px; }
.gqrs .gqrs-tips { padding-top: 6px; padding-bottom: 6px; }
.gqrs .gqrs-tips ul { display: grid; gap: 10px; padding: 4px 0 14px 20px; list-style: disc; color: var(--gqrs-ink); font-size: 15px; }
.gqrs .gqrs-foot { margin-top: 14px; color: var(--gqrs-muted); font-size: 12px; }



/* ---------- On-page guide and FAQ (outside the tool, crawlable) ---------- */
.gqrs.gqrs-guide { margin-top: 40px; max-width: 820px; }
.gqrs .gqrs-gtitle { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin: 0 0 12px; }
.gqrs .gqrs-glede { font-size: 17px; line-height: 1.6; color: var(--gqrs-muted); max-width: 68ch; margin-bottom: 8px; }
.gqrs .gqrs-gsub { font-size: 20px; line-height: 1.25; margin: 32px 0 12px; }
.gqrs .gqrs-gtypes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.gqrs .gqrs-gtype { border: 1px solid var(--gqrs-line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.gqrs .gqrs-gtype dt { font-weight: 800; margin-bottom: 4px; color: var(--gqrs-ink); }
.gqrs .gqrs-gtype dd { color: var(--gqrs-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.gqrs .gqrs-gtips { display: grid; gap: 10px; padding-left: 22px; list-style: disc; font-size: 16px; line-height: 1.55; max-width: 68ch; }
.gqrs .gqrs-gfaq { display: grid; gap: 8px; }
.gqrs details.gqrs-gq { border: 1px solid var(--gqrs-line); border-radius: 12px; padding: 0 16px; background: #fff; }
.gqrs details.gqrs-gq > summary { cursor: pointer; font-weight: 700; font-size: 16px; min-height: 48px; display: flex; align-items: center; line-height: 1.35; padding: 6px 0; }
.gqrs details.gqrs-gq > p { color: var(--gqrs-muted); font-size: 15px; line-height: 1.6; padding: 0 0 14px; max-width: 68ch; }

/* Fields scroll into view above the floating mini preview, never underneath it */
.gqrs :is(input, select, textarea, button, summary) { scroll-margin-bottom: 110px; }
.gqrs .gqrs-mini.is-away { display: none !important; }

/* ---------- Floating mini preview (shown only when the layout is stacked) ---------- */
.gqrs .gqrs-mini {
	display: none; position: sticky; bottom: 12px; z-index: 3; align-items: center; gap: 12px;
	width: 100%; margin: 18px 0 0; padding: 8px 12px 8px 8px; text-align: left;
	background: #fff; border: 1.5px solid var(--gqrs-line-strong); border-radius: 14px;
	box-shadow: 0 8px 24px rgba(11, 29, 70, .18); font: inherit; color: var(--gqrs-ink); cursor: pointer;
}
.gqrs .gqrs-minithumb {
	flex: none; width: 56px; height: 56px; border-radius: 8px; background: var(--gqrs-soft);
	display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.gqrs .gqrs-minithumb canvas { width: 100%; height: 100%; display: block; }
.gqrs .gqrs-minitext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.25; }
.gqrs .gqrs-minitext strong { font-size: 15px; }
.gqrs .gqrs-minigo { flex: none; font-weight: 800; font-size: 14px; color: var(--gqrs-focus); }

/* ---------- Stacked layout: based on the studio's own width, not the screen ---------- */
@container gqrs (max-width: 760px) {
	.gqrs { margin: 16px 0; }
	.gqrs .gqrs-grid { grid-template-columns: minmax(0, 1fr); }
	.gqrs .gqrs-preview { position: static; }
	.gqrs .gqrs-card { padding: 18px 16px; border-radius: 16px; }
	.gqrs .gqrs-typegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gqrs .gqrs-stage { min-height: 260px; padding: 14px; }
	.gqrs .gqrs-hitem { grid-template-columns: minmax(0, 1fr) auto; }
	.gqrs .gqrs-htype { grid-column: 1; }
	.gqrs .gqrs-hdate { grid-column: 2; text-align: right; }
	.gqrs .gqrs-hlabel { grid-column: 1 / -1; }
	.gqrs .gqrs-hbtns { grid-column: 1 / -1; }
	.gqrs .gqrs-hbtns .gqrs-btn { flex: 1; }
	.gqrs .gqrs-mini { display: flex; }
}
@container gqrs (max-width: 540px) {
	.gqrs .gqrs-w3, .gqrs .gqrs-w2 { grid-column: span 6; }
	.gqrs .gqrs-colors { grid-template-columns: 1fr; }
	.gqrs .gqrs-actions .gqrs-btn { flex: 1 1 100%; }
	.gqrs .gqrs-dl .gqrs-btn { flex-basis: 100%; }
}
/* Fallback for browsers without container queries */
@supports not (container-type: inline-size) {
	@media (max-width: 860px) {
		.gqrs { margin: 16px 0; }
		.gqrs .gqrs-grid { grid-template-columns: minmax(0, 1fr); }
		.gqrs .gqrs-preview { position: static; }
		.gqrs .gqrs-card { padding: 18px 16px; border-radius: 16px; }
		.gqrs .gqrs-typegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.gqrs .gqrs-stage { min-height: 260px; padding: 14px; }
		.gqrs .gqrs-hitem { grid-template-columns: minmax(0, 1fr) auto; }
		.gqrs .gqrs-htype { grid-column: 1; }
		.gqrs .gqrs-hdate { grid-column: 2; text-align: right; }
		.gqrs .gqrs-hlabel { grid-column: 1 / -1; }
		.gqrs .gqrs-hbtns { grid-column: 1 / -1; }
		.gqrs .gqrs-hbtns .gqrs-btn { flex: 1; }
		.gqrs .gqrs-mini { display: flex; }
	}
	@media (max-width: 600px) {
		.gqrs .gqrs-w3, .gqrs .gqrs-w2 { grid-column: span 6; }
		.gqrs .gqrs-colors { grid-template-columns: 1fr; }
		.gqrs .gqrs-actions .gqrs-btn { flex: 1 1 100%; }
		.gqrs .gqrs-dl .gqrs-btn { flex-basis: 100%; }
	}
}
/* Windows High Contrast / forced colors: keep selected states and QR colors visible */
@media (forced-colors: active) {
	.gqrs .gqrs-chip input:checked + label { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
	.gqrs .gqrs-swatch { forced-color-adjust: none; border-color: CanvasText; }
	.gqrs .gqrs-swatch[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 3px; }
	.gqrs .gqrs-canvas, .gqrs .gqrs-minithumb canvas { forced-color-adjust: none; }
	.gqrs .gqrs-pill, .gqrs .gqrs-result { border: 1px solid CanvasText; }
	.gqrs .gqrs-btn--primary { forced-color-adjust: none; background: ButtonText; color: ButtonFace; }
}
@media (prefers-reduced-motion: reduce) {
	.gqrs * { scroll-behavior: auto !important; transition: none !important; }
}
