/* Generated 2026-09-27T11:02:37Z from src/scss */
:root {
    font-family: "Assistant", Arial, sans-serif;
    color: #111111;
    background: #f4f0ea;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: #f4f0ea;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    background: #f4f0ea;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.app-shell {
    width: min(100%, 676px);
    min-height: 100svh;
    margin: 0 auto;
    padding: 32px 24px 0;
    display: flex;
    flex-direction: column;
    background: #f4f0ea;
    position: relative;
    isolation: isolate;
}

.brand-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #f4f0ea;
    margin: -32px -24px 0;
    padding: 32px 24px 5px;
}

.brand-header.is-meet {
    padding-bottom: 10px;
}

.brand-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 80px;
    background: #f4f0ea;
}

.brand-header .header-row,
.brand-header .progress-track {
    width: 100%;
}

.header-row {
    display: flex;
    align-items: center;
    min-height: 40px;
    direction: ltr;
    margin-bottom: 10px;
}

.header-progress {
    margin-right: auto;
    color: #aa9576;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.brand-mark {
    display: block;
    width: 103px;
    height: 28px;
    margin-left: auto;
    flex-shrink: 0;
}

.progress-track {
    display: flex;
    justify-content: flex-start;
    direction: rtl;
    height: 3px;
    background: #c7bfb2;
    overflow: hidden;
}

.progress-track span {
    display: block;
    height: 100%;
    width: 0;
    background: #111111;
    transition: width .25s ease;
}

.header-back {
    display: flex;
    align-items: center;
    width: max-content;
    margin: 10px auto 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    direction: ltr;
    white-space: nowrap;
}

.intake-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    z-index: 1;
}

#steps {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

#steps:has(.step--intro.is-active) {
    padding-bottom: 0;
}

.step {
    display: none;
    position: relative;
    z-index: 0;
    animation: reveal .25s ease both;
}

.step.is-active { 
    display: block;
}

.step--intro.is-active,
.step--success.is-active {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 16px;
}

.step--success.is-active {
    min-height: calc(100svh - 64px);
    padding-bottom: 32px;
}

