.login-card { width: min(100%, 470px); }
.login-card form { gap: 8px; }
.login-card form label:not(:first-child) { margin-top: 5px; }
.login-card input { min-height: 43px; font-size: 13px; }
.auth-setup-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 15px; padding: 11px 12px; border: 1px solid #d8e9e7; border-radius: 10px; background: #f2faf8; color: #536c77; }
.auth-setup-note [data-icon] { flex: 0 0 auto; color: #168f83; margin-top: 2px; }
.auth-setup-note p { font-size: 11px; line-height: 1.9; }
.settings-security-panel { grid-column: 1 / -1; }
.admin-account-summary { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid #e6edf0; border-radius: 12px; background: linear-gradient(120deg,#f6fbfa,#fff); }
.account-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #e5f5f1; color: #148f83; }
.admin-account-summary div { display: grid; gap: 2px; min-width: 0; }
.admin-account-summary small { color: #8491a1; font-size: 10px; }
.admin-account-summary strong { color: #2d4056; font-size: 13px; direction: ltr; text-align: right; overflow-wrap: anywhere; }
.account-session-badge { margin-right: auto; padding: 5px 9px; border-radius: 999px; background: #edf7f3; color: #32856e; font-size: 9px; white-space: nowrap; }
.password-change-form { margin-top: 17px; }
.password-change-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.password-change-heading strong { color: #364b61; font-size: 12px; }
.password-change-heading small { color: #8d98a8; font-size: 10px; }
.password-change-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.password-change-fields label { display: grid; gap: 6px; color: #69788b; font-size: 10px; font-weight: 700; }
.password-change-fields input { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #dfe6eb; border-radius: 8px; color: #33465b; background: #fff; direction: ltr; text-align: left; font-size: 12px; }
.password-change-actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.password-change-actions > span { color: #8793a2; font-size: 10px; }
.settings-security-panel .settings-callout { margin-top: 14px; }
.settings-password-status.error { color: #b64d57; }
.settings-password-status.success { color: #32856e; }
.settings-update-panel { grid-column: 1 / -1; }
.update-version-strip { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 14px; margin: 2px 0 16px; padding: 13px 16px; border: 1px solid #e5ecef; border-radius: 13px; background: linear-gradient(110deg,#f7fbfc,#f1f8f7); }
.update-version-strip > div { display: grid; gap: 4px; }
.update-version-strip small { color: #8190a0; font-size: 10px; }
.update-version-strip strong { color: #2e465d; direction: ltr; text-align: right; font: 700 15px/1.4 "Segoe UI",Tahoma,sans-serif; }
.update-version-arrow { display: grid; place-items: center; width: 32px; height: 32px; color: #168f83; border: 1px solid #cce7e2; border-radius: 10px; background: #fff; transform: rotate(180deg); }
.update-upload-row { display: flex; align-items: stretch; gap: 10px; }
.update-file-picker { display: flex; flex: 1 1 auto; align-items: center; gap: 12px; min-width: 0; padding: 11px 13px; border: 1px dashed #b8cbcF; border-radius: 12px; background: #fbfdfd; color: #168f83; cursor: pointer; transition: border-color .18s ease,background .18s ease; }
.update-file-picker:hover { border-color: #168f83; background: #f4fbf9; }
.update-file-picker > [data-icon] { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; background: #e8f6f3; }
.update-file-picker > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.update-file-picker strong { overflow: hidden; color: #40546b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.update-file-picker small { color: #8995a3; font-size: 10px; }
.update-file-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.update-file-picker:focus-within { outline: 3px solid rgba(22,143,131,.2); outline-offset: 2px; }
.update-upload-row > .button { flex: 0 0 auto; min-height: 58px; white-space: nowrap; }
.update-progress-wrap { display: flex; align-items: center; gap: 10px; margin-top: 11px; }
.update-progress-wrap progress { width: 100%; height: 8px; overflow: hidden; appearance: none; border: 0; border-radius: 99px; background: #eaf0f2; }
.update-progress-wrap progress::-webkit-progress-bar { border-radius: 99px; background: #eaf0f2; }
.update-progress-wrap progress::-webkit-progress-value { border-radius: 99px; background: linear-gradient(90deg,#1673b8,#16a99a); }
.update-progress-wrap progress::-moz-progress-bar { border-radius: 99px; background: linear-gradient(90deg,#1673b8,#16a99a); }
.update-progress-wrap > span { min-width: 42px; color: #607488; font: 600 11px/1 "Segoe UI",Tahoma,sans-serif; direction: ltr; text-align: left; }
.update-status-line { margin-top: 12px; padding: 10px 12px; border: 1px solid #e4eaee; border-radius: 10px; background: #f8fafb; color: #65778a; font-size: 11px; line-height: 1.9; }
.update-status-line.success { border-color: #cce8df; background: #f0faf6; color: #2c7c67; }
.update-status-line.pending { border-color: #d4e5f2; background: #f1f8fc; color: #387196; }
.update-status-line.warning { border-color: #f2dfc1; background: #fff9ee; color: #9a7034; }
.update-status-line.error { border-color: #f1d3d5; background: #fff5f5; color: #a6404b; }
.update-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 11px; }
.update-safety-note { margin-top: 13px; }
.update-package-guide { margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf0f2; color: #607488; }
.update-package-guide summary { width: fit-content; color: #37677c; font-size: 11px; font-weight: 700; cursor: pointer; }
.update-package-guide p { margin: 9px 0 4px; font-size: 10px; line-height: 1.9; }
.update-package-guide small { color: #8a96a3; font-size: 9px; }
@media (max-width: 760px) {
  .password-change-fields { grid-template-columns: 1fr; }
  .password-change-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .account-session-badge { font-size: 8px; }
  .update-upload-row { align-items: stretch; flex-direction: column; }
  .update-upload-row > .button { min-height: 46px; }
  .update-version-strip { gap: 8px; padding: 11px; }
  .update-version-strip strong { font-size: 12px; }
}

/* Login experience */
.login-screen {
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  padding: clamp(14px, 3.2vw, 38px);
  background:
    radial-gradient(ellipse at 18% 84%, rgba(15, 165, 159, .2), transparent 38%),
    radial-gradient(ellipse at 86% 12%, rgba(61, 117, 177, .28), transparent 34%),
    linear-gradient(135deg, #081526 0%, #102640 52%, #0b1b30 100%);
  font-family: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
}
.login-screen::before,
.login-screen::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.login-screen::before {
  opacity: .19;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(115deg, transparent 3%, #000 54%, transparent 100%);
}
.login-screen::after {
  inset: auto auto -220px -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(103, 219, 202, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(103,219,202,.025), 0 0 0 84px rgba(103,219,202,.02), 0 0 0 126px rgba(103,219,202,.015);
}
.login-card {
  direction: rtl;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(1080px, 100%);
  min-height: min(690px, calc(100dvh - 44px));
  max-height: calc(100dvh - 44px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 38px 100px rgba(0,0,0,.34), 0 8px 24px rgba(4,19,35,.2);
}
.login-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 36px 42px 24px;
  overflow: hidden;
  color: #f4fbff;
  background:
    radial-gradient(ellipse at 83% 76%, rgba(22,181,166,.22), transparent 44%),
    radial-gradient(ellipse at 12% 8%, rgba(73,124,189,.25), transparent 45%),
    linear-gradient(150deg, #102844 0%, #0d2038 55%, #09192c 100%);
}
.login-showcase::before,
.login-showcase::after { content: ""; position: absolute; pointer-events: none; }
.login-showcase::before {
  width: 310px;
  height: 310px;
  left: -125px;
  top: 180px;
  border: 1px solid rgba(140,220,221,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(140,220,221,.025), 0 0 0 70px rgba(140,220,221,.02);
}
.login-showcase::after {
  inset: 0;
  opacity: .12;
  background-image: radial-gradient(rgba(255,255,255,.75) .7px, transparent .7px);
  background-size: 19px 19px;
  mask-image: linear-gradient(140deg, transparent 10%, #000 95%);
}
.login-showcase-brand,
.login-showcase-copy,
.login-network-visual,
.login-showcase-foot { position: relative; z-index: 1; }
.login-showcase-brand { display: flex; align-items: center; gap: 11px; }
.login-brand-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.login-brand-copy .brand-wordmark { width: 174px; height: 31px; }
.login-brand-copy small { display: block; margin-top: 0; color: #a8b9ca; font-size: 10px; }
.brand-wordmark {
  display: block;
  width: 136px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 1px 4px rgba(22,151,216,.2));
}
.brand-copy { min-width: 0; }
.brand-copy .brand-wordmark { width: 136px; height: 28px; }
.login-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #2fc9b7, #119386);
  box-shadow: 0 10px 24px rgba(6,168,151,.25), inset 0 1px 0 rgba(255,255,255,.35);
  font-size: 19px;
  font-weight: 900;
}
.login-showcase-brand strong { display: block; color: #f7fbff; font-size: 13px; letter-spacing: .7px; }
.login-showcase-brand small { display: block; margin-top: 2px; color: #a8b9ca; font-size: 10px; }
.login-showcase-copy { margin-top: 50px; }
.login-kicker { display: inline-flex; align-items: center; gap: 8px; color: #9bc8d1; font-size: 9px; font-weight: 800; letter-spacing: 1.35px; }
.login-kicker i,
.login-showcase-foot i,
.login-access-badge i { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #45d3b0; box-shadow: 0 0 0 4px rgba(69,211,176,.13); }
.login-showcase-copy h2 { margin: 13px 0 9px; color: #f7fbff; font-size: clamp(25px, 3vw, 34px); font-weight: 800; line-height: 1.55; letter-spacing: -.5px; }
.login-showcase-copy h2 span { color: #70ddcc; }
.login-showcase-copy p { max-width: 355px; color: #a9b9c9; font-size: 11px; line-height: 2; }
.login-network-visual { position: relative; display: grid; place-items: center; flex: 1; min-height: 225px; margin: 8px 0 5px; }
.network-orbit { position: absolute; display: block; border: 1px solid rgba(138,221,218,.14); border-radius: 50%; }
.orbit-outer { width: 242px; height: 242px; border-style: dashed; animation: login-orbit-spin 50s linear infinite; }
.orbit-inner { width: 164px; height: 164px; border-color: rgba(138,221,218,.18); box-shadow: 0 0 50px rgba(26,190,171,.08), inset 0 0 40px rgba(26,190,171,.04); }
.network-core { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border: 1px solid rgba(161,241,225,.55); border-radius: 25px; color: #a7fff0; background: linear-gradient(145deg,rgba(30,183,166,.3),rgba(31,70,99,.6)); box-shadow: 0 0 0 10px rgba(37,188,170,.07), 0 15px 45px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.18); transform: rotate(-8deg); }
.network-core [data-icon] { width: 31px; height: 31px; transform: rotate(8deg); }
.network-core svg,
.network-node svg { display: block; width: 100%; height: 100%; }
.network-core i { position: absolute; top: 7px; left: 7px; width: 8px; height: 8px; border-radius: 50%; background: #6df0c9; box-shadow: 0 0 12px #6df0c9; }
.network-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(184,227,235,.28); border-radius: 13px; color: #d6f6f4; background: rgba(25,52,76,.92); box-shadow: 0 10px 26px rgba(0,0,0,.22); }
.network-node [data-icon] { width: 18px; height: 18px; }
.node-top { top: 7%; right: calc(50% - 19px); }
.node-left { top: 48%; left: 11%; }
.node-right { top: 48%; right: 11%; color: #83e2c9; }
.network-link { position: absolute; z-index: 0; display: block; width: 74px; height: 1px; background: linear-gradient(90deg, transparent, rgba(112,220,205,.55), transparent); }
.link-top { top: 30%; left: calc(50% - 37px); height: 42px; width: 1px; background: linear-gradient(180deg, transparent, rgba(112,220,205,.55), transparent); }
.link-left { top: 55%; left: 22%; transform: rotate(-15deg); }
.link-right { top: 55%; right: 22%; transform: rotate(15deg); }
.network-caption { position: absolute; right: 5%; bottom: 5%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(196,234,235,.14); border-radius: 12px; background: rgba(8,25,43,.55); backdrop-filter: blur(12px); }
.network-caption > i { width: 30px; height: 30px; border-radius: 9px; background: rgba(46,192,173,.14); }
.network-caption strong,
.network-caption small { display: block; }
.network-caption strong { color: #e4f3f6; font-size: 9px; }
.network-caption small { margin-top: 2px; color: #8ea7bb; font-size: 8px; }
.network-caption > i { display: grid; place-items: center; flex: 0 0 auto; }
.network-caption > i svg { width: 16px; height: 16px; color: #80e2d2; }
.login-showcase-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid rgba(212,238,243,.12); color: #8da5b8; font-size: 9px; }
.login-showcase-foot span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.login-showcase-foot i { width: 6px; height: 6px; }
.login-main { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 39px clamp(30px, 5vw, 62px) 27px; overflow-y: auto; background: linear-gradient(160deg,#fff 0%,#fbfcfe 72%,#f7fafb 100%); }
.login-main-top { display: flex; justify-content: flex-end; align-items: center; min-height: 33px; }
.login-mobile-brand { display: none; }
.login-access-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #e4eeeb; border-radius: 999px; background: #f5faf8; color: #68847d; font-size: 9px; font-weight: 700; }
.login-access-badge i { width: 6px; height: 6px; box-shadow: none; }
.login-heading { margin: 29px 0 20px; }
.login-heading .eyebrow { margin-bottom: 9px; color: #119789; font-size: 9px; letter-spacing: 1.1px; }
.login-card h1#auth-title { margin: 0 0 6px; color: #1a2c42; font-size: 26px; font-weight: 850; line-height: 1.5; letter-spacing: -.35px; }
.login-heading .muted { color: #8591a0; font-size: 11px; line-height: 1.9; }
.login-card form { gap: 9px; }
.login-card form label { margin-top: 3px; color: #4e6075; font-size: 10px; font-weight: 750; }
.login-card form input { min-height: 45px; padding: 10px 13px; border: 1px solid #e0e7ed; border-radius: 10px; color: #26384e; background: #fbfcfd; font-family: Vazirmatn,"Segoe UI",Tahoma,sans-serif; font-size: 12px; transition: border-color .18s, box-shadow .18s, background .18s; }
.login-card form input:hover { border-color: #cbd9df; background: #fff; }
.login-card form input:focus { border-color: #38b6a8; background: #fff; box-shadow: 0 0 0 4px rgba(35,177,161,.11); outline: none; }
.login-card form .button { position: relative; overflow: hidden; min-height: 47px; margin-top: 9px; border-radius: 10px; background: linear-gradient(115deg,#159b91,#17b4a1); box-shadow: 0 9px 20px rgba(22,168,153,.2); font-family: Vazirmatn,"Segoe UI",Tahoma,sans-serif; font-size: 11px; transition: background-color .18s, box-shadow .18s, filter .18s; }
.login-card form .button:hover:not(:disabled) { transform: none; filter: brightness(1.055) saturate(1.04); box-shadow: 0 9px 20px rgba(22,168,153,.2), inset 0 0 0 1px rgba(229,255,251,.18); }
.login-card form .button [data-icon] { width: 16px; height: 16px; }
.login-card form .button svg { width: 100%; height: 100%; }
.auth-setup-note { gap: 11px; margin: -3px 0 16px; padding: 11px 13px; border-color: #dcebe8; border-radius: 11px; background: linear-gradient(115deg,#f0faf7,#f8fbfb); color: #637c7c; }
.auth-setup-note [data-icon] { width: 19px; height: 19px; margin-top: 1px; }
.auth-setup-note svg { width: 100%; height: 100%; }
.auth-setup-note p { font-size: 10px; line-height: 1.85; }
.login-message { min-height: 22px; margin-top: 7px; color: #bd535d; font-size: 10px; }
.login-foot { gap: 8px; margin-top: 3px; padding-top: 14px; border-top-color: #edf1f4; color: #8794a2; font-size: 9px; }
.login-foot .status-dot { width: 6px; height: 6px; background: #2fb78f; box-shadow: 0 0 0 3px rgba(47,183,143,.1); }
.login-foot-separator { width: 3px; height: 3px; margin: 0 3px; border-radius: 50%; background: #c6cfd7; }
@keyframes login-orbit-spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .login-card { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); }
  .login-showcase { padding: 30px 28px 22px; }
  .login-main { padding-right: 34px; padding-left: 34px; }
  .node-left { left: 6%; }
  .node-right { right: 6%; }
}
@media (max-width: 700px) {
  .login-screen { padding: 14px; }
  .login-card { display: flex; flex-direction: column; width: min(100%, 500px); min-height: auto; max-height: calc(100dvh - 28px); border-radius: 21px; overflow-y: auto; }
  .login-showcase { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px 12px; min-height: 115px; padding: 17px 21px; }
  .login-showcase-brand { grid-column: 1 / -1; }
  .login-showcase-brand .login-brand-mark { width: 34px; height: 34px; border-radius: 11px; font-size: 16px; }
  .login-showcase-copy { margin: 0; }
  .login-kicker { font-size: 7px; letter-spacing: .8px; }
  .login-showcase-copy h2 { margin: 5px 0 0; font-size: 16px; line-height: 1.45; }
  .login-showcase-copy p,
  .login-network-visual,
  .login-showcase-foot { display: none; }
  .login-main { padding: 25px 24px 18px; overflow: visible; }
  .login-main-top { min-height: 25px; }
  .login-heading { margin: 17px 0 16px; }
  .login-card h1#auth-title { font-size: 23px; }
}
@media (max-width: 430px) {
  .login-screen { padding: 9px; }
  .login-card { max-height: calc(100dvh - 18px); border-radius: 17px; }
  .login-showcase { min-height: 104px; padding: 14px 17px; }
  .login-main { padding: 21px 18px 16px; }
  .login-card form input { min-height: 42px; }
  .login-foot { flex-wrap: wrap; font-size: 8px; }
}
@media (max-height: 720px) and (min-width: 701px) {
  .login-card { min-height: 0; }
  .login-showcase { padding-top: 23px; padding-bottom: 17px; }
  .login-showcase-copy { margin-top: 24px; }
  .login-showcase-copy h2 { font-size: 26px; }
  .login-network-visual { min-height: 160px; }
  .orbit-outer { width: 200px; height: 200px; }
  .orbit-inner { width: 142px; height: 142px; }
  .login-main { padding-top: 23px; padding-bottom: 18px; }
  .login-heading { margin-top: 19px; margin-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-outer { animation: none; }
  .login-card form input,
  .login-card form .button { transition: none; }
}

/* Lightweight, GIF-like motion for the login illustration */
.login-card { animation: login-card-enter .62s cubic-bezier(.2,.75,.25,1) both; }
.login-showcase::before { animation: showcase-halo 9s ease-in-out infinite alternate; }
.login-screen::before { animation: login-grid-breathe 12s ease-in-out infinite alternate; }
.login-showcase-copy { animation: login-copy-enter .7s .08s cubic-bezier(.2,.75,.25,1) both; }
.login-main { animation: login-main-enter .72s .12s ease-out both; }
.network-core { animation: network-core-float 4.8s ease-in-out infinite; }
.network-core::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(130,239,220,.34);
  border-radius: 32px;
  animation: network-ring-pulse 3.1s ease-out infinite;
  pointer-events: none;
}
.network-core i { animation: network-led-breathe 1.8s ease-in-out infinite; }
.network-node { animation: network-node-float 4.2s ease-in-out infinite; }
.node-left { animation-delay: -1.4s; }
.node-right { animation-delay: -2.8s; }
.link-top,
.link-left,
.link-right { animation: network-link-pulse 3.2s ease-in-out infinite; }
.link-left { animation-delay: -1s; }
.link-right { animation-delay: -2s; }
.network-caption { animation: network-caption-float 5.5s ease-in-out infinite; }
.login-access-badge i,
.login-showcase-foot i { animation: login-status-pulse 2s ease-in-out infinite; }
.login-card form .button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(110deg,transparent 20%,rgba(255,255,255,.21) 48%,transparent 72%);
  transform: translateX(115%);
  transition: transform .65s ease;
  pointer-events: none;
}
.login-card form .button:hover::after { transform: translateX(-115%); }
@keyframes login-card-enter {
  from { opacity: 0; transform: translateY(15px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes login-copy-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes login-main-enter {
  from { opacity: .72; }
  to { opacity: 1; }
}
@keyframes showcase-halo {
  from { opacity: .72; transform: translate3d(0,0,0) scale(.98); }
  to { opacity: 1; transform: translate3d(16px,-8px,0) scale(1.04); }
}
@keyframes login-grid-breathe { from { opacity: .12; } to { opacity: .22; } }
@keyframes network-core-float {
  0%,100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-6px) rotate(-5deg); }
}
@keyframes network-ring-pulse {
  0% { opacity: .7; transform: scale(.92); }
  85%,100% { opacity: 0; transform: scale(1.28); }
}
@keyframes network-led-breathe {
  0%,100% { opacity: .72; box-shadow: 0 0 7px #6df0c9; }
  50% { opacity: 1; box-shadow: 0 0 15px #6df0c9,0 0 25px rgba(109,240,201,.42); }
}
@keyframes network-node-float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes network-link-pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes network-caption-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes login-status-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(69,211,176,.1); } 50% { box-shadow: 0 0 0 6px rgba(69,211,176,.18); } }
@media (prefers-reduced-motion: reduce) {
  .login-card,
  .login-showcase::before,
  .login-screen::before,
  .login-showcase-copy,
  .login-main,
  .network-core,
  .network-core::after,
  .network-core i,
  .network-node,
  .link-top,
  .link-left,
  .link-right,
  .network-caption,
  .login-access-badge i,
  .login-showcase-foot i { animation: none !important; }
  .login-card form .button::after { display: none; }
}

/* Keep the supplied emblem recognizable: show the transparent crop without a badge frame. */
.brand { gap: 7px; }
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-copy { flex: 1 1 auto; }
.brand-copy .brand-wordmark { width: 101px; height: 23px; }
.login-brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.brand-mark img,
.login-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(20, 166, 248, .24));
}
.login-brand-copy .brand-wordmark { width: 188px; height: 34px; }
.login-showcase-brand { gap: 12px; }
.login-mobile-brand { align-items: center; gap: 6px; }
.login-mobile-brand .login-brand-mark { width: 44px; height: 44px; flex-basis: 44px; }
.login-mobile-brand .brand-wordmark { width: 126px; height: 26px; }
.login-network-visual { min-height: 225px; }
.login-showcase-copy { margin-top: 38px; }
.login-showcase-copy h2 { font-size: clamp(27px, 3vw, 35px); }
.login-showcase-copy p { font-size: 12px; }
.login-card form { gap: 10px; }
.login-card form label { font-size: 12px; line-height: 1.8; }
.login-card form input { min-height: 50px; padding: 11px 14px; font-size: 14px; }
.login-card form input[id$="username"],
.login-card form input[id$="password"],
.login-card form input[id$="password-confirm"],
.login-card form input#bootstrap-token { direction: ltr; text-align: left; }
.login-card form .button { min-height: 51px; font-size: 13px; }
.login-card h1#auth-title { font-size: 29px; }
.login-heading .muted { font-size: 13px; }
.auth-setup-note p { font-size: 12px; }
.login-message { font-size: 12px; }
.login-foot { font-size: 10px; }
.login-mobile-brand .brand-wordmark { width: 126px; height: 26px; }
@media (max-width: 700px) {
  .login-card h1#auth-title { font-size: 25px; }
  .login-card form label { font-size: 12px; }
  .login-card form input { min-height: 48px; font-size: 14px; }
  .login-card form .button { min-height: 49px; font-size: 13px; }
  .login-heading .muted { font-size: 12px; }
  .login-brand-copy .brand-wordmark { width: 148px; height: 27px; }
}

@media (max-width: 700px) {
  .login-showcase-brand .login-brand-mark { width: 46px; height: 46px; flex-basis: 46px; }
  .login-brand-copy .brand-wordmark { width: 154px; height: 28px; }
  .login-showcase-brand { gap: 10px; }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .brand { gap: 2px; }
  .brand-mark { width: 30px; height: 30px; flex-basis: 30px; }
  .sidebar-toggle { width: 24px; height: 24px; flex-basis: 24px; font-size: 19px; }
}
