:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fafd;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --nav: #031127;
  --nav-2: #061b35;
  --portal: #2563eb;
  --blue: #2563eb;
  --green: #079669;
  --gold: #d89b14;
  --purple: #6d28d9;
  --red: #dc2626;
  --teal: #0d9488;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
  --soft-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 650;
}

h3 {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
}

.subtle,
.panel-head p,
.topbar-title p {
  color: var(--muted);
}

.icon {
  display: block;
  flex: 0 0 auto;
}

.brand-logo,
.login-logo,
.sidebar-logo,
.topbar-logo,
.banner-logo {
  display: block;
  object-fit: contain;
}

.brand-tile {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.brand-tile img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  object-position: center;
}

.brand-tile.large {
  width: 220px;
  height: 138px;
  box-shadow: none;
}

.brand-tile.large img {
  width: 220px;
  height: 138px;
  object-fit: contain;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 9px 11px;
  outline: 0;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--portal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal) 16%, transparent);
}

label {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.primary,
.secondary,
.ghost,
.danger,
.link-btn {
  min-height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--portal), #0f46c7);
  box-shadow: 0 12px 20px color-mix(in srgb, var(--portal) 24%, transparent);
}

.secondary {
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid var(--line);
}

.secondary.compact {
  min-height: 34px;
  padding: 0 11px;
  font-size: 12px;
}

.ghost {
  color: #dbeafe;
  background: transparent;
}

.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.danger {
  color: var(--red);
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.link-btn {
  min-height: 32px;
  padding: 0 4px;
  color: var(--portal);
  background: transparent;
}

.icon-btn,
.round-btn {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  position: relative;
}

.round-btn span {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  position: absolute;
  top: -7px;
  right: -7px;
}

.icon-btn:hover,
.round-btn:hover,
.secondary:hover {
  border-color: color-mix(in srgb, var(--portal) 38%, var(--line));
  background: color-mix(in srgb, var(--portal) 7%, #fff);
}

.login-shell {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  align-content: center;
  gap: 12px;
  background:
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 46%, #f8fafc 100%);
}

.login-canvas {
  width: min(1880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(680px, 1.18fr) minmax(470px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.login-showcase,
.role-login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
}

.login-showcase {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  padding: 64px 46px 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.78)),
    #fff;
}

.login-wordmark {
  width: 260px;
  height: 170px;
  object-fit: contain;
  object-position: left center;
}

.showcase-copy {
  margin-top: 46px;
  max-width: 440px;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.showcase-copy h1 {
  font-size: 33px;
  line-height: 1.22;
}

.showcase-copy h1 span,
.picker-head h2 span {
  color: #075ee5;
}

.showcase-copy i {
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: #075ee5;
}

.showcase-copy p {
  color: #17345f;
  font-size: 16px;
  font-weight: 700;
}

.portal-picker-card {
  position: absolute;
  top: 86px;
  right: 34px;
  z-index: 3;
  width: min(520px, calc(100% - 410px));
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.picker-head {
  display: grid;
  gap: 12px;
  text-align: center;
  margin-bottom: 26px;
}

.picker-head h2 {
  font-size: 28px;
}

.picker-head p {
  color: #31456b;
  font-size: 16px;
}

.portal-choice-list {
  display: grid;
  gap: 18px;
}

.portal-choice {
  width: 100%;
  min-height: 116px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 98px 1fr 28px;
  gap: 20px;
  align-items: center;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portal-choice:hover,
.portal-choice.selected {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--choice) 42%, var(--line));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.portal-choice-icon {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--choice), color-mix(in srgb, var(--choice) 68%, #061b35));
}

.portal-choice strong {
  display: block;
  color: var(--choice);
  font-size: 19px;
  margin-bottom: 8px;
}

.portal-choice small {
  display: block;
  color: #21314f;
  font-size: 14px;
  line-height: 1.58;
  font-weight: 600;
}

.portal-arrow {
  color: #04152d;
}

.tone-blue {
  --choice: #075ee5;
}

.tone-green {
  --choice: #078a3e;
}

.tone-purple {
  --choice: #5f2bd9;
}

.login-support {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #061b35;
  font-weight: 800;
}

.login-support button,
.forgot-link,
.portal-back {
  padding: 0;
  background: transparent;
  color: var(--choice, #075ee5);
  cursor: pointer;
  font-weight: 800;
}

.warehouse-visual {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(221, 236, 255, 0.72) 78%),
    linear-gradient(120deg, rgba(125, 211, 252, 0.22), rgba(255, 255, 255, 0) 45%);
}

.warehouse-building {
  position: absolute;
  left: 46px;
  bottom: 76px;
  width: 396px;
  height: 182px;
  border: 2px solid #6fa6e9;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 24px, transparent 25px) 0 0 / 64px 100%,
    linear-gradient(180deg, #eaf4ff, #cfe5fb);
  transform: skewY(-9deg);
  box-shadow: 16px 18px 28px rgba(30, 64, 175, 0.12);
}

.warehouse-building::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -26px;
  height: 36px;
  background: #0b63c7;
  border-radius: 0 0 8px 8px;
}

.building-logo {
  position: absolute;
  left: 144px;
  top: 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  transform: skewY(9deg);
}

.building-logo img {
  width: 42px;
  height: 42px;
}

.warehouse-building strong {
  position: absolute;
  left: 198px;
  top: 64px;
  color: #1f2937;
  font-size: 17px;
  line-height: 1.05;
  transform: skewY(9deg);
}

.warehouse-door {
  position: absolute;
  left: 348px;
  bottom: 80px;
  width: 94px;
  height: 118px;
  background: linear-gradient(90deg, #243b64, #0b63c7);
  border: 6px solid #e2e8f0;
}

.truck-body {
  position: absolute;
  left: 170px;
  bottom: 38px;
  width: 172px;
  height: 82px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #f8fafc, #cbd5e1);
  border: 3px solid #6fa6e9;
}

.truck-body::before,
.truck-cabin::before {
  content: "";
  position: absolute;
  bottom: -20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow: inset 0 0 0 7px #64748b;
}

.truck-body::before {
  left: 24px;
}

.truck-cabin {
  position: absolute;
  left: 332px;
  bottom: 38px;
  width: 78px;
  height: 70px;
  background: linear-gradient(135deg, #e0f2fe, #60a5fa);
  border: 3px solid #2563eb;
  border-radius: 8px 16px 4px 4px;
}

.truck-cabin::before {
  right: 6px;
}

.forklift {
  position: absolute;
  left: 58px;
  bottom: 42px;
  width: 70px;
  height: 42px;
  border-radius: 8px 8px 4px 4px;
  background: #0b63c7;
}

.forklift::before {
  content: "";
  position: absolute;
  left: 52px;
  top: -38px;
  width: 6px;
  height: 78px;
  background: #0f172a;
  box-shadow: 20px 39px 0 #0f172a;
}

.box-stack {
  position: absolute;
  width: 36px;
  height: 30px;
  background: #d9a441;
  border: 1px solid #bd7b10;
}

.box-stack::before,
.box-stack::after {
  content: "";
  position: absolute;
  width: 36px;
  height: 30px;
  background: #e8ba60;
  border: 1px solid #bd7b10;
}

.box-stack.one {
  left: 108px;
  bottom: 58px;
}

.box-stack.one::before {
  left: 36px;
  top: 0;
}

.box-stack.one::after {
  left: 18px;
  top: -31px;
}

.box-stack.two {
  left: 452px;
  bottom: 78px;
}

.box-stack.two::before {
  left: 37px;
  top: 0;
}

.box-stack.two::after {
  left: 18px;
  top: -31px;
}

.trust-strip {
  position: absolute;
  left: 90px;
  right: 90px;
  bottom: 34px;
  z-index: 2;
  min-height: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.trust-strip span {
  min-height: 62px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  color: #075ee5;
  border-right: 1px solid var(--line);
}

.trust-strip span:last-child {
  border-right: 0;
}

.trust-strip svg {
  grid-row: 1 / span 2;
}

.trust-strip strong {
  color: #061b35;
}

.trust-strip small {
  color: #31456b;
  font-size: 12px;
  line-height: 1.35;
}

.login-panel-stack {
  display: grid;
  gap: 16px;
}

.login-error {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  background: #fff1f2;
  font-weight: 800;
}

.role-login-card {
  min-height: 248px;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(320px, 1fr);
  overflow: hidden;
  position: relative;
}

.role-login-card::before {
  content: "";
  position: absolute;
  top: -28%;
  bottom: -28%;
  left: 31%;
  width: 128px;
  border-radius: 50%;
  background: #fff;
  z-index: 1;
}

.role-login-card.selected {
  border-color: color-mix(in srgb, var(--choice) 40%, var(--line));
  box-shadow: 0 24px 58px color-mix(in srgb, var(--choice) 16%, rgba(15, 23, 42, 0.08));
}

.role-art {
  position: relative;
  min-height: 248px;
  background: color-mix(in srgb, var(--choice) 15%, #f8fbff);
}

.role-art > * {
  position: absolute;
}

.art-monitor {
  left: 40px;
  top: 62px;
  width: 156px;
  height: 98px;
  border-radius: 8px;
  border: 6px solid #fff;
  background: #eff6ff;
  box-shadow: 0 14px 22px rgba(15, 23, 42, 0.16);
  transform: rotate(-8deg);
}

.art-monitor::before {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -40px;
  width: 76px;
  height: 7px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 18px -16px 0 -1px #94a3b8;
}

.art-monitor span {
  position: absolute;
  border-radius: 8px;
  background: var(--choice);
}

.art-monitor span:nth-child(1) {
  left: 18px;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.art-monitor span:nth-child(2) {
  left: 82px;
  top: 22px;
  width: 48px;
  height: 10px;
}

.art-monitor span:nth-child(3) {
  left: 82px;
  top: 44px;
  width: 34px;
  height: 28px;
}

.art-shield {
  right: 34px;
  top: 92px;
  width: 74px;
  height: 84px;
  border-radius: 8px 8px 28px 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--choice), color-mix(in srgb, var(--choice) 72%, #0f172a));
  box-shadow: 0 14px 24px color-mix(in srgb, var(--choice) 28%, transparent);
}

.art-box {
  right: 66px;
  bottom: 34px;
  width: 78px;
  height: 70px;
  background: #d9a441;
  border: 2px solid #bd7b10;
  border-radius: 8px;
}

.art-box::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.art-worker {
  display: none;
}

.role-art-employee .art-monitor {
  left: 34px;
  top: 86px;
  width: 176px;
  height: 88px;
  transform: none;
  border-width: 4px;
  background:
    linear-gradient(90deg, #1e40af 0 8px, transparent 8px 100%) 0 0 / 42px 100%,
    linear-gradient(#1e40af 0 6px, transparent 6px 100%) 0 0 / 100% 36px,
    #dbeafe;
}

.role-art-employee .art-monitor span,
.role-art-employee .art-monitor::before,
.role-art-employee .art-shield {
  display: none;
}

.role-art-employee .art-worker {
  display: block;
  right: 42px;
  bottom: 42px;
  width: 64px;
  height: 92px;
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(180deg, #22c55e 0 42px, #166534 42px);
}

.role-art-employee .art-worker::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -28px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffd39a;
  box-shadow: 0 -11px 0 -4px #078a3e;
}

.role-art-employee .art-box {
  right: 86px;
  bottom: 34px;
}

.role-art-client .art-shield,
.role-art-client .art-worker {
  display: none;
}

.role-art-client .art-monitor {
  top: 78px;
  transform: rotate(-4deg);
}

.role-art-client .art-box {
  right: 48px;
  bottom: 54px;
}

.role-art-client::after {
  content: "";
  position: absolute;
  right: 58px;
  top: 62px;
  width: 34px;
  height: 48px;
  border-radius: 22px 22px 22px 4px;
  background: var(--choice);
  transform: rotate(45deg);
}

.portal-login-form {
  position: relative;
  z-index: 2;
  padding: 42px 48px 26px 28px;
  display: grid;
  align-content: center;
  gap: 13px;
}

.role-login-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.role-login-head h2 {
  color: var(--choice);
  font-size: 28px;
}

.role-login-head p {
  color: #4b5f82;
  font-size: 15px;
}

.input-shell {
  min-height: 46px;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
}

.input-shell:focus-within {
  border-color: var(--choice);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--choice) 13%, transparent);
}

.input-shell input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.password-toggle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.login-options-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #31456b;
  font-size: 13px;
}

.remember-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #31456b;
  font-weight: 700;
}

.remember-line input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
}

.portal-submit {
  min-height: 48px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--choice), color-mix(in srgb, var(--choice) 78%, #061b35));
  box-shadow: 0 14px 24px color-mix(in srgb, var(--choice) 22%, transparent);
  cursor: pointer;
  font-weight: 900;
}

.portal-back {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.login-copyright {
  text-align: center;
  color: #52657f;
  font-size: 13px;
}

.simple-login {
  min-height: 100vh;
  padding: 0;
  display: block;
  background: #f6f9fd;
}

.simple-login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 30% 70%;
  background: #fff;
}

.simple-brand-panel {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 52px 34px 42px;
  background:
    linear-gradient(180deg, rgba(235, 245, 255, 0.86), rgba(246, 250, 255, 0.96)),
    #f4f9ff;
  border-right: 1px solid #dbe7f4;
}

.simple-brand-top {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.simple-login-logo {
  width: 245px;
  height: 170px;
  object-fit: contain;
}

.simple-brand-top > span,
.simple-login-head > span {
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #075ee5;
}

.simple-brand-top h1 {
  font-size: 29px;
  line-height: 1.24;
  color: #071225;
}

.simple-brand-top p {
  color: #34466a;
  font-size: 16px;
  line-height: 1.65;
  font-weight: 700;
}

.simple-warehouse-card {
  align-self: end;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  border: 1px solid #cfe1f5;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(219, 234, 254, 0.66)),
    #eef6ff;
  box-shadow: inset 0 -80px 120px rgba(37, 99, 235, 0.09);
}

.simple-warehouse-card::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -48px;
  height: 118px;
  background: #e6eef7;
  transform: rotate(-2deg);
}

.simple-warehouse-roof {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 118px;
  height: 30px;
  background: #075ee5;
  transform: skewX(-20deg);
  box-shadow: 0 12px 0 #0f3f8f;
}

.simple-warehouse-box {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 64px;
  height: 116px;
  border: 2px solid #6aa3e8;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px) 0 0 / 46px 100%,
    linear-gradient(180deg, #ffffff, #dbeafe);
}

.simple-warehouse-box span {
  position: absolute;
  left: 34px;
  top: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.simple-building-mark {
  width: 42px;
  height: 42px;
}

.simple-warehouse-box strong {
  position: absolute;
  left: 92px;
  top: 38px;
  color: #1e293b;
}

.simple-truck {
  position: absolute;
  left: 76px;
  bottom: 34px;
  width: 168px;
  height: 64px;
  border: 2px solid #94a3b8;
  border-radius: 8px 12px 4px 4px;
  background: linear-gradient(90deg, #f8fafc 0 68%, #bfdbfe 68%);
}

.simple-truck::before,
.simple-truck::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f172a;
  box-shadow: inset 0 0 0 8px #64748b;
}

.simple-truck::before {
  left: 22px;
}

.simple-truck::after {
  right: 18px;
}

.simple-trust-row {
  min-height: 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.simple-trust-row span {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 14px 10px;
  text-align: center;
  color: #075ee5;
  border-right: 1px solid #dbe7f4;
}

.simple-trust-row span:last-child {
  border-right: 0;
}

.simple-trust-row strong {
  color: #0f172a;
  font-size: 13px;
}

.simple-trust-row small {
  color: #34466a;
  font-size: 12px;
  line-height: 1.35;
}

.simple-login-main {
  min-width: 0;
  min-height: 100vh;
  padding: 52px 34px 26px;
  display: grid;
  align-content: center;
  gap: 28px;
  background: #fff;
}

.simple-login-head {
  display: grid;
  justify-items: center;
  gap: 13px;
  text-align: center;
}

.simple-login-head h1 {
  font-size: 40px;
  color: #111827;
}

.simple-login-head p {
  color: #34466a;
  font-size: 18px;
}

.simple-portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 22px;
}

.simple-login .role-login-card {
  min-height: 0;
  display: block;
  overflow: visible;
  border-top: 4px solid var(--choice);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.09);
}

.simple-login .role-login-card::before {
  display: none;
}

.simple-login .portal-login-form {
  padding: 32px 24px 24px;
  display: grid;
  justify-items: stretch;
  gap: 15px;
}

.simple-card-icon {
  width: 108px;
  height: 108px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--choice);
  background: color-mix(in srgb, var(--choice) 11%, #f8fafc);
}

.simple-login .role-login-head {
  margin: 0 0 8px;
  text-align: center;
}

.simple-login .role-login-head h2 {
  color: var(--choice);
  font-size: 24px;
}

.simple-login .role-login-head p {
  min-height: 68px;
  color: #34466a;
  font-size: 14px;
  line-height: 1.55;
}

.simple-login .input-shell {
  min-height: 54px;
  border-color: #d8e2ef;
  color: #43536f;
}

.simple-login .input-shell input {
  font-size: 13px;
  font-weight: 800;
}

.simple-login .portal-submit {
  min-height: 52px;
  margin-top: 8px;
  font-size: 16px;
}

.login-card-separator {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.login-card-separator::before,
.login-card-separator::after {
  content: "";
  height: 1px;
  background: #dbe7f4;
}

.simple-login .portal-back {
  color: var(--choice);
}

.simple-support-strip {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.simple-support-strip > div {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #34466a;
  border-right: 1px solid #dbe7f4;
}

.simple-support-strip > div:last-child {
  border-right: 0;
}

.simple-support-strip svg {
  color: #075ee5;
}

.simple-support-strip strong {
  display: block;
  color: #0f172a;
}

.simple-support-strip small {
  display: block;
  margin-top: 4px;
}

.simple-login .login-copyright {
  align-self: end;
}

.ops-login {
  min-height: 100vh;
  padding: 0;
  display: block;
  background: #f6f8fc;
}

.ops-login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, 44vw) minmax(520px, 1fr);
  background: #f7faff;
}

.ops-login-showcase {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 44px;
  padding: 52px 50px 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(1, 17, 42, 0.98), rgba(3, 30, 68, 0.91)),
    #04152f;
}

.ops-login-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(37, 99, 235, 0.16) 47% 49%, transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 76px 100%,
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 58px;
  opacity: 0.7;
}

.ops-login-showcase::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background:
    linear-gradient(180deg, rgba(4, 21, 47, 0), rgba(4, 21, 47, 0.86)),
    linear-gradient(120deg, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0));
}

.ops-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rack-line {
  position: absolute;
  left: 42%;
  right: 4%;
  height: 2px;
  background: rgba(148, 163, 184, 0.24);
  transform: skewY(-19deg);
  box-shadow:
    0 48px 0 rgba(148, 163, 184, 0.18),
    0 96px 0 rgba(148, 163, 184, 0.15),
    0 144px 0 rgba(148, 163, 184, 0.13);
}

.rack-line.one {
  top: 20%;
}

.rack-line.two {
  top: 39%;
  left: 34%;
  opacity: 0.86;
}

.rack-line.three {
  top: 58%;
  left: 26%;
  opacity: 0.72;
}

.forklift-shape {
  position: absolute;
  left: 42%;
  bottom: 16%;
  width: 220px;
  height: 92px;
  border-radius: 8px 30px 8px 8px;
  background:
    linear-gradient(90deg, rgba(245, 158, 11, 0.58) 0 44%, rgba(30, 64, 175, 0.38) 44% 66%, transparent 66%),
    rgba(15, 23, 42, 0.44);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.2);
  opacity: 0.55;
}

.forklift-shape::before,
.forklift-shape::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #020617;
  box-shadow: inset 0 0 0 9px rgba(100, 116, 139, 0.78);
}

.forklift-shape::before {
  left: 24px;
}

.forklift-shape::after {
  right: 34px;
}

.ops-brand-lockup,
.ops-copy,
.ops-feature-stack {
  position: relative;
  z-index: 1;
}

.ops-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ops-brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ops-brand-lockup strong,
.ops-brand-lockup span {
  display: block;
}

.ops-brand-lockup strong {
  font-size: 22px;
  line-height: 1.05;
}

.ops-brand-lockup span {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

.ops-copy {
  max-width: 540px;
  align-self: center;
}

.ops-copy h1 {
  color: #fff;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.17;
  font-weight: 900;
}

.ops-copy h1 span {
  color: #1267ff;
}

.ops-copy p {
  max-width: 450px;
  margin-top: 24px;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.65;
}

.ops-feature-stack {
  display: grid;
  gap: 22px;
}

.ops-feature-stack div {
  max-width: 380px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.ops-feature-stack svg {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 8px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.26);
}

.ops-feature-stack strong,
.ops-feature-stack small {
  display: block;
}

.ops-feature-stack strong {
  color: #fff;
  font-size: 14px;
}

.ops-feature-stack small {
  margin-top: 4px;
  color: #cbd5e1;
  line-height: 1.35;
}

.ops-login-stage {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 46px;
  background:
    radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.ops-login-card {
  width: min(430px, 100%);
  display: grid;
  gap: 18px;
  padding: 42px 34px 34px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.ops-card-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  justify-self: center;
}

.ops-card-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.ops-login-head {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.ops-login-head h1 {
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
}

.ops-login-head p {
  color: #475569;
  font-size: 14px;
}

.ops-role-block {
  display: grid;
  gap: 10px;
}

.ops-role-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ops-role-option {
  min-height: 72px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #334155;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.ops-role-option.active {
  color: var(--choice);
  border-color: var(--choice);
  background: color-mix(in srgb, var(--choice) 7%, #fff);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--choice) 12%, transparent);
}

.ops-field {
  display: grid;
  gap: 8px;
}

.ops-input-shell {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #fff;
  color: #64748b;
}

.ops-input-shell:focus-within {
  border-color: var(--choice);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--choice) 13%, transparent);
}

.ops-input-shell input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.ops-input-shell .password-toggle {
  color: #64748b;
}

.ops-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.ops-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ops-login-options input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--choice);
}

.ops-submit {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 22px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--choice), #075ee5);
  box-shadow: 0 18px 30px color-mix(in srgb, var(--choice) 25%, transparent);
  font-size: 15px;
}

