@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Source+Serif+4:opsz,wght@8..60,400&display=swap');
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; font-family: 'Inter', system-ui, sans-serif; color: #1b1f27;
  background: linear-gradient(135deg, #142a66 0%, #1a3f95 55%, #1f7ae0 100%); display: grid; place-items: center; padding: 24px; }
.card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 32px 28px; box-shadow: 0 20px 60px rgba(10, 20, 50, .35); }
.card.wide { max-width: 980px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.brand img { height: 44px; width: auto; }
.brand span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #5f6878; }
h1 { font-family: 'Source Serif 4', Georgia, serif; font-weight: 400; font-size: 26px; margin: 0 0 6px; color: #142a66; }
p.lede { margin: 0 0 22px; color: #5f6878; font-size: 14px; line-height: 1.5; }
label { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
input, select { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #d5dae3; border-radius: 10px; background: #fff; }
input:focus, select:focus { outline: 2px solid #1f7ae0; outline-offset: 1px; border-color: transparent; }
button.primary { width: 100%; margin-top: 20px; font: inherit; font-weight: 600; font-size: 15px; color: #fff; background: #1f7ae0;
  border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; }
button.primary:hover { background: #1868c4; }
button:disabled { opacity: .6; cursor: progress; }
.links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; }
a { color: #1f7ae0; text-decoration: none; } a:hover { text-decoration: underline; }
.msg { margin-top: 16px; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 1.4; }
.msg.err { background: #fdecef; color: #9b1c33; } .msg.ok { background: #e7f6ee; color: #146c43; }
.hint { font-size: 12px; color: #5f6878; margin-top: 6px; }
.pw-wrap { position: relative; } .pw-wrap input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px; background: none; border: 0; color: #1f7ae0; cursor: pointer; }
/* admin */
.row { display: grid; grid-template-columns: 2fr 1.5fr 1fr auto; gap: 10px; align-items: end; }
.row button.primary { margin-top: 0; width: auto; padding: 10px 18px; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 22px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e3e6ec; white-space: nowrap; }
th { color: #5f6878; font-weight: 500; }
td button { font: inherit; font-size: 12px; border: 1px solid #d5dae3; background: #fff; border-radius: 999px; padding: 3px 10px; cursor: pointer; margin-right: 4px; }
td button:hover { border-color: #1f7ae0; }
.tw { overflow-x: auto; }
.pill { font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #eef2f8; }
.pill.off { background: #fdecef; color: #9b1c33; } .pill.pending { background: #fff4de; color: #8a5a00; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
