:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #24342e;
  background: #fafbf9;
  font-synthesis: none;
  --green: #174c3c;
  --muted: #748078;
  --border: #e5e9e4;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
select,
summary {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
button svg,
a svg {
  width: 17px;
  height: 17px;
}
input,
select,
textarea {
  border: 1px solid #dce2db;
  border-radius: 7px;
  background: white;
  padding: 11px 13px;
  color: #24342e;
  max-width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #939c96;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #76a08b;
  outline-offset: 1px;
}
:focus-visible {
  outline: 2px solid #408266;
  outline-offset: 4px;
}
input,
textarea {
  min-width: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 18px 0 7px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -1.1px;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
strong {
  font-weight: 600;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 10px;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--border);
  background: #f2f4ef;
  padding: 32px 18px 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  padding: 0 10px;
}
.brand-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.brand-symbol svg {
  height: 30px;
  width: 30px;
  fill: currentColor;
  stroke-width: 1;
}
.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 1.45px;
  margin-top: 1px;
  font-weight: 500;
}
.workspace {
  display: flex;
  gap: 9px;
  align-items: center;
  border: 1px solid #dde3d9;
  border-radius: 7px;
  background: #fafbf8;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 600;
  margin: 32px 0 30px;
}
.workspace small {
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
}
.workspace-icon {
  background: #e3e9dc;
  border: 1px solid #d5ddcd;
  padding: 4px 9px;
  border-radius: 5px;
  font-family: Georgia, serif;
  font-size: 18px;
}
.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: #43886b;
  flex-shrink: 0;
}
.workspace .online-dot {
  margin-left: auto;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #8c968b;
  padding-left: 12px;
  margin-bottom: 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  margin-bottom: 5px;
  border-radius: 6px;
  color: #707b71;
  font-size: 13px;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #e9eee4;
  color: var(--green);
}
.nav-item.active {
  background: #e2e9db;
  color: #284c36;
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  font-size: 10px;
  padding: 1px 6px;
  background: #f4f6f0;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
}
.demo-note {
  border-top: 1px solid #e0e6da;
  padding: 20px 12px;
  margin-top: 15px;
  font-size: 12px;
}
.demo-note .online-dot {
  margin-right: 8px;
}
.demo-note small {
  font-size: 10px;
  padding-left: 18px;
  margin-top: 5px;
}
.user-row {
  padding: 18px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #e0e6da;
  font-size: 12px;
}
.user-row small {
  font-size: 10px;
}
.user-row button {
  margin-left: auto;
}
.main-wrap {
  margin-left: 232px;
  min-height: 100vh;
}
.topbar {
  height: 65px;
  border-bottom: 1px solid var(--border);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7c867f;
  font-size: 11px;
  background: #fff;
}
.slash {
  padding: 0 13px;
  color: #c8cec7;
}
.topbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.divider {
  height: 14px;
  width: 1px;
  background: var(--border);
  margin: 0 10px;
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 38px 38px 55px;
  min-height: calc(100vh - 120px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #dce2da;
  background: white;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  min-height: 36px;
}
.button:hover {
  background: #f2f5ef;
}
.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.button.primary:hover {
  background: #21634b;
}
.button.danger {
  color: #ae463c;
  border-color: #eacfc9;
}
.button.danger:hover {
  background: #fff4f1;
}
.button.danger-solid {
  background: #a33e34;
  border-color: #a33e34;
  color: white;
}
.button.wide {
  width: 100%;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--green);
  font-weight: 550;
}
.text-button:hover,
.record-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-button {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 5px;
  color: #7e897f;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #eef2ea;
  color: var(--green);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 26px;
}
.stats section {
  padding: 22px 24px;
  border-right: 1px solid var(--border);
}
.stats section:last-child {
  border-right: 0;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.stat-label svg {
  width: 17px;
  height: 17px;
  color: #a5afa4;
}
.stat-value {
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -1px;
  margin: 12px 0 6px;
}
.stat-unit {
  font-size: 12px;
  letter-spacing: 0;
  color: #8d978d;
  font-weight: 400;
  margin-left: 8px;
}
.stats small {
  font-size: 10px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
  margin-bottom: 27px;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  overflow: hidden;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 21px 23px;
}
.section-heading h3 {
  margin: 0;
}
.section-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.quiet-tag {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 5px;
  background: #fafbf8;
  font-size: 10px;
  color: #6d786e;
  white-space: nowrap;
}
.quiet-tag.vip {
  color: #8b6a30;
  background: #fbf7e9;
  border-color: #eee5c8;
}
.chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 230px;
  margin: 0 26px 23px;
  border-bottom: 1px solid #e7ebe5;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent 49px,
    #f0f3ed 49px,
    #f0f3ed 50px
  );
  gap: 9px;
}
.chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  height: 100%;
  color: #7e897f;
  font-size: 9px;
  padding-bottom: 7px;
}
.chart-amount {
  font-size: 9px;
}
.bar {
  background: #d1ddc7;
  width: 75%;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}
