

:root {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color: #202733;
  background: #f5f6f8;
  font-size: 14px;
  font-synthesis: none;
  --red: #c93240;
  --muted: #87909e;
  --border: #e9ecf0;
  --sidebar: #17202d
}

* {
  box-sizing: border-box
}

body {
  margin: 0
}

button,input,select {
  font: inherit
}

button,a,input,select {
  -webkit-tap-highlight-color: transparent
}

button,a {
  transition: background .16s,color .16s,box-shadow .16s
}

button {
  cursor: pointer
}

a {
  text-decoration: none;
  color: inherit
}

button:disabled {
  cursor: wait;
  opacity: .6
}

button:focus-visible,a:focus-visible {
  outline: 3px solid #db8892;
  outline-offset: 3px
}

input:focus,select:focus {
  outline: 2px solid #e4a4aa;
  border-color: transparent
}

h1,h2,h3,p {
  margin: 0
}

h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.7px
}

h2 {
  font-size: 17px;
  font-weight: 600
}

h3 {
  font-size: 15px;
  font-weight: 600
}

p {
  line-height: 1.8
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle
}

.muted {
  color: var(--muted);
  font-size: 12px
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  white-space: nowrap;
  letter-spacing: -.6px
}

.brand img {
  width: 34px;
  height: 34px
}

.brand b {
  font-weight: 650
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  font-weight: 600
}

.red-text {
  color: var(--red)
}

.primary,.outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 550
}

.primary {
  border: 1px solid var(--red);
  background: var(--red);
  color: white
}

.primary:hover {
  background: #b62734;
  box-shadow: 0 4px 12px #c9324020
}

.outline {
  background: white;
  border: 1px solid #dce1e7;
  color: #4d5867
}

.outline:hover {
  background: #f5f6f8
}

.text-button {
  background: none;
  border: 0;
  color: #b72a38;
  font-size: 12px;
  padding: 5px 0
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  border-radius: 6px;
  color: #7c8795
}

.icon-button:hover {
  background: #eceff3
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 13px;
  background: #f7e8e9;
  color: #b2464e
}

.avatar.blue {
  background: #e6edf8;
  color: #466d9c
}

.avatar.green {
  background: #e3f0ed;
  color: #458274
}

.avatar.violet {
  background: #ece7f7;
  color: #7d64a1
}

.avatar.large {
  width: 52px;
  height: 52px;
  font-size: 19px
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 4px;
  background: #f0f2f5;
  color: #7b8593;
  font-size: 11px;
  white-space: nowrap
}

.badge.amber {
  background: #fff4df;
  color: #aa7b2e
}

.badge.green {
  background: #edf6f1;
  color: #3e8a69
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 51% 49%;
  background: #fff
}

.login-story {
  background: #17202d;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 780px;
  padding: 42px 52px;
  display: flex;
  flex-direction: column
}

.login-story:after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  bottom: -320px;
  left: -270px;
  background: radial-gradient(circle,#98474b33,transparent 70%);
  pointer-events: none
}

.story-copy {
  max-width: 500px;
  margin: auto 0;
  width: 100%;
  padding: 60px 12px 10px
}

.story-copy .eyebrow {
  color: #97a2b2
}

.story-copy h1 {
  font-size: 42px;
  line-height: 1.55;
  letter-spacing: 1px;
  font-weight: 500;
  margin-top: 20px
}

.story-copy p {
  color: #9ea9b8;
  font-size: 15px;
  margin-top: 20px
}

.orbit {
  height: 270px;
  position: relative;
  width: 340px;
  margin: 35px auto 0;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  transform: rotate(-16deg)
}

.orbit-inner {
  position: absolute;
  inset: 30px;
  border: 1px solid #ffffff17;
  border-radius: 50%
}

.orbit-core {
  position: absolute;
  left: 115px;
  top: 80px;
  width: 105px;
  height: 105px;
  border: 1px solid #ffffff21;
  background: linear-gradient(135deg,#414958,#232b38);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 250;
  transform: rotate(16deg);
  box-shadow: 0 15px 50px #0003
}

.orbit-core span {
  font-size: 11px;
  color: #adb8c7;
  letter-spacing: 2px
}

.orbit-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: rotate(16deg);
  font-size: 11px;
  color: #c4cdd8;
  background: #26303f;
  border: 1px solid #ffffff14;
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 10px 25px #0002
}

.orbit-tag .icon {
  width: 17px;
  height: 17px;
  color: #d89195
}

.tag-a {
  left: -30px;
  top: 45px
}

.tag-b {
  right: -15px;
  top: 100px
}

.tag-c {
  bottom: 10px;
  left: 70px
}

.story-footer {
  display: flex;
  justify-content: space-between;
  color: #818d9e;
  font-size: 11px;
  z-index: 1;
  margin-top: 35px
}

.login-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 40px 100px
}

.login-form-wrap {
  width: 360px;
  max-width: 100%
}

.login-form-wrap h2 {
  font-size: 29px;
  margin: 15px 0 12px
}

.login-form-wrap>.muted {
  font-size: 13px;
  margin-bottom: 35px
}

label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #536071;
  font-size: 12px;
  font-weight: 500
}

input,select {
  width: 100%;
  height: 42px;
  border: 1px solid #dfe3e9;
  border-radius: 5px;
  background: #fff;
  color: #252f3d;
  padding: 0 12px;
  min-width: 0
}

input::placeholder {
  color: #aeb4bf
}

#login-form label {
  margin-bottom: 20px
}

#login-form input {
  height: 48px
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8e97a4
}

.login-options .icon {
  width: 13px;
  height: 13px;
  margin-right: 4px
}

.login-submit {
  width: 100%;
  height: 48px;
  justify-content: space-between;
  padding: 0 20px
}

.form-error {
  color: #c93240;
  font-size: 12px;
  min-height: 24px;
  margin: 5px 0
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a1a8b2;
  font-size: 11px;
  margin: 29px 0 20px
}

.divider:before,.divider:after {
  content: '';
  height: 1px;
  background: #e9ecf0;
  flex: 1
}

.act-button {
  width: 100%;
  height: 48px;
  border: 1px solid #e2e6eb;
  border-radius: 6px;
  background: #fff;
  color: #586272;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
  font-size: 12px
}

.act-button span {
  flex: 1;
  text-align: left
}

.act-button:hover {
  background: #f7f8fa
}

.login-note {
  text-align: center;
  color: #a4acb7;
  font-size: 10px;
  margin-top: 17px
}

.login-bottom {
  position: absolute;
  bottom: 35px;
  font-size: 10px;
  color: #969fab
}

.login-bottom span {
  margin-left: 15px;
  border-left: 1px solid #dce0e6;
  padding-left: 15px
}

.layout {
  display: flex;
  min-height: 100vh
}

.sidebar {
  background: var(--sidebar);
  color: #a1adbd;
  width: 224px;
  flex-shrink: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 15px 18px
}

.sidebar .brand {
  color: white;
  padding: 0 9px;
  font-size: 19px
}

.sidebar .brand img {
  width: 30px;
  height: 30px
}

.workspace-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  padding: 30px 13px 15px;
  color: #6f7d91;
  letter-spacing: 1px
}

.workspace-label span {
  border: 1px solid #ffffff1c;
  border-radius: 3px;
  padding: 1px 4px;
  letter-spacing: 0
}

.sidebar nav {
  overflow-y: auto;
  flex: 1
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 43px;
  padding: 0 13px;
  margin: 3px 0;
  border-radius: 6px;
  font-size: 12px;
  position: relative
}

.nav-item:hover {
  background: #ffffff08;
  color: white
}

.nav-item.active:not(.child) {
  background: #c93240;
  color: white
}

.nav-item .icon {
  width: 18px;
  height: 18px
}

.nav-item.child {
  height: 33px;
  font-size: 11px;
  padding-left: 23px;
  color: #7d8b9d
}

.nav-item.child.active {
  color: #fff;
  background: #ffffff08
}

.nav-item.child.active .nav-dot {
  background: #e05b67
}

.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #516074;
  margin-right: 9px
}

.nav-expand {
  margin-left: auto;
  font-size: 15px
}

.nav-children {
  margin: 5px 0 10px
}

.sidebar-bottom {
  border-top: 1px solid #ffffff0c;
  padding: 19px 10px 0;
  font-size: 10px;
  color: #748196;
  display: flex;
  align-items: center;
  gap: 7px
}

.sidebar-bottom>span:last-child {
  margin-left: auto;
  font-size: 9px
}

.online-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6aa287
}

.main {
  width: calc(100% - 224px);
  margin-left: 224px;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

.topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  gap: 15px
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: #99a2af
}

.breadcrumb .icon {
  width: 11px;
  height: 11px
}

.breadcrumb strong {
  color: #536071;
  font-weight: 500
}

.top-user {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  white-space: nowrap
}

.local-badge {
  background: #f2f4f7;
  color: #8691a0;
  font-size: 9px;
  border: 1px solid #e7ebf0;
  padding: 3px 6px;
  border-radius: 4px
}

.user-company {
  color: #8792a1
}

.top-divider {
  height: 21px;
  background: #e9ecf0;
  width: 1px;
  margin: 0 5px
}

.top-user .avatar {
  width: 29px;
  height: 29px;
  font-size: 11px
}

