.order-modal {
  box-sizing: border-box;
  width: min(520px, calc(100% - 28px));
  max-height: min(90dvh, 850px);
  margin: auto;
  padding: 0;
  border: 1px solid #35404d;
  border-radius: 18px;
  background: #11141c;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  box-shadow: 0 24px 100px #000b;
  overflow-y: auto;
}
.order-modal:not([open]) { display: none; }
.order-modal::backdrop { background: #02050ccb; backdrop-filter: blur(5px); }
.order-modal-panel { position: relative; padding: 30px; }
.order-modal-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 30px; cursor: pointer; }
.order-modal-eyebrow { margin: 0 44px 10px 0; color: #58d9ff; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.order-modal h2 { margin: 0 26px 10px 0; font-size: clamp(24px, 4vw, 30px); line-height: 1.2; }
.order-modal #order-modal-description { margin: 0 0 22px; color: #b3bdca; font-size: 14px; line-height: 1.55; }
.order-modal form { display: flex; flex-direction: column; gap: 9px; }
.order-modal label { margin-top: 5px; font-size: 14px; font-weight: 650; }
.order-modal label span { color: #61dfff; }
.order-modal select, .order-modal input { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #35404d; border-radius: 8px; background: #090d14; color: #fff; font: inherit; color-scheme: dark; }
.order-modal-privacy { margin: 10px 0; color: #b3bdca; font-size: 12px; line-height: 1.6; }
.order-modal a { color: #61dfff; text-underline-offset: 3px; }
.order-modal-submit { min-height: 49px; border: 0; border-radius: 9px; background: linear-gradient(110deg, #26c9f6, #8551e5); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.order-modal-status { padding: 12px; border: 1px solid #398ba2; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.order-modal-status[hidden] { display: none; }
.order-modal-status p { margin: 0 0 8px; }
.order-modal :focus-visible { outline: 2px solid #69defe; outline-offset: 3px; }
.article-content a[href="#order"], .article-toc-cta a[data-order-open] { display: inline-flex; padding: 13px 20px; border-radius: 9px; background: linear-gradient(110deg, #26c9f6, #8551e5); color: #fff; font-weight: 700; text-decoration: none; }
.editorial-payments { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.editorial-payments span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #171d28; border: 1px solid #293343; border-radius: 8px; color: #dce5f1; font-size: 12px; }
.editorial-payments img { width: 44px; height: 22px; object-fit: contain; }
.editorial-header .menu-toggle { display: none; }
@media (max-width: 992px) {
  .editorial-header { position: relative; flex-direction: row; align-items: center; flex-wrap: nowrap; gap: 16px; }
  .editorial-header .menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 44px; height: 44px; padding: 11px 7px; margin-left: auto; border: 0; background: transparent; cursor: pointer; }
  .editorial-header .menu-toggle .bar { width: 100%; height: 3px; border-radius: 5px; background: #fff; }
  .editorial-header #primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; padding: 12px 24px; background: #101723; border-bottom: 1px solid #303c4e; }
  .editorial-header #primary-nav.active { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .editorial-header #primary-nav a { display: block; padding: 13px 0; min-height: 44px; box-sizing: border-box; }
  .editorial-header .menu-toggle.open .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .editorial-header .menu-toggle.open .bar:nth-child(2) { opacity: 0; }
  .editorial-header .menu-toggle.open .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .order-modal-panel { padding: 24px 20px; }
  .order-modal-close { top: 8px; right: 8px; }
}
