* {
  box-sizing: border-box;
}

:root {
  --black: #1a1a1a;
  --page-bg: #eeeeee;
  --sidebar-bg: #f6f7f8;
  --text: #333333;
  --muted: #9b9b9b;
  --link: #006dbc;
  --border: #cccccc;
  --grid: #d0d0d0;
  --table-head: #e9e9e9;
  --highlight-order-bg: #f1f3f5;
  --row-hover-bg: #d6e6f5;
  --blue: #0e75d0;
  --soft-blue: #d5e6f6;
  --filter-blue: #d8e5f4;
  --yellow: #ffc400;
  --red: #d70a0a;
  --secondary: #737373;
  --icon-muted: #9b9b9b;
  --icon-calendar: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Business/calendar-line.svg");
  --icon-arrow-down: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-down-s-fill.svg");
  --icon-search: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/search-line.svg");
  --icon-warning: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/error-warning-fill.svg");
  --icon-warning-line: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/error-warning-line.svg");
  --icon-mail-send: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Business/mail-send-line.svg");
  --icon-mail-check: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Business/mail-check-line.svg");
  --icon-mail-check-fill: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Business/mail-check-fill.svg");
  --icon-pdf: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Document/file-pdf-2-line.svg");
  --icon-word: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Document/file-word-line.svg");
  --icon-bill: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Document/bill-line.svg");
  --icon-arrow-right: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-right-line.svg");
  --icon-arrow-right-long: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-right-long-line.svg");
  --icon-edit: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Design/pencil-fill.svg");
  --icon-external: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/external-link-line.svg");
  --icon-filter: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/filter-line.svg");
  --icon-filter-off: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/filter-off-line.svg");
  --icon-sticky-note: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Document/sticky-note-line.svg");
  --icon-code: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Development/code-line.svg");
  --icon-translate: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Editor/translate-ai-2.svg");
  --icon-close-large: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/close-large-fill.svg");
  --icon-close-large-line: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/close-large-line.svg");
  --icon-close-circle: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/close-circle-fill.svg");
  --icon-information: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/information-2-line.svg");
  --icon-question: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/System/question-line.svg");
  --icon-arrow-down-line: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-down-s-line.svg");
  --icon-send-plane-fill: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Business/send-plane-fill.svg");
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--demo-font-family, Roboto, Arial, sans-serif);
  /* System stack option: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; */
  font-size: 14px;
  line-height: 1.2;
}

body.font-inter {
  --demo-font-family: Inter, Arial, sans-serif;
}

body.font-system {
  --demo-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.font-roboto {
  --demo-font-family: Roboto, Arial, sans-serif;
}

.request-page .demo-switch select {
  width: 320px;
}

.request-page .request-note-switch {
  gap: 8px;
}

.request-page .alert-icon {
  mask-image: var(--icon-warning-line);
  -webkit-mask-image: var(--icon-warning-line);
}

button,
input,
select {
  font: inherit;
}

button:not(:disabled) {
  cursor: pointer;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  display: flex;
  align-items: center;
  height: 40px;
  background: var(--black);
}

.logo-link {
  display: block;
  width: 200px;
  height: 40px;
  flex: 0 0 200px;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -3px;
}

.logo {
  display: block;
  width: 200px;
  height: 40px;
  object-fit: contain;
}

.menu-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #ffffff;
}

.demo-switch {
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 0 12px 0 8px;
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
}

.demo-switch select {
  width: 204px;
  height: 26px;
  padding: 2px 24px 2px 6px;
  border: 1px solid #5a5a5a;
  border-radius: 2px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.demo-note-button,
.demo-code-button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: #ffffff;
  cursor: pointer;
}

.demo-note-button {
  mask: var(--icon-sticky-note) center / 18px 18px no-repeat;
  -webkit-mask: var(--icon-sticky-note) center / 18px 18px no-repeat;
}

.demo-code-button {
  mask: var(--icon-code) center / 18px 18px no-repeat;
  -webkit-mask: var(--icon-code) center / 18px 18px no-repeat;
}

.demo-note-popover {
  position: fixed;
  z-index: 50;
  top: 52px;
  right: 16px;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: var(--text);
}

.demo-note-popover[hidden] {
  display: none;
}

.demo-note-head {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px 0 12px;
  border-bottom: 1px solid var(--grid);
  background: var(--table-head);
  cursor: move;
  user-select: none;
}

.demo-note-head strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-note-close {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
}

.demo-note-close:hover {
  background: #ffffff;
}

.demo-note-text {
  min-height: 96px;
  max-height: 360px;
  margin: 0;
  overflow: auto;
  padding: 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  white-space: pre-wrap;
}

.workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 40px);
}

.sidebar {
  min-height: calc(100vh - 40px);
  background: var(--sidebar-bg);
  box-shadow: inset -8px 0 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.sidebar-menu {
  min-height: 586px;
  padding: 12px 0 20px;
  background: transparent;
}

.sidebar h2 {
  margin: 0 12px 8px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.sidebar h2:not(:first-child) {
  margin-top: 18px;
}

.sidebar a {
  display: flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 12px;
  color: #222222;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar a.active {
  background: var(--yellow);
}

.sidebar a.nested {
  padding-left: 28px;
  font-weight: 700;
}

.font-switcher {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.font-option {
  position: relative;
  min-height: 26px;
  padding: 3px 12px 3px 28px;
  border: 0;
  background: transparent;
  color: #222222;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  text-align: left;
}

.font-option::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  transform: translateY(-50%);
}

.font-option.is-selected::before {
  background: var(--link);
}

.font-option:hover {
  color: var(--link);
}

.main {
  min-width: 0;
  padding: 12px;
  overflow: auto;
}

.panel {
  position: relative;
  min-height: 800px;
  padding: 12px;
  border-radius: 4px;
  background: #ffffff;
}

.panel-title-row {
  padding-right: 190px;
}

.panel-action-link {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--link);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

h1 {
  margin: 0 0 17px;
  color: #444444;
  font-size: 20px;
  line-height: 23px;
  font-weight: 700;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  min-height: 70px;
  margin-bottom: 8px;
  font-size: 16px;
}

.filter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.filter label {
  margin-bottom: 4px;
  line-height: 20px;
  white-space: nowrap;
}

.filter-title-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  margin-bottom: 4px;
}

.filter-title-row label {
  margin-bottom: 0;
}

.filter-reset {
  display: none;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: var(--secondary);
  cursor: pointer;
  mask: var(--icon-filter) center / 12px 12px no-repeat;
  -webkit-mask: var(--icon-filter) center / 12px 12px no-repeat;
}

.filter-reset:hover {
  background: var(--red);
  mask-image: var(--icon-filter-off);
  -webkit-mask-image: var(--icon-filter-off);
}

.filter.is-filtered .filter-reset {
  display: inline-block;
}

.filter-date {
  width: 300px;
}

.filter-select {
  width: 300px;
}

.filter-search {
  width: 301px;
}

.filter-submit {
  width: 120px;
  padding-top: 24px;
}

.control {
  width: 100%;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #ffffff;
  color: var(--text);
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.11);
  font-size: 16px;
  line-height: 22px;
}

.control.filter-active {
  background-color: #ffe180;
}

select.control {
  appearance: none;
  padding: 4px 32px 4px 6px;
  background-color: #ffffff;
  background-image: var(--icon-arrow-down);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

input.control {
  padding: 4px 6px;
}

input::placeholder {
  color: #a9a9ac;
}

.date-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  text-align: left;
}

.calendar-icon {
  width: 18px;
  height: 18px;
  background: var(--icon-muted);
  mask: var(--icon-calendar) center / contain no-repeat;
  -webkit-mask: var(--icon-calendar) center / contain no-repeat;
}

.quick-filters {
  display: flex;
  gap: 4px;
  padding: 2px 4px 0;
}

.quick {
  height: 18px;
  padding: 0 3px;
  border: 0;
  border-radius: 2px;
  background: #ffffff;
  color: #7e93b2;
  cursor: pointer;
  font-size: 14px;
  line-height: 18px;
}

.quick:hover {
  background: var(--filter-blue);
  color: var(--text);
}

.quick.active {
  background: var(--filter-blue);
  color: var(--text);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  line-height: 20px;
}

.checkbox-row input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--blue);
}

.filter-search p {
  width: 293px;
  margin: 2px 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 34px;
}

.submit-button:disabled {
  opacity: 0.5;
}