main {
  padding: 32px 34px 40px;
  max-width: 1600px;
  width: 100%;
  margin: auto;
  flex: 1
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 27px
}

.overline {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #a0a7b2;
  margin-bottom: 9px
}

.page-header h1 {
  margin-bottom: 8px
}

.page-header p {
  color: #9099a6;
  font-size: 12px
}

.date-label {
  color: #7d8898;
  font-size: 11px
}

.welcome {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 31px 30px;
  background: #eaeef3;
  border: 1px solid #e0e5ec;
  border-radius: 9px
}

.welcome .eyebrow {
  font-size: 9px;
  color: #8897ab
}

.welcome h2 {
  font-size: 24px;
  font-weight: 550;
  margin: 10px 0 8px
}

.welcome p {
  font-size: 12px;
  color: #8591a1
}

.welcome-user {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 1;
  background: #eaeef3bb;
  padding: 14px;
  border-radius: 7px
}

.welcome-user strong {
  font-size: 13px;
  font-weight: 600
}

.welcome-user p {
  font-size: 11px;
  margin: 5px 0
}

.welcome-user span:not(.avatar) {
  font-size: 10px;
  color: #949eac
}

.welcome-user b {
  color: #508273;
  font-weight: 500;
  margin-left: 7px
}

.welcome-line-art {
  position: absolute;
  left: 45%;
  top: -75px;
  transform: rotate(-25deg);
  width: 240px;
  height: 350px
}

.welcome-line-art span {
  position: absolute;
  inset: 10px;
  border: 1px solid #d8e0e9;
  border-radius: 45px
}

.welcome-line-art span:nth-child(2) {
  inset: 35px
}

.welcome-line-art span:nth-child(3) {
  inset: 60px
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 29px 0 15px
}

.section-heading h2 {
  font-size: 15px
}

.section-heading a {
  font-size: 11px;
  color: #8591a0;
  display: flex;
  align-items: center;
  gap: 8px
}

.section-heading .icon {
  width: 14px;
  height: 14px
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 22px
}

.stat-card:hover {
  border-color: #d2b2b6;
  box-shadow: 0 5px 15px #29364807
}

.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.stat-top>.icon {
  width: 15px;
  color: #bac1cb
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center
}

.tone-0 {
  background: #f8e9eb;
  color: #b75460
}

.tone-1 {
  background: #eaf0f9;
  color: #5978a4
}

.tone-2 {
  background: #faf1e4;
  color: #b49461
}

.tone-3 {
  background: #eeebf7;
  color: #8b7aa9
}

.stat-value {
  font-size: 36px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 15px 0 6px;
  font-variant-numeric: tabular-nums
}

.stat-value small {
  font-size: 10px;
  margin-left: 8px;
  color: #a5aeba;
  font-weight: 400
}

.stat-card h3 {
  font-size: 12px
}

.stat-card p {
  font-size: 10px;
  color: #a4acb7;
  margin-top: 5px
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
  margin-top: 24px
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 23px;
  border-bottom: 1px solid #f0f2f5
}

.panel-heading h2 {
  font-size: 14px
}

.empty {
  min-height: 235px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 34px 20px;
  text-align: center
}

.empty-art {
  position: relative;
  width: 65px;
  height: 62px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center
}

.empty-art:before {
  content: '';
  position: absolute;
  inset: 2px;
  background: #f1f4f7;
  border-radius: 18px;
  transform: rotate(-12deg)
}

.empty-art>.icon {
  position: relative;
  width: 35px;
  height: 35px;
  color: #adb8c7;
  stroke-width: 1.1
}

.empty-art>span {
  position: absolute;
  right: 0;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  background: #d5dde7
}

.empty h3 {
  font-size: 13px;
  color: #778493;
  font-weight: 500
}

.empty p {
  font-size: 11px;
  color: #a4adb9;
  margin-top: 8px
}

.knowledge-mini {
  padding-bottom: 21px
}

.knowledge-mini .mini-logo {
  margin: 25px 23px 12px;
  color: #8598b5
}

.mini-logo .icon {
  width: 31px;
  height: 31px
}

.knowledge-mini>h3,.knowledge-mini>p {
  margin: 0 23px
}

.knowledge-mini>h3 {
  font-size: 14px
}

.knowledge-mini>p {
  color: #9da6b3;
  font-size: 11px;
  margin-top: 8px
}

.knowledge-mini .full {
  margin: 24px 23px 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px
}

footer {
  padding: 17px 34px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e8ebef;
  color: #a2aab5;
  font-size: 9px
}

.project-toolbar {
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap
}

.tabs {
  display: flex;
  gap: 24px
}

.tabs a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 65px;
  font-size: 12px;
  border-bottom: 2px solid transparent;
  color: #8793a4
}

.tabs a.selected {
  color: var(--red);
  border-color: var(--red)
}

.tabs a span {
  font-size: 10px;
  padding: 1px 5px;
  background: #f4f5f7;
  border-radius: 4px
}

.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 220px;
  height: 34px;
  border: 1px solid #e3e7ed;
  border-radius: 5px;
  padding: 0 10px
}

.search-box .icon {
  width: 15px;
  height: 15px;
  color: #9ca6b5
}

.search-box input {
  border: none;
  background: none;
  padding: 0;
  height: 28px;
  font-size: 11px;
  outline: none
}

.search-box:focus-within {
  outline: 2px solid #e4a4aa
}

.table-footer {
  border-top: 1px solid var(--border);
  padding: 16px 23px;
  font-size: 10px;
  color: #8b96a5;
  display: flex;
  justify-content: space-between;
  gap: 15px
}

.project-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-bottom: 1px solid #f1f3f6;
  font-size: 13px
}

.project-row .badge {
  margin-left: auto
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0,2.4fr) minmax(210px,1fr);
  gap: 38px
}

.authorization {
  overflow: hidden
}

.auth-top {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 27px;
  border-bottom: 1px solid var(--border)
}

.integration-logo {
  height: 43px;
  width: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f0fd;
  border-radius: 10px;
  color: #557db3
}

.integration-logo .icon {
  width: 25px;
  height: 25px
}

.auth-top h2 {
  font-size: 16px
}

.auth-top p {
  font-size: 10px;
  color: #9aa5b5;
  margin-top: 5px
}

.auth-top .badge {
  margin-left: auto
}

.auth-main {
  text-align: center;
  padding: 40px 20px
}

.connection-art {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #d1d8e1;
  margin-bottom: 30px
}

.connection-art>div {
  height: 63px;
  width: 63px;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8596ac;
  background: #fafbfd
}

.connection-art .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.3
}

.connection-art .connection-lock {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff6e6;
  color: #b99760;
  border: 0
}

.connection-lock .icon {
  width: 15px;
  height: 15px
}

.auth-main h2 {
  font-size: 21px
}

.auth-main p {
  font-size: 12px;
  color: #97a2b1;
  margin: 15px 0 25px;
  line-height: 2
}

.auth-main button {
  height: 42px
}

.auth-status {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  padding: 24px;
  background: #fcfcfd;
  border-top: 1px solid var(--border)
}

.auth-status>div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 15px;
  border-right: 1px solid var(--border)
}

.auth-status>div:last-child {
  border: 0
}

.auth-status span {
  font-size: 10px;
  color: #99a3b0
}

.auth-status strong {
  font-size: 11px;
  font-weight: 500;
  color: #677486
}

.amber-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #c9a458;
  border-radius: 50%;
  margin-right: 5px
}

.knowledge-side {
  padding-top: 25px
}

.knowledge-side>.eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #9da8b7
}

.knowledge-side h2 {
  font-size: 21px;
  margin: 20px 0 10px;
  font-weight: 500
}

.knowledge-side>p {
  font-size: 12px;
  color: #9ba5b3;
  margin-bottom: 36px
}

.knowledge-side>div {
  display: flex;
  gap: 15px;
  margin: 28px 0;
  color: #9ba8b9
}

.knowledge-side strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #677589
}

.knowledge-side small {
  display: block;
  margin-top: 8px;
  color: #a4adba;
  font-size: 10px
}

.placeholder {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px
}

.placeholder>.badge {
  position: absolute;
  right: 22px;
  top: 22px
}

.placeholder-icon {
  width: 85px;
  height: 85px;
  background: #f2f4f8;
  border-radius: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px
}

.placeholder-icon .icon {
  width: 39px;
  height: 39px;
  color: #94a3b7;
  stroke-width: 1.2
}

.placeholder h2 {
  font-size: 22px;
  font-weight: 500
}

.placeholder p {
  font-size: 13px;
  color: #8794a6;
  margin: 16px 0 10px
}

.placeholder small {
  font-size: 11px;
  color: #a5aebb
}

.placeholder>.outline {
  margin-top: 28px
}

.system-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.system-cards>a {
  padding: 30px
}

.system-cards>a>.icon:first-child {
  width: 35px;
  height: 35px;
  color: #a36972;
  margin-bottom: 25px
}

.system-cards h2 {
  margin-bottom: 12px
}

.system-cards p {
  color: #9aa4b1;
  font-size: 12px
}

.system-cards>a>.icon:last-child {
  margin-top: 25px;
  color: #98a5b7
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 23px
}

.table-toolbar h2 {
  font-size: 14px
}

