:root {
  --navy: #173a8f;
  --sky: #1495d3;
  --gold: #ffc61a;
  --ink: #0d1b3d;
  --mist: #eaf5fb;
  --white: #ffffff;
  --line: rgba(18, 45, 106, 0.12);
  --shadow: 0 24px 80px rgba(15, 37, 90, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(20, 149, 211, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 198, 26, 0.2), transparent 30%),
    linear-gradient(135deg, #f4f9fd 0%, #ecf3ff 45%, #fefbf1 100%);
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.auth-card {
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(23, 58, 143, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 28px 80px rgba(23, 58, 143, 0.12);
  backdrop-filter: blur(16px);
}

.auth-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ghost-install-button {
  width: 100%;
  height: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(23, 58, 143, 0.14);
  border-radius: 16px;
  background: rgba(20, 149, 211, 0.06);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.ghost-install-button:hover {
  background: rgba(20, 149, 211, 0.1);
}

.auth-card__logo {
  width: 58px;
  height: 58px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(20, 149, 211, 0.08);
  object-fit: contain;
}

.auth-card__brand strong,
.auth-card__brand span {
  display: block;
}

.auth-card__brand strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.auth-card__brand span {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.62);
}

.auth-panel__header {
  margin-bottom: 22px;
}

.auth-panel__header h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 2.2rem;
}

.auth-panel__header p {
  margin: 0;
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.submit-button--full {
  width: 100%;
}

.text-link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--navy);
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.text-link-button:hover {
  color: var(--sky);
}

.brand-panel {
  position: relative;
  overflow: hidden;
  padding: 56px;
  display: flex;
  align-items: stretch;
}

.brand-panel__backdrop {
  position: absolute;
  inset: 24px 12px 24px 24px;
  border-radius: 36px;
  background:
    linear-gradient(150deg, rgba(23, 58, 143, 0.95), rgba(20, 149, 211, 0.92)),
    linear-gradient(45deg, rgba(255, 198, 26, 0.2), transparent 60%);
  box-shadow: var(--shadow);
}

.brand-panel__backdrop::before,
.brand-panel__backdrop::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.brand-panel__backdrop::before {
  width: 360px;
  height: 360px;
  top: -90px;
  right: -120px;
}

.brand-panel__backdrop::after {
  width: 240px;
  height: 240px;
  bottom: -80px;
  left: -60px;
}

.brand-panel__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 620px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-logo {
  width: 120px;
  height: auto;
  padding: 10px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
}

.brand-panel h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.brand-panel p {
  margin: 0;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.feature-list article {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
}

.login-card {
  width: min(100%, 460px);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(23, 58, 143, 0.12);
}

.login-card__header {
  margin-bottom: 24px;
}

.login-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20, 149, 211, 0.12);
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.login-card h2 {
  margin: 18px 0 8px;
  font-size: 2rem;
  line-height: 1.1;
}

.login-card p {
  margin: 0;
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 18px;
}

.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 20px;
  background: #edf4ff;
}

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

body.auth-body--cinema {
  min-height: 100vh;
  color: #f5f7fb;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top center, rgba(255, 45, 45, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(123, 21, 35, 0.28), transparent 36%),
    linear-gradient(135deg, #050505 0%, #090909 45%, #121212 100%);
}

.stream-login-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 36px);
}

.stream-login-page__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(6, 6, 6, 0.42) 16%, rgba(10, 10, 10, 0.14) 50%, rgba(6, 6, 6, 0.42) 84%, rgba(0, 0, 0, 0.68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.28) 24%, rgba(0, 0, 0, 0.46) 100%),
    url("assets/login-banner-optimized.jpg?v=20260526-1");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  pointer-events: none;
}

.stream-login-layout {
  position: relative;
  z-index: 1;
  width: min(100%, 1460px);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 560px);
  gap: clamp(24px, 3vw, 42px);
  align-items: stretch;
}

.stream-login-layout--single {
  width: 100%;
  max-width: 520px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.stream-showcase {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.6) 100%),
    url("assets/login-banner-optimized.jpg?v=20260526-1") center/cover no-repeat;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
}

.stream-showcase__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.7) 86%);
}

.stream-showcase__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: clamp(40px, 5vw, 72px);
  text-align: center;
}

.stream-showcase__logo {
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.58));
}

.stream-showcase h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.05;
  color: #ffffff;
}

.stream-showcase h1 span {
  color: #ff2d2d;
}

.stream-showcase p {
  margin: 0;
  max-width: 600px;
  color: rgba(241, 243, 247, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.stream-showcase__features {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.stream-feature {
  min-height: 150px;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(10px);
}

.stream-feature__icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.stream-feature__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.stream-feature strong {
  font-size: 1rem;
  line-height: 1.45;
  color: #ffffff;
}

.stream-showcase__copyright {
  position: absolute;
  left: clamp(26px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 38px);
  max-width: none;
  font-size: 0.95rem;
  color: rgba(236, 239, 244, 0.82);
}

.stream-login-card {
  position: relative;
  min-height: 760px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at bottom center, rgba(255, 255, 255, 0.04), transparent 32%),
    linear-gradient(180deg, rgba(16, 16, 16, 0.97) 0%, rgba(10, 10, 10, 0.95) 100%);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
}

.stream-login-card--compact {
  width: min(100%, 500px);
  min-height: 0;
}

.stream-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stream-login-card__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.stream-login-card__logo-main {
  width: 132px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.4));
}

