/* Fire Hub billing sign-in (exchange/billing): the page's look. Phones and tablets first: one column, big tap targets. */
:root { --bg: #f6f7f9; --card: #fff; --ink: #1d2330; --muted: #5b6475; --line: #d9dde5; --red: #b42318; --blue: #1f5fbf; --green: #1a7f37; --amber: #9a6700; }
@media (prefers-color-scheme: dark) { :root { --bg: #14171c; --card: #1d2128; --ink: #e7eaf0; --muted: #a2aab8; --line: #343a45; --red: #ff6b5e; --blue: #6ea8ff; --green: #56d364; --amber: #e3b341; } }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--ink); }
header { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; padding: 12px 16px; background: var(--card); border-bottom: 3px solid var(--red); }
header b, header span { white-space: nowrap; } header span { color: var(--muted); }
header #who { margin-left: auto; font-size: 14px; text-align: right; white-space: normal; } header #who:empty { display: none; }
@media (max-width: 600px) { header #who { flex-basis: 100%; text-align: left; margin: 2px 0 0; } }
main { max-width: 560px; margin: 0 auto; padding: 14px; }
h1 { font-size: 22px; margin: 6px 0 4px; } h2 { font-size: 18px; margin: 0 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.muted { color: var(--muted); } .small { font-size: 14px; }
label { display: block; margin: 12px 0; } label > span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
input { font: inherit; width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
input.code { font-size: 26px; letter-spacing: 6px; text-align: center; }
button { font: inherit; min-height: 48px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
button.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; width: 100%; }
button.link { border: 0; background: none; color: var(--blue); padding: 8px 0; min-height: 44px; text-align: left; }
button.small { min-height: 44px; padding: 6px 12px; font-size: 15px; }
button.danger { color: var(--red); }
.err { color: var(--red); min-height: 1.3em; margin: 6px 0 0; } .ok { color: var(--green); }
.dept { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin-bottom: 10px; padding: 14px 16px; border-radius: 12px; font-size: 18px; }
.dept b { flex: 1; } .dept small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; } .dept i { font-style: normal; color: var(--blue); font-weight: 600; white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); } .row:first-of-type { border-top: 0; }
.row .grow { flex: 1; min-width: 160px; } .row small { display: block; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.pill { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; border: 1px solid var(--line); color: var(--muted); margin-left: 6px; }
.pill.warn { color: var(--amber); border-color: var(--amber); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
summary { padding: 14px 16px; font-weight: 600; cursor: pointer; min-height: 48px; } details > div { padding: 0 16px 14px; }
.two { display: grid; grid-template-columns: 1fr; gap: 0 10px; } @media (min-width: 520px) { .two { grid-template-columns: 1fr 1fr; } }
form.hand { display: none; }
details h2 { margin-top: 18px; }
