/* The approved preview's dialog rules, scoped away from the approved homepage. */
#readiness-modal{font-family:Geist,Arial,sans-serif;color:#101010;font-synthesis:none}
#readiness-modal *{box-sizing:border-box}
@scope (#readiness-modal) {
    button,input,textarea{font:inherit}
    #overlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:rgba(10,12,15,.58)}
    #overlay[hidden]{display:none}
    .dialog{display:flex;flex-direction:column;width:min(100%,760px);height:min(680px,calc(100dvh - 48px));overflow:hidden;border-radius:26px;background:#fff;box-shadow:0 30px 100px rgba(0,0,0,.28)}
    .progress{height:4px;flex:none;background:#efefef}
    .progress span{display:block;height:100%;background:#101010;transition:width .22s ease}
    .dialog-body{min-height:0;flex:1 1 auto;overflow-y:auto;padding:42px 52px 26px}
    .dialog-body.payment-body{padding-top:20px;padding-bottom:16px}
    .dialog-body.account-body{padding-top:20px;padding-bottom:12px}
    .account-body h1{margin:9px 0;font-size:37px}
    .account-body .hint{margin-bottom:14px}
    .account-body .result-card{padding:15px 20px}
    .account-body .result-card p{margin-top:4px}
    .account-body .compact-account{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px}
    .account-body .compact-account strong{font-size:18px}
    .account-body .compact-account span{max-width:58%;color:#555;font-size:14px;text-align:right}
    .account-body .preview-form{margin-top:7px}
    .account-body .preview-field{margin:8px 0 5px}
    .account-body .preview-input{min-height:47px;padding:11px 15px}
    .account-body .preview-note{margin-top:9px}
    .account-body .help{margin-top:7px}
    .payment-body h1{margin:8px 0;font-size:38px}
    .payment-body .hint{margin-bottom:6px}
    .payment-body .result-card{padding:12px 24px}
    .payment-body .preview-placeholder{padding:9px 24px}
    .payment-body .controls{gap:8px}
    .payment-body .preview-row{padding:9px 0}
    .payment-body .preview-field{margin:9px 0 5px}
    .payment-body .entry{min-height:54px}
    .payment-body .preview-placeholder p{margin-top:4px}
    .payment-body .help{margin-top:7px}
    .dialog-body.booking-body{padding-top:28px}
    .dialog-body.service-body{padding-top:28px;padding-bottom:8px}
    .dialog-body.confirmation-body{padding-top:20px;padding-bottom:10px}
    .confirmation-body h1{margin:8px 0 10px}
    .confirmation-body .hint{margin-bottom:16px}
    .confirmation-body .answer-group{gap:7px;margin-bottom:5px}
    .confirmation-body .small-choice{min-height:48px}
    .service-body h1{margin:10px 0 12px;font-size:40px}
    .service-body .hint{margin-bottom:22px}
    .service-body .public-observation.compact{margin:0 0 10px}
    .service-body .controls{gap:8px}
    .eyebrow{font-size:13px;font-weight:600;letter-spacing:.045em;text-transform:uppercase;color:#5b5b5b}
    h1{max-width:656px;margin:16px 0 14px;font-size:clamp(36px,4vw,48px);font-weight:700;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
    h1:focus{outline:none}
    .hint{max-width:590px;margin:0 0 31px;color:#585858;font-size:17px;line-height:1.5}
    .public-observation{margin:-12px 0 25px;padding:13px 17px;border:1px solid #e6e6e6;border-radius:13px;background:#fafafa;color:#444;font-size:14px;line-height:1.45}
    .public-observation.compact{margin:-17px 0 18px;padding:10px 14px}
    .public-observation strong{display:block;color:#191919;font-size:14px}
    .public-observation p{margin:5px 0 0}
    .public-observation ul{display:grid;gap:8px;margin:12px 0 0;padding:0;list-style:none}
    .public-observation li{padding-top:8px;border-top:1px solid #e8e8e8}
    .public-observation li b{margin-right:8px;color:#191919}
    .result-card{padding:22px 24px;border:1px solid #dedede;border-radius:16px;background:#f7f7f7;color:#303030;font-size:16px;line-height:1.5}
    .result-card strong{display:block;color:#101010;font-size:20px}
    .result-card p{margin:9px 0 0}
    .result-card a{color:#101010;text-decoration:underline;text-underline-offset:3px}
    .preview-row{display:flex;justify-content:space-between;gap:24px;padding:14px 0;border-bottom:1px solid #dedede;font-size:15px}
    .preview-row:first-of-type{margin-top:14px}
    .preview-row:last-child{border-bottom:0;padding-bottom:0}
    .preview-row span{color:#5b5b5b}
    .preview-row b{max-width:60%;text-align:right;overflow-wrap:anywhere}
    .preview-placeholder{padding:22px 24px;border:1px dashed #c8c8c8;border-radius:16px;color:#444;font-size:15px;line-height:1.5}
    .preview-placeholder strong{display:block;color:#101010;font-size:18px}
    .preview-placeholder p{margin:7px 0 0}
    .preview-field{display:block;margin:16px 0 7px;color:#454545;font-size:14px;font-weight:600}
    .preview-form{margin-top:18px}
    .preview-input{min-height:54px;padding:15px 18px;border:1px solid #dedede;border-radius:12px;background:#f7f7f7;font-size:16px}
    .preview-input.muted{color:#747474}
    .preview-note{margin:17px 0 0;color:#5b5b5b;font-size:14px;line-height:1.5}
    .preview-note a{color:#101010;text-underline-offset:3px}
    .text-action{margin-top:15px;padding:2px 0;border:0;background:none;color:#333;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:14px}
    .scan-progress{display:grid;justify-items:start;gap:8px;min-height:165px;padding:24px;border:1px solid #dedede;border-radius:16px;background:#f7f7f7}
    .scan-progress strong{font-size:20px}
    .scan-progress p{margin:0;color:#595959;font-size:15px}
    .scan-dots{display:flex;align-items:center;gap:7px;min-height:22px}
    .scan-dots i{width:7px;height:7px;border-radius:50%;background:#111;animation:scan-dot 1.2s ease-in-out infinite}
    .scan-dots i:nth-child(2){animation-delay:.2s}
    .scan-dots i:nth-child(3){animation-delay:.4s}
    @keyframes scan-dot{0%,60%,100%{opacity:.25;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}
    @media (prefers-reduced-motion:reduce){.scan-dots i{animation:none;opacity:1}}
    .service-choice{min-height:68px}
    .service-content{display:grid;gap:4px}
    .service-content strong{font-size:17px;font-weight:600}
    .service-content small{color:#626262;font-size:13px}
    .slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
    .slot{display:grid;gap:8px;min-height:98px;padding:16px;border:1px solid #dedede;border-radius:14px;background:#f7f7f7;color:#101010;text-align:left;cursor:pointer}
    .slot:hover,.slot[aria-pressed="true"]{border-color:#101010;background:#ebedf0}
    .slot span{font-size:15px;color:#555}
    .controls{display:grid;gap:12px}
    .controls.two{grid-template-columns:repeat(2,minmax(0,1fr))}
    .controls.two>.choice:last-child:nth-child(odd){grid-column:1/-1}
    .choice{display:flex;align-items:center;gap:16px;min-height:76px;padding:18px 20px;border:1px solid #dedede;border-radius:16px;background:#f7f7f7;color:#101010;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}
    .choice:hover{border-color:#101010;background:#f1f1f1;transform:translateY(-2px)}
    .choice[aria-pressed="true"]{border-color:#101010;background:#ebedf0}
    .choice-index{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;background:#fff;font-size:12px;font-weight:600;color:#555}
    .choice-label{font-size:17px;line-height:1.3}
    .answer-group{display:grid;gap:10px;margin-bottom:9px}
    .answer-group h2{margin:0;color:#444;font-size:15px;font-weight:600}
    .answer-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
    .small-choice{min-height:54px;padding:10px;border:1px solid #dedede;border-radius:12px;background:#f7f7f7;color:#101010;cursor:pointer}
    .small-choice:hover{border-color:#101010;background:#f1f1f1}
    .small-choice[aria-pressed="true"]{border-color:#101010;background:#ebedf0;font-weight:600}
    .exception-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .exception-options .choice{min-height:52px;padding:8px 14px}
    .exception-options .choice-label{font-size:15px}
    .entry{width:100%;min-height:62px;padding:17px 19px;border:1px solid #d8d8d8;border-radius:14px;background:#f7f7f7;color:#101010;font-size:18px;outline:none}
    textarea.entry{min-height:155px;resize:vertical;font-size:16px;line-height:1.5}
    .entry::placeholder{color:#737373}
    .help{margin:12px 0 0;color:#696969;font-size:14px;line-height:1.45}
    .dialog-bottom{display:flex;flex:none;align-items:center;justify-content:space-between;gap:16px;padding:20px 30px 26px;border-top:1px solid #e8e8e8;background:#fff}
    .back,.next{min-height:52px;padding:0 20px;border:0;border-radius:10px;cursor:pointer;font-size:17px}
    .back{background:#ebedf0;color:#101010}
    .back:hover{background:#dfe2e7}
    .back:disabled{visibility:hidden}
    .next{background:#101010;color:#fff}
    .next:hover:not(:disabled){background:#303030}
    .next:disabled{opacity:.4;cursor:not-allowed}
    .summary{display:grid;gap:0;margin:0;padding:0;list-style:none}
    .summary li{display:flex;justify-content:space-between;gap:25px;padding:13px 0;border-bottom:1px solid #e8e8e8;font-size:15px}
    .summary span{color:#585858}
    .summary b{max-width:58%;font-weight:600;text-align:right;overflow-wrap:anywhere}
    .scan-result{display:grid;gap:16px;color:#303030;font-size:16px;line-height:1.45}
    .scan-result p{margin:0}
    button:focus-visible{outline:3px solid #101010;outline-offset:4px}
    @media(max-width:640px){#overlay{padding:0;align-items:end}.dialog{width:100%;height:94dvh;border-radius:24px 24px 0 0}.dialog-body{padding:30px 24px 20px}.dialog-bottom{padding:16px 22px 22px}.controls.two,.exception-options{grid-template-columns:1fr}h1{font-size:36px}.hint{font-size:16px}.choice{min-height:65px}}
    @media(prefers-reduced-motion:reduce){.progress span,.choice{transition:none}.choice:hover{transform:none}}
}
#readiness-modal[data-input-modality="keyboard"] .entry:focus{border-color:#101010;box-shadow:0 0 0 3px rgba(16,16,16,.15)}