.stream-login-card__badge {
  width: 94px;
  height: 94px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.stream-login-card__badge-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.stream-login-card__eyebrow {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: 0.14em;
  color: #f5f5f7;
}

.stream-login-card__header {
  margin-bottom: 30px;
  text-align: center;
}

.stream-login-card__system-name {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.stream-login-card__header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.stream-login-card__header p:last-child {
  margin: 12px auto 0;
  max-width: 420px;
  color: rgba(224, 228, 235, 0.78);
  font-size: 1.04rem;
  line-height: 1.6;
}

.stream-login-form {
  gap: 18px;
}

.stream-field {
  gap: 10px;
}

.stream-field > span {
  color: #f3f4f7;
  font-size: 1rem;
  font-weight: 700;
}

.stream-field__control {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.stream-field__control:focus-within {
  border-color: rgba(255, 66, 66, 0.88);
  box-shadow: 0 0 0 4px rgba(255, 45, 45, 0.12);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.stream-field__control input {
  width: 100%;
  border: 0;
  outline: none;
  color: #ffffff;
  font: inherit;
  background: transparent;
}

.stream-field__control input::placeholder {
  color: rgba(231, 236, 243, 0.45);
}

.stream-field__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: rgba(244, 245, 248, 0.78);
}

.stream-field__icon svg,
.stream-password-toggle svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.stream-field__control--password {
  padding-right: 10px;
}

.stream-password-toggle {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(236, 239, 244, 0.74);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.stream-password-toggle:hover,
.stream-password-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.stream-password-toggle__icon {
  width: 22px;
  height: 22px;
}

.stream-submit-button {
  min-height: 64px;
  margin-top: 4px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff3535 0%, #d70b18 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 30px rgba(170, 10, 22, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.stream-submit-button:hover,
.stream-submit-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 22px 34px rgba(170, 10, 22, 0.42);
}

.stream-submit-button:disabled {
  cursor: progress;
  opacity: 0.85;
}

.stream-submit-button--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.stream-submit-button--ghost:hover,
.stream-submit-button--ghost:focus-visible {
  box-shadow: none;
}

.auth-body--cinema .ghost-install-button {
  display: none !important;
}

.auth-body--cinema .stream-field input,
.auth-body--cinema .stream-field input:focus,
.auth-body--cinema .forgot-password-reveal input {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.auth-body--cinema .stream-field input:-webkit-autofill,
.auth-body--cinema .stream-field input:-webkit-autofill:hover,
.auth-body--cinema .stream-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.auth-body--cinema .stream-submit-button {
  background: linear-gradient(180deg, #ff2d2d 0%, #c10916 100%);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(170, 10, 22, 0.34);
}

.auth-body--cinema .stream-submit-button--ghost {
  background: rgba(255, 255, 255, 0.06);
}

.stream-login-form__options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stream-text-link {
  justify-self: center;
  color: #ff4545;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.stream-text-link:hover {
  color: #ff7777;
}

.stream-remember-row {
  justify-content: flex-start;
  margin-top: 2px;
  color: #f8fafc;
  font-size: 0.96rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.stream-remember-row input {
  width: 18px;
  height: 18px;
  accent-color: #ff3131;
}

.stream-remember-row span {
  color: inherit;
}

body.auth-body--cinema .remember-row,
body.auth-body--cinema .remember-row span {
  color: #f8fafc !important;
}

.stream-login-card__separator {
  position: relative;
  margin: 6px 0 2px;
  text-align: center;
}

.stream-login-card__separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stream-login-card__separator span {
  position: relative;
  display: inline-block;
  padding: 0 14px;
  background: #111111;
  color: rgba(232, 236, 242, 0.62);
  font-size: 0.95rem;
}

.stream-login-card__security {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  margin-top: 8px;
  padding-top: 16px;
}

.stream-login-card__security-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ff3131;
  background: rgba(255, 49, 49, 0.08);
  border: 1px solid rgba(255, 49, 49, 0.14);
}

.stream-login-card__security-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.stream-login-card__security strong {
  display: block;
  margin-bottom: 4px;
  color: #f8f9fb;
  font-size: 0.98rem;
}

.stream-login-card__security p {
  margin: 0;
  color: rgba(228, 232, 238, 0.64);
  line-height: 1.55;
}

.stream-login-layout--single .stream-login-card__header {
  margin-bottom: 24px;
}

.stream-login-layout--single .stream-login-card__header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.stream-login-layout--single .stream-login-form {
  gap: 16px;
}

.stream-login-layout--single .stream-login-form__options {
  margin-top: 4px;
}

.stream-login-layout--single .stream-submit-button {
  margin-top: 2px;
}

.stream-helper-text {
  min-height: 24px;
  margin: 6px 0 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}

body.auth-body--cinema .helper-text {
  color: #ffffff !important;
}

.stream-login-card__footer {
  margin-top: 28px;
  text-align: center;
  color: rgba(219, 223, 228, 0.72);
}

.stream-login-card__footer p,
.stream-login-card__footer small {
  display: block;
  margin: 0;
}

.stream-login-card__footer p {
  font-size: 0.98rem;
}

.stream-login-card__footer small {
  margin-top: 8px;
  font-size: 0.95rem;
}

.forgot-password-actions,
.forgot-password-reset {
  display: grid;
  gap: 14px;
}

.forgot-password-reveal {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 72, 72, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.forgot-password-reveal span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f5f5f7;
}

.helper-text--error {
  color: #ff8d8d;
}

@media (max-width: 1220px) {
  .stream-login-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 860px;
  }

  .stream-showcase {
    min-height: 520px;
  }

  .stream-login-card {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .stream-login-page {
    align-items: flex-start;
    padding: 14px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .stream-login-layout {
    gap: 16px;
  }

  .stream-login-layout--single {
    max-width: 100%;
  }

  .stream-showcase {
    min-height: 480px;
    border-radius: 26px;
  }

  .stream-showcase__content {
    padding: 28px 18px 76px;
  }

  .stream-showcase__logo {
    width: min(100%, 310px);
  }

  .stream-showcase h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .stream-showcase__features {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .stream-feature {
    min-height: 0;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: flex-start;
    text-align: left;
  }

  .stream-showcase__copyright {
    left: 20px;
    right: 20px;
    bottom: 18px;
    font-size: 0.82rem;
  }

  .stream-login-card {
    padding: 24px 18px 22px;
    border-radius: 26px;
  }

  .stream-login-card__badge {
    width: 82px;
    height: 82px;
  }

  .stream-login-card__logo-main {
    width: 112px;
    height: 112px;
  }

  .stream-login-card__header h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .stream-field__control {
    min-height: 58px;
    padding-inline: 16px;
  }

  .stream-submit-button {
    min-height: 58px;
    font-size: 1rem;
  }

  .stream-login-form__options {
    flex-direction: column;
    align-items: flex-start;
  }

  .stream-login-card__footer p,
  .stream-login-card__footer small {
    font-size: 0.9rem;
  }

  .stream-remember-row {
    justify-content: flex-start;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .stream-login-card {
    padding: 20px 14px 18px;
    border-radius: 22px;
  }

  .stream-login-card__system-name {
    font-size: 0.82rem;
    letter-spacing: 0.09em;
  }

  .stream-login-card__header p:last-child,
  .stream-helper-text,
  .stream-login-card__footer p,
  .stream-login-card__footer small {
    font-size: 0.84rem;
  }

  .stream-showcase h1 {
    font-size: 1.85rem;
  }

  .stream-showcase p,
  .stream-login-card__security p {
    font-size: 0.88rem;
  }

  .stream-remember-row {
    align-items: flex-start;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .stream-field__control {
    min-height: 54px;
    gap: 10px;
    padding-inline: 14px;
    border-radius: 16px;
  }

  .stream-submit-button {
    min-height: 54px;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    border-radius: 16px;
  }
}

body.stream-panel-page {
  color: #f5f7fb;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 52, 52, 0.1), transparent 24%),
    linear-gradient(135deg, #050505 0%, #090909 42%, #111111 100%);
}

body.stream-panel-page .sidebar {
  background: rgba(5, 5, 5, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 18px 0 36px rgba(0, 0, 0, 0.34);
}

body.stream-panel-page .sidebar__brand {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.stream-panel-page .sidebar__brand img {
  width: 108px;
  height: auto;
  border-radius: 0;
  background: transparent;
}

body.stream-panel-page .sidebar__brand strong {
  color: #ffffff;
}

body.stream-panel-page .sidebar__brand span {
  color: rgba(238, 240, 245, 0.64);
}

body.stream-panel-page .sidebar__item {
  min-height: 56px;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(244, 246, 250, 0.86);
}

body.stream-panel-page .sidebar__item span {
  pointer-events: none;
}

body.stream-panel-page .sidebar__item:hover,
body.stream-panel-page .sidebar__item.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 35, 35, 0.96), rgba(154, 9, 19, 0.98));
  box-shadow: 0 18px 34px rgba(160, 16, 24, 0.26);
}

body.stream-panel-page .sidebar__item--logout {
  margin-top: 16px;
  border-color: rgba(255, 44, 44, 0.42);
  color: #ff7272;
}

body.stream-panel-page .sidebar__item--logout:hover {
  color: #ffffff;
}

.sidebar__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 36, 36, 0.16);
  color: #ff6b6b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.stream-panel-page .app-content {
  background: transparent;
}

body.stream-panel-page .topbar {
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
}

body.stream-panel-page .topbar__eyebrow {
  color: rgba(242, 243, 246, 0.62);
}

body.stream-panel-page .topbar h1,
body.stream-panel-page .topbar__user strong {
  color: #ffffff;
}

body.stream-panel-page .topbar__user span {
  color: rgba(235, 238, 243, 0.72);
}

body.stream-panel-page .topbar__avatar {
  background: linear-gradient(180deg, #ff2b2b 0%, #a60915 100%);
  color: #ffffff;
  box-shadow: 0 18px 30px rgba(150, 14, 22, 0.26);
}

.panel-search-field {
  width: min(100%, 360px);
  display: flex;
  align-items: center;
}

.panel-search-field input {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font: inherit;
}

.panel-search-field input::placeholder {
  color: rgba(232, 235, 240, 0.48);
}

.panel-search-field input:focus {
  outline: none;
  border-color: rgba(255, 58, 58, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 36, 36, 0.12);
}

.panel-icon-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

body.stream-panel-page .coming-card,
body.stream-panel-page .admin-shell,
body.stream-panel-page .admin-form-panel {
  border: 1px solid rgba(255, 64, 64, 0.18);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96) 0%, rgba(11, 11, 11, 0.96) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

body.stream-panel-page .admin-toolbar h2,
body.stream-panel-page .admin-form-panel__header h3,
body.stream-panel-page .coming-card h2 {
  color: #ffffff;
}

body.stream-panel-page .admin-toolbar p,
body.stream-panel-page .admin-form-panel__header p,
body.stream-panel-page .coming-card p,
body.stream-panel-page .helper-text {
  color: rgba(224, 228, 235, 0.68);
}

body.stream-panel-page .login-badge {
  background: rgba(255, 35, 35, 0.12);
  color: #ff6c6c;
}

body.stream-panel-page .search-field {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

body.stream-panel-page .search-field input {
  color: #ffffff;
}

body.stream-panel-page .search-field input::placeholder {
  color: rgba(232, 235, 240, 0.48);
}

body.stream-panel-page .submit-button {
  background: linear-gradient(180deg, #ff2f2f 0%, #c20d19 100%);
  box-shadow: 0 18px 36px rgba(164, 13, 24, 0.26);
}

body.stream-panel-page .submit-button:hover {
  box-shadow: 0 22px 44px rgba(164, 13, 24, 0.34);
}

body.stream-panel-page .field input,
body.stream-panel-page .field select,
body.stream-panel-page .field textarea {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

body.stream-panel-page .field input::placeholder,
body.stream-panel-page .field textarea::placeholder {
  color: rgba(232, 235, 240, 0.44);
}

body.stream-panel-page .field input:focus,
body.stream-panel-page .field select:focus,
body.stream-panel-page .field textarea:focus {
  border-color: rgba(255, 58, 58, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 35, 35, 0.1);
}

body.stream-panel-page .field span,
body.stream-panel-page .admin-table__header span,
body.stream-panel-page .admin-table__identity-text strong {
  color: #ffffff;
}

body.stream-panel-page .admin-section-kicker,
body.stream-panel-page .admin-overview-card__content span,
body.stream-panel-page .admin-overview-card__content small,
body.stream-panel-page .admin-status-filter span,
body.stream-panel-page .admin-table__id,
body.stream-panel-page .admin-table__email {
  color: rgba(227, 231, 238, 0.72);
}

body.stream-panel-page .admin-overview-card__content strong,
body.stream-panel-page .admin-table__role,
body.stream-panel-page .admin-table__date {
  color: #ffffff;
}

.admin-table {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.85) 0%, rgba(14, 14, 14, 0.92) 100%);
}

.admin-table__header,
.admin-table__row {
  display: grid;
  grid-template-columns: 56px minmax(250px, 1.4fr) minmax(220px, 1.1fr) minmax(150px, 0.8fr) 170px 120px minmax(270px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 20px;
}

.admin-table__header {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table__row + .admin-table__row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table__id,
.admin-table__email,
.admin-table__role,
.admin-table__date,
.admin-table__status {
  color: rgba(228, 231, 237, 0.82);
}

.admin-table__identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-table__identity-text {
  display: grid;
  gap: 4px;
}

.admin-table__identity-text small {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 66, 66, 0.16);
  color: #ffb2b2;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-avatar--table {
  width: 56px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 37, 37, 0.18), rgba(154, 9, 19, 0.24));
}

.admin-table__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6ce58c;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #19c15f;
  box-shadow: 0 0 0 6px rgba(25, 193, 95, 0.14);
}

.admin-table__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

body.stream-panel-page .action-chip {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #f6f7fb;
}

body.stream-panel-page .action-chip:hover {
  border-color: rgba(255, 62, 62, 0.46);
  background: rgba(255, 28, 28, 0.12);
}

@media (max-width: 1200px) {
  .admin-table__header,
  .admin-table__row {
    grid-template-columns: 56px minmax(220px, 1.3fr) minmax(180px, 1fr) minmax(130px, 0.8fr) 150px 110px minmax(210px, 1fr);
    gap: 14px;
    padding-inline: 16px;
  }
}

.role-switch__option {
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(13, 27, 61, 0.66);
  padding: 12px 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.role-switch__icon {
  font-size: 1.15rem;
  line-height: 1;
}

.role-switch__option strong,
.role-switch__option small {
  display: block;
}

.role-switch__option strong {
  font-size: 0.9rem;
  line-height: 1.15;
}

.role-switch__option small {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-switch__option.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(23, 58, 143, 0.12);
}

.segmented-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  border-radius: 20px;
  background: #edf4ff;
}

.segmented-switch__option {
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(13, 27, 61, 0.66);
  padding: 14px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.segmented-switch__option.is-active {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(23, 58, 143, 0.12);
}

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

.field span {
  font-size: 0.95rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 18px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(20, 149, 211, 0.14);
}

.field-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.inline-button {
  height: 56px;
  border: 0;
  border-radius: 18px;
  padding: 0 18px;
  background: rgba(20, 149, 211, 0.14);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.inline-button:hover {
  background: rgba(20, 149, 211, 0.2);
}

.inline-button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.toggle-button {
  width: min(100%, 280px);
  min-height: 56px;
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 18px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.toggle-button:hover {
  border-color: rgba(20, 149, 211, 0.28);
}

.toggle-button[aria-pressed="true"] {
  background: rgba(20, 149, 211, 0.08);
  box-shadow: 0 0 0 4px rgba(20, 149, 211, 0.1);
}

.toggle-button__indicator {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  background: rgba(13, 27, 61, 0.18);
  flex: 0 0 42px;
  transition: background 0.2s ease;
}

.toggle-button__indicator::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 10px rgba(13, 27, 61, 0.18);
  transition: transform 0.2s ease;
}

.toggle-button[aria-pressed="true"] .toggle-button__indicator {
  background: linear-gradient(135deg, var(--navy), var(--sky));
}

.toggle-button[aria-pressed="true"] .toggle-button__indicator::after {
  transform: translateX(18px);
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 92px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(13, 27, 61, 0.76);
  font-weight: 600;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--sky);
}

.submit-button {
  height: 58px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(20, 149, 211, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button,
.action-chip,
.inline-button,
.sidebar__item {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(20, 149, 211, 0.32);
}

.submit-button[data-busy-state="loading"],
.action-chip[data-busy-state="loading"],
.inline-button[data-busy-state="loading"],
.sidebar__item[data-busy-state="loading"] {
  pointer-events: none;
  filter: saturate(0.88);
}

.submit-button[data-busy-state="success"],
.action-chip[data-busy-state="success"],
.inline-button[data-busy-state="success"],
.sidebar__item[data-busy-state="success"] {
  pointer-events: none;
}

.submit-button[data-busy-state="loading"]::after,
.action-chip[data-busy-state="loading"]::after,
.inline-button[data-busy-state="loading"]::after,
.sidebar__item[data-busy-state="loading"]::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: button-spin 0.7s linear infinite;
  vertical-align: -2px;
}

.submit-button[data-busy-state="success"] {
  background: linear-gradient(135deg, #148a52, #1aae63);
  box-shadow: 0 18px 40px rgba(26, 171, 99, 0.24);
}

.action-chip[data-busy-state="success"],
.inline-button[data-busy-state="success"],
.sidebar__item[data-busy-state="success"] {
  background: rgba(26, 171, 99, 0.14);
  color: #127347;
  border-color: rgba(26, 171, 99, 0.2);
}

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

.helper-text {
  font-size: 0.94rem;
  color: rgba(13, 27, 61, 0.76);
}

.helper-text--error {
  color: #b42318;
}

.dashboard-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dashboard-card {
  width: min(100%, 680px);
  padding: 36px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dashboard-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.dashboard-card p {
  margin: 0 0 24px;
  line-height: 1.7;
  color: rgba(13, 27, 61, 0.72);
}

.collaborator-page {
  background:
    radial-gradient(circle at top, rgba(20, 149, 211, 0.18), transparent 42%),
    linear-gradient(180deg, #f5fbff 0%, #eef5ff 100%);
}

.collaborator-shell {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 112px;
}

.collaborator-header {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.collaborator-header__brand,
.collaborator-header__profile,
.collaborator-home-hero,
.collaborator-screen,
.collaborator-profile-card {
  border-radius: 28px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 38px rgba(20, 37, 92, 0.08);
}

.collaborator-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.collaborator-header__brand img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(20, 149, 211, 0.08);
}

.collaborator-header__brand span,
.collaborator-header__profile span,
.collaborator-profile-card__top span,
.collaborator-profile-grid__item span {
  display: block;
  color: rgba(13, 27, 61, 0.68);
}

.collaborator-header__brand strong,
.collaborator-header__profile strong,
.collaborator-profile-card__top strong,
.collaborator-profile-grid__item strong {
  color: var(--navy);
}

.collaborator-header__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}

.collaborator-header__avatar,
.collaborator-profile-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 58, 143, 0.96), rgba(20, 149, 211, 0.9));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex: 0 0 56px;
}

.collaborator-home-hero {
  padding: 22px 20px;
  margin-bottom: 18px;
}

.collaborator-home-hero h1 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: clamp(2rem, 6vw, 2.6rem);
}

.collaborator-home-hero p,
.collaborator-section-head p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.65;
}

.collaborator-screen {
  padding: 20px 18px;
}

.collaborator-section-head {
  margin-bottom: 16px;
}

.collaborator-section-head h2 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.35rem;
}

.collaborator-search {
  margin-bottom: 16px;
}

.collaborator-client-list {
  display: grid;
  gap: 14px;
}

.collaborator-client-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.92));
}

.collaborator-client-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(20, 149, 211, 0.12);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 52px;
}

.collaborator-client-card__content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.collaborator-client-card__content strong {
  color: var(--navy);
}

.collaborator-client-card__content span,
.collaborator-client-card__content small {
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.4;
}

.collaborator-profile-card {
  padding: 20px 18px;
}

.collaborator-profile-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.collaborator-profile-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.collaborator-profile-grid__item {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
}

.collaborator-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 560px);
  padding: 10px;
  border-radius: 26px;
  background: rgba(11, 28, 72, 0.92);
  box-shadow: 0 20px 36px rgba(11, 28, 72, 0.26);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  z-index: 40;
}

.collaborator-bottom-nav__item {
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.collaborator-bottom-nav__item.is-active {
  background: linear-gradient(135deg, rgba(20, 149, 211, 1), rgba(49, 188, 255, 0.92));
  color: #fff;
}

.collaborator-bottom-nav__item:active {
  transform: translateY(1px);
}

.collaborator-app {
  width: min(100%, 560px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 14px 108px;
}

.collaborator-app__header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin-bottom: 12px;
  padding: 4px 0 8px;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96), rgba(245, 251, 255, 0.88));
  backdrop-filter: blur(10px);
}

.collaborator-app__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 12px 28px rgba(20, 37, 92, 0.08);
}

.collaborator-app__brand-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.collaborator-app__brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(20, 149, 211, 0.08);
  padding: 3px;
}

.collaborator-app__brand div {
  min-width: 0;
}

.collaborator-app__brand strong,
.collaborator-app__brand span {
  display: block;
  line-height: 1.15;
}

.collaborator-app__brand strong {
  font-size: 0.98rem;
}

.collaborator-app__brand span {
  font-size: 0.78rem;
}

.collaborator-app__user {
  min-width: 84px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.collaborator-app__user span {
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.1;
}

.collaborator-app__user-avatar,
.collaborator-app__user-photo {
  width: 46px;
  height: 46px;
  border-radius: 999px;
}

.collaborator-app__user-avatar {
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
}

.collaborator-app__user-photo {
  object-fit: cover;
  background: rgba(20, 149, 211, 0.08);
}

.collaborator-app__user--inline {
  padding: 0;
  border-radius: 0;
}

.collaborator-app__brand strong,
.collaborator-item-card__content strong,
.collaborator-section-head h2,
.collaborator-card h1,
.collaborator-kv-item strong,
.collaborator-info-item strong,
.collaborator-select-card strong {
  color: var(--navy);
}

.collaborator-app__brand span,
.collaborator-item-card__content span,
.collaborator-item-card__content small,
.collaborator-section-head p,
.collaborator-card p,
.collaborator-kv-item span,
.collaborator-info-item span,
.collaborator-select-card span {
  color: rgba(13, 27, 61, 0.72);
}

.collaborator-card,
.collaborator-detail-card,
.collaborator-info-item,
.collaborator-item-card,
.collaborator-select-card,
.collaborator-info-card {
  border-radius: 24px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(20, 37, 92, 0.08);
}

.collaborator-card {
  padding: 20px 16px;
}

.collaborator-card h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 7vw, 2.6rem);
}

.collaborator-card--home {
  display: grid;
  gap: 18px;
}

.collaborator-home-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.1rem, 8vw, 2.8rem);
  line-height: 1.02;
}

.collaborator-home-copy p {
  margin: 8px 0 0;
  color: rgba(13, 27, 61, 0.68);
  font-size: 1rem;
  line-height: 1.5;
}

.collaborator-home-status {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.94));
  border: 1px solid rgba(20, 149, 211, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.collaborator-home-status__icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: rgba(20, 149, 211, 0.1);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 900;
}

.collaborator-home-status__content {
  display: grid;
  gap: 6px;
}

.collaborator-home-status__content strong {
  color: var(--navy);
  font-size: 1rem;
}

