@charset "UTF-8";
:root {
  --forest: #164c38;
  --green: #287044;
  --sage: #e7efe7;
  --ivory: #fffdfc;
  --sand: #f5f1e9;
  --ink: #20231f;
  --muted: #657064;
  --border: #dce2d9;
  --clay: #b9674d;
  --radius: 12px;
  --font: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--ivory);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button svg,
summary svg {
  flex-shrink: 0;
}
a {
  color: var(--forest);
}
button {
  background: none;
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
p {
  line-height: 1.6;
}
svg {
  display: inline-block;
  vertical-align: middle;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ivory);
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button.primary {
  background: var(--forest);
  color: #fff;
}
.button.primary:hover {
  background: #205b43;
}
.button.secondary {
  background: var(--ivory);
  border: 1px solid var(--border);
}
.button.secondary:hover {
  background: var(--sage);
}
.button:active {
  transform: translateY(1px);
}
.full-width {
  width: 100%;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--sage);
}
.icon-button.small {
  width: 28px;
  height: 28px;
}
.text-button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--forest);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
}
.text-button:hover {
  text-decoration: underline;
}
.text-dot {
  padding: 0 5px;
  color: #9aa096;
}
.subtle-badge {
  font-size: 11px;
  color: var(--muted);
  background: #f2f3ef;
  white-space: nowrap;
  border-radius: 5px;
  padding: 5px 8px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 8px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.mini-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
}
#app {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 232px;
  background: #f3f5ef;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 26px 16px 0;
  z-index: 30;
}
.brand {
  display: block;
  width: 178px;
  margin: 0 8px 22px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
}
.product-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 16px;
  font-weight: 650;
}
.version {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  background: #e6ebe1;
  padding: 3px 6px;
  border-radius: 4px;
}
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-bottom: 26px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  padding: 12px 13px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 13px;
  color: #505b50;
  transition: background 0.18s;
}
.nav-item:hover {
  background: #e7ece2;
}
.nav-item.active {
  background: var(--forest);
  color: #fff;
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  padding: 2px 5px;
  background: #ffffff24;
  border-radius: 4px;
}
.sidebar-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--muted);
  padding: 0 9px;
  margin-bottom: 8px;
  font-weight: 650;
}
.room-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.room-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  min-height: 44px;
  border-radius: 7px;
  text-align: left;
  font-size: 11px;
}
.room-item > span:nth-child(2) {
  flex: 1;
}
.room-item:hover,
.room-item.selected {
  background: #e6ebe2;
}
.room-item.selected {
  font-weight: 600;
}
.room-initial {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 15px;
  flex-shrink: 0;
}
.room-initial.forest {
  color: var(--forest);
  background: #d9e5d8;
}
.room-initial.clay {
  color: #824937;
  background: #eddfd4;
}
.room-initial.olive {
  color: #5b653c;
  background: #e2e5cc;
}
.room-initial.large {
  width: 44px;
  height: 44px;
  font-size: 24px;
  border-radius: 11px;
}
.room-count {
  color: #6c7767;
  font-size: 10px;
  min-width: 16px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.preview-note {
  display: flex;
  gap: 9px;
  font-size: 10px;
  line-height: 1.7;
  color: #66725f;
  padding: 13px 10px 23px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: calc(100% + 32px);
  margin-left: -16px;
  border-top: 1px solid var(--border);
  padding: 18px 20px;
}
.profile:hover {
  background: #e7ece2;
}
.profile-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #e1e7db;
  border-radius: 50%;
  color: var(--forest);
}
.profile strong {
  font-size: 11px;
  display: block;
}
.profile small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.profile > svg {
  margin-left: auto;
}
.app-main {
  margin-left: 232px;
  width: calc(100% - 232px);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 66px;
  min-height: 66px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 28px;
  background: var(--ivory);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb > svg {
  transform: rotate(-90deg);
  color: #9ba293;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #7f5a34;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f5eee3;
  white-space: nowrap;
}
.demo-badge > span {
  width: 5px;
  height: 5px;
  background: #ac845b;
  border-radius: 50%;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 28px;
  font-size: 10px;
  color: #7b8376;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.app-footer span span {
  padding: 0 5px;
  color: #b3b8ad;
}
#main {
  flex: 1;
  min-width: 0;
  outline: none;
}
.mobile-menu,
.nav-backdrop {
  display: none;
}
.office-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  min-height: calc(100dvh - 101px);
}
.office-main {
  min-width: 0;
  padding: 27px 26px 0;
  display: flex;
  flex-direction: column;
}
.office-main .page-heading {
  margin-bottom: 22px;
}
.office-main h1 {
  font-size: 24px;
}
.office-main .button {
  font-size: 11px;
  padding: 9px 12px;
}
.office-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.office-instruction {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.office-instruction svg {
  color: #819078;
}
.view-switch {
  display: flex;
  align-items: center;
  background: #f0f2ec;
  padding: 3px;
  border-radius: 7px;
  gap: 2px;
}
.view-switch button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 5px;
  font-size: 10px;
  color: var(--muted);
  min-height: 30px;
}
.view-switch button.selected {
  background: var(--ivory);
  color: var(--forest);
  box-shadow: 0 1px 3px #20231f12;
}
.office-scene {
  position: relative;
  flex: 1;
  min-height: 540px;
  background: url("/assets/office/room.png") center center / cover no-repeat;
  background-color: var(--sand);
  border: 1px solid #e6daca;
  border-radius: 13px;
  overflow: hidden;
  isolation: isolate;
}
.wall-logo {
  position: absolute;
  top: 17%;
  left: 36%;
  width: 28%;
  height: auto;
  filter: drop-shadow(0 1px 0 #fff5);
  opacity: 0.9;
}
.workstation {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  min-width: 0;
  transition: transform 0.2s;
  isolation: isolate;
}
.workstation:hover {
  transform: translateY(-5px);
  z-index: 4;
}
.workstation:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 2px;
  border-radius: 24%;
}
.sprite {
  display: block;
  background-image: url("/assets/office/agents.png");
  background-size: 400% 200%;
  background-position: var(--sprite-x) var(--sprite-y);
  background-repeat: no-repeat;
  aspect-ratio: 1;
  width: 100%;
}
.workstation > .sprite {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.station-caption {
  position: absolute;
  z-index: 3;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
  gap: 3px;
}
.station-caption strong {
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
  color: #30352d;
  background: #fffdfcf2;
  border: 1px solid #eee8dd;
  padding: 5px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 5px #5534180d;
}
.station-caption small {
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  color: #3f543c;
  background: #fffdfced;
  border-radius: 20px;
  padding: 3px 6px;
  line-height: 1;
}
.station-caption small > span {
  color: #7a8174;
}
.status-dot {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 50%;
  background: #44875b;
  flex-shrink: 0;
}
.status-dot.paused {
  background: #b58b45;
}
.station-floor {
  position: absolute;
  bottom: -1%;
  left: 7%;
  right: 7%;
  height: 21%;
  border: 1.8px solid transparent;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.is-selected .station-floor {
  background: #eaf4e145;
  border-color: var(--green);
  box-shadow: 0 0 0 5px #fff9;
}
.is-selected .station-caption strong {
  border-color: var(--forest);
  color: var(--forest);
}
.scene-caption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #655e4f;
  background: #fff9;
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
}
.office-footnote {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7c8576;
  font-size: 9px;
  padding: 12px 1px;
}
.office-footnote > span:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
}
.agent-panel {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-height: calc(100dvh - 101px);
  background: var(--ivory);
}
.agent-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 25px 20px 12px;
}
.agent-heading h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.agent-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.agent-heading > .icon-button:last-child {
  margin-left: auto;
  width: 28px;
}
.agent-avatar {
  display: inline-block;
  position: relative;
  width: 44px;
  height: 44px;
  background: #e9eee1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.agent-avatar .sprite {
  position: absolute;
  width: 84px;
  height: 84px;
  left: -20px;
  top: 0;
}
.agent-context {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 20px 18px;
  padding: 8px 10px;
  background: #f3f5ef;
  border-radius: 5px;
  color: #66745c;
  font-size: 9px;
}
.context-divider {
  color: #acb19f;
  padding: 0 2px;
}
.panel-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.panel-tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 43px;
  font-size: 12px;
  padding: 0 0 12px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}