.table-toolbar h2 span {
  font-size: 10px;
  padding: 3px 7px;
  background: #f1f3f6;
  color: #8c96a5;
  border-radius: 4px;
  margin-left: 9px
}

.table-scroll {
  overflow-x: auto
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  text-align: left;
  white-space: nowrap
}

th {
  background: #f8f9fb;
  color: #8d98a7;
  font-size: 10px;
  font-weight: 500;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border)
}

td {
  padding: 17px 18px;
  border-bottom: 1px solid #f0f2f5;
  color: #667488
}

td strong {
  font-weight: 500;
  color: #465367
}

td small {
  display: block;
  font-size: 9px;
  color: #9ba6b5;
  margin-top: 6px
}

.table-person {
  display: flex;
  align-items: center;
  gap: 10px
}

.id-cell {
  display: block;
  width: 94px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  font-family: monospace
}

td code {
  font-size: 10px;
  color: #8a96a7
}

td .icon {
  width: 16px;
  height: 16px;
  color: #929eae
}

.menu-name {
  color: #4a586c
}

.no-results {
  text-align: center;
  padding: 45px
}

dialog {
  width: 540px;
  max-width: calc(100vw - 32px);
  max-height: 90vh;
  border: 1px solid #e1e5eb;
  border-radius: 11px;
  padding: 0;
  box-shadow: 0 25px 90px #17202d35;
  color: #263246
}

dialog::backdrop {
  background: #101d3266;
  backdrop-filter: blur(3px)
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border)
}

.dialog-head h2 {
  font-size: 16px
}

.dialog-info {
  padding: 30px 30px 18px;
  display: flex;
  align-items: flex-start;
  gap: 17px
}

.status-icon {
  background: #fff3e3;
  color: #b18f55;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0
}

.dialog-info p {
  color: #748298;
  font-size: 13px;
  line-height: 2
}

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 24px;
  border-top: 1px solid var(--border)
}

.act-state {
  padding: 28px;
  text-align: center
}

.token-scan {
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border: 1px solid #dbe3ed;
  background: repeating-linear-gradient(0deg,#f5f8fb,#f5f8fb 5px,#edf1f6 6px);
  border-radius: 15px
}

.token-scan .icon {
  height: 48px;
  width: 48px;
  color: #93a7c0
}

.act-state h3 {
  font-size: 19px;
  font-weight: 500
}

.act-state p {
  color: #a18a5b;
  font-size: 12px;
  margin: 15px 0
}

.act-state small {
  color: #99a4b4;
  font-size: 11px
}

.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4a363
}

.form-grid {
  padding: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px
}

.field-note {
  padding: 0 25px 15px;
  font-size: 10px;
  color: #9aa5b5;
  line-height: 1.8
}

#edit-form>.form-error {
  padding: 0 25px
}

#toast {
  position: fixed;
  z-index: 100;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #263448;
  color: #fff;
  font-size: 12px;
  padding: 13px 24px;
  border-radius: 7px;
  box-shadow: 0 5px 25px #0002;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s
}

#toast.show {
  opacity: 1
}

.boot {
  padding: 80px;
  text-align: center;
  color: #8795a7
}

@media(min-width:1500px) {

main {
  padding-top: 42px
}

.welcome {
  min-height: 180px
}

.stat-card {
  padding: 25px
}

.empty {
  min-height: 280px
}
}

@media(max-width:1100px) {

.sidebar {
  width: 195px;
  padding-left: 10px;
  padding-right: 10px
}

.sidebar .brand {
  font-size: 17px
}

.main {
  width: calc(100% - 195px);
  margin-left: 195px
}

main {
  padding: 25px
}

.topbar {
  padding: 0 25px
}

.stats {
  gap: 12px
}

.stat-card {
  padding: 17px
}

.knowledge-layout {
  gap: 22px
}

.tabs {
  gap: 15px
}

.project-toolbar .search-box {
  margin-bottom: 14px
}

.user-company {
  display: none
}

.login-story {
  padding: 30px
}

.story-copy h1 {
  font-size: 35px
}

.orbit {
  width: 290px
}

.orbit-core {
  left: 90px
}

.tag-a {
  left: -15px
}

.tag-b {
  right: -5px
}

.welcome-user {
  padding: 0
}

.welcome {
  padding: 25px
}

.date-label {
  font-size: 10px
}
}

@media(max-width:800px) {

.sidebar {
  width: 175px
}

.sidebar .brand {
  font-size: 15px;
  gap: 7px
}

.sidebar .brand img {
  width: 25px;
  height: 25px
}

.main {
  width: calc(100% - 175px);
  margin-left: 175px
}

.breadcrumb {
  font-size: 10px;
  gap: 6px
}

.topbar {
  padding: 0 18px
}

.top-user {
  gap: 7px
}

.local-badge,.top-divider {
  display: none
}

main {
  padding: 23px 18px
}

.stats {
  grid-template-columns: repeat(2,1fr)
}

.dashboard-bottom {
  grid-template-columns: 1fr
}

.welcome-user {
  display: none
}

.knowledge-layout {
  grid-template-columns: 1fr
}

.knowledge-side {
  display: none
}

.date-label {
  display: none
}

.login-page {
  grid-template-columns: 44% 56%
}

.login-story {
  min-height: 700px;
  padding: 25px
}

.story-copy {
  padding: 50px 0
}

.story-copy h1 {
  font-size: 27px
}

.story-copy p {
  font-size: 12px
}

.orbit {
  display: none
}

.story-footer {
  flex-direction: column;
  gap: 12px
}

.login-panel {
  padding: 50px 30px
}

.story-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 1px
}

.system-cards {
  grid-template-columns: 1fr
}

.page-header h1 {
  font-size: 24px
}

.page-header {
  gap: 10px
}
}

@media(max-width:580px) {

.login-page {
  display: block
}

.login-story {
  min-height: auto;
  padding: 24px;
  background: #17202d
}

.login-story .story-copy,.story-footer {
  display: none
}

.login-panel {
  padding: 45px 26px 90px;
  min-height: calc(100vh - 82px)
}

.sidebar {
  position: relative;
  width: 100%;
  padding: 18px 16px 8px;
  max-height: none
}

.sidebar .brand {
  font-size: 20px
}

.sidebar .brand img {
  width: 30px;
  height: 30px
}

.workspace-label,.sidebar-bottom,.nav-children {
  display: none
}

.sidebar nav {
  display: flex;
  overflow-x: auto;
  gap: 4px;
  margin-top: 15px
}

.nav-item {
  flex-shrink: 0;
  font-size: 11px;
  padding: 0 10px;
  height: 36px;
  gap: 5px
}

.nav-item .icon,.nav-expand {
  display: none
}

.layout {
  display: block
}

.main {
  width: 100%;
  margin: 0
}

.topbar {
  height: 58px
}

.top-user {
  font-size: 10px
}

.breadcrumb {
  gap: 4px
}

.top-user .avatar {
  width: 25px;
  height: 25px
}

main {
  padding: 23px 16px
}

.stats {
  gap: 10px
}

.stat-card {
  padding: 17px
}

.welcome {
  padding: 24px
}

.welcome h2 {
  font-size: 21px
}

.dashboard-bottom {
  gap: 16px
}

.tabs {
  gap: 11px
}

.tabs a {
  font-size: 10px;
  gap: 4px;
  min-height: 54px
}

.project-toolbar {
  padding: 0 15px
}

.auth-top {
  padding: 20px
}

.auth-main h2 {
  font-size: 18px
}

.auth-status {
  padding: 19px 8px
}

.auth-status>div {
  padding: 0 10px
}

.auth-status strong {
  font-size: 10px
}

.connection-art {
  gap: 9px
}

.connection-art>div {
  width: 52px;
  height: 52px
}

.page-header>.primary {
  padding: 0 12px;
  font-size: 11px
}

.page-header p {
  font-size: 11px
}

.table-toolbar {
  padding: 17px;
  flex-wrap: wrap
}

.placeholder {
  padding: 35px 20px;
  min-height: 380px
}

footer {
  padding: 16px;
  font-size: 8px
}

.form-grid {
  padding: 20px;
  gap: 14px
}

.form-grid input,.form-grid select {
  font-size: 12px
}

.dialog-head {
  padding: 15px 20px
}
}

/* Collapsible navigation uses native buttons and matching line icons at every depth. */

.nav-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font-family: inherit
}

.nav-toggle .nav-expand {
  display: block;
  width: 14px;
  height: 14px;
  margin-left: auto;
  transition: transform .18s ease;
  stroke-width: 1.7
}

.nav-toggle[aria-expanded="true"] .nav-expand {
  transform: rotate(90deg)
}

.nav-children[hidden] {
  display: none!important
}

.nav-item.child {
  min-width: 0
}

.nav-item>span:not(.nav-dot) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.span-all {
  grid-column: 1/-1
}

.project-row-name {
  min-width: 0;
  flex: 1
}

.project-row-name strong {
  overflow-wrap: anywhere
}

.project-row-name small {
  display: block;
  color: #97a2b0;
  font-size: 10px;
  margin-top: 7px
}

.project-name-cell {
  min-width: 180px;
  max-width: 340px;
  white-space: normal;
  overflow-wrap: anywhere
}

