/* 门店反馈与服务中心：维修申报、物料下单、资料收录统一视觉规范 */
:where(body.store-service-ui) {
  --service-primary: #2563eb;
  --service-primary-strong: #1d4ed8;
  --service-primary-soft: #eef4ff;
  --service-ink: #17243b;
  --service-muted: #64748b;
  --service-line: #d7e0ec;
  --service-line-strong: #b9c8da;
  --service-surface: #ffffff;
  --service-surface-soft: #f7f9fc;
  --service-success: #0f8a67;
  --service-danger: #d14343;
  --service-radius: 14px;
  --service-control-radius: 10px;
  --service-shadow: 0 10px 28px rgba(30, 64, 112, .08);
  min-width: 0;
  color: var(--service-ink);
  background: #f3f6fb;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

:where(body.store-service-ui) *,
:where(body.store-service-ui) *::before,
:where(body.store-service-ui) *::after { box-sizing: border-box; }

:where(body.store-service-ui) :is(button, input, select, textarea) { font: inherit; }

:where(body.store-service-ui) button,
:where(body.store-service-ui) :is(.portal-home-button, .secondary-home) {
  min-height: 44px;
  border-radius: var(--service-control-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

:where(body.store-service-ui) button:not(:disabled):hover,
:where(body.store-service-ui) :is(.portal-home-button, .secondary-home):hover {
  transform: translateY(-1px);
}

:where(body.store-service-ui) button:focus-visible,
:where(body.store-service-ui) a:focus-visible,
:where(body.store-service-ui) :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(37, 99, 235, .2);
  outline-offset: 2px;
}

/* 同一套顶部栏 */
:where(body.store-service-ui) :is(.mobile-head, .public-head, .portal-head) {
  min-height: 68px;
  border-bottom: 1px solid var(--service-line);
  color: var(--service-ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 16px rgba(30, 64, 112, .05);
  backdrop-filter: blur(12px);
}

:where(body.store-service-ui) :is(.mobile-head, .head-inner, .portal-head-inner) {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

:where(body.store-service-ui) .mobile-head { padding: 10px 0; }

:where(body.store-service-ui) :is(.head-brand img, .brand img, .portal-brand img) {
  width: 44px;
  height: 44px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  object-fit: cover;
}

:where(body.store-service-ui) :is(.head-brand b, .brand strong, .portal-brand strong) {
  color: var(--service-ink);
  font-size: 17px;
  font-weight: 800;
}

:where(body.store-service-ui) :is(.head-brand span, .brand span, .portal-brand span) {
  color: var(--service-muted);
  font-size: 12px;
}

:where(body.store-service-ui) :is(.head-actions, .portal-actions) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

:where(body.store-service-ui) :is(.head-actions .mini-button, .portal-home-button, .secondary-home) {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--service-line);
  color: var(--service-primary-strong);
  background: var(--service-surface);
  text-decoration: none;
}

/* 统一页面宽度与首屏引导 */
:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .mobile-main,
:where(body.page-store-intake.store-service-ui) main,
:where(body.page-store-feedback.store-service-ui) main {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 18px auto 48px;
  padding: 0;
}

:where(body.store-service-ui) :is(.action-card, .intro-card, .portal-hero) {
  min-height: 138px;
  padding: 24px 26px;
  border: 1px solid #4d82df;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1e4f96 0%, #2563b8 58%, #177d7a 100%) !important;
  box-shadow: var(--service-shadow);
}

:where(body.store-service-ui) :is(.action-card h1, .intro-card h1, .portal-hero h1) {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

:where(body.store-service-ui) :is(.action-card p, .intro-card p, .portal-hero p) {
  margin: 0;
  color: #e8f0ff;
  font-size: 14px;
  line-height: 1.65;
}

:where(body.store-service-ui) :is(.section-kicker, .eyebrow) {
  color: #cfe2ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

:where(body.store-service-ui) :is(.new-button, .service-card button, #submitButton, .submit-main,
  .confirm-button, .repair-supplement-submit, .eng-manager-form button[type="submit"],
  .submit-success-dialog .success-actions button, .success-card .success-actions button) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid var(--service-primary) !important;
  border-radius: var(--service-control-radius) !important;
  color: #fff !important;
  background: var(--service-primary) !important;
  box-shadow: 0 5px 14px rgba(37, 99, 235, .16);
}

:where(body.store-service-ui) :is(.new-button, .service-card button, #submitButton, .submit-main,
  .confirm-button, .repair-supplement-submit, .eng-manager-form button[type="submit"]):not(:disabled):hover {
  border-color: var(--service-primary-strong) !important;
  background: var(--service-primary-strong) !important;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .new-button {
  width: auto;
  height: 44px;
  color: var(--service-primary-strong) !important;
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: none;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .new-button span {
  font-size: 14px;
}

/* 统一数据概览、列表与筛选 */
:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .quick-stats {
  gap: 10px;
  margin: 12px 0;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .quick-stat {
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  color: var(--service-ink);
  background: var(--service-surface);
  box-shadow: none;
  text-align: left;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .quick-stat b {
  color: var(--service-primary-strong);
  font-size: 22px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .quick-stat span {
  color: var(--service-muted);
  font-size: 12px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head {
  min-height: 64px;
  margin: 12px 0 10px;
  padding: 10px 14px;
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  background: var(--service-surface);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head h2 {
  color: var(--service-ink);
  font-size: 18px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head p {
  color: var(--service-muted);
  font-size: 12px;
}

:where(body.store-service-ui) :is(input, select, textarea) {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--service-line);
  border-radius: var(--service-control-radius);
  color: var(--service-ink);
  background: var(--service-surface);
  outline: none;
}

:where(body.store-service-ui) :is(input, select, textarea):focus {
  border-color: var(--service-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head select {
  min-height: 42px;
  border-color: var(--service-line);
  color: var(--service-ink);
  background: var(--service-surface-soft);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .my-orders {
  gap: 9px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .mobile-order {
  padding: 14px 16px;
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  color: var(--service-ink);
  background: var(--service-surface);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .mobile-order:hover {
  border-color: #9bb7dc;
  box-shadow: var(--service-shadow);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .order-status {
  border-color: #bfd2ee;
  color: var(--service-primary-strong);
  background: var(--service-primary-soft);
}

/* 统一弹窗、表单卡片和上传区 */
:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet {
  border-color: var(--service-line) !important;
  border-radius: 18px !important;
  color: var(--service-ink);
  background: var(--service-surface);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-head {
  min-height: 72px;
  padding: 14px 18px 12px;
  border-color: var(--service-line);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-head h2 {
  color: var(--service-ink);
  font-size: 20px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-close {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--service-line);
  border-radius: 10px;
  color: var(--service-ink);
  background: var(--service-surface-soft);
  font-size: 22px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .compact-form {
  gap: 12px;
  padding: 14px 18px 18px;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .compact-form :is(input, select, textarea) {
  min-height: 44px;
  padding: 10px 12px;
  border-color: var(--service-line);
  border-radius: var(--service-control-radius);
  color: var(--service-ink);
  background: var(--service-surface);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .compact-form textarea {
  min-height: 88px;
  resize: vertical;
}

:where(body.store-service-ui) :is(.repair-store-search, .material-store-search, .store-search) button,
:where(body.store-service-ui) :is(.repair-store-results, .material-store-results, .store-results) button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--service-primary);
  border-radius: var(--service-control-radius);
  color: #fff;
  background: var(--service-primary);
}

:where(body.store-service-ui) :is(.repair-selected-store, .material-selected-store, .selected-store) {
  border: 1px solid #afd8c9;
  border-radius: 12px;
  background: #f0faf6;
}

:where(body.store-service-ui) :is(.repair-selected-store, .material-selected-store, .selected-store) button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  color: var(--service-primary-strong);
  background: transparent;
}

:where(body.page-material-submit.store-service-ui) :is(.request-step, .material-item),
:where(body.page-store-intake.store-service-ui) :is(.form-card, .material-block) {
  border-color: var(--service-line);
  border-radius: var(--service-radius);
  color: var(--service-ink);
  background: var(--service-surface);
  box-shadow: none;
}

:where(body.page-material-submit.store-service-ui) .request-step-title > span,
:where(body.page-store-intake.store-service-ui) .section-title > span {
  color: #fff;
  background: var(--service-primary);
}

:where(body.store-service-ui) :is(.file-box, .material-item-files, .photo-box) {
  border-color: var(--service-line-strong);
  border-radius: 12px;
  background: var(--service-surface-soft);
}

:where(body.store-service-ui) :is(.file-box, .material-item-files, .photo-box):hover {
  border-color: var(--service-primary);
  background: var(--service-primary-soft);
}

:where(body.page-material-submit.store-service-ui) .add-material-item,
:where(body.page-store-intake.store-service-ui) .add-banner-row,
:where(body.store-service-ui) :is(.cancel-button, .urge-button) {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--service-line) !important;
  border-radius: var(--service-control-radius) !important;
  color: var(--service-primary-strong) !important;
  background: var(--service-surface) !important;
}

:where(body.store-service-ui) :is(.material-item-remove, [data-remove-banner]) {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #f0c3c3;
  border-radius: 9px;
  color: var(--service-danger);
  background: #fff7f7;
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-actions {
  grid-template-columns: minmax(96px, auto) minmax(160px, 220px);
  gap: 10px;
  padding: 12px 18px;
  border-color: var(--service-line);
  background: var(--service-surface);
}

:where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-actions button {
  min-height: 44px;
}

/* 资料收录页与服务中心卡片 */
:where(body.page-store-intake.store-service-ui) .intro-card {
  grid-template-columns: minmax(0, 1fr) 380px;
}

:where(body.page-store-intake.store-service-ui) .intro-card li.active b {
  color: var(--service-primary-strong);
  background: #fff;
}

:where(body.page-store-intake.store-service-ui) .form-card {
  margin-top: 12px;
  padding: 20px;
}

:where(body.page-store-intake.store-service-ui) .section-title h2 {
  color: var(--service-ink);
  font-size: 18px;
}

:where(body.page-store-intake.store-service-ui) .section-title p { color: var(--service-muted); }

:where(body.page-store-intake.store-service-ui) .photo-box b { color: var(--service-primary-strong); }

:where(body.page-store-intake.store-service-ui) .submit-panel {
  padding: 12px 14px;
  border: 1px solid var(--service-line);
  border-radius: var(--service-radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--service-shadow);
}

:where(body.page-store-feedback.store-service-ui) .portal-guide,
:where(body.page-store-feedback.store-service-ui) .portal-note,
:where(body.page-store-feedback.store-service-ui) .service-card {
  border-color: var(--service-line);
  border-radius: var(--service-radius);
  background: var(--service-surface);
  box-shadow: none;
}

:where(body.page-store-feedback.store-service-ui) .service-card { min-height: 370px; }

:where(body.page-store-feedback.store-service-ui) .service-card::before { background: var(--service-primary); }

:where(body.page-store-feedback.store-service-ui) .service-icon {
  color: var(--service-primary-strong);
  background: var(--service-primary-soft);
}

:where(body.page-store-feedback.store-service-ui) .service-card button {
  width: 100%;
  justify-content: space-between;
}

:where(body.page-store-feedback.store-service-ui) .portal-guide b { background: var(--service-primary); }

@media (max-width: 780px) {
  :where(body.store-service-ui) :is(.mobile-head, .head-inner, .portal-head-inner),
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .mobile-main,
  :where(body.page-store-intake.store-service-ui) main,
  :where(body.page-store-feedback.store-service-ui) main {
    width: calc(100% - 24px);
  }

  :where(body.store-service-ui) :is(.action-card, .intro-card, .portal-hero) {
    min-height: 0;
    padding: 21px 18px;
    border-radius: 16px;
  }

  :where(body.page-store-intake.store-service-ui) .intro-card { grid-template-columns: 1fr; }
  :where(body.page-store-feedback.store-service-ui) .service-grid { grid-template-columns: 1fr; }
  :where(body.page-store-feedback.store-service-ui) .service-card { min-height: 0; }
}

@media (max-width: 520px) {
  :where(body.store-service-ui) :is(.mobile-head, .public-head, .portal-head) { min-height: 64px; }
  :where(body.store-service-ui) .mobile-head { padding: 9px 0; }
  :where(body.store-service-ui) :is(.head-brand img, .brand img, .portal-brand img) { width: 40px; height: 40px; }
  :where(body.store-service-ui) :is(.head-brand b, .brand strong, .portal-brand strong) { font-size: 15px; }
  :where(body.store-service-ui) :is(.head-actions .mini-button, .portal-home-button, .secondary-home) { min-height: 40px; padding: 0 10px; font-size: 12px; }
  :where(body.store-service-ui) :is(.action-card h1, .intro-card h1, .portal-hero h1) { font-size: 25px; }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .action-card { align-items: flex-end; }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .quick-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head { align-items: flex-start; }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .orders-head select { width: 100%; max-width: none; }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet { width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; }
  :where(body.page-repair-submit.store-service-ui, body.page-material-submit.store-service-ui) .sheet-actions { grid-template-columns: 1fr 1.45fr; }
  :where(body.page-store-intake.store-service-ui) .form-card { padding: 17px 14px; }
  :where(body.page-store-intake.store-service-ui) .store-search { grid-template-columns: 1fr; }
  :where(body.page-store-intake.store-service-ui) .store-search button { width: 100%; }
  :where(body.store-service-ui) button,
  :where(body.store-service-ui) :is(input, select, textarea) { min-height: 46px; }
}

/* 高优先级收口：覆盖历史页面内联/打包样式，保证三个入口实测一致 */
html body.store-service-ui.page-repair-submit .mobile-head,
html body.store-service-ui.page-material-submit .mobile-head,
html body.store-service-ui.page-store-intake .public-head,
html body.store-service-ui.page-store-feedback .portal-head {
  min-height: 68px !important;
  border-color: var(--service-line) !important;
  background: rgba(255, 255, 255, .96) !important;
}

html body.store-service-ui.page-repair-submit .head-actions :is(a, button),
html body.store-service-ui.page-material-submit .head-actions :is(a, button),
html body.store-service-ui.page-store-intake .head-actions :is(a, button),
html body.store-service-ui.page-store-feedback .portal-actions :is(a, button) {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 13px !important;
  border: 1px solid var(--service-line) !important;
  border-radius: var(--service-control-radius) !important;
  color: var(--service-primary-strong) !important;
  background: var(--service-surface) !important;
}

html body.store-service-ui.page-repair-submit .action-card,
html body.store-service-ui.page-material-submit .action-card,
html body.store-service-ui.page-store-intake .intro-card,
html body.store-service-ui.page-store-feedback .portal-hero {
  border-color: #4d82df !important;
  background: linear-gradient(135deg, #1e4f96 0%, #2563b8 58%, #177d7a 100%) !important;
}

html body.store-service-ui.page-repair-submit .action-card .new-button,
html body.store-service-ui.page-material-submit .action-card .new-button {
  min-height: 44px !important;
  height: 44px !important;
  border: 1px solid #fff !important;
  border-radius: var(--service-control-radius) !important;
  color: var(--service-primary-strong) !important;
  background: #fff !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .compact-form :is(input, select, textarea),
html body.store-service-ui.page-material-submit dialog.sheet .compact-form :is(input, select, textarea),
html body.store-service-ui.page-store-intake :is(input, select, textarea) {
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--service-line) !important;
  border-radius: var(--service-control-radius) !important;
  color: var(--service-ink) !important;
  background: var(--service-surface) !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .compact-form textarea,
html body.store-service-ui.page-material-submit dialog.sheet .compact-form textarea,
html body.store-service-ui.page-store-intake textarea {
  min-height: 88px !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .sheet-close,
html body.store-service-ui.page-material-submit dialog.sheet .sheet-close {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 1px solid var(--service-line) !important;
  border-radius: var(--service-control-radius) !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .sheet-actions button,
html body.store-service-ui.page-material-submit dialog.sheet .sheet-actions button {
  min-height: 44px !important;
  height: 44px !important;
  border-radius: var(--service-control-radius) !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .sheet-actions .submit-main,
html body.store-service-ui.page-material-submit dialog.sheet .sheet-actions .submit-main {
  border-color: var(--service-primary) !important;
  color: #fff !important;
  background: var(--service-primary) !important;
}

html body.store-service-ui.page-repair-submit dialog.sheet .sheet-actions .cancel-button,
html body.store-service-ui.page-material-submit dialog.sheet .sheet-actions .cancel-button {
  border-color: var(--service-line) !important;
  color: var(--service-ink) !important;
  background: var(--service-surface-soft) !important;
}

html body.store-service-ui.page-material-submit .material-store-search button,
html body.store-service-ui.page-repair-submit .repair-store-search button,
html body.store-service-ui.page-store-intake .store-search button {
  min-height: 44px !important;
  border-radius: var(--service-control-radius) !important;
  border-color: var(--service-primary) !important;
  color: #fff !important;
  background: var(--service-primary) !important;
}

html.pcui-preview body.submit-page.v15-ui.page-submission.page-repair-submit.store-service-ui .mobile-head .head-actions :is(a, button),
html.pcui-preview body.submit-page.v15-ui.page-submission.page-material-submit.store-service-ui .mobile-head .head-actions :is(a, button) {
  min-height: 42px !important;
  height: 42px !important;
  border-radius: var(--service-control-radius) !important;
}

html.pcui-preview body.page-repair-submit.store-service-ui .action-card button#newOrder,
html.pcui-preview body.page-material-submit.store-service-ui .action-card button#newOrder {
  min-height: 44px !important;
  height: 44px !important;
  border-color: #fff !important;
  color: var(--service-primary-strong) !important;
  background: #fff !important;
}

html.pcui-preview body.page-repair-submit.store-service-ui dialog#submitDialog.brand-ticket-dialog form#orderForm.brand-ticket-form .compact-form :is(input, select, textarea),
html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.brand-ticket-dialog form#orderForm.brand-ticket-form .compact-form :is(input, select, textarea) {
  min-height: 44px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--service-line) !important;
  border-radius: var(--service-control-radius) !important;
  color: var(--service-ink) !important;
  background: var(--service-surface) !important;
}

html.pcui-preview body.page-repair-submit.store-service-ui dialog#submitDialog.brand-ticket-dialog form#orderForm.brand-ticket-form .compact-form textarea,
html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.brand-ticket-dialog form#orderForm.brand-ticket-form .compact-form textarea {
  min-height: 88px !important;
}

/* Material request is a three-step form, not a four-column work-order form. */
html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.material-sheet {
  width: min(940px, calc(100vw - 40px)) !important;
  max-width: 940px !important;
  max-height: calc(100vh - 32px) !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.material-sheet > form#orderForm {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: calc(100vh - 34px) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-head {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: flex !important;
  grid-column: 1 !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 70px !important;
  margin: 0 !important;
  padding: 13px 18px !important;
  border-bottom: 1px solid var(--service-line) !important;
  background: var(--service-surface) !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-head small {
  display: block !important;
  margin: 0 0 2px !important;
  color: var(--service-primary) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .14em !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-head h2 {
  margin: 0 !important;
  color: var(--service-ink) !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-head h2::before {
  content: none !important;
  display: none !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-request-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-content: start !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 18px 18px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-padding-top: 14px;
  background: #f6f8fc !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog :is(.request-step, .material-item) {
  gap: 12px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--service-line) !important;
  border-radius: 12px !important;
  background: var(--service-surface) !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-item .form-row,
html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .delivery-step .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog :is(.material-item, .delivery-step) label {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #50627c !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog :is(.material-item, .delivery-step) label > :is(input, select, textarea) {
  display: block !important;
  width: 100% !important;
  margin-top: 6px !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-item-files > input {
  margin-top: 7px !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-item-error {
  margin: 5px 0 0 !important;
}

html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-actions {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: grid !important;
  grid-template-columns: 112px minmax(190px, 225px) !important;
  grid-column: 1 !important;
  justify-content: end !important;
  gap: 10px !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  border-top: 1px solid var(--service-line) !important;
  background: var(--service-surface) !important;
}

@media (max-width: 800px) {
  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.material-sheet {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog.material-sheet > form#orderForm {
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-request-form {
    padding: 10px 12px 14px !important;
  }

  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .sheet-actions {
    grid-template-columns: minmax(90px, 1fr) minmax(170px, 1.45fr) !important;
    padding-bottom: calc(11px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 620px) {
  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .material-item .form-row,
  html.pcui-preview body.page-material-submit.store-service-ui dialog#submitDialog .delivery-step .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
