/* Isolate the request dialog from the portal's navigation header/form defaults. */
.collection-request-dialog { box-sizing: border-box; }
.collection-request-dialog .request-dialog-header { display: block; height: auto; }
.collection-request-dialog .request-dialog-header .eyebrow { margin: 0 0 8px; padding-right: 64px; }
.collection-request-dialog .request-dialog-header h1 { width: auto; max-width: none; margin: 4px 0 8px; padding-right: 60px; }
.collection-request-dialog .request-dialog-header .request-intro { width: auto; margin: 0; letter-spacing: normal; text-transform: none; font-size: 14px; }
.collection-request-dialog .request-decision input,
.collection-request-dialog .request-consent input { width: 18px; height: 18px; flex: 0 0 18px; padding: 0; margin: 3px 0 0; }
.collection-request-dialog .request-consent span { flex: 1; }
.collection-request-dialog .request-form-actions > button { width: auto; }
@media(max-width:640px) { .collection-request-dialog .request-form-actions > button { width: 100%; } }

/* Guided request page with large native radio choices. */
html .collection-request-dialog,html[data-density=compact] .collection-request-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:94vh;padding:30px;background:#f7faff;border:1px solid #dae5f7}
.collection-request-dialog::backdrop{background:#e6edf7e8;backdrop-filter:blur(3px)}
.collection-request-dialog .request-dialog-header{margin:0 0 25px;padding:0 0 0 180px;border:0;background:none}
.collection-request-dialog .request-dialog-header h1{font-size:29px;color:#101f44}.collection-request-dialog .request-dialog-header .eyebrow{display:none}
.collection-request-dialog .request-dialog-header .request-intro{font-size:14px;color:#52678d;line-height:1.6}
.request-journey{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;align-items:start}
.request-steps{list-style:none;margin:0;padding:0;counter-reset:request-step}.request-steps li{counter-increment:request-step;display:flex;align-items:center;gap:10px;padding:14px 10px;margin-bottom:9px;border-radius:8px;color:#53678b;font-size:13px;line-height:1.4}.request-steps li:before{content:counter(request-step);display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#e0e7f3;color:#354b75;font-size:12px}.request-steps li.current{color:#1949dc;background:#e9f0ff;font-weight:650}.request-steps li.current:before{background:#2458fa;color:#fff}
.request-journey-content{min-width:0;padding:25px;background:#fff;border:1px solid #dce6f7;border-radius:12px}.request-journey-content>.request-error:empty{display:none}
.collection-request-dialog .request-edit-form{display:flex;flex-direction:column;gap:24px}
.request-who,.request-choice-section{border:0;padding:0;margin:0;min-width:0}
.request-who>legend,.request-choice-section>legend{display:flex;align-items:center;gap:12px;padding:0;margin-bottom:14px;font-size:15px;font-weight:650;color:#17294d}
.request-section-number{display:inline-grid;place-items:center;flex:none;width:29px;height:29px;border-radius:50%;background:#285cf6;color:white;font-size:14px;font-weight:600}
.request-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.request-fields-grid .request-field{font-size:13px;line-height:1.5}
.collection-request-dialog .request-field input,.collection-request-dialog .request-field select,.collection-request-dialog .request-field textarea{min-height:46px;padding:12px;font-size:14px;border:1px solid #d4e0f2;border-radius:8px;box-shadow:0 1px 2px #18365e03}.request-field input::placeholder{color:#8292ac}
.request-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.request-choice-section:nth-of-type(3) .request-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.request-choice-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 15px;min-height:105px;border:1px solid #d8e3f6;border-radius:9px;background:#fff;cursor:pointer;text-align:center;box-sizing:border-box;color:#172b51}
.request-choice-card input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;padding:0;margin:0}.request-choice-card:has(input:checked){border:2px solid #2a5fff;background:linear-gradient(130deg,#f8fbff,#eef3ff);padding:17px 14px}.request-choice-card:has(input:focus-visible){outline:3px solid #789cff;outline-offset:3px}.request-choice-card .portal-icon{width:30px;height:30px;flex:none;color:#254fbd}.request-choice-copy strong{display:block;font-size:15px}.request-choice-copy small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:#64789b}
.request-choice-section:nth-of-type(3) .request-choice-card{flex-direction:row;text-align:left;align-items:center;justify-content:flex-start}
.request-optional{background:#f6f8fc;border:1px solid #e8eef7;border-radius:9px}.request-optional>summary{display:flex;align-items:center;gap:12px;cursor:pointer;padding:13px;font-size:14px;font-weight:600;color:#24395e}.request-optional>summary:after{content:'⌄';margin-left:auto}.request-optional[open]>summary:after{content:'⌃'}.request-optional>.request-fields-grid{padding:10px 16px 18px}.request-optional .request-field:last-child{grid-column:1/-1}
.collection-request-dialog .targeted-request-details{margin:16px 0 0;background:#f8faff;border-color:#dce6f7;padding:16px}.collection-request-dialog .targeted-request-details label{padding:9px;margin:4px 0;border-radius:6px;font-size:14px}.collection-request-dialog .targeted-request-details input{width:20px;height:20px;flex-basis:20px}
.collection-request-dialog .request-form-actions{justify-content:space-between;margin-top:0;gap:12px}.collection-request-dialog .request-form-actions button{min-height:48px;padding:13px 22px;font-size:14px;border-radius:8px}.collection-request-dialog .request-form-actions .primary{background:#2458fa;border-color:#2458fa;color:#fff;box-shadow:0 4px 12px #2458fa22}
.collection-request-dialog .request-review-panel h2{font-size:22px}.collection-request-dialog .request-review-panel .request-form-actions{margin-top:20px}.collection-request-dialog [hidden]{display:none!important}
@media(max-width:720px){html .collection-request-dialog,html[data-density=compact] .collection-request-dialog{width:calc(100vw - 16px);padding:18px 12px;max-height:96dvh}.collection-request-dialog .request-dialog-header{padding:0 8px}.collection-request-dialog .request-dialog-header h1{font-size:25px}.request-journey{grid-template-columns:1fr;gap:16px}.request-steps{display:flex;gap:4px}.request-steps li{flex:1;gap:6px;padding:8px 6px;font-size:11px;margin:0;align-items:center}.request-steps li:before{width:23px;height:23px}.request-journey-content{padding:19px 14px}.request-fields-grid{grid-template-columns:1fr}.request-choice-grid{gap:8px}.request-choice-card{padding:13px 6px;min-height:102px}.request-choice-card:has(input:checked){padding:12px 5px}.request-choice-copy strong{font-size:13px}.request-choice-copy small{font-size:11px}.request-choice-section:nth-of-type(3) .request-choice-grid{grid-template-columns:1fr}.request-choice-section:nth-of-type(3) .request-choice-card{min-height:88px;padding:15px}.request-form-actions>button{flex:1 1 100%}.request-optional>.request-fields-grid{padding:8px 12px 14px}}

.collection-request-dialog .request-field{margin-bottom:0}.collection-request-dialog .request-fields-grid{gap:20px}