.ops-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-divider::before,
.ops-divider::after {
  content: "";
  height: 1px;
  background: #e2e8f0;
}

.google-login-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  color: #172033;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.google-login-button:hover {
  border-color: #c6d3e3;
  background: #f8fafc;
}

.google-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2563eb;
  background:
    conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
  font-size: 0;
  position: relative;
}

.google-mark::after {
  content: "G";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.ops-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.ops-secure-note svg {
  color: var(--choice);
}

.ops-login {
  min-height: 100vh;
  padding: 0;
  display: block;
  color: #07164a;
  background:
    radial-gradient(circle at 42% 38%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(135deg, #f9fcff 0%, #edf6ff 52%, #f8fbff 100%);
}

.ops-login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(720px, 62fr) minmax(470px, 38fr);
  background:
    radial-gradient(circle at 36% 46%, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(135deg, #f9fcff, #eef7ff 56%, #ffffff);
}

.ops-login-showcase {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 28px;
  padding: 42px 38px 28px 42px;
  color: #07164a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(218, 235, 255, 0.42)),
    transparent;
}

.ops-login-showcase::before {
  content: "";
  position: absolute;
  inset: auto -12% 0 -8%;
  height: 34%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(186, 214, 241, 0.64)),
    linear-gradient(90deg, transparent 0 18%, rgba(148, 163, 184, 0.22) 18.2% 18.5%, transparent 18.7% 100%);
  clip-path: polygon(0 44%, 18% 36%, 35% 42%, 54% 31%, 73% 41%, 100% 32%, 100% 100%, 0 100%);
  opacity: 0.84;
}

.ops-login-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 47% 34%, rgba(255, 255, 255, 0.98) 0 2px, transparent 3px) 0 0 / 58px 58px,
    radial-gradient(circle at 45% 40%, rgba(37, 99, 235, 0.12), transparent 42%);
  opacity: 0.5;
  pointer-events: none;
}

.ops-brand-lockup,
.ops-copy,
.ops-india-map,
.ops-feature-cards,
.ops-warehouse-scene {
  position: relative;
  z-index: 1;
}

.ops-brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ops-brand-mark {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.ops-brand-lockup strong,
.ops-brand-lockup span,
.ops-brand-lockup small {
  display: block;
}

.ops-brand-lockup strong {
  color: #06114a;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.ops-brand-lockup span {
  margin-top: 4px;
  color: #075ee5;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.ops-brand-lockup small {
  margin-top: 18px;
  color: #07164a;
  font-size: 14px;
  font-weight: 800;
}

.ops-copy {
  max-width: 450px;
  margin-top: 12px;
}

.ops-copy h1 {
  color: #07164a;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.25;
  font-weight: 900;
}

.ops-copy h1 span {
  color: #075ee5;
}

.ops-copy i {
  display: block;
  width: 58px;
  height: 4px;
  margin: 26px 0 22px;
  border-radius: 999px;
  background: #075ee5;
}

.ops-copy p {
  max-width: 385px;
  margin: 0;
  color: #30457c;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 600;
}

.ops-india-map {
  position: absolute;
  left: 34%;
  top: 9%;
  width: 58%;
  height: 78%;
  z-index: 0;
  pointer-events: none;
}

.india-shape {
  position: absolute;
  inset: 4% 6% 5% 3%;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.98) 0 2px, transparent 3px) 0 0 / 42px 42px,
    linear-gradient(35deg, rgba(255, 255, 255, 0.46), rgba(147, 197, 253, 0.82));
  clip-path: polygon(25% 1%, 41% 5%, 53% 15%, 60% 27%, 74% 34%, 87% 43%, 76% 51%, 68% 61%, 62% 78%, 55% 95%, 45% 86%, 39% 71%, 28% 61%, 18% 48%, 4% 40%, 17% 31%, 14% 18%);
  filter: drop-shadow(0 18px 28px rgba(37, 99, 235, 0.18));
  opacity: 0.92;
}

.india-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(30deg, transparent 0 47%, rgba(255, 255, 255, 0.78) 47.4% 48%, transparent 48.4%),
    linear-gradient(105deg, transparent 0 53%, rgba(255, 255, 255, 0.56) 53.4% 54%, transparent 54.4%),
    linear-gradient(150deg, transparent 0 42%, rgba(255, 255, 255, 0.48) 42.4% 43%, transparent 43.4%);
  opacity: 0.74;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #07164a;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.map-pin i {
  width: 18px;
  height: 24px;
  display: inline-block;
  border-radius: 14px 14px 14px 2px;
  background: #075ee5;
  transform: rotate(-45deg);
  box-shadow: 0 7px 16px rgba(7, 94, 229, 0.28);
}

.map-pin i::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.map-pin strong {
  transform: translateY(1px);
}

.map-pin.delhi { left: 43%; top: 21%; }
.map-pin.noida { left: 52%; top: 28%; }
.map-pin.gurgaon { left: 26%; top: 37%; }
.map-pin.ahmedabad { left: 16%; top: 48%; }
.map-pin.mumbai { left: 22%; top: 60%; }
.map-pin.pune { left: 28%; top: 67%; }
.map-pin.hyderabad { left: 54%; top: 69%; }
.map-pin.bengaluru { left: 35%; top: 81%; }
.map-pin.chennai { left: 67%; top: 86%; }
.map-pin.vizag { left: 82%; top: 66%; }

.ops-feature-cards {
  width: min(470px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(82px, 1fr));
  gap: 14px;
  align-self: end;
}

.ops-feature-cards article {
  min-height: 126px;
  display: grid;
  place-items: center;
  gap: 11px;
  padding: 16px 10px;
  border: 1px solid rgba(191, 219, 254, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #075ee5;
  text-align: center;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(8px);
}

.ops-feature-cards strong {
  color: #07164a;
  font-size: 11px;
  line-height: 1.35;
}

.ops-warehouse-scene {
  min-height: 210px;
  align-self: end;
}

.scene-warehouse {
  position: absolute;
  left: -44px;
  bottom: 0;
  width: 330px;
  height: 148px;
  border: 2px solid #93c5fd;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.09) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(180deg, #ffffff, #dbeafe);
  box-shadow: 0 20px 38px rgba(30, 64, 175, 0.14);
}

.scene-warehouse::before {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: -22px;
  height: 28px;
  background: #2f7adf;
  transform: skewX(-22deg);
}

.scene-warehouse::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 0;
  width: 70px;
  height: 74px;
  background: #075ee5;
  box-shadow:
    92px 15px 0 -18px #c08428,
    124px 24px 0 -22px #c08428,
    154px 36px 0 -22px #c08428;
}

.scene-warehouse span {
  position: absolute;
  left: 132px;
  top: 42px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.scene-mark {
  width: 42px;
  height: 42px;
}

.scene-warehouse strong,
.scene-warehouse small {
  position: absolute;
  left: 184px;
  z-index: 1;
}

.scene-warehouse strong {
  top: 45px;
  color: #07164a;
  font-size: 18px;
  line-height: 1.05;
}

.scene-warehouse small {
  top: 90px;
  color: #07164a;
  font-size: 11px;
  font-weight: 800;
}

.scene-truck {
  position: absolute;
  left: 250px;
  bottom: -2px;
  width: 260px;
  height: 92px;
  border: 2px solid #94a3b8;
  border-radius: 8px 20px 4px 4px;
  background: linear-gradient(90deg, #ffffff 0 62%, #dbeafe 62%);
  box-shadow: 0 20px 32px rgba(15, 23, 42, 0.16);
}

.scene-truck::before,
.scene-truck::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #111827;
  box-shadow: inset 0 0 0 9px #64748b;
}

.scene-truck::before {
  left: 38px;
}

.scene-truck::after {
  right: 34px;
}

.truck-mark {
  position: absolute;
  left: 28px;
  top: 22px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.scene-truck strong {
  position: absolute;
  left: 72px;
  top: 24px;
  color: #07164a;
  font-size: 15px;
  line-height: 1.05;
}

.secure-chip {
  position: absolute;
  left: -10px;
  bottom: -2px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border-radius: 8px;
  color: #30457c;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 28px rgba(30, 64, 175, 0.1);
  font-weight: 700;
}

.secure-chip svg {
  color: #075ee5;
}

.ops-login-stage {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 86px 44px 58px;
  background: transparent;
}

.ops-system-pill {
  position: absolute;
  top: 24px;
  right: 30px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid #bfd4f3;
  border-radius: 999px;
  color: #075ee5;
  background: rgba(255, 255, 255, 0.64);
  font-weight: 900;
  text-transform: uppercase;
}

.ops-login-card {
  width: min(540px, 100%);
  display: grid;
  gap: 18px;
  padding: 46px 42px 34px;
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.ops-card-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.ops-card-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.ops-card-brand strong,
.ops-card-brand span,
.ops-card-brand small {
  display: block;
}

.ops-card-brand strong {
  color: #06114a;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.ops-card-brand span {
  margin-top: 3px;
  color: #075ee5;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.ops-card-brand small {
  margin-top: 8px;
  color: #30457c;
  font-size: 11px;
  font-weight: 800;
}

.ops-login-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.ops-login-head > span {
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: #075ee5;
}

.ops-login-head h1 {
  color: #07164a;
  font-size: 24px;
  font-weight: 900;
}

.ops-login-head p {
  color: #465b91;
  font-size: 16px;
}

.ops-role-block {
  display: grid;
  gap: 13px;
}

.ops-role-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ops-role-option {
  min-height: 122px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 14px 10px;
  border: 1px solid #d8e3f3;
  border-radius: 8px;
  color: #425482;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.ops-role-option svg {
  width: 38px;
  height: 38px;
}

.ops-role-option small {
  color: #536597;
  font-size: 12px;
  font-weight: 800;
}

.ops-role-option.active {
  color: var(--choice);
  border-color: var(--choice);
  background: color-mix(in srgb, var(--choice) 6%, #fff);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--choice) 12%, transparent);
}

.ops-role-option.active small {
  color: color-mix(in srgb, var(--choice) 70%, #536597);
}

.ops-field {
  display: grid;
  gap: 9px;
}

.ops-input-shell {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d8e3f3;
  border-radius: 8px;
  background: #fff;
  color: #6675a1;
}

.ops-input-shell:focus-within {
  border-color: var(--choice);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--choice) 13%, transparent);
}

.ops-input-shell input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #07164a;
  font-size: 14px;
  font-weight: 800;
}

.ops-input-shell .password-toggle {
  color: #6675a1;
}

.ops-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #07164a;
  font-size: 13px;
  font-weight: 800;
}

.ops-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ops-login-options input {
  width: 17px;
  min-height: 17px;
  accent-color: #075ee5;
}

.ops-submit {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1267ff, #075ee5);
  box-shadow: 0 20px 34px rgba(7, 94, 229, 0.26);
  font-size: 16px;
  font-weight: 900;
}

.ops-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  color: #6b7aa8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-divider::before,
.ops-divider::after {
  content: "";
  height: 1px;
  background: #d8e3f3;
}

.sso-login-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #1267ff;
  border-radius: 8px;
  color: #075ee5;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
}

.sso-login-button:hover {
  background: #f4f8ff;
}

.ops-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #6675a1;
  font-size: 13px;
  font-weight: 800;
}

.ops-secure-note svg {
  color: #6675a1;
}

.ops-login-copyright {
  position: absolute;
  bottom: 28px;
  color: #536597;
  font-size: 13px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  grid-column: span 6;
}

.field.full {
  grid-column: 1 / -1;
}

.field.third {
  grid-column: span 4;
}

.field.quarter {
  grid-column: span 3;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 274px minmax(0, 1fr);
}

.app-shell.sidebar-collapsed {
  grid-template-columns: 86px minmax(0, 1fr);
}

.portal-admin {
  --portal: #2563eb;
}

.portal-team {
  --portal: #047857;
}

.portal-client {
  --portal: #6d28d9;
}

.sidebar {
  min-height: 100vh;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0) 34%),
    var(--nav);
  color: #e5eefb;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-collapsed .sidebar {
  padding: 18px 12px;
}

.sidebar-collapsed .sidebar-brand {
  justify-content: center;
}

.sidebar-collapsed .sidebar-brand > div:last-child,
.sidebar-collapsed .nav button span:last-child,
.sidebar-collapsed .sidebar-footer {
  display: none;
}

.sidebar-collapsed .nav button {
  justify-content: center;
  padding: 0;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 12px;
}

.sidebar-brand h2 {
  color: #fff;
  font-size: 17px;
}

.sidebar-brand p {
  margin-top: 3px;
  color: #f5c84b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav {
  display: grid;
  gap: 6px;
}

.nav button {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  background: transparent;
  color: #dbeafe;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
  font-weight: 800;
}

.nav button.active,
.nav button:hover {
  background: color-mix(in srgb, var(--portal) 28%, rgba(255, 255, 255, 0.08));
  color: #fff;
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  color: #dbeafe;
}

.nav button.active .nav-icon {
  color: #fff;
}

