:root{color-scheme:dark;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0b0d0e;color:#e9e8e4}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.workspace{height:100dvh;display:flex}.sidebar{width:266px;min-width:266px;background:#101314;border-right:1px solid #2c3030;display:flex;flex-direction:column;padding:24px 14px}.logo{padding:4px 10px 35px}.brandmark{font-weight:900;font-size:29px;letter-spacing:2px;color:#e7b755}.brandmark span{font-size:13px;vertical-align:top;margin-left:4px}.logo small{font-size:10px;letter-spacing:2.2px;color:#a9aaa5}.newproject{background:#d8a84b;border:0;color:#15110a;padding:12px 14px;border-radius:10px;font-weight:700;text-align:left;margin-bottom:26px}.sidebarlabel{font-size:10px;font-weight:800;color:#888b89;letter-spacing:2px;margin:0 10px 10px}.sidebarlabel.conversations{display:flex;justify-content:space-between;margin-top:27px}.sidebarlabel button{background:none;border:0;color:#d8a84b;font-size:19px}.navitem{display:block;width:100%;background:transparent;border:0;color:#c4c5c2;text-align:left;padding:11px 12px;border-radius:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navitem:hover,.navitem.active{background:#292822;color:#e8b95d}.navitem::before{content:'▤';margin-right:10px;color:#c39c53}.chatitem::before{content:'◦'}.sidebarbottom{margin-top:auto;padding:18px 9px 0;border-top:1px solid #2d3030;color:#9d9f9a;font-size:12px}.sidebarbottom button{float:right;background:none;border:0;color:#aaa}.online{color:#75bc84}main{min-width:0;display:flex;flex-direction:column;flex:1;background:radial-gradient(ellipse at 50% 0%,#1b1c1a,#0b0d0e 70%)}header{height:83px;border-bottom:1px solid #262a2a;display:flex;align-items:center;justify-content:space-between;padding:0 35px}.heading{font-weight:700;font-size:17px}.subheading{font-size:12px;color:#93968f;margin-top:6px}.topbadge{font-size:10px;color:#d5ac5b;border:1px solid #5a482a;padding:9px 12px;border-radius:30px;letter-spacing:1px}.conversation{flex:1;overflow-y:auto;padding:35px max(25px,calc((100% - 850px)/2));display:flex;flex-direction:column;gap:20px}.welcome{text-align:center;margin:auto;max-width:500px}.welcomeIcon{font-size:43px;color:#d8a84b}.welcome h2{font-size:29px;margin:18px 0}.welcome p{color:#969a96;line-height:1.7}.message{max-width:88%;padding:17px 20px;border-radius:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.message.user{align-self:flex-end;background:#2b2b28;border:1px solid #434039}.message.assistant{align-self:flex-start;background:#151819;border:1px solid #353a37}.role{font-size:11px;letter-spacing:1px;font-weight:800;color:#d8a84b;margin-bottom:9px}.composer{padding:8px max(25px,calc((100% - 850px)/2)) 23px}.composer form{border:1px solid #514733;border-radius:16px;background:#191b1b;padding:13px 15px}.composer textarea{display:block;background:transparent;border:0;outline:0;color:#f0efeb;resize:vertical;width:100%;min-height:53px}.composerbottom{display:flex;justify-content:space-between;align-items:center;color:#a9a69b;font-size:11px}.composerbottom button{border:0;background:#d8a84b;color:#1b160d;border-radius:9px;width:34px;height:34px;font-size:19px}.composerbottom button:disabled{opacity:.45}.footnote{text-align:center;color:#6f7471;font-size:10px;margin-top:10px}.status{font-size:12px;color:#d8a84b;min-height:20px;padding-left:5px}.login{min-height:100dvh;display:grid;place-items:center;background:radial-gradient(circle at center,#27231b,#0b0d0e 65%)}.loginbox{width:min(410px,90vw);background:#151819;border:1px solid #3d3526;padding:42px;border-radius:20px;text-align:center}.loginbox h1{font-size:17px;letter-spacing:2px}.loginbox p{color:#999;font-size:13px}.loginbox input{width:100%;margin:25px 0 12px;padding:13px;border:1px solid #444;background:#0c0e0f;color:white;border-radius:9px}.loginbox button{width:100%;padding:13px;background:#d8a84b;border:0;border-radius:9px;font-weight:700}.loginbox .error{color:#ef8d83}.mobile{display:none}@media(max-width:700px){.sidebar{position:absolute;z-index:5;height:100dvh;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.mobile{display:block;background:none;border:0;color:#d8a84b;font-size:22px;margin-right:12px}header{padding:0 17px}.topbadge{display:none}.conversation{padding:22px 15px}.composer{padding:8px 12px 18px}.message{max-width:95%}}

.dts-brand-image {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* DTS Premium - compact logo */
.dts-brand-image {
    width: 95px !important;
    max-width: 100%;
    height: auto !important;
    display: block;
    object-fit: contain;
    margin: 0 auto 8px auto;
}



/* DTS Video Studio */
.video-studio {
    width: min(760px, 100%);
    margin: 25px auto;
    padding: 28px;
    border: 1px solid #343434;
    border-radius: 18px;
    background: #151819;
    color: #f0efeb;
}

.video-studio h2 {
    margin: 0 0 12px;
}

.video-studio p {
    color: #aaa;
}

.video-studio button {
    background: #d8a84b;
    color: #15110a;
    border: 0;
    border-radius: 9px;
    padding: 13px 20px;
    font-weight: 700;
    cursor: pointer;
}

.video-studio button:disabled {
    opacity: .5;
    cursor: wait;
}

.video-studio video {
    display: block;
    width: min(340px, 100%);
    max-height: 480px;
    margin: 20px auto;
    background: #000;
    border-radius: 12px;
}

.video-studio a {
    display: inline-block;
    margin-top: 12px;
    color: #d8a84b;
}

/* DTS AIVIS PROGRESS */
.aivis-progress {
  box-sizing: border-box;
  width: 100%;
  padding: 16px;
  margin: 12px 0;
  border: 1px solid #454545;
  border-radius: 14px;
  background: #191919;
  color: #fff;
}
.aivis-progress[hidden] {
  display: none !important;
}
.aivis-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}
#aivisPercent {
  color: #e2b344;
  font-size: 20px;
}
.aivis-progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #373737;
}
#aivisProgressFill {
  height: 100%;
  width: 0%;
  border-radius: 20px;
  background: linear-gradient(90deg,#b88920,#f1c65a);
  transition: width .5s ease;
}
#aivisProgressStatus {
  margin-top: 12px;
  font-size: 13px;
  color: #ccc;
}
@media(max-width:600px) {
  .aivis-progress {
    padding: 14px;
    border-radius: 12px;
  }
}


/* DTS_AIVIS_DIAGNOSE_BUTTON */
.aivis-diagnose-btn {
  display: block;
  width: calc(100% - 24px);
  max-width: 720px;
  margin: 12px auto;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  background: #d4a537;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.aivis-diagnose-btn:disabled {
  opacity: .55;
  cursor: wait;
}
.aivis-diagnosis-result {
  width: calc(100% - 24px);
  max-width: 720px;
  margin: 12px auto;
  padding: 18px;
  background: #191919;
  color: #fff;
  border: 1px solid #d4a537;
  border-radius: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
