.login-page *, .usage-page * { box-sizing: border-box; }
.login-page, .usage-page {
    margin: 0;
    background: #f4f6fa;
    color: #253541;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}
.login-page button, .login-page input,
.usage-page button, .usage-page input,
.web-user-controls button { font: inherit; }
.login-page button, .login-page a,
.usage-page button, .usage-page a,
.web-user-controls button, .web-user-controls a { min-height: 44px; }
.login-page button:focus-visible, .login-page input:focus-visible,
.login-page a:focus-visible, .usage-page button:focus-visible,
.usage-page input:focus-visible, .usage-page a:focus-visible,
.web-user-controls button:focus-visible,
.web-user-controls a:focus-visible {
    outline: 3px solid rgba(49, 116, 155, 0.35);
    outline-offset: 2px;
}
.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}
.login-card, .usage-card {
    background: #fff;
    border: 1px solid #dfe5ea;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(37, 53, 65, 0.08);
}
.login-card { width: min(100%, 460px); padding: 34px; text-align: center; }
.login-logo { width: 104px; height: auto; }
.login-card h1 { margin: 20px 0 8px; }
.login-intro, .login-note, .usage-intro { color: #657683; line-height: 1.5; }
.login-form { display: grid; gap: 10px; margin-top: 24px; text-align: left; }
.login-form input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid #bcc8d1;
    border-radius: 10px;
    font-size: 17px;
}
.login-form button, .resend-form button, .web-user-controls button {
    border: 0;
    border-radius: 10px;
    padding: 11px 16px;
    background: #253541;
    color: #fff;
    cursor: pointer;
}
.resend-form { margin: 12px 0; }
.resend-form .secondary-button { background: #e9eef2; color: #253541; }
.login-message, .login-error {
    margin-top: 18px;
    padding: 12px;
    border-radius: 10px;
    text-align: left;
    line-height: 1.45;
}
.login-message { background: #edf6f2; color: #285d47; }
.login-error { background: #fff0f0; color: #842029; }
.web-user-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.web-user-controls form { margin: 0; }
.web-user-admin-link { color: inherit; display: inline-flex; align-items: center; }
.usage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px, 5vw, 64px);
    background: #fff;
    border-bottom: 1px solid #dfe5ea;
}
.usage-logo { width: 76px; height: auto; display: block; }
.usage-shell { width: min(1180px, calc(100% - 32px)); margin: 36px auto 64px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: #657683; }
.usage-card { padding: 24px; margin-top: 22px; }
.usage-table-wrap { overflow-x: auto; }
.usage-page table { width: 100%; border-collapse: collapse; }
.usage-page th, .usage-page td { padding: 12px; text-align: left; border-bottom: 1px solid #e8edf1; vertical-align: top; }
.usage-page th { color: #657683; font-size: 13px; }
.usage-events { list-style: none; padding: 0; margin: 0; }
.usage-events li { display: grid; grid-template-columns: 190px 1fr 1fr 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e8edf1; }
@media (max-width: 720px) {
    .login-card { padding: 26px 20px; }
    .usage-events li { grid-template-columns: 1fr; gap: 4px; }
    .usage-header { align-items: flex-start; }
}
