*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
.beta-page{margin:0;background:#faf9f5;color:#233853;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased;line-height:1.7}
.beta-page h1,.beta-page h2,.beta-page h3,.beta-page p{margin:0}
.beta-page a{color:inherit;text-underline-offset:4px}
.beta-page button,.beta-page input,.beta-page select,.beta-page textarea{font:inherit;color:inherit}
.beta-page button,.beta-page a,.beta-page input,.beta-page select,.beta-page summary{touch-action:manipulation}
.beta-page button{cursor:pointer}
.beta-page button:disabled,.beta-page select:disabled{cursor:not-allowed;opacity:.5}
.beta-page :focus-visible{outline:3px solid #436d9f;outline-offset:4px}
.beta-page ::selection{background:#f3e3a7}
.beta-wrap{width:min(1100px,calc(100% - 56px));margin-inline:auto}
.beta-header{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:94px;border-bottom:1px solid #dedfdc}
.beta-brand{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:760;letter-spacing:-.7px;text-decoration:none}
.beta-brand-mark{width:22px;height:22px;border-radius:7px;background:#233853;box-shadow:5px -4px 0 -2px #e7cb70}
.beta-header nav{display:flex;gap:24px;font-size:13px}
.beta-header nav a{text-decoration:none}
.beta-header nav a:hover{text-decoration:underline}
.beta-heading{padding:52px 0 30px}
.beta-kicker{font-size:11px;font-weight:650;letter-spacing:1.5px;color:#6b7581;margin-bottom:13px!important}
.beta-heading h1{font-size:clamp(28px,4vw,43px);line-height:1.25;letter-spacing:-1.5px;font-weight:730}
.beta-heading>p:last-child{margin-top:17px;color:#687482;font-size:14px;line-height:1.9}
.beta-panel{border:1px solid #dedfdc;background:#fffefb;border-radius:17px;padding:29px}
.beta-panel h2,.admin-toolbar h2,.connect-boundaries h2,.connect-details>h2{font-size:21px;line-height:1.5;letter-spacing:-.5px}
.beta-muted{color:#647181;font-size:14px;line-height:1.85}
.beta-small{font-size:12px;line-height:1.8;color:#697585}
.beta-field{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.beta-page input:not([type=checkbox]),.beta-page select{border:1px solid #cbd0d4;border-radius:9px;background:#fffefb;min-height:43px;padding:9px 12px}
.beta-page input[aria-invalid=true]{border-color:#b45c48}
.beta-button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:9px 16px;border:1px solid #cbd0d4;border-radius:9px;background:#fffefb;font-size:13px;font-weight:600;line-height:1.6;text-decoration:none}
.beta-button:hover:not(:disabled){background:#eeeee8;border-color:#aeb9c3}
.beta-button.primary{background:#233853;color:#fffefb;border-color:#233853}
.beta-button.primary:hover:not(:disabled){background:#34516e}
.beta-button.danger{color:#9e493c;background:#fff8f5;border-color:#e0b7ae}
.beta-button.quiet{border-color:transparent;background:transparent;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.beta-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.beta-notice{padding:13px 16px;border:1px solid #d9dfe4;border-radius:10px;background:#f0f4f7;color:#455d76;font-size:13px;line-height:1.8;margin-bottom:20px!important;overflow-wrap:anywhere}
.beta-notice.error{background:#fff3ef;border-color:#e4c4bb;color:#954433}
.beta-notice.success{background:#eef5f0;border-color:#cadccf;color:#39694b}
.beta-notice.warning{background:#fbf3d9;border-color:#e8dba7;color:#786027}
.login-panel{max-width:460px;margin:12px 0 70px}
.login-panel .beta-muted{margin-top:8px}
.login-panel form{margin:24px 0 18px}
.login-panel input{display:block;width:100%;margin-bottom:16px}
.login-panel .primary{width:100%}
.admin-main{min-height:calc(100vh - 185px)}
.admin-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:16px 0 22px}
.admin-toolbar .beta-small{margin-top:4px}
.admin-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.admin-controls select{font-size:13px;min-width:115px}
.application-list{display:grid;gap:13px}
.application-card{padding:23px 25px;border:1px solid #dedfdc;background:#fffefb;border-radius:14px;overflow-wrap:anywhere}
.application-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.application-contact{font-size:19px;font-weight:650;line-height:1.4}
.application-id{font:11px/1.7 ui-monospace,Consolas,monospace;color:#7b8591;margin-top:5px!important}
.status-tag{display:inline-block;flex-shrink:0;padding:3px 10px;border-radius:5px;font-size:11px;font-weight:600;background:#eef1f3;color:#65717f}
.status-tag.pending{background:#f8edc9;color:#7e652c}
.status-tag.approved,.status-tag.active{background:#eaf3ed;color:#3d7351}
.status-tag.rejected,.status-tag.revoked{background:#f7e8e3;color:#995542}
.status-tag.expired{background:#f1ece4;color:#7a6851}
.application-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0 0}
.application-meta>div{min-width:0}
.application-meta dt{color:#7b8591;font-size:11px;margin-bottom:4px}
.application-meta dd{margin:0;font-size:12px;color:#526475}
.application-note{padding-top:14px;margin-top:14px!important;border-top:1px solid #ecece6;font-size:13px;white-space:pre-wrap;color:#647181}
.application-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.application-actions .beta-button{font-size:12px;min-height:37px;padding:7px 13px}
.empty-list{padding:56px 24px;border:1px dashed #d2d5d6;border-radius:14px;text-align:center;color:#697585;font-size:14px}
.admin-pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:24px 0 40px}
.beta-footer{display:flex;justify-content:space-between;gap:16px;padding:22px 0 30px;border-top:1px solid #dedfdc;font-size:11px;color:#7b8591}
.beta-dialog{width:min(560px,calc(100% - 28px));max-height:90dvh;padding:30px;border:1px solid #dedfdc;border-radius:17px;background:#fffefb;color:#233853;box-shadow:0 24px 90px #13233733;overflow:auto}
.beta-dialog::backdrop{background:#17293e99}
.beta-page:has(dialog[open]){overflow:hidden}
.beta-dialog h2{font-size:24px;line-height:1.45;letter-spacing:-.6px;padding-right:20px}
.beta-close{position:absolute;right:14px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#f1f1ec;font-size:23px;line-height:1}
.action-contact{font-size:13px;margin:15px 0 10px!important;white-space:pre-wrap;overflow-wrap:anywhere}
.beta-dialog form{margin-top:23px}
.expiry-input{display:flex;align-items:center;gap:11px}
.expiry-input input{width:110px}
#expiry-field>.beta-small{margin-top:7px}
.beta-dialog form>.beta-actions{margin-top:24px}
.beta-dialog #action-status{margin-top:18px}
.beta-check{display:flex;align-items:flex-start;gap:8px;margin-top:20px;font-size:13px;color:#8a5b27}
.beta-check input{accent-color:#233853;flex-shrink:0;width:17px;height:17px;margin-top:4px}
.credential-dialog{width:min(660px,calc(100% - 28px))}
.credential-dialog>.beta-notice{margin-top:16px}
.credential-dialog>.beta-field{margin-top:16px}
.beta-code{display:block;width:100%;resize:vertical;border:1px solid #d4d9dc;border-radius:10px;background:#f6f7f5;color:#34516e!important;padding:15px;font:12px/1.85 ui-monospace,Consolas,"Microsoft YaHei",monospace!important;overflow-wrap:anywhere;min-height:150px}
.credential-dialog>.beta-actions{margin-top:15px}
#credential-feedback{margin-top:10px;min-height:22px}
.credential-handoff{margin:19px 0;padding:19px 0;border-block:1px solid #e6e7e1}
.credential-handoff h3{font-size:14px}
.credential-handoff p{font-size:13px;color:#647181;margin:6px 0}
.credential-handoff .beta-button{padding-left:0}
.connect-main{max-width:1000px}
.connect-heading{padding-top:63px;padding-bottom:38px}
.connect-heading h1{font-size:clamp(34px,5vw,54px);line-height:1.2;letter-spacing:-1.8px}
.connect-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px;margin:0 0 40px;padding:0;list-style:none}
.connect-steps>li{border-top:2px solid #233853;padding-top:19px}
.step-number{display:inline-block;background:#f3e3a7;color:#6e5c2a;font:600 11px/1.5 ui-monospace,Consolas,monospace;border-radius:4px;padding:3px 7px}
.connect-steps h2{font-size:17px;margin:14px 0 8px}
.connect-steps p{font-size:13px;line-height:1.9;color:#647181}
.connect-steps a{display:inline-block;font-size:12px;margin-top:10px}
.beta-page code{font:12px/1.6 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
.section-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}
.section-title-row .beta-kicker{margin-bottom:6px!important}
.agent-task .beta-muted{font-size:13px;margin-bottom:17px}
.agent-task .beta-code{min-height:300px}
#copy-task-status{min-height:22px;margin-top:10px}
.connect-boundaries{margin:46px 0}
.boundary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:21px}
.boundary-grid h3{font-size:14px;margin-bottom:7px}
.boundary-grid p{font-size:12px;line-height:1.9;color:#647181}
.connect-details{margin-bottom:58px}
.connect-details>h2{margin-bottom:18px}
.connect-details details{border-top:1px solid #dedfdc}
.connect-details details:last-child{border-bottom:1px solid #dedfdc}
.connect-details summary{padding:18px 26px 18px 0;font-size:14px;font-weight:600;cursor:pointer}
.details-content{padding:0 0 22px;max-width:850px;font-size:13px;line-height:1.9;color:#647181}
.details-content p+p{margin-top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.beta-skip{position:fixed;top:8px;left:16px;transform:translateY(-200%);z-index:50;padding:8px 12px;background:#fffefb;border:1px solid #233853;border-radius:6px}
.beta-skip:focus{transform:translateY(0)}
@media(max-width:760px){.beta-wrap{width:calc(100% - 36px)}.beta-header{min-height:78px;gap:14px}.beta-header nav{gap:14px;font-size:11px}.beta-brand{font-size:20px}.beta-heading{padding-top:36px}.beta-heading>p:last-child{font-size:13px}.admin-toolbar{align-items:flex-start;flex-direction:column}.application-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.application-card{padding:20px}.connect-heading{padding-top:40px}.connect-steps{grid-template-columns:1fr;gap:22px}.connect-steps>li{position:relative;padding:16px 0 0 43px;border-top:1px solid #d3d7d9}.step-number{position:absolute;top:18px;left:0}.connect-steps h2{margin:0 0 6px}.connect-steps p{max-width:600px}.beta-panel{padding:22px}.section-title-row{align-items:flex-start;flex-wrap:wrap;gap:16px}.boundary-grid{grid-template-columns:1fr;gap:20px}.boundary-grid>div{border-left:2px solid #e4d8aa;padding-left:14px}.beta-dialog{padding:27px 22px}.beta-footer{flex-wrap:wrap;gap:8px}.connect-boundaries{margin:35px 0}.agent-task .beta-code{min-height:395px}}
@media(max-width:420px){.application-meta{grid-template-columns:1fr;gap:10px}.application-top{gap:9px}.application-contact{font-size:17px}.admin-pagination{align-items:flex-start;flex-direction:column}.beta-header nav{gap:10px}.beta-heading h1{letter-spacing:-.8px}.admin-controls{gap:6px}.admin-controls .beta-button{padding-inline:12px}.credential-dialog>.beta-actions>.beta-button{flex:1}.beta-dialog h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