.collaborator-home-status__content span {
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.55;
  font-size: 0.95rem;
}

.collaborator-section-head {
  margin-bottom: 14px;
}

.collaborator-section-head h2 {
  margin: 10px 0 6px;
  font-size: 1.45rem;
}

.collaborator-list {
  display: grid;
  gap: 14px;
}

.collaborator-list--compact {
  margin-bottom: 14px;
}

.collaborator-item-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
}

.collaborator-item-card--client {
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
}

.collaborator-item-card--client .collaborator-item-card__media {
  padding: 10px;
  width: 72px;
  min-width: 72px;
}

.collaborator-item-card--client .collaborator-media-thumb {
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  height: 52px;
  border-radius: 16px;
  margin: 0 auto;
}

.collaborator-item-card--client .collaborator-item-card__content {
  padding: 14px 0;
  min-width: 0;
  overflow: hidden;
}

.collaborator-item-card--client .collaborator-item-card__content strong,
.collaborator-item-card--client .collaborator-item-card__content span,
.collaborator-item-card--client .collaborator-item-card__content small {
  word-break: break-word;
}

.collaborator-client-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin-top: 6px;
  min-height: 38px;
}

.collaborator-item-card--client .status-chip {
  justify-self: start;
  width: auto;
  min-height: 34px;
  padding: 6px 12px;
  margin-top: 4px;
  font-size: 0.84rem;
  box-shadow: none;
}

.collaborator-route-button {
  width: 40px;
  height: 40px;
  margin: 14px 12px 0 0;
  border: 1px solid rgba(20, 149, 211, 0.14);
  border-radius: 12px;
  background: rgba(20, 149, 211, 0.08);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  align-self: start;
  justify-self: end;
}

.collaborator-route-button--inline {
  margin: 0;
  align-self: center;
  justify-self: auto;
  flex: 0 0 auto;
}

.collaborator-route-button:hover {
  background: rgba(20, 149, 211, 0.16);
  box-shadow: 0 10px 22px rgba(20, 149, 211, 0.14);
}

.collaborator-route-button:active {
  transform: translateY(1px);
}

.collaborator-item-card__media,
.collaborator-item-card__content,
.collaborator-select-card,
.collaborator-image-frame {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.collaborator-item-card__media {
  padding: 12px;
}

.collaborator-media-thumb {
  width: 100%;
  height: 100%;
  min-height: 72px;
  border-radius: 18px;
  background: rgba(20, 149, 211, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.collaborator-media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaborator-media-thumb .collaborator-image-frame__empty {
  padding: 12px;
}

.collaborator-item-card__content {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 16px 16px 16px 0;
}

.collaborator-item-card__content--button {
  cursor: pointer;
}

.collaborator-image-frame {
  width: 100%;
  min-height: 92px;
  border-radius: 18px;
  background: rgba(20, 149, 211, 0.08);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.collaborator-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collaborator-image-frame__empty {
  padding: 16px;
  text-align: center;
  color: rgba(13, 27, 61, 0.62);
  font-weight: 700;
}

.collaborator-subnav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.collaborator-subnav span {
  color: rgba(13, 27, 61, 0.72);
  font-weight: 700;
}

.collaborator-detail-hero,
.collaborator-profile-card {
  display: grid;
  gap: 16px;
}

.collaborator-detail-hero__content {
  display: grid;
  gap: 12px;
}

.collaborator-detail-hero__content h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
}

.collaborator-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.collaborator-kv-item {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(20, 149, 211, 0.06);
}

.collaborator-kv-item span,
.collaborator-kv-item strong {
  display: block;
}

.collaborator-kv-item span {
  margin-bottom: 6px;
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.collaborator-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.submit-button--small,
.ghost-button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
}

.ghost-button {
  border: 1px solid rgba(23, 58, 143, 0.14);
  background: rgba(20, 149, 211, 0.06);
  color: var(--navy);
}

.collaborator-info-list {
  display: grid;
  gap: 12px;
}

.collaborator-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.collaborator-info-item div {
  display: grid;
  gap: 4px;
}

.collaborator-select-card {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
}

.collaborator-select-card__media {
  display: block;
  width: 58px;
  height: 58px;
}

.collaborator-select-card__media .collaborator-media-thumb {
  min-height: 58px;
  height: 58px;
  border-radius: 16px;
}

.collaborator-select-card__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.collaborator-select-card.is-active {
  border-color: rgba(20, 149, 211, 0.24);
  background: linear-gradient(180deg, rgba(235, 245, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.collaborator-info-card {
  margin-top: 16px;
  padding: 16px;
}

.collaborator-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 560px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(11, 28, 72, 0.94);
  box-shadow: 0 18px 36px rgba(11, 28, 72, 0.28);
  z-index: 50;
}

.collaborator-qr-fab {
  position: fixed;
  left: 50%;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 78px);
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: 0 16px 34px rgba(12, 30, 76, 0.18);
  color: var(--navy);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 10px 8px;
  z-index: 56;
}

.collaborator-qr-fab__icon {
  width: 26px;
  height: 26px;
  color: var(--sky);
}

.collaborator-qr-fab__label {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.collaborator-qr-fab__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.collaborator-qr-fab__icon rect {
  fill: currentColor;
}

.collaborator-qr-fab__icon-core {
  fill: rgba(255, 255, 255, 0.98);
}

.collaborator-nav__item {
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.collaborator-nav__item.is-active {
  background: linear-gradient(135deg, rgba(20, 149, 211, 1), rgba(49, 188, 255, 0.92));
  color: #fff;
}

.collaborator-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

#photoSourceModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
}

#photoSourceModal .collaborator-modal__card {
  position: relative;
  z-index: 2;
}

body.photo-source-open .equipment-modal,
body.photo-source-open .equipment-modal__dialog,
body.photo-source-open .equipment-floating-form,
body.photo-source-open .equipment-modal-card {
  pointer-events: none;
}

body.photo-source-open #photoSourceModal,
body.photo-source-open #photoSourceModal .collaborator-modal__backdrop,
body.photo-source-open #photoSourceModal .collaborator-modal__card,
body.photo-source-open #photoSourceModal button {
  pointer-events: auto;
}

.collaborator-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 51, 0.48);
  backdrop-filter: blur(6px);
}

.collaborator-modal__card {
  position: relative;
  width: min(calc(100% - 20px), 520px);
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 24px 48px rgba(11, 28, 72, 0.24);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.collaborator-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid rgba(23, 58, 143, 0.08);
}

.collaborator-modal__header h3 {
  margin: 8px 0 0;
  color: var(--navy);
}

.collaborator-modal__body {
  padding: 16px 18px 20px;
  overflow-y: auto;
}

.collaborator-modal--scanner .collaborator-modal__card--scanner {
  width: min(calc(100% - 20px), 560px);
}

.collaborator-modal__body--scanner {
  display: grid;
  gap: 14px;
}

.collaborator-qr-scanner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #081731;
  min-height: 340px;
}

.collaborator-qr-scanner video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.collaborator-qr-scanner__frame {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(68vw, 220px);
  height: min(68vw, 220px);
  transform: translate(-50%, -50%);
  border: 3px solid rgba(49, 188, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 0 0 999px rgba(5, 13, 34, 0.26);
}

.collaborator-form {
  display: grid;
  gap: 14px;
}

.collaborator-modal__actions {
  display: grid;
  gap: 12px;
}

@media (max-width: 640px) {
  .collaborator-kv-grid {
    grid-template-columns: 1fr;
  }

  .collaborator-item-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .collaborator-qr-fab {
    width: 84px;
    height: 84px;
  }
}

.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
  background:
    radial-gradient(circle at top right, rgba(20, 149, 211, 0.12), transparent 26%),
    linear-gradient(135deg, #eff6fc 0%, #f8fbff 50%, #fdf9ef 100%);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 22px;
  background: linear-gradient(180deg, #12327d 0%, #0f2358 100%);
  color: var(--white);
  box-shadow: 18px 0 50px rgba(10, 25, 62, 0.18);
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.sidebar__brand img {
  width: 58px;
  height: 58px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
}

.sidebar__brand strong,
.sidebar__brand span {
  display: block;
}

.sidebar__brand strong {
  font-size: 1.15rem;
}

.sidebar__brand span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.sidebar__nav {
  display: grid;
  gap: 10px;
}

.sidebar__item {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 15px 18px;
  text-align: left;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.sidebar__item:hover,
.sidebar__item.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transform: translateX(2px);
}

.sidebar__item--logout {
  margin-top: 18px;
  color: #ffd77d;
}

.mobile-admin-nav {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100% - 20px), 560px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  border-radius: 28px;
  background: rgba(11, 28, 72, 0.94);
  box-shadow: 0 18px 36px rgba(11, 28, 72, 0.28);
  z-index: 60;
}

.mobile-admin-nav__item {
  min-height: 54px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 8px 4px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.mobile-admin-nav__item.is-active {
  background: linear-gradient(135deg, rgba(20, 149, 211, 1), rgba(49, 188, 255, 0.92));
  color: #fff;
}

.mobile-admin-qr-fab {
  position: fixed;
  left: 50%;
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 78px);
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.96));
  box-shadow: 0 16px 34px rgba(12, 30, 76, 0.18);
  color: var(--navy);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 10px 8px;
  z-index: 65;
}

.mobile-admin-qr-fab__icon {
  width: 26px;
  height: 26px;
  color: var(--sky);
}

.mobile-admin-qr-fab__label {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.mobile-admin-qr-fab__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-admin-qr-fab__icon rect {
  fill: currentColor;
}

.mobile-admin-qr-fab__icon-core {
  fill: rgba(255, 255, 255, 0.98);
}

.app-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

body.mobile-admin-page .app-layout {
  grid-template-columns: 1fr;
  width: min(100%, 460px);
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(20, 149, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #eef6fd 0%, #f8fbff 48%, #fbfdfd 100%);
}

body.mobile-admin-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.mobile-admin-page .sidebar {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(82vw, 320px);
  z-index: 80;
  transform: translateX(-104%);
  transition: transform 0.22s ease;
  border-radius: 0 26px 26px 0;
  box-shadow: 0 28px 58px rgba(11, 28, 72, 0.26);
  overflow: hidden;
}

body.mobile-admin-drawer-open .sidebar {
  transform: translateX(0);
}

body.mobile-admin-page .sidebar__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}

body.mobile-admin-page [id$="PaginationBar"] {
  display: none !important;
}

body.mobile-admin-page .app-content {
  padding: 16px 14px 108px;
  gap: 18px;
  min-width: 0;
  overflow-x: hidden;
}

body.mobile-admin-page .module-content {
  gap: 18px;
  min-width: 0;
  overflow-x: hidden;
}

body.mobile-admin-page .topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: 4px;
  padding: 12px 14px;
  border-radius: 28px;
  background: rgba(244, 249, 253, 0.94);
  backdrop-filter: blur(10px);
}

body.mobile-admin-page .topbar,
body.mobile-admin-page .topbar__actions {
  flex-direction: row;
  align-items: center;
}

body.mobile-admin-page .topbar {
  justify-content: space-between;
  min-width: 0;
}

body.mobile-admin-page .topbar__actions {
  width: auto;
  min-width: 0;
}

body.mobile-admin-page .panel-search-field,
body.mobile-admin-page .panel-icon-button,
body.mobile-admin-page .install-button {
  display: none;
}

body.mobile-admin-page .topbar h1 {
  display: none;
}

body.mobile-admin-page .coming-card {
  min-height: auto;
  padding: 18px 14px 20px;
  border-radius: 24px;
}

body.mobile-admin-page .module-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.mobile-admin-page .settings-grid {
  grid-template-columns: 1fr;
}

body.mobile-admin-page .submit-button--wide {
  min-width: 100%;
}

.mobile-admin-topbar__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-admin-menu-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 32px rgba(23, 58, 143, 0.08);
  padding: 0 12px;
  cursor: pointer;
}

.mobile-admin-menu-button span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--navy);
}

.mobile-admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.mobile-admin-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(23, 58, 143, 0.08);
  padding: 6px;
}

.mobile-admin-brand__text strong,
.mobile-admin-brand__text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mobile-admin-page .mobile-admin-topbar__lead > div:last-child {
  display: none;
}

.mobile-admin-brand__text strong {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.1;
}

.mobile-admin-brand__text span {
  margin-top: 3px;
  color: rgba(13, 27, 61, 0.72);
  font-weight: 600;
  font-size: 0.95rem;
}

body.mobile-admin-page .topbar__eyebrow {
  display: none;
}

body.mobile-admin-page .topbar__profile {
  padding: 0;
  gap: 10px;
  border: 0;
  box-shadow: none;
  background: transparent;
  width: auto;
  flex: 0 1 auto;
  min-width: 0;
}

body.mobile-admin-page .topbar__avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  flex: 0 0 auto;
}

