:root {
  --bg: #f6f5f1;
  --panel: #ffffff;
  --ink: #1f252b;
  --muted: #69727d;
  --line: #d9ded8;
  --green: #2f8f5b;
  --green-soft: #e5f3ea;
  --blue: #536dfe;
  --yellow: #b28b00;
  --yellow-soft: #fff7d9;
  --shadow: 0 18px 45px rgba(26, 35, 46, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.client-body {
  display: block;
  background: #f8f8f5;
}

.client-shell {
  width: min(1440px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.client-hero {
  margin-bottom: 16px;
  padding: 0 6px;
}

.client-hero h1 {
  margin: 6px 0 8px;
  font-size: 30px;
  letter-spacing: 0;
}

.client-hero p {
  color: var(--muted);
}

.client-panel {
  position: sticky;
  top: 16px;
  height: calc(100vh - 40px);
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.client-material-panel {
  min-height: calc(100vh - 40px);
  overflow: hidden;
}

.client-material-summary {
  padding: 18px;
  display: grid;
  gap: 12px;
  max-height: calc(100vh - 116px);
  overflow: auto;
}

.client-material-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 18px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f5f1;
}

.client-material-tabs button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.client-material-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(26, 35, 46, 0.08);
}

.client-material-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.client-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 16px;
  align-items: start;
}

.client-material-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.client-progress {
  margin: 0 18px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 12px;
}

.client-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.client-progress-top span,
.client-progress p {
  color: var(--muted);
}

.client-progress-bar {
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: #e8ece7;
  overflow: hidden;
}

.client-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.25s ease;
}

.client-progress p {
  margin: 9px 0 0;
  line-height: 1.45;
  font-size: 13px;
}

.client-readiness {
  border: 1px solid #c9d8ef;
  background: #f7f9fd;
  border-radius: 8px;
  padding: 12px;
}

.client-readiness.ready_for_interview {
  border-color: #b9dfc5;
  background: var(--green-soft);
}

.client-readiness.suggest_more_materials {
  border-color: #ead88c;
  background: var(--yellow-soft);
}

.client-readiness.must_collect_more_materials {
  border-color: #f0c0bd;
  background: #fff0ee;
}

.client-readiness strong,
.client-readiness span {
  display: block;
}

.client-readiness span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.5;
}

.client-material-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.client-material-section summary {
  cursor: pointer;
  padding: 11px 13px;
  font-weight: 700;
  background: #fbfcfa;
}

.client-material-section p,
.client-material-section ul {
  margin: 0;
  padding: 12px 13px 14px;
  line-height: 1.62;
}

