.lrc-chrome {
  --lrc-bar: #0b1220;
  --lrc-bar-2: #111827;
  --lrc-line: rgba(255, 255, 255, 0.12);
  --lrc-text: #f8fafc;
  --lrc-muted: #94a3b8;
  --lrc-blue: #2563eb;
  --lrc-panel: #fff;
  --lrc-ink: #0f172a;
  --lrc-soft: #64748b;
  --lrc-wash: #f8fafc;
  --lrc-tick: #2563eb;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  z-index: 80;
}
.lrc-chrome * { box-sizing: border-box; }
.lrc-impersonation {
  display: none;
}
.lrc-impersonation.is-on {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: #f59e0b;
  color: #111827;
  font: 700 12px/1.4 "Plus Jakarta Sans", "Segoe UI", sans-serif;
  text-align: center;
  padding: 8px 16px;
}
body.lrc-has-impersonation {
  padding-top: 36px;
}
.lrc-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--lrc-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}
.lrc-btn:hover, .lrc-btn.is-open { background: rgba(255, 255, 255, 0.08); }
.lrc-org {
  max-width: 220px;
}
.lrc-org-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 160px;
}
.lrc-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
  color: #e2e8f0;
}
.lrc-icon svg { width: 18px; height: 18px; display: block; }
.lrc-plus {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: 999px;
  background: var(--lrc-blue);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.lrc-plus:hover, .lrc-plus.is-open { background: #1d4ed8; }
.lrc-dim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
  z-index: 90;
}
.lrc-panel {
  position: absolute;
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 640px);
  overflow: auto;
  background: var(--lrc-panel);
  color: var(--lrc-ink);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
  z-index: 100;
}
.lrc-panel--orgs { left: 0; }
.lrc-panel--apps { width: min(560px, calc(100vw - 24px)); }
.lrc-panel--apps,
.lrc-panel--gear,
.lrc-panel--avatar,
.lrc-panel--create,
.lrc-panel--bell,
.lrc-panel--people { right: 0; }
.lrc-form {
  display: grid;
  gap: 10px;
  padding: 0 18px 14px;
}
.lrc-form label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lrc-soft);
}
.lrc-form input,
.lrc-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
}
.lrc-form-btn {
  display: block;
  width: 100%;
  min-height: 38px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.lrc-form-btn--ghost {
  width: calc(100% - 36px);
  margin: 0 18px 16px;
  background: #fff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}
.lrc-pending {
  margin: 0 18px 16px;
  padding: 0 0 0 18px;
  color: #334155;
  font-size: 13px;
}
.lrc-ok { padding: 0 18px 10px; color: #047857; font-size: 13px; }
.lrc-refer { padding: 4px 18px 16px; text-align: center; }
.lrc-refer-art { display: flex; justify-content: center; margin: 4px 0 10px; }
.lrc-refer-lead {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.lrc-refer-benefits {
  text-align: left;
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}
.lrc-refer-benefits li { margin: 0 0 8px; }
.lrc-refer-terms {
  margin: 8px 0 0;
  font-size: 11px;
  color: #64748b;
}
.lrc-refer--empty { padding-bottom: 18px; }
.lrc-refer .lrc-form-btn { width: 100%; margin: 0; }
.lrc-bell { position: relative; }
.lrc-badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}
.lrc-row.is-unread { background: #eff6ff; }
.lrc-notice-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex: 0 0 auto;
}
.lrc-prod {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #334155;
  background: #e2e8f0;
  border-radius: 999px;
  padding: 2px 6px;
}
.lrc-prod--helpdesk { background: #dbeafe; color: #1d4ed8; }
.lrc-prod--workflow { background: #d1fae5; color: #047857; }
.lrc-prod--admission { background: #eff6ff; color: #1e40af; }
.lrc-prod--accounts { background: #e0e7ff; color: #4338ca; }
.lrc-when { color: #94a3b8; font-size: 11px; }
.lrc-empty { padding: 8px 18px 20px; color: var(--lrc-soft); font-size: 13px; }
.lrc-avatar {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
}
.lrc-face,
.lrc-face-fallback {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  display: grid;
  place-items: center;
}
.lrc-face-fallback {
  background: #4f46e5;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.lrc-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 18px 16px;
}
.lrc-person .lrc-face,
.lrc-person .lrc-face-fallback {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  font-size: 18px;
}
.lrc-theme {
  display: flex;
  gap: 8px;
  padding: 0 18px 14px;
}
.lrc-theme-btn {
  flex: 1;
  min-height: 36px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: #0f172a;
}
.lrc-theme-btn.is-on {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}
.lrc-signout {
  display: block;
  width: calc(100% - 36px);
  margin: 0 18px 18px;
  min-height: 38px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.lrc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 10px;
}
.lrc-head h2 {
  margin: 0;
  flex: 1;
  font-size: 20px;
  font-weight: 700;
}
.lrc-manage, .lrc-x {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.lrc-x { width: 32px; padding: 0; }
.lrc-sub {
  margin: 0;
  padding: 4px 18px 10px;
  color: var(--lrc-soft);
  font-size: 13px;
  font-weight: 600;
}
.lrc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 24px);
  margin: 0 12px 8px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.lrc-row:hover, .lrc-row.is-active { background: var(--lrc-wash); }
.lrc-logo, .lrc-logo-fallback {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 40px;
  background: #e2e8f0;
}
.lrc-logo-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #334155;
}
.lrc-row-main { min-width: 0; flex: 1; }
.lrc-row-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lrc-row-meta {
  display: block;
  margin-top: 2px;
  color: var(--lrc-soft);
  font-size: 12px;
}
.lrc-copy {
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  padding: 0 2px;
  font-size: 12px;
}
.lrc-tick { color: var(--lrc-tick); font-size: 18px; }
.lrc-now {
  margin-left: auto;
  background: #dbeafe;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.lrc-row.is-active { outline: 2px solid #2563eb; }
.lrc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 16px 12px;
  padding: 8px 10px;
  border-bottom: 1px solid #e2e8f0;
}
.lrc-search input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 14px;
}
.lrc-panel--apps .lrc-head {
  gap: 8px;
  padding: 10px 12px 8px;
}
.lrc-panel--apps .lrc-head h2 {
  flex: 0 0 auto;
  font-size: 16px;
  white-space: nowrap;
}
.lrc-panel--apps .lrc-search {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
}
.lrc-panel--apps .lrc-search input {
  min-width: 0;
  width: 100%;
  background: transparent;
  color: #0f172a;
}
.lrc-panel--apps .lrc-search input::placeholder {
  color: #94a3b8;
  opacity: 1;
}
.lrc-apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 6px;
  padding: 0 12px 12px;
}
.lrc-help {
  margin: 0;
  padding: 0 14px 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--lrc-soft);
}
.lrc-help a { color: var(--lrc-tick); font-weight: 700; text-decoration: none; }
.lrc-app {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: auto;
  margin: 0;
  min-width: 0;
  position: relative;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: var(--lrc-wash);
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.lrc-app:hover { background: #eef2ff; }
.lrc-app.is-soon {
  cursor: default;
  opacity: 0.72;
}
.lrc-app-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  flex: 0 0 40px;
}
.lrc-app-mark.desk { background: #005596; }
.lrc-app-mark.flow { background: #059669; }
.lrc-app-mark.sittai { background: #7c3aed; }
.lrc-app-mark.admission { background: #1e40af; }
.lrc-app-mark.payroll { background: #0f766e; }
.lrc-app-mark.accounts { background: #4f46e5; }
.lrc-app-mark.soon { background: #94a3b8; }
.lrc-app-name {
  display: block;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.lrc-app-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--lrc-soft);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}
.lrc-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  margin-left: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b91c1c;
}
.lrc-err { padding: 12px 18px 18px; color: #b91c1c; font-size: 13px; }
.lrc-page {
  min-height: 100vh;
  background: #0b1220;
}
.lrc-page .lrc-chrome {
  justify-content: flex-end;
  padding: 12px 20px;
  background: #0b1220;
  border-bottom: 1px solid var(--lrc-line);
}
@media (max-width: 640px) {
  .lrc-org-name { max-width: 110px; }
  .lrc-panel { left: 8px !important; right: 8px !important; width: auto; }
}

/* Universal select dropdown and option contrast styling for dark & light mode */
select {
  color-scheme: light dark;
}
html.dark select,
body.dark select,
.dark select {
  color-scheme: dark;
  background-color: #0e131f;
  color: #f8fafc;
}
select option,
select optgroup {
  background-color: #ffffff !important;
  color: #0f172a !important;
}
html.dark select option,
body.dark select option,
.dark select option,
html.dark select optgroup,
body.dark select optgroup,
.dark select optgroup {
  background-color: #0e131f !important;
  color: #f8fafc !important;
}

