:root {
  --bg: #f5f5f1;
  --paper: #fff;
  --ink: #242c27;
  --muted: #7b827b;
  --green: #2c4939;
  --green-soft: #edf3ed;
  --line: #e6e9e2;
  --amber: #ae712d;
  --radius: 15px;
  --shadow: 0 8px 30px #253a2910;
  font-family:
    Poppins,
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: var(--green);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #78a18a;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
svg.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 100;
  padding: 12px;
  background: white;
}
.skip-link:focus {
  top: 15px;
}
.shell {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 34px 20px 20px;
  background: #fcfdfa;
  border-right: 1px solid var(--line);
}
.wordmark {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: 1.2px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}
.wordmark span {
  display: block;
  font-size: 9px;
  letter-spacing: 3.5px;
  color: #65756a;
  font-weight: 600;
  margin: 12px 0 40px;
}
.nav-label {
  padding: 0 12px;
  margin: 5px 0 12px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #8a9188;
  text-transform: uppercase;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 13px;
  text-align: left;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 550;
  color: #657064;
}
.nav button:hover {
  background: #f1f4ed;
}
.nav button.active {
  background: var(--green);
  color: white;
}
.nav .count {
  margin-left: auto;
  background: #e4ebe1;
  color: #456444;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 10px;
}
.nav button.active .count {
  background: #ffffff26;
  color: white;
}
.sidebar-footer {
  margin-top: auto;
}
.connection-pill {
  padding: 12px 12px 16px;
  color: #788574;
  font-size: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #79a585;
  display: inline-block;
  flex-shrink: 0;
}
.dot.amber {
  background: #d9a655;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 10px 0;
}
.avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #e7ebe2;
  color: #48634c;
  display: grid;
  place-items: center;
  font-weight: 650;
  font-size: 12px;
  flex-shrink: 0;
}
.profile strong {
  display: block;
  font-size: 12px;
}
.small {
  font-size: 11px;
  color: var(--muted);
}
.profile button {
  margin-left: auto;
  padding: 8px;
}
.main {
  min-width: 0;
}
.topbar {
  height: 78px;
  background: #ffffff99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.breadcrumb {
  font-size: 11px;
  color: #959b93;
  display: flex;
  gap: 13px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 500;
  color: #4d584d;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.demo-badge {
  font-size: 10px;
  padding: 5px 9px;
  border: 1px solid #e1d7ba;
  border-radius: 6px;
  background: #fcf9ef;
  color: #887440;
}
.icon-btn {
  min-width: 40px;
  min-height: 42px;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
}
.icon-btn:hover {
  background: #edf1e8;
}
.notification-count {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #c19c58;
  color: white;
  font-size: 8px;
  line-height: 13px;
}
.btn {
  min-height: 42px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 550;
  font-size: 11px;
  white-space: nowrap;
}
.btn:hover {
  background: #385f48;
}
.btn.secondary {
  background: white;
  color: #52614e;
  border: 1px solid #dfe5d8;
}
.btn.secondary:hover {
  background: #f5f7f1;
}
.btn.soft {
  background: var(--green-soft);
  color: var(--green);
}
.btn.link {
  background: none;
  padding: 0;
  color: var(--green);
  min-height: 34px;
}
.btn.small-btn {
  min-height: 36px;
  padding: 6px 12px;
}
.btn .icon {
  width: 16px;
  height: 16px;
}
.mobile-menu {
  display: none;
}
.content {
  padding: 32px 34px 40px;
  max-width: 1680px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 27px;
  gap: 18px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.4px;
  color: #859180;
  text-transform: uppercase;
  margin-bottom: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.7px;
  font-weight: 600;
  line-height: 1.35;
}
h2 {
  font-size: 14px;
  letter-spacing: -0.15px;
  font-weight: 650;
}
h3 {
  font-size: 13px;
  font-weight: 600;
}
.page-heading p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.date-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfefb;
  font-size: 10px;
  color: #6d7968;
}
.date-chip .icon {
  width: 15px;
  height: 15px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  background: var(--paper);
  padding: 19px 20px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.metric.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.metric-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #76816f;
}
.primary .metric-top {
  color: #d0ddd0;
}
.metric-icon {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  background: #f1f5ee;
  border-radius: 8px;
  color: #71866a;
}
.primary .metric-icon {
  background: #ffffff12;
  color: #ccddcc;
}
.metric-icon .icon {
  width: 15px;
  height: 15px;
}
.metric-number {
  font-size: 29px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 9px 0 4px;
  line-height: 1.3;
}
.metric-note {
  font-size: 9px;
  color: #85917e;
}
.primary .metric-note {
  color: #c5d5c4;
}
.metric a {
  color: inherit;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 22px;
}
.stack {
  display: grid;
  gap: 22px;
  align-content: start;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.card-head {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-head p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 9px;
  white-space: nowrap;
  background: #edf3eb;
  color: #4e6c43;
}
.tag.orange {
  background: #fbf1df;
  color: #a07935;
}
.tag.blue {
  background: #eef3f9;
  color: #64839a;
}
.tag.grey {
  background: #f2f3ef;
  color: #85917b;
}
.tag.new {
  background: #edf3eb;
  color: #457946;
}
.tag.ready {
  background: #edf3eb;
  color: #457946;
}
.text-link {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  min-height: 36px;
}
.text-link .icon {
  width: 13px;
  height: 13px;
}
.mini-label {
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #95a08e;
}
.tour-map {
  margin: 0 20px;
  background: #eef2e9;
  border: 1px solid #e5ebdd;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
  height: 183px;
}
.tour-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.map-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: #ffffffeb;
  border: 1px solid #e0e7d8;
  border-radius: 6px;
  font-size: 9px;
  padding: 5px 8px;
  color: #647259;
}
.map-label {
  font-size: 12px;
  fill: #818d78;
  font-family: inherit;
}
.map-small {
  font-size: 9px;
  fill: #a3ad9a;
}
.tour-summary {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  color: #7d8974;
  flex-wrap: wrap;
}
.tour-summary span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tour-summary .icon {
  width: 13px;
  height: 13px;
}
.tour-stops {
  padding: 7px 20px 10px;
}
.stop {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid #eef0e9;
}
.stop:last-child {
  border: 0;
}
.stop-num {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #f0f4eb;
  color: #627c52;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
}
.stop strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.stop p {
  font-size: 9px;
  color: #8a9483;
  margin-top: 2px;
}
.stop-time {
  font-size: 10px;
  color: #52634a;
  text-align: right;
}
.stop-time span {
  display: block;
  font-size: 9px;
  color: #98a08f;
}
.task-list {
  padding: 0 21px 5px;
}
.task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #edf0e7;
  width: 100%;
  text-align: left;
}
.task:last-child {
  border: 0;
}
.task-symbol {
  width: 32px;
  height: 32px;
  background: #f8f2e7;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #ac8b51;
}
.task-symbol.green {
  background: #eef4e9;
  color: #7a9367;
}
.task-symbol.blue {
  background: #edf3f7;
  color: #7a95a5;
}
.task-symbol .icon {
  height: 15px;
  width: 15px;
}
.task strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.task p {
  font-size: 9px;
  color: #939b8a;
  margin-top: 2px;
}
.task > svg {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: #a6b09b;
}
.task:hover strong {
  color: #5c7e44;
}
.liquidity {
  padding: 0 22px 18px;
}
.liquidity-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 15px;
}
.liquidity-number {
  font-size: 25px;
  letter-spacing: -0.5px;
  font-weight: 550;
}
.liquidity-detail {
  font-size: 9px;
  color: #84957b;
  max-width: 120px;
  text-align: right;
}
.chart {
  height: 114px;
  display: block;
  width: 100%;
  overflow: visible;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #98a48f;
  margin: 5px 0 18px;
}
.allocation-bar {
  height: 7px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  margin-bottom: 13px;
  background: #f4f5ee;
}
.allocation-bar span {
  height: 100%;
}
.allocation-legend {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  font-size: 9px;
  color: #7f8b76;
}
.allocation-legend i {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 2px;
}
.card-footer {
  padding: 13px 21px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: #8c9585;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.wide-card {
  margin-top: 22px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 10px;
}
th {
  font-size: 9px;
  font-weight: 500;
  color: #9aa28f;
  white-space: nowrap;
  background: #fcfdf9;
  border-top: 1px solid #edf0e7;
  border-bottom: 1px solid #edf0e7;
  padding: 11px 21px;
}
td {
  padding: 14px 21px;
  border-bottom: 1px solid #edf0e7;
  vertical-align: middle;
  color: #677260;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  display: block;
  font-weight: 550;
  font-size: 11px;
  color: #46513f;
}
td .small {
  font-size: 9px;
  color: #9aa18e;
}
tr.clickable {
  cursor: pointer;
}
tr.clickable:hover {
  background: #f7f9f2;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person-cell .avatar {
  width: 29px;
  height: 29px;
  font-size: 10px;
  border-radius: 9px;
}
.unread-dot {
  width: 5px;
  height: 5px;
  background: #6b9155;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
}
.toolbar {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search {
  position: relative;
  min-width: 200px;
  flex: 1;
  max-width: 350px;
}
.search input {
  padding-left: 35px;
  width: 100%;
}
.search .icon {
  position: absolute;
  top: 12px;
  left: 11px;
  width: 16px;
  height: 16px;
  color: #99a18f;
}
input,
select,
textarea {
  border: 1px solid #dfe5d7;
  border-radius: 7px;
  background: #fff;
  color: #48563f;
  padding: 10px 11px;
  min-height: 42px;
}
textarea {
  resize: vertical;
  min-height: 105px;
  width: 100%;
}
.filter-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.filter-pill {
  min-height: 38px;
  border-radius: 7px;
  font-size: 10px;
  padding: 6px 12px;
  color: #87917d;
}
.filter-pill.active {
  background: #edf3e9;
  color: #526e43;
  font-weight: 600;
}
.empty {
  padding: 45px 22px;
  text-align: center;
  color: #87917e;
  font-size: 12px;
}
.bottom-note {
  font-size: 9px;
  color: #99a18f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  gap: 15px;
}
.bottom-note button {
  font-size: 9px;
  min-height: 36px;
  color: #88927d;
  text-decoration: underline;
}
.hint {
  background: #f4f6ef;
  border: 1px solid #e1e7d8;
  border-radius: 9px;
  padding: 13px 15px;
  font-size: 11px;
  color: #78866d;
  line-height: 1.8;
}
.hint.orange {
  background: #fbf7ec;
  border-color: #ebe0c5;
  color: #947c46;
}
.inbox {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 570px;
}
.conversation-list {
  border-right: 1px solid var(--line);
  min-width: 0;
}
.conversation-list .filter-pills {
  padding: 15px 12px;
}
.conversation {
  width: 100%;
  padding: 18px 19px;
  text-align: left;
  border-top: 1px solid #eef0e8;
  display: flex;
  gap: 11px;
}
.conversation.active {
  background: #f1f5ec;
  border-left: 3px solid #779560;
  padding-left: 16px;
}
.conversation:hover {
  background: #f5f8f0;
}
.conversation .avatar {
  border-radius: 10px;
  width: 33px;
  height: 33px;
  font-size: 10px;
}
.conversation-body {
  flex: 1;
  min-width: 0;
}
.conversation strong {
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  font-weight: 550;
}
.conversation strong small {
  font-size: 8px;
  color: #909d83;
  font-weight: 400;
}
.conversation p {
  font-size: 9px;
  color: #8e9784;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 4px 0 7px;
}
.thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.thread-head {
  padding: 21px 23px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.thread-head p {
  font-size: 10px;
  color: #8f9a84;
  margin-top: 4px;
}
.thread-messages {
  padding: 25px;
  flex: 1;
  background: #fbfcf8;
}
.thread-date {
  font-size: 9px;
  color: #a1aa95;
  text-align: center;
  margin: 0 0 28px;
}
.bubble {
  background: white;
  padding: 16px 18px;
  border: 1px solid #e4e9db;
  border-radius: 0 13px 13px 13px;
  max-width: 90%;
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-wrap;
}
.bubble small {
  font-size: 9px;
  display: block;
  color: #99a18f;
  margin-top: 10px;
}
.compose {
  padding: 20px 23px;
  border-top: 1px solid var(--line);
}
.compose textarea {
  border: 0;
  padding: 0;
  min-height: 85px;
  font-size: 11px;
  outline-offset: 8px;
}
.compose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}
.compose-footer small {
  font-size: 9px;
  color: #99a18e;
}
.context-row {
  padding: 13px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  background: #f5f8f0;
  color: #768568;
}
.context-row button {
  margin-left: auto;
  font-size: 10px;
  min-height: 32px;
  text-decoration: underline;
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 22px;
}
.section-body {
  padding: 0 22px 22px;
}
.breakdown {
  margin: 12px 0 22px;
}
.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0e5;
  font-size: 11px;
  color: #7b896e;
}
.breakdown strong {
  font-weight: 550;
  color: #536745;
}
.breakdown .total {
  font-size: 14px;
  background: #f1f6eb;
  margin-top: 10px;
  padding: 16px 12px;
  border: 0;
  border-radius: 8px;
  color: var(--green);
}
.breakdown .total strong {
  font-size: 19px;
}
.amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.amount.positive {
  color: #60854b;
}
.receipt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.receipt-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}
.receipt-paper {
  height: 104px;
  width: 79px;
  background: #fdfefb;
  border: 1px solid #e3e6dc;
  border-radius: 4px;
  box-shadow: 0 4px 8px #36442c08;
  margin-bottom: 20px;
  padding: 13px 10px;
}
.receipt-paper > div {
  height: 3px;
  background: #e3e7dd;
  margin: 6px 0;
  border-radius: 1px;
}
.receipt-paper > div:first-child {
  width: 70%;
  height: 5px;
  background: #cfd9c6;
}
.receipt-card h3 {
  font-size: 12px;
  margin-bottom: 4px;
}
.receipt-card p {
  font-size: 10px;
  color: #909a83;
}
.receipt-card .amount {
  font-size: 21px;
  display: block;
  margin: 16px 0;
}
.receipt-card button {
  width: 100%;
  margin-top: 17px;
}
.receipt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 20px;
}
.inventory-model {
  display: flex;
  align-items: center;
  gap: 13px;
}
.saddle-thumb {
  width: 43px;
  height: 43px;
  background: #f4f4ed;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8d805d;
}
.saddle-thumb .icon {
  width: 26px;
  height: 26px;
}
.tour-page .tour-map {
  height: 320px;
}
.tour-page .tour-stops {
  padding: 6px 22px 20px;
}
.tour-page .stop {
  padding: 18px 0;
}
.tour-page .stop strong {
  font-size: 12px;
}
.tour-page .stop p {
  font-size: 10px;
}
.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 17px;
  box-shadow: 0 25px 100px #152b2b40;
  width: min(650px, calc(100vw - 28px));
  max-height: 90vh;
  color: var(--ink);
  background: #fff;
}
dialog::backdrop {
  background: #1d302640;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 24px 27px 19px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.modal-head h2 {
  font-size: 18px;
  font-weight: 600;
}
.modal-head p {
  font-size: 11px;
  color: #8b9781;
  margin-top: 5px;
}
.modal-body {
  padding: 23px 27px 27px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: 10px;
  font-weight: 550;
  color: #7a886e;
  margin-bottom: 6px;
}
.field input,
.field select {
  width: 100%;
}
.field.full {
  grid-column: 1/-1;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 24px;
}
.modal-footer small {
  font-size: 9px;
  color: #98a18d;
}
.form-error {
  font-size: 11px;
  color: #ad514b;
  margin-top: 12px;
}
.detail-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  margin: 22px 0;
}
.detail-info dt {
  font-size: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #939c87;
  margin-bottom: 4px;
}
.detail-info dd {
  margin: 0;
  font-size: 12px;
  color: #59664b;
}
.detail-header {
  display: flex;
  gap: 14px;
  align-items: center;
}
.detail-header .avatar {
  width: 47px;
  height: 47px;
  font-size: 15px;
  border-radius: 12px;
}
.detail-header h3 {
  font-size: 16px;
}
.detail-header p {
  font-size: 11px;
  color: #8c9881;
}
.package-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.package-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 11px;
  color: #7b896e;
}
.package-list .icon {
  height: 16px;
  width: 16px;
}
.upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 35px;
  border: 1px dashed #becdb0;
  border-radius: 12px;
  background: #fafcf5;
  margin-top: 17px;
}
.upload-area input {
  max-width: 100%;
  font-size: 10px;
}
.toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 32px));
}
.toast {
  background: #294b37;
  color: white;
  border-radius: 12px;
  padding: 15px 18px;
  box-shadow: 0 8px 35px #182f2a30;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  animation: toast-in 0.2s ease-out;
}
.toast .icon {
  color: #bdceb4;
}
.toast.error {
  background: #804439;
}
@keyframes toast-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .content {
    padding: 38px 48px;
  }
  .topbar {
    padding: 0 48px;
  }
  .metrics {
    gap: 22px;
  }
  .dashboard-grid {
    gap: 26px;
  }
}
@media (max-width: 1180px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 13px 20px;
  }
  .wordmark {
    font-size: 20px;
  }
  .content {
    padding: 26px 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(270px, 1fr);
  }
  .metric {
    padding: 16px 15px;
  }
  .metric-number {
    font-size: 26px;
  }
  .inbox {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}