.panel-tabs button.active {
  border-bottom-color: var(--forest);
  color: var(--forest);
  font-weight: 600;
}
.panel-tabs button span {
  font-size: 10px;
  background: var(--sage);
  padding: 1px 5px;
  border-radius: 4px;
}
.agent-content {
  flex: 1;
  min-height: 160px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.chat-welcome {
  padding: 36px 23px 20px;
}
.welcome-icon {
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #edf1e7;
  margin-bottom: 18px;
}
.chat-welcome h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}
.chat-welcome > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.suggestions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 23px;
}
.suggestions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  font-size: 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 10px;
  min-height: 43px;
  line-height: 1.4;
}
.suggestions button:hover {
  background: #f0f4ec;
  border-color: #a9b9a4;
}
.suggestions svg {
  color: #7a8c71;
}
.chat-welcome .demo-explanation {
  font-size: 10px;
  color: #89917f;
  margin-top: 22px;
  line-height: 1.65;
}
.chat-welcome .text-button {
  margin-top: 12px;
  font-size: 10px;
}
.agent-bottom {
  padding: 16px 20px 12px;
  border-top: 1px solid #edf0e8;
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border: 1px solid #cdd6c8;
  border-radius: 10px;
  background: #fff;
  padding: 10px 9px 9px 12px;
  box-shadow: 0 2px 5px #142a1405;
}
.composer:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 2px #28704415;
}
.composer textarea {
  width: 100%;
  resize: none;
  border: 0;
  background: none;
  padding: 1px 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  min-height: 38px;
  max-height: 100px;
}
.composer textarea:focus {
  outline: none;
}
.composer textarea::placeholder {
  color: #92988a;
}
.send-button {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff;
  border-radius: 7px;
}
.send-button:hover {
  background: var(--green);
}
.composer-hint {
  font-size: 8px;
  color: #8b9382;
  display: block;
  margin: 8px 0 15px;
  line-height: 1.5;
}
.composer-hint > span {
  padding: 0 3px;
}
.autonomy {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}
.autonomy summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  cursor: pointer;
}
.autonomy summary::-webkit-details-marker {
  display: none;
}
.autonomy summary > svg:first-child {
  color: #6d7f62;
}
.autonomy summary > svg:last-child {
  margin-left: 6px;
}
.autonomy-mode {
  margin-left: auto;
  font-size: 9px;
  color: #728064;
}
.autonomy-body {
  padding-top: 12px;
}
.autonomy-body label {
  font-size: 11px;
  display: block;
  margin-bottom: 6px;
}
.autonomy-body select {
  width: 100%;
  font-size: 11px;
  border: 1px solid var(--border);
  background: var(--ivory);
  border-radius: 6px;
  padding: 8px;
}
.autonomy-body p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}
.pause-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 9px;
  padding: 9px;
  font-size: 10px;
  color: #728064;
  min-height: 34px;
}
.pause-button:hover {
  background: var(--sage);
  border-radius: 6px;
}
.panel-back {
  display: none;
}
.messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.message {
  max-width: 94%;
  font-size: 12px;
  padding: 12px 13px;
  border-radius: 11px;
  overflow-wrap: anywhere;
}
.message.user {
  align-self: flex-end;
  background: #e7eddf;
}
.message.assistant {
  align-self: flex-start;
  background: #f7f6f1;
  border: 1px solid #ebece3;
}
.message-author {
  font-size: 9px;
  color: #728065;
  display: block;
  margin-bottom: 6px;
}
.message p {
  white-space: pre-wrap;
  line-height: 1.65;
}
.activity-list {
  padding: 22px 20px;
}
.activity-list article {
  display: flex;
  gap: 12px;
  padding-bottom: 22px;
}
.activity-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  background: #a6b89b;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-list p {
  font-size: 12px;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.activity-list small {
  display: block;
  font-size: 10px;
  color: #849078;
  margin-top: 8px;
}
.panel-empty {
  padding: 45px 25px;
  color: var(--muted);
}
.panel-empty > svg {
  margin-bottom: 18px;
}
.panel-empty h3 {
  color: var(--ink);
  margin-bottom: 9px;
}
.panel-empty p {
  font-size: 12px;
}
.empty-panel {
  justify-content: center;
  padding: 30px;
  color: var(--muted);
}
.empty-panel h2 {
  margin: 18px 0 12px;
}
.empty-panel p {
  font-size: 12px;
}
.agents-list {
  flex: 1;
  border-top: 1px solid var(--border);
}
.agent-row {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  width: 100%;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
}
.agent-row:hover,
.agent-row.selected {
  background: #eff3e9;
}
.agent-row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.agent-row strong {
  font-size: 13px;
  display: block;
}
.agent-row small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  line-height: 1.6;
}
.agent-row-state {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.content-page {
  padding: 34px 36px 30px;
  max-width: 1440px;
  margin: 0 auto;
}
.content-page .page-heading {
  margin-bottom: 32px;
}
.room-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.room-card {
  border: 1px solid var(--border);
  padding: 23px;
  border-radius: 12px;
  background: #fff;
}
.room-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.room-card h2 {
  font-size: 18px;
}
.room-card p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.mini-team {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 22px 0;
}
.mini-team .agent-avatar {
  width: 29px;
  height: 29px;
  border: 2px solid white;
  margin-right: -6px;
}
.mini-team .agent-avatar .sprite {
  width: 58px;
  height: 58px;
  left: -14px;
}
.mini-team > span:last-child:not(.agent-avatar) {
  font-size: 10px;
  margin-left: 15px;
  color: var(--muted);
}
.room-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0 0;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 12px;
  color: var(--forest);
}
.room-open:hover {
  text-decoration: underline;
}
.inline-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 17px 19px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #f8f9f5;
  color: #68775e;
  margin-top: 25px;
}
.inline-note > svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.inline-note p {
  font-size: 11px;
  line-height: 1.7;
}
.empty-state {
  padding: 75px 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  flex: 1;
}
.empty-state > svg {
  color: #91a383;
  margin-bottom: 22px;
}
.empty-state h2 {
  font-size: 24px;
  font-weight: 550;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
.empty-state p {
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
  margin: 13px auto 23px;
}
.ads-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--border);
}
.ads-tabs button {
  font-size: 12px;
  padding: 0 2px 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  min-height: 40px;
}
.ads-tabs button.active {
  color: var(--forest);
  border-bottom-color: var(--forest);
  font-weight: 600;
}
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 26px 0;
  margin-bottom: 14px;
}
.metrics-strip > div {
  border-right: 1px solid var(--border);
  padding: 0 24px;
}
.metrics-strip > div:first-child {
  padding-left: 0;
}
.metrics-strip > div:last-child {
  border: 0;
}
.metrics-strip span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.metrics-strip strong {
  font-size: 30px;
  font-weight: 400;
  display: block;
  margin: 8px 0;
  color: #a3ad9b;
}
.metrics-strip small {
  font-size: 10px;
  color: #8d9586;
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.channel-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.channel-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.channel-heading h2 {
  font-size: 16px;
}
.channel-heading p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.channel-heading > .subtle-badge {
  margin-left: auto;
  font-size: 9px;
}
.channel-symbol {
  font-weight: 650;
  font-size: 27px;
  width: 30px;
  display: inline-flex;
  justify-content: center;
  color: var(--forest);
  flex-shrink: 0;
}
.channel-symbol.meta {
  font-size: 37px;
  font-weight: 400;
  line-height: 1;
}
.channel-empty {
  padding: 45px 0 32px;
  color: #8b9d80;
}
.channel-empty h3 {
  color: var(--ink);
  font-size: 16px;
  margin: 18px 0 9px;
}
.channel-empty p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 330px;
}
.channel-card > .button {
  font-size: 11px;
  margin-top: auto;
}
.ads-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 30px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid var(--border);
}
.ads-bottom h2 {
  font-size: 17px;
}
.ads-bottom p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 650px;
}
.ads-bottom .text-button {
  white-space: nowrap;
}
.task-list {
  border-top: 1px solid var(--border);
}
.task-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.task-row:hover {
  background: #f0f4ec;
}
.task-description {
  flex: 1;
  min-width: 0;
}
.task-description strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.task-description small {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.service-list {
  border-top: 1px solid var(--border);
}
.service-list article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.service-initial {
  width: 42px;
  height: 42px;
  background: #edf1e8;
  color: var(--forest);
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 550;
  flex-shrink: 0;
}
.service-list article > div {
  flex: 1;
}
.service-list h2 {
  font-size: 15px;
}
.service-list p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  margin-bottom: 17px;
}
.connection-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.connection-shortcuts > button {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
}
.connection-shortcuts > button:hover {
  background: var(--sage);
}
.connection-shortcuts span {
  font-size: 12px;
  flex: 1;
}
.connection-shortcuts small {
  font-size: 9px;
  color: var(--muted);
}
.calendar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.calendar-heading h2 {
  font-size: 20px;
}
.calendar-heading > span {
  font-size: 11px;
  color: var(--muted);
}
.calendar-week,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-week {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 12px;
}
.calendar-week span {
  padding-left: 12px;
}
.calendar-grid {
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.calendar-day {
  min-height: 100px;
  padding: 10px 7px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.calendar-day.outside {
  background: #f6f7f2;
}
.day-number {
  font-size: 11px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
}
.calendar-day.today .day-number {
  background: var(--forest);
  color: #fff;
  border-radius: 50%;
}
.calendar-entry {
  display: block;
  width: 100%;
  margin-top: 6px;
  text-align: left;
  font-size: 10px;
  line-height: 1.4;
  border-radius: 5px;
  background: #e5eddf;
  color: var(--forest);
  padding: 7px;
  overflow-wrap: anywhere;
}
.calendar-entry > span {
  display: block;
  font-size: 8px;
  opacity: 0.7;
  margin-bottom: 3px;
}
.calendar-note {
  padding: 20px;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--ivory);
  width: min(540px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 25px;
  color: var(--ink);
  box-shadow: 0 20px 90px #142a1430;
  overflow-y: auto;
}
dialog::backdrop {
  background: #14271de0;
  opacity: 0.45;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dialog-header h2 {
  font-size: 22px;
  line-height: 1.3;
}
.dialog-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.7;
}
dialog > p:not(.dialog-description) {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 23px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.dialog-footer > span {
  font-size: 11px;
  color: var(--muted);
}
.dialog-footnote {
  font-size: 10px !important;
  color: #7b8771 !important;
  line-height: 1.7;
  margin: 15px 0 0 !important;
}
.configure-agents {
  display: flex;
  flex-direction: column;
}
.agent-option {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e8ece2;
  padding: 12px 2px;
  cursor: pointer;
  position: relative;
}
.agent-option > .agent-avatar {
  width: 37px;
  height: 37px;
}
.agent-option > .agent-avatar .sprite {
  width: 72px;
  height: 72px;
  left: -17px;
}
.agent-option > span:nth-child(2) {
  flex: 1;
}
.agent-option strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.agent-option small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.agent-option input {
  position: absolute;
  right: 0;
  width: 38px;
  height: 28px;
  opacity: 0;
  cursor: pointer;
}
.toggle-track {
  width: 34px;
  height: 20px;
  position: relative;
  border-radius: 20px;
  background: #dce2d5;
  pointer-events: none;
}
.toggle-track:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.agent-option input:checked + .toggle-track {
  background: var(--forest);
}
.agent-option input:checked + .toggle-track:after {
  transform: translateX(14px);
}
.agent-option input:focus-visible + .toggle-track {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin: 18px 0 8px;
}
.field {
  width: 100%;
  padding: 12px;
  border: 1px solid #cfd7c8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  min-height: 44px;
}
.field::placeholder {
  color: #929b87;
}
.room-agent-options {
  padding: 0;
  border: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.room-agent-options legend {
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 12px;
}
.room-agent-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 32px;
}
.room-agent-options input,
.remember input {
  accent-color: var(--forest);
  width: 16px;
  height: 16px;
}
.form-error {
  color: #9c3f2c !important;
  font-size: 12px !important;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.connection-dialog-icon {
  width: 55px;
  height: 55px;
  border-radius: 13px;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--forest);
  margin: 22px 0;
}
.login-preview > img {
  width: 180px;
  height: auto;
  margin: 17px 0 22px;
}
.login-preview > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.password-field {
  position: relative;
}
.password-field .field {
  padding-right: 44px;
}
.password-field .icon-button {
  position: absolute;
  right: 5px;
  top: 4px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}
.remember small {
  font-size: 10px;
  color: var(--muted);
}
.help-list {
  padding-left: 20px;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 80px);
  transform: translateX(-50%);
  background: var(--forest);
  color: #fff;
  padding: 13px 19px;
  border-radius: 9px;
  z-index: 80;
  box-shadow: 0 5px 25px #173d2922;
  font-size: 12px;
  max-width: calc(100vw - 30px);
  width: max-content;
  line-height: 1.5;
}
#toast[hidden] {
  display: none;
}
@media (min-width: 1600px) {
  .office-scene {
    min-height: 660px;
  }
  .office-layout {
    grid-template-columns: minmax(0, 1fr) 375px;
  }
  .office-main {
    padding: 32px 32px 0;
  }
  .station-caption strong {
    font-size: 12px;
  }
  .station-caption small {
    font-size: 9px;
  }
  .office-instruction {
    font-size: 12px;
  }
  .agent-heading {
    padding-top: 30px;
  }
  .agent-content {
    min-height: 240px;
  }
  .chat-welcome {
    padding: 45px 25px;
  }
  .agent-heading h2 {
    font-size: 20px;
  }
  .chat-welcome > p {
    font-size: 13px;
  }
  .suggestions button {
    font-size: 12px;
  }
}
@media (min-width: 1151px) and (max-width: 1360px) {
  .sidebar {
    width: 210px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-main {
    margin-left: 210px;
    width: calc(100% - 210px);
  }
  .brand {
    width: 164px;
  }
  .profile {
    width: calc(100% + 24px);
    margin-left: -12px;
  }
  .office-layout {
    grid-template-columns: minmax(0, 1fr) 305px;
  }
  .office-main {
    padding: 24px 18px 0;
  }
  .office-main .page-heading {
    gap: 10px;
  }
  .office-main h1 {
    font-size: 21px;
  }
  .office-main .page-heading p {
    font-size: 11px;
  }
  .office-main .button {
    padding: 9px 8px;
    font-size: 10px;
  }
  .office-instruction {
    font-size: 10px;
  }
  .station-caption strong {
    font-size: 10px;
    padding: 4px 7px;
  }
  .station-caption small {
    font-size: 7px;
  }
  .agent-heading {
    padding-left: 16px;
    padding-right: 14px;
    gap: 9px;
  }
  .agent-heading h2 {
    font-size: 16px;
  }
  .agent-heading .agent-avatar {
    width: 39px;
    height: 39px;
  }
  .chat-welcome {
    padding: 30px 18px;
  }
  .agent-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }
  .channel-heading {
    flex-wrap: wrap;
  }
  .channel-heading > .subtle-badge {
    margin-left: 42px;
  }
  .connection-shortcuts {
    grid-template-columns: 1fr;
  }
  .content-page {
    padding: 30px 26px;
  }
  .room-cards {
    gap: 14px;
  }
  .room-card {
    padding: 18px;
  }
  .room-card h2 {
    font-size: 16px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding: 24px 10px 0;
  }
  .brand {
    width: 161px;
    margin-left: 7px;
  }
  .product-label {
    font-size: 8px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .nav-item {
    font-size: 12px;
    padding-left: 12px;
  }
  .profile {
    width: calc(100% + 20px);
    margin-left: -10px;
    padding: 17px 15px;
  }
  .app-main {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
  .office-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .office-main {
    padding: 24px 17px 0;
  }
  .office-main .page-heading {
    flex-wrap: wrap;
    gap: 15px;
  }
  .office-main h1 {
    font-size: 23px;
  }
  .office-main .page-heading p {
    font-size: 11px;
  }
  .office-main .page-heading .button {
    font-size: 10px;
    min-height: 32px;
    padding: 7px 10px;
  }
  .office-instruction {
    font-size: 10px;
  }
  .office-instruction svg {
    display: none;
  }
  .view-switch button {
    font-size: 9px;
    padding: 6px 7px;
  }
  .office-scene {
    min-height: 520px;
  }
  .station-caption strong {
    font-size: 9px;
    padding: 4px 6px;
  }
  .station-caption small {
    font-size: 7px;
  }
  .agent-heading {
    padding-left: 16px;
    padding-right: 12px;
  }
  .agent-heading h2 {
    font-size: 16px;
  }
  .chat-welcome {
    padding: 30px 18px;
  }
  .agent-bottom {
    padding: 13px 15px 10px;
  }
  .room-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content-page {
    padding: 28px 25px;
  }
  .channel-grid {
    grid-template-columns: 1fr;
  }
  .channel-empty {
    padding: 30px 0;
  }
  .ads-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .connection-shortcuts {
    grid-template-columns: 1fr;
  }
  .calendar-day {
    min-height: 85px;
    padding: 6px 4px;
  }
  .calendar-entry {
    font-size: 9px;
    padding: 5px;
  }
  .office-footnote {
    font-size: 8px;
    flex-wrap: wrap;
  }
  .agent-row {
    padding: 14px 7px;
    gap: 10px;
  }
  .agent-row-state {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .topbar {
    padding: 0 24px;
  }
  .service-list article {
    gap: 12px;
  }
  .service-list p {
    font-size: 11px;
  }
  .metrics-strip > div {
    padding: 0 13px;
  }
  .metrics-strip small {
    font-size: 9px;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .sidebar {
    width: 185px;
  }
  .brand {
    width: 150px;
    margin-left: 5px;
  }
  .app-main {
    margin-left: 185px;
    width: calc(100% - 185px);
  }
  .product-label {
    letter-spacing: 0.8px;
  }
  .room-item {
    font-size: 10px;
    gap: 7px;
  }
  .office-layout {
    display: flex;
    flex-direction: column;
  }
  .office-main {
    padding: 23px 22px 0;
  }
  .office-main .page-heading {
    flex-wrap: nowrap;
  }
  .office-scene {
    min-height: 590px;
    flex: none;
  }
  .office-main .page-heading .button {
    min-height: 38px;
  }
  .station-caption strong {
    font-size: 10px;
  }
  .station-caption small {
    font-size: 8px;
  }
  .agent-panel {
    border-left: 0;
    border-top: 1px solid var(--border);
    max-height: none;
    min-height: 470px;
    margin: 12px 22px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
  }
  .agent-content {
    min-height: 200px;
    max-height: 350px;
  }
  .agent-heading {
    padding: 20px;
  }
  .chat-welcome {
    padding: 25px;
  }
  .suggestions {
    flex-direction: row;
  }
  .suggestions button {
    flex: 1;
  }
  .agent-bottom {
    padding: 15px 20px;
  }
  .composer textarea {
    min-height: 28px;
  }
  .agent-heading .agent-avatar {
    width: 44px;
    height: 44px;
  }
  .agent-heading h2 {
    font-size: 19px;
  }
  .content-page .page-heading {
    flex-wrap: wrap;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }
  .metrics-strip > div:nth-child(3) {
    padding-left: 0;
  }
  .metrics-strip > div:nth-child(2) {
    border: 0;
  }
  .room-cards {
    grid-template-columns: 1fr;
  }
  .room-card {
    padding: 22px;
  }
  .mini-team {
    margin: 16px 0;
  }
  .service-list .subtle-badge {
    display: none;
  }
  .topbar {
    padding: 0 20px;
  }
  .breadcrumb > span {
    display: none;
  }
  .calendar-day {
    min-height: 70px;
  }
  .calendar-entry {
    font-size: 8px;
  }
  .connection-shortcuts small {
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  .sidebar {
    transform: translateX(-100%);
    width: 258px;
    padding: 24px 17px 0;
    transition: transform 0.22s;
  }
  .brand {
    width: 180px;
    margin-left: 7px;
  }
  .product-label {
    font-size: 9px;
  }
  .nav-item {
    font-size: 13px;
  }
  .room-item {
    font-size: 12px;
    min-height: 44px;
  }
  .profile {
    width: calc(100% + 34px);
    margin-left: -17px;
    padding: 19px;
  }
  .nav-open .sidebar {
    transform: translateX(0);
  }
  .nav-open .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: #20301f66;
    z-index: 29;
  }
  .app-main {
    margin-left: 0;
    width: 100%;
  }
  .topbar {
    height: 58px;
    min-height: 58px;
    padding: 0 14px;
    gap: 8px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .breadcrumb {
    flex: 1;
    font-size: 11px;
    gap: 0;
  }
  .breadcrumb > span,
  .breadcrumb > svg {
    display: none;
  }
  .topbar-actions {
    gap: 4px;
  }
  .demo-badge {
    font-size: 8px;
    padding: 5px 6px;
  }
  .topbar-actions > .icon-button {
    width: 30px;
  }
  .office-layout {
    display: block;
    min-height: calc(100dvh - 90px);
  }
  .office-main {
    padding: 23px 16px 0;
  }
  .office-main .page-heading {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 21px;
    align-items: flex-start;
  }
  .office-main .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  .office-main h1 {
    font-size: 22px;
    letter-spacing: -0.6px;
  }
  .office-main .page-heading p {
    font-size: 10px;
    line-height: 1.7;
    margin-top: 6px;
    max-width: 230px;
  }
  .office-main .page-heading .button {
    font-size: 0;
    gap: 0;
    width: 36px;
    min-height: 36px;
    padding: 9px;
    margin-top: 22px;
  }
  .office-main .page-heading .button svg {
    width: 18px;
    height: 18px;
  }
  .office-instruction {
    font-size: 10px;
  }
  .office-instruction svg {
    display: inline-block;
    width: 14px;
  }
  .office-toolbar {
    margin-bottom: 12px;
  }
  .view-switch button {
    font-size: 9px;
    padding: 5px 7px;
    min-height: 30px;
  }
  .office-scene {
    min-height: 540px;
    height: calc(100dvh - 285px);
    max-height: 720px;
    flex: none;
    border-radius: 11px;
    background-size: auto 100%;
    background-position: center;
  }
  .wall-logo {
    top: 22%;
    left: 29%;
    width: 42%;
  }
  .station-caption {
    top: -22px;
  }
  .station-caption strong {
    font-size: 10px;
    padding: 4px 8px;
  }
  .station-caption small {
    font-size: 8px;
  }
  .station-caption small > span {
    display: none;
  }
  .scene-caption {
    display: none;
  }
  .office-footnote {
    font-size: 8px;
    padding: 12px 0 15px;
    gap: 7px;
  }
  .agent-panel {
    display: none;
    max-height: none;
    min-height: calc(100dvh - 90px);
    border: 0;
  }
  .show-panel .office-main {
    display: none;
  }
  .show-panel .agent-panel {
    display: flex;
    max-height: calc(100dvh - 90px);
    height: calc(100dvh - 90px);
  }
  .agent-heading {
    padding: 18px 17px 10px;
    gap: 11px;
  }
  .panel-back {
    display: inline-flex;
    margin-left: -7px;
    width: 29px;
  }
  .agent-heading h2 {
    font-size: 19px;
  }
  .agent-heading p {
    font-size: 11px;
  }
  .agent-context {
    margin-left: 18px;
    margin-right: 18px;
    font-size: 10px;
  }
  .chat-welcome {
    padding: 30px 23px;
  }
  .chat-welcome h3 {
    font-size: 23px;
  }
  .chat-welcome > p {
    font-size: 13px;
  }
  .suggestions button {
    font-size: 12px;
    min-height: 46px;
  }
  .chat-welcome .demo-explanation {
    font-size: 11px;
  }
  .composer textarea {
    font-size: 14px;
    min-height: 43px;
  }
  .agent-bottom {
    padding: 13px 18px 10px;
  }
  .composer-hint {
    font-size: 9px;
  }
  .autonomy summary {
    font-size: 12px;
  }
  .autonomy-mode {
    font-size: 10px;
  }
  .pause-button {
    font-size: 11px;
    min-height: 40px;
  }
  .send-button {
    width: 37px;
    height: 37px;
  }
  .agent-content {
    min-height: 120px;
  }
  .message {
    font-size: 13px;
  }
  .message-author {
    font-size: 10px;
  }
  .agents-list {
    min-height: 440px;
  }
  .agent-row {
    padding: 15px 8px;
    gap: 11px;
  }
  .agent-row .agent-avatar {
    width: 41px;
    height: 41px;
  }
  .agent-row small {
    font-size: 11px;
  }
  .agent-row strong {
    font-size: 13px;
  }
  .app-footer {
    padding: 10px 16px;
    font-size: 8px;
    gap: 5px;
  }
  .content-page {
    padding: 25px 18px;
  }
  .content-page h1 {
    font-size: 26px;
  }
  .content-page .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-bottom: 25px;
  }
  .content-page .page-heading p {
    font-size: 12px;
  }
  .content-page .page-heading .button {
    font-size: 12px;
  }
  .room-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .room-card {
    padding: 22px;
  }
  .room-card h2 {
    font-size: 20px;
  }
  .room-card p {
    font-size: 12px;
  }
  .room-open {
    font-size: 13px;
    min-height: 44px;
  }
  .inline-note {
    padding: 14px;
    gap: 8px;
  }
  .inline-note p {
    font-size: 11px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 23px 0;
    gap: 24px 0;
  }
  .metrics-strip > div {
    padding: 0 18px;
  }
  .metrics-strip > div:nth-child(3) {
    padding-left: 0;
  }
  .metrics-strip > div:nth-child(2) {
    border: 0;
  }
  .metrics-strip strong {
    font-size: 28px;
  }
  .metrics-strip small {
    font-size: 9px;
  }
  .ads-tabs {
    gap: 20px;
  }
  .ads-tabs button {
    font-size: 12px;
  }
  .channel-grid {
    gap: 16px;
  }
  .channel-card {
    padding: 19px;
  }
  .channel-heading {
    gap: 10px;
    flex-wrap: wrap;
  }
  .channel-heading > .subtle-badge {
    margin-left: auto;
    font-size: 9px;
  }
  .channel-heading h2 {
    font-size: 16px;
  }
  .channel-heading p {
    font-size: 9px;
    max-width: 170px;
  }
  .channel-empty {
    padding: 30px 0 22px;
  }
  .channel-empty h3 {
    font-size: 16px;
  }
  .channel-card > .button {
    font-size: 11px;
    min-height: 44px;
  }
  .ads-bottom {
    padding-top: 23px;
    margin-top: 25px;
    gap: 10px;
  }
  .ads-bottom h2 {
    font-size: 18px;
    line-height: 1.5;
  }
  .ads-bottom p {
    font-size: 12px;
  }
  .service-list article {
    gap: 11px;
    padding: 18px 0;
    flex-wrap: wrap;
  }
  .service-list article > div {
    min-width: 185px;
  }
  .service-list h2 {
    font-size: 14px;
  }
  .service-list p {
    font-size: 11px;
  }
  .service-list .subtle-badge {
    margin-left: 52px;
    font-size: 9px;
  }
  .service-list .icon-button {
    margin-left: auto;
  }
  .service-initial {
    width: 39px;
    height: 39px;
  }
  .section-title {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-title h2 {
    font-size: 19px;
  }
  .connection-shortcuts {
    gap: 10px;
  }
  .connection-shortcuts > button {
    min-height: 60px;
  }
  .connection-shortcuts small {
    margin-left: auto;
  }
  .task-row {
    gap: 10px;
    flex-wrap: wrap;
  }
  .task-description {
    min-width: 180px;
  }
  .task-row > .subtle-badge {
    margin-left: 54px;
  }
  .task-row > svg {
    margin-left: auto;
  }
  .task-description strong {
    font-size: 13px;
  }
  .task-description small {
    font-size: 10px;
  }
  .empty-state {
    padding: 55px 15px;
  }
  .empty-state h2 {
    font-size: 24px;
    max-width: 300px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .calendar-heading h2 {
    font-size: 19px;
  }
  .calendar-day {
    min-height: 73px;
    padding: 5px 2px;
  }
  .calendar-week span {
    font-size: 10px;
    padding-left: 5px;
  }
  .day-number {
    font-size: 10px;
    width: 20px;
    height: 20px;
  }
  .calendar-entry {
    font-size: 8px;
    padding: 4px;
    line-height: 1.3;
  }
  .calendar-entry > span {
    font-size: 7px;
  }
  .calendar-heading > span {
    font-size: 10px;
  }
  .calendar-page .inline-note {
    margin-top: 15px;
  }
  dialog {
    padding: 21px;
    max-height: calc(100dvh - 30px);
    border-radius: 13px;
  }
  .dialog-header h2 {
    font-size: 22px;
  }
  .dialog-description {
    font-size: 12px;
  }
  .agent-option {
    min-height: 61px;
  }
  .agent-option strong {
    font-size: 12px;
  }
  .agent-option small {
    font-size: 10px;
  }
  .dialog-footer {
    gap: 12px;
  }
  .dialog-footer > span {
    font-size: 10px;
  }
  .dialog-footer .button {
    min-height: 44px;
    font-size: 12px;
  }
  .field {
    font-size: 16px;
  }
  .room-agent-options label {
    font-size: 11px;
    min-height: 40px;
  }
  .remember {
    font-size: 11px;
    line-height: 1.7;
  }
  .form-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #toast {
    left: 50%;
    font-size: 12px;
    bottom: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  :root:not(.explicit-motion) *,
  :root:not(.explicit-motion) *:before,
  :root:not(.explicit-motion) *:after {
    animation: none !important;
  }
}

/* Mantiene visibili le sale anche su desktop con altezza ridotta. */
.sidebar {
  overflow-y: auto;
}
.room-nav {
  flex-shrink: 0;
  min-height: 132px;
  max-height: 30vh;
}
.sidebar-bottom {
  padding-top: 16px;
}
.main-nav {
  gap: 3px;
  padding-bottom: 18px;
}
.nav-item {
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 40px;
}
@media (max-height: 780px) {
  .sidebar .brand {
    margin-bottom: 16px;
  }
  .sidebar .preview-note {
    display: none;
  }
  .sidebar .profile {
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .sidebar .sidebar-bottom {
    padding-top: 12px;
  }
  .sidebar .main-nav {
    gap: 2px;
  }
}

.mobile-more-agents {
  display: none;
}
@media (max-width: 700px) {
  .mobile-more-agents {
    display: flex;
    position: absolute;
    bottom: 12px;
    left: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    min-height: 38px;
    font-size: 11px;
    color: var(--forest);
    border-radius: 7px;
    background: #fffdfcef;
    z-index: 5;
  }
  .mobile-more-agents > span {
    font-size: 10px;
    opacity: 0.7;
  }
  .mobile-more-agents > svg:last-child {
    margin-left: auto;
  }
  .mobile-more-agents > svg:first-child {
    margin-right: auto;
  }
}

/* Perspective layout: each desk is anchored to a floor baseline, independent
   of viewport width. The rear row is smaller and sits further into the room. */
.office-scene {
  container-type: size;
}
.workstations {
  position: absolute;
  inset: 0;
}
.workstation {
  position: absolute;
  left: var(--seat-x);
  bottom: var(--seat-bottom);
  width: min(var(--seat-width), var(--seat-height));
  translate: -50% 0;
  aspect-ratio: 1;
}
.workstation.seat-back {
  z-index: 1;
}
.workstation.seat-front {
  z-index: 2;
}
.workstation:hover {
  transform: none;
}
.station-floor {
  bottom: 2%;
  height: 13%;
  left: 8%;
  right: 8%;
  background: #4c34151f;
  box-shadow: 0 3px 8px #4c34151f;
}
@media (max-width: 700px) {
  .workstation {
    left: var(--mobile-x);
    bottom: var(--mobile-bottom);
    width: min(var(--mobile-width), var(--mobile-height));
  }
  .workstations.count-7 .workstation:nth-child(-n + 4),
  .workstations.count-8 .workstation:nth-child(-n + 4) {
    display: none;
  }
  .office-scene[data-scene-page="0"] .workstation:nth-child(-n + 4) {
    display: block;
  }
  .office-scene[data-scene-page="0"] .workstation:nth-child(n + 5) {
    display: none;
  }
}
