/* NOXA V18: the same neutral graphite palette as the storefront. */
:root { color-scheme: dark; font-family: system-ui, sans-serif; color: #eeede9; background: #191a1c; }
* { box-sizing: border-box; }
body { margin: 0; overflow-wrap: anywhere; line-height: 1.6; background: radial-gradient(ellipse at 70% 0, #303133 0, transparent 50%), #191a1c; }
header { background: #1d1e20; color: #eeede9; padding: 24px max(20px, calc((100% - 960px) / 2)); border-bottom: 1px solid #45464a; }
header a { color: #d4d3ce; }
main { max-width: 960px; margin: 24px auto; padding: 0 18px; }
h1 { font-size: 28px; margin: 0 0 8px; font-weight: 500; letter-spacing: .5px; }
h2 { font-size: 21px; font-weight: 500; }
h3 { font-size: 17px; }
p { color: #c3c2bd; }
section { background: #242527; border: 1px solid #4a4b4e; border-radius: 8px; padding: 22px; margin: 18px 0; box-shadow: 0 8px 28px #00000018; }
label { display: block; margin: 14px 0 6px; font-weight: 500; color: #deddd8; }
input, textarea, select { width: 100%; padding: 11px; border: 1px solid #7b7c7f; border-radius: 5px; font: inherit; color: #eeede9; background: #1d1e20; }
input::placeholder, textarea::placeholder { color: #a9a8a4; }
textarea { min-height: 95px; }
button { background: #d0cfca; color: #1b1c1e; border: 1px solid transparent; border-radius: 5px; padding: 12px 17px; font: inherit; cursor: pointer; margin: 12px 8px 0 0; }
button:not(:disabled):hover { background: #e0dfda; }
button:disabled { opacity: .45; cursor: not-allowed; }
.muted { color: #b8b7b3; }
.notice { background: #34322d; color: #ddd5bf; border: 1px solid #796f56; padding: 14px; border-radius: 6px; white-space: pre-wrap; }
.error { background: #38282b; color: #f1c6c9; border: 1px solid #9d7277; padding: 14px; border-radius: 6px; white-space: pre-wrap; }
.success { background: #29342f; color: #d0e0d6; border: 1px solid #71877a; padding: 14px; border-radius: 6px; white-space: pre-wrap; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.message { padding: 12px; background: #343537; border: 1px solid #545559; margin: 8px 0; border-radius: 6px; }
.message.ops { background: #2b3531; border-color: #596c61; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 180px; }
ul { padding-left: 22px; }
li { margin: 8px 0; }
.token { overflow-wrap: anywhere; font-family: monospace; }
details { margin-top: 20px; }
details summary { cursor: pointer; padding: 12px 0; }
a { color: #d4d3ce; text-underline-offset: 4px; }
a:hover { color: #f0efe9; }
input[type=checkbox] { width: auto; min-width: 18px; min-height: 18px; accent-color: #d0cfca; }
input[type=file]::file-selector-button { background: #424346; color: #eeede9; border: 1px solid #7b7c7f; border-radius: 3px; padding: 7px 10px; margin-right: 10px; }
.hidden, [hidden] { display: none !important; }
small { display: block; margin-top: 6px; }
.orders button { display: block; text-align: left; width: 100%; background: #343537; color: #eeede9; border: 1px solid #6e6f72; }
.orders button:not(:disabled):hover { background: #424346; }
#feedback:empty { display: none; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #e1e0db; outline-offset: 4px; }
button, a, input, textarea, select { touch-action: manipulation; }
form { max-width: 720px; }
::selection { background: #bcbcb7; color: #17181a; }
@media (max-width: 540px) {
  section { padding: 16px; }
  main { padding: 0 12px; }
  header { padding: 22px 18px; }
  button { max-width: 100%; }
  input, textarea, select { font-size: 16px; }
}