@media (max-width: 950px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-grid > .stack:last-child {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    gap: 10px;
  }
  .metric-note {
    font-size: 8px;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .receipt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inbox {
    grid-template-columns: 230px minmax(0, 1fr);
  }
  .top-actions {
    gap: 8px;
  }
  .demo-badge {
    font-size: 9px;
  }
  .metric-top {
    font-size: 9px;
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 225px;
    z-index: 40;
    box-shadow: 10px 0 40px #1d332620;
    transform: translateX(-105%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-menu {
    display: grid;
  }
  .topbar {
    height: 68px;
    padding: 0 15px;
  }
  .breadcrumb {
    display: none;
  }
  .top-actions {
    gap: 7px;
    margin-left: auto;
  }
  .top-actions > .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .demo-badge {
    font-size: 8px;
    padding: 4px 5px;
  }
  .top-actions .icon-btn {
    min-width: 32px;
  }
  .content {
    padding: 23px 16px 30px;
  }
  h1 {
    font-size: 23px;
  }
  .page-heading {
    margin-bottom: 21px;
    align-items: flex-start;
  }
  .date-chip {
    padding: 8px;
    font-size: 8px;
    white-space: nowrap;
  }
  .date-chip .icon {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
  }
  .metric {
    padding: 15px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-note {
    font-size: 9px;
  }
  .dashboard-grid > .stack:last-child {
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    gap: 20px;
  }
  .card-head {
    padding: 18px;
  }
  .tour-map {
    margin: 0 16px;
  }
  .wide-card {
    margin-top: 20px;
  }
  td,
  th {
    padding: 13px 16px;
  }
  .inbox {
    display: block;
    min-height: 0;
  }
  .conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 265px;
    overflow: auto;
  }
  .conversation-list .filter-pills {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
  }
  .conversation {
    padding: 12px 16px;
  }
  .conversation.active {
    padding-left: 13px;
  }
  .thread-head {
    padding: 18px;
  }
  .thread-messages {
    padding: 20px;
    min-height: 190px;
  }
  .compose {
    padding: 18px;
  }
  .bubble {
    max-width: 100%;
  }
  .receipt-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .receipt-card {
    padding: 16px;
  }
  .receipt-paper {
    height: 90px;
    width: 68px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .modal-head {
    padding: 19px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-footer {
    align-items: flex-start;
  }
  .modal-footer small {
    max-width: 150px;
  }
  .bottom-note {
    align-items: flex-start;
  }
  .tour-page .tour-map {
    height: 250px;
  }
  .toolbar {
    padding: 13px;
  }
  .search {
    max-width: none;
    min-width: 100%;
  }
  .receipt-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .detail-info {
    gap: 15px;
  }
  .compose-footer {
    align-items: flex-start;
  }
  .compose-footer small {
    max-width: 160px;
  }
  .inventory-model {
    min-width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.size-checkboxes {
  display: flex;
  gap: 18px;
  min-height: 42px;
  align-items: center;
}
.size-checkboxes label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 11px;
}
.size-checkboxes input {
  width: 17px;
  min-height: 17px;
  height: 17px;
  accent-color: var(--green);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  background: var(--bg);
}
.login-card {
  width: 100%;
  max-width: 380px;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login-card .wordmark span {
  margin-bottom: 28px;
}
.login-card .field {
  margin-bottom: 16px;
}
.login-card input {
  font-size: 16px;
}
.login-submit {
  width: 100%;
  margin-top: 4px;
}

.mono-input {
  min-height: 140px;
  font-family: monospace;
  font-size: 11px;
}

.login-title {
  font-size: 20px;
  margin: 0 0 8px;
}
