:root {
  font:
    14px/1.55 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #282d26;
  background: #f5f5ed;
  --ink: #282d26;
  --muted: #73796d;
  --line: #dfe2d5;
  --green: #52663f;
  --paper: #fffef8;
  --orange: #ca714b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
.button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.18s;
}
button:hover,
.button:hover {
  background: #e9eddf;
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #c9894e;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 245px;
  background: #252c24;
  color: #e8eadc;
  padding: 32px 22px 20px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -1.3px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #dfe7bc;
  color: #2d3927;
  border-radius: 12px;
  font:
    36px Georgia,
    serif;
  padding-bottom: 6px;
  letter-spacing: 0;
}
.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 2.8px;
  font-weight: 500;
  margin-top: -1px;
  opacity: 0.7;
}
.workspace-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #aeb8a1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 42px 6px 16px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #8f9e63;
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  background: none;
  border: 0;
  color: #aeb7a7;
  text-align: left;
  padding: 13px 14px;
  border-radius: 7px;
  font-size: 13px;
}
.nav-icon {
  font-size: 19px;
  width: 19px;
  text-align: center;
  color: #aeb99e;
}
.sidebar nav button:hover {
  background: #333b2e;
  color: #fff;
}
.sidebar nav button[aria-current="page"] {
  color: #f4f4e7;
  background: #414c35;
}
.sidebar nav button[aria-current="page"] .nav-icon {
  color: #dce6b3;
}
.nav-hint,
.nav-count {
  margin-left: auto;
  font-size: 10px;
  color: #c8d1b7;
}
.nav-count {
  background: #ffffff0d;
  border-radius: 4px;
  min-width: 20px;
  text-align: center;
}
.sidebar-note {
  margin-top: auto;
  padding: 32px 13px;
  color: #c5cfb4;
}
.note-symbol {
  font-size: 35px;
  color: #8b9a74;
}
.sidebar-note p {
  font:
    21px/1.35 Georgia,
    serif;
  margin: 8px 0 12px;
}
.sidebar-note > span:last-child {
  font-size: 10px;
  color: #929e88;
  letter-spacing: 0.5px;
}
.account {
  border-top: 1px solid #41483b;
  padding-top: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #434c39;
  border-radius: 50%;
  color: #dfe6c5;
}
.account strong {
  display: block;
  font-size: 11px;
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.account div > span {
  font-size: 9px;
  color: #99a58d;
}
.account button {
  border: 0;
  padding: 4px;
  background: none;
  color: #adbaa0;
  margin-left: auto;
  font-size: 18px;
}
.app-shell {
  margin-left: 245px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  background: #f9f9f2;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 13px;
  align-items: center;
}
.breadcrumb span {
  color: #b0b5a5;
}
.breadcrumb strong {
  color: #444c3c;
  font-weight: 500;
}
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
  color: var(--muted);
}
.private-tag {
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 10px;
  color: #59674a;
}
main {
  max-width: 1360px;
  margin: auto;
  padding: 29px 46px 20px;
}
.page-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 12px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  font-weight: 600;
  color: #6e785f;
}
#notice {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
#notice.error {
  color: #a74734;
}
.welcome {
  display: flex;
  min-height: 283px;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dce1cc;
  background: #edf0df;
  border-radius: 13px;
  padding: 34px 39px;
  overflow: hidden;
  position: relative;
}
.welcome h1,
.login-card h1 {
  font:
    48px/1.08 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -1.5px;
  margin: 18px 0 16px;
  font-weight: 400;
}
.welcome h1 em,
.login-card h1 em {
  color: #687c4e;
  font-weight: 400;
}
.welcome-copy > p {
  font-size: 12px;
  line-height: 1.7;
  color: #70785f;
  margin: 0;
}
.welcome-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #788363;
  margin-top: 22px;
}
.foot-divider {
  padding: 0 5px;
  color: #b8c0a3;
}
.orbit {
  position: relative;
  width: 280px;
  height: 250px;
  flex-shrink: 0;
  margin: -10px 6px -10px 25px;
}
.orbit-ring {
  position: absolute;
  border: 1px solid #cdd7b8;
  border-radius: 50%;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
}
.ring-one {
  width: 116px;
  height: 116px;
}
.ring-two {
  width: 188px;
  height: 188px;
}
.ring-three {
  width: 246px;
  height: 246px;
}
.orbit-center {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 83px;
  height: 83px;
  border-radius: 50%;
  background: #65794d;
  color: #eef2de;
  box-shadow: 0 10px 25px #52643e22;
  text-align: center;
  font:
    51px/1 Georgia,
    serif;
  padding: 7px 0 0;
}
.orbit-center span {
  display: block;
  font: 8px/1 sans-serif;
  letter-spacing: 3px;
  margin-top: 0;
  padding-left: 3px;
}
.orbit-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 4px solid #edf0df;
  border-radius: 50%;
  background: #a3b27c;
  box-shadow: 0 0 0 1px #a3b27c;
}
.point-one {
  left: 143px;
  top: -11px;
  background: #c77e56;
  box-shadow: 0 0 0 1px #c77e56;
}
.point-two {
  left: 40px;
  top: 147px;
}
.point-three {
  left: 180px;
  top: 157px;
}
.orbit-caption {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  letter-spacing: 2px;
  color: #8a9673;
  white-space: nowrap;
}
.summary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.3fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 28px 0 28px;
  padding: 20px 0;
}
.summary-strip > div {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.summary-strip > div:first-child {
  padding-left: 0;
}
.summary-strip > div:last-child {
  border: 0;
  padding-right: 0;
}
.metric-label {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-bottom: 6px;
}
.summary-strip strong {
  font:
    28px/1 Georgia,
    serif;
  margin-right: 8px;
  font-weight: 400;
}
.summary-strip div > span:last-child {
  font-size: 10px;
  color: var(--muted);
}
.summary-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.summary-note > span:first-child {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #6c755e;
}
.summary-note > span:last-child {
  font-size: 9px !important;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-heading h2 {
  font:
    22px/1.3 Georgia,
    serif;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.section-heading > span {
  font-size: 9px;
  color: #8b9181;
}
#content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px 24px;
  margin: 0;
  overflow: hidden;
}
article h2 {
  font:
    21px/1.3 Georgia,
    serif;
  margin: 0 0 10px;
  font-weight: 400;
}
article p {
  font-size: 12px;
  margin: 9px 0;
  color: #66705c;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
article p.status {
  display: inline-flex;
  margin: 8px 0;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #697848;
  background: #edf1e3;
}
.status[data-status="failed"] {
  color: #a35a41;
  background: #f9ebe3;
}
.status[data-status="waiting_for_approval"] {
  color: #9a723d;
  background: #faf1dd;
}
.message {
  padding: 19px 24px;
}
.message strong {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #718155;
}
.message-user {
  margin-left: 42px;
  background: #eff2e6;
  border-color: #d8dfc8;
}
.message-user strong {
  color: #737d65;
}
.message-hq {
  border-left: 3px solid #b0bd8c;
}
.message p {
  line-height: 1.75;
}
.message-hq p {
  white-space: pre-wrap;
}
.message-pending p {
  color: var(--muted);
  font-style: italic;
}
.claude-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 10px;
  color: #59674a;
  cursor: help;
}
.claude-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b5b9ab;
}
.claude-status[data-badge="connected"] .claude-dot {
  background: var(--green);
}
.claude-status[data-badge="usage_limited"] {
  color: #8a5a1c;
  border-color: #e6cfa6;
}
.claude-status[data-badge="usage_limited"] .claude-dot {
  background: #d39a3a;
}
.claude-status[data-badge="billing_blocked"],
.claude-status[data-badge="unavailable"] {
  color: #a74734;
  border-color: #ebc9bd;
}
.claude-status[data-badge="billing_blocked"] .claude-dot,
.claude-status[data-badge="unavailable"] .claude-dot {
  background: #c25a40;
}
.job-card button {
  margin-top: 14px;
  margin-right: 8px;
}
.job-card button:first-of-type {
  background: #52663f;
  color: #fff;
  border-color: #52663f;
}
.job-card details {
  margin-top: 12px;
}
details {
  margin-top: 10px;
  border-top: 1px solid #e7e9df;
  padding-top: 10px;
}
summary {
  cursor: pointer;
  font-size: 10px;
  color: #788064;
  list-style-position: inside;
}
pre {
  font:
    10px/1.7 ui-monospace,
    monospace;
  background: #f3f4eb;
  color: #5c6650;
  padding: 15px;
  border-radius: 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 350px;
  overflow: auto;
}
.empty-state {
  padding: 24px;
  text-align: center;
  border: 1px dashed #d5ddc7;
  border-radius: 10px;
  color: #849170;
  background: #f1f3e8;
  font-size: 12px;
}
.composer {
  margin-top: 22px;
  background: var(--paper);
  border: 1px solid #bfcba7;
  border-radius: 12px;
  padding: 19px 22px 15px;
  box-shadow: 0 6px 24px #414e3010;
}
.composer-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}
.composer-heading label {
  font-size: 12px;
  font-weight: 500;
}
.composer-heading > span:last-child {
  margin-left: auto;
  color: #969d89;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.mini-mark {
  color: #6d8250;
  font-size: 18px;
}
textarea {
  display: block;
  resize: vertical;
  width: 100%;
  min-height: 70px;
  max-height: 250px;
  margin: 8px 0;
  border: 0;
  border-radius: 4px;
  padding: 8px 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
}
textarea::placeholder {
  color: #9aa08e;
}
.composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e9ebdf;
  padding-top: 13px;
  gap: 16px;
}
.composer-footer > span {
  font-size: 9px;
  color: #909882;
}
.composer-footer button,
.login-card .button {
  background: #52663f;
  border-color: #52663f;
  color: #f9fbed;
  border-radius: 6px;
  font-size: 11px;
  padding: 10px 16px;
  white-space: nowrap;
}
.composer-footer button:hover,
.login-card .button:hover {
  background: #3e512d;
}
.composer-footer button span {
  margin-left: 17px;
  font-size: 16px;
}
.suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}
.suggestions > span {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #939c84;
  margin-right: 6px;
}
.suggestions button {
  font-size: 9px;
  background: transparent;
  padding: 6px 10px;
  border-color: #dde2d1;
  border-radius: 20px;
  color: #748063;
}
.suggestions button span {
  margin-left: 8px;
}
.page-footer {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 17px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #909781;
  font-size: 8px;
  letter-spacing: 1px;
}
.page-footer > span:last-child {
  font-size: 9px;
  letter-spacing: 0;
}
.page-footer > span > span {
  margin: 0 8px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 70% 20%, #e4ead2, transparent 60%), #f5f5ed;
}
.login-card {
  max-width: 590px;
  padding: 52px;
  background: #fffef8;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 90px #39452a13;
}
.login-card .brand {
  margin-bottom: 52px;
}
.login-card .eyebrow {
  display: block;
}
.login-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 30px;
}
.login-card .button {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  max-width: 340px;
}
.login-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  margin-top: 18px;
}
@media (min-width: 1500px) {
  main {
    padding-left: 70px;
    padding-right: 70px;
  }
  .welcome {
    padding: 44px 50px;
  }
  .welcome h1 {
    font-size: 56px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 27px 15px 18px;
  }
  .app-shell {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 25px 26px;
  }
  .welcome {
    padding: 27px;
  }
  .welcome h1 {
    font-size: 40px;
  }
  .orbit {
    width: 200px;
    transform: scale(0.8);
    margin-left: 0;
    margin-right: -18px;
  }
  .summary-note {
    display: none;
  }
  .summary-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .summary-strip > div:nth-child(3) {
    border: 0;
  }
  .welcome-foot {
    flex-wrap: wrap;
  }
  .account strong {
    max-width: 105px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 18px 20px 0;
    display: block;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 30px;
  }
  .sidebar nav {
    flex-direction: row;
    overflow: auto;
    margin: 18px -8px 0;
    padding-bottom: 10px;
    gap: 4px;
  }
  .sidebar nav button {
    width: auto;
    white-space: nowrap;
    padding: 10px;
    font-size: 11px;
    gap: 6px;
  }
  .nav-icon {
    font-size: 14px;
    width: 14px;
  }
  .nav-hint,
  .sidebar-note,
  .workspace-label,
  .account {
    display: none;
  }
  .nav-count {
    font-size: 9px;
    min-width: 16px;
  }
  .app-shell {
    margin-left: 0;
  }
  .topbar {
    height: 58px;
    padding: 0 20px;
  }
  .topbar-meta {
    gap: 8px;
  }
  .topbar-meta #today {
    display: none;
  }
  main {
    padding: 22px 20px;
  }
  .page-top .eyebrow {
    font-size: 8px;
  }
  .welcome {
    min-height: 250px;
    padding: 26px 24px;
  }
  .welcome h1 {
    font-size: 39px;
  }
  .welcome .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .orbit {
    position: absolute;
    right: -84px;
    opacity: 0.3;
    pointer-events: none;
  }
  .welcome-copy {
    position: relative;
    z-index: 1;
  }
  .welcome-foot {
    font-size: 8px;
  }
  .foot-divider,
  .welcome-foot .foot-divider + span {
    display: none;
  }
  .summary-strip {
    margin: 22px 0;
    padding: 16px 0;
  }
  .summary-strip > div {
    padding: 0 10px;
  }
  .summary-strip strong {
    display: block;
    margin: 0 0 4px;
    font-size: 26px;
  }
  .metric-label {
    font-size: 7px;
    letter-spacing: 0.7px;
  }
  .summary-strip div > span:last-child {
    font-size: 8px;
  }
  .section-heading > span {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .message-user {
    margin-left: 20px;
  }
  article {
    padding: 18px;
  }
  .composer {
    padding: 16px;
  }
  .composer-footer > span {
    font-size: 8px;
    max-width: 165px;
  }
  .composer-footer button {
    padding: 9px 12px;
    font-size: 10px;
  }
  .composer-footer button span {
    margin-left: 8px;
  }
  .page-footer > span:last-child {
    display: none;
  }
  .login-card {
    margin: 20px;
    padding: 32px;
  }
  .login-card h1 {
    font-size: 39px;
  }
  .login-card .brand {
    margin-bottom: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

#welcome {
  min-height: 260px;
}
.welcome h1 {
  margin-top: 16px;
}
.composer {
  margin-top: 0;
}
.suggestions {
  margin-bottom: 30px;
}
.summary-strip {
  margin-bottom: 24px;
}
body:has(#welcome:not([hidden])) #content {
  max-height: 450px;
  overflow: auto;
  scrollbar-color: #c1cbaa transparent;
  padding-right: 4px;
}
.section-heading {
  margin-top: 6px;
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
  }
  .account {
    display: flex;
    position: absolute;
    right: 20px;
    top: 19px;
    border: 0;
    padding: 0;
  }
  .account div,
  .account .avatar {
    display: none;
  }
  .account button {
    padding: 8px;
    color: #cdd7bc;
  }
  .welcome {
    min-height: 250px;
  }
  .summary-strip {
    margin-bottom: 24px;
  }
  .composer-footer {
    align-items: center;
  }
}