.search-icon {
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon-search) center / contain no-repeat;
  -webkit-mask: var(--icon-search) center / contain no-repeat;
}

.table-block {
  width: 100%;
  margin-top: 0;
}

.summary {
  height: 22px;
  margin-bottom: 8px;
  padding-top: 4px;
  font-size: 14px;
  line-height: 18px;
}

.summary.no-results {
  color: var(--red);
  font-weight: 700;
}

.create-request-breadcrumbs {
  min-width: 0;
}

.create-request-panel {
  min-height: 0;
}

.create-request-flow {
  width: 680px;
  max-width: 100%;
}

.create-request-card {
  width: 420px;
  max-width: 100%;
  padding: 16px;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
}

.create-order-search-card {
  width: 680px;
}

.create-order-search-card .create-order-result {
  width: 100%;
  margin-top: 20px;
}

.create-request-card-title {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.create-request-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.create-request-field {
  display: flex;
  width: 300px;
  max-width: 100%;
  flex-direction: column;
  gap: 4px;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}

.create-request-field .control.is-invalid,
.create-request-field .control.is-invalid:focus {
  border-color: var(--red);
  outline: 0;
  box-shadow: 0 0 0 1px var(--red), inset 0 1px 3px rgba(215, 10, 10, 0.12);
}

.create-request-field-error {
  margin-top: 2px;
  color: var(--red);
  font-size: 14px;
  line-height: 18px;
}

.create-request-field-error[hidden] {
  display: none;
}

.create-request-actions {
  padding-top: 4px;
}

.create-order-result {
  width: 680px;
  max-width: 100%;
  margin-top: 16px;
}

.create-order-result-card {
  width: 680px;
  padding: 16px;
  border: 0;
  background: #ffffff;
}

.create-order-result[hidden] {
  display: none;
}

.create-order-result .request-table th {
  width: 43%;
}

.create-products-card {
  width: 680px;
  max-width: 100%;
  margin-top: 16px;
  padding: 16px;
  border: 0;
  border-radius: 4px;
  background: #ffffff;
}

.create-request-flow .create-products-card {
  border: 0;
}

.create-request-flow .create-request-card {
  border: 0;
}

.create-request-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.create-request-card-heading h2 {
  margin-bottom: 0;
}

.create-products-card[hidden] {
  display: none;
}

.create-products-card h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

.create-products-card p {
  max-width: 560px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.create-products-form {
  margin: 0;
}

.create-products-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--grid);
  border-radius: 4px;
  overflow: hidden;
}

.create-product-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--grid);
  cursor: pointer;
}

.create-product-row:last-child {
  border-bottom: 0;
}

.create-product-row:hover {
  background: var(--filter-blue);
}

.create-draft-request-card .create-product-row:has(input:checked) {
  background: transparent;
}

.create-request-flow .create-products-list,
.create-request-flow .create-existing-products-list {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.create-request-flow .create-product-row,
.create-request-flow .create-existing-product-row {
  padding-right: 0;
  padding-left: 0;
}

.create-draft-request-card .create-product-row:hover,
.create-request-flow .create-product-row--unavailable,
.create-request-flow .create-product-row--unavailable:hover {
  background: transparent;
  cursor: default;
}

.create-delete-request-link {
  margin: 0;
}

.create-draft-request-card .create-products-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.create-draft-request-card .create-delete-request-link,
.create-draft-request-card .create-delete-request-link:hover,
.create-draft-request-card .create-delete-request-link:focus-visible {
  margin-top: 0;
  color: #5a7299;
}

.create-product-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.create-product-image {
  width: 52px;
  height: 52px;
  border-radius: 4px;
  object-fit: cover;
}

.create-product-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.create-product-main {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.create-product-name {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create-product-name span,
.create-product-meta {
  color: var(--muted);
  font-weight: 400;
}

.create-product-price {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
}

.create-product-meta {
  font-size: 14px;
  line-height: 18px;
}

.create-products-actions {
  margin-top: 14px;
}

.create-products-note {
  max-width: 560px;
  margin: 20px 0 0;
  padding-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.create-continue-button {
  height: 38px;
  padding: 0 26px;
  font-size: 16px;
  line-height: 38px;
}

.create-continue-button .arrow-right-icon {
  width: 16px;
  height: 16px;
  background: currentColor;
}

.create-request-demo-switch select {
  width: 276px;
}

.create-existing-order {
  width: 680px;
  max-width: 100%;
}

.create-existing-order[hidden] {
  display: none;
}

.create-existing-notice {
  display: flex;
  width: 680px;
  max-width: 100%;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #b9d8f4;
  border-radius: 4px;
  background: #edf6ff;
}

.create-existing-notice-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--blue);
  mask: var(--icon-warning-line) center / contain no-repeat;
  -webkit-mask: var(--icon-warning-line) center / contain no-repeat;
}

.create-existing-notice h2 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}

.create-existing-notice p {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.create-product-row--unavailable,
.create-product-row--unavailable:hover {
  background: #f7f7f7;
  cursor: not-allowed;
}

.create-product-row--unavailable input {
  opacity: 0.45;
}

.create-product-row--unavailable .create-product-image,
.create-product-row--unavailable .create-product-name,
.create-product-row--unavailable .create-product-meta,
.create-product-row--unavailable .create-product-price {
  opacity: 0.72;
}

.create-product-row--unavailable .create-product-name {
  display: block;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.create-product-status {
  display: inline-flex;
  width: max-content;
  min-height: 20px;
  align-items: center;
  margin-top: 5px;
  padding: 1px 7px;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  background: #ffffff;
  color: var(--secondary);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.create-product-status--error {
  min-height: 26px;
  padding: 2px 8px;
  border-color: #ffd8d8;
  border-radius: 999px;
  background: #fff4f4;
  color: var(--red);
  font-size: 14px;
  line-height: 20px;
}

.create-product-explanation {
  position: relative;
  display: flex;
  max-width: 430px;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
  color: #5a7299;
  font-size: 14px;
  line-height: 20px;
}

.create-product-tooltip-trigger {
  display: inline-flex;
  align-items: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.create-product-tooltip-trigger--icon {
  width: 18px;
  height: 24px;
  flex: 0 0 18px;
  justify-content: center;
}

.create-product-tooltip-trigger--text:hover {
  color: inherit;
  text-decoration: none;
}

.create-product-tooltip-trigger:focus-visible {
  outline: 2px solid #d6e6f7;
  outline-offset: 2px;
}

.create-product-info-icon {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background: currentColor;
  mask: var(--icon-information) center / contain no-repeat;
  -webkit-mask: var(--icon-information) center / contain no-repeat;
}

.create-product-tooltip {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 50%;
  display: none;
  width: min(400px, calc(100vw - 48px));
  padding: 12px 40px 12px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  transform: translateX(-50%);
}

.create-product-tooltip::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 8px;
  content: "";
}

.create-product-tooltip > span,
.create-product-tooltip a {
  display: block;
}

.create-product-tooltip a {
  margin-top: 8px;
  color: var(--link);
  text-decoration: none;
}

.create-product-tooltip a:hover,
.create-product-tooltip a:focus-visible {
  text-decoration: underline;
}

.create-product-tooltip-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 3px;
  color: #666666;
  cursor: pointer;
}

.create-product-tooltip-close:hover,
.create-product-tooltip-close:focus-visible {
  color: var(--red);
}

.create-product-tooltip-close-icon {
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: var(--icon-close-large-line) center / contain no-repeat;
  -webkit-mask: var(--icon-close-large-line) center / contain no-repeat;
}

.create-product-explanation:hover .create-product-tooltip,
.create-product-explanation:focus-within .create-product-tooltip,
.create-product-explanation.is-open .create-product-tooltip {
  display: block;
}

.create-product-explanation.is-dismissed .create-product-tooltip {
  display: none;
}

.create-product-status--draft {
  border-color: #ead27b;
  background: #fff8d9;
  color: #806000;
}

.create-product-status--process,
.create-request-status--process {
  border-color: #b9d8f4;
  background: #edf6ff;
  color: #0e75d0;
}

.create-request-status {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #c7c7c7;
  border-radius: 3px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.create-request-status--draft {
  border-color: #ead27b;
  background: #fff8d9;
  color: #806000;
}

.create-request-status--process {
  border-color: #b9d8f4;
}

.create-request-existing-draft-page .create-request-status,
.create-request-existing-draft-page .create-product-status,
.create-request-existing-draft-page .product-status-badge {
  font-size: 14px;
}

.create-request-existing-draft-page .create-request-meta-status dt,
.create-request-existing-draft-page .create-request-meta-status dd {
  display: flex;
  align-items: center;
}

.create-request-flow .create-product-status,
.create-request-flow .create-request-status {
  border-radius: 999px;
}

.create-request-flow .create-product-status--error {
  border-radius: 99px;
}

.create-product-explanation {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 4px;
  color: #5a7299;
  font-size: 14px;
  line-height: 20px;
}

.create-product-warning-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--icon-warning-line) center / contain no-repeat;
  -webkit-mask: var(--icon-warning-line) center / contain no-repeat;
}

.create-existing-draft-card {
  margin-top: 16px;
}

.create-existing-draft-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.create-existing-draft-heading p {
  margin-bottom: 12px;
}

.create-draft-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #ead27b;
  border-radius: 3px;
  background: #fff8d9;
  color: #806000;
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.create-existing-draft-meta {
  margin: 0 0 14px;
  border: 1px solid var(--grid);
  border-radius: 4px;
  overflow: hidden;
}

.create-existing-draft-meta > div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  border-bottom: 1px solid var(--grid);
}

.create-existing-draft-meta > div:last-child {
  border-bottom: 0;
}

.create-existing-draft-meta dt,
.create-existing-draft-meta dd {
  margin: 0;
  padding: 7px 9px;
}

.create-existing-draft-meta dt {
  background: var(--table-head);
  color: var(--secondary);
}

.create-request-flow .create-existing-draft-meta dt {
  background: #ffffff;
  color: #999999;
}

.create-request-flow .create-existing-draft-meta {
  border-color: #f1f3f5;
  border-radius: 2px;
}

.create-request-flow .create-existing-draft-meta > div {
  grid-template-columns: 43% minmax(0, 1fr);
  border-color: #f1f3f5;
}

.create-request-flow .create-existing-draft-meta dt,
.create-request-flow .create-existing-draft-meta dd {
  padding: 5px 8px;
}

.create-existing-products-list {
  border: 1px solid var(--grid);
  border-radius: 4px;
  overflow: hidden;
}

.create-existing-product-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--grid);
}

