@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  src: url("../fonts/inter-variable.woff2") format("woff2-variations");
}

:root {
  --pl-blue: #0b4ca0;
  --pl-blue-deep: #062c5e;
  --pl-blue-hover: #083b7e;
  --pl-orange: #f25c3b;
  --pl-orange-hover: #e04b2a;
  --pl-aqua: #10b981;
  --pl-peach: #ffedd5;
  --pl-peach-soft: #fff8f6;
  --pl-canvas: #f8fafc;
  --pl-surface: #ffffff;
  --pl-text: #0f172a;
  --pl-heading: #0f172a;
  --pl-muted: #64748b;
  --pl-border: #e2e8f0;
  --pl-success: #10b981;
  --pl-radius: 16px;
  --layout-sidebar-width: 250px;
  --layout-sidebar-width-md: 250px;
  --layout-topbar-height: 60px;
  --layout-main-padding-y: 32px;
  --layout-main-padding-x: 32px;
  --font-page-title: 1.75rem;
  --font-page-summary: 0.875rem;
  --metric-card-min-height: 129px;
  --metric-card-padding: 17px 18px;
  --metric-number-size: 1.75rem;
  --app-bg: var(--pl-canvas);
  --app-surface: var(--pl-surface);
  --app-surface-soft: #f1f5f9;
  --app-border: var(--pl-border);
  --app-border-strong: #cbd5e1;
  --app-text: var(--pl-text);
  --app-muted: var(--pl-muted);
  --app-sidebar: var(--pl-blue);
  --app-primary: var(--pl-orange);
  --app-primary-hover: var(--pl-orange-hover);
  --app-primary-soft: #ffedd5;
  --app-focus: rgba(11, 76, 160, 0.2);
  --app-radius: var(--pl-radius);
  --app-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
}

html { font-size: 15px; }

body,
button,
input,
select,
textarea {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", sans-serif;
  letter-spacing: 0;
}

body { background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%); color: var(--pl-text); }

.app-sidebar {
  background: var(--pl-blue);
  border-right: 1px solid var(--pl-blue-deep);
  color: #d7e6fb;
  flex-basis: var(--layout-sidebar-width);
  overflow-x: hidden;
  padding: 20px 14px 14px;
  scrollbar-color: rgba(215, 230, 251, 0.48) transparent;
  scrollbar-width: thin;
}

.app-sidebar::-webkit-scrollbar { height: 0; width: 7px; }
.app-sidebar::-webkit-scrollbar-track { background: transparent; }
.app-sidebar::-webkit-scrollbar-thumb {
  background: rgba(215, 230, 251, 0.42);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}
.app-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.64); }
.app-sidebar::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.app-sidebar-brand {
  border-color: rgba(255, 255, 255, 0.16);
  margin: 0 0 20px;
  padding: 0 9px 20px;
}

.app-brand { gap: 10px; }

.app-brand-mark,
.app-mobile-brand .app-brand-mark {
  background: var(--pl-orange);
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(6, 45, 101, 0.25);
  flex-basis: 36px;
  font-size: 0.9rem;
  height: 36px;
  width: 36px;
}

