:root {
  --green: #144c33;
  --green-dark: #0f3b28;
  --green-soft: #ddefe5;
  --green-pale: #f6fbf8;
  --ink: #202124;
  --muted: #68736d;
  --line: #dadddc;
  --background: #f6f8f7;
  --white: #fff;
  --error: #b91c1c;
  --error-soft: #fff1f1;
  --shadow: 0 18px 55px rgba(15, 59, 40, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(221, 239, 229, 0.8), transparent 33rem),
    var(--background);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50% 50% 50% 14px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.secure-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.order-context {
  display: grid;
  gap: 3px;
  justify-items: end;
  text-align: right;
}

.public-version {
  color: var(--muted);
  font-size: 12px;
}

.public-version strong {
  color: var(--green-dark);
}

.page {
  display: grid;
  min-height: calc(100vh - 112px);
  padding: clamp(20px, 4vh, 48px) 24px 40px;
  place-items: start center;
}

.application {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  width: min(1060px, 100%);
}

.intro {
  max-width: 470px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.15;
}

.lead {
  max-width: 42ch;
  margin: 20px 0 0;
  color: #46534d;
  font-size: 17px;
}

.leader-route-note {
  display: grid;
  gap: 14px;
  max-width: 100%;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: var(--green-pale);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.leader-route-note p {
  margin: 0;
}

.leader-route-note .leader-route-heading { display: block; margin-bottom: 2px; font-size: 18px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.steps li::before {
  grid-column: 1 / -1;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #d4ddd8;
  content: "";
}

.steps li.is-current::before,
.steps li.is-complete::before {
  background: var(--green);
}

.steps span {
  display: none;
}

.steps strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.steps .is-current,
.steps .is-complete {
  color: var(--green-dark);
}

.form-column {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.link-check {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.global-message {
  margin: 0 0 12px;
  padding: 13px 15px;
  border: 1px solid #f0b9b9;
  border-radius: 12px;
  background: var(--error-soft);
  color: var(--error);
  font-size: 14px;
  font-weight: 700;
}

.order-card,
.state-card {
  padding: clamp(24px, 3.1vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.order-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.order-card[aria-busy="true"] {
  opacity: 0.78;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #84968c;
  border-radius: 12px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.field input:hover:not(:disabled),
.field select:hover:not(:disabled) {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(20, 76, 51, 0.12);
}

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  gap: 8px;
}

@media (max-width: 480px) {
  .phone-input-row {
    grid-template-columns: 1fr;
  }
}

.field input[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.09);
}

.field-hint,
.field-error {
  min-height: 18px;
  margin: 5px 2px 0;
  font-size: 12px;
  line-height: 1.4;
}

.field-hint {
  color: var(--muted);
}

.field-error {
  display: none;
  color: var(--error);
  font-weight: 700;
}

.field.has-error .field-hint {
  display: none;
}

.field.has-error .field-error {
  display: block;
}

.consent-field {
  margin: 2px 0 18px;
}

.consent-control {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.consent-control input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.consent-control input:focus-visible {
  outline: 3px solid rgba(20, 76, 51, 0.24);
  outline-offset: 3px;
}

.consent-control label {
  cursor: pointer;
}

.consent-description {
  margin: 7px 0 0 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent-description a {
  color: var(--green);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.consent-description a:hover {
  color: var(--green-dark);
}

.consent-version {
  display: block;
  margin-top: 4px;
}

.consent-field .field-error {
  margin-left: 30px;
}

.consent-field.has-error .field-error {
  display: block;
}

.consent-field.has-error .consent-control {
  color: var(--error);
}

.form-error {
  margin: -2px 0 14px;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--error-soft);
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
}

.submit-button,
.secondary-button {
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  padding: 13px 18px;
  font-weight: 850;
  transition: background-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.submit-button {
  border: 0;
  background: var(--green);
  box-shadow: 0 8px 22px rgba(20, 76, 51, 0.18);
  color: var(--white);
}

.submit-button:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.submit-button:disabled {
  background: #9ea9a3;
  box-shadow: none;
}

.submit-button.is-loading span::before {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 9px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--white);
  border-radius: 50%;
  vertical-align: -2px;
  content: "";
  animation: spin 700ms linear infinite;
}

.secondary-button {
  border: 2px solid var(--green);
  background: var(--white);
  color: var(--green-dark);
}

.secondary-button:hover {
  background: var(--green-soft);
}

.submit-button:focus-visible,
.secondary-button:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(20, 76, 51, 0.3);
  outline-offset: 3px;
}

.state-card {
  text-align: center;
}

.state-card p:not(.eyebrow) {
  max-width: 42ch;
  margin: 14px auto 24px;
  color: #52615a;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 30px;
  font-weight: 900;
}

.products-card .eyebrow {
  margin-bottom: 9px;
}

.catalog-card {
  text-align: left;
}

.state-card.catalog-card .catalog-lead,
.state-card.catalog-card .catalog-next {
  max-width: none;
  margin: 12px 0 22px;
}

.catalog-section + .catalog-section {
  margin-top: 24px;
}

.catalog-section h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 17px;
}

.package-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.package-card {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--green-pale);
}

.package-card:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(20, 76, 51, 0.1);
}

.package-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
}

.package-card > span {
  display: grid;
  gap: 3px;
}

.package-card strong {
  color: var(--green-dark);
}

.package-card span,
.catalog-list small {
  color: var(--muted);
  font-size: 12px;
}

.catalog-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid #e3e8e5;
  border-radius: 10px;
  background: var(--white);
}

.catalog-hint {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.catalog-section.is-locked .catalog-list {
  opacity: 0.5;
}

.catalog-section.is-locked .quantity-controls select {
  cursor: not-allowed;
}

.gift-confirmation-dialog {
  width: min(520px, calc(100% - 32px));
  border: 1px solid rgba(181, 138, 46, 0.65);
  border-radius: 18px;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(7, 34, 25, 0.28);
}

.gift-confirmation-dialog::backdrop {
  background: rgba(7, 34, 25, 0.58);
  backdrop-filter: blur(4px);
}

.gift-confirmation-content {
  padding: 30px;
}

.gift-confirmation-content h2 {
  margin: 0;
  color: var(--green-dark);
}

.gift-confirmation-content > p:not(.eyebrow) {
  margin: 14px 0;
  color: var(--muted);
  line-height: 1.55;
}

.gift-confirmation-content .gift-confirmation-total {
  border-left: 3px solid #b58a2e;
  padding: 9px 12px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 800;
}

.gift-confirmation-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
  margin-top: 24px;
}

.quantity-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.quantity-controls label {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
}

.quantity-controls select {
  width: 66px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  color: var(--ink);
  font: inherit;
  text-align: center;
}

.quantity-controls select:focus {
  border-color: var(--green);
  outline: 3px solid rgba(20, 76, 51, 0.12);
}

.composition-total {
  margin: 10px 0 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.comment-field {
  margin-top: 24px;
}

.comment-field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

.catalog-back {
  margin-top: 10px;
}

.preview-button {
  margin-top: 10px;
  background: var(--green-dark);
}

.catalog-actions {
  display: grid;
  gap: 10px;
}

.preview-card {
  text-align: left;
}

.preview-card .preview-lead,
.preview-card .catalog-next {
  max-width: none;
  margin: 12px 0 20px;
}

.preview-summary {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
}

.preview-summary div,
.preview-section li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--green-pale);
}

.preview-summary dt {
  color: var(--muted);
}

.preview-summary dd {
  margin: 0;
  color: var(--green-dark);
  font-weight: 800;
  text-align: right;
}

.preview-section + .preview-section {
  margin-top: 22px;
}

.preview-section h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 17px;
}

.preview-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-section li {
  background: var(--white);
}

.preview-section li span,
.preview-section .is-empty {
  color: var(--muted);
}

