.figma-console,
.figma-console * {
  box-sizing: border-box;
}

/* SUP 7.1 · 회원정보 수정 — Figma node 33:2. */
.figma-console--figma-draft .figma-console__screen--profile .figma-draft__profile-header {
  min-height: 106px;
  align-items: flex-start;
  padding-bottom: 15px;
}

.figma-console--figma-draft .figma-draft__profile-heading {
  min-width: 0;
}

.figma-console--figma-draft .figma-draft__profile-heading .figma-draft__eyebrow {
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 20px;
}

.figma-console--figma-draft .figma-draft__profile-heading h1 {
  font-size: 30px;
  line-height: 44px;
}

.figma-console--figma-draft .figma-draft__profile-heading .figma-draft__description {
  margin-top: -1px;
  font-size: 13px;
  line-height: 19px;
}

.figma-draft__profile-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding-top: 17px;
}

.figma-console--figma-draft .figma-console__screen--profile .figma-draft__candidate-note {
  min-width: 218px;
  min-height: 28px;
  justify-content: center;
  padding: 5px 12px;
  color: #9a5f00;
  background: #fff1cf;
  border: 0;
  border-radius: 14px;
  font-size: 11px;
  line-height: 16px;
  white-space: nowrap;
}

.figma-console--figma-draft .figma-console__screen--profile .figma-draft__profile-header-actions .figma-draft__button {
  width: 182px;
  min-height: 42px;
  padding: 10px;
  font-size: 13px;
  line-height: 19px;
}

.figma-draft__profile-tabs {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 14px;
}

.figma-draft__profile-tab {
  display: inline-flex;
  min-height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  color: #455a53;
  background: #eef3f0;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  white-space: nowrap;
}

.figma-draft__profile-tab.is-active {
  color: #176b62;
  background: #d9eeea;
}

.figma-draft__profile-version {
  flex: 0 0 auto;
  margin-left: auto;
  color: #6c7e77;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  text-align: right;
  white-space: nowrap;
}

.figma-draft__profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 656fr) minmax(280px, 420fr);
  gap: 20px;
  align-items: stretch;
}

.figma-draft__profile-card {
  min-width: 0;
  min-height: 688px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 14px;
}

.figma-draft__profile-personal {
  padding: 14px 19px 15px;
}

.figma-draft__profile-identity {
  display: grid;
  min-height: 36px;
  grid-template-columns: 112px auto minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
}

.figma-draft__profile-identity > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  color: #0d3e39;
  background: #edf8c9;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
}

.figma-draft__profile-identity strong {
  color: var(--figma-draft-ink);
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
}

.figma-draft__profile-identity small {
  color: #6c7e77;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  text-align: right;
  white-space: nowrap;
}

.figma-draft__profile-section {
  margin-top: 24px;
}

.figma-draft__profile-section h2,
.figma-draft__profile-organization > header h2 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 28px;
}

.figma-draft__profile-section > p,
.figma-draft__profile-organization > header p {
  margin: 0;
  color: #6c7e77;
  font-size: 10px;
  line-height: 22px;
}

.figma-draft__profile-fields {
  column-gap: 24px;
  row-gap: 17px;
  margin-top: 18px;
}

.figma-draft__profile-fields .figma-draft__field {
  gap: 2px;
}

.figma-draft__profile-fields .figma-draft__field:nth-child(n + 3) {
  grid-column: 1 / -1;
}

.figma-draft__profile-fields .figma-draft__field > span:first-child {
  min-height: 19px;
  color: #455a53;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.figma-console--figma-draft .figma-draft__profile-fields .figma-draft__field input {
  height: 40px;
  padding: 11px 12px;
  border-color: #adbfba;
  border-radius: 8px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__profile-readonly-field {
  position: relative;
  display: block;
}

.figma-console--figma-draft .figma-draft__profile-fields .figma-draft__profile-readonly-field input {
  padding-right: 96px;
  color: #6c7e77;
  background: #eef3f0;
  border-color: #d3dfda;
}

.figma-draft__profile-readonly-field b {
  position: absolute;
  top: 6px;
  right: 12px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  color: #6c7e77;
  background: #eef3f0;
  border-radius: 14px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__profile-security {
  padding-top: 15px;
  margin-top: 22px;
  border-top: 1px solid var(--figma-draft-line);
}

.figma-draft__profile-security-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.figma-draft__profile-security-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px 10px 16px;
  background: #eef3f0;
  border-radius: 10px;
}

.figma-draft__profile-security-row--mfa {
  background: #d9eeea;
}

.figma-draft__profile-security-row b,
.figma-draft__profile-security-row span {
  display: block;
}

.figma-draft__profile-security-row b {
  color: var(--figma-draft-ink);
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__profile-security-row span {
  margin-top: 5px;
  color: #6c7e77;
  font-size: 9px;
  line-height: 13px;
}

.figma-draft__profile-security-row--mfa span {
  color: #176b62;
}

.figma-console--figma-draft .figma-draft__profile-security-row .figma-draft__button {
  min-height: 42px;
  padding: 10px;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-draft__profile-security-row:first-child .figma-draft__button {
  width: 168px;
}

.figma-console--figma-draft .figma-draft__profile-security-row--mfa .figma-draft__button {
  width: 144px;
}

.figma-draft__profile-boundary {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  margin: 16px 0 0;
  color: #9a5f00;
  background: #fff1cf;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}

.figma-draft__profile-organization {
  padding: 18px 19px 19px;
}

.figma-draft__profile-organization > header {
  margin-bottom: 17px;
}

.figma-draft__profile-org-card {
  position: relative;
  min-height: 118px;
  padding: 12px 16px;
  margin-top: 20px;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 10px;
}

.figma-draft__profile-organization > header + .figma-draft__profile-org-card {
  margin-top: 0;
}

.figma-draft__profile-org-card h3 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-size: 12px;
  line-height: 26px;
}

.figma-draft__profile-org-card p {
  margin: 4px 0 0;
  color: #455a53;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__profile-org-card--doaro {
  background: #e2f0f7;
}

.figma-draft__profile-org-card--doaro h3 {
  color: #316a8b;
}

.figma-console--figma-draft .figma-draft__profile-org-card .figma-draft__button {
  position: absolute;
  right: 14px;
  bottom: 10px;
  min-height: 42px;
  padding: 10px;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-draft__profile-org-card--doaro .figma-draft__button {
  width: 124px;
}

.figma-draft__profile-org-card--business {
  min-height: 172px;
}

.figma-draft__profile-org-card--business .figma-draft__text-link {
  position: absolute;
  right: 16px;
  bottom: 15px;
  font-size: 10px;
}

.figma-draft__profile-org-card--membership {
  background: #edf8c9;
}

.figma-draft__profile-org-card--membership h3 {
  color: #0d3e39;
}

.figma-draft__profile-org-card--sessions {
  min-height: 114px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
}

.figma-console--figma-draft .figma-draft__profile-org-card--sessions .figma-draft__button {
  right: 28px;
  bottom: 37px;
  width: 98px;
}

@media (max-width: 1180px) and (min-width: 768px) {
  .figma-draft__profile-header-actions {
    gap: 10px;
  }

  .figma-console--figma-draft .figma-console__screen--profile .figma-draft__candidate-note {
    min-width: 0;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 9px;
  }

  .figma-console--figma-draft .figma-console__screen--profile .figma-draft__profile-header-actions .figma-draft__button {
    width: 148px;
  }

  .figma-draft__profile-layout {
    grid-template-columns: minmax(0, 1.56fr) minmax(260px, 1fr);
    gap: 14px;
  }

  .figma-draft__profile-identity {
    grid-template-columns: 100px auto minmax(110px, 1fr);
    gap: 10px;
  }

  .figma-draft__profile-identity small {
    text-align: right;
  }

  .figma-draft__profile-fields {
    column-gap: 12px;
  }

  .figma-draft__profile-security-row {
    padding-right: 12px;
  }

  .figma-console--figma-draft .figma-draft__profile-security-row:first-child .figma-draft__button {
    width: 132px;
  }

  .figma-console--figma-draft .figma-draft__profile-security-row--mfa .figma-draft__button {
    width: 110px;
  }

  .figma-draft__profile-organization,
  .figma-draft__profile-org-card {
    padding-right: 13px;
    padding-left: 13px;
  }

  .figma-console--figma-draft .figma-draft__profile-org-card .figma-draft__button {
    right: 12px;
  }
}

@media (max-width: 900px) {
  .figma-draft__profile-header-actions {
    display: grid;
    justify-items: end;
    padding-top: 4px;
  }

  .figma-draft__profile-tabs {
    padding-right: 14px;
    padding-left: 14px;
  }

  .figma-draft__profile-version {
    display: none;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--profile .figma-draft__profile-header {
    display: grid;
  }

  .figma-draft__profile-header-actions {
    width: 100%;
    justify-items: stretch;
  }

  .figma-console--figma-draft .figma-console__screen--profile .figma-draft__profile-header-actions .figma-draft__button {
    width: 100%;
  }

  .figma-draft__profile-tabs {
    justify-content: flex-start;
  }

  .figma-draft__profile-layout {
    grid-template-columns: 1fr;
  }

  .figma-draft__profile-card {
    min-height: 0;
  }

  .figma-draft__profile-identity {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .figma-draft__profile-fields {
    grid-template-columns: 1fr;
  }

  .figma-draft__profile-fields .figma-draft__field {
    grid-column: 1;
  }

  .figma-draft__profile-security-row {
    align-items: stretch;
    flex-direction: column;
  }

  .figma-console--figma-draft .figma-draft__profile-security-row .figma-draft__button {
    width: 100%;
  }
}

.figma-console {
  --figma-bg: #f4f7f5;
  --figma-surface: #ffffff;
  --figma-sidebar: #082f2b;
  --figma-sidebar-soft: #123531;
  --figma-border: #d3dfda;
  --figma-border-soft: #e4ece8;
  --figma-border-strong: #b9cbc5;
  --figma-teal: #0f766b;
  --figma-teal-dark: #0b5d55;
  --figma-lime: #cceb57;
  --figma-lime-soft: #edf8c9;
  --figma-text: #173f3b;
  --figma-muted: #6d8580;
  --figma-muted-light: #9bb0aa;
  --figma-danger: #bc4b54;
  --figma-danger-soft: #fff0f0;
  --figma-warning: #9a6700;
  --figma-warning-soft: #fff7de;
  --figma-info: #336b91;
  --figma-info-soft: #eef7fc;
  min-height: 100vh;
  color: var(--figma-text);
  background: var(--figma-bg);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.figma-console button,
.figma-console input,
.figma-console select,
.figma-console textarea {
  color: inherit;
  font: inherit;
}

.figma-console button,
.figma-console a {
  -webkit-tap-highlight-color: transparent;
}

.figma-console a {
  color: inherit;
  text-decoration: none;
}

.figma-console button {
  border: 0;
  cursor: pointer;
}

.figma-console button:focus-visible,
.figma-console a:focus-visible,
.figma-console input:focus-visible,
.figma-console select:focus-visible,
.figma-console textarea:focus-visible {
  outline: 3px solid rgba(204, 235, 87, 0.82);
  outline-offset: 2px;
}

.figma-console__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.figma-console__skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: var(--figma-sidebar);
  background: var(--figma-lime);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.figma-console__skip-link:focus {
  transform: translateY(0);
}

.figma-console__sidebar {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 248px;
  min-height: 100vh;
  flex-direction: column;
  padding: 22px 16px 18px;
  overflow-y: auto;
  color: #eff8f3;
  background: var(--figma-sidebar);
}

.figma-console__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  margin: 0 8px 24px;
}

.figma-console__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.figma-console__brand-symbol {
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background: center / contain no-repeat url("../assets/logo/parts/ggookmart_logo.svg");
}

.figma-console__organization {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 11px 12px;
  margin-bottom: 18px;
  background: var(--figma-sidebar-soft);
  border: 1px solid rgba(215, 237, 225, 0.12);
  border-radius: 10px;
}

.figma-console__organization-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--figma-sidebar);
  background: var(--figma-lime);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.figma-console__organization div,
.figma-console__support-link span:last-child {
  min-width: 0;
}

.figma-console__organization strong,
.figma-console__organization small,
.figma-console__support-link strong,
.figma-console__support-link small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__organization strong {
  color: #ffffff;
  font-size: 13px;
}

.figma-console__organization small {
  margin-top: 2px;
  color: #a8c2ba;
  font-size: 11px;
}

.figma-console__nav {
  display: flex;
  flex: 0 0 auto;
  min-height: 0;
  flex-direction: column;
  gap: 3px;
}

.figma-console__home-link,
.figma-console__utility-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  color: #c7d9d2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  transition: color 140ms ease, background 140ms ease;
}

.figma-console__home-link:hover,
.figma-console__utility-link:hover,
.figma-console__home-link.is-active,
.figma-console__utility-link.is-active {
  color: var(--figma-sidebar);
  background: var(--figma-lime);
}

.figma-console__nav-group {
  padding-top: 13px;
}

.figma-console__nav-group h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px 6px;
  margin: 0;
  color: #839f97;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.figma-console__nav-group.is-active h2 {
  color: var(--figma-lime);
}

.figma-console__nav-group > div {
  display: grid;
  gap: 2px;
}

.figma-console__nav-link {
  display: block;
  padding: 7px 11px 7px 35px;
  color: #bdd1ca;
  border-radius: 7px;
  font-size: 12px;
  transition: color 140ms ease, background 140ms ease;
}

.figma-console__nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.figma-console__nav-link.is-active {
  color: var(--figma-sidebar);
  background: var(--figma-lime-soft);
  font-weight: 800;
}

.figma-console__nav-icon {
  width: 14px;
  flex: 0 0 14px;
  color: currentColor;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.figma-console__utility-link {
  margin-top: 14px;
  color: #bcd8cc;
  background: rgba(255, 255, 255, 0.06);
}

.figma-console__sidebar-bottom {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  margin-top: 17px;
  border-top: 1px solid rgba(215, 237, 225, 0.15);
}

.figma-console__support-link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #d7e9e1;
  background: transparent;
  border-radius: 8px;
  text-align: left;
}

.figma-console__support-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.figma-console__support-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  color: var(--figma-lime);
  border: 1px solid rgba(204, 235, 87, 0.55);
  border-radius: 50%;
  font-weight: 900;
}

.figma-console__support-link strong {
  font-size: 12px;
}

.figma-console__support-link small {
  margin-top: 2px;
  color: #91afa5;
  font-size: 10px;
}

.figma-console__logout {
  padding: 5px 10px;
  color: #9fbab1;
  background: transparent;
  font-size: 11px;
  text-align: left;
}

.figma-console__logout:hover {
  color: #ffffff;
}

.figma-console__sidebar-close,
.figma-console__menu-toggle {
  display: none;
}

.figma-console__workspace {
  min-width: 0;
  min-height: 100vh;
  margin-left: 248px;
}

/* Keep the full-height draft shell from becoming a click/annotation target in
   the empty area below the page while preserving every real UI surface. */
html:has(#supplier-app > .figma-console--figma-draft),
body:has(#supplier-app > .figma-console--figma-draft),
#supplier-app:has(> .figma-console--figma-draft),
#supplier-app > .figma-console--figma-draft,
#supplier-app > .figma-console--figma-draft > .figma-console__workspace {
  pointer-events: none;
  user-select: none;
}

#supplier-app > .figma-console--figma-draft > .figma-console__skip-link,
#supplier-app > .figma-console--figma-draft > .figma-console__mobile-backdrop,
#supplier-app > .figma-console--figma-draft > .figma-console__sidebar,
#supplier-app > .figma-console--figma-draft > .figma-console__workspace > .figma-console__topbar,
#supplier-app > .figma-console--figma-draft > .figma-console__workspace > .figma-console__main {
  pointer-events: auto;
}

#supplier-app > .figma-console--figma-draft input,
#supplier-app > .figma-console--figma-draft textarea,
#supplier-app > .figma-console--figma-draft [contenteditable="true"] {
  user-select: text;
}

.figma-console__topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 42px;
  background: rgba(244, 247, 245, 0.96);
  border-bottom: 1px solid var(--figma-border);
}

.figma-console__breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--figma-muted);
  font-size: 12px;
}

.figma-console__breadcrumb a:hover {
  color: var(--figma-teal);
}

.figma-console__breadcrumb strong {
  overflow: hidden;
  color: var(--figma-text);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__topbar-actions {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
}

.figma-console__popover-anchor {
  position: relative;
}

.figma-console__popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 18px;
  color: var(--figma-text);
  background: #ffffff;
  border: 1px solid var(--figma-border);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgb(8 47 43 / 12%);
}

.figma-console__popover-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--figma-border-soft);
}

.figma-console__popover-heading strong {
  font-size: 14px;
}

