:root {
  --paper: #f6f5f0;
  --white: #fff;
  --ink: #202725;
  --muted: #7d827b;
  --border: #e7e7df;
  --accent: #df765b;
  --accent-dark: #c75f45;
  --yellow: #f1e59d;
  --sidebar: #222a27;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  display: block;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
pre:focus-visible {
  outline: 3px solid #e3a489;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  background: var(--sidebar);
  color: #f9faf3;
  width: 234px;
  flex-shrink: 0;
  padding: 35px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow-y: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  font-weight: 680;
  letter-spacing: -1.2px;
  width: fit-content;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  transform: none;
}
.brand-period {
  color: #b5dbcf;
}
.brand-caption {
  font-size: 11px;
  color: #a1aaa1;
  margin: 9px 0 35px 45px;
  letter-spacing: 0.1px;
}
.workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  border-top: 1px solid #3a423c;
  border-bottom: 1px solid #3a423c;
  margin-bottom: 29px;
  font-size: 12px;
  font-weight: 570;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  background: #465248;
  border: 1px solid #657061;
  border-radius: 8px;
  height: 31px;
  width: 31px;
  font-weight: 650;
  font-size: 13px;
}
.workspace-subtitle {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #9aa499;
  margin-top: 4px;
}
.workspace-dot {
  width: 5px;
  height: 5px;
  background: #adba9c;
  border-radius: 50%;
  margin-left: auto;
}
.section-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 650;
  color: #8f9a8f;
  padding: 0 11px;
  display: block;
}
.nav-group {
  display: grid;
  gap: 5px;
  margin-top: 13px;
}
.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  border: 0;
  border-radius: 7px;
  padding: 12px 11px;
  background: transparent;
  color: #b9c0b7;
  font-size: 12px;
  text-align: left;
  min-height: 41px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-item:hover {
  background: #303a32;
  color: #fff;
}
.nav-item.active {
  background: #3c4639;
  color: #f7f6e5;
}
.nav-item.active svg {
  color: var(--yellow);
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-item > span:nth-child(2) {
  flex: 1;
}
.nav-count {
  font-size: 10px;
  color: #aeb8a7;
  background: #313a32;
  border-radius: 4px;
  min-width: 21px;
  line-height: 20px;
  text-align: center;
  padding: 0 4px;
}
.active .nav-count {
  background: #566149;
  color: #e7edda;
}
.status-ring {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  margin: 0 2px;
  flex-shrink: 0;
}
.sites-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 0;
  background: transparent;
  color: #92978f;
  border-radius: 6px;
  padding: 0;
}
.icon-button:hover {
  background: #eeefe9;
  color: var(--ink);
}
.sidebar-plus {
  color: #9ca896;
  width: 20px;
  height: 20px;
}
.sidebar-plus:hover {
  background: #3c4639;
  color: #fff;
}
.sidebar-plus svg {
  width: 14px;
  height: 14px;
}
.project-nav {
  margin-top: 6px;
}
.project-item {
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 36px;
}
.site-avatar {
  display: grid;
  place-items: center;
  height: 21px;
  width: 21px;
  border-radius: 5px;
  background: #394638;
  color: #c5d3b9;
  border: 1px solid #53604b;
  font-size: 9px;
  font-weight: 600;
}
.site-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.sidebar-tip {
  border: 1px solid #46503f;
  background: #2c352b;
  padding: 17px 15px;
  border-radius: 9px;
  position: relative;
}
.tip-spark {
  color: var(--yellow);
  font-size: 24px;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.sidebar-tip strong {
  font-size: 11px;
  font-weight: 570;
}
.sidebar-tip p {
  font-size: 10px;
  color: #a7b09e;
  line-height: 1.7;
  margin: 8px 0 15px;
}
.sidebar-tip a {
  color: #e1e6c7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 550;
}
.sidebar-tip a svg {
  width: 13px;
  height: 13px;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 24px 5px 0;
  color: #788574;
  font-size: 9px;
  line-height: 1.5;
}
.mini-brand {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}
.version {
  margin-left: auto;
  font-size: 8px;
  color: #687563;
}
.main-content {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 73px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  background: #f9f8f4;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: #8c9088;
}
.breadcrumb strong {
  font-weight: 550;
  color: #414a41;
}
.breadcrumb-mark {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}
.breadcrumb-slash {
  color: #c6c9be;
  font-size: 14px;
}
.local-label {
  font-size: 10px;
  color: #858d7e;
  display: flex;
  align-items: center;
  gap: 7px;
}
.local-label > span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #8a9e73;
}
.page-content {
  padding: 36px 39px 0;
  max-width: 1530px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 4px 0 28px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: #929587;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.35px;
  line-height: 1.15;
  font-weight: 620;
  margin: 12px 0 12px;
}
h1 > span,
.install-dialog h2 > span {
  color: var(--accent);
}
.page-heading p {
  font-size: 12px;
  color: #82877d;
  margin: 0;
  line-height: 1.5;
}
.heading-actions {
  display: flex;
  gap: 9px;
  padding-top: 16px;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 550;
  border: 1px solid transparent;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button svg {
  width: 15px;
  height: 15px;
}
.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 3px #b8845c12;
}
.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.secondary {
  background: #fff;
  border-color: #e2e4d9;
  color: #4e5848;
}
.secondary:hover {
  background: #f0f1e9;
  border-color: #cfd5c5;
}
.small {
  min-height: 33px;
  padding: 0 11px;
  font-size: 10px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 27px;
}
.stat {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 17px 20px 18px;
  background: #fcfcf9;
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #6d7665;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 6px;
}
.stat-icon svg {
  width: 14px;
  height: 14px;
}
.all-stat {
  color: #9a8e44;
  background: #f4efd7;
}
.open-stat {
  color: #c78151;
  background: #f7eadc;
}
.open-stat .status-ring {
  height: 11px;
  width: 11px;
  border-width: 1.3px;
}
.closed-stat {
  color: #728a63;
  background: #edf1e7;
}
.stat-bottom {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 11px;
}
.stat-bottom strong {
  font-size: 29px;
  font-weight: 530;
  letter-spacing: -1px;
}
.stat-bottom > span {
  font-size: 10px;
  color: #9b9e93;
}
.ticket-workspace {
  display: grid;
  grid-template-columns: minmax(325px, 0.92fr) minmax(340px, 1.1fr);
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  min-height: 492px;
  height: min(61vh, 670px);
  box-shadow: 0 2px 4px #303b2403;
}
.ticket-list-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 9px;
}
.list-heading h2 {
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.list-heading h2 > span {
  font-size: 10px;
  font-weight: 500;
  color: #8b9580;
  background: #f1f3ec;
  line-height: 20px;
  min-width: 22px;
  text-align: center;
  border-radius: 4px;
  padding: 0 4px;
}
.list-heading .icon-button {
  width: 26px;
  height: 26px;
}
.list-heading .icon-button svg {
  width: 14px;
  height: 14px;
}
.filters {
  padding: 0 20px 15px;
  border-bottom: 1px solid #eef0e8;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e6e9df;
  border-radius: 5px;
  padding: 0 10px;
  height: 34px;
  background: #fafbf8;
}
.search-field svg {
  width: 14px;
  height: 14px;
  color: #9ca58f;
}
.search-field input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 10px;
  color: #3b4635;
}
.search-field input::placeholder {
  color: #a0a696;
}
.filter-selects {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}
.filter-selects select {
  border: 1px solid #e6e9df;
  border-radius: 5px;
  font-size: 9px;
  color: #79836e;
  padding: 6px 26px 6px 8px;
  background-color: #fff;
  min-width: 0;
  max-width: 55%;
}
.ticket-list {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.ticket-row {
  display: block;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0e7;
  padding: 19px 20px;
  width: 100%;
  position: relative;
}
.ticket-row:hover {
  background: #fafbf7;
}
.ticket-row.selected {
  background: #f6f7ef;
}
.ticket-row.selected:before {
  position: absolute;
  content: "";
  inset: 0 auto 0 0;
  width: 3px;
  background: #c6b969;
}
.ticket-row-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #8c967f;
}
.ticket-note-icon {
  background: #f4e8ab;
  color: #8b8043;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.ticket-note-icon svg {
  width: 12px;
  height: 12px;
}
.color-pink {
  background: #f7d4d6;
  color: #b36c74;
}
.color-blue {
  background: #dbe8f4;
  color: #688bac;
}
.color-green {
  background: #e1ebcf;
  color: #7b925a;
}
.ticket-short-id {
  color: #b0b6a7;
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.5px;
}
.ticket-row h3 {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.6;
  margin: 10px 0 11px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #3c4735;
}
.ticket-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a0a793;
  font-size: 9px;
  gap: 8px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 500;
  color: #b0844c;
  background: #f7f0e3;
  border: 1px solid #f1e5cf;
  padding: 3px 6px;
  border-radius: 4px;
}
.status-badge.closed {
  color: #748a60;
  background: #f0f3e9;
  border-color: #e3e9d6;
}
.status-badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.reply-count {
  margin-left: auto;
}
.list-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 19px;
  border-top: 1px solid #edf0e7;
  font-size: 8px;
  color: #a0a794;
  background: #fdfefb;
}
.live-indicator {
  height: 4px;
  width: 4px;
  background: #a3b18d;
  border-radius: 50%;
}
.footer-key {
  margin-left: auto;
  color: #bac0b2;
  font-size: 8px;
}
.ticket-detail {
  min-width: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #fdfefb;
}
.list-empty {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 26px 28px;
}
.note-illustration {
  width: 62px;
  height: 66px;
  background: #f4e8a6;
  border-radius: 2px;
  transform: rotate(-8deg);
  box-shadow: 6px 8px 0 #f8f4db;
  display: grid;
  place-items: center;
  color: #c2b367;
  position: relative;
  margin: 0 0 27px;
}
.note-illustration:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-width: 0 0 12px 12px;
  border-style: solid;
  border-color: transparent transparent white #e2d48e;
}
.note-illustration svg {
  width: 26px;
  height: 26px;
}
.list-empty h3 {
  font-weight: 550;
  font-size: 13px;
  margin: 0 0 9px;
}
.list-empty p {
  font-size: 10px;
  line-height: 1.8;
  color: #959d8b;
  margin: 0;
  max-width: 250px;
}
.list-empty .text-button {
  margin-top: 16px;
}
.text-button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #b27c53;
  border: 0;
  padding: 0;
  background: transparent;
  font-weight: 550;
}
.text-button svg {
  width: 12px;
  height: 12px;
}
.detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 30px;
  text-align: center;
  min-height: 330px;
}
.browser-illustration {
  height: 126px;
  width: 185px;
  border: 1px solid #e8ebdf;
  border-radius: 6px;
  background: #f7f9f1;
  margin-bottom: 31px;
  position: relative;
  transform: rotate(-3deg);
}
.browser-dots {
  height: 18px;
  border-bottom: 1px solid #e8ebdf;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
}
.browser-dots > i {
  height: 3px;
  width: 3px;
  background: #d9dfce;
  border-radius: 50%;
}
.browser-line {
  width: 75px;
  height: 5px;
  border-radius: 1px;
  background: #e6ebdc;
  margin: 19px 16px 9px;
}
.browser-line.short {
  width: 51px;
  margin-top: 0;
  height: 4px;
}
.browser-block {
  height: 31px;
  width: 71px;
  border-radius: 2px;
  background: #eaf0e1;
  margin: 13px 16px;
}
.illustration-note {
  position: absolute;
  width: 75px;
  height: 75px;
  background: #f1e7ac;
  border-radius: 2px;
  right: -19px;
  top: 47px;
  transform: rotate(12deg);
  box-shadow: 0 7px 14px #4b58200b;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 19px 13px;
}
.illustration-note i {
  height: 3px;
  background: #d4c78a;
  border-radius: 1px;
  width: 100%;
}
.illustration-note i:last-child {
  width: 60%;
}
.illustration-cursor {
  position: absolute;
  bottom: 8px;
  right: 0;
  color: #839477;
  transform: rotate(-6deg);
}
.detail-empty .eyebrow {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #b1b9a5;
}
.detail-empty h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.45px;
  line-height: 1.5;
  margin: 10px 0;
}
.detail-empty p {
  font-size: 10px;
  color: #a0aa93;
  line-height: 1.8;
  max-width: 250px;
  margin: 0;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #edf0e7;
  min-height: 57px;
  padding: 0 23px;
  gap: 10px;
}
.detail-ticket-id {
  font-size: 9px;
  color: #9ca68f;
  letter-spacing: 0.6px;
}
.detail-status-button {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e3e8d8;
  background: #f8faf4;
  color: #7c8f65;
  border-radius: 5px;
  min-height: 29px;
  padding: 0 9px;
  font-size: 9px;
}
.detail-status-button:hover {
  background: #eef3e5;
}
.detail-status-button svg {
  width: 12px;
  height: 12px;
}
.detail-body {
  padding: 24px 24px 18px;
}
.detail-site {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: #8a947f;
  margin-bottom: 14px;
}
.detail-site .site-avatar {
  background: #f0f3e8;
  color: #94a47d;
  border-color: #e6ebdb;
}
.detail-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.35px;
  margin: 0 0 15px;
  color: #35422e;
}
.detail-page-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #97a287;
  width: fit-content;
  max-width: 100%;
  line-height: 1.5;
}
.detail-page-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.detail-page-link svg {
  width: 11px;
  height: 11px;
}
.detail-page-link:hover {
  color: #62764c;
}
.detail-date {
  font-size: 8px;
  color: #b1b9a7;
  margin: 10px 0 0;
}
.conversation {
  padding: 0 24px 20px;
  flex: 1;
}
.conversation-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid #e9eee0;
  padding-top: 18px;
  font-size: 10px;
  font-weight: 550;
  margin-bottom: 18px;
  color: #728262;
}
.conversation-heading span {
  font-size: 8px;
  color: #9eab8e;
  background: #edf2e5;
  min-width: 18px;
  padding: 3px 4px;
  border-radius: 3px;
  text-align: center;
}
.reply {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 18px;
}
.reply-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 8px;
  background: #e7ecdd;
  color: #82966d;
}
.reply-main {
  min-width: 0;
  flex: 1;
}
.reply-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #7f8f6c;
  line-height: 24px;
}
.reply-meta time {
  font-size: 8px;
  color: #b1bba5;
  font-weight: 400;
}
.reply-message {
  font-size: 11px;
  color: #697b57;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 1px 0 0;
}
.conversation-empty {
  font-size: 10px;
  line-height: 1.7;
  color: #a4ae97;
  margin-bottom: 10px;
}
.reply-composer {
  padding: 17px 24px 20px;
  border-top: 1px solid #e9eee0;
  background: #fafcf6;
}
.reply-composer label {
  display: block;
  font-size: 9px;
  color: #839272;
  font-weight: 550;
  margin-bottom: 9px;
}
.reply-composer textarea {
  display: block;
  width: 100%;
  min-height: 75px;
  max-height: 200px;
  resize: vertical;
  border: 1px solid #e0e7d4;
  border-radius: 5px;
  padding: 11px;
  background: #fff;
  color: #4d613d;
  font-size: 11px;
  line-height: 1.6;
}
.reply-composer textarea::placeholder {
  color: #a9b29b;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}
.composer-hint {
  font-size: 8px;
  color: #b1bca3;
}
.composer-bottom .primary {
  background: #6e805b;
  border-color: #6e805b;
}
.composer-bottom .primary:hover {
  background: #5d7049;
}
.composer-bottom .button {
  min-height: 31px;
  font-size: 9px;
  padding: 0 11px;
}
.composer-bottom svg {
  height: 12px;
  width: 12px;
}
.page-footer {
  display: flex;
  justify-content: space-between;
  padding: 19px 0 20px;
  font-size: 9px;
  color: #a9ae9f;
  align-items: center;
}
.page-footer button {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 9px;
  color: #8a947d;
  border: 0;
  padding: 0;
  background: transparent;
}
.page-footer svg {
  height: 12px;
  width: 12px;
}
.notice {
  padding: 11px 14px;
  border: 1px solid #e9c6ba;
  border-radius: 6px;
  background: #fff4ee;
  color: #9c5941;
  font-size: 11px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #a3ad96;
  font-size: 11px;
  padding: 60px 20px;
}
.loading-dot {
  width: 7px;
  height: 7px;
  background: #c8c99d;
  border-radius: 50%;
  animation: pulse 1.3s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.install-dialog {
  padding: 28px 31px 22px;
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  border: 1px solid #e1e5d6;
  border-radius: 13px;
  box-shadow: 0 25px 80px #18241a2b;
  background: #fcfcf8;
  color: var(--ink);
}
.install-dialog::backdrop {
  background: #1d282b70;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.dialog-top .eyebrow {
  font-size: 8px;
}
.dialog-top .icon-button {
  width: 25px;
  height: 25px;
}
.install-dialog h2 {
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.9px;
  margin: 17px 0 9px;
}
.dialog-intro {
  font-size: 11px;
  line-height: 1.7;
  color: #929a86;
  margin: 0;
}
.install-steps {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0;
  color: #7e8e6e;
  font-size: 9px;
}
.install-steps span {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.install-steps b {
  width: 20px;
  height: 20px;
  background: #edf0df;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 500;
  color: #96a382;
}
.install-steps i {
  display: block;
  flex: 1;
  height: 1px;
  background: #e4e9d9;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 13px;
}
.form-grid label {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #71825e;
}
.form-grid input,
.login-card input {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #e0e6d5;
  border-radius: 5px;
  color: #4c613c;
  padding: 10px 11px;
  font-size: 11px;
  margin-top: 8px;
}
.form-grid input::placeholder {
  color: #adb79e;
}
.form-error {
  font-size: 10px;
  line-height: 1.6;
  color: #ae6246;
  min-height: 16px;
  margin: 7px 0;
}
.installation-block {
  border-top: 1px solid #e6ebdc;
  margin-top: 25px;
  padding-top: 21px;
}
.installation-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 550;
  color: #72865f;
}
.installation-label select {
  font-size: 10px;
  color: #8d9e78;
  border: 1px solid #dde5cf;
  background: white;
  border-radius: 4px;
  padding: 5px;
  max-width: 220px;
}
.installation-block p {
  color: #9ca88e;
  font-size: 10px;
  line-height: 1.7;
  margin: 13px 0 10px;
}
.installation-block p code {
  font-size: 9px;
  color: #7f9366;
  background: #f0f4e7;
  padding: 2px 3px;
  border-radius: 3px;
}
.installation-block pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    10px/1.9 ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  color: #718555;
  background: #f0f3e7;
  border: 1px solid #e5ebd7;
  border-radius: 5px;
  padding: 14px;
  margin: 0;
  user-select: all;
}
.installation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
}
.installation-footer > span {
  font-size: 9px;
  color: #a9b29a;
}
.installation-block .install-disclosure {
  font-size: 9px;
  color: #a5ad9a;
  margin-top: 16px;
}
.dialog-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #a1ad90;
  border-top: 1px solid #e6ebdc;
  margin-top: 21px;
  padding-top: 16px;
  flex-wrap: wrap;
}
.dialog-footnote svg {
  width: 13px;
  height: 13px;
}
.dialog-footnote a {
  color: #778f59;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #edf0e6;
  padding: 25px;
}
.login-card {
  padding: 38px;
  background: #fdfef9;
  width: min(410px, 100%);
  border: 1px solid #dfe6d1;
  border-radius: 14px;
  box-shadow: 0 10px 50px #4555300a;
}
.login-brand {
  font-size: 30px;
  margin-bottom: 39px;
  color: #2c3b26;
}
.login-brand .brand-mark {
  width: 40px;
  height: 40px;
}
.login-brand .brand-period {
  color: #647b72;
}
.login-card h1 {
  font-size: 25px;
  margin: 14px 0;
}
.login-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #8f9d7e;
}
.login-card label {
  display: block;
  font-size: 11px;
  color: #7b8d65;
  margin-top: 25px;
}
.login-card .button {
  width: 100%;
  margin-top: 8px;
}
.mobile-back {
  display: none;
}
.page-error-close {
  float: right;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0 0 0 10px;
  font-size: 15px;
}
@media (min-width: 1650px) {
  .sidebar {
    width: 252px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .page-content {
    padding-top: 45px;
  }
  .ticket-workspace {
    min-height: 550px;
  }
  .page-heading h1 {
    font-size: 38px;
  }
  .stats {
    margin-bottom: 30px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 207px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-content {
    padding-left: 27px;
    padding-right: 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  h1 {
    font-size: 28px;
  }
  .heading-actions {
    gap: 6px;
  }
  .heading-actions .button {
    font-size: 10px;
    padding: 0 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat-bottom {
    gap: 10px;
  }
  .stat-bottom > span {
    font-size: 8px;
  }
  .ticket-workspace {
    grid-template-columns: minmax(285px, 0.95fr) minmax(295px, 1.05fr);
  }
  .detail-body,
  .conversation {
    padding-left: 20px;
    padding-right: 20px;
  }
  .reply-composer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-heading {
    gap: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
}
@media (max-width: 980px) {
  .sidebar {
    width: 175px;
    padding: 28px 12px 18px;
  }
  .sidebar .brand {
    font-size: 22px;
    gap: 7px;
  }
  .sidebar .brand-mark {
    width: 29px;
    height: 29px;
  }
  .brand-caption {
    font-size: 8px;
    margin-left: 37px;
  }
  .workspace-label {
    font-size: 10px;
    gap: 7px;
  }
  .workspace-subtitle {
    font-size: 8px;
  }
  .workspace-avatar {
    width: 26px;
    height: 26px;
  }
  .nav-item {
    font-size: 10px;
    padding-left: 9px;
    padding-right: 9px;
    gap: 8px;
  }
  .section-label {
    font-size: 8px;
    padding-left: 9px;
  }
  .sidebar-tip {
    padding: 14px 12px;
  }
  .sidebar-tip strong {
    font-size: 10px;
  }
  .sidebar-tip p,
  .sidebar-tip a {
    font-size: 9px;
  }
  .sidebar-footer {
    font-size: 8px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 5px;
    flex-direction: column;
  }
  .heading-actions .button {
    min-height: 32px;
  }
  .page-content {
    padding: 30px 23px 0;
  }
  .topbar {
    padding: 0 23px;
    height: 66px;
  }
  .ticket-workspace {
    grid-template-columns: minmax(245px, 0.95fr) minmax(255px, 1fr);
  }
  .filters,
  .list-heading {
    padding-left: 15px;
    padding-right: 15px;
  }
  .ticket-row {
    padding: 17px 15px;
  }
  .stat-label {
    font-size: 9px;
    gap: 6px;
  }
  .stat {
    padding: 13px 12px;
  }
  .stat-bottom > span {
    display: none;
  }
  .stat-bottom strong {
    font-size: 25px;
  }
  .stats {
    gap: 10px;
  }
  .detail-empty {
    padding: 25px 20px;
  }
  .detail-empty h3 {
    font-size: 15px;
  }
  .detail-empty p {
    font-size: 9px;
  }
  .browser-illustration {
    transform: scale(0.88) rotate(-3deg);
    margin-bottom: 15px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 64px;
    padding: 22px 10px 16px;
    overflow: visible;
  }
  .sidebar .brand {
    gap: 0;
  }
  .sidebar .brand > span:last-child,
  .brand-caption,
  .workspace-label,
  .section-label,
  .sidebar-bottom,
  .nav-item > span:nth-child(2),
  .nav-count {
    display: none;
  }
  .sidebar .brand-mark {
    width: 34px;
    height: 34px;
  }
  .nav-group {
    margin-top: 30px;
    gap: 12px;
  }
  .nav-item {
    justify-content: center;
    padding: 10px;
    min-height: 38px;
  }
  .nav-item svg {
    width: 19px;
    height: 19px;
  }
  .project-nav {
    margin-top: 28px;
    border-top: 1px solid #42503a;
    padding-top: 18px;
  }
  .project-item {
    padding: 8px;
  }
  .site-avatar {
    width: 25px;
    height: 25px;
  }
  .page-content {
    padding: 26px 20px 0;
  }
  .topbar {
    height: 60px;
    padding: 0 20px;
  }
  .local-label {
    display: none;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.9px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 215px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .heading-actions {
    padding-top: 0;
  }
  .heading-actions .secondary {
    display: none;
  }
  .heading-actions .button {
    padding: 0 9px;
    font-size: 9px;
    min-height: 33px;
  }
  .stats {
    margin-bottom: 21px;
  }
  .stat-label {
    font-size: 8px;
  }
  .stat-icon {
    width: 21px;
    height: 21px;
  }
  .stat {
    padding: 11px 10px;
  }
  .stat-bottom {
    margin-top: 8px;
  }
  .stat-bottom strong {
    font-size: 22px;
  }
  .ticket-workspace {
    display: block;
    height: min(64vh, 660px);
    min-height: 420px;
  }
  .ticket-list-pane {
    height: 100%;
    border-right: 0;
  }
  .ticket-detail {
    display: none;
    height: 100%;
  }
  .ticket-workspace.detail-visible .ticket-list-pane {
    display: none;
  }
  .ticket-workspace.detail-visible .ticket-detail {
    display: flex;
  }
  .mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8e9d7b;
    font-size: 9px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .mobile-back svg {
    transform: rotate(180deg);
    height: 12px;
    width: 12px;
  }
  .detail-top {
    justify-content: flex-start;
    gap: 12px;
    min-height: 52px;
  }
  .detail-status-button {
    margin-left: auto;
  }
  .page-footer {
    font-size: 8px;
    gap: 12px;
  }
  .page-footer button {
    font-size: 8px;
    white-space: nowrap;
  }
  .detail-empty {
    display: none;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .install-dialog {
    padding: 22px;
  }
  .install-dialog h2 {
    font-size: 22px;
  }
  .install-steps {
    gap: 6px;
    font-size: 8px;
  }
  .install-steps b {
    height: 17px;
    width: 17px;
  }
  .install-steps span {
    gap: 5px;
  }
  .installation-footer > span {
    font-size: 8px;
    max-width: 160px;
  }
  .installation-label select {
    max-width: 150px;
  }
  .dialog-footnote {
    font-size: 8px;
  }
}
@media (max-width: 440px) {
  .sidebar {
    width: 53px;
    padding-left: 7px;
    padding-right: 7px;
  }
  .sidebar .brand-mark {
    width: 31px;
    height: 31px;
  }
  .nav-item {
    padding: 8px;
  }
  .page-content {
    padding: 22px 13px 0;
  }
  .topbar {
    padding: 0 13px;
  }
  .breadcrumb {
    gap: 9px;
    font-size: 9px;
  }
  .breadcrumb-mark {
    width: 20px;
    height: 20px;
  }
  .page-heading {
    gap: 7px;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 21px;
  }
  .page-heading p {
    font-size: 9px;
    max-width: 190px;
  }
  .page-heading .eyebrow {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .heading-actions .button {
    font-size: 8px;
    padding: 0 7px;
    gap: 4px;
    min-height: 30px;
  }
  .heading-actions svg {
    width: 11px;
    height: 11px;
  }
  .stat-label {
    font-size: 7px;
    gap: 5px;
  }
  .stat {
    padding: 10px 8px;
  }
  .stat-icon {
    height: 18px;
    width: 18px;
  }
  .stat-icon svg {
    height: 11px;
    width: 11px;
  }
  .stats {
    gap: 6px;
  }
  .page-footer > span {
    max-width: 160px;
    line-height: 1.5;
  }
  .ticket-workspace {
    min-height: 410px;
  }
  .list-heading,
  .filters {
    padding-left: 13px;
    padding-right: 13px;
  }
  .list-empty {
    padding-left: 20px;
    padding-right: 20px;
  }
  .installation-footer {
    align-items: flex-start;
  }
  .install-dialog h2 {
    font-size: 21px;
  }
  .install-steps {
    font-size: 7px;
  }
  .installation-label {
    font-size: 10px;
  }
  .dialog-footnote {
    line-height: 1.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.ticket-author {
  font-size: 9px;
  line-height: 1.6;
  color: #8d9a80;
  margin: -3px 0 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reply-meta strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reply-meta time { flex-shrink: 0; }
.detail-date { overflow-wrap: anywhere; }

.session-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.workspace-company { min-width: 0; flex: 1; font-size: 0; }
.workspace-company select {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #f9faf3;
  font-size: 12px;
  font-weight: 550;
  padding: 2px 0;
  text-overflow: ellipsis;
}
.workspace-company select option { color: var(--ink); background: white; }
.workspace-company select:disabled { opacity: 1; appearance: none; }
.account-panel { border-top: 1px solid #3a423c; padding: 17px 0 14px; margin-top: 20px; }
.account-name, .account-email { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-name { font-size: 11px; margin: 0 11px 4px; }
.account-email { font-size: 9px; color: #9aa499; margin: 0 11px 12px; }
.account-panel .nav-item { font-size: 10px; padding-top: 9px; padding-bottom: 9px; }
.topbar-account { display: none; align-items: center; gap: 14px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); gap: 20px; margin: 20px 0 0; }
.auth-tabs button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px 0; font-size: 12px; color: #7d827b; }
.auth-tabs button.active { color: var(--accent-dark); border-bottom-color: var(--accent); }
.login-card { width: min(440px, 100%); }
.login-card label { margin-top: 17px; }
.login-card .password-hint { font-size: 10px; margin: 7px 0 0; }
.legacy-access { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 24px; color: #7d827b; font-size: 11px; }
.legacy-access summary { cursor: pointer; }
.legacy-access p { font-size: 11px; }
.auth-home { margin-top: 20px; }
.team-dialog { width: min(690px, calc(100% - 32px)); }
.team-dialog h2 { overflow-wrap: anywhere; }
.team-section-title { font-size: 11px; font-weight: 600; color: #71825e; margin: 22px 0 10px; }
.team-list { display: grid; }
.team-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e6ebdc; }
.team-person { min-width: 0; flex: 1; }
.team-person strong, .team-person span { display: block; overflow-wrap: anywhere; }
.team-person strong { font-size: 11px; font-weight: 550; color: #4c613c; }
.team-person span { font-size: 10px; color: #929a86; margin-top: 4px; }
.team-role-select, .team-role-label { font-size: 10px; color: #71825e; }
.team-role-select { border: 1px solid #dde5cf; border-radius: 4px; background: white; padding: 6px; max-width: 145px; }
.team-role-label { flex-shrink: 0; }
.team-remove { color: #ae6246; }
.team-form { margin-top: 23px; border-top: 1px solid #e6ebdc; padding-top: 4px; }
.team-form label, .invite-result label, .team-company-picker { display: block; font-size: 10px; font-weight: 550; color: #71825e; }
.team-form input, .team-form select, .invite-link-row input, .team-company-picker select {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #e0e6d5;
  border-radius: 5px;
  color: #4c613c;
  padding: 10px 11px;
  font-size: 11px;
  margin-top: 8px;
}
.team-company-picker { margin-top: 20px; }
.team-form .form-grid { grid-template-columns: minmax(0, 1fr) 160px; }
.team-form .button { margin-top: 12px; }
.team-dialog .team-hint { font-size: 10px; line-height: 1.7; color: #929a86; margin: 10px 0 0; }
.invite-result { padding: 15px; margin-top: 20px; border: 1px solid #dde5cf; border-radius: 6px; background: #f0f3e7; }
.invite-link-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.invite-link-row input { min-width: 0; margin: 0; }
.invite-link-row .button { flex-shrink: 0; }
@media (max-width: 760px) {
  .topbar-account { display: flex; }
  .topbar-account .text-button { font-size: 9px; white-space: nowrap; }
  .breadcrumb { min-width: 0; }
  #breadcrumb-company { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb-slash, .breadcrumb strong { display: none; }
  .team-form .form-grid { grid-template-columns: 1fr; }
  .team-row { gap: 9px; flex-wrap: wrap; }
  .team-person { flex-basis: 50%; }
  .team-role-select { max-width: 130px; }
}
@media (max-width: 440px) {
  .login-screen { padding: 16px; }
  .login-card { padding: 27px; }
  .login-brand { margin-bottom: 28px; }
  .login-card h1 { font-size: 22px; }
  #breadcrumb-company { max-width: 80px; }
  .topbar-account { gap: 9px; }
  .topbar-account .text-button { font-size: 8px; }
  .invite-link-row { flex-wrap: wrap; }
  .invite-link-row input { flex-basis: 100%; }
}

/* ConversionSync central tag connection. */
.cs-integration { border-top: 1px solid #e6ebdc; margin-top: 24px; padding-top: 20px; }
.cs-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cs-heading h3 { color: #5c7350; font-size: 13px; font-weight: 600; margin: 0; }
.cs-heading .icon-button { width: 25px; height: 25px; }
.cs-heading svg { width: 14px; height: 14px; }
.cs-intro, .cs-status, .cs-pairing-help { color: #8a9b78; font-size: 10px; line-height: 1.8; margin: 10px 0 14px; }
.cs-status { min-height: 18px; margin-block: 13px; }
.cs-selected-site { border: 1px solid #e1e9d7; border-radius: 6px; padding: 12px; background: #f5f8ed; display: grid; gap: 5px; }
.cs-selected-site > span:first-child { color: #a0af90; font-size: 8px; letter-spacing: .5px; }
.cs-selected-site strong { color: #6b8259; font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
#cs-site-origin { color: #8e9f7d; font: 9px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.cs-pairing { margin-top: 15px; }
.cs-pairing label { display: block; color: #7d9168; font-size: 10px; margin-bottom: 8px; }
.cs-code-row { display: flex; align-items: stretch; gap: 8px; }
.cs-code-row input { flex: 1; min-width: 0; width: 100%; background: #fff; border: 1px solid #dbe5cf; border-radius: 5px; padding: 10px 11px; color: #69834f; font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cs-code-row .button { flex-shrink: 0; }
.cs-expiry { color: #a0ae90; font-size: 9px; line-height: 1.7; margin: 8px 0 0; }
.cs-pairing-help { margin-bottom: 0; }
.cs-console { margin-top: 16px; color: #7d9464; }
.cs-active { padding: 14px; border: 1px solid #dce8ce; border-radius: 6px; background: #f1f6e9; }
.cs-active-heading { display: flex; align-items: center; gap: 7px; color: #758c5f; font-size: 11px; }
.cs-active-heading svg { width: 14px; height: 14px; }
.cs-active dl { display: grid; gap: 9px; margin: 15px 0; }
.cs-active dl > div { display: grid; grid-template-columns: 1fr 1.2fr; align-items: baseline; gap: 10px; }
.cs-active dt { font-size: 9px; color: #a0ae8f; }
.cs-active dd { font-size: 9px; line-height: 1.7; color: #7b9067; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .cs-code-row { flex-direction: column; }
  .cs-code-row .button { align-self: flex-end; }
  .cs-active dl > div { grid-template-columns: 1fr; gap: 3px; }
}
