/* Dependency-free application UI: left navigation, central workspace, right intelligence pane. */
:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #69758a;
  --line: #e4e9f1;
  --line-strong: #d7deea;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #eef4ff;
  --sidebar: #0d1729;
  --sidebar-soft: #18253a;
  --sidebar-text: #c8d2e1;
  --cyan: #0891b2;
  --green: #159566;
  --green-soft: #e8f8f1;
  --amber: #c47b12;
  --violet: #7c3aed;
  --p0: #11875d;
  --p1: #b77908;
  --p2: #c05a27;
  --p3: #64748b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .035), 0 8px 28px rgba(26, 41, 66, .045);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 14px/1.5 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
code { background: rgba(255,255,255,.09); color: #cde0ff; padding: 3px 7px; border-radius: 5px; font-size: 11px; }

/* --- application shell ------------------------------------------------- */
.app-shell { display: flex; min-height: 100vh; }
.side-nav {
  position: sticky;
  top: 0;
  width: 238px;
  height: 100vh;
  flex: 0 0 238px;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 18px;
  background: var(--sidebar);
  color: var(--sidebar-text);
  overflow-y: auto;
  z-index: 30;
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: white;
  text-decoration: none;
  margin: 0 8px 31px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(145deg, #3b82f6, #2563eb 58%, #0891b2);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
  font-size: 17px;
  font-weight: 800;
}
.side-brand strong { display: block; font-size: 15px; line-height: 1.15; letter-spacing: .02em; }
.side-brand small { display: block; margin-top: 3px; color: #8fa0b8; font-size: 10.5px; letter-spacing: .015em; }
.nav-label {
  margin: 0 12px 8px;
  color: #607089;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.primary-nav, .target-nav { display: grid; gap: 3px; margin-bottom: 28px; }
.primary-nav a, .target-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 8px;
  color: #9eabc0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 560;
  transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover, .target-nav a:hover { background: rgba(255,255,255,.055); color: white; }
.primary-nav a.active { background: var(--sidebar-soft); color: white; box-shadow: inset 3px 0 #4385ff; }
.nav-icon { display: grid; width: 20px; place-items: center; color: #7f91aa; font-size: 18px; }
.primary-nav a.active .nav-icon { color: #69a0ff; }
.target-nav { gap: 1px; }
.target-nav a { min-height: 34px; font-size: 12.5px; font-weight: 450; }
.target-dot { width: 7px; height: 7px; margin: 0 7px 0 6px; border-radius: 50%; background: #718096; }
.p0-dot { background: #37c993; box-shadow: 0 0 0 3px rgba(55,201,147,.1); }
.people-dot { background: #a78bfa; }
.region-dot { background: #60a5fa; }
.india-dot { background: #f59e0b; }
.side-status {
  margin-top: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
}
.status-line { display: flex; align-items: center; gap: 8px; color: #d7e1ee; font-size: 12px; font-weight: 600; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #31c48d; box-shadow: 0 0 0 3px rgba(49,196,141,.13); }
.side-status small { display: block; color: #75859d; margin: 13px 0 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.workspace { min-width: 0; flex: 1; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.topbar-title { min-width: 170px; color: #344054; }
.topbar-title strong { font-size: 13px; font-weight: 650; }
.mobile-brand { display: none; }
.global-search {
  position: relative;
  width: min(440px, 42vw);
  margin: 0 auto;
}
.global-search span { position: absolute; left: 13px; top: 8px; color: #8b98ab; font-size: 19px; }
.global-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 39px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
}
.global-search input:focus { border-color: #9bbcf8; background: white; box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.actions { min-width: 170px; text-align: right; }
.content-wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 30px; }

/* --- generic ----------------------------------------------------------- */
h1 { margin: 5px 0 5px; color: #111827; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; letter-spacing: -.025em; }
h2 { margin: 0; color: #1b2639; font-size: 17px; line-height: 1.3; letter-spacing: -.012em; }
h3 { margin: 18px 0 8px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.lede { max-width: 760px; margin: 0; color: var(--muted); font-size: 13.5px; }
.page-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 0 22px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #54709d; font-size: 10.5px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.intro-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.panel, .insight-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel { padding: 18px 20px; margin-bottom: 18px; }
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: white;
  color: #344054;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { border-color: #9ebaf0; color: var(--accent); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: white; box-shadow: 0 5px 14px rgba(37,99,235,.18); }
.btn.primary:hover { background: var(--accent-dark); }
.export-btn { min-width: 124px; }

/* --- dashboard metrics ------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 12px; }
.stat {
  min-width: 0;
  padding: 15px 15px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(16,24,40,.025);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.stat:hover { transform: translateY(-1px); border-color: #cdd9ed; box-shadow: var(--shadow); }
.stat.priority-stat { border-color: #d9eee5; background: linear-gradient(145deg, #fff, #f7fdf9); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 12px; }
.stat-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; font-size: 14px; font-weight: 800; }
.stat-icon.blue { color: #2563eb; background: #eaf1ff; }
.stat-icon.violet { color: #7c3aed; background: #f1ebff; }
.stat-icon.cyan { color: #087f9b; background: #e7f7fb; }
.stat-icon.amber { color: #b36b06; background: #fff4df; }
.stat-icon.green { color: #11875d; background: #e5f7ef; }
.trend { overflow: hidden; color: #8a96a8; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.trend.positive { color: var(--green); }
.stat .n { color: #172033; font-size: 24px; font-weight: 720; line-height: 1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stat .k { margin-top: 7px; color: var(--muted); font-size: 10.5px; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }

/* --- dashboard panes --------------------------------------------------- */
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; margin-top: 27px; }
.main-pane { min-width: 0; }
.right-pane { position: sticky; top: 91px; display: grid; gap: 14px; }
.data-section { margin-bottom: 26px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 2px 10px; }
.section-kicker { display: block; margin-bottom: 3px; color: #8994a6; font-size: 9.5px; font-weight: 750; letter-spacing: .105em; text-transform: uppercase; }
.text-link { color: var(--accent); font-size: 12px; font-weight: 650; text-decoration: none; }
.text-link span { margin-left: 3px; }
.data-panel { padding: 0 12px; overflow: hidden; }
.insight-card { padding: 17px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.card-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 15px; }
.metric-list { display: grid; }
.metric-list a, .metric-list > div { display: flex; align-items: center; justify-content: space-between; min-height: 34px; border-top: 1px solid #edf0f5; color: #526077; text-decoration: none; font-size: 12.5px; }
.metric-list a:hover { color: var(--accent); }
.metric-list strong { color: #2a374b; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.evidence-list > div { min-height: 29px; }
.status-pill { padding: 3px 8px; border-radius: 20px; background: var(--green-soft); color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.activity-list { display: grid; gap: 13px; }
.activity-item { display: grid; grid-template-columns: 8px 1fr; gap: 10px; align-items: start; }
.activity-mark { width: 7px; height: 7px; margin-top: 5px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px #fff5dc; }
.activity-mark.ok { background: #23a672; box-shadow: 0 0 0 3px #e7f8f0; }
.activity-mark.error { background: #dc554f; box-shadow: 0 0 0 3px #feeeee; }
.activity-item strong { display: block; color: #344054; font-size: 11.5px; font-weight: 650; text-transform: capitalize; }
.activity-item small { display: block; margin-top: 1px; color: #8994a6; font-size: 10.5px; }
.card-link { display: block; margin: 15px -17px -17px; padding: 12px 17px; border-top: 1px solid var(--line); }
.empty-state { margin-top: 20px; text-align: center; }

/* --- tables ------------------------------------------------------------ */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th, td { padding: 11px 10px; border-bottom: 1px solid #edf0f5; text-align: left; vertical-align: middle; }
th { height: 42px; color: #8994a6; font-size: 9.5px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; white-space: nowrap; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: #f7faff; }
tbody tr:last-child td { border-bottom: 0; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.name-cell { min-width: 185px; }
.name-cell a { color: #284d81; font-weight: 680; text-decoration: none; }
.name-cell a:hover { color: var(--accent); }
.name-cell .sub { max-width: 270px; margin-top: 2px; overflow: hidden; color: #8792a3; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.region-cell { max-width: 100px; color: #657287; }
.score-number { display: inline-grid; place-items: center; min-width: 31px; height: 25px; border-radius: 7px; background: #eff5ff; color: #2459b6; font-weight: 750; }
.why-cell { min-width: 250px; }

/* --- badges, score components, filters, evidence ---------------------- */
.tier { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 2px 7px; border: 1px solid currentColor; border-radius: 20px; font-size: 10px; font-weight: 780; white-space: nowrap; }
.tier.P0 { color: var(--p0); background: #f0faf6; }
.tier.P1 { color: var(--p1); background: #fffbeb; }
.tier.P2 { color: var(--p2); background: #fff6f0; }
.tier.P3 { color: var(--p3); background: #f8fafc; }
.chip { display: inline-block; margin: 0 3px 3px 0; padding: 2px 7px; border-radius: 20px; background: var(--accent-soft); color: #466898; font-size: 10px; white-space: nowrap; }
.chip.grey { border: 1px solid var(--line); background: #f8fafc; color: var(--muted); }
.chip.warn { background: #fff0e5; color: #a34f20; }
.bar { height: 6px; min-width: 70px; overflow: hidden; border-radius: 4px; background: var(--line); }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.components { display: grid; grid-template-columns: 190px 1fr 46px; gap: 6px 12px; align-items: center; }
.components .label { color: var(--muted); font-size: 12px; }
.components .val { text-align: right; font-size: 12px; font-variant-numeric: tabular-nums; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.filters label { display: block; margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.filters select, .filters input[type=text] { min-width: 150px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: white; color: var(--ink); font: inherit; }
.filters .check { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; font-size: 13px; }
.smart-filters {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr)) auto auto;
  gap: 11px;
  align-items: end;
  margin-top: 18px;
}
.smart-filters .search-filter { grid-column: 1 / 8; }
.smart-filters > div { min-width: 0; }
.smart-filters select, .smart-filters input[type=text] { width: 100%; min-width: 0; }
.filter-hint { float: right; color: var(--accent); font-size: 9px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.ai-brief {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  overflow: hidden;
  border-color: #cfddf8;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 62%, #f4fbff 100%);
}
.ai-brief::after { content: ""; position: absolute; right: -35px; top: -45px; width: 150px; height: 150px; border-radius: 50%; background: rgba(37,99,235,.035); pointer-events: none; }
.ai-orb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(145deg, #2563eb, #7c3aed); color: white; box-shadow: 0 8px 18px rgba(69,74,214,.2); font-size: 17px; }
.ai-brief-content { min-width: 0; }
.ai-brief-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ai-mode { flex: 0 0 auto; padding: 3px 8px; border: 1px solid #d7e3fb; border-radius: 20px; background: white; color: #506f9f; font-size: 9px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
.ai-brief-content > p { margin: 8px 0 12px; color: #58677d; font-size: 12.5px; }
.ai-brief-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.ai-brief-grid strong { color: #3c4a60; font-size: 10px; letter-spacing: .055em; text-transform: uppercase; }
.ai-brief-grid ul { margin: 6px 0 0; padding-left: 17px; color: #627087; font-size: 11.5px; }
.ai-brief-grid li { margin: 3px 0; }
.ai-refresh { position: relative; z-index: 1; align-self: center; white-space: nowrap; }
.ai-refresh:disabled { cursor: wait; opacity: .65; }
.signal { margin-bottom: 10px; padding: 8px 0 8px 12px; border-left: 3px solid var(--line); }
.signal.strong { border-left-color: var(--p0); }
.signal.weak { opacity: .75; }
.signal .head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.signal .snippet { margin-top: 4px; color: var(--muted); font-size: 12px; }
.spark { display: flex; align-items: flex-end; height: 44px; gap: 3px; }
.spark i { display: block; width: 14px; min-height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.spark span { display: block; color: var(--muted); font-size: 10px; text-align: center; }
.cols { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
.pager { display: flex; align-items: center; gap: 10px; margin: 16px 0 30px; }
.footer { padding-top: 8px; padding-bottom: 30px; color: #8b96a7; font-size: 10.5px; }

@media (max-width: 1380px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .why-cell { min-width: 220px; }
  .smart-filters { grid-template-columns: repeat(3, minmax(150px, 1fr)) auto auto; }
  .smart-filters .search-filter { grid-column: 1 / 4; }
}

@media (max-width: 1080px) {
  .side-nav { width: 208px; flex-basis: 208px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .right-pane { position: static; grid-template-columns: repeat(3, 1fr); }
  .activity-card { min-width: 0; }
  .global-search { width: min(360px, 36vw); }
  .smart-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .smart-filters .search-filter { grid-column: 1 / -1; }
  .smart-filters .btn { width: 100%; }
}

@media (max-width: 820px) {
  .app-shell { display: block; }
  .side-nav { position: static; width: 100%; height: auto; padding: 12px 16px; overflow: visible; }
  .side-brand { margin: 0 0 10px; }
  .side-brand small, .nav-label, .target-nav, .side-status { display: none; }
  .primary-nav { display: flex; gap: 4px; margin: 0; overflow-x: auto; }
  .primary-nav a { min-height: 34px; padding: 6px 10px; white-space: nowrap; }
  .primary-nav a.active { box-shadow: none; }
  .nav-icon { width: 16px; font-size: 15px; }
  .topbar { top: 0; height: 58px; padding: 0 16px; }
  .topbar-title { min-width: 0; }
  .topbar-title strong { display: none; }
  .mobile-brand { display: inline; font-weight: 800; }
  .global-search { width: 100%; }
  .actions { min-width: auto; }
  .export-btn { min-width: auto; }
  .content-wrap { padding: 0 16px; }
  .page-intro { align-items: flex-start; flex-direction: column; }
  .right-pane { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .ai-brief { grid-template-columns: 42px 1fr; }
  .ai-refresh { grid-column: 2; justify-self: start; }
}

@media (max-width: 600px) {
  .side-brand { display: none; }
  .primary-nav a { font-size: 12px; }
  .global-search { display: none; }
  .topbar { justify-content: space-between; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-actions { width: 100%; }
  .intro-actions .btn { flex: 1; }
  .page-intro { padding-top: 22px; }
  .why-cell { min-width: 210px; }
  .smart-filters { grid-template-columns: 1fr 1fr; }
  .smart-filters .search-filter { grid-column: 1 / -1; }
  .ai-brief { grid-template-columns: 1fr; }
  .ai-orb { display: none; }
  .ai-refresh { grid-column: 1; }
  .ai-brief-grid { grid-template-columns: 1fr; gap: 10px; }
}

@media print {
  .side-nav, .topbar, .filters, .pager, .actions, .intro-actions { display: none; }
  body { background: white; }
  .content-wrap { max-width: none; padding: 0; }
  .panel, .insight-card { box-shadow: none; }
  .right-pane { position: static; }
}

/* --- Email searcher + login (added) --------------------------------------- */
.logout-link{display:inline-block;margin-top:.5rem;color:#dc2626;font-size:.8rem;text-decoration:none}
.logout-link:hover{text-decoration:underline}

.search-status{margin-top:1rem}
.status-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.status-metrics{display:flex;gap:1.25rem;flex-wrap:wrap}
.status-metrics .metric{font-size:.85rem;color:#475569}
.status-metrics .metric b{color:#0f172a;font-size:1rem}
.progress-track{margin:.85rem 0 .4rem;height:12px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.progress-bar{height:100%;border-radius:999px;background:linear-gradient(90deg,#22c55e,#16a34a);transition:width .5s ease}
.busy-banner{margin-top:1rem;background:#fef2f2;border:1px solid #fecaca;color:#991b1b}
.results-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}

.login-body{
  min-height:100vh;margin:0;display:flex;align-items:center;justify-content:center;padding:1.5rem;
  background:
    radial-gradient(900px 520px at 12% -12%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(760px 520px at 105% 112%, rgba(8,145,178,.24), transparent 55%),
    #0b1424;
}
.login-shell{
  display:flex;width:100%;max-width:900px;min-height:530px;
  background:var(--panel);border-radius:22px;overflow:hidden;
  box-shadow:0 44px 130px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.05);
}
/* left brand panel — mirrors the in-app sidebar */
.login-aside{
  position:relative;flex:0 0 45%;padding:2.7rem 2.5rem;color:#e7eefb;
  background:linear-gradient(165deg,#1b2c49 0%,#0d1729 72%);
  display:flex;flex-direction:column;overflow:hidden;
}
.login-aside::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(520px 340px at 82% 0%, rgba(59,130,246,.30), transparent 60%);
}
.login-aside::after{
  content:"";position:absolute;right:-70px;bottom:-70px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle, rgba(8,145,178,.35), transparent 70%);pointer-events:none;
}
.login-logo{display:flex;align-items:center;gap:.75rem;position:relative;z-index:1}
.login-mark{
  display:grid;place-items:center;width:48px;height:48px;border-radius:14px;
  color:#fff;font-weight:800;font-size:22px;letter-spacing:.02em;
  background:linear-gradient(145deg,#3b82f6,#2563eb 58%,#0891b2);
  box-shadow:0 12px 28px rgba(37,99,235,.45);
}
.login-word strong{display:block;font-size:19px;letter-spacing:.03em;line-height:1}
.login-word small{display:block;margin-top:4px;color:#93a7c7;font-size:11px;letter-spacing:.02em}
.login-tag{position:relative;z-index:1;margin:2.3rem 0 1.7rem;font-size:1.4rem;line-height:1.35;font-weight:650;color:#f3f7ff}
.login-points{position:relative;z-index:1;list-style:none;padding:0;margin:0;display:grid;gap:.9rem}
.login-points li{display:flex;align-items:center;gap:.75rem;color:#c6d4ec;font-size:.92rem}
.login-points li span{
  display:grid;place-items:center;width:32px;height:32px;border-radius:9px;flex:0 0 32px;
  background:rgba(255,255,255,.08);color:#8fb4ff;font-size:15px;
}
.login-aside-foot{position:relative;z-index:1;margin-top:auto;padding-top:1.7rem;color:#849ac0;font-size:.78rem;letter-spacing:.02em}
/* right form panel */
.login-main{flex:1;display:flex;align-items:center;justify-content:center;padding:2.7rem 2.2rem;background:var(--panel)}
.login-main-inner{width:100%;max-width:330px}
.login-main h1{margin:0 0 .35rem;font-size:1.7rem;color:var(--ink)}
.login-form{display:flex;flex-direction:column;gap:.3rem;margin-top:1.4rem}
.login-form label{font-size:.8rem;font-weight:600;color:#475569;margin-top:.7rem}
.login-form input{
  padding:.74rem .85rem;border:1px solid var(--line-strong);border-radius:10px;font-size:.95rem;
  background:#f8fafc;transition:border-color .15s, box-shadow .15s, background .15s;
}
.login-form input:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 3px rgba(37,99,235,.15)}
.btn-login{
  margin-top:1.55rem;padding:.82rem;border:0;border-radius:10px;cursor:pointer;
  color:#fff;font-size:.98rem;font-weight:700;letter-spacing:.01em;
  background:linear-gradient(135deg,#3b82f6,#2563eb 60%,#1d4ed8);
  box-shadow:0 10px 24px rgba(37,99,235,.35);transition:box-shadow .2s, filter .2s, transform .1s;
}
.btn-login:hover{filter:brightness(1.06);box-shadow:0 12px 32px rgba(37,99,235,.48)}
.btn-login:active{transform:translateY(1px)}
.login-foot{margin-top:1.4rem;color:#94a3b8;font-size:.78rem;text-align:center}
.login-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;padding:.65rem .85rem;border-radius:9px;font-size:.85rem;margin-top:1rem}
@media (max-width:720px){
  .login-shell{flex-direction:column;max-width:420px;min-height:0}
  .login-aside{flex:none;padding:2rem}
  .login-tag{margin:1.4rem 0 1.1rem;font-size:1.15rem}
  .login-points,.login-aside-foot{display:none}
}
