:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; background: #f6f7f9; color: #111; }
.topbar { display:flex; justify-content:space-between; align-items:center; padding: 12px 14px; background:#fff; border-bottom:1px solid #e6e8ee; position: sticky; top: 0; }
.brand { font-weight: 700; }
.wrap { padding: 14px; max-width: 980px; margin: 0 auto; }
.card { background:#fff; border:1px solid #e6e8ee; border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.card2 { background:#fafbfc; border:1px solid #e6e8ee; border-radius: 12px; padding: 12px; margin: 12px 0; }
h1 { font-size: 20px; margin: 0 0 12px; }
h2 { font-size: 16px; margin: 0 0 10px; }
h3 { font-size: 14px; margin: 0 0 10px; }

.row { display:flex; flex-direction:column; gap:6px; margin: 10px 0; }
label { font-size: 13px; color:#222; }
input, select, textarea, button {
  border:1px solid #d7dbe6; border-radius: 10px; padding: 10px; font-size: 14px; background:#fff;
}
textarea { min-height: 92px; resize: vertical; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; min-height: 180px; }
button { cursor:pointer; background:#111; color:#fff; border-color:#111; }
button.secondary { background:#fff; color:#111; }
button.link { background: transparent; border: 0; padding: 8px; color:#111; }
.actions { display:flex; gap:10px; flex-wrap: wrap; margin-top: 12px; }
.grid2 { display:grid; grid-template-columns: 1fr; gap: 12px; }
.checks { display:grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shipping { display:flex; flex-direction:column; gap: 10px; }
.hint { font-size: 12px; color:#666; }
.muted { color:#666; font-size: 12px; }
.hidden { display:none !important; }
.modal.hidden { display:none; }
.right { display:flex; gap:10px; justify-content:flex-end; align-items:flex-start; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); display:flex; justify-content:center; align-items:center; padding: 14px; }
.modalCard { width: min(920px, 100%); background:#fff; border-radius: 12px; padding: 14px; border:1px solid #e6e8ee; }
.modalHead { display:flex; justify-content:space-between; align-items:center; margin-bottom: 10px; }
.msg { margin-top: 10px; font-size: 13px; }
.foot { text-align:center; padding: 18px 0 26px; }

@media (min-width: 860px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
}