article p {
  font-size: 13px;
}
.composer-heading label {
  font-size: 13px;
}
.suggestions button {
  font-size: 10px;
}
.welcome-copy > p {
  font-size: 13px;
}
.sidebar nav button {
  font-size: 14px;
}
#content[data-screen="Departments"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
#content[data-screen="Departments"] > p {
  grid-column: 1/-1;
  font-size: 12px;
  color: var(--muted);
}
#content[data-screen="Business"] > p {
  margin: 0;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #626d55;
}
#content[data-screen="Business"] > details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 8px;
}
@media (max-width: 760px) {
  #content[data-screen="Departments"] {
    grid-template-columns: 1fr;
  }
  .sidebar nav button {
    font-size: 11px;
  }
}
#content > article {
  flex: 0 0 auto;
}
@media (min-width: 1101px) {
  .welcome {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .orbit {
    width: 250px;
    height: 210px;
  }
  .ring-three {
    width: 210px;
    height: 210px;
  }
  .ring-two {
    width: 164px;
    height: 164px;
  }
  .ring-one {
    width: 110px;
    height: 110px;
  }
  .point-one {
    left: 143px;
    top: -10px;
  }
  .point-two {
    left: 24px;
    top: 131px;
  }
  .point-three {
    left: 154px;
    top: 130px;
  }
  .orbit-caption {
    bottom: -11px;
  }
  .welcome h1 {
    font-size: 44px;
  }
}
@media (min-width: 1101px) {
  .welcome {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .welcome h1 {
    font-size: 40px;
    margin: 12px 0;
  }
  .welcome-foot {
    margin-top: 14px;
  }
  .composer textarea {
    min-height: 48px;
  }
  .workspace-label {
    margin-top: 28px;
  }
  .sidebar nav button {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .sidebar-note {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .sidebar-note p {
    font-size: 19px;
  }
}
@media (min-width: 1101px) {
  #welcome {
    min-height: 225px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .composer {
    padding-top: 16px;
  }
  .sidebar-note .note-symbol {
    display: none;
  }
  .sidebar-note p {
    font-size: 18px;
    line-height: 1.3;
  }
}

.wait-note {
  color: var(--muted);
  font-size: 12px;
}
.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.video-item {
  margin: 0;
}
.video-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  background: #e9ecdf;
}
.video-item figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}
.recon {
  margin-top: 12px;
}
.recon summary {
  cursor: pointer;
  font-size: 12px;
  color: var(--green);
}
.recon-store {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 6px;
}
.recon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}
.recon-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: var(--paper);
}
.recon-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}
.recon-item figcaption {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
}
.recon-item a {
  color: var(--ink);
  text-decoration: none;
}
.recon-item strong {
  color: var(--green);
}
.recon-item span {
  color: var(--muted);
}
.recon details p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}