.create-existing-product-row:last-child {
  border-bottom: 0;
}

.create-readonly-request-card .create-existing-product-row {
  align-items: flex-start;
}

.create-readonly-request-card .product-status-badge {
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
}

.create-product-reason {
  color: var(--secondary);
  font-size: 14px;
  line-height: 18px;
}

.create-product-reason strong {
  color: var(--text);
}

.create-view-request-button {
  margin-top: 14px;
  text-decoration: none;
}

.create-view-request-button:hover {
  text-decoration: none;
}

.create-open-draft-button {
  width: max-content;
  height: 38px;
  margin-top: 14px;
  line-height: 38px;
}

.create-open-draft-button:hover {
  text-decoration: none;
}

.draft-request-page .request-alert-badge,
.draft-request-page .decision-warning,
.draft-request-page .client-publish,
.draft-request-page .request-actions,
.draft-request-page .claim-edit-link,
.draft-request-page .admin-decision,
.draft-request-page .log-card,
.draft-request-page .request-items-table tbody tr:not([data-demo-reason="reason-1-pending"]) {
  display: none;
}

.draft-request-page .draft-summary-placeholder {
  min-height: 1px;
}

.draft-request-page .payment-location-row th {
  padding-top: 10px;
  vertical-align: top;
}

.draft-created-notice {
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.draft-request-page .request-summary {
  display: flex;
  flex-direction: column;
}

.draft-summary-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 12px;
}

.draft-summary-footer .draft-delete-request-link {
  margin-top: 0;
}

.draft-delete-request-link {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
}

.draft-delete-request-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.draft-claim-select {
  width: 100%;
  height: 30px;
  padding: 4px 30px 4px 6px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background-color: #ffffff;
  background-image: var(--icon-arrow-down);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  appearance: none;
}

.draft-request-page .claim-table tr:has([data-draft-claim-name]) th {
  vertical-align: middle;
}

.draft-request-page .claim-table tr.textarea-row:has([data-draft-claim-name]) th {
  padding-top: 9px;
  vertical-align: top;
}

.draft-request-page .claim-table tr:has(input[type="file"][data-draft-claim-name]) th {
  padding-top: 9px;
  vertical-align: top;
}

.draft-required-mark {
  margin-left: 2px;
  color: var(--red);
}

.draft-claim-field-note {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.draft-photo-guide-link {
  display: inline;
  margin-left: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
}

.draft-photo-field-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
}

.draft-photo-field-label-text,
.draft-photo-guide-link {
  flex: 0 0 auto;
}

.draft-photo-guide-link:hover,
.draft-photo-guide-link:focus-visible {
  color: var(--link);
  text-decoration: none;
  outline: none;
}

.draft-submit-card,
.draft-submit-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.draft-submit-card {
  min-height: 180px;
  align-items: center;
  justify-content: center;
}

.draft-submit-panel {
  margin-top: 18px;
  align-items: center;
}

.draft-products-error {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  gap: 4px;
  color: var(--red);
  font-size: 14px;
  line-height: 18px;
}

.draft-products-error[hidden] {
  display: none;
}

.draft-submit-confirm {
  align-self: stretch;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.draft-submit-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.draft-submit-confirm input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.draft-submit-confirm-note {
  display: block;
  margin: 7px 0 0 24px;
  color: var(--muted);
}

.draft-submit-confirm-error {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 0 24px;
  color: var(--red);
}

.draft-submit-confirm-error[hidden] {
  display: none;
}

.draft-submit-confirm.is-invalid .draft-submit-confirm-row {
  color: var(--red);
}

.draft-submit-confirm.is-invalid input {
  outline: 2px solid rgba(215, 10, 10, 0.24);
  outline-offset: 1px;
}

.draft-submit-error-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon-warning-line) center / contain no-repeat;
  -webkit-mask: var(--icon-warning-line) center / contain no-repeat;
}

.draft-submit-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.draft-submit-button.is-prompting {
  animation: draft-submit-cta-pulse 1.05s ease-in-out infinite;
}

@keyframes draft-submit-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(14, 117, 208, 0);
    transform: scale(1);
  }

  45% {
    box-shadow: 0 0 0 8px rgba(14, 117, 208, 0.18);
    transform: scale(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .draft-submit-button.is-prompting {
    animation: none;
  }
}

.draft-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.draft-submit-arrow {
  width: 18px;
  height: 14px;
  background: currentColor;
  mask: var(--icon-arrow-right-long) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-right-long) center / contain no-repeat;
}

.draft-submit-send-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon-send-plane-fill) center / contain no-repeat;
  -webkit-mask: var(--icon-send-plane-fill) center / contain no-repeat;
}

.draft-submit-card p,
.draft-submit-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.draft-claim-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.draft-claim-actions[hidden] {
  display: none;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1px;
}