.eyebrow {
    margin: 0 0 8px;
    color: #aa9576;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

h1, h2 {
    margin: 0;
    font-weight: 600;
    color: #111111;
}

h1 {
    font-size: 42px;
    line-height: 1;
}

h2 {
    font-size: 32px;
    line-height: 1;
    padding-bottom: 10px;
}

h3, .section-title {
    margin: 8px 0 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: #111111;
}

.screen-intro {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
}

.intro-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.step-copy,
.intro-copy {
    margin: 0;
    color: #aa9576;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
}

.intro-copy {
    color: #111111;
    font-size: 20px;
    line-height: 29px;
    max-width: 345px;
    margin-top: 10px;
}

.intro-note {
    margin: 9px 0 0;
    color: #aa9576;
    font-size: 14px;
    line-height: 17px;
}

.intro-footer {
    margin-top: 16px;
    color: #111111;
    font-size: 14px;
    line-height: 17px;
    text-align: right;
}

.wordmark {
    width: 100%;
    min-height: 213px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px 0 0;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 7px;
    line-height: 1;
    text-align: center;
}

.wordmark small {
    display: block;
    margin-top: 8px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-style: italic;
    letter-spacing: 0;
}

.wordmark--success {
    min-height: 148px;
    margin-top: 24px;
}

.privacy-note {
    margin: 10px 0 0;
    color: #aa9576;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

.actions {
    position: sticky;
    bottom: 0;
    z-index: 15;
    margin: 0 -24px;
    padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
    background: #f4f0ea;
}

.actions.is-hidden {
    display: none;
}

.fields {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* Errors are siblings in this stack; pull them out of the 13px input gap. */
.fields > .field-error:not([hidden]) {
    margin-top: calc(4px - 13px);
}

.hint {
    margin: 0;
    color: #aa9576;
    font-size: 15px;
    line-height: 20px;
}

.did-you-know {
    margin: 4px 0 0;
    color: #111111;
    font-size: 15px;
    line-height: 20px;
}

.read-only,
.declaration-for {
    margin: 0;
    color: #111111;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.choice-hint {
    margin: 4px 0 0;
    color: #aa9576;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.disclaimer {
    margin: 0;
    color: #aa9576;
    font-size: 12px;
    line-height: 16px;
}

.legal-card {
    border: 1px solid #111111;
    background: #ffffff;
    padding: 12px;
    border-radius: 4px;
}

.legal-card h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.legal-card p {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 16px;
}

.legal-card p:last-child { margin-bottom: 0; }

.success-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 8px;
}

.success-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 20px;
    color: #111111;
}

.success-copy .muted {
    color: #aa9576;
}

.form-error {
    margin: 0 0 10px;
    color: #c73838;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

[hidden] { display: none !important; }

@keyframes reveal {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

@media (min-width: 520px) {
    body { padding: 18px 0; }

    .app-shell {
        min-height: calc(100svh - 36px);
        border: 1px solid #c7bfb2;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 64px;
    padding: 8px 14px;
    border: 1px solid #c7bfb2;
    border-radius: 4px;
    background: #ffffff;
    color: #aa9576;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    position: relative;
}

.field--compact {
    min-height: 48px;
    padding: 9px 14px;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.field,
.upload,
.question,
.choice,
.reason,
.selectable,
.consent {
    border-color: #c7bfb2;
}

.field--open,
.field:focus-within {
    border-color: #111111;
    outline: none;
    box-shadow: none;
}

.field.is-error {
    border-color: #c73838;
}

.field-label {
    color: #aa9576;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.field input,
.field textarea,
.field .field-value {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    outline: 0;
    direction: rtl;
    appearance: none;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-text-fill-color: #141414;
    caret-color: #141414;
    transition: background-color 9999s ease-out 0s;
}

.field textarea {
    resize: vertical;
    min-height: 34px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #111111;
    opacity: 1;
}

.field input:focus::placeholder,
.field textarea:focus::placeholder,
.field input:focus::-webkit-input-placeholder,
.field textarea:focus::-webkit-input-placeholder {
    color: transparent;
    opacity: 0;
}

.question .field textarea::placeholder,
.field--detail textarea::placeholder {
    font-size: 14px;
}

.field-error {
    display: none;
    margin: 4px 0 0;
    color: #c73838;
    font-size: 12px;
    line-height: 16px;
}

.field-error[hidden] {
    display: none !important;
}

.field-error:not([hidden]) {
    display: block;
}

.field.is-error + .field-error,
.choice-grid.is-error + .field-error,
.check-list.is-error + .field-error,
.reason-list.is-error + .field-error,
.upload.is-error + .field-error,
.consent.is-error + .field-error,
.question.is-error + .field-error {
    display: block;
}

.question.is-error,
.upload.is-error {
    border-color: #c73838;
}

button.field {
    appearance: none;
    width: 100%;
    text-align: right;
    font: inherit;
}

.native-select {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.select-control { position: relative; }

.select-trigger {
    width: 100%;
    min-height: 21px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111111;
    text-align: right;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.select-trigger:focus,
.select-trigger:focus-visible,
.select-trigger:active {
    outline: none;
    box-shadow: none;
    background: transparent;
    color: #111111;
}

.field--select::before,
.field--select::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 8px;
    height: 1.5px;
    background: #111111;
    z-index: 2;
    pointer-events: none;
}

.field--select::before { transform: translate(-3px, -50%) rotate(45deg); }
.field--select::after { transform: translate(3px, -50%) rotate(-45deg); }

.field--select.field--open::before { transform: translate(-3px, -50%) rotate(-45deg); }
.field--select.field--open::after { transform: translate(3px, -50%) rotate(45deg); }

.select-menu {
    position: fixed;
    z-index: 40;
    overflow-x: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding: 6px 0 12px;
    border: 1px solid #111111;
    background: #ffffff;
    border-radius: 4px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.select-option {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    background: #ffffff;
    color: #111111;
    text-align: right;
    font-size: 15px;
}

.select-option:hover,
.select-option[aria-selected="true"] {
    background: #efe8dc;
}

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

.choice,
.reason,
.selectable,
.consent,
.opt-out {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 12px;
    min-height: 58px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid #c7bfb2;
    border-radius: 4px;
    background: #ffffff;
    color: #111111;
}

.selectable,
.consent {
    min-height: 42px;
}

.reason { min-height: 58px; }

.choice > span:not(.mark),
.reason > span:not(.mark),
.selectable > span:not(.mark),
.consent > span:not(.mark),
.opt-out > span:not(.mark) {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-align: right;
}

.choice:has(input:checked) > span:not(.mark),
.reason:has(input:checked) > span:not(.mark),
.selectable:has(input:checked) > span:not(.mark),
.consent:has(input:checked) > span:not(.mark),
.opt-out:has(input:checked) > span:not(.mark) {
    font-weight: 600;
}

.choice input,
.reason input,
.selectable input,
.consent input,
.opt-out input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice .mark,
.reason .mark,
.selectable .mark,
.consent .mark,
.opt-out .mark {
    order: -1;
}

.mark {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    box-sizing: border-box;
    border: 2px solid #c7bfb2;
    background: #ffffff;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.mark--radio { border-radius: 50%; }
.mark--check { border-radius: 4px; }

.choice:has(input:checked),
.reason:has(input:checked),
.selectable:has(input:checked),
.consent:has(input:checked),
.opt-out:has(input:checked) {
    border-color: #111111;
}

.choice:has(input:checked) .mark--radio,
.reason:has(input:checked) .mark--radio,
.opt-out:has(input:checked) .mark--radio {
    background:
        radial-gradient(circle, #111111 0 5px, transparent 5.5px);
}

.selectable:has(input:checked) .mark--check,
.reason:has(input:checked) .mark--check,
.consent:has(input:checked) .mark--check {
    background: #c7bfb2;
    border-color: #c7bfb2;
}

.selectable:has(input:checked) .mark--check::after,
.reason:has(input:checked) .mark--check::after,
.consent:has(input:checked) .mark--check::after {
    content: "";
    width: 10px;
    height: 6px;
    border: 1.6px solid #111111;
    border-top: 0;
    border-right: 0;
    transform: rotate(-45deg) translate(1px, -1px);
}

.check-list,
.reason-list {
    display: grid;
    gap: 14px;
}

.check-list--tight { gap: 14px; }

.pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.question {
    border: 1px solid #c7bfb2;
    border-radius: 4px;
    background: #ffffff;
    padding: 9px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.question h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.question .inline-choices {
    display: flex;
    justify-content: flex-start;
    gap: 18px;
}

.question .inline-choices .choice {
    min-height: 20px;
    padding: 0;
    border: 0;
    gap: 8px;
}

.question .field,
.field--detail {
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 8px 14px;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.question .field textarea,
.field--detail textarea {
    flex: 1 0 auto;
    min-height: 34px;
    height: auto;
    line-height: 1;
    resize: none;
}

.fade-target {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.fade-target.is-visible {
    opacity: 1;
    transform: none;
}

.upload {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 1px solid #c7bfb2;
    border-radius: 4px;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
}

.upload.is-attached {
    border-color: #111111;
    color: #111111;
    font-weight: 400;
}

.upload.is-attached .upload-icon { display: none; }
.upload .upload-check { display: none; }
.upload.is-attached .upload-check { display: block; }

.upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-icon,
.upload-check {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.back-link {
    border: 0;
    background: transparent;
    color: #111111;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 0;
    white-space: nowrap;
}

.button {
    width: 100%;
    min-height: 56px;
    border: 1px solid #111111;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.button:disabled,
.button.is-disabled {
    border-color: #aa9576;
    background: #f4f0ea;
    color: #aa9576;
    cursor: default;
}

.picker-backdrop,
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(17, 17, 17, .45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.date-sheet,
.signature-sheet {
    width: min(100%, 393px);
    background: #fbf9f5;
    border-radius: 16px 16px 0 0;
    padding: 12px 24px 24px;
}

.date-sheet {
    min-height: 456px;
}

.drag-handle {
    width: 36px;
    height: 4px;
    margin: 4px auto 16px;
    border-radius: 2px;
    background: #d4ccc2;
}

.date-sheet h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 600;
    line-height: 31px;
}

.date-sheet p {
    margin: 0 0 12px;
    color: #aa9576;
    font-size: 16px;
}

.wheel-head,
.wheels {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.wheel-head span {
    text-align: center;
    color: #aa9576;
    font-size: 16px;
    font-weight: 600;
}

.wheels {
    position: relative;
    height: 180px;
    margin: 8px 0 16px;
}

.wheels::before {
    content: "";
    position: absolute;
    z-index: 0;
    right: 0;
    left: 0;
    top: 64px;
    height: 52px;
    border: 1px solid #d4ccc2;
    border-radius: 8px;
    background: #ffffff;
    pointer-events: none;
}

.wheel {
    position: relative;
    z-index: 1;
    height: 180px;
    overflow-y: auto;
    padding: 64px 0;
    scroll-snap-type: y mandatory;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wheel::-webkit-scrollbar { display: none; }

.wheel button {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 52px;
    border: 0;
    background: transparent;
    color: #aa9576;
    font-size: 19px;
    scroll-snap-align: center;
}

.wheel button.is-selected { color: #111111; font-weight: 600; }

.signature-sheet {
    min-height: 360px;
}

.signature-sheet h3 {
    font-size: 24px;
    margin: 0 0 12px;
}

.signature-canvas-wrap {
    border: 1px solid #c7bfb2;
    border-radius: 4px;
    background: #ffffff;
    height: 180px;
}

.signature-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 180px;
    touch-action: none;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.button--ghost {
    background: transparent;
    color: #111111;
    border-color: #c7bfb2;
}

.signature-preview {
    max-height: 28px;
    width: auto;
}
