@font-face{font-family:Manrope;src:url('/fonts/manrope.ttf') format('truetype');font-display:swap}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#fff;color:#12233e;font:16px/1.45 Manrope,Arial,sans-serif}header{height:70px;display:flex;align-items:center;justify-content:space-between;padding:10px 4vw;border-bottom:1px solid #cbd3df}header img{display:block;width:190px;height:auto}a{color:#1647c7}button,input,select{font:inherit;min-height:44px}button{cursor:pointer;padding:8px 14px;border:1px solid #164ff0;background:#164ff0;color:white}button:disabled{opacity:.5;cursor:default}.secondary{background:#fff;color:#1647c7}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #af5700;outline-offset:3px}input,select{padding:8px;border:1px solid #64758b;background:white;color:#12233e;width:100%}main{width:min(1080px,100%);margin:auto;padding:20px 4vw}.heading{display:flex;justify-content:space-between;align-items:center;gap:12px}h1{font-size:clamp(26px,4vw,38px);line-height:1.15;margin:0}#oauth-signout{white-space:nowrap;flex-shrink:0}#oauth-status{min-height:44px;margin:12px 0}.selection{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:14px}label{display:block;font-weight:600}label select{margin-top:6px}.actions{display:flex;flex-wrap:wrap;gap:10px}.help{font-size:14px;min-height:40px;color:#405571;margin:10px 0}#oauth-record{border-top:1px solid #cbd3df;border-bottom:1px solid #cbd3df;padding:14px 0;min-height:150px}#oauth-record h2{font-size:22px;margin:0 0 6px}#oauth-record p{margin:5px 0}#oauth-record>button{margin-top:8px}.pager{display:flex;align-items:center;justify-content:space-between;margin:12px 0;gap:12px}footer{font-size:12px;color:#536581;margin-top:14px}#oauth-login{max-width:460px}#oauth-login input{margin:6px 0 12px}dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #64758b;background:#fff;color:#12233e;padding:24px}dialog::backdrop{background:rgb(12 30 56 / .35)}dialog p{overflow-wrap:anywhere}dialog button{margin:6px 8px 6px 0}.skip{position:absolute;left:12px;top:-100px;background:white;padding:12px}.skip:focus{top:8px}@media(max-width:600px){header{height:56px;padding:8px 20px}header img{width:140px}header a{font-size:14px}main{padding:14px 20px}.heading{gap:8px}h1{font-size:26px}.heading button{font-size:13px;padding:6px 10px}#oauth-status{font-size:13px;margin:8px 0;min-height:0}.selection{grid-template-columns:1fr;gap:8px;margin-bottom:10px}.selection label{display:grid;grid-template-columns:90px minmax(0,1fr);align-items:center;font-size:14px}.selection select{margin:0}.actions{gap:8px}.actions button{font-size:13px;padding:6px 10px}.help{font-size:12px;min-height:0;margin:8px 0}#oauth-record{padding:8px 0;min-height:0}#oauth-record h2{font-size:19px}#oauth-record p{font-size:13px}#oauth-record>button{font-size:13px;padding:6px 10px}.pager{margin:8px 0;font-size:13px}footer{display:none}dialog{padding:18px}}@media(max-height:500px) and (min-width:601px){header{height:44px;padding:0 20px}header img{width:108px}header>a:last-child{margin-right:100px}main{padding:8px 20px}.heading{position:absolute;right:20px;top:0;height:44px}.heading h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#oauth-status{font-size:12px;min-height:0;margin:4px 0}.selection{gap:12px;margin-bottom:8px}.selection label{display:flex;align-items:center;gap:8px;font-size:12px}.selection select{margin:0}.actions{gap:8px}.actions button{font-size:12px;padding:4px 10px}.help{font-size:12px;min-height:0;margin:6px 0}#oauth-record{padding:6px 0;min-height:0;display:grid;grid-template-columns:1fr auto;gap:0 12px}#oauth-record>button{grid-column:2;grid-row:1/span 2;margin:0;align-self:center}#oauth-record h2{font-size:18px}#oauth-record p{font-size:12px;margin:2px 0}.pager{margin:6px 0}footer{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.tabs{display:flex;gap:0;border-bottom:1px solid #bbc7d7;margin-bottom:14px}.tabs button{min-width:110px;border:0;background:white;color:#223e65}.tabs [aria-pressed=true]{border-bottom:3px solid #164ff0;color:#1647c7;font-weight:700}@media(max-width:600px){.tabs{margin-bottom:10px}#oauth-status{font-size:12px;line-height:1.35}#oauth-setup .actions{display:flex;flex-wrap:wrap}body[data-oauth-view=connect] #oauth-status{min-height:0}#oauth-accounts .pager{gap:6px}#oauth-accounts .pager button{font-size:12px;padding:6px 8px}}@media(max-height:500px) and (min-width:601px){.tabs{margin-bottom:6px}.help{max-width:none}}

/* A fixed heading and close control surround the only scrolling region. */
dialog.oauth-details{width:min(540px,calc(100vw - 32px));height:min(650px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden}dialog.oauth-details[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:0}.oauth-dialog-header{padding:16px 20px;border-bottom:1px solid #cbd3df}.oauth-dialog-header h2{margin:0!important;font-size:22px!important;line-height:1.2}.oauth-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 20px;overflow-wrap:anywhere}.oauth-dialog-body p{margin:5px 0 14px!important}.oauth-dialog-body button{min-height:44px;margin:6px 8px 6px 0}.oauth-dialog-footer{padding:12px 20px;border-top:1px solid #cbd3df;background:#fff}.oauth-dialog-footer button{min-height:44px;margin:0}@media(max-width:600px){.oauth-dialog-header,.oauth-dialog-footer{padding:12px 16px}.oauth-dialog-header h2{font-size:20px!important}.oauth-dialog-body{padding:12px 16px}}
/* Shared interaction states (same as the main workspace): every button answers a press; a disabled control never looks clickable. */
button:not(:disabled):active{transform:translateY(1px);filter:brightness(.94)}
button:disabled{pointer-events:none}
@media(prefers-reduced-motion:reduce){button:not(:disabled):active{transform:none}}