.returns-table {
  width: 100%;
  min-width: 1652px;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.returns-table th,
.returns-table td {
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--grid);
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.returns-table th {
  height: 36px;
  background: var(--table-head);
  font-weight: 700;
}

.returns-table th:first-child,
.returns-table td:first-child,
.returns-table th:nth-child(8),
.returns-table td:nth-child(8) {
  padding: 0;
  overflow: visible;
  text-align: center;
  text-overflow: clip;
}

.returns-table tbody tr {
  background: #ffffff;
}

.returns-table tbody tr.highlight-order-row td {
  background: var(--highlight-order-bg);
}

.returns-table tbody tr:hover td {
  background: var(--row-hover-bg);
}

.returns-table tbody td.alert-cell,
.returns-table tbody tr.highlight-order-row td.alert-cell,
.returns-table tbody tr:hover td.alert-cell,
.request-items-table tbody td.alert-cell,
.request-items-table tr.active td.alert-cell {
  background: #f9d4d6;
}

.returns-table .right {
  text-align: right;
}

.returns-table .product-status-badge {
  min-height: 20px;
  max-width: 100%;
  padding: 1px 8px;
  overflow: hidden;
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

.product-link {
  color: inherit;
  text-decoration: none;
}

.product-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.returns-table tbody td:nth-child(16),
.returns-table tbody td:nth-child(17),
.returns-table .muted-cell {
  color: var(--secondary);
}

.note-cell {
  cursor: default;
}

.c-flag {
  width: 1.574%;
}

.c-order {
  width: 3.632%;
}

.c-request {
  width: 6.659%;
}

.c-created,
.c-submitted,
.c-request-status {
  width: 5.509%;
}

.c-tracking {
  width: 6.961%;
}

.c-alert {
  width: 1.816%;
}

.c-product {
  width: 16.647%;
}

.c-changed {
  width: 5.63%;
}

.c-al,
.c-item {
  width: 5.448%;
}

.c-shelf {
  width: 4.25%;
}

.c-price {
  width: 4.843%;
}

.c-product-status {
  width: 7.131%;
}

.c-product-note {
  width: 6.84%;
}

.c-request-note {
  width: 6.538%;
}

.flag {
  display: inline-block;
  width: 12px;
  height: 9px;
  border-radius: 1px;
  background: var(--flag) center / cover no-repeat;
  vertical-align: middle;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.flag-se {
  --flag: url("flags/se.png");
}

.flag-be {
  --flag: url("flags/be.png");
}

.flag-ee {
  --flag: url("../site_common/flags/ee.png");
}

.flag-pl {
  --flag: url("flags/pl.png");
}

.flag-fr {
  --flag: url("flags/fr.png");
}

.flag-nl {
  --flag: url("flags/nl.png");
}

.flag-de {
  --flag: url("flags/de.png");
}

.flag-dk {
  --flag: url("flags/dk.png");
}

.flag-es {
  --flag: url("flags/es.png");
}

.flag-it {
  --flag: url("flags/it.png");
}

.flag-fi {
  --flag: url("flags/fi.png");
}

.alert-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--red);
  vertical-align: -3px;
  mask: var(--icon-warning-line) center / contain no-repeat;
  -webkit-mask: var(--icon-warning-line) center / contain no-repeat;
}

.alert-tooltip {
  position: relative;
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  vertical-align: -3px;
}

.alert-tooltip-box {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  display: inline-flex;
  min-width: 230px;
  width: max-content;
  max-width: 280px;
  height: auto;
  min-height: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  visibility: hidden;
  white-space: normal;
}

.alert-tooltip-box::after {
  content: "";
  position: absolute;
  top: -5px;
  bottom: auto;
  left: 7px;
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--red);
  transform: rotate(45deg);
}

.alert-tooltip-box .alert-icon {
  width: 16px;
  height: 16px;
  background: #ffffff;
  flex: 0 0 auto;
  vertical-align: 0;
}

.alert-tooltip-box span {
  color: #ffffff;
}

.alert-tooltip:hover .alert-tooltip-box,
.alert-tooltip:focus .alert-tooltip-box,
.alert-tooltip:focus-visible .alert-tooltip-box {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.alert-tooltip:focus-visible {
  outline: 2px solid rgba(215, 10, 10, 0.28);
  outline-offset: 2px;
}

.request-page .alert-tooltip-box {
  top: calc(100% + 8px);
  bottom: auto;
  left: 0;
  min-width: 230px;
  width: max-content;
  max-width: 280px;
  height: auto;
  min-height: 0;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  transform: translateY(-4px);
  white-space: normal;
}

.request-page .alert-tooltip-box::after {
  top: -5px;
  bottom: auto;
  left: 7px;
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--red);
  transform: rotate(45deg);
}

.request-page .alert-tooltip-box .alert-icon {
  width: 16px;
  height: 16px;
  background: #ffffff;
}

.request-page .alert-tooltip-box span {
  color: #ffffff;
}

.request-page .alert-tooltip:hover .alert-tooltip-box,
.request-page .alert-tooltip:focus .alert-tooltip-box,
.request-page .alert-tooltip:focus-visible .alert-tooltip-box {
  transform: translateY(0);
}

.pagination {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 36px;
  padding-top: 12px;
}

.page-size {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  line-height: 20px;
}

.page-size button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 24px;
  padding: 2px 4px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #ffffff;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.11);
  color: var(--text);
  font-size: 14px;
}

.select-arrow {
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon-arrow-down) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-down) center / contain no-repeat;
}

.pages {
  display: flex;
  align-items: center;
  gap: 5px;
}

.pages button {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.pages .current {
  background: var(--soft-blue);
}

.pages .next::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #222222;
  border-right: 2px solid #222222;
  transform: rotate(45deg);
}

.footer-copy {
  margin-top: 34px;
  color: #ff0000;
  font-size: 14px;
  line-height: 16px;
}

.request-main {
  padding-top: 12px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 1080px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.breadcrumbs a {
  color: var(--muted);
}

.request-card {
  width: 100%;
  min-width: 1080px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 4px;
  background: #ffffff;
}

.request-summary {
  min-height: 397px;
}

.request-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 8px 20px;
}

.request-title-row h1 {
  margin: 0;
  color: var(--text);
}

.status-badge {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #d7dadd;
  border-radius: 999px;
  background: #eef0f2;
  color: #555555;
  font-size: 14px;
  line-height: 26px;
}

.status-badge.is-draft {
  border-color: #ead27b;
  background: #fff8d9;
  color: #806000;
}

.status-badge.is-new,
.status-badge.is-process {
  border-color: #b9d8f4;
  background: #edf6ff;
  color: #0e75d0;
}

.status-badge.is-cancelled {
  border-color: #d7dadd;
  background: #eef0f2;
  color: #555555;
}

.status-badge.is-complete {
  border-color: #d9dde1;
  background: #ffffff;
  color: #333333;
}

.request-status-toggle {
  border: 1px solid #d7dadd;
  cursor: pointer;
  font-family: inherit;
}

.request-alert-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid #ffd8d8;
  border-radius: 999px;
  background: #fff4f4;
  color: #d70a0a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.request-alert-badge .alert-icon {
  width: 14px;
  height: 14px;
  vertical-align: 0;
}

.request-alert-badge:hover {
  background: #ffecec;
}

.request-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.info-stack {
  min-width: 0;
}

.request-table {
  width: 100%;
  border: 1px solid #f1f3f5;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 2px;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
}

.request-table th,
.request-table td {
  min-height: 28px;
  padding: 5px 8px;
  border: 0;
  border-right: 1px solid #f1f3f5;
  border-bottom: 1px solid #f1f3f5;
  text-align: left;
  vertical-align: top;
}

.request-table tr:last-child th,
.request-table tr:last-child td {
  border-bottom: 0;
}

.request-table th:last-child,
.request-table td:last-child {
  border-right: 0;
}

.request-table th {
  width: 43%;
  color: #999999;
  font-weight: 400;
}

.request-table td {
  color: var(--text);
}

.payment-method-demo-toggle {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}

.payment-method-demo-toggle:focus-visible {
  outline: 2px solid #1266b2;
  outline-offset: 2px;
}

.payment-stack.is-paypal .payment-method-row th,
.payment-stack.is-paypal .payment-method-row td {
  border-bottom: 0;
}

.payment-stack.has-no-payment-details .payment-requirement-row th,
.payment-stack.has-no-payment-details .payment-requirement-row td {
  border-bottom: 0;
}

.payment-stack.is-balance .payment-balance-note-row th,
.payment-stack.is-balance .payment-balance-note-row td {
  border-bottom: 0;
}

.request-edit-field,
.edit-only-row,
.payment-edit-note {
  display: none;
}

.request-summary.is-editing .request-view {
  display: none;
}

.request-summary.is-editing .request-edit-field,
.request-summary.is-editing .payment-edit-note {
  display: block;
}

.request-summary:not(.is-editing) .request-note-actions {
  display: none;
}

.request-summary.is-editing a.request-edit-field {
  display: inline-flex;
}

.request-summary.is-editing .payment-location-edit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-location-edit .request-edit-select {
  width: 100%;
}

.payment-location-edit .request-edit-input {
  width: 100%;
}

.request-summary.is-editing .edit-only-row {
  display: table-row;
}

.request-summary.is-editing .edit-only-row[hidden] {
  display: none;
}

.payment-edit-note {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.request-edit-input,
.request-edit-select,
.request-edit-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  background-color: #ffffff;
  color: var(--text);
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.11);
  font: inherit;
  font-size: 14px;
}

.request-edit-input,
.request-edit-select {
  height: 30px;
  padding: 4px 6px;
}

.request-summary.is-editing .request-table tr:has(.request-edit-input) th,
.request-summary.is-editing .request-table tr:has(.request-edit-select) th,
.decision-table tr:has(.decision-select) th {
  vertical-align: middle;
}

.request-summary.is-editing .request-table tr.payment-location-row th {
  padding-top: 10px;
  vertical-align: top;
}

