:root {
  color-scheme: dark;
  --bg: #171b23;
  --panel: #1e232d;
  --panel-hover: #262d3a;
  --text: #edf0f7;
  --muted: #98a3b7;
  --line: #333b4a;
  --blue: #9bb2ff;
  --blue-solid: #b6c7ff;
  --blue-text: #172344;
  --latest: #252f46;
  --latest-line: #3c4c70;
  --input: #191e27;
  --error: #ffb2ac;
  --shadow: 0 24px 80px #0005;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
button,
input,
textarea,
select {
  outline-offset: 4px;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
}
button {
  border: 0;
  color: inherit;
}
button svg {
  width: 16px;
}
a {
  color: var(--blue);
}
[hidden] {
  display: none !important;
}
.topbar {
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-solid);
  color: var(--blue-text);
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.9px;
}
.brand div > span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.connection {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection:before,
.small-dot {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--muted);
  display: inline-block;
}
.connection.live:before {
  background: #8bd2b1;
}
.quiet {
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.quiet:hover {
  background: var(--panel-hover);
  color: var(--text);
}
.mail-connect {
  text-decoration: none;
}
.mail-connect:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.icon-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  display: grid;
  place-items: center;
}
.icon-button:hover {
  background: var(--panel-hover);
}
.primary {
  background: var(--blue-solid);
  color: var(--blue-text);
  padding: 10px 17px;
  font-weight: 650;
  border-radius: 9px;
  white-space: nowrap;
  transition: filter 0.15s;
}
.primary:hover {
  filter: brightness(1.07);
}
.workspace {
  display: grid;
  grid-template-columns: 265px minmax(0, 1fr);
  min-height: calc(100dvh - 83px);
}
.customer-filter-bar {
  padding: 18px 34px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.filter-bar-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filter-bar-heading > strong {
  font-size: 13px;
}
.filter-bar-heading > span {
  color: var(--muted);
  font-size: 12px;
  flex: 1;
}
.filter-bar-heading button {
  padding: 5px 8px;
  font-size: 12px;
}
.quick-customer-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.quick-customer-filter {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.quick-customer-filter:hover,
.quick-customer-filter[aria-pressed="true"] {
  color: var(--blue);
  background: var(--latest);
  border-color: var(--latest-line);
}
.quick-customer-filter:disabled {
  cursor: default;
}
.advanced-customer-filters > summary {
  cursor: pointer;
  padding: 11px 0 0;
  font-size: 12px;
  color: var(--blue);
  width: fit-content;
}
.filter-help {
  font-size: 11px;
  color: var(--muted);
  margin: 12px 0 0;
}
.customer-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 16px 0 8px;
}
.customer-filter-grid fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.customer-filter-grid legend,
.filter-range > span {
  font-size: 12px;
  color: var(--muted);
  padding: 0;
  margin-bottom: 9px;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.filter-check input {
  accent-color: var(--blue);
  flex: none;
}
.filter-column {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.filter-range > span {
  display: block;
}
.filter-range > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
}
.filter-range input {
  min-width: 0;
  width: 100%;
  background: var(--input);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  font-size: 12px;
}
@media (max-width: 950px) {
  .customer-filter-bar { padding: 15px 24px 12px; }
  .customer-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .customer-filter-bar { padding: 14px 17px 10px; }
  .filter-bar-heading { gap: 7px; }
  .filter-bar-heading > span { flex-basis: calc(100% - 70px); }
  .quick-customer-filters { gap: 6px; }
  .quick-customer-filter { padding: 6px 8px; font-size: 11px; }
  .customer-filter-grid { gap: 18px 14px; }
  .filter-range > div { flex-wrap: wrap; }
  .filter-range > div > span { display: none; }
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 27px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: var(--panel);
}
.section-label {
  font-size: 13px;
  font-weight: 650;
  padding: 0 9px;
  display: flex;
  justify-content: space-between;
}
.section-label > span {
  color: var(--muted);
  font-weight: 400;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--input);
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: 8px;
}
.search > span {
  font-size: 24px;
  line-height: 1;
  color: var(--muted);
}
.search input {
  background: transparent;
  border: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  font-size: 12px;
}
.search input:focus {
  outline: 0;
}
.customer-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  overflow: auto;
  max-height: calc(100dvh - 390px);
  min-height: 100px;
}
.sales-control {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.sales-control select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--input);
  color: var(--text);
}
.owner-tools {
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.owner-tools summary {
  cursor: pointer;
  padding: 8px 0;
}
.owner-tools button {
  margin: 4px 0;
  font-size: 11px;
}
.owner-tools p {
  line-height: 1.6;
}
.customer-button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  background: transparent;
  padding: 12px 9px;
  border-radius: 10px;
  min-width: 0;
}
.customer-button:hover {
  background: var(--panel-hover);
}
.customer-button.active {
  background: var(--latest);
  box-shadow: inset 0 0 0 1px var(--latest-line);
}
.avatar {
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-hover);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}
.active .avatar {
  color: var(--blue);
  background: var(--latest-line);
}
.customer-button > span:last-child {
  min-width: 0;
}
.customer-button strong {
  font-size: 13px;
  display: block;
  font-weight: 550;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.customer-button small {
  color: var(--muted);
  font-size: 10px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 3px;
}
.sidebar-footer {
  font-size: 10px;
  color: var(--muted);
  padding: 15px 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}
.side-empty {
  padding: 35px 10px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.notice {
  padding: 9px 34px;
  background: var(--latest);
  color: var(--blue);
  font-size: 12px;
  border-bottom: 1px solid var(--latest-line);
}
main {
  padding: 39px 45px 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: var(--muted);
  font-weight: 600;
}
.customer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
h1 {
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: -0.8px;
  margin: 8px 0 10px;
  font-weight: 650;
}
.merge-note { margin: 8px 0 0; color: #52705f; font-size: 12px; }
.merge-sources { margin-top: 8px; font-size: 12px; color: #586776; }
.merge-sources ul { padding-left: 18px; overflow-wrap: anywhere; }
.merge-sources li { margin: 6px 0; }
.merge-sources button { margin-left: 8px; }
#customer-email { overflow-wrap: anywhere; }
.customer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}
.meta-separator {
  color: #5a657a;
}
.heading-actions {
  display: flex;
  gap: 8px;
}
.customer-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.customer-tabs button {
  position: relative;
  padding: 13px 2px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.customer-tabs button[aria-selected="true"] {
  color: var(--blue);
  font-weight: 650;
}
.customer-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  left: 0;
  right: 0;
  background: var(--blue);
  border-radius: 2px;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.overview-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 118px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
.overview-card > span {
  color: var(--muted);
  font-size: 12px;
}
.overview-card > strong {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
.overview-card > .overview-money,
.overview-card > .overview-date {
  font-size: 21px;
  line-height: 1.6;
  white-space: pre-line;
}
.level-card {
  background: var(--latest);
  border-color: var(--latest-line);
}
.level-card > strong {
  color: var(--blue);
}
.level-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.level-hint {
  font-size: 10px;
  opacity: 0.8;
  white-space: nowrap;
}
.level-card select {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 18px 0 0;
  background: transparent;
  color: var(--blue);
  font-size: 24px;
  font-weight: 600;
  cursor: pointer;
}
.level-card select option {
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
}
.level-card .level-status {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.level-status:empty {
  display: none;
}
.history-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .customer-tabs {
    gap: 25px;
    margin-bottom: 20px;
  }
  .overview-card {
    padding: 18px 15px;
    min-height: 112px;
    gap: 14px;
  }
  .overview-card > strong {
    font-size: 24px;
  }
  .overview-card > .overview-money,
  .overview-card > .overview-date {
    font-size: 18px;
  }
  .history-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
.latest {
  border: 1px solid var(--latest-line);
  border-radius: 13px;
  background: var(--latest);
  padding: 19px 22px 21px;
  margin-bottom: 36px;
}
.orders {
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
.orders-heading,
.order-row-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.orders-heading h2 {
  margin: 0;
  font-size: 13px;
}
.orders-heading > span,
.order-row-heading > span,
.orders-note {
  color: var(--muted);
  font-size: 11px;
}
.order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.order-chip {
  display: inline-block;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--input);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-chip.accent,
.order-chip.native {
  color: var(--blue);
  background: var(--latest);
  border-color: var(--latest-line);
}
.order-chip.product {
  color: var(--muted);
}
.order-details {
  margin-top: 16px;
}
.order-details summary {
  cursor: pointer;
  color: var(--blue);
  font-size: 12px;
}
.order-row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.order-row:first-of-type {
  margin-top: 12px;
}
.order-open {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
}
.order-products {
  font-size: 12px;
  white-space: pre-wrap;
}
.orders-note {
  margin: 8px 0 0;
}
.latest-label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 1px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}
.latest-label:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.latest-meta {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.latest-content {
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h2 {
  font-size: 17px;
  letter-spacing: 0.2px;
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.count-badge {
  font-size: 11px;
  background: var(--panel-hover);
  color: var(--muted);
  padding: 1px 7px;
  border-radius: 5px;
  font-weight: 400;
}
.history-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 5px 0 0;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 21px 0 32px;
}
.filter {
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 11px;
}
.filter.active {
  background: var(--panel-hover);
  color: var(--text);
}
.filter:hover {
  color: var(--text);
}
.timeline {
  padding: 0 0 0 6px;
}
.event {
  position: relative;
  border-left: 1px solid var(--line);
  padding: 0 8px 36px 28px;
}
.event:last-child {
  padding-bottom: 8px;
  border-left-color: transparent;
}
.event:before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  left: -6px;
  top: 6px;
  border: 2px solid var(--bg);
  background: #aab5c8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg);
}
.event.newest:before,
.event.outbound:before {
  background: var(--blue);
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  min-height: 24px;
  padding-right: 35px;
}
.event-meta strong {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}
.event-meta .author:before {
  content: "·";
  margin-right: 10px;
}
.event-content {
  font-size: 16px;
  line-height: 1.9;
  margin: 9px 0 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  letter-spacing: 0.1px;
}
.event-result {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.event-result.replied {
  color: #9bcdb6;
}
.event-result.replied:before {
  content: "✓";
}
.event-open {
  position: absolute;
  top: -2px;
  right: 0;
  color: var(--muted);
  background: transparent;
  opacity: 0;
  padding: 3px 7px;
  border-radius: 4px;
}
.event:hover .event-open,
.event:focus-within .event-open {
  opacity: 1;
}
.event-open:hover {
  background: var(--panel-hover);
  color: var(--text);
}
.empty-history {
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 40px 20px;
}
.empty-history strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}
.empty-history p {
  font-size: 12px;
  margin: 0;
}
.welcome {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.welcome h1 {
  margin: 17px 0 8px;
  font-size: 28px;
}
.welcome p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 28px;
}
.welcome-symbol {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  background: var(--latest);
  border: 1px solid var(--latest-line);
  color: var(--blue);
  border-radius: 19px;
  font-size: 35px;
  margin-bottom: 23px;
}
.welcome-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 13px;
}
.welcome .primary {
  display: flex;
  gap: 30px;
}
dialog {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 28px;
  width: min(570px, calc(100vw - 32px));
  max-height: 90dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #0a0e17aa;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-heading h2 {
  margin-top: 5px;
  font-size: 22px;
}
.form-customer {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 23px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}
form label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
}
form input,
form select,
form textarea {
  width: 100%;
  padding: 10px 11px;
  background: var(--input);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
form textarea {
  resize: vertical;
  min-height: 125px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.dialog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
}
.dialog-footer > span {
  color: var(--muted);
  font-size: 10px;
}
.form-error {
  font-size: 12px;
  color: var(--error);
  padding-bottom: 14px;
}
.loading {
  color: var(--muted);
  padding: 35px 0;
  font-size: 13px;
}
body.light {
  color-scheme: light;
  --bg: #fafbfe;
  --panel: #fff;
  --panel-hover: #eef1f6;
  --text: #232c3d;
  --muted: #7a8599;
  --line: #e4e8ef;
  --blue: #4566c8;
  --blue-solid: #486bd2;
  --blue-text: #fff;
  --latest: #f0f4ff;
  --latest-line: #d6e0fc;
  --input: #f7f8fb;
  --error: #b43c35;
  --shadow: 0 24px 80px #24375922;
}
@media (min-width: 1500px) {
  main {
    padding: 48px 68px 70px;
  }
  .workspace {
    grid-template-columns: 285px minmax(0, 1fr);
  }
}
@media (max-width: 950px) {
  .workspace {
    grid-template-columns: 215px minmax(0, 1fr);
  }
  main {
    padding: 28px 25px 45px;
  }
  .topbar {
    padding: 17px 24px;
  }
  .connection {
    display: none;
  }
  .customer-heading {
    align-items: flex-start;
  }
  .heading-actions {
    flex-direction: column-reverse;
  }
  .customer-meta {
    gap: 6px;
  }
  h1 {
    font-size: 25px;
  }
  .event-content {
    font-size: 15px;
  }
}
@media (max-width: 650px) {
  .topbar {
    padding: 13px 17px;
  }
  .brand div > span {
    font-size: 10px;
  }
  .brand strong {
    font-size: 10px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 26px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions .quiet {
    font-size: 11px;
    padding: 7px;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 17px;
    gap: 10px;
  }
  .section-label,
  .sidebar-footer {
    display: none;
  }
  .customer-list {
    min-height: 0;
    max-height: 150px;
    gap: 5px;
    flex-direction: row;
  }
  .customer-button {
    min-width: 175px;
    max-width: 230px;
    padding: 9px;
  }
  .customer-button small {
    max-width: 140px;
  }
  .side-empty {
    padding: 2px 0;
  }
  .avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  main {
    padding: 24px 20px 45px;
  }
  .customer-heading {
    gap: 8px;
    margin-bottom: 21px;
  }
  h1 {
    font-size: 24px;
  }
  .heading-actions > .quiet {
    display: none;
  }
  .heading-actions .primary {
    font-size: 11px;
    padding: 8px 10px;
  }
  .customer-meta {
    font-size: 10px;
  }
  .latest {
    padding: 16px 17px;
    margin-bottom: 28px;
  }
  .latest-content {
    font-size: 14px;
  }
  .event {
    padding-left: 22px;
    padding-bottom: 30px;
  }
  .event-content {
    font-size: 15px;
  }
  .event-open {
    opacity: 1;
  }
  .notice {
    padding: 8px 17px;
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  dialog {
    padding: 22px;
  }
  .welcome h1 {
    font-size: 23px;
  }
  .welcome {
    min-height: 55vh;
  }
  .welcome p {
    font-size: 12px;
  }
}