@media(max-width:580px) {

.sidebar nav {
  display: block;
  max-height: 280px;
  overflow-y: auto
}

.nav-item {
  width: 100%;
  height: 38px;
  font-size: 12px
}

.nav-item .icon {
  display: block;
  width: 17px;
  height: 17px
}

.nav-children:not([hidden]) {
  display: block;
  margin: 3px 0 9px
}

.nav-item.child {
  padding-left: 25px
}

.nav-toggle .nav-expand {
  display: block;
  width: 14px;
  height: 14px
}

.project-row {
  padding: 18px
}
}

/* Project document editor */

dialog.project-editor {
  width: 1050px;
  max-height: 92vh;
  height: 850px;
  overflow: hidden
}

.project-editor form {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0
}

.project-editor .dialog-head {
  flex-shrink: 0;
  background: white;
  padding: 19px 25px
}

.project-editor .dialog-head p {
  font-size: 11px;
  color: #9aa5b3;
  margin-top: 7px
}

.project-basics {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  padding: 16px 25px 22px;
  flex-shrink: 0
}

.project-basics label {
  font-size: 11px
}

.project-basics input,.project-basics select {
  height: 37px
}

.editor-tabbar {
  display: flex;
  background: #edf0f4;
  padding: 9px 14px 0;
  border-top: 1px solid #e2e7ee;
  border-bottom: 1px solid #dfe5ec;
  flex-shrink: 0
}

.editor-tabs {
  display: flex;
  overflow-x: auto;
  gap: 5px;
  min-width: 0
}

.editor-tab {
  display: flex;
  align-items: center;
  min-width: 130px;
  max-width: 230px;
  border-radius: 8px 8px 0 0;
  background: #e7ebf1;
  border: 1px solid transparent;
  border-bottom: 0
}

.editor-tab.selected {
  background: #fafbfc;
  border-color: #dfe5ec
}

.editor-tab>button {
  border: 0;
  background: none;
  color: #8591a2;
  height: 39px
}

.editor-tab [role=tab] {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 12px;
  flex: 1;
  font-size: 12px;
  text-align: left
}

.editor-tab.selected [role=tab] {
  color: #a83140;
  font-weight: 600
}

.delete-page {
  width: 28px;
  padding: 4px;
  margin-right: 4px
}

.delete-page .icon {
  width: 12px;
  height: 12px
}

.delete-page:hover {
  color: #c93240
}

.add-page {
  flex-shrink: 0;
  width: 38px;
  height: 34px;
  margin: 2px 0 0 8px;
  border: 0;
  background: transparent;
  color: #7d8999;
  border-radius: 5px
}

.add-page:hover {
  background: #dde3eb
}

.add-page .icon {
  width: 17px;
  height: 17px
}

.editor-canvas {
  background: #fafbfc;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 25px 42px 32px
}

.page-settings {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #e8ecf1;
  padding-bottom: 20px;
  margin-bottom: 22px
}

.page-settings .eyebrow {
  color: #aab4c2;
  font-size: 9px;
  white-space: nowrap
}

.page-title-input {
  border: 0;
  background: transparent;
  font-size: 21px;
  font-weight: 600;
  padding: 0 8px;
  flex: 1
}

.page-settings>span:last-child {
  font-size: 10px;
  color: #a1adba;
  white-space: nowrap
}

.content-block {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  margin: 15px 0;
  overflow: hidden
}

.block-bar {
  padding: 8px 16px;
  background: #fcfcfd;
  border-bottom: 1px solid #f0f2f6;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.block-kind {
  font-size: 10px;
  color: #a0acbb
}

.block-kind b {
  font-size: 11px;
  font-weight: 500;
  color: #79879b;
  margin-left: 12px
}

.block-actions {
  display: flex;
  gap: 4px
}

.block-actions .icon-button {
  width: 25px;
  height: 25px;
  font-size: 14px
}

.block-actions .icon {
  width: 14px;
  height: 14px
}

.block-actions button:disabled {
  opacity: .25;
  cursor: default
}

.block-fields {
  padding: 16px 20px
}

.block-title {
  border: none;
  border-bottom: 1px solid #f0f2f5;
  border-radius: 0;
  font-size: 15px;
  font-weight: 550;
  padding: 0 0 12px;
  height: 38px;
  margin-bottom: 10px
}

.block-body {
  width: 100%;
  resize: vertical;
  min-height: 85px;
  font: inherit;
  font-size: 13px;
  line-height: 1.9;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #536174
}

.block-body:focus {
  outline: 0
}

.block-body::placeholder {
  color: #aab4c1
}

.caption-field {
  font-size: 12px;
  min-height: 50px
}

.add-content-area {
  text-align: center;
  padding: 12px 0
}

.add-content {
  border-style: dashed;
  min-width: 180px;
  background: transparent
}

.content-type-picker {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 17px
}

.content-type-picker[hidden] {
  display: none
}

.content-type-picker button {
  background: #fff;
  border: 1px solid #e2e7ee;
  border-radius: 7px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #8d9bb0;
  text-align: left
}

.content-type-picker button:hover {
  border-color: #c78d97;
  background: #fffafb
}

.content-type-picker button span {
  font-size: 12px;
  color: #526175
}

.content-type-picker small {
  display: block;
  color: #a2acb9;
  font-size: 10px;
  margin-top: 5px
}

.content-type-picker b {
  font-size: 22px;
  font-family: Georgia,serif;
  font-weight: 500
}

.empty-editor-hint {
  font-size: 11px;
  color: #a8b1bd;
  margin-top: 15px
}

.editor-empty {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column
}

.editor-empty>div {
  background: #eef2f7;
  border-radius: 18px;
  padding: 20px;
  color: #8fa0b8;
  margin-bottom: 20px
}

.editor-empty>div .icon {
  width: 29px;
  height: 29px
}

.editor-empty h3 {
  font-size: 18px;
  font-weight: 500
}

.editor-empty p {
  font-size: 12px;
  color: #9ca7b6;
  margin: 12px 0 22px
}

.editor-savebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 25px;
  border-top: 1px solid #e3e7ee;
  background: #fff;
  flex-shrink: 0;
  gap: 15px
}

.draft-state {
  font-size: 10px;
  color: #98a4b3
}

.editor-savebar .form-error {
  min-height: 0;
  margin: 5px 0 0;
  font-size: 11px
}

.editor-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.media-upload {
  background: #f7f9fc;
  border: 1px dashed #dce3ed;
  border-radius: 7px;
  text-align: center;
  overflow: hidden;
  padding: 18px
}

.media-upload img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 4px
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: #9daac0
}

.upload-placeholder .icon {
  height: 27px;
  width: 27px
}

.upload-placeholder strong {
  font-size: 12px;
  font-weight: 500;
  color: #8190a5
}

.upload-placeholder small {
  font-size: 10px
}

.upload-picker {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  padding: 8px 16px;
  margin-top: 10px;
  border: 1px solid #d9e0e9;
  border-radius: 5px;
  background: white;
  font-size: 11px;
  color: #6c7b8f;
  cursor: pointer
}

.upload-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%
}

.upload-picker:focus-within {
  outline: 2px solid #c9828d
}

.file-meta {
  font-size: 10px;
  color: #9aa6b6;
  margin-top: 10px;
  overflow-wrap: anywhere
}

.upload-state {
  font-size: 11px;
  color: #b46773;
  margin-top: 7px
}

.video-cover {
  position: relative;
  min-height: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px
}

.video-cover>.icon {
  width: 36px;
  height: 36px;
  color: #9babbe
}

.video-cover span {
  font-size: 10px;
  color: #8999ae
}

.project-open:hover {
  background: #fafbfd
}

.project-open>.icon:last-child {
  width: 14px;
  color: #a0adbf
}

.detail-actions {
  display: flex;
  gap: 10px
}

.project-document {
  overflow: hidden
}

.document-tabs {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 0 30px;
  background: #fcfcfd;
  border-bottom: 1px solid #e9edf2
}

.document-tabs button {
  padding: 20px 2px;
  flex-shrink: 0;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #8995a6;
  font-size: 13px
}

.document-tabs button[aria-selected=true] {
  color: #ba3443;
  border-bottom-color: #ba3443
}

.document-content {
  max-width: 920px;
  margin: auto;
  padding: 35px 40px 50px
}

.document-content>h2 {
  font-size: 25px;
  margin-bottom: 30px;
  overflow-wrap: anywhere
}

.document-block {
  margin: 26px 0
}

.document-block h3 {
  font-size: 17px;
  margin-bottom: 13px;
  overflow-wrap: anywhere
}

.document-text {
  white-space: pre-wrap;
  line-height: 1.95;
  color: #576579;
  font-size: 14px;
  overflow-wrap: anywhere
}

.document-image {
  max-width: 100%;
  max-height: 650px;
  border-radius: 7px;
  display: block
}

.document-caption {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #8795a8;
  margin-top: 12px
}

.document-video {
  border-radius: 8px;
  overflow: hidden;
  background: #19222f
}

.document-video video {
  width: 100%;
  max-height: 650px;
  display: block
}

.video-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #eef1f6;
  position: relative;
  padding: 0
}

.video-start img {
  max-width: 100%;
  max-height: 550px;
  opacity: .8
}

.video-start>span {
  background: #19222fc9;
  padding: 14px 22px;
  border-radius: 8px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px
}