/* The job the conversation is about (revisions go to it). */
.focus-note {
  margin: 0 0 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
}
.link-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--green);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.link-button:disabled {
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

/* Phase 3: what a job proved, who handled it, what it waits on. */
article p.muted {
  color: var(--muted);
  font-size: 0.9em;
}

/* Phase 3.5: HQ's formatted replies, and the process-only note beside the verified count. */
.rich p { margin: 0 0 0.6em; }
.rich ul, .rich ol { margin: 0 0 0.6em; padding-inline-start: 1.3em; }
.rich li { margin: 0.15em 0; }
.rich li ul { margin: 0.2em 0 0.3em; }
/* Bold inside a reply is emphasis, not the message's author label (.message strong). */
.message .rich strong { display: inline; font-size: inherit; letter-spacing: normal; text-transform: none; color: inherit; font-weight: 650; }
.metric-note { display: block; color: var(--muted); font-size: 0.8em; }

/* Phase 3.6: the owner's health summary (Business view, and Home's "needs you" card). */
.status-card h2 { font-size: 18px; }
.status-card h3 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin: 16px 0 6px; }
.health-list { margin: 6px 0 0; padding-inline-start: 1.2em; font-size: 13px; line-height: 1.6; color: var(--ink); }
.health-list li { margin: 5px 0; }
ul.health-list:has(.health-item) { list-style: none; padding-inline-start: 0; }
.health-item strong { margin-right: 4px; }
.health-item small { color: var(--muted); }
.health-word { display: inline-block; min-width: 108px; margin-right: 8px; padding: 2px 7px; border-radius: 4px; font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.8px; text-align: center; color: #697848; background: #edf1e3; }
.health-item[data-health="BLOCKED"] .health-word { color: #a35a41; background: #f9ebe3; }
.health-item[data-health="NEEDS_ATTENTION"] .health-word { color: #9a723d; background: #faf1dd; }
.health-item[data-health="NEEDS_VERIFICATION"] .health-word,
.health-item[data-health="UNKNOWN"] .health-word { color: #6f746a; background: #eeefe9; }
.home-status button { margin-top: 6px; }
#content[data-screen="Business"] > p.metric-note { border: 0; padding: 0 4px; font-size: 11px; }
@media (max-width: 760px) { .health-word { min-width: 0; } }
#home-status { margin: 0 0 14px; }
#home-status .status-card { padding: 16px 22px; }
#home-status .status-card h2 { margin-bottom: 4px; }

.orders-panel{width:100%;max-width:1100px}.orders-panel button{margin:6px 8px 6px 0}.orders-panel label{display:inline-flex;flex-direction:column;gap:5px;margin:10px 16px 10px 0;font-size:14px}.orders-panel input,.orders-panel select{padding:10px;border:1px solid #c7c9c0;border-radius:6px;background:#fff;max-width:100%}.orders-panel textarea{display:block;width:100%;min-height:160px}.orders-table{overflow:auto;margin:18px 0}.orders-panel table{border-collapse:collapse;width:100%;font-size:14px}.orders-panel td,.orders-panel th{padding:12px;text-align:left;border-bottom:1px solid #deded6}.orders-panel th{white-space:nowrap}.orders-panel fieldset,.orders-panel details{margin:16px 0;padding:16px;border:1px solid #deded6;border-radius:10px}.orders-panel pre{white-space:pre-wrap;max-height:300px;overflow:auto}.orders-panel a{display:inline-block;margin:10px 0}.orders-panel [aria-pressed=true]{background:#263c32;color:white}

.website-table { overflow-x: auto; }
.website-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.website-table th, .website-table td { text-align: left; padding: .65rem; border-bottom: 1px solid var(--border, #ddd); vertical-align: top; }
.website-table th { white-space: nowrap; }