body.mobile-admin-page .topbar__user strong {
  font-size: 0.95rem;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mobile-admin-page .topbar__user span {
  font-size: 0.8rem;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.mobile-admin-page .topbar__user {
  min-width: 0;
}

body.mobile-admin-page .admin-table {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

body.mobile-admin-page .admin-table__header {
  display: none;
}

body.mobile-admin-page .admin-table__row {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

body.mobile-admin-page .admin-table__row + .admin-table__row {
  margin-top: 12px;
}

body.mobile-admin-page .admin-table__id,
body.mobile-admin-page .admin-table__email,
body.mobile-admin-page .admin-table__date,
body.mobile-admin-page .admin-table__status,
body.mobile-admin-page .admin-table__actions {
  display: grid;
  gap: 6px;
}

body.mobile-admin-page .admin-table__id::before,
body.mobile-admin-page .admin-table__email::before,
body.mobile-admin-page .admin-table__date::before,
body.mobile-admin-page .admin-table__status::before,
body.mobile-admin-page .admin-table__actions::before {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 236, 242, 0.58);
}

body.mobile-admin-page .admin-table__id::before {
  content: "ID";
}

body.mobile-admin-page .admin-table__email::before {
  content: "E-mail";
}

body.mobile-admin-page .admin-table__date::before {
  content: "Ultimo acesso";
}

body.mobile-admin-page .admin-table__status::before {
  content: "Status";
}

body.mobile-admin-page .admin-table__actions::before {
  content: "Acoes";
}

body.mobile-admin-page .admin-table__identity {
  align-items: flex-start;
}

body.mobile-admin-page .admin-table__actions {
  flex-direction: column;
}

body.mobile-admin-page .action-chip {
  width: 100%;
  justify-content: center;
}

.admin-mobile-home {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-mobile-profile {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-mobile-profile__header h2 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 2rem;
}

.admin-mobile-profile__header p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.5;
}

.admin-mobile-profile__card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 22px 52px rgba(23, 58, 143, 0.08);
}

.admin-mobile-profile__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-mobile-profile__avatar {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  overflow: hidden;
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(23, 58, 143, 0.96), rgba(20, 149, 211, 0.9));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.admin-mobile-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-mobile-profile__identity {
  display: grid;
  gap: 4px;
}

.admin-mobile-profile__identity strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.admin-mobile-profile__identity span,
.admin-mobile-profile__identity small {
  color: rgba(13, 27, 61, 0.72);
}

.admin-mobile-profile__grid {
  display: grid;
  gap: 12px;
}

.admin-mobile-profile__item {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
}

.admin-mobile-profile__item span,
.admin-mobile-profile__item strong {
  display: block;
}

.admin-mobile-profile__item span {
  color: rgba(13, 27, 61, 0.66);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.admin-mobile-profile__item strong {
  color: var(--navy);
  line-height: 1.45;
}

.admin-mobile-profile__actions {
  display: flex;
}

.admin-mobile-home__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, #122a7a 0%, #214fd6 100%);
  color: #ffffff;
  box-shadow: 0 24px 56px rgba(23, 58, 143, 0.22);
}

.admin-mobile-home__eyebrow {
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.admin-mobile-home__hero h2 {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.1;
  color: #ffffff;
}

.admin-mobile-home__hero p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.admin-mobile-home__hero strong,
.admin-mobile-home__hero span,
.admin-mobile-home__hero p,
.admin-mobile-home__hero h2 {
  color: #ffffff;
}

.admin-mobile-home__date-card {
  min-width: 132px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
}

.admin-mobile-home__date-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.admin-mobile-home__date-card strong,
.admin-mobile-home__date-card span {
  display: block;
}

.admin-mobile-home__date-card strong {
  font-size: 1rem;
}

.admin-mobile-home__date-card span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-transform: capitalize;
}

.admin-mobile-home__section {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 22px 52px rgba(23, 58, 143, 0.08);
}

.admin-mobile-home__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-mobile-stat-card,
.admin-mobile-quick-card {
  width: 100%;
  border: 0;
  cursor: pointer;
  text-align: left;
  background: #ffffff;
}

.admin-mobile-stat-card {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(23, 58, 143, 0.08);
}

.admin-mobile-stat-card span,
.admin-mobile-stat-card small {
  display: block;
}

.admin-mobile-stat-card span {
  margin-top: 16px;
  color: rgba(13, 27, 61, 0.76);
  font-weight: 700;
  font-size: 0.96rem;
}

.admin-mobile-stat-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 1.85rem;
}

.admin-mobile-stat-card small {
  margin-top: 8px;
  color: #0d9b4d;
  font-weight: 700;
  font-size: 0.9rem;
}

.admin-mobile-stat-card__icon,
.admin-mobile-quick-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 6px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-align: center;
  word-break: break-word;
}

.admin-mobile-stat-card__icon--blue {
  background: rgba(56, 146, 255, 0.12);
  color: #1e63f0;
}

.admin-mobile-stat-card__icon--green {
  background: rgba(29, 197, 90, 0.12);
  color: #1db44f;
}

.admin-mobile-stat-card__icon--amber {
  background: rgba(255, 165, 0, 0.12);
  color: #e38c00;
}

.admin-mobile-stat-card__icon--purple {
  background: rgba(163, 80, 255, 0.12);
  color: #8b36ef;
}

.admin-mobile-stat-card__icon--sky {
  background: rgba(32, 160, 229, 0.12);
  color: #1f7bd8;
}

.admin-mobile-home__section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-mobile-home__section-header strong,
.admin-mobile-home__section-header span {
  display: block;
}

.admin-mobile-home__section-header strong {
  color: var(--navy);
  font-size: 1.4rem;
}

.admin-mobile-home__section-header span {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.7);
  font-size: 0.92rem;
}

.admin-mobile-home__link {
  border: 0;
  background: transparent;
  color: #1f7bd8;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}


@media (max-width: 640px) {
  body.mobile-admin-page .app-content {
    padding: 14px 12px 112px;
  }

  body.mobile-admin-page .topbar {
    padding: 10px 12px;
  }

  body.mobile-admin-page .app-layout {
    width: 100%;
    max-width: 100vw;
  }

  .mobile-admin-topbar__lead {
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .mobile-admin-menu-button {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    padding: 0 10px;
  }

  .mobile-admin-brand img {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .mobile-admin-brand__text strong {
    font-size: 1.05rem;
  }

  .mobile-admin-brand__text span {
    font-size: 0.68rem;
  }

  body.mobile-admin-page .topbar__avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  body.mobile-admin-page .topbar__user strong {
    font-size: 0.76rem;
  }

  body.mobile-admin-page .topbar__user span {
    font-size: 0.64rem;
  }

  .mobile-admin-nav {
    width: calc(100% - 16px);
    max-width: 100%;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
  }

  .mobile-admin-nav__item {
    min-height: 50px;
    padding: 8px 2px;
    font-size: 0.78rem;
  }

  .admin-mobile-home__hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .admin-mobile-home__date-card {
    min-width: 0;
  }

  .admin-mobile-home__hero h2 {
    font-size: 1.8rem;
  }

  .admin-mobile-home__hero p {
    font-size: 0.95rem;
  }

  .admin-mobile-home__section {
    padding: 18px;
  }

  .admin-mobile-profile__card {
    padding: 18px;
  }

  .admin-mobile-profile__top {
    align-items: flex-start;
  }

  .admin-mobile-profile__avatar {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    flex-basis: 64px;
  }

  .admin-mobile-profile__header h2 {
    font-size: 1.8rem;
  }

  .admin-mobile-home__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mobile-admin-page .client-toolbar--mobile-admin h2 {
    font-size: 1.75rem;
  }

  body.mobile-admin-page .client-toolbar--mobile-admin p {
    max-width: none;
    font-size: 0.88rem;
  }

  body.mobile-admin-page .client-create-button--mobile-admin {
    padding: 12px 15px;
    font-size: 0.82rem;
    border-radius: 16px;
  }

  body.mobile-admin-page .equipment-client-card {
    padding: 14px;
    gap: 12px;
  }

  body.mobile-admin-page .equipment-client-card__avatar {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    border-radius: 20px;
  }

  body.mobile-admin-page .equipment-client-card__content strong {
    font-size: 0.98rem;
  }

  body.mobile-admin-page .equipment-client-card__content span,
  body.mobile-admin-page .equipment-client-card__content small {
    font-size: 0.86rem;
  }

  .equipment-client-card__chevron {
    font-size: 1.6rem;
  }
}

.mobile-admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(9, 20, 49, 0.38);
}

.collaborator-modal__card--compact {
  max-width: 360px;
}

body.mobile-admin-page .equipment-workbench {
  grid-template-columns: 1fr;
  gap: 16px;
}

body.mobile-admin-page .equipment-clients-panel,
body.mobile-admin-page .equipment-client-summary,
body.mobile-admin-page .equipment-panel,
body.mobile-admin-page .equipment-overview-panel {
  padding: 18px;
  border-radius: 24px;
}

body.mobile-admin-page .equipment-clients-panel {
  position: static;
  max-height: none;
  overflow: visible;
}

body.mobile-admin-page .equipment-clients-panel__header h2 {
  margin: 12px 0 6px;
  font-size: 2rem;
}

body.mobile-admin-page .equipment-clients-panel__header p {
  font-size: 0.96rem;
  line-height: 1.5;
}

body.mobile-admin-page .equipment-clients-panel__search {
  margin-bottom: 4px;
}

body.mobile-admin-page .equipment-clients-list {
  gap: 14px;
  overflow: visible;
  padding-right: 0;
}

body.mobile-admin-page .equipment-client-card {
  gap: 14px;
  padding: 16px;
  border-radius: 24px;
  align-items: center;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(20, 37, 92, 0.08);
}

body.mobile-admin-page .equipment-client-card__avatar {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  border-radius: 24px;
}

body.mobile-admin-page .equipment-client-card__content {
  flex: 1 1 auto;
}

body.mobile-admin-page .equipment-client-card__content strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

body.mobile-admin-page .equipment-client-card__content span,
body.mobile-admin-page .equipment-client-card__content small {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.45;
}

body.mobile-admin-page .equipment-client-card__metrics {
  gap: 6px;
  margin-top: 10px;
}

body.mobile-admin-page .equipment-client-card__metrics span {
  color: rgba(23, 58, 143, 0.88);
  font-size: 0.95rem;
  font-weight: 700;
}

.equipment-client-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.equipment-client-card__badge--active {
  background: rgba(71, 201, 98, 0.14);
  color: #22a047;
}

.equipment-client-card__badge--inactive {
  background: rgba(255, 99, 99, 0.12);
  color: #df3b3b;
}

.equipment-client-card__chevron {
  color: rgba(23, 58, 143, 0.56);
  font-size: 2rem;
  line-height: 1;
  flex: 0 0 auto;
}

body.mobile-admin-page #equipmentClientPaginationBar {
  display: none !important;
}

body.mobile-admin-page .equipment-client-summary {
  display: none;
}

body.mobile-admin-page .equipment-client-screen-mode .equipment-clients-panel {
  display: none;
}

body.mobile-admin-page .equipment-client-list-screen-mode .equipment-overview-panel {
  display: none;
}

body.mobile-admin-page .equipment-client-screen-mode .equipment-workbench {
  grid-template-columns: 1fr;
}

body.mobile-admin-page .equipment-client-screen-mode .equipment-overview-panel {
  display: grid;
}

body.mobile-admin-page .equipment-client-screen-mode .equipment-client-summary {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.mobile-admin-page .equipment-client-screen-mode .equipment-client-summary__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.mobile-admin-page .equipment-client-screen-mode #backToEquipmentClientsButton {
  align-self: flex-start;
  margin-bottom: 2px;
}

body.mobile-admin-page .equipment-clients-panel__header #backToEquipmentHomeButton,
body.mobile-admin-page .equipment-client-summary #backToEquipmentHomeFromClientButton {
  align-self: flex-start;
}

body.mobile-admin-page #backToEquipmentClientsButton,
body.mobile-admin-page #backToEnvironmentListButton,
body.mobile-admin-page #backToEquipmentListButton,
body.mobile-admin-page #backToRubberListButton,
body.mobile-admin-page #backToPartListButton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

body.mobile-admin-page .equipment-client-summary__main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

body.mobile-admin-page .equipment-client-summary__photo {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.mobile-admin-page .equipment-client-summary__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.mobile-admin-page .equipment-client-summary__fallback {
  color: var(--navy);
  font-weight: 800;
  font-size: 1rem;
}

body.mobile-admin-page .equipment-client-summary__content strong {
  font-size: 1.15rem;
}

body.mobile-admin-page .equipment-client-summary__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(71, 201, 98, 0.14);
  color: #22a047;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

body.mobile-admin-page .equipment-client-summary__content span {
  font-size: 0.82rem;
}

body.mobile-admin-page .equipment-client-summary__content small {
  font-size: 0.8rem;
  line-height: 1.4;
}

body.mobile-admin-page .equipment-panel__header {
  gap: 14px;
  align-items: flex-start;
}

body.mobile-admin-page .equipment-panel__header strong {
  font-size: 1.08rem;
}

body.mobile-admin-page .equipment-panel__header span {
  font-size: 0.84rem;
  line-height: 1.4;
}

body.mobile-admin-page .equipment-inline-button,
body.mobile-admin-page .admin-create-button {
  width: 100%;
}

body.mobile-admin-page .equipment-panel__header .submit-button,
body.mobile-admin-page .equipment-panel__header .admin-create-button {
  min-width: 100%;
}

body.mobile-admin-page .equipment-environment-card,
body.mobile-admin-page .equipment-equipment-card {
  border-radius: 24px;
}

body.mobile-admin-page .equipment-environment-card .equipment-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
}

body.mobile-admin-page .equipment-environment-card {
  gap: 12px;
  padding: 14px;
}

body.mobile-admin-page .equipment-environment-card .equipment-card__content strong {
  font-size: 1rem;
}

body.mobile-admin-page .equipment-environment-card .equipment-card__content span,
body.mobile-admin-page .equipment-environment-card .equipment-card__content small {
  font-size: 0.78rem;
  line-height: 1.32;
}

body.mobile-admin-page .equipment-environment-card .equipment-card__actions .action-chip {
  flex: 1 1 auto;
  padding: 7px 10px;
  font-size: 0.74rem;
}

body.mobile-admin-page .equipment-environment-card .equipment-card__order {
  gap: 6px;
}

body.mobile-admin-page .equipment-environment-card .order-chip {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.equipment-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #1db44f;
  vertical-align: middle;
}

body.mobile-admin-page .equipment-filterbar,
body.mobile-admin-page .equipment-row-head,
body.mobile-admin-page .equipment-equipment-card,
body.mobile-admin-page .equipment-item-summary,
body.mobile-admin-page .equipment-item-sections,
body.mobile-admin-page .equipment-rubber-hero,
body.mobile-admin-page .equipment-item-rubber-screen {
  grid-template-columns: 1fr;
}

body.mobile-admin-page .equipment-row-head {
  display: none;
}

body.mobile-admin-page .equipment-details-grid,
body.mobile-admin-page .equipment-card__top,
body.mobile-admin-page .equipment-card__identity,
body.mobile-admin-page .equipment-panel__header {
  flex-direction: column;
}

body.mobile-admin-page .equipment-equipment-card .equipment-card__actions,
body.mobile-admin-page .equipment-environment-card .equipment-card__actions {
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  body.mobile-admin-page .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  body.mobile-admin-page .topbar__actions {
    width: auto;
    flex-direction: row;
    align-items: center;
  }

  body.mobile-admin-page .topbar__profile {
    width: auto;
    justify-content: flex-end;
  }
}

@media (min-width: 900px) {
  body.mobile-admin-page {
    padding: 18px 0;
  }

  body.mobile-admin-page .app-layout {
    min-height: calc(100vh - 36px);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(13, 31, 82, 0.18);
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 4px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.install-button {
  height: 50px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  background: rgba(20, 149, 211, 0.1);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.install-button:hover {
  background: rgba(20, 149, 211, 0.16);
}

.topbar__eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
}

.topbar__profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 18px 40px rgba(20, 37, 92, 0.08);
}

.topbar__user {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  line-height: 1.2;
}

.topbar__avatar {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sky), var(--navy));
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  overflow: hidden;
}