.project-row .project-row-name {
  overflow-wrap: anywhere
}

@media(max-width:650px) {

dialog.project-editor {
  max-width: 100vw;
  width: 100vw;
  height: 96dvh;
  max-height: 96dvh;
  border-radius: 10px 10px 0 0
}

.project-basics {
  gap: 12px;
  padding: 12px 18px;
  grid-template-columns: 1fr 1fr
}

.project-basics>label:first-child {
  grid-column: 1/-1
}

.editor-canvas {
  padding: 18px 15px
}

.project-editor .dialog-head {
  padding: 14px 18px
}

.page-settings {
  gap: 6px
}

.page-settings>.eyebrow {
  display: none
}

.page-title-input {
  font-size: 18px
}

.editor-savebar {
  padding: 12px 15px
}

.editor-actions {
  gap: 6px
}

.editor-actions button {
  font-size: 11px;
  padding: 0 12px
}

.content-type-picker {
  gap: 6px
}

.content-type-picker button {
  padding: 12px;
  gap: 8px
}

.content-type-picker small {
  display: none
}

.block-fields {
  padding: 13px
}

.document-content {
  padding: 25px 20px
}

.detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end
}

.detail-actions .outline,.detail-actions .primary {
  font-size: 10px;
  padding: 0 12px
}

.document-tabs {
  padding: 0 20px;
  gap: 20px
}

.project-open {
  gap: 10px
}
}

.content-blocks,.document-blocks {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 14px;
  align-items: start
}

.content-blocks>.content-block,.document-blocks>.document-block {
  grid-column: 1/-1;
  margin: 0
}

.content-blocks>.short-field,.document-blocks>.document-short {
  grid-column: span 1;
  min-width: 0
}

.short-field .block-bar {
  padding: 7px 8px;
  flex-wrap: wrap;
  gap: 3px
}

.short-field .block-kind b {
  margin-left: 5px
}

.short-field .block-actions {
  gap: 0
}

.short-field .block-actions .icon-button {
  width: 21px;
  height: 22px
}

.short-field .block-fields {
  padding: 10px
}

.short-field .block-title {
  font-size: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  height: 30px
}

.short-field .short-value {
  font-size: 12px;
  min-height: 36px;
  height: 36px;
  border: 1px solid #e5e9ef;
  border-radius: 4px;
  padding: 8px;
  line-height: 1.5
}

.short-field .short-value:focus {
  outline: 2px solid #e4a4aa
}

.content-type-picker {
  flex-wrap: wrap
}

.document-blocks {
  gap: 22px 14px
}

.document-short {
  background: #f7f9fc;
  border: 1px solid #e8edf3;
  border-radius: 6px;
  padding: 14px
}

.document-short h3 {
  font-size: 11px;
  font-weight: 500;
  color: #91a0b2;
  margin-bottom: 9px
}

.document-short .document-text {
  font-size: 13px;
  line-height: 1.7;
  color: #425167
}

.project-row-actions {
  display: flex;
  align-items: center;
  gap: 17px
}

.delete-project {
  color: #bd5662
}

.delete-error {
  padding: 0 25px
}

.document-blocks>.empty {
  grid-column: 1/-1
}

.page-header>div:first-child {
  min-width: 0
}

.page-header h1 {
  overflow-wrap: anywhere
}

@media(max-width:650px) {

.content-blocks,.document-blocks {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px
}

.content-type-picker button {
  flex: 1 1 40%;
  justify-content: center
}
}

/* Milestones: ordered dates on a restrained alternating timeline. */

.milestone-editor-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a0b1;
  font-size: 11px;
  padding: 8px 0 17px
}

.milestone-editor-note .icon {
  width: 16px;
  height: 16px;
  color: #b97b84
}

.milestone-entry {
  background: #f8fafc;
  border: 1px solid #e5ebf2;
  border-radius: 7px;
  padding: 12px 16px 16px;
  margin-bottom: 14px
}

.milestone-entry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #9aa7b8;
  font-size: 10px;
  margin-bottom: 9px
}

.milestone-entry-head .icon-button {
  height: 24px;
  width: 24px
}

.milestone-entry-head .icon {
  width: 13px;
  height: 13px
}

.milestone-entry-inputs {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 15px
}

.milestone-entry label {
  font-size: 11px;
  gap: 7px
}

.milestone-entry input {
  height: 37px;
  font-size: 12px
}

.milestone-body-label {
  margin-top: 14px
}

.milestone-body {
  width: 100%;
  resize: vertical;
  font: inherit;
  font-size: 12px;
  line-height: 1.9;
  border: 1px solid #dfe5ed;
  border-radius: 5px;
  background: #fff;
  color: #546277;
  padding: 10px 12px;
  min-height: 95px
}

.milestone-body:focus {
  outline: 2px solid #e4a4aa;
  border-color: transparent
}

.milestone-body::placeholder {
  color: #a5b0bf
}

.add-milestone {
  font-size: 11px
}

.timeline-preview {
  margin-top: 27px;
  border-top: 1px solid #e9edf3;
  padding-top: 18px
}

.timeline-preview-label {
  font-size: 12px;
  font-weight: 500;
  color: #69788c;
  display: flex;
  justify-content: space-between
}

.timeline-preview-label span {
  font-size: 10px;
  color: #a6b0bd;
  font-weight: 400
}

.timeline-empty {
  text-align: center;
  padding: 25px 10px;
  color: #a2adbc;
  font-size: 11px
}

.milestone-timeline {
  list-style: none;
  padding: 25px 0 15px;
  margin: 0;
  position: relative
}

.milestone-timeline:before {
  content: '';
  position: absolute;
  width: 2px;
  left: calc(50% - 1px);
  top: 36px;
  bottom: 20px;
  background: linear-gradient(#c34454,#dbc2c9 28%,#dce4ef 85%,transparent)
}

.timeline-event {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) 64px minmax(0,1fr);
  padding-bottom: 26px;
  align-items: start
}

.timeline-event:last-child {
  padding-bottom: 0
}

.timeline-card {
  grid-column: 1;
  grid-row: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 5px 18px #25324705;
  position: relative;
  min-width: 0
}

.timeline-card:after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  right: -6px;
  top: 26px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  transform: rotate(45deg)
}

.timeline-event.right .timeline-card {
  grid-column: 3
}

.timeline-event.right .timeline-card:after {
  right: auto;
  left: -6px;
  transform: rotate(225deg)
}

.timeline-node {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-top: 25px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #c9d3e1;
  background: #a8b7cc;
  z-index: 1
}

.timeline-event.latest .timeline-node {
  background: #bf3a4b;
  box-shadow: 0 0 0 1px #cc7d88,0 0 0 6px #f7e9ed
}

.timeline-event.latest .timeline-card {
  border-color: #e7c8cf;
  background: linear-gradient(130deg,#fff9fa,#fff 65%)
}

.timeline-event.latest .timeline-card:after {
  border-color: #e7c8cf
}

.timeline-date-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 13px
}

.timeline-date-line time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #9a6672;
  font-variant-numeric: tabular-nums
}

.timeline-latest {
  font-size: 9px;
  color: #b54b5c;
  background: #f8e8ec;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap
}

.timeline-card h4 {
  margin: 0;
  color: #37475c;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  font-weight: 600
}

.timeline-card p {
  font-size: 12px;
  color: #8694a7;
  line-height: 1.95;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 12px
}

.timeline-index {
  grid-column: 3;
  grid-row: 1;
  margin-top: 23px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #c4cdd9;
  align-self: start
}

.timeline-event.right .timeline-index {
  grid-column: 1;
  text-align: right
}

.timeline-preview .timeline-card {
  padding: 18px
}

.timeline-preview .timeline-card h4 {
  font-size: 14px
}

.timeline-preview .timeline-card p {
  font-size: 11px
}

.timeline-preview .timeline-event {
  grid-template-columns: minmax(0,1fr) 52px minmax(0,1fr)
}

@media(max-width:650px) {

.milestone-entry-inputs {
  grid-template-columns: 1fr
}

.milestone-entry {
  padding: 11px
}

.milestone-timeline:before {
  left: 7px
}

.timeline-event,.timeline-preview .timeline-event {
  grid-template-columns: 30px minmax(0,1fr)
}

.timeline-node {
  grid-column: 1;
  justify-self: start;
  margin-left: 2px
}

.timeline-event .timeline-card,.timeline-event.right .timeline-card {
  grid-column: 2;
  padding: 17px
}

.timeline-event .timeline-card:after,.timeline-event.right .timeline-card:after {
  left: -6px;
  right: auto;
  transform: rotate(225deg)
}

.timeline-index {
  display: none
}

.timeline-date-line time {
  font-size: 11px
}

.timeline-card h4 {
  font-size: 15px
}

.milestone-editor-note {
  align-items: flex-start;
  line-height: 1.7
}
}

.overview-tabs {
  overflow-x: auto;
  max-width: 100%;
  flex: 1;
  min-width: 0;
  gap: 19px
}

.overview-tabs a {
  flex-shrink: 0
}

.project-toolbar .search-box {
  flex-shrink: 0
}

.project-pagination {
  align-items: center;
  flex-wrap: wrap;
  gap: 16px
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto
}

