/* Staff area (/staff): login, password and dashboard pages */
.st-auth, .st-dash { font-family: Arial, Helvetica, sans-serif; color: #1d2733; }
.st-auth { display: flex; justify-content: center; padding: 72px 16px 96px; background: #f4f7fa; }
.st-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid #e4e9ef; border-top: 4px solid #A91101; border-radius: 14px; padding: 34px 32px 28px; box-shadow: 0 10px 30px rgba(13,26,38,0.08); }
.st-card h1 { color: #1F456E; font-size: 28px; line-height: 1.15; margin: 0 0 6px; }
.st-sub { color: #5d6875; font-size: 15px; line-height: 1.5; margin: 0 0 22px; }
.st-form { display: flex; flex-direction: column; }
.st-form label { color: #1F456E; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.st-form input[type=email], .st-form input[type=password] { font: 16px Arial, Helvetica, sans-serif; padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: 9px; margin-bottom: 16px; }
.st-form input:focus { outline: none; border-color: #1F456E; box-shadow: 0 0 0 3px rgba(31,69,110,0.15); }
.st-form .st-check { display: flex; align-items: center; gap: 8px; font-weight: 400; color: #4a5562; margin: 2px 0 20px; }
.st-btn { background: #A91101; color: #fff; border: 0; border-radius: 999px; padding: 14px 20px; font: 700 16px Arial, Helvetica, sans-serif; cursor: pointer; transition: background .2s; }
.st-btn:hover, .st-btn:focus-visible { background: #c41a08; }
.st-link { display: inline-block; margin-top: 18px; color: #1F456E; font-size: 14px; }
.st-error { color: #A91101; background: rgba(169,17,1,0.07); border-radius: 8px; padding: 9px 12px; font-size: 14px; margin: -4px 0 14px; }
.st-notice { color: #1d5c34; background: #e7f5ec; border-radius: 8px; padding: 10px 12px; font-size: 14px; line-height: 1.45; margin-bottom: 18px; }

.st-dash { max-width: 1180px; margin: 0 auto; padding: 48px 32px 80px; }
.st-eyebrow { color: #A91101; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.st-dash h1 { color: #1F456E; font-size: 40px; line-height: 1.1; margin: 0 0 8px; }
.st-h2 { color: #1F456E; font-size: 21px; margin: 40px 0 14px; padding-bottom: 8px; border-bottom: 2px solid #eef1f5; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.st-tile { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; background: #fff; border: 1px solid #dbe3ec; border-radius: 12px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.st-tile:hover, .st-tile:focus-visible { transform: translateY(-2px); border-color: #1F456E; box-shadow: 0 8px 22px rgba(31,69,110,0.12); outline: none; }
.st-tile-title { color: #1F456E; font-size: 17px; font-weight: 700; }
.st-tile-title span { color: #A91101; }
.st-tile-note { color: #5d6875; font-size: 14px; line-height: 1.5; }
.st-table-wrap { overflow-x: auto; border: 1px solid #dbe3ec; border-radius: 12px; }
.st-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.st-table th, .st-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid #eef1f5; vertical-align: top; line-height: 1.45; }
.st-table thead th { background: #f4f7fa; color: #1F456E; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.st-table tbody th { color: #1F456E; white-space: nowrap; width: 1%; }
.st-table tr:last-child th, .st-table tr:last-child td { border-bottom: 0; }
.st-table a { color: #1F456E; }
.st-dash code { background: #f1f4f8; border-radius: 5px; padding: 1px 6px; font-size: 0.92em; }
.st-small { color: #6b7785; font-size: 13.5px; line-height: 1.5; margin: 10px 0 0; }

@media (max-width: 700px) {
  .st-dash { padding: 32px 16px 56px; }
  .st-dash h1 { font-size: 30px; }
  .st-card { padding: 28px 22px 24px; }
}