.request-edit-select {
  appearance: none;
  padding-right: 30px;
  background-image: var(--icon-arrow-down);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}

.request-edit-textarea {
  min-height: 60px;
  padding: 8px;
  resize: vertical;
}

.tracking-link-view {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-table {
  table-layout: fixed;
}

.tracking-table td {
  min-width: 0;
  overflow: hidden;
}

.tracking-demo-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  text-align: left;
}

.tracking-table:not(.is-demo-empty) [data-tracking-demo-empty],
.tracking-table.is-demo-empty [data-tracking-demo-filled],
.tracking-table.is-demo-empty [data-tracking-demo-dependent] {
  display: none !important;
}

.tracking-table.is-demo-empty [data-tracking-demo-empty] {
  display: inline !important;
}

.tracking-table.is-demo-empty .tracking-demo-localization-empty {
  display: flex !important;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tracking-table.is-demo-empty .tracking-demo-localization-empty .inline-arrow-link {
  color: var(--text);
}

.localized-method-view {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 18px;
}

.localized-method-edit {
  line-height: 18px;
}

.request-summary.is-editing .localized-method-edit {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.localized-method-view > span,
.localized-method-edit > span,
.tracking-demo-localization-empty > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--link);
  vertical-align: baseline;
}

.localized-method-view .inline-arrow-link,
.localized-method-edit .inline-arrow-link,
.tracking-demo-localization-empty .inline-arrow-link {
  flex: 0 0 auto;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.localized-method-view .inline-arrow-link:hover,
.localized-method-edit .inline-arrow-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.inline-arrow-link .arrow-right-icon {
  width: 14px;
  height: 14px;
}

.tracking-table th {
  width: 34%;
}

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

.flag-jp {
  position: relative;
  background: #ffffff;
}

.flag-jp::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d3002b;
  transform: translate(-50%, -50%);
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.external-link::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: var(--icon-external) center / contain no-repeat;
  -webkit-mask: var(--icon-external) center / contain no-repeat;
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 22px 0 13px 0;
}

.request-edit-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.request-cancel-edit-button {
  display: none;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.request-summary.is-editing .request-cancel-edit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.request-cancel-edit-button:hover {
  background: #edf6ff;
}

.request-summary.is-editing .edit-request-button {
  min-height: 40px;
  border: 0;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.request-summary.is-editing .edit-request-button .edit-icon {
  display: none;
}

.outline-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
}

.outline-button {
  gap: 8px;
  min-height: 40px;
  padding: 8px 24px;
  border: 1px solid #0075db;
  background: #ffffff;
  color: #006dbc;
  cursor: pointer;
}

.outline-button.small {
  min-height: 34px;
  padding: 6px 16px;
}

.edit-icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--icon-edit) center / contain no-repeat;
  -webkit-mask: var(--icon-edit) center / contain no-repeat;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
}

.credit-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.arrow-right-icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
}

.section-title {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.section-title span {
  color: var(--muted);
  font-weight: 400;
}

.products-card {
  min-width: 1120px;
  min-height: 962px;
  padding: 18px 16px;
}

.products-card .section-title {
  margin-bottom: 14px;
}

.products-heading-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.products-heading-row .section-title {
  margin: 0;
}

.products-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
}

.products-edit-link:hover {
  text-decoration: underline;
}

.products-edit-link .edit-icon {
  width: 13px;
  height: 13px;
}