.preview-section p {
  max-width: none;
  margin: 0;
  white-space: pre-wrap;
}

.accepted-card {
  text-align: center;
}

.accepted-card h2 {
  line-height: 1.35;
}

#acceptedOrderNumber {
  color: var(--green-dark);
  white-space: nowrap;
}

.accepted-email {
  color: var(--green-dark);
  overflow-wrap: anywhere;
}

.accepted-close-note {
  margin: 18px 0 4px;
  color: var(--muted);
}

.accepted-new-order {
  width: auto;
  min-height: 44px;
  border: 0;
  padding: 8px 10px;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accepted-new-order:hover {
  background: transparent;
}

.catalog-list li > span {
  display: grid;
  min-width: 0;
}

.catalog-list strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
}

.catalog-list .is-unavailable strong {
  color: var(--muted);
  text-decoration: line-through;
}

.catalog-list b {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--error-soft);
  color: var(--error);
  font-size: 11px;
}

.catalog-card .catalog-next {
  padding: 12px 13px;
  border-radius: 10px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  width: min(1120px, calc(100% - 48px));
  min-height: 40px;
  margin: -40px auto 0;
  color: var(--muted);
  font-size: 12px;
}

.noscript-message {
  position: fixed;
  z-index: 30;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 620px;
  margin: auto;
  padding: 14px 16px;
  border: 1px solid #f0b9b9;
  border-radius: 12px;
  background: var(--error-soft);
  color: var(--error);
  font-weight: 700;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 1100px) {
  .application:has(.catalog-card:not([hidden])),
  .application:has(.preview-card:not([hidden])) {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: min(1480px, 100%);
  }

  .application:has(.catalog-card:not([hidden])) .intro,
  .application:has(.preview-card:not([hidden])) .intro {
    display: grid;
    grid-template-columns: minmax(340px, .48fr) minmax(0, 1fr);
    column-gap: 48px;
    align-items: end;
    width: 100%;
    max-width: none;
  }

  .application:has(.catalog-card:not([hidden])) .form-column,
  .application:has(.preview-card:not([hidden])) .form-column {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .application:has(.catalog-card:not([hidden])) .eyebrow,
  .application:has(.preview-card:not([hidden])) .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .application:has(.catalog-card:not([hidden])) .intro h1,
  .application:has(.preview-card:not([hidden])) .intro h1 {
    grid-column: 1;
    grid-row: 2;
  }

  .application:has(.catalog-card:not([hidden])) .lead,
  .application:has(.preview-card:not([hidden])) .lead {
    grid-column: 1;
    grid-row: 3;
    margin-top: 10px;
  }

  .application:has(.catalog-card:not([hidden])) .steps,
  .application:has(.preview-card:not([hidden])) .steps {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: end;
    margin-top: 0;
  }

  #compositionForm {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  #compositionForm > .catalog-section:first-child,
  #compositionForm > .comment-field,
  #compositionForm > .form-error,
  #compositionForm > .catalog-next,
  #compositionForm > .catalog-actions {
    grid-column: 1 / -1;
  }

  #compositionForm > .catalog-section + .catalog-section {
    margin-top: 0;
  }

  .package-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .comment-field {
    margin-top: 0;
  }

  .catalog-actions {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }

  .catalog-actions .catalog-back,
  .catalog-actions .preview-button {
    margin-top: 0;
  }

  .application:has(.preview-card:not([hidden])) .preview-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 28px;
  }

  .application:has(.preview-card:not([hidden])) .preview-card > :not(.preview-section) {
    grid-column: 1 / -1;
  }

  .application:has(.preview-card:not([hidden])) .preview-section + .preview-section {
    margin-top: 0;
  }
}

@media (max-width: 800px) {
  .gift-confirmation-content {
    padding: 24px 20px;
  }

  .gift-confirmation-actions {
    grid-template-columns: 1fr;
  }

  .site-header {
    width: min(100% - 32px, 620px);
    min-height: 64px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 16px;
  }

  .secure-label {
    display: none;
  }

  .order-context {
    gap: 0;
  }

  .page {
    min-height: 0;
    padding: 18px 16px 64px;
  }

  .application {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: min(100%, 620px);
  }

  .intro,
  .form-column {
    max-width: none;
  }

  h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .lead {
    margin-top: 14px;
    font-size: 16px;
  }

  .steps {
    margin-top: 24px;
  }

  .order-card,
  .state-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .package-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .catalog-list li {
    display: grid;
  }

  .quantity-controls {
    justify-content: end;
  }

  .site-footer {
    width: calc(100% - 32px);
    min-height: 44px;
    margin: -44px auto 0;
  }
}