.topbar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar__user strong,
.topbar__user span {
  display: block;
}

.topbar__user strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
}

.topbar__user span {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.64);
  font-size: 0.9rem;
  line-height: 1.1;
  text-align: left;
  white-space: nowrap;
}

.coming-card {
  min-height: 420px;
  padding: 34px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.9)),
    linear-gradient(135deg, rgba(20, 149, 211, 0.04), rgba(255, 198, 26, 0.08));
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 24px 60px rgba(23, 58, 143, 0.08);
}

.coming-layout {
  display: block;
}

.module-panel {
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.module-card {
  width: 100%;
  border: 1px solid rgba(20, 149, 211, 0.14);
  border-radius: 22px;
  padding: 18px 18px 20px;
  background:
    linear-gradient(145deg, rgba(232, 244, 255, 0.95), rgba(245, 250, 255, 0.98)),
    linear-gradient(135deg, rgba(20, 149, 211, 0.08), rgba(255, 198, 26, 0.06));
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(20, 149, 211, 0.24);
  box-shadow: 0 18px 38px rgba(20, 149, 211, 0.12);
}

.module-card__eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.08rem;
}

.module-card p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.module-content {
  width: 100%;
}

.settings-hero {
  margin-bottom: 28px;
  max-width: 860px;
}

.settings-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--navy);
}

.settings-card p {
  margin: 0 0 24px;
  max-width: 860px;
  line-height: 1.7;
  color: rgba(13, 27, 61, 0.72);
}

.settings-form {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px 22px;
}

.settings-grid--compact {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px 18px;
}

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

.field small {
  color: rgba(13, 27, 61, 0.56);
  font-size: 0.82rem;
  font-weight: 700;
}

.field--required span::after {
  content: " *";
  color: #c43232;
}

.settings-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.settings-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(20, 149, 211, 0.14);
}

.settings-actions {
  display: flex;
}

.settings-actions--split {
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.submit-button--wide {
  min-width: 300px;
  box-shadow: 0 20px 44px rgba(20, 149, 211, 0.34);
}

.flow-card {
  margin-top: 26px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
  max-width: 980px;
}

.config-list {
  margin-top: 24px;
  max-width: 980px;
  display: grid;
  gap: 14px;
}

.config-item-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.config-item-card__content strong,
.config-item-card__content span {
  display: block;
}

.config-item-card__content strong {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.config-item-card__content span {
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.6;
}

.config-item-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.config-order-actions {
  display: flex;
  gap: 8px;
}

.action-chip--icon {
  min-width: 44px;
  padding: 10px 12px;
  text-align: center;
}

.equipment-workbench {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.equipment-clients-panel,
.equipment-client-summary {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 16px 40px rgba(20, 37, 92, 0.06);
}

.equipment-clients-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 110px);
  overflow: hidden;
  min-height: 0;
}

.equipment-clients-panel__header h2 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 1.9rem;
}

.equipment-clients-panel__header p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.45;
  font-size: 0.92rem;
}

.equipment-clients-panel__search {
  width: 100%;
}

.equipment-clients-list,
.equipment-workspace {
  display: grid;
  gap: 18px;
}

.equipment-clients-list {
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  min-height: 0;
  align-content: start;
}

.equipment-clients-panel .list-pagination {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  gap: 12px;
  align-items: flex-start;
  margin-top: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.98));
  box-shadow: 0 -8px 20px rgba(20, 37, 92, 0.06);
}

.equipment-clients-panel .list-pagination__size,
.equipment-clients-panel .list-pagination__pages,
.equipment-clients-panel .list-pagination__buttons {
  width: 100%;
}

.equipment-clients-panel .list-pagination__size {
  justify-content: space-between;
  flex-wrap: wrap;
}

.equipment-clients-panel .list-pagination__pages,
.equipment-clients-panel .list-pagination__buttons {
  justify-content: flex-start;
  gap: 8px;
}

.equipment-clients-panel .list-pagination__summary {
  display: block;
  width: 100%;
  line-height: 1.4;
  word-break: break-word;
}

.equipment-clients-panel .list-pagination__size select {
  min-width: 96px;
  flex: 0 0 auto;
}

.equipment-clients-panel .pagination-chip {
  min-width: 36px;
  height: 38px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.equipment-overview-panel {
  display: grid;
  gap: 18px;
}

.equipment-screen-mode .equipment-clients-panel,
.equipment-screen-mode .equipment-overview-panel {
  display: none;
}

.equipment-screen-mode .equipment-workbench {
  grid-template-columns: 1fr;
}

.equipment-screen-mode .equipment-workspace {
  gap: 0;
}

.equipment-item-screen-mode .equipment-clients-panel,
.equipment-item-screen-mode .equipment-overview-panel,
.equipment-item-screen-mode #equipmentWorkspacePanel {
  display: none;
}

.equipment-item-screen-mode .equipment-workbench {
  grid-template-columns: 1fr;
}

.equipment-client-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.92);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.equipment-client-card:hover,
.equipment-client-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(20, 149, 211, 0.28);
  box-shadow: 0 18px 36px rgba(20, 149, 211, 0.1);
}

.equipment-client-card__avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-client-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-client-card__avatar span {
  color: var(--navy);
  font-weight: 800;
}

.equipment-client-card__content {
  min-width: 0;
}

.equipment-client-card__content strong,
.equipment-client-card__content span,
.equipment-client-card__content small {
  display: block;
}

.equipment-client-card__content strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.equipment-client-card__content span,
.equipment-client-card__content small {
  margin-top: 2px;
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.35;
  font-size: 0.8rem;
}

.equipment-client-card__metrics {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.equipment-client-card__metrics span {
  display: block;
  margin-top: 0;
  color: var(--navy);
  font-weight: 700;
}

.equipment-client-summary {
  display: block;
  padding: 18px 20px;
  border-radius: 24px;
}

.equipment-client-summary__content {
  min-width: 0;
}

.equipment-client-summary__content strong,
.equipment-client-summary__content span,
.equipment-client-summary__content small {
  display: block;
}

.equipment-client-summary__content strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.equipment-client-summary__content span,
.equipment-client-summary__content small {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.45;
}

.equipment-panel--workspace {
  margin-top: 0;
}

.equipment-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
}

.equipment-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 44, 0.58);
  backdrop-filter: blur(6px);
}

.equipment-modal__dialog {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.equipment-floating-form {
  width: min(100%, 760px);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 32px 80px rgba(8, 18, 44, 0.26);
}

.equipment-floating-form__header {
  margin-bottom: 18px;
}

.equipment-floating-form__header strong,
.equipment-floating-form__header span {
  display: block;
}

.equipment-floating-form__header strong {
  color: var(--navy);
  font-size: 1.4rem;
}

.equipment-floating-form__header span {
  margin-top: 6px;
  color: rgba(13, 27, 61, 0.68);
}

.equipment-hint-card {
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
  color: var(--navy);
  font-weight: 700;
}

.equipment-environment-view {
  display: grid;
  gap: 18px;
}

.equipment-item-screen {
  display: grid;
  gap: 18px;
}

.equipment-item-screen__topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.equipment-environment-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 16px 40px rgba(20, 37, 92, 0.06);
}

.equipment-environment-hero__media {
  width: 180px;
  height: 128px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.equipment-environment-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-environment-hero__fallback {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.3rem;
}

.equipment-environment-hero__content strong,
.equipment-environment-hero__content span,
.equipment-environment-hero__content small {
  display: block;
}

.equipment-breadcrumb {
  color: rgba(13, 27, 61, 0.58);
  font-size: 0.82rem;
  font-weight: 800;
}

.equipment-environment-hero__content strong {
  margin-top: 10px;
  color: var(--navy);
  font-size: 1.9rem;
}

.equipment-environment-hero__content span,
.equipment-environment-hero__content small {
  margin-top: 7px;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.5;
}

.equipment-environment-hero__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.equipment-filterbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) minmax(180px, 0.8fr) minmax(160px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
}

.equipment-filterbar__search,
.equipment-filterbar__field {
  width: 100%;
}

.equipment-filterbar__clear {
  height: 56px;
}

.equipment-panel,
.equipment-subpanel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  display: grid;
  gap: 18px;
}

.equipment-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.equipment-panel__header strong,
.equipment-panel__header span {
  display: block;
}

.equipment-panel__header strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.equipment-panel__header span {
  margin-top: 6px;
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.5;
}

.equipment-inline-button {
  min-width: 180px;
  height: 52px;
}

.equipment-inline-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.equipment-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.equipment-card--interactive {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.equipment-card--interactive:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 149, 211, 0.24);
  box-shadow: 0 18px 36px rgba(20, 149, 211, 0.1);
}

.equipment-card--active {
  border-color: rgba(20, 149, 211, 0.32);
  box-shadow: 0 18px 40px rgba(20, 149, 211, 0.14);
}

.equipment-card__top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.equipment-card__identity {
  display: flex;
  gap: 14px;
  min-width: 0;
}

.equipment-card__photo {
  width: 86px;
  height: 86px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  flex: 0 0 86px;
}

.equipment-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-card__content strong,
.equipment-card__content span,
.equipment-card__content small {
  display: block;
}

.equipment-card__content strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.equipment-card__content span,
.equipment-card__content small {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.5;
}

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

.order-chip {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(20, 149, 211, 0.14);
  border-radius: 14px;
  background: rgba(20, 149, 211, 0.08);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.equipment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.equipment-environment-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.equipment-environment-card .equipment-card__photo {
  width: 160px;
  height: 108px;
  border-radius: 20px;
  flex-basis: 160px;
}

.equipment-environment-card .equipment-card__identity {
  align-items: center;
}

.equipment-environment-card .equipment-card__content strong {
  font-size: 1.15rem;
}

.equipment-environment-card .equipment-card__actions {
  justify-content: flex-end;
}

.equipment-equipment-card {
  grid-template-columns: 2.2fr 1.3fr 1fr 0.9fr auto;
  gap: 18px;
  align-items: center;
}

.equipment-row-head {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1fr 0.9fr auto;
  gap: 18px;
  padding: 0 20px;
  color: rgba(13, 27, 61, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.equipment-equipment-card__identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.equipment-equipment-card__identity .equipment-card__photo {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border-radius: 18px;
}

.equipment-equipment-card__code,
.equipment-equipment-card__category,
.equipment-equipment-card__status {
  min-width: 0;
}

.equipment-equipment-card__code strong,
.equipment-equipment-card__code span,
.equipment-equipment-card__category strong,
.equipment-equipment-card__status strong {
  display: block;
}

.equipment-equipment-card__code strong,
.equipment-equipment-card__category strong {
  color: var(--navy);
}

.equipment-equipment-card__code span {
  margin-top: 6px;
  color: rgba(13, 27, 61, 0.72);
}

.equipment-equipment-card__code img {
  width: 54px;
  height: 54px;
  display: block;
  margin-bottom: 8px;
  border-radius: 12px;
}

.equipment-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(54, 179, 89, 0.12);
  color: #1e8b3a;
  font-weight: 800;
  font-size: 0.86rem;
}

.equipment-details-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 20px;
}

.equipment-qr-card,
.equipment-photo-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  min-height: 240px;
}

.equipment-qr-card img,
.equipment-photo-card img {
  width: 100%;
  max-width: 220px;
  border-radius: 18px;
  object-fit: cover;
}

.equipment-photo-card__empty {
  width: 100%;
  min-height: 204px;
  max-width: 220px;
  border-radius: 18px;
  border: 1px dashed rgba(20, 149, 211, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(235, 245, 255, 0.9));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px 18px;
  color: rgba(13, 27, 61, 0.72);
}

.equipment-photo-card__empty strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

.equipment-photo-card__empty span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
}

.equipment-qr-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.equipment-item-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: start;
}

.equipment-item-summary__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.equipment-item-summary__entry span,
.equipment-item-summary__entry strong {
  display: block;
}

.equipment-item-summary__entry span {
  color: rgba(13, 27, 61, 0.56);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.equipment-item-summary__entry strong {
  margin-top: 6px;
  color: var(--navy);
  line-height: 1.5;
}

#equipmentPartDetailPanel {
  display: grid;
  gap: 18px;
}

#equipmentRubberDetailPanel.is-hidden,
#rubberOverviewPanel.is-hidden {
  display: none !important;
}

#equipmentPartDetailPanel.is-hidden,
#partOverviewPanel.is-hidden,
#partInfoSection.is-hidden {
  display: none !important;
}

.equipment-part-focus-mode #equipmentPartListPanel {
  display: none !important;
}

.equipment-part-focus-mode #equipmentPartDetailPanel {
  display: grid !important;
}

#partOverviewPanel {
  display: grid;
  gap: 16px;
}

#partInfoSection {
  display: grid;
  gap: 16px;
}

#partInfoList .config-item-card {
  align-items: center;
}

.equipment-qr-inline {
  padding: 18px;
  border-radius: 22px;
  background: rgba(20, 149, 211, 0.06);
  border: 1px solid rgba(20, 149, 211, 0.1);
  display: grid;
  gap: 10px;
  justify-items: center;
}

.equipment-qr-inline img {
  width: 100%;
  max-width: 132px;
  border-radius: 18px;
}

.equipment-qr-inline strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.equipment-item-sections {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.equipment-item-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(23, 58, 143, 0.08);
  padding-bottom: 12px;
}

.equipment-item-tab {
  border: 1px solid rgba(20, 149, 211, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(20, 149, 211, 0.06);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.equipment-item-tab.is-active {
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(20, 149, 211, 0.2);
}

.equipment-item-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  display: grid;
  gap: 18px;
}

.equipment-modal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1260;
  width: min(92vw, 760px);
  max-height: min(calc(100vh - 40px), 760px);
  overflow: auto;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.99);
  box-shadow:
    0 0 0 100vmax rgba(8, 18, 44, 0.58),
    0 32px 80px rgba(8, 18, 44, 0.28);
}

.equipment-item-card--full {
  grid-column: 1 / -1;
}

.equipment-item-rubber-screen {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
}

.equipment-item-rubber-screen.is-focused {
  grid-template-columns: 1fr;
}

.equipment-item-rubber-screen.is-focused .equipment-item-rubber-list {
  display: none;
}

.equipment-item-rubber-screen.is-focused .equipment-item-rubber-detail {
  grid-column: 1 / -1;
}

