/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
:root {
  --background: #f5f7fb;
  --foreground: #172033;
  --muted: #667085;
  --border: #d8e0ea;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #dff7f3;
  --warning-soft: #fff4d6;
  --danger-soft: #ffe4e6;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

/* ===== LOGIN PAGE REFRESH ===== */

.loginShell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(219, 232, 255, 0.86), rgba(255, 255, 255, 0.94) 42%),
    linear-gradient(165deg, #f8fbff 0%, #edf4ff 100%);
}

.loginFrame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 1fr) minmax(380px, 460px);
  grid-gap: clamp(32px, 6vw, 90px);
  gap: clamp(32px, 6vw, 90px);
  width: min(1200px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 72px) 0 clamp(54px, 7vh, 76px);
}

.loginFrame::before {
  content: "";
  position: absolute;
  inset: -160px auto auto -230px;
  width: 430px;
  height: 430px;
  border: 46px solid rgba(47, 99, 235, 0.07);
  border-radius: 50%;
}

.loginIntro,
.loginCard {
  position: relative;
  z-index: 1;
}

.loginIntro {
  display: grid;
  align-content: center;
  min-height: min(680px, calc(100svh - 128px));
  padding-left: 12px;
}

.introCopy {
  margin-bottom: clamp(22px, 4vh, 36px);
}

.introCopy p {
  color: #17223a;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.introCopy h1 {
  margin-top: 10px;
  color: #17223a;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
}

.introCopy span {
  display: block;
  margin-top: 14px;
  color: #7b879f;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700;
}

.featureList {
  display: grid;
  grid-gap: clamp(14px, 2.7vh, 24px);
  gap: clamp(14px, 2.7vh, 24px);
  margin-bottom: clamp(18px, 4vh, 36px);
}

.featureItem {
  display: flex;
  align-items: center;
  gap: 18px;
}

.featureItem strong {
  display: block;
  color: #17223a;
  font-size: 16px;
  margin-bottom: 6px;
}

.featureItem p {
  color: #8a96ad;
  font-size: 14px;
  line-height: 1.5;
}

