/* Glass Railing Configurator v2 — "Atelier" theme: warm bone paper, ink type, copper accent. */
[data-grc2] {
	--g-ink: #14181f;
	--g-ink-2: #3a4250;
	--g-muted: #6f7784;
	--g-bone: #f4f1ec;
	--g-paper: #ffffff;
	--g-line: #e3ded6;
	--g-line-2: #d3ccc1;
	--g-stage: #e9e6e1;
	--g-accent: #b4532a;
	--g-accent-d: #923f1c;
	--g-accent-t: #f6e7de;
	--g-glass: #cfe8df;
	--g-radius: 16px;
	--g-radius-s: 12px;
	--g-shadow: 0 1px 2px rgba(20, 24, 31, .05), 0 8px 24px -12px rgba(20, 24, 31, .18);
	--g-font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--g-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	font-family: var(--g-font);
	color: var(--g-ink);
	background: var(--g-bone);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	padding: clamp(12px, 2.4vw, 32px);
	border-radius: 24px;
}
[data-grc2] *, [data-grc2] *::before, [data-grc2] *::after { box-sizing: border-box; }
[data-grc2] h2, [data-grc2] h3, [data-grc2] h4, [data-grc2] p { margin: 0; }
[data-grc2] button { font: inherit; color: inherit; cursor: pointer; }
[data-grc2] code { font-family: var(--g-mono); font-size: .82em; color: var(--g-muted); letter-spacing: .01em; }
[data-grc2] :focus-visible { outline: 2px solid var(--g-accent); outline-offset: 2px; }