.client-material-section ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.client-material-section li {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.client-material-section li:first-child {
  border-top: 0;
  padding-top: 0;
}

.client-material-section li div {
  margin-top: 4px;
}

.client-material-section li b {
  margin-right: 4px;
}

.client-chat {
  flex: 1;
  height: auto;
  min-height: 0;
  background: #fff;
}

.client-start-row {
  display: flex;
  justify-content: flex-start;
  padding: 14px 18px 0;
}

.client-start-row button[hidden],
[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: 0.16s ease;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

button:hover {
  border-color: #9aa7a1;
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.full {
  width: 100%;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fafaf7;
  padding: 24px;
  overflow: auto;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.brand h1 {
  margin: 0;
  font-size: 18px;
}

.brand p,
.eyebrow {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.session-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.deleted-session-box {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.deleted-session-box summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.deleted-session-box .session-list {
  margin-top: 12px;
}

.session-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}

.session-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.session-card-main {
  min-width: 0;
}

.session-card-action {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 12px;
}

.session-card-action.delete {
  border-color: rgba(255, 139, 130, 0.34);
  color: var(--danger);
}

.session-card-action.restore {
  border-color: rgba(88, 225, 193, 0.34);
  color: var(--green);
}

.session-card.deleted {
  opacity: 0.72;
}

.session-card.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.session-card strong {
  display: block;
  font-size: 14px;
}

.session-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.workspace {
  min-width: 0;
  padding: 28px;
  overflow: auto;
}

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

.case-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 16px;
  margin-bottom: 18px;
}

.workflow-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.workflow-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.workflow-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.workflow-head span {
  max-width: 360px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.workflow-step {
  min-height: 82px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
}

.workflow-step strong,
.workflow-step span {
  display: block;
}

.workflow-step strong {
  font-size: 13px;
}

.workflow-step span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.workflow-step.active {
  border-color: rgba(83, 109, 254, 0.35);
  background: rgba(83, 109, 254, 0.08);
}

.workflow-step.done {
  border-color: #b9dfc5;
  background: var(--green-soft);
}

.workflow-step.locked {
  opacity: 0.58;
}

.case-assets {
  display: grid;
  gap: 12px;
}

.deliverable-strip {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.asset-empty {
  min-height: 118px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.asset-empty h3 {
  margin: 4px 0 8px;
  font-size: 17px;
}

.asset-empty span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.deliverable-strip h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.deliverable-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.deliverable-link {
  min-height: 94px;
  padding: 12px;
  display: grid;
  gap: 6px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.deliverable-link strong,
.deliverable-link span,
.deliverable-link em {
  display: block;
}

.deliverable-link strong {
  font-size: 14px;
}

.deliverable-link span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.deliverable-link em {
  align-self: end;
  color: var(--yellow);
  font-size: 12px;
  font-style: normal;
}

.deliverable-link:hover {
  border-color: rgba(47, 143, 91, 0.42);
  color: var(--green);
}

.deliverable-link.pending {
  border-style: dashed;
  cursor: default;
  opacity: 0.74;
}

.deliverable-submissions {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deliverable-submissions-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.deliverable-submissions-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
}

.deliverable-submissions-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.deliverable-submission-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.56);
}

.deliverable-submission-card strong {
  display: block;
  color: var(--ink);
}

.deliverable-submission-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.deliverable-submission-card pre {
  max-height: 220px;
  margin: 12px 0 0;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
}

.commercial-preview {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.commercial-preview-hero {
  padding: 14px;
  border: 1px solid rgba(88, 225, 193, 0.24);
  border-radius: 6px;
  background: rgba(88, 225, 193, 0.08);
}

.commercial-preview-hero h4 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 17px;
}

.commercial-preview-hero span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.commercial-signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
}

.commercial-signal-list li {
  list-style: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.commercial-signal-list b,
.commercial-signal-list span {
  display: block;
}

.commercial-signal-list b {
  margin-bottom: 4px;
  color: var(--green);
}

.commercial-signal-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.commercial-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.commercial-matrix section {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6, 8, 10, 0.34);
}

.commercial-matrix strong {
  display: block;
  margin-bottom: 7px;
  color: var(--green);
}

.commercial-matrix p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.commercial-matrix p b {
  display: inline-flex;
  margin-right: 7px;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--green);
  background: rgba(88, 225, 193, 0.08);
}

.deliverable-submission-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.button-link {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(88, 225, 193, 0.35);
  border-radius: 6px;
  background: rgba(88, 225, 193, 0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.deliverable-submission-summary {
  margin-top: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(6, 8, 10, 0.34);
}

.deliverable-submission-summary p,
.deliverable-submission-summary ul {
  margin: 0;
}

.deliverable-submission-summary strong,
.deliverable-submission-summary span {
  display: block;
}

.deliverable-submission-summary strong {
  margin-top: 5px;
  color: var(--green);
  font-size: 20px;
}

.deliverable-submission-summary span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.deliverable-submission-summary ul {
  display: grid;
  gap: 7px;
  padding: 0;
}

.deliverable-submission-summary li {
  list-style: none;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
}

.deliverable-submission-summary li b {
  display: block;
  color: var(--green);
  font-size: 12px;
}

.topbar h2 {
  margin: 3px 0 0;
  font-size: 28px;
  letter-spacing: 0;
}

.status {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.status.ready {
  border-color: #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.status.warn {
  border-color: #ead88c;
  background: var(--yellow-soft);
  color: #806400;
}

.status.error {
  border-color: #f0c0bd;
  background: #fff0ee;
  color: #9f2d24;
}

.top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.key-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.key-form input {
  width: 220px;
  padding: 8px 10px;
}

.key-form button {
  padding: 8px 10px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(540px, 1fr);
  gap: 20px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-head {
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.panel-head h3 {
  margin: 0;
  font-size: 17px;
}

.panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.setup-panel,
.chat-panel {
  min-height: 720px;
}

.process-subhead {
  margin: 16px 18px 0;
  padding: 13px 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.process-subhead h4 {
  margin: 3px 0 0;
  font-size: 15px;
}

.process-subhead span {
  max-width: 320px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.stack {
  display: grid;
  gap: 14px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

textarea {
  line-height: 1.55;
}

.divider {
  border-top: 1px solid var(--line);
}

.client-link-box {
  display: grid;
  gap: 8px;
  margin: 0 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 13px;
}

.client-link-box strong {
  font-size: 14px;
}

.client-link-box span {
  color: var(--muted);
  font-size: 12px;
}

.link-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
}

.muted-block h4 {
  margin: 0;
  font-size: 15px;
}

.muted-block p {
  margin: -6px 0 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.step-note {
  border: 1px solid #c6e5d0;
  background: var(--green-soft);
  color: #245f40;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.55;
}

.input-card {
  border: 1px solid var(--line);
  background: #fbfcfa;
  border-radius: 8px;
  padding: 13px;
  display: grid;
  gap: 10px;
}

.input-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.input-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.file-list {
  padding: 0 18px 18px;
  display: grid;
  gap: 8px;
}

.save-feedback {
  margin: 0 18px 12px;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.5;
  display: none;
}

.save-feedback.success,
.save-feedback.error,
.save-feedback.info {
  display: block;
}

.save-feedback.success {
  border: 1px solid #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.save-feedback.error {
  border: 1px solid #f0c0bd;
  background: #fff0ee;
  color: #9f2d24;
}

.save-feedback.info {
  border: 1px solid var(--line);
  background: #fbfcfa;
  color: var(--muted);
}

.saved-materials {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.saved-head {
  padding: 0 18px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.saved-head span,
.empty-list {
  color: var(--muted);
  font-size: 13px;
}

.empty-list {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfa;
}

.file-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 13px;
}

.file-item span {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.method-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.method-strip span {
  background: var(--green-soft);
  color: var(--green);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
}

.next-step {
  margin: 14px 18px 0;
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid var(--line);
  background: #fbfcfa;
  color: var(--muted);
}

.next-step.success {
  border-color: #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.next-step.error {
  border-color: #f0c0bd;
  background: #fff0ee;
  color: #9f2d24;
}

.progress-card {
  margin: 14px 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.progress-card[hidden] {
  display: none;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.progress-head strong {
  font-size: 14px;
}

.progress-head span {
  color: var(--muted);
  font-size: 13px;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7ebe5;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.45s ease;
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.progress-steps span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  background: #fff;
}

.progress-steps span.active {
  border-color: #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.progress-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.progress-card.done {
  border-color: #b9dfc5;
  background: var(--green-soft);
}

.progress-card.failed {
  border-color: #f0c0bd;
  background: #fff0ee;
}

.progress-card.failed .progress-fill {
  background: #c9483f;
}

.progress-card.failed p,
.progress-card.failed .progress-head span {
  color: #9f2d24;
}

.manual-ai {
  display: grid;
  gap: 12px;
  margin: 14px 18px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 14px;
}

.manual-ai-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.manual-ai-head strong,
.manual-ai-head span {
  display: block;
}

.manual-ai-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.manual-ai-head select {
  width: auto;
  min-width: 180px;
  padding: 10px 12px;
  background: #fff;
}

.manual-ai-note {
  border: 1px solid #ead88c;
  background: var(--yellow-soft);
  color: #806400;
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 13px;
  line-height: 1.5;
}

.manual-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.manual-flow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
}

.manual-flow-step strong,
.manual-flow-step span {
  display: block;
}

.manual-flow-step span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.manual-flow-step.active {
  border-color: #c9d8ef;
  background: #f4f7ff;
}

.manual-flow-step.done {
  border-color: #b9dfc5;
  background: var(--green-soft);
}

.manual-flow-line {
  align-self: center;
  height: 2px;
  background: var(--line);
}

.manual-context {
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.manual-context-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.manual-context-head span {
  color: var(--muted);
  font-size: 12px;
}

.manual-context p {
  max-height: 96px;
  overflow: auto;
  margin: 10px 0;
  color: var(--ink);
  line-height: 1.55;
}

.manual-context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.manual-context-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fbfcfa;
}

.manual-context-grid span,
.manual-context-grid strong {
  display: block;
}

.manual-context-grid span {
  color: var(--muted);
  font-size: 12px;
}

.manual-context-grid strong {
  margin-top: 3px;
}

.manual-ai-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.manual-save-status {
  min-height: 20px;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
}

.manual-save-status:empty {
  display: none;
}

.manual-save-status.success {
  border-color: #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.manual-save-status.error {
  border-color: #f0c0bd;
  background: #fff0ee;
  color: #9f2d24;
}

.manual-ai textarea {
  width: 100%;
  min-height: 140px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.decision-panel {
  display: grid;
  gap: 12px;
  margin: 14px 18px 0;
  border: 1px solid #c9d8ef;
  border-radius: 8px;
  background: #f7f9fd;
  padding: 14px;
}

.decision-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.decision-status {
  border-radius: 999px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.decision-status.ready_for_interview {
  border-color: #b9dfc5;
  background: var(--green-soft);
  color: #245f40;
}

.decision-status.suggest_more_materials {
  border-color: #ead88c;
  background: var(--yellow-soft);
  color: #806400;
}

.decision-status.must_collect_more_materials {
  border-color: #f0c0bd;
  background: #fff0ee;
  color: #9f2d24;
}

.decision-panel p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.decision-grid h4 {
  margin: 0 0 8px;
}

.decision-grid textarea {
  width: 100%;
  margin-top: 10px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.decision-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.decision-advisor {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.chat {
  height: 480px;
  overflow: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubble {
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.58;
  max-width: 86%;
  white-space: pre-wrap;
}

.bubble.user {
  align-self: flex-end;
  background: #eef1ff;
  border: 1px solid #d8ddff;
}

.bubble.assistant {
  align-self: flex-start;
  background: #f4f7f2;
  border: 1px solid #dde5dc;
}

.client-chat .bubble {
  max-width: min(720px, 88%);
}

.client-chat .bubble.user {
  background: #2f8f5b;
  border-color: #2f8f5b;
  color: #fff;
}

.client-chat .bubble.assistant {
  background: #f5f5f2;
  border-color: #e2e4df;
}

.client-brief-notice {
  align-self: stretch;
  border: 1px solid #b9dfc5;
  background: var(--green-soft);
  border-radius: 8px;
  padding: 14px;
  line-height: 1.58;
}

.client-brief-notice-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.client-brief-notice-head span {
  color: var(--muted);
  font-size: 13px;
}

.client-brief-notice p {
  margin: 0;
}

.client-brief-topics {
  margin-top: 10px;
}

.client-brief-topics ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.client-brief-topics li {
  margin-top: 4px;
}

.client-chat .bubble.user .meta {
  color: rgba(255, 255, 255, 0.75);
}

.bubble.transient {
  border-style: dashed;
}

.bubble.transient.pending {
  color: #425047;
}

.bubble.transient.error {
  border-color: #f0c0bd;
  background: #fff7f6;
  color: #8a2b23;
}

.thinking-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.thinking-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-width: 28px;
}

.thinking-dots i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: var(--green);
  animation: thinkingPulse 1.05s ease-in-out infinite;
}

.thinking-dots i:nth-child(2) {
  animation-delay: 0.14s;
}

.thinking-dots i:nth-child(3) {
  animation-delay: 0.28s;
}

.retry-row {
  margin-top: 12px;
}

.retry-row button {
  padding: 8px 11px;
  background: #fff;
  border-color: #e6aaa5;
  color: #8a2b23;
}

@keyframes thinkingPulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.bubble .meta {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.reply {
  border-top: 1px solid var(--line);
  padding: 14px 18px 18px;
  display: grid;
  gap: 10px;
}

.report-panel {
  margin-top: 20px;
}

.report {
  padding: 20px;
  line-height: 1.65;
}

.advisor-report-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: min(440px, 100%);
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f5f1;
}

.advisor-report-tabs button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.advisor-report-tabs button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(26, 35, 46, 0.08);
}

.advisor-report-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.advisor-report-body {
  border-top: 1px solid var(--line);
}

.report.empty {
  color: var(--muted);
}

.report-section {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.report-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.report-section h4 {
  margin: 0 0 10px;
  font-size: 16px;
}

.readable-card-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.readable-card-list li,
.readable-object-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  line-height: 1.62;
}

.readable-card-list li div,
.readable-object-card div {
  margin-top: 5px;
}

.readable-card-list li div:first-child,
.readable-object-card div:first-child {
  margin-top: 0;
}

.readable-card-list b,
.readable-object-card b {
  margin-right: 4px;
}

.json-card {
  background: #fafaf7;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 13px;
}

dialog {
  border: 0;
  border-radius: 8px;
  padding: 24px 30px;
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(31, 37, 43, 0.24);
}

.admin-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(10px);
}

.admin-gate[hidden] {
  display: none;
}

.admin-gate-card {
  width: min(420px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfa;
  box-shadow: var(--shadow);
}

.admin-gate-card .mark {
  width: 36px;
  height: 36px;
}

.admin-gate-card h2,
.admin-gate-card p {
  margin: 0;
}

.admin-gate-card p,
.admin-gate-card span {
  color: var(--muted);
}

.loader {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border: 4px solid #d7eadf;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1040px) {
  body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .case-overview {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: 1fr 1fr;
  }

  .deliverable-strip {
    grid-template-columns: 1fr;
  }

  .deliverable-links {
    grid-template-columns: 1fr;
  }

  .commercial-signal-list,
  .commercial-matrix {
    grid-template-columns: 1fr;
  }

  .client-shell {
    width: min(100% - 20px, 760px);
    padding: 18px 0 28px;
  }

  .client-workbench {
    grid-template-columns: 1fr;
  }

  .client-panel {
    position: static;
    height: auto;
    min-height: 620px;
  }

  .client-material-panel {
    min-height: 0;
  }

  .client-material-summary {
    max-height: none;
  }

}

/* Qiaoboose AI Native brand skin */
:root {
  --bg: #0b0d0f;
  --panel: #111418;
  --panel-2: #15191e;
  --panel-3: #1c2026;
  --ink: #f7f8fa;
  --muted: #a9b0ba;
  --dim: #69727d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --green: #58e1c1;
  --green-soft: rgba(88, 225, 193, 0.1);
  --blue: #8fa0ff;
  --yellow: #e4c35a;
  --yellow-soft: rgba(228, 195, 90, 0.12);
  --danger: #ff8b82;
  --danger-soft: rgba(255, 139, 130, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

html {
  background: var(--bg);
}

body,
.client-body {
  background:
    linear-gradient(rgba(88, 225, 193, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 225, 193, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 82% 8%, rgba(88, 225, 193, 0.08), transparent 30%),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
  color: var(--ink);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::selection {
  background: rgba(88, 225, 193, 0.3);
}

button,
input,
select,
textarea {
  color: var(--ink);
}

button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  border-radius: 4px;
}

button:hover {
  border-color: rgba(88, 225, 193, 0.45);
  background: rgba(88, 225, 193, 0.08);
  color: var(--green);
}

.primary {
  background: var(--green);
  border-color: var(--green);
  color: #07110f;
  font-weight: 800;
}

.primary:hover {
  background: #70f0d3;
  color: #07110f;
}

input,
select,
textarea {
  border-color: var(--line);
  background: rgba(6, 8, 10, 0.62);
  color: var(--ink);
  border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(169, 176, 186, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  outline: 1px solid rgba(88, 225, 193, 0.52);
  border-color: rgba(88, 225, 193, 0.6);
}

.sidebar {
  background: rgba(11, 13, 15, 0.88);
  border-right-color: var(--line);
  box-shadow: inset -1px 0 0 rgba(88, 225, 193, 0.04);
}

.brand {
  align-items: flex-start;
}

.mark {
  border-radius: 4px;
  background: rgba(88, 225, 193, 0.1);
  border: 1px solid rgba(88, 225, 193, 0.42);
  color: var(--green);
  font-family: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
  box-shadow: 0 0 0 1px rgba(88, 225, 193, 0.04) inset;
}

.brand h1,
.topbar h2,
.client-hero h1,
.panel-head h3,
.muted-block h4,
.report-section h4,
.decision-grid h4 {
  color: var(--ink);
  letter-spacing: 0;
}

.brand p,
.eyebrow,
.panel-head span,
.saved-head span,
.empty-list,
.manual-ai-head span,
.manual-context-head span,
.client-material-label,
.client-progress-top span,
.client-progress p,
.client-brief-notice-head span,
.bubble .meta,
.report.empty,
label,
.muted-block p,
.input-card span,
.session-card span,
.client-link-box span {
  color: var(--muted);
}

.eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.workspace,
.client-shell {
  position: relative;
}

.panel,
.session-card,
.workflow-card,
.workflow-step,
.input-card,
.client-link-box,
.process-subhead,
.manual-ai,
.decision-panel,
.progress-card,
.next-step,
.client-progress,
.client-readiness,
.client-material-section,
.manual-context,
.manual-context-grid div,
.manual-save-status,
.json-card,
.readable-card-list li,
.readable-object-card,
.file-item,
.empty-list {
  background: rgba(17, 20, 24, 0.86);
  border-color: var(--line);
  border-radius: 6px;
  box-shadow: none;
}

.panel {
  box-shadow: var(--shadow);
}

.panel-head,
.reply,
.divider,
.saved-materials,
.method-strip,
.advisor-report-body,
.report-section,
.decision-advisor {
  border-color: var(--line);
}

.panel-head {
  background: rgba(255, 255, 255, 0.018);
}

.workflow-card {
  background: rgba(17, 20, 24, 0.86);
  border-color: var(--line);
  border-radius: 6px;
}

.asset-empty {
  background: rgba(17, 20, 24, 0.56);
  border-color: var(--line);
  border-radius: 6px;
}

.workflow-step {
  background: rgba(6, 8, 10, 0.34);
  border-color: var(--line);
  border-radius: 4px;
}

.workflow-step.active {
  border-color: rgba(143, 160, 255, 0.48);
  background: rgba(143, 160, 255, 0.12);
}

.workflow-step.done {
  border-color: rgba(88, 225, 193, 0.42);
  background: rgba(88, 225, 193, 0.1);
}

.workflow-step.locked {
  background: rgba(6, 8, 10, 0.2);
}

.deliverable-strip {
  background: rgba(17, 20, 24, 0.86);
  border-color: var(--line);
  border-radius: 6px;
}

.deliverable-link {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
  color: var(--ink);
}

.deliverable-link:hover {
  border-color: rgba(88, 225, 193, 0.42);
  background: rgba(88, 225, 193, 0.1);
  color: var(--green);
}

.deliverable-link.pending:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
}

.deliverable-submissions {
  background: rgba(17, 20, 24, 0.86);
  border-color: var(--line);
  border-radius: 6px;
}

.deliverable-submission-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.deliverable-submission-card pre {
  background: rgba(6, 8, 10, 0.58);
  border-color: var(--line);
  color: var(--ink);
}

.process-subhead {
  background: rgba(6, 8, 10, 0.34);
  border-color: var(--line);
}

.session-card:hover,
.input-card:hover,
.file-item:hover,
.readable-card-list li:hover,
.readable-object-card:hover {
  border-color: rgba(88, 225, 193, 0.32);
}

.session-card.active {
  border-color: rgba(88, 225, 193, 0.65);
  background: rgba(88, 225, 193, 0.1);
}

.deleted-session-box {
  border-top-color: var(--line);
}

.session-card-action {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.session-card-action.delete:hover {
  border-color: rgba(255, 139, 130, 0.46);
  background: rgba(255, 139, 130, 0.08);
}

.session-card-action.restore:hover {
  border-color: rgba(88, 225, 193, 0.46);
  background: rgba(88, 225, 193, 0.08);
}

.status,
.client-material-tabs,
.advisor-report-tabs,
.manual-save-status,
.progress-steps span,
.decision-status {
  background: rgba(6, 8, 10, 0.5);
  border-color: var(--line);
  color: var(--muted);
  border-radius: 4px;
}

.client-material-tabs button.active,
.advisor-report-tabs button.active {
  background: rgba(88, 225, 193, 0.12);
  color: var(--green);
  box-shadow: none;
}

.client-material-tabs button,
.advisor-report-tabs button {
  border-radius: 3px;
}

.status.ready,
.save-feedback.success,
.manual-save-status.success,
.decision-status.ready_for_interview,
.client-readiness.ready_for_interview,
.next-step.success,
.progress-card.done,
.client-brief-notice {
  border-color: rgba(88, 225, 193, 0.42);
  background: rgba(88, 225, 193, 0.1);
  color: var(--green);
}

.status.warn,
.decision-status.suggest_more_materials,
.client-readiness.suggest_more_materials,
.manual-ai-note {
  border-color: rgba(228, 195, 90, 0.44);
  background: var(--yellow-soft);
  color: var(--yellow);
}

.status.error,
.save-feedback.error,
.manual-save-status.error,
.decision-status.must_collect_more_materials,
.client-readiness.must_collect_more_materials,
.next-step.error,
.progress-card.failed,
.bubble.transient.error {
  border-color: rgba(255, 139, 130, 0.48);
  background: var(--danger-soft);
  color: var(--danger);
}

.step-note,
.method-strip span,
.progress-steps span.active {
  border-color: rgba(88, 225, 193, 0.3);
  background: rgba(88, 225, 193, 0.1);
  color: var(--green);
}

.method-strip span {
  border: 1px solid rgba(88, 225, 193, 0.24);
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.progress-track,
.client-progress-bar {
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill,
.client-progress-bar span,
.thinking-dots i {
  background: var(--green);
}

.manual-flow-line {
  background: var(--line);
}

.manual-flow-step {
  background: rgba(6, 8, 10, 0.34);
  border-color: var(--line);
  border-radius: 4px;
}

.manual-flow-step.active {
  border-color: rgba(143, 160, 255, 0.48);
  background: rgba(143, 160, 255, 0.12);
}

.manual-flow-step.done {
  border-color: rgba(88, 225, 193, 0.42);
  background: rgba(88, 225, 193, 0.1);
}

.chat,
.client-chat {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(6, 8, 10, 0.32);
  background-size: 44px 44px;
}

.bubble {
  border-radius: 6px;
}

.bubble.user,
.client-chat .bubble.user {
  background: rgba(88, 225, 193, 0.13);
  border-color: rgba(88, 225, 193, 0.38);
  color: var(--ink);
}

.bubble.assistant,
.client-chat .bubble.assistant {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
  color: var(--ink);
}

.bubble.transient.pending {
  color: var(--muted);
}

.retry-row button {
  background: rgba(255, 139, 130, 0.08);
  border-color: rgba(255, 139, 130, 0.42);
  color: var(--danger);
}

.client-hero {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding: 0 6px 18px;
}

.client-hero h1 {
  color: var(--ink);
  font-size: 32px;
}

.client-hero p {
  color: var(--muted);
}

.client-panel,
.client-material-panel {
  backdrop-filter: blur(14px);
}

.client-material-section summary {
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
}

.client-material-section li {
  border-top-color: var(--line);
}

.json-card {
  color: var(--muted);
}

dialog {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}

dialog::backdrop,
.admin-gate {
  background: rgba(6, 8, 10, 0.78);
  backdrop-filter: blur(12px);
}

body input,
body textarea,
body select,
body .manual-ai textarea,
body .manual-ai select,
body .field textarea,
body .field input {
  background-color: rgba(6, 8, 10, 0.72) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
  color-scheme: dark;
}

body textarea[readonly],
body input[readonly],
body .manual-ai textarea[readonly] {
  background-color: rgba(17, 20, 24, 0.82) !important;
  color: var(--ink) !important;
}

body input::placeholder,
body textarea::placeholder {
  color: rgba(169, 176, 186, 0.56) !important;
  opacity: 1;
}

body input:focus,
body textarea:focus,
body select:focus {
  background-color: rgba(7, 11, 12, 0.92) !important;
  border-color: rgba(88, 225, 193, 0.68) !important;
  box-shadow: 0 0 0 3px rgba(88, 225, 193, 0.12), inset 0 0 0 1px rgba(88, 225, 193, 0.08);
}

body select option {
  background: #111418;
  color: var(--ink);
}

body input:-webkit-autofill,
body input:-webkit-autofill:hover,
body input:-webkit-autofill:focus,
body textarea:-webkit-autofill,
body textarea:-webkit-autofill:hover,
body textarea:-webkit-autofill:focus,
body select:-webkit-autofill,
body select:-webkit-autofill:hover,
body select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px #0b0d0f inset !important;
  border-color: rgba(88, 225, 193, 0.45) !important;
}

.admin-gate-card {
  background: var(--panel);
  border-color: var(--line-strong);
  border-radius: 6px;
}

.loader {
  border-color: rgba(88, 225, 193, 0.16);
  border-top-color: var(--green);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.035);
}

::-webkit-scrollbar-thumb {
  background: rgba(88, 225, 193, 0.24);
  border: 2px solid rgba(11, 13, 15, 0.9);
}

@media (max-width: 1040px) {
  .sidebar {
    border-bottom-color: var(--line);
  }

  .topbar {
    align-items: flex-start;
  }
}