.chart-column:last-child .bar {
  background: #547553;
}
.level-1 {
  height: 15px;
}
.level-2 {
  height: 30px;
}
.level-3 {
  height: 45px;
}
.level-4 {
  height: 60px;
}
.level-5 {
  height: 75px;
}
.level-6 {
  height: 90px;
}
.level-7 {
  height: 105px;
}
.level-8 {
  height: 120px;
}
.level-9 {
  height: 135px;
}
.level-10 {
  height: 150px;
}
.level-11 {
  height: 165px;
}
.level-12 {
  height: 180px;
}
.radar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-top: 1px solid #f0f2ed;
}
.radar-item > svg {
  margin-left: auto;
  width: 15px;
  color: #94a08e;
}
.radar-item strong {
  font-size: 12px;
}
.radar-item p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.radar-item:hover {
  background: #fafbf7;
}
.radar-icon {
  background: #f1f4ec;
  border-radius: 8px;
  padding: 9px;
  display: inline-flex;
  color: #7d8d70;
}
.radar-icon svg {
  width: 18px;
  height: 18px;
}
.editorial-note {
  margin: 10px 20px 20px;
  padding: 17px 20px;
  background: #f3f2e8;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.editorial-note::after {
  content: "✳";
  position: absolute;
  right: 17px;
  top: 15px;
  font-size: 72px;
  line-height: 1;
  color: #d6dbc3;
}
.editorial-note .eyebrow {
  font-size: 8px;
}
.editorial-note p {
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
  color: #506140;
  margin: 5px 0 10px;
}
.editorial-note > span:last-child {
  font-size: 9px;
  color: #8b917c;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  background: #f9faf7;
  font-size: 10px;
  font-weight: 500;
  color: #84907f;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td {
  padding: 15px 20px;
  border-bottom: 1px solid #eef1eb;
}
tr:last-child td {
  border-bottom: none;
}
tbody tr:hover {
  background: #fcfdf9;
}
td small {
  font-size: 10px;
  margin-top: 3px;
}
.number {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.date-cell {
  white-space: nowrap;
  color: #7e887c;
  font-size: 11px;
}
.record-link {
  font-weight: 550;
  white-space: nowrap;
}
.record-link svg {
  width: 14px;
  height: 14px;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.person small {
  white-space: nowrap;
}
.avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #e5e8df;
  color: #7a8268;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tone-0 {
  background: #f3e9dd;
  color: #9b7960;
}
.tone-1 {
  background: #e8edf3;
  color: #77869e;
}
.tone-2 {
  background: #ede8f0;
  color: #957e9e;
}
.tone-3 {
  background: #e6ecdf;
  color: #7e8c69;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f1f2ef;
  color: #788073;
  white-space: nowrap;
}
.badge > span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.badge.processing {
  background: #faf1da;
  color: #a0812b;
}
.badge.shipped {
  background: #eaf0f8;
  color: #6585b3;
}
.badge.delivered {
  background: #eaf2e6;
  color: #668456;
}
.badge.cancelled {
  background: #f4e9e7;
  color: #ac776e;
}
.payment {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #818a7c;
}
.payment svg {
  width: 13px;
  height: 13px;
}
.tabs {
  display: flex;
  gap: 23px;
  padding: 0 23px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab {
  padding: 18px 0 15px;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #87907f;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.tab.selected {
  border-bottom-color: #4c6c45;
  color: #395d37;
  font-weight: 600;
}
.tab span {
  margin-left: 6px;
  background: #edf1e8;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 9px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 23px;
}
.toolbar > .muted {
  font-size: 10px;
  white-space: nowrap;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 420px;
  max-width: 100%;
}
.search-field svg {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #919b8c;
}
.search-field input {
  width: 100%;
  padding: 10px 35px;
  font-size: 12px;
}
kbd {
  position: absolute;
  right: 12px;
  color: #aeb6a8;
  font-size: 13px;
}
.table-footer {
  border-top: 1px solid var(--border);
  padding: 14px 22px;
  font-size: 10px;
  color: #949c8f;
  display: flex;
  justify-content: space-between;
}
.empty {
  text-align: center;
  padding: 65px 25px;
  color: #819076;
}
.empty > svg {
  width: 35px;
  height: 35px;
  margin-bottom: 16px;
  color: #b0bba5;
}
.empty h2 {
  margin-bottom: 8px;
  color: #64775b;
}
.empty p {
  font-size: 12px;
}
.empty.compact {
  padding: 28px 10px;
}
.spinner {
  width: 24px;
  height: 24px;
  display: inline-block;
  border: 2px solid #e1e7da;
  border-top-color: #6f8861;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 15px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
footer {
  border-top: 1px solid var(--border);
  margin: 0 38px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #a0a89a;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: #809074;
  margin-bottom: 20px;
}
.profile-grid {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
}
.profile-card {
  padding: 26px 23px;
  height: fit-content;
}
.profile-card > .avatar {
  width: 60px;
  height: 60px;
  font-size: 19px;
  margin-bottom: 15px;
}
.profile-card > p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 14px 20px;
  font-size: 12px;
  margin: 25px 0;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.profile-card .facts {
  grid-template-columns: 1fr;
  gap: 4px;
}
.profile-card .facts dd {
  margin-bottom: 12px;
}
details {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 15px;
}
summary {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary svg {
  width: 14px;
  height: 14px;
}
details[open] summary {
  margin-bottom: 18px;
}
details[open] summary svg {
  transform: rotate(180deg);
}
address {
  font-style: normal;
  font-size: 12px;
  line-height: 1.9;
  color: #788571;
}
.notes-panel {
  margin-top: 24px;
  padding-bottom: 23px;
}
.notes-panel form,
#notes-list {
  margin: 0 23px;
}
textarea {
  width: 100%;
  min-height: 95px;
  resize: vertical;
  display: block;
  margin-bottom: 12px;
}
.note {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.note p {
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.small.avatar {
  width: 25px;
  height: 25px;
  font-size: 8px;
}
.shipment-list {
  margin-top: 24px;
}
.shipment-row {
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding: 16px 23px;
  font-size: 12px;
}
.shipment-row > .badge {
  margin-left: auto;
}
.shipment-row small {
  font-size: 10px;
  margin-top: 3px;
}
.tracking-detail {
  padding: 0 24px 25px;
}
.tracking-detail .section-heading {
  padding-left: 0;
  padding-right: 0;
  border-top: 1px solid var(--border);
}
.timeline {
  list-style: none;
  padding: 8px 0 0 14px;
  margin: 0;
  font-size: 12px;
}
.timeline li {
  border-left: 1px solid #dce4d5;
  padding: 0 0 25px 20px;
  position: relative;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9b99b;
  outline: 4px solid #fff;
}
.timeline li:last-child {
  padding-bottom: 4px;
  border-color: transparent;
}
.timeline p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.timeline-time {
  float: right;
  color: #9aa491;
  font-size: 10px;
}
.lab-banner {
  background: #eef3e8;
  border: 1px solid #dce6d1;
  border-radius: 8px;
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.lab-banner strong {
  font-size: 13px;
}
.lab-banner p {
  font-size: 12px;
  color: #7b8a6d;
  margin-top: 4px;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.lab-form {
  padding: 0 23px 23px;
}
.lab-form label:first-child {
  margin-top: 0;
}
.lab-form select {
  width: 100%;
  font-size: 12px;
}
.lab-form p {
  font-size: 11px;
  margin: 15px 0 20px;
}
.checklist {
  padding: 0 24px;
  list-style: none;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  padding: 11px 0;
}
.checklist svg {
  width: 17px;
  height: 17px;
  color: #708e5e;
}
.lab-links {
  display: flex;
  gap: 22px;
  padding: 24px;
  flex-wrap: wrap;
}
.extra-space {
  margin-top: 24px;
}
.padded {
  padding: 24px;
}
.padded > p {
  margin-top: 12px;
}
.guide-list {
  font-size: 12px;
}
.guide-list dt {
  margin-top: 18px;
  font-weight: 600;
}
.guide-list dd {
  margin: 6px 0 0;
  color: #829074;
  line-height: 1.8;
}
code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.activity-list {
  padding-left: 0;
  list-style: none;
}
.activity-list li {
  display: flex;
  gap: 12px;
  font-size: 11px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.activity-list small {
  margin-left: auto;
  font-size: 10px;
}
dialog {
  padding: 0;
  border: 1px solid #dbe2d6;
  border-radius: 12px;
  width: 700px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 64px);
  color: #24342e;
  box-shadow: 0 25px 100px #13291c30;
}
dialog::backdrop {
  background: #172b245c;
  backdrop-filter: blur(2px);
}
.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fbfcf9;
}
.modal-header .eyebrow {
  font-size: 9px;
  margin-bottom: 4px;
}
.modal-header h2 {
  font-size: 24px;
  letter-spacing: -0.8px;
}
.modal-scroll {
  overflow-y: auto;
  max-height: calc(100dvh - 165px);
  padding: 0 28px 10px;
}
.order-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 10px;
}
.order-summary > div {
  display: flex;
  gap: 14px;
  align-items: center;
}
.order-summary > .muted {
  font-size: 11px;
}
.order-section {
  border-top: 1px solid var(--border);
  padding: 23px 0;
}
.order-section .section-heading {
  padding: 0 0 18px;
}
.order-section .person small {
  font-size: 12px;
}
.line-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  font-size: 12px;
}
.line-item > div:nth-child(2) {
  flex: 1;
}
.line-item small {
  font-size: 10px;
  margin-top: 4px;
}
.line-item > .muted {
  margin-right: 12px;
  font-size: 11px;
}
.product-thumb {
  width: 48px;
  height: 52px;
  border-radius: 6px;
  background: #f0eee5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b9b78;
}
.product-thumb.book {
  background: #f3e8e1;
  color: #b69581;
}
.product-thumb.bottle {
  background: #ebefeb;
  color: #8a9b8d;
}
.totals {
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--border);
  margin: 20px 0 0;
  padding-top: 18px;
  font-size: 12px;
  gap: 10px;
}
.totals dt {
  color: var(--muted);
}
.totals dd {
  text-align: right;
  margin: 0;
}
.totals .total-label {
  font-size: 14px;
  font-weight: 600;
  color: #34492f;
  margin-top: 9px;
}
.total-label span {
  font-size: 9px;
  font-weight: 400;
  margin-left: 7px;
  color: var(--muted);
}
.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.address-grid p {
  font-size: 12px;
  margin-bottom: 9px;
}
.address-grid .record-link {
  font-size: 11px;
}
.actions-section > p {
  font-size: 12px;
  margin-bottom: 15px;
}
.notice {
  font-size: 12px;
  padding: 13px 15px;
  background: #f4f6f0;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #7d8a73;
}
.error-text,
#login-error,
#cancel-error {
  color: #af443a;
  font-size: 12px;
  line-height: 1.6;
}
.error-text,
.success-text {
  padding: 13px 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  background: #fff3ef;
}
.success-text {
  background: #eef5e9;
  color: #507a3b;
  font-size: 12px;
}
.duplicate-controls {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.confirmation {
  width: 460px;
}
.confirm-content {
  padding: 30px;
}
.confirm-content h2 {
  font-size: 21px;
  margin: 14px 0 10px;
}
.confirm-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.confirm-content select {
  width: 100%;
  font-size: 12px;
}
.confirm-symbol {
  background: #fbefeb;
  color: #af7865;
  display: inline-flex;
  padding: 12px;
  border-radius: 50%;
}
.confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 26px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 116px);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: #253f30;
  color: white;
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 12px;
  z-index: 50;
  transition: transform 0.2s, opacity 0.2s;
  max-width: calc(100vw - 30px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.login-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #1d493b;
  color: #e5eadc;
  padding: 45px 56px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brand.light {
  color: #f3f4e9;
  padding: 0;
}
.light .brand-symbol {
  color: #e0e5cc;
}
.login-copy {
  margin: auto 0;
  padding: 55px 0 10px;
}
.login-copy .eyebrow {
  color: #9eb3a0;
  font-size: 10px;
}
.login-copy h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.6px;
  margin: 20px 0;
}
.login-copy > p {
  font-size: 13px;
  color: #afc1b0;
  line-height: 1.9;
}
.login-story > small {
  color: #94ad9d;
  font-size: 10px;
  margin-top: 20px;
}
.parcel-art {
  height: 230px;
  position: relative;
  margin-top: 40px;
}
.parcel {
  position: absolute;
  background: #c5b796;
  border: 1px solid #d5c9a8;
  color: #6d7157;
  box-shadow: 15px 25px 25px #163c2b50;
  transform: rotate(-8deg);
}
.parcel:after {
  content: "";
  position: absolute;
  width: 26px;
  background: #dfd1ab;
  height: 100%;
  left: 45%;
  top: 0;
  opacity: 0.6;
}
.parcel.one {
  width: 215px;
  height: 150px;
  left: 15px;
  top: 40px;
}
.parcel.two {
  width: 165px;
  height: 120px;
  left: 200px;
  top: 80px;
  background: #ddd1b0;
  transform: rotate(13deg);
}
.parcel span {
  position: absolute;
  top: 19px;
  left: 17px;
  font-size: 8px;
  letter-spacing: 1px;
  max-width: 80px;
}
.art-label {
  position: absolute;
  bottom: 0;
  left: 35px;
  font-size: 8px;
  letter-spacing: 1.6px;
  color: #a3b69d;
}
.art-label svg {
  width: 13px;
  height: 13px;
  margin-left: 10px;
}
.login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcfcfa;
  padding: 45px;
}
.login-form {
  width: 360px;
  max-width: 100%;
}
.login-form > h2 {
  font-size: 30px;
  margin: 20px 0 8px;
  letter-spacing: -0.8px;
}
.login-form > p {
  color: var(--muted);
  font-size: 13px;
}
.login-form input {
  width: 100%;
  font-size: 13px;
}
.login-form .wide {
  margin-top: 24px;
  font-size: 13px;
  padding: 12px;
}
#login-error {
  margin-top: 12px;
}
.credential-box {
  margin: 27px 0 20px;
  border: 1px solid #e1e6db;
  border-radius: 8px;
  padding: 20px;
  background: #f5f7f0;
  font-size: 12px;
}
.credential-box p {
  font-size: 11px;
  color: #87937b;
  margin: 6px 0 12px;
}
.credential-box dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  font-size: 11px;
}
.credential-box dt {
  color: #8b967e;
}
.credential-box dd {
  margin: 0;
  font-family: monospace;
}
.credential-box button {
  margin-top: 10px;
  font-size: 11px;
}
.login-form > small {
  font-size: 10px;
}
.sr-only {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mobile-only {
  display: none;
}
[data-variant="cosmetic"] {
  --green: #3f526e;
  --border: #e0e5eb;
}
[data-variant="cosmetic"] .sidebar {
  background: #eef1f5;
}
[data-variant="cosmetic"] .nav-item.active {
  background: #dfe7f0;
  color: #3f526e;
}
[data-variant="cosmetic"] .panel {
  border-radius: 14px;
}
@media (min-width: 1450px) {
  td {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main-wrap {
    margin-left: 200px;
  }
  main {
    padding: 30px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  td,
  th {
    padding-left: 13px;
    padding-right: 13px;
  }
  .stats section {
    padding: 18px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-unit {
    font-size: 10px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .profile-grid {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 18px;
  }
  #toast {
    left: calc(50% + 100px);
  }
}
@media (max-width: 850px) {
  .sidebar {
    width: 74px;
    padding: 25px 10px 0;
  }
  .sidebar .brand {
    padding: 0 10px;
  }
  .sidebar .brand > span:last-child,
  .workspace,
  .nav-label,
  .nav-count,
  .demo-note,
  .user-row > div,
  .user-row > .avatar {
    display: none;
  }
  .sidebar .brand {
    font-size: 0;
    margin-bottom: 30px;
  }
  .nav-item {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 14px;
  }
  .nav-item svg {
    width: 20px;
    height: 20px;
  }
  .user-row button {
    margin: auto;
  }
  .main-wrap {
    margin-left: 74px;
  }
  .topbar-end {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats section:nth-child(2) {
    border-right: 0;
  }
  .stats section:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
  .overview-grid,
  .lab-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-card .facts {
    grid-template-columns: 1fr 1fr;
  }
  .profile-card .facts dd {
    margin: 0;
  }
  .overview-grid .attention-panel {
    display: none;
  }
  .login-story {
    padding: 35px 30px;
  }
  .parcel.two {
    left: 100px;
  }
  .login-form-panel {
    padding: 35px 25px;
  }
  #toast {
    left: calc(50% + 37px);
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 22px;
  }
  main {
    padding: 25px 15px;
  }
  .topbar {
    padding: 0 16px;
    height: 53px;
  }
  .page-heading p {
    line-height: 1.7;
  }
  .stats section {
    padding: 16px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-unit {
    display: none;
  }
  .stats small {
    font-size: 9px;
  }
  .section-heading {
    padding: 18px 16px;
  }
  .section-heading p {
    line-height: 1.7;
  }
  .toolbar {
    padding: 16px;
    flex-wrap: wrap;
  }
  .toolbar > .muted {
    display: none;
  }
  .tabs {
    padding: 0 16px;
    gap: 20px;
  }
  .tab {
    font-size: 11px;
  }
  .chart {
    margin-left: 15px;
    margin-right: 15px;
  }
  .chart-amount {
    font-size: 8px;
  }
  .chart-column {
    font-size: 8px;
  }
  footer {
    margin: 0 15px;
    font-size: 9px;
  }
  footer > span {
    max-width: 140px;
    text-align: right;
  }
  .shipment-row {
    flex-wrap: wrap;
    padding: 16px;
    gap: 10px;
  }
  .shipment-row > .badge {
    margin-left: 0;
  }
  .shipment-row > .button {
    margin-left: auto;
  }
  .modal-header {
    padding: 18px;
  }
  .modal-scroll {
    padding: 0 18px;
  }
  .order-summary {
    flex-wrap: wrap;
  }
  .address-grid {
    grid-template-columns: 1fr;
  }
  .confirm-content {
    padding: 22px;
  }
  .confirm-actions {
    flex-direction: column-reverse;
  }
  .line-item {
    gap: 9px;
  }
  .line-item > .muted {
    margin-right: 0;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    min-height: auto;
    padding: 26px;
  }
  .login-copy,
  .login-story > small {
    display: none;
  }
  .login-form-panel {
    padding: 35px 25px;
    min-height: calc(100dvh - 90px);
  }
  .login-form > h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
