/*
 ███╗   ███╗██╗███╗   ██╗███╗   ██╗███████╗ █████╗ ██████╗  ██████╗ ██╗     ██╗███████╗
 ████╗ ████║██║████╗  ██║████╗  ██║██╔════╝██╔══██╗██╔══██╗██╔═══██╗██║     ██║██╔════╝
 ██╔████╔██║██║██╔██╗ ██║██╔██╗ ██║█████╗  ███████║██████╔╝██║   ██║██║     ██║███████╗
 ██║╚██╔╝██║██║██║╚██╗██║██║╚██╗██║██╔══╝  ██╔══██║██╔═══╝ ██║   ██║██║     ██║╚════██║
 ██║ ╚═╝ ██║██║██║ ╚████║██║ ╚████║███████╗██║  ██║██║     ╚██████╔╝███████╗██║███████║
 ╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝╚═╝      ╚═════╝ ╚══════╝╚═╝╚══════╝
                ███╗   ███╗ █████╗ ██████╗ ███████╗
                ████╗ ████║██╔══██╗██╔══██╗██╔════╝
                ██╔████╔██║███████║██║  ██║█████╗
                ██║╚██╔╝██║██╔══██║██║  ██║██╔══╝
                ██║ ╚═╝ ██║██║  ██║██████╔╝███████╗
                ╚═╝     ╚═╝╚═╝  ╚═╝╚═════╝ ╚══════╝ © All Rights Reserved 2026

          www.minneapolismade.com  ·  crafted in Minneapolis
*/

/**
 * Roof Quote Checker — styles, in the Storm Guard look used on the locations
 * pages: Gotham, yellow / black / red, uppercase headings, square dark buttons,
 * white cards with a yellow top rule.
 *
 * Everything is scoped to .rqc. The brand tokens (--sg-*) come from
 * sg-locator/assets/css/sg-locations.css when that is loaded; each one has a
 * fallback here so the checker looks the same on a page without it.
 * Written phone-first; wider screens only add columns.
 *
 * Gotham weights as the site maps them: 300 Book (body copy), 500 Medium
 * (labels), 400 Bold (headings, buttons), 900 Black.
 */

/* <*><*><*><*><*><*><*><*><*><*><*><*> TOKENS <*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc {
	--rqc-yellow: var(--sg-yellow, #ffde17);
	--rqc-black: var(--sg-black, #000);
	--rqc-red: var(--sg-red, #cb2800);
	--rqc-ink: var(--sg-ink, #32373c);
	--rqc-muted: var(--sg-muted, #555d66);
	--rqc-line: #e3e3e3;
	--rqc-field: #b9bfc6;
	--rqc-tint: #fffbe0; /* Yellow at reading strength, for picked options. */
	--rqc-page: var(--sg-page, #f9fafb);
	--rqc-font: var(--sg-font, "Gotham", "Helvetica Neue", Arial, sans-serif);
	max-width: 760px;
	margin: 0 auto;
	color: var(--rqc-black);
	font: 300 16px/1.5 var(--rqc-font);
	text-align: left;
}

.rqc *,
.rqc *::before,
.rqc *::after {
	box-sizing: border-box;
}

.rqc strong {
	font-weight: 400; /* Gotham Bold. */
}

