/* M7 Support portal (customers). M7 brand: navy #072a60 · blue #298dbf · teal #6ac6d3 · orange #ff9a16 */
:root {
  --navy: #072a60; --navy-2: #0f3a7a; --accent: #1d76a8; --accent-hover: #155f89; --accent-soft: #e5f2f9;
  --bg: #f4f6f8; --surface: #fff; --border: #dde2e7; --row: #eceff2; --text: #2a3138; --text-2: #4f5a65; --text-3: #6b7681;
  --ok: #2e7d32; --ok-soft: #e6f3e7; --warn: #8a4f00; --warn-soft: #fdf2e0; --bad: #b3261e; --bad-soft: #fbeae8;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px; color: var(--text); line-height: 1.45;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
.bar { background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 18px; }
.brand img { height: 30px; width: auto; }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d2ddee; flex-wrap: wrap; justify-content: flex-end; }
.who button { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.who button:hover { background: rgba(255,255,255,.12); }
.main { flex: 1; width: 100%; max-width: 980px; margin: 0 auto; padding: 24px 16px 40px; }
.foot { text-align: center; color: var(--text-3); font-size: 13px; padding: 16px; }
h1 { font-size: 24px; margin: 0 0 6px; color: var(--navy); }
h2 { font-size: 18px; margin: 0 0 10px; color: var(--navy); }
.lead { color: var(--text-2); margin: 0 0 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.narrow { max-width: 440px; margin: 24px auto; }
label { display: block; font-weight: 600; font-size: 14px; margin: 14px 0 6px; }
.hint { font-weight: 400; color: var(--text-3); font-size: 13px; }
input, textarea, select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #c4ccd4; border-radius: 6px; background: #fff; color: var(--text); }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible { outline: 3px solid #9fd0ea; outline-offset: 1px; }
.code { font-size: 26px; letter-spacing: 8px; text-align: center; font-variant-numeric: tabular-nums; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .bar { padding: 10px 14px; } .who .name { display: none; } }
button { font: inherit; font-weight: 600; border: 1px solid transparent; border-radius: 6px; padding: 10px 16px; cursor: pointer; background: var(--accent); color: #fff; }
button:hover { background: var(--accent-hover); }
button:disabled { opacity: .6; cursor: default; }
button.secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
button.secondary:hover { background: var(--accent-soft); }
button.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
button.link { background: none; color: var(--accent); padding: 0; border: 0; font-weight: 400; text-decoration: underline; }
.actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.full { width: 100%; }
.ms { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #2f2f2f; border: 1px solid #8c8c8c; width: 100%; }
.ms:hover { background: #f3f3f3; }
.ms svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 13px; margin: 18px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.msg { border-radius: 6px; padding: 10px 12px; margin: 12px 0 0; font-size: 14px; }
.msg.bad { background: var(--bad-soft); color: var(--bad); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.msg.info { background: var(--accent-soft); color: var(--navy); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin: 0 0 14px; flex-wrap: wrap; }
.tabs button { background: none; color: var(--text-2); border: 0; border-bottom: 3px solid transparent; border-radius: 0; padding: 10px 12px; }
.tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--accent); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 6px; }
.toolbar select { width: auto; min-width: 220px; }
.list { list-style: none; margin: 0; padding: 0; }
.item { display: block; text-decoration: none; color: inherit; border-top: 1px solid var(--row); padding: 14px 4px; }
.item:first-child { border-top: 0; }
.item:hover { background: #f8fafb; }
.item .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item .sum { font-weight: 600; color: var(--navy); }
.item .meta { color: var(--text-3); font-size: 13px; margin-top: 3px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--navy); white-space: nowrap; }
.pill.closed { background: #eef0f2; color: var(--text-2); }
.pill.wait { background: var(--warn-soft); color: var(--warn); }
.empty { color: var(--text-3); padding: 20px 4px; text-align: center; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: 14px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; }
.notes { list-style: none; padding: 0; margin: 0; }
.note { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-top: 12px; background: #fff; }
.note.m7 { border-left: 4px solid var(--accent); }
.note.you { border-left: 4px solid #b7c2cc; }
.note .by { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.note .by b { color: var(--text); }
.note .text { white-space: pre-wrap; overflow-wrap: anywhere; }
.note .text .q { font-weight: 600; display: block; margin-top: 8px; }
.back { display: inline-block; margin-bottom: 12px; font-size: 14px; }
.loading { color: var(--text-3); padding: 30px; text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
a.button { display: inline-block; text-decoration: none; font-weight: 600; border: 1px solid transparent; border-radius: 6px; padding: 10px 16px; background: var(--accent); color: #fff; }
a.button:hover { background: var(--accent-hover); }
a.button.secondary { background: #fff; color: var(--accent); border-color: var(--accent); }
a.button.secondary:hover { background: var(--accent-soft); }
.cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 18px; }
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 14px; }
.type { display: block; text-decoration: none; color: inherit; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: #fff; }
.type:hover, .type:focus-visible { border-color: var(--accent); background: #f7fbfd; }
.type b { display: block; color: var(--navy); }
.type span { display: block; color: var(--text-3); font-size: 13px; margin-top: 4px; }
.field .hint { margin: -2px 0 6px; }
.radios { border: 0; padding: 0; margin: 14px 0 0; }
.radios legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.radio { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 6px 0; }
.radio input { width: auto; margin: 0; }
.files { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; }
.files li { padding: 4px 0; overflow-wrap: anywhere; }
.note.waiting { opacity: .8; border-style: dashed; }
.notices { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.notices:empty { display: none; }
.narrow-wrap { max-width: 440px; margin: 24px auto; }
.narrow-wrap .narrow { margin: 0 0 16px; }
.notice { border-radius: var(--radius); padding: 12px 14px; border: 1px solid var(--border); border-left-width: 5px; background: var(--surface); }
.notice.info { border-left-color: var(--accent); background: #f3f9fc; }
.notice.outage { border-left-color: #c26a00; background: var(--warn-soft); }
.notice.critical { border-left-color: var(--bad); background: var(--bad-soft); }
.notice .nh { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.notice .nh b { color: var(--navy); flex: 1; min-width: 0; }
.notice .sev { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-2); }
.notice.outage .sev { color: var(--warn); }
.notice.critical .sev { color: var(--bad); }
.notice .x { background: none; color: var(--text-2); border: 0; padding: 0 4px; font-size: 20px; line-height: 1; }
.notice .x:hover { color: var(--text); background: none; }
.notice .nb, .news .nb { white-space: pre-wrap; margin-top: 4px; overflow-wrap: anywhere; }
.nt { color: var(--text-3); font-size: 13px; }
.notice .nt { margin-top: 4px; }
.nu { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; border-top: 1px solid rgba(0,0,0,.08); }
.nu li { padding-top: 6px; }
.news { list-style: none; padding: 0; margin: 0; }
.news li { padding: 10px 0; border-top: 1px solid var(--row); }
.news li:first-child { border-top: 0; }

.site-banner { background: var(--orange, #ff9a16); color: #1d1d1d; padding: 10px 16px; text-align: center; font-weight: 600; font-size: 15px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.site-banner[hidden] { display: none; }
.site-banner a { color: #072a60; text-decoration: underline; font-weight: 700; overflow-wrap: anywhere; }