.app-brand-mark::before,
.app-brand-mark::after { display: none; }
.app-brand-copy strong { font-size: 1.1rem; font-weight: 700; }
.app-brand-copy small { color: #bfdbfe; font-size: 0.56rem; letter-spacing: 0.08em; margin-top: 0.25rem; }

.app-sidebar-section { padding: 0 9px 9px; }
.app-role-card {
  background: rgba(6, 44, 94, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  min-height: 58px;
  padding: 10px 12px;
}
.app-role-card .role-signal { display: none; }
.app-role-card small { color: #a9c8ef; font-size: 0.58rem; letter-spacing: 0.12em; }
.app-role-card strong { color: #fff; font-size: 0.8rem; }
.app-role-card code { background: rgba(6, 44, 94, 0.48); border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 8px; color: #dbeafe; font-size: 0.65rem; padding: 5px 9px; }

.app-nav { gap: 4px; padding: 0; }
.app-nav .nav-link,
.app-signout-link {
  border-radius: 12px;
  color: #d3e3f7;
  font-size: 0.86rem;
  min-height: 44px;
  padding: 0 12px;
}
.app-nav .nav-link strong,
.app-signout-link strong { font-size: inherit; font-weight: 500; }
.app-nav .nav-link .nav-icon,
.app-signout-link .nav-icon { color: #b8d2f3; height: 16px; width: 16px; }
.app-nav .nav-link:hover,
.app-nav .nav-link:focus,
.app-signout-link:hover { background: var(--pl-blue-hover); color: #fff; }
.app-nav .nav-link[aria-current="page"] {
  background: var(--pl-orange);
  box-shadow: 0 6px 14px rgba(6, 44, 94, 0.2);
  color: #fff;
}
.app-nav .nav-link[aria-current="page"] .nav-icon { color: #fff; }

.app-sidebar-footer { border-color: rgba(255, 255, 255, 0.16); padding-top: 10px; }
.app-user-card { padding: 12px 7px 2px; }
.app-avatar { background: var(--pl-orange); color: #fff; }
.app-user-card strong { color: #fff; font-size: 0.8rem; }
.app-user-card small { color: #a9c8ef; font-size: 0.68rem; }

.app-topbar {
  background: #fff;
  border-color: var(--pl-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  min-height: var(--layout-topbar-height);
  padding: 0 var(--layout-main-padding-x);
}
.app-crumb {
  align-items: center;
  color: #6e7c91;
  display: flex;
  font-size: 0.8rem;
  line-height: 1;
}
.app-crumb b { color: #aeb7c5; font-size: 0.8rem; font-weight: 400; padding: 0 0.72rem; }
.app-crumb span:first-child { font-weight: 400; }
.app-crumb span:last-child { color: var(--pl-text); font-weight: 600; }
.app-user-block {
  border-left: 1px solid var(--pl-border);
  gap: 6px;
  padding-left: 14px;
}
.app-mobile-menu {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--pl-blue);
  display: none;
  font-size: 1.25rem;
  height: 40px;
  justify-content: center;
  padding: 0;
  width: 40px;
}
.topbar-utility {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 50%;
  color: #6c7789;
  display: inline-flex;
  font-size: 0.73rem;
  font-weight: 500;
  height: 32px;
  justify-content: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  width: 32px;
}
.topbar-utility:hover,
.topbar-utility:focus-visible {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--pl-blue);
}
.topbar-utility svg { height: 15px; width: 15px; }
.topbar-notification { position: relative; }
.topbar-notification::after {
  background: var(--pl-orange);
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  height: 8px;
  position: absolute;
  right: 3px;
  top: 2px;
  width: 8px;
}
.topbar-avatar {
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e2e8f0, 0 3px 8px rgba(15, 23, 42, 0.1);
  font-size: 0.7rem;
  height: 36px;
  margin-left: 3px;
  text-decoration: none;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  width: 36px;
}
.topbar-avatar:hover {
  background: var(--pl-orange-hover);
  box-shadow: 0 0 0 2px #ffedd5, 0 4px 10px rgba(15, 23, 42, 0.14);
  color: #fff;
}

.app-main {
  color: var(--pl-text);
  max-width: 1400px;
  padding: var(--layout-main-padding-y) var(--layout-main-padding-x) 40px;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.app-main::-webkit-scrollbar { height: 8px; width: 8px; }
.app-main::-webkit-scrollbar-track { background: transparent; }
.app-main::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}
.app-main::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.app-main::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.table-responsive {
  scrollbar-color: #cbd5e1 #f8fafc;
  scrollbar-width: thin;
}
.table-responsive::-webkit-scrollbar { height: 8px; width: 8px; }
.table-responsive::-webkit-scrollbar-track { background: #f8fafc; }
.table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}
.table-responsive::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.table-responsive::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.section-kicker { color: var(--pl-orange); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; }
.page-heading { align-items: flex-end; margin-bottom: 24px; }
.page-heading h1,
.login-copy h1,
.state-panel h1 {
  color: var(--pl-blue);
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
}
.page-summary { color: var(--pl-muted); font-size: 0.88rem; line-height: 1.45; }

.wireframe-greeting { margin-bottom: 27px; }
.dashboard-control-header {
  align-items: flex-end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.dashboard-control-header h2 {
  color: var(--pl-blue);
  font-size: clamp(1.65rem, 1.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 7px;
}
.dashboard-control-header p,
.panel-heading p { color: var(--pl-muted); font-size: 0.82rem; margin: 0; }
.dashboard-control-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.dashboard-metric-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.team-dashboard-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.metric-state-attention { color: #9c3418; }
.dashboard-overview-panel { margin-top: 14px; }
.panel-link {
  color: var(--pl-orange);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.panel-link:hover { color: var(--pl-orange-hover); }
.dashboard-row-link { color: var(--pl-orange); font-size: 0.74rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.dashboard-person { align-items: center; display: inline-flex; gap: 10px; white-space: nowrap; }
.dashboard-person-avatar {
  align-items: center;
  background: var(--pl-peach);
  border-radius: 50%;
  color: var(--pl-orange);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.58rem;
  font-weight: 700;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.dashboard-person strong { font-size: 0.76rem; }
.dashboard-otr-value { color: #087c56; font-size: 0.76rem; white-space: nowrap; }

.btn {
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
}
.btn-sm { font-size: 0.76rem; min-height: 36px; }
.btn-primary {
  --bs-btn-bg: var(--pl-orange);
  --bs-btn-border-color: var(--pl-orange);
  --bs-btn-hover-bg: var(--pl-orange-hover);
  --bs-btn-hover-border-color: var(--pl-orange-hover);
  box-shadow: 0 5px 12px rgba(242, 92, 59, 0.2);
}
.btn-outline-secondary {
  --bs-btn-bg: #fff;
  --bs-btn-color: var(--pl-blue);
  --bs-btn-border-color: var(--pl-blue);
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-color: var(--pl-blue);
  --bs-btn-hover-border-color: var(--pl-blue);
  box-shadow: none;
}
.btn-icon { flex-basis: 15px; height: 15px; width: 15px; }

.status-strip:not(.visually-hidden) {
  background: var(--pl-blue);
  border: 0;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 20px 25px -5px rgba(11, 76, 160, 0.25), 0 8px 10px -6px rgba(11, 76, 160, 0.2);
  color: #fff;
  font-size: 0.8rem;
  margin: 0;
  max-width: min(380px, calc(100vw - 48px));
  min-height: 42px;
  padding: 10px 14px;
  position: fixed;
  right: 24px;
  width: max-content;
  z-index: 100;
}
.status-strip:not(.visually-hidden)::before {
  background: #38bdf8;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 10px;
  vertical-align: 1px;
  width: 8px;
}
.status-strip:not(.visually-hidden).is-error::before { background: #fecaca; }
.status-strip:not(.visually-hidden).is-error { background: #9f2f1c; color: #fff; }
.quick-actions { gap: 9px; margin-bottom: 20px; }
.action-strip .btn-primary,
.action-strip .btn-outline-secondary { min-width: 0; }

.metric-grid { gap: 12px; margin-bottom: 16px; }
.metric-card {
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--app-shadow);
  min-height: 129px;
  padding: 17px 18px;
}
.metric-card::before { display: none; }
.metric-card:hover { box-shadow: 0 3px 8px rgba(69, 60, 60, 0.08); transform: none; }
.metric-card strong {
  color: var(--pl-text);
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 0.7rem;
}
.metric-label { color: #69778d; font-size: 0.78rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.metric-icon { display: none; }
.metric-state { background: transparent; bottom: 15px; color: #147d69; font-size: 0.67rem; left: 18px; padding: 0; right: auto; }

.telecaller-lead-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.telecaller-lead-metrics .metric-card {
  min-height: 106px;
}

.data-panel,
.entity-form,
.lead-progress-strip,
.public-auth-copy,
.public-auth-card,
.support-state-card {
  border-color: var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--app-shadow);
}
.data-panel:hover { box-shadow: var(--app-shadow); transform: none; }
.panel-heading { background: #fff; border-color: var(--pl-border); padding: 24px 30px 20px; }
.panel-heading h2 { color: var(--pl-text); font-size: 1.125rem; font-weight: 600; letter-spacing: 0; }

.wireframe-management-panel {
  border-top: 1px solid var(--pl-border);
  overflow: hidden;
}
.wireframe-management-panel .panel-heading {
  align-items: flex-start;
  padding-bottom: 14px;
}
.wireframe-management-panel .panel-heading h2 { margin: 0 0 5px; }
.wireframe-management-panel .panel-heading .btn { white-space: nowrap; }
.wireframe-management-panel .panel-heading p {
  color: var(--pl-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
}

.my-lead-detail-state {
  display: grid;
  gap: 14px;
}

.lead-file-progress {
  background: #fff;
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--app-shadow);
  display: grid;
  gap: 15px 24px;
  grid-template-columns: minmax(220px, 1fr) auto;
  padding: 20px;
  position: relative;
}

.lead-file-progress-heading h2 {
  color: var(--pl-heading);
  font-size: 1.25rem;
  margin: 3px 0 5px;
}

.lead-file-progress-heading p {
  color: var(--pl-muted);
  font-size: 0.78rem;
  margin: 0;
}

.lead-file-progress-stats {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.lead-file-progress .progress-pill {
  min-height: 36px;
}

.lead-file-progress-track {
  background: #f1e7e4;
  border-radius: 999px;
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
}

.lead-file-progress-track span {
  background: var(--pl-success);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.lead-file-completed {
  color: #147d69;
  font-size: 0.75rem;
  justify-self: end;
}

.my-lead-detail-state > .detail-panel {
  margin-top: 0;
}
.management-tools {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--pl-border);
  display: flex;
  gap: 8px;
  padding: 16px 30px;
}
.management-search { flex: 0 1 560px; }
.management-search .panel-search { max-width: none; width: 100%; }
.management-filter-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}
.management-tools .panel-select {
  max-width: 220px;
  width: 220px;
}
.management-filter-actions .btn {
  min-width: 140px;
  white-space: nowrap;
}
.management-tools .form-control,
.management-tools .form-select,
.management-tools .btn {
  min-height: 40px;
}
.management-tools .form-control,
.management-tools .form-select { font-size: 0.875rem; }
.management-tools .btn { font-size: 0.8rem; }

.person-cell {
  align-items: center;
  display: flex;
  gap: 9px;
  min-width: 150px;
}
.person-avatar {
  align-items: center;
  background: var(--pl-peach);
  border-radius: 50%;
  color: var(--pl-orange);
  display: inline-flex;
  flex: 0 0 29px;
  font-size: 0.58rem;
  font-weight: 700;
  height: 29px;
  justify-content: center;
  width: 29px;
}
.person-copy { min-width: 0; }
.person-copy strong,
.person-copy span { display: block; }
.person-copy strong { color: var(--pl-text); font-size: 0.76rem; }
.person-copy span {
  color: var(--pl-muted);
  font-size: 0.66rem;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.management-empty-state-cell { padding: 0 !important; }
.management-empty-state {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  left: 0;
  padding: 36px 20px 40px;
  position: sticky;
  text-align: center;
  width: min(100%, calc(100vw - 34px));
}
.management-empty-state strong {
  color: var(--pl-text);
  font-size: 0.9rem;
}
.management-empty-state span {
  color: var(--pl-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 6px 0 15px;
  max-width: 380px;
}

.management-entity-state {
  max-width: 820px;
}
.entity-back-link {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--pl-orange);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 7px;
  margin: 0 0 18px;
  min-height: 32px;
  padding: 0;
}
.entity-back-link:hover { color: var(--pl-orange-hover); }
.entity-state-heading { margin-bottom: 18px; }
.entity-state-heading h2 {
  color: var(--pl-blue);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 6px 0;
}
.entity-state-heading p {
  color: var(--pl-muted);
  font-size: 0.82rem;
  margin: 0;
}
.wireframe-entity-form-panel { border-top: 1px solid var(--pl-border); }
.entity-form-heading {
  align-items: center;
  display: grid;
  gap: 13px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
}
.entity-form-icon {
  align-items: center;
  background: var(--pl-peach);
  border-radius: 8px;
  color: var(--pl-orange);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.entity-form-icon svg { height: 19px; width: 19px; }
.entity-form-heading h3 {
  color: var(--pl-text);
  font-size: 1rem;
  font-weight: 700;
  margin: 3px 0 4px;
}
.entity-form-heading p {
  color: var(--pl-muted);
  font-size: 0.72rem;
  margin: 0;
}
.generated-id {
  background: #fff4f1;
  border: 1px solid var(--pl-border);
  border-radius: 7px;
  padding: 8px 10px;
  text-align: right;
}
.generated-id small,
.generated-id strong { display: block; }
.generated-id small {
  color: var(--pl-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.generated-id strong {
  color: var(--pl-blue);
  font-size: 0.7rem;
  margin-top: 3px;
}
.wireframe-entity-form-panel .entity-form { padding: 20px; }
.wireframe-entity-form-panel .form-guidance {
  background: #fff8f6;
  border-color: var(--pl-border);
  color: var(--pl-muted);
  font-size: 0.76rem;
}
.wireframe-entity-form-panel .form-actions { justify-content: flex-end; }

.lead-detail-state { max-width: none; }
.lead-detail-layout {
  display: grid;
  gap: 14px;
}
.lead-entry-panel { order: 2; }
.lead-reassign-panel { order: 1; }
.lead-history-panel { margin-top: 14px; }
.lead-detail-state .detail-panel { border-top: 1px solid var(--pl-border); }
.lead-reassign-panel .panel-heading { padding-bottom: 13px; }
.lead-reassign-panel .entity-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(260px, 1fr) auto;
  padding: 16px 19px 18px;
}

.lead-import-panel { max-width: 760px; }
.lead-import-panel { padding: 30px; }
.lead-import-heading {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.lead-import-heading-copy { min-width: 0; }
.lead-import-heading .btn {
  flex: 0 0 auto;
  margin-top: 2px;
}
.lead-import-heading h2 {
  color: var(--pl-blue);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 13px 0 10px;
}
.lead-import-heading p { color: var(--pl-muted); font-size: 0.82rem; margin: 0; }
.lead-import-form { margin-top: 25px; }
.lead-upload-zone {
  align-items: center;
  background: #fbfcff;
  border: 1px dashed #9ab8ff;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 205px;
  padding: 28px;
  text-align: center;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.lead-upload-zone:hover,
.lead-upload-zone.is-dragging { background: #f4f7ff; border-color: var(--pl-blue); }
.lead-upload-zone:focus-within { box-shadow: 0 0 0 3px rgba(12, 70, 150, 0.16); }
.lead-upload-icon {
  align-items: center;
  background: #eeeaff;
  border-radius: 10px;
  color: #7067e8;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  margin-bottom: 13px;
  width: 40px;
}
.lead-upload-icon svg { height: 17px; width: 17px; }
.lead-upload-zone strong { color: #17233d; font-size: 0.8rem; }
.lead-upload-zone > span:not(.lead-upload-icon) { color: #65718c; font-size: 0.72rem; margin-top: 6px; }
.lead-upload-zone small { color: #8c94a8; font-size: 0.65rem; margin-top: 17px; }
.lead-selected-file {
  align-items: center;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-top: 12px;
  min-height: 56px;
  padding: 10px 13px;
}
.lead-selected-file[hidden] { display: none; }
.lead-selected-file-icon { color: #7067e8; display: inline-flex; }
.lead-selected-file-icon svg { height: 15px; width: 15px; }
.lead-selected-file strong,
.lead-selected-file small { display: block; }
.lead-selected-file strong { color: #17233d; font-size: 0.7rem; overflow-wrap: anywhere; }
.lead-selected-file small { color: #8c94a8; font-size: 0.62rem; margin-top: 3px; }
.lead-selected-file button {
  background: none;
  border: 0;
  color: #c33e35;
  font-size: 0.62rem;
  font-weight: 500;
  min-height: 44px;
  padding: 0 2px;
}
.lead-import-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.lead-import-stepper li {
  align-items: center;
  color: #7e879c;
  display: flex;
  font-size: 0.65rem;
  gap: 7px;
  min-width: 0;
  position: relative;
}
.lead-import-stepper li:not(:last-child)::after {
  background: #dfe3ec;
  content: "";
  height: 1px;
  margin: 0 10px 0 2px;
  min-width: 12px;
  order: 3;
  width: 100%;
}
.lead-import-stepper li span {
  align-items: center;
  background: #eeeaff;
  border-radius: 50%;
  color: #7067e8;
  display: inline-flex;
  flex: none;
  font-size: 0.62rem;
  height: 20px;
  justify-content: center;
  position: relative;
  width: 20px;
  z-index: 1;
}
.lead-import-stepper li strong { font-weight: 400; white-space: nowrap; }
.lead-import-stepper li.is-active span {
  background: #fff0ec;
  color: var(--pl-orange);
  outline: 2px solid rgba(242, 92, 59, 0.18);
}
.lead-import-stepper li.is-active strong { color: var(--pl-orange); font-weight: 700; }
.lead-import-stepper li.is-complete { color: var(--pl-blue); }
.lead-import-stepper li.is-complete span {
  background: var(--pl-blue);
  color: #fff;
  font-size: 0;
}
.lead-import-stepper li.is-complete span::before {
  content: "\2713";
  font-size: 0.68rem;
  font-weight: 700;
}
.lead-import-stepper li.is-complete strong { color: var(--pl-blue); font-weight: 600; }
.lead-import-stepper li.is-complete::after { background: var(--pl-blue); }
.lead-import-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
.lead-import-actions .btn { min-width: 154px; }
.lead-import-review {
  border-top: 1px solid var(--pl-border);
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-top: 22px;
}
.lead-import-review[hidden] { display: none; }
.lead-import-review-heading { align-items: center; display: flex; justify-content: space-between; }
.lead-import-review-heading h3 { color: var(--pl-blue); font-size: 1rem; margin: 4px 0 0; }
.lead-import-assignment { max-width: 420px; }
.lead-reassign-panel .form-guidance,
.lead-reassign-panel .app-alert { grid-column: 1 / -1; }
.lead-reassign-panel .form-guidance {
  background: #fff8f6;
  border-color: var(--pl-border);
  color: var(--pl-muted);
  font-size: 0.76rem;
  font-weight: 400;
}
.lead-reassign-panel .form-grid { display: block; }
.lead-reassign-panel .form-actions { margin: 0; }
.lead-reassign-panel .form-actions .btn { white-space: nowrap; }

.otr-admin-summary {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}
.otr-summary-card {
  background: #fff;
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--app-shadow);
  min-height: 123px;
  padding: 18px 20px;
}
.otr-summary-card span,
.otr-summary-card strong,
.otr-summary-card small { display: block; }
.otr-summary-card span {
  color: #69778d;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.otr-summary-card strong {
  color: var(--pl-text);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 10px 0 13px;
}
.otr-summary-card small { color: var(--pl-muted); font-size: 0.64rem; }
.otr-summary-primary { background: var(--pl-blue); border-color: var(--pl-blue); }
.otr-summary-primary span,
.otr-summary-primary strong { color: #fff; }
.otr-summary-primary small { color: #cfe0f7; }
.otr-summary-date { font-size: 1.05rem !important; }
.admin-otr-history-panel { margin-top: 14px; }
.otr-page-toolbar { margin: -8px 0 16px; }
.telecaller-otr-layout {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
}
.telecaller-otr-form-panel,
.telecaller-otr-history-panel { overflow: hidden; }
.telecaller-otr-form-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--pl-border);
  display: flex;
  gap: 13px;
  margin: 0 24px;
  padding: 22px 0 18px;
}
.telecaller-otr-form-heading h2 {
  color: var(--pl-heading);
  font-size: 1.08rem;
  margin: 4px 0 6px;
}
.telecaller-otr-form-heading p {
  color: var(--pl-muted);
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0;
}
.telecaller-otr-form-icon {
  align-items: center;
  background: var(--pl-blue);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
}
.telecaller-otr-form-icon svg { height: 19px; width: 19px; }
.telecaller-otr-form {
  gap: 14px;
  padding: 18px 24px 14px;
}
.telecaller-otr-form .form-field { gap: 6px; }
.telecaller-otr-form label,
.otr-objective-field legend {
  color: var(--pl-heading);
  font-size: 0.75rem;
  font-weight: 700;
}
.otr-amount-control { position: relative; }
.otr-amount-control > span {
  color: var(--pl-muted);
  left: 13px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.otr-amount-control .form-control { padding-left: 32px; }
.otr-objective-field {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}
.otr-objective-field legend {
  float: none;
  margin-bottom: 7px;
  width: auto;
}
.otr-objective-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.otr-objective-options button {
  align-items: center;
  background: #fff;
  border: 1px solid #d8e0eb;
  border-radius: 8px;
  color: var(--pl-text);
  display: grid;
  gap: 9px;
  grid-template-columns: 30px minmax(0, 1fr) 12px;
  min-width: 0;
  min-height: 61px;
  padding: 9px 10px;
  text-align: left;
}
.otr-objective-options button > span:nth-child(2) { min-width: 0; }
.otr-objective-options button[aria-pressed="true"] {
  background: #fff5f2;
  border-color: var(--pl-orange);
  box-shadow: 0 0 0 1px var(--pl-orange);
}
.otr-objective-options button > span:nth-child(2) { display: grid; gap: 2px; }
.otr-objective-options button strong { font-size: 0.76rem; }
.otr-objective-options button small { color: var(--pl-muted); font-size: 0.6rem; }
.otr-objective-icon {
  align-items: center;
  background: #eef4fc;
  border-radius: 7px;
  color: var(--pl-blue);
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}
.otr-objective-options button[aria-pressed="true"] .otr-objective-icon {
  background: var(--pl-peach);
  color: var(--pl-orange);
}
.otr-objective-mark {
  border: 1px solid var(--pl-blue);
  border-radius: 50%;
  height: 7px;
  width: 7px;
}
.otr-objective-options button[aria-pressed="true"] .otr-objective-mark { background: var(--pl-blue); }
.telecaller-otr-submit { justify-content: center; width: 100%; }
.telecaller-otr-secure-note {
  color: var(--pl-muted);
  font-size: 0.62rem;
  margin: -3px 0 0;
  text-align: center;
}
.telecaller-otr-secure-note span { color: #147d69; }
.telecaller-otr-history-panel .panel-heading p { margin-top: 4px; }
.telecaller-otr-entries { display: grid; }
.telecaller-otr-entry {
  align-items: center;
  border-bottom: 1px solid var(--pl-border);
  display: grid;
  gap: 12px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 78px;
  padding: 13px 19px;
}
.telecaller-otr-entry:last-child { border-bottom: 0; }
.telecaller-otr-product-badge {
  align-items: center;
  background: var(--pl-peach);
  border-radius: 7px;
  color: var(--pl-orange);
  display: inline-flex;
  font-size: 0.62rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.telecaller-otr-entry > div { display: grid; gap: 3px; min-width: 0; }
.telecaller-otr-entry > div strong { color: var(--pl-heading); font-size: 0.78rem; }
.telecaller-otr-entry > div span { color: var(--pl-text); font-size: 0.68rem; overflow-wrap: anywhere; }
.telecaller-otr-entry > div small { color: var(--pl-muted); font-size: 0.62rem; }
.telecaller-otr-entry-amount { color: #08765f; font-size: 0.82rem; white-space: nowrap; }
.team-otr-panel-footer {
  align-items: center;
  border-top: 1px solid var(--pl-border);
  color: var(--pl-muted);
  display: flex;
  font-size: 0.66rem;
  justify-content: space-between;
  min-height: 45px;
  padding: 10px 19px;
}
.team-otr-panel-footer strong { color: #08765f; font-weight: 700; }

.wireframe-report-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.9fr;
}
.report-catalog-hero {
  min-height: 285px;
  padding: 30px;
}
.report-catalog-hero h2 {
  color: var(--pl-blue);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 13px 0;
  max-width: 430px;
}
.report-catalog-hero > p {
  color: #69778d;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 430px;
}
.report-catalog-list { min-height: 285px; padding: 24px; }
.report-catalog-list > h2 {
  color: var(--pl-text);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 12px;
}
.report-catalog-item {
  align-items: center;
  background: transparent;
  border: 0;
  border-top: 1px solid #ece4e2;
  color: var(--pl-text);
  display: flex;
  gap: 12px;
  min-height: 67px;
  padding: 13px 0;
  text-align: left;
  width: 100%;
}
.report-catalog-item:hover { color: var(--pl-blue); }
.report-catalog-item:focus-visible {
  border-radius: 7px;
  outline: 3px solid rgba(239, 85, 44, 0.25);
  outline-offset: 2px;
}
.report-catalog-icon {
  align-items: center;
  background: #f0eeff;
  border-radius: 8px;
  color: #6856db;
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  width: 30px;
}
.report-catalog-icon svg { height: 15px; width: 15px; }
.report-catalog-copy { min-width: 0; }
.report-catalog-copy strong,
.report-catalog-copy small { display: block; }
.report-catalog-copy strong { color: inherit; font-size: 0.78rem; }
.report-catalog-copy small { color: #8b8191; font-size: 0.66rem; margin-top: 3px; }
.report-catalog-arrow { color: #6754df; margin-left: auto; }
.report-detail-state { max-width: none; }
.report-state-heading {
  align-items: flex-end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}
.report-detail-panel { margin-top: 14px; }
.report-detail-tools { flex-wrap: wrap; }
.report-detail-tools .management-filter-actions { display: flex; gap: 8px; }
.report-detail-tools .panel-search { width: 210px; }
.report-overdue-filter { margin-left: 0; }

.wireframe-activity-panel { border-top: 1px solid var(--pl-border); }
.audit-filter-tools { flex-wrap: wrap; }
.audit-filter-actions { flex: 1 1 auto; }
.audit-filter-actions .panel-search { width: min(190px, 22vw); }
.audit-filter-actions .panel-select { width: 170px; }
.audit-activity-list { border-top: 1px solid #ece4e2; }
.audit-activity-row {
  align-items: flex-start;
  border-bottom: 1px solid #ece4e2;
  display: flex;
  gap: 14px;
  padding: 15px 20px;
}
.audit-activity-row:last-child { border-bottom: 0; }
.audit-activity-dot {
  background: #756ce2;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f0efff;
  flex: 0 0 8px;
  height: 8px;
  margin-top: 5px;
  width: 8px;
}
.audit-activity-dot.status-active,
.audit-activity-dot.status-closed { background: #26b99a; box-shadow: 0 0 0 4px #e0f8f2; }
.audit-activity-dot.status-inactive,
.audit-activity-dot.status-not-interested { background: #ef552c; box-shadow: 0 0 0 4px #ffebe5; }
.audit-activity-content { min-width: 0; }
.audit-activity-summary { color: #596478; font-size: 0.78rem; margin: 0; }
.audit-activity-summary strong { color: var(--pl-text); }
.audit-activity-time { color: #92868d; display: block; font-size: 0.68rem; margin-top: 4px; }
.audit-activity-details { margin-top: 7px; }
.audit-activity-details > summary {
  color: var(--pl-orange);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 700;
  width: max-content;
}
.audit-activity-details > summary:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(239, 85, 44, 0.25);
  outline-offset: 2px;
}
.audit-activity-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.audit-meta-item,
.audit-correlation {
  background: #faf6f5;
  border: 1px solid #eee2df;
  border-radius: 999px;
  color: #70666b;
  font-size: 0.64rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 3px 7px;
}
.audit-correlation { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.wireframe-settings-card,
.wireframe-profile-card {
  max-width: 620px;
}
.wireframe-settings-card .entity-form,
.wireframe-profile-card .entity-form { padding: 26px; }
.settings-card-heading h2,
.profile-card-identity h2 {
  color: var(--pl-text);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.settings-card-heading p,
.profile-card-identity p {
  color: #7d7180;
  font-size: 0.8rem;
  margin: 0;
}
.settings-form-fields { display: grid; gap: 15px; }
.input-with-suffix { position: relative; }
.input-with-suffix .form-control { padding-right: 58px; }
.input-with-suffix > span {
  color: var(--pl-muted);
  font-size: 0.72rem;
  pointer-events: none;
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
}
.settings-updated-at { color: var(--pl-muted); font-size: 0.68rem; margin: -3px 0 0; }
.settings-updated-at strong { color: var(--pl-text); font-weight: 500; }
.wireframe-settings-card .form-actions,
.wireframe-profile-card .form-actions { margin-top: 2px; }

.profile-card-identity { border-bottom: 1px solid #ece4e2; padding-bottom: 20px; }
.profile-card-avatar {
  align-items: center;
  background: var(--pl-orange);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  height: 52px;
  justify-content: center;
  margin-bottom: 14px;
  width: 52px;
}
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-info-grid .form-field { min-width: 0; }
.profile-edit-field {
  border-bottom: 1px solid #ece4e2;
  grid-column: 1 / -1;
  padding: 0 0 17px;
}
.profile-info-field {
  border-bottom: 1px solid #ece4e2;
  padding: 13px 0;
}
.profile-info-field:nth-of-type(even) { padding-right: 14px; }
.profile-info-field:nth-of-type(odd) { padding-left: 14px; }
.profile-info-field label { color: #8c7f87; font-size: 0.68rem; font-weight: 400; }
.profile-info-field .form-control:disabled {
  background: var(--pl-surface);
  border: 0;
  border-radius: 0;
  color: var(--pl-text);
  font-size: 0.78rem;
  font-weight: 700;
  min-height: auto;
  opacity: 1;
  padding: 4px 0 0;
}
.team-profile-name-input {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--pl-text);
  display: block;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  margin: -3px 0 3px -6px;
  max-width: 100%;
  min-height: 38px;
  padding: 4px 5px;
  width: min(100%, 430px);
}
.team-profile-name-input:hover { border-color: var(--pl-border); }
.team-profile-name-input:focus {
  border-color: var(--pl-blue);
  box-shadow: 0 0 0 3px rgba(12, 70, 150, 0.12);
  outline: 0;
}
.team-profile-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-detail-item {
  border-bottom: 1px solid #ece4e2;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px 0;
}
.profile-detail-item:nth-child(odd) { padding-right: 14px; }
.profile-detail-item:nth-child(even) { padding-left: 14px; }
.profile-detail-item span { color: #8c7f87; font-size: 0.68rem; }
.profile-detail-item strong {
  color: var(--pl-text);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.team-profile-card .form-actions,
.telecaller-profile-card .form-actions { justify-content: flex-start; }

.panel-filters .form-control,
.panel-filters .form-select,
.form-control,
.form-select {
  border-color: var(--pl-border);
  border-radius: 8px;
  color: var(--pl-text);
  font-size: 0.875rem;
  min-height: 40px;
}
.form-control:focus,
.form-select:focus { border-color: var(--pl-blue); box-shadow: 0 0 0 3px rgba(11, 76, 160, 0.15); }

.app-table { color: var(--pl-text); font-size: 0.875rem; min-width: 720px; }
.app-table thead th {
  background: #fff8f6;
  border-color: var(--pl-border);
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 20px;
}
.app-table tbody td { border-color: #f1f5f9; color: var(--pl-text); line-height: 1.35; padding: 16px 20px; }
.app-table tbody tr:hover { background: rgba(248, 250, 252, 0.7); }
.app-table .btn-outline-secondary {
  --bs-btn-bg: #fff;
  --bs-btn-color: #475569;
  --bs-btn-border-color: #cbd5e1;
  --bs-btn-hover-bg: #f8fafc;
  --bs-btn-hover-color: #0f172a;
  --bs-btn-hover-border-color: #94a3b8;
  min-width: 78px;
}
.table-pager { border-color: var(--pl-border); color: var(--pl-muted); min-height: 48px; padding: 0 20px; }

.status-badge { border-radius: 999px; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; }
.status-active,
.status-closed { background: #ecfdf5; color: #059669; }
.status-pending { background: #ffedd5; color: #c2410c; }
.status-not-interested,
.status-inactive { background: #f1f5f9; color: #475569; }

.app-modal { border-color: var(--pl-border); border-radius: var(--pl-radius); }
.app-modal-icon { background: var(--pl-peach); color: var(--pl-orange); }
.modal-title { color: var(--pl-blue); }

.app-body-public { background: var(--pl-canvas); }
.public-topbar {
  border-color: var(--pl-border);
  min-height: 60px;
  padding-inline: 24px;
}
.public-topbar .app-brand-copy small { color: var(--pl-orange); }
.public-topbar .app-brand { min-height: 44px; }
.public-main {
  max-width: none;
  padding: 0;
}
.public-page-shell {
  align-items: center;
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 60px);
  padding: 40px 24px;
}
.public-page-card {
  background: var(--pl-surface);
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  box-shadow: var(--app-shadow);
  display: grid;
  gap: 18px;
  max-width: 620px;
  padding: 30px;
  width: 100%;
}
.public-login-card { max-width: 440px; }
.public-card-heading,
.public-state-card { align-items: start; }
.public-card-heading {
  border-bottom: 1px solid #ece4e2;
  display: grid;
  gap: 5px;
  padding-bottom: 20px;
}
.public-card-heading h1,
.public-state-card h1 {
  color: var(--pl-blue);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 2px 0 0;
}
.public-card-heading p,
.public-state-card > p {
  color: var(--pl-muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}
.public-card-icon {
  align-items: center;
  background: var(--pl-peach);
  border-radius: 8px;
  color: var(--pl-orange);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin-bottom: 7px;
  width: 42px;
}
.public-card-icon svg { height: 20px; width: 20px; }
.public-card-icon.is-danger { background: #fff0ed; color: #b33b25; }
.public-login-card .login-form { gap: 14px; }
.public-login-card .btn { justify-content: center; margin-top: 2px; width: 100%; }
.public-account-links {
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
}
.public-account-links a,
.public-back-link {
  align-items: center;
  color: var(--pl-blue);
  display: inline-flex;
  font-weight: 600;
  min-height: 44px;
  text-decoration: none;
}
.public-account-links a:hover,
.public-account-links a:focus,
.public-back-link:hover,
.public-back-link:focus { text-decoration: underline; }
.public-back-link { font-size: 0.78rem; justify-self: center; }
.app-alert-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}
.public-security-note {
  align-items: center;
  border-top: 1px solid #ece4e2;
  color: var(--pl-muted);
  display: flex;
  font-size: 0.68rem;
  gap: 7px;
  margin: 0;
  padding-top: 16px;
}
.public-security-note svg { color: var(--pl-blue); height: 14px; width: 14px; }
.public-state-card .btn { justify-self: start; }
.public-state-guidance {
  background: var(--pl-peach-soft);
  border-left: 3px solid var(--pl-orange);
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  width: 100%;
}
.public-state-guidance strong { color: var(--pl-text); font-size: 0.82rem; }
.public-state-guidance span,
.public-state-help { color: var(--pl-muted); font-size: 0.74rem; line-height: 1.55; }
.public-state-help { margin-top: -5px !important; }
.public-state-card .request-reference {
  background: #fffaf8;
  border-color: var(--pl-border);
  border-radius: 7px;
  margin: 0;
  padding: 12px 14px;
}
.public-state-card .request-reference dt { color: var(--pl-muted); font-size: 0.65rem; }
.public-state-card .request-reference code { color: var(--pl-text); font-size: 0.72rem; }
.public-policy-card .support-state-list {
  border-block: 1px solid #ece4e2;
  color: var(--pl-text);
  font-size: 0.76rem;
  gap: 9px;
  line-height: 1.55;
  margin: 0;
  padding: 16px 0 16px 19px;
  width: 100%;
}

:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid rgba(11, 76, 160, 0.28);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1050px) {
  .app-topbar,
  .app-main { padding-left: 26px; padding-right: 26px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-metric-grid,
  .telecaller-lead-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-dashboard-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (min-width: 681px) and (max-width: 900px) {
  .team-dashboard-metrics .metric-card { min-height: 193px; }
}

@media (max-width: 991.98px) {
  .app-frame { display: flex; height: 100dvh; min-height: 0; overflow: hidden; }
  .app-sidebar { display: flex; height: 100dvh; overflow-y: auto; padding: 20px 14px 14px; }
  .app-sidebar-brand { display: block; }
  .app-sidebar-section { display: block; }
  .app-sidebar-footer { display: block; }
  .app-nav { display: grid; gap: 4px; overflow: visible; padding: 0; }
  .app-nav .nav-link { color: #d3e3f7; flex: none; min-height: 40px; padding: 0 12px; }
  .app-nav .nav-link .nav-icon { display: inline-flex; }
  .app-workspace { min-height: 0; }
  .app-mobile-brand { display: none; }
  .app-crumb { display: block; }
}

@media (max-width: 680px) {
  html { font-size: 16px; }
  .app-frame { display: block; height: auto; min-height: 100vh; overflow: visible; }
  .app-sidebar {
    bottom: 0;
    box-shadow: 10px 0 30px rgba(6, 45, 101, 0.25);
    left: 0;
    position: fixed;
    top: 0;
    transform: translateX(-100%);
    transition: transform 180ms ease;
    width: 250px;
    z-index: 50;
  }
  .app-sidebar.is-mobile-open { transform: translateX(0); }
  .app-workspace { min-height: 100vh; }
  .app-topbar { min-height: 60px; padding: 0 16px; }
  .app-mobile-menu { display: inline-flex; }
  .app-sidebar .app-brand,
  .topbar-avatar,
  .panel-link,
  .dashboard-row-link { align-items: center; display: inline-flex; min-height: 44px; }
  .topbar-avatar { height: 44px; width: 44px; }
  .app-user-block { border-left: 0; padding-left: 0; }
  .status-strip:not(.visually-hidden) {
    bottom: 16px;
    left: auto;
    max-width: calc(100vw - 32px);
    right: 16px;
    width: max-content;
  }
  .app-crumb { display: block; font-size: 0.72rem; }
  .app-crumb span:first-child,
  .app-crumb b { display: none; }
  .app-main { padding: 22px 16px 30px; }
  .topbar-utility { display: none; }
  .page-heading { align-items: flex-start; }
  .dashboard-control-header { align-items: stretch; flex-direction: column; }
  .dashboard-control-actions .btn { flex: 1; }
  .team-dashboard-control {
    align-items: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .team-dashboard-control .dashboard-control-actions { align-self: start; padding-top: 2px; }
  .team-dashboard-control .dashboard-control-actions .btn { flex: none; white-space: nowrap; }
  .page-heading h1,
  .dashboard-control-header h2 { font-size: 23px; }
  .metric-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card { min-height: 125px; padding: 15px; }
  .metric-card strong { font-size: 1.5rem; }
  .metric-state { bottom: 13px; left: 15px; }
  .btn,
  .btn-sm { min-height: 44px; }
  .wireframe-management-panel .panel-heading {
    align-items: flex-start;
    flex-direction: row;
  }
  .wireframe-management-panel .panel-heading .btn { width: auto; }
  .management-tools { align-items: stretch; padding-inline: 17px; }
  .management-search { flex: 1 1 auto; min-width: 0; }
  .management-filter-actions { flex: 0 0 auto; }
  .management-tools .panel-select { display: none; }
  .management-tools .btn span:last-child { display: none; }
  .management-tools .btn { min-height: 44px; min-width: 44px; padding-inline: 0.75rem; width: 44px; }
  [data-page="telecallers"] .management-tools .panel-select {
    display: block;
    flex: 0 0 96px;
    max-width: 96px;
    min-height: 44px;
  }
  [data-page="telecallers"] .management-tools [data-action="clear-telecaller-filters"] { display: none; }
  .management-entity-state { max-width: none; }
  .entity-back-link { min-height: 44px; }
  .lead-file-progress { grid-template-columns: 1fr; padding: 17px; }
  .lead-file-progress-stats { justify-content: flex-start; }
  .telecaller-otr-summary { grid-template-columns: 1fr; }
  .telecaller-otr-layout { grid-template-columns: 1fr; }
  .telecaller-otr-form-heading { margin-inline: 18px; }
  .telecaller-otr-form { padding-inline: 18px; }
  .otr-objective-options { grid-template-columns: 1fr; }
  .telecaller-otr-entry { grid-template-columns: 34px minmax(0, 1fr); }
  .telecaller-otr-entry-amount { grid-column: 2; }
  .entity-state-heading h2 { font-size: 1.4rem; }
  .entity-form-heading {
    align-items: flex-start;
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .generated-id {
    grid-column: 1 / -1;
    text-align: left;
    width: 100%;
  }
  .wireframe-entity-form-panel .entity-form { padding: 17px; }
  .lead-reassign-panel .entity-form { grid-template-columns: 1fr; }
  .lead-reassign-panel .form-guidance,
  .lead-reassign-panel .app-alert { grid-column: auto; }
  .lead-reassign-panel .form-actions,
  .lead-reassign-panel .form-actions .btn { width: 100%; }
  .lead-entry-panel .management-tools { flex-wrap: wrap; }
  .lead-entry-panel .management-filter-actions { width: 100%; }
  .lead-entry-panel .management-tools .panel-select {
    display: block;
    flex: 1;
    max-width: none;
  }
  .otr-admin-summary { grid-template-columns: 1fr; }
  .otr-summary-card { min-height: 112px; }
  [data-admin-otr-list] .management-tools { flex-wrap: wrap; }
  [data-admin-otr-list] .management-filter-actions { width: 100%; }
  [data-admin-otr-list] .management-tools .panel-select {
    display: block;
    flex: 1;
    max-width: none;
  }
  .team-otr-performance-panel .management-tools { flex-wrap: wrap; }
  .team-otr-performance-panel .management-filter-actions { width: 100%; }
  .team-otr-performance-panel .management-tools .panel-select {
    display: block;
    flex: 1;
    max-width: none;
  }
  .team-otr-panel-footer { align-items: flex-start; flex-direction: column; gap: 5px; }
  .wireframe-report-grid { grid-template-columns: 1fr; }
  .report-catalog-hero { min-height: 265px; padding: 24px; }
  .report-catalog-hero h2 { font-size: 1.75rem; }
  .report-catalog-list { min-height: auto; padding: 24px; }
  .report-state-heading { align-items: stretch; flex-direction: column; }
  .report-state-heading .btn { width: 100%; }
  .report-detail-tools { display: grid; grid-template-columns: minmax(0, 1fr) 44px; }
  .report-detail-tools .management-search { grid-column: 1 / -1; width: 100%; }
  .report-detail-tools .management-filter-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
  .report-detail-tools .panel-search { width: 100%; }
  .report-overdue-filter { align-self: center; }
  .wireframe-activity-panel .panel-heading { align-items: center; }
  .audit-filter-tools { display: grid; grid-template-columns: minmax(0, 1fr) 44px; }
  .audit-filter-tools .management-search { grid-column: 1 / -1; width: 100%; }
  .audit-filter-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
  .audit-filter-actions .panel-search,
  .audit-filter-actions .panel-select { display: block; max-width: none; width: 100%; }
  .audit-filter-actions .btn { justify-self: end; }
  .audit-activity-row { padding: 16px 17px; }
  .wireframe-settings-card,
  .wireframe-profile-card { max-width: none; }
  .wireframe-settings-card .entity-form,
  .wireframe-profile-card .entity-form { padding: 26px; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .team-profile-info { grid-template-columns: 1fr; }
  .profile-detail-item:nth-child(odd),
  .profile-detail-item:nth-child(even) { padding-left: 0; padding-right: 0; }
  .profile-edit-field { grid-column: auto; }
  .profile-info-field:nth-of-type(even),
  .profile-info-field:nth-of-type(odd) { padding-left: 0; padding-right: 0; }
  .wireframe-settings-card .form-actions .btn,
  .wireframe-profile-card .form-actions .btn { width: auto; }
  .public-topbar { min-height: 58px; padding-inline: 16px; }
  .public-topbar .app-brand-copy small { display: none; }
  .public-page-shell { min-height: calc(100vh - 58px); padding: 24px 16px; }
  .public-page-card { padding: 24px; }
  .public-card-heading h1,
  .public-state-card h1 { font-size: 1.7rem; }
  .public-state-card .btn { min-width: 0; width: 100%; }
  .lead-import-panel { padding: 30px; }
  .lead-import-heading { flex-direction: column; gap: 16px; }
  .lead-import-heading .btn { width: 100%; }
  .lead-import-heading h2 { font-size: 1.65rem; }
  .lead-upload-zone { padding: 24px 18px; }
  .lead-import-stepper { gap: 0; }
  .lead-import-stepper li { align-items: center; flex-direction: column; gap: 4px; text-align: center; }
  .lead-import-stepper li:not(:last-child)::after {
    left: calc(50% + 14px);
    margin: 0;
    position: absolute;
    top: 10px;
    width: calc(100% - 28px);
  }
  .lead-import-stepper li strong { font-size: 0.62rem; }
}
