/* Shared intake, account, workspace and modal ergonomics. */
.modal-body{display:contents}
.modal-body>p{font-size:12px;line-height:1.9;margin-top:15px}
.modal-body>.helper{font-size:10px}
body.modal-open{overflow:hidden;overscroll-behavior:none}
.mobile-input-tools{display:none}
.mobile-input-tools[hidden]{display:none!important}
@media(max-width:760px){
 html{scroll-padding-block:24px 120px}
 .topbar .brand,.app-topbar .brand,.u-workspace-head .brand{min-height:44px}
 .topbar>.button,.unified-site .topbar>.button,.topbar:has(.save-indicator)>.text-button,.intake-context .back-home{min-height:44px}
 .topbar:has(.save-indicator)>.text-button{white-space:nowrap}
 .app-header-actions .icon-button{width:44px;height:44px}
 .workspace-content .text-link,.workspace-content .button.small,.workspace-content .text-button,.workspace-content .section-heading .text-link,.workspace-content .service-card .text-button,.workspace-content .assistant-card .button,.content-page .text-link,.content-page .service-card .text-link{min-height:44px}
 .unified-site main .text-link,.site-footer a,.site-footer button,.privacy-choice .button,.privacy-choice .text-button{min-height:44px;display:flex;align-items:center}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;scroll-margin-block:24px;max-width:100%}
 textarea{min-height:112px;line-height:1.55;resize:vertical}
 input,select{min-height:52px}
 .intake-layout{padding:0 20px calc(112px + env(safe-area-inset-bottom));margin:0 auto;max-width:600px}
 .intake-main{min-width:0;padding-top:20px}
 .question-heading{margin:25px 0 24px}
 .question-heading h1{font-size:30px;line-height:1.14;letter-spacing:-.04em;overflow-wrap:anywhere}
 .question-heading p{font-size:14px;line-height:1.65;margin-top:13px}
 .flow-top{font-size:11px}
 .field{min-width:0;margin-bottom:20px}
 .field>span{font-size:13px;line-height:1.5;gap:8px}
 .field em{font-size:12px}
 .field input,.field select,.field textarea{padding:14px}
 .field-grid{grid-template-columns:1fr;gap:0}
 .name-input{grid-template-columns:minmax(0,1fr) 92px;gap:10px}
 .owner-card{padding:18px 16px}
 .owner-heading{gap:10px;flex-wrap:wrap;font-size:13px}
 .owner-heading .badge{font-size:10px}
 .ownership-footer{gap:10px;flex-wrap:wrap;font-size:13px}
 .choice strong{font-size:15px;line-height:1.4}
 .choice small{font-size:13px;line-height:1.6}
 .choice{gap:12px;padding:18px 15px}
 .choice-content{min-width:0}
 .choice-icon,.choice-radio{flex-shrink:0}
 .helper,.soft-note{font-size:13px;line-height:1.7}
 .flow-actions{gap:12px;margin:0;padding:12px 20px calc(12px + env(safe-area-inset-bottom))}
 .flow-actions .button{min-height:50px;font-size:14px;line-height:1.35;padding:13px 16px}
 .flow-actions .primary{flex:1;max-width:300px}
 .flow-short-note{display:none}
 .plan-card{padding:20px}
 .plan-card li,.plan-renewal{font-size:13px;line-height:1.6}
 .plan-card ul{display:grid;gap:9px}
 .plan-price small{font-size:13px}
 .interest-card{min-width:0;min-height:170px;padding:17px 14px}
 .interest-card strong{font-size:14px;line-height:1.4}
 .interest-card small{font-size:12px;line-height:1.65}
 .review-row strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
 .review-row .text-button{min-width:44px;min-height:44px}
 .consent{font-size:13px;line-height:1.65;align-items:flex-start}
 .consent input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin-top:2px}
 .modal-backdrop{top:var(--visible-top,0px);bottom:auto;height:var(--visible-height,100dvh);padding:10px max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));align-items:flex-end;overflow:hidden}
 .modal{display:flex;flex-direction:column;padding:0;margin:0;border-radius:22px;max-height:100%;overflow:hidden;min-height:0;max-width:560px}
 .modal>header{padding:20px 20px 14px;margin:0;gap:14px;flex-shrink:0;align-items:flex-start}
 .modal h2{font-size:23px;line-height:1.15;letter-spacing:-.035em;margin:0}
 .modal>header .icon-button{width:44px;min-width:44px;height:44px;flex-shrink:0}
 .modal-body{display:block;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 20px 20px;min-height:0}
 .modal-body>p{font-size:13px;line-height:1.65;margin:0 0 17px}
 .modal .helper{font-size:12px;line-height:1.65}
 .modal .button,.modal .text-button{min-height:44px;font-size:14px}
 .modal:has(.u-state-options){height:min(720px,100%)}
 .modal-body:has(.u-state-options){display:flex;flex-direction:column;flex:1}
 .modal-body:has(.u-state-options)>p,.u-state-search{flex-shrink:0}
 .u-state-search{margin:0 0 14px;padding:4px}
 .u-state-options{max-height:none;min-height:64px;overflow:auto;overscroll-behavior:contain;flex:1}
 .u-state-option{font-size:15px;min-height:52px;padding:14px 8px;flex-shrink:0}
 .state-list{max-height:min(48dvh,400px);overscroll-behavior:contain}
 .mobile-input-tools{position:fixed;z-index:160;bottom:var(--keyboard-inset,0px);left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;padding:3px 18px;background:#f8f9fc;border-top:1px solid #deddea;box-shadow:0 -4px 12px #1a223708}
 .mobile-input-tools button{font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:8px 10px;color:#5d43ed;background:none;border:0;border-radius:9px;cursor:pointer}
 .mobile-input-tools button:disabled{color:#8c91a2;cursor:default}
 .mobile-input-tools button:last-child{margin-left:auto}
 .modal>.mobile-input-tools{position:static;flex-shrink:0;box-shadow:none}
 html[data-keyboard-open] .flow-actions,html[data-keyboard-open] .bottom-nav{visibility:hidden;pointer-events:none}
 html[data-keyboard-open] .intake-layout{padding-bottom:calc(80px + var(--keyboard-inset,0px))}
 html[data-keyboard-open] #toast{bottom:calc(var(--keyboard-inset,0px) + 60px)}
}
@media(max-width:360px){
 .topbar:has(.save-indicator){padding-inline:16px}
 .topbar:has(.save-indicator) .brand .open-wordmark-logo{width:112px}
 .topbar:has(.save-indicator) .save-indicator{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media(max-width:760px){
 .site-footer .footer-nav a,.site-footer .footer-nav button{min-height:38px;padding:4px 0;border-bottom:1px solid #eef0f5}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* A brighter mobile layer for intake and account pages. Structure and form behavior stay unchanged. */
.intake-eyebrow{display:inline-flex;align-items:center;gap:9px}
.intake-eyebrow-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eee9ff;color:#5d43ed}
.intake-eyebrow-icon .icon{width:15px;height:15px}
@media(max-width:760px){
 body:has(.intake-layout),body:has(.identity-page),body:has(.auth-page){background:radial-gradient(circle at 104% 8%,#dff8ff 0 11%,transparent 31%),radial-gradient(circle at -15% 54%,#eee9ff 0 10%,transparent 31%),linear-gradient(180deg,#f9fbff 0%,#f7f9ff 52%,#fffaf7 100%)}
 .topbar:has(.save-indicator){border-bottom-color:#e4e1f2;background:#ffffffed;box-shadow:0 8px 24px #26395b0a;backdrop-filter:blur(16px)}
 .intake-main{position:relative}
 .intake-main progress{height:6px;background:#ebeef5;box-shadow:inset 0 1px 2px #17233b0c}
 .intake-main progress::-webkit-progress-bar{background:#ebeef5}
 .intake-main progress::-webkit-progress-value{background:linear-gradient(90deg,#5d43ed,#816bff 55%,#2ab4be)}
 .intake-main progress::-moz-progress-bar{background:linear-gradient(90deg,#5d43ed,#816bff 55%,#2ab4be)}
 .question-heading{position:relative}
 .question-heading .intake-eyebrow{width:max-content;max-width:100%;margin-bottom:14px;padding:5px 10px 5px 5px;border:1px solid #ffffffc4;border-radius:999px;background:#ffffffc7;color:#4f3cc1;box-shadow:0 7px 20px #263b5e0b;letter-spacing:.105em}
 .intake-eyebrow-icon{width:29px;height:29px;border-radius:9px;color:#fff;box-shadow:0 6px 15px #31266b1c}
 .intake-eyebrow[data-intake-group="0"] .intake-eyebrow-icon{background:linear-gradient(145deg,#5d43ed,#8d79ff)}
 .intake-eyebrow[data-intake-group="1"] .intake-eyebrow-icon{background:linear-gradient(145deg,#168f9c,#45c7cf)}
 .intake-eyebrow[data-intake-group="2"] .intake-eyebrow-icon{background:linear-gradient(145deg,#d88a26,#ffc25a)}
 .intake-eyebrow[data-intake-group="3"] .intake-eyebrow-icon{background:linear-gradient(145deg,#cf4e75,#ff819e)}
 .question-heading h1{color:#17223a;text-wrap:balance}
 .choices{gap:11px}
 .choice{position:relative;overflow:hidden;border-color:#dfe4ef;background:linear-gradient(105deg,#fff,#fbfcff);box-shadow:0 7px 22px #1b2b4509}
 .choice:nth-child(4n+1){background:linear-gradient(105deg,#f2efff,#fff 70%);border-color:#ddd6ff}
 .choice:nth-child(4n+2){background:linear-gradient(105deg,#eaf9fb,#fff 70%);border-color:#d1edf1}
 .choice:nth-child(4n+3){background:linear-gradient(105deg,#fff5e5,#fff 70%);border-color:#f4e2c5}
 .choice:nth-child(4n){background:linear-gradient(105deg,#fff0f4,#fff 70%);border-color:#f2d6de}
 .choice .choice-icon{color:#fff;border:1px solid #ffffff7d;box-shadow:0 7px 17px #1a22371a}
 .choice:nth-child(4n+1) .choice-icon{background:linear-gradient(145deg,#5d43ed,#8d79ff)}
 .choice:nth-child(4n+2) .choice-icon{background:linear-gradient(145deg,#168f9c,#45c7cf)}
 .choice:nth-child(4n+3) .choice-icon{background:linear-gradient(145deg,#d88a26,#ffc25a)}
 .choice:nth-child(4n) .choice-icon{background:linear-gradient(145deg,#cf4e75,#ff819e)}
 .choice.selected{background:linear-gradient(105deg,#eee9ff,#fff 76%);border-color:#6f54ee;box-shadow:0 0 0 2px #6f54ee1f,0 9px 26px #4a35c516}
 .choice.selected .choice-radio{box-shadow:0 5px 13px #5d43ed28}
 .owner-card,.estimate-card,.review-card{border-color:#ddd8ef;box-shadow:0 8px 24px #1b2b4509}
 .owner-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fbfaff)}
 .owner-card:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#5d43ed,#2eb3bd,#ffc25a)}
 .soft-note,.postal-lookup-status{background:linear-gradient(115deg,#f0edff,#eefaff);border-color:#ddd8f4}
 .plan-options{gap:12px}
 .plan-card{position:relative;overflow:hidden;background:linear-gradient(150deg,#fff,#fbfcff);border-color:#dfe3ed;box-shadow:0 8px 24px #1b2b4509}
 .plan-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#5d43ed,#8976ff)}
 .plan-card:nth-child(2):before{background:linear-gradient(90deg,#168f9c,#45c7cf)}
 .plan-card:nth-child(3):before{background:linear-gradient(90deg,#d88a26,#ffc25a)}
 .plan-card.selected{background:linear-gradient(145deg,#f4f1ff,#fff);box-shadow:0 0 0 2px #5d43ed1a,0 10px 28px #4b36c316}
 .interest-card{position:relative;overflow:hidden;border-color:#dfe3ed;background:#fff;box-shadow:0 7px 22px #1b2b4508}
 .interest-card:nth-child(4n+1){background:linear-gradient(145deg,#f2efff,#fff);border-color:#ddd6ff}
 .interest-card:nth-child(4n+2){background:linear-gradient(145deg,#eaf9fb,#fff);border-color:#d1edf1}
 .interest-card:nth-child(4n+3){background:linear-gradient(145deg,#fff5e5,#fff);border-color:#f4e2c5}
 .interest-card:nth-child(4n){background:linear-gradient(145deg,#fff0f4,#fff);border-color:#f2d6de}
 .interest-card .interest-top>.icon{box-sizing:content-box;padding:8px;border-radius:11px;background:#fff;color:#5d43ed;box-shadow:0 6px 15px #1a223712}
 .flow-actions{background:linear-gradient(90deg,#f9fbfff2,#f7f5fff2);border-top-color:#ded9f0;box-shadow:0 -10px 30px #1a22370b}
 .flow-actions .primary{background:linear-gradient(105deg,#694cf1,#5d43ed 56%,#347fd2);border-color:transparent;box-shadow:0 8px 20px #5d43ed2d}
 .identity-page .panel{position:relative;overflow:hidden;border-color:#ddd8ef;background:linear-gradient(155deg,#fff,#faf9ff 60%,#f0faff);box-shadow:0 18px 45px #23355313}
 .identity-page .panel:before{content:"✦";display:grid;place-items:center;width:48px;height:48px;margin-bottom:23px;border-radius:15px;background:linear-gradient(145deg,#5d43ed,#7d69f7 55%,#2eacb7);color:#fff;font-size:22px;box-shadow:0 10px 26px #5d43ed30}
 .identity-page .page-heading .eyebrow{width:max-content;padding:5px 9px;border-radius:999px;background:#eee9ff;color:#5038c8}
 .identity-page .button.primary{background:linear-gradient(105deg,#694cf1,#5d43ed 56%,#347fd2);border-color:transparent;box-shadow:0 9px 22px #5d43ed2d}
 .auth-card{padding:22px 19px 24px;border:1px solid #e0dcef;border-radius:22px;background:linear-gradient(155deg,#ffffffed,#faf9ffed 62%,#eefaffed);box-shadow:0 18px 45px #23355312;backdrop-filter:blur(14px)}
 .auth-heading .large-icon{border-color:#ffffff87;background:linear-gradient(145deg,#5d43ed,#7d69f7 55%,#2eacb7);color:#fff;box-shadow:0 10px 24px #5d43ed2d}
 .auth-tabs{border:1px solid #e2def2;background:linear-gradient(90deg,#efecff,#ecf8fb);box-shadow:inset 0 1px #fff}
 .auth-tabs>button.active{color:#5138d0;box-shadow:0 5px 14px #24385a13}
 .auth-card .button.primary{background:linear-gradient(105deg,#694cf1,#5d43ed 56%,#347fd2);border-color:transparent;box-shadow:0 9px 22px #5d43ed2d}
}
@media(max-width:760px) and (prefers-reduced-motion:no-preference){
 .choice,.plan-card,.interest-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
 .choice:active,.plan-card:active,.interest-card:active{transform:scale(.988)}
}
