.clmos-order-toolbar,
.clmos-store {
  --clmos-text: #182231;
  --clmos-muted: #4b596b;
  --clmos-line: #dfe5ec;
  --clmos-brand: #fd5c05;
  box-sizing: border-box;
  display: grid;
  min-width: 0;
  width: 100%;
  gap: 12px;
  padding: 12px;
  background: #fff;
  color: var(--clmos-text);
  border: 1px solid var(--clmos-line);
  border-radius: 16px;
}

.clmos-order-toolbar button,
.clmos-order-toolbar select,
.clmos-order-toolbar input,
.clmos-store button {
  box-sizing: border-box;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--clmos-line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.clmos-order-toolbar button,
.clmos-store button {
  padding: 6px 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 650;
  cursor: pointer;
}

.clmos-order-toolbar :is(button, input, select):focus-visible,
.clmos-store button:focus-visible {
  outline: 2px solid var(--clmos-brand);
  outline-offset: 2px;
}

.clmos-order-toolbar input {
  width: 100%;
  padding: 0 10px;
  font-size: 16px;
  appearance: none;
}

.clmos-tabs {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.clmos-tabs button {
  flex: 1 1 0;
}

.clmos-tabs button[aria-pressed="true"] {
  border-color: #ffd0b9;
  background: #fff1e8;
  color: #853305;
}

.clmos-order-filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.clmos-order-filter-row label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--clmos-muted);
  font-size: 13px;
  font-weight: 650;
}

.clmos-order-filter-row select {
  max-width: min(185px, 53vw);
  padding: 0 5px;
  color: var(--clmos-text);
  font-size: 16px;
}

.clmos-order-filter-row span {
  margin-left: auto;
  color: var(--clmos-muted);
  font-size: 12px;
}

[data-ceplink-mobile-orders-empty] {
  align-items: center;
  gap: 8px;
}

[data-ceplink-mobile-orders-empty] > :first-child {
  align-self: stretch;
}

[data-ceplink-mobile-order-cards] > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

[data-ceplink-mobile-order-cards] > * > :first-child {
  gap: 10px;
}

[data-ceplink-mobile-order-cards] > * > :first-child > :last-child > :first-child {
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.clmos-store {
  gap: 14px;
  padding: 15px;
}

.clmos-store h2,
.clmos-store p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.clmos-store h2 {
  font-size: 20px;
  line-height: 1.25;
}

.clmos-store p {
  color: var(--clmos-muted);
  font-size: 13px;
  line-height: 1.4;
}

.clmos-store-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.clmos-store-identity > :first-child {
  flex: 0 0 auto;
}

.clmos-store-identity > :last-child {
  min-width: 0;
}

.clmos-store-badges,
.clmos-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clmos-store-badges span {
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--clmos-line);
  border-radius: 8px;
  background: #f7f8fa;
  color: var(--clmos-muted);
  font-size: 12px;
  font-weight: 650;
}

.clmos-store-badges .clmos-positive {
  background: #e7f5eb;
  border-color: #bce1c8;
  color: #205d38;
}

.clmos-store-profile-tools,
.clmos-store-error {
  display: grid;
  gap: 8px;
}

.clmos-store .clmos-store-checklist {
  display: grid;
  justify-content: start;
  gap: 4px;
  padding: 8px 11px;
  background: #f7f8fa;
  text-align: left;
}

.clmos-store-checklist small {
  color: var(--clmos-muted);
  font-size: 12px;
  font-weight: 500;
}

.clmos-store .clmos-primary {
  background: var(--clmos-brand);
  border-color: var(--clmos-brand);
  color: var(--clmos-text);
}

.clmos-store-links button {
  flex: 1 1 auto;
}

[data-ceplink-mobile-store-overlay],
[data-ceplink-mobile-order-detail-backdrop] {
  padding: 0;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
}

[data-ceplink-mobile-store-overlay] > [data-ceplink-mobile-store-editor],
[data-ceplink-mobile-order-detail-backdrop] > [data-ceplink-mobile-order-detail] {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
}

[data-ceplink-mobile-store-editor] > :first-child,
[data-ceplink-mobile-order-detail] > :first-child {
  box-sizing: border-box;
  flex-shrink: 0;
  padding: max(10px, env(safe-area-inset-top, 0px)) 14px 10px;
  border-bottom: 1px solid #dfe5ec;
}

[data-ceplink-mobile-store-editor] > :first-child > [role="button"],
[data-ceplink-mobile-order-detail] > :first-child > [role="button"] {
  min-width: 44px;
  min-height: 44px;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-editor-scroll],
[data-ceplink-mobile-order-detail] [data-ceplink-mobile-order-detail-scroll] {
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-editor-scroll] > :first-child {
  box-sizing: border-box;
  gap: 12px;
  padding: 12px 14px 18px;
}

[data-ceplink-mobile-order-detail] [data-ceplink-mobile-order-detail-scroll] > :first-child {
  box-sizing: border-box;
  gap: 9px;
  padding: 12px 14px calc(20px + env(safe-area-inset-bottom, 0px));
}

[data-ceplink-mobile-store-editor] :is(input, textarea) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  font-size: 16px;
}

.clmos-store-section {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 10px;
  padding: 12px;
  border: 1px solid #dfe5ec;
  border-radius: 14px;
}

.clmos-store-section h3 {
  margin: 0;
  color: #182231;
  font-size: 16px;
  line-height: 1.3;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid]:not([data-ceplink-mobile-store-grid="preview"]),
[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="preview"] > :last-child {
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  width: 100%;
  min-width: 0;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid]:not([data-ceplink-mobile-store-grid="preview"]) > *,
[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="preview"] > :last-child > * {
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="contact"] > :first-child {
  flex-wrap: wrap;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="contact"] > :first-child > :nth-child(2) {
  min-width: 0;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="contact"] > :first-child > :last-child {
  min-height: 44px;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-editor-actions] {
  flex-shrink: 0;
  padding: 8px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-editor-actions] > * {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
}

[data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-editor-actions] > [data-ceplink-action="primary"] {
  flex-grow: 2;
  background: #fd5c05;
  border-color: #fd5c05;
}

[data-ceplink-mobile-store-checklist] {
  max-width: 100%;
  min-width: 0;
}

[data-ceplink-mobile-store-checklist] > :last-child > * {
  min-width: 0;
  min-height: 44px;
  flex: 1 1 0;
}


.clmos-order-toolbar {
  margin-bottom: 8px;
}

@media (max-width: 360px) {
  [data-ceplink-mobile-store-editor] [data-ceplink-mobile-store-grid="contact"] > :first-child > :last-child {
    flex: 0 0 100%;
    width: 100%;
  }
}

[data-ceplink-mobile-order-detail-scroll] > :first-child > :nth-child(2) > :first-child {
  align-items: flex-start;
}

[data-ceplink-mobile-order-detail-scroll] > :first-child > :nth-child(2) > :first-child > * > :last-child {
  display: block;
  line-height: 1.2;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
}