/* Sign-in pages and the People page: the colours of the site's navbar, on every screen size. */
:root { --nxa-navy: #1f3a5f; --nxa-dark: #0c1626; --nxa-orange: #d35400; --nxa-ink: #1f2a3a; --nxa-muted: #64748b; --nxa-line: #dfe8f3; --nxa-soft: #f4f7fb; --nxa-ok: #17803d; --nxa-bad: #b42318; }
.nxa-page, .nxa-page * { box-sizing: border-box; }
.nxa-page { background: var(--nxa-soft); min-height: calc(100vh - var(--site-nav-h, 72px)); color: var(--nxa-ink); font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.nxa-center { display: flex; align-items: center; justify-content: center; padding: 36px 18px; }

.nxa-split { display: grid; grid-template-columns: minmax(300px, 420px) minmax(340px, 480px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(15, 25, 40, .14); width: 100%; max-width: 900px; }
.nxa-split.wide { grid-template-columns: minmax(280px, 340px) minmax(380px, 640px); max-width: 980px; }
.nxa-brand { position: relative; padding: 38px 34px; color: #fff; background: linear-gradient(155deg, var(--nxa-dark) 0%, var(--nxa-navy) 100%); display: flex; flex-direction: column; overflow: hidden; }
.nxa-brand::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(211, 84, 0, .28); }
.nxa-brand img { height: 66px; width: auto; align-self: flex-start; margin-bottom: 26px; }
.nxa-brand h2 { font-size: 25px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; color: #fff; }
.nxa-brand p { color: #c6d4e5; margin: 0 0 22px; }
.nxa-brand ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.nxa-brand li { padding: 5px 0 5px 22px; position: relative; color: #e6edf6; font-size: 14px; }
.nxa-brand li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 5px; border-left: 2px solid #ff9a5c; border-bottom: 2px solid #ff9a5c; transform: rotate(-45deg); }
.nxa-panel { padding: 36px 38px; }
.nxa-panel h1, .nxa-head h1 { font-size: 25px; font-weight: 700; margin: 0 0 4px; color: var(--nxa-ink); letter-spacing: -.01em; }
.nxa-sub { color: var(--nxa-muted); margin: 0 0 18px; }

.nxa-field { margin-bottom: 13px; }
.nxa-field label { display: block; font-weight: 600; font-size: 13.5px; margin: 0 0 4px; }
.nxa-in { display: block; width: 100%; padding: 10px 12px; border: 1px solid #cfd8e3; border-radius: 9px; font: inherit; background: #fff; color: var(--nxa-ink); transition: border-color .15s, box-shadow .15s; }
.nxa-in:focus { outline: none; border-color: var(--nxa-navy); box-shadow: 0 0 0 3px rgba(31, 58, 95, .14); }
.nxa-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.nxa-hint { display: block; font-size: 12.5px; color: var(--nxa-muted); margin-top: 3px; }
.nxa-err { display: block; font-size: 12.5px; color: var(--nxa-bad); margin-top: 3px; }
.nxa-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; margin: 2px 0 16px; flex-wrap: wrap; }
.nxa-row label { display: flex; align-items: center; gap: 7px; margin: 0; }
.nxa-row input { width: 16px; height: 16px; accent-color: var(--nxa-navy); }
.nxa-link { color: var(--nxa-navy); font-weight: 600; text-decoration: none; }
.nxa-link:hover { text-decoration: underline; color: var(--nxa-orange); }
.nxa-foot { text-align: center; font-size: 14px; margin: 16px 0 0; color: var(--nxa-muted); }

.nxa-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; background: var(--nxa-navy); color: #fff; padding: 10px 18px; font: 600 14.5px "Segoe UI", Inter, Roboto, Arial, sans-serif; cursor: pointer; text-decoration: none; transition: .15s; }
.nxa-btn:hover { filter: brightness(1.15); color: #fff; }
.nxa-btn.full { width: 100%; padding: 12px 18px; }
.nxa-btn.orange { background: var(--nxa-orange); }
.nxa-btn.sm { padding: 5px 11px; font-size: 13px; border-radius: 7px; }
.nxa-btn.green { background: var(--nxa-ok); }
.nxa-btn.plain { background: #fff; color: var(--nxa-navy); border: 1px solid #cfd8e3; }
.nxa-btn.plain:hover { background: #eef3f9; color: var(--nxa-navy); filter: none; }
.nxa-btn.red { background: #fff; color: var(--nxa-bad); border: 1px solid #e7b9b4; }
.nxa-btn.red:hover { background: #fdf0ef; color: var(--nxa-bad); filter: none; }

.nxa-msg { border-radius: 9px; padding: 10px 13px; font-size: 14px; margin-bottom: 14px; }
.nxa-msg.info { background: #e8f1fb; color: #1f4f8a; }
.nxa-msg.err, .nxa-msg.error { background: #fde8e8; color: var(--nxa-bad); }
.nxa-msg.ok, .nxa-msg.success { background: #e7f6ec; color: var(--nxa-ok); }
.nxa-msg.warn { background: #fff4dc; color: #8a5a00; }

.nxa-wrap { max-width: 1240px; margin: 0 auto; padding: 28px 22px 50px; }
.nxa-head { margin-bottom: 14px; }
.nxa-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.nxa-stats div { background: #fff; border: 1px solid var(--nxa-line); border-radius: 12px; padding: 13px 18px; }
.nxa-stats b { display: block; font-size: 26px; line-height: 1.15; color: var(--nxa-navy); }
.nxa-stats span { font-size: 13px; color: var(--nxa-muted); }
.nxa-stats .hot b { color: var(--nxa-orange); }
.nxa-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid var(--nxa-navy); align-items: flex-end; }
.nxa-tabs a { padding: 8px 18px; border-radius: 9px 9px 0 0; background: #e2e8f0; color: #334155; font-weight: 600; font-size: 14px; text-decoration: none; }
.nxa-tabs a.on { background: var(--nxa-navy); color: #fff; }
.nxa-tabs form { margin-left: auto; padding-bottom: 6px; }
.nxa-tabs input { padding: 6px 11px; width: 240px; }
.nxa-tablewrap { background: #fff; border: 1px solid var(--nxa-line); border-top: 0; border-radius: 0 0 12px 12px; overflow-x: auto; }
.nxa-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nxa-table th { background: #eef3f9; padding: 9px 13px; font-size: 13px; color: #4b5b6b; font-weight: 600; text-align: left; white-space: nowrap; }
.nxa-table td { padding: 11px 13px; border-top: 1px solid #edf2f7; vertical-align: middle; }
.nxa-table small { display: block; color: var(--nxa-muted); }
.nxa-acts { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: nowrap; }
.nxa-acts form { margin: 0; }
.nxa-empty { text-align: center; color: var(--nxa-muted); padding: 34px; }
.nxa-pill { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 10px; background: #e7f6ec; color: var(--nxa-ok); white-space: nowrap; }
.nxa-pill.off { background: #f1f5f9; color: var(--nxa-muted); }
.nxa-pill.own { background: #e0e7ff; color: #3730a3; }
.nxa-temp { font: 700 19px Consolas, monospace; background: #fff; border: 1px dashed #d9a400; border-radius: 7px; padding: 4px 12px; display: inline-block; margin-top: 5px; user-select: all; }
.nxa-card { background: #fff; border: 1px solid var(--nxa-line); border-radius: 14px; padding: 24px 28px; margin-bottom: 16px; }
.nxa-card h2 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.nxa-narrow { max-width: 640px; margin: 0 auto; padding: 28px 18px 50px; }

/* the dialogs: approving someone, and signing in again over an open page */
.nxa-over { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(12, 22, 38, .55); font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.5; color: var(--nxa-ink); }
.nxa-over * { box-sizing: border-box; }
.nxa-dlg { background: #fff; border-radius: 14px; padding: 26px 28px; width: 100%; max-width: 430px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border-top: 4px solid var(--nxa-orange); }
.nxa-dlg.wide { max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; }
.nxa-pghead { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 6px; }
.nxa-pghead button { background: none; border: 0; padding: 0; color: var(--nxa-navy); font-weight: 600; cursor: pointer; }
.nxa-pgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; border: 1px solid var(--nxa-line); border-radius: 10px; padding: 12px 14px; }
.nxa-pgs fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.nxa-pgs legend { float: none; width: auto; margin: 0 0 3px; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--nxa-orange); }
.nxa-pgs label { display: flex; gap: 7px; align-items: center; font-size: 13.5px; padding: 2px 0; margin: 0; }
.nxa-pgs input { width: 15px; height: 15px; accent-color: var(--nxa-navy); }
.nxa-dlg h1 { font-size: 21px; font-weight: 700; margin: 0 0 4px; }
.nxa-dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* the signed-in end of the navbar */
#site-nav .nx-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
#site-nav .nx-right .nx-cta { margin-left: 0; }
#site-nav .nx-signin { color: #dfe8f3; font-size: 15px; font-weight: 500; text-decoration: none; padding: 0 8px; }
#site-nav .nx-signin:hover { color: #fff; }
#site-nav .nx-user { display: flex; align-items: center; gap: 9px; color: #fff; background: none; border: 0; padding: 0 0 0 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
#site-nav .nx-av { width: 36px; height: 36px; border-radius: 50%; background: var(--nx-a); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13.5px; }
#site-nav .nx-badge { background: var(--nx-a); color: #fff; border-radius: 9px; font-size: 11.5px; padding: 0 7px; font-weight: 700; }
#site-nav .dropdown-menu.nx-um { right: 0; left: auto; min-width: 240px; }
#site-nav .nx-who { padding: 6px 12px 10px; border-bottom: 1px solid #eef3f9; margin-bottom: 6px; font-size: 13px; color: #64748b; word-break: break-all; }
#site-nav .nx-who b { display: block; color: #1f2a3a; font-size: 14.5px; word-break: normal; }
#site-nav .nx-um form { margin: 0; }
#site-nav .nx-um button.dropdown-item { color: #b42318; width: 100%; text-align: left; background: none; border: 0; }

@media (max-width: 800px) {
  .nxa-split, .nxa-split.wide { grid-template-columns: 1fr; max-width: 520px; }
  .nxa-brand { padding: 24px 26px; }
  .nxa-brand ul, .nxa-brand p { display: none; }
  .nxa-brand h2 { margin: 0; font-size: 21px; }
  .nxa-brand img { margin-bottom: 12px; height: 52px; }
  .nxa-panel { padding: 26px 24px; }
  .nxa-two, .nxa-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) { .nxa-two, .nxa-pgs { grid-template-columns: 1fr; } }
