/* Qorden public pages: the same flat, quiet console look as the admin screens. */
@font-face { font-family: 'General Sans'; font-weight: 400; font-display: swap; src: url('/public/static/fonts/GeneralSans-400.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 500; font-display: swap; src: url('/public/static/fonts/GeneralSans-500.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 600; font-display: swap; src: url('/public/static/fonts/GeneralSans-600.woff2') format('woff2'); }
@font-face { font-family: 'General Sans'; font-weight: 700; font-display: swap; src: url('/public/static/fonts/GeneralSans-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('/public/static/fonts/Barlow-700.woff2') format('woff2'); }


* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #f4f5f7; }
body {
  margin: 0; padding: 0; min-width: 320px; min-height: 100vh;
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 14px; line-height: 20px; color: #0f1b2d;
  -webkit-font-smoothing: antialiased;
  border-top: 4px solid #0f1b2d;
}
a { color: #0972d3; text-decoration: none; }
a:hover { text-decoration: underline; }
label { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: #0f1b2d; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 8px; font-weight: 700; color: #0f1b2d; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 30px; }
p { margin: 0 0 16px; }
.section { margin-bottom: 32px; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; height: 40px; padding: 0 12px;
  background: #fff; border: 1px solid #8a94a3; border-radius: 4px; box-shadow: none;
  font-family: inherit; font-size: 14px; color: #0f1b2d;
}
textarea { height: auto; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: #0972d3; box-shadow: 0 0 0 1px #0972d3; }
input::placeholder { color: #7b8797; }
input[disabled] { opacity: 0.5; }
input[type="checkbox"], input[type="radio"] { width: auto; height: auto; margin-right: 8px; accent-color: #ec7211; }

.center { text-align: center; }
.right { text-align: right; }
.small { font-size: 13px; line-height: 20px; color: #5b6778; }
.error { display: block; padding: 10px 12px; border-left: 4px solid #d13212; background: #fdf3f1; color: #7d2105; font-weight: 500; border-radius: 0 4px 4px 0; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 40px; padding: 0 20px;
  background: #ec7211; border: 1px solid #ec7211; border-radius: 4px; color: #fff; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; transition: background 0.15s;
}
.button:hover { background: #d9650a; border-color: #d9650a; color: #fff; text-decoration: none; }
.button:focus-visible { outline: 2px solid #0972d3; outline-offset: 2px; }
.button.button-outline { background: #fff; border: 1px solid #8a94a3; color: #2c3a4e; }
.button.button-outline:hover { background: #f4f5f7; border-color: #0f1b2d; color: #0f1b2d; }

.container { max-width: 440px; margin: 56px auto 12px; padding: 0 16px; }
.wrap { padding: 32px; background: #fff; border: 1px solid #dfe3e8; border-radius: 4px; box-shadow: 0 1px 2px rgba(15, 27, 45, 0.06); }

.header { margin: 0 0 24px; padding: 0 0 24px; text-align: center; border-bottom: 1px solid #eaeded; }
.header .logo { display: flex; justify-content: center; }
.header .logo img { width: auto; max-width: 150px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; height: 40px; width: auto; }
.brand-name { font-weight: 700; font-size: 24px; letter-spacing: -0.02em; color: #0f1b2d; line-height: 1; }

.unsub-all { margin-top: 24px; padding-top: 24px; border-top: 1px solid #eaeded; }
.row { margin-bottom: 16px; }
.lists { margin: 0; padding: 0; list-style: none; }
.lists li { margin: 0 0 8px; }
.lists .description { margin: 0 0 16px 25px; font-size: 13px; line-height: 20px; color: #5b6778; }
.form .nonce { display: none; }
.form .captcha { margin-top: 24px; }
.form p { margin: 0 0 16px; }

.archive { margin: 24px 0 0; padding: 0; list-style: none; }
.archive .date { display: block; font-size: 13px; color: #5b6778; }
.archive li { margin-bottom: 16px; }
.feed { margin-right: 16px; }
.home-options { margin-top: 24px; text-align: center; }
.home-options a { margin: 0 8px; }
.pagination { margin-top: 24px; text-align: center; }
.pg-page { display: inline-block; padding: 0 8px; text-decoration: none; }
.pg-page.pg-selected { font-weight: 700; text-decoration: underline; }

.login h2 { text-align: left; }
.login .submit { margin-top: 24px; }
.login button { display: flex; align-items: center; justify-content: center; width: 100%; vertical-align: middle; }
.login button img { max-width: 20px; margin-right: 10px; }
.login input[name=totp_code] { height: 56px; font-size: 24px; letter-spacing: 6px; text-align: center; }
.login p { margin: 0 0 16px; }
.login .lead { margin: 0 0 24px; color: #5b6778; }

footer.container { margin-top: 16px; margin-bottom: 32px; text-align: center; font-size: 12px; color: #5b6778; }
footer a { color: #5b6778; }
footer a:hover { color: #0f1b2d; text-decoration: none; }

@media screen and (max-width: 650px) {
  .container { margin-top: 24px; padding: 0 12px; }
  .wrap { padding: 24px 20px; }
  h2 { font-size: 20px; }
  .button { width: 100%; }
}