/* header + stepper */
.grc2-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 22px; }
.grc2-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g-accent); margin-bottom: 4px; }
.grc2-title h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.grc2-stepper { list-style: none; margin: 0; padding: 4px; display: flex; gap: 4px; background: var(--g-paper); border: 1px solid var(--g-line); border-radius: 999px; box-shadow: var(--g-shadow); overflow-x: auto; max-width: 100%; }
.grc2-step button { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 14px 8px 8px; border-radius: 999px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--g-muted); }
.grc2-step-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--g-bone); color: var(--g-ink-2); }
.grc2-step.is-done .grc2-step-n { background: var(--g-ink); color: #fff; }
.grc2-step.is-on button { background: var(--g-ink); color: #fff; }
.grc2-step.is-on .grc2-step-n { background: var(--g-accent); color: #fff; }

/* layout */
.grc2-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.grc2-side { display: grid; gap: 16px; position: sticky; top: 24px; min-width: 0; }
.grc2-noscroll .grc2-side { z-index: 99999; } /* sticky makes a stacking context; lift it so fullscreen 3D covers the page */
.grc2-side > .grc2-summary, .grc2-side > .grc2-aside { display: grid; gap: 16px; align-items: start; }
.grc2-aside { grid-template-columns: 1fr 1fr; }
.grc2-panel { display: grid; gap: 16px; min-width: 0; }

/* stage */
.grc2-stage { position: relative; background: var(--g-stage); border-radius: 22px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 24, 31, .06); aspect-ratio: 16 / 11; min-height: 320px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; }
.grc2-stage-canvas { position: relative; flex: 1; min-height: 0; background: radial-gradient(120% 90% at 50% 10%, #f6f4f0 0%, var(--g-stage) 60%); }
.grc2-stage-canvas canvas { display: block; max-width: 100%; cursor: grab; touch-action: none; }
.grc2-stage-canvas canvas:active { cursor: grabbing; }
.grc2-stage-tools { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; z-index: 2; }
.grc2-icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(20, 24, 31, .08); background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); font-size: 18px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(20, 24, 31, .08); }
.grc2-icon-btn:hover { background: #fff; }
.grc2-views { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(20, 24, 31, .06); }
.grc2-drawing { display: none; position: absolute; inset: 0 0 auto 0; bottom: 62px; background: #fbfaf8; padding: 14px; z-index: 1; }
.grc2-stage.show-drawing .grc2-drawing { display: flex; align-items: center; justify-content: center; }
.grc2-stage.is-full { position: fixed; inset: 12px; z-index: 99999; aspect-ratio: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
html.grc2-noscroll { overflow: hidden; }
.grc2-novgl { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--g-muted); }

.grc2-chip { border: 1px solid var(--g-line); background: var(--g-paper); color: var(--g-ink-2); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.grc2-chip:hover { border-color: var(--g-line-2); color: var(--g-ink); }
.grc2-chip.is-on { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }

/* cards */
.grc2-card { background: var(--g-paper); border: 1px solid var(--g-line); border-radius: var(--g-radius); padding: 20px; box-shadow: var(--g-shadow); display: grid; gap: 14px; min-width: 0; }
.grc2-card-title { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.grc2-note { font-size: 13.5px; color: var(--g-muted); max-width: 62ch; }
.grc2-tip { font-size: 13px; color: var(--g-ink-2); background: var(--g-accent-t); border-radius: 10px; padding: 10px 12px; border-left: 3px solid var(--g-accent); }
.grc2-selected { font-size: 14px; color: var(--g-ink-2); }
.grc2-selected strong { font-weight: 650; color: var(--g-ink); }
.grc2-big { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.grc2-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* option tiles */
.grc2-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.grc2-tiles.is-compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grc2-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: var(--g-bone); border: 1.5px solid transparent; border-radius: var(--g-radius-s); padding: 12px; transition: border-color .15s, background .15s, transform .15s; min-height: 100%; }
.grc2-tiles.is-compact .grc2-tile { flex-direction: row; align-items: center; }
.grc2-tile:hover { background: #efebe4; }
.grc2-tile.is-on { background: var(--g-paper); border-color: var(--g-ink); box-shadow: 0 6px 18px -10px rgba(20, 24, 31, .35); }
.grc2-tile.is-on::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--g-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.grc2-tile.is-off { opacity: .5; cursor: not-allowed; }
.grc2-tile-art { width: 100%; aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(160deg, #fdfcfa, #ece8e1); }
.grc2-tiles.is-compact .grc2-tile-art { width: 40px; height: 40px; aspect-ratio: auto; flex: none; background: none; }
.grc2-tile-art svg { width: 64%; height: 86%; }
.grc2-tile-text { display: grid; gap: 2px; min-width: 0; padding-right: 18px; }
.grc2-tile-name { font-size: 13.5px; font-weight: 650; line-height: 1.25; }
.grc2-tile-sub { font-size: 12px; color: var(--g-muted); font-family: var(--g-mono); }
.grc2-tile-price { font-size: 13px; font-weight: 700; margin-left: auto; }
[data-grc2] svg .m { fill: #9aa1a8; }
[data-grc2] svg .g { fill: var(--g-glass); stroke: #7fc3a6; stroke-width: 1; opacity: .9; }
[data-grc2] svg .s { fill: #d8d1c6; }
[data-grc2] svg .line { stroke: var(--g-ink); }
.grc2-swatch { width: 34px; height: 34px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.grc2-swatch.is-SS { background: conic-gradient(from 210deg, #f4f6f8, #a9b0b6, #eef1f3, #8d959c, #f4f6f8); }
.grc2-swatch.is-MB { background: linear-gradient(145deg, #3a3b3e, #161719); }
.grc2-swatch.is-BK { background: linear-gradient(145deg, #3b3c3f, #1d1e20); }
.grc2-swatch.is-WT { background: linear-gradient(145deg, #ffffff, #e2e1dc); }

/* segmented height */
.grc2-seg { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.grc2-seg-btn { min-width: 58px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--g-line); background: var(--g-paper); font-weight: 750; font-size: 15px; }
.grc2-seg-btn.is-on { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }

/* buttons */
.grc2-actions { display: flex; justify-content: flex-end; gap: 10px; }
.grc2-btn { border: 0; border-radius: 999px; padding: 13px 26px; font-weight: 750; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, transform .1s; }
.grc2-btn:active { transform: translateY(1px); }
.grc2-btn[disabled] { opacity: .5; cursor: not-allowed; }
.grc2-btn-primary { background: var(--g-accent); color: #fff; }
.grc2-btn-primary:hover { background: var(--g-accent-d); }
.grc2-btn-primary::after { content: "→"; }
.grc2-btn-ghost { background: transparent; border: 1.5px solid var(--g-line-2); }
.grc2-btn-soft { background: var(--g-bone); }
.grc2-btn-block { width: 100%; }
.grc2-btn-sm { padding: 8px 14px; font-size: 13px; }
.grc2-btn-sm::after { content: none; }
.grc2-link-btn { border: 0; background: none; color: var(--g-accent); font-weight: 650; padding: 0; justify-self: start; }

/* designer */
.grc2-planbox { border-radius: 12px; background: #fbfaf8; border: 1px solid var(--g-line); overflow: hidden; }
.grc2-svg { width: 100%; height: auto; display: block; color: var(--g-ink-2); font-family: var(--g-font); }
.grc2-svg-plan { max-height: 300px; }
.grc2-plan-span { cursor: pointer; }
.grc2-plan-hit { stroke: transparent; }
.grc2-plan-line { stroke: #9aa3ad; stroke-linecap: round; }
.grc2-plan-span.is-on .grc2-plan-line, .grc2-plan-span:hover .grc2-plan-line { stroke: var(--g-accent); }
.grc2-plan-glass { stroke: #6fb79a; }
.grc2-plan-glass.is-gate { stroke: var(--g-accent); }
.grc2-plan-post { fill: var(--g-ink); }
.grc2-plan-label { fill: var(--g-ink-2); font-weight: 650; }
.grc2-plan-span.is-on .grc2-plan-label { fill: var(--g-accent); }
.grc2-plan-marker rect { fill: #fff; stroke: var(--g-ink); stroke-width: .6; }
.grc2-plan-marker text { fill: var(--g-ink); font-weight: 800; }
.grc2-span { background: var(--g-paper); border: 1px solid var(--g-line); border-radius: var(--g-radius); box-shadow: var(--g-shadow); overflow: hidden; }
.grc2-span-head { width: 100%; border: 0; background: transparent; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 16px 20px; text-align: left; }
.grc2-span-title { font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.grc2-span-title em { font-style: normal; font-weight: 500; color: var(--g-muted); }
.grc2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.grc2-tag { font-size: 12px; font-weight: 650; background: var(--g-bone); border-radius: 6px; padding: 4px 8px; color: var(--g-ink-2); }
.grc2-caret { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--g-ink-2); border-bottom: 2px solid var(--g-ink-2); transform: rotate(45deg); transition: transform .2s; }
.grc2-span.is-open .grc2-caret { transform: rotate(-135deg); }
.grc2-span-body { padding: 0 20px 20px; display: grid; gap: 18px; }
.grc2-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 16px; align-items: end; }
.grc2-field { display: grid; gap: 6px; }
.grc2-field-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: var(--g-ink-2); }
.grc2-field-label small { font-weight: 500; color: var(--g-muted); }
.grc2-input { width: 100%; height: 44px; border: 1.5px solid var(--g-line); border-radius: 12px; padding: 0 12px; background: var(--g-paper); font: inherit; font-size: 15px; color: var(--g-ink); }
.grc2-input:focus { border-color: var(--g-ink); outline: none; }
.grc2-input[disabled] { background: var(--g-bone); color: var(--g-muted); }
.grc2-split { display: grid; grid-template-columns: 1.4fr 1fr; }
.grc2-split .grc2-input:first-child { border-radius: 12px 0 0 12px; }
.grc2-split .grc2-input:last-child { border-radius: 0 12px 12px 0; border-left: 0; }
.grc2-adv { display: grid; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--g-line); }
.grc2-adv h4 { font-size: 15px; font-weight: 750; }
.grc2-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.grc2-check input { width: 18px; height: 18px; accent-color: var(--g-accent); }
.grc2-gate-card { text-align: left; background: var(--g-paper); width: 100%; display: flex; gap: 14px; align-items: center; border: 1.5px solid var(--g-ink); border-radius: 12px; padding: 12px 14px; max-width: 340px; }
.grc2-gate-art svg { width: 34px; height: 48px; }
.grc2-gate-sides { display: grid; grid-template-columns: auto auto; gap: 0 16px; font-size: 13px; color: var(--g-muted); }
.grc2-gate-sides b { color: var(--g-ink); text-align: right; }
.grc2-elev { background: #fbfaf8; border: 1px solid var(--g-line); border-radius: 12px; padding: 10px; }
.grc2-addspan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; border: 1.5px dashed var(--g-line-2); border-radius: var(--g-radius); }
.grc2-addspan > span { font-weight: 750; margin-right: auto; }
.grc2-el-deck { fill: #d8d1c6; }
.grc2-el-glass { fill: rgba(191, 227, 211, .55); stroke: #6fb79a; stroke-width: .5; }
.grc2-el-glass.is-gate { fill: rgba(180, 83, 42, .12); stroke: var(--g-accent); }
.grc2-el-post, .grc2-el-hw { fill: #8f979e; }
.grc2-el-label { fill: var(--g-ink-2); }
.grc2-dim { stroke: var(--g-ink-2); stroke-width: .35; }
.grc2-dim-t { fill: var(--g-ink); font-weight: 650; }

/* plan */
.grc2-plan-title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; padding: 4px 2px; }
.grc2-plan-span h4 { font-size: 15px; font-weight: 750; }
.grc2-hw-head { display: flex; align-items: center; gap: 8px; }
.grc2-add { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--g-accent); color: #fff; font-weight: 800; line-height: 1; }
.grc2-table-wrap { overflow-x: auto; }
.grc2-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.grc2-table th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--g-muted); font-weight: 700; padding: 8px 10px; background: var(--g-bone); }
.grc2-table th:first-child { border-radius: 8px 0 0 8px; }
.grc2-table th:last-child { border-radius: 0 8px 8px 0; }
.grc2-table td { padding: 11px 10px; border-bottom: 1px solid var(--g-line); vertical-align: top; }
.grc2-table td:nth-child(3) { min-width: 180px; }
.grc2-table td:nth-child(4), .grc2-table td:nth-child(5) { white-space: nowrap; }
.grc2-x { border: 0; background: var(--g-bone); width: 26px; height: 26px; border-radius: 50%; font-size: 16px; line-height: 1; }
.grc2-span-cost { display: flex; justify-content: space-between; align-items: center; background: var(--g-ink); color: #fff; border-radius: 12px; padding: 14px 16px; font-size: 16px; }
.grc2-span-cost strong { font-size: 20px; letter-spacing: -.01em; }
.grc2-alert { background: #fdecea; color: #8a1c12; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* side column */
.grc2-sum { gap: 12px; }
.grc2-sum-title { font-weight: 750; }
.grc2-sum-rows { display: grid; gap: 6px; font-size: 14px; color: var(--g-ink-2); }
.grc2-sum-row { display: flex; justify-content: space-between; }
.grc2-sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--g-line); padding-top: 12px; }
.grc2-sum-total strong { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.grc2-cart-msg { font-size: 13px; color: var(--g-ink-2); min-height: 1em; }
.grc2-cart-msg a { color: var(--g-accent); font-weight: 700; }
.grc2-help { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.grc2-help a { color: var(--g-ink); font-size: 13.5px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--g-line-2); text-underline-offset: 3px; }
.grc2-hw-art { background: linear-gradient(160deg, #fdfcfa, #ece8e1); border-radius: 12px; display: grid; place-items: center; aspect-ratio: 16 / 10; }
.grc2-hw-art svg { width: 46%; height: 80%; }
.grc2-hw-name { font-size: 14px; font-weight: 650; }

/* modal */
.grc2-modal { position: fixed; inset: 0; background: rgba(20, 24, 31, .45); display: grid; place-items: center; z-index: 99999; padding: 16px; }
.grc2-modal-box { background: var(--g-paper); border-radius: 20px; width: min(720px, 100%); max-height: 86vh; display: flex; flex-direction: column; overflow: hidden; }
.grc2-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 8px; }
.grc2-modal-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 20px 12px; border-bottom: 1px solid var(--g-line); }
.grc2-modal-list { overflow-y: auto; padding: 8px 20px 20px; }
.grc2-modal-row { display: grid; grid-template-columns: 44px 1fr auto 76px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--g-line); font-size: 14px; }
.grc2-modal-row code { display: block; }
.grc2-qty { height: 38px; }

/* responsive */
@media (max-width: 980px) {
	.grc2-body { grid-template-columns: minmax(0, 1fr); }
	/* one column: preview, options, then totals and help */
	.grc2-side { display: contents; }
	.grc2-side > .grc2-stage { order: 1; }
	.grc2-body > .grc2-panel { order: 2; }
	.grc2-side > .grc2-summary { order: 3; }
	.grc2-side > .grc2-aside { order: 4; }
	.grc2-stage { aspect-ratio: 4 / 3; min-height: 260px; }
}
@media (max-width: 560px) {
	.grc2-aside { grid-template-columns: 1fr; }
	[data-grc2] { padding: 12px; border-radius: 16px; }
	.grc2-card { padding: 16px; }
	.grc2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grc2-step-l { display: none; }
	.grc2-step.is-on .grc2-step-l { display: inline; }
	.grc2-table thead { display: none; }
	.grc2-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--g-line); }
	.grc2-table td { border: 0; padding: 2px 0; }
	.grc2-table td:nth-child(3) { grid-column: 1 / -1; order: -1; font-weight: 600; }
	.grc2-table td[data-l]::before { content: attr(data-l) ": "; color: var(--g-muted); font-size: 12px; }
	.grc2-table td:nth-child(3)::before { content: none; }
	.grc2-modal-row { grid-template-columns: 44px 1fr auto; }
}

/* printing a saved plan */
@media print {
	body * { visibility: hidden; }
	[data-grc2], [data-grc2] * { visibility: visible; }
	[data-grc2] { position: absolute; inset: 0; background: #fff; padding: 0; }
	.grc2-stepper, .grc2-stage-tools, .grc2-views, .grc2-actions, .grc2-btn, .grc2-add, .grc2-x, .grc2-aside { display: none !important; }
	.grc2-body, .grc2-main { display: block; }
	.grc2-stage { position: static; aspect-ratio: 16 / 8; break-inside: avoid; }
	.grc2-card, .grc2-span { box-shadow: none; break-inside: avoid; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	[data-grc2] * { transition: none !important; }
}

.grc2-gate-card small { display: block; color: var(--g-muted); font-size: 12px; margin-top: 4px; }
.grc2-btn-group { display: flex; flex-wrap: wrap; gap: 6px; }
.grc2-chip[disabled] { opacity: .45; cursor: not-allowed; }
.grc2-gate-pos { grid-template-columns: 1fr; }
@media (max-width: 560px) { .grc2-aside { grid-template-columns: 1fr; } }

/* rendered product shots */
.grc2-shot-host { position: fixed; left: -10000px; top: 0; width: 480px; height: 300px; pointer-events: none; }
.grc2-tile-art.is-shot, .grc2-hw-art.is-shot { overflow: hidden; background: #e7e3dc; }
.grc2-tile-art img, .grc2-hw-art img { width: 100%; height: 100%; object-fit: cover; display: block; animation: grc2-fade .35s ease; }
@keyframes grc2-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- v3: required choices, locked price, estimate form ---------- */
.grc2-head-r { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.grc2-reset { font-size: 13px; }
.grc2-step button[disabled] { opacity: .45; cursor: not-allowed; }
.grc2-notice-wrap:empty { display: none; }
.grc2-notice { display: flex; align-items: center; gap: 12px; background: var(--g-paper); border: 1px solid var(--g-line); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.grc2-notice span { margin-right: auto; }
.grc2-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grc2-req { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #b42318; }
.grc2-card.is-missing, .grc2-span.is-missing { border-color: #e5a29a; box-shadow: 0 0 0 3px rgba(180, 35, 24, .08); }
.grc2-field-err { font-size: 13px; color: #8a1c12; }
.grc2-input[aria-invalid="true"] { border-color: #d0574a; }
.grc2-input::placeholder { color: #a3a9b2; }
.grc2-actions-wrap { display: grid; gap: 10px; }
.grc2-btn.is-pending { opacity: .62; }
.grc2-btn-primary[href], .grc2-btn-ghost[href] { text-decoration: none; }
.grc2-btn-cart::after { content: none; }
.grc2-center { justify-self: center; font-size: 13.5px; }
.grc2-tile-art.is-photo { background: #fff; overflow: hidden; }
.grc2-tile-art.is-photo img, .grc2-hw-art.is-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grc2-hw-art.is-photo { overflow: hidden; background: #fff; }
.grc2-tiles.is-compact .grc2-tile-art img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.grc2-modal-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.grc2-modal-box > div:last-child { overflow-y: auto; }
.grc2-plan-line.is-sample { stroke-dasharray: 4 3; }

/* stage before a hardware system is chosen */
.grc2-stage-note { position: absolute; left: 0; right: 0; top: 0; bottom: 62px; pointer-events: none; z-index: 1; display: flex; align-items: flex-start; justify-content: flex-start; padding: 14px; }
.grc2-stage.is-empty .grc2-stage-note { align-items: center; justify-content: center; bottom: 0; }
.grc2-stage.is-empty .grc2-stage-tools, .grc2-stage.is-empty .grc2-views { visibility: hidden; }
.grc2-empty { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--g-muted); font-size: 14px; }
.grc2-empty strong { color: var(--g-ink); font-size: 17px; }
.grc2-empty-art svg { width: 64px; height: 64px; opacity: .8; }
.grc2-badge { background: rgba(255, 255, 255, .9); border: 1px solid var(--g-line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 650; color: var(--g-ink-2); box-shadow: var(--g-shadow); }

/* locked summary */
.grc2-progress { height: 6px; border-radius: 999px; background: var(--g-bone); overflow: hidden; }
.grc2-progress span { display: block; height: 100%; background: var(--g-accent); border-radius: inherit; transition: width .3s ease; }
.grc2-locked { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--g-ink-2); background: var(--g-bone); border-radius: 12px; padding: 12px 14px; }
.grc2-lock { width: 14px; height: 12px; border-radius: 3px; background: var(--g-ink-2); position: relative; flex: none; margin-top: 4px; }
.grc2-lock::before { content: ""; position: absolute; left: 2px; top: -7px; width: 6px; height: 7px; border: 2px solid var(--g-ink-2); border-bottom: 0; border-radius: 6px 6px 0 0; }
.grc2-todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.grc2-todo button { border: 0; background: none; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--g-ink); display: flex; align-items: center; gap: 10px; text-align: left; }
.grc2-todo button::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--g-line-2); flex: none; }
.grc2-todo button:hover { color: var(--g-accent); }
.grc2-todo-more { font-size: 13px; color: var(--g-muted); padding-left: 24px; }
.grc2-sum-row.is-save { color: #1f7a4d; font-weight: 650; }
.grc2-nudge { font-size: 13px; font-weight: 650; color: #1f7a4d; background: #e8f5ee; border-radius: 10px; padding: 8px 12px; }
.grc2-price-note { font-size: 12.5px; color: var(--g-muted); }

/* estimate form */
.grc2-form { display: grid; gap: 14px; padding: 4px 20px 20px; overflow-y: auto; }
.grc2-textarea { height: auto; min-height: 84px; padding-top: 10px; resize: vertical; font: inherit; }
.grc2-est-total { display: flex; justify-content: space-between; align-items: baseline; background: var(--g-bone); border-radius: 12px; padding: 12px 14px; }
.grc2-est-total strong { font-size: 22px; font-weight: 800; }
.grc2-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.grc2-consent { align-items: flex-start; font-weight: 500; font-size: 13px; color: var(--g-ink-2); }
.grc2-form-msg { font-size: 14px; min-height: 1em; }
.grc2-form-msg.is-err { color: #8a1c12; font-weight: 600; }
.grc2-done { display: grid; justify-items: center; text-align: center; gap: 8px; padding: 10px 24px 24px; }
.grc2-done-mark { width: 52px; height: 52px; border-radius: 50%; background: #e8f5ee; color: #1f7a4d; display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.grc2-done-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g-muted); }
.grc2-done-num { font-family: var(--g-mono); font-size: 24px; font-weight: 600; letter-spacing: .02em; }
.grc2-done .grc2-actions { justify-content: center; margin-top: 8px; }
.grc2-capture { position: fixed; left: -10000px; top: 0; width: 1400px; }

/* mobile price bar */
.grc2-mbar { display: none; }
@media (max-width: 980px) {
	.grc2-mbar { display: block; position: sticky; bottom: 0; z-index: 50; margin: 16px -4px -4px; }
	.grc2-mbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--g-ink); color: #fff; border-radius: 16px; padding: 10px 10px 10px 16px; box-shadow: 0 12px 30px -10px rgba(20, 24, 31, .5); }
	.grc2-mbar-in span { display: grid; line-height: 1.2; }
	.grc2-mbar-in small { font-size: 12px; opacity: .7; }
	.grc2-mbar-in strong { font-size: 17px; }
	.grc2-mbar .grc2-btn-sm { padding: 10px 16px; }
}
@media print { .grc2-mbar, .grc2-reset, .grc2-notice-wrap, .grc2-stage-note { display: none !important; } }