.rqc.is-busy .rqc-card {
	opacity: .55;
	pointer-events: none;
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> STEPS <*><*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc-steps {
	display: flex;
	gap: 6px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 12px;
	font-weight: 500;
	color: var(--rqc-muted);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.rqc-steps__item {
	flex: 1;
	padding-top: 8px;
	border-top: 5px solid var(--rqc-line);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rqc-steps__item span {
	margin-right: 5px;
	font-weight: 400;
}

.rqc-steps__item.is-done {
	border-color: var(--rqc-yellow);
}

.rqc-steps__item.is-now {
	border-color: var(--rqc-black);
	color: var(--rqc-black);
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> CARD <*><*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc-card {
	margin: 0;
	padding: 22px 16px;
	background: #fff;
	border: 1px solid #eee;
	border-top: 5px solid var(--rqc-yellow);
	border-radius: 5px;
	transition: opacity .15s;
}

.rqc-h {
	margin: 0 0 10px;
	font: 400 24px/1.2 var(--rqc-font);
	text-transform: uppercase;
	color: var(--rqc-black);
	outline: 0;
}

.rqc-h3 {
	margin: 30px 0 12px;
	font: 400 17px/1.25 var(--rqc-font);
	text-transform: uppercase;
}

.rqc-lead {
	margin: 0 0 20px;
	color: var(--rqc-ink);
}

.rqc-note {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--rqc-muted);
}

.rqc-note--box {
	margin: 0 0 18px;
	padding: 10px 12px;
	background: var(--rqc-page);
	border-left: 4px solid var(--rqc-yellow);
}

.rqc-sample {
	margin: 0 0 16px;
	padding: 10px 12px;
	background: var(--rqc-tint);
	border-left: 4px solid var(--rqc-yellow);
	font-size: 14px;
}

.rqc-error {
	margin: 16px 0 0;
	padding: 10px 12px;
	background: #fff4f1;
	border-left: 4px solid var(--rqc-red);
	color: var(--rqc-red);
	font-weight: 500;
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> FIELDS <*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc-field {
	display: block;
	margin: 0 0 18px;
}

.rqc-field > span,
.rqc-set > legend {
	display: block;
	margin: 0 0 6px;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--rqc-red); /* Same as "Search Location" on the locator. */
}

.rqc-field em,
.rqc-details em {
	font-style: normal;
	font-weight: 300;
	color: var(--rqc-muted);
}

.rqc-field small {
	display: block;
	margin-top: 5px;
	font-size: 13px;
	color: var(--rqc-muted);
}

.rqc-field input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--rqc-field);
	border-radius: 4px;
	background: #fff;
	color: var(--rqc-black);
	font: 500 16px/1.3 var(--rqc-font); /* Below 16px, iPhones zoom the page on focus. */
}

.rqc-field input::placeholder {
	color: #8a9199;
	font-weight: 300;
}

.rqc-field input:focus,
.rqc-choice:focus-within,
.rqc-btn:focus-visible {
	outline: 3px solid var(--rqc-yellow);
	outline-offset: 1px;
	border-color: var(--rqc-black);
}

.rqc-set {
	margin: 0 0 18px;
	padding: 0;
	border: 0;
	min-width: 0;
}

.rqc-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rqc-row--3 {
	grid-template-columns: repeat(3, 1fr);
}

.rqc-choice {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--rqc-field);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

.rqc-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.rqc-choice.is-on {
	border-color: var(--rqc-black);
	box-shadow: inset 0 0 0 1px var(--rqc-black), inset 0 -4px 0 0 var(--rqc-yellow);
	background: var(--rqc-tint);
}

.rqc-choice__label {
	font-weight: 500;
	font-size: 15px;
	line-height: 1.25;
}

.rqc-choice.is-on .rqc-choice__label {
	font-weight: 400;
}

.rqc-choice__hint {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--rqc-muted);
}

.rqc-choice--pic {
	align-items: center;
	text-align: center;
}

.rqc-pitch {
	width: 64px;
	height: 40px;
	margin-bottom: 4px;
	color: var(--rqc-black);
}

.rqc-details {
	margin: 0 0 18px;
	padding: 12px;
	border: 1px solid var(--rqc-line);
	border-radius: 4px;
}

.rqc-details summary {
	font-size: 15px;
	font-weight: 500;
	color: var(--rqc-red);
	cursor: pointer;
}

.rqc-checks {
	display: grid;
	gap: 2px;
	margin-top: 10px;
}

.rqc-check {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	font-size: 15px;
	cursor: pointer;
}

.rqc-check input {
	width: 20px;
	height: 20px;
	flex: none;
	accent-color: var(--rqc-black);
}

/* <*><*><*><*><*><*><*><*><*><*><*> ADDRESS LIST <*><*><*><*><*><*><*><*><*><*><*> */

.rqc-field--suggest {
	position: relative;
}