.featureIcon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(42px, 5vw, 52px);
  height: clamp(42px, 5vw, 52px);
  border-radius: 50%;
  background: linear-gradient(180deg, #eef5ff, #dceaff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.featureIcon::before,
.featureIcon::after {
  content: "";
  position: absolute;
}

.chartIcon::before {
  width: 22px;
  height: 18px;
  background:
    linear-gradient(#316df6, #316df6) 2px 9px / 4px 9px no-repeat,
    linear-gradient(#316df6, #316df6) 9px 5px / 4px 13px no-repeat,
    linear-gradient(#316df6, #316df6) 16px 1px / 4px 17px no-repeat;
}

.chartIcon::after {
  width: 21px;
  height: 12px;
  border-top: 3px solid #316df6;
  border-right: 3px solid #316df6;
  transform: rotate(-22deg) translate(0, -3px);
}

.shieldIcon::before {
  width: 22px;
  height: 24px;
  border: 3px solid #316df6;
  border-radius: 10px 10px 12px 12px;
  -webkit-clip-path: polygon(50% 0, 100% 20%, 92% 72%, 50% 100%, 8% 72%, 0 20%);
          clip-path: polygon(50% 0, 100% 20%, 92% 72%, 50% 100%, 8% 72%, 0 20%);
}

.gridIcon::before {
  width: 20px;
  height: 20px;
  background:
    linear-gradient(#316df6, #316df6) 0 0 / 8px 8px no-repeat,
    linear-gradient(#316df6, #316df6) 12px 0 / 8px 8px no-repeat,
    linear-gradient(#316df6, #316df6) 0 12px / 8px 8px no-repeat,
    linear-gradient(#316df6, #316df6) 12px 12px / 8px 8px no-repeat;
  border-radius: 4px;
}

.dashboardArt {
  position: relative;
  width: min(480px, 92%);
  height: clamp(210px, 31vh, 300px);
  margin-top: 4px;
  transform: scale(clamp(0.78, calc(100svh / 900), 1));
  transform-origin: left bottom;
}

.artBase {
  position: absolute;
  left: 78px;
  bottom: 14px;
  width: 340px;
  height: 68px;
  border-radius: 22px;
  background: linear-gradient(165deg, #f7fbff, #e4efff);
  box-shadow: 0 26px 46px rgba(49, 109, 246, 0.16), inset 0 1px 0 #fff;
  transform: skewX(-18deg);
}

.artPanel {
  position: absolute;
  border: 1px solid rgba(199, 214, 246, 0.86);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 255, 0.9));
  box-shadow: 0 20px 38px rgba(49, 109, 246, 0.16);
}

.artPanelMain {
  left: 190px;
  bottom: 74px;
  width: 240px;
  height: 148px;
  padding: 20px;
  transform: skewY(-8deg);
}

.artPanelMetric {
  left: 86px;
  bottom: 84px;
  display: grid;
  place-items: center;
  width: 148px;
  height: 120px;
  color: #4b65a4;
  transform: skewY(8deg);
}

.artPanelMetric span {
  font-size: 13px;
  font-weight: 800;
}

.artPanelMetric strong {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 10px solid #316df6;
  border-left-color: #d8e5ff;
  border-radius: 50%;
  font-size: 14px;
}

.artWindowDots {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.artWindowDots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f05ca8;
}

.artWindowDots span:nth-child(2) {
  background: #f5c75c;
}

.artWindowDots span:nth-child(3) {
  background: #316df6;
}

.artChartLine {
  width: 170px;
  height: 58px;
  margin-left: 22px;
  background:
    linear-gradient(140deg, transparent 43%, #316df6 44% 48%, transparent 49%) 0 0 / 54px 34px,
    linear-gradient(25deg, transparent 44%, #316df6 45% 49%, transparent 50%) 45px 12px / 70px 42px,
    linear-gradient(120deg, transparent 43%, #316df6 44% 48%, transparent 49%) 105px 0 / 62px 44px;
}

.artBars {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 46px;
  margin-top: 4px;
}

.artBars span {
  width: 13px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #80a7ff, #316df6);
  box-shadow: 0 8px 14px rgba(49, 109, 246, 0.18);
}

.artBars span:nth-child(1) {
  height: 20px;
}

.artBars span:nth-child(2) {
  height: 28px;
}

.artBars span:nth-child(3) {
  height: 34px;
}

.artBars span:nth-child(4) {
  height: 42px;
}

.artBars span:nth-child(5) {
  height: 52px;
}

.artTile {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 235, 255, 0.9));
  box-shadow: 0 18px 34px rgba(49, 109, 246, 0.14);
}

.artTileUser {
  left: 14px;
  bottom: 118px;
}

.artTileUser::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #316df6;
  box-shadow: 0 26px 0 8px rgba(49, 109, 246, 0.23);
}

.artTilePie {
  right: 0;
  bottom: 132px;
  border-radius: 18px;
}

.artTilePie::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: conic-gradient(#316df6 0 72%, #d8e5ff 72% 100%);
}

.loginCard {
  align-self: center;
  width: 100%;
  max-width: none;
  min-height: 720px;
  padding: clamp(36px, 6.2vh, 60px) clamp(36px, 5.2vw, 52px) clamp(32px, 4.6vh, 52px);
  border: 1px solid rgba(230, 236, 248, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 24px 60px rgba(15, 35, 78, 0.14),
    0 8px 20px rgba(15, 35, 78, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.loginCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: clamp(22px, 4vh, 34px);
}

.loginCardHeader h2 {
  color: #17223a;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.loginCardHeader p {
  color: #9aa5b8;
  font-size: 16px;
  font-weight: 700;
}

.loginLang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #6f7b91;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 0;
  white-space: nowrap;
}

.langIcon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 6px 0 0 -4px currentColor, inset -6px 0 0 -4px currentColor;
}

.chevronIcon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.loginForm {
  display: grid;
  grid-gap: clamp(14px, 2.5vh, 22px);
  gap: clamp(14px, 2.5vh, 22px);
  width: 100%;
}

.loginField {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 0;
}

.loginField > span {
  color: #25304a;
  font-size: 15px;
  font-weight: 800;
}

.loginInputWrap {
  position: relative;
  display: flex;
  align-items: center;
}

.loginInputWrap input {
  width: 100%;
  height: clamp(48px, 6.4vh, 58px);
  border: 1px solid #dce2ec;
  border-radius: 6px;
  background: #fff;
  color: #17223a;
  font: inherit;
  font-size: 15px;
  padding: 0 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.loginInputWrap input::placeholder {
  color: #a6afc0;
}

.loginInputWrap input:focus {
  border-color: #316df6;
  box-shadow: 0 0 0 3px rgba(49, 109, 246, 0.12);
  outline: none;
}

.accountIcon,
.lockIcon,
.eyeIcon,
.eyeOffIcon {
  position: absolute;
  display: block;
  color: #8d98aa;
}

.accountIcon,
.lockIcon {
  left: 18px;
  width: 18px;
  height: 18px;
}

.accountIcon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.accountIcon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 14px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 2px 2px;
}

.lockIcon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 12px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.lockIcon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 8px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.loginTogglePw {
  position: absolute;
  right: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.eyeIcon,
.eyeOffIcon {
  position: relative;
  width: 20px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.eyeIcon::after,
.eyeOffIcon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.eyeOffIcon::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 5px;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform: rotate(-35deg);
}

.loginFieldRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -2px 0 0;
}

.loginCheckbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a5570;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.loginCheckbox input {
  position: absolute;
  opacity: 0;
}

.loginCheckboxMark {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #b9c2d2;
  border-radius: 4px;
  background: #fff;
}

.loginCheckbox input:checked + .loginCheckboxMark {
  border-color: #316df6;
  background: #316df6;
}

.loginCheckbox input:checked + .loginCheckboxMark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.loginLink,
.loginLinkInline {
  border: 0;
  background: transparent;
  color: #316df6;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 0;
}

.loginSubmit {
  width: 100%;
  height: clamp(48px, 6.4vh, 58px);
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #3774ff, #2259ef);
  box-shadow: 0 12px 24px rgba(49, 109, 246, 0.25);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 0;
}

.loginSubmit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.loginDivider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #a4adbd;
  font-size: 14px;
  font-weight: 700;
  margin: clamp(4px, 1.5vh, 12px) 0 0;
}

.loginDivider::before,
.loginDivider::after {
  content: "";
  flex: 1 1;
  height: 1px;
  background: #e5e9f1;
}

.loginSocials {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-bottom: 0;
}

.loginSocialBtn {
  width: clamp(40px, 5.2vh, 48px);
  height: clamp(40px, 5.2vh, 48px);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}

.loginSocialBtn.blue {
  background: #eaf1ff;
  color: #2c67ee;
}

.loginSocialBtn.green {
  background: #e8f8ef;
  color: #19aa5d;
}

.loginSocialBtn.sky {
  background: #e9f2ff;
  color: #3174ff;
}

.demoAccountRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: -2px;
}

.demoAccountRow button {
  border: 1px solid #dce5f4;
  border-radius: 999px;
  background: #f8fbff;
  color: #6f7b91;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 12px;
}

.loginRegister {
  color: #4b5570;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

.loginFooter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(16px, 3vh, 28px);
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #8c97aa;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .loginFrame {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 560px);
    padding: 34px 0 74px;
  }

  .loginFrame::before,
  .loginIntro {
    display: none;
  }

  .loginCard {
    min-height: auto;
    padding: 36px 28px;
    border-radius: 20px;
  }

  .loginCardHeader {
    display: grid;
  }

  .loginFooter {
    bottom: 20px;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.topbar {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  margin-top: 6px;
  font-size: 24px;
}

.switcher {
  display: inline-flex;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 6px;
}

.switcher a {
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.switcher a.active {
  background: var(--accent);
  color: white;
}

.sessionBar {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  padding: 8px 10px 8px 14px;
}

.sessionBar span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.sessionBar a,
.primaryButton {
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 14px;
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 36px;
}

.overview > div,
.emptyState {
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
}

.overview span,
.sectionHeader span,
.tableHead span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.overview strong {
  display: block;
  margin-top: 18px;
  font-size: 28px;
}

.overview p,
.userRow p,
.emptyState p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.sectionHeader {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
}

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

.managementPanel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  padding: 22px;
}

.userForm {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  grid-gap: 10px;
  gap: 10px;
}

.userForm input,
.userForm select,
.userRow select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  color: var(--foreground);
  font: inherit;
  min-height: 42px;
  padding: 10px 12px;
}

.userForm input:focus,
.userForm select:focus,
.userRow select:focus {
  border-color: var(--accent);
  outline: 3px solid var(--accent-soft);
}

.notice {
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.userSubnav {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.userSubnav a {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.userSubnav a.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

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

.rolePermissionCard {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 20px;
}

.rolePermissionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.rolePermissionHeader strong {
  font-size: 18px;
}

.rolePermissionHeader span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.menuCheckList {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.menuCheckList label {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  padding: 11px 12px;
}

.menuCheckList input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.userTable {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel);
}

.tableHead,
.userRow {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(110px, 0.6fr) minmax(120px, 0.7fr) minmax(90px, 0.5fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
}

.tableHead {
  border-bottom: 1px solid var(--border);
  background: #eef3f8;
}

.userRow {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}

.userRow:last-child {
  border-bottom: 0;
}

.userRow strong {
  font-size: 17px;
}

.role,
.statusActive,
.statusDisabled {
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
}

.role-owner {
  background: var(--warning-soft);
  color: #8a5a00;
}

.role-superadmin {
  background: #ece7ff;
  color: #5b21b6;
}

.role-leader {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.role-member {
  background: #e7efff;
  color: #2f5597;
}

.statusActive {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.statusDisabled {
  background: var(--danger-soft);
  color: #be123c;
}

.emptyState {
  display: grid;
  align-content: center;
}

.emptyState strong {
  font-size: 24px;
}

/* ===== LOGIN PAGE — ENTERPRISE STYLE ===== */

.loginShell {
  display: flex;
  min-height: 100vh;
}

/* -- Left brand panel -- */
.loginBrand {
  flex: 1 1;
  background: linear-gradient(170deg, #f8faff 0%, #eef3fe 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 72px 64px;
}

.loginBrandInner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.loginHeroText {
  margin-bottom: 48px;
}

.loginHeroText h1 {
  font-size: 22px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 4px;
}

.loginHeroText h2 {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.loginHeroText p {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

/* Feature list */
.loginFeatures {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.loginFeature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.loginFeatureIcon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8eeff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b6fe0;
  flex-shrink: 0;
}

.loginFeatureTitle {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.loginFeatureDesc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
}

/* Illustration */
.loginIllustration {
  margin-top: auto;
  opacity: 0.9;
}

.loginIllustration svg {
  width: 100%;
  max-width: 420px;
}

/* Background decorations */
.loginDecorBg {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.loginDecorBg--1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}

.loginDecorBg--2 {
  width: 240px;
  height: 240px;
  bottom: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
}

/* -- Right form panel -- */
.loginFormPanel {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #ffffff;
}

.loginCard {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.loginCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
}

.loginCardHeader h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

.loginCardHeader > div > p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.loginLang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  cursor: pointer;
}

/* Form */
.loginForm {
  width: 100%;
}

/* Fields */
.loginField {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.loginField label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.loginInputWrap {
  position: relative;
  display: flex;
  align-items: center;
}

.loginInputIcon {
  position: absolute;
  left: 14px;
  pointer-events: none;
}

.loginInputWrap input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 44px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 14px;
  color: var(--foreground);
}

.loginInputWrap input::placeholder {
  color: #c0c6cf;
}

.loginInputWrap input:focus {
  border-color: #3b6fe0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 111, 224, 0.1);
  background: #ffffff;
}

.loginTogglePw {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Field row (checkbox + link) */
.loginFieldRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.loginCheckbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
}

.loginCheckbox input {
  display: none;
}

.loginCheckboxMark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
}

.loginCheckbox input:checked + .loginCheckboxMark {
  background: #3b6fe0;
  border-color: #3b6fe0;
}

.loginCheckbox input:checked + .loginCheckboxMark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.loginLink {
  font-size: 13px;
  color: #3b6fe0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.loginLink:hover {
  text-decoration: underline;
}

/* Error */
.formError {
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fff4e5;
  color: #c2410c;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
}

/* Submit */
.loginSubmit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #3b6fe0;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(59, 111, 224, 0.25);
  margin-bottom: 24px;
}

.loginSubmit:hover:not(:disabled) {
  background: #2f5dc7;
}

.loginSubmit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* Divider */
.loginDivider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: #c0c6cf;
  font-size: 12px;
}

.loginDivider::before,
.loginDivider::after {
  content: "";
  flex: 1 1;
  height: 1px;
  background: #e5e7eb;
}

/* Social buttons */
.loginSocials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.loginSocialBtn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginSocialBtn:hover {
  border-color: #d1d5db;
  background: #f3f4f6;
}

/* Register */
.loginRegister {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.loginLinkInline {
  color: #3b6fe0;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  padding: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 1180px);
    padding: 28px 0 40px;
  }

  .topbar,
  .overview,
  .userForm {
    display: grid;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 36px;
  }

  .switcher {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sessionBar {
    align-items: stretch;
    display: grid;
  }

  .tableHead {
    display: none;
  }

  .userRow {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .loginBrand {
    display: none;
  }

  .loginFormPanel {
    padding: 32px 20px;
    min-height: 100vh;
  }

  .loginCard {
    max-width: 100%;
    padding: 36px 28px;
    border-radius: 20px;
  }
}

/* Login refresh overrides must stay after the legacy login rules. */
.loginShell {
  display: block;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(219, 232, 255, 0.86), rgba(255, 255, 255, 0.94) 42%),
    linear-gradient(165deg, #f8fbff 0%, #edf4ff 100%);
}

.loginCard {
  align-self: center;
  width: 100%;
  max-width: none;
  min-height: 720px;
  padding: 58px 54px 46px;
  border: 1px solid rgba(230, 236, 248, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 24px 60px rgba(15, 35, 78, 0.14),
    0 8px 20px rgba(15, 35, 78, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.loginCardHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 40px;
}

.loginCardHeader h2 {
  color: #17223a;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.loginCardHeader p,
.loginCardHeader > div > p {
  color: #9aa5b8;
  font-size: 16px;
  font-weight: 700;
}

.loginLang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #6f7b91;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 0;
  white-space: nowrap;
}

.loginForm {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
  width: 100%;
}

.loginField {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 0;
}

.loginField > span {
  color: #25304a;
  font-size: 15px;
  font-weight: 800;
}

.loginInputWrap input {
  width: 100%;
  height: 58px;
  border: 1px solid #dce2ec;
  border-radius: 6px;
  background: #fff;
  color: #17223a;
  font: inherit;
  font-size: 15px;
  padding: 0 48px;
}

.loginInputWrap input:focus {
  border-color: #316df6;
  box-shadow: 0 0 0 3px rgba(49, 109, 246, 0.12);
  outline: none;
}

.loginTogglePw {
  position: absolute;
  right: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.loginFieldRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -2px 0 0;
}

.loginCheckbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a5570;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.loginCheckbox input {
  position: absolute;
  opacity: 0;
}

.loginCheckboxMark {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid #b9c2d2;
  border-radius: 4px;
  background: #fff;
}

.loginLink,
.loginLinkInline {
  border: 0;
  background: transparent;
  color: #316df6;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  padding: 0;
}

.loginSubmit {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(180deg, #3774ff, #2259ef);
  box-shadow: 0 12px 24px rgba(49, 109, 246, 0.25);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 0;
}

.loginDivider {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #a4adbd;
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}

.loginSocials {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-bottom: 0;
}

.loginSocialBtn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}

.loginRegister {
  color: #4b5570;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  margin: 0;
}

@media (max-width: 980px) {
  .loginFrame {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 560px);
    padding: 34px 0 74px;
  }

  .loginFrame::before,
  .loginIntro {
    display: none;
  }

  .loginCard {
    min-height: auto;
    padding: 36px 28px;
    border-radius: 20px;
  }

  .loginCardHeader {
    display: grid;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .loginFrame {
    grid-template-columns: minmax(360px, 0.8fr) minmax(380px, 460px);
    padding-top: 24px;
    padding-bottom: 44px;
  }

  .introCopy {
    margin-bottom: 18px;
  }

  .introCopy p {
    font-size: 24px;
  }

  .introCopy h1 {
    font-size: 34px;
  }

  .featureList {
    gap: 12px;
    margin-bottom: 14px;
  }

  .featureItem p {
    line-height: 1.35;
  }

  .dashboardArt {
    height: 190px;
    transform: scale(0.66);
  }

  .loginCard {
    padding: 32px 40px 30px;
    border-radius: 20px;
  }

  .loginCardHeader {
    margin-bottom: 18px;
  }

  .loginForm {
    gap: 12px;
  }

  .loginInputWrap input,
  .loginSubmit {
    height: 46px;
  }

  .loginSocialBtn {
    width: 38px;
    height: 38px;
  }

  .demoAccountRow,
  .loginRegister {
    display: none;
  }
}

@media (max-height: 640px) and (min-width: 981px) {
  .dashboardArt {
    display: none;
  }

  .loginFooter {
    display: none;
  }
}

@media (max-width: 560px) {
  .loginFrame {
    width: min(100% - 24px, 520px);
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .loginCard {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .loginCardHeader h2 {
    font-size: 26px;
  }

  .loginCardHeader p {
    font-size: 14px;
  }

  .loginFieldRow {
    align-items: flex-start;
    gap: 12px;
  }

  .loginSocials {
    gap: 28px;
  }

  .loginFooter {
    position: static;
    margin-top: 18px;
  }
}

/* Final adaptive login sizing overrides. */
.loginCard {
  min-height: 720px;
  padding: clamp(36px, 5.2vh, 52px) clamp(34px, 4.6vw, 54px) clamp(28px, 3.8vh, 38px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow:
    0 24px 60px rgba(15, 35, 78, 0.14),
    0 8px 20px rgba(15, 35, 78, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.loginCardHeader {
  margin-bottom: clamp(16px, 2.8vh, 26px);
}

.loginForm {
  gap: clamp(10px, 1.8vh, 16px);
}

.loginInputWrap input,
.loginSubmit {
  height: clamp(44px, 5.7vh, 50px);
}

.loginDivider {
  margin-top: 2px;
}

.loginSocials {
  gap: 34px;
}

.demoAccountRow {
  display: none;
}

.loginFooter {
  bottom: clamp(8px, 1.6vh, 16px);
}

@media (min-width: 981px) and (max-height: 820px) {
  .loginFrame {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .loginIntro {
    min-height: calc(100svh - 74px);
  }

  .introCopy {
    margin-bottom: 16px;
  }

  .featureList {
    gap: 12px;
    margin-bottom: 12px;
  }

  .dashboardArt {
    height: 165px;
    transform: scale(0.6);
  }

  .loginCard {
    min-height: 0;
    padding: 26px 38px 24px;
    border-radius: 20px;
  }

  .loginCardHeader {
    margin-bottom: 14px;
  }

  .loginCardHeader h2 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .loginCardHeader p {
    font-size: 14px;
  }

  .loginForm {
    gap: 10px;
  }

  .loginInputWrap input,
  .loginSubmit {
    height: 44px;
  }

  .loginDivider,
  .loginSocials,
  .loginRegister,
  .loginFooter {
    display: none;
  }

  .loginSocialBtn {
    width: 36px;
    height: 36px;
  }

  .loginRegister {
    font-size: 13px;
  }
}

/* ===== ADMIN DASHBOARD LAYOUT ===== */

.adminShell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 240px;
  background: #0f1724;
  color: #e2e8f0;
  transition: width 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar.collapsed {
  width: 64px;
}

.sidebarLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.sidebarNav {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
  gap: 4px;
  flex: 1 1;
}

.sidebarLink {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.sidebarLink:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.sidebarLink.active {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.sidebarLinkText {
  white-space: nowrap;
}

.sidebarToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 220px;
  margin: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.sidebarToggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.2);
}

.sidebar.collapsed .sidebarToggle {
  width: 40px;
  margin: 8px;
}

/* -- Sidebar icons (CSS pseudo-element) -- */
.iconData::before {
  content: "";
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(#316df6, #316df6) 2px 5px / 3px 5px no-repeat,
    linear-gradient(#316df6, #316df6) 7px 3px / 3px 7px no-repeat,
    linear-gradient(#316df6, #316df6) 12px 1px / 3px 9px no-repeat;
}

.iconCustomer::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 4px 0 0 currentColor;
}

.iconSettings::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.iconSettings::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.iconUsers::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.iconUsers::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 6px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

/* -- Main content area -- */
.adminContent {
  display: flex;
  flex-direction: column;
  flex: 1 1;
  min-width: 0;
}

.adminHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: var(--panel);
  flex-shrink: 0;
}

.headerBreadcrumb {
  color: var(--foreground);
  font-size: 15px;
  font-weight: 700;
}

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

.headerUser {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.headerLogout {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  transition: background 0.15s, color 0.15s;
}

.headerLogout:hover {
  background: var(--danger-soft);
  color: #be123c;
  border-color: transparent;
}

.adminMain {
  flex: 1 1;
  padding: 28px 24px;
}

/* -- Dashboard stats grid -- */
.dashboardHeader {
  margin-bottom: 24px;
}

.dashboardHeader h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
}

.dashboardHeader p {
  color: var(--muted);
  margin: 0;
}

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

.statCard {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 22px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.statCard span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.statCard strong {
  display: block;
  margin-top: 14px;
  font-size: 32px;
  font-weight: 800;
}

.statCard p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.statCardAccent strong {
  color: var(--accent);
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    width: 240px;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  }

  .sidebar.collapsed {
    transform: translateX(-100%);
    width: 240px;
  }

  .statsGrid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {
  .statsGrid {
    grid-template-columns: 1fr;
  }

  .adminMain {
    padding: 20px 16px;
  }
}

/* ===== PERSONAL BRAND HOME ===== */

.personalPage {
  position: relative;
  --pointer-x: 0;
  --pointer-y: 0;
  --personal-page-text: #1d2340;
  --personal-heading: #1e2544;
  --personal-muted: #596174;
  --personal-link: #3b415c;
  --personal-panel: rgba(255, 255, 255, 0.64);
  --personal-card: rgba(255, 255, 255, 0.86);
  --personal-border: rgba(232, 231, 241, 0.86);
  --personal-shell: rgba(255, 255, 255, 0.72);
  --personal-soft-line: #eceef6;
  min-height: 100vh;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at 5% 35%, rgba(179, 129, 255, 0.2), transparent 15%),
    radial-gradient(circle at 95% 70%, rgba(238, 210, 255, 0.55), transparent 18%),
    linear-gradient(135deg, #fffafc 0%, #f8f2ff 36%, #eef8ff 72%, #fff7fb 100%);
  color: var(--personal-page-text);
  font-family: Arial, Helvetica, sans-serif;
  perspective: 1400px;
  transition: background 0.28s ease, color 0.28s ease;
}

.personalPage[data-theme="dark"] {
  --personal-page-text: #eef1ff;
  --personal-heading: #f7f3ff;
  --personal-muted: #c0c6dc;
  --personal-link: #dce2ff;
  --personal-panel: rgba(31, 32, 55, 0.68);
  --personal-card: rgba(39, 40, 67, 0.78);
  --personal-border: rgba(139, 145, 190, 0.28);
  --personal-shell: rgba(25, 26, 48, 0.78);
  --personal-soft-line: rgba(139, 145, 190, 0.22);
  background:
    radial-gradient(circle at 5% 35%, rgba(153, 112, 255, 0.22), transparent 17%),
    radial-gradient(circle at 95% 70%, rgba(115, 185, 255, 0.18), transparent 20%),
    linear-gradient(135deg, #17162a 0%, #211d38 38%, #172a3d 72%, #2a1d34 100%);
}

.personalShell {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  background: var(--personal-shell);
  box-shadow: 0 30px 80px rgba(69, 54, 114, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  transform:
    rotateX(calc(var(--pointer-y) * -1.6deg))
    rotateY(calc(var(--pointer-x) * 1.8deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.personalPage[data-theme="dark"] .personalShell {
  border-color: rgba(180, 185, 226, 0.2);
  box-shadow: 0 30px 90px rgba(4, 6, 20, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.personalShell::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 27px;
  background:
    radial-gradient(circle at calc(50% + var(--pointer-x) * 80%) calc(20% + var(--pointer-y) * 70%), rgba(255, 255, 255, 0.8), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 42%);
  opacity: 0.72;
  pointer-events: none;
}

.personalOrb,
.personalPebble {
  position: absolute;
  pointer-events: none;
  filter: blur(0.1px);
}

.personalOrb {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  box-shadow: 0 26px 50px rgba(132, 93, 206, 0.22);
  animation: personalFloat 8s ease-in-out infinite;
  transform: translate3d(calc(var(--pointer-x) * -24px), calc(var(--pointer-y) * -18px), 0);
}

.personalOrbLeft {
  left: -18px;
  top: 120px;
  background: radial-gradient(circle at 35% 28%, #ffffff 0 8%, #eacaff 22%, #9d73dc 70%, #7651c8 100%);
}

.personalOrbRight {
  right: 58px;
  bottom: 110px;
  width: 116px;
  height: 116px;
  background: radial-gradient(circle at 36% 24%, #ffffff 0 9%, #f6e4ff 28%, #d6c6ff 72%, #b09cff 100%);
  opacity: 0.5;
  animation-delay: -3s;
}

.personalPebble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6ce 0 12%, #ffb45e 54%, #ca7132 100%);
  box-shadow: 0 14px 26px rgba(226, 141, 68, 0.26);
  animation: personalFloat 7s ease-in-out infinite;
}

.personalPebbleOne {
  left: 32px;
  bottom: 37%;
}

.personalPebbleTwo {
  right: 11%;
  top: 11%;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffddf0, #e5c6ff);
  box-shadow: 0 24px 48px rgba(222, 158, 216, 0.28);
  transform: rotate(16deg);
  animation-delay: -1.7s;
}

.personalNav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 28px;
  gap: 28px;
  min-height: 84px;
  padding: 0 52px;
}

.personalBrand,
.personalLinks,
.personalNavActions,
.personalHeroActions,
.personalStats,
.personalSectionHead,
.personalTagRow,
.personalFooter,
.personalFooter div {
  display: flex;
  align-items: center;
}

.personalBrand {
  gap: 12px;
}

.personalLogo {
  width: 28px;
  height: 32px;
  border-radius: 6px 6px 8px 8px;
  background:
    linear-gradient(180deg, #ffabc8 0 34%, transparent 34%),
    linear-gradient(135deg, #8e7dff, #86d7ff);
  box-shadow: 0 10px 22px rgba(124, 112, 240, 0.24);
}

.personalBrand strong {
  font-size: 16px;
  letter-spacing: 0;
  color: var(--personal-heading);
}

.personalCodeBadge {
  border-radius: 8px;
  background: #fff0f8;
  color: #b37aaa;
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 7px;
}

.personalPage[data-theme="dark"] .personalCodeBadge {
  background: rgba(247, 198, 255, 0.14);
  color: #f0c9ff;
}

.personalLinks {
  justify-content: center;
  gap: 44px;
}

.personalLinks a {
  position: relative;
  color: var(--personal-link);
  font-size: 14px;
  font-weight: 800;
  padding: 29px 0 24px;
}

.personalLinks a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: #5b8dff;
  transform: translateX(-50%);
}

.personalNavActions {
  justify-content: flex-end;
  gap: 16px;
}

.personalIconButton {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(214, 219, 234, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #6b728a;
  cursor: pointer;
  font: inherit;
}

.personalThemeToggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.24s ease, background 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.personalThemeToggle:hover {
  border-color: rgba(157, 145, 255, 0.8);
  transform: translateY(-2px);
}

.personalThemeGlyph {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.personalThemeDot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #89d9ff, #8e7dff);
  box-shadow: 0 0 14px rgba(137, 217, 255, 0.7);
  transition: transform 0.24s ease, background 0.24s ease;
}

.personalPage[data-theme="dark"] .personalThemeToggle {
  border-color: rgba(159, 168, 224, 0.35);
  background: rgba(42, 43, 72, 0.84);
  color: #f7f3ff;
}

.personalPage[data-theme="dark"] .personalThemeDot {
  background: linear-gradient(135deg, #f7c6ff, #9aa8ff);
  transform: translate(-18px, -18px) scale(1.15);
}

.personalAvatar {
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 33%, #25304b 0 13%, transparent 14%),
    radial-gradient(circle at 50% 100%, #2f3856 0 35%, transparent 36%),
    linear-gradient(145deg, #ffe5d9, #f6b99f);
  box-shadow: 0 12px 22px rgba(59, 65, 92, 0.12);
}

.personalPage[data-theme="dark"] .personalAvatar {
  border-color: rgba(245, 240, 255, 0.5);
  box-shadow: 0 12px 26px rgba(5, 7, 20, 0.28);
}

.personalHero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1fr);
  grid-gap: 36px;
  gap: 36px;
  align-items: center;
  min-height: 340px;
  padding: 42px 64px 28px;
}

.personalHeroCopy h1 {
  margin: 0 0 18px;
  color: var(--personal-heading);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.personalHeroCopy p {
  max-width: 480px;
  color: var(--personal-muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
}

.personalHeroActions {
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.personalPrimaryCta,
.personalSecondaryCta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 900;
  padding: 0 28px;
}

.personalPrimaryCta {
  background: linear-gradient(135deg, #6c5df7, #6e8cff 45%, #f48abe);
  color: #fff;
  box-shadow: 0 18px 32px rgba(131, 105, 238, 0.28);
}

.personalSecondaryCta {
  border: 1px solid rgba(209, 216, 232, 0.96);
  background: rgba(255, 255, 255, 0.78);
  color: #3d455e;
  box-shadow: 0 14px 28px rgba(70, 76, 110, 0.08);
}

.personalPage[data-theme="dark"] .personalSecondaryCta {
  border-color: rgba(159, 168, 224, 0.34);
  background: rgba(43, 44, 75, 0.78);
  color: #eef1ff;
  box-shadow: 0 14px 30px rgba(5, 7, 20, 0.26);
}

.personalStats {
  gap: 0;
  margin-top: 38px;
}

.personalStat {
  min-width: 96px;
  border-right: 1px solid var(--personal-soft-line);
  padding: 0 22px;
  text-align: center;
}

.personalStat:first-child {
  padding-left: 0;
}

.personalStat:last-child {
  border-right: 0;
}

.personalStat span {
  display: block;
  color: #7f879a;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 7px;
}

.personalStat strong {
  color: var(--personal-heading);
  font-size: 18px;
  font-weight: 900;
}

.personalHeroArt {
  min-height: 310px;
  transform:
    translate3d(calc(var(--pointer-x) * 18px), calc(var(--pointer-y) * 12px), 42px)
    rotateY(calc(var(--pointer-x) * -5deg))
    rotateX(calc(var(--pointer-y) * 4deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.personalArtStage {
  position: relative;
  height: 330px;
  transform-style: preserve-3d;
}

.personalArtStage::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 8%;
  bottom: 16px;
  height: 76px;
  border-radius: 50%;
  background: rgba(151, 143, 209, 0.16);
  filter: blur(16px);
}

.personalCodeWindow {
  position: absolute;
  left: 21%;
  top: 12px;
  z-index: 2;
  width: 300px;
  height: 190px;
  border: 1px solid rgba(192, 192, 250, 0.85);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 243, 255, 0.88));
  box-shadow: 18px 20px 44px rgba(126, 112, 205, 0.22), inset -8px -8px 20px rgba(133, 126, 255, 0.12);
  transform: perspective(900px) rotateY(-8deg) rotateX(5deg);
  animation: personalHoverWindow 6.5s ease-in-out infinite;
}

.personalPage[data-theme="dark"] .personalCodeWindow {
  border-color: rgba(168, 174, 229, 0.32);
  background: linear-gradient(145deg, rgba(47, 48, 82, 0.92), rgba(28, 31, 58, 0.82));
  box-shadow: 18px 20px 50px rgba(5, 7, 20, 0.32), inset -8px -8px 20px rgba(116, 105, 255, 0.08);
}

.personalWindowDots {
  display: flex;
  gap: 7px;
  padding: 16px 0 0 18px;
}

.personalWindowDots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff9dc4;
}

.personalWindowDots span:nth-child(2) {
  background: #ffc8e0;
}

.personalWindowDots span:nth-child(3) {
  background: #d5dcff;
}

.personalCodeWindow pre {
  margin: 18px 0 0;
  padding-left: 34px;
  color: #6b6f86;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.personalPage[data-theme="dark"] .personalCodeWindow pre {
  color: #e9e7ff;
}

.personalWave {
  position: absolute;
  left: 22%;
  bottom: 52px;
  z-index: 3;
  width: 420px;
  height: 130px;
  border-radius: 50% 45% 48% 42%;
  background: linear-gradient(125deg, #fff4d7 0 18%, #ffbfd6 31%, #af6dff 58%, #7dc7ff 82%, #d6f4ff 100%);
  box-shadow: inset 0 12px 18px rgba(255, 255, 255, 0.6), 0 28px 42px rgba(118, 103, 226, 0.24);
  -webkit-clip-path: path("M 15 78 C 84 6, 134 114, 210 56 C 278 5, 317 22, 402 98 C 318 119, 220 120, 122 104 C 67 94, 35 90, 15 78 Z");
          clip-path: path("M 15 78 C 84 6, 134 114, 210 56 C 278 5, 317 22, 402 98 C 318 119, 220 120, 122 104 C 67 94, 35 90, 15 78 Z");
  transform: translateZ(72px) rotateX(2deg);
  animation: personalWaveFloat 5.8s ease-in-out infinite;
}

.personalKeyboard {
  position: absolute;
  left: 13%;
  bottom: 48px;
  z-index: 2;
  width: 155px;
  height: 48px;
  border-radius: 12px;
  background:
    linear-gradient(#e9e8f7, #e9e8f7) 15px 12px / 18px 6px no-repeat,
    linear-gradient(#e9e8f7, #e9e8f7) 40px 12px / 18px 6px no-repeat,
    linear-gradient(#e9e8f7, #e9e8f7) 65px 12px / 18px 6px no-repeat,
    linear-gradient(#e9e8f7, #e9e8f7) 90px 12px / 18px 6px no-repeat,
    linear-gradient(#e9e8f7, #e9e8f7) 28px 27px / 78px 7px no-repeat,
    #ffffff;
  box-shadow: 0 16px 30px rgba(99, 88, 160, 0.16);
  transform: perspective(600px) rotateX(55deg) rotateZ(-2deg);
  animation: personalKeyboardDrift 7s ease-in-out infinite;
}

.personalCodeTile {
  position: absolute;
  left: 6%;
  top: 88px;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f0edff);
  color: #9486aa;
  font-family: "Courier New", monospace;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 20px 36px rgba(96, 84, 160, 0.16), inset -8px -8px 18px rgba(130, 116, 209, 0.12);
  transform: rotate(-8deg);
  animation: personalTileFloat 5.5s ease-in-out infinite;
}

.personalSphere {
  position: absolute;
  z-index: 4;
  border-radius: 50%;
}

.personalSpherePink {
  right: 15%;
  top: 74px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 35% 28%, #fff 0 8%, #ffc7dc 28%, #e773c4 78%, #bb5cba 100%);
  box-shadow: 0 16px 30px rgba(214, 104, 185, 0.24);
  transform: translateZ(110px);
  animation: personalFloat 5.8s ease-in-out infinite;
}

.personalSphereBlue {
  left: 8%;
  bottom: 48px;
  width: 34px;
  height: 34px;
  background: radial-gradient(circle at 34% 28%, #fff 0 8%, #f3edf8 32%, #cfc6e7 80%);
  box-shadow: 0 14px 24px rgba(97, 87, 139, 0.16);
  transform: translateZ(40px);
  animation: personalFloat 6.4s ease-in-out infinite reverse;
}

.personalCube {
  position: absolute;
  right: 4%;
  top: 150px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d9caff, #a692f5 48%, #f4f0ff);
  box-shadow: 0 18px 34px rgba(139, 120, 217, 0.23);
  transform: rotate(16deg) skew(-8deg);
  animation: personalCubeSpin 8s ease-in-out infinite;
}

.personalPanel {
  margin: 0 26px;
  border: 1px solid var(--personal-border);
  border-radius: 22px;
  background: var(--personal-panel);
  box-shadow: 0 24px 54px rgba(78, 71, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 18px 32px 24px;
}

.personalSectionHead {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.personalSectionHead h2 {
  margin: 0;
  color: var(--personal-heading);
  font-size: 19px;
  font-weight: 900;
}

.personalSectionHead a {
  color: #626b85;
  font-size: 13px;
  font-weight: 900;
}

.personalWorkGrid,
.personalVideoGrid {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
}

.personalWorkGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.personalWorkCard,
.personalVideoCard {
  overflow: hidden;
  border: 1px solid var(--personal-border);
  border-radius: 16px;
  background: var(--personal-card);
  box-shadow: 0 18px 38px rgba(75, 71, 109, 0.1);
  transform: translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.personalWorkCard:hover,
.personalVideoCard:hover,
.personalCatalogCard:hover,
.personalSourceCard:hover,
.personalVideoFeature:hover,
.personalThought:hover,
.personalAboutCard:hover {
  border-color: rgba(199, 193, 255, 0.95);
  box-shadow: 0 26px 54px rgba(91, 79, 145, 0.16);
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg) translateZ(28px);
}

.personalWorkImage {
  position: relative;
  height: 120px;
  background: #f4f0ff;
  transform-style: preserve-3d;
}

.personalWorkImage::before {
  content: "";
  position: absolute;
  inset: 16px 22px auto auto;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(187, 174, 255, 0.78));
  box-shadow: 0 16px 26px rgba(120, 105, 205, 0.18);
  transform: translateZ(34px) rotate(14deg);
  animation: personalMicroBob 5.2s ease-in-out infinite;
}

.personalWorkImage1 {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), transparent 58%),
    linear-gradient(135deg, #efe8ff, #f7fbff);
}

.personalWorkImage1::after,
.personalWorkImage2::after,
.personalWorkImage3::after {
  content: "";
  position: absolute;
  inset: 18px 28px auto 76px;
  height: 70px;
  border-radius: 12px;
  background:
    linear-gradient(#e0dcfb, #e0dcfb) 16px 14px / 55% 8px no-repeat,
    linear-gradient(#d3dcff, #d3dcff) 16px 32px / 76% 7px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.45));
  box-shadow: inset 0 1px 0 #fff;
}

.personalWorkImage2 {
  background: linear-gradient(135deg, #7e63ff, #d8c8ff 52%, #f2e4ff);
}

.personalWorkImage3 {
  background:
    radial-gradient(circle at 20% 18%, #ffd7e4 0 6%, transparent 7%),
    radial-gradient(circle at 70% 40%, #b9a8ff 0 11%, transparent 12%),
    linear-gradient(135deg, #e4f2ff, #f7e9ff);
}

.personalWorkIcon {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 900;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(37, 42, 80, 0.18);
  transform: translateZ(48px);
}

.personalWorkIcon img,
.personalProjectIcon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: inherit;
  background: transparent;
  object-fit: contain;
  z-index: 3;
}

.personalWorkIcon.hasLogo {
  background: transparent;
  box-shadow: 0 14px 26px rgba(37, 42, 80, 0.18);
}

.personalConfiguredIcon {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: inherit;
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.personalWorkIcon.robot {
  background: linear-gradient(145deg, #496dff, #c7d6ff);
  font-size: 28px;
}

.personalWorkIcon.bolt {
  background: linear-gradient(145deg, #222a58, #5261bc);
  font-size: 28px;
}

.personalWorkIcon.code {
  background: linear-gradient(145deg, #f9f4ff, #9b8cff);
  color: #8275d9;
  font-family: "Courier New", monospace;
  font-size: 17px;
}

.personalWorkBody {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 8px 12px;
  gap: 8px 12px;
  padding: 14px 16px 16px;
}

.personalWorkBody h3,
.personalProjectRow h3,
.personalVideoCard h3 {
  margin: 0;
  color: var(--personal-heading);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.personalWorkBody p,
.personalProjectRow p,
.personalVideoCard p {
  margin-top: 5px;
  color: var(--personal-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.personalTagRow {
  flex-wrap: wrap;
  gap: 8px;
}

.personalWorkBody .personalTagRow {
  grid-column: 1;
}

.personalTagRow span {
  border-radius: 999px;
  background: #eef0ff;
  color: #756ee0;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 9px;
}

.personalPage[data-theme="dark"] .personalTagRow span {
  background: rgba(151, 145, 255, 0.18);
  color: #d7d2ff;
}

.personalCardArrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #e3e6ef;
  border-radius: 50%;
  color: #626b85;
}

.personalMidGrid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}

.personalMidGrid .personalPanel {
  margin: 0;
}

.personalMidGrid {
  padding: 0 26px;
}

.personalProjects {
  padding-bottom: 18px;
}

.personalProjectList {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.personalProjectRow {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
  min-height: 74px;
  border-bottom: 1px solid var(--personal-soft-line);
  padding: 14px 2px;
}

.personalProjectRow:last-child {
  border-bottom: 0;
}

.personalProjectIcon {
  position: relative;
  align-self: start;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  overflow: hidden;
}

.personalProjectCopy {
  min-width: 0;
}

.personalProjectRow h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personalProjectRow p {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.personalProjectIcon1 {
  background: linear-gradient(145deg, #d8e4ff, #5d73d8);
}

.personalProjectIcon2 {
  background: linear-gradient(145deg, #cae0ff, #4667ec);
}

.personalProjectIcon3 {
  background: linear-gradient(145deg, #bdf3c8, #35b965);
}

.personalProjectRow strong {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin-top: 2px;
  color: #747c94;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.personalPage[data-theme="dark"] .personalProjectRow strong,
.personalPage[data-theme="dark"] .personalSectionHead a,
.personalPage[data-theme="dark"] .personalFooter a,
.personalPage[data-theme="dark"] .personalFooter strong {
  color: #d8ddf4;
}

.personalVideoGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.personalVideoCard {
  padding-bottom: 14px;
}

.personalVideoThumb {
  position: relative;
  display: grid;
  place-items: center;
  height: 104px;
  margin-bottom: 12px;
  overflow: hidden;
}

.personalVideoThumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    radial-gradient(circle at 75% 20%, rgba(255, 217, 239, 0.84) 0 8%, transparent 9%);
}

.personalVideoThumb.purple {
  background: linear-gradient(135deg, #32274b, #b595c9);
}

.personalVideoThumb.navy {
  background: linear-gradient(135deg, #0b1834, #274d84);
}

.personalVideoThumb.blue {
  background: linear-gradient(135deg, #8fb2ff, #c8bcff 52%, #f3d8ff);
}

.personalVideoThumb button {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(37, 40, 63, 0.68);
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding-left: 4px;
}

.personalVideoThumb span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 1;
  border-radius: 6px;
  background: rgba(18, 22, 40, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 6px;
}

.personalVideoCard h3,
.personalVideoCard p {
  padding: 0 12px;
}

.personalFooter {
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 0 52px;
  color: var(--personal-muted);
  font-size: 13px;
  font-weight: 800;
}

.personalFooter strong {
  color: #7d8294;
  font-weight: 900;
}

.personalFooter div {
  gap: 24px;
}

.personalFooter a {
  color: #566078;
  font-weight: 900;
}

.personalInnerHero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  grid-gap: 42px;
  gap: 42px;
  align-items: center;
  min-height: 250px;
  padding: 48px 64px 34px;
}

.personalInnerHero h1 {
  max-width: 720px;
  margin: 10px 0 16px;
  color: var(--personal-heading);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.16;
}

.personalInnerHero p {
  max-width: 690px;
  color: var(--personal-muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.personalPageEyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(238, 240, 255, 0.88);
  color: #746ce1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 12px;
}

.personalPage[data-theme="dark"] .personalPageEyebrow {
  background: rgba(151, 145, 255, 0.18);
  color: #ddd8ff;
}

.personalMiniArt {
  position: relative;
  height: 210px;
  transform:
    translate3d(calc(var(--pointer-x) * 14px), calc(var(--pointer-y) * 10px), 34px)
    rotateY(calc(var(--pointer-x) * -5deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}

.personalMiniWindow {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 210px;
  height: 135px;
  border: 1px solid rgba(207, 207, 246, 0.86);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 244, 255, 0.82));
  box-shadow: 0 24px 46px rgba(109, 96, 185, 0.16), inset -8px -8px 20px rgba(133, 126, 255, 0.1);
  transform: rotate(-4deg);
  animation: personalHoverWindow 6.5s ease-in-out infinite;
}

.personalPage[data-theme="dark"] .personalMiniWindow {
  border-color: rgba(168, 174, 229, 0.32);
  background: linear-gradient(145deg, rgba(47, 48, 82, 0.92), rgba(28, 31, 58, 0.82));
  box-shadow: 0 24px 52px rgba(5, 7, 20, 0.28), inset -8px -8px 20px rgba(116, 105, 255, 0.08);
}

.personalMiniWindow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 18px 0 0 7px;
  border-radius: 50%;
  background: #ffafd0;
}

.personalMiniWindow span:first-child {
  margin-left: 18px;
}

.personalMiniWindow strong {
  display: grid;
  place-items: center;
  height: 82px;
  color: #8e82e4;
  font-family: "Courier New", monospace;
  font-size: 34px;
}

.personalPage[data-theme="dark"] .personalMiniWindow strong {
  color: #e9e7ff;
}

.personalMiniSphere {
  position: absolute;
  right: 4px;
  bottom: 32px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff 0 8%, #ffc3dd 28%, #e36fc7 78%, #ae63d4 100%);
  box-shadow: 0 18px 34px rgba(214, 104, 185, 0.24);
  transform: translateZ(86px);
  animation: personalFloat 5.6s ease-in-out infinite;
}

.personalMiniWave {
  position: absolute;
  right: 92px;
  bottom: 28px;
  width: 190px;
  height: 70px;
  border-radius: 999px;
  background: linear-gradient(125deg, #fff2cc, #ffaed1 34%, #946cff 62%, #79d0ff);
  box-shadow: 0 24px 38px rgba(118, 103, 226, 0.2);
  transform: rotate(-10deg);
  animation: personalWaveFloat 6s ease-in-out infinite;
}

.personalContentPanel {
  margin: 0 26px 18px;
  border: 1px solid var(--personal-border);
  border-radius: 22px;
  background: var(--personal-panel);
  box-shadow: 0 24px 54px rgba(78, 71, 112, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 28px 32px 34px;
}

.personalFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.personalFilterBar span,
.personalSourceStats span,
.personalPrinciples span {
  border: 1px solid var(--personal-border);
  border-radius: 999px;
  background: var(--personal-card);
  color: var(--personal-muted);
  font-size: 13px;
  font-weight: 900;
  padding: 9px 13px;
}

.personalFilterBar span:first-child {
  border-color: transparent;
  background: linear-gradient(135deg, #6c5df7, #f48abe);
  color: #fff;
}

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

.personalCatalogCard,
.personalSourceCard,
.personalVideoFeature,
.personalThought,
.personalAboutCard {
  border: 1px solid var(--personal-border);
  border-radius: 18px;
  background: var(--personal-card);
  box-shadow: 0 18px 38px rgba(75, 71, 109, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.personalCatalogCard {
  overflow: hidden;
}

.personalCatalogBody {
  display: grid;
  grid-gap: 13px;
  gap: 13px;
  padding: 18px;
}

.personalMetaLine {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.personalMetaLine span {
  border-radius: 999px;
  background: #f1f3ff;
  color: #747ce0;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
}

.personalPage[data-theme="dark"] .personalMetaLine span {
  background: rgba(151, 145, 255, 0.16);
  color: #d7d2ff;
}

.personalCatalogBody h2,
.personalSourceCard h2,
.personalVideoFeature h2,
.personalAboutCard h2 {
  margin: 0;
  color: var(--personal-heading);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
}

.personalCatalogBody p,
.personalSourceCard p,
.personalVideoFeature p,
.personalAboutCard p {
  color: var(--personal-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.personalInlineLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: -moz-fit-content;
  width: fit-content;
  color: #6f63df;
  font-size: 14px;
  font-weight: 900;
}

.personalSourceLayout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-gap: 24px;
  gap: 24px;
}

.personalSourceLead {
  min-height: 360px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 183, 222, 0.5), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(241, 238, 255, 0.72));
  padding: 24px;
}

.personalSourceLead h2 {
  margin: 0 0 14px;
  color: #202742;
  font-size: 22px;
}

.personalSourceLead p {
  color: #646c82;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.personalSourceStats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.personalSourceList {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.personalSourceCard {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
  padding: 18px;
}

.personalReason {
  margin-top: 8px;
  color: #8a6adf !important;
}

.personalRoundLink {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e3e6ef;
  border-radius: 50%;
  color: #626b85;
}

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

.personalVideoFeature {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  padding: 14px;
}

.personalVideoFeature .personalVideoThumb {
  height: 138px;
  margin-bottom: 0;
  border-radius: 15px;
}

.personalVideoThumb.pink {
  background: linear-gradient(135deg, #ffb4d4, #c7b8ff 56%, #ecf8ff);
}

.personalVideoThumb.mint {
  background: linear-gradient(135deg, #bff5df, #9ec8ff 56%, #f8ddff);
}

.personalVideoThumb.violet {
  background: linear-gradient(135deg, #5a42b8, #b688ff 52%, #ffd2ef);
}

.personalMasonry {
  columns: 4 230px;
  column-gap: 18px;
}

.personalThought {
  display: inline-block;
  width: 100%;
  page-break-inside: avoid;
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 20px;
}

.personalThought.pinned {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 192, 224, 0.42), transparent 24%),
    rgba(255, 255, 255, 0.88);
}

.personalThoughtMark {
  color: #b8acef;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 14px;
}

.personalThought p {
  color: #303854;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.75;
  margin-bottom: 16px;
}

.personalThoughtFoot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #858da1;
  font-size: 12px;
  font-weight: 900;
}

.personalAboutGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-gap: 20px;
  gap: 20px;
}

.personalAboutCard {
  padding: 24px;
}

.personalAboutIntro {
  grid-row: span 2;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 182, 222, 0.4), transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(240, 238, 255, 0.72));
}

.personalAboutAvatar {
  width: 88px;
  height: 88px;
  border: 5px solid #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 33%, #25304b 0 13%, transparent 14%),
    radial-gradient(circle at 50% 100%, #2f3856 0 35%, transparent 36%),
    linear-gradient(145deg, #ffe5d9, #f6b99f);
  box-shadow: 0 18px 34px rgba(59, 65, 92, 0.14);
  margin-bottom: 22px;
}

.personalAboutActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.personalPrinciples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.personalTimeline {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.personalTimelineItem {
  border-left: 3px solid #d7d2ff;
  padding-left: 14px;
}

.personalTimelineItem strong {
  color: #746ce1;
  font-size: 13px;
}

.personalTimelineItem p {
  margin-top: 5px;
}

.personalContactCard {
  grid-column: 1 / -1;
}

@keyframes personalFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes personalHoverWindow {
  0%,
  100% {
    transform: perspective(900px) rotateY(-8deg) rotateX(5deg) translate3d(0, 0, 48px);
  }

  50% {
    transform: perspective(900px) rotateY(-4deg) rotateX(7deg) translate3d(0, -10px, 68px);
  }
}

@keyframes personalWaveFloat {
  0%,
  100% {
    translate: 0 0;
    filter: saturate(1);
  }

  50% {
    translate: 0 -8px;
    filter: saturate(1.14);
  }
}

@keyframes personalKeyboardDrift {
  0%,
  100% {
    transform: perspective(600px) rotateX(55deg) rotateZ(-2deg) translate3d(0, 0, 18px);
  }

  50% {
    transform: perspective(600px) rotateX(58deg) rotateZ(-4deg) translate3d(8px, -4px, 28px);
  }
}

@keyframes personalTileFloat {
  0%,
  100% {
    transform: translateZ(80px) rotate(-8deg);
  }

  50% {
    transform: translateZ(100px) rotate(-3deg) translateY(-10px);
  }
}

@keyframes personalCubeSpin {
  0%,
  100% {
    transform: translateZ(92px) rotate(16deg) skew(-8deg);
  }

  50% {
    transform: translateZ(118px) rotate(32deg) skew(-8deg) translateY(-10px);
  }
}

@keyframes personalMicroBob {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@media (max-width: 1080px) {
  .personalNav {
    grid-template-columns: 1fr auto;
    padding: 0 28px;
  }

  .personalLinks {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .personalLinks a {
    padding: 0 0 14px;
    white-space: nowrap;
  }

  .personalLinks a.active::after {
    bottom: 4px;
  }

  .personalHero {
    grid-template-columns: 1fr;
    padding: 34px 34px 24px;
  }

  .personalHeroArt {
    min-height: 280px;
    transform: none;
  }

  .personalArtStage {
    height: 300px;
    max-width: 620px;
    margin: 0 auto;
  }

  .personalMidGrid,
  .personalWorkGrid,
  .personalCatalogGrid,
  .personalVideoCatalog,
  .personalAboutGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .personalInnerHero,
  .personalSourceLayout {
    grid-template-columns: 1fr;
  }

  .personalMiniArt {
    display: none;
  }

  .personalPanel,
  .personalMidGrid,
  .personalContentPanel {
    margin-left: 18px;
    margin-right: 18px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .personalMidGrid {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .personalPage {
    padding: 10px;
  }

  .personalShell {
    border-radius: 22px;
  }

  .personalNav {
    min-height: auto;
    gap: 18px;
    padding: 20px 18px 0;
  }

  .personalHero {
    padding: 34px 18px 20px;
  }

  .personalInnerHero {
    padding: 34px 24px 24px;
  }

  .personalInnerHero h1 {
    font-size: 32px;
  }

  .personalHeroCopy h1 {
    font-size: 34px;
  }

  .personalHeroCopy p {
    font-size: 16px;
  }

  .personalHeroActions {
    gap: 10px;
    margin-top: 20px;
  }

  .personalPrimaryCta,
  .personalSecondaryCta {
    gap: 8px;
    min-height: 40px;
    border-radius: 8px;
    font-size: 13px;
    padding: 0 16px;
  }

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

  .personalStat {
    border-right: 0;
    padding: 0;
    text-align: left;
  }

  .personalArtStage {
    height: 260px;
    transform: scale(0.86);
    transform-origin: center top;
  }

  .personalWorkGrid,
  .personalMidGrid,
  .personalVideoGrid,
  .personalCatalogGrid,
  .personalVideoCatalog,
  .personalAboutGrid {
    grid-template-columns: 1fr;
  }

  .personalVideoFeature,
  .personalSourceCard {
    grid-template-columns: 1fr;
  }

  .personalVideoFeature .personalVideoThumb {
    min-height: 150px;
  }

  .personalPanel {
    margin: 0 10px;
    border-radius: 18px;
    padding: 18px 14px;
  }

  .personalMidGrid {
    margin: 16px 10px 0;
  }

  .personalSectionHead {
    align-items: flex-start;
  }

  .personalFooter {
    display: grid;
    justify-content: stretch;
    padding: 22px 24px;
    text-align: center;
  }

  .personalFooter div {
    justify-content: center;
  }

  .personalContentPanel {
    margin: 0 10px 16px;
    padding: 18px 14px;
  }

  .personalAboutIntro,
  .personalContactCard {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .personalShell,
  .personalHeroArt,
  .personalMiniArt,
  .personalOrb,
  .personalPebble,
  .personalCodeWindow,
  .personalWave,
  .personalKeyboard,
  .personalCodeTile,
  .personalSphere,
  .personalCube,
  .personalWorkImage::before,
  .personalMiniWindow,
  .personalMiniSphere,
  .personalMiniWave,
  .personalWorkCard,
  .personalVideoCard,
  .personalCatalogCard,
  .personalSourceCard,
  .personalVideoFeature,
  .personalThought,
  .personalAboutCard {
    animation: none !important;
    transition: none !important;
  }

  .personalShell,
  .personalHeroArt,
  .personalMiniArt,
  .personalWorkCard:hover,
  .personalVideoCard:hover,
  .personalCatalogCard:hover,
  .personalSourceCard:hover,
  .personalVideoFeature:hover,
  .personalThought:hover,
  .personalAboutCard:hover {
    transform: none !important;
  }
}

/* ===== PERSONAL CMS ADMIN ===== */

.cmsPage {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 12%, rgba(180, 146, 255, 0.22), transparent 18%),
    radial-gradient(circle at 92% 18%, rgba(255, 183, 222, 0.2), transparent 20%),
    linear-gradient(135deg, #f7f8ff 0%, #fff8fc 48%, #eef8ff 100%);
  color: #1d2340;
  font-family: Arial, Helvetica, sans-serif;
}

.cmsSidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: start;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  border-right: 1px solid rgba(224, 226, 239, 0.88);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 18px 0 44px rgba(74, 68, 112, 0.08);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  padding: 24px 18px;
}

.cmsBrand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px;
}

.cmsBrand > span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #ffabc8 0 34%, transparent 34%),
    linear-gradient(135deg, #8e7dff, #86d7ff);
  box-shadow: 0 12px 22px rgba(124, 112, 240, 0.24);
}

.cmsBrand strong,
.cmsCollectionHead h2,
.cmsEditorHead h2 {
  display: block;
  color: #1f2743;
  font-size: 17px;
  font-weight: 900;
}

.cmsBrand small,
.cmsCollectionHead p,
.cmsEditorHead p,
.cmsHeader p,
.cmsSidebarNote p {
  color: #6b7286;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.cmsNav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 24px;
}

.cmsNav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #444b63;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 12px;
  text-align: left;
}

.cmsNav button small {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  border-radius: 999px;
  background: #eef0ff;
  color: #756ee0;
  font-size: 12px;
}

.cmsNav button:hover,
.cmsNav button.active {
  border-color: rgba(206, 205, 244, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 26px rgba(75, 71, 109, 0.08);
}

.cmsSidebarNote {
  margin-top: auto;
  border: 1px solid rgba(226, 226, 241, 0.92);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 239, 255, 0.72));
  padding: 16px;
}

.cmsSidebarNote.warning {
  border-color: rgba(242, 203, 149, 0.95);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 224, 0.82));
}

.cmsSidebarNote strong {
  color: #756ee0;
  font-size: 14px;
}

.cmsMain {
  min-width: 0;
  padding: 30px;
}

.cmsHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.cmsEyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(238, 240, 255, 0.9);
  color: #746ce1;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 12px;
}

.cmsHeader h1 {
  margin: 12px 0 8px;
  color: #1e2544;
  font-size: 34px;
  font-weight: 900;
}

.cmsHeaderActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.cmsHeaderActions a,
.cmsHeaderActions button,
.cmsSaveButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  padding: 0 16px;
}

.cmsHeaderActions a {
  border: 1px solid rgba(212, 216, 232, 0.94);
  background: rgba(255, 255, 255, 0.8);
  color: #3d455e;
}

.cmsHeaderActions button,
.cmsSaveButton {
  background: linear-gradient(135deg, #6c5df7, #f48abe);
  color: #fff;
  box-shadow: 0 16px 30px rgba(131, 105, 238, 0.24);
}

.cmsHeaderActions button:disabled,
.cmsSaveButton:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.cmsStats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 20px;
}

.cmsMetric,
.cmsCollectionPanel,
.cmsEditorPanel {
  border: 1px solid rgba(230, 232, 242, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 38px rgba(75, 71, 109, 0.08);
}

.cmsMetric {
  min-height: 112px;
  padding: 20px;
}

.cmsMetric span {
  color: #6b7286;
  font-size: 12px;
  font-weight: 900;
}

.cmsMetric strong {
  display: block;
  margin-top: 14px;
  color: #1e2544;
  font-size: 32px;
  font-weight: 900;
}

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

.cmsCollectionPanel,
.cmsEditorPanel {
  min-width: 0;
  padding: 20px;
}

.cmsCollectionHead,
.cmsEditorHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.cmsFields,
.cmsTagList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmsFields span,
.cmsTagList span {
  border-radius: 999px;
  background: #eef0ff;
  color: #756ee0;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 9px;
}

.cmsToolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  grid-gap: 12px;
  gap: 12px;
  margin-bottom: 14px;
}

.cmsToolbar input,
.cmsToolbar select,
.cmsForm input,
.cmsForm select,
.cmsForm textarea {
  width: 100%;
  border: 1px solid rgba(213, 218, 234, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f2743;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  padding: 12px 13px;
}

.cmsToolbar input:focus,
.cmsToolbar select:focus,
.cmsForm input:focus,
.cmsForm select:focus,
.cmsForm textarea:focus {
  border-color: #9b8cff;
  box-shadow: 0 0 0 3px rgba(155, 140, 255, 0.14);
}

.cmsTable {
  overflow: hidden;
  border: 1px solid rgba(230, 232, 242, 0.9);
  border-radius: 14px;
}

.cmsTableHead,
.cmsRow {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) 96px minmax(150px, 0.8fr) 100px 128px;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.cmsTableHead {
  background: rgba(242, 244, 252, 0.92);
  color: #778096;
  font-size: 12px;
  font-weight: 900;
}

.cmsRow {
  border-top: 1px solid rgba(230, 232, 242, 0.9);
  background: rgba(255, 255, 255, 0.62);
}

.cmsRow.selected {
  background: rgba(240, 238, 255, 0.82);
}

.cmsRow strong {
  color: #202742;
  font-size: 14px;
  font-weight: 900;
}

.cmsRow p {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: #697187;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cmsRow time {
  color: #737b91;
  font-size: 12px;
  font-weight: 900;
}

.cmsJustSaved {
  color: #1d8a58 !important;
}

.cmsStatus {
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
}

.cmsStatus.featured {
  background: #f1eaff;
  color: #805de3;
}

.cmsStatus.published {
  background: #e8f7ef;
  color: #1d8a58;
}

.cmsStatus.draft {
  background: #fff4dc;
  color: #af6a12;
}

.cmsRowActions {
  display: flex;
  gap: 8px;
}

.cmsRowActions button {
  border: 1px solid rgba(218, 222, 237, 0.95);
  border-radius: 8px;
  background: #fff;
  color: #4d566e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.cmsRowActions button:last-child {
  color: #b43d5c;
}

.cmsEmpty {
  color: #747c94;
  font-size: 14px;
  font-weight: 800;
  padding: 30px;
  text-align: center;
}

.cmsForm {
  display: grid;
  grid-gap: 15px;
  gap: 15px;
}

.cmsForm label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.cmsForm label span {
  color: #4a5268;
  font-size: 13px;
  font-weight: 900;
}

.cmsForm textarea {
  min-height: 128px;
  resize: vertical;
}

.cmsFormGrid {
  display: grid;
  grid-template-columns: 1fr 120px;
  grid-gap: 12px;
  gap: 12px;
}

.cmsSaveButton {
  width: 100%;
  margin-top: 4px;
}

.cmsSaveNotice {
  border: 1px solid rgba(205, 226, 214, 0.96);
  border-radius: 12px;
  background: rgba(232, 247, 239, 0.82);
  color: #1d7a50;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  margin: 0;
  padding: 12px 13px;
}

.cmsSaveNotice.warning {
  border-color: rgba(242, 203, 149, 0.95);
  background: rgba(255, 245, 224, 0.88);
  color: #9b5b10;
}

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

  .cmsSidebar {
    position: static;
    min-height: auto;
  }

  .cmsNav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .cmsMain {
    padding: 18px;
  }

  .cmsHeader,
  .cmsCollectionHead,
  .cmsEditorHead {
    display: grid;
  }

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

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

  .cmsToolbar,
  .cmsFormGrid {
    grid-template-columns: 1fr;
  }

  .cmsTableHead {
    display: none;
  }

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

@media (max-width: 560px) {
  .cmsSidebar {
    padding: 16px;
  }

  .cmsNav,
  .cmsStats {
    grid-template-columns: 1fr;
  }

  .cmsHeader h1 {
    font-size: 28px;
  }
}

@media (max-width: 520px) {
  .personalHeroCopy h1 {
    font-size: 30px;
  }

  .personalPrimaryCta,
  .personalSecondaryCta {
    max-width: 100%;
  }

  .personalArtStage {
    margin-left: -58px;
    width: 560px;
  }

  .personalProjectRow {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    min-height: auto;
    gap: 10px 12px;
    padding: 14px 2px;
  }

  .personalProjectRow strong {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

}

