:root {
  --dashboard-row-pink: #fff0f7;
  --dashboard-row-purple: #f3edff;
  --dashboard-row-hover: #fff8fc;
  --dashboard-button-odd-bg: #c2185b;
  --dashboard-button-odd-text: #ffffff;
  --dashboard-button-odd-border: #a4144e;
  --dashboard-button-odd-hover: #ad1457;
  --dashboard-button-odd-active: #8e1248;
  --dashboard-button-odd-focus: rgba(194, 24, 91, 0.34);
  --dashboard-button-even-bg: #6a1b9a;
  --dashboard-button-even-text: #ffffff;
  --dashboard-button-even-border: #55157d;
  --dashboard-button-even-hover: #5e178a;
  --dashboard-button-even-active: #4a126d;
  --dashboard-button-even-focus: rgba(106, 27, 154, 0.34);
  --switch-focus-ring: rgba(255, 45, 138, 0.28);
  color: #2a2f45;
  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #fff1f8;
  font-family:
    Inter,
    PingFang SC,
    Microsoft YaHei,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  background: linear-gradient(160deg, #fff5fa 0%, #ffe6f1 100%);
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}
#app {
  min-height: 100vh;
}
.app-bootstrapping {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #5f6578;
  font-size: 16px;
  font-weight: 700;
}

.app-runtime-error {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 120, 160, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 48px rgba(164, 81, 118, 0.18);
  color: #2e3348;
}

.app-runtime-error strong {
  font-size: 15px;
  line-height: 1.5;
}

.app-runtime-error span {
  color: #6b7185;
  font-size: 13px;
  line-height: 1.5;
}

.app-runtime-error div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-runtime-error button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #efdae4;
  border-radius: 12px;
  background: #fff7fb;
  color: #c2185b;
  font-weight: 700;
}

.app-runtime-error button:hover {
  background: #fff0f7;
}

body[data-app-error='true'] .app-runtime-error {
  animation: app-runtime-error-pop 0.2s ease-out;
}