.rqc-field--suggest label {
	display: block;
}

.rqc-suggest {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 20;
	margin: 4px 0 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--rqc-black);
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.rqc-suggest[hidden] {
	display: none;
}

.rqc-suggest__item {
	min-height: 46px;
	padding: 12px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
}

.rqc-suggest__item + .rqc-suggest__item {
	border-top: 1px solid var(--rqc-line);
}

.rqc-suggest__item:hover {
	background: var(--rqc-tint);
}

/* <*><*><*><*><*><*><*><*><*><*><*> MEASURED ROOF <*><*><*><*><*><*><*><*><*><*><*> */

.rqc-map {
	height: 260px;
	margin: 0 0 14px;
	background: #dfe2e6;
	border: 1px solid var(--rqc-line);
	border-radius: 4px;
	overflow: hidden;
}

.rqc-map--off {
	display: none;
}

/* The three headline numbers: area, squares, pitch. */
.rqc-measure {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 500;
	color: var(--rqc-muted);
	text-transform: uppercase;
}

.rqc-measure span {
	padding: 10px 8px;
	background: var(--rqc-black);
	color: #fff;
	text-align: center;
}

.rqc-measure strong {
	display: block;
	font: 900 20px/1.2 var(--rqc-font);
	color: var(--rqc-yellow);
}

.rqc-set > legend {
	line-height: 1.35;
}

.rqc-facets {
	display: grid;
	gap: 6px;
}

.rqc-facet {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--rqc-field);
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	color: var(--rqc-muted);
	cursor: pointer;
}

.rqc-facet.is-on {
	border-color: var(--rqc-black);
	background: var(--rqc-tint);
	color: var(--rqc-black);
}

.rqc-facet input {
	width: 20px;
	height: 20px;
	flex: none;
	accent-color: var(--rqc-black);
}

/* Same numbered dot as on the satellite picture. */
.rqc-facet__n {
	flex: none;
	width: 26px;
	height: 26px;
	border: 2px solid var(--rqc-black);
	border-radius: 50%;
	background: #555d66;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 22px;
	text-align: center;
}

.rqc-facet.is-on .rqc-facet__n {
	background: var(--rqc-yellow);
	color: var(--rqc-black);
}

/* The drawn roof: Google's own photo with the lines worked out from its height map. */
.rqc-roofpic {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 8px;
	border: 1px solid var(--rqc-line);
	border-radius: 4px;
	background: #dfe2e6;
	cursor: pointer;
	touch-action: manipulation;
}

.rqc-key {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0 0 14px;
	font-size: 12px;
	color: var(--rqc-muted);
}

.rqc-key span::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 4px;
	margin-right: 6px;
	vertical-align: middle;
	border: 1px solid #000;
	background: #fff;
}

.rqc-key .rqc-key__edge::before {
	background: var(--rqc-yellow);
}

.rqc-key .rqc-key__valley::before {
	background: #38bdf8;
}

.rqc-linesum {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: -6px 0 18px;
	padding: 10px 12px;
	background: var(--rqc-page);
	border-left: 4px solid var(--rqc-yellow);
	font-size: 14px;
	color: var(--rqc-ink);
}

.rqc-sections {
	margin-top: 10px;
	font-size: 14px;
	color: var(--rqc-ink);
}

.rqc-sections p {
	margin: 10px 0 4px;
}

.rqc-sections ul {
	margin: 0;
	padding-left: 18px;
}

.rqc-sections li {
	padding: 2px 0;
}

.rqc-building + .rqc-building {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--rqc-line);
}

.rqc-building__h {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--rqc-ink);
}

.rqc-building__h .rqc-link {
	margin-left: 8px;
}

.rqc-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--rqc-red);
	font: inherit;
	font-weight: 500;
	text-decoration: underline;
	cursor: pointer;
}

/* <*><*><*><*><*><*><*><*><*><*><*> OUTLINE YOUR ROOF <*><*><*><*><*><*><*><*><*><*> */