.equipment-item-rubber-list,
.equipment-item-rubber-detail,
.equipment-item-parts-screen {
  display: grid;
  gap: 18px;
}

.equipment-item-subnav {
  display: flex;
  justify-content: flex-start;
}

.equipment-item-parts-screen.is-focused {
  grid-template-columns: 1fr;
}

.equipment-item-parts-screen.is-focused .equipment-item-rubber-list {
  display: none;
}

.equipment-item-parts-screen.is-focused .equipment-item-rubber-detail {
  grid-column: 1 / -1;
}

.equipment-item-rubber-screen.is-form-mode,
.equipment-item-parts-screen.is-form-mode {
  grid-template-columns: 1fr;
}

.equipment-item-rubber-screen.is-form-mode .equipment-item-rubber-detail,
.equipment-item-parts-screen.is-form-mode .equipment-item-rubber-detail {
  grid-column: 1 / -1;
}

.rubber-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.rubber-list-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rubber-list-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rubber-list-card__content {
  min-width: 0;
}

.rubber-list-card__content strong,
.rubber-list-card__content span,
.rubber-list-card__content small {
  display: block;
}

.rubber-list-card__content strong {
  color: var(--navy);
}

.rubber-list-card__content span,
.rubber-list-card__content small {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.72);
}

.equipment-rubber-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.equipment-item-summary--rubber {
  grid-template-columns: 1fr;
}

.equipment-item-summary__grid--rubber {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 16px 24px;
}

.equipment-item-summary__grid--rubber .equipment-item-summary__entry strong {
  word-break: break-word;
}

.part-list-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.94);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.part-list-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.part-list-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.part-list-card__content {
  min-width: 0;
}

.part-list-card__content strong,
.part-list-card__content span,
.part-list-card__content small {
  display: block;
}

.part-list-card__content strong {
  color: var(--navy);
}

.part-list-card__content span,
.part-list-card__content small {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.72);
}

.equipment-subform {
  padding-top: 8px;
  border-top: 1px solid rgba(23, 58, 143, 0.08);
}

.flow-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.1rem;
}

.flow-list {
  margin: 0;
  padding-left: 18px;
  color: rgba(13, 27, 61, 0.76);
  line-height: 1.8;
}

.pmoc-dashboard {
  display: grid;
  gap: 22px;
}

.pmoc-dashboard__hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.pmoc-dashboard__hero h2 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.pmoc-dashboard__hero p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.7;
}

.pmoc-dashboard__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.pmoc-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 18px 38px rgba(20, 37, 92, 0.08);
}

.pmoc-panel--report {
  align-content: start;
}

.pmoc-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pmoc-panel__header strong,
.pmoc-panel__header span {
  display: block;
}

.pmoc-panel__header strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.pmoc-panel__header span {
  margin-top: 6px;
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.55;
}

.pmoc-panel__button {
  min-width: 156px;
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px rgba(20, 149, 211, 0.18);
}

.pmoc-filters {
  display: grid;
  gap: 14px;
}

.pmoc-filters--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pmoc-filters--wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pmoc-table-shell {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.pmoc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.pmoc-table th,
.pmoc-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 58, 143, 0.08);
  font-size: 0.92rem;
}

.pmoc-table th {
  color: rgba(13, 27, 61, 0.7);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pmoc-table tbody tr:last-child td {
  border-bottom: 0;
}

.pmoc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action-chip--danger {
  background: rgba(217, 45, 32, 0.08);
  border-color: rgba(217, 45, 32, 0.12);
  color: #d92d20;
}

.pmoc-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.pmoc-status--pending {
  background: rgba(255, 198, 26, 0.18);
  color: #8a6500;
}

.pmoc-status--done {
  background: rgba(26, 171, 99, 0.14);
  color: #148a52;
}

.pmoc-inline-submit {
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  box-shadow: 0 12px 24px rgba(20, 149, 211, 0.16);
}

.pmoc-panel__footer {
  margin: 0;
  color: rgba(13, 27, 61, 0.68);
  font-size: 0.92rem;
}

.pmoc-empty-state {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.1rem;
  border: 1px dashed rgba(19, 112, 219, 0.22);
  border-radius: 18px;
  background: rgba(246, 250, 255, 0.92);
  color: rgba(13, 27, 61, 0.78);
}

.pmoc-empty-state strong {
  color: var(--navy);
}

.pmoc-empty-state span {
  font-size: 0.94rem;
  line-height: 1.5;
}

.pmoc-empty-state--question {
  margin-top: 0.5rem;
}

.pmoc-report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: stretch;
}

.pmoc-report__form {
  display: grid;
  gap: 16px;
}

.pmoc-report__format {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(13, 27, 61, 0.78);
  font-weight: 700;
}

.pmoc-report__format label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pmoc-report__button {
  max-width: 260px;
}

.pmoc-report__empty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 26px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(20, 149, 211, 0.08), transparent 52%),
    rgba(245, 250, 255, 0.95);
  border: 1px dashed rgba(23, 58, 143, 0.14);
  text-align: center;
}

.pmoc-report__empty strong {
  color: var(--navy);
  font-size: 1.2rem;
}

.pmoc-report__empty p {
  margin: 0;
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.6;
}

.pmoc-report__illustration {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(20, 149, 211, 0.12), rgba(26, 171, 99, 0.12));
  display: grid;
  place-items: center;
}

.pmoc-report__clip {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: contain;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(230, 242, 255, 0.94));
  padding: 8px;
  box-shadow: 0 12px 28px rgba(20, 37, 92, 0.08);
}

.pmoc-model-screen {
  display: grid;
  gap: 20px;
}

.pmoc-model-screen__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(13, 27, 61, 0.7);
  font-size: 0.95rem;
  font-weight: 700;
}

.pmoc-model-screen__breadcrumb strong {
  color: var(--navy);
}

.pmoc-model-screen__hero h2 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.4rem);
}

.pmoc-model-screen__hero p {
  margin: 0;
  color: rgba(13, 27, 61, 0.72);
  line-height: 1.7;
}

.pmoc-model-form {
  display: grid;
  gap: 18px;
}

.pmoc-model-form__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 18px 38px rgba(20, 37, 92, 0.08);
}

.pmoc-model-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.pmoc-model-builder {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 0 0 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 18px 38px rgba(20, 37, 92, 0.08);
  overflow: hidden;
}

.pmoc-model-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 18px 18px 0;
  border-bottom: 1px solid rgba(23, 58, 143, 0.08);
}

.pmoc-model-tabs__item {
  min-height: 46px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(13, 27, 61, 0.68);
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pmoc-model-tabs__item.is-active {
  color: var(--navy);
  border-bottom-color: var(--sky);
}

.pmoc-model-tabs__action {
  margin-left: auto;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
}

.pmoc-model-builder__intro {
  margin: 0;
  padding: 0 18px;
  color: rgba(13, 27, 61, 0.72);
}

.pmoc-question-list {
  display: grid;
  gap: 10px;
  padding: 0 18px;
}

.pmoc-question-card {
  display: grid;
  grid-template-columns: 20px 34px 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.pmoc-question-card__handle,
.pmoc-question-card__order,
.pmoc-question-card__icon {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy);
}

.pmoc-question-card__handle {
  color: rgba(13, 27, 61, 0.34);
}

.pmoc-question-card__order {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(23, 58, 143, 0.06);
  font-size: 0.9rem;
}

.pmoc-question-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  font-size: 0.78rem;
}

.pmoc-question-card__content strong,
.pmoc-question-card__content span {
  display: block;
}

.pmoc-question-card__content strong {
  color: var(--navy);
}

.pmoc-question-card__content span {
  margin-top: 4px;
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.45;
}

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

.pmoc-question-card__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 149, 211, 0.12);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.pmoc-question-card__required--muted {
  background: rgba(13, 27, 61, 0.08);
  color: rgba(13, 27, 61, 0.6);
}

.pmoc-question-card__toggle {
  width: 36px;
  height: 22px;
  border-radius: 999px;
  background: rgba(13, 27, 61, 0.18);
  position: relative;
}

.pmoc-question-card__toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
}

.pmoc-question-card__toggle.is-on {
  background: linear-gradient(135deg, var(--navy), var(--sky));
}

.pmoc-question-card__toggle.is-on::after {
  left: auto;
  right: 3px;
}

.pmoc-model-add-question {
  margin: 0 18px;
  min-height: 50px;
  border: 1px dashed rgba(23, 58, 143, 0.18);
  border-radius: 18px;
  background: rgba(245, 250, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pmoc-model-sidebar {
  display: grid;
  gap: 18px;
}

.pmoc-panel--compact {
  gap: 14px;
}

.pmoc-panel__header--stacked {
  align-items: flex-start;
}

.pmoc-question-types,
.pmoc-model-settings {
  display: grid;
  gap: 10px;
}

.pmoc-question-type {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.pmoc-question-type strong,
.pmoc-question-type span {
  display: block;
}

.pmoc-question-type strong {
  color: var(--navy);
}

.pmoc-question-type span {
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.45;
}

.pmoc-model-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.pmoc-model-settings__button {
  justify-self: start;
}

.pmoc-photo-config {
  position: fixed;
  inset: 0;
  z-index: 1250;
}

.pmoc-photo-config__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 44, 0.56);
  backdrop-filter: blur(6px);
}

.pmoc-photo-config__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  border-radius: 28px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 26px 70px rgba(8, 18, 44, 0.24);
}

.pmoc-photo-config__header,
.pmoc-photo-config__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(23, 58, 143, 0.08);
}

.pmoc-photo-config__footer {
  border-top: 1px solid rgba(23, 58, 143, 0.08);
  border-bottom: 0;
  justify-content: flex-end;
}

.pmoc-photo-config__header h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.8rem;
}

.pmoc-photo-config__close {
  min-width: 46px;
  padding: 10px 14px;
}

.pmoc-photo-config__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  padding: 22px;
}

.pmoc-photo-config__main {
  display: grid;
  gap: 14px;
}

.pmoc-photo-config__switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 800;
  color: var(--navy);
}

.pmoc-photo-config__card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.pmoc-photo-config__card strong {
  color: var(--navy);
  font-size: 1.02rem;
}

.pmoc-photo-config__grid {
  display: grid;
  gap: 14px;
}

.pmoc-photo-config__grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pmoc-photo-config__radio-row,
.pmoc-photo-config__checks {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.pmoc-photo-config__radio-row label,
.pmoc-photo-config__checks label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(13, 27, 61, 0.78);
  font-weight: 700;
}

.pmoc-photo-config__example {
  min-height: 110px;
  border: 1px dashed rgba(23, 58, 143, 0.2);
  border-radius: 18px;
  background: rgba(245, 250, 255, 0.98);
  color: var(--navy);
  display: grid;
  place-items: center;
  gap: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
}

.pmoc-photo-config__example small {
  color: rgba(13, 27, 61, 0.64);
}

.pmoc-photo-config__preview {
  display: grid;
}

.pmoc-photo-preview-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(23, 58, 143, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.98));
}

.pmoc-photo-preview-card strong {
  color: var(--navy);
}

.pmoc-photo-preview-card__question {
  font-weight: 800;
  color: var(--ink);
}

.pmoc-photo-preview-card p {
  margin: 0;
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.55;
}

