/* Bryan AI Cut server pages: buy, success, cancel, terms, privacy, refund, admin, test, and Bryan AI Hub Partners. Own code.
   Colours of the Brand Kit (Nov 22): orange #F2620F, black #0A0A0A, white. */
:root { --bg: #0b0c0f; --card: #16181d; --line: #2a2e37; --text: #f4f5f7; --dim: #a7adb9; --accent: #F2620F; --accent-ink: #0A0A0A; --accent-soft: #2a1608; --ok: #58d68d; --bad: #ff7a7a; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 20px 16px 64px; }
main.wide { max-width: 1000px; }
h1 { font-size: 26px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 19px; margin: 28px 0 8px; }
h3 { font-size: 16px; margin: 18px 0 6px; }
p, li { color: var(--text); }
.dim, small { color: var(--dim); }
a { color: var(--accent); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; color: var(--accent); text-decoration: none; font-size: 15px; margin: 4px 0 8px; }
.brand img { display: block; height: 40px; width: auto; }   /* the horizontal logo: at least 120 px wide (Brand Kit) */
.brand .tag { color: var(--dim); font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 14px 0; }
label { display: block; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #0a0b0e; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button, .btn { display: inline-block; min-height: 48px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: #22262f; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; text-align: center; }
button.primary, .btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); width: 100%; }
button.danger { border-color: #7a3a3a; color: var(--bad); }
button.small, .btn.small { min-height: 40px; padding: 8px 12px; font-size: 14px; }
button:disabled { opacity: .5; cursor: default; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.price { font-size: 40px; font-weight: 800; line-height: 1.1; }
.price s { font-size: 20px; color: var(--dim); font-weight: 600; margin-left: 8px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 700; }
.pill.ok { background: #12301f; color: var(--ok); } .pill.bad { background: #3a1818; color: var(--bad); } .pill.mute { background: #23262d; color: var(--dim); }
.key { font: 700 24px/1.3 ui-monospace, "Courier New", monospace; letter-spacing: 1px; text-align: center; background: #0a0b0e; border: 1px dashed var(--accent); border-radius: 12px; padding: 16px 8px; margin: 10px 0; word-break: break-all; user-select: all; }
.error { color: var(--bad); margin: 10px 0; } .okmsg { color: var(--ok); margin: 10px 0; }
[hidden] { display: none !important; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat b { display: block; font-size: 24px; }
.stat span { color: var(--dim); font-size: 13px; }
footer { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
footer a { color: var(--dim); margin-right: 12px; }
pre { white-space: pre-wrap; word-break: break-word; background: #0a0b0e; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-size: 13px; max-height: 320px; overflow: auto; }
ol, ul { padding-left: 22px; }
.codebox { display: flex; gap: 8px; align-items: stretch; }
.codebox input { text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.note-ok { color: var(--ok); } .note-bad { color: #ffb27a; }

/* ---- Bryan AI Hub Partners (mobile first) ---- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; -webkit-overflow-scrolling: touch; }
.chip { flex: 0 0 auto; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--dim); font-size: 14px; font-weight: 700; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.big-code { font: 800 30px/1.15 ui-monospace, "Courier New", monospace; letter-spacing: 2px; color: var(--accent); word-break: break-all; }
.link-line { font: 14px/1.4 ui-monospace, "Courier New", monospace; color: var(--text); word-break: break-all; background: #0a0b0e; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
.money { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .money { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.money .card { margin: 0; padding: 12px; }
.money b { display: block; font-size: 22px; line-height: 1.2; }
.money span { color: var(--dim); font-size: 13px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .when { color: var(--dim); font-size: 14px; }
.list .amt { text-align: right; white-space: nowrap; }
.copy-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; background: #111318; }
.copy-item .label { font-weight: 700; margin-bottom: 4px; }
.copy-item .text { white-space: pre-wrap; word-break: break-word; margin: 0 0 10px; }
details.section { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin: 12px 0; padding: 0 14px; }
details.section > summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; }
details.section > summary::-webkit-details-marker { display: none; }
details.section > summary::after { content: '+'; float: right; color: var(--accent); font-weight: 800; }
details.section[open] > summary::after { content: '−'; }
.card.warnbox { border-color: #7a5a1a; background: #221a0b; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
