:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #252923;
  background: #f5f6f3;
  font-size: 14px;
  line-height: 1.45;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button {
  cursor: pointer;
  border: 1px solid #d4d8d0;
  border-radius: 5px;
  padding: 8px 12px;
  background: white;
  color: inherit;
  font-weight: 550;
}
button:hover {
  background: #f0f2ed;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin-bottom: 5px;
  font-weight: 650;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 14px;
}
small,
.muted {
  color: #72796d;
}
.sidebar {
  width: 224px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid #dfe3da;
  display: flex;
  flex-direction: column;
  padding: 27px 17px 16px;
  z-index: 5;
}
.brand {
  padding: 0 9px 27px;
  display: block;
}
.brand img {
  width: 165px;
  max-height: 50px;
}
.brand span {
  display: block;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 2.1px;
  color: #8a9183;
  margin-top: 10px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
nav a {
  padding: 10px 12px;
  border-radius: 5px;
  color: #687060;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 550;
}
nav a:hover {
  text-decoration: none;
  background: #f3f5ee;
}
nav a.active {
  background: #edf0e7;
  color: #253621;
}
nav .nav-icon {
  width: 20px;
  font-size: 17px;
  text-align: center;
}
nav .nav-section {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #989f91;
  padding: 22px 12px 5px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #e8ebe3;
  padding: 17px 7px 0;
  color: #92988d;
  font-size: 11px;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70885b;
  margin-right: 6px;
}
.text-button {
  border: 0;
  background: none;
  padding: 10px 0;
  color: #686f60;
  font-size: 12px;
}
.workspace {
  margin-left: 224px;
}
.topbar {
  height: 62px;
  background: #fff;
  border-bottom: 1px solid #dfe3da;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: #93998e;
}
.topbar strong {
  font-weight: 550;
  color: #535d4d;
}
.topbar-note {
  letter-spacing: 0;
  font-size: 12px;
}
main {
  padding: 30px 34px;
  max-width: 1700px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.page-heading p {
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 650;
  color: #828b76;
}
.primary {
  background: #303e29;
  border-color: #303e29;
  color: white;
}
.primary:hover {
  background: #44543a;
}
.danger {
  color: #a0342c;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.search {
  max-width: 390px;
  flex: 1;
  min-width: 180px;
  background: white;
}
.toolbar .count {
  margin-left: auto;
  color: #7f8778;
  font-size: 12px;
}
input,
select,
textarea {
  border: 1px solid #d6dbd0;
  border-radius: 4px;
  background: white;
  padding: 9px 10px;
  color: #283022;
  width: 100%;
  min-width: 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #849875;
  outline-offset: 1px;
}
input[type="checkbox"] {
  width: auto;
  accent-color: #465d38;
}
textarea {
  resize: vertical;
  min-height: 82px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #616b57;
  margin-bottom: 15px;
}
label input,
label select,
label textarea {
  display: block;
  margin-top: 6px;
}
label.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}
label.check input {
  margin: 0;
}
.table-shell {
  overflow: auto;
  border: 1px solid #dfe3d9;
  border-radius: 6px;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #818a76;
  background: #fafbf8;
  padding: 12px 16px;
  border-bottom: 1px solid #e1e5db;
}
td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf0e8;
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr[data-id] {
  cursor: pointer;
}
tbody tr[data-id]:hover {
  background: #f8faf4;
}
td:first-child {
  font-weight: 550;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce4d2;
  border-radius: 4px;
  background: #f0f5e9;
  color: #60724c;
  font-size: 10px;
  padding: 3px 7px;
  letter-spacing: 0.2px;
}
.badge.warn {
  background: #fff6e8;
  color: #9c722f;
  border-color: #eee0c8;
}
.badge.neutral {
  background: #f3f4f1;
  color: #777e70;
  border-color: #e2e4dd;
}
.badge.bad {
  background: #fceeea;
  color: #a75645;
  border-color: #efd9d1;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.card,
.panel {
  background: white;
  border: 1px solid #dfe3d9;
  border-radius: 6px;
  padding: 21px;
}
.card .metric {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  margin: 13px 0 4px;
  font-weight: 600;
}
.card .label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  color: #7b856f;
}
.card small {
  font-size: 11px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 13px;
}
.section-title h2 {
  font-size: 16px;
  margin: 0;
}
.empty {
  text-align: center;
  padding: 50px 20px;
  color: #838c78;
}
.empty strong {
  display: block;
  color: #47513c;
  margin-bottom: 6px;
}
.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.fields .wide {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid #e3e7dd;
  margin-top: 15px;
}
.form-error {
  color: #a03a31;
  background: #fff0ed;
  border: 1px solid #efd4cd;
  padding: 11px;
  border-radius: 4px;
  margin: 12px 0;
  white-space: pre-wrap;
}
.loading {
  padding: 40px;
  color: #828b76;
}
dialog {
  border: 1px solid #ccd3c3;
  border-radius: 8px;
  padding: 0;
  max-width: 820px;
  width: calc(100% - 36px);
  max-height: 90vh;
  box-shadow: 0 25px 100px #1c281c30;
  color: inherit;
}
dialog::backdrop {
  background: #17211355;
  backdrop-filter: blur(2px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e6db;
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.dialog-heading h2 {
  margin: 0;
}
.icon-button {
  border: 0;
  padding: 0 5px;
  font-size: 25px;
  line-height: 1;
  background: none;
  color: #8a9380;
}
#dialog-body {
  padding: 23px 24px;
}
.subtable {
  border: 1px solid #e0e5d8;
  border-radius: 5px;
  padding: 12px;
  margin-bottom: 15px;
  background: #fafbf8;
}
.line-row {
  display: grid;
  grid-template-columns: 2fr 70px 1fr 1.3fr 30px;
  gap: 7px;
  align-items: center;
  margin: 9px 0;
}
.bom-row {
  display: grid;
  grid-template-columns: 1fr 90px 32px;
  gap: 8px;
  margin: 8px 0;
}
.inline-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}
.detail-grid dt {
  font-size: 10px;
  color: #858d7a;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.detail-grid dd {
  margin: 4px 0 0;
  white-space: pre-wrap;
}
.timeline {
  padding: 0;
  list-style: none;
}
.timeline li {
  padding: 12px 0;
  border-bottom: 1px solid #edf0e8;
}
.timeline small {
  display: block;
}
#notice {
  position: fixed;
  bottom: 22px;
  right: 24px;
  padding: 12px 18px;
  max-width: 430px;
  color: white;
  background: #35452c;
  border-radius: 5px;
  box-shadow: 0 5px 25px #0002;
  z-index: 20;
  display: none;
}
#notice.error {
  background: #8d3a30;
}
.swatch {
  width: 11px;
  height: 11px;
  display: inline-block;
  border: 1px solid #ccd0c4;
  border-radius: 50%;
  margin-right: 6px;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f2f4ed;
}
.login-card {
  width: 410px;
  max-width: calc(100% - 36px);
  padding: 38px;
  background: white;
  border: 1px solid #dce2d3;
  border-radius: 8px;
}
.login-card img {
  width: 210px;
  margin-bottom: 28px;
}
.login-card h1 {
  font-size: 23px;
  margin-bottom: 10px;
}
.login-card form {
  margin-top: 26px;
}
.login-card .primary {
  width: 100%;
  padding: 11px;
}
.login-foot {
  font-size: 10px;
  color: #959d8a;
  text-align: center;
  margin: 27px 0 0;
}
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  main {
    padding: 24px;
  }
  .sidebar {
    width: 190px;
  }
  .workspace {
    margin-left: 190px;
  }
  .brand img {
    width: 145px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #dfe3da;
  }
  .brand {
    padding: 0 5px 12px;
  }
  .brand img {
    width: 150px;
  }
  .brand span,
  .sidebar-bottom,
  .nav-section,
  .topbar-note {
    display: none !important;
  }
  nav {
    flex-direction: row;
    overflow: auto;
    gap: 3px;
  }
  nav a {
    padding: 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  nav .nav-icon {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 42px;
    padding: 0 18px;
  }
  main {
    padding: 21px 16px;
  }
  .page-heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 24px;
  }
  .cards {
    gap: 9px;
  }
  .card {
    padding: 15px;
  }
  .card .metric {
    font-size: 27px;
  }
  .grid-two,
  .fields,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .line-row {
    grid-template-columns: 1fr 60px 30px;
  }
  .line-row .line-style,
  .line-row .line-text {
    grid-column: 1/3;
  }
  .line-row .remove-line {
    grid-column: 3;
    grid-row: 1;
  }
  #dialog-body {
    padding: 18px;
  }
  .dialog-heading {
    padding: 17px;
  }
  .table-shell {
    border-radius: 4px;
  }
  th,
  td {
    padding: 12px;
  }
  #notice {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toolbar .count {
    display: none;
  }
}
fieldset.address-fields {
  border: 1px solid #e0e5d8;
  border-radius: 5px;
  margin: 3px 0 18px;
  padding: 14px;
}
fieldset legend {
  font-weight: 600;
  font-size: 12px;
  color: #68745b;
  padding: 0 7px;
}
fieldset .fields label {
  margin-bottom: 10px;
}
.line-row textarea {
  min-height: 38px;
  height: 38px;
  padding: 8px;
}
.detail-grid strong {
  white-space: pre-wrap;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #829573;
}
.sidebar {
  overflow-y: auto;
}
.sidebar .brand,
.sidebar-bottom {
  flex-shrink: 0;
}
.sidebar nav {
  flex-shrink: 0;
}
.toolbar select {
  width: auto;
  min-width: 150px;
}
.store-status {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #edf2e7;
  border: 1px solid #dbe4d1;
  padding: 13px 16px;
  border-radius: 5px;
  margin-bottom: 14px;
  font-size: 12px;
}
.store-status span {
  color: #6d795f;
}
.store-status a {
  margin-left: auto;
  white-space: nowrap;
}
.catalog-notice {
  padding: 12px 16px;
  background: #fff8eb;
  border: 1px solid #eaddc1;
  border-radius: 5px;
  margin-bottom: 18px;
  color: #887044;
  font-size: 12px;
}
.catalog-notice strong {
  margin-right: 8px;
}
.attention-summary {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.line-meta {
  grid-column: 1/-1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid #dfe5d7;
  padding-bottom: 12px;
  margin-bottom: 4px;
}
.line-meta label {
  min-width: 150px;
  max-width: 180px;
  margin: 0;
}
.line-guidance {
  font-size: 11px;
  line-height: 1.6;
  color: #78816c;
  margin: 20px 0 0;
  overflow-wrap: anywhere;
}
.line-guidance.invalid {
  color: #a04031;
}
.accessory-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 14px;
  border-bottom: 1px solid #e5e9de;
  padding: 12px 0;
}
.accessory-list small {
  grid-column: 1;
}
.accessory-list button {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
}
@media (max-width: 700px) {
  .sidebar {
    overflow: visible;
  }
  .store-status {
    flex-wrap: wrap;
    gap: 7px;
  }
  .store-status a {
    margin-left: 0;
  }
  .line-meta {
    display: block;
  }
  .line-meta label {
    max-width: none;
  }
  .line-guidance {
    margin-top: 8px;
  }
}
@media (max-width: 700px) {
  .sidebar-bottom {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    padding: 8px 5px 0;
    border-top: 1px solid #e8ebe3;
  }
  .sidebar-bottom form {
    margin-left: auto;
  }
  .sidebar-bottom .text-button {
    padding: 2px 0;
  }
  .sidebar-bottom .live-dot {
    margin-right: 0;
  }
}