.products-layout {
  display: grid;
  grid-template-columns: clamp(360px, 32vw, 466px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.request-items {
  min-width: 0;
}

.product-rows-page .products-layout {
  grid-template-columns: 326px minmax(0, 1fr);
}

.request-items-list {
  overflow: hidden;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
}

.request-item-row {
  display: grid;
  width: 100%;
  min-height: 112px;
  grid-template-columns: 18px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto;
  align-items: start;
  column-gap: 10px;
  row-gap: 4px;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--grid);
  background: #ffffff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
}

.request-item-row:last-child {
  border-bottom: 0;
}

.request-item-row:hover {
  background: #f7f9fb;
}

.request-item-row.active {
  background: var(--soft-blue);
}

.request-item-row-alert {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  min-width: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.request-item-row-name,
.request-item-row-item,
.request-item-row-reason {
  min-width: 0;
}

.request-item-row-name {
  grid-column: 2;
  grid-row: 1;
  font-weight: 500;
}

.request-item-row-reason {
  grid-column: 2;
  grid-row: 3;
  color: var(--text);
}

.request-item-row-item {
  grid-column: 2;
  grid-row: 2;
  color: var(--muted);
}

.request-item-row .product-status-badge {
  grid-column: 2;
  grid-row: 4;
  justify-self: start;
  white-space: nowrap;
}

.processing-delete-request-link {
  margin-top: 0;
  margin-left: auto;
}

.request-item-row .alert-tooltip,
.request-item-row .alert-icon {
  width: 14px;
  height: 14px;
}

.request-item-row .alert-tooltip {
  display: block;
  overflow: visible;
}

.request-item-row .alert-tooltip-box {
  white-space: normal;
}

.request-items-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid var(--grid);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  overflow: hidden;
}

.request-items-table th,
.request-items-table td {
  border: 1px solid var(--grid);
  border-top: 0;
  border-left: 0;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  vertical-align: top;
}

.request-items-table th:last-child,
.request-items-table td:last-child {
  border-right: 0;
}

.request-items-table tbody tr:last-child td {
  border-bottom: 0;
}

.request-items-table th {
  height: 30px;
  padding: 6px 8px;
  background: #e7e7e7;
  font-weight: 700;
  white-space: nowrap;
}

.request-items-table th:first-child,
.request-items-table td:first-child {
  width: 22px;
  overflow: visible;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.request-items-table th:nth-child(2),
.request-items-table td:nth-child(2) {
  width: 146px;
}

.processing-request-page .request-items-table th:nth-child(2),
.processing-request-page .request-items-table td:nth-child(2) {
  width: 190px;
}

.request-items-table td {
  height: 52px;
  padding: 6px 8px;
  background: #ffffff;
}

.request-items-table tr.active td {
  background: var(--soft-blue);
}

.request-items-table tbody tr {
  cursor: pointer;
}

.request-items-table strong,
.request-items-table span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-items-table strong {
  font-weight: 400;
}

.request-items-table span,
.request-items-table th span {
  color: var(--muted);
}

.request-items-table td:nth-child(2) span {
  color: var(--text);
}

.request-items-table .product-status-badge {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  margin-top: 3px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.request-items-table td:nth-child(2) .product-status-badge.is-rejected,
.request-items-table td:nth-child(2) .product-status-badge.is-problem {
  color: #d70a0a;
}

.request-items-table td:nth-child(2) .product-status-badge.is-cancelled,
.request-items-table td:nth-child(2) .product-status-badge.is-waiting,
.request-items-table td:nth-child(2) .product-status-badge.is-unconfirmed {
  color: #555555;
}

.request-items-table td:nth-child(2) .product-status-badge.is-examination {
  color: #333333;
}

.request-items-table td:nth-child(2) .product-status-badge.is-approved {
  color: #0e75d0;
}

.request-items-table td:nth-child(2) .product-status-badge.is-pending {
  color: #806000;
}

.request-items-table td:nth-child(2) .product-status-badge.is-credit {
  color: #1e7d1e;
}

.draft-request-page .draft-completion-badge {
  display: inline-flex;
  width: auto;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 20px;
  text-overflow: clip;
  white-space: nowrap;
}

.draft-request-page .draft-completion-badge.is-fill {
  border-color: #ffd8d8;
  background: #fff4f4;
  color: #d70a0a;
}

.draft-request-page .draft-completion-badge.is-ready {
  border-color: #dbeadb;
  background: #edf5ed;
  color: #1e7d1e;
}

.draft-request-page .draft-request-item-row .draft-completion-badge {
  grid-column: 2;
  grid-row: 4;
  justify-self: start;
}

.draft-request-page .draft-products-table th:first-child,
.draft-request-page .draft-products-table td:first-child {
  width: 146px;
  padding: 6px 8px;
  overflow: hidden;
  text-align: left;
  vertical-align: top;
}

.draft-request-page .draft-products-table th:nth-child(2),
.draft-request-page .draft-products-table td:nth-child(2) {
  width: auto;
}

.request-items-table .alert-icon,
.decision-warning .alert-icon {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}

.request-items-table .alert-tooltip,
.decision-warning .alert-tooltip {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  overflow: visible;
  text-overflow: clip;
  vertical-align: middle;
  white-space: normal;
}

.request-items-table td:first-child .alert-tooltip {
  display: block;
  margin: 0 auto;
}

.request-items-table tbody td:first-child {
  padding-top: 7px;
  vertical-align: top;
}

.request-items-table .alert-tooltip-box .alert-icon,
.decision-warning .alert-tooltip-box .alert-icon {
  width: 18px;
  height: 18px;
}

.request-items-table .alert-tooltip-box,
.decision-warning .alert-tooltip-box {
  display: inline-flex;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.request-items-table .alert-tooltip-box span,
.decision-warning .alert-tooltip-box span {
  display: inline;
  overflow: visible;
  color: var(--red);
  text-overflow: clip;
}

.request-items-table .alert-tooltip-box .alert-icon,
.decision-warning .alert-tooltip-box .alert-icon {
  display: inline-block;
}

.request-page .request-items-table .alert-tooltip-box .alert-icon,
.request-page .decision-warning .alert-tooltip-box .alert-icon {
  width: 16px;
  height: 16px;
  background: #ffffff;
}

.request-page .request-items-table .alert-tooltip-box span,
.request-page .decision-warning .alert-tooltip-box span {
  color: #ffffff;
}

.request-page .request-items-table .alert-tooltip-box,
.request-page .decision-warning .alert-tooltip-box {
  white-space: normal;
}

.decision-warning {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 5px;
  background: #f9d4d6;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
  text-align: center;
}

button.decision-warning {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

button.decision-warning > .alert-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.decision-warning.is-products-incomplete {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.decision-warning.is-products-incomplete > .alert-icon {
  margin-top: 1px;
}

.decision-warning[hidden] {
  display: none;
}

.decision-warning > span:last-child {
  color: var(--red);
}

.client-publish {
  margin-top: 14px;
}

.client-publish[data-publish-state="idle"] .publish-form,
.client-publish[data-publish-state="idle"] .publish-success,
.client-publish[data-publish-state="form"] .publish-start,
.client-publish[data-publish-state="form"] .publish-success,
.client-publish[data-publish-state="sent"] .publish-start,
.client-publish[data-publish-state="sent"] .publish-form {
  display: none;
}

.publish-start {
  display: flex;
  justify-content: center;
  padding: 8px 8px 2px;
}

.publish-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
}

.publish-button:disabled {
  background: #d7d7d7;
  color: #777777;
  cursor: not-allowed;
}

.publish-start .publish-button {
  width: auto;
}

.publish-mail-icon,
.publish-check-icon {
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
}

.publish-mail-icon {
  width: 16px;
  height: 16px;
  mask: var(--icon-mail-send) center / contain no-repeat;
  -webkit-mask: var(--icon-mail-send) center / contain no-repeat;
}

.publish-form {
  padding: 14px 10px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 5px;
  background: #ffffff;
}

.publish-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.publish-form-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.publish-form-copy {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.publish-close-button {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.publish-close-icon {
  display: block;
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--icon-close-large-line) center / contain no-repeat;
  -webkit-mask: var(--icon-close-large-line) center / contain no-repeat;
}

.publish-field {
  display: block;
  margin-bottom: 10px;
}

.publish-field span {
  display: block;
  margin: 0 0 2px;
  color: #9b9b9b;
  font-size: 14px;
  line-height: 20px;
}

.publish-field input {
  width: 100%;
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #c9c9c9;
  border-radius: 2px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.publish-form .publish-button {
  display: flex;
  width: auto;
  min-height: 40px;
  margin: 14px auto 0;
}

.publish-success {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  background: #d9f2d8;
  color: #2c7a32;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.publish-check-icon {
  width: 16px;
  height: 16px;
  background: #2c7a32;
  mask: var(--icon-mail-check-fill) center / contain no-repeat;
  -webkit-mask: var(--icon-mail-check-fill) center / contain no-repeat;
}

.publish-check-icon::before {
  content: none;
}

.communication-log {
  margin-top: 14px;
}

.communication-log[hidden] {
  display: none;
}

.communication-log h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.publication-log-list {
  overflow: hidden;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
}

.publication-log-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px;
  border-bottom: 1px solid var(--grid);
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.publication-log-row:last-child {
  border-bottom: 0;
}

.publication-log-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  overflow-wrap: anywhere;
}

.publication-log-details > span {
  color: var(--muted);
}

.communication-result {
  display: inline-flex;
  min-height: 22px;
  width: max-content;
  max-width: 100%;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.communication-result.is-delivered {
  border-color: #dbeadb;
  background: #edf5ed;
  color: #1e7d1e;
}

.communication-result.is-failed {
  border-color: #ffd8d8;
  background: #fff4f4;
  color: #d70a0a;
}

.publication-log-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
}

.product-workspace {
  min-width: 0;
  min-height: 894px;
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #ffffff;
}

.product-top-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-gallery {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
}

.product-gallery img {
  display: block;
  width: 92px;
  height: 74px;
  cursor: pointer;
  object-fit: contain;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.product-gallery img:hover {
  box-shadow: 0 0 0 2px var(--link);
  transform: translateY(-1px);
}

.claim-card h3,
.decision-head h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.claim-title-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

.claim-title-note[hidden] {
  display: none;
}

.claim-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--link);
  font-size: 14px;
  line-height: 18px;
}

.claim-edit-link[hidden] {
  display: none;
}

.claim-edit-link .edit-icon {
  width: 14px;
  height: 14px;
  background: currentColor;
}

.claim-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.claim-form-actions[hidden] {
  display: none;
}

.claim-table td.is-claim-editable {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #b6b6b6;
  outline: none;
}

.product-data-title-row {
  display: flex;
  min-height: 20px;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
}

.product-data-title-row h3 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.draft-request-page .product-data-title-row .draft-completion-badge {
  margin-top: 0;
  font-size: 14px;
}

.product-status-badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
}

.product-status-badge.is-cancelled,
.product-status-badge.is-waiting,
.product-status-badge.is-unconfirmed {
  border-color: #d7dadd;
  background: #eef0f2;
  color: #555555;
}

.product-status-badge.is-rejected,
.product-status-badge.is-problem {
  border-color: #ffd8d8;
  background: #fff4f4;
  color: #d70a0a;
}

.product-status-badge.is-examination {
  border-color: #d9dde1;
  background: #ffffff;
  color: #333333;
}

.product-status-badge.is-approved {
  border-color: #b9d8f4;
  background: #edf6ff;
  color: #0e75d0;
}

.product-status-badge.is-pending {
  border-color: #ead27b;
  background: #fff8d9;
  color: #806000;
}

.product-status-badge.is-credit {
  border-color: #dbeadb;
  background: #edf5ed;
  color: #1e7d1e;
}

.detail-table th {
  width: 23%;
}

.detail-table .textarea-row th {
  width: 23%;
}

.claim-table th {
  width: 32%;
}

.claim-table td,
.claim-table th {
  line-height: 20px;
}

.claim-table tr:first-child th {
  vertical-align: middle;
}

.claim-table.is-marking-problems td {
  position: relative;
  padding-right: 42px;
}

.claim-problem-toggle {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.claim-problem-toggle input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.decision-checkbox-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
}

.claim-table.is-marking-problems td:has(.claim-problem-toggle input:checked) {
  box-shadow: inset 0 0 0 2px var(--red);
}

.claim-table td.is-saved-problem {
  box-shadow: inset 0 0 0 2px var(--red);
}

.claim-table td.is-vin-mismatch {
  background: transparent;
}

.vin-check-value {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vin-check-meta {
  display: contents;
}

.vin-check-badge {
  display: inline-flex;
  max-width: 100%;
  min-height: 22px;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid #dbeadb;
  border-radius: 999px;
  background: #edf5ed;
  color: #1e7d1e;
  font-size: 14px;
  line-height: 18px;
  white-space: normal;
}

.vin-check-badge.is-mismatch {
  border-color: #ffd8d8;
  background: #fff4f4;
  color: #d70a0a;
}

.vin-check-link {
  color: var(--link);
  white-space: nowrap;
}

@container (max-width: 920px) {
  .vin-check-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .vin-check-meta {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
}

.claim-reason-value {
  font-weight: 700;
}

.claim-comment-original {
  margin: 0;
}

.claim-translation {
  margin-top: 4px;
}

.claim-translate-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  line-height: 18px;
}

.claim-translate-button:hover {
  text-decoration: underline;
}

.claim-translate-button.is-retranslate {
  color: var(--secondary);
}

.translate-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon-translate) center / contain no-repeat;
  -webkit-mask: var(--icon-translate) center / contain no-repeat;
}

.claim-translation-text {
  margin: 4px 0 0;
}

.claim-translation-text[hidden] {
  display: none;
}

.claim-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.claim-photos img {
  display: block;
  width: 98px;
  height: 98px;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}

.claim-photos img:hover {
  box-shadow: 0 0 0 2px var(--link);
  transform: translateY(-1px);
}

.claim-documents {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.claim-document {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: var(--link);
  text-decoration: none;
}

.claim-document:hover {
  text-decoration: underline;
}

.document-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
}

.document-icon.pdf {
  mask: var(--icon-pdf) center / contain no-repeat;
  -webkit-mask: var(--icon-pdf) center / contain no-repeat;
}

.document-icon.word {
  mask: var(--icon-word) center / contain no-repeat;
  -webkit-mask: var(--icon-word) center / contain no-repeat;
}

.claim-document span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.editable-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.editable-photo {
  position: relative;
  display: inline-block;
}

.editable-photo img {
  display: block;
  width: 150px;
  height: 110px;
  border-radius: 4px;
  object-fit: cover;
  transition: box-shadow 0.12s ease;
}

.editable-photo .media-remove-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  color: #ffffff;
  opacity: 0.78;
}

.editable-photo .media-remove-button::before {
  width: 22px;
  height: 22px;
  mask: var(--icon-close-circle) center / contain no-repeat;
  -webkit-mask: var(--icon-close-circle) center / contain no-repeat;
}

.editable-photo .media-remove-button:hover {
  color: var(--red);
  opacity: 1;
}

.editable-photo:has(.media-remove-button:hover) img {
  box-shadow: 0 0 0 2px var(--red);
}

.editable-documents {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.editable-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 12px;
  align-items: center;
}

.media-remove-button {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
}

.media-remove-button::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon-close-large-line) center / contain no-repeat;
  -webkit-mask: var(--icon-close-large-line) center / contain no-repeat;
}

