/* Admin "New VPS order" dialog (master goal V·D·21): page styles (strict CSP; no inline styles, no <style>). */
.vnw-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .62); backdrop-filter: blur(2px); z-index: 1000; display: flex;
  align-items: flex-start; justify-content: center; padding: 5vh 18px; overflow: auto; }
.vnw { max-width: 640px; width: 100%; background: var(--bg, #0f1a28); border: 1px solid var(--border, #1e3148); border-radius: 14px;
  display: flex; flex-direction: column; max-height: 88vh; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; }
.vnw [hidden] { display: none !important; }
.vnw-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border-soft, #15273e); }
.vnw-head-text { flex: 1; min-width: 0; }
.vnw-head h3 { margin: 0; font-size: 17px; font-weight: 700; flex: 1; letter-spacing: -.2px; }
.vnw-head .sub { font-size: 12px; color: var(--muted, #8595ab); margin-top: 2px; font-weight: 400; }
.vnw-x { cursor: pointer; color: var(--muted, #8595ab); font-size: 20px; line-height: 1; padding: 4px 8px; border-radius: 8px;
  border: 1px solid transparent; background: transparent; font-family: inherit; }
.vnw-x:hover, .vnw-x:focus-visible { background: var(--bg-2, #0c1622); color: var(--text, #e8eef7); }
.vnw-body { padding: 6px 22px 18px; overflow: auto; flex: 1; }
.vnw-sec { padding: 16px 0; border-bottom: 1px solid var(--border-soft, #15273e); }
.vnw-sec:last-child { border-bottom: none; }
.vnw-sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.vnw-num { width: 22px; height: 22px; border-radius: 50%; background: var(--accent, #3b9eff); color: #04121f; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vnw-sec-t { font-size: 13px; font-weight: 700; color: var(--text, #e8eef7); letter-spacing: .2px; }
.vnw-sec-hint { font-size: 11.5px; color: var(--muted); margin-inline-start: auto; font-weight: 400; }
.vnw-lbl { display: block; font-size: 11px; font-weight: 600; color: var(--muted, #8595ab); text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 5px; }
.vnw-in, .vnw-sel { width: 100%; padding: 9px 11px; border: 1px solid var(--border, #1e3148); border-radius: 9px; background: var(--bg-2, #0c1622);
  color: var(--text, #e8eef7); font-size: 13.5px; font-family: inherit; }
.vnw-in:focus, .vnw-sel:focus { outline: none; border-color: var(--accent, #3b9eff); box-shadow: 0 0 0 3px rgba(59, 158, 255, .15); }
.vnw-sel:disabled { opacity: .6; }
.vnw-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .vnw-grid2 { grid-template-columns: 1fr; } }
/* customer combobox */
.vnw-cb { position: relative; }
.vnw-pop { position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 20; background: var(--bg, #0f1a28);
  border: 1px solid var(--border, #1e3148);
  border-radius: 11px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); max-height: 288px; overflow: auto; display: none; }
.vnw-pop.show { display: block; }
.vnw-pop-h { padding: 7px 12px; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 1px solid var(--border-soft, #15273e); position: sticky; top: 0; background: var(--bg, #0f1a28); }
.vnw-row { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid var(--border-soft, #15273e); display: flex; flex-direction: column;
  gap: 1px; }
.vnw-row:last-child { border-bottom: none; }
.vnw-row:hover, .vnw-row.active { background: var(--accent-soft, rgba(59, 158, 255, .12)); }
.vnw-email { font-size: 13.5px; font-weight: 600; color: var(--text, #e8eef7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vnw-meta { font-size: 11.5px; color: var(--muted, #8595ab); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vnw-tid { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; color: var(--muted); background: var(--bg-2, #0c1622);
  border: 1px solid var(--border-soft, #15273e); border-radius: 5px; padding: 0 5px; }
.vnw-more { display: block; width: 100%; padding: 9px 12px; text-align: center; font-size: 12px; color: var(--accent, #3b9eff); cursor: pointer;
  font-weight: 600; background: transparent; border: none; font-family: inherit; }
.vnw-more:hover, .vnw-more:focus-visible { background: var(--accent-soft, rgba(59, 158, 255, .12)); }
.vnw-empty { padding: 18px 12px; text-align: center; color: var(--muted); font-size: 12.5px; }
.vnw-retry { margin-top: 8px; }
.vnw-retry--more { margin-top: 6px; }
.vnw-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--accent, #3b9eff); border-radius: 9px;
  background: var(--accent-soft, rgba(59, 158, 255, .10)); }
.vnw-chip .ck { color: var(--ok, #34d399); font-size: 16px; }
.vnw-chip .info { flex: 1; min-width: 0; }
.vnw-chip .ce { font-size: 13.5px; font-weight: 700; color: var(--text, #e8eef7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vnw-chip .cm { font-size: 11.5px; color: var(--muted, #8595ab); margin-top: 1px; }
.vnw-chip .chg { cursor: pointer; font-size: 11.5px; color: var(--accent, #3b9eff); font-weight: 600; white-space: nowrap;
  border: 1px solid var(--border, #1e3148);
  border-radius: 7px; padding: 5px 9px; background: transparent; font-family: inherit; }
.vnw-chip .chg:hover, .vnw-chip .chg:focus-visible { border-color: var(--accent, #3b9eff); }
/* billing mode cards */
.vnw-modes { display: grid; gap: 8px; }
.vnw-mode { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--border, #1e3148);
  border-radius: 10px; cursor: pointer;
  background: var(--bg-2, #0c1622); transition: border-color .12s; }
.vnw-mode:hover { border-color: var(--muted, #8595ab); }
.vnw-mode.on { border-color: var(--accent, #3b9eff); background: var(--accent-soft, rgba(59, 158, 255, .08)); }
.vnw-mode input { margin-top: 3px; }
.vnw-mode b { font-size: 13px; }
.vnw-mode .d { color: var(--muted, #8595ab); font-size: 11.5px; margin-top: 2px; line-height: 1.4; }
.vnw-trial { margin-top: 10px; padding: 12px; border: 1px solid var(--accent-soft, #1e3148); border-radius: 10px;
  background: var(--accent-soft, rgba(59, 158, 255, .07)); }
.vnw-tax-note { margin-top: 10px; font-size: 12px; opacity: .85; color: var(--muted, #94a3b8); }
.vnw-adv-body { margin-top: 12px; }
.vnw-ssh { margin-top: 10px; }
.vnw-ssh-in { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; resize: vertical; }
.vnw-adv { cursor: pointer; font-size: 12px; font-weight: 600; color: var(--muted, #8595ab); list-style: none; display: flex;
  align-items: center; gap: 6px; }
.vnw-adv::-webkit-details-marker { display: none; }
.vnw-adv::before { content: '▸'; transition: transform .15s; }
details[open] .vnw-adv::before { transform: rotate(90deg); }
/* outcome message */
.vnw-msg-slot { margin-top: 4px; }
.vnw-msg { padding: 10px 12px; border-radius: 8px; color: var(--text); font-size: 13px; border: 1px solid var(--muted); }
.vnw-msg--ok { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.vnw-msg--error { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 13%, transparent); }
.vnw-msg--info { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); }
/* footer */
.vnw-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--border-soft, #15273e);
  background: var(--bg-2, #0c1622); }
.vnw-foot .spacer { flex: 1; }
.vnw-pri { background: var(--accent, #3b9eff); color: #04121f; border: none; font-weight: 700; padding: 10px 20px; border-radius: 9px;
  cursor: pointer; font-size: 13.5px; }
.vnw-pri:hover { filter: brightness(1.08); }
.vnw-pri:disabled { opacity: .5; cursor: not-allowed; }
.vnw-gh { background: transparent; color: var(--muted, #8595ab); border: 1px solid var(--border, #1e3148); padding: 10px 16px;
  border-radius: 9px; cursor: pointer;
  font-size: 13.5px; }
.vnw-gh:hover { color: var(--text, #e8eef7); border-color: var(--muted, #8595ab); }
@media (max-width: 560px) {
  .vnw-overlay { padding: 12px 8px; }
  .vnw-head, .vnw-foot { padding-inline-start: 14px; padding-inline-end: 14px; }
  .vnw-body { padding-inline-start: 14px; padding-inline-end: 14px; }
  .vnw-sec-hint { display: none; }
}