.pagination-controls label {
  flex-direction: row;
  align-items: center;
  font-size: 10px;
  gap: 8px;
  white-space: nowrap
}

.pagination-controls select {
  height: 31px;
  width: 82px;
  font-size: 11px;
  padding: 0 8px
}

.pagination-controls button {
  min-height: 31px;
  font-size: 10px;
  padding: 0 10px
}

.pagination-controls button:disabled {
  opacity: .4;
  cursor: default
}

.page-indicator {
  min-width: 45px;
  text-align: center;
  font-variant-numeric: tabular-nums
}

.project-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.settings-panel .panel-heading {
  gap: 14px;
  align-items: flex-start
}

.settings-panel .panel-heading p {
  font-size: 10px;
  color: #98a4b3;
  margin-top: 9px
}

.settings-panel .outline {
  font-size: 10px;
  padding: 0 10px;
  min-height: 33px;
  white-space: nowrap
}

.settings-panel .outline .icon {
  width: 14px;
  height: 14px
}

.option-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 23px;
  border-bottom: 1px solid #f0f2f5
}

.option-row:last-child {
  border-bottom: 0
}

.option-symbol {
  color: #8699b2;
  background: #f1f4f8;
  padding: 9px;
  border-radius: 7px;
  flex-shrink: 0
}

.option-symbol .icon {
  width: 18px;
  height: 18px
}

.option-row>div:not(.project-row-actions) {
  min-width: 0
}

.option-row strong {
  font-weight: 500;
  font-size: 13px;
  overflow-wrap: anywhere
}

.option-row small {
  display: block;
  font-size: 10px;
  color: #9aa7b7;
  margin-top: 6px
}

.option-row .project-row-actions {
  margin-left: auto;
  flex-shrink: 0
}

.delete-option-body {
  padding: 22px 25px
}

.delete-option-body>p {
  margin-bottom: 14px
}

.delete-option-body select {
  margin-top: 6px
}

#remove-option-form>.form-error {
  padding: 0 25px
}

@media(max-width:1050px) {

.project-settings-grid {
  grid-template-columns: 1fr
}

.project-toolbar {
  flex-wrap: wrap
}

.overview-tabs {
  flex-basis: 100%
}
}

@media(max-width:580px) {

.project-pagination {
  padding: 15px
}

.pagination-controls {
  width: 100%;
  justify-content: flex-end;
  gap: 6px
}

.pagination-controls label {
  gap: 5px
}

.pagination-controls select {
  width: 67px
}

.pagination-controls button {
  padding: 0 7px
}

.settings-panel .panel-heading {
  padding: 18px
}

.option-row {
  padding: 18px
}

.overview-tabs {
  gap: 14px
}
}

.fulfillment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  padding: 8px 0 12px
}

.fulfillment-form label {
  font-size: 11px
}

.fulfillment-form input,.fulfillment-form select {
  height: 39px;
  font-size: 12px
}

.fulfillment-note {
  font-size: 10px;
  color: #97a4b5;
  line-height: 1.9;
  margin: 10px 0
}

.fulfillment-preview {
  margin: 20px 0
}

.fulfillment-empty {
  text-align: center;
  background: #f6f8fb;
  border: 1px dashed #dfe5ed;
  border-radius: 8px;
  color: #a0acbc;
  font-size: 11px;
  padding: 26px
}

.fulfillment-card {
  border: 1px solid #dfe7ef;
  border-radius: 10px;
  background: linear-gradient(125deg,#f9fbfd,#fff);
  overflow: hidden
}

.fulfillment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 25px;
  border-bottom: 1px solid #edf0f5
}

.fulfillment-eyebrow {
  color: #4f627b;
  font-size: 14px;
  font-weight: 600
}

.fulfillment-heading p {
  color: #9aa8b9;
  font-size: 11px;
  margin-top: 6px
}

.fulfillment-badge {
  background: #edf3f8;
  color: #8496ac;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 5px
}

.fulfillment-card.active .fulfillment-badge {
  background: #eaf5ee;
  color: #4c8d6b
}

.fulfillment-card.warning .fulfillment-badge {
  background: #fff1d9;
  color: #b78938
}

.fulfillment-card.due .fulfillment-badge {
  background: #fae8eb;
  color: #b84d5f
}

.fulfillment-stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  padding: 25px;
  margin: 0;
  gap: 20px
}

.fulfillment-stages li {
  position: relative;
  min-width: 0;
  padding-top: 27px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.fulfillment-stages li:not(:last-child):after {
  content: '';
  position: absolute;
  top: 6px;
  left: 22px;
  right: -14px;
  border-top: 1px dashed #d3deeb
}

.fulfillment-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c0ccda;
  border: 3px solid #f5f8fc;
  box-shadow: 0 0 0 1px #d8e1eb;
  position: absolute;
  top: 0;
  left: 0
}

.current .fulfillment-dot {
  background: #c45060;
  box-shadow: 0 0 0 1px #d6939e,0 0 0 4px #fbf0f2
}

.fulfillment-stages small {
  font-size: 10px;
  color: #99a8ba
}

.fulfillment-stages time {
  font-size: 14px;
  letter-spacing: .6px;
  color: #465b74;
  font-weight: 550;
  font-variant-numeric: tabular-nums
}

.fulfillment-stages strong {
  font-size: 12px;
  font-weight: 500;
  color: #7d8ea4;
  overflow-wrap: anywhere;
  line-height: 1.7
}

.fulfillment-foot {
  border-top: 1px solid #edf0f5;
  padding: 13px 25px;
  font-size: 10px;
  color: #9aa8b9;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap
}

@media(max-width:650px) {

.fulfillment-form {
  grid-template-columns: 1fr;
  gap: 15px
}

.fulfillment-heading {
  padding: 19px
}

.fulfillment-stages {
  grid-template-columns: 1fr;
  padding: 20px;
  gap: 20px
}

.fulfillment-stages li {
  padding: 0 0 0 30px;
  gap: 7px
}

.fulfillment-dot {
  top: 4px
}

.fulfillment-stages li:not(:last-child):after {
  top: 22px;
  left: 5px;
  bottom: -15px;
  right: auto;
  border-top: 0;
  border-left: 1px dashed #d3deeb
}

.fulfillment-foot {
  padding: 13px 19px
}
}

/* Project demo gallery */

.mofang-banner {
  padding: 32px 38px;
  background: linear-gradient(120deg,#182537,#34425a);
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px
}

.mofang-banner .eyebrow {
  color: #b8c9de
}

.mofang-banner h2 {
  font-size: 25px;
  margin: 12px 0
}

.mofang-banner p {
  color: #bfc9d6;
  margin: 0;
  line-height: 1.7
}

.mofang-count {
  min-width: 110px;
  display: grid;
  text-align: center;
  gap: 6px
}

.mofang-count strong {
  font-size: 40px;
  font-weight: 500
}

.mofang-count span {
  color: #bdc8d7;
  font-size: 12px
}

.mofang-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px
}

.mofang-tools h2 {
  font-size: 17px
}

.mofang-tools input {
  width: 260px
}

.mofang-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px
}

.demo-card {
  overflow: hidden;
  min-width: 0
}

.demo-cover {
  display: block;
  position: relative;
  height: 190px;
  background: linear-gradient(130deg,#edf2fa,#dee7f3);
  color: #466486;
  overflow: hidden
}

.demo-cover.tone-1 {
  background: linear-gradient(130deg,#f7eef0,#efdee2);
  color: #8e5263
}

.demo-cover.tone-2 {
  background: linear-gradient(130deg,#eaf3ef,#dceae5);
  color: #497364
}

.demo-cover.tone-3 {
  background: linear-gradient(130deg,#efedf7,#e2ddf0);
  color: #6b5d8e
}

.demo-type {
  position: absolute;
  top: 17px;
  left: 20px;
  font-size: 11px;
  letter-spacing: .05em
}

.demo-art {
  position: absolute;
  inset: 20px;
  display: flex;
  align-items: center;
  justify-content: center
}

.demo-art .icon {
  width: 115px;
  height: 115px;
  opacity: .22;
  stroke-width: .7;
  transform: rotate(-12deg)
}

.demo-art span {
  position: absolute;
  font-size: 32px;
  font-weight: 600;
  opacity: .6
}

.demo-launch {
  position: absolute;
  bottom: 16px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px
}

.demo-cover:hover .demo-art {
  transform: scale(1.05);
  transition: transform .25s
}

.demo-card-body {
  padding: 22px
}

.demo-card h3 {
  font-size: 17px;
  margin: 0 0 12px;
  overflow-wrap: anywhere
}

.demo-card-body p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #748398;
  font-size: 12px
}

.demo-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #8793a4;
  margin-top: 20px
}

.demo-actions {
  border-top: 1px solid #edf0f4;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 13px
}

.demo-actions .text-button {
  font-size: 12px
}

.demo-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 70px 24px;
  color: #8a96a7
}

.demo-empty h2 {
  color: #53647a;
  font-size: 20px
}

.demo-form {
  padding: 24px
}

.demo-form .form-grid {
  padding: 0;
  margin-bottom: 18px
}

.demo-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #43536b;
  margin-bottom: 16px
}

.demo-form input,.demo-form select {
  width: 100%
}

.demo-form .demo-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px
}

.demo-checkbox input {
  width: auto
}

