/* Custom website brief: scoped styles, native accessible modal. */
.tdp-custom-section{padding:48px 0;background:#eaf5ff;border-bottom:1px solid #cee3f6}
.tdp-custom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:56px;align-items:center}
.tdp-custom-section h2{font-size:clamp(28px,3vw,40px);line-height:1.16;letter-spacing:-1px;margin:10px 0 16px;color:#102b51}
.tdp-custom-section p{max-width:650px;color:#425b75;line-height:1.7}
.tdp-custom-steps{margin:0;padding:0;list-style:none;display:grid;gap:15px}
.tdp-custom-steps li{display:flex;gap:14px;align-items:flex-start;color:#304c6b;font-size:14px}
.tdp-custom-steps b{background:#fff;border:1px solid #bbd7ee;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0;color:#005496}
.tdp-custom-steps strong{display:block;color:#102b51;font-size:16px;margin-bottom:3px}
.tdp-custom-section .tdp-btn{margin-top:12px;background:#005496!important;color:#fff!important}
.tdp-custom-footnote{font-size:12px!important;margin:10px 0 0}
.tdp-brief-dialog{border:0;border-radius:22px;padding:0;width:min(900px,calc(100% - 32px));max-width:900px;max-height:90dvh;color:#17314f;background:#fff;box-shadow:0 30px 100px #001b4b55;overflow:auto}
.tdp-brief-dialog::backdrop{background:rgba(3,22,48,.72)}
.tdp-brief-shell{padding:30px 36px}
.tdp-brief-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.tdp-brief-top h2{font-size:28px;line-height:1.2;letter-spacing:-.6px;margin:6px 0 8px;color:#102b51}
.tdp-brief-top p{font-size:14px;margin:0;color:#52667c;line-height:1.5}
.tdp-brief-close{border:1px solid #c4d6e5;background:#fff;border-radius:50%;width:42px;height:42px;flex:0 0 42px;color:#17314f;font-size:25px;cursor:pointer}
.tdp-brief-progress{display:flex;gap:7px;margin:22px 0 8px;padding:0;list-style:none}
.tdp-brief-progress li{height:5px;flex:1;background:#dfeaf3;border-radius:6px}
.tdp-brief-progress li.is-active{background:#005496}
.tdp-brief-count{font-size:12px;font-weight:700;color:#52667c;margin:0 0 24px}
.tdp-brief-panel h3{font-size:22px;line-height:1.3;margin:0 0 8px;color:#102b51}
.tdp-brief-panel>p{font-size:14px;color:#52667c;margin:0 0 22px}
.tdp-brief-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.tdp-brief-field{min-width:0}
.tdp-brief-field.is-wide{grid-column:1/-1}
.tdp-brief-field>label,.tdp-brief-field legend{display:block;font-size:14px;font-weight:750;line-height:1.45;margin:0 0 7px;color:#17314f}
.tdp-brief-field fieldset{border:0;padding:0;margin:0;min-width:0}
.tdp-brief-field input:not([type=checkbox]),.tdp-brief-field select,.tdp-brief-field textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px 13px;border:1px solid #b8cddd;border-radius:8px;background:#fff;color:#17314f;font:inherit;font-size:16px;line-height:1.5;min-height:48px}
.tdp-brief-field textarea{resize:vertical;min-height:100px}
.tdp-brief-field small{display:block;font-size:12px;color:#52667c;line-height:1.5;margin-top:6px}
.tdp-brief-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tdp-brief-option{display:flex;align-items:flex-start;gap:9px;border:1px solid #ccdde9;border-radius:8px;padding:12px;background:#f8fbfe;font-size:14px;line-height:1.4;cursor:pointer}
.tdp-brief-option:has(input:checked){border-color:#005496;background:#e8f4ff}
.tdp-brief-option input{width:18px;height:18px;margin:1px 0 0;accent-color:#005496;flex-shrink:0}
.tdp-brief-dialog :focus-visible{outline:3px solid #0a74be;outline-offset:3px}
.tdp-brief-dialog [hidden]{display:none!important}
.tdp-brief-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:25px;padding-top:20px;border-top:1px solid #dfeaf3}
.tdp-brief-actions button,.tdp-brief-success button{padding:12px 22px;border-radius:8px;font-size:14px;font-weight:750;cursor:pointer;min-height:46px;background:#005496;border:1px solid #005496;color:#fff}
.tdp-brief-actions button[data-brief-back]{background:#fff;color:#17314f;border-color:#b8cddd}
.tdp-brief-actions button:disabled{opacity:.55;cursor:wait}
.tdp-brief-error{color:#9b2020;background:#fff2f2;border:1px solid #efb9b9;padding:12px 14px;border-radius:8px;font-size:14px;line-height:1.5;margin-top:16px}
.tdp-brief-review{margin:0 0 22px;max-height:290px;overflow:auto;border:1px solid #d5e2ec;border-radius:10px;padding:16px;background:#f7fbff}
.tdp-brief-review dt{font-size:12px;color:#52667c;font-weight:750;margin-top:12px}
.tdp-brief-review dt:first-child{margin-top:0}
.tdp-brief-review dd{margin:3px 0 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.tdp-brief-privacy{font-size:12px;color:#52667c;line-height:1.6;margin:15px 0}
.tdp-brief-privacy a{color:#005496;text-decoration:underline}
.tdp-brief-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.tdp-brief-success{padding:24px 0}
.tdp-brief-success h3{font-size:26px;color:#005496}
.tdp-brief-success p{color:#425b75;line-height:1.7}
.tdp-brief-preview{padding:9px 12px;border-radius:6px;background:#fff6d8;color:#69521a;font-size:12px;margin-bottom:18px}
@media(max-width:720px){.tdp-custom-grid{grid-template-columns:1fr;gap:26px}.tdp-custom-section{padding:34px 0}.tdp-brief-shell{padding:22px 18px}.tdp-brief-dialog{width:calc(100% - 16px);max-height:94dvh;border-radius:14px}.tdp-brief-fields,.tdp-brief-options{grid-template-columns:1fr}.tdp-brief-top h2{font-size:24px}.tdp-brief-top p{font-size:13px}.tdp-brief-actions button{padding:12px 16px}.tdp-brief-progress{margin-top:18px}}


.tdp-brief-extra{margin:22px 0;border:1px solid #ccdde9;border-radius:10px;padding:14px 16px;background:#f8fbfe}
.tdp-brief-extra>summary{font-size:14px;font-weight:750;color:#17314f;cursor:pointer;line-height:1.5}
.tdp-brief-extra[open]>summary{margin-bottom:18px}
.tdp-brief-extra .tdp-brief-review{margin-bottom:0}
.tdp-brief-actions [data-brief-start-note]{font-size:12px;color:#52667c}
