/* Account pages and their quick-access dialog share the same form and artwork. */
.ap-page, .ap-dialog {
    --ap-fg: var(--at-text, #f7f4ee);
    --ap-muted: var(--at-muted, #b8b6b1);
    --ap-line: var(--at-line, #ffffff29);
    --ap-panel: var(--at-surface, #202120);
    --ap-button: var(--at-cta, #f1eee7);
    --ap-on-button: var(--at-invert, #20211d);
    --ap-accent: #c7bfea;
    color: var(--ap-fg);
    font-family: Poppins, system-ui, sans-serif;
}
:root[data-wf-theme="light"] :is(.ap-page,.ap-dialog) { --ap-accent: #59537f; }
.ap-page { padding: clamp(24px,4vw,65px) var(--gutter,5vw) clamp(32px,7vw,105px); }
.ap-wrap { max-width: 1120px; margin: 0 auto; }
.ap-page .ap-crumb { display: inline-flex; align-items: center; gap: 5px; margin: 0 0 17px 5px; font-size: 12px; color: var(--ap-muted); text-decoration: none; }
.ap-crumb:hover { color: var(--ap-fg); }
.ap-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    padding: 9px;
    min-width: 0;
    border: 1px solid var(--ap-line);
    border-radius: 32px;
    background: radial-gradient(90% 105% at 100% 0%, color-mix(in srgb,var(--ap-panel) 83%,#958ca8) 0, transparent 65%), var(--ap-panel);
    box-shadow: inset 0 1px 0 #ffffff10, 0 25px 75px #00000020;
}
.ap-card *, .ap-card *::before, .ap-card *::after { box-sizing: border-box; }
.ap-card .ap-submit:disabled { opacity: .55; cursor: default; }
.ap-card [hidden] { display: none !important; }
.ap-card:not(.ap-ready) .ap-js-only { display: none !important; }
.ap-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ap-card :is(button,a,input,select,summary):focus-visible { outline: 2px solid var(--ap-accent); outline-offset: 3px; }
.ap-card button, .ap-card input, .ap-card select { font-family: inherit; }
.ap-figure {
    container-type: inline-size;
    isolation: isolate; overflow: hidden; min-width: 0; position: relative;
    display: flex; align-items: flex-end; margin: 0; border-radius: 24px;
    min-height: clamp(415px,43vw,590px); background: #35332c; color: #fff;
}
.ap-figure:after {
    position: absolute; z-index: -1; inset: 0; content: '';
    background: linear-gradient(180deg,#100e0e75,transparent 30%,transparent 37%,#100d0a30 60%,#110e0cc9 100%);
}
.ap-figure .ap-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; border: none; }
.ap-figure-type { position: absolute; top: clamp(18px,2.5vw,37px); left: clamp(18px,2.5vw,37px); display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 11px; font-weight: 560; letter-spacing: .015em; text-shadow: 0 1px 8px #0008; }
.ap-figure-mark { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; border: 1px solid #ffffff90; background: #ffffff17; backdrop-filter: blur(10px); font: 760 20px/1 Poppins,system-ui,sans-serif; letter-spacing: -.09em; padding-bottom: 2px; }
.ap-figure-mark span { margin-bottom: 8px; font-size: 12px; }
.ap-figure-caption { width: 100%; padding: clamp(20px,3vw,43px); display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.ap-figure-copy { min-width: 0; display: grid; gap: 7px; }
.ap-figure-eyebrow { color: #f3ece5; font-size: 10px; font-weight: 560; letter-spacing: .13em; text-transform: uppercase; }
.ap-figure-copy strong { color: #fff; font: italic 400 clamp(33px,4.3vw,62px)/.99 Georgia,serif; letter-spacing: -.055em; overflow-wrap: anywhere; }
.ap-figure-copy>[data-ap-scene-caption] { max-width: 31ch; color: #f0ece6; font-size: 12px; line-height: 1.5; }
.ap-figure-controls { display: inline-flex; align-items: center; gap: 5px; flex: none; }
.ap-figure-controls button, .ap-close { display: grid; place-items: center; padding: 0; cursor: pointer; }
.ap-card .ap-figure-controls button { width: 37px; height: 37px; color: #fff; border-radius: 50%; border: 1px solid #ffffff77; background: #25282065; backdrop-filter: blur(10px); }
.ap-figure-controls button:hover { background: #ffffff30; border-color: white; }
@container (max-width: 385px) {
    .ap-figure .ap-figure-caption { display: block; padding: 54px clamp(15px,6cqi,25px) clamp(15px,6cqi,25px); }
    .ap-figure-copy strong { font-size: clamp(28px,12cqi,46px); text-wrap: balance; overflow-wrap: break-word; }
    .ap-figure-controls { position: absolute; right: clamp(13px,5cqi,22px); top: clamp(12px,4cqi,18px); }
    .ap-dialog .ap-figure-controls { right: 54px; }
}
.ap-content { display: grid; align-content: center; width: 100%; min-width: 0; padding: clamp(30px,4.4vw,68px); }
.ap-pane { width: min(100%,393px); margin: 0 auto; }
.ap-form-mast { display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.4; color: var(--ap-muted); }
.ap-section-mark { display: inline-grid; width: 30px; height: 30px; border: 1px solid var(--ap-line); border-radius: 10px; color: var(--ap-accent); background: color-mix(in srgb,var(--ap-accent) 8%,transparent); place-items: center; }
.ap-pane :is(h1,h2) { margin: 15px 0 9px; color: var(--ap-fg); font-size: clamp(30px,3.3vw,52px); font-weight: 570; line-height: 1.04; letter-spacing: -.064em; text-wrap: balance; }
.ap-pane :is(h1,h2):focus { outline: none; }
.ap-pane p { margin: 0; }
.ap-intro { color: var(--ap-muted); font-size: 13px; line-height: 1.64; text-wrap: pretty; }
.ap-form { margin: 24px 0 0; }
.ap-step { display: grid; gap: 0; padding: 0; margin: 0; min-width: 0; border: 0; }
.ap-card:not(.ap-ready) [data-ap-identity] { margin-top: 15px; }
.ap-label { margin: 13px 0 6px; display: block; font-size: 12px; font-weight: 560; color: var(--ap-fg); }
.ap-step>.ap-label:first-of-type { margin-top: 0; }
.ap-form input:not([type=checkbox]), .ap-form select:not(.at-native-select), .ap-form .at-select {
    height: 46px; min-height: 46px; width: 100%; margin: 0; min-width: 0;
    border: 1px solid var(--ap-line); border-radius: 12px; padding: 0 13px;
    font-family: inherit; font-size: 14px; font-weight: 450; color: var(--ap-fg);
    background: color-mix(in srgb,var(--at-bg,#101110) 73%,var(--ap-panel));
}
.ap-form select option { color: var(--ap-fg); background: var(--ap-panel); }
.ap-form input[readonly] { cursor: default; }
.ap-form :is(input,select):focus { border-color: var(--ap-accent); }
.ap-password { position: relative; }
.ap-password input:not([type=checkbox]) { padding-right: 48px; }
.ap-card .ap-show { position: absolute; display: grid; place-items: center; top: 4px; right: 5px; width: 38px; height: 38px; padding: 0; color: var(--ap-muted); background: transparent; border: none; border-radius: 8px; cursor: pointer; }
.ap-show:hover, .ap-show[aria-pressed=true] { color: var(--ap-fg); background: color-mix(in srgb,var(--ap-fg) 7%,transparent); }
.ap-step>.ap-note { margin-top: 7px; font-size: 11px; color: var(--ap-muted); line-height: 1.5; }
.ap-options { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 13px 0 0; font-size: 11px; color: var(--ap-muted); }
.ap-options label { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.ap-options input { accent-color: var(--ap-fg); width: 14px; height: 14px; margin: 0; }
.ap-link, .ap-switch a, .ap-text-button, .ap-reset summary { color: var(--ap-fg); font-size: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb,var(--ap-fg) 52%,transparent); text-underline-offset: .22em; }
.ap-link:hover,.ap-switch a:hover,.ap-text-button:hover,.ap-reset summary:hover { text-decoration-color: var(--ap-fg); }
.ap-reset { width: 100%; }
.ap-reset summary { display: inline-block; list-style: none; cursor: pointer; }
.ap-reset summary::-webkit-details-marker { display: none; }
.ap-reset p { margin: 6px 0 0; max-width: 45ch; line-height: 1.5; }
.ap-form .ap-demo-hint { padding: 8px 10px; margin: 13px 0 0; background: color-mix(in srgb,var(--ap-accent) 8%,transparent); border-left: 2px solid color-mix(in srgb,var(--ap-accent) 60%,transparent); color: var(--ap-muted); border-radius: 0 6px 6px 0; font-size: 10.5px; line-height: 1.5; }
.ap-card .ap-submit { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 17px; min-height: 46px; margin-top: 16px; font-size: 13px; font-weight: 640; text-decoration: none; border: 1px solid transparent; border-radius: 20px; background: var(--ap-button); color: var(--ap-on-button); cursor: pointer; transition: transform .18s, box-shadow .18s; }
.ap-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 16px #0002; }
.ap-card .ap-submit[aria-busy=true] { opacity: .7; cursor: progress; }
.ap-form .ap-step-indicator { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 13px; margin-bottom: 14px; border-bottom: 1px solid var(--ap-line); color: var(--ap-muted); font-size: 11px; }
.ap-progress { display: inline-flex; gap: 3px; }
.ap-progress i { width: 15px; height: 3px; border-radius: 3px; background: var(--ap-line); }
.ap-progress i:first-child,.ap-form.ap-identity .ap-progress i { background: var(--ap-accent); }
.ap-card .ap-change { display: inline-flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; padding: 5px 9px; margin-bottom: 12px; border: 1px solid var(--ap-line); border-radius: 20px; background: transparent; color: var(--ap-fg); font-size: 11px; cursor: pointer; }
.ap-change:hover { background: color-mix(in srgb,var(--ap-fg) 6%,transparent); }
.ap-pane>.ap-switch { margin-top: 20px; border-top: 1px solid var(--ap-line); padding-top: 14px; color: var(--ap-muted); font-size: 12px; line-height: 1.6; }
.ap-switch a { display: inline-flex; align-items: center; gap: 3px; font-weight: 560; white-space: nowrap; }
.ap-pane .ap-error,.ap-pane .ap-info { padding: 9px 11px; margin: 12px 0; border: 1px solid var(--ap-line); border-radius: 8px; font-size: 12px; line-height: 1.5; }
.ap-pane .ap-error { border-color: #cc746c; }
.ap-member-trade { display: grid; gap: 3px; margin: 24px 0 0; border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); padding: 14px 0; }
.ap-member-trade span { color: var(--ap-muted); font-size: 12px; }
.ap-member-trade strong { font-size: 16px; }
.ap-card .ap-text-button { display: block; margin: 16px 0 0; padding: 0; border: none; background: none; cursor: pointer; font-size: 12px; }
.ap-dialog { width: min(945px,calc(100vw - 36px)); max-width: none; max-height: calc(100dvh - 30px); margin: auto; padding: 0; border: none; border-radius: 30px; background: transparent; box-shadow: 0 32px 100px #0006; overflow-y: auto; overscroll-behavior: contain; }
.ap-dialog::backdrop { background: #0d0d0ec0; backdrop-filter: blur(8px); }
.ap-dialog[open] { animation: ap-enter .22s ease-out; }
.ap-dialog .ap-card { grid-template-columns: minmax(0,.82fr) minmax(0,1fr); background: radial-gradient(90% 100% at 100% 0%,color-mix(in srgb,var(--ap-panel) 88%,#b4acc8),transparent 70%),var(--ap-panel); }
.ap-dialog .ap-content { padding: clamp(24px,3.5vw,48px); }
.ap-dialog .ap-figure { min-height: 405px; }
.ap-dialog .ap-pane :is(h1,h2) { font-size: clamp(29px,3vw,43px); }
.ap-card .ap-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ap-line); background: var(--ap-panel); color: var(--ap-fg); z-index: 2; }
.ap-close:hover { border-color: var(--ap-fg); }
html:has(.ap-dialog[open]) { overflow: hidden; }
@keyframes ap-enter { from { opacity: 0; transform: translateY(7px) scale(.993); } to { opacity: 1; transform: none; } }
@media(min-width: 1300px) { .ap-page .ap-content { padding: 56px 72px; } }
@media(max-width: 745px) {
    .ap-page { padding: 22px max(11px,var(--gutter,14px)) 35px; }
    .ap-card, .ap-dialog .ap-card { grid-template-columns: minmax(0,1fr); padding: 6px; border-radius: 25px; }
    .ap-page .ap-wrap { max-width: 540px; }
    .ap-figure,.ap-dialog .ap-figure { min-height: 168px; border-radius: 19px; }
    .ap-figure .ap-photo { object-position: center 45%; }
    .ap-figure-type { top: 13px; left: 16px; font-size: 10px; }
    .ap-figure-mark { width: 23px; height: 23px; border-radius: 7px; font-size: 15px; }
    .ap-figure-caption { padding: 16px; }
    .ap-figure-copy { gap: 3px; }
    .ap-figure-copy strong { font-size: 32px; }
    .ap-figure-eyebrow { display: none; }
    .ap-figure-copy>[data-ap-scene-caption] { font-size: 11px; }
    .ap-figure-controls button { width: 34px; height: 34px; }
    .ap-content,.ap-dialog .ap-content { padding: 24px clamp(15px,5vw,38px) 27px; }
    .ap-pane { width: 100%; }
    .ap-pane :is(h1,h2) { font-size: 34px; }
    .ap-dialog { width: min(470px,calc(100vw - 16px)); max-height: calc(100dvh - 12px); border-radius: 25px; }
    .ap-dialog .ap-figure { min-height: 125px; }
    .ap-dialog .ap-close { color: #fff; background: #22222299; border-color: #ffffff77; }
    .ap-form { margin-top: 18px; }
    .ap-form input:not([type=checkbox]),.ap-form select,.ap-form .at-select { font-size: 16px; }
}
@media(min-width:746px) and (max-height:640px) { .ap-dialog .ap-content { padding-top: 24px; padding-bottom: 24px; } }
@media(prefers-reduced-motion:reduce) {
    .ap-dialog[open], .ap-submit { animation: none; transition: none; }
}


.ap-page, .ap-dialog { --ap-accent:#d2ec9c; }
:root[data-wf-theme=light] :is(.ap-page,.ap-dialog) { --ap-accent:#48683a; }
.bw-account-nav { display:inline-flex; align-items:center; gap:3px; padding:3px; margin:0 0 12px; border:1px solid var(--ap-line); background:color-mix(in srgb,var(--ap-panel) 89%,#aab2a8); border-radius:99px; }
.bw-account-nav a { display:inline-flex; align-items:center; min-height:36px; padding:6px 14px; font-size:12px; font-weight:570; line-height:1.25; color:var(--ap-muted); text-decoration:none; border-radius:99px; }
.bw-account-nav a:hover, .bw-account-nav a:focus-visible { color:var(--ap-fg); }
.bw-account-nav a[aria-current=page] { color:#1b2119; background:#deedbd; }
.ap-card .ap-submit { background:linear-gradient(105deg,#e1efa6,#c4e5b7); color:#1c251a; border-color:transparent; }
.ap-card .ap-submit:disabled { opacity:.68; }
.ap-card .ap-preview-note { margin:16px 0 3px; padding:9px 11px; font-size:11px; line-height:1.55; border-left:2px solid var(--ap-accent); border-radius:0 6px 6px 0; color:var(--ap-muted); background:color-mix(in srgb,var(--ap-accent) 6%,transparent); }
.ap-card .ap-preview-result { margin:10px 0; font-size:12px; line-height:1.55; color:var(--ap-fg); }
.ap-page .ap-figure, .ap-dialog .ap-figure { background-color:#29302a; }

.bd20-dossiers{scroll-margin-top:90px;width:100%;min-width:0;border:1px solid var(--line,#393c40);margin:clamp(18px,4vw,42px) 0;padding:clamp(16px,3vw,32px);border-radius:23px;background:var(--card,#1b1c20);color:var(--text,#f6f6ef);box-sizing:border-box;}
.bd20-dossiers>header,.bd20-request-card>header{display:flex;align-items:center;gap:15px;}
.bd20-dossiers>header{justify-content:space-between;flex-wrap:wrap;margin-bottom:18px;}
.bd20-dossiers h2,.bd20-dossiers h3,.bd20-dossiers h4{line-height:1.2;letter-spacing:-.035em;margin:0;}
.bd20-dossiers h2{font-size:clamp(24px,3vw,37px);}
.bd20-dossiers p{margin:6px 0;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere;}
.bd20-dossiers>header p,.bd20-dossiers small,.bd20-dossier-empty{color:var(--muted,#b5b7bb);font-size:14px;}
.bd20-dossier-list{display:grid;gap:10px;}.bd20-request-card{padding:14px;border:1px solid var(--line,#414347);border-radius:15px;}
.bd20-request-card header img{width:64px;height:52px;border-radius:9px;object-fit:cover;}
.bd20-request-card header div{min-width:0;flex:1;}.bd20-request-card h3{font-size:18px;overflow-wrap:anywhere;}
.bd20-request-card .bd20-state{font-size:12px;padding:5px 9px;border-radius:99px;color:#d8ecc0;background:#303b29;white-space:normal;}
.bd20-request-card details{margin-top:12px;border-top:1px solid var(--line,#3b3f3c);padding-top:10px;font-size:14px;}
.bd20-request-card summary,.bd20-dossiers nav a{cursor:pointer;font-weight:650;}.bd20-request-card details h4{margin-top:14px;}
.bd20-quote{margin-top:14px;padding:12px 15px;border-inline-start:3px solid #c6e785;background:rgba(150,180,125,.08);}
.bd20-dossiers nav{display:flex;gap:16px;margin-top:10px;}
.bd20-dossiers [hidden]{display:none!important;}
@media(max-width:520px){.bd20-request-card>header{flex-wrap:wrap;gap:8px;}.bd20-request-card .bd20-state{margin-inline-start:auto;}.bd20-request-card header img{width:45px;height:44px;}}
