/* Ai suite baseline. Keep identical in member, agent, root and entry projects.
   Member themes load after this file and may override the palette. */
:root {
  --accent: #087f76;
  --accent-dark: #066d65;
  --teal: var(--accent);
  --ink: #14282f;
  --line: #e7ebef;
  --muted: #83909b;
  --suite-radius: 8px;
  font-family: "DM Sans", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #253545;
  background: #f5f7f9;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
button {
  border-radius: 7px;
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 7px;
  font-weight: 600;
}
.primary,
.secondary {
  font-size: 13px;
  line-height: 18px;
  padding: 10px 16px;
}
.primary:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}
.secondary {
  background: #edf7f4;
  border: 1px solid #d3e8e2;
  color: var(--accent);
  border-radius: 7px;
}
.secondary:hover:not(:disabled) {
  background: #e2f2ec;
  color: var(--accent);
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  border-color: #dde3e8;
  border-radius: var(--suite-radius);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #83d5c6;
  outline-offset: 3px;
}
.sidebar {
  overflow-y: auto;
  width: 224px;
  padding: 30px 18px 16px;
  background: var(--ink);
  color: #dce6e9;
}
.workspace {
  margin-left: 224px;
}
.sidebar .brand {
  margin: 0;
  padding: 0 9px 35px;
}
.sidebar .brand > b,
.sidebar .brand-symbol {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 12px;
  font-size: 22px;
}
.sidebar .brand > span:not(.brand-symbol) {
  font-size: 17px;
}
.sidebar .nav-label,
.sidebar .nav-caption {
  margin: 0;
  padding: 16px 18px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #7c969f;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar nav button {
  min-height: 48px;
  padding: 14px 18px;
  gap: 14px;
  border: 0;
  border-radius: var(--suite-radius);
  font-size: 13px;
  line-height: 1.5;
  color: #a6b9c0;
  background: none;
}
.sidebar nav button:hover:not(:disabled) {
  background: #ffffff08;
  border: 0;
}
.sidebar nav button.active,
.sidebar nav button.active:hover:not(:disabled) {
  background: #20453f;
  color: #a9e4d8;
}
.sidebar-bottom {
  padding: 20px 5px 0;
  gap: 10px;
  border-top: 1px solid #ffffff10;
}
.sidebar-bottom .avatar {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  background: #36505a;
  color: #dce6e9;
}
.sidebar-bottom > div {
  flex: 1;
  min-width: 0;
}
.sidebar-bottom strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dce6e9;
  font-size: 11px;
}
.sidebar-bottom small {
  margin-top: 5px;
  color: #72909b;
  font-size: 10px;
}
.sidebar .logout {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 8px;
  min-height: 36px;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  background: #ffffff06;
  color: #a4b9c2;
  font-size: 12px;
  line-height: 18px;
  transition:
    background 150ms ease,
    color 150ms ease;
}
.sidebar .logout svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sidebar .logout:hover:not(:disabled) {
  background: #ffffff14;
  color: #fff;
  border-color: #ffffff20;
}
.sidebar .logout:focus-visible {
  outline: 2px solid #83d5c6;
  outline-offset: 3px;
}
.topbar {
  height: 76px;
  padding: 0 38px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.topbar .breadcrumb {
  padding: 0;
  border: 0;
  font-size: 12px;
}
.main-content,
.page-body {
  padding: 32px 38px 24px;
}
.page-heading h1 {
  font-size: 28px;
  letter-spacing: -0.6px;
}
.panel {
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.filters {
  background: #fbfcfc;
  border-color: var(--line);
  gap: 14px;
}
.filters input:not([type="checkbox"]):not([type="radio"]),
.filters select,
.filters > button {
  min-height: 40px;
}
.tabs button.active,
.tabs button.active:hover:not(:disabled) {
  background: #eaf5f1;
  color: var(--accent);
  font-weight: 700;
}
.report-date-presets button.active {
  background: #eaf5f1;
  border-color: #9dcdc4;
  color: var(--accent);
}
table {
  border-collapse: collapse;
}
th {
  background: #f8fafb;
  color: #85939c;
  border-color: #edf0f3;
  font-size: 12px;
  font-weight: 500;
}
td {
  border-color: #f0f3f5;
}
.modal-overlay,
.modal-shade {
  background: #14282f75;
  backdrop-filter: blur(3px);
}
.modal {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 80px #0003;
}
.modal > header {
  padding: 23px 28px;
  border-color: var(--line);
}
.modal > header h2 {
  font-size: 19px;
}
.modal > header button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #8b9a9d;
  font-size: 26px;
}
.modal-body {
  padding: 25px 28px;
}
.modal > footer {
  padding: 20px 28px;
  gap: 12px;
  border-color: var(--line);
  background: #fff;
}
.modal > footer button {
  min-height: 40px;
}
.alert {
  border-radius: 7px;
  background: #edf7f2;
  color: #397c69;
}
.alert.error,
.error {
  color: #b7525d;
  background: #fff1f3;
}
.login-story {
  background: var(--ink);
}
.brand-symbol,
.brand > b {
  background: var(--accent);
}
.scope-banner {
  color: #527c72;
  background: #edf7f4;
}
.captcha {
  color: var(--accent);
  background: #edf7f4;
}
@media (max-width: 1150px) {
  .sidebar {
    width: 185px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 185px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sidebar .logout {
    transition: none;
  }
}