.media-remove-button:hover {
  color: var(--red);
}

.editable-document-row:has(.media-remove-button:hover) .claim-document,
.editable-document-row:has(.media-remove-button:hover) .document-icon,
.editable-document-row:has(.media-remove-button:hover) .claim-document span {
  color: var(--red);
}

textarea {
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 8px;
  resize: vertical;
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
}

textarea::placeholder {
  color: #a9a9ac;
}

.textarea-note-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.draft-request-page .textarea-note-actions {
  justify-content: flex-start;
}

.processing-request-page .product-data .textarea-note-actions {
  justify-content: flex-start;
}

.error-demo-page .product-data .textarea-note-actions {
  justify-content: flex-start;
}

.textarea-note-actions .outline-button {
  background: #ffffff;
}

.product-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 14px;
  margin-top: 24px;
}

.product-bottom-grid .request-table {
  table-layout: fixed;
}

.claim-card,
.admin-decision {
  min-width: 0;
}

.claim-card {
  container-type: inline-size;
}

.decision-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.decision-help-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}

.admin-decision.is-cancelled .decision-help-link {
  display: none;
}

.decision-help-link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon-question) center / contain no-repeat;
  -webkit-mask: var(--icon-question) center / contain no-repeat;
}

.decision-help-link:hover {
  color: var(--link);
  text-decoration: underline;
}

.decision-select {
  width: 100%;
  height: 31px;
  padding: 4px 32px 4px 8px;
  appearance: none;
  border: 1px solid var(--border);
  background-color: #ffffff;
  background-image: var(--icon-arrow-down);
  background-position: right 7px center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  color: var(--text);
  font: inherit;
}

.decision-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  line-height: 18px;
}

.decision-checkbox-row.is-invalid {
  color: var(--red);
}

.decision-checkbox-row.is-invalid input {
  appearance: none;
  display: inline-grid;
  place-content: center;
  border: 1px solid var(--red);
  border-radius: 3px;
  background: #ffffff;
}

.decision-checkbox-row.is-invalid input::before {
  content: "";
  width: 8px;
  height: 8px;
  transform: scale(0);
  background: var(--red);
}

.decision-checkbox-row.is-invalid input:checked::before {
  transform: scale(1);
}

.decision-table th {
  width: 32%;
}

.decision-extra-row[hidden] {
  display: none;
}

.decision-editable[hidden],
.decision-readonly[hidden],
.decision-data-problem-editable[hidden],
.decision-rejected-editable[hidden] {
  display: none;
}

.decision-muted-cell {
  color: var(--secondary);
  line-height: 18px;
}

.decision-table .textarea-row.compact textarea {
  min-height: 76px;
  margin-top: 5px;
}

[data-decision-comment-hint][hidden] {
  display: none;
}

.decision-table .translated-row textarea {
  min-height: 73px;
  margin-top: 6px;
}

.hint {
  display: block;
  color: var(--muted);
}

.hint.is-required {
  color: var(--text);
}

.upload-link,
.translate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  text-decoration: none;
}

.upload-link:hover,
.translate-link:hover {
  text-decoration: underline;
}

.file-upload-link {
  cursor: pointer;
}

.file-upload-link input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.credit-account-notice {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  background: #edf5ed;
  color: #1e7d1e;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.credit-account-notice a {
  color: #0f6f21;
}

.credit-account-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: #2c7a32;
  mask: var(--icon-bill) center / contain no-repeat;
  -webkit-mask: var(--icon-bill) center / contain no-repeat;
}

.decision-notification-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.decision-approved-readonly tr:has(.decision-notification-status.is-alert) > th,
.decision-approved-readonly tr:has(.decision-notification-status.is-alert) > td,
.decision-waiting-readonly tr:has(.decision-notification-status.is-alert) > th,
.decision-waiting-readonly tr:has(.decision-notification-status.is-alert) > td {
  vertical-align: middle;
}

.decision-notification-status.is-alert {
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #ffd8d8;
  border-radius: 999px;
  background: #fff4f4;
  color: #d70a0a;
  font-weight: 500;
}

.decision-notification-status.is-success {
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #b9d8f4;
  border-radius: 999px;
  background: #edf6ff;
  color: #0e75d0;
  font-weight: 500;
}

.decision-alert-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: var(--red);
  mask: var(--icon-warning-line) center / contain no-repeat;
  -webkit-mask: var(--icon-warning-line) center / contain no-repeat;
}

.decision-notification-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.decision-notification-status .alert-icon {
  width: 16px;
  height: 16px;
}

.decision-success-icon,
.decision-deadline-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.decision-success-icon {
  background: #1e7d1e;
  mask: var(--icon-mail-check-fill) center / contain no-repeat;
  -webkit-mask: var(--icon-mail-check-fill) center / contain no-repeat;
}

.decision-success-icon::before {
  content: none;
}

.decision-deadline-icon {
  background: #555555;
  mask: var(--icon-calendar) center / contain no-repeat;
  -webkit-mask: var(--icon-calendar) center / contain no-repeat;
}

.decision-notification-status.is-deadline {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.decision-deadline-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid #d7dadd;
  border-radius: 999px;
  background: #eef0f2;
  color: #555555;
  font-weight: 500;
}

.decision-notification-status.is-deadline strong {
  display: block;
  margin-top: 0;
  white-space: nowrap;
}

.decision-readonly-table .claim-documents {
  gap: 8px;
}

.decision-readonly-table .document-icon {
  width: 24px;
  height: 24px;
}

.readonly-comment-text {
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.readonly-translate-label {
  margin: 6px 0 4px;
  color: var(--link);
}

.decision-readonly-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

.decision-locked-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.cancelled-decision-notice {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  background: #dedede;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.decision-cancelled-with-history .cancelled-decision-notice {
  margin-top: 12px;
}

.decision-edit-button {
  min-width: 240px;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
}

.translated-row p {
  margin: 7px 0 0;
}

.decision-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-right: 8px;
  pointer-events: none;
}

.decision-action-buttons {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.processing-request-page .decision-action {
  justify-content: flex-start;
  padding-right: 0;
}

.error-demo-page .decision-action {
  justify-content: flex-start;
  padding-right: 0;
}

.error-demo-page .decision-table tr[data-decision-field="decision"] th,
.error-demo-page .request-summary.is-editing .request-table tr[data-delivery-name-row] th {
  padding-top: 12px;
  vertical-align: top;
}

.form-cancel-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  pointer-events: auto;
}