@media (max-width: 370px) {
  .page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .order-card,
  .state-card {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

#fullOrderSection { grid-column:1/-1; width:100%; min-width:0; }
#fullOrderSection .summary-section { margin:24px 0; padding:18px; border:1px solid var(--ui-line,#d8dce5); border-radius:12px; }
#fullOrderSection .summary-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 24px; margin-top:16px; }
#fullOrderSection label { display:flex; flex-direction:column; gap:6px; font-size:16px; }
#fullOrderSection .summary-recipient-choice, #fullOrderSection .summary-payment-choice { display:flex; flex-wrap:wrap; gap:12px 20px; }
#fullOrderSection .summary-recipient-choice label, #fullOrderSection .summary-payment-choice label, #fullOrderSection .summary-ozon-warning { flex-direction:row; align-items:center; }
#fullOrderSection input:not([type=radio]):not([type=checkbox]), #fullOrderSection select, #fullOrderSection textarea { box-sizing:border-box; width:100%; min-height:44px; font:inherit; padding:10px; border:1px solid var(--ui-line,#d8dce5); border-radius:8px; background:var(--ui-panel,#fff); color:inherit; }
#fullOrderSection .summary-payment-wide, #fullOrderSection .summary-ozon-warning { grid-column:1/-1; }
#fullOrderSection .field-hint { font-size:15px; line-height:1.4; }
#fullOrderSection [hidden] { display:none !important; }
#fullOrderSection [aria-invalid=true] { border-color:#c62828 !important; outline:2px solid #c62828; }
@media(max-width:640px) { #fullOrderSection .summary-fields { grid-template-columns:1fr; } #fullOrderSection .summary-section { padding:12px; } }

/* Shared screen layout and palette only. Warehouse identity remains fixed. */
:root[data-color-profile] body.cabinet-settings-page :is(h1,h2,h3,h4,button,input,select,textarea) { font-family:inherit; }
:root[data-color-profile] .cabinet-settings-header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px 0; min-width:0; }
:root[data-color-profile] .desktop-app .cabinet-settings-header { padding:16px 24px; }
:root[data-color-profile] .cabinet-settings-header .brand,:root[data-color-profile] .cabinet-settings-header .service-brand { max-width:210px; min-width:0; }
:root[data-color-profile] .cabinet-settings-header > .site-header-actions { display:none; }
.cabinet-settings-header > :is(.order-context,.cabinet-settings-identity) { min-width:0; overflow-wrap:anywhere; font-size:14px; }
:root[data-color-profile] .cabinet-settings-page .warehouse-tabs { display:flex; flex-wrap:wrap; }
.cabinet-settings-controls { grid-column:3; display:flex; align-items:center; justify-content:flex-end; gap:12px; min-width:0; }
:root[data-color-profile] .cabinet-settings-controls > .cabinet-runtime-refresh { box-sizing:border-box; max-width:100%; min-height:36px; padding:6px 8px; white-space:normal; font:inherit; font-size:13px; font-weight:800; }
:root[data-color-profile] .cabinet-settings-controls .cabinet-settings-version { margin:0; font:inherit; font-size:12px; line-height:1.4; white-space:normal; overflow-wrap:anywhere; text-align:right; }
:root[data-color-profile] .cabinet-settings-open { display:inline-flex; align-items:center; gap:6px; margin:0; white-space:nowrap; font:inherit; font-size:15px; padding:7px 12px; min-height:36px; }
:root[data-color-profile] .cabinet-settings-dialog { box-sizing:border-box; width:min(760px,calc(100vw - 24px)); max-width:760px; max-height:calc(100dvh - 24px); padding:20px; border:1px solid var(--ui-line); border-radius:12px; color:var(--ui-ink); background:var(--ui-panel); font:inherit; font-size:15px; line-height:1.45; overflow:hidden; }
.cabinet-settings-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.cabinet-settings-dialog::backdrop { background:rgba(18,29,42,.45); }
.cabinet-settings-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:12px; }
.cabinet-settings-heading h2 { margin:0; font-size:20px; }
.cabinet-settings-content { min-height:0; overflow:auto; overflow-wrap:anywhere; }
.cabinet-settings-content > section { padding:14px 0; }
.cabinet-settings-content h3 { margin:0 0 10px; font-size:16px; }
.cabinet-settings-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.cabinet-settings-footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; border-top:1px solid var(--ui-line); padding-top:14px; }
:root[data-color-profile] .cabinet-settings-dialog :is(button,a.button,.link-button,.text-action) { box-sizing:border-box; max-width:100%; white-space:normal; font:inherit; font-size:15px; padding:8px 12px; border:1px solid var(--ui-line); border-radius:var(--ui-button-radius); background:var(--ui-panel); color:var(--ui-ink); cursor:pointer; }
:root[data-color-profile] .cabinet-settings-dialog .color-profile-control { display:grid; width:100%; max-width:none; gap:6px; font-size:14px; }
:root[data-color-profile] .cabinet-settings-dialog .color-profile-control select { width:100%; font:inherit; }
:root[data-color-profile] body .cabinet-help-dialog { max-width:1100px; width:min(1100px,calc(100% - 24px)); font-family:inherit; }
:root[data-color-profile] body .cabinet-help-dialog button { font:inherit; font-size:15px; padding:8px 12px; border:1px solid var(--ui-line); border-radius:var(--ui-button-radius); background:var(--ui-panel); color:var(--ui-ink); cursor:pointer; }
:root[data-color-profile] body .cabinet-help-dialog .cabinet-help-header h2 { font-size:22px; }
.cabinet-help-roles[hidden] { display:none!important; }
.cabinet-help-footer { display:flex; justify-content:flex-end; position:sticky; bottom:-24px; padding:12px 0; background:var(--ui-panel); border-top:1px solid var(--ui-line); }
@media(max-width:1050px) {
  :root[data-color-profile] .cabinet-settings-header { grid-template-columns:minmax(0,1fr) auto; gap:10px; }
  .cabinet-settings-controls { grid-column:2; grid-row:1; flex-wrap:wrap; max-width:280px; }
  .cabinet-settings-header > :is(.order-context,.cabinet-settings-identity,.individual-header > span:not(.service-brand)) { grid-column:1 / -1; grid-row:2; }
}
@media(max-width:600px) {
  :root[data-color-profile] .cabinet-settings-header .brand,:root[data-color-profile] .cabinet-settings-header .service-brand { max-width:140px; }
  .cabinet-settings-controls { max-width:145px; gap:6px; }
  :root[data-color-profile] .cabinet-settings-dialog { padding:14px; }
  .cabinet-settings-footer { display:grid; }
}
:root[data-color-profile] {
  --ui-bg:#f3f6f2; --ui-panel:#fff; --ui-ink:#193f32; --ui-muted:#5e7167;
  --ui-line:#cedbd2; --ui-primary:#194c39; --ui-soft:#e6f3e9; --ui-on-primary:#fff;
  --ui-success-bg:#e6f3e9; --ui-success-ink:#226443;
  --ui-button-font-size:15px; --ui-button-min-height:36px; --ui-button-padding-block:6px;
  --ui-action-font-size:13px; --ui-action-min-height:30px; --ui-action-padding-block:4px;
  --ui-button-radius:3px;
  --ink:var(--ui-ink); --muted:var(--ui-muted); --line:var(--ui-line);
  --green:var(--ui-primary); --green-dark:var(--ui-primary);
  --green-soft:var(--ui-soft); --green-pale:var(--ui-bg);
  --background:var(--ui-bg); --cream:var(--ui-bg); --paper:var(--ui-panel); --white:var(--ui-panel);
  color-scheme:light; background:var(--ui-bg); color:var(--ui-ink);
}
:root[data-color-profile=lavender] { --ui-bg:#f5f6f9; --ui-ink:#242334; --ui-muted:#666578; --ui-line:#dfdce8; --ui-primary:#7c3aed; --ui-soft:#f1ebff; }
:root[data-color-profile=sapphire] { --ui-bg:#f0f3f7; --ui-ink:#202b3b; --ui-muted:#5e6a7c; --ui-line:#d4dce6; --ui-primary:#244b79; --ui-soft:#e9eff7; }
:root[data-color-profile=pearl] { --ui-bg:#f5f1e9; --ui-panel:#fffdf8; --ui-ink:#37332e; --ui-muted:#72695e; --ui-line:#ddd4c7; --ui-primary:#6e5940; --ui-soft:#eee6d8; }
:root[data-color-profile=emerald] { --ui-bg:#eef5f3; --ui-ink:#173d39; --ui-muted:#526f6b; --ui-line:#ccddd8; --ui-primary:#086b60; --ui-soft:#e0f0ea; }
:root[data-color-profile=plum] { color-scheme:dark; --ui-bg:#19151f; --ui-panel:#272130; --ui-ink:#f3edf5; --ui-muted:#c5b9cd; --ui-line:#55445e; --ui-primary:#78509f; --ui-soft:#362b43; --ui-success-bg:#233e32; --ui-success-ink:#b7e2c6; }
:root[data-color-profile] body { background:var(--ui-bg); color:var(--ui-ink); font-size:17px; }
:root[data-color-profile] :where(.site-header,.individual-header,.page,.page-shell,.individual-order-page,.app-shell,.page-footer) { width:min(1500px,94%); margin-inline:auto; }
:root[data-color-profile] .individual-header { background:var(--ui-panel); color:var(--ui-ink); }
:root[data-color-profile] .page-shell { padding-inline:0; }
:root[data-color-profile] .application { width:min(1500px,94%); margin-inline:auto; }
:root[data-color-profile] :where(.auth-panel.leader-cabinet-layout,.auth-panel.leader-summary-layout,.auth-panel.leader-availability-layout) { width:100%; max-width:1500px; }
:root[data-color-profile] :where(.auth-card,.leader-orders,.leader-order-card,.leader-summary-group,.link-box,.summary-section,.summary-delivery-dialog,.order-correction-dialog,.individual-order-card,.form-section,.order-card,.topbar,.filters,.table-wrap,.login-panel,.action-dialog) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] :where(input,select,textarea) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); font-size:16px; }
:root[data-color-profile] :where(.button,.primary,.secondary,.actions button,.action-dialog button,.order-action-button) { font-size:var(--ui-button-font-size); min-height:var(--ui-button-min-height); padding-block:var(--ui-button-padding-block); line-height:1.25; }
:root[data-color-profile] .desktop-app .actions button { font-size:var(--ui-action-font-size); min-height:var(--ui-action-min-height); padding:var(--ui-action-padding-block) 8px; line-height:1.2; }
:root[data-color-profile] :is(button,.button,.warehouse-tab) { border-radius:var(--ui-button-radius); }
:root[data-color-profile] [hidden] { display:none!important; }
:root[data-color-profile] .uniform-actions { flex-wrap:wrap; }
:root[data-color-profile] .last-login-value { white-space:pre; }
:root[data-color-profile] #warehouse-accounts-table { table-layout:fixed; min-width:900px; }
:root[data-color-profile] #warehouse-accounts-table td { min-width:0; overflow-wrap:anywhere; }
:root[data-color-profile] #warehouse-accounts-table th:nth-child(5) { width:104px; }
:root[data-color-profile] #warehouse-accounts-table th:nth-child(6) { width:116px; }
:root[data-color-profile] #warehouse-accounts-table th:last-child { width:212px; min-width:0; }
:root[data-color-profile] .field-tools { display:flex; gap:5px; align-items:center; margin-top:6px; }
:root[data-color-profile] .field-tools button { margin-top:0!important; width:30px; min-height:30px; padding:4px; }
:root[data-color-profile] #saveSummary:not(:disabled) { background:#194c39; border-color:#194c39; color:#fff; }
:root[data-color-profile] #saveSummary.needs-check:not(:disabled) { animation:summary-check-hint 2.8s ease-in-out infinite; }
:root[data-color-profile] #finalizeSummary:disabled { background:#eceff1; color:#647078; border-color:#ccd2d5; opacity:1; }
:root[data-color-profile=plum] #finalizeSummary:disabled { background:#39343f; color:#c1bac7; border-color:#625b68; }
@keyframes summary-check-hint { 50% { box-shadow:0 0 0 4px rgba(25,76,57,.14); } }
@media(prefers-reduced-motion:reduce) { :root[data-color-profile] #saveSummary.needs-check:not(:disabled) { animation:none; } }
:root[data-color-profile] .telegram-settings-card { display:grid; grid-template-columns:minmax(0,1fr) 230px; gap:20px; align-items:start; }
:root[data-color-profile] .telegram-card-content { min-width:0; display:grid; justify-items:start; align-content:start; gap:8px; line-height:1.3; }
:root[data-color-profile] .telegram-card-content > :is(p,h3,h4) { margin:0; }
:root[data-color-profile] .desktop-app .workspace > aside { background:var(--ui-primary); color:var(--ui-on-primary); }
:root[data-color-profile] .desktop-app .workspace > aside :is(.nav-link,.nav-title,.nav-disabled) { color:var(--ui-on-primary); }
:root[data-color-profile] .desktop-app .workspace > aside .nav-active { background:var(--ui-panel); color:var(--ui-ink); }
:root[data-color-profile] #product-id-tools { margin:18px 0; padding:14px; border:1px solid var(--ui-line); border-radius:3px; }
:root[data-color-profile] #product-id-tools > summary { cursor:pointer; }
:root[data-color-profile] #product-id-tools > :is(a,label,button) { display:inline-block; margin:6px 12px 10px 0; }
:root[data-color-profile] .desktop-app .catalog-intro { max-width:none; width:100%; }
:root[data-color-profile] :is(#catalog-table,#delivery-table) :is(th,td) { padding:8px 14px; line-height:1.25; vertical-align:middle; }
:root[data-color-profile] #catalog-table :is(.leader-name,.status) { font-weight:400; }
:root[data-color-profile] #delivery-table input[type=checkbox] { margin:0; padding:0; min-height:20px; }
:root[data-color-profile] .product-id-controls { display:flex; flex-wrap:wrap; align-items:end; gap:12px; margin:14px 0; }
:root[data-color-profile] .product-id-controls > :is(a,button) { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:8px 14px; line-height:20px; text-decoration:none; border-radius:3px; }
:root[data-color-profile] .product-id-controls > label { flex:1 1 320px; max-width:500px; }
:root[data-color-profile] .product-id-controls input[type=file] { min-height:38px; height:38px; padding:5px 10px; margin-top:6px; }
:root[data-color-profile] #accounts-message:empty { display:none; }
:root[data-color-profile] .desktop-app :is(.summary-card,.catalog-tab,.delivery-selectors,.system-card,.cabinet-runtime-refresh) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] .desktop-app .catalog-tab.active { background:var(--ui-primary); color:var(--ui-on-primary); border-color:var(--ui-primary); }
:root[data-color-profile] .desktop-app :is(.admin-order-facts div,.admin-order-totals,.admin-order-comment,.nav-active span) { background:var(--ui-soft); color:var(--ui-ink); }
:root[data-color-profile] .desktop-app :is(.cabinet-runtime-refresh,.password-toggle):hover { background:var(--ui-soft); color:var(--ui-ink); }
:root[data-color-profile] { --ui-success-bg:var(--ui-soft); --ui-success-ink:var(--ui-ink); }
:root[data-color-profile] :is(.status.approved,.status.order-new,.status.order-sent,.availability-state,.warehouse-state.available,.warehouse-summary-status.is-in_work,.summary-warehouse-feedback.is-in_work,.review-match,.review-warehouse-badge,.summary-coverage-badge,.review-warehouse-card.is-selected .review-warehouse-badge,.summary-coverage-card.is-selected .summary-coverage-badge,.message-success) { background:var(--ui-soft); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] :is(.summary-version-current,.summary-coverage-ok,.review-warehouse-ok,.form-message.is-success,.summary-delivery-dialog.is-success h2,.warehouse-guard-dialog.is-success h2,.warehouse-preview-message.is-success) { color:var(--ui-ink); }
:root[data-color-profile] :is(.customer-card,.review-details,.review-warehouse-card,.summary-coverage-card,.summary-delivery-recipients,.leader-rejected-action,.leader-availability-tools,.leader-availability-message:not(.is-error),.leader-availability-savebar,.warehouse-profile div,.warehouse-savebar,.warehouse-summary-card,.warehouse-summary-empty,.warehouse-preview-post) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] :is(.review-warehouse-card.is-missing,.summary-coverage-card.is-missing,.leader-summary-group.is-rejected) { background:#fff6f4; color:#741919; border-color:#e3b3af; }
:root[data-color-profile] :is(.summary-help-button,.warehouse-dialog-close,.warehouse-summary-version,.warehouse-receipt-image,.warehouse-receipt-pdf,.product-row.is-unavailable,.order-completion>p:last-child,.warehouse-summary-list.is-archive .warehouse-summary-card) { background:var(--ui-soft); color:var(--ui-ink); }
:root[data-color-profile] :is(.help,.button.primary,.warehouse-copy-toast) { background:var(--ui-primary); color:var(--ui-on-primary); border-color:var(--ui-primary); }
:root[data-color-profile] :is(.button.secondary,.warehouse-reset,.cabinet-runtime-refresh) { background:var(--ui-panel); color:var(--ui-ink); }
:root[data-color-profile] :is(.individual-header span,.lead,.hint,.version,.review-list .is-empty,.summary-version-superseded,.warehouse-tab-archive,.state-card p:not(.eyebrow)) { color:var(--ui-muted); }
:root[data-color-profile] .individual-order-card .eyebrow { color:var(--ui-ink); }
:root[data-color-profile] :is(.summary-card:hover,.summary-card.active,.review-warehouse-card.is-selected,input:focus,select:focus,textarea:focus) { border-color:var(--ui-primary); }
:root[data-color-profile] :is(.action-help-tooltip,.action-help-tooltip small) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] #catalog-message:empty { display:none; }
:root[data-color-profile] .telegram-settings-card[data-verified=true] { border-left-color:var(--ui-primary)!important; }
:root[data-color-profile] .telegram-settings-card[data-verified=true] .telegram-check-status { background:var(--ui-soft)!important; color:var(--ui-ink)!important; }
:root[data-color-profile] .summary-coverage-guidance:not(.is-warning) { background:var(--ui-soft); color:var(--ui-ink); }
:root[data-color-profile] :is(dialog,.link-box input) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] button.action-help-icon { color:var(--ui-muted); border-color:var(--ui-muted); }
:root[data-color-profile] .telegram-card-content > :first-child { margin-top:0; }
:root[data-color-profile] .telegram-card-content > :last-child { margin-bottom:0; }
:root[data-color-profile] .telegram-card-actions { display:flex; flex-direction:column; align-items:stretch; gap:6px; }
:root[data-color-profile] .telegram-card-actions > .actions { margin-bottom:8px; }
:root[data-color-profile] .telegram-card-actions small { flex-basis:100%; color:var(--ui-muted); }
:root[data-color-profile] .telegram-secret-row { margin-top:12px; }
@media(max-width:1100px) {
  :root[data-color-profile] .telegram-settings-card { grid-template-columns:minmax(0,1fr); gap:12px; }
  :root[data-color-profile] .telegram-card-actions { flex-direction:row; flex-wrap:wrap; }
}
:root[data-color-profile] :where(.button-primary,.primary) { background:var(--ui-primary); color:var(--ui-on-primary); border-color:var(--ui-primary); }
:root[data-color-profile] :where(.button-secondary,.secondary) { background:var(--ui-panel); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] :where(.leader-orders-tabs button,.warehouse-tab) { font-size:17px; min-height:44px; }
:root[data-color-profile] .leader-orders-tabs button[aria-selected=true] { background:var(--ui-primary); color:var(--ui-on-primary); }
:root[data-color-profile] :where(.status-badge:not(.is-blocked),.leader-warehouse-feedback.is-in_work) { background:var(--ui-success-bg); color:var(--ui-success-ink); }
:root[data-color-profile] :where(th,.review-list li,.review-details,.review-warehouse-card,.summary-coverage) { background:var(--ui-soft); color:var(--ui-ink); }
:root[data-color-profile] .site-header { flex-wrap:wrap; gap:20px; }
:root[data-color-profile] .cabinet-runtime { flex-wrap:wrap; gap:10px; }
:root[data-color-profile] .leader-header-profile { flex:1 1 300px; font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
:root[data-color-profile] .leader-header-profile strong { font-size:17px; }
:root[data-color-profile] .leader-header-profile .status-badge { padding:4px 8px; }
:root[data-color-profile] .leader-header-profile[hidden] { display:none; }
:root[data-color-profile] :where(.cabinet-runtime #logoutButton,.cabinet-runtime-version,.cabinet-runtime-refresh,.secure-label,.leader-header-profile .status-badge) { font-size:16px; }
:root[data-color-profile] .cabinet-runtime-refresh { min-height:44px; }
:root[data-color-profile] .color-profile-control { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:16px; color:var(--ui-muted); }
:root[data-color-profile] .color-profile-control select { width:auto; max-width:100%; min-height:44px; margin:0; padding:7px 10px; border:1px solid var(--ui-line); border-radius:8px; font-size:16px; }
:root[data-color-profile] #partnerInviteDialog { width:min(1120px,94vw); max-width:1120px; }
:root[data-color-profile] #partnerInvite { position:relative; display:grid; gap:10px; padding:24px; }
:root[data-color-profile] #partnerInvite > * { min-width:0; margin:0; }
:root[data-color-profile] #partnerInvite [hidden] { display:none; }
:root[data-color-profile] #partnerInvite #closePartnerInvite { position:absolute; top:12px; right:12px; width:44px; height:44px; padding:0; font-size:28px; }
:root[data-color-profile] #partnerInviteTitle { padding-right:48px; font-size:24px; line-height:1.2; }
:root[data-color-profile] #partnerInvite :where(label,p,input,.button) { font-size:17px; line-height:1.25; }
:root[data-color-profile] #partnerInvite .link-box-warning { font-size:16px; }
:root[data-color-profile=plum] #partnerInvite .link-box-warning { color:#ffaaa0!important; }
:root[data-color-profile] .partner-invite-content { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:24px; align-items:start; margin-top:8px!important; }
:root[data-color-profile] #partnerInvite #partnerQrCanvas { align-self:start; margin:0; width:270px; max-width:100%; border-radius:12px; }
:root[data-color-profile] #partnerInviteText { font-size:17px; line-height:1.25; overflow-wrap:anywhere; border:1px solid var(--ui-line); border-radius:12px; padding:12px 16px; user-select:none; }
:root[data-color-profile] #partnerInviteText.is-manual-copy { user-select:text; }
:root[data-color-profile] #partnerInviteText > * { display:block; margin:0 0 6px; }
:root[data-color-profile] #partnerInviteText .partner-invite-url { color:#065acb; text-decoration:underline; }
:root[data-color-profile=plum] #partnerInviteText .partner-invite-url { color:#8bbcff; }
:root[data-color-profile] .partner-invite-message > .partner-invite-actions { margin-top:8px; }
:root[data-color-profile] #partnerInvite :where(.partner-invite-separate p,.partner-invite-message > p) { margin:0; }
:root[data-color-profile] .partner-invite-separate { border-top:1px solid var(--ui-line); padding-top:10px; display:grid; gap:8px; }
:root[data-color-profile] .partner-invite-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
:root[data-color-profile] .partner-invite-actions .button { width:100%; height:44px; min-height:44px; box-sizing:border-box; margin:0; padding:8px 10px; }
:root[data-color-profile] #partnerInviteStatus:empty { display:none; }
:root[data-color-profile] #partnerQrCanvas { background:#fff; }
:root[data-color-profile] :focus-visible { outline:3px solid var(--ui-primary); outline-offset:3px; }
@media(min-width:1000px) {
  :root[data-color-profile] :where(.button,.cabinet-runtime-refresh) { white-space:nowrap; }
  :root[data-color-profile] .leader-order-actions > :where(details,.button) { flex:1 0 max-content; }
  :root[data-color-profile] .leader-order-actions summary.button { width:100%; box-sizing:border-box; }
  :root[data-color-profile] .leader-order-actions > details[open] { flex-basis:100%; }
  :root[data-color-profile] .desktop-app { max-width:1600px; margin:auto; }
  :root[data-color-profile] .content { padding:28px; }
  :root[data-color-profile] .topbar { height:auto; min-height:72px; flex-wrap:wrap; gap:12px; padding:16px 28px; }
}
@media(max-width:650px) {
  :root[data-color-profile] #partnerInvite { padding:18px; gap:12px; }
  :root[data-color-profile] .partner-invite-content { grid-template-columns:minmax(0,1fr); gap:12px; }
  :root[data-color-profile] .partner-invite-actions { grid-template-columns:1fr; }
  :root[data-color-profile] #partnerInvite #partnerQrCanvas { justify-self:center; width:260px; }
  :root[data-color-profile] body { font-size:16px; }
  :root[data-color-profile] .leader-header-profile { flex-basis:100%; }
  :root[data-color-profile] .site-header-actions { width:100%; flex-wrap:wrap; }
  :root[data-color-profile] .color-profile-control { max-width:100%; }
}

:root[data-color-profile] .action-help-wrap { position:relative; display:inline-flex; align-items:center; margin-top:18px; max-width:100%; vertical-align:middle; }
:root[data-color-profile] .action-help-row { padding-top:18px; row-gap:26px; flex-wrap:wrap; }
:root[data-color-profile] .action-help-row > .action-help-wrap { margin-top:0; }
:root[data-color-profile] :is(.site-header,.individual-header,.topbar):has(.action-help-wrap) { padding-top:24px; }
:root[data-color-profile] :is(.site-header,.individual-header,.topbar) .action-help-row { padding-top:0; }
:root[data-color-profile] .action-help-wide { width:100%; }
:root[data-color-profile] .warehouse-tabs { flex-wrap:wrap; overflow:visible; }
:root[data-color-profile] .warehouse-tabs .action-help-wrap { min-width:0; }
:root[data-color-profile] .warehouse-tabs .warehouse-tab { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
:root[data-color-profile] .action-help-wrap:has(> [hidden]) { display:none!important; }
:root[data-color-profile] button.action-help-icon { position:absolute; width:16px!important; min-width:16px!important; height:16px; min-height:16px; padding:0!important; margin:0; border:1px solid #a1a9ac; background:transparent; color:#667276; font:600 11px/14px Arial,sans-serif; cursor:help; box-shadow:none; }
:root[data-color-profile=plum] button.action-help-icon { color:#c5cbd0; border-color:#818b94; }
.action-help-tooltip { position:fixed; z-index:10000; pointer-events:none; width:360px; max-width:calc(100vw - 16px); box-sizing:border-box; padding:12px 14px; border:1px solid #929da3; border-radius:3px; background:#fff; color:#193f32; font-size:15px; line-height:1.4; box-shadow:0 4px 18px #0003; }
.action-help-tooltip small { display:block; margin-top:8px; font-size:12px; color:#59666e; }
:root[data-color-profile] .cabinet-help-dialog { width:min(880px,calc(100% - 24px)); max-height:calc(100dvh - 24px); box-sizing:border-box; overflow:auto; padding:24px; border:1px solid var(--ui-line); border-radius:3px; background:var(--ui-panel); color:var(--ui-ink); font-size:17px; line-height:1.5; }
.cabinet-help-dialog::backdrop { background:#0007; }
.cabinet-help-header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.cabinet-help-header h2 { margin:0; }
.cabinet-help-version { color:var(--ui-muted); font-size:13px; }
.cabinet-help-roles { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
:root[data-color-profile] .cabinet-help-roles button[aria-pressed=true] { background:var(--ui-primary); color:var(--ui-on-primary); }
.cabinet-help-dialog label { display:block; }
.cabinet-help-dialog input { display:block; box-sizing:border-box; width:100%; margin-top:6px; padding:10px; color:var(--ui-ink); background:var(--ui-panel); border:1px solid var(--ui-line); border-radius:3px; }
.cabinet-help-sections > section,.cabinet-help-context { margin-top:20px; padding:16px; border:1px solid var(--ui-line); border-radius:3px; overflow-wrap:anywhere; }
.cabinet-help-context { background:var(--ui-soft); }
.cabinet-help-dialog h3 { margin:0 0 10px; font-size:19px; }
.cabinet-help-dialog ol { margin:0; padding-left:24px; }
.cabinet-help-dialog li + li { margin-top:10px; }
@media(max-width:650px) { :root[data-color-profile] .cabinet-help-dialog { padding:16px; } .cabinet-help-header { align-items:flex-start; } .cabinet-help-roles { display:grid; grid-template-columns:1fr; } }

/* Approved workspace: dark shell, angled tabs, light operational blocks. */
:root[data-color-profile] body.workspace-cabinet {
  --workspace-shell:#143e2c; --workspace-deep:#0b251d; --workspace-accent:#27734f; --workspace-canvas:#f0f5f2;
  --ui-panel:#fff; --ui-ink:#203c3b; --ui-muted:#536c69; --ui-line:#d4e2dd;
  --ui-primary:var(--workspace-accent); --ui-on-primary:#fff; --ui-soft:#eaf2ef;
  --ui-success-bg:#e6f3e9; --ui-success-ink:#226443;
  --ink:var(--ui-ink); --muted:var(--ui-muted); --line:var(--ui-line); --white:#fff;
  --green:var(--workspace-accent); --green-dark:var(--workspace-accent); --green-soft:var(--ui-soft);
  --ui-button-font-size:14px; --ui-button-radius:6px;
  color-scheme:light; color:var(--ui-ink); font:14px/1.48 Arial,sans-serif;
  background:var(--workspace-canvas);
}
:root[data-color-profile] body.workspace-cabinet .workspace-frame { box-sizing:border-box; width:min(1440px,94%); min-height:0; margin:24px auto; padding:0 20px 16px; border-radius:14px; background:repeating-linear-gradient(90deg,transparent,transparent 3px,#ffffff03 4px,transparent 5px),radial-gradient(ellipse at 90% 0%,color-mix(in srgb,var(--workspace-accent) 65%,transparent),transparent 58%),linear-gradient(138deg,var(--workspace-deep),var(--workspace-shell) 62%,var(--workspace-deep)); }
:root[data-color-profile] body.workspace-cabinet .workspace-frame > :is(.site-header,.page-shell,.page,.site-footer) { width:100%; margin-inline:0; }
:root[data-color-profile=lavender] body.workspace-cabinet { --workspace-shell:#3a3158; --workspace-deep:#252039; --workspace-accent:#7962a5; --workspace-canvas:#f3f0f7; --ui-soft:#f1edf6; }
:root[data-color-profile=sapphire] body.workspace-cabinet { --workspace-shell:#1b394e; --workspace-deep:#10212f; --workspace-accent:#326b9b; --workspace-canvas:#f0f3f7; --ui-soft:#eaf1f7; }
:root[data-color-profile=pearl] body.workspace-cabinet { --workspace-shell:#514434; --workspace-deep:#302b25; --workspace-accent:#916f43; --workspace-canvas:#f5f1e9; --ui-soft:#f4efe7; }
:root[data-color-profile=emerald] body.workspace-cabinet { --workspace-shell:#103e39; --workspace-deep:#0a272b; --workspace-accent:#167e70; --workspace-canvas:#eef5f3; --ui-soft:#e9f3ef; }
:root[data-color-profile=plum] body.workspace-cabinet { --workspace-shell:#422d4b; --workspace-deep:#291e31; --workspace-accent:#865e9b; --workspace-canvas:#f3eff5; --ui-soft:#f2edf5; }
:root[data-interface-role=warehouse] body.workspace-cabinet { --workspace-shell:#103e39; --workspace-deep:#0a272b; --workspace-accent:#167e70; --ui-soft:#e9f3ef; }
:root[data-color-profile] body.workspace-cabinet :is(button,input,select,textarea,h1,h2,h3,h4) { font-family:inherit; }
:root[data-color-profile] body.workspace-cabinet :is(.site-header,.page-shell,.site-footer) { width:min(1440px,94%); margin-inline:auto; }
:root[data-color-profile] body.workspace-cabinet .site-header { background:transparent; border:0; color:#f0faf7; padding-block:20px; }
:root[data-color-profile] body.workspace-cabinet .service-brand::after { background:#eefaf6; }
:root[data-color-profile] body.workspace-cabinet .site-header :is(.leader-header-profile,.cabinet-settings-identity) { color:#f0faf7; font-size:14px; }
:root[data-color-profile] body.workspace-cabinet .site-header :is(.cabinet-runtime-version,.leader-header-profile>div) { color:#d1e4de; }
:root[data-color-profile] body.workspace-cabinet .site-header .status-badge { color:#bcf1d2; background:transparent; padding:0; }
:root[data-color-profile] body.workspace-cabinet .site-header .cabinet-runtime-version { font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .site-header .cabinet-runtime-version strong { color:#f0faf7; }
:root[data-color-profile] body.workspace-cabinet :is(.button,button.text-action,.cabinet-runtime-refresh,.cabinet-help-open,.warehouse-dialog-close,.warehouse-preview-close,.password-toggle) { background:var(--ui-primary); color:var(--ui-on-primary); border:1px solid transparent; border-radius:6px; font-size:14px; line-height:1.3; }
:root[data-color-profile] body.workspace-cabinet :is(.button-secondary,.cabinet-help-open) { background:var(--ui-soft); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] body.workspace-cabinet .site-header :is(button,.button) { background:var(--workspace-accent); color:#fff; border-color:#ffffff30; font-size:13px; }
:root[data-color-profile] body.workspace-cabinet :is(.leader-settings-heading,.cabinet-settings-heading)>button,
:root[data-color-profile] body.workspace-cabinet :is(.warehouse-dialog-close,.warehouse-preview-close,#closePartnerInvite) { background:var(--workspace-accent); color:#fff; border-color:transparent; min-width:36px; min-height:36px; font:22px/1 Arial,sans-serif; }
:root[data-color-profile] body.workspace-cabinet button:disabled { cursor:not-allowed; }
:root[data-color-profile] body.workspace-cabinet .leader-tracking-confirmation input:checked { appearance:none; border:0; border-radius:3px; background:#238149; opacity:1; }
:root[data-color-profile] body.workspace-cabinet .leader-tracking-confirmation input:checked::after { content:'✓'; display:block; color:#fff; font:700 13px/18px Arial,sans-serif; text-align:center; }
:root[data-color-profile] body.workspace-cabinet #leaderSettingsActionControls :is(.button,.cabinet-help-open) { background:var(--ui-soft); color:var(--ui-ink); border-color:var(--ui-line); }
:root[data-color-profile] body.workspace-cabinet .page-shell { padding-block:4px 28px; min-height:0; align-items:start; }
:root[data-color-profile] body.workspace-cabinet .auth-panel.leader-cabinet-layout>.auth-card { padding:0; border:0; box-shadow:none; background:transparent; }
:root[data-color-profile] body.workspace-cabinet .leader-orders { padding:0; border:0; border-radius:0; gap:0; background:transparent; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-heading { align-items:center; padding:12px 2px 16px; color:#f0faf7; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-heading .eyebrow { display:none; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-heading h2 { color:inherit; font-size:21px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-heading>p { color:#d1e4de; font-size:12px; max-width:380px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-tabs,
:root[data-color-profile] body.workspace-cabinet .warehouse-tabs { display:flex; flex-wrap:wrap; gap:5px; padding:0; margin:0; border:0; background:transparent; }
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) [role=tab] { position:relative; isolation:isolate; min-width:0; min-height:45px; margin:0; padding:10px 24px 10px 14px; border:0; border-radius:0; background:transparent; color:#e1eeea; font:700 13px/1.35 Arial,sans-serif; white-space:normal; box-shadow:none; }
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) [role=tab]::before { content:''; position:absolute; inset:0; z-index:-1; background:#ffffff1c; border-radius:7px 0 0 0; clip-path:polygon(0 0,calc(100% - 19px) 0,100% 100%,0 100%); }
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) [role=tab][aria-selected=true] { color:var(--workspace-accent); background:transparent; }
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) [role=tab][aria-selected=true]::before { background:#f5f8f7; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-tabs span { display:inline-block; margin-left:5px; padding:2px 6px; border-radius:4px; background:#ffffff18; color:inherit; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-tabs [aria-selected=true] span { background:var(--workspace-accent); color:#fff; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-workspace { display:grid; gap:12px; padding:16px; border-radius:0 9px 9px 9px; background:#f5f8f7; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-search { gap:5px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-search label { font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-search input { border-radius:6px; min-height:40px; padding:9px 12px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-message { min-height:0; font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .leader-orders-list { gap:12px; }
:root[data-color-profile] body.workspace-cabinet .leader-order-card { gap:10px; padding:16px; border-radius:8px; border-left:3px solid var(--workspace-accent); background:var(--ui-panel); box-shadow:none; }
:root[data-color-profile] body.workspace-cabinet .leader-order-card-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:start; }
:root[data-color-profile] body.workspace-cabinet .leader-order-card-heading>strong { color:var(--workspace-accent); font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .leader-order-card-heading>.leader-order-partner { grid-column:1; grid-row:2; min-width:0; font-size:15px; }
:root[data-color-profile] body.workspace-cabinet .leader-order-card-heading>time { grid-column:2; grid-row:1/3; color:var(--ui-muted); font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .leader-order-totals { font-size:13px; }
:root[data-color-profile] body.workspace-cabinet .leader-summary-group { padding:14px; border-radius:8px; background:var(--ui-panel); }
:root[data-color-profile] body.workspace-cabinet .summary-warehouse-feedback { padding:10px 12px; border-radius:5px; font-size:13px; }
:root[data-color-profile] body.workspace-cabinet .summary-warehouse-feedback.is-pending { color:#755916; background:#fff0d8; }
:root[data-color-profile] body.workspace-cabinet .summary-warehouse-feedback.is-in_work { color:#176139; background:#e3f2e8; }
:root[data-color-profile] body.workspace-cabinet .summary-warehouse-feedback.is-rejected { color:#8a2d25; background:#fff0ef; }
:root[data-color-profile] body.workspace-cabinet #partnerInviteFooter { border-top:1px solid #ffffff25; padding-top:16px; margin-top:16px; color:#d1e4de; }
:root[data-color-profile] body.workspace-cabinet #partnerInviteFooter p { color:inherit; }
:root[data-color-profile] body.workspace-cabinet .warehouse-cabinet { border:0; box-shadow:none; padding:0; background:transparent; gap:0; }
:root[data-color-profile] body.workspace-cabinet .warehouse-heading { color:#f0faf7; margin-bottom:8px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-heading :is(h1,.eyebrow) { color:inherit; }
:root[data-color-profile] body.workspace-cabinet .warehouse-heading p { color:#d1e4de; font-size:13px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-profile { display:flex; flex-wrap:wrap; gap:12px 30px; padding:0 0 16px; margin:0; background:transparent; border:0; }
:root[data-color-profile] body.workspace-cabinet .warehouse-profile>div { padding:0; border:0; }
:root[data-color-profile] body.workspace-cabinet .warehouse-profile>div { background:transparent; border-radius:0; }
:root[data-color-profile] body.workspace-cabinet .warehouse-heading h1 { font-size:26px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-panel h2 { font-size:22px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-profile dt { color:#c4ded5; font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-profile dd { color:#f0faf7; font-size:14px; }
:root[data-color-profile] body.workspace-cabinet .warehouse-panel { padding:20px; border-radius:0 9px 9px 9px; background:#f5f8f7; }
:root[data-color-profile] body.workspace-cabinet :is(.warehouse-summary-card,.individual-order-card,.warehouse-report-document) { background:#fff; border-radius:8px; border-color:var(--ui-line); box-shadow:none; }
:root[data-color-profile] body.workspace-cabinet .site-footer { color:#d1e4de; border-color:#ffffff25; font-size:12px; }
:root[data-color-profile] body.workspace-cabinet .site-footer a { color:#e3f2ec; }
:root[data-color-profile] body.workspace-cabinet .desktop-app.workspace-frame { max-width:1440px; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .topbar { color:#f0faf7; background:transparent; border:0; padding:20px 0; }
:root[data-color-profile] body.workspace-cabinet .topbar :is(.cabinet-settings-identity,.cabinet-runtime-version,.cabinet-runtime-version strong) { color:#e3f2ec; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .workspace { min-height:0; background:transparent; grid-template-columns:210px minmax(0,1fr); gap:16px; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .workspace>aside { background:transparent; color:#e3f2ec; padding:16px 0; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .workspace>aside :is(.nav-link,.nav-title,.nav-disabled) { color:#e3f2ec; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .workspace>aside .nav-active { background:var(--ui-panel); color:var(--ui-ink); border-radius:6px; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .content { min-width:0; padding:24px; border-radius:9px; background:#f5f8f7; color:var(--ui-ink); }
:root[data-color-profile] body.workspace-cabinet .desktop-app :is(h1,h2) { font-size:24px; }
:root[data-color-profile] body.workspace-cabinet .desktop-app :is(.primary,.secondary,.actions button,.link-button) { background:var(--workspace-accent); color:#fff; border:1px solid transparent; border-radius:6px; font-family:inherit; }
:root[data-color-profile] body.workspace-cabinet .desktop-app .actions button.danger { background:#fff0ef; color:#8a2d25; border-color:#e3b3af; }
/* Partner order uses the same bounded workspace; steps remain progress indicators. */
:root[data-color-profile] body.partner-order-workspace .page { min-height:0; padding:4px 0 28px; }
:root[data-color-profile] body.partner-order-workspace .application { width:100%; grid-template-columns:minmax(0,1fr); gap:0; align-items:start; }
:root[data-color-profile] body.partner-order-workspace .application .intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.85fr); gap:8px 28px; width:100%; max-width:none; align-items:start; }
:root[data-color-profile] body.partner-order-workspace .intro :is(.eyebrow,h1,.lead) { grid-column:1; color:#f0faf7; }
:root[data-color-profile] body.partner-order-workspace .intro .eyebrow { grid-row:1; font-size:12px; margin:4px 0 0; }
:root[data-color-profile] body.partner-order-workspace .intro h1 { grid-row:2; font-size:28px; line-height:1.2; letter-spacing:normal; }
:root[data-color-profile] body.partner-order-workspace .intro .lead { grid-row:3; max-width:56ch; margin:0; color:#d1e4de; font-size:14px; }
:root[data-color-profile] body.partner-order-workspace .leader-route-note { grid-column:2; grid-row:1/4; gap:6px; margin:0; padding:14px 16px; border:1px solid #ffffff30; border-left:3px solid var(--workspace-accent); border-radius:8px; background:var(--ui-soft); color:var(--ui-ink); font-size:13px; line-height:1.45; }
:root[data-color-profile] body.partner-order-workspace .leader-route-note .leader-route-heading { font-size:14px; margin-bottom:2px; }
:root[data-color-profile] body.partner-order-workspace .application .steps { grid-column:1/-1; grid-row:4; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:14px 0 0; align-self:stretch; }
:root[data-color-profile] body.partner-order-workspace .steps li { display:flex; align-items:center; gap:8px; padding:12px 22px 12px 14px; border-radius:6px 0 0 0; clip-path:polygon(0 0,calc(100% - 18px) 0,100% 100%,0 100%); color:#d1e4de; background:#ffffff18; font-size:14px; }
:root[data-color-profile] body.partner-order-workspace .steps li::before { display:none; }
:root[data-color-profile] body.partner-order-workspace .steps span { display:inline-grid; flex:0 0 22px; height:22px; place-items:center; border-radius:4px; background:#ffffff20; font-size:12px; }
:root[data-color-profile] body.partner-order-workspace .steps strong { overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
:root[data-color-profile] body.partner-order-workspace .steps .is-complete { background:#ffffff28; color:#f0faf7; }
:root[data-color-profile] body.partner-order-workspace .steps .is-current { background:#f5f8f7; color:var(--workspace-accent); }
:root[data-color-profile] body.partner-order-workspace .steps .is-current span { background:var(--workspace-accent); color:#fff; }
:root[data-color-profile] body.partner-order-workspace .application .form-column { max-width:none; width:100%; min-width:0; justify-self:stretch; padding:20px; border-radius:0 9px 9px 9px; background:#f5f8f7; }
:root[data-color-profile] body.partner-order-workspace :is(.order-card,.state-card) { border-radius:8px; background:var(--ui-panel); color:var(--ui-ink); box-shadow:none; }
:root[data-color-profile] body.partner-order-workspace :is(.order-card,.state-card) h2 { font-size:22px; color:var(--ui-ink); }
:root[data-color-profile] body.partner-order-workspace .site-header :is(.order-context,.secure-label,.public-version) { color:#d1e4de; }
:root[data-color-profile] body.partner-order-workspace .site-header .public-version strong { color:#f0faf7; }
:root[data-color-profile] body.partner-order-workspace .site-footer { margin-block:0; min-height:0; padding-block:16px; border-top:1px solid #ffffff25; }
:root[data-color-profile] body.partner-order-workspace :is(.submit-button,.secondary-button) { font-size:14px; border-radius:6px; }
:root[data-color-profile] body.partner-order-workspace .secondary-button { padding:10px 16px; border:1px solid var(--ui-line); background:var(--ui-soft); color:var(--workspace-accent); text-decoration:none; }
@media(min-width:901px) {
  :root[data-color-profile] body.partner-order-workspace #orderForm fieldset { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 24px; }
  :root[data-color-profile] body.partner-order-workspace #orderForm fieldset > :not(.field) { grid-column:1/-1; }
  :root[data-color-profile] body.partner-order-workspace #orderForm .field { margin-bottom:0; }
}
@media(max-width:800px) {
  :root[data-color-profile] body.partner-order-workspace .application .intro { grid-template-columns:minmax(0,1fr); gap:10px; }
  :root[data-color-profile] body.partner-order-workspace .leader-route-note { grid-column:1; grid-row:4; }
  :root[data-color-profile] body.partner-order-workspace .application .steps { grid-row:5; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:6px; }
  :root[data-color-profile] body.partner-order-workspace .application .form-column { padding:12px; border-radius:8px; }
  :root[data-color-profile] body.partner-order-workspace :is(.order-card,.state-card) { padding:16px; }
  :root[data-color-profile] body.partner-order-workspace .steps li { padding:10px 20px 10px 10px; gap:5px; font-size:12px; }
}
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs)>.action-help-wrap { flex:0 1 auto; margin-top:16px; background:transparent; }
:root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) .action-help-icon { color:#d1e4de; }
@media(max-width:900px) {
  :root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  :root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) [role=tab] { font-size:12px; padding:10px 20px 10px 10px; }
}
@media(max-width:600px) {
  :root[data-color-profile] body.workspace-cabinet .workspace-frame { margin:12px auto; padding:0 12px 12px; border-radius:10px; }
  :root[data-color-profile] body.workspace-cabinet .site-header { padding-block:14px; }
  :root[data-color-profile] body.workspace-cabinet .leader-orders-heading { flex-direction:column; align-items:start; gap:5px; }
  :root[data-color-profile] body.workspace-cabinet :is(.leader-orders-tabs,.warehouse-tabs) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; padding-bottom:6px; }
  :root[data-color-profile] body.workspace-cabinet .leader-orders-tabs [data-order-status=sent] { grid-column:1/-1; }
  :root[data-color-profile] body.workspace-cabinet .leader-orders-tabs>.action-help-wrap:has([data-order-status=sent]) { grid-column:1/-1; }
  :root[data-color-profile] body.workspace-cabinet :is(.leader-orders-workspace,.warehouse-panel) { padding:12px; border-radius:8px; }
  :root[data-color-profile] body.workspace-cabinet .leader-order-card { padding:12px; }
  :root[data-color-profile] body.workspace-cabinet .leader-order-card-heading { grid-template-columns:minmax(0,1fr); }
  :root[data-color-profile] body.workspace-cabinet .leader-order-card-heading>time { grid-column:1; grid-row:auto; }
  :root[data-color-profile] body.workspace-cabinet :is(.button,input,select,textarea) { max-width:100%; }
  :root[data-color-profile] body.workspace-cabinet :is(input,select,textarea) { font-size:16px; }
  :root[data-color-profile] body.workspace-cabinet .site-footer { padding-block:16px; }
}
@media(pointer:coarse) { :root[data-color-profile] body.workspace-cabinet :is(.button,button.text-action,.cabinet-settings-button,.warehouse-dialog-close) { min-height:44px; } }
@media print {
  :root[data-color-profile] body.workspace-cabinet { background:#fff!important; color:#000; }
  :root[data-color-profile] body.workspace-cabinet .workspace-frame { width:100%; margin:0; padding:0; border-radius:0; background:#fff; }
  :root[data-color-profile] body.workspace-cabinet :is(.site-header,.site-footer,.leader-orders-tabs,.warehouse-tabs) { display:none; }
  :root[data-color-profile] body.partner-order-workspace .intro :is(.eyebrow,h1,.lead) { color:#000; }
  :root[data-color-profile] body.partner-order-workspace .application .steps { display:none; }
}
