:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #202c2b;
  background: #f6f7f3;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #45a98a;
  outline-offset: 3px;
}
button {
  min-height: 44px;
  border: 1px solid #d8ded8;
  border-radius: 8px;
  padding: 9px 15px;
  background: white;
  color: #213e35;
  font-weight: 600;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid #dfe4dc;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 5vw;
}
.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #174a3b;
  text-decoration: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #66766d;
}
.edition {
  font-family: monospace;
  font-size: 11px;
  border: 1px solid #d4ddd2;
  border-radius: 4px;
  padding: 5px 7px;
  color: #677363;
}
.topbar .quiet {
  margin-left: auto;
}
.mode {
  font-size: 12px;
  color: #40705d;
}
.quiet {
  background: transparent;
  border-color: transparent;
  font-size: 12px;
}
.quiet:hover {
  background: #eaf0e8;
}
main {
  max-width: 1320px;
  margin: auto;
  padding: 52px 5vw 32px;
}
.intro h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 550;
  letter-spacing: -1.8px;
  margin: 12px 0;
}
.subtitle {
  color: #758079;
  font-size: 16px;
  margin-bottom: 34px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 38px;
  background: #fff;
  border: 1px solid #dfe4dc;
  border-radius: 14px;
}
.welcome h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  max-width: 350px;
}
.welcome p {
  line-height: 1.7;
  color: #718077;
}
.primary {
  background: #235c48;
  color: #fff;
  border-color: #235c48;
}
.primary:hover {
  background: #184936;
}
.large {
  margin-top: 16px;
  padding: 12px 22px;
}
.hint {
  font-size: 12px;
  line-height: 1.65;
  color: #7a847c;
}
form {
  border-left: 1px solid #e6eae2;
  padding-left: 38px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  margin: 16px 0;
}
input,
select {
  width: 100%;
  border: 1px solid #dfe4dc;
  background: #fff;
  border-radius: 7px;
  padding: 11px;
  color: #253a30;
  min-height: 44px;
}
input::placeholder {
  color: #8a958b;
}
form button {
  width: 100%;
  margin-top: 10px;
}
.workspace-bar {
  display: flex;
  align-items: center;
  gap: 18px;
}
.org {
  max-width: 280px;
  width: 100%;
  margin: 0;
}
.identity {
  margin-left: auto;
  font-size: 12px;
  color: #6e7c71;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 26px 0;
}
.metric {
  padding: 20px 24px;
  background: #eef1e9;
  border-radius: 10px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.metric strong {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
}
.metric span {
  font-size: 12px;
  color: #6f7b6b;
}
.panels {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.session-panel,
.conversation-panel {
  background: #fff;
  border: 1px solid #dde4db;
  border-radius: 12px;
  min-width: 0;
  overflow: hidden;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid #edf0e9;
  min-height: 68px;
}
h2 {
  font-size: 16px;
  font-weight: 650;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
.tools {
  display: flex;
  gap: 10px;
  padding: 18px;
}
.tools input {
  flex: 1;
  min-width: 0;
}
.tools select {
  width: 132px;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th {
  color: #929b91;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 9px 20px;
  background: #fafbf8;
}
td {
  padding: 14px 20px;
  border-top: 1px solid #edf0e9;
  font-size: 12px;
}
tr[data-selected="true"] {
  background: #f0f6ef;
}
.session-link {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font-size: 13px;
  min-height: 44px;
  color: #254d3b;
  line-height: 1.5;
}
.badge {
  display: inline-block;
  border: 1px solid #e0e8db;
  background: #f3f6ee;
  color: #52714a;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.site-name {
  color: #7a857a;
  font-size: 11px;
}
.panel-footer {
  padding: 15px 20px;
  color: #8b948b;
  font-size: 10px;
  border-top: 1px solid #edf0e9;
}
.conversation-intro {
  padding: 68px 34px;
  text-align: center;
  color: #7b887e;
  max-width: 390px;
  margin: auto;
}
.conversation-intro h3 {
  color: #3b5142;
}
.conversation-intro p {
  font-size: 13px;
  line-height: 1.8;
}
.empty-icon {
  background: #eff4eb;
  color: #65895b;
  font-size: 29px;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin: auto;
}
.conversation {
  padding: 12px 24px 24px;
}
.message {
  padding: 15px 18px;
  background: #f6f8f3;
  border-radius: 9px;
  margin: 15px 0;
}
.message h4 {
  font-size: 11px;
  color: #58734e;
  margin: 0 0 9px;
}
.message p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
}
.scope-note {
  font-size: 11px;
  color: #84907e;
  margin: 20px 0;
}
.empty {
  padding: 40px 25px;
  color: #7e8c7b;
  text-align: center;
  font-size: 13px;
}
.notice {
  padding: 15px;
  border-radius: 8px;
  line-height: 1.5;
}
.error {
  color: #864735;
  background: #fff0e9;
  border: 1px solid #eed0c4;
}
.architecture {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #dce3d6;
}
.architecture summary {
  font-size: 12px;
  color: #6d7b65;
  padding: 8px 0;
  min-height: 44px;
}
.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 20px 0;
}
.architecture-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: #75816c;
}
.site-footer {
  max-width: 1320px;
  margin: auto;
  padding: 26px 5vw;
  color: #8b9682;
  font-size: 10px;
  letter-spacing: 0.5px;
}
@media (max-width: 850px) {
  .panels {
    grid-template-columns: 1fr;
  }
  .welcome {
    gap: 25px;
    padding: 25px;
  }
  .metric {
    padding: 14px;
    display: block;
  }
  .metric span {
    display: block;
    margin-top: 4px;
  }
}
@media (max-width: 560px) {
  .topbar {
    padding: 0 20px;
    height: 68px;
    gap: 14px;
  }
  .topbar > .eyebrow,
  .edition {
    display: none;
  }
  .mode {
    font-size: 10px;
  }
  main {
    padding: 30px 18px;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  form {
    border-left: 0;
    border-top: 1px solid #e6eae2;
    padding: 15px 0 0;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 12px 10px;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric span {
    font-size: 10px;
  }
  .identity {
    display: none;
  }
  .workspace-bar {
    gap: 8px;
  }
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  td,
  th {
    padding: 10px;
  }
  .tools {
    padding: 12px;
  }
  .panel-heading {
    padding: 12px 16px;
  }
  .conversation {
    padding: 12px 16px;
  }
  .tools select {
    width: 116px;
  }
}
