/* Five-language navigation and the approved Ivan Reis Co. attribution. */
.language-picker{position:relative;display:flex;align-items:center;gap:7px;min-width:110px}
.language-picker>i{display:flex;pointer-events:none;color:inherit}
.language-picker>i svg{width:17px;height:17px}
.language-picker select{font:600 11px Manrope,Arial,sans-serif;max-width:112px;min-height:44px;background:transparent;color:inherit;border:0;cursor:pointer;padding:8px 3px;outline-offset:3px}
.language-picker option{background:#fff;color:#132842}
.header .language-picker{color:#eef5ff}
.header.header-scrolled .language-picker{color:#154cc5}
.footer{flex-wrap:wrap;column-gap:22px}
.ivan-reis-credit{flex:0 0 100%;display:flex;justify-content:center;border-top:1px solid #e4eaf2;padding:27px 0 4px;margin-top:12px}
.ivan-reis-credit>a{display:flex;flex-direction:column;align-items:center;gap:9px;padding:5px 15px;min-height:44px;text-align:center;transition:opacity .2s}
.ivan-reis-credit>a:hover{opacity:.72}
.ivan-reis-credit img{width:224px;height:auto;object-fit:contain;display:block}
.ivan-reis-credit span{font-size:10px;color:#52647a;line-height:1.6}
.guided-inline{display:flex;justify-content:flex-end;margin:-17px 0 20px}
.guided-inline button{background:transparent;font-size:12px;color:#154cc5;min-height:44px;gap:9px}
.guided-inline button>i{display:inline-flex;align-items:center;justify-content:center}
.guided-inline svg{width:19px;height:19px}
html[data-locale=zh] body{font-family:Manrope,'Noto Sans CJK SC','Microsoft YaHei','PingFang SC',Arial,sans-serif}
html[data-locale=zh] h1,html[data-locale=zh] h2{font-family:Manrope,'Noto Sans CJK SC','Microsoft YaHei','PingFang SC',Arial,sans-serif;letter-spacing:0;line-height:1.35}
html[data-locale=zh] .eyebrow{letter-spacing:.08em}
html[data-locale=fr] .hero-video h1{font-size:clamp(46px,5.5vw,82px)}

/* A single, user-opened assistant. Native dialog provides focus trapping and Escape. */
#chat-panel{position:fixed;inset:auto 24px 24px auto;margin:0;padding:0;border:1px solid #dfe8f3;width:min(440px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 48px);border-radius:20px;background:#fff;color:#132842;box-shadow:0 25px 100px #061b334a;text-align:left;overflow:hidden}
#chat-panel:not([open]){display:none}
#chat-panel[open]{display:flex;flex-direction:column;animation:request-arrive .25s ease-out}
#chat-panel::backdrop{background:#061b3366;backdrop-filter:blur(2px)}
#chat-panel .chat-head{padding:20px 22px;flex-shrink:0;background:linear-gradient(110deg,#0c327a,#154cc5);color:#fff;border-radius:0}
#chat-panel .chat-head strong{font-size:17px}
#chat-panel .chat-head>div>span{font-size:10px;color:#d9e9ff;margin-top:3px}
#chat-panel .chat-avatar{width:38px;height:38px;background:#ffffff20;border:1px solid #ffffff30}
#chat-panel .chat-avatar svg{width:23px;height:23px;stroke:#91e5ac}
#chat-panel #chat-close{width:38px;height:38px;min-height:38px;color:#fff;background:#ffffff12;border-radius:50%}
.assistant-modes{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #e5ebf3;padding:0 22px;flex-shrink:0}
.assistant-modes>button{font:700 12px Manrope,Arial,sans-serif;background:transparent;color:#67758a;min-height:48px;border-bottom:2px solid transparent;padding:10px 5px}
.assistant-modes>[aria-selected=true]{color:#154cc5;border-color:#154cc5}
#quick-panel,#info-panel{overflow:auto;overscroll-behavior:contain;min-height:0}
#quick-panel{padding:20px 22px 23px}
.request-progress{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;list-style:none;margin:0 0 23px;padding:0}
.request-progress li{display:flex;align-items:center;gap:6px;font-size:10px;color:#7b8798;line-height:1.45}
.request-progress li>span:first-child{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:22px;height:22px;border-radius:50%;background:#eef2f8;color:#708097;font-size:10px}
.request-progress [aria-current=step]{color:#154cc5;font-weight:700}
.request-progress [aria-current=step]>span:first-child{background:#154cc5;color:#fff}
.request-progress .complete>span:first-child{background:#def3e4;color:#237743}
#chat-panel .request-stage h2{font-size:24px;line-height:1.35;letter-spacing:-.035em;font-weight:700;margin:0 0 8px;outline:none}
#chat-panel .request-stage>p{font-size:12px;line-height:1.7;color:#5e6e83;margin:0 0 18px}
.intent-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.intent-grid>button{position:relative;display:flex;flex-direction:column;gap:9px;padding:17px 14px;text-align:left;background:#f7f9fd;border:1px solid #e1e8f3;border-radius:13px;color:#132842;min-height:150px;transition:background .18s,border-color .18s,transform .18s}
.intent-grid>button:hover,.intent-grid>button:focus-visible{background:#edf4ff;border-color:#aac4ee;transform:translateY(-2px)}
.intent-grid>button>i:first-child{display:flex;align-items:center;justify-content:center;width:37px;height:37px;color:#154cc5;background:#e7efff;border-radius:10px;margin-bottom:2px}
.intent-grid>button>i:first-child svg{width:22px;height:22px}
.intent-grid>button>i:last-child{position:absolute;right:12px;top:14px;color:#7891b3}
.intent-grid>button>i:last-child svg{width:14px;height:14px}
.intent-grid strong{font-size:12px;line-height:1.5;font-weight:700}
.intent-grid>button>span{font-size:10px;line-height:1.65;color:#61738a}
#chat-panel .request-stage>.request-footnote{font-size:10px;line-height:1.65;color:#6b798b;margin:17px 0 0}
.request-type{display:inline-block;font-size:10px;font-weight:700;color:#154cc5;padding:5px 10px;background:#edf3ff;border-radius:20px;margin:0 0 12px}
#chat-panel .request-details{display:block;border:0;padding:0}
#chat-panel .request-details .btn{color:#fff}
.request-details label{display:block;font-size:11px;font-weight:700;line-height:1.5;margin:13px 0 6px;color:#374e6b}
.request-details input,.request-details textarea{width:100%;font:400 13px Manrope,Arial,sans-serif;color:#132842;background:#fbfcff;min-height:44px;padding:10px 11px;border:1px solid #d9e2ef;border-radius:7px;outline-offset:3px}
.request-details textarea{resize:vertical;min-height:80px}
.request-details input:focus,.request-details textarea:focus{outline:2px solid #154cc54d;border-color:#5684d5}
.request-short-fields{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px}
.request-short-fields.single{grid-template-columns:1fr}
.request-short-fields [hidden]{display:none!important}
.request-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:19px}
.request-actions .btn{border-radius:9px;min-height:46px;font-size:12px;padding:12px 16px;gap:10px}
.request-actions .text-link{background:none;min-height:44px;font-size:11px;color:#154cc5}
.request-actions .btn svg{width:18px;height:18px}
.request-error{font-size:11px;color:#a52f32;margin-top:9px}
.review-check{display:flex;align-items:center;justify-content:center;width:43px;height:43px;background:#e0f5e6;color:#248343;border-radius:13px;margin-bottom:15px}
.review-check svg{width:25px;height:25px}
.request-summary{font:400 12px/1.8 Manrope,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7fc;border:1px solid #e2eaf5;border-radius:11px;padding:16px;margin:17px 0;max-height:240px;overflow:auto}
.request-send{width:100%;font-size:12px!important;min-height:49px;border-radius:9px;padding:13px 14px!important;justify-content:center;gap:12px!important}
.request-send svg{width:20px;height:20px}
#info-panel .chat-messages{height:270px;padding:20px}
#info-panel .chat-suggestions{padding:0 20px 13px}
#info-panel #chat-form{padding-inline:20px}
#info-panel .chat-disclaimer{padding:10px 20px 17px}
.widget-open .chat-toggle{visibility:hidden}
@keyframes request-arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){.header nav{gap:12px}.header .language-picker{gap:4px}.language-picker select{max-width:103px}.tabs button{font-size:11px}}
@media(max-width:650px){.language-picker{min-width:0;gap:4px}.language-picker select{font-size:11px;width:103px;max-width:103px}.language-picker>i{display:none}.nav-actions{gap:6px}.header .language-picker{color:inherit}.footer{padding-bottom:110px}.ivan-reis-credit{margin-top:5px;padding-top:22px}.ivan-reis-credit img{width:210px}.ivan-reis-credit span{font-size:9px}.guided-inline{justify-content:flex-start;margin:-10px 0 12px}.guided-inline button{font-size:11px;max-width:100%;line-height:1.6}.hero-video h1,html[data-locale=fr] .hero-video h1{font-size:clamp(34px,9vw,47px)}.hero-areas a{font-size:8px}.tabs button{font-size:10px;overflow-wrap:anywhere}.tabs button>i:first-of-type{width:26px;height:26px}.tabs button>i:first-of-type svg{width:18px;height:18px}#chat-panel{inset:auto 12px calc(82px + env(safe-area-inset-bottom)) auto;width:calc(100vw - 24px);max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));border-radius:17px}#chat-panel .chat-head{padding:16px 18px}.assistant-modes{padding:0 18px}#quick-panel{padding:17px 18px 20px}#chat-panel .request-stage h2{font-size:23px}.request-details input,.request-details textarea,#info-panel input{font-size:16px}.intent-grid>button{min-height:148px;padding:14px 12px}.intent-grid strong{font-size:12px}.intent-grid>button>span{font-size:11px}.request-progress{margin-bottom:19px}.request-progress li{font-size:9px}.request-summary{font-size:12px}.widget-open{overflow:hidden}#info-panel .chat-messages{height:min(270px,33dvh)}}
@media(max-width:370px){.header .brand{width:112px}.header .brand img{width:96px}.language-picker select{width:92px;max-width:92px}.menu-button{width:38px;padding:8px}.nav-wrap{gap:8px}.intent-grid{gap:9px}.intent-grid>button{min-height:150px}.intent-grid>button>span{font-size:10px}.request-progress li{gap:4px;font-size:8px}.request-progress li>span:first-child{width:19px;height:19px}.request-actions .btn{font-size:11px;padding-inline:12px}}
@media(prefers-reduced-motion:reduce){#chat-panel[open]{animation:none}.intent-grid>button{transition:none}.intent-grid>button:hover{transform:none}}
@media print{.chat-toggle,#chat-panel,.guided-inline,.language-picker{display:none!important}.ivan-reis-credit{break-inside:avoid}}