.sidebar-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.sidebar-user {
  min-height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-user strong,
.topbar-user strong {
  display: block;
  color: inherit;
  font-size: 13px;
}

.sidebar-user small,
.topbar-user small {
  display: block;
  margin-top: 2px;
  color: #f4c542;
  font-size: 11px;
  font-weight: 800;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #0f172a);
  border: 2px solid rgba(255, 255, 255, 0.78);
  font-weight: 900;
}

.logout-button {
  width: 100%;
  justify-content: flex-start;
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  gap: 14px;
  padding: 22px 28px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-title h1 {
  margin-bottom: 5px;
}

.menu-btn {
  flex: 0 0 auto;
}

.topbar-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.search-box {
  width: min(360px, 28vw);
  min-width: 260px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: #64748b;
}

.search-box input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.topbar-user {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.topbar-user .avatar {
  width: 44px;
  height: 44px;
}

.topbar-user small {
  color: var(--muted);
}

.scope-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.scope-bar strong {
  display: block;
  margin-bottom: 2px;
}

.scope-bar span {
  color: var(--muted);
  font-size: 12px;
}

.filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.filters select,
.filters input {
  width: 190px;
  background: #fff;
}

.content {
  padding: 24px 28px 34px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.metric-strip,
.stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  gap: 16px;
}

.metric-card,
.stat,
.panel,
.modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.metric-card {
  min-height: 132px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.metric-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
}

.metric-card p {
  color: #334155;
  font-weight: 800;
}

.metric-card strong,
.stat strong {
  display: block;
  margin-top: 10px;
  color: #071225;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-card small,
.stat p {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tone-navy .metric-icon,
.tone-navy .alert-icon {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.tone-blue .metric-icon,
.tone-blue .alert-icon {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.tone-green .metric-icon,
.tone-green .alert-icon {
  background: linear-gradient(135deg, #34d399, #047857);
}

.tone-gold .metric-icon,
.tone-gold .alert-icon {
  background: linear-gradient(135deg, #fde68a, #d89b14);
}

.tone-purple .metric-icon,
.tone-purple .alert-icon {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
}

.tone-red .metric-icon,
.tone-red .alert-icon {
  background: linear-gradient(135deg, #fb7185, #dc2626);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(330px, 0.9fr) minmax(330px, 0.95fr);
  gap: 18px;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.panel {
  min-width: 0;
  overflow: hidden;
}

.panel-head {
  min-height: 64px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.panel-body {
  padding: 18px;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 4px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.green-dot::before {
  background: #10b981;
}

.blue-dot::before {
  background: #3b82f6;
}

.line-chart {
  width: 100%;
  min-height: 250px;
}

.grid-line {
  stroke: #e5eaf2;
  stroke-width: 1;
}

.area-green {
  fill: rgba(16, 185, 129, 0.14);
}

.area-blue {
  fill: rgba(59, 130, 246, 0.11);
}

.stroke-green,
.stroke-blue {
  fill: none;
  stroke-width: 4;
}

.stroke-green {
  stroke: #10b981;
}

.stroke-blue {
  stroke: #3b82f6;
}

.chart-labels text {
  fill: #64748b;
  font-size: 12px;
  text-anchor: middle;
}

.chart-summary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.chart-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f8fafc;
}

.chart-summary strong {
  color: var(--ink);
}

.donut-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
}

.donut {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--donut));
  position: relative;
}

.donut::after {
  content: "";
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut span {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 5px;
  text-align: center;
}

.donut strong {
  font-size: 22px;
}

.donut small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.donut-legend {
  display: grid;
  gap: 11px;
}

.donut-legend div {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 9px;
  color: #475569;
  font-size: 12px;
}

.donut-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.donut-legend strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.alert-list,
.movement-list {
  display: grid;
}

.alert-row,
.movement-row {
  min-height: 72px;
  display: grid;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.alert-row {
  grid-template-columns: 48px 1fr auto;
}

.movement-row {
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
}

.alert-row:last-child,
.movement-row:last-child {
  border-bottom: 0;
}

.alert-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
}

.alert-row strong,
.movement-row strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
}

.alert-row p,
.movement-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.alert-row small,
.movement-row small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.row-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--portal);
  background: color-mix(in srgb, var(--portal) 10%, #fff);
}

.pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.positive {
  color: #047857;
  background: #dcfce7;
}

.negative-pill {
  color: #b91c1c;
  background: #fee2e2;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
}

.quick-tile {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 9px;
  color: #0f172a;
  cursor: pointer;
}

.quick-tile span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--portal);
  background: color-mix(in srgb, var(--portal) 10%, #fff);
}

.quick-tile:hover {
  border-color: color-mix(in srgb, var(--portal) 38%, var(--line));
  box-shadow: var(--soft-shadow);
}

.stat {
  min-height: 112px;
  padding: 18px;
  display: grid;
  gap: 8px;
}

.stat.good {
  border-top: 4px solid var(--green);
}

.stat.warn {
  border-top: 4px solid var(--gold);
}

.stat.blue {
  border-top: 4px solid var(--blue);
}

.stat.danger-color {
  border-top: 4px solid var(--red);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
}

.progress {
  height: 9px;
  margin: 16px 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--portal), #14b8a6);
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 1;
}

tbody tr:hover {
  background: #fbfdff;
}

.numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 900;
  background: #edf2f7;
  color: #334155;
  white-space: nowrap;
}

.badge.inward,
.badge.return,
.badge.success {
  background: #dcfce7;
  color: #047857;
}

.badge.outward,
.badge.damage,
.badge.danger-status {
  background: #fee2e2;
  color: #b91c1c;
}

.badge.adjustment,
.badge.info-status {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.warning-status {
  background: #fef3c7;
  color: #a16207;
}

.badge.neutral-status {
  background: #f1f5f9;
  color: #64748b;
}

.negative {
  color: var(--red);
  font-weight: 900;
}

.low {
  color: var(--gold);
  font-weight: 900;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.toolbar input {
  width: min(380px, 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.empty {
  padding: 30px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: 380px;
  z-index: 20;
  border-radius: 8px;
  padding: 13px 15px;
  background: #0f172a;
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.error {
  background: #991b1b;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.44);
}

.modal-card {
  width: min(820px, 100%);
  max-height: min(780px, 92vh);
  overflow: auto;
}

.modal-card .panel-head {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.audit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.audit-row:last-child {
  border-bottom: 0;
}

.audit-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.muted-box {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.topbar-user {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.utility-card {
  width: min(760px, 100%);
}

.utility-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.alert-list.expanded {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.alert-list.expanded .alert-row {
  padding: 12px;
}

.compact-form {
  margin-bottom: 16px;
}

.utility-list {
  display: grid;
  gap: 10px;
}

.message-row {
  min-height: 66px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.message-row > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--portal);
  background: color-mix(in srgb, var(--portal) 9%, #fff);
}

.message-row p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.profile-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  margin-bottom: 16px;
}

.large-avatar {
  width: 58px;
  height: 58px;
}

.utility-grid {
  margin-bottom: 16px;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sku-entry-list {
  display: grid;
  gap: 10px;
}

.sku-entry-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(92px, 120px));
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sku-entry-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.sku-entry-row label {
  display: grid;
  gap: 5px;
}

.sku-entry-row span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.sku-entry-row input {
  min-height: 38px;
}

.line-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.line-list-head label {
  font-weight: 800;
}

.sku-entry-row.inward-line-row {
  grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(98px, 0.7fr)) auto;
}

.sku-entry-row.inward-line-row .sku-product-field {
  grid-column: span 2;
}

.sku-entry-row.inward-line-row .sku-manufacturing-field {
  grid-column: span 3;
}

.sku-entry-row:not(.inward-line-row) {
  grid-template-columns: minmax(230px, 1fr) repeat(3, minmax(96px, 130px)) auto;
}

.sku-entry-row input,
.sku-entry-row select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}

.sku-entry-row select {
  min-width: 0;
}

.shelf-life-preview {
  align-self: stretch;
  min-height: 38px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
}

.shelf-life-preview strong {
  color: #075985;
  font-size: 12px;
}

.shelf-life-preview span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.shelf-life-meter {
  width: min(132px, 100%);
  height: 6px;
  margin: 6px 0 3px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.shelf-life-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.shelf-life-meter.warning-status span {
  background: var(--gold);
}

.shelf-life-meter.danger-status span {
  background: var(--red);
}

.readonly-input {
  color: #334155;
  background: #f8fafc;
  cursor: default;
}

.inline-create-form {
  align-items: end;
}

.threshold-list {
  display: grid;
  gap: 10px;
}

.threshold-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px auto;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.threshold-row strong,
.threshold-row span {
  display: block;
}

.threshold-row label {
  display: grid;
  gap: 5px;
}

.data-reset-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #f0d5d8;
  border-radius: 8px;
  background: #fff8f8;
}

.data-reset-panel strong,
.data-reset-panel span {
  display: block;
}

.data-reset-panel strong {
  color: #8f2631;
  font-size: 14px;
  font-weight: 720;
}

.data-reset-panel span {
  margin-top: 4px;
}

.settings-access {
  display: grid;
  gap: 18px;
}

.access-user-form select[multiple] {
  min-height: 132px;
}

.access-checklist-panel .panel-body {
  display: grid;
  gap: 14px;
}

.access-table-wrap {
  max-height: 520px;
}

.access-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
}

.access-table td:first-child,
.access-table th:first-child {
  min-width: 210px;
}

.access-table select {
  min-width: 118px;
}

.access-form-footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.reset-progress,
.reset-result,
.confirm-warning {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dbe3e7;
  border-radius: 8px;
  background: #f8fafc;
}

.reset-result {
  display: grid;
  align-items: start;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.reset-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.reset-counts span {
  padding: 8px;
  border: 1px solid #dbe3e7;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 12px;
}

.reset-counts b {
  display: block;
  color: #0f172a;
  font-size: 15px;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

.confirm-card {
  max-width: 520px;
}

.confirm-body {
  display: grid;
  gap: 16px;
}

.confirm-warning {
  align-items: flex-start;
  margin-top: 0;
  border-color: #fecdd3;
  background: #fff7f7;
}

.confirm-warning span {
  color: #b91c1c;
}

.confirm-warning strong,
.confirm-warning p {
  display: block;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.danger-primary {
  background: #b91c1c;
  border-color: #b91c1c;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.danger-action {
  border-color: #f0c8cd;
  color: #a62d38;
  background: #ffffff;
}

.remove-sku-row {
  align-self: end;
}

.remove-sku-row:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 1220px) {
  .sku-entry-row.inward-line-row,
  .sku-entry-row {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .sku-entry-row.inward-line-row .sku-product-field,
  .sku-entry-row.inward-line-row .sku-manufacturing-field {
    grid-column: 1 / -1;
  }

  .remove-sku-row {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .sku-entry-row.inward-line-row,
  .sku-entry-row,
  .threshold-row {
    grid-template-columns: 1fr;
  }

  .data-reset-panel,
  .access-form-footer,
  .confirm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .data-reset-panel {
    grid-template-columns: 1fr;
  }

  .reset-counts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .confirm-actions button {
    width: 100%;
  }
}

@media (max-width: 1360px) {
  .metric-strip,
  .stats {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .dashboard-grid,
  .dashboard-lower {
    grid-template-columns: 1fr 1fr;
  }

  .alerts-panel,
  .quick-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 560px;
    padding: 40px 34px;
  }

  .ops-login-stage {
    min-height: auto;
    padding: 42px 24px;
  }

  .login-canvas {
    grid-template-columns: 1fr;
  }

  .login-showcase {
    min-height: 760px;
  }

  .login-panel-stack {
    grid-template-columns: 1fr;
  }

  .portal-picker-card {
    width: min(520px, calc(100% - 420px));
  }
}

@media (max-width: 1080px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell.sidebar-collapsed {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    min-height: auto;
    height: auto;
    z-index: 5;
    padding: 12px;
    gap: 12px;
  }

  .sidebar-brand,
  .sidebar-footer {
    display: none;
  }

  .nav {
    grid-template-columns: repeat(6, minmax(42px, 1fr));
  }

  .nav button {
    justify-content: center;
    padding: 0;
  }

  .nav button span:last-child {
    display: none;
  }

  .topbar {
    top: 68px;
  }

  .topbar-main,
  .scope-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-tools {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .filters,
  .filters select {
    width: 100%;
  }

  .dashboard-grid,
  .dashboard-lower,
  .split {
    grid-template-columns: 1fr;
  }

  .alerts-panel,
  .quick-panel {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 13px;
  }

  .login-shell,
  .content,
  .topbar {
    padding: 14px;
  }

  .login-showcase {
    min-height: auto;
    padding: 24px;
    display: grid;
    gap: 22px;
  }

  .login-wordmark {
    width: 210px;
    height: 128px;
  }

  .showcase-copy {
    margin-top: 0;
  }

  .showcase-copy h1,
  h1 {
    font-size: 24px;
  }

  .portal-picker-card,
  .trust-strip {
    position: static;
    width: 100%;
  }

  .portal-picker-card {
    padding: 20px;
  }

  .picker-head h2 {
    font-size: 22px;
  }

  .portal-choice {
    grid-template-columns: 62px 1fr 22px;
    min-height: 92px;
    padding: 14px;
    gap: 12px;
  }

  .portal-choice-icon {
    width: 58px;
    height: 58px;
  }

  .portal-choice strong {
    font-size: 16px;
  }

  .portal-choice small {
    font-size: 12px;
    line-height: 1.4;
  }

  .warehouse-visual {
    position: relative;
    height: 280px;
    margin: 0 -24px;
  }

  .warehouse-building {
    left: 24px;
    width: 286px;
    height: 132px;
  }

  .warehouse-door {
    left: 248px;
    width: 70px;
    height: 86px;
  }

  .truck-body {
    left: 100px;
    width: 132px;
    height: 62px;
  }

  .truck-cabin {
    left: 226px;
    width: 58px;
    height: 54px;
  }

  .forklift,
  .box-stack.two,
  .building-logo,
  .warehouse-building strong {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip span:last-child {
    border-bottom: 0;
  }

  .role-login-card {
    grid-template-columns: 1fr;
  }

  .role-login-card::before {
    display: none;
  }

  .role-art {
    min-height: 170px;
  }

  .portal-login-form {
    padding: 24px;
  }

  .role-login-head h2 {
    font-size: 22px;
  }

  .login-options-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-strip,
  .stats,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 112px;
  }

  .topbar-user {
    display: none;
  }

  .round-btn,
  .menu-btn {
    width: 40px;
    height: 40px;
  }

  .donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .movement-row {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .movement-row .pill,
  .movement-row small {
    justify-self: start;
    margin-left: 42px;
  }

  .alert-row {
    grid-template-columns: 44px 1fr;
  }

  .alert-row small {
    grid-column: 2;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .sku-entry-row,
  .message-row {
    grid-template-columns: 1fr;
  }

  .field,
  .field.third,
  .field.quarter {
    grid-column: 1 / -1;
  }

  .panel-head,
  .toolbar,
  .audit-row {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  table {
    min-width: 760px;
  }
}

@media (max-width: 1180px) {
  .simple-login-layout {
    grid-template-columns: 1fr;
  }

  .simple-brand-panel {
    min-height: auto;
    padding: 36px 28px;
  }

  .simple-warehouse-card {
    min-height: 250px;
  }

  .simple-login-main {
    min-height: auto;
    padding: 42px 28px 28px;
  }
}

@media (max-width: 900px) {
  .ops-copy h1 {
    font-size: 38px;
  }

  .ops-feature-stack {
    grid-template-columns: 1fr 1fr;
  }

  .ops-feature-stack div {
    max-width: none;
  }

  .simple-portal-grid {
    grid-template-columns: 1fr;
  }

  .simple-login .role-login-head p {
    min-height: 0;
  }

  .simple-support-strip {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .simple-support-strip > div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid #dbe7f4;
  }

  .simple-support-strip > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .ops-login-showcase {
    min-height: auto;
    gap: 34px;
    padding: 30px 20px;
  }

  .ops-brand-lockup strong {
    font-size: 19px;
  }

  .ops-copy h1 {
    font-size: 31px;
  }

  .ops-copy p {
    font-size: 14px;
  }

  .ops-feature-stack {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ops-login-stage {
    padding: 20px;
  }

  .ops-login-card {
    padding: 30px 18px 24px;
  }

  .ops-role-switch {
    grid-template-columns: 1fr;
  }

  .ops-role-option {
    min-height: 54px;
    display: flex;
    justify-content: center;
  }

  .ops-login-options {
    align-items: flex-start;
    flex-direction: column;
  }

  .simple-brand-panel {
    padding: 28px 18px;
    gap: 18px;
  }

  .simple-login-logo {
    width: 210px;
    height: 140px;
  }

  .simple-brand-top h1,
  .simple-login-head h1 {
    font-size: 27px;
  }

  .simple-brand-top p,
  .simple-login-head p {
    font-size: 14px;
  }

  .simple-warehouse-card {
    min-height: 210px;
  }

  .simple-warehouse-roof {
    left: 22px;
    right: 22px;
    bottom: 94px;
  }

  .simple-warehouse-box {
    left: 34px;
    right: 34px;
    bottom: 44px;
    height: 96px;
  }

  .simple-warehouse-box span,
  .simple-warehouse-box strong {
    display: none;
  }

  .simple-truck {
    left: 52px;
    bottom: 24px;
    width: 132px;
    height: 52px;
  }

  .simple-trust-row {
    grid-template-columns: 1fr;
  }

  .simple-trust-row span {
    border-right: 0;
    border-bottom: 1px solid #dbe7f4;
  }

  .simple-trust-row span:last-child {
    border-bottom: 0;
  }

  .simple-login-main {
    padding: 34px 16px 22px;
    gap: 22px;
  }

  .simple-login .portal-login-form {
    padding: 26px 18px 22px;
  }

  .simple-card-icon {
    width: 88px;
    height: 88px;
  }

  .login-options-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1180px) {
  .ops-login,
  .login-shell.ops-login {
    padding: 0;
  }

  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 760px;
    padding: 36px 28px 260px;
  }

  .ops-india-map {
    left: 36%;
    top: 11%;
    width: 56%;
    height: 66%;
  }

  .ops-feature-cards {
    width: min(520px, 100%);
  }

  .ops-warehouse-scene {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 18px;
  }

  .ops-login-stage {
    min-height: auto;
    padding: 98px 24px 58px;
  }
}

@media (max-width: 820px) {
  .ops-login-showcase {
    min-height: auto;
    padding: 28px 20px;
    gap: 24px;
  }

  .ops-india-map {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 420px;
    order: 3;
  }

  .ops-feature-cards {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    order: 4;
  }

  .ops-warehouse-scene {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    min-height: 190px;
    order: 5;
  }

  .scene-warehouse {
    left: -26px;
    width: 280px;
  }

  .scene-truck {
    left: 190px;
    width: 220px;
  }

  .secure-chip {
    left: 0;
  }

  .ops-system-pill {
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 620px) {
  .ops-brand-mark {
    width: 62px;
    height: 62px;
  }

  .ops-brand-lockup strong {
    font-size: 26px;
  }

  .ops-brand-lockup span {
    font-size: 20px;
  }

  .ops-copy h1 {
    font-size: 31px;
  }

  .ops-copy p {
    font-size: 15px;
  }

  .ops-india-map {
    height: 330px;
  }

  .map-pin {
    font-size: 10px;
    gap: 5px;
  }

  .map-pin i {
    width: 14px;
    height: 19px;
  }

  .ops-feature-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ops-feature-cards article {
    min-height: 96px;
  }

  .ops-warehouse-scene {
    min-height: 165px;
    overflow: hidden;
  }

  .scene-warehouse {
    left: -42px;
    width: 245px;
    height: 124px;
  }

  .scene-warehouse span,
  .scene-warehouse strong,
  .scene-warehouse small {
    display: none;
  }

  .scene-truck {
    left: 148px;
    width: 190px;
    height: 76px;
  }

  .truck-mark,
  .scene-truck strong {
    display: none;
  }

  .secure-chip {
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
  }

  .ops-login-stage {
    padding: 84px 14px 42px;
  }

  .ops-system-pill {
    left: 14px;
    right: 14px;
    justify-content: center;
  }

  .ops-login-card {
    padding: 30px 18px 24px;
    border-radius: 16px;
  }

  .ops-card-brand strong {
    font-size: 22px;
  }

  .ops-card-brand span {
    font-size: 18px;
  }

  .ops-role-switch {
    grid-template-columns: 1fr;
  }

  .ops-role-option {
    min-height: 64px;
    display: grid;
    grid-template-columns: 34px 1fr;
    justify-items: start;
    text-align: left;
  }

  .ops-role-option small {
    grid-column: 2;
    margin-top: -10px;
  }

  .ops-login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final login reference pass: keep this at the end so it wins older experiments. */
.ops-login,
.login-shell.ops-login {
  overflow: hidden;
  color: #07164a;
  background:
    radial-gradient(circle at 42% 42%, rgba(147, 197, 253, 0.24), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
}

.ops-login-layout {
  grid-template-columns: minmax(0, 62%) minmax(460px, 38%);
  min-height: 100vh;
}

.ops-login-showcase {
  padding: 38px 34px 24px 44px;
}

.ops-brand-lockup {
  align-items: flex-start;
  gap: 18px;
}

.ops-brand-mark {
  width: 74px;
  height: 74px;
}

.ops-brand-lockup strong {
  font-size: 32px;
}

.ops-brand-lockup span {
  font-size: 24px;
}

.ops-brand-lockup small {
  margin-top: 17px;
  font-size: 13px;
}

.ops-copy {
  z-index: 4;
  width: 410px;
  max-width: 410px;
  margin-top: 50px;
}

.ops-copy h1 {
  font-size: 38px;
  line-height: 1.28;
}

.ops-copy i {
  margin: 22px 0 21px;
}

.ops-copy p {
  max-width: 370px;
  font-size: 16px;
  line-height: 1.55;
}

.ops-india-map {
  left: 40%;
  top: 8%;
  width: 61%;
  height: 78%;
  z-index: 1;
  opacity: 0.96;
}

.india-shape {
  filter: drop-shadow(0 22px 34px rgba(37, 99, 235, 0.15));
}

.india-body {
  stroke-width: 3.4;
}

.india-network path {
  stroke-width: 1.9;
}

.map-pin {
  gap: 7px;
  font-size: 13px;
}

.map-pin i {
  width: 17px;
  height: 23px;
}

.map-pin.delhi { left: 42%; top: 22%; }
.map-pin.noida { left: 52%; top: 28%; }
.map-pin.gurgaon { left: 31%; top: 38%; }
.map-pin.ahmedabad { left: 14%; top: 54%; }
.map-pin.mumbai { left: 22%; top: 59%; }
.map-pin.pune { left: 29%; top: 65%; }
.map-pin.hyderabad { left: 55%; top: 69%; }
.map-pin.bengaluru { left: 36%; top: 80%; }
.map-pin.chennai { left: 68%; top: 84%; }
.map-pin.vizag { left: 73%; top: 64%; }

.ops-feature-cards {
  left: 42px;
  top: 418px;
  bottom: auto;
  z-index: 3;
  width: min(430px, 48%);
  gap: 14px;
}

.ops-feature-cards article {
  min-height: 106px;
  padding: 14px 8px;
}

.ops-feature-cards article svg {
  width: 28px;
  height: 28px;
}

.ops-feature-cards strong {
  font-size: 10px;
  line-height: 1.32;
}

.ops-warehouse-scene {
  z-index: 2;
  height: 205px;
}

.scene-warehouse {
  left: -10px;
  bottom: 26px;
  width: 360px;
  height: 132px;
}

.scene-warehouse::before {
  top: -22px;
  height: 28px;
}

.scene-warehouse::after {
  left: 34px;
  width: 70px;
  height: 68px;
}

.scene-warehouse span {
  left: 126px;
  top: 38px;
}

.scene-warehouse strong {
  left: 178px;
  top: 40px;
  font-size: 18px;
}

.scene-warehouse small {
  left: 178px;
  top: 86px;
}

.scene-truck {
  left: 278px;
  bottom: 14px;
  width: 270px;
  height: 92px;
}

.secure-chip {
  left: 34px;
  bottom: 12px;
  min-height: 56px;
}

.ops-login-stage {
  padding: 72px 32px 40px;
}

.ops-system-pill {
  top: 24px;
  right: 28px;
  min-height: 42px;
}

.ops-login-card {
  width: min(540px, 100%);
}

.ops-login-copyright {
  bottom: 14px;
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-copy {
    margin-top: 62px;
  }

  .ops-feature-cards {
    top: 505px;
  }

  .ops-warehouse-scene {
    height: 300px;
  }

  .scene-warehouse {
    bottom: 38px;
    width: 420px;
    height: 172px;
  }

  .scene-truck {
    left: 330px;
    bottom: 24px;
    width: 330px;
    height: 112px;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-copy {
    width: 390px;
    max-width: 390px;
    margin-top: 42px;
  }

  .ops-copy h1 {
    font-size: 35px;
    line-height: 1.22;
  }

  .ops-copy i {
    margin: 18px 0 17px;
  }

  .ops-copy p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.48;
  }

  .ops-india-map {
    left: 44%;
    top: 7%;
    width: 55%;
    height: 76%;
  }

  .ops-feature-cards {
    top: 414px;
    width: min(390px, 46%);
    gap: 10px;
  }

  .ops-feature-cards article {
    min-height: 88px;
    padding: 10px 7px;
  }

  .ops-feature-cards article svg {
    width: 24px;
    height: 24px;
  }

  .ops-feature-cards strong {
    font-size: 9px;
  }

  .ops-warehouse-scene {
    height: 174px;
  }

  .scene-warehouse {
    bottom: 22px;
    width: 335px;
    height: 118px;
  }

  .scene-warehouse span,
  .scene-warehouse strong,
  .scene-warehouse small {
    transform: scale(0.88);
    transform-origin: left top;
  }

  .scene-truck {
    left: 256px;
    bottom: 10px;
    width: 240px;
    height: 80px;
  }

  .secure-chip {
    min-height: 48px;
    padding: 8px 14px;
    font-size: 11px;
  }

  .ops-login-stage {
    padding: 52px 26px 24px;
  }

  .ops-system-pill {
    top: 18px;
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  .ops-login-card {
    gap: 8px;
    padding: 20px 30px 18px;
    border-radius: 24px;
  }

  .ops-card-brand {
    gap: 12px;
  }

  .ops-card-logo {
    width: 44px;
    height: 44px;
  }

  .ops-card-brand strong {
    font-size: 20px;
  }

  .ops-card-brand span {
    font-size: 17px;
  }

  .ops-card-brand small {
    margin-top: 4px;
    font-size: 9px;
  }

  .ops-login-head {
    gap: 6px;
  }

  .ops-login-head > span {
    width: 34px;
  }

  .ops-login-head h1 {
    font-size: 19px;
  }

  .ops-login-head p {
    font-size: 13px;
  }

  .ops-role-block {
    gap: 7px;
  }

  .ops-role-switch {
    gap: 9px;
  }

  .ops-role-option {
    min-height: 76px;
    gap: 4px;
    padding: 8px 8px;
    font-size: 12px;
  }

  .ops-role-option svg {
    width: 24px;
    height: 24px;
  }

  .ops-role-option small {
    font-size: 10px;
  }

  .ops-field {
    gap: 5px;
  }

  .ops-input-shell {
    min-height: 40px;
    padding: 0 14px;
  }

  .ops-login-options {
    font-size: 12px;
  }

  .ops-submit {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .ops-divider {
    gap: 12px;
    font-size: 11px;
  }

  .sso-login-button {
    min-height: 40px;
    font-size: 13px;
  }

  .ops-secure-note {
    font-size: 11px;
  }

  .ops-login-copyright {
    display: none;
  }
}

@media (max-width: 1180px) {
  .ops-login,
  .login-shell.ops-login {
    overflow: auto;
  }

  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 760px;
  }

  .ops-login-stage {
    min-height: 760px;
  }
}

/* Reference-led login page correction */
.ops-login,
.login-shell.ops-login {
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 42%, rgba(147, 197, 253, 0.24), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
}

.ops-login-layout {
  grid-template-columns: minmax(0, 62%) minmax(460px, 38%);
  min-height: 100vh;
}

.ops-login-showcase {
  padding: 38px 34px 24px 44px;
}

.ops-brand-lockup {
  align-items: flex-start;
  gap: 18px;
}

.ops-brand-mark {
  width: 74px;
  height: 74px;
}

.ops-brand-lockup strong {
  font-size: 32px;
}

.ops-brand-lockup span {
  font-size: 24px;
}

.ops-brand-lockup small {
  margin-top: 17px;
  font-size: 13px;
}

.ops-copy {
  z-index: 4;
  width: 410px;
  max-width: 410px;
  margin-top: 50px;
}

.ops-copy h1 {
  font-size: 38px;
  line-height: 1.28;
}

.ops-copy i {
  margin: 22px 0 21px;
}

.ops-copy p {
  max-width: 370px;
  font-size: 16px;
  line-height: 1.55;
}

.ops-india-map {
  left: 40%;
  top: 8%;
  width: 61%;
  height: 78%;
  z-index: 1;
  opacity: 0.96;
}

.india-shape {
  filter: drop-shadow(0 22px 34px rgba(37, 99, 235, 0.15));
}

.india-body {
  stroke-width: 3.4;
}

.india-network path {
  stroke-width: 1.9;
}

.map-pin {
  gap: 7px;
  font-size: 13px;
}

.map-pin i {
  width: 17px;
  height: 23px;
}

.map-pin.delhi { left: 42%; top: 22%; }
.map-pin.noida { left: 52%; top: 28%; }
.map-pin.gurgaon { left: 31%; top: 38%; }
.map-pin.ahmedabad { left: 14%; top: 54%; }
.map-pin.mumbai { left: 22%; top: 59%; }
.map-pin.pune { left: 29%; top: 65%; }
.map-pin.hyderabad { left: 55%; top: 69%; }
.map-pin.bengaluru { left: 36%; top: 80%; }
.map-pin.chennai { left: 68%; top: 84%; }
.map-pin.vizag { left: 73%; top: 64%; }

.ops-feature-cards {
  left: 42px;
  top: 418px;
  bottom: auto;
  z-index: 3;
  width: min(430px, 48%);
  gap: 14px;
}

.ops-feature-cards article {
  min-height: 106px;
  padding: 14px 8px;
}

.ops-feature-cards article svg {
  width: 28px;
  height: 28px;
}

.ops-feature-cards strong {
  font-size: 10px;
  line-height: 1.32;
}

.ops-warehouse-scene {
  z-index: 2;
  height: 205px;
}

.scene-warehouse {
  left: -10px;
  bottom: 26px;
  width: 360px;
  height: 132px;
}

.scene-warehouse::before {
  top: -22px;
  height: 28px;
}

.scene-warehouse::after {
  left: 34px;
  width: 70px;
  height: 68px;
}

.scene-warehouse span {
  left: 126px;
  top: 38px;
}

.scene-warehouse strong {
  left: 178px;
  top: 40px;
  font-size: 18px;
}

.scene-warehouse small {
  left: 178px;
  top: 86px;
}

.scene-truck {
  left: 278px;
  bottom: 14px;
  width: 270px;
  height: 92px;
}

.secure-chip {
  left: 34px;
  bottom: 12px;
  min-height: 56px;
}

.ops-login-stage {
  padding: 72px 32px 40px;
}

.ops-system-pill {
  top: 24px;
  right: 28px;
  min-height: 42px;
}

.ops-login-card {
  width: min(540px, 100%);
}

.ops-login-copyright {
  bottom: 14px;
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-copy {
    margin-top: 62px;
  }

  .ops-feature-cards {
    top: 505px;
  }

  .ops-warehouse-scene {
    height: 300px;
  }

  .scene-warehouse {
    bottom: 38px;
    width: 420px;
    height: 172px;
  }

  .scene-truck {
    left: 330px;
    bottom: 24px;
    width: 330px;
    height: 112px;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-copy {
    width: 390px;
    max-width: 390px;
    margin-top: 42px;
  }

  .ops-copy h1 {
    font-size: 35px;
    line-height: 1.22;
  }

  .ops-copy i {
    margin: 18px 0 17px;
  }

  .ops-copy p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.48;
  }

  .ops-india-map {
    left: 42%;
    top: 7%;
    width: 58%;
    height: 76%;
  }

  .ops-feature-cards {
    top: 390px;
    width: min(390px, 46%);
    gap: 10px;
  }

  .ops-feature-cards article {
    min-height: 88px;
    padding: 10px 7px;
  }

  .ops-feature-cards article svg {
    width: 24px;
    height: 24px;
  }

  .ops-feature-cards strong {
    font-size: 9px;
  }

  .ops-warehouse-scene {
    height: 174px;
  }

  .scene-warehouse {
    bottom: 22px;
    width: 335px;
    height: 118px;
  }

  .scene-warehouse span,
  .scene-warehouse strong,
  .scene-warehouse small {
    transform: scale(0.88);
    transform-origin: left top;
  }

  .scene-truck {
    left: 256px;
    bottom: 10px;
    width: 240px;
    height: 80px;
  }

  .secure-chip {
    min-height: 48px;
    padding: 8px 14px;
    font-size: 11px;
  }

  .ops-login-stage {
    padding: 52px 26px 24px;
  }

  .ops-system-pill {
    top: 18px;
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  .ops-login-card {
    gap: 8px;
    padding: 20px 30px 18px;
    border-radius: 24px;
  }

  .ops-card-brand {
    gap: 12px;
  }

  .ops-card-logo {
    width: 44px;
    height: 44px;
  }

  .ops-card-brand strong {
    font-size: 20px;
  }

  .ops-card-brand span {
    font-size: 17px;
  }

  .ops-card-brand small {
    margin-top: 4px;
    font-size: 9px;
  }

  .ops-login-head {
    gap: 6px;
  }

  .ops-login-head > span {
    width: 34px;
  }

  .ops-login-head h1 {
    font-size: 19px;
  }

  .ops-login-head p {
    font-size: 13px;
  }

  .ops-role-block {
    gap: 7px;
  }

  .ops-role-switch {
    gap: 9px;
  }

  .ops-role-option {
    min-height: 76px;
    gap: 4px;
    padding: 8px 8px;
    font-size: 12px;
  }

  .ops-role-option svg {
    width: 24px;
    height: 24px;
  }

  .ops-role-option small {
    font-size: 10px;
  }

  .ops-field {
    gap: 5px;
  }

  .ops-input-shell {
    min-height: 40px;
    padding: 0 14px;
  }

  .ops-login-options {
    font-size: 12px;
  }

  .ops-submit {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .ops-divider {
    gap: 12px;
    font-size: 11px;
  }

  .sso-login-button {
    min-height: 40px;
    font-size: 13px;
  }

  .ops-secure-note {
    font-size: 11px;
  }

  .ops-login-copyright {
    display: none;
  }
}

@media (max-width: 1180px) {
  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 760px;
  }

  .ops-login-stage {
    min-height: 760px;
  }
}

.ops-login,
.login-shell.ops-login {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  color: #07164a;
  background:
    radial-gradient(circle at 42% 34%, rgba(37, 99, 235, 0.15), transparent 34%),
    linear-gradient(135deg, #fbfdff 0%, #eff8ff 52%, #ffffff 100%);
}

.ops-login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(720px, 61.8%) minmax(470px, 38.2%);
  background:
    radial-gradient(circle at 38% 43%, rgba(96, 165, 250, 0.2), transparent 36%),
    linear-gradient(135deg, #fbfdff 0%, #eef7ff 55%, #ffffff 100%);
}

.ops-login-showcase {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: block;
  padding: 38px 38px 26px 44px;
  color: #07164a;
  background: transparent;
}

.ops-login-showcase::before {
  content: "";
  position: absolute;
  left: -7%;
  right: -4%;
  bottom: -2px;
  height: 29%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(182, 211, 238, 0.68)),
    linear-gradient(90deg, transparent 0 16%, rgba(113, 134, 163, 0.2) 16.2% 16.5%, transparent 16.8% 100%);
  clip-path: polygon(0 48%, 12% 42%, 21% 47%, 33% 38%, 43% 48%, 54% 37%, 65% 48%, 76% 36%, 88% 45%, 100% 34%, 100% 100%, 0 100%);
  opacity: 0.85;
  z-index: 0;
}

.ops-login-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 38%, rgba(255, 255, 255, 0.96) 0 2px, transparent 3px) 0 0 / 56px 56px,
    radial-gradient(circle at 47% 45%, rgba(255, 255, 255, 0.58), transparent 44%);
  opacity: 0.54;
  pointer-events: none;
  z-index: 0;
}

.ops-brand-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ops-brand-mark {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.ops-brand-lockup strong,
.ops-brand-lockup span,
.ops-brand-lockup small {
  display: block;
}

.ops-brand-lockup strong {
  color: #06114a;
  font-size: 33px;
  line-height: 1;
  font-weight: 900;
}

.ops-brand-lockup span {
  margin-top: 4px;
  color: #075ee5;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.ops-brand-lockup small {
  margin-top: 18px;
  color: #07164a;
  font-size: 14px;
  font-weight: 800;
}

.ops-copy {
  position: relative;
  z-index: 2;
  width: 440px;
  max-width: 440px;
  margin-top: 58px;
}

.ops-copy h1 {
  color: #07164a;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
}

.ops-copy h1 span {
  color: #075ee5;
}

.ops-copy i {
  display: block;
  width: 58px;
  height: 4px;
  margin: 24px 0 22px;
  border-radius: 999px;
  background: #075ee5;
}

.ops-copy p {
  max-width: 380px;
  margin: 0;
  color: #30457c;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 600;
}

.ops-india-map {
  position: absolute;
  left: 28%;
  top: 8%;
  width: 69%;
  height: 77%;
  z-index: 1;
  pointer-events: none;
}

.india-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: none;
  clip-path: none;
  filter: drop-shadow(0 20px 32px rgba(37, 99, 235, 0.16));
  opacity: 1;
}

.india-body {
  fill: url(#indiaGlow);
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 4;
}

.india-texture {
  fill: url(#indiaDots);
  opacity: 0.7;
}

.india-network path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.india-nodes circle {
  fill: #fff;
  stroke: rgba(147, 197, 253, 0.8);
  stroke-width: 1.2;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #07164a;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.map-pin i {
  width: 18px;
  height: 24px;
  display: inline-block;
  border-radius: 14px 14px 14px 2px;
  background: #075ee5;
  transform: rotate(-45deg);
  box-shadow: 0 9px 18px rgba(7, 94, 229, 0.24);
}

.map-pin i::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.map-pin strong {
  transform: translateY(1px);
}

.map-pin.delhi { left: 42%; top: 21%; }
.map-pin.noida { left: 51%; top: 27%; }
.map-pin.gurgaon { left: 26%; top: 36%; }
.map-pin.ahmedabad { left: 13%; top: 54%; }
.map-pin.mumbai { left: 21%; top: 58%; }
.map-pin.pune { left: 27%; top: 64%; }
.map-pin.hyderabad { left: 55%; top: 68%; }
.map-pin.bengaluru { left: 36%; top: 80%; }
.map-pin.chennai { left: 68%; top: 83%; }
.map-pin.vizag { left: 74%; top: 64%; }

.ops-feature-cards {
  position: absolute;
  left: 42px;
  bottom: 295px;
  z-index: 2;
  width: min(430px, 45%);
  display: grid;
  grid-template-columns: repeat(4, minmax(78px, 1fr));
  gap: 14px;
}

.ops-feature-cards article {
  min-height: 128px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 16px 9px;
  border: 1px solid rgba(191, 219, 254, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #075ee5;
  text-align: center;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(9px);
}

.ops-feature-cards strong {
  color: #07164a;
  font-size: 11px;
  line-height: 1.35;
}

.ops-warehouse-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 270px;
}

.scene-warehouse {
  position: absolute;
  left: -8px;
  bottom: 22px;
  width: 335px;
  height: 152px;
  border: 2px solid #93c5fd;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px) 0 0 / 58px 100%,
    linear-gradient(180deg, #ffffff, #dbeafe);
  box-shadow: 0 20px 38px rgba(30, 64, 175, 0.14);
}

.scene-warehouse::before {
  content: "";
  position: absolute;
  left: -18px;
  right: -12px;
  top: -24px;
  height: 30px;
  background: #2f7adf;
  transform: skewX(-22deg);
}

.scene-warehouse::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 0;
  width: 72px;
  height: 78px;
  background: #075ee5;
  box-shadow:
    96px 16px 0 -18px #c08428,
    130px 24px 0 -22px #c08428,
    164px 37px 0 -22px #c08428;
}

.scene-warehouse span {
  position: absolute;
  left: 132px;
  top: 42px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  z-index: 1;
}

.scene-mark {
  width: 42px;
  height: 42px;
}

.scene-warehouse strong,
.scene-warehouse small {
  position: absolute;
  left: 184px;
  z-index: 1;
}

.scene-warehouse strong {
  top: 45px;
  color: #07164a;
  font-size: 18px;
  line-height: 1.05;
}

.scene-warehouse small {
  top: 91px;
  color: #07164a;
  font-size: 11px;
  font-weight: 800;
}

.scene-truck {
  position: absolute;
  left: 250px;
  bottom: 12px;
  width: 270px;
  height: 98px;
  border: 2px solid #94a3b8;
  border-radius: 8px 22px 4px 4px;
  background: linear-gradient(90deg, #ffffff 0 62%, #dbeafe 62%);
  box-shadow: 0 22px 34px rgba(15, 23, 42, 0.16);
}

.scene-truck::before,
.scene-truck::after {
  content: "";
  position: absolute;
  bottom: -18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111827;
  box-shadow: inset 0 0 0 9px #64748b;
}

.scene-truck::before {
  left: 39px;
}

.scene-truck::after {
  right: 34px;
}

.truck-mark {
  position: absolute;
  left: 30px;
  top: 24px;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.scene-truck strong {
  position: absolute;
  left: 74px;
  top: 25px;
  color: #07164a;
  font-size: 15px;
  line-height: 1.05;
}

.secure-chip {
  position: absolute;
  left: 32px;
  bottom: 18px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border-radius: 8px;
  color: #30457c;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(30, 64, 175, 0.1);
  font-weight: 700;
}

.secure-chip svg {
  color: #075ee5;
}

.ops-login-stage {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: start center;
  align-content: start;
  padding: 74px 32px 58px;
  background: transparent;
}

.ops-system-pill {
  position: absolute;
  top: 24px;
  right: 30px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid #bfd4f3;
  border-radius: 999px;
  color: #075ee5;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-login-card {
  width: min(540px, 100%);
  display: grid;
  gap: 13px;
  padding: 34px 36px 28px;
  border: 0;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.ops-card-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: left;
}

.ops-card-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.ops-card-brand strong,
.ops-card-brand span,
.ops-card-brand small {
  display: block;
}

.ops-card-brand strong {
  color: #06114a;
  font-size: 27px;
  line-height: 1;
  font-weight: 900;
}

.ops-card-brand span {
  margin-top: 3px;
  color: #075ee5;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.ops-card-brand small {
  margin-top: 8px;
  color: #30457c;
  font-size: 11px;
  font-weight: 800;
}

.ops-login-head {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.ops-login-head > span {
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: #075ee5;
}

.ops-login-head h1 {
  color: #07164a;
  font-size: 24px;
  font-weight: 900;
}

.ops-login-head p {
  color: #465b91;
  font-size: 16px;
}

.ops-role-block {
  display: grid;
  gap: 13px;
}

.ops-role-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ops-role-option {
  min-height: 106px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 14px 10px;
  border: 1px solid #d8e3f3;
  border-radius: 8px;
  color: var(--role-color, #425482);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.ops-role-option:nth-child(1) { --role-color: #075ee5; }
.ops-role-option:nth-child(2) { --role-color: #159447; }
.ops-role-option:nth-child(3) { --role-color: #6d28d9; }

.ops-role-option svg {
  width: 34px;
  height: 34px;
}

.ops-role-option small {
  color: #536597;
  font-size: 12px;
  font-weight: 800;
}

.ops-role-option.active {
  color: var(--role-color);
  border-color: var(--role-color);
  background: color-mix(in srgb, var(--role-color) 6%, #fff);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--role-color) 12%, transparent);
}

.ops-role-option.active small {
  color: color-mix(in srgb, var(--role-color) 70%, #536597);
}

.ops-field {
  display: grid;
  gap: 9px;
}

.ops-input-shell {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid #d8e3f3;
  border-radius: 8px;
  background: #fff;
  color: #6675a1;
}

.ops-input-shell:focus-within {
  border-color: #075ee5;
  box-shadow: 0 0 0 3px rgba(7, 94, 229, 0.13);
}

.ops-input-shell input {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #07164a;
  font-size: 14px;
  font-weight: 800;
}

.ops-input-shell .password-toggle {
  color: #6675a1;
}

.ops-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #07164a;
  font-size: 13px;
  font-weight: 800;
}

.ops-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ops-login-options input {
  width: 17px;
  min-height: 17px;
  accent-color: #075ee5;
}

.ops-submit {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 26px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #1267ff, #075ee5);
  box-shadow: 0 20px 34px rgba(7, 94, 229, 0.26);
  font-size: 16px;
  font-weight: 900;
}

.ops-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  color: #6b7aa8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-divider::before,
.ops-divider::after {
  content: "";
  height: 1px;
  background: #d8e3f3;
}

.sso-login-button {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #1267ff;
  border-radius: 8px;
  color: #075ee5;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
  font-size: 15px;
}

.sso-login-button:hover {
  background: #f4f8ff;
}

.google-login-button,
.google-mark {
  display: none;
}

.ops-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #6675a1;
  font-size: 13px;
  font-weight: 800;
}

.ops-secure-note svg {
  color: #6675a1;
}

.ops-login-copyright {
  position: absolute;
  bottom: 28px;
  color: #536597;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .ops-login,
  .login-shell.ops-login {
    overflow: auto;
  }

  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 760px;
    padding: 34px 28px 258px;
  }

  .ops-copy {
    max-width: 440px;
    margin-top: 54px;
  }

  .ops-india-map {
    left: 34%;
    top: 10%;
    width: 62%;
    height: 66%;
  }

  .ops-feature-cards {
    width: min(520px, 52%);
    bottom: 292px;
  }

  .ops-warehouse-scene {
    height: 250px;
  }

  .ops-login-stage {
    min-height: auto;
    padding: 84px 24px 58px;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-login-stage {
    padding-top: 58px;
    padding-bottom: 24px;
  }

  .ops-login-card {
    gap: 10px;
    padding: 24px 34px 22px;
  }

  .ops-card-logo {
    width: 48px;
    height: 48px;
  }

  .ops-card-brand strong {
    font-size: 22px;
  }

  .ops-card-brand span {
    font-size: 18px;
  }

  .ops-card-brand small {
    margin-top: 5px;
    font-size: 10px;
  }

  .ops-login-head {
    gap: 8px;
  }

  .ops-login-head h1 {
    font-size: 20px;
  }

  .ops-login-head p {
    font-size: 14px;
  }

  .ops-role-switch {
    gap: 12px;
  }

  .ops-role-option {
    min-height: 86px;
    font-size: 13px;
  }

  .ops-role-option svg {
    width: 28px;
    height: 28px;
  }

  .ops-role-option small {
    font-size: 11px;
  }

  .ops-input-shell {
    min-height: 46px;
  }

  .ops-submit {
    min-height: 50px;
  }

  .sso-login-button {
    min-height: 46px;
  }

  .ops-secure-note {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .ops-login-showcase {
    min-height: auto;
    padding: 28px 20px;
  }

  .ops-copy {
    width: auto;
    max-width: none;
    margin-top: 34px;
  }

  .ops-india-map {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: 420px;
    margin-top: 16px;
  }

  .ops-feature-cards {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    margin-top: 18px;
  }

  .ops-warehouse-scene {
    position: relative;
    height: 210px;
    margin-top: 28px;
  }

  .scene-warehouse {
    left: -20px;
    width: 286px;
  }

  .scene-truck {
    left: 196px;
    width: 224px;
  }

  .secure-chip {
    left: 0;
  }
}

@media (max-width: 620px) {
  .ops-brand-mark {
    width: 62px;
    height: 62px;
  }

  .ops-brand-lockup strong {
    font-size: 26px;
  }

  .ops-brand-lockup span {
    font-size: 20px;
  }

  .ops-copy h1 {
    font-size: 31px;
  }

  .ops-copy p {
    font-size: 15px;
  }

  .ops-india-map {
    height: 330px;
  }

  .map-pin {
    font-size: 10px;
    gap: 5px;
  }

  .map-pin i {
    width: 14px;
    height: 19px;
  }

  .ops-feature-cards {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ops-feature-cards article {
    min-height: 96px;
  }

  .ops-warehouse-scene {
    height: 165px;
    overflow: hidden;
  }

  .scene-warehouse {
    left: -42px;
    width: 245px;
    height: 124px;
  }

  .scene-warehouse span,
  .scene-warehouse strong,
  .scene-warehouse small,
  .truck-mark,
  .scene-truck strong {
    display: none;
  }

  .scene-truck {
    left: 148px;
    width: 190px;
    height: 76px;
  }

  .secure-chip {
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
  }

  .ops-login-stage {
    padding: 84px 14px 42px;
  }

  .ops-system-pill {
    left: 14px;
    right: 14px;
    justify-content: center;
  }

  .ops-login-card {
    padding: 30px 18px 24px;
    border-radius: 16px;
  }

  .ops-card-brand strong {
    font-size: 22px;
  }

  .ops-card-brand span {
    font-size: 18px;
  }

  .ops-role-switch {
    grid-template-columns: 1fr;
  }

  .ops-role-option {
    min-height: 64px;
    display: grid;
    grid-template-columns: 36px 1fr;
    justify-items: start;
    text-align: left;
  }

  .ops-role-option small {
    grid-column: 2;
    margin-top: -10px;
  }

  .ops-login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Final login reference pass: actual end-of-file override. */
.ops-login,
.login-shell.ops-login {
  overflow: hidden;
  color: #07164a;
  background:
    radial-gradient(circle at 42% 42%, rgba(147, 197, 253, 0.24), transparent 36%),
    linear-gradient(135deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
}

.ops-login-layout {
  grid-template-columns: minmax(0, 62%) minmax(460px, 38%);
  min-height: 100vh;
}

.ops-login-showcase {
  padding: 38px 34px 24px 44px;
}

.ops-brand-lockup {
  align-items: flex-start;
  gap: 18px;
}

.ops-brand-mark {
  width: 74px;
  height: 74px;
}

.ops-brand-lockup strong {
  font-size: 32px;
}

.ops-brand-lockup span {
  font-size: 24px;
}

.ops-brand-lockup small {
  margin-top: 17px;
  font-size: 13px;
}

.ops-copy {
  z-index: 4;
  width: 410px;
  max-width: 410px;
  margin-top: 50px;
}

.ops-copy h1 {
  font-size: 38px;
  line-height: 1.28;
}

.ops-copy i {
  margin: 22px 0 21px;
}

.ops-copy p {
  max-width: 370px;
  font-size: 16px;
  line-height: 1.55;
}

.ops-india-map {
  left: 40%;
  top: 8%;
  width: 61%;
  height: 78%;
  z-index: 1;
  opacity: 0.96;
}

.india-shape {
  filter: drop-shadow(0 22px 34px rgba(37, 99, 235, 0.15));
}

.india-body {
  stroke-width: 3.4;
}

.india-network path {
  stroke-width: 1.9;
}

.map-pin {
  gap: 7px;
  font-size: 13px;
}

.map-pin i {
  width: 17px;
  height: 23px;
}

.map-pin.delhi { left: 42%; top: 22%; }
.map-pin.noida { left: 52%; top: 28%; }
.map-pin.gurgaon { left: 31%; top: 38%; }
.map-pin.ahmedabad { left: 14%; top: 54%; }
.map-pin.mumbai { left: 22%; top: 59%; }
.map-pin.pune { left: 29%; top: 65%; }
.map-pin.hyderabad { left: 55%; top: 69%; }
.map-pin.bengaluru { left: 36%; top: 80%; }
.map-pin.chennai { left: 68%; top: 84%; }
.map-pin.vizag { left: 64%; top: 64%; }

.ops-feature-cards {
  left: 42px;
  top: 418px;
  bottom: auto;
  z-index: 3;
  width: min(430px, 48%);
  gap: 14px;
}

.ops-feature-cards article {
  min-height: 106px;
  padding: 14px 8px;
}

.ops-feature-cards article svg {
  width: 28px;
  height: 28px;
}

.ops-feature-cards strong {
  font-size: 10px;
  line-height: 1.32;
}

.ops-warehouse-scene {
  z-index: 2;
  height: 205px;
}

.scene-warehouse {
  left: -10px;
  bottom: 26px;
  width: 360px;
  height: 132px;
}

.scene-warehouse::before {
  top: -22px;
  height: 28px;
}

.scene-warehouse::after {
  left: 34px;
  width: 70px;
  height: 68px;
}

.scene-warehouse span {
  left: 126px;
  top: 38px;
}

.scene-warehouse strong {
  left: 178px;
  top: 40px;
  font-size: 18px;
}

.scene-warehouse small {
  left: 178px;
  top: 86px;
}

.scene-truck {
  left: 278px;
  bottom: 14px;
  width: 270px;
  height: 92px;
}

.secure-chip {
  left: 34px;
  bottom: 12px;
  min-height: 56px;
}

.ops-login-stage {
  padding: 72px 32px 40px;
}

.ops-system-pill {
  top: 24px;
  right: 28px;
  min-height: 42px;
}

.ops-login-card {
  width: min(540px, 100%);
}

.ops-login-copyright {
  bottom: 14px;
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-copy {
    margin-top: 62px;
  }

  .ops-feature-cards {
    top: 505px;
  }

  .ops-warehouse-scene {
    height: 300px;
  }

  .scene-warehouse {
    bottom: 38px;
    width: 420px;
    height: 172px;
  }

  .scene-truck {
    left: 330px;
    bottom: 24px;
    width: 330px;
    height: 112px;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-copy {
    width: 390px;
    max-width: 390px;
    margin-top: 42px;
  }

  .ops-copy h1 {
    font-size: 35px;
    line-height: 1.22;
  }

  .ops-copy i {
    margin: 18px 0 17px;
  }

  .ops-copy p {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.48;
  }

  .ops-india-map {
    left: 44%;
    top: 7%;
    width: 55%;
    height: 76%;
  }

  .ops-feature-cards {
    top: 414px;
    width: min(390px, 46%);
    gap: 10px;
  }

  .ops-feature-cards article {
    min-height: 88px;
    padding: 10px 7px;
  }

  .ops-feature-cards article svg {
    width: 24px;
    height: 24px;
  }

  .ops-feature-cards strong {
    font-size: 9px;
  }

  .ops-warehouse-scene {
    height: 174px;
  }

  .scene-warehouse {
    bottom: 22px;
    width: 335px;
    height: 118px;
  }

  .scene-warehouse span,
  .scene-warehouse strong,
  .scene-warehouse small {
    transform: scale(0.88);
    transform-origin: left top;
  }

  .scene-truck {
    left: 256px;
    bottom: 10px;
    width: 240px;
    height: 80px;
  }

  .secure-chip {
    min-height: 48px;
    padding: 8px 14px;
    font-size: 11px;
  }

  .ops-login-stage {
    padding: 52px 26px 24px;
  }

  .ops-system-pill {
    top: 18px;
    min-height: 36px;
    padding: 0 18px;
    font-size: 12px;
  }

  .ops-login-card {
    gap: 8px;
    padding: 20px 30px 18px;
    border-radius: 24px;
  }

  .ops-card-brand {
    gap: 12px;
  }

  .ops-card-logo {
    width: 44px;
    height: 44px;
  }

  .ops-card-brand strong {
    font-size: 20px;
  }

  .ops-card-brand span {
    font-size: 17px;
  }

  .ops-card-brand small {
    margin-top: 4px;
    font-size: 9px;
  }

  .ops-login-head {
    gap: 6px;
  }

  .ops-login-head > span {
    width: 34px;
  }

  .ops-login-head h1 {
    font-size: 19px;
  }

  .ops-login-head p {
    font-size: 13px;
  }

  .ops-role-block {
    gap: 7px;
  }

  .ops-role-switch {
    gap: 9px;
  }

  .ops-role-option {
    min-height: 76px;
    gap: 4px;
    padding: 8px 8px;
    font-size: 12px;
  }

  .ops-role-option svg {
    width: 24px;
    height: 24px;
  }

  .ops-role-option small {
    font-size: 10px;
  }

  .ops-field {
    gap: 5px;
  }

  .ops-input-shell {
    min-height: 40px;
    padding: 0 14px;
  }

  .ops-login-options {
    font-size: 12px;
  }

  .ops-submit {
    min-height: 44px;
    padding: 0 22px;
    font-size: 14px;
  }

  .ops-divider {
    gap: 12px;
    font-size: 11px;
  }

  .sso-login-button {
    min-height: 40px;
    font-size: 13px;
  }

  .ops-secure-note {
    font-size: 11px;
  }

  .ops-login-copyright {
    display: none;
  }
}

@media (max-width: 1180px) {
  .ops-login,
  .login-shell.ops-login {
    overflow: auto;
  }

  .ops-login-layout {
    grid-template-columns: 1fr;
  }

  .ops-login-showcase {
    min-height: 760px;
  }

  .ops-login-stage {
    min-height: 760px;
  }
}

/* Latest login refinements requested: real India silhouette and right-side security. */
.ops-stage-security-chip {
  width: min(540px, 100%);
  min-height: 58px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 18px;
  border: 1px solid rgba(191, 212, 243, 0.9);
  border-radius: 8px;
  color: #30457c;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 36px rgba(30, 64, 175, 0.08);
  backdrop-filter: blur(14px);
}

.ops-stage-security-chip svg {
  color: #075ee5;
}

.ops-stage-security-chip span {
  display: grid;
  gap: 2px;
}

.ops-stage-security-chip strong {
  color: #07164a;
  font-size: 13px;
  line-height: 1.1;
}

.ops-stage-security-chip small {
  color: #536597;
  font-size: 12px;
  font-weight: 700;
}

.india-body,
.india-texture {
  transform-origin: center;
}

.india-body {
  stroke-width: 3.8;
}

.india-texture {
  opacity: 0.76;
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-stage-security-chip {
    min-height: 46px;
    margin-top: 10px;
    padding: 8px 15px;
  }

  .ops-stage-security-chip strong {
    font-size: 12px;
  }

  .ops-stage-security-chip small {
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .ops-stage-security-chip {
    width: 100%;
  }
}

/* Natural Earth India outline label placement. */
.map-pin.delhi { left: 33.4%; top: 26.1%; }
.map-pin.noida { left: 39%; top: 30%; }
.map-pin.gurgaon { left: 28.5%; top: 34%; }
.map-pin.ahmedabad { left: 19%; top: 45.8%; }
.map-pin.mumbai { left: 18%; top: 58.8%; }
.map-pin.pune { left: 24%; top: 62.5%; }
.map-pin.hyderabad { left: 35.8%; top: 67%; }
.map-pin.bengaluru { left: 30%; top: 82%; }
.map-pin.chennai { left: 45%; top: 78.3%; }
.map-pin.vizag { left: 52.5%; top: 61.5%; }

/* Expanded India map to match the supplied login reference. */
.ops-india-map {
  left: 34%;
  top: 7%;
  width: 70%;
  height: 82%;
}

.india-shape {
  transform: scale(1.05);
  transform-origin: 52% 48%;
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-india-map {
    left: 35%;
    top: 5%;
    width: 68%;
    height: 82%;
  }

  .india-shape {
    transform: scale(1.03);
  }
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-india-map {
    left: 36%;
    top: 7%;
    width: 68%;
    height: 82%;
  }

  .india-shape {
    transform: scale(1.06);
  }
}

@media (max-width: 1180px) {
  .ops-india-map {
    left: 36%;
    top: 5%;
    width: 68%;
    height: 82%;
  }
}

@media (max-width: 820px) {
  .ops-india-map {
    width: 100%;
    height: 470px;
    margin-top: 18px;
  }

  .india-shape {
    transform: none;
  }
}

/* Reference-matched warehouse and vehicle artwork at the bottom of login. */
.ops-warehouse-scene {
  left: 0;
  right: auto;
  bottom: 0;
  z-index: 3;
  width: min(760px, 78%);
  height: 310px;
  overflow: visible;
}

.scene-ground {
  position: absolute;
  left: 0;
  right: -80px;
  bottom: 0;
  height: 92px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(209, 228, 252, 0.72)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.13) 1px, transparent 1px) 0 0 / 86px 100%;
  border-top: 1px solid rgba(164, 194, 237, 0.46);
}

.scene-warehouse {
  left: 0;
  bottom: 70px;
  width: 520px;
  height: 245px;
  overflow: visible;
  border: 1px solid rgba(113, 165, 224, 0.84);
  border-radius: 0 3px 0 0;
  background:
    linear-gradient(90deg, rgba(12, 93, 207, 0.09) 1px, transparent 1px) 0 0 / 54px 100%,
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 54%, #dbeafe 100%);
  box-shadow: 0 24px 42px rgba(42, 91, 156, 0.13);
}

.scene-warehouse::before,
.scene-warehouse::after,
.scene-truck::before,
.scene-truck::after {
  content: none;
}

.warehouse-roof {
  position: absolute;
  left: -35px;
  top: -34px;
  width: 556px;
  height: 47px;
  background: linear-gradient(180deg, #4f90df 0%, #1f6fd1 48%, #1459b5 100%);
  transform: skewX(-20deg);
  transform-origin: left bottom;
  box-shadow: 0 10px 18px rgba(30, 99, 190, 0.18);
}

.warehouse-roof::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px) 0 0 / 42px 100%;
  opacity: 0.55;
}

.warehouse-front-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 91, 181, 0.1) 1px, transparent 1px) 0 34px / 100% 48px,
    linear-gradient(90deg, transparent 0 70px, rgba(15, 93, 202, 0.12) 70px 72px, transparent 72px 100%);
  opacity: 0.62;
}

.warehouse-dock {
  position: absolute;
  left: 74px;
  bottom: 0;
  width: 128px;
  height: 130px;
  border: 1px solid rgba(8, 65, 151, 0.42);
  background: linear-gradient(180deg, #0b67d6 0%, #0a47b4 100%);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.warehouse-dock::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 13px;
  bottom: 0;
  background: linear-gradient(180deg, rgba(3, 23, 68, 0.34), rgba(3, 23, 68, 0.08));
}

.warehouse-open-bay {
  position: absolute;
  left: 203px;
  bottom: 0;
  width: 118px;
  height: 94px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.02)),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px) 0 0 / 24px 100%;
  border-left: 1px solid rgba(42, 95, 172, 0.22);
  border-right: 1px solid rgba(42, 95, 172, 0.16);
}

.dock-box {
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: linear-gradient(180deg, #d5a64b, #b67d25);
  border: 1px solid rgba(126, 78, 22, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.dock-box-a {
  left: -36px;
  bottom: 0;
}

.dock-box-b {
  left: 6px;
  bottom: 0;
}

.dock-box-c {
  left: 48px;
  bottom: 0;
}

.dock-box-d {
  left: 28px;
  bottom: 34px;
}

.warehouse-sign {
  position: absolute;
  left: 150px;
  top: 68px;
  z-index: 2;
  display: grid;
  grid-template-columns: 45px auto;
  column-gap: 12px;
  align-items: center;
  color: #07164a;
}

.warehouse-sign .scene-mark {
  grid-row: 1 / 3;
  width: 54px;
  height: 54px;
}

.warehouse-sign strong,
.warehouse-sign small {
  position: static;
  left: auto;
  top: auto;
}

.warehouse-sign strong {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.warehouse-sign small {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 850;
}

.scene-truck {
  left: 286px;
  bottom: 70px;
  width: 430px;
  height: 155px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.truck-shadow {
  position: absolute;
  left: 12px;
  right: 20px;
  bottom: -18px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(38, 72, 119, 0.22), transparent 70%);
}

.truck-cargo {
  position: absolute;
  left: 0;
  top: 34px;
  width: 286px;
  height: 106px;
  border: 2px solid rgba(116, 135, 158, 0.76);
  border-radius: 4px 4px 3px 3px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px) 0 0 / 82px 100%,
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.truck-cargo::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -10px;
  width: 290px;
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #0d64d8, #5aa4f0);
}

.truck-cargo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 6px;
  background: #738196;
  border-radius: 0 0 4px 4px;
}

.truck-logo-lockup {
  position: absolute;
  left: 50px;
  top: 24px;
  display: grid;
  grid-template-columns: 34px auto;
  column-gap: 10px;
  align-items: center;
  color: #07164a;
}

.scene-truck .truck-mark {
  position: static;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.truck-logo-lockup strong,
.truck-logo-lockup small {
  position: static;
  left: auto;
  top: auto;
}

.truck-logo-lockup strong {
  font-size: 18px;
  line-height: 0.98;
  letter-spacing: 0;
}

.truck-logo-lockup small {
  grid-column: 1 / 3;
  margin-top: 6px;
  color: #07164a;
  font-size: 9px;
  font-weight: 850;
}

.truck-cab {
  position: absolute;
  right: 0;
  top: 52px;
  width: 130px;
  height: 88px;
  border: 2px solid rgba(116, 135, 158, 0.76);
  border-left: 0;
  border-radius: 3px 19px 7px 0;
  background: linear-gradient(135deg, #f9fcff 0 58%, #dbeafe 58% 100%);
  clip-path: polygon(0 22%, 66% 22%, 100% 56%, 100% 100%, 0 100%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.truck-window {
  position: absolute;
  left: 48px;
  top: 20px;
  width: 38px;
  height: 29px;
  border-radius: 4px 11px 4px 4px;
  background: linear-gradient(135deg, #b8d8ff, #ffffff);
  border: 1px solid rgba(67, 99, 143, 0.28);
}

.truck-headlight {
  position: absolute;
  right: 8px;
  bottom: 13px;
  width: 13px;
  height: 7px;
  border-radius: 999px;
  background: #facc15;
}

.truck-wheel {
  position: absolute;
  bottom: -14px;
  z-index: 2;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  background: #17213a;
  border: 7px solid #74839b;
  box-shadow: inset 0 0 0 7px #111827, 0 3px 0 rgba(15, 23, 42, 0.12);
}

.truck-wheel::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #c7d5e9;
}

.truck-wheel-back {
  left: 58px;
}

.truck-wheel-front {
  right: 56px;
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-warehouse-scene {
    width: min(790px, 79%);
    height: 326px;
  }

  .scene-warehouse {
    bottom: 70px;
    width: 520px;
    height: 245px;
  }

  .warehouse-roof {
    width: 556px;
  }

  .scene-truck {
    left: 286px;
    bottom: 70px;
    width: 430px;
    height: 155px;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-warehouse-scene {
    width: min(650px, 72%);
    height: 208px;
  }

  .scene-ground {
    height: 38px;
  }

  .scene-warehouse {
    bottom: 28px;
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .scene-truck {
    left: 246px;
    bottom: 22px;
    transform: scale(0.76);
    transform-origin: left bottom;
  }
}

@media (max-width: 1180px) {
  .ops-warehouse-scene {
    width: min(740px, 76%);
  }
}

@media (max-width: 820px) {
  .ops-warehouse-scene {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 18px;
  }

  .scene-warehouse {
    transform: scale(0.78);
    transform-origin: left bottom;
  }

  .scene-truck {
    left: 220px;
    transform: scale(0.72);
    transform-origin: left bottom;
  }
}

/* Wider India map: fill the center visual area instead of reading tall and narrow. */
.ops-india-map {
  left: 27%;
  top: 6%;
  width: 81%;
  height: 83%;
}

.india-shape {
  transform: none;
  transform-origin: 50% 50%;
}

@media (min-height: 850px) and (min-width: 900px) {
  .ops-india-map {
    left: 27%;
    top: 6%;
    width: 80%;
    height: 84%;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-india-map {
    left: 30%;
    top: 5%;
    width: 77%;
    height: 83%;
  }
}

@media (max-width: 1180px) {
  .ops-india-map {
    left: 30%;
    top: 5%;
    width: 77%;
    height: 83%;
  }
}

@media (max-width: 820px) {
  .ops-india-map {
    width: 100%;
    height: 470px;
  }
}

/* Final wider map placement with city pins spread like the reference. */
.ops-india-map {
  left: 31%;
  top: 6%;
  width: 77%;
  height: 83%;
}

.map-pin.delhi { left: 35%; top: 26%; }
.map-pin.noida { left: 40.5%; top: 30.4%; }
.map-pin.gurgaon { left: 31%; top: 34.6%; }
.map-pin.ahmedabad { left: 22%; top: 45.8%; }
.map-pin.mumbai { left: 24%; top: 57.2%; }
.map-pin.pune { left: 29%; top: 61.4%; }
.map-pin.hyderabad { left: 42%; top: 65.8%; }
.map-pin.bengaluru { left: 36%; top: 79.5%; }
.map-pin.chennai { left: 51%; top: 76.9%; }
.map-pin.vizag { left: 59%; top: 60.8%; }

@media (min-height: 850px) and (min-width: 900px) {
  .ops-india-map {
    left: 31%;
    top: 6%;
    width: 77%;
    height: 84%;
  }
}

@media (max-height: 820px) and (min-width: 900px) {
  .ops-india-map {
    left: 33%;
    top: 5%;
    width: 74%;
    height: 83%;
  }
}

@media (max-width: 1180px) {
  .ops-india-map {
    left: 33%;
    top: 5%;
    width: 74%;
    height: 83%;
  }
}

/* Premium no-map login redesign. */
.premium-login {
  min-height: 100vh;
  overflow: auto;
  background: #f5f8fc;
}

.premium-login.tone-blue {
  --premium-accent: #075ee5;
  --premium-soft: #eaf2ff;
  --premium-shadow: rgba(7, 94, 229, 0.2);
}

.premium-login.tone-green {
  --premium-accent: #0f8a45;
  --premium-soft: #eaf8f0;
  --premium-shadow: rgba(15, 138, 69, 0.18);
}

.premium-login.tone-purple {
  --premium-accent: #6732d4;
  --premium-soft: #f1ecff;
  --premium-shadow: rgba(103, 50, 212, 0.18);
}

.premium-login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 47%) minmax(500px, 53%);
  background: #f6f9fd;
}

.premium-hero-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 40px 44px;
  color: #f8fbff;
  background:
    linear-gradient(135deg, rgba(4, 18, 43, 0.96) 0%, rgba(5, 31, 71, 0.96) 56%, rgba(3, 17, 39, 0.98) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px);
}

.premium-hero-panel::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -14%;
  bottom: -1px;
  height: 42%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 57, 106, 0.55) 44%, rgba(4, 18, 43, 0.86) 100%),
    linear-gradient(90deg, transparent 0 12%, rgba(125, 168, 221, 0.28) 12.2% 12.6%, transparent 12.8% 100%);
  clip-path: polygon(0 42%, 13% 32%, 24% 39%, 36% 25%, 48% 38%, 61% 27%, 73% 42%, 86% 29%, 100% 36%, 100% 100%, 0 100%);
  opacity: 0.82;
  z-index: 0;
}

.premium-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 54px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.premium-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.13), transparent 42%),
    linear-gradient(315deg, rgba(34, 197, 94, 0.1), transparent 50%);
  z-index: 0;
}

.premium-brand-lockup,
.premium-hero-copy,
.premium-feature-list,
.premium-ops-preview {
  position: relative;
  z-index: 1;
}

.premium-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.premium-brand-mark {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(7, 94, 229, 0.28));
}

.premium-brand-lockup strong,
.premium-brand-lockup span,
.premium-brand-lockup small {
  display: block;
}

.premium-brand-lockup strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.premium-brand-lockup span {
  margin-top: 3px;
  color: #58a6ff;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

.premium-brand-lockup small {
  margin-top: 7px;
  color: #f6c84f;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.premium-hero-copy {
  width: min(510px, 100%);
  margin-top: 76px;
}

.premium-hero-copy > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(147, 197, 253, 0.26);
  border-radius: 999px;
  color: #b7d8ff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.premium-hero-copy h1 {
  margin-top: 24px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.14;
  font-weight: 900;
}

.premium-hero-copy p {
  width: min(430px, 100%);
  margin-top: 20px;
  color: #c7d7ee;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 600;
}

.premium-feature-list {
  display: grid;
  gap: 16px;
  width: min(430px, 100%);
  margin-top: 54px;
}

.premium-feature-list article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 56px;
  padding: 0;
  color: #eaf4ff;
}

.premium-feature-list svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid rgba(111, 173, 255, 0.24);
  border-radius: 8px;
  color: #7cc2ff;
  background: rgba(7, 94, 229, 0.16);
}

.premium-feature-list span,
.premium-feature-list strong,
.premium-feature-list small {
  display: block;
}

.premium-feature-list strong {
  font-size: 13px;
  line-height: 1.2;
}

.premium-feature-list small {
  margin-top: 4px;
  color: #b9c9df;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.premium-ops-preview {
  position: absolute;
  right: 34px;
  bottom: 38px;
  width: min(360px, calc(100% - 68px));
  padding: 17px;
  border: 1px solid rgba(148, 190, 238, 0.2);
  border-radius: 8px;
  background: rgba(7, 22, 48, 0.62);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.preview-topline,
.preview-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.preview-topline span {
  color: #e8f3ff;
  font-size: 13px;
  font-weight: 850;
}

.preview-topline strong {
  color: #34d399;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-stat-row {
  margin-top: 18px;
}

.preview-stat-row span {
  flex: 1;
  min-width: 0;
}

.preview-stat-row small,
.preview-stat-row strong {
  display: block;
}

.preview-stat-row small {
  color: #95abc7;
  font-size: 10px;
  font-weight: 800;
}

.preview-stat-row strong {
  margin-top: 4px;
  color: #ffffff;
  font-size: 18px;
}

.preview-bars {
  height: 68px;
  display: flex;
  align-items: end;
  gap: 9px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-bars i {
  flex: 1;
  min-height: 18px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #5eb6ff, #075ee5);
}

.preview-bars i:nth-child(2),
.preview-bars i:nth-child(5) {
  background: linear-gradient(180deg, #48d9a1, #0f8a45);
}

.preview-bars i:nth-child(3) {
  background: linear-gradient(180deg, #f8d766, #d99d14);
}

.premium-auth-stage {
  position: relative;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 253, 0.96)),
    repeating-linear-gradient(90deg, rgba(7, 94, 229, 0.035) 0 1px, transparent 1px 80px);
}

.premium-login-card {
  width: min(456px, 100%);
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid rgba(190, 204, 224, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.premium-card-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.premium-card-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.premium-card-brand strong,
.premium-card-brand span {
  display: block;
}

.premium-card-brand strong {
  color: #07164a;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.premium-card-brand span {
  margin-top: 4px;
  color: #596982;
  font-size: 13px;
  font-weight: 650;
}

.premium-login-head {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}

.premium-login-head h1 {
  color: #07164a;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 900;
}

.premium-login-head p {
  color: #637189;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.premium-role-block,
.premium-field {
  display: grid;
  gap: 8px;
}

.premium-role-block > label,
.premium-field > label {
  color: #1b2a49;
  font-size: 12px;
  font-weight: 850;
}

.premium-role-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.premium-role-option {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 8px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #485773;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.premium-role-option:hover {
  transform: translateY(-1px);
  border-color: rgba(7, 94, 229, 0.34);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.premium-role-option.active {
  color: var(--premium-accent);
  border-color: var(--premium-accent);
  background: var(--premium-soft);
  box-shadow: 0 14px 32px var(--premium-shadow);
}

.premium-role-option span {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.premium-input-shell {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid #d7e1ef;
  border-radius: 8px;
  color: #7b8aa4;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.premium-input-shell:focus-within {
  border-color: var(--premium-accent);
  box-shadow: 0 0 0 4px var(--premium-soft);
}

.premium-input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #07164a;
  background: transparent;
  font-weight: 650;
}

.premium-input-shell input::placeholder {
  color: #8a98af;
}

.premium-input-shell .password-toggle {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #74829a;
  background: transparent;
  cursor: pointer;
}

.premium-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #44526d;
  font-size: 12px;
  font-weight: 700;
}

.premium-login-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.premium-login-options input {
  width: 15px;
  height: 15px;
  accent-color: var(--premium-accent);
}

.premium-login-options .forgot-link {
  padding: 0;
  color: var(--premium-accent);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.premium-submit,
.premium-google-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.premium-submit {
  color: #ffffff;
  background: linear-gradient(135deg, var(--premium-accent), #0a4ed0);
  box-shadow: 0 16px 34px var(--premium-shadow);
}

.premium-submit svg {
  margin-left: auto;
}

.premium-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a98af;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-divider::before,
.premium-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe4f0;
}

.premium-google-button {
  border: 1px solid #cdd9ea;
  color: #17233f;
  background: #ffffff;
}

.premium-google-button i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  background: #f8fbff;
  font-style: normal;
  font-weight: 950;
}

.premium-secure-note {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #7a879c;
  font-size: 12px;
  font-weight: 700;
}

.premium-secure-note svg {
  color: var(--premium-accent);
}

.premium-login-copyright {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 18px;
  color: #7a879c;
  text-align: center;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 1100px) {
  .premium-login-layout {
    grid-template-columns: 1fr;
  }

  .premium-hero-panel {
    min-height: 560px;
  }

  .premium-auth-stage {
    min-height: auto;
    padding: 42px 26px 64px;
  }

  .premium-login-copyright {
    position: static;
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .premium-hero-panel {
    min-height: auto;
    padding: 28px 20px 32px;
  }

  .premium-hero-copy {
    margin-top: 42px;
  }

  .premium-hero-copy h1 {
    font-size: 32px;
  }

  .premium-feature-list {
    margin-top: 34px;
  }

  .premium-ops-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 30px;
  }

  .premium-login-card {
    padding: 24px;
  }

  .premium-role-switch {
    grid-template-columns: 1fr;
  }
}

.dashboard-command {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 1.25fr) minmax(260px, 0.72fr) minmax(300px, 0.9fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid #d7e4f5;
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(5, 20, 45, 0.98) 0%, rgba(6, 42, 83, 0.96) 50%, rgba(255, 255, 255, 0.96) 50%, rgba(248, 251, 255, 0.98) 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.11);
}

.dashboard-command::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 14% 20%, rgba(37, 99, 235, 0.24), transparent 26%),
    radial-gradient(circle at 48% 88%, rgba(13, 148, 136, 0.16), transparent 30%);
  pointer-events: none;
}

.command-main,
.command-focus,
.command-health-list {
  position: relative;
  z-index: 1;
}

.command-main {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 190px;
  color: #fff;
}

.command-eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(191, 219, 254, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
}

.command-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.command-main h2 {
  max-width: 620px;
  font-size: 31px;
  line-height: 1.04;
  letter-spacing: 0;
}

.command-main p {
  max-width: 610px;
  color: #c6d7ee;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 650;
}

.command-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.command-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(191, 219, 254, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e6f0ff;
  font-size: 12px;
  font-weight: 800;
}

.command-focus,
.command-health-item {
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.command-focus {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  color: #0f172a;
}

.command-focus span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.command-focus strong {
  font-size: 36px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.command-focus small {
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.command-progress,
.command-health-item i {
  overflow: hidden;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e8eef7;
}

.command-progress span,
.command-health-item b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2563eb;
}

.command-focus.tone-green .command-progress span,
.command-health-item.tone-green b {
  background: #079669;
}

.command-focus.tone-purple .command-progress span,
.command-health-item.tone-purple b {
  background: #6d28d9;
}

.command-health-item.tone-blue b {
  background: #2563eb;
}

.command-health-item.tone-red b {
  background: #dc2626;
}

.command-health-list {
  display: grid;
  gap: 12px;
}

.command-health-item {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.command-health-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #2563eb;
}

.command-health-item.tone-green > span {
  background: linear-gradient(135deg, #0fba7d, #047857);
}

.command-health-item.tone-blue > span {
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.command-health-item.tone-red > span {
  background: linear-gradient(135deg, #fb7185, #dc2626);
}

.command-health-item strong,
.command-health-item small {
  display: block;
}

.command-health-item strong {
  color: #0f172a;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.command-health-item small {
  margin: 2px 0 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.executive-metrics {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.executive-metrics .metric-card {
  position: relative;
  min-height: 146px;
  padding: 18px;
  border-color: #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.executive-metrics .metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #2563eb;
}

.executive-metrics .tone-green::before {
  background: #079669;
}

.executive-metrics .tone-gold::before {
  background: #d89b14;
}

.executive-metrics .tone-purple::before {
  background: #6d28d9;
}

.executive-metrics .tone-red::before {
  background: #dc2626;
}

.executive-metrics .tone-navy::before {
  background: #0f172a;
}

.executive-metrics .metric-icon {
  width: 48px;
  height: 48px;
}

.executive-metrics .metric-card strong {
  margin-top: 9px;
  font-size: 27px;
}

.metric-card em {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #eef5ff;
  color: #315381;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}

.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(520px, 1.45fr) minmax(292px, 0.8fr) minmax(330px, 0.92fr);
  gap: 18px;
  align-items: stretch;
}

.dashboard-command,
.executive-metrics,
.dashboard-workspace,
.premium-lower,
.dashboard-command > *,
.dashboard-workspace > *,
.premium-lower > * {
  min-width: 0;
}

.dashboard-side-stack {
  display: grid;
  gap: 18px;
}

.movement-command-panel .panel-body {
  padding: 18px 20px 20px;
}

.movement-command-panel .line-chart {
  min-height: 286px;
}

.dashboard-side-stack .donut-layout {
  grid-template-columns: 1fr;
  justify-items: center;
}

.dashboard-side-stack .donut {
  width: 168px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.dashboard-side-stack .donut-legend {
  width: 100%;
}

.priority-panel .panel-body {
  padding-top: 10px;
}

.priority-panel .alert-row {
  min-height: 82px;
}

.premium-lower {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr) minmax(340px, 0.95fr);
}

.premium-movement-row {
  grid-template-columns: 34px minmax(0, 1fr) auto 92px;
  min-height: 86px;
  padding: 12px 0;
}

.premium-movement-row p {
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.premium-movement-row div small {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movement-date {
  justify-self: end;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-panel .quick-grid {
  gap: 10px;
}

.quick-panel .quick-tile {
  min-height: 96px;
  align-content: center;
  padding: 12px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.quick-tile small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.quick-tile strong {
  font-size: 13px;
}

.active-queue-panel .movement-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
}

@media (max-width: 1500px) {
  .dashboard-command,
  .dashboard-workspace {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-command {
    background: linear-gradient(135deg, #06152d 0%, #0a2c55 58%, #0f3b68 100%);
  }

  .command-main,
  .movement-command-panel {
    grid-column: 1 / -1;
  }

  .premium-lower {
    grid-template-columns: 1fr 1fr;
  }

  .active-queue-panel {
    grid-column: 1 / -1;
  }

  .command-main {
    min-height: 154px;
  }

  .executive-metrics {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 1240px) {
  .topbar-main,
  .scope-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-tools {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .topbar-user {
    display: none;
  }

  .filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters select {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .dashboard-command,
  .dashboard-workspace,
  .premium-lower {
    grid-template-columns: 1fr;
  }

  .dashboard-command {
    background: linear-gradient(135deg, #06152d 0%, #0a2c55 58%, #0f3b68 100%);
  }

  .executive-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .premium-movement-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .premium-movement-row .pill,
  .movement-date {
    justify-self: start;
    margin-left: 46px;
  }
}

@media (max-width: 640px) {
  .dashboard-command {
    padding: 16px;
  }

  .command-main h2 {
    font-size: 25px;
  }

  .command-main {
    min-height: 170px;
  }

  .executive-metrics {
    grid-template-columns: 1fr;
  }

  .command-meta span {
    width: 100%;
  }

  .topbar-tools,
  .filters {
    grid-template-columns: 1fr;
  }
}

.professional-dashboard {
  --dash-ink: #172033;
  --dash-muted: #687385;
  --dash-line: #dfe7f1;
  --dash-soft: #f7f9fc;
  --dash-blue: #1d5fd1;
  --dash-green: #078263;
  --dash-amber: #b7791f;
  --dash-red: #c03535;
  display: grid;
  gap: 14px;
}

.sidebar-brand h2 {
  font-size: 15px;
  font-weight: 650;
}

.sidebar-brand p {
  font-size: 10px;
  font-weight: 650;
}

.nav button {
  height: 42px;
  font-size: 13px;
  font-weight: 600;
}

.sidebar-user strong,
.topbar-user strong {
  font-size: 12px;
  font-weight: 650;
}

.sidebar-user small,
.topbar-user small {
  font-size: 10.5px;
  font-weight: 600;
}

.avatar {
  font-size: 12px;
  font-weight: 700;
}

.topbar {
  gap: 12px;
  padding: 18px 28px 14px;
}

.topbar-title h1 {
  margin-bottom: 3px;
  font-size: 23px;
  font-weight: 700;
}

.topbar-title p {
  font-size: 12px;
  font-weight: 400;
}

/* Fresh premium UI refresh: calm palette, refined spacing, and softer operational surfaces. */
:root {
  --bg: #f4f8f8;
  --panel: #ffffff;
  --panel-soft: #f7faf9;
  --ink: #132033;
  --muted: #667386;
  --line: #dce6e7;
  --nav: #0b1b22;
  --nav-2: #102a2c;
  --portal: #1266f1;
  --blue: #1266f1;
  --green: #0b8f72;
  --gold: #c98a1f;
  --purple: #7254d7;
  --red: #d24d57;
  --teal: #0c9286;
  --shadow: 0 18px 46px rgba(24, 42, 58, 0.08);
  --soft-shadow: 0 10px 28px rgba(24, 42, 58, 0.055);
  --fresh-font: "Inter", "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  background:
    linear-gradient(180deg, #f7fbfb 0%, #f2f7f7 48%, #eef5f4 100%);
  color: var(--ink);
  font-family: var(--fresh-font);
  font-size: 13.5px;
  line-height: 1.48;
}

h1 {
  color: #0f1e33;
  font-size: 25px;
  font-weight: 760;
}

h2 {
  color: #132033;
  font-size: 16px;
  font-weight: 720;
}

h3 {
  color: #738196;
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
}

label {
  color: #3e4d62;
  font-size: 12px;
  font-weight: 660;
}

input,
select,
textarea {
  min-height: 42px;
  border-color: #dce5e9;
  border-radius: 8px;
  color: #17243a;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

input::placeholder,
textarea::placeholder {
  color: #93a0b3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--portal) 58%, #dce5e9);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal) 12%, transparent);
}

.primary,
.portal-submit,
.premium-submit {
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--portal) 92%, #4db6ff), var(--portal));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--portal) 22%, transparent);
  font-weight: 720;
}

.secondary,
.ghost,
.icon-btn,
.link-btn {
  border-radius: 8px;
}

.secondary {
  border: 1px solid #dbe5ea;
  color: #274056;
  background: #fbfdfd;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.84);
  font-weight: 680;
}

.secondary:hover,
.icon-btn:hover,
.quick-tile:hover {
  border-color: color-mix(in srgb, var(--portal) 24%, #dbe5ea);
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(24, 42, 58, 0.065);
}

.portal-admin {
  --portal: #1266f1;
}

.portal-team {
  --portal: #0b8f72;
}

.portal-client {
  --portal: #7254d7;
}

.login-shell.ops-login,
.ops-login,
.premium-login {
  min-height: 100vh;
  padding: 22px;
  background:
    linear-gradient(135deg, #f8fbff 0%, #edf7f5 46%, #f8f6ff 100%);
}

.premium-login-layout {
  width: min(1440px, 100%);
  min-height: calc(100vh - 44px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(199, 213, 221, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 70px rgba(24, 42, 58, 0.12);
}

.premium-hero-panel {
  position: relative;
  min-height: 720px;
  padding: 44px;
  overflow: hidden;
  color: #eff8f8;
  background:
    linear-gradient(145deg, rgba(8, 24, 35, 0.97) 0%, rgba(14, 54, 61, 0.96) 64%, rgba(20, 73, 75, 0.95) 100%),
    linear-gradient(180deg, #0b1b22, #123536);
}

.premium-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.premium-brand-lockup,
.premium-hero-copy,
.premium-feature-list,
.premium-ops-preview {
  position: relative;
  z-index: 1;
}

.premium-brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
}

.premium-brand-mark {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.premium-brand-lockup strong {
  display: block;
  color: #ffffff;
  font-size: 22px;
  font-weight: 780;
}

.premium-brand-lockup span {
  display: block;
  color: #8cc9ff;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.premium-brand-lockup small {
  display: block;
  margin-top: 2px;
  color: #b8d5d4;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.premium-hero-copy {
  max-width: 560px;
  margin-top: 96px;
}

.premium-hero-copy span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(180, 226, 222, 0.22);
  border-radius: 8px;
  color: #c9e4e2;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 680;
}

.premium-hero-copy h1 {
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  font-weight: 780;
  letter-spacing: 0;
}

.premium-hero-copy p {
  max-width: 500px;
  margin-top: 22px;
  color: #c4dcdc;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 480;
}

.premium-feature-list {
  width: min(560px, 100%);
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
}

.premium-feature-list article {
  min-height: 82px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(190, 225, 226, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.premium-feature-list svg {
  color: #85d6cf;
}

.premium-feature-list strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 720;
}

.premium-feature-list small {
  display: block;
  margin-top: 3px;
  color: #bad2d1;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 450;
}

.premium-ops-preview {
  width: min(520px, calc(100% - 88px));
  margin-top: 46px;
  padding: 18px;
  border: 1px solid rgba(190, 225, 226, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.preview-topline,
.preview-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.preview-topline span,
.preview-stat-row small {
  color: #bdd7d7;
  font-size: 11.5px;
  font-weight: 560;
}

.preview-topline strong {
  color: #86efac;
  font-size: 12px;
}

.preview-stat-row {
  margin-top: 16px;
}

.preview-stat-row span {
  min-width: 0;
}

.preview-stat-row strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 760;
}

.preview-bars {
  height: 108px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  margin-top: 20px;
}

.preview-bars i {
  display: block;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #83d4ff, #21b6a8);
}

.premium-auth-stage {
  min-height: 720px;
  display: grid;
  place-items: center;
  padding: 52px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 250, 0.96));
}

.premium-login-card {
  width: min(520px, 100%);
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid rgba(211, 223, 229, 0.95);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 62px rgba(24, 42, 58, 0.11);
}

.premium-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: left;
}

.premium-card-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.premium-card-brand strong {
  display: block;
  color: #12203a;
  font-size: 22px;
  font-weight: 780;
}

.premium-card-brand span {
  display: block;
  margin-top: 1px;
  color: #637186;
  font-size: 12px;
  font-weight: 560;
}

.premium-login-head {
  text-align: center;
}

.premium-login-head h1 {
  color: #132033;
  font-size: 24px;
  font-weight: 760;
}

.premium-login-head p {
  margin-top: 7px;
  color: #6e7a8b;
  font-size: 13px;
  font-weight: 460;
}

.premium-role-block {
  gap: 10px;
}

.premium-role-switch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.premium-role-option {
  min-height: 82px;
  border: 1px solid #dbe5ea;
  border-radius: 8px;
  color: #536278;
  background: #fbfdfd;
  box-shadow: none;
}

.premium-role-option svg {
  color: currentColor;
}

.premium-role-option span {
  font-size: 12.5px;
  font-weight: 690;
}

.premium-role-option.active {
  color: var(--portal);
  border-color: color-mix(in srgb, var(--portal) 52%, #dbe5ea);
  background: color-mix(in srgb, var(--portal) 8%, #ffffff);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--portal) 13%, transparent);
}

.premium-input-shell {
  min-height: 46px;
  border: 1px solid #dbe5ea;
  border-radius: 8px;
  color: #7b899b;
  background: #fbfdfd;
}

.premium-input-shell input {
  color: #132033;
  font-weight: 540;
}

.premium-login-options {
  color: #596779;
  font-size: 12px;
  font-weight: 540;
}

.premium-login-options .forgot-link {
  color: var(--portal);
  font-weight: 650;
}

.premium-submit,
.premium-google-button {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 720;
}

.premium-google-button {
  border: 1px solid #d6e1e7;
  color: #25354a;
  background: #ffffff;
  box-shadow: none;
}

.premium-secure-note,
.premium-login-copyright {
  color: #7b8796;
  font-size: 12px;
  font-weight: 480;
}

.app-shell {
  grid-template-columns: 258px minmax(0, 1fr);
  background: transparent;
}

.sidebar {
  padding: 20px 14px;
  background:
    linear-gradient(180deg, rgba(32, 86, 89, 0.22), rgba(11, 27, 34, 0) 38%),
    linear-gradient(180deg, #0b1b22 0%, #0e2327 100%);
  box-shadow: 12px 0 34px rgba(24, 42, 58, 0.09);
}

.sidebar-brand {
  min-height: 62px;
  padding: 9px 8px;
  border-radius: 8px;
}

.brand-tile {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: none;
}

.brand-tile img {
  width: 34px;
  height: 34px;
}

.sidebar-brand h2 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 720;
}

.sidebar-brand p {
  color: #97bdba;
  font-size: 10.5px;
  font-weight: 560;
  letter-spacing: 0.04em;
}

.nav {
  display: grid;
  gap: 4px;
}

.nav button {
  height: 40px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #c7d8d7;
  background: transparent;
  font-size: 12.5px;
  font-weight: 560;
}

.nav button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav button.active {
  border-color: rgba(132, 214, 207, 0.22);
  color: #ffffff;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--portal) 92%, #1bd1ba), color-mix(in srgb, var(--portal) 76%, #0b8f72));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--portal) 18%, transparent);
}

.nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.07);
}

.nav button.active .nav-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.sidebar-footer {
  gap: 10px;
}

.sidebar-user {
  border: 1px solid rgba(190, 225, 226, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.sidebar-user strong,
.topbar-user strong {
  color: inherit;
  font-size: 12px;
  font-weight: 660;
}

.sidebar-user small,
.topbar-user small {
  font-size: 10.5px;
  font-weight: 480;
}

.avatar {
  color: #ffffff;
  background: linear-gradient(180deg, var(--portal), color-mix(in srgb, var(--portal) 70%, #0b8f72));
}

.logout-button {
  height: 38px;
  color: #cce0df;
  background: rgba(255, 255, 255, 0.06);
}

.main {
  min-width: 0;
  background: transparent;
}

.topbar {
  gap: 14px;
  padding: 20px 30px 16px;
  background: rgba(247, 251, 251, 0.84);
  border-bottom: 1px solid rgba(220, 230, 231, 0.72);
  backdrop-filter: blur(14px);
}

.topbar-main {
  align-items: center;
}

.topbar-title {
  gap: 12px;
}

.topbar-title h1 {
  color: #122033;
  font-size: 24px;
  font-weight: 760;
}

.topbar-title p {
  color: #718093;
  font-size: 12.5px;
  font-weight: 440;
}

.menu-btn,
.utility-trigger,
.topbar-user {
  border: 1px solid #dbe5ea;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(24, 42, 58, 0.045);
}

.topbar-tools {
  gap: 10px;
}

.search-box {
  height: 42px;
  border-color: #dbe5ea;
  border-radius: 8px;
  background: #ffffff;
}

.search-box input {
  font-size: 12.5px;
  font-weight: 450;
}

.scope-bar {
  margin-top: 2px;
  padding: 10px;
  border: 1px solid #dbe5ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(24, 42, 58, 0.045);
}

.scope-bar strong {
  color: #22334a;
  font-size: 12.5px;
  font-weight: 660;
}

.scope-bar span {
  color: #748196;
  font-size: 11.5px;
}

.filters {
  gap: 8px;
}

.filters select,
.filters input {
  min-height: 38px;
  border-color: #dbe5ea;
  background: #fbfdfd;
}

.content {
  padding: 20px 30px 32px;
}

.panel,
.metric-card,
.modal-card,
.quick-tile,
.health-chip,
.dashboard-brief {
  border: 1px solid #dce6e7;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.panel {
  overflow: hidden;
}

.panel-head {
  min-height: 58px;
  padding: 15px 17px;
  border-bottom: 1px solid #edf2f3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

.panel-head h2 {
  color: #132033;
  font-size: 15px;
  font-weight: 720;
}

.panel-head p {
  margin-top: 3px;
  color: #758197;
  font-size: 12px;
  font-weight: 440;
}

.panel-body {
  padding: 17px;
}

.professional-dashboard {
  --dash-ink: #132033;
  --dash-muted: #6a7789;
  --dash-line: #dce6e7;
  --dash-soft: #f7faf9;
  --dash-blue: #1266f1;
  --dash-green: #0b8f72;
  --dash-amber: #c98a1f;
  --dash-red: #d24d57;
  gap: 16px;
}

.dashboard-brief {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 16px;
  padding: 20px;
  border-left: 0;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbfb 60%, #f3f7ff 100%);
}

.brief-copy {
  gap: 10px;
}

.brief-eyebrow {
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d9e8ea;
  border-radius: 8px;
  color: #275260;
  background: #f1faf8;
  font-size: 11px;
  font-weight: 640;
}

.brief-eyebrow i {
  background: var(--dash-green);
}

.brief-copy h2 {
  max-width: 780px;
  color: #101f32;
  font-size: 27px;
  line-height: 1.14;
  font-weight: 760;
}

.brief-copy p {
  max-width: 820px;
  color: #657386;
  font-size: 13.5px;
  line-height: 1.64;
  font-weight: 440;
}

.brief-focus {
  border-color: #dce6e7;
  border-radius: 8px;
  background: #fbfdfd;
}

.brief-focus span,
.brief-focus small {
  color: #6e7c8f;
  font-size: 11px;
  font-weight: 560;
}

.brief-focus strong {
  color: #132033;
  font-size: 31px;
  font-weight: 760;
}

.brief-meter,
.health-chip i,
.progress {
  background: #e7eeee;
}

.brief-meter span,
.health-chip b,
.progress span {
  background: linear-gradient(90deg, var(--portal), color-mix(in srgb, var(--portal) 64%, var(--teal)));
}

.brief-context span {
  min-height: 30px;
  border-color: #dce6e7;
  color: #536174;
  background: #ffffff;
  font-size: 11.5px;
  font-weight: 560;
}

.health-strip {
  gap: 12px;
}

.health-chip {
  min-height: 84px;
  padding: 13px;
  box-shadow: 0 8px 22px rgba(24, 42, 58, 0.045);
}

.health-chip > span,
.professional-dashboard .metric-icon,
.professional-dashboard .row-icon,
.professional-dashboard .quick-tile span,
.professional-dashboard .alert-icon,
.row-icon,
.metric-icon,
.alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--portal);
  background: color-mix(in srgb, var(--portal) 9%, #ffffff);
}

.health-chip strong {
  color: #132033;
  font-size: 17px;
  font-weight: 740;
}

.health-chip small {
  color: #6e7c8f;
  font-size: 11px;
  font-weight: 480;
}

.professional-dashboard .refined-metrics {
  grid-template-columns: repeat(6, minmax(142px, 1fr));
  gap: 12px;
}

.professional-dashboard .refined-metrics .metric-card {
  min-height: 118px;
  padding: 15px;
  border-left: 0;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 42, 58, 0.048);
}

.professional-dashboard .refined-metrics .metric-card p {
  color: #5d6a7d;
  font-size: 11.5px;
  font-weight: 560;
}

.professional-dashboard .refined-metrics .metric-card strong {
  color: #122033;
  font-size: 24px;
  font-weight: 760;
}

.professional-dashboard .refined-metrics .metric-card small,
.professional-dashboard .metric-card em {
  color: #748196;
  font-size: 11px;
  font-weight: 440;
}

.professional-dashboard .metric-card em {
  margin-top: 8px;
}

.professional-dashboard .line-chart {
  min-height: 250px;
}

.chart-legend {
  color: #5f6e82;
  font-size: 11.5px;
  font-weight: 560;
}

.grid-line {
  stroke: #e8eef0;
}

.area-green {
  fill: rgba(11, 143, 114, 0.1);
}

.area-blue {
  fill: rgba(18, 102, 241, 0.09);
}

.stroke-green {
  stroke: #0b8f72;
}

.stroke-blue {
  stroke: #1266f1;
}

.dashboard-workspace,
.professional-dashboard .refined-workspace,
.premium-lower,
.professional-dashboard .refined-lower,
.split,
.mini-grid {
  gap: 16px;
}

.professional-dashboard .quick-grid {
  gap: 11px;
}

.professional-dashboard .quick-tile,
.quick-tile {
  min-height: 64px;
  border-color: #dce6e7;
  background: #fbfdfd;
  box-shadow: none;
}

.professional-dashboard .quick-tile strong,
.quick-tile strong {
  color: #18283d;
  font-size: 12.5px;
  font-weight: 650;
}

.professional-dashboard .quick-tile small,
.quick-tile small {
  color: #748196;
  font-size: 11px;
  font-weight: 430;
}

.alert-row,
.movement-row,
.professional-dashboard .alert-row,
.professional-dashboard .movement-row {
  min-height: 66px;
  border-bottom-color: #edf2f3;
}

.alert-row strong,
.movement-row strong,
.professional-dashboard .alert-row strong,
.professional-dashboard .movement-row strong {
  color: #18283d;
  font-size: 12.5px;
  font-weight: 650;
}

.alert-row p,
.movement-row p,
.professional-dashboard .alert-row p,
.professional-dashboard .movement-row p {
  color: #667386;
  font-size: 11.5px;
  font-weight: 430;
}

.table-wrap {
  border: 1px solid #dce6e7;
  border-radius: 8px;
  background: #ffffff;
}

table {
  font-size: 12.5px;
}

th {
  height: 42px;
  color: #5f6d7f;
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.01em;
  background: #f7faf9;
}

td {
  padding: 12px 14px;
  color: #25354a;
  border-top: 1px solid #edf2f3;
}

tbody tr:hover {
  background: #f8fbfb;
}

.badge {
  min-height: 23px;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 640;
}

.badge.inward,
.badge.return,
.badge.success {
  color: #08745d;
  background: #e5f8f1;
}

.badge.outward,
.badge.damage,
.badge.danger-status {
  color: #b73944;
  background: #fdecec;
}

.badge.adjustment,
.badge.info-status {
  color: #255bbb;
  background: #edf4ff;
}

.badge.warning-status {
  color: #9b6819;
  background: #fff6df;
}

.field-help,
.subtle,
.panel-head p,
.topbar-title p {
  color: #718093;
}

.sku-entry-row,
.threshold-row,
.muted-box {
  border-color: #dce6e7;
  border-radius: 8px;
  background: #fbfdfd;
}

.sku-entry-row span {
  color: #6f7d90;
  font-size: 11px;
  font-weight: 600;
}

.shelf-life-preview {
  border-color: #d7e9ec;
  background: #f4fbfa;
}

.shelf-life-preview strong {
  color: #0b7366;
}

.shelf-life-meter {
  background: #e7eeee;
}

.shelf-life-meter span {
  background: #0b8f72;
}

.readonly-input {
  background: #f5f8f8;
}

.modal {
  background: rgba(12, 24, 32, 0.46);
  backdrop-filter: blur(10px);
}

.modal-card {
  box-shadow: 0 28px 80px rgba(24, 42, 58, 0.22);
}

.toast {
  border-radius: 8px;
  background: #102a2c;
  box-shadow: 0 18px 36px rgba(24, 42, 58, 0.22);
}

@media (max-width: 1500px) {
  .professional-dashboard .refined-metrics {
    grid-template-columns: repeat(3, minmax(190px, 1fr));
  }
}

@media (max-width: 1180px) {
  .premium-login-layout {
    grid-template-columns: 1fr;
  }

  .premium-hero-panel {
    min-height: auto;
  }

  .premium-auth-stage {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    min-height: auto;
  }

  .content,
  .topbar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .dashboard-brief,
  .professional-dashboard .refined-workspace,
  .professional-dashboard .refined-lower {
    grid-template-columns: 1fr;
  }

  .professional-dashboard .refined-metrics,
  .health-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .login-shell.ops-login,
  .ops-login,
  .premium-login {
    padding: 10px;
  }

  .premium-hero-panel,
  .premium-auth-stage,
  .premium-login-card {
    padding: 24px;
  }

  .premium-feature-list,
  .premium-role-switch,
  .professional-dashboard .refined-metrics,
  .health-strip,
  .premium-stat-row,
  .preview-stat-row {
    grid-template-columns: 1fr;
  }

  .premium-hero-copy {
    margin-top: 52px;
  }

  .premium-hero-copy h1 {
    font-size: 34px;
  }

  .dashboard-brief {
    padding: 16px;
  }

  .brief-copy h2 {
    font-size: 23px;
  }

  .panel-body,
  .panel-head {
    padding: 14px;
  }
}

.search-box {
  height: 42px;
  font-size: 12px;
}

.scope-bar {
  padding: 11px 12px;
}

.scope-bar strong {
  font-size: 13px;
  font-weight: 650;
}

.scope-bar span {
  font-size: 11.5px;
  font-weight: 400;
}

.filters select,
.filters input {
  min-height: 40px;
  font-size: 12px;
}

.professional-dashboard .panel-head {
  min-height: 52px;
  padding: 13px 15px;
}

.professional-dashboard .panel-head h2 {
  font-size: 14px;
  font-weight: 650;
}

.professional-dashboard .panel-head p {
  font-size: 11px;
  font-weight: 400;
}

.dashboard-brief {
  padding: 15px;
}

.brief-eyebrow {
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 650;
}

.brief-copy h2 {
  font-size: 20px;
  font-weight: 700;
}

.brief-copy p {
  font-size: 12.5px;
  font-weight: 400;
}

.brief-focus span,
.brief-focus small {
  font-size: 10.5px;
  font-weight: 500;
}

.brief-focus strong {
  font-size: 25px;
  font-weight: 700;
}

.health-chip {
  padding: 11px 12px;
}

.health-chip strong {
  font-size: 15px;
  font-weight: 700;
}

.health-chip small {
  font-size: 10.5px;
  font-weight: 500;
}

.professional-dashboard .refined-metrics .metric-card {
  min-height: 98px;
  padding: 13px;
}

.professional-dashboard .refined-metrics .metric-card p {
  font-size: 10.5px;
  font-weight: 600;
}

.professional-dashboard .refined-metrics .metric-card strong {
  margin-top: 7px;
  font-size: 20px;
  font-weight: 700;
}

.professional-dashboard .refined-metrics .metric-card small {
  font-size: 10.5px;
  font-weight: 400;
}

.professional-dashboard .metric-card em {
  font-size: 10px;
  font-weight: 500;
}

.professional-dashboard .quick-tile strong {
  font-size: 12px;
  font-weight: 650;
}

.professional-dashboard .quick-tile small {
  font-size: 10.5px;
  font-weight: 400;
}

.professional-dashboard .alert-row strong,
.professional-dashboard .movement-row strong {
  font-size: 12px;
  font-weight: 650;
}

.professional-dashboard .alert-row p,
.professional-dashboard .movement-row p,
.professional-dashboard .alert-row small,
.professional-dashboard .movement-row small,
.movement-date {
  font-size: 10.5px;
  font-weight: 400;
}

.professional-dashboard .pill,
.badge {
  font-size: 10.5px;
  font-weight: 600;
}

.professional-dashboard .panel,
.professional-dashboard .metric-card {
  border-color: var(--dash-line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.professional-dashboard .panel-head {
  min-height: 56px;
  padding: 14px 16px;
  background: #fff;
}

.professional-dashboard .panel-head h2 {
  color: var(--dash-ink);
  font-size: 15px;
  font-weight: 850;
}

.professional-dashboard .panel-head p {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 650;
}

.professional-dashboard .panel-body {
  padding: 16px;
}

.dashboard-brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 0.34fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
  border: 1px solid var(--dash-line);
  border-left: 4px solid var(--portal);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.brief-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.brief-eyebrow {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eef5ff;
  color: #244a82;
  font-size: 11px;
  font-weight: 850;
}

.brief-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--dash-green);
}

.brief-copy h2 {
  color: var(--dash-ink);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 850;
}

.brief-copy p {
  max-width: 760px;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}

.brief-focus {
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: var(--dash-soft);
}

.brief-focus span,
.brief-focus small {
  display: block;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 800;
}

.brief-focus strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--dash-ink);
  font-size: 28px;
  line-height: 1;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.brief-meter,
.health-chip i {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: #e7edf5;
}

.brief-meter span,
.health-chip b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--portal);
}

.brief-context {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brief-context span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fff;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.health-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
}

.health-chip {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.health-chip > span,
.professional-dashboard .metric-icon,
.professional-dashboard .row-icon,
.professional-dashboard .quick-tile span,
.professional-dashboard .alert-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: var(--dash-blue);
}

.health-chip.tone-green > span,
.professional-dashboard .tone-green .metric-icon,
.professional-dashboard .quick-tile span {
  color: var(--dash-green);
  background: #ecfdf7;
}

.health-chip.tone-red > span,
.professional-dashboard .tone-red .metric-icon {
  color: var(--dash-red);
  background: #fff1f1;
}

.health-chip.tone-purple > span,
.professional-dashboard .tone-purple .metric-icon {
  color: #5b4ab8;
  background: #f3f1ff;
}

.health-chip.tone-gold > span,
.professional-dashboard .tone-gold .metric-icon {
  color: var(--dash-amber);
  background: #fff8e8;
}

.health-chip strong,
.health-chip small {
  display: block;
}

.health-chip strong {
  color: var(--dash-ink);
  font-size: 16px;
  line-height: 1;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.health-chip small {
  margin: 4px 0 8px;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 750;
}

.health-chip.tone-green b {
  background: var(--dash-green);
}

.health-chip.tone-blue b {
  background: var(--dash-blue);
}

.health-chip.tone-red b {
  background: var(--dash-red);
}

.professional-dashboard .refined-metrics {
  grid-template-columns: repeat(6, minmax(132px, 1fr));
  gap: 12px;
}

.professional-dashboard .refined-metrics .metric-card {
  min-height: 106px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px;
  border-left: 3px solid #cbd5e1;
}

.professional-dashboard .refined-metrics .metric-card::before {
  display: none;
}

.professional-dashboard .refined-metrics .tone-blue,
.professional-dashboard .refined-metrics .tone-navy {
  border-left-color: var(--dash-blue);
}

.professional-dashboard .refined-metrics .tone-green {
  border-left-color: var(--dash-green);
}

.professional-dashboard .refined-metrics .tone-gold {
  border-left-color: var(--dash-amber);
}

.professional-dashboard .refined-metrics .tone-purple {
  border-left-color: #6f57d8;
}

.professional-dashboard .refined-metrics .tone-red {
  border-left-color: var(--dash-red);
}

.professional-dashboard .refined-metrics .metric-card p {
  color: #475569;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
}

.professional-dashboard .refined-metrics .metric-card strong {
  margin-top: 8px;
  color: var(--dash-ink);
  font-size: 22px;
  font-weight: 850;
}

.professional-dashboard .refined-metrics .metric-card small {
  margin-top: 5px;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 650;
}

.professional-dashboard .metric-card em {
  margin-top: 9px;
  padding: 0;
  background: transparent;
  color: #4f6c93;
  font-size: 10.5px;
  font-weight: 800;
}

.professional-dashboard .refined-workspace {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.82fr) minmax(280px, 0.82fr);
  gap: 14px;
}

.professional-dashboard .movement-command-panel {
  grid-column: span 2;
}

.professional-dashboard .quick-panel {
  grid-column: span 2;
}

.professional-dashboard .line-chart {
  min-height: 236px;
}

.professional-dashboard .chart-legend {
  justify-content: flex-start;
  margin-bottom: 0;
  font-size: 11px;
}

.professional-dashboard .stroke-green,
.professional-dashboard .stroke-blue {
  stroke-width: 3;
}

.professional-dashboard .donut-layout {
  grid-template-columns: 142px 1fr;
  gap: 14px;
}

.professional-dashboard .donut {
  width: 142px;
}

.professional-dashboard .donut::after {
  width: 86px;
  height: 86px;
}

.professional-dashboard .donut strong {
  font-size: 18px;
}

.professional-dashboard .donut small,
.professional-dashboard .donut-legend div {
  font-size: 11px;
}

.professional-dashboard .quick-grid {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
}

.professional-dashboard .quick-tile {
  min-height: 58px;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-auto-flow: column;
  justify-content: start;
  justify-items: start;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-color: var(--dash-line);
  text-align: left;
}

.professional-dashboard .quick-tile strong {
  color: var(--dash-ink);
  font-size: 12px;
}

.professional-dashboard .quick-tile small {
  margin-top: 3px;
  color: var(--dash-muted);
  font-size: 10.5px;
}

.professional-dashboard .alert-row,
.professional-dashboard .movement-row {
  min-height: 64px;
}

.professional-dashboard .alert-icon {
  color: var(--dash-blue);
}

.professional-dashboard .alert-row strong,
.professional-dashboard .movement-row strong {
  font-size: 12px;
}

.professional-dashboard .alert-row p,
.professional-dashboard .movement-row p,
.professional-dashboard .alert-row small,
.professional-dashboard .movement-row small,
.movement-date {
  font-size: 11px;
}

.professional-dashboard .refined-lower {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.professional-dashboard .premium-movement-row {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 9px 0;
}

.professional-dashboard .premium-movement-row .movement-date {
  display: none;
}

.professional-dashboard .pill {
  min-height: 23px;
  padding: 0 8px;
  font-size: 11px;
}

@media (max-width: 1500px) {
  .professional-dashboard .refined-metrics {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .professional-dashboard .refined-workspace,
  .professional-dashboard .refined-lower {
    grid-template-columns: 1fr 1fr;
  }

  .professional-dashboard .movement-command-panel,
  .professional-dashboard .quick-panel,
  .professional-dashboard .active-queue-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .dashboard-brief,
  .professional-dashboard .refined-workspace,
  .professional-dashboard .refined-lower {
    grid-template-columns: 1fr;
  }

  .health-strip,
  .professional-dashboard .refined-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .brief-context {
    grid-column: auto;
  }

  .professional-dashboard .movement-command-panel,
  .professional-dashboard .quick-panel,
  .professional-dashboard .active-queue-panel {
    grid-column: auto;
  }

  .professional-dashboard .donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 640px) {
  .health-strip,
  .professional-dashboard .refined-metrics,
  .professional-dashboard .quick-grid {
    grid-template-columns: 1fr;
  }

  .brief-copy h2 {
    font-size: 20px;
  }

  .brief-focus strong {
    font-size: 25px;
  }
}

/* Final typography pass for the operational dashboard. */
.professional-dashboard {
  font-size: 12.5px;
}

.professional-dashboard .panel-head h2 {
  font-size: 14px;
  font-weight: 650;
}

.professional-dashboard .panel-head p,
.brief-copy p,
.brief-focus span,
.brief-focus small,
.health-chip small,
.professional-dashboard .refined-metrics .metric-card small,
.professional-dashboard .quick-tile small,
.professional-dashboard .alert-row p,
.professional-dashboard .movement-row p,
.professional-dashboard .alert-row small,
.professional-dashboard .movement-row small,
.movement-date {
  font-weight: 400;
}

.brief-eyebrow,
.brief-context span,
.professional-dashboard .refined-metrics .metric-card p {
  font-weight: 600;
}

.brief-copy h2 {
  font-size: 20px;
  font-weight: 700;
}

.brief-focus strong {
  font-size: 25px;
  font-weight: 700;
}

.health-chip strong {
  font-size: 15px;
  font-weight: 700;
}

.professional-dashboard .refined-metrics .metric-card {
  min-height: 98px;
}

.professional-dashboard .refined-metrics .metric-card strong {
  font-size: 20px;
  font-weight: 700;
}

.professional-dashboard .metric-card em {
  font-weight: 500;
}

.professional-dashboard .quick-tile strong,
.professional-dashboard .alert-row strong,
.professional-dashboard .movement-row strong {
  font-weight: 650;
}

.topbar-title h1 {
  font-size: 23px;
  font-weight: 700;
}

.topbar-title p {
  font-size: 12px;
  font-weight: 400;
}
