/* Shared screen typography for login, employee pages, and administration. */
.sidebar .brand {
    justify-content:center;
    align-self:center;
    margin:0 0 30px;
    padding:14px 22px;
    flex-shrink:0;
    background:linear-gradient(145deg,#f3f4f6,#e5e7eb);
    border:1px solid #ffffff80;
    border-radius:20px;
    box-shadow:0 4px 14px #071e4514;
}
.sidebar .sidebar-logo { display:block; width:130px; height:140px; object-fit:contain; }
.login-card .login-logo-centered { display:flex; justify-content:center; align-items:center; margin-bottom:28px; }
.login-card .login-logo-centered img { display:block; width:170px; height:184px; max-width:100%; object-fit:contain; }
@media screen {
    body { font-size:16px; line-height:1.6; }
    .nav-item { font-size:15px; }
    .nav-caption,.eyebrow { font-size:12px; }
    .brand small,.sidebar-footer,.sidebar-note,.sidebar-note strong { font-size:12px; }
    .breadcrumb,.page-footer,.dashboard-page .page-footer { font-size:12px; }
    .account { font-size:14px; }
    .topbar h1,.dashboard-page .topbar h1 { font-size:24px; }
    .page-intro h2 { font-size:28px; }
    .page-intro p,.section-tag,.profile-unit,.nip { font-size:14px; }
    .profile-identity h2 { font-size:26px; }
    .btn,.biodata-toolbar .btn { font-size:14px; }
    .tab-title,.data-section h3,.card-heading h3 { font-size:16px; }
    .data-row { font-size:15px; line-height:1.75; }
    .empty-value,.privacy-note,.status-pill { font-size:12px; }
    .muted,.result-toolbar,.pagination,.cards-footer,.employee-table td span { font-size:14px; }
    .field label { font-size:15px; }
    .field input,.field select,.field textarea,.filter-form input,.file-input { font-size:16px; }
    .field small { font-size:13px; line-height:1.6; }
    .error-box,.flash-message { font-size:15px; }
    .employee-table,.cards-table { font-size:15px; }
    .stat-card span { font-size:13px; }
    .stat-card strong { font-size:17px; }
    .stat-card small,.stat-card .stat-detail { font-size:12px; }
    .welcome-copy h2 { font-size:21px; }
    .welcome-copy>p,.welcome-stats strong,.welcome-stats span { font-size:14px; }
    .welcome-stats { flex-wrap:wrap; }
    .quick-card h2,.notice-card h2 { font-size:19px; }
    .quick-item { width:88px; }
    .quick-item strong { font-size:13px; }
    .quick-item small { font-size:11px; white-space:normal; }
    .quick-grid { flex-wrap:wrap; }
    .chart-card h2,.chart-caption,.chart-link,.notice-card p { font-size:15px; }
    .chart-empty,.attendance-legend,.attendance-chart span { font-size:13px; }
    .attendance-chart strong { font-size:12px; }
    .attendance-legend { max-width:330px; }
    .login-card { max-width:510px; }
    .login-card h1 { font-size:34px; }
    .login-card .muted,.login-help { font-size:16px; }
    .login-card .field label,.login-card .btn { font-size:17px; }
    .login-card .field input { font-size:18px; }
    .login-brand { font-size:34px; line-height:1.25; }
    .login-brand span { font-size:12px; margin-top:9px; line-height:1.6; }
    .login-brand img { flex-shrink:0; }
    .login-brand>div { min-width:0; }
}
@media screen and (max-width:1200px) {
    .data-columns { grid-template-columns:1fr; }
    .data-columns>div:first-child { padding-right:0; }
    .data-columns>div+div { border-left:0; border-top:1px solid #edf0f5; padding-left:0; }
    .stats-grid { grid-template-columns:1fr; }
}
@media screen and (max-width:640px) {
    .topbar h1,.dashboard-page .topbar h1 { font-size:22px; }
    .profile-identity h2 { font-size:22px; }
    .data-row { font-size:14px; }
    .welcome-copy h2 { font-size:18px; }
    .welcome-copy>p,.welcome-stats strong,.welcome-stats span { font-size:13px; }
    .quick-item { width:auto; }
    .quick-item strong { font-size:13px; }
    .attendance-legend { font-size:12px; gap:8px; }
    .login-page { padding:20px 14px; }
    .login-card { padding:30px 24px; }
    .login-card h1 { font-size:30px; }
    .login-brand { font-size:clamp(25px,7vw,32px); flex-wrap:wrap; }
    .login-brand img { width:80px; height:80px; }
}
