/* assets/qualify.css — "Do I qualify?" checker */
.q-layout { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 2.2rem; align-items: start; margin-top: 1.2rem; }

/* form */
.q-form { position: sticky; top: 90px; background: #fff; border: 1px solid #e6e7f0; border-radius: 18px; padding: 22px 22px 18px;
    box-shadow: 0 10px 30px -18px rgba(2,35,79,.35); display: flex; flex-direction: column; gap: 18px; }
.q-step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.q-num { width: 30px; height: 30px; border-radius: 50%; background: #f1edff; color: #4105f5; font-weight: 800; font-size: .9rem;
    display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.q-field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.q-q { font-weight: 700; color: #02234f; font-size: 1rem; line-height: 1.35; }
.q-q.small { font-size: .92rem; }
.q-hint { font-size: .82rem; color: #6b7280; line-height: 1.45; }
.q-form select, .q-form input[type=text] { appearance: none; -webkit-appearance: none; width: 100%; height: 44px; padding: 0 12px;
    font: inherit; font-size: .98rem; color: #1d2433; background-color: #fafafe; border: 1px solid #d5d7e3; border-radius: 10px; outline: none;
    transition: border-color .15s, box-shadow .15s; }
.q-form select { padding-right: 34px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; }
.q-form select:focus, .q-form input:focus { border-color: #4105f5; box-shadow: 0 0 0 3px rgba(65,5,245,.15); background-color: #fff; }
.income-row { display: grid; grid-template-columns: 1fr 130px; gap: 8px; }
.money-input { position: relative; }
.money-input .dollar { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #6b7280; font-weight: 600; }
.money-input input[type=text] { padding-left: 26px; }
.more-opts { margin-left: 42px; }
.more-opts summary { cursor: pointer; color: #4105f5; font-weight: 600; font-size: .9rem; margin-bottom: .6rem; }
.q-submit { margin-top: 4px; border: 0; background: #4105f5; color: #fff; font-weight: 700; font-size: 1.05rem; height: 48px; border-radius: 12px;
    cursor: pointer; transition: background .15s; }
.q-submit:hover { background: #2c02b0; }
.q-note { font-size: .8rem; color: #6b7280; text-align: center; margin: -6px 0 0; }

/* intro panel (before checking) */
.q-explain { background: #f6f7fb; border-radius: 18px; padding: 24px 26px; max-width: 560px; }
.q-explain h2 { margin: 0 0 .5rem; font-size: 1.15rem; color: #02234f; }
.q-explain p { font-size: .95rem; line-height: 1.6; color: #374151; margin: 0 0 1rem; }
.q-levels { display: flex; flex-direction: column; gap: 8px; margin: 0 0 1rem; }
.q-levels div { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 9px 12px; }
.q-levels dt { font-weight: 800; color: #4105f5; font-size: .95rem; }
.q-levels dd { margin: 0; color: #374151; font-size: .9rem; }
.q-more { font-weight: 600; font-size: .92rem; }

/* results */
.q-result h2 { margin-top: 1.8rem; font-size: 1.25rem; }
.q-verdict { border-radius: 18px; padding: 22px 24px; border: 1px solid #e6e7f0; background: #fff; }
.q-verdict h2 { margin-top: 0; }
.q-verdict.yes { border-top: 5px solid #2f9e5b; }
.q-verdict.no { border-top: 5px solid #d39b00; }
.q-verdict p { color: #374151; line-height: 1.6; }
.q-table { width: 100%; border-collapse: collapse; margin: .8rem 0; font-size: .93rem; }
.q-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7280; padding: .5rem; border-bottom: 1px solid #e6e7f0; }
.q-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid #f0f1f6; vertical-align: top; color: #1d2433; }
.q-table tr.ok td:first-child { box-shadow: inset 4px 0 0 #2f9e5b; padding-left: 12px; }
.q-table tr.no td { color: #9ca3af; }
.q-table tr.no td:first-child { box-shadow: inset 4px 0 0 #e5e7eb; padding-left: 12px; }
.warn-text { color: #a15c00; font-size: .82rem; font-weight: 600; }
.next-steps { margin-top: 1.8rem; background: #f6f7fb; border: 0; border-radius: 18px; }
.next-steps h2 { margin-top: 0; }
.numbered, .numbered li { list-style: decimal !important; }
.plain-list { padding-left: 1.3rem; }
.plain-list li { list-style: disc; margin: .35rem 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 900px) { .q-layout { grid-template-columns: 1fr; } .q-form { position: static; } .q-explain { max-width: none; } }
.q-result { padding: 0; }