.figma-console__popover-heading span {
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__popover ul {
  display: grid;
  gap: 14px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.figma-console__popover li {
  display: grid;
  gap: 4px;
}

.figma-console__popover li strong {
  font-size: 12px;
}

.figma-console__popover li small {
  color: var(--figma-muted);
  font-size: 11px;
  line-height: 1.5;
}

.figma-console__popover .figma-console__notification-list {
  gap: 2px;
  margin: 8px -10px 12px;
}

.figma-console__notification-link {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border-radius: 8px;
  transition: color 160ms ease, background-color 160ms ease;
}

.figma-console__notification-link:hover {
  color: var(--figma-teal-dark);
  background: #eef7f3;
}

.figma-console__popover-link {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: var(--figma-text);
  border-top: 1px solid var(--figma-border-soft);
  text-align: left;
  font-size: 12px;
  font-weight: 700;
}

.figma-console__popover-link:hover {
  color: var(--figma-teal);
}

.figma-console__notification {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  color: var(--figma-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.figma-console__notification:hover {
  color: var(--figma-teal);
}

.figma-console__notification b {
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  color: #ffffff;
  background: var(--figma-teal);
  border-radius: 10px;
  font-size: 10px;
}

.figma-console__account-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0 3px 4px;
  color: var(--figma-text);
  background: transparent;
  text-align: left;
}

.figma-console__account-chip > span:nth-child(2) {
  display: grid;
  gap: 0;
  min-width: 75px;
}

.figma-console__account-chip strong {
  font-size: 12px;
}

.figma-console__account-chip small {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__account-chip > span:last-child {
  color: var(--figma-muted);
  font-size: 15px;
}

.figma-console__account-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--figma-teal-dark);
  background: var(--figma-lime-soft);
  border: 1px solid #d7e89c;
  border-radius: 50%;
  font-weight: 900;
}

.figma-console__main {
  width: min(100%, 1440px);
  min-width: 0;
  padding: 40px 48px 72px;
  margin: 0 auto;
}

.figma-console__live-region {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.figma-console__page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 27px;
}

.figma-console__page-header-copy {
  min-width: 0;
}

.figma-console__eyebrow,
.figma-console__panel-eyebrow {
  margin: 0 0 7px;
  color: var(--figma-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.figma-console__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.figma-console__title-row h1 {
  margin: 0;
  color: var(--figma-text);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.figma-console__page-description {
  max-width: 650px;
  margin: 9px 0 0;
  color: var(--figma-muted);
  font-size: 13px;
}

.figma-console__page-actions,
.figma-console__form-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.figma-console__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.figma-console__button--primary {
  color: var(--figma-sidebar);
  background: var(--figma-lime);
}

.figma-console__button--primary:hover {
  background: #b9dd39;
}

.figma-console__button--secondary {
  color: var(--figma-teal-dark);
  background: var(--figma-surface);
  border-color: var(--figma-border-strong);
}

.figma-console__button--secondary:hover,
.figma-console__button--ghost:hover {
  color: var(--figma-teal-dark);
  border-color: var(--figma-teal);
  background: #eef6f2;
}

.figma-console__button--ghost,
.figma-console__button--text {
  color: var(--figma-muted);
  background: transparent;
  border-color: transparent;
}

.figma-console__metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.figma-console__metric-card {
  position: relative;
  min-height: 132px;
  padding: 20px;
  overflow: hidden;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 10px;
}

.figma-console__metric-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--figma-border-strong);
  content: "";
}

.figma-console__metric-card--positive::before {
  background: var(--figma-teal);
}

.figma-console__metric-card--warning::before {
  background: var(--figma-lime);
}

.figma-console__metric-card p {
  margin: 0;
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 700;
}

.figma-console__metric-card strong {
  display: inline-block;
  margin-top: 11px;
  color: var(--figma-text);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.figma-console__metric-unit {
  margin-left: 4px;
  color: var(--figma-text);
  font-size: 12px;
  font-weight: 800;
}

.figma-console__metric-card small {
  display: block;
  margin-top: 12px;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__status-chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  color: var(--figma-muted);
  background: #f0f4f2;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-console__status-chip > span {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  background: currentColor;
  border-radius: 50%;
}

.figma-console__status-chip--positive {
  color: var(--figma-teal);
  background: var(--figma-lime-soft);
}

.figma-console__status-chip--warning {
  color: var(--figma-warning);
  background: var(--figma-warning-soft);
}

.figma-console__status-chip--danger {
  color: var(--figma-danger);
  background: var(--figma-danger-soft);
}

.figma-console__status-chip--info {
  color: var(--figma-info);
  background: var(--figma-info-soft);
}

.figma-console__pending-value {
  color: var(--figma-muted);
  font-size: 12px;
  font-weight: 700;
}

.figma-console__filter-bar {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 13px;
  margin-bottom: 16px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 10px;
}

.figma-console__search-field,
.figma-console__filter-select {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.figma-console__search-field {
  width: min(100%, 340px);
  padding: 0 11px;
  color: var(--figma-muted);
  background: var(--figma-bg);
  border: 1px solid var(--figma-border);
  border-radius: 7px;
}

.figma-console__search-field input {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.figma-console__filter-select > span {
  color: var(--figma-muted);
  font-size: 11px;
  font-weight: 800;
}

.figma-console__filter-select select {
  height: 38px;
  padding: 0 30px 0 11px;
  background: var(--figma-bg);
  border: 1px solid var(--figma-border);
  border-radius: 7px;
}

.figma-console__report-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 13px;
  margin-bottom: 16px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 10px;
}

.figma-console__date-range {
  display: flex;
  min-width: 0;
  align-items: end;
  gap: 12px;
}

.figma-console__date-range fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.figma-console__date-range legend {
  padding: 0;
  margin-bottom: 7px;
  color: var(--figma-muted);
  font-size: 11px;
  font-weight: 800;
}

.figma-console__date-fields {
  display: flex;
  min-width: 0;
  align-items: end;
  gap: 8px;
}

.figma-console__date-fields .figma-console__field {
  width: 170px;
}

.figma-console__date-separator {
  padding-bottom: 10px;
  color: var(--figma-muted);
  font-weight: 800;
}

.figma-console__date-actions {
  display: flex;
  align-items: end;
  gap: 5px;
}

.figma-console__export-meta {
  display: flex;
  min-width: 210px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-left: 14px;
  border-left: 1px solid var(--figma-border);
}

.figma-console__export-meta strong,
.figma-console__export-meta span {
  display: block;
}

.figma-console__export-meta strong {
  color: var(--figma-text);
  font-size: 12px;
}

.figma-console__export-meta span {
  margin-top: 3px;
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__panel {
  padding: 22px;
  margin-bottom: 16px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 10px;
}

.figma-console__table-panel {
  padding-bottom: 11px;
}

.figma-console__panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.figma-console__panel-heading h2 {
  margin: 0;
  color: var(--figma-text);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__panel-heading h2 span {
  margin-left: 5px;
  color: var(--figma-teal);
  font-size: 12px;
  letter-spacing: 0;
}

.figma-console__panel-meta {
  flex: 0 0 auto;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__table-wrap {
  width: 100%;
  overflow-x: auto;
}

.figma-console__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.figma-console__table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.figma-console__table th {
  padding: 11px 12px;
  color: var(--figma-muted);
  background: #f7faf8;
  border-top: 1px solid var(--figma-border);
  border-bottom: 1px solid var(--figma-border);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-console__table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5ede9;
  color: var(--figma-text);
  font-size: 12px;
  vertical-align: middle;
}

.figma-console__table td strong,
.figma-console__table td small {
  display: block;
}

.figma-console__table td strong {
  font-weight: 800;
}

.figma-console__table td small {
  max-width: 220px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--figma-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__table-link {
  display: inline-block;
}

.figma-console__table-link:hover,
.figma-console__text-link:hover {
  color: var(--figma-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.figma-console__text-link {
  color: var(--figma-teal);
  font-size: 12px;
  font-weight: 800;
}

.figma-console__mono {
  color: var(--figma-teal-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
}

.figma-console__muted {
  color: var(--figma-muted);
}

.figma-console__table-empty {
  padding: 42px 12px !important;
  color: var(--figma-muted) !important;
  text-align: center;
}

.figma-console__empty-intro {
  padding: 12px 0 4px;
  color: var(--figma-muted);
}

.figma-console__empty-intro p {
  margin: 0;
}

.figma-console__state-panel,
.figma-console__placeholder-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #f7faf8;
  border: 1px solid var(--figma-border);
  border-radius: 9px;
}

.figma-console__state-panel--pending {
  background: var(--figma-warning-soft);
  border-color: #eddaa0;
}

.figma-console__state-panel--error {
  background: var(--figma-danger-soft);
  border-color: #f1c9c9;
}

.figma-console__state-icon,
.figma-console__placeholder-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--figma-teal);
  border: 1px solid #a6c7be;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
}

.figma-console__state-panel--pending .figma-console__state-icon {
  color: var(--figma-warning);
  border-color: #ddbd61;
}

.figma-console__state-panel--error .figma-console__state-icon {
  color: var(--figma-danger);
  border-color: #de9fa3;
}

.figma-console__state-label {
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.figma-console__state-panel h2,
.figma-console__placeholder-panel h2 {
  margin: 5px 0 4px;
  color: var(--figma-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__state-panel p,
.figma-console__placeholder-panel p {
  margin: 0 0 14px;
  color: var(--figma-muted);
  font-size: 12px;
}

.figma-console__placeholder-panel {
  min-height: 210px;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.figma-console__placeholder-mark {
  color: var(--figma-muted);
  border-color: var(--figma-border-strong);
}

.figma-console__form {
  max-width: 960px;
}

.figma-console__field-grid {
  display: grid;
  gap: 16px;
}

.figma-console__field-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.figma-console__field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.figma-console__field-label {
  color: var(--figma-text);
  font-size: 12px;
  font-weight: 800;
}

.figma-console__field-label em {
  margin-left: 3px;
  color: var(--figma-danger);
  font-style: normal;
}

.figma-console__field input,
.figma-console__field select,
.figma-console__field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border-strong);
  border-radius: 7px;
  outline: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.figma-console__field input,
.figma-console__field select {
  height: 40px;
}

.figma-console__field textarea {
  min-height: 106px;
  resize: vertical;
}

.figma-console__field input:hover,
.figma-console__field select:hover,
.figma-console__field textarea:hover {
  border-color: #8eafa5;
}

.figma-console__field input:focus,
.figma-console__field select:focus,
.figma-console__field textarea:focus {
  border-color: var(--figma-teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 107, 0.12);
}

.figma-console__field input:disabled,
.figma-console__field select:disabled,
.figma-console__field textarea:disabled,
.figma-console__field input[readonly],
.figma-console__field textarea[readonly] {
  color: var(--figma-muted);
  background: #f4f7f5;
}

.figma-console__field-hint {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__option-list {
  display: grid;
  gap: 12px;
}

.figma-console__option-row {
  display: grid;
  grid-template-columns: 30px minmax(140px, 1fr) minmax(140px, 1fr) minmax(130px, 0.7fr);
  gap: 10px;
  align-items: end;
  padding: 13px 0;
  border-bottom: 1px solid #e5ede9;
}

.figma-console__option-row:first-child {
  padding-top: 0;
}

.figma-console__option-index {
  padding-bottom: 11px;
  color: var(--figma-teal);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
}

.figma-console__readonly-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  margin-top: 18px;
  color: var(--figma-muted);
  background: #f6f9f7;
  border: 1px solid var(--figma-border);
  border-radius: 8px;
}

.figma-console__readonly-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  place-items: center;
  color: var(--figma-teal);
  border: 1px solid #99c0b5;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.figma-console__readonly-notice strong {
  color: var(--figma-text);
  font-size: 12px;
}

.figma-console__readonly-notice p {
  margin: 3px 0 0;
  font-size: 11px;
}

.figma-console__readonly-notice ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
  font-size: 10px;
}

.figma-console__readonly-notice li::before {
  margin-right: 5px;
  color: var(--figma-teal);
  content: "•";
}

.figma-console__form-actions {
  justify-content: flex-end;
  padding: 6px 0 20px;
}

.figma-console__detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--figma-border);
}

.figma-console__detail-list--four {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.figma-console__detail-list div {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) minmax(0, 1fr);
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #e5ede9;
}

.figma-console__detail-list dt {
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__detail-list dd {
  min-width: 0;
  padding: 0;
  margin: 0;
  color: var(--figma-text);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.figma-console__campaign-detail {
  border-left: 3px solid var(--figma-teal);
}

.figma-console__campaign-detail > .figma-console__text-link {
  display: inline-block;
  margin-top: 15px;
}

.figma-console__fee-policy {
  max-width: 760px;
}

.figma-console__summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.figma-console__summary-item {
  min-width: 0;
  padding: 15px 16px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-left: 3px solid var(--figma-border-strong);
  border-radius: 9px;
}

.figma-console__summary-item--positive {
  border-left-color: var(--figma-teal);
}

.figma-console__summary-item--warning {
  border-left-color: var(--figma-warning);
}

.figma-console__summary-item--info {
  border-left-color: var(--figma-info);
}

.figma-console__summary-item > span,
.figma-console__summary-item > small {
  display: block;
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__summary-item > span {
  font-weight: 800;
}

.figma-console__summary-item > strong {
  display: block;
  margin: 4px 0 2px;
  color: var(--figma-text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__summary-item > small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__route-tabs,
.figma-console__data-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.figma-console__route-tab,
.figma-console__data-tab {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  color: var(--figma-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.figma-console__route-tab:hover,
.figma-console__route-tab.is-active,
.figma-console__data-tab:hover,
.figma-console__data-tab.is-active {
  color: var(--figma-teal-dark);
  background: var(--figma-lime-soft);
  border-color: #dceca2;
}

.figma-console__data-tab {
  cursor: pointer;
}

.figma-console__data-tab span {
  color: var(--figma-teal);
  font-size: 10px;
}

.figma-console__action-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--figma-lime-soft);
  border: 1px solid #dceca2;
  border-radius: 10px;
}

.figma-console__action-banner--warning {
  background: var(--figma-warning-soft);
  border-color: #eddaa0;
}

.figma-console__action-banner h2 {
  margin: 3px 0 3px;
  color: var(--figma-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__action-banner p:not(.figma-console__panel-eyebrow) {
  margin: 0;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__action-banner small {
  display: block;
  margin-top: 7px;
  color: var(--figma-warning);
  font-size: 10px;
  font-weight: 800;
}

.figma-console__selection-panel {
  border-left: 3px solid var(--figma-teal);
}

.figma-console__tracking-form {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(300px, 1.5fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px 20px;
  margin-bottom: 16px;
  background: var(--figma-lime-soft);
  border: 1px solid #dceca2;
  border-radius: 10px;
}

.figma-console__tracking-form h2 {
  margin: 3px 0;
  color: var(--figma-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__tracking-form p:not(.figma-console__panel-eyebrow) {
  margin: 0;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__tracking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.figma-console__upload-card {
  padding: 16px;
  margin-bottom: 16px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 10px;
}

.figma-console__upload-dropzone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 21px;
  background: #f7faf8;
  border: 1px dashed #9ebcb2;
  border-radius: 8px;
}

.figma-console__upload-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--figma-teal-dark);
  background: var(--figma-lime);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}

.figma-console__upload-dropzone > div {
  flex: 1;
  min-width: 0;
}

.figma-console__upload-dropzone h2 {
  margin: 3px 0;
  color: var(--figma-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__upload-dropzone p:not(.figma-console__panel-eyebrow) {
  margin: 0;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__upload-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 13px 4px 0;
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__upload-meta strong {
  margin-right: 5px;
  color: var(--figma-text);
}

.figma-console__upload-meta .figma-console__button {
  margin-left: auto;
}

.figma-console__home-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 28px;
  margin-bottom: 20px;
  overflow: hidden;
  color: #eff8f3;
  background: var(--figma-sidebar);
  border-radius: 11px;
}

.figma-console__home-hero::after {
  position: absolute;
  right: 8%;
  bottom: -56px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(204, 235, 87, 0.2);
  border-radius: 50%;
  content: "";
}

.figma-console__home-hero > div {
  position: relative;
  z-index: 1;
}

.figma-console__home-hero .figma-console__panel-eyebrow {
  color: var(--figma-lime);
}

.figma-console__home-hero h2 {
  margin: 5px 0 6px;
  color: #ffffff;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.figma-console__home-hero p:not(.figma-console__panel-eyebrow) {
  margin: 0;
  color: #b8d2c8;
  font-size: 12px;
}

.figma-console__home-hero dl {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 185px;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.figma-console__home-hero dl div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.figma-console__home-hero dt {
  color: #8db0a3;
  font-size: 10px;
}

.figma-console__home-hero dd {
  min-width: 0;
  padding: 0;
  margin: 0;
  color: #eff8f3;
  font-size: 11px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.figma-console__home-banner-action {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  justify-items: end;
}

.figma-console__home-grid,
.figma-console__permissions-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.figma-console__home-grid--wide {
  margin-top: 0;
}

.figma-console__home-task-list,
.figma-console__home-link-grid,
.figma-console__staff-list,
.figma-console__session-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.figma-console__home-task-list {
  display: grid;
  gap: 2px;
}

.figma-console__home-task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e5ede9;
}

.figma-console__home-task:last-child {
  border-bottom: 0;
}

.figma-console__home-task > div:first-child,
.figma-console__home-task-action,
.figma-console__staff-list-copy,
.figma-console__session-copy {
  min-width: 0;
}

.figma-console__home-task > div:first-child {
  display: grid;
  gap: 3px;
}

.figma-console__home-task strong {
  color: var(--figma-text);
  font-size: 12px;
  font-weight: 800;
}

.figma-console__home-task small {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__home-task-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.figma-console__home-task-action > strong {
  color: var(--figma-teal);
  font-size: 15px;
}

.figma-console__home-task--warning {
  border-left: 2px solid var(--figma-warning);
  padding-left: 10px;
}

.figma-console__home-task--positive {
  border-left: 2px solid var(--figma-teal);
  padding-left: 10px;
}

.figma-console__home-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.figma-console__home-link-card {
  position: relative;
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 4px;
  padding: 14px 35px 14px 14px;
  background: #f7faf8;
  border: 1px solid var(--figma-border);
  border-radius: 8px;
}

.figma-console__home-link-card:hover {
  border-color: var(--figma-teal);
  background: var(--figma-lime-soft);
}

.figma-console__home-link-card strong {
  color: var(--figma-text);
  font-size: 12px;
}

.figma-console__home-link-card small {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__home-link-card > span {
  position: absolute;
  top: 13px;
  right: 13px;
  color: var(--figma-teal);
  font-size: 15px;
  font-weight: 900;
}

.figma-console__permissions-layout {
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.5fr);
}

.figma-console__staff-list {
  display: grid;
  gap: 6px;
}

.figma-console__staff-list-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.figma-console__staff-list-item:hover,
.figma-console__staff-list-item.is-selected {
  background: var(--figma-lime-soft);
  border-color: #dceca2;
}

.figma-console__staff-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--figma-teal-dark);
  background: #edf4ef;
  border: 1px solid var(--figma-border);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.figma-console__staff-list-copy {
  display: grid;
  gap: 2px;
}

.figma-console__staff-list-copy strong {
  overflow: hidden;
  color: var(--figma-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__staff-list-copy small {
  overflow: hidden;
  color: var(--figma-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__staff-list-meta .figma-console__status-chip {
  font-size: 10px;
}

.figma-console__permission-detail {
  min-width: 0;
}

.figma-console__scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 13px 0 17px;
}

.figma-console__scope-list span {
  padding: 4px 8px;
  color: var(--figma-teal-dark);
  background: var(--figma-lime-soft);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.figma-console__permission-form > .figma-console__panel-heading {
  padding-top: 16px;
  margin-bottom: 10px;
  border-top: 1px solid var(--figma-border);
}

.figma-console__permission-form h3 {
  margin: 0;
  color: var(--figma-text);
  font-size: 15px;
  font-weight: 900;
}

.figma-console__permission-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.figma-console__permission-table th,
.figma-console__permission-table td {
  padding: 11px 9px;
  border-bottom: 1px solid #e5ede9;
  vertical-align: middle;
}

.figma-console__permission-table thead th {
  color: var(--figma-muted);
  background: #f7faf8;
  font-size: 10px;
  font-weight: 800;
}

.figma-console__permission-table tbody th {
  color: var(--figma-text);
  font-size: 11px;
  font-weight: 800;
}

.figma-console__permission-table tbody th strong,
.figma-console__permission-table tbody th small {
  display: block;
}

.figma-console__permission-table tbody th small {
  margin-top: 2px;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 400;
}

.figma-console__permission-table tr[data-read-only="true"] {
  background: #f7faf8;
}

.figma-console__permission-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 700;
}

.figma-console__permission-toggle input {
  width: 15px;
  height: 15px;
  accent-color: var(--figma-teal);
}

.figma-console__permission-toggle input:disabled {
  accent-color: var(--figma-muted-light);
}

.figma-console__form-validation {
  padding: 9px 11px;
  margin: -3px 0 16px;
  color: var(--figma-muted);
  background: #f7faf8;
  border: 1px solid var(--figma-border);
  border-radius: 6px;
  font-size: 10px;
}

.figma-console__form-validation span {
  margin-right: 3px;
  color: var(--figma-danger);
  font-weight: 900;
}

.figma-console__session-list {
  display: grid;
  gap: 7px;
}

.figma-console__session-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid var(--figma-border);
  border-radius: 8px;
}

.figma-console__session-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: var(--figma-teal);
  background: var(--figma-lime-soft);
  border-radius: 50%;
  font-size: 11px;
}

.figma-console__session-copy {
  display: grid;
  flex: 1;
  gap: 2px;
}

.figma-console__session-copy strong {
  color: var(--figma-text);
  font-size: 12px;
}

.figma-console__session-copy span {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__invitation-policy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.figma-console__invitation-policy li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid var(--figma-border);
  border-radius: 7px;
}

.figma-console__invitation-policy strong {
  color: var(--figma-text);
  font-size: 11px;
}

.figma-console__invitation-policy span {
  color: var(--figma-muted);
  font-size: 10px;
}

.figma-console__review-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  margin-bottom: 16px;
  background: var(--figma-warning-soft);
  border: 1px solid #eddaa0;
  border-radius: 10px;
}

.figma-console__review-state .figma-console__panel-eyebrow {
  margin-bottom: 4px;
  color: var(--figma-warning);
}

.figma-console__review-state h2,
.figma-console__review-state h3 {
  margin: 0;
  color: var(--figma-text);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-console__review-state h3 {
  font-size: 15px;
}

.figma-console__review-state p:not(.figma-console__panel-eyebrow) {
  margin: 4px 0 0;
  color: var(--figma-muted);
  font-size: 11px;
}

.figma-console__review-state-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.figma-console__permission-diff {
  display: block;
  padding: 15px;
  margin-bottom: 16px;
  background: #f7faf8;
  border-color: var(--figma-border);
}

.figma-console__permission-diff .figma-console__panel-heading {
  padding: 0;
  margin-bottom: 12px;
  border-top: 0;
}

.figma-console__permission-diff-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.figma-console__permission-diff-columns > div {
  min-width: 0;
  padding: 11px;
  background: var(--figma-surface);
  border: 1px solid var(--figma-border);
  border-radius: 7px;
}

.figma-console__permission-diff-columns > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 800;
}

.figma-console__permission-diff-columns > div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.figma-console__permission-diff-columns > div > div span {
  padding: 3px 6px;
  color: var(--figma-teal-dark);
  background: var(--figma-lime-soft);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.figma-console__permission-diff-columns > div > div .figma-console__scope-empty {
  color: var(--figma-muted);
  background: #f0f4f2;
  font-weight: 400;
}

.figma-console__permission-diff-list {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 9px 0 0;
  list-style: none;
}

.figma-console__permission-diff-item {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(0, 1.4fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--figma-surface);
  border-left: 2px solid var(--figma-border-strong);
  border-radius: 5px;
}

.figma-console__permission-diff-item--added {
  border-left-color: var(--figma-teal);
}

.figma-console__permission-diff-item--removed {
  border-left-color: var(--figma-danger);
}

.figma-console__permission-diff-item strong {
  color: var(--figma-text);
  font-size: 11px;
}

.figma-console__permission-diff-item > span {
  color: var(--figma-muted);
  font-size: 10px;
  font-weight: 800;
}

.figma-console__permission-diff-item--added > span {
  color: var(--figma-teal);
}

.figma-console__permission-diff-item--removed > span {
  color: var(--figma-danger);
}

.figma-console__permission-diff-item small {
  color: var(--figma-muted);
  font-size: 10px;
  text-align: right;
}

@media (max-width: 767px) {
  .figma-console__summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-console__summary-item {
    padding: 13px;
  }

  .figma-console__summary-item > strong {
    font-size: 17px;
  }

  .figma-console__route-tabs,
  .figma-console__data-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .figma-console__route-tab,
  .figma-console__data-tab {
    flex: 0 0 auto;
  }

  .figma-console__action-banner,
  .figma-console__upload-dropzone,
  .figma-console__tracking-form {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .figma-console__report-controls {
    grid-template-columns: 1fr;
  }

  .figma-console__date-range,
  .figma-console__date-fields,
  .figma-console__date-actions {
    width: 100%;
  }

  .figma-console__date-fields .figma-console__field {
    flex: 1;
    width: auto;
  }

  .figma-console__date-actions .figma-console__button,
  .figma-console__tracking-form > .figma-console__button {
    flex: 1;
  }

  .figma-console__export-meta {
    min-width: 0;
    padding-top: 12px;
    padding-left: 0;
    border-top: 1px solid var(--figma-border);
    border-left: 0;
  }

  .figma-console__tracking-fields {
    width: 100%;
  }

  .figma-console__action-banner .figma-console__button,
  .figma-console__upload-dropzone .figma-console__button {
    width: 100%;
  }

  .figma-console__upload-meta {
    display: grid;
  }

  .figma-console__upload-meta .figma-console__button {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .figma-console__topbar {
    padding-right: 28px;
    padding-left: 28px;
  }

  .figma-console__main {
    padding-right: 28px;
    padding-left: 28px;
  }

  .figma-console__metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-console__detail-list--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .figma-console__sidebar {
    box-shadow: 12px 0 28px rgba(8, 47, 43, 0.2);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .figma-console[data-menu-open="true"] .figma-console__sidebar {
    transform: translateX(0);
  }

  .figma-console[data-menu-open="true"] .figma-console__mobile-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .figma-console__mobile-backdrop {
    position: fixed;
    z-index: 9;
    inset: 0;
    visibility: hidden;
    background: rgba(8, 47, 43, 0.42);
    opacity: 0;
    transition: visibility 180ms ease, opacity 180ms ease;
  }

  .figma-console__sidebar-close,
  .figma-console__menu-toggle {
    display: grid;
    place-items: center;
  }

  .figma-console__sidebar-close {
    width: 30px;
    height: 30px;
    color: #b9d2c8;
    background: transparent;
    font-size: 22px;
  }

  .figma-console__menu-toggle {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    color: var(--figma-teal);
    background: transparent;
    font-size: 19px;
  }

  .figma-console__workspace {
    margin-left: 0;
  }

  .figma-console__topbar {
    height: 60px;
    gap: 10px;
    padding: 0 16px;
  }

  .figma-console__breadcrumb {
    flex: 1;
    gap: 7px;
  }

  .figma-console__breadcrumb a,
  .figma-console__breadcrumb span {
    display: none;
  }

  .figma-console__topbar-actions {
    gap: 7px;
  }

  .figma-console__notification {
    font-size: 0;
  }

  .figma-console__notification span {
    font-size: 17px;
  }

  .figma-console__notification b {
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    margin-left: -6px;
    font-size: 9px;
  }

  .figma-console__account-chip > span:nth-child(2),
  .figma-console__account-chip > span:last-child {
    display: none;
  }

  .figma-console__account-chip {
    padding: 0;
  }

  .figma-console__main {
    padding: 26px 16px 48px;
  }

  .figma-console__page-header {
    display: grid;
    align-items: start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .figma-console__page-actions {
    width: 100%;
  }

  .figma-console__page-actions .figma-console__button {
    flex: 1;
  }

  .figma-console__title-row h1 {
    font-size: 25px;
  }

  .figma-console__metric-grid {
    grid-template-columns: 1fr;
  }

  .figma-console__filter-bar {
    display: grid;
    align-items: stretch;
  }

  .figma-console__search-field {
    width: 100%;
  }

  .figma-console__filter-select {
    justify-content: space-between;
  }

  .figma-console__filter-select select {
    flex: 1;
    max-width: 220px;
  }

  .figma-console__filter-bar > button {
    width: 100%;
  }

  .figma-console__panel {
    padding: 17px 15px;
    border-radius: 9px;
  }

  .figma-console__panel-heading {
    gap: 10px;
    margin-bottom: 14px;
  }

  .figma-console__panel-heading h2 {
    font-size: 16px;
  }

  .figma-console__panel-meta {
    text-align: right;
  }

  .figma-console__table {
    min-width: 0;
  }

  .figma-console__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .figma-console__table,
  .figma-console__table tbody,
  .figma-console__table tr,
  .figma-console__table td {
    display: block;
    width: 100%;
  }

  .figma-console__table tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--figma-border);
  }

  .figma-console__table tr:last-child {
    border-bottom: 0;
  }

  .figma-console__table td {
    display: grid;
    grid-template-columns: minmax(92px, 0.36fr) minmax(0, 1fr);
    gap: 12px;
    padding: 7px 3px;
    border-bottom: 0;
  }

  .figma-console__table td::before {
    color: var(--figma-muted);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
  }

  .figma-console__table td > * {
    min-width: 0;
  }

  .figma-console__table td small {
    max-width: none;
  }

  .figma-console__table-empty {
    display: block !important;
    padding: 28px 3px !important;
    text-align: center;
  }

  .figma-console__table-empty::before {
    display: none;
  }

  .figma-console__field-grid--two,
  .figma-console__detail-list,
  .figma-console__detail-list--four {
    grid-template-columns: 1fr;
  }

  .figma-console__option-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .figma-console__option-index {
    padding-bottom: 0;
  }

  .figma-console__form-actions {
    position: sticky;
    bottom: 0;
    z-index: 3;
    justify-content: stretch;
    padding: 12px 0;
    background: rgba(244, 247, 245, 0.96);
  }

  .figma-console__form-actions > * {
    flex: 1;
  }

  .figma-console__state-panel,
  .figma-console__placeholder-panel {
    padding: 19px;
  }

  .figma-console__placeholder-panel {
    min-height: 180px;
  }
}

@media (max-width: 1100px) {
  .figma-console__home-grid,
  .figma-console__permissions-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .figma-console__home-hero {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
  }

  .figma-console__home-hero dl {
    min-width: 0;
  }

  .figma-console__home-banner-action {
    width: 100%;
    align-items: stretch;
    justify-items: stretch;
  }

  .figma-console__home-banner-action > * {
    justify-content: center;
  }

  .figma-console__home-link-grid {
    grid-template-columns: 1fr;
  }

  .figma-console__home-task {
    align-items: flex-start;
  }

  .figma-console__home-task-action {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
  }

  .figma-console__permission-table {
    min-width: 500px;
  }

  .figma-console__permission-detail {
    overflow-x: auto;
  }

  .figma-console__session-item {
    align-items: flex-start;
  }

  .figma-console__session-item .figma-console__status-chip {
    flex: 0 0 auto;
  }

  .figma-console__invitation-policy,
  .figma-console__permission-diff-columns {
    grid-template-columns: 1fr;
  }

  .figma-console__review-state {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .figma-console__review-state-action {
    justify-content: space-between;
  }

  .figma-console__permission-diff-item {
    grid-template-columns: minmax(90px, 1fr) auto;
  }

  .figma-console__permission-diff-item small {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .figma-console *,
  .figma-console *::before,
  .figma-console *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Figma 공급사 UI draft screens. This scope keeps the original Figma file read-only
   while giving the implementation the same 248 / 68 console geometry. */
.figma-console--figma-draft {
  --figma-draft-ink: #123d38;
  --figma-draft-muted: #728983;
  --figma-draft-line: #d7e2de;
  --figma-draft-soft: #f7faf8;
  --figma-draft-teal: #0d776b;
  --figma-draft-lime: #d4ec68;
}

.figma-console--figma-draft .figma-console__sidebar--draft {
  min-height: 100vh;
  padding: 16px 16px 24px;
  color: #ffffff;
  background: #123531;
}

.figma-draft__brand-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: 0 8px 18px;
}

.figma-draft__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 32px;
}

.figma-console__ggookmart-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.figma-draft__account {
  padding: 0 8px 19px;
  margin: 0;
  border-bottom: 1px solid #284b46;
}

.figma-draft__role-chip {
  display: inline-flex;
  width: 112px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #0d3e39;
  background: #edf8c9;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.figma-draft__account strong,
.figma-draft__account small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-draft__account strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.figma-draft__account small {
  height: auto;
  margin-top: 2px;
  color: #adbfba;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 17px;
}

.figma-draft__home-link {
  display: flex;
  width: 216px;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #ffffff;
  background: #0d3e39;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}

.figma-draft__home-link:hover {
  background: #0f766b;
}

.figma-draft__home-link > span:last-child {
  color: #adbfba;
  font-size: 15px;
  font-weight: 500;
}

.figma-draft__menu-group {
  display: grid;
  gap: 0;
}

.figma-draft__group-row {
  display: flex;
  width: 216px;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #adbfba;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
}

.figma-draft__menu-group.is-active .figma-draft__group-row {
  color: #ffffff;
  background: #0f766b;
}

.figma-draft__menu-group:not(.is-active) .figma-draft__group-row:hover {
  color: #ffffff;
  background: #0d3e39;
}

.figma-draft__group-number {
  width: 24px;
  flex: 0 0 24px;
  color: #adbfba;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.figma-draft__menu-group.is-active .figma-draft__group-number {
  color: #cceb57;
}

.figma-draft__group-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}

.figma-draft__menu-group.is-active .figma-draft__group-label {
  font-weight: 700;
}

.figma-draft__group-chevron {
  display: block;
  width: 14px;
  flex: 0 0 14px;
  color: #adbfba;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 160ms ease;
}

.figma-draft__chevron-spacer {
  display: block;
  width: 14px;
}

.figma-draft__menu-group.is-active .figma-draft__group-chevron,
.figma-draft__home-link.is-active .figma-draft__group-chevron {
  color: #ffffff;
}

.figma-draft__menu-group.is-open .figma-draft__group-chevron {
  transform: rotate(90deg);
}

.figma-draft__submenu {
  display: grid;
  max-height: 0;
  gap: 3px;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transform-origin: top;
  visibility: hidden;
}

.figma-draft__menu-group.is-open .figma-draft__submenu {
  max-height: 180px;
  margin-top: 4px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.figma-draft__submenu.is-opening {
  animation: figma-draft-submenu-reveal 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.figma-draft__submenu.is-closing {
  animation: figma-draft-submenu-hide 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.figma-draft__menu-group.is-opening .figma-draft__group-chevron {
  animation: figma-draft-chevron-open 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.figma-draft__menu-group.is-closing .figma-draft__group-chevron {
  animation: figma-draft-chevron-close 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes figma-draft-submenu-reveal {
  from {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
  }

  to {
    max-height: 180px;
    margin-top: 4px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
}

@keyframes figma-draft-submenu-hide {
  from {
    max-height: 180px;
    margin-top: 4px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  to {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
  }
}

@keyframes figma-draft-chevron-open {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(90deg);
  }
}

@keyframes figma-draft-chevron-close {
  from {
    transform: rotate(90deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.figma-draft__submenu-link {
  position: relative;
  display: flex;
  width: 188px;
  height: 28px;
  align-items: center;
  padding: 0 12px;
  margin-left: 28px;
  color: #adbfba;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 400;
  line-height: 16px;
}

.figma-draft__submenu-link:hover {
  color: #ffffff;
  background: #174b46;
}

.figma-draft__submenu-link.is-active {
  color: #ffffff;
  background: #174b46;
  font-weight: 700;
}

.figma-draft__submenu-link.is-active::before {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 3px;
  content: '';
  background: #cceb57;
  border-radius: 2px;
}

.figma-draft__sidebar-bottom {
  padding: 0;
  margin-top: auto;
}

.figma-draft__support-card {
  display: grid;
  width: 216px;
  height: 112px;
  align-content: start;
  padding: 20px 13px 13px;
  color: #ffffff;
  background: #0d3e39;
  border: 1px solid #27564f;
  border-radius: 14px;
  text-align: left;
}

.figma-draft__support-card:hover {
  border-color: #4f7d70;
}

.figma-draft__support-card strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}

.figma-draft__support-card span {
  margin-top: 7px;
  color: #adbfba;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  white-space: nowrap;
}

.figma-draft__support-card b {
  display: grid;
  width: 86px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  color: #0d3e39;
  background: #edf8c9;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.figma-console--figma-draft .figma-console__topbar--draft {
  padding-right: 42px;
  padding-left: 42px;
  background: #ffffff;
}

.figma-console__topbar--draft .figma-console__breadcrumb {
  color: #81948f;
}

.figma-console__topbar--draft .figma-console__breadcrumb strong {
  color: #234b45;
  font-weight: 800;
}

.figma-draft__top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.figma-draft__notification {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  color: #69827c;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.figma-draft__notification b {
  display: grid;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  place-items: center;
  color: #ffffff;
  background: #0e776c;
  border-radius: 10px;
  font-size: 10px;
}

.figma-draft__account-chip {
  display: grid;
  grid-template-columns: 32px auto;
  align-items: center;
  column-gap: 8px;
  padding: 0;
  color: #173f3b;
  background: transparent;
  text-align: left;
}

.figma-draft__account-chip span {
  display: grid;
  width: 32px;
  height: 32px;
  grid-row: span 2;
  place-items: center;
  color: #1d573f;
  background: #dff0a4;
  border-radius: 50%;
  font-weight: 900;
}

.figma-draft__account-chip strong,
.figma-draft__account-chip small {
  display: block;
}

.figma-draft__account-chip strong {
  font-size: 12px;
}

.figma-draft__account-chip small {
  color: #7a918b;
  font-size: 10px;
}

.figma-console--figma-draft .figma-console__main {
  width: 100%;
  max-width: none;
  padding: 30px 48px 72px;
}

.figma-console__screen--figma-draft {
  max-width: 1096px;
  margin: 0 auto;
}

.figma-draft__header {
  display: flex;
  min-height: 105px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}

.figma-draft__eyebrow {
  margin: 0 0 8px;
  color: var(--figma-draft-teal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.figma-draft__title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.figma-draft__header h1 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-size: clamp(25px, 2.35vw, 34px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.15;
}

.figma-draft__description {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--figma-draft-muted);
  font-size: 13px;
}

.figma-draft__header-action {
  flex: 0 0 auto;
}

.figma-draft__button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease;
}

.figma-draft__button--primary {
  color: #173f3b;
  background: var(--figma-draft-lime);
}

.figma-draft__button--primary:hover {
  background: #c5e34c;
}

.figma-draft__button--secondary {
  color: #175a53;
  background: #ffffff;
  border-color: #9bb8af;
}

.figma-draft__button--secondary:hover {
  border-color: var(--figma-draft-teal);
  background: #f0f8f4;
}

.figma-draft__button--ghost,
.figma-draft__text-button {
  color: var(--figma-draft-teal);
  background: transparent;
  border-color: transparent;
}

.figma-draft__badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-draft__badge i {
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}

.figma-draft__badge--positive { color: #0d776b; background: #eef8c9; }
.figma-draft__badge--warning { color: #9a6700; background: #fff2cc; }
.figma-draft__badge--danger { color: #b34a50; background: #fff0f0; }
.figma-draft__badge--info { color: #336b91; background: #edf7fd; }
.figma-draft__badge--neutral { color: #6d8580; background: #eff4f1; }

.figma-draft__candidate-note,
.figma-draft__version {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  color: #8b6500;
  background: #fff5d9;
  border: 1px solid #f0dda3;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__version {
  float: right;
  margin-top: -35px;
  color: #71847f;
  background: #f7faf8;
  border-color: var(--figma-draft-line);
  font-weight: 700;
}

.figma-draft__panel {
  min-width: 0;
  padding: 21px 22px;
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
}

.figma-draft__panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.figma-draft__panel-head h2 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.figma-draft__panel-head p,
.figma-draft__panel > p {
  margin: 5px 0 0;
  color: var(--figma-draft-muted);
  font-size: 11px;
}

.figma-draft__panel--filter {
  padding-bottom: 13px;
}

.figma-draft__filter {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
}

.figma-draft__filter > label,
.figma-draft__order-filter > label,
.figma-draft__delivery-filter > label,
.figma-draft__sales-controls > label {
  display: grid;
  gap: 5px;
  color: var(--figma-draft-muted);
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__filter input,
.figma-draft__filter select,
.figma-draft__order-filter input,
.figma-draft__order-filter select,
.figma-draft__delivery-filter input,
.figma-draft__delivery-filter select,
.figma-draft__sales-controls input {
  height: 38px;
  min-width: 0;
  padding: 0 11px;
  color: var(--figma-draft-ink);
  background: #ffffff;
  border: 1px solid #b4c7c0;
  border-radius: 6px;
  outline: 0;
  font-size: 12px;
  font-weight: 500;
}

.figma-draft__filter input { width: 286px; }
.figma-draft__filter input:focus,
.figma-draft__order-filter input:focus,
.figma-draft__order-filter select:focus,
.figma-draft__delivery-filter input:focus,
.figma-draft__delivery-filter select:focus,
.figma-draft__sales-controls input:focus { border-color: var(--figma-draft-teal); box-shadow: 0 0 0 3px rgba(13, 119, 107, 0.12); }

.figma-draft__filter-label {
  display: grid;
  gap: 5px;
  margin-left: 4px;
  color: var(--figma-draft-muted);
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__filter-label > span {
  display: flex;
  gap: 4px;
}

.figma-draft__filter > .figma-draft__button:first-of-type { margin-left: auto; }

.figma-draft__tip {
  padding: 13px 15px;
  margin-bottom: 16px;
  color: #5f7133;
  background: #f0f7d9;
  border: 1px solid #d9e8a5;
  border-radius: 8px;
  font-size: 11px;
}

.figma-draft__tip strong { margin-right: 7px; color: #789c09; }
.figma-draft__tip span { color: #718262; }

.figma-console__screen--products .figma-draft__header > div:first-child {
  width: 100%;
  min-width: 0;
}

.figma-draft__tip--header {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
}

.figma-console--figma-draft .figma-console__screen--products .figma-draft__product-filter-panel {
  padding: 11px 16px;
  border-radius: 14px;
}

.figma-draft__product-filter {
  display: grid;
  min-height: 52px;
  align-items: end;
  gap: 12px;
  grid-template-columns: minmax(260px, 450px) minmax(240px, 1fr) 162px;
}

.figma-draft__product-search-control h2,
.figma-draft__product-status-filter legend {
  padding: 0;
  margin: 0 0 4px;
  color: #455a53;
}

.figma-draft__product-search-control h2 {
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
}

.figma-console--figma-draft .figma-draft__product-search-control input {
  width: 100%;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  outline: 0;
  font-size: 12px;
  line-height: 17px;
}

.figma-draft__product-search-control input:focus {
  border-color: var(--figma-draft-teal);
  box-shadow: 0 0 0 3px rgba(13, 119, 107, 0.12);
}

.figma-draft__product-status-filter {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.figma-draft__product-status-filter legend {
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.figma-draft__product-status-filter > div {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
}

.figma-draft__product-status-chip {
  display: inline-flex;
  flex: 0 0 auto;
  cursor: pointer;
}

.figma-draft__product-status-chip span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  color: #455a53;
  background: #eef3f0;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.figma-draft__product-status-chip.is-positive span {
  color: #176b62;
  background: #d9eeea;
}

.figma-draft__product-status-chip input:focus-visible + span {
  outline: 2px solid #176b62;
  outline-offset: 2px;
}

.figma-console--figma-draft .figma-draft__product-filter > .figma-draft__button--ghost {
  width: 162px;
  height: 42px;
  min-height: 42px;
  padding: 10px 18px;
  color: #0d3e39;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 19px;
}

@media (max-width: 980px) {
  .figma-draft__product-filter {
    grid-template-columns: minmax(230px, 1fr) minmax(220px, 1fr) 150px;
  }

  .figma-console--figma-draft .figma-draft__product-filter > .figma-draft__button--ghost {
    width: 150px;
  }
}

.figma-draft__panel--table { padding-bottom: 9px; overflow-x: auto; }

.figma-draft__table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.figma-draft__table th {
  padding: 11px 12px;
  color: #728982;
  background: #f7faf8;
  border-top: 1px solid var(--figma-draft-line);
  border-bottom: 1px solid var(--figma-draft-line);
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-draft__table td {
  min-width: 0;
  padding: 14px 12px;
  color: var(--figma-draft-ink);
  border-bottom: 1px solid #e6eeea;
  font-size: 11px;
  vertical-align: middle;
}

.figma-draft__table td strong,
.figma-draft__table td small {
  display: block;
}

.figma-draft__table td strong { font-weight: 850; }
.figma-draft__table td small { margin-top: 3px; color: #82958f; font-size: 10px; }
.figma-draft__table td .figma-draft__badge { margin-right: 6px; vertical-align: middle; }
.figma-draft__table td a { color: var(--figma-draft-teal); font-size: 10px; font-weight: 800; }
.figma-draft__table td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.figma-draft__table .mono { color: #23685e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; }

.figma-draft__table--products th:first-child,
.figma-draft__table--products td:first-child {
  width: 88px;
}

.figma-draft__table--products th:nth-child(2) {
  width: 34%;
}

.figma-draft__table--products .figma-draft__product-status-cell .figma-draft__badge {
  margin-right: 0;
  white-space: nowrap;
}

.figma-draft__table--products .figma-draft__product-action-cell {
  white-space: nowrap;
}

.figma-draft__pagination {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 5px 4px;
  color: #455a53;
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.figma-draft__pagination a {
  color: #455a53;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.figma-draft__pagination-arrow {
  display: inline-flex;
  min-width: 16px;
  align-items: center;
  justify-content: center;
}

.figma-draft__pagination-arrow.is-disabled,
.figma-draft__pagination-separator {
  color: #adbfba;
}

.figma-draft__form-layout,
.figma-draft__permissions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.75fr);
  align-items: start;
  gap: 17px;
}

.figma-draft__form { min-width: 0; }
.figma-draft__form-layout > *,
.figma-draft__permissions-layout > * { min-width: 0; }
.figma-draft__form .figma-draft__panel { margin-bottom: 14px; }

.figma-draft__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.figma-draft__field {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.figma-draft__field > span,
.figma-draft__static-field > span {
  color: #71847f;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__field em { margin-left: 3px; color: #b74d52; font-style: normal; }
.figma-draft__field input,
.figma-draft__field select,
.figma-draft__field textarea {
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  color: var(--figma-draft-ink);
  background: #ffffff;
  border: 1px solid #b4c7c0;
  border-radius: 6px;
  outline: 0;
  font-size: 12px;
}

.figma-draft__field input,
.figma-draft__field select { height: 39px; }
.figma-draft__field textarea { min-height: 98px; resize: vertical; }
.figma-draft__field input[readonly] { color: #6e8580; background: #f5f8f6; }
.figma-draft__field small { color: #81938e; font-size: 10px; }

.figma-draft__image-upload {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(270px, 1.25fr);
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e6eeea;
}

.figma-draft__image-upload-control {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.figma-draft__image-upload-copy { min-width: 0; }
.figma-draft__image-upload-copy > strong { display: block; color: var(--figma-draft-ink); font-size: 12px; }
.figma-draft__image-upload-copy > p { margin: 3px 0 8px; color: var(--figma-draft-muted); font-size: 10px; line-height: 1.5; }

.figma-draft__file-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 10px;
}

.figma-draft__image-placeholder {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  place-items: center;
  color: #6c837c;
  background: #f1f6f3;
  border: 1px dashed #a9bfb7;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.figma-draft__image-status {
  margin-top: 7px !important;
  color: #71847f !important;
}

.figma-draft__image-status.is-checking { color: #9a6700 !important; }
.figma-draft__image-status.is-valid { color: var(--figma-draft-teal) !important; font-weight: 800; }
.figma-draft__image-status.is-error { color: #b34a50 !important; font-weight: 800; }

.figma-draft__image-requirements {
  padding: 12px 14px;
  color: #536a63;
  background: #f5f9f7;
  border: 1px solid #dce8e3;
  border-radius: 7px;
}

.figma-draft__image-requirements > strong { color: var(--figma-draft-ink); font-size: 11px; }
.figma-draft__image-requirements ul { display: grid; gap: 5px; padding: 0; margin: 8px 0 0; list-style: none; }
.figma-draft__image-requirements li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 8px; font-size: 10px; line-height: 1.55; }
.figma-draft__image-requirements li b { color: #71847f; }

.figma-draft__image-row,
.figma-draft__product-select {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e6eeea;
}

.figma-draft__product-image,
.figma-draft__card-thumb {
  display: grid;
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  overflow: hidden;
  place-items: center;
  color: #557f55;
  background: linear-gradient(145deg, #f3ecc6, #d8e7b3);
  border: 1px solid #dde6e2;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.figma-draft__product-image img,
.figma-draft__card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.figma-draft__product-cell {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 10px;
}

.figma-draft__product-cell .figma-draft__card-thumb {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  border-radius: 7px;
}

.figma-draft__product-cell > span { min-width: 0; }

.figma-draft__image-row strong,
.figma-draft__product-select strong,
.figma-draft__product-select b { display: block; color: var(--figma-draft-ink); font-size: 12px; }
.figma-draft__image-row p { margin: 3px 0 4px; color: var(--figma-draft-muted); font-size: 10px; }
.figma-draft__text-button { padding: 0; font-size: 11px; font-weight: 800; }

.figma-draft__option-grid {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(100px, 160px) minmax(78px, 92px) max-content;
  gap: 9px;
  align-items: end;
}

.figma-draft__product-options {
  display: grid;
  gap: 10px;
}

.figma-draft__option-delete { grid-column: 4; }

.figma-draft__option-delete .figma-draft__button {
  min-width: 78px;
  padding-right: 10px;
  padding-left: 10px;
}

.figma-draft__option-delete .figma-draft__button:disabled {
  color: #8b9a95;
  cursor: not-allowed;
  background: #f1f4f2;
  border-color: #d8e1dd;
  opacity: 0.72;
}

.figma-draft__add-button {
  padding: 14px 0 0;
  color: var(--figma-draft-teal);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
}

.figma-draft__add-button span { margin-left: 8px; color: #859791; font-size: 10px; font-weight: 500; }
.figma-draft__form-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 4px 0 20px; }

.figma-draft__review-card {
  padding: 21px;
  color: var(--figma-draft-ink);
  background: #eef6df;
  border: 1px solid #d6e4bd;
  border-radius: 9px;
}

.figma-draft__review-status {
  display: inline-block;
  color: #6f8d22;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.figma-draft__review-card h2 { margin: 9px 0 4px; font-size: 18px; letter-spacing: -0.04em; }
.figma-draft__review-card h3 { margin: 22px 0 6px; font-size: 12px; }
.figma-draft__review-card > p { margin: 0; color: #75856b; font-size: 11px; }
.figma-draft__review-product { display: grid; gap: 4px; padding: 14px 0; margin: 17px 0; border-top: 1px solid #d8e7bd; border-bottom: 1px solid #d8e7bd; }
.figma-draft__review-product strong { font-size: 18px; }
.figma-draft__review-product span { font-size: 11px; }
.figma-draft__review-product small { color: #7d8e73; font-size: 10px; }
.figma-draft__review-product b { margin-top: 4px; font-size: 11px; }
.figma-draft__review-card ul { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.figma-draft__review-card li { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid #e0ebcf; color: #50684a; font-size: 11px; }
.figma-draft__review-card li b { color: #718f1a; font-size: 10px; }
.figma-draft__review-note { padding-top: 14px; margin-top: 13px !important; border-top: 1px solid #d8e7bd; line-height: 1.65; }

.figma-draft__two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 17px;
  align-items: start;
}

.figma-draft__shipping-fees-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(356px, 1fr);
  gap: 20px;
  align-items: start;
}

.figma-draft__shipping-fee-rules,
.figma-draft__shipping-fee-editor {
  width: 100%;
  height: 100%;
  min-width: 0;
  margin-bottom: 0;
}

.figma-draft__shipping-fee-rules .figma-draft__table td {
  padding-top: 18px;
  padding-bottom: 18px;
}

.figma-draft__shipping-fee-rule-status {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.figma-draft__shipping-fee-rule-status small {
  color: var(--figma-draft-teal);
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__shipping-fee-rules .figma-draft__priority {
  margin: 18px 0 0;
}

.figma-draft__shipping-fee-fields {
  display: grid;
  gap: 12px;
}

.figma-draft__shipping-fee-field-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.figma-draft__shipping-fee-scope {
  display: grid;
  gap: 4px;
  padding: 14px;
  margin-top: 18px;
  background: #eef3f0;
  border-radius: 10px;
}

.figma-draft__shipping-fee-scope strong {
  margin-bottom: 5px;
  font-size: 11px;
}

.figma-draft__shipping-fee-scope span {
  color: #455a53;
  font-size: 10px;
}

.figma-draft__shipping-fee-policy {
  padding: 14px;
  margin: 14px 0;
  color: #9a5f00;
  background: #fff1cf;
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.6;
}

.figma-draft__shipping-fee-editor > .figma-draft__button {
  width: 100%;
}

@media (max-width: 1280px) {
  .figma-draft__shipping-fees-layout {
    grid-template-columns: 1fr;
  }

  .figma-draft__shipping-fee-rules,
  .figma-draft__shipping-fee-editor {
    height: auto;
  }
}

.figma-draft__policy-line { margin: 8px 0 16px; color: #879791; font-size: 10px; }
.figma-draft__location-list { display: grid; gap: 9px; }
.figma-draft__location-card { padding: 15px; border: 1px solid #dbe6e1; border-radius: 7px; }
.figma-draft__location-card.is-selected { border-color: #79b1a4; box-shadow: inset 3px 0 #0d776b; }
.figma-draft__location-card > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.figma-draft__location-card h3 { margin: 0; font-size: 13px; }
.figma-draft__location-card p { margin: 9px 0 3px; color: #5f7972; font-size: 11px; }
.figma-draft__location-card small { display: block; color: #82958f; font-size: 10px; }
.figma-draft__location-card a { display: block; margin-top: 12px; color: #0d776b; font-size: 10px; font-weight: 800; }
.figma-draft__detail-stack { display: grid; gap: 0; margin-top: 15px; border-top: 1px solid #e2ece8; }
.figma-draft__static-field { display: grid; grid-template-columns: 95px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #e5ede9; }
.figma-draft__static-field strong { font-size: 11px; overflow-wrap: anywhere; }
.figma-draft__subheading { margin: 19px 0 8px; color: var(--figma-draft-ink); font-size: 12px; }
.figma-draft__strong-line { color: var(--figma-draft-ink) !important; font-weight: 850; }
.figma-draft__text-link { display: inline-block; margin-top: 10px; color: var(--figma-draft-teal); font-size: 11px; font-weight: 850; }
.figma-draft__candidate-box { padding: 14px; margin-top: 20px; background: #fff8df; border: 1px solid #eedfae; border-radius: 7px; }
.figma-draft__candidate-box b { color: #957329; font-size: 10px; }
.figma-draft__candidate-box h3 { margin: 6px 0; font-size: 12px; }
.figma-draft__candidate-box p { margin: 0; color: #6f735d; font-size: 10px; }
.figma-draft__candidate-box small { display: block; margin-top: 7px; color: #91876a; font-size: 10px; }
.figma-draft__priority { padding: 20px; margin-bottom: 16px; background: #eff7e1; border: 1px solid #dce8c3; border-radius: 9px; }
.figma-draft__priority h2 { margin: 0 0 10px; font-size: 15px; }
.figma-draft__priority p { margin: 0 0 12px; color: #406852; font-size: 12px; font-weight: 800; line-height: 1.7; }
.figma-draft__priority small { color: #75886d; font-size: 10px; }
.figma-draft__muted { color: #7d918a; font-size: 10px; line-height: 1.7; }

.figma-draft__metric-line,
.figma-draft__invoice-metrics,
.figma-draft__delivery-metrics,
.figma-draft__sales-metrics,
.figma-draft__settlement-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.figma-draft__metric-line > span { margin-left: 6px; color: #81918c; font-size: 10px; }
.figma-draft__campaign-list { display: grid; gap: 9px; }
.figma-draft__campaign-card,
.figma-draft__claim-card,
.figma-draft__work-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px;
  border: 1px solid #dce7e2;
  border-radius: 8px;
}

.figma-draft__campaign-card .figma-draft__card-thumb,
.figma-draft__claim-card .figma-draft__card-thumb,
.figma-draft__work-card .figma-draft__card-thumb { width: 58px; height: 58px; flex-basis: 58px; font-size: 9px; }
.figma-draft__campaign-copy > div { display: flex; align-items: center; gap: 8px; }
.figma-draft__card-kicker { color: #7c918a; font-size: 10px; }
.figma-draft__campaign-copy h3,
.figma-draft__claim-card h3,
.figma-draft__work-card h3 { margin: 5px 0 3px; color: var(--figma-draft-ink); font-size: 13px; }
.figma-draft__campaign-copy p,
.figma-draft__claim-card p,
.figma-draft__work-card p { margin: 0; color: #82958f; font-size: 10px; }
.figma-draft__campaign-copy > strong { display: block; margin-top: 7px; color: #315e54; font-size: 11px; }
.figma-draft__campaign-card > .figma-draft__text-link { margin: 0; white-space: nowrap; }
.figma-draft__campaign-lower { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.figma-draft__calendar { padding: 18px; background: #ffffff; border: 1px solid var(--figma-draft-line); border-radius: 9px; }
.figma-draft__calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.figma-draft__calendar-head strong { font-size: 15px; }
.figma-draft__calendar-head span { color: #84958f; font-size: 10px; }
.figma-draft__weekdays,
.figma-draft__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.figma-draft__weekdays b { padding-bottom: 7px; color: #93a29e; font-size: 9px; }
.figma-draft__days span { display: grid; min-height: 27px; place-items: center; color: #607b73; border-radius: 5px; font-size: 10px; }
.figma-draft__days span.is-range { color: #21776b; background: #edf6d4; }
.figma-draft__days span.is-start { color: #153f3a; background: #d4ec68; font-weight: 900; }
.figma-draft__calendar > p { padding-top: 10px; margin: 13px 0 0; color: #7d9189; border-top: 1px solid #e6eeea; font-size: 10px; }
.figma-draft__operation-points { padding: 20px; background: #f1f7e4; border: 1px solid #dce8c4; border-radius: 9px; }
.figma-draft__operation-points h2 { margin: 0; font-size: 15px; }
.figma-draft__operation-points p { margin: 6px 0 18px; color: #768a6e; font-size: 10px; }
.figma-draft__operation-points > div { display: grid; gap: 11px; }
.figma-draft__operation-points > div span { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid #dbe8c5; color: #567151; font-size: 11px; }
.figma-draft__operation-points b { color: #173f3b; }
.figma-draft__history { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 14px; margin-top: 15px; border-top: 1px solid #e4ece8; color: #718780; font-size: 10px; }
.figma-draft__history b { color: var(--figma-draft-ink); }

.figma-draft__order-filter,
.figma-draft__delivery-filter,
.figma-draft__sales-controls {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 14px;
  margin-bottom: 15px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 8px;
}

.figma-draft__order-filter > .figma-draft__date-range-field {
  width: 360px;
  flex: 0 1 360px;
}
.figma-draft__order-filter > label:nth-of-type(1) { flex: 1; }
.figma-draft__order-filter > label:nth-of-type(2) { width: 130px; }
.figma-draft__order-filter .figma-draft__date-range { width: 100%; }
.figma-draft__order-filter .figma-draft__date-range input {
  width: 100%;
  height: 40px;
  min-height: 0;
  padding: 0 10px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.figma-draft__order-filter .figma-draft__date-range input:focus {
  border-color: transparent;
  box-shadow: none;
}
.figma-draft__order-filter input,
.figma-draft__order-filter select,
.figma-draft__delivery-filter input,
.figma-draft__delivery-filter select { width: 100%; }
.figma-draft__order-meta { display: flex; align-items: baseline; gap: 18px; padding: 0 3px 12px; color: #7b8e88; font-size: 10px; }
.figma-draft__order-meta strong { color: var(--figma-draft-ink); font-size: 14px; }
.figma-draft__order-meta span:last-child { margin-left: auto; }
.figma-draft__wide-table {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  user-select: none;
}
.figma-draft__table--wide { min-width: 1500px; }
.figma-draft__table--wide th,
.figma-draft__table--wide td { padding-right: 10px; padding-left: 10px; white-space: nowrap; }
.figma-draft__order-list-footer {
  display: grid;
  min-height: 54px;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 10px 18px;
  padding: 16px 2px 2px;
}
.figma-draft__order-pagination {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #455a53;
  font-size: 12px;
  line-height: 18px;
}
.figma-draft__order-pagination strong { min-width: 42px; text-align: center; }
.figma-draft__order-list-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.figma-draft__order-list-controls > input[type="hidden"] { display: none; }
.figma-draft__order-list-controls label {
  display: grid;
  gap: 5px;
  color: #71847f;
  font-size: 10px;
  font-weight: 800;
}
.figma-draft__order-list-controls select {
  width: 96px;
  height: 32px;
  min-height: 32px;
  padding: 0 24px 0 9px;
  color: var(--figma-draft-ink);
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}
.figma-draft__order-list-controls label:last-child select { width: 126px; }
.figma-draft__order-list-controls select:focus {
  border-color: var(--figma-draft-teal);
  outline: 2px solid rgba(13, 119, 107, 0.12);
  outline-offset: 1px;
}
.figma-draft__order-list-footer > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #82958f;
  font-size: 9px;
  text-align: right;
}

@media (max-width: 600px) {
  .figma-console__screen--orders .figma-draft__panel-head {
    align-items: stretch;
    flex-direction: column;
  }

  .figma-console__screen--orders .figma-draft__order-list-controls {
    width: 100%;
  }

  .figma-console__screen--orders .figma-draft__order-list-controls label {
    flex: 1;
  }

  .figma-console__screen--orders .figma-draft__order-list-controls select,
  .figma-console__screen--orders .figma-draft__order-list-controls label:last-child select {
    width: 100%;
  }
}

.figma-draft__scroll-note { padding: 12px 3px 2px; color: #718780; font-size: 10px; }

.figma-draft__notice-banner { padding: 15px 17px; margin-bottom: 16px; color: #456b62; background: #eef7e0; border: 1px solid #d8e7bf; border-radius: 8px; }
.figma-draft__notice-banner strong { color: #285d52; font-size: 12px; }
.figma-draft__notice-banner p { margin: 5px 0 0; color: #71866d; font-size: 10px; }
.figma-draft__orders-confirm-layout { display: grid; grid-template-columns: minmax(0, 742px) minmax(0, 334px); gap: 20px; align-items: start; }
.figma-draft__orders-confirm-layout > * { min-width: 0; }
.figma-draft__panel--orders-confirm { height: 676px; padding-bottom: 14px; margin-bottom: 0; overflow: hidden; }
.figma-draft__work-list { display: grid; gap: 18px; }
.figma-draft__work-card { position: relative; grid-template-columns: 16px 90px minmax(0, 1fr) 185px; gap: 10px; min-height: 162px; align-items: start; padding: 26px 10px 26px 10px; border: 1px solid #d3dfda; border-radius: 11px; }
.figma-draft__work-card--urgent { background: #fde9e6; }
.figma-draft__work-card > input { width: 16px; height: 16px; margin: 10px 0 0; accent-color: var(--figma-draft-teal); }
.figma-draft__card-thumb { position: relative; width: 90px; height: 104px; flex-basis: 90px; border-radius: 9px; font-size: 9px; font-weight: 700; }
.figma-draft__card-thumb--urgent { color: #0d3e39; background: #d9eeea; }
.figma-draft__card-thumb--stock { color: #0d3e39; background: #e2f0f7; }
.figma-draft__card-thumb--scheduled { color: #0d3e39; background: #edf8c9; }
.figma-draft__card-thumb i { display: block; width: 40px; height: 40px; margin: 8px auto 0; border-radius: 50%; background: #f05d4e; }
.figma-draft__card-thumb--stock i { background: #4c9fb8; }
.figma-draft__card-thumb--scheduled i { background: #70a941; }
.figma-draft__card-thumb span { position: absolute; right: 4px; bottom: 8px; left: 4px; text-align: center; }
.figma-draft__work-copy { min-width: 0; padding-top: 0; }
.figma-draft__card-kicker { display: block; color: #a63b38; font-size: 12px; font-weight: 800; line-height: 17px; }
.figma-draft__work-card--stock .figma-draft__card-kicker { color: #9a5f00; }
.figma-draft__work-card--scheduled .figma-draft__card-kicker { color: #316a8b; }
.figma-draft__work-copy p { margin: 8px 0 0; color: #6c7e77; font-size: 9px; line-height: 13px; }
.figma-draft__work-copy h3 { margin: 8px 0 0; color: #142521; font-size: 11px; font-weight: 800; line-height: 16px; }
.figma-draft__work-copy small { display: block; margin-top: 7px; color: #455a53; font-size: 10px; line-height: 15px; }
.figma-draft__work-actions { display: flex; min-width: 0; flex-direction: column; align-items: flex-end; gap: 46px; }
.figma-draft__work-status { display: inline-flex; min-height: 28px; align-items: center; justify-content: center; padding: 5px 12px; color: #a63b38; background: #fde9e6; border-radius: 14px; font-size: 11px; font-weight: 800; line-height: 16px; white-space: nowrap; }
.figma-draft__work-card--stock .figma-draft__work-status { color: #9a5f00; background: #fff1cf; }
.figma-draft__work-card--scheduled .figma-draft__work-status { color: #316a8b; background: #e2f0f7; }
.figma-draft__work-actions .figma-draft__button { width: 150px; min-height: 42px; padding: 9px 14px; font-size: 13px; line-height: 19px; }
.figma-draft__bulk-bar { display: flex; height: 40px; align-items: center; gap: 8px; margin-bottom: 17px; overflow: hidden; }
.figma-draft__bulk-bar label { display: inline-flex; width: 118px; height: 34px; flex: 0 0 118px; align-items: center; gap: 7px; padding: 0 10px; color: #0d3e39; background: #ffffff; border: 1px solid #adbfba; border-radius: 8px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.figma-draft__bulk-bar label input { width: 16px; height: 16px; margin: 0; accent-color: var(--figma-draft-teal); }
.figma-draft__bulk-bar > .figma-draft__button { height: 34px; min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: 11px; line-height: 16px; }
.figma-draft__bulk-bar > .figma-draft__button:nth-of-type(1) { width: 96px; }
.figma-draft__bulk-bar > .figma-draft__button:nth-of-type(2) { width: 122px; }
.figma-draft__bulk-bar > .figma-draft__button:nth-of-type(3) { width: 96px; }
.figma-draft__bulk-bar > .figma-draft__button:nth-of-type(4) { width: 96px; }
.figma-draft__bulk-bar > span { display: inline-flex; width: 86px; height: 34px; flex: 0 0 86px; align-items: center; justify-content: center; margin-left: 0; color: #455a53; background: #eef3f0; border-radius: 8px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.figma-draft__button--danger { color: #a63b38; background: #ffffff; border-color: #a63b38; }
.figma-draft__button--danger:hover { color: #ffffff; background: #a63b38; }
.figma-draft__side-summary { height: 676px; padding: 19px; background: #ffffff; border: 1px solid #d3dfda; border-radius: 14px; }
.figma-draft__side-summary h2 { margin: 0; color: #142521; font-size: 14px; font-weight: 800; line-height: 20px; }
.figma-draft__side-summary > p { margin: 4px 0 0; color: #6c7e77; font-size: 10px; line-height: 15px; }
.figma-draft__summary-kpis { display: grid; gap: 14px; margin-top: 16px; }
.figma-draft__summary-kpis > div { display: flex; min-height: 64px; align-items: center; justify-content: space-between; padding: 0 16px; background: #eef3f0; border-radius: 10px; }
.figma-draft__summary-kpis span { color: #455a53; font-size: 10px; font-weight: 500; }
.figma-draft__summary-kpis strong { color: #a63b38; font-size: 18px; font-weight: 800; line-height: 26px; }
.figma-draft__summary-kpis strong.is-warning { color: #9a5f00; }
.figma-draft__summary-kpis strong.is-info { color: #316a8b; }
.figma-draft__summary-version,
.figma-draft__summary-guide { padding: 20px 16px; margin-top: 22px; border-radius: 10px; }
.figma-draft__summary-version { min-height: 122px; color: #455a53; background: #e2f0f7; }
.figma-draft__summary-guide { min-height: 160px; color: #455a53; background: #fff1cf; }
.figma-draft__summary-version strong,
.figma-draft__summary-guide strong { display: block; font-size: 11px; font-weight: 800; line-height: 16px; }
.figma-draft__summary-version strong { color: #316a8b; }
.figma-draft__summary-guide strong { color: #9a5f00; }
.figma-draft__summary-version p,
.figma-draft__summary-guide p { margin: 24px 0 0; color: #455a53; font-size: 10px; line-height: 15px; }

.figma-draft__delivery-filter > label:nth-child(1) { flex: 1.3; }
.figma-draft__delivery-filter > label:nth-child(2) { width: 180px; }
.figma-draft__delivery-filter > label:nth-child(3) { width: 240px; }
.figma-draft__delivery-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.figma-draft__delivery-metrics article { padding: 16px; margin-bottom: 16px; background: #ffffff; border: 1px solid var(--figma-draft-line); border-radius: 8px; }
.figma-draft__delivery-metrics article span,
.figma-draft__delivery-metrics article small { display: block; color: #78908a; font-size: 10px; }
.figma-draft__delivery-metrics article strong { display: block; margin: 8px 0 4px; color: var(--figma-draft-ink); font-size: 23px; letter-spacing: -0.05em; }
.figma-draft__delivery-metrics article:nth-child(2) strong { color: #0d776b; }
.figma-draft__delivery-metrics article:nth-child(3) strong { color: #b04b51; }
.figma-draft__recent-updates { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 14px 3px; border-top: 1px solid #dbe6e1; border-bottom: 1px solid #dbe6e1; color: #718780; font-size: 10px; }
.figma-draft__recent-updates h2 { width: 100%; margin: 0; color: var(--figma-draft-ink); font-size: 13px; }
.figma-draft__recent-updates b { margin-left: 5px; color: #315e54; }
.figma-draft__footnote { padding: 9px 3px 0; color: #84938f; font-size: 10px; line-height: 1.6; }

.figma-draft__claim-metrics { display: flex; gap: 8px; padding: 13px 0; margin-bottom: 10px; border-top: 1px solid #e4ece8; border-bottom: 1px solid #e4ece8; }
.figma-draft__claim-metrics strong { padding-right: 18px; color: #315e54; border-right: 1px solid #dbe6e1; font-size: 11px; }
.figma-draft__claim-metrics strong:last-child { border: 0; }
.figma-draft__claim-list { display: grid; gap: 8px; }
.figma-draft__claim-card { grid-template-columns: 58px minmax(0, 1fr) auto; }
.figma-draft__claim-card > div:last-child { display: grid; justify-items: end; gap: 8px; color: #9a6700; font-size: 10px; }
.figma-draft__claim-detail { padding: 21px; margin-top: 16px; background: #fff8df; border: 1px solid #eedfae; border-radius: 9px; }
.figma-draft__claim-detail h2 { margin: 12px 0 4px; font-size: 18px; }
.figma-draft__claim-detail h3 { margin: 18px 0 4px; font-size: 15px; }
.figma-draft__claim-detail h4 { margin: 17px 0 4px; color: #93752b; font-size: 10px; }
.figma-draft__claim-detail p { margin: 0; color: #6f755e; font-size: 11px; line-height: 1.65; }
.figma-draft__claim-detail > small { display: block; margin-top: 17px; color: #95876a; font-size: 10px; }
.figma-draft__readonly-badge { display: inline-flex; min-height: 23px; align-items: center; padding: 3px 8px; margin-bottom: 10px; color: #6e817c; background: #eff4f1; border-radius: 5px; font-size: 10px; font-weight: 800; }

.figma-draft__sales-controls { justify-content: flex-start; }
.figma-draft__sales-controls label { width: 160px; }
.figma-draft__sales-controls > span { padding-bottom: 11px; color: #84948e; }
.figma-draft__sales-controls .figma-draft__button:last-child { margin-left: auto; }
.figma-draft__asof { display: flex; gap: 14px; padding: 13px 15px; margin-bottom: 16px; color: #768b84; background: #ffffff; border: 1px solid var(--figma-draft-line); border-radius: 8px; font-size: 10px; }
.figma-draft__asof b { color: var(--figma-draft-ink); }
.figma-draft__sales-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.figma-draft__sales-metrics article { min-height: 100px; padding: 15px; margin-bottom: 16px; background: #ffffff; border: 1px solid var(--figma-draft-line); border-radius: 8px; }
.figma-draft__sales-metrics span,
.figma-draft__sales-metrics small { display: block; color: #7a9089; font-size: 10px; }
.figma-draft__sales-metrics strong { display: block; margin: 9px 0 4px; color: var(--figma-draft-ink); font-size: 18px; letter-spacing: -0.05em; }
.figma-draft__bar-chart { display: flex; height: 145px; align-items: end; gap: 14px; padding: 15px 10px 0; border-bottom: 1px solid #dbe6e1; }
.figma-draft__bar-chart span { display: grid; min-width: 30px; flex: 1; align-items: start; justify-content: center; padding-top: 5px; color: #1c5d53; background: #cfe66a; border-radius: 5px 5px 0 0; font-size: 9px; font-weight: 800; }
.figma-draft__panel--chart > p { margin: 10px 0 0; color: #84938f; font-size: 10px; }
.figma-draft__status-bars { display: grid; gap: 10px; padding-top: 6px; }
.figma-draft__status-bars span { display: block; padding: 8px 10px; color: #2d5d53; background: #d9ec88; border-radius: 4px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.figma-draft__status-bars span:nth-child(2) { background: #e8f2be; }
.figma-draft__status-bars span:nth-child(3) { background: #fff0c9; }
.figma-draft__status-bars span:nth-child(4) { background: #f3dfe0; }
.figma-draft__event-list { display: grid; gap: 0; }
.figma-draft__event-list span { padding: 12px 0; color: #688079; border-bottom: 1px solid #e5ede9; font-size: 10px; }
.figma-draft__event-list span:last-child { border-bottom: 0; }
.figma-draft__event-list b { float: right; color: #315e54; }
.figma-draft__sales-highlight { display: grid; gap: 7px; padding: 15px; background: #eef7dc; border-radius: 7px; }
.figma-draft__sales-highlight strong { color: #315e54; font-size: 18px; }
.figma-draft__sales-highlight span,
.figma-draft__sales-highlight small { color: #72866d; font-size: 10px; }
/* Supplier period sales performance · Figma SUP 4.3 (30:283) */
.figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header {
  min-height: 118px;
  align-items: center;
  padding-bottom: 18px;
}

.figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__candidate-note {
  order: -1;
  min-width: 206px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  margin: 0;
  border-radius: 14px;
  text-align: center;
}

.figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__button {
  min-width: 182px;
  min-height: 42px;
}

.figma-draft__sales-period-controls {
  display: grid;
  min-height: 82px;
  align-items: center;
  grid-template-columns: minmax(260px, 1fr) auto minmax(150px, 180px) minmax(180px, 1fr);
  gap: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-period-range,
.figma-draft__sales-period-buckets {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.figma-draft__sales-period-range { display: grid; }

.figma-draft__sales-period-range legend,
.figma-draft__sales-period-controls > .figma-draft__field > span {
  padding: 0;
  margin-bottom: 4px;
  color: #455a53;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
}

.figma-draft__sales-period-range > div {
  display: grid;
  min-height: 36px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #adbfba;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.figma-draft__sales-period-range > div:focus-within {
  border-color: #176b62;
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__sales-period-range label { min-width: 0; }

.figma-draft__sales-period-range i {
  color: #6c7e77;
  font-size: 10px;
  font-style: normal;
  text-align: center;
}

.figma-draft__sales-period-range input,
.figma-draft__sales-period-controls select {
  width: 100%;
  height: 36px;
  min-width: 0;
  padding: 0 12px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  outline: 0;
  font-size: 10px;
  font-weight: 650;
}

.figma-draft__sales-period-range input { border: 0; border-radius: 0; }

.figma-draft__sales-period-controls select:focus {
  border-color: #176b62;
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__sales-period-buckets {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 19px;
}

.figma-draft__sales-period-buckets label {
  display: inline-flex;
  min-width: 48px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #455a53;
  background: #eef3f0;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

.figma-draft__sales-period-buckets label.is-active { color: #176b62; background: #d9eeea; }

.figma-draft__sales-period-buckets input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.figma-draft__sales-period-buckets label:focus-within { outline: 2px solid #176b62; outline-offset: 2px; }
.figma-draft__sales-period-controls > .figma-draft__field { display: grid; min-width: 0; }

.figma-draft__sales-period-controls time {
  align-self: center;
  padding-top: 19px;
  color: #6c7e77;
  font-size: 9px;
  line-height: 14px;
  text-align: right;
}

.figma-draft__sales-period-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.figma-draft__sales-period-metrics article {
  min-height: 104px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-period-metrics span,
.figma-draft__sales-period-metrics small { display: block; color: #6c7e77; font-size: 10px; line-height: 15px; }

.figma-draft__sales-period-metrics strong {
  display: block;
  margin: 8px 0 3px;
  color: #142521;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 32px;
}

.figma-draft__sales-period-metrics .is-primary strong { color: #176b62; }
.figma-draft__sales-period-metrics .is-info strong { color: #316a8b; }
.figma-draft__sales-period-metrics .is-warning strong { color: #9a5f00; }

.figma-console--figma-draft .figma-draft__panel--sales-period-trend {
  min-height: 352px;
  padding: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__panel--sales-period-trend .figma-draft__panel-head {
  min-height: 42px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.figma-console--figma-draft .figma-draft__panel--sales-period-trend .figma-draft__panel-head h2 { font-size: 14px; line-height: 20px; }
.figma-draft__sales-period-chart { position: relative; height: 230px; margin: 0; }

.figma-draft__sales-period-chart-grid {
  position: absolute;
  inset: 0 0 18px;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(33.333% - 1px), #d3dfda calc(33.333% - 1px), #d3dfda 33.333%);
  border-bottom: 1px solid #d3dfda;
}

.figma-draft__sales-period-chart-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, 1.25vw, 14px);
  padding: 8px 10px 18px;
}

.figma-draft__sales-period-chart-bars > span {
  position: relative;
  min-width: 8px;
  max-width: 38px;
  flex: 1;
  background: #d9eeea;
  border-radius: 6px 6px 0 0;
}

.figma-draft__sales-period-chart-bars > span.is-current { background: #176b62; }

.figma-draft__sales-period-chart-bars i {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  color: #6c7e77;
  font-size: 8px;
  font-style: normal;
  line-height: 12px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.figma-draft__sales-period-bucket-panel {
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-period-table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }

.figma-draft__sales-period-table {
  width: 100%;
  min-width: 740px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.figma-draft__sales-period-table th,
.figma-draft__sales-period-table td {
  height: 42px;
  padding: 0 10px;
  color: #455a53;
  border-bottom: 1px solid #e3ece8;
  font-size: 10px;
  line-height: 15px;
  text-align: left;
  vertical-align: middle;
}

.figma-draft__sales-period-table th { background: #eef3f0; font-weight: 800; }
.figma-draft__sales-period-table th:first-child { border-radius: 8px 0 0 8px; }
.figma-draft__sales-period-table th:last-child { border-radius: 0 8px 8px 0; }
.figma-draft__sales-period-table td.is-amount { color: #176b62; font-weight: 850; }
.figma-draft__sales-period-table td.is-adjustment { color: #9a5f00; }

@media (max-width: 1200px) {
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header { align-items: flex-end; }
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action { display: grid; gap: 8px; }
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__candidate-note,
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__button { min-width: 170px; }
  .figma-draft__sales-period-controls { grid-template-columns: minmax(250px, 1fr) auto minmax(145px, 165px) minmax(150px, 0.8fr); gap: 10px; }
  .figma-draft__sales-period-metrics { gap: 10px; }
}

@media (max-width: 900px) {
  .figma-draft__sales-period-controls { grid-template-columns: minmax(280px, 1fr) auto; }
  .figma-draft__sales-period-controls time { padding-top: 0; text-align: left; }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action { width: 100%; grid-template-columns: 1fr; }
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__candidate-note,
  .figma-console--figma-draft .figma-console__screen--sales-periods .figma-draft__header-action .figma-draft__button { width: 100%; }
  .figma-draft__sales-period-controls { grid-template-columns: 1fr; }
  .figma-draft__sales-period-buckets { padding-top: 0; }
  .figma-draft__sales-period-controls time { text-align: left; }
  .figma-draft__sales-period-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figma-draft__sales-period-chart-bars { gap: 3px; padding-inline: 2px; }
}

.figma-draft__policy-copy { padding: 11px 13px; color: #5f776f; background: #f2f7f4; border-radius: 6px; line-height: 1.6; }
.figma-draft__settlement-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.figma-draft__settlement-metrics strong { padding: 14px; color: #315e54; background: #f4f8f5; border-right: 1px solid #dfeae5; font-size: 11px; }
.figma-draft__settlement-metrics strong:last-child { border-right: 0; }
.figma-draft__tabs { display: flex; overflow-x: auto; gap: 0; margin: 0 0 16px; border-bottom: 1px solid #cbdad4; }
.figma-draft__tabs a { padding: 11px 16px; color: #7d918b; border-bottom: 2px solid transparent; font-size: 11px; font-weight: 800; white-space: nowrap; }
.figma-draft__tabs a.is-active { color: #0d776b; border-bottom-color: #0d776b; }

.figma-console__screen--settlements .figma-draft__header {
  padding-bottom: 20px;
}

.figma-draft__settlement-filter {
  display: grid;
  grid-template-columns: minmax(292px, 1.25fr) minmax(190px, 0.95fr) 145px 80px;
  gap: 10px;
  align-items: end;
  padding: 15px;
  margin-bottom: 14px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
}

.figma-draft__settlement-filter .figma-draft__field,
.figma-draft__settlement-date-range {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 0;
  margin: 0;
  color: var(--figma-draft-muted);
  border: 0;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__settlement-date-range legend {
  padding: 0;
}

.figma-draft__settlement-date-range > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #b4c7c0;
  border-radius: 6px;
}

.figma-draft__settlement-date-range > div > span {
  color: #81928c;
  text-align: center;
}

.figma-console--figma-draft .figma-draft__settlement-filter input,
.figma-console--figma-draft .figma-draft__settlement-filter select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 11px;
  color: var(--figma-draft-ink);
  background: #ffffff;
  border: 1px solid #b4c7c0;
  border-radius: 6px;
  outline: 0;
  font-size: 11px;
  font-weight: 650;
}

.figma-console--figma-draft .figma-draft__settlement-date-range input {
  border: 0;
}

.figma-console--figma-draft .figma-draft__settlement-filter input:focus,
.figma-console--figma-draft .figma-draft__settlement-filter select:focus,
.figma-draft__settlement-date-range:focus-within > div {
  border-color: var(--figma-draft-teal);
  box-shadow: 0 0 0 3px rgba(13, 119, 107, 0.12);
}

.figma-console--figma-draft .figma-draft__settlement-date-range input:focus {
  box-shadow: none;
}

.figma-draft__settlement-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 14px;
  color: #315e54;
  background: #f0f8d6;
  border: 1px solid #dce9b2;
  border-radius: 9px;
}

.figma-draft__settlement-policy h2 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-draft__settlement-policy p {
  margin: 6px 0 0;
  color: #5f776f;
  font-size: 11px;
  line-height: 1.55;
}

.figma-draft__settlement-policy > span {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-draft__settlement-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
}

.figma-draft__settlement-summary article {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-right: 1px solid #dfe9e5;
}

.figma-draft__settlement-summary article:last-child {
  border-right: 0;
}

.figma-draft__settlement-summary span,
.figma-draft__settlement-summary small {
  color: #768a84;
  font-size: 10px;
}

.figma-draft__settlement-summary strong {
  color: var(--figma-draft-ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-draft__settlement-summary .is-primary strong { color: #176b62; }
.figma-draft__settlement-summary .is-warning strong { color: #9a5f00; }
.figma-draft__settlement-summary .is-danger strong { color: #b04444; }
.figma-draft__settlement-summary .is-positive strong { color: #47711d; }

.figma-draft__settlement-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
}

.figma-draft__settlement-tabs > div {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
}

.figma-draft__settlement-tabs a {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  padding: 5px 11px;
  color: #71857f;
  background: #eef3f0;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-draft__settlement-tabs a.is-active {
  color: #ffffff;
  background: #176f64;
}

.figma-draft__settlement-tabs > span {
  flex: 0 0 auto;
  color: #71857f;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.figma-draft__panel--settlements {
  padding: 0;
  overflow: hidden;
}

.figma-draft__panel--settlements .figma-draft__panel-head {
  padding: 20px 22px 0;
}

.figma-draft__settlement-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.figma-draft__settlement-table {
  width: 100%;
  min-width: 1330px;
  border-collapse: collapse;
  color: #334d46;
  font-size: 10px;
}

.figma-draft__settlement-table th,
.figma-draft__settlement-table td {
  padding: 12px 13px;
  border-top: 1px solid #e0e9e5;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.figma-draft__settlement-table th {
  color: #657b74;
  background: #eef3f0;
  font-weight: 850;
}

.figma-draft__settlement-table td.is-amount {
  color: #176b62;
  font-weight: 850;
}

.figma-draft__settlement-table td.is-pending {
  color: #2e6685;
  font-weight: 750;
}

.figma-draft__settlement-table td.is-adjustment {
  color: #9a5f00;
  font-weight: 750;
}

.figma-draft__settlement-table .figma-draft__text-link {
  margin-top: 0;
}

.figma-draft__settlement-product,
.figma-draft__settlement-detail {
  display: flex;
  align-items: center;
  gap: 10px;
}

.figma-draft__settlement-product strong,
.figma-draft__settlement-product small {
  display: block;
}

.figma-draft__settlement-product strong {
  color: var(--figma-draft-ink);
  font-size: 11px;
}

.figma-draft__settlement-product small {
  margin-top: 4px;
  color: #80938c;
  font-size: 9px;
}

.figma-draft__settlement-image {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: #edf2ef;
  border-radius: 7px;
}

.figma-draft__settlement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__settlement-footnote {
  padding: 0 22px 17px;
  color: #7b8e88;
  font-size: 10px;
}

.figma-draft__panel--settlement-detail h3,
.figma-draft__panel--settlement-detail p {
  margin: 0;
}

.figma-draft__panel--settlement-detail h3 { font-size: 14px; }
.figma-draft__panel--settlement-detail p { margin-top: 5px; color: #627871; font-size: 10px; }
.figma-draft__panel--settlement-detail small { display: block; margin-top: 7px; color: #82938e; font-size: 9px; }
.figma-draft__settlement-reconciliation { margin: 0 2px; color: #7c8e88; font-size: 10px; }

@media (max-width: 1100px) {
  .figma-draft__settlement-filter {
    grid-template-columns: minmax(280px, 1.25fr) minmax(190px, 1fr) 145px 80px;
  }

  .figma-draft__settlement-summary strong {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .figma-draft__settlement-filter {
    grid-template-columns: minmax(280px, 1fr) minmax(190px, 1fr);
  }

  .figma-draft__settlement-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-draft__settlement-summary article:nth-child(2) { border-right: 0; }
  .figma-draft__settlement-summary article:nth-child(-n+2) { border-bottom: 1px solid #dfe9e5; }
}

@media (max-width: 767px) {
  .figma-draft__settlement-filter { grid-template-columns: 1fr; }
  .figma-draft__settlement-policy,
  .figma-draft__settlement-tabs { align-items: flex-start; flex-direction: column; }
  .figma-draft__settlement-tabs > div { width: 100%; }
  .figma-draft__settlement-summary { grid-template-columns: 1fr; }
  .figma-draft__settlement-summary article { border-right: 0; border-bottom: 1px solid #dfe9e5; }
  .figma-draft__settlement-summary article:last-child { border-bottom: 0; }
}

.figma-console__screen--tax-invoices .figma-draft__header {
  padding-bottom: 18px;
}

.figma-console__screen--tax-invoices .figma-draft__title-line {
  gap: 14px;
}

.figma-draft__invoice-filterbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 10px;
}

.figma-draft__invoice-filterchips {
  display: flex;
  min-width: 0;
  gap: 8px;
  overflow-x: auto;
}

.figma-draft__invoice-filterchips a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  color: #455a53;
  background: #eef3f0;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.figma-draft__invoice-filterchips a.is-primary { color: #176b62; background: #d9eeea; }
.figma-draft__invoice-filterchips a.is-info { color: #316a8b; background: #e2f0f7; }
.figma-draft__invoice-filterchips a.is-danger { color: #a63b38; background: #fde9e6; }
.figma-draft__invoice-filterchips a.is-active { border-color: currentColor; }

.figma-draft__invoice-filterbar > span {
  flex: 0 0 auto;
  color: #9a5f00;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.figma-draft__invoice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(270px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.figma-draft__invoice-register,
.figma-draft__invoice-detail {
  min-width: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 10px;
}

.figma-draft__invoice-register > header h2,
.figma-draft__invoice-detail > h2,
.figma-draft__invoice-detail > h3 {
  margin: 0;
  color: var(--figma-draft-ink);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.figma-draft__invoice-register > header h2,
.figma-draft__invoice-detail > h2 { font-size: 15px; }
.figma-draft__invoice-register > header p,
.figma-draft__invoice-detail > p {
  margin: 5px 0 0;
  color: #6c7e77;
  font-size: 10px;
}

.figma-draft__invoice-table-scroll {
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.figma-draft__invoice-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #455a53;
  font-size: 10px;
}

.figma-draft__invoice-table th,
.figma-draft__invoice-table td {
  height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid #e3ebe7;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.figma-draft__invoice-table th {
  height: 40px;
  color: #455a53;
  background: #eef3f0;
  font-weight: 850;
}

.figma-draft__invoice-table th:first-child { border-radius: 7px 0 0 7px; }
.figma-draft__invoice-table th:last-child { border-radius: 0 7px 7px 0; }
.figma-draft__invoice-table tbody tr:nth-child(even) { background: #fafcfb; }
.figma-draft__invoice-table tbody tr.is-selected { box-shadow: inset 3px 0 0 #176b62; }
.figma-draft__invoice-table td strong { color: var(--figma-draft-ink); font-size: 10px; }
.figma-draft__invoice-table .figma-draft__text-link { margin-top: 0; }

.figma-draft__invoice-contract {
  padding: 16px;
  margin-top: 18px;
  color: #455a53;
  background: #fff1cf;
  border-radius: 9px;
}

.figma-draft__invoice-contract strong {
  color: #9a5f00;
  font-size: 11px;
}

.figma-draft__invoice-contract p {
  margin: 10px 0 0;
  font-size: 10px;
  line-height: 1.7;
}

.figma-draft__invoice-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.figma-draft__invoice-detail-actions .figma-draft__readonly-badge {
  margin: 0;
  border-radius: 14px;
}

.figma-draft__invoice-detail-actions .figma-draft__button {
  min-width: 130px;
}

.figma-draft__invoice-product-image {
  display: grid;
  width: 100%;
  height: 138px;
  place-items: center;
  margin: 12px 0 12px;
  overflow: hidden;
  background: #d9eeea;
  border-radius: 9px;
}

.figma-draft__invoice-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__invoice-product-image.is-pending span {
  color: #6c7e77;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
}

.figma-draft__invoice-detail > h3 { font-size: 13px; }
.figma-draft__invoice-detail > small { display: block; margin-top: 5px; color: #7c8f88; font-size: 9px; }

.figma-draft__invoice-evidence {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
}

.figma-draft__invoice-evidence > div {
  display: grid;
  min-height: 60px;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 13px;
  background: #eef3f0;
  border-radius: 8px;
}

.figma-draft__invoice-evidence dt,
.figma-draft__invoice-evidence dd {
  padding: 0;
  margin: 0;
  font-size: 10px;
}

.figma-draft__invoice-evidence dt { color: #455a53; }
.figma-draft__invoice-evidence dd { color: var(--figma-draft-ink); font-weight: 850; line-height: 1.55; text-align: right; }
.figma-draft__invoice-evidence > div.is-reconciled { background: #d9eeea; }
.figma-draft__invoice-evidence > div.is-reconciled dd { color: #176b62; }

.figma-draft__invoice-no-command {
  padding: 7px 10px;
  margin-top: 14px !important;
  color: #9a5f00 !important;
  background: #fff1cf;
  border-radius: 6px;
  font-size: 9px !important;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 900px) {
  .figma-draft__invoice-layout { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .figma-draft__invoice-filterbar { align-items: flex-start; flex-direction: column; }
  .figma-draft__invoice-filterchips { width: 100%; }
  .figma-draft__invoice-filterbar > span { white-space: normal; text-align: left; }
}

.figma-draft__scope-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.figma-draft__scope-cards label { display: grid; grid-template-columns: 17px 1fr; column-gap: 7px; padding: 12px; background: #f7faf8; border: 1px solid var(--figma-draft-line); border-radius: 6px; }
.figma-draft__scope-cards input { grid-row: span 2; margin-top: 3px; accent-color: var(--figma-draft-teal); }
.figma-draft__scope-cards b { font-size: 11px; }
.figma-draft__scope-cards span { color: #7a9089; font-size: 10px; }
.figma-draft__protected-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; list-style: none; }
.figma-draft__protected-list li { display: grid; gap: 3px; padding: 11px; background: #fbf3f0; border: 1px solid #eed9d2; border-radius: 6px; }
.figma-draft__protected-list b { color: #8d5352; font-size: 10px; }
.figma-draft__protected-list span { color: #a17a78; font-size: 10px; }
.figma-draft__review-state { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px; margin-bottom: 14px; background: #fff8df; border: 1px solid #eedfae; border-radius: 7px; }
.figma-draft__review-state h2 { margin: 0; font-size: 13px; }
.figma-draft__review-state p { margin: 5px 0 0; color: #837b61; font-size: 10px; }

.figma-draft__permissions-layout { grid-template-columns: minmax(255px, 0.78fr) minmax(0, 1.8fr); }
.figma-draft__member-list { display: grid; gap: 4px; }
.figma-draft__member-list a { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 9px; border-radius: 6px; }
.figma-draft__member-list a.is-selected { background: #edf7d9; }
.figma-draft__avatar { display: grid; width: 31px; height: 31px; place-items: center; color: #286256; background: #dceda1; border-radius: 50%; font-size: 11px; font-weight: 900; }
.figma-draft__member-list b,
.figma-draft__member-list small { display: block; }
.figma-draft__member-list b { font-size: 11px; }
.figma-draft__member-list small { margin-top: 2px; color: #7c908a; font-size: 10px; }
.figma-draft__member-list i { color: #0d776b; font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }
.figma-draft__permission-table { min-width: 0; overflow-x: auto; margin-top: 14px; border: 1px solid var(--figma-draft-line); border-radius: 6px; }
.figma-draft__permission-head,
.figma-draft__permission-row { display: grid; grid-template-columns: 1.15fr 1.15fr repeat(4, 54px); gap: 7px; align-items: center; min-width: 520px; padding: 10px 11px; }
.figma-draft__permission-head { color: #79908a; background: #f6faf7; border-bottom: 1px solid var(--figma-draft-line); font-size: 9px; font-weight: 800; }
.figma-draft__permission-row { border-bottom: 1px solid #e5ede9; font-size: 10px; }
.figma-draft__permission-row:last-child { border-bottom: 0; }
.figma-draft__permission-row span { color: #668078; }
.figma-console--figma-draft .figma-draft__permission-row input[type="checkbox"] {
  appearance: auto;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  margin: 0;
  align-self: center;
  justify-self: center;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  accent-color: var(--figma-draft-teal);
  cursor: pointer;
}

.figma-console--figma-draft .figma-draft__permission-row input[type="checkbox"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.figma-draft__protected-box { display: grid; gap: 5px; padding: 14px; margin-top: 15px; background: #fbf3f0; border: 1px solid #eed9d2; border-radius: 6px; }
.figma-draft__protected-box b { color: #8d5352; font-size: 11px; }
.figma-draft__protected-box span,
.figma-draft__protected-box p { color: #9a7975; font-size: 10px; }
.figma-draft__protected-box p { margin: 4px 0 0; line-height: 1.7; }

.figma-draft__security-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid #e5ede9; }
.figma-draft__security-row:first-child { border-top: 0; }
.figma-draft__security-row b,
.figma-draft__security-row span { display: block; }
.figma-draft__security-row b { font-size: 12px; }
.figma-draft__security-row span { margin-top: 4px; color: #7d918b; font-size: 10px; }
.figma-draft__sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

@media (max-width: 1100px) {
  .figma-console--figma-draft .figma-console__main { padding-right: 28px; padding-left: 28px; }
  .figma-draft__form-layout,
  .figma-draft__permissions-layout,
  .figma-draft__two-column { grid-template-columns: 1fr; }
  .figma-draft__review-card { order: -1; }
  .figma-draft__permissions-layout .figma-draft__panel--detail { order: -1; }
  .figma-draft__sales-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figma-draft__period-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__topbar--draft { padding-right: 16px; padding-left: 16px; }
  .figma-console__topbar--draft .figma-console__breadcrumb strong:nth-of-type(-n+2) { display: none; }
  .figma-draft__top-actions { gap: 8px; }
  .figma-draft__notification { font-size: 0; }
  .figma-draft__notification::first-letter { font-size: 18px; }
  .figma-draft__notification b { min-width: 17px; height: 17px; margin-left: -8px; font-size: 9px; }
  .figma-draft__account-chip { grid-template-columns: 31px; }
  .figma-draft__account-chip strong,
  .figma-draft__account-chip small { display: none; }
  .figma-console--figma-draft .figma-console__main { padding: 25px 16px 48px; }
  .figma-draft__header { display: grid; min-height: 0; align-items: start; gap: 15px; padding-bottom: 19px; }
  .figma-draft__header-action { width: 100%; }
  .figma-draft__header-action .figma-draft__button { width: 100%; }
  .figma-draft__description { font-size: 12px; }
  .figma-draft__filter,
  .figma-draft__order-filter,
  .figma-draft__delivery-filter,
  .figma-draft__sales-controls { display: grid; align-items: stretch; grid-template-columns: 1fr; }
  .figma-draft__filter input,
  .figma-draft__order-filter > .figma-draft__date-range-field,
  .figma-draft__order-filter > label,
  .figma-draft__order-filter > label:nth-child(1),
  .figma-draft__order-filter > label:nth-child(3),
  .figma-draft__delivery-filter > label,
  .figma-draft__delivery-filter > label:nth-child(2),
  .figma-draft__delivery-filter > label:nth-child(3),
  .figma-draft__sales-controls label { width: 100%; }
  .figma-draft__order-filter > .figma-draft__date-range-field { flex-basis: auto; }
  .figma-draft__filter > .figma-draft__button:first-of-type,
  .figma-draft__sales-controls .figma-draft__button:last-child { margin-left: 0; }
  .figma-draft__filter-label { margin-left: 0; }
  .figma-draft__filter-label > span { flex-wrap: wrap; }
  .figma-draft__fields,
  .figma-draft__option-grid,
  .figma-draft__image-upload,
  .figma-draft__scope-cards,
  .figma-draft__protected-list,
  .figma-draft__campaign-lower { grid-template-columns: 1fr; }
  .figma-draft__option-delete { grid-column: auto; }
  .figma-draft__panel { padding: 17px 15px; }
  .figma-draft__panel-head { gap: 10px; }
  .figma-draft__panel-head h2 { font-size: 15px; }
  .figma-draft__table { min-width: 670px; }
  .figma-draft__table--wide { min-width: 1500px; }
  .figma-draft__sales-metrics,
  .figma-draft__settlement-metrics,
  .figma-draft__invoice-metrics,
  .figma-draft__delivery-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figma-draft__settlement-metrics strong { border-right: 0; border-bottom: 1px solid #dfeae5; }
  .figma-draft__period-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figma-draft__campaign-card,
  .figma-draft__claim-card { grid-template-columns: 50px minmax(0, 1fr); }
  .figma-draft__campaign-card .figma-draft__card-thumb,
  .figma-draft__claim-card .figma-draft__card-thumb { width: 50px; height: 50px; flex-basis: 50px; }
  .figma-draft__campaign-card > .figma-draft__text-link,
  .figma-draft__claim-card > div:last-child { grid-column: 2; justify-self: start; }
  .figma-draft__claim-card > div:last-child { display: flex; align-items: center; justify-items: start; }
  .figma-draft__work-card { grid-template-columns: 18px 50px minmax(0, 1fr); }
  .figma-draft__work-card > div:last-child { grid-column: 3; justify-items: start; }
  .figma-draft__order-meta { display: grid; gap: 6px; }
  .figma-draft__order-meta span:last-child { margin-left: 0; }
  .figma-draft__order-list-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .figma-draft__order-pagination,
  .figma-draft__order-list-footer > p { grid-column: 1; }
  .figma-draft__order-list-footer > p { text-align: center; }
  .figma-draft__asof { display: grid; gap: 5px; }
  .figma-draft__bar-chart { gap: 5px; }
  .figma-draft__version { float: none; margin-top: 0; }
  .figma-draft__review-state { align-items: stretch; flex-direction: column; }
  .figma-draft__review-state .figma-draft__button { width: 100%; }
  .figma-draft__bulk-bar { flex-wrap: wrap; }
  .figma-draft__bulk-bar label { width: 100%; margin-right: 0; }
}

.figma-draft__header-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.figma-draft__shipment-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.figma-draft__shipment-metrics article {
  padding: 15px 19px 14px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
  box-shadow: 0 6px 9px rgba(17, 48, 41, 0.05);
}

.figma-draft__shipment-metrics article span,
.figma-draft__shipment-metrics article small {
  display: block;
  color: #455a53;
  font-size: 11px;
}

.figma-draft__shipment-metrics article span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
}

.figma-draft__shipment-metrics article i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 3px;
}

.figma-draft__shipment-metrics article i.is-warning { background: #9a5f00; }
.figma-draft__shipment-metrics article i.is-positive { background: #176b62; }
.figma-draft__shipment-metrics article i.is-danger { background: #a63b38; }
.figma-draft__shipment-metrics article strong { display: block; margin: 7px 0 1px; color: var(--figma-draft-ink); font-size: 25px; letter-spacing: -0.05em; }
.figma-draft__shipment-metrics article small { color: #84938e; }
.figma-draft__shipment-metrics article:first-child small { color: #9a5f00; }
.figma-draft__shipment-metrics article:nth-child(2) small { color: #176b62; }
.figma-draft__shipment-metrics article:nth-child(3) small { color: #a63b38; }

.figma-draft__utility-filter {
  display: grid;
  grid-template-columns: 264px minmax(240px, 1fr) 180px 166px;
  gap: 20px;
  align-items: end;
  padding: 16px 19px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
  box-shadow: 0 6px 9px rgba(17, 48, 41, 0.05);
}

.figma-draft__utility-filter label {
  display: grid;
  gap: 6px;
  color: #6c7e77;
  font-size: 11px;
  font-weight: 800;
}

.figma-draft__date-range-field {
  display: grid;
  min-width: 0;
  padding: 0;
  margin: 0;
  gap: 6px;
  border: 0;
}

.figma-draft__date-range-field legend {
  padding: 0;
  color: #6c7e77;
  font-size: 11px;
  font-weight: 800;
}

.figma-draft__date-range {
  display: grid;
  height: 38px;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  color: #71847f;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.figma-draft__date-range:focus-within {
  border-color: var(--figma-draft-teal);
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__utility-filter input,
.figma-draft__utility-filter select {
  width: 100%;
  height: 38px;
  min-width: 0;
  padding: 8px 12px;
  color: #455a53;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  outline: 0;
  font-size: 12px;
  font-weight: 500;
}

.figma-draft__utility-filter .figma-draft__date-range input {
  height: 36px;
  min-height: 0;
  padding: 0 10px;
  line-height: 36px;
  text-align: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.figma-draft__utility-filter .figma-draft__date-range input::-webkit-datetime-edit {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.figma-draft__utility-filter .figma-draft__date-range input:focus {
  border-color: transparent;
  box-shadow: none;
}

.figma-draft__utility-filter input:focus,
.figma-draft__utility-filter select:focus { border-color: var(--figma-draft-teal); box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12); }
.figma-draft__panel--shipment-list { padding-bottom: 14px; }
.figma-draft__panel--shipment-list .figma-draft__panel-head { margin-bottom: 14px; }
.figma-draft__table--shipment { min-width: 1020px; }
.figma-draft__table--shipment th:nth-child(1) { width: 26%; }
.figma-draft__table--shipment th:nth-child(2) { width: 15%; }
.figma-draft__table--shipment th:nth-child(3) { width: 10%; }
.figma-draft__table--shipment th:nth-child(4) { width: 16%; }
.figma-draft__table--shipment th:nth-child(5) { width: 11%; }
.figma-draft__table--shipment th:nth-child(6) { width: 15%; }
.figma-draft__table--shipment th:nth-child(7) { width: 7%; }
.figma-draft__shipment-product { display: flex; align-items: center; gap: 11px; min-width: 0; }
.figma-draft__shipment-product .figma-draft__card-thumb { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 6px; }
.figma-draft__shipment-product strong,
.figma-draft__shipment-product small { display: block; }
.figma-draft__shipment-product strong { overflow-wrap: anywhere; }
.figma-draft__shipment-product small { margin-top: 4px; color: #84938e; font-size: 10px; font-weight: 500; }
.figma-console--figma-draft .figma-draft__table--shipment .figma-draft__shipment-action {
  min-height: 32px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 17px;
}
.figma-draft__shipment-detail {
  scroll-margin-top: 84px;
  border-left: 4px solid var(--figma-draft-teal);
  box-shadow: 0 8px 18px rgba(17, 48, 41, 0.08);
}
.figma-console--figma-draft .figma-draft__shipment-detail .figma-draft__panel-head .figma-draft__button {
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 12px;
}
.figma-draft__shipment-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}
.figma-draft__shipment-detail-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #f4f8f6;
  border-radius: 10px;
}
.figma-draft__shipment-detail-product .figma-draft__card-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}
.figma-draft__shipment-detail-product > div:last-child {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 6px;
}
.figma-draft__shipment-detail-product strong {
  color: var(--figma-draft-ink);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.figma-draft__shipment-detail-product span:not(.figma-draft__badge) {
  color: var(--figma-draft-muted);
  font-size: 11px;
}
.figma-draft__shipment-detail dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}
.figma-draft__shipment-detail dl > div {
  min-width: 0;
  padding: 14px;
  background: #f8faf9;
  border: 1px solid #e2ebe7;
  border-radius: 9px;
}
.figma-draft__shipment-detail dt {
  color: var(--figma-draft-muted);
  font-size: 10px;
  font-weight: 800;
}
.figma-draft__shipment-detail dd {
  margin: 8px 0 0;
  color: var(--figma-draft-ink);
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.figma-draft__shipment-timeline {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e2ebe7;
}
.figma-draft__shipment-timeline h3 {
  margin: 0 0 12px;
  color: var(--figma-draft-ink);
  font-size: 13px;
}
.figma-draft__shipment-timeline ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.figma-draft__shipment-timeline li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  background: #f8faf9;
  border-radius: 8px;
}
.figma-draft__shipment-timeline li > i {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  background: var(--figma-draft-teal);
  border-radius: 50%;
}
.figma-draft__shipment-timeline li strong,
.figma-draft__shipment-timeline li span,
.figma-draft__shipment-timeline li small {
  display: block;
}
.figma-draft__shipment-timeline li strong { color: var(--figma-draft-ink); font-size: 11px; }
.figma-draft__shipment-timeline li span { margin-top: 3px; color: var(--figma-draft-teal); font-size: 10px; font-weight: 800; }
.figma-draft__shipment-timeline li small { margin-top: 3px; color: var(--figma-draft-muted); font-size: 10px; }
.figma-draft__shipment-detail-form {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #e2ebe7;
}
.figma-draft__shipment-detail-form .figma-draft__fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.figma-draft__shipment-detail-form .figma-draft__form-actions {
  padding: 14px 0 0;
}
.figma-draft__shipment-alert {
  padding: 10px 12px;
  margin: 12px 0 0;
  color: #8a302e;
  background: #fff1ef;
  border: 1px solid #f4cfca;
  border-radius: 8px;
  font-size: 11px;
}
.figma-draft__shipment-rule {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 16px;
  padding: 7px 12px;
  margin: 2px auto 16px;
  color: var(--figma-draft-ink);
  background: #edf8c9;
  border: 1px solid var(--figma-draft-line);
  border-radius: 9px;
  box-shadow: 0 6px 9px rgba(17, 48, 41, 0.05);
  font-size: 11px;
}

.figma-draft__shipment-rule > strong { font-size: 12px; }
.figma-draft__shipment-rule > span,
.figma-draft__shipment-rule > b { padding-left: 16px; border-left: 1px solid #d3dfda; }
.figma-draft__shipment-rule > em { margin-left: auto; color: var(--figma-draft-teal); font-style: normal; font-weight: 800; }

@media (max-width: 1280px) {
  .figma-draft__utility-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .figma-draft__header-action { display: grid; width: 100%; }
  .figma-draft__header-action .figma-draft__button { width: 100%; }
  .figma-draft__shipment-metrics { grid-template-columns: 1fr; gap: 10px; }
  .figma-draft__utility-filter { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
  .figma-draft__shipment-detail-grid,
  .figma-draft__shipment-detail-form .figma-draft__fields { grid-template-columns: 1fr; }
  .figma-draft__shipment-detail dl { grid-template-columns: 1fr; }
  .figma-draft__shipment-rule { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
  .figma-draft__shipment-rule > span,
  .figma-draft__shipment-rule > b { padding-left: 12px; }
  .figma-draft__shipment-rule > em { width: 100%; margin-left: 0; }
}

/* Keep draft screens on the approved home screen's type and control scale. */
.figma-console--figma-draft .figma-draft__brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 36px;
}

.figma-console--figma-draft .figma-draft__role-chip {
  width: auto;
  height: 26px;
  padding: 4px 13px;
  background: #d9eeea;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.figma-console--figma-draft .figma-draft__account strong {
  font-size: 15px;
  font-weight: 800;
  line-height: 22.5px;
}

.figma-console--figma-draft .figma-draft__account small {
  height: auto;
  font-size: 11px;
  line-height: 16.5px;
}

.figma-console--figma-draft .figma-draft__home-link,
.figma-console--figma-draft .figma-draft__group-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.figma-console--figma-draft .figma-draft__home-link {
  width: 100%;
  height: auto;
  background: transparent;
}

.figma-console--figma-draft .figma-draft__home-link:hover {
  color: #ffffff;
  background: #0f766b;
}

.figma-console--figma-draft .figma-draft__home-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  background: #284b46;
  border-radius: 6px;
}

.figma-console--figma-draft .figma-draft__home-link > span:last-child {
  margin-left: 0;
}

.figma-console--figma-draft .figma-draft__group-row {
  width: 100%;
  height: auto;
}

.figma-console--figma-draft .figma-draft__menu-group.is-active .figma-draft__group-label {
  font-weight: 500;
}

.figma-console--figma-draft .figma-draft__group-number {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: #a8c2ba;
  background: #284b46;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.figma-console--figma-draft .figma-draft__menu-group.is-active .figma-draft__group-number {
  color: #176b62;
  background: #d9eeea;
}

.figma-console--figma-draft .figma-draft__submenu-link {
  font-size: 12px;
  line-height: 18px;
}

.figma-console--figma-draft .figma-console__topbar--draft {
  height: 68px;
  padding-right: 32px;
  padding-left: 32px;
}

.figma-console--figma-draft .figma-draft__top-actions {
  gap: 18px;
}

.figma-console--figma-draft .figma-console__breadcrumb {
  color: #455a53;
  font-size: 13px;
  line-height: 19.5px;
}

.figma-console--figma-draft .figma-console__breadcrumb strong {
  color: #455a53;
  font-weight: 500;
}

.figma-console--figma-draft .figma-console__breadcrumb strong:last-child {
  color: #142521;
}

.figma-console--figma-draft .figma-draft__notification {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: #176b62;
  background: #eef3f0;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.figma-console--figma-draft .figma-draft__account-chip {
  height: 40px;
  grid-template-columns: 40px 54px;
  grid-template-rows: 18px 16.5px;
  column-gap: 10px;
  align-content: center;
}

.figma-console--figma-draft .figma-draft__account-chip span {
  width: 40px;
  height: 40px;
  font-size: 14px;
  border: 1px solid #d7e89c;
}

.figma-console--figma-draft .figma-draft__account-chip small {
  font-size: 11px;
}

.figma-console--figma-draft .figma-draft__sidebar-bottom {
  margin-top: auto;
}

.figma-console--figma-draft .figma-draft__support-card {
  width: 216px;
  height: auto;
  min-height: 112px;
  padding: 13px 15px 14px;
  background: #193f3a;
  border-color: #2f5a54;
  border-radius: 12px;
}

.figma-console--figma-draft .figma-draft__support-card strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 19.5px;
}

.figma-console--figma-draft .figma-draft__support-card span {
  margin-top: 7px;
  color: #a9bfba;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.figma-console--figma-draft .figma-draft__support-card b {
  width: auto;
  min-width: 100px;
  height: 26px;
  padding: 4px 12px;
  margin: 9px 0 0 auto;
  background: #d9eeea;
  border-radius: 13px;
  font-size: 12px;
  line-height: 18px;
}

@media (min-width: 768px) {
  .figma-console--figma-draft .figma-console__main {
    padding: 35px 40px 40px;
  }
}

.figma-console--figma-draft .figma-draft__eyebrow {
  font-size: 13px;
  letter-spacing: 0;
}

.figma-console--figma-draft .figma-draft__header h1 {
  font-size: clamp(26px, 2.2vw, 31px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.35;
}

.figma-console--figma-draft .figma-draft__description {
  font-size: 14px;
  line-height: 21px;
}

.figma-console--figma-draft .figma-draft__button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.figma-console--figma-draft .figma-draft__button--secondary {
  color: #175a53;
  background: #ffffff;
  border-color: #9bb8af;
}

.figma-console--figma-draft .figma-draft__button--secondary:hover {
  border-color: var(--figma-draft-teal);
  background: #f0f8f4;
}

.figma-console--figma-draft .figma-draft__button--primary {
  color: #ffffff;
  background: #176b62;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.figma-console--figma-draft .figma-draft__button--primary:hover {
  background: #0f5b54;
}

.figma-console--figma-draft .figma-draft__badge {
  min-height: 26px;
  padding: 4px 12px;
  border-radius: 13px;
  font-size: 12px;
}

.figma-console--figma-draft .figma-draft__panel {
  padding: 19px;
  border-radius: 12px;
}

.figma-console--figma-draft .figma-draft__panel-head h2 {
  font-size: 20px;
  font-weight: 800;
  line-height: 30px;
}

.figma-console--figma-draft .figma-draft__panel-head p,
.figma-console--figma-draft .figma-draft__panel > p {
  font-size: 12px;
  line-height: 18px;
}

.figma-console--figma-draft .figma-draft__filter > label,
.figma-console--figma-draft .figma-draft__order-filter > label,
.figma-console--figma-draft .figma-draft__delivery-filter > label,
.figma-console--figma-draft .figma-draft__sales-controls > label {
  font-size: 12px;
}

.figma-console--figma-draft .figma-draft__filter input,
.figma-console--figma-draft .figma-draft__filter select,
.figma-console--figma-draft .figma-draft__order-filter input,
.figma-console--figma-draft .figma-draft__order-filter select,
.figma-console--figma-draft .figma-draft__delivery-filter input,
.figma-console--figma-draft .figma-draft__delivery-filter select,
.figma-console--figma-draft .figma-draft__sales-controls input {
  height: 42px;
  border-radius: 8px;
  font-size: 14px;
}

.figma-console--figma-draft .figma-draft__order-filter .figma-draft__date-range {
  height: 46px;
}

.figma-console--figma-draft .figma-draft__order-filter .figma-draft__date-range-field legend {
  font-size: 12px;
}

.figma-console--figma-draft .figma-draft__order-filter .figma-draft__date-range input {
  height: 44px;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.figma-console--figma-draft .figma-draft__order-filter .figma-draft__date-range input:focus {
  border-color: transparent;
  box-shadow: none;
}

.figma-console--figma-draft .figma-draft__table th,
.figma-console--figma-draft .figma-draft__table td {
  font-size: 12px;
}

.figma-console--figma-draft .figma-draft__table th {
  padding: 12px;
}

.figma-console--figma-draft .figma-draft__table td {
  padding: 16px 12px;
}

.figma-console--figma-draft .figma-draft__table td a {
  font-size: 12px;
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__topbar--draft {
    padding-right: 16px;
    padding-left: 16px;
  }

  .figma-console--figma-draft .figma-draft__notification {
    font-size: 0;
  }

  .figma-console--figma-draft .figma-draft__notification > span {
    font-size: 18px;
  }

  .figma-console--figma-draft .figma-console__main {
    padding: 26px 16px 48px;
  }

  .figma-console--figma-draft .figma-draft__panel {
    padding: 17px 15px;
  }

  .figma-console--figma-draft .figma-draft__panel-head h2 {
    font-size: 18px;
    line-height: 27px;
  }
}

/* Sup 3.2 · 주문(발주) 확인 — match the Figma queue geometry and hierarchy. */
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__eyebrow {
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm {
  position: relative;
  top: -6px;
  margin-bottom: -6px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header {
  min-height: 112px;
  padding-bottom: 25px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 44px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__description {
  margin-top: 0;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header-action {
  align-self: flex-start;
  margin-top: 18px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header-action .figma-draft__button {
  width: 150px;
  min-height: 42px;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__notice-banner {
  height: 74px;
  padding: 15px 17px;
  margin-bottom: 20px;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__notice-banner strong {
  font-size: 12px;
  line-height: 17px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__notice-banner p {
  margin-top: 5px;
  font-size: 10px;
  line-height: 15px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__orders-confirm-layout {
  grid-template-columns: minmax(0, 742px) minmax(0, 334px);
  gap: 20px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel--orders-confirm,
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary {
  border-radius: 14px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel--orders-confirm {
  height: 676px;
  padding: 19px;
  margin-bottom: 0;
  overflow: hidden;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel-head {
  margin-bottom: 17px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel-head h2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel-head p {
  font-size: 10px;
  line-height: 15px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar {
  height: 40px;
  gap: 8px;
  margin-bottom: 11px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar::-webkit-scrollbar {
  display: none;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > * {
  flex: 0 0 auto;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button {
  height: 34px;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(1) {
  width: 96px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(2) {
  width: 122px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(3) {
  width: 96px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(4) {
  width: 96px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button--primary {
  color: #ffffff;
  background: #176b62;
  border-color: #176b62;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button--secondary {
  color: #0d3e39;
  background: #ffffff;
  border-color: #176b62;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button--danger {
  color: #a63b38;
  background: #ffffff;
  border-color: #a63b38;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-list {
  gap: 18px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card {
  grid-template-columns: 16px minmax(0, 1fr) minmax(150px, 198px);
  gap: 18px;
  min-height: 132px;
  padding: 22px 17px;
  border-radius: 11px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card > input,
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar label input {
  appearance: none;
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #176b62;
  border-radius: 4px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card > input {
  margin-top: 10px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card > input:checked,
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar label input:checked {
  background: #176b62;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-copy {
  padding-left: 0;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions {
  margin-top: -4px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions .figma-draft__button {
  width: 150px;
  min-height: 42px;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary {
  height: 676px;
  padding: 19px;
  margin-bottom: 0;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary h2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary > p {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 15px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-kpis {
  gap: 14px;
  margin-top: 19px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-kpis > div {
  min-height: 64px;
  padding: 0 16px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-version {
  height: 122px;
  min-height: 0;
  margin-top: 32px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-version,
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-guide {
  padding: 20px 16px;
}

.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-version p,
.figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__summary-guide p {
  font-size: 10px;
  line-height: 15px;
}

@media (max-width: 1100px) {
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__orders-confirm-layout {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar {
    gap: 5px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > label {
    width: 100px;
    flex-basis: 100px;
    padding: 0 8px;
    gap: 5px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(1),
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(3),
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(4) {
    width: 86px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > .figma-draft__button:nth-of-type(2) {
    width: 110px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar > span {
    width: 70px;
    flex-basis: 70px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel--orders-confirm,
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary {
    height: auto;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary {
    min-height: 676px;
  }
}

@media (max-width: 900px) {
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header {
    display: grid;
    min-height: 0;
    align-items: start;
    gap: 15px;
    padding-bottom: 19px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header-action {
    width: 100%;
    margin-top: 0;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__bulk-bar {
    height: auto;
    min-height: 40px;
    align-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card {
    grid-template-columns: 16px minmax(0, 1fr);
    padding-bottom: 20px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions .figma-draft__button {
    width: auto;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header-action {
    width: 100%;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__header-action .figma-draft__button {
    width: 100%;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__panel--orders-confirm {
    padding: 17px 15px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-card {
    grid-template-columns: 16px minmax(0, 1fr);
    padding: 20px 10px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    gap: 8px;
    margin-top: 12px;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__work-actions .figma-draft__button {
    width: auto;
  }

  .figma-console--figma-draft .figma-console__screen--orders-confirm .figma-draft__side-summary {
    min-height: 0;
  }
}

.figma-console--home-reference .figma-console__sidebar {
  padding: 16px 16px 24px;
  color: #eff8f3;
  background: #123531;
}

.figma-console__home-reference-brand-row {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin: 0 8px 18px;
}

.figma-console__home-reference-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.figma-console__home-reference-account {
  padding: 0 8px 19px;
  border-bottom: 1px solid #284b46;
}

.figma-console__home-reference-role {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 4px 13px;
  color: #0d3e39;
  background: #d9eeea;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
}

.figma-console__home-reference-account strong,
.figma-console__home-reference-account small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__home-reference-account strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.figma-console__home-reference-account small {
  margin-top: 2px;
  color: #a9bfba;
  font-size: 11px;
}

.figma-console__home-reference-nav {
  display: grid;
  gap: 6px;
  margin-top: 17px;
}

.figma-console__home-reference-nav-link {
  display: grid;
  min-height: 42px;
  grid-template-columns: 20px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  color: #a9bfba;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}

.figma-console__home-reference-nav-link:hover,
.figma-console__home-reference-nav-link.is-active {
  color: #ffffff;
  background: #0f766b;
}

.figma-console__home-reference-nav-link > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__home-reference-nav-link > span:last-child {
  font-size: 16px;
  text-align: center;
}

.figma-console__home-reference-nav-icon {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: #a8c2ba;
  background: #284b46;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.figma-console__home-reference-nav-link.is-active .figma-console__home-reference-nav-icon {
  color: #176b62;
  background: #d9eeea;
}

.figma-console__home-reference-support {
  padding: 13px 15px 14px;
  margin-top: auto;
  color: #a9bfba;
  background: #193f3a;
  border: 1px solid #2f5a54;
  border-radius: 12px;
}

.figma-console__home-reference-support h2 {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.figma-console__home-reference-support p {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 18.6px;
}

.figma-console__home-reference-support button {
  display: block;
  min-width: 100px;
  min-height: 26px;
  padding: 4px 12px;
  margin: 9px 0 0 auto;
  color: #0d3e39;
  background: #d9eeea;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 600;
}

.figma-console__home-reference-support button:hover {
  background: #ffffff;
}

.figma-console--home-reference .figma-console__topbar {
  height: 68px;
  padding: 0 32px;
  background: #ffffff;
}

.figma-console--home-reference .figma-console__breadcrumb {
  color: #455a53;
  font-size: 13px;
}

.figma-console--home-reference .figma-console__breadcrumb strong {
  color: #455a53;
  font-weight: 500;
}

.figma-console--home-reference .figma-console__breadcrumb strong:last-child {
  color: #142521;
}

.figma-console__home-reference-notification {
  position: relative;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #176b62;
  background: #eef3f0;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.figma-console__home-reference-notification .figma-console__notification-icon,
.figma-console--figma-draft .figma-draft__notification .figma-console__notification-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.figma-console__home-reference-notification .figma-console__notification-count,
.figma-console--figma-draft .figma-draft__notification .figma-console__notification-count {
  position: absolute;
  top: -5px;
  right: -6px;
  display: grid;
  width: auto;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin: 0;
  overflow: visible;
  color: #ffffff;
  background: #a63b38;
  border: 2px solid #ffffff;
  border-radius: 10px;
  clip: auto;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.figma-console--figma-draft .figma-draft__notification {
  position: relative;
}

.figma-console__home-reference-notification:hover {
  background: #d9eeea;
}

.figma-console__home-reference-account-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: #142521;
  background: transparent;
  text-align: left;
}

.figma-console__home-reference-account-chip > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #1d573f;
  background: #dff0a4;
  border: 1px solid #d7e89c;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.figma-console__home-reference-account-chip > span:last-child {
  display: grid;
  min-width: 54px;
  gap: 0;
}

.figma-console__home-reference-account-chip strong {
  font-size: 12px;
  font-weight: 700;
}

.figma-console__home-reference-account-chip small {
  color: #6c7e77;
  font-size: 11px;
}

.figma-console--home-reference .figma-console__main {
  width: 100%;
  max-width: none;
  padding: 35px 40px 40px;
}

.figma-console__home-reference {
  min-width: 0;
}

.figma-console__home-reference-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}

.figma-console__home-reference-date {
  margin: 0 0 8px;
  color: #176b62;
  font-size: 13px;
  font-weight: 500;
}

.figma-console__home-reference-header h1 {
  margin: 0;
  color: #142521;
  font-size: clamp(26px, 2.2vw, 31px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.35;
}

.figma-console__home-reference-header p:last-child {
  margin: 3px 0 0;
  color: #455a53;
  font-size: 14px;
}

.figma-console--home-reference .figma-console__home-reference-primary {
  display: inline-flex;
  min-width: 164px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: #ffffff;
  background: #176b62;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.figma-console__home-reference-primary:hover {
  background: #0f5b54;
}

.figma-console__home-reference-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.figma-console__home-reference-metrics article {
  position: relative;
  min-width: 0;
  min-height: 116px;
  padding: 13px 19px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 12px;
  box-shadow: 0 6px 9px rgb(17 48 41 / 8%);
}

.figma-console__home-reference-tone {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  vertical-align: 1px;
  background: #176b62;
  border-radius: 4px;
}

.figma-console__home-reference-tone--warning {
  background: #9a5f00;
}

.figma-console__home-reference-tone--danger {
  background: #a63b38;
}

.figma-console__home-reference-metrics article p {
  display: inline;
  color: #455a53;
  font-size: 13px;
  font-weight: 500;
}

.figma-console__home-reference-metrics article strong {
  display: block;
  margin-top: 10px;
  color: #142521;
  font-size: clamp(24px, 2.2vw, 27px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.35;
}

.figma-console__home-reference-metrics article:last-child strong {
  font-size: clamp(19px, 1.8vw, 22px);
}

.figma-console__home-reference-metrics article small {
  display: block;
  margin-top: 4px;
  color: #176b62;
  font-size: 12px;
  font-weight: 500;
}

.figma-console__home-reference-metrics article:nth-child(2) small {
  color: #9a5f00;
}

.figma-console__home-reference-metrics article:nth-child(3) small {
  color: #a63b38;
}

.figma-console__home-reference-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.022fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: start;
}

.figma-console__home-reference-orders-panel,
.figma-console__home-reference-calendar,
.figma-console__home-reference-settlement {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 12px;
  box-shadow: 0 6px 9px rgb(17 48 41 / 8%);
}

.figma-console__home-reference-orders-panel {
  grid-row: 1 / span 2;
  padding: 19px;
}

.figma-console__home-reference-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.figma-console__home-reference-panel-heading h2 {
  margin: 0;
  color: #142521;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.figma-console__home-reference-panel-heading p {
  margin: 3px 0 0;
  color: #6c7e77;
  font-size: 12px;
}

.figma-console__home-reference-panel-heading > a {
  display: inline-flex;
  min-width: 152px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: #0d3e39;
  border: 1px solid #adbfba;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
}

.figma-console__home-reference-panel-heading > a:hover {
  border-color: #176b62;
  background: #eef3f0;
}

.figma-console__home-reference-orders {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  table-layout: fixed;
}

.figma-console__home-reference-orders caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.figma-console__home-reference-orders th {
  height: 42px;
  padding: 0 4px;
  color: #455a53;
  background: #eef3f0;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.figma-console__home-reference-orders th:first-child {
  padding-left: 4px;
  border-radius: 8px 0 0 8px;
}

.figma-console__home-reference-orders th:last-child {
  border-radius: 0 8px 8px 0;
}

.figma-console__home-reference-orders th:nth-child(1) { width: 39%; }
.figma-console__home-reference-orders th:nth-child(2) { width: 18%; }
.figma-console__home-reference-orders th:nth-child(3) { width: 9%; }
.figma-console__home-reference-orders th:nth-child(4) { width: 18%; }
.figma-console__home-reference-orders th:nth-child(5) { width: 16%; }

.figma-console__home-reference-orders td {
  height: 74px;
  padding: 9px 4px;
  color: #455a53;
  border-bottom: 1px solid #d3dfda;
  font-size: 12px;
  vertical-align: middle;
}

.figma-console__home-reference-orders tr:last-child td {
  border-bottom: 0;
}

.figma-console__home-reference-orders td > strong {
  color: #142521;
  font-size: 13px;
}

.figma-console__home-reference-orders td a {
  font-size: 12px;
}

.figma-console__home-reference-orders td a:hover {
  color: #176b62;
}

.figma-console__home-reference-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.figma-console__home-reference-product > span:last-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.figma-console__home-reference-product strong,
.figma-console__home-reference-product small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console__home-reference-product strong {
  color: #142521;
  font-size: 13px;
  font-weight: 800;
}

.figma-console__home-reference-product small {
  color: #6c7e77;
  font-size: 11px;
}

.figma-console__home-reference-thumb {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  overflow: hidden;
  background: #d9eeea;
  border: 1px solid #dce7e2;
  border-radius: 7px;
}

.figma-console__home-reference-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.figma-console__home-reference-status {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 13px;
  font-size: 12px;
  white-space: nowrap;
}

.figma-console__home-reference-status--waiting { color: #9a5f00; background: #fff0cf; }
.figma-console__home-reference-status--done { color: #0d3e39; background: #edf8c9; }
.figma-console__home-reference-status--transit { color: #336b91; background: #e2f1fa; }
.figma-console__home-reference-status--need { color: #a63b38; background: #fff0f0; }

.figma-console__home-reference-calendar {
  min-height: 388px;
  padding: 17px 19px;
}

.figma-console__home-reference-calendar .figma-console__home-reference-panel-heading h2 {
  font-size: 18px;
}

.figma-console__home-reference-calendar .figma-console__home-reference-panel-heading > span,
.figma-console__home-reference-settlement .figma-console__home-reference-panel-heading > span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  color: #0d3e39;
  background: #d9eeea;
  border-radius: 13px;
  font-size: 12px;
  white-space: nowrap;
}

.figma-console__home-reference-month {
  display: block;
  margin: 6px 0 12px;
  color: #176b62;
  font-size: 14px;
  text-align: center;
}

.figma-console__home-reference-weekdays,
.figma-console__home-reference-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  text-align: center;
}

.figma-console__home-reference-weekdays span {
  color: #6c7e77;
  font-size: 11px;
  font-weight: 800;
}

.figma-console__home-reference-weekdays span:nth-last-child(-n + 3) {
  color: #a63b38;
}

.figma-console__home-reference-days {
  margin-top: 8px;
}

.figma-console__home-reference-days span {
  display: grid;
  min-height: 30px;
  place-items: center;
  color: #455a53;
  border-radius: 8px;
  font-size: 11px;
}

.figma-console__home-reference-days span.is-start {
  color: #ffffff;
  background: #176b62;
  font-weight: 800;
}

.figma-console__home-reference-days span.is-range {
  color: #0d3e39;
  background: #d9eeea;
  font-weight: 700;
}

.figma-console__home-reference-calendar-note {
  padding-top: 10px;
  margin: 10px 0 0;
  color: #455a53;
  border-top: 1px solid #d3dfda;
  font-size: 11px;
  white-space: nowrap;
}

.figma-console__home-reference-calendar-note span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  vertical-align: 1px;
  background: #176b62;
  border-radius: 4px;
}

.figma-console__home-reference-settlement {
  position: relative;
  min-height: 156px;
  padding: 16px 23px;
  overflow: hidden;
}

.figma-console__home-reference-accent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: #cceb57;
}

.figma-console__home-reference-settlement .figma-console__home-reference-panel-heading h2 {
  font-size: 15px;
}

.figma-console__home-reference-settlement .figma-console__home-reference-panel-heading > span {
  color: #0d3e39;
  background: #edf8c9;
}

.figma-console__home-reference-settlement > strong {
  display: block;
  margin-top: 8px;
  color: #0d3e39;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.figma-console__home-reference-settlement > p {
  margin: 5px 0 0;
  color: #455a53;
  font-size: 12px;
  line-height: 18.6px;
}

.figma-console__home-reference-footnote {
  margin: 15px 0 0;
  color: #6c7e77;
  font-size: 11px;
}

@media (max-width: 1100px) {
  .figma-console__home-reference-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .figma-console__home-reference-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .figma-console__home-reference-primary {
    width: 100%;
  }

  .figma-console__home-reference-metrics {
    grid-template-columns: 1fr;
  }

  .figma-console__home-reference-layout {
    grid-template-columns: 1fr;
  }

  .figma-console__home-reference-orders-panel {
    grid-row: auto;
  }

  .figma-console__home-reference-orders,
  .figma-console__home-reference-orders tbody,
  .figma-console__home-reference-orders tr,
  .figma-console__home-reference-orders td {
    display: block;
    width: 100%;
  }

  .figma-console__home-reference-orders thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .figma-console__home-reference-orders tr {
    padding: 8px 0;
    border-bottom: 1px solid #d3dfda;
  }

  .figma-console__home-reference-orders tr:last-child {
    border-bottom: 0;
  }

  .figma-console__home-reference-orders td {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
    height: auto;
    min-height: 36px;
    padding: 5px 0;
    border-bottom: 0;
  }

  .figma-console__home-reference-orders td::before {
    color: #6c7e77;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
  }

  .figma-console__home-reference-orders td:first-child {
    display: block;
  }

  .figma-console__home-reference-orders td:first-child::before {
    display: none;
  }

  .figma-console__home-reference-calendar-note {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .figma-console--home-reference .figma-console__main {
    padding: 26px 16px 48px;
  }

  .figma-console__home-reference-account-chip > span:last-child {
    display: none;
  }
}

/* Product image upload: keep the primary photo prominent and its action compact. */
.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__panel--form {
  container: product-form-panel / inline-size;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-upload {
  grid-template-columns: minmax(250px, 1fr) minmax(190px, 240px);
  gap: 12px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-upload-control {
  align-items: flex-start;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-upload
  .figma-draft__product-image {
  width: 160px;
  height: 160px;
  flex-basis: 160px;
  border-radius: 10px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-requirements {
  width: min(100%, 240px);
  align-self: start;
  justify-self: end;
  padding: 10px 12px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-requirements ul {
  gap: 3px;
  margin-top: 6px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__image-requirements li {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 6px;
  line-height: 1.4;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__file-button {
  width: fit-content;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 18px;
}

@container product-form-panel (max-width: 460px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-upload {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-requirements {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-upload {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-requirements {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 480px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-upload
    .figma-draft__product-image {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }
}

/* Product registration review: mirrors the compact Figma summary card. */
.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card {
  width: 100%;
  max-width: 356px;
  justify-self: end;
  padding: 20px;
  overflow: hidden;
  color: #142521;
  background: #fff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  color: #176b62;
  background: #d9eeea;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card h2 {
  margin: 12px 0 2px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card > p {
  color: #6c7e77;
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-image {
  width: 100%;
  height: 174px;
  margin-top: 14px;
  overflow: hidden;
  background: #d9eeea;
  border-radius: 9px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-product {
  gap: 2px;
  padding: 0;
  margin: 12px 0 16px;
  border: 0;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-product strong {
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.02em;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-product span,
.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-product small {
  color: #455a53;
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card ul {
  gap: 8px;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card li {
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: #142521;
  background: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 650;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card li:nth-child(even) {
  background: #eef3f0;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card li b {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #176b62;
  background: #d9eeea;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-card li b.is-warning {
  color: #9a5f00;
  background: #fff1cf;
}

.figma-console--figma-draft
  .figma-console__screen--product-new
  .figma-draft__review-note {
  padding: 12px 14px;
  margin-top: 22px !important;
  color: #0d3e39 !important;
  background: #edf8c9;
  border: 0;
  border-radius: 10px;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__review-card {
    justify-self: end;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__form-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__review-card {
    order: 0;
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-upload {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__image-requirements {
    width: 100%;
    justify-self: stretch;
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__option-delete {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .figma-console--figma-draft
    .figma-console__screen--product-new
    .figma-draft__review-card {
    max-width: none;
  }
}

/* Active campaigns: Figma 27:199 — operations list with calendar and alert rail. */
.figma-draft__active-campaign-tabs {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 14px;
}

.figma-draft__active-campaign-tabs > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  color: #455a53;
  background: #eef3f0;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.figma-draft__active-campaign-tabs > span.is-active {
  color: #176b62;
  background: #d9eeea;
}

.figma-draft__active-campaign-tabs > span.is-info {
  color: #39718a;
  background: #e8f3f8;
}

.figma-draft__active-campaign-tabs time {
  margin-left: auto;
  color: #71847f;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.figma-draft__active-campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(0, 376px);
  align-items: start;
  gap: 20px;
}

.figma-draft__active-campaign-panel,
.figma-draft__active-calendar-panel {
  min-width: 0;
  padding: 20px;
  margin: 0;
  border-radius: 12px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-active
  .figma-draft__panel-head {
  margin-bottom: 16px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-active
  .figma-draft__panel-head h2 {
  font-size: 18px;
  line-height: 27px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-active
  .figma-draft__panel-head p {
  margin-top: 2px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__active-campaign-list {
  display: grid;
  gap: 16px;
}

.figma-draft__active-campaign-card {
  display: grid;
  min-height: 158px;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.figma-draft__active-campaign-card:hover {
  border-color: #79b1a4;
}

.figma-draft__active-campaign-card:focus-visible {
  outline: 2px solid #0d776b;
  outline-offset: 2px;
}

.figma-draft__active-campaign-card.is-selected {
  background: #d9eeea;
  border-color: #b9d9d1;
  box-shadow: inset 3px 0 #0d776b;
}

.figma-draft__active-campaign-image {
  width: 94px;
  height: 106px;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 9px;
}

.figma-draft__active-campaign-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__active-campaign-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.figma-draft__active-campaign-kicker {
  color: #b14942;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
}

.figma-draft__active-campaign-copy > strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-draft__active-campaign-copy small {
  color: #71847f;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__active-campaign-copy b {
  color: #315e54;
  font-size: 11px;
  line-height: 17px;
}

.figma-draft__active-campaign-action {
  display: grid;
  align-self: stretch;
  justify-items: end;
  align-content: space-between;
  padding: 3px 0;
}

.figma-draft__active-campaign-action em {
  color: var(--figma-draft-teal);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.figma-draft__active-campaign-rail {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.figma-draft__active-calendar-panel .figma-draft__calendar {
  padding: 0;
  border: 0;
  border-radius: 0;
}

.figma-draft__active-calendar-panel .figma-draft__calendar-head {
  margin-bottom: 12px;
}

.figma-draft__active-calendar-panel .figma-draft__calendar-head strong {
  font-size: 15px;
  line-height: 22px;
}

.figma-draft__active-calendar-panel .figma-draft__calendar-head span,
.figma-draft__active-calendar-scope {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  color: #60756f;
  background: #eef3f0;
  border-radius: 13px;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__active-calendar-panel .figma-draft__weekdays,
.figma-draft__active-calendar-panel .figma-draft__days {
  gap: 3px;
}

.figma-draft__active-calendar-panel .figma-draft__days span {
  min-height: 30px;
  font-size: 10px;
}

.figma-draft__active-calendar-panel .figma-draft__calendar > p {
  display: none;
}

.figma-draft__active-period-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 12px;
  margin-top: 15px;
  color: #455a53;
  background: #f5f8f6;
  border-radius: 8px;
  font-size: 10px;
}

.figma-draft__active-period-summary b {
  color: #176b62;
}

.figma-draft__active-period-summary i {
  color: #96a6a1;
  font-style: normal;
}

.figma-draft__active-calendar-note {
  margin: 11px 0 0;
  color: #71847f;
  font-size: 9px;
  line-height: 14px;
}

.figma-draft__active-calendar-empty {
  display: grid;
  min-height: 238px;
  place-content: center;
  padding: 24px;
  color: #455a53;
  background: #f5f8f6;
  border-radius: 9px;
  text-align: center;
}

.figma-draft__active-calendar-empty strong {
  font-size: 15px;
}

.figma-draft__active-calendar-empty p {
  max-width: 240px;
  margin: 8px 0 0;
  color: #71847f;
  font-size: 10px;
  line-height: 16px;
}

.figma-draft__active-operation-points {
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 12px;
}

.figma-draft__active-operation-points h2 {
  margin: 0;
  font-size: 18px;
  line-height: 27px;
}

.figma-draft__active-operation-points > p {
  margin: 2px 0 15px;
  color: #71847f;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__active-operation-points > div {
  display: grid;
  gap: 8px;
}

.figma-draft__active-operation-points > div > span {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 11px;
}

.figma-draft__active-operation-points > div > span.is-danger {
  color: #a44743;
  background: #fff0ef;
}

.figma-draft__active-operation-points > div > span.is-warning {
  color: #9a650d;
  background: #fff6df;
}

.figma-draft__active-operation-points > div > span.is-positive {
  color: #176b62;
  background: #e8f4f1;
}

.figma-draft__active-operation-points b,
.figma-draft__active-operation-points strong {
  font-size: 11px;
}

@media (max-width: 1280px) {
  .figma-draft__active-campaign-layout {
    grid-template-columns: 1fr;
  }

  .figma-draft__active-campaign-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .figma-draft__active-campaign-tabs {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .figma-draft__active-campaign-tabs time {
    width: 100%;
    margin: 5px 0 0;
  }

  .figma-draft__active-campaign-rail {
    grid-template-columns: 1fr;
  }

  .figma-draft__active-campaign-card {
    min-height: 0;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }

  .figma-draft__active-campaign-image {
    width: 72px;
    height: 80px;
  }

  .figma-draft__active-campaign-action {
    grid-column: 2;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .figma-draft__active-campaign-copy > strong {
    white-space: normal;
  }
}

/* Campaign registration: one Figma-sized form card with a responsive review rail. */
.figma-draft__campaign-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(356px, 1fr);
  align-items: stretch;
  gap: 20px;
}

.figma-draft__campaign-form-layout > * {
  min-width: 0;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-form-card {
  height: 100%;
  padding: 20px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
}

.figma-draft__campaign-section {
  padding: 20px 0;
  border-top: 1px solid #e5ede9;
}

.figma-draft__campaign-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.figma-draft__campaign-section .figma-draft__panel-head {
  margin-bottom: 14px;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-section
  .figma-draft__panel-head h2 {
  font-size: 18px;
  line-height: 27px;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-section
  .figma-draft__panel-head p {
  margin-top: 2px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__campaign-product-picker {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.figma-draft__campaign-product-image {
  width: 104px;
  height: 96px;
  overflow: hidden;
  background: #eef3f0;
  border: 1px solid #d3dfda;
  border-radius: 9px;
}

.figma-draft__campaign-product-image img,
.figma-draft__campaign-review-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__campaign-product-picker > div:last-child {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.figma-draft__campaign-product-picker small {
  color: #71847f;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__campaign-terms {
  display: grid;
  gap: 4px;
  padding: 11px 13px;
  margin-top: 12px;
  color: #455a53;
  background: #f5f8f6;
  border-radius: 8px;
}

.figma-draft__campaign-terms span {
  color: #71847f;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__campaign-terms strong {
  font-size: 10px;
  font-weight: 650;
  line-height: 15px;
}

.figma-draft__campaign-type {
  padding: 0;
  margin: 0 0 13px;
  border: 0;
}

.figma-draft__campaign-type legend {
  margin-bottom: 6px;
  color: #71847f;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__campaign-type > div {
  display: flex;
  gap: 7px;
}

.figma-draft__campaign-type label {
  position: relative;
  cursor: pointer;
}

.figma-draft__campaign-type label span {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  color: #455a53;
  background: #eef3f0;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 800;
}

.figma-draft__campaign-type input:checked + span {
  color: #176b62;
  background: #d9eeea;
}

.figma-draft__campaign-type input:focus-visible + span {
  outline: 2px solid #176b62;
  outline-offset: 2px;
}

.figma-draft__campaign-condition-fields,
.figma-draft__campaign-schedule-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.figma-draft__campaign-options {
  display: grid;
  gap: 8px;
}

.figma-draft__campaign-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(110px, 0.9fr) minmax(120px, 0.75fr);
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #f5f8f6;
  border-radius: 8px;
}

.figma-draft__campaign-option-name {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.figma-draft__campaign-option-name strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-draft__campaign-option-name span,
.figma-draft__campaign-option-price {
  color: #60756f;
  font-size: 10px;
}

.figma-draft__campaign-option-price {
  white-space: nowrap;
}

.figma-draft__campaign-option-row .figma-draft__field {
  gap: 3px;
}

.figma-draft__campaign-option-row .figma-draft__field input {
  height: 34px;
}

.figma-draft__campaign-form-actions {
  padding: 16px 0 0;
  border-top: 1px solid #e5ede9;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-review {
  width: 100%;
  min-width: 0;
  max-width: 356px;
  height: 100%;
  justify-self: end;
  padding: 20px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 12px;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-review
  .figma-draft__review-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 11px;
  color: #176b62;
  background: #d9eeea;
  border-radius: 14px;
  font-size: 11px;
  letter-spacing: 0;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-review h2 {
  margin: 13px 0 2px;
  font-size: 18px;
  line-height: 27px;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__campaign-review > p {
  color: #71847f;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__campaign-review-image {
  width: 100%;
  height: 150px;
  margin-top: 14px;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 9px;
}

.figma-draft__campaign-review-product {
  display: grid;
  gap: 3px;
  margin: 12px 0 15px;
}

.figma-draft__campaign-review-product strong {
  font-size: 15px;
  line-height: 22px;
}

.figma-draft__campaign-review-product span {
  color: #455a53;
  font-size: 10px;
  line-height: 15px;
}

.figma-console--figma-draft
  .figma-console__screen--campaign-new
  .figma-draft__calendar {
  padding: 16px;
}

@media (max-width: 1280px) {
  .figma-draft__campaign-form-layout {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft
    .figma-console__screen--campaign-new
    .figma-draft__campaign-review {
    order: 0;
    max-width: none;
    height: auto;
    justify-self: stretch;
  }

  .figma-draft__campaign-review-image {
    max-width: 420px;
  }
}

@media (max-width: 767px) {
  .figma-draft__campaign-product-picker,
  .figma-draft__campaign-condition-fields,
  .figma-draft__campaign-schedule-fields,
  .figma-draft__campaign-option-row {
    grid-template-columns: 1fr;
  }

  .figma-draft__campaign-product-image {
    width: 88px;
    height: 82px;
  }

  .figma-draft__campaign-option-price {
    white-space: normal;
  }

  .figma-draft__campaign-review-image {
    max-width: none;
  }
}

/* Ended campaigns: Figma 27:394 — read-only history and preserved snapshot. */
.figma-draft__ended-campaign-filter {
  display: flex;
  height: 70px;
  min-height: 70px;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  margin-bottom: 20px;
  background: #ffffff;
  border: 1px solid var(--figma-draft-line);
  border-radius: 14px;
}

.figma-draft__ended-filter-search {
  display: grid;
  width: 360px;
  flex: 0 0 360px;
  gap: 2px;
  color: #455a53;
  font-size: 10px;
  font-weight: 700;
}

.figma-draft__ended-filter-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 500;
}

.figma-draft__ended-filter-search input:focus {
  border-color: #0f766b;
  outline: 2px solid rgba(15, 118, 107, 0.14);
  outline-offset: 1px;
}

.figma-draft__ended-campaign-filter > input[type="hidden"] {
  display: none;
}

.figma-draft__ended-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}

.figma-draft__ended-filter-chips a {
  display: inline-flex;
  min-width: 86px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  color: #455a53;
  background: #eef3f0;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.figma-draft__ended-filter-chips a:first-child {
  min-width: 96px;
  color: #176b62;
  background: #d9eeea;
}

.figma-draft__ended-filter-chips a.is-warning {
  min-width: 96px;
  color: #9a5f00;
  background: #fff1cf;
}

.figma-draft__ended-filter-chips a.is-active {
  border-color: currentColor;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.figma-draft__ended-filter-chips a:focus-visible {
  outline: 2px solid #0f766b;
  outline-offset: 2px;
}

.figma-draft__ended-campaign-filter time {
  margin-left: auto;
  color: #6c7e77;
  font-size: 10px;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.figma-draft__ended-campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 724px) minmax(0, 352px);
  align-items: stretch;
  gap: 20px;
}

.figma-draft__ended-campaign-panel,
.figma-draft__ended-campaign-detail {
  min-width: 0;
  min-height: 680px;
  padding: 19px;
  margin: 0;
  border-radius: 14px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-ended
  .figma-draft__panel-head {
  margin-bottom: 18px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-ended
  .figma-draft__panel-head h2 {
  font-size: 14px;
  line-height: 20px;
}

.figma-console--figma-draft
  .figma-console__screen--campaigns-ended
  .figma-draft__panel-head p {
  margin-top: 2px;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__ended-campaign-list {
  display: grid;
  gap: 14px;
}

.figma-draft__ended-campaign-card {
  display: grid;
  min-height: 118px;
  grid-template-columns: 74px minmax(0, 1fr) 160px 112px;
  align-items: center;
  gap: 16px;
  padding: 14px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.figma-draft__ended-campaign-card.is-muted {
  background: #eef3f0;
}

.figma-draft__ended-campaign-card:hover {
  border-color: #79b1a4;
}

.figma-draft__ended-campaign-card:focus-visible {
  outline: 2px solid #0f766b;
  outline-offset: 2px;
}

.figma-draft__ended-campaign-card.is-selected {
  border-color: #79b1a4;
  box-shadow: inset 3px 0 #0f766b;
}

.figma-draft__ended-campaign-image {
  width: 74px;
  height: 82px;
  overflow: hidden;
  background: #d9eeea;
  border-radius: 9px;
}

.figma-draft__ended-campaign-image img,
.figma-draft__ended-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__ended-campaign-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.figma-draft__ended-campaign-copy strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-draft__ended-campaign-copy small {
  color: #6c7e77;
  font-size: 9px;
  line-height: 13px;
}

.figma-draft__ended-campaign-copy > span {
  color: #455a53;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__ended-campaign-quantity {
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__ended-campaign-action {
  display: grid;
  align-self: stretch;
  justify-items: end;
  align-content: space-between;
  padding: 3px 0;
}

.figma-draft__ended-campaign-action em {
  color: var(--figma-draft-teal);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  white-space: nowrap;
}

.figma-draft__ended-campaign-empty {
  display: grid;
  min-height: 230px;
  place-items: center;
  margin: 0;
  color: #71847f;
  font-size: 11px;
}

.figma-draft__ended-campaign-detail > .figma-draft__readonly-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 13px;
  margin-bottom: 12px;
  color: #455a53;
  background: #eef3f0;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

.figma-draft__ended-campaign-detail > h2 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.figma-draft__ended-detail-meta {
  margin: 2px 0 14px;
  color: #6c7e77;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__ended-detail-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: #d9eeea;
  border-radius: 9px;
}

.figma-draft__ended-detail-snapshot {
  margin: 17px 0 14px;
}

.figma-draft__ended-detail-snapshot h3 {
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 17px;
}

.figma-draft__ended-detail-snapshot p,
.figma-draft__ended-detail-box p {
  margin: 0;
  color: #455a53;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__ended-detail-box {
  min-height: 108px;
  padding: 14px;
  margin-top: 14px;
  background: #eef3f0;
  border-radius: 10px;
}

.figma-draft__ended-detail-box--range {
  min-height: 116px;
  color: #0d3e39;
  background: #d9eeea;
}

.figma-draft__ended-detail-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 11px;
  line-height: 16px;
}

@media (max-width: 1280px) {
  .figma-draft__ended-campaign-filter {
    height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .figma-draft__ended-campaign-filter time {
    width: 100%;
    margin: 6px 0 0;
    text-align: left;
  }

  .figma-draft__ended-campaign-layout {
    grid-template-columns: 1fr;
  }

  .figma-draft__ended-campaign-panel,
  .figma-draft__ended-campaign-detail {
    min-height: 0;
  }

  .figma-draft__ended-campaign-detail {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 0 20px;
  }

  .figma-draft__ended-campaign-detail > .figma-draft__readonly-badge,
  .figma-draft__ended-campaign-detail > h2,
  .figma-draft__ended-detail-meta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .figma-draft__ended-detail-image {
    grid-row: span 3;
    height: 220px;
  }

  .figma-draft__ended-detail-snapshot,
  .figma-draft__ended-detail-box {
    margin-top: 0;
  }

  .figma-draft__ended-detail-box + .figma-draft__ended-detail-box {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  .figma-draft__ended-filter-search {
    width: min(360px, 100%);
    flex-basis: min(360px, 100%);
  }

  .figma-draft__ended-filter-chips {
    margin: 13px 0 0;
  }

}

@media (max-width: 767px) {
  .figma-draft__ended-filter-chips {
    flex-wrap: wrap;
  }

  .figma-draft__ended-campaign-card {
    min-height: 0;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
  }

  .figma-draft__ended-campaign-image {
    width: 64px;
    height: 72px;
  }

  .figma-draft__ended-campaign-quantity,
  .figma-draft__ended-campaign-action {
    grid-column: 2;
  }

  .figma-draft__ended-campaign-action {
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .figma-draft__ended-campaign-copy strong {
    white-space: normal;
  }

  .figma-draft__ended-campaign-detail {
    display: block;
  }

  .figma-draft__ended-detail-image {
    height: 180px;
  }

  .figma-draft__ended-detail-snapshot,
  .figma-draft__ended-detail-box {
    margin-top: 14px;
  }
}

/* SUP 3.4 · 취소/반품/교환 내역 — Figma frame 28:475 plus requested filters. */
.figma-console--figma-draft .figma-console__screen--claims .figma-draft__header {
  min-height: 128px;
  align-items: center;
  padding-bottom: 24px;
}

.figma-console--figma-draft .figma-console__screen--claims .figma-draft__eyebrow {
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft .figma-console__screen--claims .figma-draft__title-line {
  gap: 14px;
}

.figma-draft__claim-filter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 158px 158px auto;
  gap: 12px;
  align-items: end;
  padding: 16px 18px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 12px;
}

.figma-draft__claim-filter .figma-draft__field {
  gap: 6px;
}

.figma-draft__claim-filter .figma-draft__field > span {
  color: #6c7e77;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.figma-console--figma-draft .figma-draft__claim-filter input,
.figma-console--figma-draft .figma-draft__claim-filter select {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 13px;
  color: #143e39;
  background: #ffffff;
  border: 1px solid #a8bdb6;
  border-radius: 8px;
  outline: 0;
  font-size: 13px;
}

.figma-console--figma-draft .figma-draft__claim-filter input:focus,
.figma-console--figma-draft .figma-draft__claim-filter select:focus {
  border-color: #176b62;
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__claim-filter > .figma-draft__button {
  min-width: 92px;
}

.figma-draft__claims-layout {
  display: grid;
  grid-template-columns: 700px minmax(0, 376px);
  gap: 20px;
  align-items: start;
}

.figma-console--figma-draft .figma-draft__panel--claims {
  min-height: 770px;
  padding: 24px;
  margin: 0;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__panel--claims .figma-draft__panel-head {
  margin-bottom: 20px;
}

.figma-draft__claim-metrics {
  gap: 0;
  padding: 14px 0;
  margin: 0 0 12px;
}

.figma-draft__claim-metrics strong {
  padding: 0 18px;
  font-size: 12px;
  line-height: 18px;
}

.figma-draft__claim-metrics strong:first-child {
  padding-left: 0;
}

.figma-draft__claim-list {
  max-height: 558px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
  scrollbar-gutter: stable;
}

.figma-console--figma-draft .figma-draft__claim-card {
  min-height: 128px;
  grid-template-columns: 76px minmax(0, 1fr) 138px;
  gap: 16px;
  padding: 20px 18px;
  background: #ffffff;
  border-color: #d3dfda;
  border-radius: 12px;
}

.figma-console--figma-draft .figma-draft__claim-card + .figma-draft__claim-card {
  margin-top: 10px;
}

.figma-console--figma-draft .figma-draft__claim-card.is-selected {
  background: #fff1ef;
  border-color: #e4bbb7;
  box-shadow: inset 3px 0 0 #b34a50;
}

.figma-console--figma-draft .figma-draft__claim-card .figma-draft__card-thumb {
  width: 76px;
  height: 86px;
  flex-basis: 76px;
  border-radius: 9px;
}

.figma-draft__claim-copy {
  min-width: 0;
}

.figma-draft__claim-copy .figma-draft__badge {
  min-height: 22px;
  padding: 3px 9px;
  font-size: 11px;
}

.figma-console--figma-draft .figma-draft__claim-card h3 {
  margin: 7px 0 4px;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-console--figma-draft .figma-draft__claim-card p,
.figma-console--figma-draft .figma-draft__claim-card small {
  display: block;
  color: #6c7e77;
  font-size: 11px;
  line-height: 17px;
}

.figma-draft__claim-actions {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  text-align: right;
}

.figma-draft__claim-actions .figma-draft__badge {
  margin-bottom: 3px;
}

.figma-draft__claim-actions .figma-draft__text-link {
  margin: 0;
  font-size: 11px;
  line-height: 17px;
}

.figma-draft__empty-state {
  display: grid;
  min-height: 180px;
  place-content: center;
  padding: 24px;
  color: #6c7e77;
  background: #f7faf8;
  border: 1px dashed #bdcec8;
  border-radius: 10px;
  text-align: center;
}

.figma-draft__empty-state strong {
  color: #143e39;
  font-size: 14px;
}

.figma-draft__empty-state p {
  margin: 7px 0 0;
  font-size: 11px;
}

.figma-console--figma-draft .figma-draft__claim-detail {
  min-height: 770px;
  padding: 24px;
  margin: 0;
  color: #142521;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__claim-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.figma-draft__claim-detail-head > p {
  color: #6c7e77;
  font-size: 11px;
  font-weight: 700;
}

.figma-console--figma-draft .figma-draft__claim-detail h2 {
  margin: 14px 0 16px;
  color: #143e39;
  font-size: 20px;
  line-height: 30px;
}

.figma-draft__claim-detail-image {
  display: grid;
  width: 100%;
  height: 204px;
  overflow: hidden;
  place-items: center;
  background: #eef3f0;
  border-radius: 10px;
}

.figma-draft__claim-detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-console--figma-draft .figma-draft__claim-detail h3 {
  margin: 16px 0 3px;
  color: #143e39;
  font-size: 15px;
  line-height: 22px;
}

.figma-console--figma-draft .figma-draft__claim-detail > p {
  color: #6c7e77;
  font-size: 11px;
  line-height: 17px;
}

.figma-draft__claim-order-link {
  width: 100%;
  margin-top: 12px;
}

.figma-draft__claim-detail-block {
  padding: 14px 0;
  border-top: 1px solid #e1eae6;
}

.figma-draft__claim-detail-block:first-of-type {
  margin-top: 18px;
}

.figma-console--figma-draft .figma-draft__claim-detail-block h4 {
  margin: 0 0 6px;
  color: #455a53;
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft .figma-draft__claim-detail-block p {
  margin: 0;
  color: #6c7e77;
  font-size: 11px;
  line-height: 17px;
}

.figma-console--figma-draft .figma-draft__claim-boundary {
  padding: 13px 14px;
  margin-top: 4px;
  color: #315e54;
  background: #eff7e1;
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 1230px) {
  .figma-draft__claims-layout {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft .figma-draft__claim-detail {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .figma-draft__claim-filter {
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(132px, 0.45fr));
  }

  .figma-draft__claim-filter > .figma-draft__button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--claims .figma-draft__header {
    min-height: 0;
  }

  .figma-draft__claim-filter {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .figma-draft__claim-filter > .figma-draft__button {
    grid-column: auto;
  }

  .figma-console--figma-draft .figma-draft__panel--claims,
  .figma-console--figma-draft .figma-draft__claim-detail {
    padding: 16px;
  }

  .figma-console--figma-draft .figma-draft__claim-card {
    min-height: 0;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .figma-console--figma-draft .figma-draft__claim-card .figma-draft__card-thumb {
    width: 64px;
    height: 72px;
    flex-basis: 64px;
  }

  .figma-draft__claim-actions {
    grid-column: 2;
    align-items: flex-start;
    justify-self: start;
    flex-flow: row wrap;
    text-align: left;
  }

  .figma-draft__claim-detail-image {
    height: 180px;
  }
}

/* SUP 3.5 · 구매 확정 내역 — Figma frame 28:608. */
.figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__header {
  position: relative;
  min-height: 141px;
  align-items: center;
  padding-bottom: 18px;
}

.figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__eyebrow {
  font-size: 11px;
  line-height: 16px;
}

.figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__header h1 {
  font-size: 30px;
  line-height: 44px;
}

.figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__description {
  margin-top: 2px;
  font-size: 13px;
  line-height: 19px;
}

.figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__candidate-note {
  min-width: 174px;
  min-height: 28px;
  justify-content: center;
  padding: 5px 12px;
  border: 0;
  border-radius: 14px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__purchase-summary {
  display: grid;
  min-height: 98px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__purchase-summary article {
  display: grid;
  min-width: 0;
  min-height: 62px;
  align-content: center;
  gap: 5px;
  padding: 0 20px;
  border-left: 1px solid #d3dfda;
}

.figma-draft__purchase-summary article:first-child {
  border-left: 0;
}

.figma-draft__purchase-summary span {
  color: #455a53;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
}

.figma-draft__purchase-summary strong {
  color: #176b62;
  font-size: 19px;
  line-height: 28px;
}

.figma-draft__purchase-summary .is-info strong {
  color: #316a8b;
}

.figma-draft__purchase-summary .is-warning strong {
  color: #9a5f00;
}

.figma-draft__purchase-summary .is-time strong {
  color: #455a53;
}

.figma-console--figma-draft .figma-draft__panel--purchase-confirmations {
  min-height: 652px;
  padding: 17px;
  margin: 0;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__panel--purchase-confirmations .figma-draft__panel-head {
  min-height: 40px;
  align-items: flex-start;
  margin: 0 2px 14px;
}

.figma-console--figma-draft .figma-draft__panel--purchase-confirmations .figma-draft__panel-head h2 {
  font-size: 14px;
  line-height: 20px;
}

.figma-console--figma-draft .figma-draft__panel--purchase-confirmations .figma-draft__panel-head p {
  margin-top: 2px;
  font-size: 10px;
  line-height: 15px;
}

.figma-console--figma-draft .figma-draft__panel--purchase-confirmations .figma-draft__readonly-badge {
  min-width: 94px;
  min-height: 28px;
  justify-content: center;
  padding: 5px 12px;
  margin: 0 36px 0 0;
  border-radius: 14px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__purchase-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable;
}

.figma-draft__purchase-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.figma-draft__purchase-table col.is-product { width: 27%; }
.figma-draft__purchase-table col.is-event { width: 18%; }
.figma-draft__purchase-table col.is-method { width: 13%; }
.figma-draft__purchase-table col.is-basis { width: 16%; }
.figma-draft__purchase-table col.is-settlement { width: 16%; }
.figma-draft__purchase-table col.is-status { width: 10%; }

.figma-draft__purchase-table thead th {
  height: 42px;
  padding: 0 10px;
  color: #455a53;
  background: #eef3f0;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: left;
}

.figma-draft__purchase-table thead th:first-child {
  border-radius: 8px 0 0 8px;
}

.figma-draft__purchase-table thead th:last-child {
  border-radius: 0 8px 8px 0;
}

.figma-draft__purchase-table tbody tr {
  height: 118px;
}

.figma-draft__purchase-table tbody tr:nth-child(even) td {
  background: #fafcfb;
}

.figma-draft__purchase-table tbody td {
  padding: 14px 10px;
  color: #455a53;
  font-size: 10px;
  line-height: 15px;
  vertical-align: middle;
}

.figma-draft__purchase-table tbody tr:nth-child(even) td:first-child {
  border-radius: 8px 0 0 8px;
}

.figma-draft__purchase-table tbody tr:nth-child(even) td:last-child {
  border-radius: 0 8px 8px 0;
}

.figma-draft__purchase-table tbody td > strong {
  color: #142521;
  font-weight: 600;
}

.figma-draft__purchase-product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.figma-draft__purchase-image {
  width: 66px;
  height: 76px;
  flex: 0 0 66px;
  overflow: hidden;
  background: #d9eeea;
  border-radius: 9px;
}

.figma-draft__purchase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figma-draft__purchase-product span {
  min-width: 0;
}

.figma-draft__purchase-product strong,
.figma-draft__purchase-product small {
  display: block;
}

.figma-draft__purchase-product strong {
  overflow: hidden;
  color: #142521;
  font-size: 11px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.figma-draft__purchase-product small {
  margin-top: 7px;
  color: #6c7e77;
  font-size: 9px;
  line-height: 13px;
}

.figma-draft__purchase-settlement {
  color: #176b62 !important;
  font-weight: 800;
}

.figma-draft__purchase-table .figma-draft__badge {
  min-height: 28px;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 16px;
}

.figma-draft__purchase-rule {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin-top: 6px;
  color: #0d3e39;
  background: #d9eeea;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

@media (min-width: 1231px) {
  .figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__header-action {
    margin-right: 198px;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__header {
    min-height: 0;
  }

  .figma-console--figma-draft .figma-console__screen--purchase-confirmations .figma-draft__header-action {
    width: auto;
  }

  .figma-draft__purchase-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-draft__purchase-summary article {
    min-height: 78px;
  }

  .figma-draft__purchase-summary article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #d3dfda;
  }

  .figma-draft__purchase-summary article:nth-child(4) {
    border-top: 1px solid #d3dfda;
  }

  .figma-console--figma-draft .figma-draft__panel--purchase-confirmations {
    padding: 14px;
  }

  .figma-console--figma-draft .figma-draft__panel--purchase-confirmations .figma-draft__readonly-badge {
    margin-right: 0;
  }
}

/* Supplier sales overview · Figma SUP 4.1 (30:2) */
.figma-console--figma-draft .figma-console__screen--sales .figma-draft__header {
  min-height: 118px;
  align-items: center;
  padding-bottom: 18px;
}

.figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__candidate-note {
  order: -1;
  min-width: 206px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  margin: 0;
  border-radius: 14px;
  text-align: center;
}

.figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__button {
  min-width: 182px;
  min-height: 42px;
}

.figma-draft__sales-overview-filter {
  display: grid;
  min-height: 76px;
  align-items: end;
  grid-template-columns: minmax(360px, 1fr) 180px 88px;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-date-range {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  display: grid;
}

.figma-draft__sales-date-range legend,
.figma-draft__sales-overview-filter > label > span {
  padding: 0;
  margin-bottom: 5px;
  color: #455a53;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
}

.figma-draft__sales-date-range-control {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  min-height: 42px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.figma-draft__sales-date-range-control:focus-within {
  border-color: #176b62;
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__sales-date-range-control label {
  min-width: 0;
}

.figma-draft__sales-date-range-control i {
  color: #6c7e77;
  font-size: 11px;
  font-style: normal;
  text-align: center;
}

.figma-draft__sales-date-range input,
.figma-draft__sales-overview-filter select {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 13px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #adbfba;
  border-radius: 8px;
  outline: 0;
  font-size: 11px;
  font-weight: 600;
}

.figma-draft__sales-date-range input {
  border: 0;
  border-radius: 0;
}

.figma-draft__sales-overview-filter select:focus {
  border-color: #176b62;
  box-shadow: 0 0 0 3px rgba(23, 107, 98, 0.12);
}

.figma-draft__sales-overview-filter > label {
  display: grid;
  min-width: 0;
}

.figma-draft__sales-overview-filter .figma-draft__button {
  min-height: 42px;
}

.figma-console--figma-draft .figma-draft__sales-asof {
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 18px;
  background: #e2f0f7;
  border: 0;
  border-radius: 10px;
}

.figma-console--figma-draft .figma-draft__sales-asof b {
  color: #316a8b;
}

.figma-console--figma-draft .figma-draft__sales-metrics {
  gap: 18px;
  margin-bottom: 20px;
}

.figma-console--figma-draft .figma-draft__sales-metrics article {
  position: relative;
  min-height: 104px;
  padding: 16px;
  margin: 0;
  overflow: hidden;
  border-color: #d3dfda;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__sales-metrics strong {
  margin: 8px 0 3px;
  color: #142521;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 32px;
}

.figma-console--figma-draft .figma-draft__sales-metrics .is-primary strong {
  color: #176b62;
}

.figma-console--figma-draft .figma-draft__sales-metrics .is-info strong {
  color: #316a8b;
}

.figma-console--figma-draft .figma-draft__sales-metrics .is-warning strong {
  color: #9a5f00;
}

.figma-draft__sales-metric--linked small {
  padding-right: 62px;
}

.figma-draft__sales-metric--linked > a {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: #176b62;
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
}

.figma-draft__sales-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(260px, 376px);
  gap: 20px;
  margin-bottom: 20px;
}

.figma-console--figma-draft .figma-draft__panel--sales-trend,
.figma-console--figma-draft .figma-draft__panel--sales-composition {
  min-height: 318px;
  padding: 18px;
  margin: 0;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__panel--sales-trend .figma-draft__panel-head,
.figma-console--figma-draft .figma-draft__panel--sales-composition .figma-draft__panel-head,
.figma-console--figma-draft .figma-draft__panel--sales-events .figma-draft__panel-head {
  min-height: 42px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.figma-console--figma-draft .figma-draft__panel--sales-trend .figma-draft__panel-head h2,
.figma-console--figma-draft .figma-draft__panel--sales-composition .figma-draft__panel-head h2,
.figma-console--figma-draft .figma-draft__panel--sales-events .figma-draft__panel-head h2 {
  font-size: 14px;
  line-height: 20px;
}

.figma-draft__sales-legend {
  color: #455a53;
  font-size: 9px;
  font-weight: 700;
  line-height: 13px;
}

.figma-draft__sales-chart {
  position: relative;
  height: 230px;
  margin: 0;
}

.figma-draft__sales-chart-grid,
.figma-draft__sales-chart-bars {
  position: absolute;
  inset: 8px 8px 32px;
}

.figma-draft__sales-chart-grid {
  background: repeating-linear-gradient(to bottom, #d3dfda 0 1px, transparent 1px 53px);
  border-bottom: 1px solid #d3dfda;
}

.figma-draft__sales-chart-bars {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: 16px;
  padding: 0 18px;
}

.figma-draft__sales-chart-bars > span {
  position: relative;
  width: 46px;
  max-width: 12%;
  background: #d9eeea;
  border-radius: 6px 6px 0 0;
}

.figma-draft__sales-chart-bars > span.is-current {
  background: #176b62;
}

.figma-draft__sales-chart-bars i {
  position: absolute;
  right: -18px;
  bottom: -24px;
  left: -18px;
  color: #6c7e77;
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
}

.figma-draft__sales-chart figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.figma-draft__sales-composition {
  display: grid;
  gap: 22px;
  padding-top: 8px;
}

.figma-draft__sales-composition > div {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(90px, 1fr) 140px 42px;
  gap: 10px;
}

.figma-draft__sales-composition span,
.figma-draft__sales-composition strong {
  color: #455a53;
  font-size: 10px;
  font-weight: 600;
  line-height: 15px;
}

.figma-draft__sales-composition strong {
  color: #142521;
  text-align: right;
}

.figma-draft__sales-composition i {
  display: block;
  height: 12px;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 6px;
}

.figma-draft__sales-composition b {
  display: block;
  height: 100%;
  min-width: 3px;
  background: #176b62;
  border-radius: inherit;
}

.figma-draft__sales-composition b.is-info { background: #316a8b; }
.figma-draft__sales-composition b.is-warning { background: #9a5f00; }
.figma-draft__sales-composition b.is-danger { background: #a63b38; }

.figma-console--figma-draft .figma-draft__panel--sales-events {
  min-height: 236px;
  padding: 17px;
  margin: 0;
  border-radius: 14px;
}

.figma-draft__sales-event-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.figma-draft__sales-event-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.figma-draft__sales-event-table th,
.figma-draft__sales-event-table td {
  height: 48px;
  padding: 0 12px;
  color: #455a53;
  font-size: 12px;
  line-height: 18px;
  text-align: left;
}

.figma-draft__sales-event-table th {
  height: 46px;
  background: #eef3f0;
  font-size: 12px;
  font-weight: 800;
}

.figma-draft__sales-event-table th:first-child { width: 12%; border-radius: 8px 0 0 8px; }
.figma-draft__sales-event-table th:nth-child(2) { width: 28%; }
.figma-draft__sales-event-table th:nth-child(3) { width: 17%; }
.figma-draft__sales-event-table th:nth-child(4) { width: 15%; }
.figma-draft__sales-event-table th:nth-child(5) { width: 14%; }
.figma-draft__sales-event-table th:last-child { width: 14%; border-radius: 0 8px 8px 0; }

.figma-draft__sales-event-table .is-amount {
  color: #176b62;
  font-weight: 800;
}

.figma-draft__sales-event-table .is-adjustment {
  color: #9a5f00;
}

.figma-draft__sales-event-table .figma-draft__badge {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 11px;
}

/* Supplier product sales ranking · Figma SUP 4.2 (30:146) */
.figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header {
  min-height: 118px;
  align-items: center;
  padding-bottom: 18px;
}

.figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action .figma-draft__candidate-note {
  order: -1;
  min-width: 206px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  margin: 0;
  border-radius: 14px;
  text-align: center;
}

.figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action .figma-draft__button {
  min-width: 182px;
  min-height: 42px;
}

.figma-draft__sales-product-filter {
  display: grid;
  min-height: 76px;
  align-items: end;
  grid-template-columns: minmax(300px, 1fr) 190px 88px;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-product-filter > label {
  display: grid;
  min-width: 0;
}

.figma-draft__sales-product-filter .figma-draft__button {
  min-height: 42px;
}

.figma-draft__sales-product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.figma-draft__sales-product-metrics article {
  min-height: 104px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__sales-product-metrics span,
.figma-draft__sales-product-metrics small {
  display: block;
  color: #6c7e77;
  font-size: 10px;
  line-height: 15px;
}

.figma-draft__sales-product-metrics strong {
  display: block;
  margin: 8px 0 3px;
  color: #142521;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 32px;
}

.figma-draft__sales-product-metrics .is-primary strong { color: #176b62; }
.figma-draft__sales-product-metrics .is-info strong { color: #316a8b; }
.figma-draft__sales-product-metrics .is-warning strong { color: #9a5f00; }

.figma-console--figma-draft .figma-draft__panel--sales-products {
  padding: 17px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
}

.figma-console--figma-draft .figma-draft__panel--sales-products .figma-draft__panel-head {
  min-height: 42px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.figma-console--figma-draft .figma-draft__panel--sales-products .figma-draft__panel-head h2 {
  font-size: 14px;
  line-height: 20px;
}

.figma-draft__sales-product-table-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.figma-draft__sales-product-table {
  width: 100%;
  min-width: 740px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.figma-draft__sales-product-table .is-product { width: 25%; }
.figma-draft__sales-product-table .is-revision { width: 13%; }
.figma-draft__sales-product-table .is-campaign { width: 14%; }
.figma-draft__sales-product-table .is-quantity { width: 10%; }
.figma-draft__sales-product-table .is-sales { width: 14%; }
.figma-draft__sales-product-table .is-adjustment { width: 15%; }
.figma-draft__sales-product-table .is-share { width: 9%; }

.figma-draft__sales-product-table th,
.figma-draft__sales-product-table td {
  padding: 0 12px;
  color: #455a53;
  font-size: 11px;
  line-height: 17px;
  text-align: left;
  vertical-align: middle;
}

.figma-draft__sales-product-table th {
  height: 46px;
  background: #eef3f0;
  font-size: 10px;
  font-weight: 800;
}

.figma-draft__sales-product-table th:first-child { border-radius: 8px 0 0 8px; }
.figma-draft__sales-product-table th:last-child { border-radius: 0 8px 8px 0; }

.figma-draft__sales-product-table td {
  height: 92px;
  border-bottom: 1px solid #e6eeea;
}

.figma-draft__sales-product-table tbody tr:nth-child(even) td {
  background: #fafcfb;
}

.figma-draft__sales-product-table .mono {
  color: #23685e;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.figma-draft__sales-product-table .is-adjustment {
  color: #9a5f00;
}

.figma-draft__sales-product-cell {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.figma-draft__sales-product-cell > span {
  min-width: 0;
}

.figma-draft__sales-product-cell strong,
.figma-draft__sales-product-cell small {
  display: block;
}

.figma-draft__sales-product-cell strong {
  color: #142521;
  font-weight: 850;
}

.figma-draft__sales-product-cell small {
  margin-top: 4px;
  color: #82958f;
  font-size: 9px;
}

.figma-draft__sales-product-image {
  width: 56px;
  height: 60px;
  flex: 0 0 56px;
  overflow: hidden;
  background: #eef3f0;
  border: 1px solid #dde6e2;
  border-radius: 9px;
}

.figma-draft__sales-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.figma-draft__sales-product-amount {
  color: #176b62 !important;
}

.figma-draft__sales-product-share {
  display: grid;
  gap: 8px;
}

.figma-draft__sales-product-share strong {
  color: #142521;
  font-size: 10px;
  text-align: right;
}

.figma-draft__sales-product-share i {
  display: block;
  height: 10px;
  overflow: hidden;
  background: #eef3f0;
  border-radius: 5px;
}

.figma-draft__sales-product-share b {
  display: block;
  height: 100%;
  min-width: 3px;
  background: #176b62;
  border-radius: inherit;
}

.figma-draft__sales-product-rule {
  padding: 7px 12px;
  margin-top: 14px;
  color: #9a5f00;
  background: #fff1cf;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 600;
  line-height: 13px;
  text-align: center;
}

@media (max-width: 1200px) {
  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header {
    align-items: flex-end;
  }

  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action {
    display: grid;
    gap: 8px;
  }

  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__candidate-note,
  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__button {
    min-width: 170px;
  }

  .figma-console--figma-draft .figma-draft__sales-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .figma-draft__sales-composition > div {
    grid-template-columns: minmax(82px, 1fr) minmax(72px, 120px) 34px;
    gap: 7px;
  }

  .figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header {
    align-items: flex-end;
  }

  .figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action {
    display: grid;
    gap: 8px;
  }

  .figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action .figma-draft__candidate-note,
  .figma-console--figma-draft .figma-console__screen--sales-products .figma-draft__header-action .figma-draft__button {
    min-width: 170px;
  }

  .figma-draft__sales-product-metrics {
    gap: 10px;
  }
}

@media (max-width: 900px) {
  .figma-draft__sales-overview-filter {
    grid-template-columns: 1fr 150px 78px;
  }

  .figma-draft__sales-product-filter {
    grid-template-columns: 1fr 160px 78px;
  }

  .figma-draft__sales-overview-grid {
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft .figma-draft__panel--sales-trend,
  .figma-console--figma-draft .figma-draft__panel--sales-composition {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__candidate-note,
  .figma-console--figma-draft .figma-console__screen--sales .figma-draft__header-action .figma-draft__button {
    width: 100%;
  }

  .figma-draft__sales-overview-filter {
    grid-template-columns: 1fr;
  }

  .figma-draft__sales-product-filter {
    grid-template-columns: 1fr;
  }

  .figma-draft__sales-date-range-control {
    grid-template-columns: 1fr 18px 1fr;
  }

  .figma-console--figma-draft .figma-draft__sales-asof {
    align-items: flex-start;
    flex-direction: column;
  }

  .figma-console--figma-draft .figma-draft__sales-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-draft__sales-product-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .figma-draft__sales-composition > div {
    grid-template-columns: minmax(82px, 1fr) minmax(80px, 140px) 36px;
  }
}

/* Staff invitation: compact target, permissions, and owner review into one scan path. */
.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__header {
  padding-bottom: 20px;
}

.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__title-line {
  align-items: center;
}

.figma-draft__staff-invite-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 0 0 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d6e1dd;
  border-radius: 10px;
  list-style: none;
}

.figma-draft__staff-invite-steps li {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: #7b8e88;
  border-right: 1px solid #e3ebe8;
  font-size: 11px;
}

.figma-draft__staff-invite-steps li:last-child { border-right: 0; }
.figma-draft__staff-invite-steps li.is-current { color: #0d6158; background: #f2f8f6; }
.figma-draft__staff-invite-steps li.is-current::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #176b62;
  content: '';
}

.figma-draft__staff-invite-steps span,
.figma-draft__staff-section-head > span {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  color: #176b62;
  background: #d9eeea;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.figma-draft__staff-invite-steps li:not(.is-current) span {
  color: #71847f;
  background: #edf2f0;
}

.figma-draft__staff-invite-steps b { font-weight: 800; }

.figma-draft__staff-invite-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 0.78fr);
  align-items: start;
  gap: 16px;
}

.figma-draft__staff-invite-layout > * { min-width: 0; }

.figma-draft__staff-invite-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d6e1dd;
  border-radius: 12px;
}

.figma-draft__staff-section {
  padding: 18px 20px;
  border-bottom: 1px solid #e4ece9;
}

.figma-draft__staff-section-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.figma-draft__staff-section-head h2,
.figma-draft__staff-section-head p { margin: 0; }
.figma-draft__staff-section-head h2 { font-size: 14px; line-height: 20px; }
.figma-draft__staff-section-head p { margin-top: 2px; color: #7b8e88; font-size: 10px; line-height: 15px; }

.figma-draft__staff-identity-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 32px;
}

.figma-draft__staff-identity-fields .figma-draft__field:last-child { grid-column: 1 / -1; }
.figma-draft__staff-identity-fields .figma-draft__field input { height: 42px; }

.figma-draft__staff-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-left: 32px;
}

.figma-draft__staff-scope-option {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  background: #f7faf8;
  border: 1px solid #d7e2de;
  border-radius: 8px;
  transition: border-color 120ms ease, background 120ms ease;
}

.figma-draft__staff-scope-option:hover,
.figma-draft__staff-scope-option:has(input:checked) {
  background: #eff8f5;
  border-color: #4f948a;
}

.figma-console--figma-draft .figma-draft__staff-scope-option input[type="checkbox"] {
  appearance: auto;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 0;
  accent-color: #176b62;
}

.figma-draft__staff-scope-option span,
.figma-draft__staff-scope-option b,
.figma-draft__staff-scope-option small { display: block; min-width: 0; }
.figma-draft__staff-scope-option b { color: #163f39; font-size: 11px; line-height: 16px; }
.figma-draft__staff-scope-option small { margin-top: 2px; color: #71847f; font-size: 9px; line-height: 14px; }

.figma-draft__staff-protected-strip {
  display: grid;
  grid-template-columns: minmax(145px, 0.68fr) minmax(0, 1.7fr);
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff8f5;
}

.figma-draft__staff-protected-strip > div {
  display: grid;
  grid-template-columns: 23px 1fr;
  align-items: center;
  column-gap: 7px;
}

.figma-draft__staff-protected-strip > div > span {
  grid-row: span 2;
  font-size: 15px;
}

.figma-draft__staff-protected-strip strong { color: #8d5352; font-size: 11px; }
.figma-draft__staff-protected-strip small { color: #a17a78; font-size: 9px; line-height: 13px; }
.figma-draft__staff-protected-strip ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.figma-draft__staff-protected-strip li {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, auto) 1fr;
  gap: 4px;
  align-items: baseline;
  font-size: 9px;
  line-height: 13px;
}

.figma-draft__staff-protected-strip li b { overflow: hidden; color: #7e4f4d; text-overflow: ellipsis; white-space: nowrap; }
.figma-draft__staff-protected-strip li span { overflow: hidden; color: #a17a78; text-overflow: ellipsis; white-space: nowrap; }

.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__review-state {
  padding: 12px 14px;
  margin: 12px 0 10px;
  border-radius: 9px;
}

.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__review-state h2 { font-size: 12px; }
.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__review-state p { margin-top: 3px; }
.figma-console--figma-draft .figma-console__screen--staff-invite .figma-draft__review-state .figma-draft__button { min-height: 34px; padding: 7px 12px; }

.figma-draft__staff-invite-actions {
  padding: 0;
}

.figma-draft__staff-invite-preview {
  position: sticky;
  top: 84px;
  padding: 18px;
  color: #163f39;
  background: #eef6df;
  border: 1px solid #d5e3bb;
  border-radius: 12px;
}

.figma-draft__staff-invite-preview > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.figma-draft__staff-invite-preview > header span:not(.figma-draft__badge) {
  color: #6c862f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.figma-draft__staff-invite-preview h2 { margin: 4px 0 0; font-size: 17px; letter-spacing: -0.04em; }
.figma-draft__staff-invite-preview h3 { margin: 0; font-size: 11px; }

.figma-draft__staff-preview-summary {
  padding: 10px 12px;
  margin: 13px 0 10px;
  color: #176b62;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  font-size: 9px;
  font-weight: 700;
  line-height: 14px;
}

.figma-draft__staff-preview-details {
  padding: 0;
  margin: 0;
  background: #ffffff;
  border: 1px solid #dce7cc;
  border-radius: 8px;
}

.figma-draft__staff-preview-details > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 11px;
  border-bottom: 1px solid #e5edd9;
}

.figma-draft__staff-preview-details > div:last-child { border-bottom: 0; }
.figma-draft__staff-preview-details dt { color: #7b8c6e; font-size: 9px; font-weight: 700; }
.figma-draft__staff-preview-details dd { margin: 0; overflow-wrap: anywhere; color: #2b4f48; font-size: 10px; font-weight: 700; }

.figma-draft__staff-policy,
.figma-draft__staff-checkpoint { margin-top: 16px; }
.figma-draft__staff-policy > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.figma-draft__staff-policy article { padding: 9px 7px; text-align: center; background: rgba(255, 255, 255, 0.62); border-radius: 7px; }
.figma-draft__staff-policy strong,
.figma-draft__staff-policy span { display: block; }
.figma-draft__staff-policy strong { color: #176b62; font-size: 12px; }
.figma-draft__staff-policy span { margin-top: 3px; color: #74846b; font-size: 8px; line-height: 12px; }

.figma-draft__staff-checkpoint ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.figma-draft__staff-checkpoint li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #667a5d;
  font-size: 8px;
  text-align: center;
}

.figma-draft__staff-checkpoint li:not(:last-child)::after {
  position: absolute;
  top: 10px;
  right: -21%;
  width: 42%;
  height: 1px;
  background: #c9d9ae;
  content: '';
}

.figma-draft__staff-checkpoint li span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #176b62;
  background: #ffffff;
  border: 1px solid #cbdab3;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.figma-draft__staff-preview-note {
  padding-top: 12px;
  margin: 14px 0 0;
  color: #728168;
  border-top: 1px solid #d9e5c5;
  font-size: 9px;
  line-height: 14px;
}

@media (max-width: 950px) {
  .figma-draft__staff-invite-layout { grid-template-columns: 1fr; }
  .figma-draft__staff-invite-preview { position: static; order: -1; }
}

@media (max-width: 640px) {
  .figma-draft__staff-invite-steps li { justify-content: center; padding: 0 8px; }
  .figma-draft__staff-invite-steps b { display: none; }
  .figma-draft__staff-section { padding: 16px; }
  .figma-draft__staff-identity-fields,
  .figma-draft__staff-scope-grid { grid-template-columns: 1fr; padding-left: 0; }
  .figma-draft__staff-protected-strip { grid-template-columns: 1fr; padding: 14px 16px; }
  .figma-draft__staff-protected-strip ul { grid-template-columns: 1fr; }
  .figma-draft__staff-invite-actions { display: grid; grid-template-columns: 1fr; }
  .figma-draft__staff-invite-actions .figma-draft__button { width: 100%; }
}

/* Staff access: Figma 32:149 adapted to the current supplier console. */
.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__header {
  padding-bottom: 22px;
}

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permissions-layout {
  grid-template-columns: minmax(275px, 0.72fr) minmax(0, 1.55fr);
  align-items: stretch;
  gap: 18px;
}

.figma-draft__permission-members,
.figma-draft__permission-detail {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #d3dfda;
  border-radius: 14px;
}

.figma-draft__permission-members {
  min-height: 612px;
  padding: 18px;
}

.figma-draft__permission-members > header,
.figma-draft__permission-detail-head,
.figma-draft__permission-matrix > header,
.figma-draft__permission-protected > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.figma-draft__permission-members > header h2,
.figma-draft__permission-members > header p,
.figma-draft__permission-detail-head h2,
.figma-draft__permission-detail-head p,
.figma-draft__permission-matrix h3,
.figma-draft__permission-matrix p,
.figma-draft__permission-protected h3,
.figma-draft__permission-protected p { margin: 0; }

.figma-draft__permission-members > header h2 { font-size: 15px; line-height: 21px; }
.figma-draft__permission-members > header p { margin-top: 3px; color: #6c7e77; font-size: 10px; line-height: 15px; }
.figma-draft__permission-members > header .figma-draft__text-link { align-self: center; font-size: 9px; white-space: nowrap; }

.figma-draft__permission-member-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 12px 0 14px;
}

.figma-draft__permission-member-tabs span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 12px;
  color: #647872;
  background: #eef3f0;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.figma-draft__permission-member-tabs span.is-active { color: #176b62; background: #d9eeea; }

.figma-draft__permission-member-list { display: grid; gap: 9px; }

.figma-draft__permission-member {
  display: grid;
  min-height: 76px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  color: #142521;
  background: #ffffff;
  border: 1px solid #dbe5e1;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.figma-draft__permission-member:hover {
  border-color: #92b5ae;
  box-shadow: 0 3px 10px rgba(14, 61, 54, 0.07);
}

.figma-draft__permission-member.is-selected {
  background: #e8f5f2;
  border-color: #9fcac3;
  box-shadow: inset 3px 0 0 #176b62;
}

.figma-draft__permission-member.is-invited { background: #eef7fb; }
.figma-draft__permission-member .figma-draft__avatar { width: 38px; height: 38px; font-size: 12px; }
.figma-draft__permission-member.is-invited .figma-draft__avatar { color: #316a8b; background: #dceef7; }
.figma-draft__permission-member-copy { min-width: 0; }
.figma-draft__permission-member-copy > span { display: flex; min-width: 0; align-items: center; gap: 6px; }
.figma-draft__permission-member-copy b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.figma-draft__permission-member-copy .figma-draft__badge { flex: 0 0 auto; min-height: 22px; padding: 3px 7px; font-size: 8px; }
.figma-draft__permission-member-copy small { display: block; margin-top: 5px; overflow: hidden; color: #657a74; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.figma-draft__permission-member > i { align-self: end; color: #176b62; font-size: 8px; font-style: normal; font-weight: 800; white-space: nowrap; }

.figma-draft__permission-detail {
  min-height: 612px;
  padding: 18px;
}

.figma-draft__permission-detail-head {
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4ece9;
}

.figma-draft__permission-detail-head > div { display: flex; min-width: 0; align-items: center; gap: 9px; }
.figma-draft__permission-detail-head h2 { overflow: hidden; font-size: 15px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
.figma-draft__permission-detail-head > p { flex: 0 0 auto; color: #70847e; font-size: 8px; white-space: nowrap; }

.figma-draft__permission-access-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(105px, 0.5fr);
  gap: 8px;
  padding: 12px 0;
}

.figma-draft__permission-access-summary > div {
  padding: 10px 12px;
  background: #f6f9f7;
  border-radius: 8px;
}

.figma-draft__permission-access-summary span,
.figma-draft__permission-access-summary strong { display: block; }
.figma-draft__permission-access-summary span { color: #788b85; font-size: 8px; font-weight: 800; }
.figma-draft__permission-access-summary strong { margin-top: 3px; color: #234f48; font-size: 10px; }

.figma-draft__permission-matrix > header { align-items: end; margin-bottom: 9px; }
.figma-draft__permission-matrix h3,
.figma-draft__permission-protected h3 { font-size: 12px; line-height: 18px; }
.figma-draft__permission-matrix p,
.figma-draft__permission-protected p { margin-top: 2px; color: #758983; font-size: 8px; line-height: 13px; }
.figma-draft__permission-matrix > header > span { color: #176b62; font-size: 8px; font-weight: 800; }

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-table {
  display: grid;
  gap: 7px;
  margin-top: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-head,
.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row {
  min-width: 0;
  grid-template-columns: minmax(82px, 1.2fr) minmax(78px, 1.05fr) repeat(4, minmax(42px, 0.62fr));
  gap: 4px;
  padding: 0 10px;
}

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-head {
  min-height: 28px;
  color: #71847f;
  background: transparent;
  border: 0;
  font-size: 8px;
}

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-head span:nth-child(n + 3) { text-align: center; }

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row {
  min-height: 52px;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 8px;
  font-size: 9px;
}

.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row:nth-child(odd) { background: #eef3f0; }
.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row b { font-size: 10px; }
.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row span { color: #657a74; font-size: 8px; }
.figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row input[type="checkbox"] { width: 21px; height: 21px; min-width: 21px; min-height: 21px; }

.figma-draft__permission-protected {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #e4ece9;
}

.figma-draft__permission-protected ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.figma-draft__permission-protected li {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  color: #647872;
  background: #eef3f0;
  border-radius: 8px;
  font-size: 9px;
}

.figma-draft__permission-protected li b {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #657a74;
  background: #ffffff;
  border-radius: 999px;
  font-size: 8px;
}

.figma-draft__permission-diff {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 13px;
  margin-top: 14px;
  color: #316a8b;
  background: #e2f0f7;
  border-radius: 8px;
}

.figma-draft__permission-diff > div { display: grid; gap: 2px; }
.figma-draft__permission-diff span { font-size: 8px; font-weight: 800; }
.figma-draft__permission-diff strong { font-size: 11px; }
.figma-draft__permission-diff p { margin: 0; color: #455a53; font-size: 9px; line-height: 14px; text-align: right; }
.figma-draft__permission-diff > b { color: #316a8b; font-size: 8px; white-space: nowrap; }

.figma-draft__permission-actions {
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 0;
}

.figma-draft__permission-actions p { margin: 0; color: #7c8e88; font-size: 8px; }
.figma-draft__permission-actions .figma-draft__button { min-width: 160px; }

@media (max-width: 1100px) {
  .figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permissions-layout { grid-template-columns: 1fr; }
  .figma-draft__permission-members { min-height: 0; }
  .figma-draft__permission-member-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .figma-draft__permission-member-list,
  .figma-draft__permission-protected ul { grid-template-columns: 1fr; }
  .figma-draft__permission-detail-head { align-items: flex-start; flex-direction: column; }
  .figma-draft__permission-access-summary { grid-template-columns: 1fr; }
  .figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-table { overflow-x: auto; }
  .figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-head,
  .figma-console--figma-draft .figma-console__screen--staff-permissions .figma-draft__permission-row { min-width: 520px; }
  .figma-draft__permission-diff { grid-template-columns: 1fr; }
  .figma-draft__permission-diff p { text-align: left; }
  .figma-draft__permission-actions { align-items: stretch; flex-direction: column; }
  .figma-draft__permission-actions .figma-draft__button { width: 100%; }
}