@keyframes app-runtime-error-pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
.login-page {
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) 24px
    max(24px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 97% 0, #ffffff9e 0 8.5%, #0000 8.7%),
    radial-gradient(circle at 100% 8%, #ffd8ebf2 0 17%, #0000 17.3%),
    radial-gradient(circle at 7% 42%, #ffffffc7 0 12%, #0000 12.4%),
    linear-gradient(126deg, #fff4f9 0%, #ffe1ee 41%, #fff7fb 72%, #ffe4f1 100%);
  justify-content: center;
  align-items: center;
  scroll-padding-block: 96px;
  display: flex;
  position: relative;
  overflow: hidden auto;
}
.page-glow,
.page-dots {
  pointer-events: none;
  position: absolute;
}
.page-glow {
  filter: blur(2px);
  border-radius: 999px;
}
.glow-top {
  background: #ffffffb8;
  width: 470px;
  height: 260px;
  top: -162px;
  left: 98px;
}
.glow-left {
  background: #ffd8efa6;
  width: 116px;
  height: 116px;
  top: 318px;
  left: 64px;
}
.page-dots {
  opacity: 0.32;
  background-image: radial-gradient(circle, #ffc2da 1.5px, #0000 1.8px);
  background-size: 14px 14px;
  width: 146px;
  height: 106px;
}
.dots-left {
  bottom: 46px;
  left: 28px;
}
.dots-right {
  bottom: 78px;
  right: 64px;
}
.auth-card {
  z-index: 1;
  background: #ffffffeb;
  border-radius: 17px;
  grid-template-columns: 56.1% 43.9%;
  width: min(100%, 968px);
  min-height: 576px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px #e07cab36;
}
.brand-panel {
  background:
    radial-gradient(circle at 34% 60%, #ffffffd1 0 24%, #0000 24.5%),
    radial-gradient(circle at 8%, #ffe6f3ad 0 13%, #0000 13.5%),
    linear-gradient(130deg, #ffffffe0 0%, #fff1f8db 54%, #fffafdf5 100%);
  flex-direction: column;
  min-height: 576px;
  padding: 42px 48px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.brand-panel:before {
  content: "";
  background: #ffe8f394;
  border-radius: 999px;
  width: 360px;
  height: 260px;
  position: absolute;
  bottom: -120px;
  right: -118px;
}
.brand-logo {
  object-fit: contain;
  width: min(100%, 330px);
  height: auto;
  display: block;
}
.brand-copy {
  z-index: 2;
  margin-top: 18px;
  position: relative;
}
.brand-copy h1 {
  color: #252b42;
  letter-spacing: -0.05em;
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.05;
}
.brand-copy h1 span {
  color: #ff2d8a;
  margin-left: 8px;
  display: inline-block;
}
.brand-copy p {
  color: #697087;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
}
.brand-hero {
  display: contents;
}
.visual-stage {
  z-index: 1;
  flex: 1;
  min-height: 282px;
  position: relative;
}
.spark {
  width: 13px;
  height: 13px;
  position: absolute;
}
.spark:before,
.spark:after {
  content: "";
  background: currentColor;
  border-radius: 999px;
  margin: auto;
  position: absolute;
  inset: 0;
}
.spark:before {
  width: 3px;
  height: 13px;
}
.spark:after {
  width: 13px;
  height: 3px;
}
.spark-one {
  color: #ffd2e5;
  top: 35px;
  right: 124px;
}
.spark-two {
  color: #fff;
  top: 95px;
  left: 17px;
}
.spark-three {
  color: #ff8fae;
  top: 100px;
  right: 93px;
}
.floating-card {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #ffffffa8;
  border-radius: 12px;
  position: absolute;
  box-shadow: 0 16px 30px #df74af29;
}
.chart-card {
  width: 96px;
  height: 72px;
  top: 65px;
  left: 44px;
  transform: rotate(-13deg);
}
.card-dot {
  background: #ff6aaa;
  border-radius: 999px;
  width: 18px;
  height: 10px;
  position: absolute;
  top: 16px;
  left: 15px;
}
.card-dot:before,
.card-dot:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  position: absolute;
  top: 3px;
}
.card-dot:before {
  left: 4px;
}
.card-dot:after {
  right: 4px;
}
.chart-line {
  transform-origin: 0;
  background: linear-gradient(90deg, #ff7cb9, #ff2b89);
  border-radius: 999px;
  height: 3px;
  position: absolute;
}
.line-one {
  width: 22px;
  top: 48px;
  left: 18px;
  transform: rotate(-24deg);
}
.line-two {
  width: 28px;
  top: 43px;
  left: 38px;
  transform: rotate(15deg);
}
.line-three {
  width: 27px;
  top: 35px;
  left: 63px;
  transform: rotate(-36deg);
}
.profile-card {
  background: linear-gradient(135deg, #ff78b4, #ff2d92);
  width: 86px;
  height: 54px;
  padding: 13px 11px 11px 38px;
  top: 52px;
  right: 53px;
  transform: rotate(10deg);
}
.avatar {
  background: #ffffffdb;
  border-radius: 50% 50% 42% 42%;
  width: 21px;
  height: 21px;
  position: absolute;
  top: 14px;
  left: 11px;
}
.avatar:before {
  content: "";
  background: #ffffffe6;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: -8px;
  left: 6px;
}
.profile-line {
  background: #ffffffa8;
  border-radius: 999px;
  width: 26px;
  height: 4px;
  margin-top: 7px;
  display: block;
}
.profile-line.wide {
  width: 35px;
  margin-top: 0;
}
.shield-card {
  color: #fff;
  background: linear-gradient(135deg, #b766ff, #815cff);
  border-radius: 15px 15px 22px 22px;
  place-items: center;
  width: 47px;
  height: 58px;
  font-size: 24px;
  font-weight: 900;
  display: grid;
  bottom: 74px;
  right: 56px;
  transform: rotate(8deg);
}
.bars-card {
  background: #ffffffc2;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 70px;
  height: 66px;
  padding-bottom: 15px;
  display: flex;
  bottom: 42px;
  left: 22px;
}
.bars-card span {
  border-radius: 999px 999px 3px 3px;
  width: 11px;
}
.bars-card span:first-child {
  background: #ffd267;
  height: 24px;
}
.bars-card span:nth-child(2) {
  background: #ff8ab5;
  height: 34px;
}
.bars-card span:nth-child(3) {
  background: #c36dff;
  height: 44px;
}
.pie-card {
  background:
    radial-gradient(
      circle at 51% 50%,
      transparent 0 11px,
      #fffffff0 11.5px 100%
    ),
    conic-gradient(from 90deg, #ff4e99 0 30%, #ffc8df 30% 74%, #b75cff 74% 100%);
  border-radius: 20px;
  width: 82px;
  height: 42px;
  bottom: 8px;
  right: 16px;
}
.monster-platform {
  width: 250px;
  height: 178px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%);
}
.platform-top {
  background:
    radial-gradient(at 50% 48%, #ffffffdb 0 26%, #ffffff1f 27%),
    linear-gradient(145deg, #fff7fb 0%, #ffd8ea 48%, #d36cff 100%);
  border-radius: 26px;
  place-items: center;
  width: 200px;
  height: 118px;
  display: grid;
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translate(-50%) perspective(480px) rotateX(60deg) rotate(-2deg);
  box-shadow: 0 26px 38px #b357dd3b;
}
.platform-top:before {
  content: "";
  background: radial-gradient(#ffffffeb, #ff5db338 62%, #b358ff2e);
  border-radius: 999px;
  position: absolute;
  inset: 22px;
}
.monster-letter {
  z-index: 1;
  color: #0000;
  text-shadow: 0 14px 20px #ff369340;
  background: linear-gradient(#ff79c0 0%, #ff1282 62%, #a25dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 105px;
  font-weight: 1000;
  line-height: 1;
  position: relative;
}
.platform-layer {
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}
.layer-one {
  filter: blur(1px);
  background: linear-gradient(90deg, #fac5ffc7, #ff67bbb8, #c071ffc7);
  width: 210px;
  height: 44px;
  bottom: 24px;
}
.layer-two {
  filter: blur(8px);
  background: #d368ff47;
  width: 168px;
  height: 27px;
  bottom: 8px;
}
.cube {
  border-radius: 4px;
  width: 17px;
  height: 17px;
  position: absolute;
  transform: rotate(45deg) skew(-8deg, -8deg);
  box-shadow: 0 10px 18px #d865b429;
}
.cube-one {
  background: linear-gradient(135deg, #f9d6ff, #bd78ff);
  top: 156px;
  left: 8px;
}
.cube-two {
  background: linear-gradient(135deg, #ffe1be, #ff95c5);
  bottom: 19px;
  right: 158px;
}
.cube-three {
  background: linear-gradient(135deg, #ffd8ff, #a75cff);
  bottom: 6px;
  right: 96px;
}
.feature-list {
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: auto;
  display: grid;
  position: relative;
}
.feature-item {
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  display: grid;
}
.feature-icon {
  border-radius: 9px;
  place-items: center;
  width: 30px;
  height: 30px;
  display: grid;
  position: relative;
}
.feature-icon:before {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}
.feature-icon.shield {
  background: linear-gradient(135deg, #ff7aaa, #ff2b84);
}
.feature-icon.shield:before {
  content: "";
}
.feature-icon.rocket {
  background: linear-gradient(135deg, #c282ff, #795dff);
}
.feature-icon.rocket:before {
  content: "";
}
.feature-icon.star {
  background: linear-gradient(135deg, #ffbf57, #ff8d25);
}
.feature-icon.star:before {
  content: "";
}
.feature-item strong,
.feature-item small {
  display: block;
}
.feature-item strong {
  color: #373b4e;
  font-size: 13px;
  font-weight: 900;
}
.feature-item small {
  color: #9aa0b1;
  white-space: nowrap;
  margin-top: 5px;
  font-size: 10px;
}
.form-panel {
  background: #fffffff5;
  justify-content: center;
  align-items: center;
  min-height: 576px;
  padding: 58px 54px 45px 50px;
  display: flex;
}
.form-inner {
  width: 100%;
  max-width: 320px;
}
.form-title {
  margin-bottom: 40px;
}
.form-title h2 {
  color: #252b42;
  letter-spacing: -0.04em;
  margin: 0;
  font-size: 27px;
  font-weight: 900;
}
.form-title span {
  background: #ff2d8a;
  border-radius: 999px;
  width: 39px;
  height: 3px;
  margin-top: 13px;
  display: block;
}
.login-form {
  gap: 25px;
  display: grid;
}
.field-group {
  gap: 7px;
  display: grid;
}
.field-shell {
  display: block;
  position: relative;
}
.field-shell input {
  color: #252b42;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 7px;
  outline: none;
  width: 100%;
  height: 48px;
  padding: 0 45px;
  font-size: 12px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field-shell input::placeholder {
  color: #9aa1b6;
}
.field-shell input:focus {
  border-color: #ff2d8a8f;
  box-shadow: 0 0 0 4px #ff2d8a14;
}
.field-group.invalid .field-shell input {
  border-color: #ff4d86;
  box-shadow: 0 0 0 4px #ff4d8614;
}
.field-group small {
  color: #ff3e82;
  font-size: 11px;
  font-weight: 600;
}
.field-icon {
  z-index: 1;
  color: #9ca4ba;
  width: 14px;
  height: 14px;
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}
.account-icon:before,
.account-icon:after,
.lock-icon:before,
.lock-icon:after {
  content: "";
  position: absolute;
}
.account-icon:before {
  border: 1.8px solid;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  top: 1px;
  left: 4px;
}
.account-icon:after {
  border: 1.8px solid;
  border-radius: 8px 8px 2px 2px;
  height: 6px;
  bottom: 0;
  left: 1px;
  right: 1px;
}
.lock-icon:before {
  border: 1.8px solid;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  width: 8px;
  height: 8px;
  top: 0;
  left: 3px;
}
.lock-icon:after {
  border: 1.8px solid;
  border-radius: 3px;
  height: 9px;
  bottom: 0;
  left: 1px;
  right: 1px;
}
.eye-button {
  background: 0 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 48px;
  height: 48px;
  display: grid;
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
}
.eye-button span {
  border: 1.7px solid #a3aabc;
  border-radius: 75% 15%;
  width: 15px;
  height: 10px;
  position: relative;
  transform: rotate(45deg);
}
.eye-button span:before {
  content: "";
  background: #a3aabc;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.eye-button span:after {
  content: "";
  background: #a3aabc;
  border-radius: 999px;
  width: 21px;
  height: 1.8px;
  display: block;
  position: absolute;
  top: 3px;
  left: -3px;
  transform: rotate(90deg);
}
.eye-button span.visible:after {
  display: none;
}
.form-options,
.remember-me {
  align-items: center;
  display: flex;
}
.form-options {
  color: #81889c;
  justify-content: space-between;
  gap: 16px;
  margin-top: -2px;
  font-size: 12px;
  font-weight: 600;
}
.remember-me {
  gap: 8px;
  min-height: 48px;
  padding: 0 4px 0 0;
}
.remember-me input {
  accent-color: #ff2d8a;
  width: 18px;
  height: 18px;
  margin: 0;
}
.form-options a {
  color: #ff2d8a;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}
.form-message {
  border-radius: 8px;
  margin: -8px 0 0;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
}
.form-message.success {
  color: #1d8758;
  background: #33cf861f;
}
.form-message.error {
  color: #ca315c;
  background: #ff2d6b1a;
}
.register-panel {
  padding-top: 48px;
  padding-bottom: 36px;
}
.register-inner {
  max-width: 360px;
}
.register-form {
  gap: 20px;
}
.password-strength {
  color: #9198ab;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}
.password-strength i {
  background: #e6e9f2;
  border-radius: 999px;
  width: 26px;
  height: 4px;
}
.password-strength.weak i:first-child {
  background: #ff6a8c;
}
.password-strength.medium i:nth-child(-n + 2) {
  background: #ffb347;
}
.password-strength.strong i {
  background: #45d89b;
}
.password-strength em {
  font-style: normal;
}
.captcha-row {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 10px;
  align-items: stretch;
}
.captcha-input input {
  text-transform: uppercase;
}
.captcha-image,
.captcha-fallback {
  width: 118px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #ffd1e4;
  background: #fff5fa;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.captcha-image:not(.disabled):hover,
.captcha-fallback:not(.disabled):hover {
  transform: translateY(-1px);
  border-color: #ff8cbd;
}
.captcha-image.expired,
.captcha-fallback.expired {
  opacity: 0.52;
}
.captcha-image.disabled,
.captcha-fallback.disabled {
  cursor: wait;
  opacity: 0.65;
}
.captcha-fallback {
  color: #ff2d8a;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  display: flex;
}
.captcha-icon:before,
.captcha-icon:after {
  content: '';
  position: absolute;
}
.captcha-icon:before {
  width: 16px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
  left: 1px;
  top: 4px;
}
.captcha-icon:after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  left: 7px;
  top: 7px;
}
.submit-button {
  color: #fff;
  background: linear-gradient(90deg, #ff3e93 0%, #f61680 100%);
  border: 0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
  display: inline-flex;
  box-shadow: 0 12px 24px #ff2d8a38;
}
.submit-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px #ff2d8a4d;
}
.submit-button:disabled {
  opacity: 0.58;
}
.loader {
  border: 2px solid #ffffff80;
  border-top-color: #fff;
  border-radius: 999px;
  width: 15px;
  height: 15px;
  animation: 0.8s linear infinite spin;
}
.register-link {
  color: #8d94a8;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
}
.register-link > span {
  color: #969eb1;
}
.register-link button {
  color: #ff2d8a;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 0;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}
.register-link button span {
  color: #9ba2b5;
  font-size: 17px;
  line-height: 11px;
}
.agreement {
  color: #8b92a6;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 73px 0 0;
  font-size: 11px;
  line-height: 1.5;
  display: flex;
}
.agreement a {
  color: #ff2d8a;
  font-weight: 800;
  text-decoration: none;
}
.check-dot {
  color: #fff;
  background: #ff3e93;
  border-radius: 50%;
  place-items: center;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  font-size: 9px;
  font-weight: 900;
  display: inline-grid;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (width<=980px) {
  .login-page {
    align-items: flex-start;
    padding: 28px 18px;
  }
  .auth-card {
    grid-template-columns: 1fr;
    width: min(100%, 620px);
  }
  .brand-panel,
  .form-panel {
    min-height: auto;
  }
  .brand-panel {
    padding: 36px 38px 34px;
  }
  .visual-stage {
    min-height: 285px;
  }
  .form-panel {
    padding: 42px 38px 38px;
  }
  .agreement {
    margin-top: 48px;
  }
}
@media (width<=620px) {
  .login-page {
    padding: max(18px, env(safe-area-inset-top)) 16px
      max(20px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 100% -3%, #ffddebe0 0 15%, #0000 15.2%),
      radial-gradient(circle at -3% 45%, #ffe6f1d6 0 13%, #0000 13.3%),
      linear-gradient(#fff7fb 0%, #ffeef5 48%, #ffe9f2 100%);
    justify-content: flex-start;
    align-items: stretch;
  }
  .auth-card {
    width: 100%;
    min-height: auto;
    box-shadow: none;
    background: 0 0;
  }
  .brand-panel {
    background: 0 0;
    min-height: auto;
    padding: 68px 20px 18px;
    overflow: visible;
  }
  .brand-panel:before {
    background: #ffe8f39e;
    width: 180px;
    height: 180px;
    top: -42px;
    bottom: auto;
    right: -54px;
  }
  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 47%;
    align-items: end;
    gap: 6px;
    margin-top: 12px;
    display: grid;
  }
  .brand-logo {
    width: min(100%, 230px);
  }
  .brand-copy {
    margin-top: 0;
    padding-bottom: 18px;
  }
  .brand-copy h1 {
    font-size: clamp(28px, 9vw, 44px);
    line-height: 1.04;
  }
  .visual-stage {
    transform-origin: bottom;
    min-height: 184px;
    margin-right: -8px;
    transform: scale(0.74);
  }
  .feature-list {
    display: none;
  }
  .form-panel {
    background: #fffffffa;
    border-radius: 30px;
    min-height: auto;
    margin-top: 6px;
    padding: 34px 20px 26px;
    box-shadow: 0 18px 42px #de74aa24;
  }
  .form-inner {
    max-width: none;
  }
  .form-title {
    display: none;
  }
  .login-form {
    gap: 24px;
  }
  .field-shell input {
    border-radius: 16px;
    height: 68px;
    padding: 0 58px 0 54px;
    font-size: 16px;
    font-weight: 700;
  }
  .field-group small {
    padding-left: 4px;
    font-size: 12px;
  }
  .field-icon {
    width: 20px;
    height: 20px;
    left: 19px;
  }
  .account-icon:before {
    width: 8px;
    height: 8px;
    left: 5px;
  }
  .account-icon:after {
    height: 8px;
    left: 2px;
    right: 2px;
  }
  .lock-icon:before {
    width: 10px;
    height: 9px;
    left: 4px;
  }
  .lock-icon:after {
    height: 11px;
    left: 2px;
    right: 2px;
  }
  .eye-button {
    right: 8px;
  }
  .eye-button span {
    width: 18px;
    height: 12px;
  }
  .eye-button span:before {
    width: 5px;
    height: 5px;
  }
  .eye-button span:after {
    width: 23px;
  }
  .form-options {
    margin-top: -6px;
    font-size: 14px;
  }
  .submit-button {
    border-radius: 14px;
    min-height: 66px;
    margin-top: 2px;
    font-size: 18px;
    font-weight: 800;
  }
  .register-panel {
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .register-form {
    gap: 18px;
  }
  .password-strength {
    gap: 5px;
    font-size: 12px;
  }
  .password-strength i {
    width: 24px;
    height: 5px;
  }

  .register-link {
    margin-top: 22px;
    font-size: 15px;
  }
  .agreement {
    text-align: center;
    white-space: normal;
    margin-top: 74px;
    padding: 0 12px;
    font-size: 12px;
  }
  .agreement .check-dot {
    flex-shrink: 0;
  }
  .form-message {
    border-radius: 12px;
    margin-top: -10px;
    padding: 12px 14px;
    font-size: 13px;
  }
}
@media (width<=420px) {
  .brand-panel {
    padding-top: 58px;
  }
  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 44%;
  }
  .visual-stage {
    min-height: 170px;
    transform: scale(0.66);
  }
  .brand-copy p {
    font-size: 13px;
  }
  .form-panel {
    padding-left: 18px;
    padding-right: 18px;
  }
  .field-shell input {
    border-radius: 15px;
    height: 62px;
  }
  .submit-button {
    min-height: 62px;
  }

  .register-link {
    font-size: 14px;
  }
}
@media (width<=360px) {
  .login-page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-panel {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-logo {
    width: min(100%, 208px);
  }
  .brand-hero {
    gap: 2px;
  }
  .brand-copy h1 {
    font-size: 26px;
  }
  .brand-copy p {
    font-size: 12px;
  }
  .visual-stage {
    min-height: 154px;
    transform: scale(0.6);
  }
  .form-panel {
    border-radius: 26px;
    padding: 28px 14px 22px;
  }
  .field-shell input {
    padding-left: 48px;
    padding-right: 52px;
  }
  .form-options {
    font-size: 13px;
  }
  .register-link {
    gap: 6px;
    font-size: 13px;
  }

}
@media (width<=390px) and (height<=700px) {
  .login-page {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
  .brand-panel {
    padding-top: 46px;
    padding-bottom: 12px;
  }
  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 43%;
    gap: 0;
    margin-top: 8px;
  }
  .brand-logo {
    width: min(100%, 214px);
  }
  .brand-copy {
    padding-bottom: 10px;
  }
  .brand-copy h1 {
    font-size: 25px;
  }
  .brand-copy p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
  }
  .visual-stage {
    min-height: 146px;
    margin-right: -14px;
    transform: scale(0.58);
  }
  .form-panel {
    border-radius: 24px;
    margin-top: 0;
    padding: 24px 14px 18px;
  }
  .login-form {
    gap: 18px;
  }
  .field-shell input {
    border-radius: 14px;
    height: 56px;
    padding: 0 50px 0 46px;
  }
  .field-icon {
    left: 16px;
  }
  .eye-button {
    right: 4px;
  }
  .form-options {
    margin-top: -4px;
    font-size: 13px;
  }
  .submit-button {
    min-height: 56px;
    font-size: 17px;
  }

  .register-link {
    margin-top: 14px;
    font-size: 13px;
  }
  .agreement {
    margin-top: 26px;
    padding: 0 2px;
    font-size: 11px;
  }
}
@media (width<=760px) and (height<=430px) and (orientation: landscape) {
  .login-page {
    padding: max(10px, env(safe-area-inset-top)) 14px
      max(10px, env(safe-area-inset-bottom));
    justify-content: center;
    align-items: stretch;
  }
  .auth-card {
    min-height: calc(
      100dvh - max(20px, env(safe-area-inset-top)) -
        max(20px, env(safe-area-inset-bottom))
    );
    background: #fffffff0;
    border-radius: 22px;
    grid-template-columns: minmax(240px, 42%) minmax(0, 58%);
    display: grid;
    box-shadow: 0 16px 40px #de74aa2e;
  }
  .brand-panel {
    min-height: 100%;
    padding: 22px 16px 18px;
    overflow: hidden;
  }
  .brand-panel:before {
    width: 150px;
    height: 150px;
    top: -54px;
    right: -72px;
  }
  .brand-logo {
    width: min(100%, 176px);
  }
  .brand-hero {
    margin-top: 8px;
    display: block;
  }
  .brand-copy {
    margin-top: 0;
    padding-bottom: 0;
  }
  .brand-copy h1 {
    font-size: 22px;
  }
  .brand-copy p {
    margin-top: 10px;
    font-size: 12px;
  }
  .visual-stage {
    transform-origin: 0 0;
    min-height: 126px;
    margin-top: 6px;
    margin-right: -18px;
    transform: scale(0.52);
  }
  .feature-list {
    display: none;
  }
  .form-panel {
    background: #fffffffa;
    min-height: 100%;
    padding: 18px 16px 16px;
  }
  .form-title {
    display: none;
  }
  .form-inner {
    flex-direction: column;
    max-width: none;
    display: flex;
  }
  .login-form {
    gap: 14px;
  }
  .field-shell input {
    border-radius: 12px;
    height: 48px;
    padding: 0 48px 0 44px;
    font-size: 15px;
  }
  .field-icon {
    width: 18px;
    height: 18px;
    left: 15px;
  }
  .eye-button {
    right: 4px;
  }
  .form-options {
    margin-top: -2px;
    font-size: 12px;
  }
  .remember-me,
  .form-options a,
  .register-link a {
    min-height: 40px;
  }
  .submit-button {
    border-radius: 12px;
    min-height: 48px;
    margin-top: 0;
    font-size: 16px;
  }
  .register-panel {
    padding-top: 16px;
    padding-bottom: 14px;
  }
  .register-form {
    gap: 12px;
  }
  .password-strength {
    font-size: 10px;
  }

  .register-link {
    margin-top: 10px;
    font-size: 12px;
  }
  .agreement {
    margin-top: auto;
    padding-top: 10px;
    font-size: 10px;
  }
}

.dashboard-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  background:
    radial-gradient(
      circle at 108% 108%,
      rgba(255, 113, 181, 0.14) 0 11%,
      transparent 11.4%
    ),
    radial-gradient(
      circle at 94% 102%,
      rgba(255, 221, 235, 0.42) 0 14%,
      transparent 14.4%
    ),
    linear-gradient(135deg, #fff7fb 0%, #fff1f8 42%, #fff 100%);
  color: #20263a;
  overflow: hidden;
}

.dashboard-sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 34px 28px;
  overflow: hidden;
}

.dashboard-logo {
  width: 142px;
  height: auto;
  object-fit: contain;
}

.dashboard-nav {
  display: grid;
  gap: 16px;
}

.dashboard-nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #20263a;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.dashboard-nav button:hover,
.dashboard-nav button.active {
  color: #ff2d7f;
  background: linear-gradient(
    90deg,
    rgba(255, 45, 127, 0.14),
    rgba(255, 111, 181, 0.08)
  );
  transform: translateX(2px);
}

.nav-icon {
  width: 18px;
  height: 18px;
  position: relative;
  color: currentColor;
}

.nav-icon.home::before {
  position: absolute;
  inset: 4px 2px 2px;
  border-radius: 3px;
  background: currentColor;
  content: none;
}

.nav-icon.home::after {
  position: absolute;
  left: 1px;
  top: 1px;
  width: 14px;
  height: 14px;
  border-left: 4px solid currentColor;
  border-top: 4px solid currentColor;
  transform: rotate(45deg);
  content: none;
}

.nav-icon.card::before {
  position: absolute;
  inset: 3px 1px;
  border: 2px solid currentColor;
  border-radius: 3px;
  content: none;
}

.nav-icon.card::after {
  position: absolute;
  left: 4px;
  right: 4px;
  top: 8px;
  height: 2px;
  background: currentColor;
  content: none;
}

.nav-icon.setting::before {
  position: absolute;
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: none;
}

.nav-icon.setting::after {
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: currentColor;
  content: none;
}

.sidebar-wave {
  position: absolute;
  left: -94px;
  bottom: -72px;
  width: 280px;
  height: 174px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(
    18deg,
    rgba(255, 45, 127, 0.36),
    rgba(255, 210, 230, 0.3)
  );
  transform: rotate(14deg);
}

.dashboard-main {
  min-width: 0;
  padding: 20px 18px 16px 0;
  overflow: auto;
}

.dashboard-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.topbar-summary {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.topbar-summary h1 {
  margin: 0;
  color: #2e3148;
  font-size: 26px;
  font-weight: 900;
}

.topbar-summary p {
  margin: 0;
  color: #7a7990;
  font-size: 13px;
  line-height: 1.6;
}

.topbar-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
  max-width: max-content;
}

.admin-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 10px 4px 5px;
  border: 0;
  border-radius: 999px;
  color: #252b42;
  background: #fff;
  box-shadow: 0 8px 26px rgba(222, 116, 170, 0.12);
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.admin-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(222, 116, 170, 0.18);
}

.admin-identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.admin-username {
  overflow: hidden;
  max-width: 140px;
  text-overflow: ellipsis;
}

.admin-separator {
  color: #9aa0b5;
  font-weight: 700;
}

.admin-role {
  color: #ff2d7f;
  font-weight: 900;
}

.admin-card i {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.admin-card i.open {
  transform: rotate(180deg);
}

.admin-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  min-width: 148px;
  padding: 10px;
  border: 1px solid rgba(237, 225, 236, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(123, 88, 122, 0.18);
  backdrop-filter: blur(18px);
}

.admin-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #2e3148;
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.admin-dropdown-item:hover {
  background: rgba(255, 45, 127, 0.08);
  color: #ff2d7f;
  transform: translateX(1px);
}

.admin-dropdown-item--danger:hover {
  background: rgba(255, 84, 112, 0.1);
  color: #e8486b;
}

.admin-menu-fade-enter-active,
.admin-menu-fade-leave-active {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.admin-menu-fade-enter-from,
.admin-menu-fade-leave-to {
  opacity: 0;
  transform: translateY(-6px);
}

.settings-card {
  border: 1px solid rgba(230, 225, 235, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(109, 83, 104, 0.06);
  padding: 18px;
}

.settings-item strong {
  color: #2e3148;
}

.settings-item span {
  margin: 0;
  color: #7a7990;
  font-size: 13px;
  line-height: 1.7;
}

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

.settings-module-card {
  display: grid;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(239, 226, 235, 0.9);
  border-radius: 14px;
  background: #fff;
}

.settings-inline-alert {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 132, 154, 0.26);
  border-radius: 16px;
  background: rgba(255, 246, 248, 0.98);
}

.settings-inline-alert strong {
  color: #d73a67;
}

.settings-inline-alert span {
  color: #7a7990;
  font-size: 13px;
  line-height: 1.7;
}

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

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

.settings-field span {
  color: #4b4f66;
  font-size: 13px;
  font-weight: 800;
}

.settings-field input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #e6e2eb;
  border-radius: 12px;
  outline: 0;
  color: #343a52;
  background: rgba(255, 255, 255, 0.98);
  font-size: 14px;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.settings-field input:hover:not(:disabled) {
  border-color: #ff9ac5;
}

.settings-field input:focus-visible {
  border-color: #ff2d7f;
  box-shadow: 0 0 0 3px rgba(255, 45, 127, 0.16);
  transform: translateY(-1px);
}

.settings-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.activation-card-panel {
  display: grid;
  gap: 16px;
}

.activation-card-overview,
.activation-card-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
  gap: 14px;
}

.activation-card-box,
.activation-card-filter-card {
  border: 1px solid rgba(230, 225, 235, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(109, 83, 104, 0.07);
}

.activation-card-box-header span {
  color: #ff2d7f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activation-card-box,
.activation-card-filter-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.activation-card-box-header,
.activation-card-filter-header,
.activation-card-generated-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.activation-card-box-header strong,
.activation-card-filter-header strong,
.activation-card-generated-result strong {
  color: #2e3148;
  font-size: 16px;
}

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

.activation-card-form-grid label {
  display: grid;
  gap: 6px;
}

.activation-card-form-grid label span {
  color: #676b80;
  font-size: 12px;
  font-weight: 900;
}

.activation-card-box input,
.activation-card-box select,
.activation-card-box textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #e8e5ef;
  border-radius: 9px;
  background: #fff;
  color: #343a52;
  font-size: 13px;
  font-weight: 700;
  padding: 0 12px;
}

.activation-card-box textarea,
.activation-card-generated-result textarea {
  min-height: 92px;
  padding: 10px 12px;
  resize: vertical;
}

.activation-card-search {
  width: 100%;
}

.activation-card-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.activation-card-quick-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #20263a;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.activation-card-quick-filters button:hover,
.activation-card-quick-filters button.active {
  color: #ff2d7f;
  background: linear-gradient(
    90deg,
    rgba(255, 45, 127, 0.14),
    rgba(255, 111, 181, 0.08)
  );
  transform: translateX(2px);
}

.activation-card-quick-filters button:active {
  transform: translateX(2px) scale(0.98);
}

.activation-card-quick-filters button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 45, 127, 0.16);
}

.account-table.activation-card-table {
  width: 100%;
  min-width: 1180px;
  max-width: none;
  table-layout: fixed;
}

.activation-card-table th,
.activation-card-table td {
  overflow: hidden;
  text-overflow: clip;
  vertical-align: middle;
}

.activation-card-bulk-panel {
  display: grid;
  gap: 12px;
  padding: 0 12px 12px;
}

.activation-card-bulk-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 246, 250, 0.72);
}

.activation-card-bulk-panel .table-scroll {
  margin-right: 0;
  margin-left: 0;
  padding-right: 0;
}

.activation-card-bulk-actions > span {
  color: #676b80;
  font-size: 13px;
  font-weight: 800;
}

.activation-card-inline-pagination {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-right: auto;
  color: #687087;
  font-size: 12px;
  font-weight: 800;
}

.activation-card-inline-pagination .page-size-select {
  width: 116px;
  min-width: 116px;
  min-height: 36px;
}

.activation-card-inline-pagination .page-size-select select {
  min-height: 34px;
}

.activation-card-inline-pagination .pagination button,
.activation-card-inline-pagination .pagination input {
  min-width: 32px;
  height: 32px;
}

.activation-card-inline-pagination .pagination button:first-child {
  min-width: 32px;
}

.activation-card-col-select {
  width: 5%;
}

.activation-card-col-key {
  width: 27%;
}

.activation-card-col-type {
  width: 9%;
}

.activation-card-col-status {
  width: 8.5%;
}

.activation-card-col-user {
  width: 11%;
}

.activation-card-col-expire {
  width: 14%;
}

.activation-card-col-remark {
  width: 13%;
}

.activation-card-col-actions {
  width: 12.5%;
}

.activation-card-select-cell,
.activation-card-key-cell,
.activation-card-type-cell,
.activation-card-user-cell,
.activation-card-expire-cell,
.activation-card-remark-cell {
  line-height: 1.45;
}

.activation-card-select-cell {
  text-align: center;
}

.activation-card-select-cell input {
  width: 16px;
  height: 16px;
  accent-color: #ff2d7f;
  cursor: pointer;
}

.activation-card-key-cell,
.activation-card-type-cell {
  min-width: 0;
  width: auto;
}

.activation-card-key-cell {
  padding-right: 10px;
  padding-left: 10px;
}

.activation-card-key-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
}

.activation-card-key-scroll::-webkit-scrollbar {
  height: 6px;
}

.activation-card-key-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 45, 127, 0.22);
}

.activation-card-key-cell strong {
  display: inline-block;
  min-width: max-content;
  max-width: none;
  color: #2e3148;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.activation-card-type-cell {
  white-space: nowrap;
}

.activation-card-type-cell span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activation-card-status-pill.is-unused {
  color: #047857;
  background: #d1fae5;
  border-color: rgba(4, 120, 87, 0.18);
}

.activation-card-status-pill.is-used {
  color: #5b21b6;
  background: #ede9fe;
  border-color: rgba(91, 33, 182, 0.18);
}

.activation-card-status-pill.is-banned {
  color: #be123c;
  background: #ffe4e6;
  border-color: rgba(190, 18, 60, 0.2);
}

.activation-card-status-pill.is-expired {
  color: #92400e;
  background: #fef3c7;
  border-color: rgba(146, 64, 14, 0.2);
}

.activation-card-table th:last-child {
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
  vertical-align: middle;
}

.activation-card-table td:last-child {
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
  vertical-align: middle;
}

.activation-card-actions {
  min-width: 0;
  padding-right: 8px;
  padding-left: 8px;
  text-align: center;
}

.activation-card-actions-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.personnel-panel {
  display: grid;
  gap: 14px;
}

.personnel-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 132px 146px 112px 86px 118px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(230, 225, 235, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 50px rgba(109, 83, 104, 0.08);
}

.personnel-filter-select,
.personnel-inline-select,
.personnel-form-select {
  min-height: 42px;
  border: 1px solid #e8e5ef;
  border-radius: 8px;
  outline: 0;
  color: #343a52;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.personnel-filter-select,
.personnel-form-select {
  width: 100%;
  padding: 0 12px;
}

.personnel-data-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  overflow: visible;
}

.personnel-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 246, 250, 0.72);
}

.personnel-bulk-actions > span {
  margin-right: auto;
  color: #676b80;
  font-size: 13px;
  font-weight: 800;
}

.personnel-table {
  min-width: 1040px;
}

.personnel-id {
  display: none;
}

.personnel-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  min-width: 260px;
}

.personnel-action-button {
  min-width: 68px;
  min-height: 28px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 6px;
}

.task-settings-button.personnel-action-button--edit {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.22);
}

.task-settings-button.personnel-action-button--edit:hover:not(:disabled),
.task-settings-button.personnel-action-button--edit:active:not(:disabled),
.task-settings-button.personnel-action-button--edit:focus-visible {
  background: linear-gradient(135deg, #5b5ff0, #4338ca);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28);
}

.task-settings-button.personnel-action-button--status {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.2);
}

.task-settings-button.personnel-action-button--status:hover:not(:disabled),
.task-settings-button.personnel-action-button--status:active:not(:disabled),
.task-settings-button.personnel-action-button--status:focus-visible {
  background: linear-gradient(135deg, #f59e0b, #c2410c);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.28);
}

.task-settings-button.personnel-action-button--password {
  min-width: 82px;
  background: linear-gradient(135deg, #14b8a6, #0f766e);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.2);
}

.task-settings-button.personnel-action-button--password:hover:not(:disabled),
.task-settings-button.personnel-action-button--password:active:not(:disabled),
.task-settings-button.personnel-action-button--password:focus-visible {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.28);
}

.personnel-inline-select {
  width: 116px;
  padding: 0 8px;
}

.personnel-footer {
  padding: 0 4px 4px;
}

.personnel-dialog {
  width: min(100%, 620px);
}

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

.toolbar-card,
.data-card {
  border: 1px solid rgba(230, 225, 235, 0.8);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 50px rgba(109, 83, 104, 0.08);
}

.toolbar-card {
  display: grid;
  grid-template-columns: 118px minmax(210px, 1fr) minmax(112px, max-content) 86px;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
}

.import-button,
.tool-button,
.search-box,
.page-size-select {
  min-height: 42px;
  border: 1px solid #e8e5ef;
  border-radius: 8px;
  background: #fff;
  color: #343a52;
  font-size: 13px;
  font-weight: 800;
}

.import-control {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.import-button {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
}

.import-button:disabled {
  cursor: wait;
  opacity: 0.72;
  box-shadow: none;
}

.account-import-input {
  display: none;
}

.import-progress-text {
  overflow: hidden;
  color: #8a90a4;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-box,
.page-size-select {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.page-size-select {
  position: relative;
  box-sizing: border-box;
  width: 112px;
  min-width: 112px;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.search-box input,
.page-size-select select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #343a52;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.page-size-select select {
  min-height: 40px;
  cursor: pointer;
}

.page-size-select:hover:not(.is-disabled) {
  border-color: #ff9ac5;
  background: #fff7fb;
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.12);
  transform: translateY(-1px);
}

.page-size-select:focus-within:not(.is-disabled) {
  border-color: #ff2d7f;
  box-shadow: 0 0 0 3px rgba(255, 45, 127, 0.16);
}

.page-size-select:active:not(.is-disabled) {
  transform: translateY(0);
}

.page-size-select.is-disabled {
  cursor: not-allowed;
  opacity: 0.64;
}

.page-size-select.is-disabled select {
  cursor: not-allowed;
}

.page-size-select span {
  flex: 0 0 auto;
  color: #8a90a4;
  font-size: 12px;
}

.search-box input::placeholder {
  color: #a4a9ba;
}

.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.batch-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.selection-summary {
  color: #687087;
  font-size: 12px;
  font-weight: 800;
}

.batch-lite-button {
  min-width: 108px;
  padding: 0 14px;
}

.batch-status-button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.batch-status-button.online {
  background: linear-gradient(135deg, #22b573, #1fba69);
  box-shadow: 0 10px 22px rgba(31, 186, 105, 0.2);
}

.batch-status-button.offline {
  background: linear-gradient(135deg, #ff5a88, #ff2d7f);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.2);
}

.batch-status-button.feature-toggle {
  min-width: 154px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  box-shadow: 0 10px 22px rgba(139, 92, 246, 0.2);
}

.batch-status-button.feature-toggle.is-active {
  background: linear-gradient(135deg, #ff5a88, #ff2d7f);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.2);
}

.batch-status-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.batch-status-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none;
}

.data-card {
  border-radius: 12px;
  overflow: hidden;
}

.table-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 220px;
  padding: 32px 18px;
  color: #687087;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.table-state strong {
  color: #343a52;
  font-size: 16px;
}

.table-state span {
  max-width: 520px;
  line-height: 1.6;
}

.table-state--error {
  color: #c2315d;
  background: linear-gradient(180deg, rgba(255, 242, 248, 0.72), rgba(255, 255, 255, 0.96));
}

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.account-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}

.user-bin-table {
  min-width: 1168px;
}

.user-bin-table th:nth-child(1),
.user-bin-table td:nth-child(1) {
  width: 46px;
}

.user-bin-table th:nth-child(2),
.user-bin-table td:nth-child(2) {
  width: 180px;
}

.user-bin-table th:nth-child(3),
.user-bin-table td:nth-child(3) {
  width: 74px;
}

.user-bin-table th:nth-child(4),
.user-bin-table td:nth-child(4) {
  width: 146px;
}

.user-bin-table th:nth-child(n + 5):nth-child(-n + 10),
.user-bin-table td:nth-child(n + 5):nth-child(-n + 10) {
  width: 104px;
}

.user-bin-table th:nth-child(11),
.user-bin-table td:nth-child(11) {
  width: 98px;
}

.account-table th,
.account-table td {
  height: 46px;
  padding: 0 8px;
  border-bottom: 1px solid #f0edf4;
  text-align: center;
  white-space: nowrap;
}

.account-table th {
  color: #252b42;
  background: #fff;
  font-weight: 900;
}

.account-table tbody tr {
  transition: background-color 0.18s ease;
}

.account-table tbody tr.account-row--odd {
  background: var(--dashboard-row-pink);
}

.account-table tbody tr.account-row--even {
  background: var(--dashboard-row-purple);
}

.account-table tbody tr:hover {
  background: var(--dashboard-row-hover);
}

.account-table td:first-child,
.account-table th:first-child {
  width: 42px;
}

.account-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ff2d7f;
}

.account-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: left;
}

.account-cell > span:last-child {
  min-width: 0;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffe7f1, #ffd2e6);
  font-size: 17px;
}

.account-cell strong,
.account-cell small {
  display: block;
}

.account-cell strong {
  overflow: hidden;
  color: #252b42;
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-cell small {
  overflow: hidden;
  margin-top: 2px;
  color: #8a90a4;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 22px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #1fba69;
  background: #dcffeb;
  font-size: 11px;
  font-weight: 900;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.status-pill:hover {
  border-color: rgba(31, 186, 105, 0.18);
  transform: translateY(-1px);
}

.status-pill:active {
  transform: translateY(0);
}

.status-pill:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(31, 186, 105, 0.16);
}

.status-pill.offline {
  color: #ff3e7d;
  background: #ffe8ef;
}

.status-pill.offline:hover {
  border-color: rgba(255, 62, 125, 0.16);
}

.status-pill.offline:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 62, 125, 0.14);
}

.countdown-sort-header-cell {
  padding: 0 6px;
}

.countdown-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 245, 250, 0.96), rgba(255, 255, 255, 0.98));
  color: #252b42;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.countdown-sort-button:hover {
  border-color: rgba(255, 45, 127, 0.26);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.12);
  transform: translateY(-1px);
}

.countdown-sort-button:active {
  transform: scale(0.98);
}

.countdown-sort-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 45, 127, 0.18);
}

.countdown-sort-button.is-active {
  border-color: rgba(255, 45, 127, 0.3);
  background: linear-gradient(180deg, rgba(255, 232, 241, 0.98), rgba(255, 246, 250, 0.98));
}

.countdown-sort-button.is-desc {
  border-color: rgba(106, 27, 154, 0.28);
  background: linear-gradient(180deg, rgba(243, 237, 255, 0.98), rgba(252, 248, 255, 0.98));
}

.countdown-sort-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #ff2d7f;
  background: rgba(255, 45, 127, 0.1);
  font-size: 11px;
  line-height: 1;
}

.countdown-sort-button.is-desc .countdown-sort-icon {
  color: #6a1b9a;
  background: rgba(106, 27, 154, 0.12);
}

.account-table tbody tr.countdown-sort-preview {
  animation: countdown-sort-row-flash 0.22s ease-out;
}


.countdown-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 172, 207, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 249, 252, 0.98), rgba(255, 238, 246, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 5px 6px 5px 8px;
}

.countdown-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.countdown-badge strong {
  color: #c2185b;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.countdown-setting-button {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  font-size: 11px;
  font-weight: 800;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.countdown-setting-button:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  transform: translateY(-1px);
}

.countdown-setting-button:active:not(:disabled) {
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  transform: translateY(0);
}

.countdown-dialog-close:focus-visible,
.countdown-dialog-cancel:focus-visible,
.countdown-dialog-save:focus-visible,
.countdown-dialog-form input:focus-visible,
.task-settings-form select:focus-visible,
.task-settings-form input:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 45, 138, 0.18);
}

.countdown-setting-button:focus-visible,
.task-settings-button:focus-visible {
  outline: 0;
  color: #fff;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
}

.countdown-badge.expired {
  border-color: rgba(255, 103, 145, 0.35);
  background: linear-gradient(180deg, rgba(255, 245, 248, 0.98), rgba(255, 227, 235, 0.95));
}

.countdown-badge.expired strong {
  color: #ff2d7f;
}

.countdown-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(41, 27, 39, 0.26);
  backdrop-filter: blur(6px);
}

.countdown-dialog {
  width: min(100%, 692px);
  max-height: min(88dvh, 820px);
  border: 1px solid rgba(247, 230, 238, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 72px rgba(110, 74, 100, 0.16);
  padding: 22px 24px 20px;
  overflow: auto;
}

.countdown-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.countdown-dialog-header h2 {
  margin: 0;
  color: #2f3145;
  font-size: 18px;
  font-weight: 900;
}

.countdown-dialog-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #efe2ea;
  border-radius: 999px;
  background: #fff;
  color: #7b6473;
  font-size: 20px;
  line-height: 1;
}

.countdown-dialog-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.countdown-period-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.countdown-period-options legend,
.countdown-custom-days-field span {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #5d6377;
  font-size: 12px;
  font-weight: 800;
}

.countdown-period-card {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #eadfe6;
  border-radius: 12px;
  background: #fff;
  color: #5d6377;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.countdown-period-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.countdown-period-card:hover {
  border-color: #ff9ac5;
  background: #fff7fb;
  transform: translateY(-1px);
}

.countdown-period-card.is-selected {
  border-color: #ff2d7f;
  background: linear-gradient(135deg, #fff4f9, #ffeaf2);
  color: #ff2d7f;
  box-shadow: 0 10px 20px rgba(255, 45, 127, 0.12);
}

.countdown-custom-days-field {
  display: grid;
  gap: 8px;
}

.countdown-custom-days-field input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #eadfe6;
  border-radius: 12px;
  background: #fff;
  color: #2f3145;
  font-size: 14px;
  font-weight: 700;
}

.countdown-period-preview {
  margin: -4px 0 0;
  color: #7b6473;
  font-size: 13px;
  font-weight: 800;
}

.countdown-form-error {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  color: #d81b60;
  font-size: 12px;
  font-weight: 700;
}

.countdown-dialog-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.countdown-dialog-cancel,
.countdown-dialog-save {
  min-width: 88px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.countdown-dialog-cancel {
  border: 1px solid #eadfe6;
  background: #fff;
  color: #5d6377;
}

.countdown-dialog-save {
  border: 0;
  background: linear-gradient(135deg, #ff2d7f, #ff6699);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 45, 127, 0.2);
}

.dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(41, 27, 39, 0.28);
  backdrop-filter: blur(4px);
}

.batch-confirm-dialog {
  width: min(100%, 420px);
  border: 1px solid rgba(244, 205, 223, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 56px rgba(104, 67, 94, 0.2);
  padding: 20px;
}

.batch-confirm-dialog h2 {
  margin: 0;
  color: #2f3145;
  font-size: 19px;
  font-weight: 900;
}

.batch-confirm-dialog p {
  margin: 4px 0 0;
  color: #7a8193;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

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

.batch-confirm-cancel,
.batch-confirm-submit {
  min-width: 104px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
}

.batch-confirm-cancel {
  border: 1px solid #eadfe6;
  background: #fff;
  color: #5d6377;
}

.batch-confirm-submit {
  border: 0;
  background: linear-gradient(135deg, #ff2d7f, #ff6699);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 45, 127, 0.2);
}

.batch-confirm-cancel:disabled,
.batch-confirm-submit:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  box-shadow: none;
}

.operation-toast {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 42;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 16px 40px rgba(70, 51, 64, 0.18);
}

.operation-toast.toast-success {
  background: linear-gradient(135deg, #22b573, #1fba69);
}

.operation-toast.toast-warning {
  background: linear-gradient(135deg, #ffb347, #ff9f1c);
}

.operation-toast.toast-error {
  background: linear-gradient(135deg, #ff5a88, #ff2d7f);
}

.button-stripe--odd {
  --stripe-button-bg: var(--dashboard-button-odd-bg);
  --stripe-button-text: var(--dashboard-button-odd-text);
  --stripe-button-border: var(--dashboard-button-odd-border);
  --stripe-button-hover: var(--dashboard-button-odd-hover);
  --stripe-button-active: var(--dashboard-button-odd-active);
  --stripe-button-focus: var(--dashboard-button-odd-focus);
}

.button-stripe--even {
  --stripe-button-bg: var(--dashboard-button-even-bg);
  --stripe-button-text: var(--dashboard-button-even-text);
  --stripe-button-border: var(--dashboard-button-even-border);
  --stripe-button-hover: var(--dashboard-button-even-hover);
  --stripe-button-active: var(--dashboard-button-even-active);
  --stripe-button-focus: var(--dashboard-button-even-focus);
}

.task-setting-cell {
  display: flex;
  justify-content: center;
}

.task-setting-cell {
  width: 100%;
}

.task-settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    opacity 0.18s ease;
}

.task-settings-button:hover:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  transform: translateY(-1px);
}

.task-settings-button:active:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #ff2d7f, #ff1f8b);
  box-shadow: 0 10px 22px rgba(255, 45, 127, 0.22);
  transform: translateY(0);
}

.task-settings-button.is-enabled {
  opacity: 1;
}

.account-delete-button {
  color: #20263a;
  background: transparent;
  box-shadow: none;
}

.task-settings-dialog {
  width: min(100%, 692px);
  max-height: min(88dvh, 820px);
  border: 1px solid rgba(247, 230, 238, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 26px 72px rgba(110, 74, 100, 0.16);
  padding: 22px 24px 20px;
  overflow: auto;
}

.task-settings-backdrop {
  background: rgba(244, 235, 243, 0.44);
  backdrop-filter: blur(14px);
}

.task-dialog-fade-enter-active,
.task-dialog-fade-leave-active {
  transition: opacity 0.24s ease;
}

.task-dialog-fade-enter-from,
.task-dialog-fade-leave-to {
  opacity: 0;
}

.task-dialog-fade-enter-active .task-settings-dialog,
.task-dialog-fade-leave-active .task-settings-dialog {
  transition:
    transform 0.26s ease,
    opacity 0.26s ease;
}

.task-dialog-fade-enter-from .task-settings-dialog,
.task-dialog-fade-leave-to .task-settings-dialog {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.task-settings-dialog--daily {
  width: min(100%, 692px);
  max-height: min(88dvh, 820px);
  border: 1px solid rgba(247, 230, 238, 0.96);
  border-radius: 24px;
  box-shadow: 0 26px 72px rgba(110, 74, 100, 0.16);
  background: rgba(255, 255, 255, 0.97);
  padding: 22px 24px 20px;
}

.task-settings-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.task-settings-hero-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff7fb, #fff1f6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.task-settings-hero-copy {
  display: grid;
  gap: 4px;
}

.task-settings-hero-copy h2 {
  margin: 0;
}

.task-settings-hero-copy p {
  margin: 0;
  color: #9499aa;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.task-settings-dialog--daily .task-settings-dialog-header {
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid #f3e8ee;
}

.task-settings-dialog--daily .countdown-dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid #ecdfe8;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #71788d;
}

.task-settings-dialog--daily .countdown-dialog-close:hover {
  background: #fff4f8;
  border-color: #e7c8d8;
}

.task-settings-dialog--daily .countdown-dialog-close:active {
  background: #fbeaf2;
}

.task-settings-dialog--daily .task-settings-form {
  gap: 18px;
  margin-top: 18px;
}

.task-settings-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.task-settings-dialog-header h2 {
  margin: 0;
  color: #2f3145;
  font-size: 18px;
  font-weight: 900;
}

.task-settings-dialog-header p {
  margin: 4px 0 0;
  color: #7a8193;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.task-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 10px;
}

.task-settings-description {
  grid-column: 1 / -1;
  margin: 0;
  color: #687087;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.task-settings-form label {
  display: grid;
  gap: 5px;
}

.task-settings-form span {
  color: #5d6377;
  font-size: 12px;
  font-weight: 800;
}

.task-settings-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #eadfe6;
  border-radius: 12px;
  background: #fff;
  color: #2f3145;
  font-size: 14px;
  font-weight: 700;
}

.task-settings-checkbox {
  grid-column: 1 / -1;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 4px 8px;
}

.task-settings-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #ff2d7f;
}

.task-settings-checkbox small {
  grid-column: 2;
  color: #8a90a4;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.daily-task-toggle-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.task-inline-select {
  width: var(--task-select-width, 96px);
  min-width: var(--task-select-width, 96px);
  height: 34px;
  padding: 0 8px;
  border: 1px solid #eadfe6;
  border-radius: 10px;
  background: #fff;
  color: #2f3145;
  font-size: 12px;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.task-inline-select:hover {
  border-color: #e6c9d9;
  background: #fff8fb;
}

.task-inline-select:focus-visible {
  outline: 0;
  border-color: #f3afc9;
  box-shadow: 0 0 0 3px rgba(255, 45, 138, 0.14);
}

.task-settings-form .daily-task-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
}

.task-settings-form .daily-task-meta {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 12px;
}

.task-settings-form .daily-task-label {
  flex: 1 1 auto;
  min-width: 0;
}

.task-settings-form .daily-task-toggle-switch {
  flex: 0 0 auto;
  align-self: center;
}

.daily-task-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid #f4e7ee;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(94, 67, 87, 0.05);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background-color 0.18s ease;
}

.daily-task-toggle-card:hover {
  border-color: #ebd7e2;
  box-shadow: 0 10px 24px rgba(94, 67, 87, 0.08);
  transform: translateY(-1px);
}

.daily-task-toggle-card:focus-within {
  border-color: #f3afc9;
  box-shadow: 0 0 0 3px rgba(255, 45, 138, 0.12);
  background: rgba(255, 251, 253, 0.98);
}

.daily-task-meta {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
}

.daily-task-icon-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: none;
}

.daily-task-icon-shell.theme-pink {
  background: linear-gradient(180deg, #fff5fa, #fff0f6);
}

.daily-task-icon-shell.theme-purple {
  background: linear-gradient(180deg, #f8f3ff, #f2ebff);
}

.daily-task-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #384055;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.task-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
}

.task-icon::before,
.task-icon::after {
  content: '';
  position: absolute;
  box-sizing: border-box;
}

@media (width<=720px) {
  .task-settings-dialog,
  .task-settings-dialog--daily {
    width: min(100%, 100%);
    max-height: min(90dvh, 760px);
    padding: 12px 12px 10px;
  }

  .task-settings-form,
  .daily-task-toggle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .countdown-period-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .task-settings-dialog-header,
  .task-settings-hero {
    gap: 8px;
  }

  .task-inline-select {
    width: min(100%, var(--task-select-width, 96px));
    min-width: 84px;
  }
}

@media (width<=560px) {
  .task-settings-dialog,
  .task-settings-dialog--daily {
    max-height: min(92dvh, 100%);
    border-radius: 16px;
    padding: 10px;
  }

  .task-settings-dialog-header h2 {
    font-size: 16px;
  }

  .task-settings-dialog-header p,
  .task-settings-hero-copy p,
  .task-settings-description,
  .daily-task-label {
    font-size: 12px;
    line-height: 1.35;
  }

  .task-settings-form select {
    min-height: 38px;
  }

  .task-inline-select {
    min-width: 78px;
    height: 32px;
  }

  .daily-task-toggle-card {
    min-height: 42px;
    padding: 6px 8px;
  }

  .personnel-actions {
    min-width: 220px;
    gap: 4px 6px;
  }

  .personnel-action-button {
    min-width: 64px;
    min-height: 28px;
    padding: 0 9px;
  }

  .task-settings-button.personnel-action-button--password {
    min-width: 76px;
  }
}

.task-icon--purple::before,
.task-icon--purple::after {
  border-color: #8d4de8;
}

.task-icon--calendar::before {
  inset: 2px 1px 1px;
  border: 1.8px solid #ff4f93;
  border-radius: 4px;
}

.task-icon--calendar::after {
  top: 5px;
  left: 4px;
  width: 10px;
  height: 1.8px;
  background: #ff4f93;
  box-shadow: 0 -4px 0 0 #ff4f93;
}

.task-icon--share::before {
  inset: 5px 3px 5px 6px;
  border-top: 1.8px solid #ff4f93;
  border-left: 1.8px solid #ff4f93;
  border-radius: 4px 0 0 0;
  transform: skewX(-12deg);
}

.task-icon--share::after {
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.8px solid #ff4f93;
  border-right: 1.8px solid #ff4f93;
  transform: rotate(14deg);
}

.task-icon--gift::before {
  inset: 7px 2px 2px;
  border: 1.8px solid #ff4f93;
  border-radius: 3px;
}

.task-icon--gift::after {
  top: 2px;
  left: 2px;
  width: 14px;
  height: 7px;
  border: 1.8px solid #ff4f93;
  border-radius: 4px 4px 2px 2px;
  box-shadow: inset 6px 0 0 -4px #ff4f93;
}

.task-icon--target::before {
  inset: 3px;
  border: 1.8px solid #8d4de8;
  border-radius: 999px;
}

.task-icon--target::after {
  inset: 7px;
  border: 1.8px solid #8d4de8;
  border-radius: 999px;
  box-shadow:
    -6px 0 0 -5px #8d4de8,
    6px 0 0 -5px #8d4de8,
    0 -6px 0 -5px #8d4de8,
    0 6px 0 -5px #8d4de8;
}

.task-icon--cart::before {
  left: 2px;
  top: 5px;
  width: 11px;
  height: 7px;
  border: 1.8px solid #8d4de8;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.task-icon--cart::after {
  left: 1px;
  top: 3px;
  width: 12px;
  height: 2px;
  background: #8d4de8;
  box-shadow: 2px 10px 0 -0.4px #8d4de8, 9px 10px 0 -0.4px #8d4de8;
}

.task-icon--box::before {
  inset: 4px 2px 3px;
  border: 1.8px solid #8d4de8;
  border-radius: 3px;
}

.task-icon--box::after {
  top: 4px;
  left: 3px;
  width: 12px;
  height: 3px;
  border: 1.8px solid #8d4de8;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.task-icon--crossed-swords::before,
.task-icon--crossed-swords::after {
  top: 2px;
  left: 8px;
  width: 2px;
  height: 14px;
  background: #8d4de8;
  border-radius: 999px;
}

.task-icon--crossed-swords::before {
  transform: rotate(45deg);
}

.task-icon--crossed-swords::after {
  transform: rotate(-45deg);
}

.task-icon--users::before {
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  border: 1.8px solid #8d4de8;
  border-radius: 999px;
  box-shadow: 7px 2px 0 -1px #fff, 7px 2px 0 0 #8d4de8;
}

.task-icon--users::after {
  left: 1px;
  bottom: 2px;
  width: 8px;
  height: 5px;
  border: 1.8px solid #8d4de8;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom: 0;
  box-shadow: 8px -1px 0 -1px #fff, 8px -1px 0 0 #8d4de8;
}

.task-icon--trophy::before {
  top: 2px;
  left: 4px;
  width: 10px;
  height: 8px;
  border: 1.8px solid #8d4de8;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.task-icon--trophy::after {
  left: 7px;
  bottom: 2px;
  width: 4px;
  height: 6px;
  border-left: 1.8px solid #8d4de8;
  border-right: 1.8px solid #8d4de8;
  border-bottom: 1.8px solid #8d4de8;
}

.task-icon--note::before {
  inset: 2px 3px;
  border: 1.8px solid #8d4de8;
  border-radius: 3px;
}

.task-icon--note::after {
  top: 6px;
  left: 6px;
  width: 6px;
  height: 1.8px;
  background: #8d4de8;
  box-shadow: 0 4px 0 0 #8d4de8;
}

.task-icon--chest::before {
  inset: 6px 2px 2px;
  border: 1.8px solid #ff4f93;
  border-radius: 3px;
}

.task-icon--chest::after {
  top: 3px;
  left: 3px;
  width: 12px;
  height: 6px;
  border: 1.8px solid #ff4f93;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.task-icon--medal::before {
  top: 2px;
  left: 5px;
  width: 8px;
  height: 8px;
  border: 1.8px solid #ff4f93;
  border-radius: 999px;
}

.task-icon--medal::after {
  left: 6px;
  top: 9px;
  width: 6px;
  height: 7px;
  border-left: 1.8px solid #ff4f93;
  border-right: 1.8px solid #ff4f93;
  border-bottom: 1.8px solid #ff4f93;
  transform: translateY(1px);
}

.task-icon--badge-star::before {
  inset: 3px;
  border: 1.8px solid #ff4f93;
  border-radius: 5px;
  transform: rotate(45deg);
}

.task-icon--badge-star::after {
  top: 7px;
  left: 6px;
  width: 6px;
  height: 6px;
  background: #ff4f93;
  clip-path: polygon(50% 0, 61% 36%, 100% 36%, 68% 58%, 79% 100%, 50% 74%, 21% 100%, 32% 58%, 0 36%, 39% 36%);
}

.daily-task-toggle-switch {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  padding: 0;
  border: 1px solid #cfd3df;
  border-radius: 999px;
  background: #dfe2ea;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.daily-task-toggle-switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(34, 40, 58, 0.18);
  transition: transform 0.18s ease;
}

.daily-task-toggle-switch:hover {
  border-color: #bfc5d3;
  background: #d4d9e4;
}

.daily-task-toggle-switch:active {
  transform: scale(0.97);
}

.daily-task-toggle-switch.is-active {
  border-color: #a4144e;
  background: #c2185b;
}

.daily-task-toggle-switch.is-active:hover {
  border-color: #931247;
  background: #ad1457;
}

.daily-task-toggle-switch.is-active span {
  transform: translateX(18px);
}

.daily-task-toggle-switch:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.24);
}

.daily-task-toggle-switch:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.task-settings-dialog--daily .countdown-dialog-actions {
  justify-content: flex-end;
  gap: 14px;
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid #f3e8ee;
}

.task-settings-dialog--daily .countdown-dialog-cancel,
.task-settings-dialog--daily .countdown-dialog-save {
  min-width: 138px;
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.task-settings-dialog--daily .countdown-dialog-cancel {
  border: 1px solid #ecdfe8;
  background: #fff;
  color: #555c72;
}

.task-settings-dialog--daily .countdown-dialog-cancel:hover {
  border-color: #e3d2dd;
  background: #fff6fa;
}

.task-settings-dialog--daily .countdown-dialog-cancel:focus-visible,
.task-settings-dialog--daily .countdown-dialog-save:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.2);
}

.task-settings-dialog--daily .countdown-dialog-save {
  border: 0;
  background: linear-gradient(135deg, #ff2f84, #ff4f93);
  color: #fff;
  box-shadow: 0 14px 24px rgba(255, 79, 147, 0.22);
}

.task-settings-dialog--daily .countdown-dialog-save:hover {
  background: linear-gradient(135deg, #f5287e, #ff458f);
}

.task-settings-dialog--daily .countdown-dialog-save:active {
  transform: translateY(1px);
}

@media (width<=1280px) {
  .account-table th,
  .account-table td {
    padding-right: 7px;
    padding-left: 7px;
  }

  .user-bin-table {
    min-width: 1120px;
  }

  .user-bin-table th:nth-child(2),
  .user-bin-table td:nth-child(2) {
    width: 164px;
  }

  .user-bin-table th:nth-child(4),
  .user-bin-table td:nth-child(4) {
    width: 138px;
  }

  .user-bin-table th:nth-child(n + 5):nth-child(-n + 10),
  .user-bin-table td:nth-child(n + 5):nth-child(-n + 10) {
    width: 100px;
  }
}

@media (width<=768px) {
  .account-table th,
  .account-table td {
    height: 44px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .user-bin-table {
    min-width: 1048px;
  }

  .user-bin-table th:nth-child(2),
  .user-bin-table td:nth-child(2) {
    width: 152px;
  }

  .user-bin-table th:nth-child(3),
  .user-bin-table td:nth-child(3) {
    width: 68px;
  }

  .user-bin-table th:nth-child(4),
  .user-bin-table td:nth-child(4) {
    width: 130px;
  }

  .user-bin-table th:nth-child(n + 5):nth-child(-n + 10),
  .user-bin-table td:nth-child(n + 5):nth-child(-n + 10) {
    width: 94px;
  }

  .user-bin-table th:nth-child(11),
  .user-bin-table td:nth-child(11) {
    width: 90px;
  }
}

@media (width<=480px) {
  .table-scroll {
    margin-right: -2px;
    margin-left: -2px;
  }

  .account-table th,
  .account-table td {
    height: 42px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .user-bin-table {
    min-width: 988px;
  }

  .user-bin-table th:nth-child(2),
  .user-bin-table td:nth-child(2) {
    width: 140px;
  }

  .user-bin-table th:nth-child(4),
  .user-bin-table td:nth-child(4) {
    width: 122px;
  }

  .user-bin-table th:nth-child(n + 5):nth-child(-n + 10),
  .user-bin-table td:nth-child(n + 5):nth-child(-n + 10) {
    width: 88px;
  }
}

.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: #687087;
  font-size: 12px;
  font-weight: 800;
}

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

.pagination button,
.pagination input {
  min-width: 30px;
  height: 30px;
  border: 1px solid #ebe7f0;
  border-radius: 7px;
  background: #fff;
  color: #343a52;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.pagination button:first-child {
  min-width: 74px;
}

.pagination button.active {
  border-color: #ff2d7f;
  color: #fff;
  background: #ff2d7f;
}

.pagination label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination input {
  width: 42px;
}

@media (max-width: 1180px) {
  .dashboard-page {
    grid-template-columns: 156px minmax(0, 1fr);
  }

  .dashboard-sidebar {
    padding: 28px 18px;
  }

  .dashboard-logo {
    width: 124px;
  }

  .toolbar-card {
    grid-template-columns: 118px minmax(180px, 1fr) minmax(112px, max-content) 86px;
  }

  .activation-card-overview,
  .activation-card-workbench {
    grid-template-columns: 1fr;
  }

  .activation-card-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  .dashboard-page {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .dashboard-sidebar {
    position: sticky;
    top: 0;
    z-index: 10;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: max(14px, env(safe-area-inset-top)) 16px 12px;
    background: rgba(255, 247, 251, 0.94);
    backdrop-filter: blur(16px);
  }

  .dashboard-logo {
    width: 128px;
  }

  .dashboard-nav {
    display: flex;
    gap: 8px;
    overflow: auto;
  }

  .dashboard-nav button {
    min-height: 38px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .dashboard-nav button:not(.active) {
    background: rgba(255, 255, 255, 0.68);
  }

  .sidebar-wave {
    display: none;
  }

  .dashboard-main {
    padding: 14px 14px max(18px, env(safe-area-inset-bottom));
  }

  .dashboard-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    max-width: none;
    justify-content: flex-end;
  }

  .admin-dropdown {
    min-width: 140px;
  }

  .settings-shell,
  .activation-card-overview,
  .activation-card-workbench,
  .activation-card-form-grid {
    grid-template-columns: 1fr;
  }

  .activation-card-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar-card {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .activation-card-summary-grid {
    grid-template-columns: 1fr;
  }

  .activation-card-actions-inner {
    gap: 6px;
  }

  .batch-toolbar {
    gap: 8px;
  }

  .task-settings-dialog--daily {
    width: min(100%, 640px);
    padding: 18px 16px 16px;
  }

  .task-settings-hero {
    gap: 12px;
  }

  .task-settings-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .task-settings-dialog--daily .task-settings-dialog-header {
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 12px;
  }

  .daily-task-toggle-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .batch-lite-button,
  .batch-status-button {
    flex: 1 1 140px;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .page-size-select {
    width: 100%;
    min-width: 0;
  }

  .table-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .dashboard-sidebar {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-nav button {
    min-height: 44px;
  }

  .dashboard-topbar {
    flex-direction: column;
    gap: 12px;
  }

  .topbar-actions {
    width: 100%;
    max-width: none;
    justify-content: flex-end;
  }

  .admin-card {
    align-self: flex-end;
  }

  .admin-dropdown {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: min(100%, 180px);
  }

  .dashboard-topbar h1 {
    font-size: 24px;
  }

  .toolbar-card {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .batch-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .selection-summary {
    width: 100%;
  }

  .batch-lite-button,
  .batch-status-button {
    width: 100%;
  }

  .search-box,
  .page-size-select,
  .import-button,
  .tool-button {
    min-height: 48px;
  }

  .account-table {
    min-width: 1080px;
  }

  .task-settings-dialog,
  .task-settings-dialog--daily {
    padding: 18px;
  }

  .task-settings-form {
    grid-template-columns: 1fr;
  }

  .daily-task-toggle-card {
    align-items: center;
  }

  .task-settings-form .daily-task-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .task-settings-form .daily-task-meta {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .daily-task-toggle-switch {
    margin-top: 0;
    align-self: center;
  }

  .countdown-badge {
    min-width: 112px;
    gap: 5px;
    padding-inline: 6px;
  }

  .countdown-badge strong {
    font-size: 10px;
  }

  .countdown-setting-button {
    min-width: 34px;
    min-height: 24px;
    padding-inline: 6px;
    font-size: 10px;
  }

  .countdown-dialog-backdrop {
    padding: 14px;
  }

  .countdown-dialog {
    border-radius: 18px;
    padding: 16px;
  }

  .task-settings-dialog {
    border-radius: 18px;
    padding: 16px;
  }

  .countdown-dialog-form {
    grid-template-columns: 1fr;
  }

  .countdown-period-options {
    grid-template-columns: 1fr;
  }

  .task-settings-form {
    grid-template-columns: 1fr;
  }

  .countdown-dialog-actions {
    justify-content: stretch;
  }

  .countdown-dialog-cancel,
  .countdown-dialog-save {
    flex: 1;
  }

  .settings-form-actions {
    justify-content: stretch;
  }

  .task-settings-checkbox {
    grid-template-columns: 18px 1fr;
  }

  .dialog-backdrop {
    padding: 14px;
  }

  .batch-confirm-dialog {
    border-radius: 18px;
    padding: 16px;
  }

  .batch-confirm-actions {
    flex-direction: column;
  }

  .batch-confirm-cancel,
  .batch-confirm-submit {
    width: 100%;
  }

  .operation-toast {
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .table-scroll {
    margin-right: -12px;
    padding-right: 12px;
  }

  .pagination button,
  .pagination input {
    min-width: 34px;
    height: 34px;
  }
}
