:root{
  --app-header-height:70px;
}
body:has(.app-title-bar-shell){
  padding-top:var(--app-header-height)!important;
}
.app-title-bar-shell{
  --app-shell-max:1680px;
  --app-shell-gutter:28px;
  --app-shell-gutter-mobile:20px;
  width:min(var(--app-shell-max),calc(100% - var(--app-shell-gutter)));
  margin:0 auto 12px;
  background:#fff;
  border:1px solid #e5e7eb;
  border-top:none;
  border-radius:0 0 16px 16px;
  box-shadow:0 12px 30px rgba(15,23,42,.12);
  position:sticky;
  top:var(--app-header-height);
  z-index:900;
  overflow:hidden;
}
.app-title-bar-shell--1180{
  --app-shell-max:1180px;
  --app-shell-gutter:28px;
  --app-shell-gutter-mobile:16px;
}
.app-title-bar-shell--1400{
  --app-shell-max:1400px;
  --app-shell-gutter:32px;
  --app-shell-gutter-mobile:20px;
}
.app-title-bar-shell--1500{
  --app-shell-max:1500px;
  --app-shell-gutter:32px;
  --app-shell-gutter-mobile:20px;
}
.app-title-bar-shell--1680{
  --app-shell-max:1680px;
  --app-shell-gutter:28px;
  --app-shell-gutter-mobile:20px;
}
.app-title-bar-shell--multiline .app-title-bar{
  align-items:center;
  min-height:44px;
  padding:6px 12px 6px 14px;
}
.app-title-bar-shell--multiline .app-title-bar-title{
  font-size:.82rem;
  align-items:flex-start;
  line-height:1.25;
}
.app-title-bar-shell--multiline .app-title-bar-title i{
  font-size:.86rem;
  margin-top:1px;
}
.app-title-bar-shell--multiline .app-title-bar-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:1px;
  min-width:0;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
}
.app-title-bar-shell--multiline .app-title-bar-sep{
  display:none;
}
.app-title-bar-shell--multiline .app-title-bar-name{
  flex-shrink:1;
  font-size:.82rem;
  line-height:1.25;
}
.app-title-bar-shell--multiline .app-title-bar-subtitle{
  font-size:.74rem;
  line-height:1.35;
  font-weight:500;
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  word-break:break-word;
}
.app-title-bar-shell.app-title-bar-shell--flat{
  position:relative;
  top:auto;
}
.app-title-bar,
.control-panel-header,
.toolbar-header.app-title-bar-compatible{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:44px;
  padding:8px 12px 8px 14px;
  background:linear-gradient(180deg,#f8fafc 0%,#eef2ff 100%);
  border-bottom:1px solid #e5e7eb;
}
body.topbar-hidden .control-panel-header,
body.toolbar-hidden .toolbar-header.app-title-bar-compatible{
  border-bottom:none;
}
.app-title-bar-title,
.control-panel-header-title,
.toolbar-header-title.app-title-bar-compatible{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-width:0;
  color:#1f2937;
  font-size:.88rem;
  font-weight:800;
  letter-spacing:.01em;
}
.app-title-bar-title i,
.control-panel-header-title i,
.toolbar-header-title.app-title-bar-compatible i{
  color:#2563eb;
  font-size:.95rem;
  flex-shrink:0;
}
.app-title-bar-text,
.control-panel-title-text{
  display:inline-flex;
  align-items:center;
  gap:0;
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-title-bar-name,
.control-panel-name{
  flex-shrink:0;
}
.app-title-bar-sep,
.control-panel-sep{
  flex-shrink:0;
  margin:0 .45em;
  color:#667085;
  font-weight:500;
}
.app-title-bar-subtitle,
.control-panel-subtitle{
  color:#667085;
  font-weight:500;
  overflow:hidden;
  text-overflow:ellipsis;
}
.app-title-bar-actions,
.control-panel-actions,
.toolbar-header-actions{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}
.app-about-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 12px;
  border:1px solid rgba(37,99,235,.22);
  border-radius:999px;
  background:#fff;
  color:#2563eb;
  font-size:.8rem;
  font-weight:700;
  cursor:pointer;
  font-family:inherit;
  white-space:nowrap;
}
.app-about-btn:hover{
  background:#eef4ff;
  border-color:rgba(37,99,235,.45);
}
.toolbar-toggle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  height:32px;
  border:1px solid rgba(37,99,235,.22);
  border-radius:999px;
  background:#fff;
  color:#2563eb;
  padding:0 12px;
  font-size:.8rem;
  font-weight:700;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
  font-family:inherit;
  flex-shrink:0;
}
.toolbar-toggle:hover{
  background:#eef4ff;
  border-color:rgba(37,99,235,.45);
}
.toolbar-toggle-icon{
  font-size:.72rem;
  transition:transform .2s ease;
}
body.topbar-hidden .toolbar-toggle-icon,
body.toolbar-hidden .toolbar-toggle-icon{
  transform:rotate(180deg);
}
.app-about-modal{
  position:fixed;
  inset:0;
  z-index:10050;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(3px);
}
.app-about-modal[hidden]{display:none!important}
.app-about-dialog{
  width:min(760px,calc(100vw - 32px));
  max-height:min(88vh,900px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,0,0,.35);
}
.app-about-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 18px;
  border-bottom:1px solid #e5e7eb;
  background:linear-gradient(180deg,#fff,#f8fafc);
}
.app-about-head h2{
  margin:0;
  font-size:1.05rem;
  color:#1f2937;
}
.app-about-head button{
  width:36px;
  height:36px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  background:#fff;
  font-size:1.4rem;
  line-height:1;
  cursor:pointer;
  color:#475467;
}
.app-about-body{
  padding:18px 20px 22px;
  overflow:auto;
  color:#344054;
  font-size:.92rem;
  line-height:1.65;
}
.app-about-body h3{
  margin:0 0 10px;
  font-size:1rem;
  color:#1f2937;
}
.app-about-body h4{
  margin:18px 0 8px;
  font-size:.92rem;
  color:#1f2937;
}
.app-about-body p{margin:0 0 10px}
.app-about-body ul{
  margin:0 0 4px 1.1rem;
  padding:0;
}
.app-about-body li{margin:0 0 4px}
@media(max-width:991px){
  .app-title-bar-shell{top:var(--app-header-height)}
}
@media(max-width:680px){
  .app-title-bar-shell{
    width:min(var(--app-shell-max),calc(100% - var(--app-shell-gutter-mobile)));
    border-radius:0 0 14px 14px;
  }
  .app-title-bar,
  .control-panel-header,
  .toolbar-header.app-title-bar-compatible{
    padding:8px 10px;
    gap:8px;
  }
  .app-title-bar-text,
  .control-panel-title-text{
    font-size:.82rem;
  }
  .app-title-bar-shell--multiline .app-title-bar-title{
    font-size:.78rem;
  }
  .app-title-bar-shell--multiline .app-title-bar-name{
    font-size:.78rem;
  }
  .app-title-bar-shell--multiline .app-title-bar-subtitle{
    font-size:.7rem;
    line-height:1.32;
  }