/* The "draw it myself" bar under the photo. */
.rqc-draw {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 12px;
	margin: -6px 0 16px;
	padding: 10px 12px;
	background: var(--rqc-page);
	border: 1px solid var(--rqc-line);
	border-radius: 4px;
	font-size: 14px;
}

.rqc-draw.is-on {
	background: var(--rqc-tint);
	border-color: var(--rqc-black);
}

.rqc-draw p {
	margin: 0;
}

.rqc-draw__btns {
	display: flex;
	gap: 6px;
}

.rqc-draw .rqc-btn {
	min-height: 40px;
	padding: 8px 14px;
	font-size: 14px;
}

.rqc-btn[disabled] {
	opacity: .45;
	cursor: default;
}

.rqc-outlines {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.rqc-outlines li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	background: var(--rqc-tint);
	border: 1px solid var(--rqc-black);
	border-radius: 4px;
}

.rqc-outlines li + li {
	margin-top: 6px;
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> BUTTONS <*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc-actions {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	margin-top: 22px;
}

/* The site's dark button: black, yellow uppercase text, square corners. */
.rqc-btn {
	min-height: 50px;
	padding: 14px 24px;
	border: 1px solid var(--rqc-black);
	border-radius: 0;
	background: var(--rqc-black);
	color: var(--rqc-yellow);
	font: 400 16px/1 var(--rqc-font);
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}

.rqc-btn:hover {
	background: #222;
}

/* The locator's "View Location" button: red outline, sentence case. */
.rqc-btn--ghost {
	border-color: var(--rqc-red);
	border-radius: 4px;
	background: #fff;
	color: var(--rqc-red);
	font-weight: 500;
	font-size: 14px;
	text-transform: none;
}

.rqc-btn--ghost:hover {
	background: var(--rqc-red);
	color: #fff;
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> VERDICT <*><*><*><*><*><*><*><*><*><*><*><*><*> */

.rqc-roofline {
	margin: 0 0 18px;
	font-size: 15px;
	color: var(--rqc-ink);
}

.rqc-verdict {
	padding: 18px 14px 16px;
	background: var(--rqc-page);
	border: 1px solid #eee;
	border-radius: 5px;
}

.rqc-verdict__text {
	margin: 0 0 46px;
	font: 400 19px/1.25 var(--rqc-font);
	text-transform: uppercase;
}

.rqc-verdict--above .rqc-verdict__text {
	color: var(--rqc-red);
}

/* The track is 1.5 bands wide: a quarter of slack, the low→high band, a quarter. */
.rqc-bar {
	position: relative;
	height: 14px;
	background: #dfe2e6;
}

.rqc-bar__range {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 16.667%;
	width: 66.667%;
	background: var(--rqc-yellow);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}

.rqc-bar__mark {
	position: absolute;
	top: -6px;
	width: 4px;
	height: 26px;
	margin-left: -2px;
	background: var(--rqc-black);
}

.rqc-verdict--above .rqc-bar__mark,
.rqc-verdict--above .rqc-bar__mark span {
	background: var(--rqc-red);
}

.rqc-bar__mark span {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 9px;
	background: var(--rqc-black);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
}

.rqc-bar__mark--end span {
	left: auto;
	right: -2px;
	transform: none;
	text-align: right;
}

.rqc-bar__mark--start span {
	left: -2px;
	transform: none;
	text-align: left;
}

.rqc-bar__ends {
	display: flex;
	justify-content: space-between;
	margin: 10px 16.667% 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--rqc-muted);
	text-transform: uppercase;
}

.rqc-bar__ends span:nth-child(2) {
	text-align: center;
}

.rqc-bar__ends span:last-child {
	text-align: right;
}

.rqc-bar__ends strong {
	font-size: 14px;
	color: var(--rqc-black);
}

.rqc-results {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.rqc-result {
	display: flex;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--rqc-line);
}

.rqc-result p {
	margin: 2px 0 0;
	font-size: 15px;
	color: var(--rqc-ink);
}

/* Status pills, like the locator's yellow "Serves …" chip. */
.rqc-result__tag {
	flex: none;
	width: 50px;
	height: 26px;
	border-radius: 13px;
	font-size: 12px;
	font-weight: 400;
	line-height: 26px;
	text-align: center;
	text-transform: uppercase;
}

.rqc-result--ok .rqc-result__tag {
	background: var(--rqc-black);
	color: var(--rqc-yellow);
}

.rqc-result--ask .rqc-result__tag {
	background: var(--rqc-yellow);
	color: var(--rqc-black);
}

.rqc-result--high .rqc-result__tag {
	background: var(--rqc-red);
	color: #fff;
}

.rqc-result--low .rqc-result__tag {
	background: var(--rqc-ink);
	color: #fff;
}

.rqc-tiers {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.rqc-tier {
	padding: 12px;
	background: #fff;
	border: 1px solid var(--rqc-line);
	border-top: 4px solid var(--rqc-line);
	border-radius: 4px;
}

.rqc-tier.is-quoted {
	border-color: var(--rqc-black);
	border-top-color: var(--rqc-yellow);
	background: var(--rqc-tint);
}

.rqc-tier h4 {
	margin: 0 0 6px;
	font: 500 13px/1.25 var(--rqc-font);
	text-transform: uppercase;
	color: var(--rqc-ink);
}

.rqc-tier p {
	margin: 0;
}

.rqc-tier__typ {
	font: 900 22px/1.2 var(--rqc-font);
}

.rqc-tier__range,
.rqc-tier__per {
	font-size: 12px;
	color: var(--rqc-muted);
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> OFFER <*><*><*><*><*><*><*><*><*><*><*><*><*><*> */

/* The Storm Guard quote offer, under the report: black panel, yellow heading. */
.rqc-offer {
	margin: 30px -16px -22px;
	padding: 24px 16px 26px;
	background: var(--rqc-black);
	border-radius: 0 0 5px 5px;
	color: #fff;
}

.rqc-offer__h {
	margin: 0 0 8px;
	font: 400 21px/1.2 var(--rqc-font);
	text-transform: uppercase;
	color: var(--rqc-yellow);
}

.rqc-offer p {
	margin: 0 0 16px;
}

.rqc-offer a {
	color: var(--rqc-yellow);
	font-weight: 400;
}

.rqc-offer .rqc-field > span,
.rqc-offer .rqc-set > legend {
	color: #fff;
}

.rqc-offer .rqc-error {
	margin: 0 0 16px;
}

.rqc-offer .rqc-actions {
	margin-top: 4px;
}

/* On black, the main button flips to yellow with black text. */
.rqc-offer .rqc-btn {
	border-color: var(--rqc-yellow);
	background: var(--rqc-yellow);
	color: var(--rqc-black);
}

.rqc-offer .rqc-btn:hover {
	background: #fff;
	border-color: #fff;
}

.rqc-offer .rqc-btn--ghost {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.rqc-offer .rqc-btn--ghost:hover {
	background: #fff;
	color: var(--rqc-black);
}

.rqc-offer .rqc-choice {
	color: var(--rqc-black);
}

.rqc-check--consent {
	align-items: flex-start;
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.45;
}

.rqc-check--consent input {
	margin-top: 1px;
	accent-color: var(--rqc-yellow);
}

.rqc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rqc-actions--start {
	justify-content: flex-start;
}

/* <*><*><*><*><*><*><*><*><*><*><*><*> WIDER <*><*><*><*><*><*><*><*><*><*><*><*><*><*> */

@media (min-width: 600px) {
	.rqc-card {
		padding: 32px;
	}

	.rqc-h {
		font-size: 28px;
	}

	.rqc-offer {
		margin: 34px -32px -32px;
		padding: 30px 32px 32px;
	}

	.rqc-row--4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.rqc-actions {
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
	}

	.rqc-tiers {
		grid-template-columns: repeat(4, 1fr);
	}

	.rqc-checks {
		grid-template-columns: 1fr 1fr;
	}

	.rqc-map {
		height: 340px;
	}

	.rqc-facets {
		grid-template-columns: 1fr 1fr;
	}
}
