/* Customer portal — light, card-based layout with a dark welcome card. */
:root {
  color-scheme: light;
  --bg: #f1f2f4;
  --card: #ffffff;
  --ink: #111214;
  --ink-2: #3a3d44;
  --muted: #6b7079;
  --line: #e8eaee;
  --soft: #f5f6f8;
  --orange: #e2773f;
  --orange-ink: #c2410c;
  --orange-bg: #fff5ef;
  --orange-line: #f6c9ad;
  --yellow-bg: #fffaeb;
  --yellow-line: #f5dd98;
  --yellow-ink: #7a5b00;
  --blue-bg: #eef4ff;
  --blue-line: #c7d8fb;
  --blue-ink: #1d4fd7;
  --green: #15803d;
  --green-bg: #e8f7ee;
  --red: #c42b1c;
  --red-bg: #fdf1f0;
  --red-line: #f3c4be;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .04), 0 4px 16px rgba(16, 18, 24, .04);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: linear-gradient(180deg, #f6f7f9 0, var(--bg) 420px); color: var(--ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
b, strong { font-weight: 700; }
.ic { flex: none; vertical-align: -3px; }
button { font: inherit; cursor: pointer; }

/* header */
.topbar { background: rgba(255,255,255,.85); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.15; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.top-right { display: flex; align-items: center; gap: 10px; }
.pill-secure { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #d9dce2; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .9rem; }
.lang { display: flex; gap: 2px; font-size: .82rem; font-weight: 700; }
.lang a { text-decoration: none; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.lang a.on { color: var(--ink); background: var(--soft); }

/* layout */
.page { max-width: 1320px; margin: 0 auto; padding: 28px 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 26px; align-items: start; }
.main, .side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.side { position: static; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 24px 26px; }

/* notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: 14px; font-size: 1rem; }
.notice p { margin: 0; }
.notice.yellow { background: var(--yellow-bg); border: 1px solid var(--yellow-line); color: #6d5200; box-shadow: var(--shadow); }
.notice.yellow .ic { color: #9a7400; margin-top: 3px; }
.notice.yellow a { font-weight: 700; }
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }

/* hero */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 30px 30px 28px; color: #fff;
  background: radial-gradient(420px 260px at 88% 0%, rgba(255,255,255,.14), transparent 70%), linear-gradient(135deg, #1b1c1f 0%, #0c0c0e 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.22); }
.hero-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #d9dade; display: flex; gap: 6px; align-items: center; }
.hero h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; margin: 6px 0 12px; font-weight: 800; }
.hero .sub { color: #d6d7db; max-width: 440px; margin: 0; font-size: 1rem; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; white-space: nowrap;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); }
.progress-head { display: flex; justify-content: space-between; margin: 30px 0 10px; font-weight: 700; font-size: .92rem; }
.progress-head span { display: inline-flex; gap: 6px; align-items: center; }
.bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f4a06d, var(--orange)); transition: width .4s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; gap: 7px; align-items: center; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-weight: 600; font-size: .88rem; color: #eceef1; text-decoration: none; }
.chip.done { background: #fff; color: var(--ink); border-color: #fff; }
.chip.done .ic { color: var(--green); }

/* reveal */
.reveal { background: linear-gradient(180deg, #f4f5f7, #fff 50%); text-align: center; padding: 28px 26px 26px; }
.reveal-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.reveal h2 { font-size: 1.28rem; margin: 0 0 4px; letter-spacing: -.01em; }
.reveal .muted { margin: 0 0 20px; }
.warn { text-align: left; display: flex; gap: 14px; padding: 18px 20px; background: var(--orange-bg); border: 1px solid var(--orange-line); border-radius: 14px; color: var(--orange-ink); }
.warn-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.warn h3 { margin: 0 0 4px; font-size: 1.05rem; }
.warn p { margin: 0 0 12px; }
.warn ol { list-style: none; padding: 0; margin: 8px 0 0; }
.warn li { display: flex; gap: 10px; align-items: center; margin: 7px 0; }
.num-dot { flex: none; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.18); letter-spacing: -.01em; }
.btn:hover { background: #2a2b30; }
.btn.lg { padding: 16px 28px; font-size: 1.08rem; margin-top: 22px; background: linear-gradient(180deg, #505259, #2d2e33); }
.btn.block { width: 100%; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px dashed #d6d9df; background: #fff; color: var(--muted); font-weight: 600; font-size: .92rem; }
.btn-ghost.on { border-style: solid; border-color: #b7e2c6; background: var(--green-bg); color: var(--green); }

/* revealed credentials */
.creds { text-align: left; }
.creds h2 { display: flex; gap: 10px; align-items: center; }
.cred { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); margin-top: 10px; }
.cred .lbl { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 100%; }
.cred code { font: 700 1.12rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .03em; word-break: break-all; flex: 1; min-width: 0; }
.cred code.masked { letter-spacing: .25em; }
.mini { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 9px; border: 1px solid #d6d9df; background: #fff; font-weight: 600; font-size: .85rem; color: var(--ink); }
.mini.ok { color: var(--green); border-color: #b7e2c6; }
.note-private { font-size: .88rem; color: var(--muted); margin: 12px 0 0; display: flex; gap: 6px; align-items: center; }

/* steps */
.section-title { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 10px 0 -6px; }
.section-title::after { content: ""; flex: 1; height: 1px; background: #dcdfe4; }
.step { display: flex; gap: 18px; padding: 22px 24px; }
.step.essential { background: linear-gradient(180deg, var(--orange-bg), #fff 75%); border-color: var(--orange-line); }
.step-num { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--soft); border: 1px solid var(--line); font-weight: 800; display: grid; place-items: center; }
.step.essential .step-num { background: var(--orange); border-color: var(--orange); color: #fff; }
.step.done .step-num { background: var(--green-bg); border-color: #b7e2c6; color: var(--green); }
.step-body { flex: 1; min-width: 0; }
.step h3 { margin: 6px 0 6px; font-size: 1.1rem; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; letter-spacing: -.01em; }
.step p, .step .md { color: var(--muted); margin: 0; }
.tag { display: inline-flex; gap: 5px; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--orange-line); background: #fff; color: var(--orange-ink); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.accordion { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.accordion summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--soft); font-weight: 700; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s; transform: rotate(180deg); }
.accordion[open] summary .chev { transform: none; }
.accordion .acc-body { padding: 8px 18px 18px; }
.numbered { counter-reset: n; list-style: none; padding: 0; margin: 0; }
.numbered li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.numbered li:last-child { border-bottom: 0; }
.numbered li::before { content: counter(n); flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; margin-top: 1px; }
.numbered li p { margin: 0; }
.numbered a { font-weight: 700; }
.tip { display: flex; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--blue-bg); border: 1px solid var(--blue-line); color: var(--blue-ink); font-size: .93rem; }
.tip .ic { margin-top: 2px; }
.tip p { margin: 0 0 4px; }

/* problem */
.problem { display: flex; gap: 18px; padding: 22px 24px; border-color: var(--red-line); }
.problem-icon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--red-bg); color: var(--red); display: grid; place-items: center; }
.btn-danger { display: inline-flex; gap: 9px; align-items: center; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--red-line); background: var(--red-bg); color: var(--red); font-weight: 800; font-size: 1rem; }
.problem details > summary { list-style: none; } .problem details > summary::-webkit-details-marker { display: none; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin: 14px 0 6px; color: var(--ink-2); }
.form select, .form textarea, .form input { width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid #d6d9df; background: #fff; font: inherit; color: var(--ink); }
.form textarea { min-height: 96px; resize: vertical; }
.success { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--green-bg); color: var(--green); font-weight: 600; margin-top: 14px; }

/* sidebar */
.side-head { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.info-row { display: flex; gap: 16px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.info-row small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.info-row div > span { font-weight: 700; font-size: 1.02rem; }
.badge { display: inline-flex; gap: 6px; align-items: center; margin-top: 3px; padding: 4px 11px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-weight: 700; font-size: .82rem; }
.badge.activated { background: var(--green-bg); color: var(--green); border-color: #b7e2c6; }
.badge.cancelled { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }
.docs { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.doc:hover { border-color: #c9cdd4; box-shadow: var(--shadow); }
.doc b { display: block; font-size: 1rem; }
.doc small { color: var(--muted); }
.doc .dl { margin-left: auto; color: var(--ink-2); }
.support { text-align: center; padding: 22px 20px; background: linear-gradient(180deg, #e9eaed, #f3f4f6); border: 1px solid #dcdfe4; }
.support-icon { width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.support h3 { margin: 0 0 4px; font-size: 1.1rem; }
.support p { margin: 0 0 16px; color: var(--ink-2); font-size: .93rem; }
.support .hours { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust > div { text-align: center; padding: 16px 8px; }
.trust b { display: block; margin-top: 8px; font-size: .92rem; }
.trust small { color: var(--muted); font-size: .78rem; }

/* lookup */
.narrow { max-width: 520px; margin: 40px auto; padding: 0 16px; display: flex; flex-direction: column; gap: 20px; }
.error { padding: 12px 14px; border-radius: 10px; background: var(--red-bg); color: var(--red); font-weight: 600; margin-bottom: 4px; }
footer { text-align: center; color: var(--muted); font-size: .82rem; padding: 0 16px 32px; }

@media (max-width: 980px) {
  .page { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 560px) {
  .topbar-in { padding: 12px 16px; }
  .brand-logo { width: 40px; height: 40px; border-radius: 12px; }
  .brand-name { font-size: 1rem; }
  .pill-secure span { display: none; }
  .pill-secure { padding: 8px 10px; }
  .page { padding: 18px 16px 48px; gap: 18px; }
  .hero { padding: 22px 20px; border-radius: 18px; }
  .hero-top { flex-direction: column-reverse; gap: 12px; }
  .hero h1 { font-size: 1.4rem; }
  .pad, .step, .problem { padding: 18px; }
  .step, .problem { gap: 12px; }
  .step-num, .problem-icon { width: 32px; height: 32px; }
  .btn { width: 100%; }
  .btn.lg { padding: 15px 18px; font-size: 1rem; }
  .row { flex-direction: column; align-items: stretch; }
  .warn { flex-direction: column; }
}
.tip .md, .tip .md p { color: inherit; }

/* invoice request + reviews */
button.doc { width: 100%; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.doc.done { background: var(--green-bg); border-color: #b7e2c6; }
.doc.done .dl { color: var(--green); }
.invoice-msg { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--blue-bg); border: 1px solid var(--blue-line); color: var(--blue-ink); font-size: .9rem; }
.invoice-msg p { margin: 0; } .invoice-msg p + p { margin-top: 8px; }
.invoice-msg .ic { margin-top: 2px; }
.flash-in { animation: flashin .6s ease-out; }
@keyframes flashin { from { transform: translateY(-4px); opacity: 0; } to { transform: none; opacity: 1; } }
.review { text-align: center; padding: 22px 20px; }
.review .stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 10px; }
.review .star { width: 30px; height: 30px; display: grid; place-items: center; background: #00b67a; color: #fff; border-radius: 4px; }
.review .star .ic { fill: #fff; stroke: #fff; }
.review h3 { margin: 0 0 4px; font-size: 1.1rem; }
.review p { margin: 0 0 14px; color: var(--ink-2); font-size: .93rem; }
.btn.tp { background: #00b67a; box-shadow: 0 6px 16px rgba(0, 182, 122, .25); }
.btn.tp:hover { background: #009966; }
.review .review-cd { margin: 12px 0 0; font-size: .84rem; color: var(--muted); }

/* hidden key + reveal modal */
.hidden-cred { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.hidden-cred:hover { border-color: #c9cdd4; box-shadow: var(--shadow); }
.hidden-cred code { color: var(--muted); user-select: none; }
.hidden-cred .mini { pointer-events: none; }
.modal { border: 0; border-radius: 20px; padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(0,0,0,.28); color: var(--ink); }
.modal::backdrop { background: rgba(17, 18, 20, .55); backdrop-filter: blur(2px); }
.modal form { padding: 28px 26px 22px; text-align: center; }
.modal-icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; background: var(--orange-bg); border: 1px solid var(--orange-line); color: var(--orange); display: grid; place-items: center; }
.modal h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -.01em; }
.modal p { margin: 0 0 22px; color: var(--ink-2); }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal-actions .btn-ghost { border-style: solid; }
@media (max-width: 560px) { .modal-actions { flex-direction: column-reverse; } .modal-actions > * { width: 100%; justify-content: center; } }
.hidden-cred .lbl { text-align: left; }
.hidden-cred code.masked { letter-spacing: .12em; }

/* timeline */
.tl-title { display: flex; gap: 8px; align-items: center; margin: 0 0 14px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 12px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--line); }
.timeline li.done:not(:last-child)::after { background: #b7e2c6; }
.tl-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; }
.timeline li.done .tl-dot { background: var(--green); border-color: var(--green); color: #fff; }
.tl-label { font-weight: 700; font-size: .86rem; }
.tl-when { font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; gap: 12px; }
  .timeline li { flex-direction: row; text-align: left; }
  .timeline li:not(:last-child)::after { display: none; }
  .tl-when { margin-left: auto; }
}
/* key check */
.key-check { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .88rem; }
.key-check.ok { background: var(--green-bg); color: var(--green); border: 1px solid #b7e2c6; }
.key-check.warn { background: var(--yellow-bg); color: #6d5200; border: 1px solid var(--yellow-line); }
.key-check .ic { margin-top: 2px; }
.replaced-note { display: flex; gap: 6px; align-items: center; font-size: .86rem; color: var(--blue-ink); margin: 10px 0 0; }
/* troubleshooting */
.ts-item { border: 1px solid var(--line); border-radius: 12px; margin-top: 10px; overflow: hidden; }
.ts-item summary { list-style: none; display: flex; gap: 10px; align-items: center; padding: 12px 14px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.ts-item summary::-webkit-details-marker { display: none; }
.ts-item summary .ic:first-child { color: var(--orange); }
.ts-item summary .chev { margin-left: auto; color: var(--muted); transform: rotate(180deg); transition: transform .2s; }
.ts-item[open] summary .chev { transform: none; }
.ts-item[open] summary { background: var(--soft); }
.ts-steps { padding: 4px 16px 4px !important; }
.ts-still { display: inline-block; margin: 4px 16px 14px; font-weight: 700; font-size: .9rem; color: var(--ink); }
/* support thread */
.ticket { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.ticket-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .92rem; margin-bottom: 10px; }
.tstatus { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--soft); border: 1px solid var(--line); }
.tstatus.received { background: var(--yellow-bg); border-color: var(--yellow-line); color: #6d5200; }
.tstatus.in_progress { background: var(--blue-bg); border-color: var(--blue-line); color: var(--blue-ink); }
.tstatus.resolved { background: var(--green-bg); border-color: #b7e2c6; color: var(--green); }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 12px; margin: 8px 0; white-space: pre-wrap; font-size: .93rem; }
.msg.customer { margin-left: auto; background: var(--soft); border: 1px solid var(--line); }
.msg.support { background: #eef4ff; border: 1px solid var(--blue-line); }
.msg-meta { font-size: .75rem; color: var(--muted); margin-bottom: 3px; font-weight: 600; }
.reply { display: flex; gap: 8px; align-items: flex-end; margin-top: 10px; }
.reply textarea { min-height: 44px; }
.reply .btn { flex: none; padding: 11px 16px; }
.new-ticket > summary { list-style: none; cursor: pointer; } .new-ticket > summary::-webkit-details-marker { display: none; }
.inv-state { display: flex; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; padding: 10px 12px; border-radius: 10px; background: var(--soft); }
.inv-state.validated { background: var(--green-bg); color: var(--green); }
@media (max-width: 560px) { .reply { flex-direction: column; align-items: stretch; } .msg { max-width: 100%; } }
/* legal pages */
.legal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow); }
.legal h1 { margin: 0 0 12px; font-size: 1.6rem; letter-spacing: -.02em; }
.legal h2 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
footer a { color: var(--muted); }

.pack-part { margin: 16px 0 0; font-weight: 800; font-size: .92rem; color: var(--ink-2); }