.pmoc-photo-preview-card__dropzone {
  min-height: 78px;
  border: 1px dashed rgba(20, 149, 211, 0.24);
  border-radius: 16px;
  background: rgba(245, 250, 255, 0.98);
  color: var(--sky);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.pmoc-photo-preview-card small {
  color: rgba(13, 27, 61, 0.64);
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-toolbar__copy {
  display: grid;
  gap: 8px;
}

.admin-section-kicker {
  color: rgba(235, 239, 244, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-toolbar h2 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.admin-toolbar p {
  margin: 0;
  max-width: 720px;
}

.admin-create-button {
  min-width: 240px;
}

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

.admin-overview-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.88) 0%, rgba(20, 20, 20, 0.82) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-overview-card__icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.admin-overview-card--rose .admin-overview-card__icon {
  background: radial-gradient(circle at top, rgba(255, 95, 95, 0.42), rgba(148, 21, 31, 0.3));
  color: #ff7d7d;
}

.admin-overview-card--green .admin-overview-card__icon {
  background: radial-gradient(circle at top, rgba(73, 211, 113, 0.36), rgba(12, 89, 40, 0.26));
  color: #79ea8a;
}

.admin-overview-card--blue .admin-overview-card__icon {
  background: radial-gradient(circle at top, rgba(91, 145, 255, 0.4), rgba(20, 53, 118, 0.26));
  color: #81b4ff;
}

.admin-overview-card--violet .admin-overview-card__icon {
  background: radial-gradient(circle at top, rgba(179, 98, 255, 0.4), rgba(77, 18, 112, 0.26));
  color: #d2a4ff;
}

.admin-overview-card__content {
  display: grid;
  gap: 4px;
}

.admin-overview-card__content span {
  color: rgba(227, 231, 238, 0.74);
  font-size: 0.96rem;
}

.admin-overview-card__content strong {
  color: #ffffff;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.admin-overview-card__content small {
  color: rgba(215, 220, 228, 0.64);
  font-size: 0.92rem;
}

.admin-searchbar {
  display: flex;
}

.admin-searchbar--rich {
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.search-field {
  width: min(100%, 520px);
  position: relative;
}

.admin-searchbar--rich .search-field {
  flex: 1 1 auto;
}

.search-field__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: rgba(23, 58, 143, 0.5);
  font-size: 1rem;
  pointer-events: none;
}

.search-field input,
.admin-form select {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 18px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input {
  padding-left: 46px;
}

.search-field input:focus,
.admin-form select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(20, 149, 211, 0.14);
}

.admin-status-filter {
  min-width: 220px;
  display: grid;
  gap: 8px;
  color: rgba(230, 233, 239, 0.78);
  font-weight: 700;
}

.admin-status-filter span {
  font-size: 0.96rem;
}

.admin-status-filter select {
  width: 100%;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  font: inherit;
}

.admin-status-filter select:focus {
  outline: none;
  border-color: rgba(255, 55, 55, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 44, 44, 0.1);
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.admin-card__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.admin-avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20, 149, 211, 0.16), rgba(23, 58, 143, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-avatar__fallback {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.15rem;
}

.admin-card__content strong,
.admin-card__content span,
.admin-card__content small {
  display: block;
}

.admin-card__content strong {
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.admin-card__content span,
.admin-card__content small {
  color: rgba(13, 27, 61, 0.7);
  line-height: 1.6;
  word-break: break-word;
}

.admin-card__content small + small {
  margin-top: 2px;
}

.admin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: flex-start;
  min-width: 280px;
}

.action-chip {
  border: 1px solid rgba(20, 149, 211, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(20, 149, 211, 0.08);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.action-chip:hover {
  background: rgba(20, 149, 211, 0.16);
}

.action-chip--dark {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4f6fa;
}

.action-chip--dark:hover {
  background: rgba(255, 255, 255, 0.06);
}

.action-chip--warning {
  background: linear-gradient(180deg, rgba(175, 120, 11, 0.95), rgba(126, 82, 8, 0.92));
  border-color: rgba(255, 198, 92, 0.22);
  color: #fff8e8;
}

.action-chip--warning:hover {
  background: linear-gradient(180deg, rgba(194, 134, 18, 0.98), rgba(140, 92, 10, 0.96));
}

.action-chip--danger-strong {
  background: linear-gradient(180deg, rgba(173, 21, 21, 0.96), rgba(123, 11, 11, 0.94));
  border-color: rgba(255, 98, 98, 0.18);
  color: #fff1f1;
}

.action-chip--danger-strong:hover {
  background: linear-gradient(180deg, rgba(196, 29, 29, 0.98), rgba(140, 12, 12, 0.96));
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-chip--maintenance {
  background: rgba(26, 171, 99, 0.14);
  border: 1px solid rgba(26, 171, 99, 0.2);
  color: #127347;
  box-shadow: 0 8px 20px rgba(26, 171, 99, 0.1);
}

body.mobile-admin-page .admin-card--mobile {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(20, 37, 92, 0.08);
}

body.mobile-admin-page .admin-card__main--mobile {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

body.mobile-admin-page .admin-card__identity--mobile {
  align-items: center;
  gap: 12px;
}

body.mobile-admin-page .admin-avatar--mobile {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 18px;
}

body.mobile-admin-page .admin-card__content--mobile strong {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

body.mobile-admin-page .admin-card__content--mobile span,
body.mobile-admin-page .admin-card__content--mobile small {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.35;
}

body.mobile-admin-page .admin-card__status-inline {
  color: #127347;
  font-weight: 800;
}

body.mobile-admin-page .admin-card__actions--mobile {
  min-width: 0;
  justify-content: flex-start;
  gap: 8px;
}

body.mobile-admin-page .admin-card__actions--mobile .action-chip {
  padding: 8px 12px;
  font-size: 0.82rem;
}

body.mobile-admin-page .client-toolbar--mobile-admin {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

body.mobile-admin-page .client-toolbar--mobile-admin h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.08;
}

body.mobile-admin-page .client-toolbar--mobile-admin p {
  max-width: 240px;
  margin: 10px 0 0;
  color: rgba(13, 27, 61, 0.68);
  line-height: 1.45;
  font-size: 0.92rem;
}

body.mobile-admin-page .client-create-button--mobile-admin {
  min-width: 0;
  width: auto;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(23, 58, 143, 0.14);
  font-size: 0.9rem;
  white-space: nowrap;
}

body.mobile-admin-page .client-searchbar--mobile-admin {
  margin-top: 4px;
}

body.mobile-admin-page .client-search-field--mobile-admin {
  width: 100%;
}

body.mobile-admin-page .client-search-field--mobile-admin input {
  height: 58px;
  border-radius: 20px;
  padding-right: 18px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(23, 58, 143, 0.06);
}

body.mobile-admin-page .client-search-field--mobile-admin .search-field__icon {
  left: 16px;
}

body.mobile-admin-page .mobile-client-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(23, 58, 143, 0.08);
  box-shadow: 0 14px 32px rgba(20, 37, 92, 0.08);
}

body.mobile-admin-page .mobile-client-card + .mobile-client-card {
  margin-top: 12px;
}

body.mobile-admin-page .mobile-client-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body.mobile-admin-page .mobile-client-card__identity {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

body.mobile-admin-page .mobile-client-card__avatar {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.08);
}

body.mobile-admin-page .mobile-client-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.mobile-admin-page .mobile-client-card__content {
  min-width: 0;
}

body.mobile-admin-page .mobile-client-card__content strong,
body.mobile-admin-page .mobile-client-card__content span {
  display: block;
}

body.mobile-admin-page .mobile-client-card__content strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

body.mobile-admin-page .mobile-client-card__meta {
  margin-top: 5px;
  color: rgba(13, 27, 61, 0.74);
  font-size: 0.84rem;
  line-height: 1.35;
}

body.mobile-admin-page .mobile-client-card__meta i {
  display: inline-flex;
  width: 16px;
  margin-right: 6px;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

body.mobile-admin-page .mobile-client-card__meta--status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1db44f;
  margin: 0 10px 1px 0;
}

body.mobile-admin-page .mobile-client-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

body.mobile-admin-page .mobile-client-card__badge--active {
  background: rgba(71, 201, 98, 0.14);
  color: #22a047;
}

body.mobile-admin-page .mobile-client-card__menu {
  position: relative;
  flex: 0 0 auto;
}

body.mobile-admin-page .mobile-client-card__menu-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 14px;
  background: rgba(23, 58, 143, 0.06);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

body.mobile-admin-page .mobile-client-card__menu-panel {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 3;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(20, 37, 92, 0.18);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

body.mobile-admin-page .mobile-client-card__delete {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: rgba(225, 65, 65, 0.12);
  color: #d92828;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.mobile-admin-page .mobile-client-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 58, 143, 0.08);
  flex-wrap: wrap;
}

body.mobile-admin-page .mobile-client-card__actions .action-chip {
  padding: 8px 12px;
  font-size: 0.8rem;
}

.admin-empty,
.admin-loading {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(20, 149, 211, 0.24);
  color: rgba(13, 27, 61, 0.72);
}

.admin-empty strong,
.admin-empty span {
  display: block;
}

.admin-empty strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.list-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.list-pagination__size {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(13, 27, 61, 0.74);
  font-weight: 700;
}

.list-pagination__size select {
  height: 44px;
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 14px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
}

.list-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.list-pagination__summary {
  color: rgba(13, 27, 61, 0.7);
  font-size: 0.95rem;
  font-weight: 700;
}

.list-pagination__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-chip {
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 149, 211, 0.14);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(20, 149, 211, 0.08);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pagination-chip:hover:not(:disabled) {
  background: rgba(20, 149, 211, 0.16);
}

.pagination-chip.is-active {
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(20, 149, 211, 0.2);
}

.pagination-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-form-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 58, 143, 0.08);
}

.admin-form-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-form-panel__header h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 1.9rem;
}

.close-button {
  border: 1px solid rgba(23, 58, 143, 0.12);
  border-radius: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 20px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px 22px;
}

.photo-preview {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(20, 149, 211, 0.1);
  border: 1px solid rgba(20, 149, 211, 0.12);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.photo-uploader {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.photo-dropzone {
  width: 148px;
  height: 148px;
  border: 1px dashed rgba(20, 149, 211, 0.28);
  border-radius: 24px;
  background: rgba(20, 149, 211, 0.06);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.photo-dropzone:hover {
  background: rgba(20, 149, 211, 0.1);
}

.photo-dropzone__plus {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 500;
}

.photo-dropzone__label {
  font: inherit;
  font-weight: 700;
}

.photo-remove-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 23, 53, 0.82);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.photo-remove-button:hover {
  background: rgba(180, 35, 24, 0.92);
}

.previewable-image {
  cursor: zoom-in;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 44, 0.76);
  backdrop-filter: blur(6px);
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.image-modal__content {
  width: min(100%, 860px);
  max-height: calc(100vh - 64px);
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(8, 18, 44, 0.3);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.image-modal__content img {
  max-width: 100%;
  max-height: min(76vh, 900px);
  border-radius: 22px;
  object-fit: contain;
  background: rgba(20, 149, 211, 0.04);
}

.image-modal__content strong {
  color: var(--navy);
  text-align: center;
}

.image-modal__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(8, 18, 44, 0.18);
}

.image-modal__close:hover {
  background: var(--white);
}

.is-hidden {
  display: none;
}

.coming-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--navy);
}

.coming-card p {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(13, 27, 61, 0.72);
}

body.stream-panel-page .topbar__profile,
body.stream-panel-page .module-card,
body.stream-panel-page .settings-card,
body.stream-panel-page .list-pagination,
body.stream-panel-page .admin-form-panel,
body.stream-panel-page .admin-empty,
body.stream-panel-page .admin-loading {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.96) 0%, rgba(11, 11, 11, 0.96) 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

body.stream-panel-page .app-layout {
  background:
    radial-gradient(circle at top, rgba(255, 45, 45, 0.08), transparent 24%),
    linear-gradient(180deg, #090909 0%, #0c0c0c 52%, #111111 100%);
}

body.stream-panel-page .app-content {
  background: transparent;
}

body.stream-panel-page .module-card strong,
body.stream-panel-page .settings-card h2,
body.stream-panel-page .admin-form-panel__header h3,
body.stream-panel-page .coming-card h2,
body.stream-panel-page .admin-empty strong,
body.stream-panel-page .admin-loading {
  color: #ffffff;
}

body.stream-panel-page .module-card p,
body.stream-panel-page .settings-card p,
body.stream-panel-page .list-pagination__summary,
body.stream-panel-page .list-pagination__size,
body.stream-panel-page .admin-empty span,
body.stream-panel-page .admin-form-panel__header p {
  color: rgba(224, 228, 235, 0.72);
}

body.stream-panel-page .search-field input,
body.stream-panel-page .admin-form select,
body.stream-panel-page .list-pagination__size select,
body.stream-panel-page .topbar__profile {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
}

body.stream-panel-page .search-field input,
body.stream-panel-page .admin-form select,
body.stream-panel-page .list-pagination__size select {
  border-color: rgba(255, 255, 255, 0.12);
}

body.stream-panel-page .search-field__icon {
  color: rgba(232, 235, 240, 0.44);
}

body.stream-panel-page .list-pagination__size select:focus,
body.stream-panel-page .admin-status-filter select:focus,
body.stream-panel-page .search-field input:focus,
body.stream-panel-page .admin-form select:focus {
  border-color: rgba(255, 58, 58, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 35, 35, 0.1);
}

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

  .brand-panel {
    padding: 28px 20px 0;
  }

  .brand-panel__backdrop {
    inset: 0;
    border-radius: 0 0 32px 32px;
  }

  .brand-panel__content {
    padding: 28px 12px 32px;
    max-width: none;
  }

  .login-panel {
    padding: 20px;
    margin-top: -16px;
  }

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

  .coming-layout {
    display: block;
  }

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

  .field--full {
    grid-column: auto;
  }

  .sidebar {
    box-shadow: none;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar__profile {
    width: 100%;
    justify-content: space-between;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-toolbar,
  .pmoc-dashboard__hero,
  .pmoc-panel__header,
  .admin-form-panel__header {
    flex-direction: column;
  }

  .pmoc-dashboard__grid,
  .pmoc-report,
  .pmoc-filters--triple,
  .pmoc-filters--wide,
  .pmoc-model-layout,
  .pmoc-model-form__top,
  .pmoc-photo-config__body,
  .pmoc-photo-config__grid--dual {
    grid-template-columns: 1fr;
  }

  .pmoc-panel__button,
  .pmoc-report__button {
    max-width: none;
    width: 100%;
  }

  .equipment-workbench,
  .equipment-details-grid,
  .equipment-client-summary,
  .equipment-environment-card,
  .equipment-equipment-card .equipment-details-grid,
  .equipment-environment-hero,
  .equipment-item-summary,
  .equipment-item-sections,
  .equipment-item-rubber-screen,
  .equipment-rubber-hero {
    grid-template-columns: 1fr;
  }

  .equipment-panel__header,
  .equipment-card__top,
  .equipment-card__identity,
  .equipment-client-summary {
    flex-direction: column;
  }

  .equipment-client-summary__side {
    min-width: 0;
  }

  .equipment-clients-panel {
    position: static;
    max-height: none;
  }

  .equipment-filterbar,
  .equipment-row-head,
  .equipment-equipment-card {
    grid-template-columns: 1fr;
  }

  .equipment-row-head {
    display: none;
  }

  .equipment-item-summary__grid--rubber {
    grid-template-columns: 1fr;
  }

  .admin-create-button {
    width: 100%;
  }

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

  .admin-searchbar--rich {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-status-filter {
    min-width: 0;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-card__main,
  .admin-card__identity,
  .config-item-card {
    flex-direction: column;
  }

  .admin-card__actions,
  .config-item-card__actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .field-inline {
    grid-template-columns: 1fr;
  }

  .equipment-environment-card .equipment-card__photo {
    width: 100%;
    height: 180px;
    flex-basis: auto;
  }

  .equipment-environment-hero__media {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 560px) {
  .collaborator-app {
    padding: 10px 10px 102px;
  }

  .collaborator-app__header {
    padding-bottom: 6px;
  }

  .collaborator-app__brand {
    padding: 9px 10px;
    border-radius: 16px;
  }

  .collaborator-app__brand-main {
    gap: 8px;
  }

  .collaborator-app__brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .collaborator-app__brand strong {
    font-size: 0.92rem;
  }

  .collaborator-app__brand span {
    font-size: 0.74rem;
  }

  .collaborator-app__user {
    min-width: 72px;
    padding: 0;
  }

  .collaborator-app__user-avatar,
  .collaborator-app__user-photo {
    width: 40px;
    height: 40px;
    border-radius: 999px;
  }

  .collaborator-app__user span {
    font-size: 0.7rem;
  }

  .collaborator-route-button {
    width: 38px;
    height: 38px;
    margin: 12px 10px 0 0;
    border-radius: 12px;
  }

  .collaborator-route-button--inline {
    margin: 0;
  }

  .auth-card {
    padding: 22px;
    border-radius: 24px;
  }

  .auth-panel__header h1 {
    font-size: 1.9rem;
  }

  .login-card {
    padding: 24px;
    border-radius: 24px;
  }

  .brand-panel h1 {
    font-size: 2.5rem;
  }

  .app-content,
  .sidebar {
    padding: 18px;
  }

  .coming-card {
    padding: 18px 14px;
    min-height: 320px;
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-table__identity {
    gap: 10px;
  }

  .admin-avatar--table {
    width: 48px;
    height: 48px;
  }

  .pmoc-panel {
    padding: 18px;
  }

  .pmoc-panel__header strong {
    font-size: 1.25rem;
  }

  .pmoc-question-card {
    grid-template-columns: 20px 34px 42px minmax(0, 1fr);
  }

  .pmoc-question-card__meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .pmoc-photo-config__dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
  }

  .pmoc-photo-config__header,
  .pmoc-photo-config__footer,
  .pmoc-photo-config__body {
    padding: 16px;
  }

  .pmoc-table th,
  .pmoc-table td {
    padding: 12px 14px;
  }

  .image-modal__dialog {
    padding: 18px;
  }

  .image-modal__content {
    padding: 16px;
    border-radius: 22px;
  }

.image-modal__close {
    top: 18px;
    right: 18px;
  }
}

body.stream-panel-page .film-module,
body.stream-panel-page .film-card,
body.stream-panel-page .film-callout,
body.stream-panel-page .film-result-card,
body.stream-panel-page .film-preview-confirmation,
body.stream-panel-page .film-autoimport-note,
body.stream-panel-page .film-dynamic-row,
body.stream-panel-page .film-media-frame,
body.stream-panel-page .film-trailer-preview {
  background: rgba(12, 12, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.film-shell {
  display: grid;
  gap: 22px;
}

.film-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.film-hero__copy h2 {
  margin: 8px 0 10px;
  font-size: 2.15rem;
}

.film-hero__copy p {
  margin: 0;
  max-width: 760px;
}

.film-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.film-breadcrumb strong {
  color: #ffffff;
}

.film-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.film-hero__button {
  min-width: 170px;
}

.film-hero__button--primary {
  background: linear-gradient(135deg, #ff2424 0%, #d70d16 100%);
}

.film-callout {
  padding: 16px 18px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.film-layout {
  display: grid;
  grid-template-columns: 1.02fr 1.34fr 1.08fr;
  gap: 20px;
  align-items: start;
}

.film-card {
  border-radius: 28px;
  padding: 22px;
}

.film-card__header {
  margin-bottom: 18px;
}

.film-card__step {
  color: #ff3636;
  font-size: 1.2rem;
  font-weight: 800;
}

.film-search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.film-search-tab {
  border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  cursor: pointer;
}

.film-search-tab.is-active {
  color: #ffffff;
  background: rgba(255, 40, 40, 0.14);
  box-shadow: inset 0 -2px 0 #ff3434;
}

.film-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 12px;
  align-items: end;
}

.film-search-button {
  height: 54px;
}

.film-autoimport-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 18px;
  margin: 18px 0;
}

.film-autoimport-note strong {
  color: #8cf7ac;
}

.film-autoimport-note span,
.film-results-meta,
.film-result-card span,
.film-result-card small,
.film-preview-copy p,
.film-preview-copy__headline span,
.film-preview-facts span,
.film-cast-card span,
.film-preview-confirmation strong,
.film-callout,
.film-trailer-preview span {
  color: rgba(255, 255, 255, 0.74);
}

.film-results {
  display: grid;
  gap: 12px;
}

.film-result-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  width: 100%;
  padding: 12px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
}

.film-result-card.is-active {
  border-color: rgba(255, 65, 65, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 65, 65, 0.28), 0 20px 42px rgba(0, 0, 0, 0.32);
}

.film-result-card__poster {
  height: 116px;
  border-radius: 14px;
  overflow: hidden;
}

.film-result-card__poster img,
.film-preview-poster img,
.film-media-frame img,
.film-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-result-card__content {
  display: grid;
  gap: 7px;
  align-content: center;
}

.film-result-card__content strong,
.film-preview-copy__headline h3,
.film-subsection__header h3 {
  color: #ffffff;
}

.film-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.film-result-card__match {
  color: #7df0a5;
}

.film-result-empty {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.film-preview-top {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
}

.film-preview-poster {
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.34);
}

.film-preview-copy {
  display: grid;
  gap: 14px;
}

.film-preview-copy__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.film-preview-copy__headline h3 {
  margin: 0;
  font-size: 2.1rem;
}

.film-preview-stats,
.film-preview-tags,
.film-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.film-preview-stats span,
.film-preview-tags span,
.film-checklist span,
.choice-chip span,
.film-default-toggle span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f2f2f2;
}

.film-preview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.film-preview-facts div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.film-preview-facts strong,
.film-preview-media h4 {
  color: #ffffff;
}

.film-preview-block,
.film-preview-media,
.film-preview-confirmation {
  margin-top: 20px;
}

.film-cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.film-cast-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.film-cast-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff3131 0%, #75131d 100%);
  color: #ffffff;
  font-weight: 800;
}

.film-preview-media {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
}

.film-preview-media__trailer,
.film-preview-media__images {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.film-preview-media__trailer a {
  color: #ff5c5c;
  word-break: break-all;
}

.film-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.film-gallery-card {
  border: 0;
  padding: 0;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.film-preview-confirmation {
  padding: 18px;
  border-radius: 18px;
}

.film-media-grid,
.film-stream-grid {
  display: grid;
  gap: 14px;
}

.film-media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.film-media-box {
  display: grid;
  gap: 10px;
}

.film-media-box > span {
  color: #ffffff;
  font-weight: 700;
}

.film-media-frame {
  overflow: hidden;
  border-radius: 18px;
}

.film-media-frame--poster {
  height: 170px;
}

.film-media-frame--banner {
  height: 170px;
}

.film-trailer-preview {
  min-height: 114px;
  border-radius: 18px;
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
}

.film-trailer-preview__play {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 42, 42, 0.18);
  color: #ffffff;
  font-size: 1.2rem;
}

.film-stream-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.film-link-types,
.film-quality-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.choice-chip input,
.film-default-toggle input {
  accent-color: #ff2f2f;
}

.film-subsection {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.film-subsection__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.film-subsection__header h3 {
  margin: 0;
}

.film-inline-button {
  padding-inline: 16px;
}

.film-dynamic-list {
  display: grid;
  gap: 12px;
}

.film-dynamic-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 120px 110px;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
}

.film-dynamic-row select,
.film-dynamic-row input {
  width: 100%;
}

.film-default-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.film-remove-button {
  border: 1px solid rgba(255, 66, 66, 0.28);
  border-radius: 14px;
  background: rgba(116, 13, 24, 0.34);
  color: #ff9797;
  font: inherit;
  cursor: pointer;
}

.helper-text--error {
  color: #ff8f8f !important;
}

@media (max-width: 1380px) {
  .film-layout {
    grid-template-columns: 1fr;
  }

  .film-preview-media,
  .film-media-grid,
  .film-stream-grid,
  .film-cast-grid,
  .film-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .film-hero,
  .film-subsection__header {
    flex-direction: column;
    align-items: stretch;
  }

  .film-hero__actions,
  .film-search-tabs {
    width: 100%;
  }

  .film-search-row,
  .film-preview-top,
  .film-preview-media,
  .film-media-grid,
  .film-stream-grid,
  .film-cast-grid,
  .film-gallery-grid,
  .film-dynamic-row,
  .film-preview-facts {
    grid-template-columns: 1fr;
  }

  .film-result-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }
}

.film-editor {
  display: grid;
  gap: 18px;
}

.film-editor-shell {
  display: grid;
  gap: 18px;
}

.film-editor-topbar,
.film-editor-card,
.film-editor-tabs,
.film-editor-uploadbox,
.film-editor-warning,
.film-editor-tip,
.film-editor-audio-player,
.film-person-card,
.film-audio-row,
.film-editor-status-box {
  background: rgba(12, 12, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.film-editor-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-radius: 24px;
  padding: 24px;
}

.film-editor-copy h2,
.film-editor-card h3,
.film-editor-card h4,
.film-editor-card strong,
.film-person-card strong,
.film-audio-row strong {
  color: #ffffff;
}

.film-editor-copy h2 {
  margin: 8px 0 6px;
  font-size: 2.3rem;
}

.film-editor-copy p,
.film-editor-card p,
.film-editor-card span,
.film-editor-card small,
.film-person-card span,
.film-person-card small,
.film-audio-row span {
  color: rgba(255, 255, 255, 0.72);
}

.film-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.film-editor-action {
  min-width: 152px;
}

.film-editor-action--primary {
  background: linear-gradient(135deg, #ff2424 0%, #d70d16 100%);
}

.film-editor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 20px;
  padding: 12px;
}

.film-editor-tab {
  border: 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.film-editor-tab.is-active {
  color: #ff4343;
  background: rgba(255, 43, 43, 0.08);
  box-shadow: inset 0 -2px 0 #ff3131;
}

.film-editor-grid {
  display: grid;
  gap: 18px;
}

.film-editor-grid--principal {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.film-editor-grid--dual,
.film-editor-grid--audio,
.film-editor-grid--links,
.film-editor-grid--other {
  grid-template-columns: 1fr 1fr;
}

.film-editor-grid--media {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.film-editor-grid--categories {
  grid-template-columns: 220px minmax(0, 1fr) 280px;
}

.film-editor-card {
  display: grid;
  gap: 14px;
  border-radius: 24px;
  padding: 20px;
}

.film-editor-card--full {
  grid-column: 1 / -1;
}

.film-editor-column {
  display: grid;
  gap: 18px;
}

.film-editor-badges,
.film-editor-inline-actions,
.film-editor-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.film-editor-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.76);
}

.film-editor-badge--success {
  background: rgba(26, 121, 50, 0.22);
  color: #9df0a8;
}

.film-editor-mini {
  padding: 10px 14px;
}

.film-editor-mini--danger {
  color: #ff9999;
  border-color: rgba(255, 83, 83, 0.24);
}

.film-editor-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.film-editor-import-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 216, 64, 0.06);
  border: 1px solid rgba(255, 216, 64, 0.12);
}

.film-editor-media-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.film-editor-media-stack,
.film-editor-trailer-box {
  display: grid;
  gap: 10px;
}

.film-editor-media-stack img,
.film-editor-asset img,
.film-editor-gallery-item img,
.film-editor-poster-card img,
.film-person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.film-editor-media-stack img {
  height: 250px;
}

.film-editor-media-button {
  width: 100%;
}

.film-editor-status-box {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
}

.film-editor-status-box--success {
  background: rgba(16, 82, 31, 0.28);
  border-color: rgba(46, 170, 74, 0.22);
}

.film-editor-card__headerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.film-person-list,
.film-audio-list {
  display: grid;
  gap: 12px;
}

.film-person-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 180px 120px;
  gap: 14px;
  padding: 14px;
  border-radius: 20px;
}

.film-person-card img {
  height: 92px;
}

.film-person-card__content,
.film-person-card__side,
.film-person-card__actions {
  display: grid;
  gap: 6px;
  align-content: center;
}

.film-person-card__actions {
  justify-items: stretch;
}

.film-editor-loadmore {
  justify-self: center;
  min-width: 220px;
}

.film-editor-asset {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 14px;
}

.film-editor-asset img {
  min-height: 190px;
}

.film-editor-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.film-editor-gallery-item {
  display: grid;
  gap: 8px;
}

.film-editor-gallery-item img {
  height: 86px;
}

.film-editor-uploadbox {
  border-radius: 20px;
  padding: 22px;
  text-align: center;
  border-style: dashed;
  color: rgba(255, 255, 255, 0.72);
}

.film-audio-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 180px 120px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
}

.film-audio-row__badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2c7fff 0%, #16396d 100%);
  color: #ffffff;
  font-weight: 800;
}

.film-audio-row__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.film-editor-preview-player {
  grid-template-columns: 1.2fr 0.8fr 220px;
  align-items: center;
}

.film-editor-audio-player {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 18px;
  padding: 18px;
}

.film-editor-inline-actions--stack {
  display: grid;
}

.film-editor-table-wrapper {
  overflow-x: auto;
}

.film-editor-table {
  width: 100%;
  border-collapse: collapse;
}

.film-editor-table th,
.film-editor-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: rgba(255, 255, 255, 0.8);
}

.film-editor-status-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
}

.film-editor-status-pill--success {
  background: rgba(30, 140, 58, 0.22);
  color: #9df0a8;
}

.film-editor-status-pill--warning {
  background: rgba(182, 131, 19, 0.22);
  color: #ffd56e;
}

.film-editor-status-pill--danger {
  background: rgba(150, 28, 28, 0.22);
  color: #ff8c8c;
}

.film-editor-warning,
.film-editor-tip {
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.74);
}

.film-editor-warning {
  background: rgba(143, 103, 16, 0.18);
  border-color: rgba(255, 212, 79, 0.18);
}

.film-editor-tip {
  background: rgba(18, 63, 109, 0.18);
  border-color: rgba(72, 150, 255, 0.16);
}

.film-editor-poster-card {
  display: grid;
  gap: 12px;
}

.film-editor-poster-card img {
  height: 250px;
}

.film-editor-list-pill {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.film-editor-category-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: middle;
}

.film-editor-category-dot--blue { background: #2d8cff; }
.film-editor-category-dot--violet { background: #8f54ff; }
.film-editor-category-dot--amber { background: #f0b80a; }
.film-editor-category-dot--green { background: #41b43f; }
.film-editor-category-dot--orange { background: #ff8424; }

.film-editor-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.84);
}

.film-editor-toggle input {
  accent-color: #ff2f2f;
}

.film-editor-radio-group,
.film-editor-switch-grid {
  display: grid;
  gap: 10px;
}

.film-list-table__header,
.film-list-row {
  grid-template-columns: minmax(260px, 1.4fr) 140px 90px 110px 110px 120px 200px;
}

.film-list-identity {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.film-list-identity img {
  width: 62px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
}

.film-list-identity__copy {
  display: grid;
  gap: 6px;
}

.film-list-identity__copy strong {
  color: #ffffff;
}

.film-list-identity__copy small {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1480px) {
  .film-editor-grid--principal,
  .film-editor-grid--media,
  .film-editor-grid--categories,
  .film-editor-grid--audio,
  .film-editor-grid--links,
  .film-editor-grid--other {
    grid-template-columns: 1fr 1fr;
  }

  .film-editor-card--full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1080px) {
  .film-editor-topbar,
  .film-editor-card__headerline {
    flex-direction: column;
    align-items: stretch;
  }

  .film-editor-preview-player,
  .film-editor-grid--principal,
  .film-editor-grid--dual,
  .film-editor-grid--media,
  .film-editor-grid--audio,
  .film-editor-grid--links,
  .film-editor-grid--categories,
  .film-editor-grid--other,
  .film-editor-form-grid,
  .film-editor-media-pair,
  .film-editor-asset,
  .film-person-card,
  .film-audio-row {
    grid-template-columns: 1fr;
  }

  .film-editor-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .film-list-table__header,
  .film-list-row {
    grid-template-columns: 1fr;
  }
}