.form-cancel-button[hidden] {
  display: none;
}

.form-cancel-button:hover {
  background: #edf6ff;
}

.decision-publication-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}

.decision-help-modal[hidden] {
  display: none;
}

.decision-help-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
}

.decision-help-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.decision-help-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(720px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 28px 24px 22px;
  overflow: auto;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
  color: #111111;
  transform: translate(-50%, -50%);
}

.decision-help-dialog h2 {
  margin: 0 28px 14px 0;
  font-size: 24px;
  line-height: 30px;
}

.decision-help-content {
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.decision-help-section + .decision-help-section {
  margin-top: 20px;
}

.decision-help-section h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
}

.decision-help-section p {
  margin: 0 0 6px;
  font-weight: 400;
}

.decision-help-content ul {
  margin: 0 0 0 22px;
  padding: 0;
}

.decision-help-content li + li {
  margin-top: 4px;
}

.decision-help-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  cursor: pointer;
}

.decision-help-close-icon {
  display: block;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon-close-large) center / contain no-repeat;
  -webkit-mask: var(--icon-close-large) center / contain no-repeat;
}

.decision-help-ok {
  display: flex;
  min-width: 162px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
}

.primary-button {
  min-width: 119px;
  min-height: 41px;
  padding: 9px 22px;
  border: 0;
  background: #0d78d7;
  color: #ffffff;
  pointer-events: auto;
}

.log-card {
  min-height: 260px;
  padding: 18px 12px;
}

.log-load-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 20px;
}

.log-load-more::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  background: currentColor;
  mask: var(--icon-arrow-down-line) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-down-line) center / contain no-repeat;
}

.log-load-more:hover {
  color: var(--link);
}

.error-demo-page .request-items-table tbody tr:not([data-demo-reason="reason-1-pending"]) {
  display: none;
}

.error-demo-page input.is-invalid,
.error-demo-page select.is-invalid,
.error-demo-page textarea.is-invalid {
  border-color: var(--red) !important;
  box-shadow: inset 0 0 0 1px rgba(215, 10, 10, 0.18), inset 0 1px 3px rgba(215, 10, 10, 0.12);
}

.error-demo-page select.is-invalid {
  color: var(--red);
}

.error-demo-page .field-error,
.error-demo-page .publish-field .field-error {
  display: block;
  margin: 4px 0 0;
  color: var(--red);
  font-size: 14px;
  line-height: 18px;
}

.error-demo-page .translation-error {
  margin-top: 5px;
}

.log-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.log-table {
  width: 100%;
  min-width: 1960px;
  table-layout: fixed;
  border-collapse: collapse;
  color: var(--secondary);
  font-size: 14px;
  line-height: 20px;
}

.log-table th,
.log-table td {
  padding: 6px 7px;
  border: 1px solid var(--grid);
  text-align: left;
  vertical-align: top;
}

.log-table th {
  background: var(--table-head);
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.log-table tbody tr:nth-child(even) td {
  background: var(--highlight-order-bg);
}

.log-table tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.log-table td {
  color: var(--secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-table .muted-cell {
  color: var(--secondary);
}

.log-table td:not(:nth-child(8)) {
  white-space: nowrap;
}

.log-table td:nth-child(8) {
  overflow: visible;
}

.log-change-line {
  position: relative;
  margin-bottom: 7px;
  outline: 1px solid transparent;
  outline-offset: 1px;
  white-space: normal;
}

.log-change-line:last-child {
  margin-bottom: 0;
}

.log-change-line:hover,
.log-change-line:focus-within {
  outline-color: #1f6fff;
}

.log-change-field,
.log-new-value {
  color: var(--text);
}

.log-change-field {
  font-weight: 500;
}

.log-empty-value,
.log-old-value {
  color: var(--secondary);
}

.log-change-arrow {
  display: inline-block;
  width: 22px;
  height: 14px;
  margin: 0 6px;
  vertical-align: -2px;
  background: var(--secondary);
  mask: var(--icon-arrow-right-long) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-right-long) center / contain no-repeat;
}

.log-change-tooltip {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  display: none;
  width: 430px;
  max-width: min(430px, calc(100vw - 48px));
  padding: 12px 14px;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: var(--secondary);
  font-size: 14px;
  line-height: 18px;
  white-space: normal;
}

.log-change-line:hover .log-change-tooltip,
.log-change-line:focus-within .log-change-tooltip {
  display: block;
}

.log-change-tooltip p {
  margin: 0 0 12px;
}

.log-change-tooltip p:last-child {
  margin-bottom: 0;
}

.log-change-tooltip strong {
  color: var(--secondary);
  font-weight: 700;
}

.log-change-tooltip .log-tooltip-field,
.log-change-tooltip .log-tooltip-new {
  color: var(--text);
}

.log-change-tooltip .log-tooltip-empty {
  color: var(--secondary);
}

.log-id {
  width: 42px;
}

.log-date {
  width: 150px;
}

.log-user {
  width: 136px;
}

.log-level {
  width: 86px;
}

.log-event {
  width: 360px;
}

.log-al {
  width: 112px;
}

.log-item {
  width: 104px;
}

.log-changes {
  width: auto;
}

.log-status {
  width: 180px;
}

.log-request-status {
  width: 150px;
}

.draft-delete-modal[hidden] {
  display: none;
}

.draft-delete-modal {
  position: fixed;
  z-index: 140;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
}

.draft-delete-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 247, 239, 0.82);
}

.draft-delete-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(520px, 100%);
  gap: 16px;
  padding: 24px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  color: var(--text);
}

.draft-delete-header {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 12px;
}

.draft-delete-header h2 {
  flex: 1 1 auto;
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.draft-delete-close {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
}

.draft-delete-close-icon {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: var(--icon-close-large-line) center / contain no-repeat;
  -webkit-mask: var(--icon-close-large-line) center / contain no-repeat;
}

.draft-delete-dialog p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
}

.draft-delete-footer {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.draft-delete-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

.draft-delete-button-secondary {
  border: 1px solid var(--link);
  background: #ffffff;
  color: var(--link);
}

.draft-photo-guide-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.draft-photo-guide-header {
  align-items: flex-start;
}

.draft-photo-guide-heading {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 6px;
}

.draft-photo-guide-dialog .draft-delete-close {
  color: var(--secondary);
}

.draft-photo-guide-reason-switch {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-align: left;
}

.draft-photo-guide-reason-switch:hover > span:first-child,
.draft-photo-guide-reason-switch:focus-visible > span:first-child {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.draft-photo-guide-reason-switch:focus-visible {
  outline: none;
}

.draft-photo-guide-reason-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  mask: var(--icon-arrow-right-long) center / contain no-repeat;
  -webkit-mask: var(--icon-arrow-right-long) center / contain no-repeat;
}

.draft-photo-guide-content {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding-right: 4px;
}

.draft-photo-guide-section {
  display: grid;
  gap: 6px;
}

.draft-photo-guide-section + .draft-photo-guide-section {
  padding-top: 14px;
  border-top: 1px solid #e6e6e6;
}

.draft-photo-guide-section.is-highlighted {
  padding: 14px;
  border-radius: 3px;
  background: #f1f3f5;
}

.draft-photo-guide-section h3,
.draft-photo-guide-section p,
.draft-photo-guide-section ul {
  margin: 0;
}

.draft-photo-guide-section h3 {
  font-size: 15px;
  line-height: 20px;
}

.draft-photo-guide-dialog .draft-photo-guide-section p,
.draft-photo-guide-section li {
  font-size: 14px;
  line-height: 20px;
}

.draft-photo-guide-section ul {
  display: grid;
  gap: 3px;
  padding-left: 20px;
}

.draft-photo-guide-dialog .draft-photo-guide-note {
  color: #5a5a5a;
  font-weight: 600;
}

.draft-delete-button-secondary:hover {
  background: #f0f7fd;
}

.draft-delete-button-danger {
  background: var(--red);
  color: #ffffff;
}

.draft-delete-button-danger:hover {
  background: #b90808;
}

[data-saved-decision-row] > th,
[data-saved-decision-row] > td {
  vertical-align: middle;
}

.error-demo-page .decision-editable.is-saved-decision-editing .field-error {
  display: none;
}

.error-demo-page .decision-editable.is-saved-decision-editing .is-invalid {
  border-color: var(--border) !important;
  color: var(--text);
  box-shadow: none;
}
