:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182c48;background:#f4f7fb;font-synthesis:none;--navy:#132847;--blue:#1760e8;--muted:#65758c;--line:#e0e7f1;--surface:#fff;--shadow:0 8px 32px #19324d08}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.54}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #81afff;outline-offset:3px}button,input,textarea,select{border-radius:10px}input,textarea,select{width:100%;padding:12px 13px;border:1px solid #cbd6e5;background:#fff;color:var(--navy)}input:focus,textarea:focus,select:focus{border-color:var(--blue)}textarea{resize:vertical;line-height:1.55}input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue);flex:none}input[readonly]{background:#f4f7fb;color:#50617b}code,pre,.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}code{overflow-wrap:anywhere}pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:12px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,36px);letter-spacing:-1.15px;line-height:1.16;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.4px;margin-bottom:14px}h3{font-size:15px;margin-bottom:9px}p{line-height:1.65}.muted,small,.hint{color:var(--muted)}small,.hint{font-size:12px;line-height:1.6}.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}.skip-link{position:fixed;left:16px;top:-80px;background:#fff;padding:12px;z-index:50}.skip-link:focus{top:10px}.environment{min-height:40px;padding:10px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eaf2ff;color:#2a4b7b;font-size:11px;letter-spacing:.1px}.environment>div{display:flex;align-items:center;gap:10px}.environment strong{font-size:10px;letter-spacing:1.5px}.environment a{font-weight:650;white-space:nowrap}.environment-dot{width:7px;height:7px;border-radius:50%;background:#377be7}.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 40px)}.sidebar{background:var(--surface);border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:9px;color:var(--navy);font-size:22px;font-weight:800;letter-spacing:-.9px}.brand:hover{text-decoration:none}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:600;margin-top:2px;color:var(--muted)}.nav-label{text-transform:uppercase;letter-spacing:1.5px;font-size:9px;font-weight:700;color:#8290a5;margin:0 12px 10px}.nav{display:flex;flex-direction:column;gap:5px}.nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:10px;color:#5b6c85;font-size:13px;font-weight:600}.nav a:hover{background:#f4f7fc;text-decoration:none}.nav a.active{color:var(--blue);background:#ebf2ff}.icon{display:inline-flex;width:20px;height:20px;flex:none;align-items:center;justify-content:center}.icon svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:18px 12px 0}.sidebar-bottom p{font-size:11px;margin-bottom:7px}.sidebar-bottom a{font-size:11px}.workspace{min-width:0}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 38px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb strong{color:var(--navy);font-weight:600}.user{display:flex;align-items:center;gap:12px;min-width:0}.avatar{height:35px;width:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef3fb;color:#3b608f;font-size:12px;font-weight:750;flex:none}.user-name{font-size:12px;font-weight:650;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-email{font-size:10px;color:var(--muted);max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main{max-width:1260px;margin:0 auto;padding:36px 38px 56px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:27px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;text-transform:uppercase;color:#627b9e;margin-bottom:10px}.page-heading p{font-size:13px;color:var(--muted);max-width:640px;margin-bottom:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:11px 17px;border:1px solid var(--blue);background:var(--blue);color:#fff;font-size:12px;font-weight:700;text-align:center;line-height:1.3;text-decoration:none;border-radius:10px;white-space:normal}.button:hover{text-decoration:none;background:#1051cb}.button.secondary{background:#fff;color:#294768;border-color:#d5deea}.button.secondary:hover{background:#f5f8fd}.button.subtle{background:transparent;color:#64758c;border-color:transparent;padding:8px;min-height:34px}.button.danger{background:#fff;color:#b63e46;border-color:#edcfd2}.button.small{min-height:33px;padding:8px 11px;font-size:11px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:24px}.card+.card{margin-top:20px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid-2>.card+.card{margin-top:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.stat{border:1px solid var(--line);border-radius:14px;background:#fff;padding:20px;display:flex;align-items:center;gap:15px}.stat-icon{width:42px;height:42px;background:#edf3ff;color:var(--blue);border-radius:12px;display:grid;place-items:center}.stat small{font-size:11px}.stat strong{display:block;font-size:25px;margin-top:5px;letter-spacing:-.6px}.welcome{background:linear-gradient(115deg,#17365f,#194b91);color:#fff;padding:30px;border:0;position:relative;overflow:hidden}.welcome:after{content:"";position:absolute;border:1px solid #ffffff16;width:250px;height:250px;border-radius:50%;right:-80px;top:-90px;pointer-events:none}.welcome h2{font-size:23px;letter-spacing:-.6px;margin-bottom:10px}.welcome p{color:#d1e2fa;font-size:13px;max-width:630px;margin-bottom:20px}.welcome .eyebrow{color:#aacbff}.welcome .button{background:#fff;color:#1a4a8c;border-color:#fff}.welcome .button.secondary{background:transparent;color:#fff;border-color:#ffffff55}.section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.section-head h2{margin:0}.section-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.notice{padding:15px 17px;border-radius:12px;line-height:1.6;font-size:12px;background:#eef4ff;border:1px solid #dbe8ff;color:#355b8a;margin-bottom:20px}.notice p:last-child{margin-bottom:0}.notice strong{display:block;margin-bottom:3px}.notice.warning{background:#fff9eb;border-color:#f2e5c2;color:#80642e}.notice.success{background:#edf9f4;border-color:#ccecdf;color:#246a51}.notice.error{background:#fff1f2;border-color:#f1ced1;color:#a53540}.notice.neutral{background:#f4f7fb;border-color:var(--line);color:#536780}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:10px;white-space:nowrap;font-weight:700;background:#ecf2ff;color:#315f9f}.badge.green{background:#e9f7f0;color:#2e7b5c}.badge.gray{background:#eef1f5;color:#6a778b}.badge.orange{background:#fff3d9;color:#946818}.badge.red{background:#fff0f0;color:#aa4550}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{font-size:12px;font-weight:650}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form{display:flex;flex-direction:column;gap:18px}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6;font-weight:400}.check input{margin-top:1px}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px}.empty{text-align:center;padding:36px 20px;color:var(--muted);font-size:13px}.empty .icon{width:48px;height:48px;background:#f0f5fd;color:#8ba2c2;border-radius:14px;margin-bottom:14px}.empty .icon svg{width:23px;height:23px}.empty h3{color:var(--navy);font-size:15px}.empty p{max-width:450px;margin:0 auto 16px}.table-wrap{overflow:auto;margin:0 -5px}.table{width:100%;border-collapse:collapse;font-size:12px;min-width:630px}.table th{text-align:left;padding:13px 12px;background:#f6f8fc;font-size:10px;color:#7a8ba3;font-weight:650}.table th:first-child{border-radius:8px 0 0 8px}.table th:last-child{border-radius:0 8px 8px 0}.table td{padding:17px 12px;border-bottom:1px solid #edf1f6;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table td strong{display:block;font-size:12px;font-weight:650}.table td small{display:block;font-size:10px;margin-top:5px}.table .actions{justify-content:flex-end}.steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:24px}.steps li{display:grid;grid-template-columns:29px 1fr;gap:12px}.step-num{height:27px;width:27px;border-radius:50%;background:#eef4ff;color:var(--blue);display:grid;place-items:center;font-size:11px;font-weight:750}.steps h3{font-size:13px;margin-bottom:5px}.steps p{font-size:12px;color:var(--muted);margin-bottom:9px}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}.detail-list div{min-width:0}.detail-list dt{font-size:10px;color:var(--muted);margin-bottom:6px}.detail-list dd{font-size:12px;font-weight:600;margin:0;overflow-wrap:anywhere}.recipient{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 0;border-bottom:1px solid #edf1f6}.recipient:last-child{border:0}.recipient strong{display:block;font-size:13px;margin-bottom:5px}.recipient code{font-size:11px;color:#63758d}.code-block{background:#132847;color:#deebff;border-radius:12px;padding:20px;position:relative}.code-block .actions{justify-content:flex-end;margin-bottom:13px}.code-block .button{background:#ffffff0c;border-color:#ffffff28;color:#ddebff}.doc-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:25px}.doc-index{position:sticky;top:20px;align-self:start;border-left:1px solid var(--line);padding-left:16px;display:flex;flex-direction:column;gap:15px;font-size:12px}.doc-article>section{margin-bottom:32px;scroll-margin-top:20px}.doc-article p,.doc-article li{font-size:13px;color:#5d708b;line-height:1.75}.doc-article ul{padding-left:20px}.doc-article code{font-size:11px}.endpoint{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:13px;margin:12px 0;font-size:11px}.endpoint strong{font-size:10px;color:#24765b;background:#eaf7ef;padding:5px 7px;border-radius:5px}.tabs{display:flex;gap:6px;padding:5px;background:#edf2fa;border-radius:11px;width:fit-content;margin-bottom:22px}.tabs button{border:0;background:transparent;font-size:12px;font-weight:650;color:#697c97;padding:10px 17px;border-radius:8px}.tabs button.active{background:#fff;color:var(--navy);box-shadow:0 2px 5px #203b5c0a}.auth-layout{max-width:1100px;padding:30px 36px 50px;margin:auto}.auth-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:50px}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.auth-intro{padding:30px 0}.auth-intro h1{font-size:42px;letter-spacing:-1.5px;line-height:1.18;margin-bottom:20px}.auth-intro h1 span{color:var(--blue)}.auth-intro>p{font-size:14px;color:var(--muted);max-width:430px}.auth-features{list-style:none;padding:0;margin:32px 0;display:flex;flex-direction:column;gap:22px}.auth-features li{display:flex;gap:14px;align-items:flex-start}.auth-features .icon{height:35px;width:35px;background:#e9f1ff;border-radius:10px;color:var(--blue)}.auth-features h3{font-size:13px;margin:1px 0 6px}.auth-features p{font-size:12px;color:var(--muted);max-width:330px;margin-bottom:0}.auth-card{padding:28px}.auth-card h2{font-size:23px}.auth-card>p{font-size:12px;color:var(--muted);margin-bottom:24px}.auth-card .button{width:100%;margin-top:4px}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin:20px 0 0}.auth-legal{font-size:10px;color:#8592a5;text-align:center;margin-top:25px;line-height:1.7}.footer{font-size:10px;color:#8291a7;padding-top:30px;display:flex;gap:16px;justify-content:space-between}.spinner{display:inline-block;width:23px;height:23px;border:2px solid #dce6f5;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}.loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:40px;font-size:13px;color:var(--muted)}.boot{min-height:60vh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center;gap:15px}.boot p{font-size:13px;color:var(--muted)}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid var(--line);border-radius:18px;padding:0;max-width:calc(100vw - 30px);width:560px;box-shadow:0 24px 90px #0d244044;color:var(--navy)}dialog::backdrop{background:#13284780;backdrop-filter:blur(4px)}.dialog-head{padding:23px 25px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;font-size:20px}.dialog-body{padding:24px;max-height:74vh;overflow:auto}.dialog-head .button{margin-top:-5px}.secret{padding:16px;background:#f0f5fd;border:1px dashed #a9bfdc;border-radius:11px;word-break:break-all;font-size:13px;line-height:1.8;user-select:all}.file-input{padding:11px;background:#f6f9fe;border:1px dashed #c3d2e6}.xml-input{font-size:11px;min-height:300px}.results ul{padding-left:20px;margin:10px 0 0}.results li{font-size:12px;line-height:1.65}.statusline{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);flex-wrap:wrap}.scopes{display:flex;flex-direction:column;gap:13px}.key-prefix{font-size:11px;font-weight:400}.integration-card{display:flex;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.integration-card:last-child{border:0;padding-bottom:0}.integration-card:first-child{padding-top:0}.integration-card h3{font-size:14px;margin-bottom:8px}.integration-card p{font-size:12px;color:var(--muted);margin-bottom:8px}.integration-card .detail-list{margin-top:14px}.mobile-nav-label{display:none}
@media(prefers-reduced-motion:reduce){.spinner{animation:none}}@media(min-width:1600px){.main{padding-top:42px}.shell{grid-template-columns:244px 1fr}.sidebar{padding-left:27px;padding-right:27px}.topbar{padding-left:48px;padding-right:48px}}@media(max-width:1000px){.shell{grid-template-columns:194px 1fr}.sidebar{padding-left:12px;padding-right:12px}.topbar{padding-left:24px;padding-right:24px}.main{padding:28px 24px 44px}.grid-2{grid-template-columns:1fr}.auth-grid{gap:35px}.auth-intro h1{font-size:36px}.stats{gap:10px}.stat{padding:15px;gap:10px}.stat-icon{width:33px;height:33px}.doc-grid{grid-template-columns:150px 1fr;gap:20px}}@media(max-width:720px){.environment{padding:10px 16px;font-size:10px;gap:12px}.environment>div>span:last-child{display:none}.shell{display:block}.sidebar{padding:18px 16px 0;border-right:0;border-bottom:1px solid var(--line);gap:18px}.sidebar .brand{font-size:21px}.nav-label,.sidebar-bottom{display:none}.nav{flex-direction:row;overflow-x:auto;gap:4px;padding-bottom:12px;margin:0 -16px;padding-left:16px;padding-right:16px}.nav a{padding:10px 12px;white-space:nowrap;font-size:11px;gap:7px}.nav .icon svg{width:17px;height:17px}.nav .icon{width:17px;height:17px}.topbar{height:63px;padding:0 18px}.user-name{max-width:145px;font-size:11px}.user-email{max-width:145px;font-size:9px}.avatar{display:none}.breadcrumb{font-size:10px}.main{padding:25px 18px 38px}.page-heading{gap:15px;flex-wrap:wrap;margin-bottom:22px}.page-heading .actions{width:100%}.page-heading .button{flex:1}h1{font-size:28px;letter-spacing:-.8px}.page-heading p{font-size:12px}.card{padding:20px;border-radius:14px}.welcome{padding:23px}.welcome h2{font-size:22px}.stats{grid-template-columns:1fr;gap:10px;margin:18px 0}.stat{padding:15px 18px;justify-content:space-between;flex-direction:row-reverse}.stat strong{font-size:22px;display:inline;margin-left:12px}.stat small{font-size:12px}.stat-icon{width:35px;height:35px}.grid-2{gap:18px}.section-head{align-items:flex-start}.section-head h2{font-size:18px}.field-row,.detail-list{grid-template-columns:1fr}.auth-layout{padding:22px 18px 30px}.auth-header{margin-bottom:25px}.auth-grid{grid-template-columns:1fr;gap:22px}.auth-intro{padding:10px 3px 0}.auth-intro h1{font-size:34px}.auth-intro>p{font-size:13px}.auth-features{display:none}.auth-card{padding:23px}.auth-header .button{font-size:11px;padding:9px 12px}.auth-legal{margin-top:18px}.doc-grid{display:block}.doc-index{position:static;flex-direction:row;flex-wrap:wrap;border-left:0;border-bottom:1px solid var(--line);padding:0 0 20px;margin-bottom:25px;gap:16px}.code-block{padding:16px}.footer{flex-direction:column;gap:7px}.dialog-head{padding:20px}.dialog-body{padding:20px;max-height:73vh}.recipient{align-items:flex-start}.recipient .badge{margin-top:3px}.integration-card{display:block}.integration-card .actions{margin-top:18px}.tabs{width:100%}.tabs button{flex:1;padding-left:10px;padding-right:10px}.form-footer{flex-wrap:wrap}.form-footer .button{flex:1}.table{min-width:570px}}
.separator{border:0;border-top:1px solid var(--line);margin:22px 0}.scope-fieldset{border:1px solid var(--line);border-radius:11px;padding:17px}.scope-fieldset legend{font-size:12px;font-weight:650;padding:0 6px}.document-title{font-size:22px;margin-top:18px;margin-bottom:22px}.xml-details{margin-top:20px}.xml-details summary{cursor:pointer;font-size:12px;font-weight:650;margin-bottom:12px}.dialog-body .secret{display:block}.dialog-body .actions{margin-top:18px}