.demo-form .dialog-actions {
  padding: 20px 0 0
}

.demo-form progress {
  width: 100%;
  accent-color: #cf3045
}

.demo-folder-label input {
  font-size: 12px;
  padding: 10px
}

.demo-log-wrap {
  padding: 0 24px 24px
}

.demo-logs {
  background: #172131;
  color: #c7d5e7;
  padding: 18px;
  border-radius: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 450px;
  overflow: auto;
  font-size: 12px;
  min-height: 180px
}

.demo-preview {
  overflow: hidden
}

.demo-preview-bar {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #e9edf2;
  font-size: 12px;
  color: #65758c
}

.demo-preview-bar button {
  margin-left: auto
}

.demo-preview iframe {
  width: 100%;
  height: calc(100vh - 240px);
  min-height: 520px;
  border: 0;
  display: block;
  background: white
}

.demo-wait {
  padding: 90px 24px;
  text-align: center;
  color: #7a899d
}

.demo-wait h2 {
  font-size: 22px;
  color: #3c4e65
}

@media(max-width:1150px) {

.mofang-grid {
  grid-template-columns: repeat(2,minmax(0,1fr))
}
}

@media(max-width:650px) {

.mofang-grid {
  grid-template-columns: 1fr
}

.mofang-banner {
  padding: 24px;
  gap: 15px
}

.mofang-banner h2 {
  font-size: 20px
}

.mofang-banner p {
  font-size: 12px
}

.mofang-count {
  min-width: 60px
}

.mofang-count strong {
  font-size: 30px
}

.mofang-tools input {
  width: 185px
}

.demo-form {
  padding: 18px
}

.demo-preview iframe {
  min-height: 560px
}

.mofang-banner .eyebrow {
  font-size: 9px
}
}

.demo-preview-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px
}

.demo-preview-actions .outline {
  min-height: 32px;
  padding: 0 14px;
  font-size: 12px
}

.demo-preview-actions button:disabled {
  opacity: .45;
  cursor: default
}

.demo-preview:fullscreen,.demo-preview.demo-expanded {
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #fff;
  display: flex;
  flex-direction: column
}

.demo-preview.demo-expanded {
  position: fixed;
  inset: 0;
  z-index: 1000;
  height: 100dvh;
  width: 100vw
}

.demo-preview:fullscreen .demo-preview-bar,.demo-preview.demo-expanded .demo-preview-bar {
  flex-shrink: 0
}

.demo-preview:fullscreen #demo-screen,.demo-preview.demo-expanded #demo-screen {
  flex: 1;
  min-height: 0
}

.demo-preview:fullscreen iframe,.demo-preview.demo-expanded iframe {
  height: 100%;
  min-height: 0
}

.demo-preview:fullscreen::backdrop {
  background: #fff
}

.demo-preview-bar {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);
  gap: 16px
}

.demo-preview-status {
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap
}

.demo-preview-title {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #465970;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0
}

.demo-preview-actions {
  justify-self: end;
  white-space: nowrap
}

.demo-preview-actions button {
  margin-left: 0
}

@media(max-width:650px) {

.demo-preview-bar {
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 16px
}

.demo-preview-title {
  grid-column: 1/-1;
  grid-row: 1
}

.demo-preview-status {
  grid-column: 1;
  grid-row: 2
}

.demo-preview-actions {
  grid-column: 2;
  grid-row: 2;
  gap: 14px
}
}

.overview-filters {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0
}

.project-status-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 12px;
  color: #78879b
}

.project-status-filter select {
  width: 138px;
  height: 36px;
  font-size: 12px;
  padding: 0 10px
}

.overview-filters .search-box {
  margin-bottom: 0
}

@media(max-width:1100px) {

.overview-filters .search-box {
  margin-bottom: 0
}
}

@media(max-width:650px) {

.overview-filters {
  width: 100%;
  gap: 12px
}

.project-status-filter {
  flex: 1
}

.project-status-filter select {
  flex: 1;
  min-width: 0
}

.overview-filters .search-box {
  width: 100%
}
}

.demo-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.demo-cover:has(.demo-cover-image) .demo-launch {
  background: #17202dcc;
  color: #fff;
  padding: 7px 11px;
  border-radius: 5px
}

.demo-card-body .demo-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-size: 12px;
  color: #6e7d91;
  margin-bottom: 12px
}

.demo-presentation-fields {
  margin: 5px 0 20px
}

.demo-presentation-fields textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.7;
  color: #43536b
}

.demo-cover-edit {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px
}

.demo-cover-preview {
  width: 160px;
  height: 90px;
  flex-shrink: 0;
  border: 1px dashed #d7dfe9;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f5f7fa;
  color: #99a5b5;
  font-size: 11px
}

.demo-cover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.demo-cover-edit p {
  font-size: 11px;
  color: #8997aa;
  line-height: 1.8
}

.demo-cover-edit button {
  font-size: 11px;
  margin-top: 8px
}

@media(max-width:650px) {

.demo-cover-edit {
  gap: 12px
}

.demo-cover-preview {
  width: 125px;
  height: 75px
}
}

.network-panel-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 650px;
  border: 0;
  background: #f5f6f8
}

@media(max-width:650px) {

.network-panel-frame {
  height: calc(100dvh - 200px);
  min-height: 650px
}
}

.mofang-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.mofang-filters select {
  width: 155px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  background: #fff;
  color: #53647a;
  font-size: 12px
}

@media(max-width:650px) {

.mofang-tools {
  flex-wrap: wrap
}

.mofang-filters {
  width: 100%;
  gap: 10px
}

.mofang-filters select {
  width: 125px;
  flex-shrink: 0
}

.mofang-filters input {
  width: 0;
  flex: 1;
  min-width: 0
}
}

.preview-disabled {
  display: inline-flex;
  position: relative;
  cursor: not-allowed
}

.preview-disabled button:disabled {
  cursor: not-allowed;
  background: #f0f2f5;
  color: #a5adba;
  border-color: #e2e6ed;
  opacity: 1
}

.preview-disabled:hover:after,.preview-disabled:focus:after {
  content: attr(title);
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 5px;
  background: #263448;
  color: #fff;
  font-size: 11px;
  box-shadow: 0 3px 12px #0002
}

.project-demo-choices {
  padding: 24px;
  display: grid;
  gap: 12px
}

.project-demo-choices button {
  justify-content: flex-start;
  white-space: normal;
  text-align: left
}

@media(max-width:650px) {

.page-header:has(#project-mofang-preview),.page-header:has(.preview-disabled) {
  flex-wrap: wrap
}

.page-header .detail-actions {
  flex-wrap: wrap
}
}

.demo-preview-status .demo-offline {
  background: #aeb7c3;
  box-shadow: none
}

.demo-power-screen {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f5f6f8
}

.demo-power-button {
  width: 88px;
  height: 88px;
  padding: 0;
  border: 1px solid #d6dce4;
  border-radius: 50%;
  background: #e6e9ee;
  color: #7c8899;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s,transform .2s
}

.demo-power-button .demo-power-icon {
  display: block;
  width: 36px;
  height: 36px;
  fill: currentColor;
  stroke: none
}

.demo-power-button:hover:not(:disabled) {
  background: #dbe0e8;
  transform: scale(1.06)
}

.demo-power-button:focus-visible {
  outline: 3px solid #9caec7;
  outline-offset: 5px
}

.demo-power-button:disabled {
  cursor: not-allowed;
  opacity: .5
}

.demo-power-screen h2 {
  margin: 24px 0 4px;
  font-size: 19px
}

.demo-power-screen p {
  font-size: 13px
}

.demo-power-pending {
  width: 48px;
  height: 48px;
  border: 3px solid #dce1e8;
  border-top-color: #7c8899;
  border-radius: 50%;
  animation: demo-power-spin 1s linear infinite
}

@keyframes demo-power-spin {

to {
  transform: rotate(360deg)
}
}

.demo-preview:fullscreen .demo-power-screen,.demo-expanded .demo-power-screen {
  height: 100%;
  min-height: 0
}


/* Conditional runtime fields must stay hidden even when form labels use grid. */
.demo-form [hidden] { display: none !important; }

