:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #193650; background: #eff7fc; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #b8d0e2; border-radius: 11px; background: #fff; padding: 10px 12px; font-size: 16px; color: #193650; }
textarea { min-height: 92px; resize: vertical; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0; }
label > input, label > select, label > textarea { display: block; margin-top: 6px; }
button { border: 0; border-radius: 11px; min-height: 44px; padding: 10px 16px; background: #0d5592; color: #fff; font-weight: 700; cursor: pointer; }
button:hover:not([data-dialog-backdrop]) { background: #084471; }
button[data-dialog-backdrop] { border-radius: 0; }
button.secondary { background: #e3f0f9; color: #0d5592; }
button.secondary:hover { background: #cce3f3; }
button:disabled { opacity: .55; cursor: not-allowed; }
h1 { font-size: clamp(25px, 3vw, 36px); margin: 4px 0 7px; line-height: 1.12; }
h2 { font-size: 19px; margin: 0 0 15px; }
p { line-height: 1.45; color: #5b7184; }
.eyebrow { color: #126ba5; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.card { background: #fff; border: 1px solid #d5e7f3; box-shadow: 0 4px 16px #2355810c; border-radius: 18px; padding: 23px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(145deg, #e9f6fe, #fff); }
.login-shell[hidden], [hidden] { display: none !important; }
.login-card { width: min(100%, 440px); }
.login-card button { width: 100%; margin-top: 8px; }
.error { color: #ae2533; min-height: 20px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; padding: 18px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid #d5e7f3; }
.topbar strong { display: block; font-size: 20px; margin-top: 2px; }
.top-actions { display: flex; align-items: center; gap: 15px; }
.top-actions span { font-size: 13px; color: #597286; }
.tabs { display: flex; gap: 5px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); overflow-x: auto; background: #fff; }
.tabs button { white-space: nowrap; background: transparent; color: #35627f; }
.tabs button.active { color: #07528d; background: #e6f4fc; }
.workspace { max-width: 1228px; margin: 0 auto; padding: 28px 24px 60px; }
.page-head { margin-bottom: 22px; }
.page-head p { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.below { margin-top: 18px; }
.stack { display: grid; gap: 10px; }
.row { border: 1px solid #e2edf5; border-radius: 12px; padding: 12px 14px; background: #fbfdff; }
.row strong { display: block; margin-bottom: 3px; }
.row small { display: block; color: #60788a; line-height: 1.4; }
.row button { margin-top: 9px; }
.detail { margin-top: 20px; }
.detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pill { display: inline-block; background: #e8f4fb; color: #126196; border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.toast { min-height: 20px; margin-bottom: 8px; color: #0b674f; }
.inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }
.inline > label { flex: 1 1 160px; }
.muted { color: #60788a; }
.code { overflow-wrap: anywhere; user-select: all; font-family: Consolas, monospace; font-size: 14px; }
@media (max-width: 760px) { .topbar { padding: 14px 18px; } .tabs { padding: 9px 12px; } .workspace { padding: 20px 14px 45px; } .two-col, .detail-grid { grid-template-columns: 1fr; } .card { padding: 18px; } .top-actions span { display: none; } }
@media (max-width: 390px) { .tabs button { padding: 9px 12px; } .topbar strong { font-size: 17px; } }
.payment-choice { display:flex; align-items:center; gap:10px; padding:10px; border:1px solid #d7e5f8; border-radius:12px; }
.payment-choice input { width:20px; height:20px; margin:0; }
#payment-methods { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin-bottom:20px; }
#transfer-fields { border:1px solid #d7e5f8; border-radius:12px; padding:16px; }
#order-detail { background:transparent; padding:0; border:0; }
.button { display:inline-flex; gap:8px; align-items:center; justify-content:center; font:inherit; }
.button svg { width:18px; height:18px; }
.button.secondary { color:#235494; background:white; border:1px solid #c9ddfb; }
.dialog-backdrop { position:fixed; inset:0; z-index:100; background:#102d6966; display:grid; place-items:center; padding:16px; }
.dialog { width:min(500px,100%); max-height:90dvh; overflow:auto; background:white; border-radius:20px; padding:24px; }
.dialog-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.toast-region { position:fixed; bottom:20px; right:16px; z-index:200; max-width:calc(100vw - 32px); display:grid; gap:8px; }
.toast-region .toast { display:flex; align-items:center; gap:10px; padding:12px 16px; background:white; border:1px solid #c9ddfb; border-radius:12px; box-shadow:0 8px 20px #102d6922; }