/* The supplied dark-background brand artwork keeps its original colors. */
.sidebar .brand {
  background: #19201b;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 18px;
}
.sidebar .brand span {
  color: #c4ccc4;
}
.login-card img {
  background: #19201b;
  padding: 12px;
  border-radius: 4px;
  width: 234px;
}

.promo-code-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.promo-code-actions p {
  margin: 0 0 14px;
}
.promo-usage-summary {
  border: 1px solid #dfe3d9;
  background: #f7f9f3;
  padding: 11px;
  margin: 16px 0;
  font-size: 12px;
}
.order-pricing {
  margin: 14px 0;
  border-top: 1px solid #dfe3d9;
  padding-top: 12px;
}
.order-pricing dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 20px;
  margin: 0;
}
.order-pricing dt,
.order-pricing dd {
  margin: 0;
  font-size: 12px;
}
.order-pricing dd {
  text-align: right;
}
.order-pricing .pricing-total {
  font-size: 15px;
  font-weight: 650;
  padding-top: 5px;
}
.order-pricing .pricing-discount {
  color: #465d38;
}
.promo-entry {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.promo-entry label {
  flex: 1;
  margin-bottom: 0;
}
.promo-entry button {
  white-space: nowrap;
}
.promo-entry + .muted {
  font-size: 11px;
  margin-top: 8px;
}

.clasp-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.clasp-icon-card h2 { overflow-wrap: anywhere; margin-top: 16px; }
.clasp-icon-preview { display: grid; place-items: center; height: 140px; background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.clasp-icon-preview img { width: 100px; height: 100px; object-fit: contain; }
.clasp-icon-card .inline-actions { flex-wrap: wrap; margin-top: 16px; }
