/* /request-access on the Sheet: the pitch and the form share the first screen. Scoped to .ra-form, which the console and the office use for their forms too.
   The form's classes come from the React components and the Twig fallback. */
.ra { padding-bottom: clamp(40px, 6vw, 72px); }
.ra-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .ra-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 56px; } }
.ra-grid > * { min-width: 0; }
.ra-lbl { display: block; margin: 0 0 16px; color: var(--ink-2); }
.ra-price { margin: 0 0 18px; font-size: 15px; color: var(--ink-3); }
.ra-price b { font-weight: 510; color: var(--ink); }
.ra-more .install { margin-top: 18px; }

/* the form */
.ra-form .door-card { display: grid; gap: 0; align-content: start; padding: 0 0 20px; border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); }
/* sheet.css draws every <header> as the sticky site bar; this one is the form's own */
.ra-form .door-card header { position: static; z-index: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0 0 8px; padding: 14px 20px; background: none; backdrop-filter: none; border-bottom: 1px solid var(--rule); font-family: var(--grid); font-size: 12px; line-height: 1.2; letter-spacing: .04em; color: var(--ink-2); }
.ra-form .door-card header span { min-width: 0; overflow-wrap: anywhere; }
.ra-form .door-card header span:last-child { color: var(--accent); }
.ra-form .gate-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 8px 20px; }
.ra-form .gate-label { display: grid; gap: 2px; }
.ra-form .gate-field label { font-size: 13px; line-height: 1.4; font-weight: 510; letter-spacing: -.01em; color: var(--ink-3); }
.ra-form .gate-label p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.ra-form .field-box { display: block; width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 15px/1.45 var(--sans); letter-spacing: -.01em; transition: border-color .16s var(--quick); }
.ra-form .field-box:focus { outline: 0; border-color: var(--accent); }
.ra-form textarea.field-box { min-height: 110px; resize: vertical; }
.ra-form select.field-box { cursor: pointer; }
.ra-form input:-webkit-autofill, .ra-form input:-webkit-autofill:focus { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); box-shadow: inset 0 0 0 1000px var(--paper); }
.ra-form .gate-field.check-row { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.ra-form .gate-field.check-row ul { grid-column: 1 / -1; }
/* errors in amber: red is for the word deny */
.ra-form .form-errors, .ra-form .gate-field ul, .ra-form form > ul { list-style: none; margin: 4px 0; padding: 8px 12px; border: 1px solid rgba(227, 179, 65, .45); border-radius: 8px; font-size: 13px; line-height: 1.4; color: #e3b341; }
.ra-form .form-errors, .ra-form .door-card > ul { margin: 8px 20px; }
.ra-form .door-card .ab { appearance: none; margin: 12px 20px 0; padding: 11px 14px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: var(--paper); font: 510 14px/1.2 var(--sans); letter-spacing: -.013em; cursor: pointer; transition: background .16s var(--quick), border-color .16s var(--quick); }
.ra-form .door-card .ab:hover { background: #e6e7e8; border-color: #e6e7e8; }
.ra-fine { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.ra-fine a { color: var(--ink-3); text-underline-offset: 3px; }

/* after a request */
.ra-form .accepted { padding: 22px 20px; border: 1px solid rgba(79, 242, 240, .4); border-radius: 12px; background: var(--panel); }
.ra-form .accepted .px { display: block; margin: 0 0 12px; color: var(--accent); }
.ra-form .accepted .quote { margin: 0 0 8px; font-size: 16px; font-weight: 510; color: var(--ink); overflow-wrap: anywhere; }
.ra-form .accepted p:last-child { margin: 0; font-size: 14px; color: var(--ink-2); }
.ra-form .accepted code, .ra-cmd { font-family: var(--mono); }
.ra-form .accepted code { font-size: 13px; color: var(--ink-3); }

/* the steps and the plans */
.ra-sec-lbl { display: block; margin: 0 0 14px; color: var(--ink-2); }
.ra-steps { margin-top: 8px; }
.ra-cmd { display: block; margin-top: 12px; padding: 8px 12px; border: 1px solid var(--rule-2); border-radius: 8px; background: var(--panel); font-size: 13px !important; font-weight: 500; color: var(--ink) !important; }
.ra-cmd::before { content: "$ "; color: var(--muted); }
.ra-plans { margin-top: 8px; }
.ra-plans .card .price { font-size: 22px; line-height: 1.2; margin: 0 0 12px; color: var(--ink); }
.ra-after { margin: 24px 0 0; }
.ra-after + .ender { margin-top: 18px; }

/* /contact: a field people never see, which a form-filling bot fills */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ra-form .door-card .ra-fine { margin: 12px 20px 0; }
