:root { --primary:#176b54; --soft:#e9f3ed; }
.sejiwa-brand { display:inline-flex; align-items:center; flex-wrap:nowrap; gap:10px; min-width:0; text-decoration:none; }
.sejiwa-brand .sejiwa-mark { display:block; width:38px; height:38px; flex-shrink:0; padding:0; margin:0; line-height:1; }
.sejiwa-brand .sejiwa-wordmark { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0; line-height:1.15; letter-spacing:-.5px; }
.sejiwa-brand .sejiwa-wordmark > span:first-child { font-size:20px; font-weight:800; color:#176b54; white-space:nowrap; }

.sejiwa-brand .sejiwa-wordmark .brand-light { font-size:9px; font-weight:500; color:#7b8d82; letter-spacing:.25px; white-space:nowrap; }
.sidebar-header { gap:6px; padding:0 2px; }
.sidebar-header .sejiwa-brand { gap:8px; }
.sidebar-header .sejiwa-brand .sejiwa-mark { width:34px; height:34px; }
.sidebar-header .sejiwa-brand .sejiwa-wordmark > span:first-child { font-size:14px; }
.sidebar-header .sidebar-toggle { width:28px; height:30px; padding:4px; }
.sidebar-header .pharmacy-brand { flex:1; }
.sidebar-header .pharmacy-brand .sejiwa-wordmark > span:first-child { white-space:normal; overflow-wrap:anywhere; line-height:1.3; }
.sidebar-header .pharmacy-brand-logo { object-fit:contain; background:#fff; border-radius:7px; }
.sidebar-header .pharmacy-brand .pharmacy-brand-initials { display:grid; place-items:center; background:var(--soft); color:var(--primary); border-radius:7px; font-size:14px; font-weight:800; letter-spacing:0; }
.auth-card > .sejiwa-brand { display:flex; justify-content:center; margin:0 0 30px; }
.auth-card > .sejiwa-brand .sejiwa-mark { width:46px; height:46px; }
.auth-card > .sejiwa-brand .sejiwa-wordmark > span:first-child { font-size:25px; }
.auth-card > .sejiwa-brand .brand-light { font-size:10px; }
.sejiwa-auth-footer { padding-top:22px; margin-top:26px; border-top:1px solid var(--border); text-align:center; color:var(--muted); font-size:11px; }
.sejiwa-app-footer strong { font-weight:600; color:#5f796b; }
@media(min-width:681px) and (max-width:1050px) {
  .sidebar-header .sejiwa-brand .sejiwa-wordmark > span:first-child { font-size:12px; }
  .sidebar-header .sejiwa-brand .sejiwa-wordmark .brand-light { font-size:8px; letter-spacing:0; }
  .sidebar-header .sejiwa-brand .sejiwa-mark { width:28px; height:28px; }
}
@media(min-width:681px) {
  .sidebar-collapsed .sejiwa-brand .sejiwa-wordmark { display:none; }
  .sidebar-collapsed .sidebar-header .sejiwa-brand .sejiwa-mark { width:36px; height:36px; }
}