/* Workbench: compact metrics, project activity, and service navigation. */
.wb-dashboard { display:grid; gap:24px; margin-top:26px; color:#253449 }
.wb-dashboard a { text-decoration:none; color:inherit }
.wb-dashboard a:focus-visible { outline:3px solid #b44650; outline-offset:3px }
.wb-metrics { display:flex; background:#fff; border:1px solid #e5e9ef; border-radius:16px; padding:24px 0 }
.wb-metric { flex:1; min-width:0; padding:0 28px; border-right:1px solid #edf0f4; display:grid; gap:12px }
.wb-metric:last-child { border:0 }
.wb-metric-label { display:flex; align-items:center; gap:9px; color:#657285; font-size:13px }
.wb-metric-label .icon { width:18px; height:18px; color:#a1434d }
.wb-metric-number { font-size:34px; line-height:1.15; font-weight:650; letter-spacing:-1px; font-variant-numeric:tabular-nums }
.wb-metric-number small { font-size:12px; font-weight:400; color:#8792a1; margin-left:9px }
.wb-metric-footer { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:#8993a1 }
.wb-metric-footer .icon { width:15px; height:15px }
.wb-metric:hover .wb-metric-footer { color:#ba3342 }
.wb-primary-grid { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr); gap:24px; align-items:stretch }
.wb-dashboard .panel { border:1px solid #e5e9ef; box-shadow:0 3px 16px #24364c03; border-radius:16px; overflow:hidden }
.wb-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px 26px 18px }
.wb-heading h2 { font-size:17px; margin:0; font-weight:650; letter-spacing:.2px }
.wb-heading p { font-size:12px; color:#8a94a2; margin:7px 0 0 }
.wb-more { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; font-size:12px; color:#748195!important }
.wb-more .icon { width:15px; height:15px }
.wb-projects { padding:0 14px 16px }
.wb-project { display:flex; align-items:center; gap:13px; min-height:76px; padding:12px; border-top:1px solid #f0f2f5; border-radius:8px }
.wb-project:hover { background:#f8fafc }
.wb-project-icon,.wb-category-icon { width:40px; height:40px; border-radius:11px; background:color-mix(in srgb,var(--accent) 9%,white); color:var(--accent); display:grid; place-items:center; flex-shrink:0 }
.wb-project-icon .icon,.wb-category-icon .icon { width:20px; height:20px }
.wb-project-info { flex:1; min-width:0; display:grid; gap:7px }
.wb-project-info strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:550 }
.wb-project-info small { font-size:11px; color:#8c96a4 }
.wb-project-status { display:flex; align-items:center; gap:6px; font-size:11px; color:#657285; white-space:nowrap }
.wb-project-status i,.wb-status-list i { width:6px; height:6px; border-radius:50%; display:inline-block; flex-shrink:0 }
.wb-project-date { color:#98a1ae; font-size:11px; margin-left:8px; white-space:nowrap }
.wb-project>.icon { width:14px; height:14px; color:#adb5c0 }
.wb-status-total { padding:4px 26px 20px; display:flex; align-items:baseline; gap:12px }
.wb-status-total strong { font-size:38px; font-weight:600; letter-spacing:-1px }
.wb-status-total span { font-size:12px; color:#8793a3 }
.wb-status-track { display:flex; height:9px; border-radius:6px; overflow:hidden; gap:3px; margin:0 26px 20px; background:#f0f3f7 }
.wb-status-list { padding:0 26px 22px; display:grid; gap:4px; max-height:270px; overflow:auto }
.wb-status-list a { display:flex; align-items:center; justify-content:space-between; padding:10px 0; font-size:12px }
.wb-status-list a:hover { color:#bc3645 }
.wb-status-list a>span { display:flex; align-items:center; gap:9px }
.wb-status-list strong { font-size:14px; font-weight:600; font-variant-numeric:tabular-nums }
.wb-status-list small { display:inline-block; width:42px; text-align:right; font-size:11px; font-weight:400; color:#9ba4b0 }
.wb-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; padding:0 26px 26px }
.wb-category { display:flex; gap:12px; align-items:center; padding:16px 12px; border:1px solid #edf0f4; border-radius:12px; transition:background .15s,border-color .15s }
.wb-category:hover { border-color:#d1d9e3; background:#fafbfc }
.wb-category>span:nth-child(2) { min-width:0; flex:1; display:grid; gap:7px }
.wb-category strong { font-size:13px; font-weight:550; overflow-wrap:anywhere }
.wb-category small { font-size:11px; color:#8994a3 }
.wb-category>.icon { width:13px; height:13px; color:#9da7b5 }
.wb-services>.wb-heading { padding:0 2px 18px }
.wb-service-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }
.wb-service { position:relative; background:#f5f7fa; border:1px solid #e6ebf1; border-radius:14px; padding:22px; transition:background .15s,transform .15s }
.wb-service:hover { background:#fff; transform:translateY(-2px) }
.wb-service-icon { display:block; color:#697f98; margin-bottom:16px }
.wb-service-icon .icon { width:23px; height:23px }
.wb-service strong { font-size:14px; font-weight:600 }
.wb-service p { font-size:11px; line-height:1.7; margin:9px 0 0; color:#8591a1 }
.wb-service-arrow { position:absolute; right:20px; top:23px; color:#a7b0bd }
.wb-service-arrow .icon { width:16px; height:16px }
.wb-empty { text-align:center; padding:50px 16px; color:#98a3b1 }
.wb-empty h3 { font-size:15px; color:#63758a; margin:16px 0 8px }
.wb-empty p { font-size:12px }
@media(max-width:1200px) { .wb-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } .wb-metric { padding:0 20px } .wb-project-date { display:none } }
@media(max-width:900px) { .wb-primary-grid { grid-template-columns:1fr } .wb-service-grid { grid-template-columns:repeat(2,minmax(0,1fr)) } }
@media(max-width:600px) { .wb-dashboard { gap:18px; margin-top:20px } .wb-metrics { flex-wrap:wrap; padding:8px 0 } .wb-metric { flex-basis:50%; box-sizing:border-box; padding:16px 20px; border:0 } .wb-metric-number { font-size:29px } .wb-heading { padding:20px 18px 16px } .wb-category-grid { padding:0 18px 18px; grid-template-columns:1fr } .wb-service { padding:18px } .wb-service-arrow { right:14px; top:19px } .wb-project-status { max-width:84px; overflow:hidden } .wb-project { gap:10px } }
.wb-color-0 { --accent:#c83c46 }
.wb-color-1 { --accent:#4878a8 }
.wb-color-2 { --accent:#5d9188 }
.wb-color-3 { --accent:#b88b52 }
.wb-color-4 { --accent:#8477a7 }
.wb-project-status i,.wb-status-list i { background:var(--accent) }
.wb-status-track svg { display:block; width:100%; height:9px }
.restricted-project-space { min-height:460px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:48px 24px }
.restricted-space-icon { width:76px; height:76px; display:grid; place-items:center; border-radius:22px; background:#f6e9eb; color:#ba3b48; margin-bottom:24px }
.restricted-space-icon .icon { width:32px; height:32px }
.restricted-project-space h1 { font-size:25px; margin:0 0 12px }
.restricted-project-space p { color:#8b95a4; margin:0 0 30px; font-size:14px }
.project-basics option:disabled { color:#a4aab3 }
.option-row button:disabled { opacity:.4; cursor:not-allowed }

.project-pagination[hidden] { display:none }
.restricted-project-space h2 { font-size:25px; margin:0 0 12px }


/* Mobile workspace navigation opens below the header, with no permanent menu strip. */
html { touch-action: pan-x pan-y; }
.mobile-workspace-toggle { display:none; }
@media (max-width:800px) {
  .layout { display:block; }
  .main { width:100%; margin:0; }
  .topbar { position:relative; height:58px; padding:0 16px; gap:10px; }
  .desktop-workspace-label { display:none; }
  .mobile-workspace-toggle { display:inline-flex; align-items:center; gap:5px; padding:8px 0; border:0; background:none; color:var(--text); font:inherit; font-size:12px; cursor:pointer; white-space:nowrap; }
  .mobile-workspace-toggle .icon { width:14px; height:14px; transform:rotate(90deg); transition:transform .18s; }
  .mobile-workspace-toggle[aria-expanded="true"] .icon { transform:rotate(-90deg); }
  .breadcrumb { min-width:0; gap:5px; }
  .breadcrumb > .icon { display:none; }
  .breadcrumb strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:90px; }
  .top-user { flex-shrink:0; }
  .top-user > span:not(.avatar) { display:none; }
  .sidebar { display:none; position:absolute; top:58px; bottom:auto; left:0; right:0; width:100%; padding:10px 12px; z-index:50; border-radius:0 0 16px 16px; box-shadow:0 15px 25px #17202d26; }
  .mobile-menu-open .sidebar { display:block; }
  .sidebar .brand, .sidebar .workspace-label, .sidebar .sidebar-bottom { display:none; }
  .sidebar nav { display:block; margin:0; max-height:calc(100dvh - 90px); overflow-y:auto; overscroll-behavior:contain; }
  .sidebar .nav-item { display:flex; width:100%; height:42px; padding:0 14px; gap:10px; font-size:13px; }
  .sidebar .nav-item .icon { display:block; width:18px; height:18px; }
  .sidebar .nav-children:not([hidden]) { display:block; margin:3px 0 8px; }
  .sidebar .nav-children[hidden] { display:none; }
  .sidebar .nav-item.child { padding-left:42px; }
  input:not([type="checkbox"]):not([type="radio"]), select, textarea, [contenteditable="true"] { font-size:16px !important; }
}
@media (pointer:coarse) {
  input:not([type="checkbox"]):not([type="radio"]), select, textarea, [contenteditable="true"] { font-size:16px !important; }
}

/* Keep the original mobile brand bar above the collapsible workspace navigation. */
.mobile-brand-bar { display:none; }
@media (max-width:800px) {
  .mobile-brand-bar { display:flex; align-items:center; height:66px; padding:0 16px; background:var(--sidebar); color:white; }
  .mobile-brand-bar .brand { color:white; font-size:20px; }
  .mobile-brand-bar .brand img { width:30px; height:30px; }
  .mobile-brand-bar .brand small { display:none; }
  .sidebar { top:124px; }
  .sidebar nav { max-height:calc(100dvh - 156px); }
}
