:root {
  --green: #006344;
  --green-dark: #004936;
  --mint: #eaf3ee;
  --bg: #f5f7f4;
  --ink: #26352e;
  --muted: #546a60;
  --line: #dce6de;
  --malt: #ad7732;
}

.topbar { border-top: 3px solid var(--green-dark); }
.tsingtao-wordmark > img { width: 43px; height: 40px; object-fit: contain; }
.tsingtao-wordmark .brand-cn { color: var(--green-dark); font-weight: 750; letter-spacing: .03em; }
.sidebar { background: #f4f7f4; border-color: var(--line); }
.workspace-icon, .avatar { background: #e1eee6; color: var(--green-dark); }
.sidebar nav a.active { background: #e0eee6; color: var(--green-dark); }
.sidebar nav a.active:before { background: var(--green); }
.page-heading, .p2-heading { border-color: var(--line); }
.p2-heading h1, .p2-section-title h2 { color: #20382d; }
.p2-heading p, .p2-heading .breadcrumb, .p2-clock { color: #546a60; }
.tsingtao-project-product {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 12px 4px 9px;
  background: #f2f7f3;
  line-height: 1.4;
}
.tsingtao-project-product img { width: 27px; height: 42px; object-fit: contain; }
.tsingtao-project-product strong { display: block; font-size: 12px; color: var(--green-dark); }
.tsingtao-project-product small { display: block; color: var(--muted); font-size: 10px; }
.p2-signals-summary {
  background: #f4f8f5;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 17px;
}
.p2-signals-summary strong, .p2-signal-title, .p2-signal-name { color: var(--green-dark); }
.p2-table tr.selected td { background: #ecf5ef; }
.p2-improvement { border-color: #d5b17b; background: #fbf6ed; }
.p2-badge.amber { background: #faf0de; color: #785119; }
.p2-video { background: #eaf0eb; }
.tsingtao-bot-documents small { color: var(--muted); font-weight: normal; }
.tsingtao-bot-documents textarea { line-height: 1.6; }
.tsingtao-bot-snapshot { white-space: pre-wrap; overflow-wrap: anywhere; }
.tsingtao-cover { background: #edf3ec !important; color: var(--green-dark); }
.tsingtao-cover img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tsingtao-cover span { font-size: 11px; }
:focus-visible { outline: 2px solid #167950; outline-offset: 3px; }

@media (max-width: 760px) {
  .tsingtao-wordmark > img { width: 32px; height: 31px; }
  .tsingtao-wordmark .brand-cn { font-size: 15px; }
  .tsingtao-project-product { margin-left: auto; padding: 2px 8px; }
  .tsingtao-project-product img { width: 18px; height: 28px; }
  .tsingtao-project-product small { display: none; }
  .p2-signals-summary { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
