.admin-auth-shell,.admin-shell{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#20283b;
  background:#f6f8fc;
  min-height:100vh
}
.admin-auth-shell{
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:46px 24px 24px
}
.admin-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:29px;
  letter-spacing:-1.5px;
  font-weight:760;
  color:#242c42;
  text-decoration:none
}
.admin-brand>span>span{
  color:#5264de
}
.admin-brand svg{
  width:38px;
  height:38px
}
.admin-auth-content{
  width:min(100%,440px);
  margin:54px 0 44px;
  background:white;
  border:1px solid #e5e9f2;
  border-radius:20px;
  padding:36px;
  box-shadow:0 16px 60px #27357006
}
.admin-eyebrow{
  display:block;
  font-size:10px;
  line-height:1.5;
  letter-spacing:1.8px;
  font-weight:750;
  color:#76829b;
  margin-bottom:13px
}
.admin-auth-content h1{
  font-size:30px;
  line-height:1.2;
  letter-spacing:-1.1px;
  margin:0 0 13px;
  font-weight:720
}
.admin-auth-lead{
  font-size:14px;
  line-height:1.7;
  color:#7b8499;
  margin:0 0 26px
}
.admin-auth-shell>footer{
  font-size:12px;
  color:#939bad;
  margin-top:auto
}
.admin-auth-form{
  display:flex;
  flex-direction:column;
  gap:9px
}
.admin-auth-form label{
  font-size:12px;
  font-weight:650;
  color:#444f68;
  margin-top:10px
}
.admin-auth-form input{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  border:1px solid #dfe4ef;
  background:#fcfdff;
  border-radius:9px;
  padding:11px 12px;
  font-size:14px;
  color:#24304a;
  outline:none
}
.admin-auth-form small{
  font-size:11px;
  color:#8b94a7;
  line-height:1.6
}
.admin-auth-form input:focus,.admin-chat-composer:focus-within{
  border-color:#7c8be7;
  box-shadow:0 0 0 3px #5264de12
}
.admin-primary,.admin-secondary{
  border-radius:9px;
  cursor:pointer;
  font-family:inherit;
  font-size:12px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  transition:background .15s,transform .15s
}
.admin-primary{
  background:#5264de;
  color:white;
  border:1px solid #5264de;
  padding:11px 16px
}
.admin-primary:hover:enabled{
  background:#4355cc
}
.admin-primary:disabled{
  opacity:.45;
  cursor:not-allowed
}
.admin-auth-form>.admin-primary{
  margin-top:18px;
  width:100%;
  justify-content:space-between
}
.admin-secondary{
  border:1px solid #e0e5ef;
  background:white;
  color:#536078;
  padding:10px 15px
}
.admin-secondary:hover{
  background:#f3f5fc
}
.admin-recovery-link{
  display:block;
  text-align:center;
  margin-top:25px;
  font-size:12px;
  color:#6576cc;
  text-decoration:none
}
.admin-form-error,.admin-form-note,.admin-notice,.admin-success{
  font-size:12px;
  line-height:1.7;
  border-radius:9px;
  padding:12px 14px
}
.admin-form-error{
  color:#b35159;
  background:#fff3f3;
  border:1px solid #f4dede
}
.admin-form-note{
  color:#778198;
  background:#f5f7fb;
  margin:4px 0
}
.admin-notice{
  background:#fff8e7;
  color:#8d7441;
  margin-bottom:20px;
  border:1px solid #f0e5c8
}
.admin-success{
  background:#edf8f3;
  color:#478468;
  margin-bottom:20px
}
.admin-shell{
  display:flex
}
.admin-sidebar{
  width:222px;
  flex-shrink:0;
  background:white;
  border-right:1px solid #e8ecf4;
  padding:28px 18px 20px;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  box-sizing:border-box
}
.admin-sidebar .admin-brand{
  margin:0 10px 33px
}
.admin-workspace{
  display:flex;
  align-items:center;
  gap:10px;
  background:#f8f9fc;
  border:1px solid #edf0f6;
  border-radius:11px;
  padding:12px;
  margin-bottom:31px
}
.admin-workspace strong{
  font-size:12px;
  display:block;
  line-height:1.8
}
.admin-workspace small{
  display:block;
  font-size:10px;
  color:#98a1b3
}
.admin-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:7px
}
.admin-sidebar nav a{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#8790a5;
  font-size:12px;
  padding:12px;
  border-radius:9px
}
.admin-sidebar nav a.active{
  background:#eef0fd;
  color:#5366d9;
  font-weight:650
}
.admin-sidebar nav svg{
  width:17px;
  height:17px
}
.admin-sidebar-bottom{
  margin-top:auto;
  padding:30px 11px 0;
  font-size:10px;
  color:#9aa3b4
}
.admin-secure-dot{
  display:inline-block;
  width:6px;
  height:6px;
  background:#74b49b;
  border-radius:50%;
  margin-right:7px
}
.admin-sidebar-bottom form{
  margin-top:17px
}
.admin-sidebar-bottom button{
  background:none;
  border:0;
  color:#8993aa;
  font:inherit;
  cursor:pointer;
  padding:5px 0;
  display:flex;
  justify-content:space-between;
  width:100%;
  font-size:12px
}
.admin-main{
  min-width:0;
  flex:1
}
.admin-topbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
  background:#ffffffb3;
  border-bottom:1px solid #e8ecf4;
  font-size:11px;
  color:#9ca5b7
}
.admin-topbar strong{
  color:#5d6881;
  font-weight:550
}
.admin-divider{
  padding:0 13px;
  color:#cbd1dc
}
.admin-private-badge{
  font-size:10px;
  padding:6px 10px;
  border-radius:6px;
  background:#eff4f2;
  color:#76968b
}
.admin-content{
  padding:38px 40px;
  max-width:1500px;
  margin:auto
}
.admin-page-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:28px
}
.admin-page-heading .admin-eyebrow{
  margin-bottom:8px
}
.admin-page-heading h1{
  font-size:28px;
  letter-spacing:-.9px;
  margin:0 0 8px;
  font-weight:700
}
.admin-page-heading p{
  font-size:12px;
  color:#96a0b4;
  margin:0
}
.admin-playground-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 262px;
  gap:25px
}
.admin-chat-card{
  background:white;
  border:1px solid #e3e8f2;
  border-radius:15px;
  overflow:hidden;
  min-width:0;
  display:flex;
  flex-direction:column;
  min-height:620px;
  box-shadow:0 5px 20px #25346703
}
.admin-chat-header{
  display:flex;
  align-items:center;
  gap:11px;
  padding:18px 22px;
  border-bottom:1px solid #edf0f6
}
.admin-bot-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f0f2fe;
  border-radius:10px;
  width:37px;
  height:37px
}
.admin-bot-avatar svg{
  width:27px;
  height:27px
}
.admin-chat-header strong{
  font-size:12px;
  display:block;
  line-height:1.7
}
.admin-chat-header small{
  font-size:10px;
  color:#a5adbd;
  display:block
}
.admin-test-badge{
  margin-left:auto;
  font-size:9px;
  background:#f6f8fb;
  color:#98a2b5;
  border:1px solid #edf0f5;
  border-radius:5px;
  padding:4px 8px
}
.admin-chat-transcript{
  padding:24px;
  flex:1;
  min-height:330px;
  max-height:560px;
  overflow:auto;
  scroll-behavior:smooth
}
.admin-chat-empty{
  text-align:center;
  max-width:370px;
  margin:75px auto 50px
}
.admin-empty-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 22px;
  width:62px;
  height:62px;
  border-radius:19px;
  background:#f2f4fe;
  border:1px solid #e9edfb
}
.admin-empty-mark svg{
  width:45px;
  height:45px
}
.admin-chat-empty h2{
  font-size:17px;
  letter-spacing:-.35px;
  margin:0 0 11px;
  color:#56627b
}
.admin-chat-empty p{
  font-size:11px;
  line-height:1.9;
  color:#a0a9bb;
  margin:0 auto;
  max-width:280px
}
.admin-suggestions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px
}
.admin-suggestions button{
  border:1px solid #e6eaf3;
  border-radius:7px;
  background:white;
  color:#8b96ac;
  font:inherit;
  font-size:10px;
  padding:9px 11px;
  cursor:pointer
}
.admin-suggestions button:hover{
  color:#5264de;
  border-color:#aab4ee
}
.admin-chat-composer{
  margin:0 20px 12px;
  border:1px solid #e1e6f1;
  border-radius:11px;
  background:#fdfdff;
  transition:border .15s
}
.admin-chat-composer textarea{
  resize:vertical;
  max-height:160px;
  min-height:60px;
  min-width:0;
  width:100%;
  box-sizing:border-box;
  padding:14px 15px 6px;
  background:none;
  border:none;
  outline:none;
  font-family:inherit;
  font-size:12px;
  line-height:1.7;
  color:#44506a
}
.admin-chat-composer textarea::placeholder{
  color:#adb5c5
}
.admin-chat-composer>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:4px 10px 10px;
  color:#b1bacb;
  font-size:9px
}
.admin-chat-composer .admin-primary{
  padding:8px 13px;
  font-size:10px
}
.admin-chat-footer{
  font-size:9px;
  line-height:1.7;
  text-align:center;
  color:#b2bacb;
  padding:0 15px 17px
}
.admin-chat-feedback{
  font-size:11px;
  color:#8795b5;
  line-height:1.6;
  padding:0 23px;
  min-height:18px;
  margin:0 0 10px
}
.admin-context section{
  border:1px solid #e3e8f2;
  border-radius:13px;
  background:white;
  padding:23px 20px
}
.admin-context h2{
  font-size:16px;
  letter-spacing:-.4px;
  margin:0 0 11px
}
.admin-context p{
  font-size:11px;
  color:#9aa4b7;
  line-height:1.9;
  margin:0
}
.admin-context dl{
  margin:24px 0 0
}
.admin-context dl>div{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:19px
}
.admin-context dt{
  font-size:10px;
  color:#a3acbd
}
.admin-context dd{
  font-size:11px;
  color:#65738e;
  margin:0;
  overflow-wrap:anywhere
}
.admin-context .admin-state-off{
  color:#a69470
}
.admin-context .admin-state-ready{
  color:#6aa18a
}
.admin-connection-note{
  font-size:10px;
  color:#8b98b5;
  line-height:1.8;
  background:#f6f8fd;
  padding:11px;
  border-radius:7px;
  margin-top:6px
}
.admin-context section.admin-testing-note{
  margin-top:19px;
  border-style:dashed;
  background:transparent
}
.admin-testing-note h3{
  font-size:12px;
  color:#7a89a6;
  margin:12px 0 8px
}
.admin-note-icon{
  color:#8a9bd0;
  font-size:23px
}
.admin-message{
  margin:0 0 20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px
}
.admin-message.admin-user-message{
  align-items:flex-end
}
.admin-message-label{
  font-size:9px;
  letter-spacing:.2px;
  color:#a4aec1
}
.admin-message-text{
  font-size:12px;
  line-height:1.85;
  color:#5f6c86;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-width:90%;
  background:#f4f6fb;
  border-radius:11px 11px 11px 3px;
  padding:11px 15px
}
.admin-user-message .admin-message-text{
  background:#5366de;
  color:white;
  border-radius:11px 11px 3px 11px
}
.admin-message-state{
  font-size:10px;
  color:#a0a9bc
}
.admin-account-card{
  max-width:540px;
  border:1px solid #e3e8f2;
  border-radius:14px;
  background:white;
  padding:30px
}
.admin-account-card h2{
  font-size:16px;
  margin:0 0 8px
}
.admin-account-card>p{
  font-size:11px;
  color:#98a2b7
}
.admin-visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.admin-shell button:focus-visible,.admin-shell a:focus-visible,.admin-auth-shell a:focus-visible,.admin-auth-shell button:focus-visible{
  outline:3px solid #a3b3ee;
  outline-offset:3px
}
@media(max-width:1100px){
  .admin-playground-grid{
    grid-template-columns:minmax(0,1fr)
  }
  .admin-context{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
  }
  .admin-context section.admin-testing-note{
    margin-top:0
  }
  .admin-context dl{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 20px
  }
  .admin-content{
    padding:28px
  }
  .admin-topbar{
    padding:0 28px
  }
}
@media(max-width:700px){
  .admin-shell{
    flex-direction:column
  }
  .admin-sidebar{
    width:100%;
    min-height:auto;
    padding:18px;
    border-right:0;
    border-bottom:1px solid #e8ecf4;
    display:block
  }
  .admin-sidebar .admin-brand{
    margin:0 0 14px;
    font-size:23px
  }
  .admin-sidebar .admin-brand svg{
    width:30px;
    height:30px
  }
  .admin-workspace{
    display:none
  }
  .admin-sidebar nav{
    flex-direction:row;
    gap:5px;
    flex-wrap:wrap
  }
  .admin-sidebar nav a{
    padding:8px;
    font-size:10px;
    gap:6px
  }
  .admin-sidebar nav svg{
    width:14px;
    height:14px
  }
  .admin-sidebar-bottom{
    padding:8px 8px 0;
    display:flex;
    align-items:center;
    justify-content:space-between
  }
  .admin-sidebar-bottom form{
    margin:0
  }
  .admin-sidebar-bottom button{
    width:auto;
    gap:15px;
    font-size:10px
  }
  .admin-topbar{
    height:49px;
    padding:0 20px;
    font-size:10px
  }
  .admin-private-badge{
    font-size:8px
  }
  .admin-content{
    padding:24px 16px
  }
  .admin-page-heading{
    align-items:flex-start;
    gap:12px
  }
  .admin-page-heading h1{
    font-size:22px
  }
  .admin-page-heading p{
    font-size:10px;
    line-height:1.7;
    max-width:200px
  }
  .admin-page-heading .admin-secondary{
    font-size:9px;
    padding:9px;
    white-space:nowrap;
    margin-top:20px
  }
  .admin-eyebrow{
    font-size:9px
  }
  .admin-chat-card{
    min-height:550px
  }
  .admin-chat-empty{
    margin:50px auto 35px
  }
  .admin-chat-transcript{
    padding:18px;
    max-height:440px;
    min-height:290px
  }
  .admin-chat-composer{
    margin:0 12px 10px
  }
  .admin-context{
    grid-template-columns:1fr;
    gap:12px
  }
  .admin-context section.admin-testing-note{
    display:none
  }
  .admin-chat-header{
    padding:15px
  }
  .admin-auth-shell{
    padding:28px 16px 20px
  }
  .admin-auth-content{
    margin-top:35px;
    padding:26px 22px;
    box-sizing:border-box
  }
  .admin-auth-content h1{
    font-size:26px
  }
  .admin-account-card{
    padding:23px 19px
  }
}
@media(prefers-reduced-motion:reduce){
  .admin-chat-transcript{
    scroll-behavior:auto
  }
  .admin-primary,.admin-secondary,.admin-chat-composer{
    transition:none
  }
}
