:root {
  --ink: #253e32;
  --muted: #788377;
  --green: #28553c;
  --lime: #e8eecf;
  --paper: #f7f8f3;
  --line: #e2e7dc;
  --white: #fffefa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px 'DM Sans',
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #88a36c;
  outline-offset: 3px;
}
button {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
}
h1 {
  font-size: 29px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -1.1px;
  margin-bottom: 0;
}
h2 {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.6px;
  font-weight: 600;
}
h3 {
  font-size: 14px;
  line-height: 1.5;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #7a876e;
  margin-bottom: 12px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  line-height: 1.4;
  transition: background 0.15s;
}
.button:hover:not(:disabled) {
  background: #eef2e5;
}
.button.primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.button.primary:hover:not(:disabled) {
  background: #38694a;
}
.button.secondary {
  background: #eff3e8;
  border-color: #d9e2ce;
}
.button.danger {
  border-color: #e6c9c0;
  color: #a65640;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  font-size: 20px;
}
.brand {
  display: flex;
  align-items: center;
  font:
    800 27px Manrope,
    sans-serif;
  letter-spacing: -1.4px;
  gap: 8px;
}
.app-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #f0f3e9;
  border-right: 1px solid #dde4d4;
  padding: 30px 19px 23px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.store-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9faf4;
  border: 1px solid #dbe2d1;
  padding: 12px 10px;
  border-radius: 8px;
  margin: 32px 0;
}
.store-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: #e4e9d5;
  border: 1px solid #d5dcc3;
  border-radius: 6px;
  font: 16px Georgia;
}
.store-switch > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.store-switch strong {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-switch > span {
  font-size: 13px;
  color: #95a087;
}
.store-switch div span {
  font-size: 9px;
  color: #8c967e;
  display: block;
  margin-top: 4px;
}
.store-switch i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #95a662;
  margin-left: 4px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #98a18b;
  padding: 0 11px;
  margin-bottom: 13px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  background: transparent;
  padding: 11px 10px;
  text-align: left;
  border-radius: 6px;
  font-size: 11px;
  color: #737e69;
}
.nav-item:hover {
  background: #e7edde;
}
.nav-item.active {
  background: #dfe8d2;
  border-color: #d4dfc5;
  color: #365437;
  font-weight: 600;
}
.nav-icon {
  font-size: 18px;
  width: 19px;
  text-align: center;
  font-weight: 400;
}
.nav-item b {
  margin-left: auto;
  font-size: 9px;
  background: #cedbb9;
  border-radius: 4px;
  min-width: 18px;
  padding: 2px 5px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.beta-meter {
  border: 1px solid #dbe2d1;
  border-radius: 8px;
  background: #f6f8ef;
  padding: 13px 11px;
}
.beta-meter > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.beta-meter strong {
  font-weight: 500;
}
.beta-meter progress {
  width: 100%;
  height: 5px;
  display: block;
  margin: 12px 0 9px;
  accent-color: #779651;
}
.beta-meter small {
  font-size: 8px;
  color: #8c967e;
}
.access-link {
  font-size: 10px;
  display: block;
  margin: 18px 3px;
  color: #547143;
}
.privacy-link {
  font-size: 9px;
  color: #929b86;
  margin-left: 3px;
}
.app-main {
  min-width: 0;
}
.topbar {
  height: 75px;
  border-bottom: 1px solid var(--line);
  background: #fafbf6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  font-size: 11px;
}
.topbar strong {
  font-weight: 500;
}
.breadcrumb {
  color: #9aa38e;
  margin-right: 12px;
}
.breadcrumb > span {
  margin-left: 12px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #89977d;
  font-size: 10px;
}
.topbar-right .icon-button {
  margin-left: 13px;
  font-size: 20px;
  color: #7e8f6b;
}
.live-dot,
.green-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #8ea970;
  border-radius: 50%;
}
.profile-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e6ebdb;
  color: #60714f;
  font-size: 11px;
  margin-left: 5px;
}
.sample-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 32px 0;
  padding: 12px 16px;
  border-radius: 7px;
  border: 1px solid #dfe6cf;
  background: #f0f4e5;
  font-size: 10px;
  color: #7c886b;
}
.sample-banner > span:first-child {
  font-size: 20px;
  color: #84945d;
}
.sample-banner p {
  margin: 0;
  line-height: 1.6;
  flex: 1;
}
.sample-banner strong {
  font-weight: 600;
  color: #5c7546;
  margin-right: 5px;
}
.sample-badge {
  font-size: 7px;
  letter-spacing: 0.7px;
  border: 1px solid #d3ddbf;
  border-radius: 4px;
  padding: 4px 6px;
  white-space: nowrap;
}
.main-content {
  padding: 31px 32px 38px;
  min-height: calc(100vh - 190px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.page-heading .eyebrow {
  font-size: 8px;
}
.page-heading .button {
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.stats > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.stats > div > span {
  display: block;
  font-size: 10px;
  color: #819078;
}
.stats strong {
  font:
    500 31px/1.2 Manrope,
    sans-serif;
  display: block;
  margin: 9px 0 7px;
  letter-spacing: -1px;
}
.stats small {
  font-size: 8px;
  color: #98a08f;
}
.stats i {
  margin-left: 7px;
}
.inbox-layout {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  border: 1px solid #dce3d4;
  border-radius: 9px;
  background: var(--white);
  overflow: hidden;
  min-height: 625px;
}
.ticket-list {
  border-right: 1px solid var(--line);
  background: #fbfcf7;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.list-heading strong {
  font-weight: 600;
}
.list-heading > span {
  font-size: 9px;
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 4px;
  color: #87967a;
}
.ticket {
  display: block;
  width: 100%;
  padding: 19px 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  position: relative;
}
.ticket.selected {
  background: #edf3e5;
}
.ticket.selected:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #6f9154;
}
.ticket:hover {
  background: #f0f4e9;
}
.ticket-top {
  display: flex;
  align-items: center;
  gap: 7px;
}
.person-avatar {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e9e8db;
  color: #7d8062;
  font-size: 8px;
  flex-shrink: 0;
}
.ticket-top strong {
  font-size: 10px;
  font-weight: 600;
}
.channel-icon {
  margin-left: auto;
  font-size: 15px;
  color: #92a182;
}
.ticket h2,
.ticket .ticket-title {
  font-size: 11px;
  letter-spacing: 0;
  font-family: 'DM Sans', sans-serif;
  margin: 12px 0 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ticket > p {
  font-size: 10px;
  color: #8d9782;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 13px;
}
.ticket-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  color: #98a28e;
}
.status {
  display: inline-block;
  font-size: 8px;
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 4px;
  background: #eef0e8;
  color: #839078;
  white-space: nowrap;
}
.status.new {
  background: #edf0e6;
  color: #7e886d;
}
.status.ready {
  background: #e4eed8;
  color: #66864b;
}
.status.review {
  background: #f8eedc;
  color: #a17d42;
}
.status.resolved {
  background: #e1eddf;
  color: #4f7d52;
}
.conversation {
  min-width: 0;
}
.conversation-header {
  padding: 19px 22px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.conversation-header h2 {
  font:
    600 13px 'DM Sans',
    sans-serif;
  letter-spacing: 0;
  margin-bottom: 7px;
}
.conversation-header p {
  font-size: 9px;
  color: #98a18f;
  margin: 0;
}
.conversation-header p span {
  margin: 0 6px;
}
.conversation-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 553px;
}
.conversation-thread {
  padding: 24px 22px;
  min-width: 0;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  margin-bottom: 10px;
}
.message-meta strong {
  font-weight: 500;
}
.message-meta > span:last-child {
  margin-left: auto;
  font-size: 7px;
  color: #a2aa97;
}
.customer-message {
  background: #f1f3eb;
  border: 1px solid #e8ecdf;
  border-radius: 1px 9px 9px 9px;
  padding: 14px;
  font-size: 11px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.concierge-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 25px 0 11px;
  font-size: 10px;
}
.concierge-meta strong {
  font-weight: 600;
}
.concierge-meta > span {
  font-size: 6px;
  letter-spacing: 0.7px;
  padding: 4px 6px;
  background: #edf2e4;
  border-radius: 3px;
  color: #81936b;
}
.waiting-card {
  background: #f6f8ef;
  border: 1px dashed #dce4cd;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}
.waiting-card > span {
  font-size: 29px;
  color: #9aaf73;
}
.waiting-card h3 {
  font-size: 13px;
  margin: 12px 0 8px;
  font-weight: 500;
}
.waiting-card p {
  font-size: 10px;
  line-height: 1.9;
  color: #8d9780;
  margin-bottom: 13px;
}
.waiting-card small {
  display: block;
  font-size: 8px;
  line-height: 1.8;
  color: #9ba78d;
}
.conversation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.conversation-actions .button {
  font-size: 10px;
  padding: 11px 13px;
}
.order-context {
  border-left: 1px solid var(--line);
  padding: 22px 17px;
  background: #fdfdf8;
}
.order-context .eyebrow {
  font-size: 7px;
}
.customer-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 0 23px;
  border-bottom: 1px solid var(--line);
}
.person-avatar.large {
  width: 39px;
  height: 39px;
  font-size: 14px;
  margin: 8px 0 10px;
}
.customer-profile strong {
  font-size: 11px;
  font-weight: 500;
}
.customer-profile > span:last-child {
  font-size: 8px;
  color: #98a08d;
  margin-top: 5px;
}
.order-title {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin: 20px 0 15px;
}
.order-title strong {
  font-weight: 600;
}
.order-title > span {
  color: #839375;
}
.product-thumb {
  height: 92px;
  border-radius: 6px;
  background: #eef0e1;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.product-shape.bag {
  width: 42px;
  height: 44px;
  background: #929b72;
  border-radius: 2px 2px 9px 9px;
  position: relative;
  box-shadow: inset 6px 0 #849265;
  transform: rotate(-7deg);
  margin-top: 9px;
}
.product-shape.bag:before {
  content: '';
  position: absolute;
  left: 11px;
  top: -14px;
  width: 15px;
  height: 20px;
  border: 4px solid #929b72;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.product-shape.shirt {
  width: 54px;
  height: 53px;
  background: #b0b49c;
  clip-path: polygon(
    26% 0,
    37% 4%,
    63% 4%,
    74% 0,
    100% 20%,
    85% 44%,
    75% 37%,
    75% 100%,
    25% 100%,
    25% 37%,
    15% 44%,
    0 20%
  );
}
.order-context h3 {
  font:
    500 10px 'DM Sans',
    sans-serif;
  margin-bottom: 6px;
}
.product-variant {
  font-size: 9px;
  color: #95a085;
  text-transform: capitalize;
}
.product-variant span {
  margin: 0 5px;
}
.order-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 4px;
  font-size: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.order-facts dt {
  color: #9aa58c;
}
.order-facts dd {
  margin: 0;
  text-align: right;
  text-transform: capitalize;
}
.context-note {
  font-size: 8px;
  line-height: 1.9;
  color: #a0aa95;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 20px;
}
.order-note {
  font-size: 9px;
  color: #63834d;
  background: #e9f0dc;
  padding: 8px;
  border-radius: 4px;
  margin-top: 12px;
}
.decision-card {
  background: #f1f6e9;
  border: 1px solid #dce5cf;
  border-radius: 8px;
  padding: 17px;
}
.decision-top {
  display: flex;
  align-items: center;
  gap: 9px;
}
.decision-symbol {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e0eace;
  font-size: 18px;
  color: #6e8c4e;
  flex-shrink: 0;
}
.decision-top strong {
  font-size: 11px;
  line-height: 1.5;
  display: block;
}
.decision-top p {
  font-size: 9px;
  color: #8b9b77;
  margin: 4px 0 0;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  font-size: 9px;
  line-height: 1.7;
}
.checks li {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  color: #7d8d6b;
}
.checks li > span {
  width: 12px;
  flex-shrink: 0;
}
.checks .pass > span {
  color: #729a50;
}
.checks .fail {
  color: #aa824a;
}
.decision-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #dce5d0;
  padding-top: 10px;
  font-size: 7px;
  color: #95a380;
}
.trace {
  font-size: 9px;
  color: #91a07e;
  margin-top: 13px;
}
.trace summary {
  cursor: pointer;
}
.trace p {
  font-size: 10px;
  line-height: 1.8;
}
.trace dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
}
.trace dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.trace pre {
  max-height: 260px;
  overflow: auto;
  background: #f0f3e7;
  border: 1px solid var(--line);
  padding: 10px;
  font-size: 9px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sample-reply {
  background: #fffef8;
  border: 1px solid #dce6d1;
  border-radius: 5px;
  margin-top: 15px;
  padding: 12px;
}
.sample-reply .eyebrow {
  font-size: 7px;
}
.sample-reply p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0 0;
}
.completed-label {
  font-size: 10px;
  color: #64874d;
}
.hint {
  font-size: 10px;
  color: #a2804b;
  line-height: 1.8;
  margin: 12px 0;
}
.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 9px;
  min-width: 0;
}
.panel h2 {
  margin-bottom: 24px;
}
.panel h3 {
  margin: 27px 0 15px;
  font-size: 13px;
}
.panel .eyebrow {
  font-size: 8px;
}
.panel label {
  font-size: 11px;
  color: #728166;
}
.panel input:not([type='checkbox']),
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 9px 0 21px;
  border: 1px solid #dbe3d0;
  border-radius: 6px;
  background: #fafbf6;
  color: var(--ink);
  font-size: 12px;
  min-width: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.toggle-row strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #576e4b;
}
.toggle-row small {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: #96a286;
  margin-top: 5px;
}
.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.policy-callout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border-radius: 6px;
  background: #eff4e5;
  margin: 23px 0 15px;
  color: #8a9d70;
}
.policy-callout span {
  font-size: 18px;
}
.policy-callout p {
  font-size: 10px;
  line-height: 1.9;
  margin: 0;
}
.form-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 23px;
}
.form-footer > span {
  font-size: 10px;
  color: #94a185;
}
.intro-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 17px 20px;
  background: #edf3e3;
  border: 1px solid #dce5cc;
  border-radius: 8px;
  margin-bottom: 24px;
}
.intro-note > span {
  font-size: 22px;
  color: #869e65;
}
.intro-note p {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
  color: #7c8d6a;
}
.simulation-output {
  margin-top: 30px;
}
.preview-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.preview-row strong {
  font-size: 12px;
}
.preview-row p {
  font-size: 11px;
  color: #90a07f;
  margin: 8px 0;
}
.preview-row small {
  font-size: 10px;
  line-height: 1.8;
  color: #9a936e;
  display: block;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.section-title h2 {
  margin: 0;
}
.timeline {
  margin-top: 30px;
}
.timeline article {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline-icon {
  display: grid;
  place-items: center;
  background: #e8f0dc;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #8aa36a;
}
.timeline strong {
  font-size: 12px;
  font-weight: 500;
}
.timeline p {
  font-size: 11px;
  color: #899c78;
  margin: 7px 0;
}
.timeline time {
  font-size: 9px;
  color: #a2ad96;
}
.empty {
  text-align: center;
  padding: 45px 23px;
  color: #8fa17c;
}
.empty > span {
  font-size: 30px;
}
.empty h2,
.empty h3 {
  font-size: 15px;
  margin: 15px 0 10px;
  font-weight: 500;
}
.empty p {
  font-size: 11px;
  line-height: 1.8;
  max-width: 310px;
  margin: 0 auto;
}
.empty-detail {
  align-self: center;
}
.integration-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.integration-row strong {
  font-size: 12px;
  font-weight: 500;
}
.integration-row p {
  font-size: 10px;
  line-height: 1.8;
  color: #8b9e79;
  margin: 6px 0 0;
}
.integration-row > div {
  flex: 1;
}
.integration-row > a {
  font-size: 9px;
  color: #769154;
}
.integration-icon {
  width: 40px;
  height: 40px;
  background: #edf1e1;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #829d60;
  flex-shrink: 0;
}
.integration-icon.shopify {
  font-style: italic;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 27px 0;
}
.inline-link {
  font-size: 11px;
  color: #839c64;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  padding: 0 32px 24px;
  font-size: 8px;
  color: #a2ad96;
  gap: 20px;
}
.pending-note {
  border: 1px solid #e9ddbb;
  background: #fbf5e7;
  padding: 15px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.9;
  margin-bottom: 25px;
  color: #9c875c;
}
.pending-note .button {
  font-size: 9px;
  margin: 8px 8px 0 0;
}
.welcome {
  max-width: 620px;
  margin: 8vh auto;
  padding: 32px;
  text-align: center;
}
.welcome > img {
  margin-bottom: 23px;
}
.welcome h1 {
  font-size: 57px;
  line-height: 1.13;
  letter-spacing: -2.5px;
  margin: 20px 0 25px;
}
.welcome > p:not(.eyebrow) {
  color: #819172;
  font-size: 15px;
  line-height: 1.9;
}
.welcome-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 30px auto;
  font-size: 12px;
  color: #6c8653;
}
.welcome .primary {
  padding: 16px 23px;
}
.welcome .welcome-note {
  font-size: 10px !important;
  max-width: 400px;
  margin: 25px auto !important;
}
.welcome-note a {
  text-decoration: underline;
}
.back-link {
  font-size: 11px;
  color: #94a680;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  max-width: min(90vw, 620px);
  padding: 14px 21px;
  background: #294e37;
  border: 1px solid #496b3f;
  color: #f6f9ed;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.7;
  box-shadow: 0 8px 30px #233a2520;
  transition:
    opacity 0.15s,
    transform 0.15s;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #795c3e;
  border-color: #957d59;
}
dialog {
  width: min(94vw, 550px);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #d8e2ca;
  border-radius: 12px;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 20px 90px #16322025;
}
dialog::backdrop {
  background: #193d2955;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.dialog-heading h2 {
  font-size: 24px;
}
.dialog-heading .eyebrow {
  font-size: 8px;
}
dialog label {
  display: block;
  font-size: 11px;
  color: #839772;
}
dialog textarea {
  resize: vertical;
}
dialog .primary {
  width: 100%;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 200;
}
.skip:focus {
  top: 10px;
}
.no-js {
  text-align: center;
  padding: 20px;
}
@media (max-width: 1400px) {
  .conversation-columns {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
  .conversation-thread {
    padding: 21px 17px;
  }
  .order-context {
    padding: 20px 13px;
  }
  .main-content {
    padding: 27px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .sample-banner {
    margin-left: 24px;
    margin-right: 24px;
  }
  .inbox-layout {
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 15px;
    padding-right: 15px;
  }
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .brand {
    font-size: 25px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .stats {
    gap: 12px;
  }
  .stats > div {
    padding: 15px;
  }
}
@media (max-width: 1150px) {
  .conversation-columns {
    grid-template-columns: 1fr;
  }
  .order-context {
    border-left: 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    padding: 20px;
  }
  .order-context > .eyebrow {
    grid-column: 1/-1;
  }
  .customer-profile {
    grid-column: 1;
    grid-row: 2/5;
    border: 0;
    justify-content: center;
    padding: 0;
  }
  .order-context .product-thumb {
    display: none;
  }
  .order-title {
    margin: 6px 0;
  }
  .order-context h3 {
    margin: 0;
  }
  .order-context .product-variant {
    margin: 0;
  }
  .order-facts {
    grid-column: 1/-1;
    margin: 7px 0 0;
    font-size: 10px;
  }
  .context-note {
    grid-column: 1/-1;
    margin: 0;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar .brand {
    font-size: 23px;
  }
  .inbox-layout {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .stats small {
    line-height: 1.7;
    display: block;
  }
  .main-content {
    padding: 25px 20px;
  }
  .panel {
    padding: 23px;
  }
  .policy-grid {
    gap: 17px;
  }
  .section-title {
    align-items: flex-start;
  }
  .section-title .button {
    font-size: 10px;
  }
  .stats > div > span {
    font-size: 9px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 850px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    font-size: 25px;
  }
  .store-switch,
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 17px;
    gap: 5px;
  }
  .nav-item {
    font-size: 10px;
    padding: 8px 9px;
    gap: 6px;
  }
  .nav-icon {
    font-size: 15px;
    width: 16px;
  }
  .topbar {
    height: 56px;
  }
  .main-content {
    padding: 24px 20px;
  }
  .sample-banner {
    margin: 17px 20px 0;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .stats strong {
    font-size: 28px;
  }
  .inbox-layout {
    grid-template-columns: 245px minmax(0, 1fr);
  }
  .policy-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .app-footer {
    padding: 0 20px 24px;
  }
  .welcome h1 {
    font-size: 47px;
  }
}
@media (max-width: 580px) {
  .topbar {
    padding: 0 17px;
  }
  .topbar-right > span:not(.profile-avatar) {
    display: none;
  }
  .breadcrumb {
    display: none;
  }
  .sample-banner {
    margin: 14px 14px 0;
    padding: 10px;
    gap: 8px;
  }
  .sample-banner p {
    font-size: 9px;
  }
  .sample-badge {
    display: none;
  }
  .main-content {
    padding: 23px 14px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading .eyebrow {
    font-size: 7px;
    line-height: 1.7;
  }
  .page-heading .button {
    font-size: 9px;
    padding: 10px;
    gap: 5px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 18px;
  }
  .stats > div {
    padding: 14px;
  }
  .stats strong {
    font-size: 26px;
  }
  .stats small {
    font-size: 8px;
  }
  .inbox-layout {
    grid-template-columns: 1fr;
  }
  .ticket-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 300px;
    overflow-y: auto;
  }
  .ticket {
    padding: 13px 16px;
  }
  .ticket h2,
  .ticket .ticket-title {
    margin: 8px 0 5px;
  }
  .ticket > p {
    display: none;
  }
  .ticket-bottom {
    margin-top: 8px;
  }
  .list-heading {
    position: sticky;
    top: 0;
    background: #fbfcf7;
    z-index: 1;
    padding: 13px 16px;
  }
  .conversation-header {
    padding: 17px;
  }
  .conversation-header h2 {
    font-size: 12px;
  }
  .conversation-thread {
    padding: 20px 17px;
  }
  .customer-message {
    font-size: 12px;
  }
  .waiting-card p {
    font-size: 11px;
  }
  .decision-top strong {
    font-size: 12px;
  }
  .checks {
    font-size: 10px;
  }
  .decision-foot {
    font-size: 8px;
  }
  .conversation-actions .button {
    font-size: 11px;
  }
  .order-context {
    padding: 20px 17px;
  }
  .order-context h3 {
    font-size: 12px;
  }
  .product-variant {
    font-size: 11px;
  }
  .context-note {
    font-size: 9px;
  }
  .customer-profile strong {
    font-size: 12px;
  }
  .customer-profile > span:last-child {
    font-size: 10px;
  }
  .order-title {
    font-size: 11px;
  }
  .panel {
    padding: 21px 18px;
  }
  .panel h2 {
    font-size: 19px;
  }
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .form-footer > span {
    line-height: 1.7;
  }
  .section-title {
    flex-direction: column;
    gap: 18px;
  }
  .preview-row {
    flex-direction: column;
    gap: 10px;
  }
  .integration-row {
    flex-wrap: wrap;
  }
  .integration-row > div {
    min-width: 140px;
  }
  .app-footer {
    font-size: 7px;
    flex-direction: column;
    gap: 6px;
    padding: 0 14px 20px;
  }
  .welcome {
    margin: 4vh auto;
    padding: 24px;
  }
  .welcome h1 {
    font-size: 42px;
  }
  .welcome > p:not(.eyebrow) {
    font-size: 14px;
  }
  .welcome-facts {
    font-size: 11px;
  }
  .welcome .primary {
    font-size: 11px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 22px;
  }
  .sidebar {
    padding: 17px 14px;
  }
  .nav-item {
    font-size: 9px;
    padding: 8px 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.ticket .ticket-title {
  display: block;
  font-weight: 600;
}
