:root {
	--rowsy-navy: #071c2f;
	--rowsy-blue: #123f63;
	--rowsy-accent: #f25f3a;
	--rowsy-canvas: #f5f2eb;
	--rowsy-ink: #10283d;
	--rowsy-muted: #687887;
	--rowsy-line: rgba(16, 40, 61, .16);
}

.rowsy-tool {
	width: min(100%, 1120px);
	margin-inline: auto;
	padding: clamp(28px, 4vw, 52px);
	background: #fff;
	color: var(--rowsy-ink);
	border: 1px solid var(--rowsy-line);
	border-radius: 4px;
	box-shadow: 0 18px 50px rgba(7, 28, 47, .08);
}

.rowsy-tool--width-narrow { max-width: 760px; }
.rowsy-tool--width-wide { max-width: 1280px; }
.rowsy-tool--navy { background: var(--rowsy-navy); color: #fff; border-color: rgba(255,255,255,.14); }
.rowsy-tool--outline { background: transparent; box-shadow: none; }
.rowsy-tool * { box-sizing: border-box; }
.rowsy-tool__eyebrow { margin: 0 0 12px; color: var(--rowsy-accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.rowsy-tool__title { margin: 0 0 12px; color: inherit; font-size: clamp(28px, 3vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
.rowsy-tool__intro { max-width: 720px; margin: 0 0 30px; color: var(--rowsy-muted); font-size: 17px; line-height: 1.65; }
.rowsy-tool--navy .rowsy-tool__intro, .rowsy-tool--navy .rowsy-help { color: rgba(255,255,255,.68); }
.rowsy-form { display: grid; gap: 22px; }
.rowsy-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rowsy-form__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rowsy-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.rowsy-field--full { grid-column: 1 / -1; }
.rowsy-field label, .rowsy-field__label { color: inherit; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rowsy-field input, .rowsy-field select, .rowsy-field textarea {
	width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--rowsy-line); border-radius: 2px; background: #fff; color: var(--rowsy-ink); font: inherit;
}
.rowsy-field textarea { min-height: 120px; resize: vertical; }
.rowsy-tool--navy .rowsy-field input, .rowsy-tool--navy .rowsy-field select, .rowsy-tool--navy .rowsy-field textarea { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; }
.rowsy-field input:focus, .rowsy-field select:focus, .rowsy-field textarea:focus { outline: 3px solid color-mix(in srgb, var(--rowsy-accent) 28%, transparent); border-color: var(--rowsy-accent); }
.rowsy-choice { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; }
.rowsy-choice input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rowsy-accent); }
.rowsy-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 13px 24px; border: 1px solid var(--rowsy-accent); border-radius: 2px; background: var(--rowsy-accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.rowsy-button:hover, .rowsy-button:focus { background: var(--rowsy-navy); border-color: var(--rowsy-navy); color: #fff; }
.rowsy-tool--navy .rowsy-button:hover, .rowsy-tool--navy .rowsy-button:focus { background: #fff; border-color: #fff; color: var(--rowsy-navy); }
.rowsy-button:focus-visible { outline: 3px solid color-mix(in srgb, var(--rowsy-accent) 35%, transparent); outline-offset: 3px; }
.rowsy-result { display: grid; gap: 8px; padding: 22px; background: var(--rowsy-canvas); border-left: 4px solid var(--rowsy-accent); }
.rowsy-tool--navy .rowsy-result { background: rgba(255,255,255,.08); }
.rowsy-result__value { font-size: clamp(30px, 4vw, 52px); font-weight: 800; line-height: 1; }
.rowsy-help { margin: 0; color: var(--rowsy-muted); font-size: 14px; line-height: 1.55; }
.rowsy-notice { margin-bottom: 24px; padding: 15px 18px; border-left: 4px solid var(--rowsy-accent); background: #fff4ef; color: var(--rowsy-ink); }
.rowsy-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rowsy-status::before { width: 9px; height: 9px; background: #52ce8d; border-radius: 50%; content: ''; }
.rowsy-timeline { display: grid; margin: 30px 0 0; padding: 0; list-style: none; }
.rowsy-timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-bottom: 28px; }
.rowsy-timeline li::before { grid-column: 1; grid-row: 1; width: 14px; height: 14px; margin-top: 4px; background: var(--rowsy-accent); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--rowsy-accent); content: ''; }
.rowsy-timeline li::after { position: absolute; top: 24px; bottom: 0; left: 6px; width: 2px; background: var(--rowsy-line); content: ''; }
.rowsy-timeline li:last-child::after { display: none; }
.rowsy-timeline strong, .rowsy-timeline span { display: block; }
.rowsy-timeline span { margin-top: 5px; color: var(--rowsy-muted); }
.rowsy-checklist { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.rowsy-checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rowsy-line); }
.rowsy-checklist li::before { display: grid; flex: 0 0 24px; height: 24px; place-items: center; border: 1px solid var(--rowsy-accent); border-radius: 50%; color: var(--rowsy-accent); content: '\2713'; font-weight: 800; }
.rowsy-dashboard { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.rowsy-dashboard__card { padding: 24px; border: 1px solid var(--rowsy-line); background: rgba(255,255,255,.04); }
.rowsy-dashboard__card strong { display: block; margin-top: 8px; font-size: 28px; }
.rowsy-table-wrap { overflow-x: auto; }
.rowsy-table { width: 100%; border-collapse: collapse; }
.rowsy-table th, .rowsy-table td { padding: 15px; border-bottom: 1px solid var(--rowsy-line); text-align: left; vertical-align: top; }
.rowsy-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rowsy-tool__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rowsy-piece { display: grid; grid-template-columns: 90px repeat(4,minmax(0,1fr)) auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--rowsy-line); }
.rowsy-piece button { min-height: 52px; }
.rowsy-hidden { display: none !important; }

@media (max-width: 760px) {
	.rowsy-tool { padding: 24px 18px; }
	.rowsy-form__grid, .rowsy-form__grid--3, .rowsy-dashboard { grid-template-columns: 1fr; }
	.rowsy-piece { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.rowsy-piece .rowsy-field:first-child { grid-column: 1 / -1; }
	.rowsy-button { width: 100%; }
}


/* Public tracking: long customer references and explicit event times. */
.rowsy-tracking-result,.rowsy-tracking .rowsy-timeline{overflow-wrap:anywhere}
.rowsy-tracking-result,.rowsy-tracking-notice{margin-top:24px}
.rowsy-tracking-empty{margin-top:20px}
.rowsy-tracking .rowsy-timeline time{display:block;margin-top:5px;color:var(--rowsy-muted);font-size:14px}
.rowsy-tracking .rowsy-status::before{background:var(--rowsy-blue)}
.rowsy-tracking-notice a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.rowsy-tracking :focus-visible{outline:3px solid var(--rowsy-blue);outline-offset:3px}

.rowsy-quote-review{margin-block:24px}
.rowsy-quote-review summary{cursor:pointer;font-weight:700;padding-block:12px}
.rowsy-quote-review table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.rowsy-quote-review th,.rowsy-quote-review td{text-align:left;vertical-align:top;padding:10px 8px;border-bottom:1px solid var(--rowsy-line);overflow-wrap:anywhere}
.rowsy-quote-review th{width:38%}
.rowsy-confirmation .rowsy-result__value{overflow-wrap:anywhere}
[data-rowsy-quote-form] button:disabled{opacity:.65;cursor:wait}