.environment{position:sticky;top:0;z-index:20}.validation-stages{margin-bottom:13px}.doc-index{top:62px}

.guide-nav{background:#edf3ff;color:#2852c1!important;font-weight:750!important}.guide-promo{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#edf3ff;border:1px solid #cfddf5;border-radius:14px;padding:20px 22px;margin-bottom:25px}.guide-promo strong{font-size:15px}.guide-promo p{font-size:12px;color:var(--muted);margin:6px 0 0}.guide-promo .button{flex-shrink:0}@media(max-width:720px){.auth-header{align-items:flex-start}.auth-header>.actions{justify-content:flex-end;max-width:200px;gap:7px}.guide-promo{align-items:flex-start;flex-direction:column}.footer .actions{gap:12px}}

/* Long organization names must leave room for the sign-out button on phones. */
@media(max-width:720px){
  .topbar{gap:10px}
  .topbar .breadcrumb{min-width:0;flex:1;overflow-wrap:anywhere}
  .topbar .user{flex:0 1 65%;gap:8px}
  .topbar .user>div{min-width:0;flex:1}
  .topbar .user>.button{flex:none}
}

/* Use the shared KontAI artwork in the sandbox header and workspace. */
.brand{flex-direction:column;align-items:flex-start;gap:5px;flex-shrink:0}.brand .brand-logo{display:block;width:144px;height:auto;max-width:100%}.brand small{font-size:9px;line-height:1.3;letter-spacing:1.5px;margin-top:0}
