/* RoyAI Platform — Thync / Work Space / 세일즈 글래스 UI
 * base.html 이 asset_url 로 로드 (역프록시 시 /auth/__static/css/main.css)
 */

:root {
  --thync-bg0: #f9fbff;
  --thync-bg1: #e8f2fe;
  --thync-ink: #091f5c;
  --thync-muted: #4a628a;
  --thync-glass: rgba(255, 255, 255, 0.72);
  --thync-glass-border: rgba(255, 255, 255, 0.55);
  --thync-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --thync-shadow-tile: 0 10px 28px rgba(15, 23, 42, 0.06);
  --thync-radius: 16px;
  --thync-radius-sm: 12px;
  --thync-accent: #334daf;
  --thync-accent2: #7096d1;
  /* 버튼·터치 타겟 통일 */
  --thync-btn-min-h: 2.5rem;
  --thync-btn-pad-x: 1rem;
  --thync-btn-radius: 12px;
  --thync-btn-font: 0.875rem;
  --thync-focus: 0 0 0 3px rgba(51, 77, 175, 0.32);
  /* 하이엔드 글래스: 계층 블러 · 노이즈 · 광원 추적(--lux-x/y) */
  --thync-frost-base-blur: 25px;
  --thync-frost-elevated-blur: 48px;
  --thync-frost-sat: 1.24;
  --thync-frost-elevated-sat: 1.38;
  --thync-glass-surface: rgba(255, 255, 255, 0.58);
  --thync-glass-elevated: rgba(255, 255, 255, 0.72);
  --thync-noise-fine: repeating-linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.04) 0px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      35deg,
      rgba(10, 31, 68, 0.02) 0px,
      transparent 1px,
      transparent 3px
    );
  /* 고밀도 그레인(상단바 등 선택적 레이어) */
  --thync-noise-grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  /* Iridescent border — 모든 글래스 표면 공통 (진주광택 링) */
  --thync-iris-ring: 0 0 0 0.5px rgba(208, 228, 254, 0.65), 0 0 0 1px rgba(112, 150, 209, 0.14);
  --thync-iris-glow: 0 0 32px rgba(51, 77, 175, 0.12);
  --thync-iris-inset: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html.work-hub-viewport-lock-html {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background-color: var(--thync-bg0, #e8f2fe);
  background-image: linear-gradient(
    160deg,
    var(--thync-bg0, #e8f2fe) 0%,
    var(--thync-bg1, #d0e4fe) 45%,
    var(--thync-bg2, #c5daf8) 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

body.work-hub-viewport-lock {
  height: 100%;
  max-height: 100dvh;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
  background: transparent !important;
}

body.work-hub-viewport-lock.thync-flow-app,
body.work-hub-viewport-lock.sales-hub-page {
  min-height: 0;
  height: 100%;
  max-height: 100dvh;
}

body.thync-flow-app,
body.sales-hub-page {
  font-family: "Pretendard", "IBM Plex Sans KR", system-ui, sans-serif;
  color: var(--thync-ink);
  background: linear-gradient(160deg, var(--thync-bg0) 0%, var(--thync-bg1) 45%, #d0e4fe 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

/* 배경 동적 깊이(맥락) — 블러 뒤로 살짝 움직이는 광원 */
body.thync-flow-app::before,
body.sales-hub-page::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 18% 22%, rgba(51, 77, 175, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 48% 38% at 82% 18%, rgba(112, 150, 209, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse 70% 50% at 50% 88%, rgba(249, 251, 255, 0.45) 0%, transparent 55%);
  opacity: 0.95;
  animation: thyncAmbientDrift 22s ease-in-out infinite alternate;
}

body.thync-flow-app main,
body.sales-hub-page main {
  position: relative;
  z-index: 1;
}

@keyframes thyncAmbientDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2.5%, -1.2%, 0) scale(1.04);
  }
}

body.dash-white-glass {
  color: var(--thync-ink);
}

body.work-hub-viewport-lock main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Thync glass suite — Work + 세일즈·프로젝트·아카이브·관리자·계정 등 ERP 모듈 공통 */
body.thync-glass-suite,
body.work-hub-viewport-lock {
  --work-hub-glass-blur: 48px;
  --work-hub-glass-sat: 1.5;
  --work-hub-glass-blur-tight: 32px;
  --work-hub-glass-sat-tight: 1.36;
  --work-hub-glass-inset:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(15, 23, 42, 0.05),
    inset 0 0 72px rgba(255, 255, 255, 0.07);
  --thync-glass: rgba(255, 255, 255, 0.5);
  --thync-glass-border: rgba(255, 255, 255, 0.72);
  --thync-shadow: 0 22px 56px rgba(15, 23, 42, 0.1);
  --thync-shadow-tile: 0 14px 44px rgba(15, 23, 42, 0.08);
}

/* 예하 페이지(Work 제외): 좌우 10% 거터 */
body.thync-glass-suite:not(.work-hub-viewport-lock) {
  --thync-page-gutter: 10%;
}

body.thync-glass-suite:not(.work-hub-viewport-lock) main > .container-fluid,
body.thync-glass-suite:not(.work-hub-viewport-lock) .thync-shell {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--thync-page-gutter) !important;
  padding-right: var(--thync-page-gutter) !important;
  box-sizing: border-box;
}

body.work-hub-viewport-lock main > .container-fluid {
  flex-shrink: 0;
  max-width: none;
  padding-left: 5%;
  padding-right: 5%;
}

body.work-hub-viewport-lock .thync-shell.work-hub-page {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  max-width: none;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: clamp(0.4rem, 1.2vh, 0.85rem);
  padding-bottom: clamp(0.35rem, 1vh, 0.65rem);
  box-sizing: border-box;
}

body.thync-glass-suite:not(.work-hub-viewport-lock) .thync-topbar {
  padding-left: var(--thync-page-gutter);
  padding-right: var(--thync-page-gutter);
}

body.work-hub-viewport-lock .thync-topbar {
  padding-left: 5%;
  padding-right: 5%;
  border-bottom: none;
  background-color: rgba(255, 255, 255, calc(0.38 + var(--thync-header-scroll) * 0.22));
  background-image:
    radial-gradient(ellipse 140% 120% at var(--lux-x, 50%) var(--lux-y, 28%), rgba(255, 255, 255, 0.55) 0%, transparent 52%),
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.32) 100%);
  background-blend-mode: soft-light, overlay, normal, normal;
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + var(--thync-header-scroll) * 12px))
    saturate(calc(var(--thync-frost-sat) + var(--thync-header-scroll) * 0.14));
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + var(--thync-header-scroll) * 12px))
    saturate(calc(var(--thync-frost-sat) + var(--thync-header-scroll) * 0.14));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 10px 40px rgba(15, 23, 42, 0.06);
}

body.thync-glass-suite .dash-glass-hero,
body.thync-glass-suite .work-hub-glass-hero,
body.work-hub-viewport-lock .work-hub-glass-hero,
body.work-hub-viewport-lock .work-hub-page .dash-glass-hero {
  background-color: rgba(255, 255, 255, 0.34);
  background-image:
    radial-gradient(ellipse 150% 130% at var(--lux-x, 50%) var(--lux-y, 26%), rgba(255, 255, 255, 0.48) 0%, transparent 56%),
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(160deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.22) 100%);
  background-blend-mode: soft-light, overlay, normal, normal;
  backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  border: 0.5px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--work-hub-glass-inset),
    var(--thync-shadow);
}

.work-hub-hero .work-hub-hero-copy {
  min-width: 0;
}

body.thync-glass-suite .thync-panel,
body.thync-glass-suite .sales-glass-side-panel,
body.work-hub-viewport-lock .thync-panel,
body.work-hub-viewport-lock .sales-glass-side-panel {
  backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  background-color: rgba(255, 255, 255, 0.3);
  background-image:
    radial-gradient(ellipse 130% 100% at var(--lux-x, 50%) var(--lux-y, 28%), rgba(255, 255, 255, 0.36) 0%, transparent 54%),
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(175deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.14) 100%);
  background-blend-mode: soft-light, overlay, normal, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--work-hub-glass-inset),
    var(--thync-shadow);
}

body.thync-glass-suite .thync-panel-header,
body.work-hub-viewport-lock .thync-panel-header {
  background-color: rgba(255, 255, 255, 0.22);
  background-image:
    linear-gradient(90deg, rgba(167, 139, 250, 0.12) 0%, transparent 35%, rgba(20, 184, 166, 0.08) 100%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  backdrop-filter: blur(18px) saturate(1.28);
  -webkit-backdrop-filter: blur(18px) saturate(1.28);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    var(--thync-iris-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04);
}

body.thync-glass-suite .dash-glass-tile,
body.thync-glass-suite .work-hub-tile.dash-glass-tile,
body.work-hub-viewport-lock .work-hub-tile.dash-glass-tile {
  background-color: rgba(255, 255, 255, 0.32);
  background-image:
    radial-gradient(ellipse 130% 100% at var(--lux-x, 50%) var(--lux-y, 32%), rgba(255, 255, 255, 0.42) 0%, transparent 52%),
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(165deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.12) 100%);
  background-blend-mode: soft-light, overlay, normal, normal;
  backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur)) saturate(var(--work-hub-glass-sat));
  border: 0.5px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--work-hub-glass-inset),
    var(--thync-shadow-tile);
}

body.thync-glass-suite .work-hub-stat-tile,
body.thync-glass-suite .sales-glass-stat,
body.work-hub-viewport-lock .work-hub-stat-tile {
  background-color: rgba(255, 255, 255, 0.26);
  background-image:
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(165deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
  background-blend-mode: overlay, normal, normal;
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  border: 0.5px solid rgba(255, 255, 255, 0.44);
  box-shadow:
    var(--thync-iris-ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(15, 23, 42, 0.04),
    inset 0 0 40px rgba(255, 255, 255, 0.05),
    0 6px 20px rgba(15, 23, 42, 0.06);
}

/* 모듈 카드: 링크 전면 히트 · 카드 높이 정렬 · CTA 하단 고정 · 키보드 포커스 한곳 처리 */
body.work-hub-viewport-lock a.work-hub-module-hit {
  min-width: 0;
  border-radius: var(--thync-radius);
}

body.work-hub-viewport-lock .work-hub-module-tile {
  display: flex;
  flex-direction: column;
  min-height: 11.25rem;
}

body.work-hub-viewport-lock .work-hub-module-tile .work-hub-tile-cta {
  margin-top: auto;
  padding-top: 0.85rem;
}

body.work-hub-viewport-lock .work-hub-module-tile .work-hub-tile-cta.lg3d--tile {
  padding-top: 0;
  margin-top: auto;
}

body.work-hub-viewport-lock a.work-hub-module-hit:focus-visible .work-hub-module-tile {
  outline: none;
  box-shadow:
    var(--thync-focus),
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--work-hub-glass-inset),
    var(--thync-shadow-tile);
}

/* Suite: 배경 컬러 orb (글래스 뒤 깊이) */
body.thync-glass-suite::after {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 36% at 12% 68%, rgba(9, 31, 92, 0.1) 0%, transparent 58%),
    radial-gradient(ellipse 38% 32% at 88% 72%, rgba(112, 150, 209, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 62% 12%, rgba(208, 228, 254, 0.35) 0%, transparent 52%);
  opacity: 0.9;
  animation: thyncSuiteOrbDrift 28s ease-in-out infinite alternate;
}

@keyframes thyncSuiteOrbDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-2%, 1.5%, 0) scale(1.05);
  }
}

/* Suite: 글래스 버튼·흐름 스트립·타일 스페큘러 */
body.thync-glass-suite .work-hub-quick .btn.thync-btn-secondary,
body.thync-glass-suite .thync-panel-body .btn.thync-btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 50%) var(--lux-y, 40%), rgba(255, 255, 255, 0.42) 0%, transparent 55%),
    linear-gradient(175deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  background-blend-mode: soft-light, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  box-shadow: var(--work-hub-glass-inset), 0 4px 16px rgba(15, 23, 42, 0.06);
}

body.thync-glass-suite .work-hub-flow-strip {
  background-color: rgba(255, 255, 255, 0.2);
  background-image:
    radial-gradient(ellipse 130% 100% at var(--lux-x, 50%) var(--lux-y, 50%), rgba(255, 255, 255, 0.38) 0%, transparent 52%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  border: 0.5px solid rgba(255, 255, 255, 0.52);
  box-shadow: var(--work-hub-glass-inset), 0 4px 14px rgba(15, 23, 42, 0.05);
}

body.thync-glass-suite .dash-glass-tile > *,
body.thync-glass-suite .work-hub-tile.dash-glass-tile > * {
  position: relative;
  z-index: 2;
}

body.thync-glass-suite .dash-glass-tile::after,
body.thync-glass-suite .work-hub-tile.dash-glass-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    circle 42% at var(--lux-x, 50%) var(--lux-y, 35%),
    rgba(255, 255, 255, 0.42) 0%,
    transparent 62%
  );
  opacity: 0.75;
  mix-blend-mode: overlay;
  transition: opacity 0.35s ease;
}

body.thync-glass-suite a:hover .dash-glass-tile::after,
body.thync-glass-suite a:hover .work-hub-tile.dash-glass-tile::after {
  opacity: 1;
}

body.thync-glass-suite .thync-breadcrumb--glass {
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  background-color: rgba(255, 255, 255, 0.22);
}

body.thync-glass-suite .thync-table thead th {
  background-color: rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  border-bottom-color: rgba(255, 255, 255, 0.38) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.thync-glass-suite.admin-users-page .admin-users-table thead th,
body.thync-glass-suite .admin-users-table thead th {
  background-color: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight)) saturate(var(--work-hub-glass-sat-tight));
}

/* ----- 상단바 — 브랜드 · 가운데 내비 · 우측 로그인 칩(헤더 높이) ----- */
.thync-topbar {
  --thync-header-scroll: 0;
  --thync-topbar-chip-h: 2.15rem;
  position: sticky;
  top: 0;
  z-index: 1030;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand nav user";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  padding-top: 0.55rem;
  padding-bottom: 0.65rem;
  isolation: isolate;
  border-bottom: none;
  border-radius: 0 0 22px 22px;
  background-color: rgba(255, 255, 255, calc(0.46 + var(--thync-header-scroll) * 0.18));
  background-image:
    radial-gradient(ellipse 140% 120% at var(--lux-x, 22%) var(--lux-y, 18%), rgba(255, 255, 255, 0.55) 0%, transparent 58%),
    radial-gradient(ellipse 90% 80% at 92% 40%, rgba(167, 139, 250, 0.09) 0%, transparent 50%),
    var(--thync-noise-fine),
    var(--thync-noise-grain),
    linear-gradient(168deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.34) 100%);
  background-blend-mode: soft-light, soft-light, overlay, normal, normal;
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + var(--thync-header-scroll) * 14px))
    saturate(calc(var(--thync-frost-sat) + var(--thync-header-scroll) * 0.16));
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + var(--thync-header-scroll) * 14px))
    saturate(calc(var(--thync-frost-sat) + var(--thync-header-scroll) * 0.16));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 18px 48px rgba(15, 23, 42, 0.06),
    var(--thync-iris-inset);
  transition: background-color 0.35s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.thync-topbar__start {
  grid-area: brand;
  display: flex;
  align-items: center;
  min-width: 0;
}

.thync-topbar__end {
  grid-area: user;
  justify-self: end;
  align-self: center;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  max-width: min(20rem, 42vw);
  margin-inline-end: 0;
}

.thync-topbar-nav {
  grid-area: nav;
  justify-self: center;
  max-width: min(100%, 48rem);
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.25rem;
}

.thync-topbar-nav--island {
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 20px rgba(99, 102, 241, 0.06);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.thync-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(
    90deg,
    rgba(99, 102, 241, 0.42) 0%,
    rgba(45, 212, 191, 0.5) 22%,
    rgba(167, 139, 250, 0.42) 52%,
    rgba(244, 114, 182, 0.38) 78%,
    rgba(34, 211, 238, 0.45) 100%
  );
  background-size: 220% 100%;
  background-position: calc(var(--thync-header-scroll) * 85%) 0;
  filter: saturate(1.25) hue-rotate(calc(var(--thync-header-scroll) * 48deg));
  box-shadow: 0 1px 14px rgba(99, 102, 241, calc(0.06 + var(--thync-header-scroll) * 0.12));
  opacity: calc(0.62 + var(--thync-header-scroll) * 0.28);
  transition: opacity 0.25s ease, filter 0.45s ease, background-position 0.08s linear;
}

.thync-topbar.thync-glass-lux:hover {
  background-color: rgba(255, 255, 255, calc(0.56 + var(--thync-header-scroll) * 0.14));
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px + var(--thync-header-scroll) * 14px))
    saturate(calc(1.34 + var(--thync-header-scroll) * 0.1));
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px + var(--thync-header-scroll) * 14px))
    saturate(calc(1.34 + var(--thync-header-scroll) * 0.1));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 0 40px rgba(20, 184, 166, 0.08),
    var(--thync-iris-inset);
}

.thync-user-dock__inner {
  pointer-events: auto;
}

/* 상단바 우측: [로그인 정보 ▼] [글래스 로그아웃 아이콘] — 헤더 높이 한 줄 */
.thync-user-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  min-width: 0;
}

.thync-topbar__end .thync-user-cluster {
  gap: 0.5rem;
  padding-left: 0.15rem;
}

.thync-topbar__end .thync-user-logout-btn {
  margin-left: 1rem;
}

.thync-user-logout-btn {
  --thync-logout-icon: #64748b;
  --thync-logout-icon-hover: #dc2626;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--thync-topbar-chip-h);
  height: var(--thync-topbar-chip-h);
  min-width: var(--thync-topbar-chip-h);
  min-height: var(--thync-topbar-chip-h);
  padding: 0;
  color: var(--thync-logout-icon);
  text-decoration: none !important;
  border-radius: 12px;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.32);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 50%) var(--lux-y, 50%), rgba(255, 255, 255, 0.45) 0%, transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, normal, overlay;
  backdrop-filter: blur(14px) saturate(1.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.14);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-inset),
    0 4px 14px rgba(15, 23, 42, 0.05);
  transition:
    color 0.22s ease,
    background 0.25s ease,
    border-color 0.22s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.thync-user-logout-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thync-user-logout-btn__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.thync-user-logout-btn:hover {
  color: var(--thync-logout-icon-hover);
  background-color: rgba(254, 242, 242, 0.62);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 50%) var(--lux-y, 50%), rgba(254, 226, 226, 0.55) 0%, transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42) 0%, rgba(254, 202, 202, 0.2) 100%),
    var(--thync-noise-fine);
  border-color: rgba(248, 113, 113, 0.45);
  transform: translateY(-1px);
  box-shadow:
    var(--thync-iris-ring),
    0 0 20px rgba(248, 113, 113, 0.18),
    0 6px 18px rgba(220, 38, 38, 0.1);
}

.thync-user-logout-btn:hover .thync-user-logout-btn__icon {
  transform: translateX(2px);
}

.thync-user-logout-btn:active {
  transform: translateY(0) scale(0.96);
}

.thync-user-logout-btn:active .thync-user-logout-btn__icon {
  transform: translateX(3px) scale(0.94);
}

.thync-user-logout-btn:focus-visible {
  outline: none;
  box-shadow: var(--thync-focus), var(--thync-iris-ring);
}

/* 변형: body.thync-logout-style--wave → 이모지 👋 */
body.thync-logout-style--wave .thync-user-logout-btn__icon svg {
  display: none;
}

body.thync-logout-style--wave .thync-user-logout-btn__icon::before {
  content: "👋";
  font-size: 1rem;
  line-height: 1;
}

body.thync-logout-style--ghost.thync-logout-style--wave .thync-user-logout-btn {
  border-color: transparent;
  box-shadow: none;
}

body.thync-logout-style--ghost.thync-logout-style--wave .thync-user-logout-btn__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.12rem;
  width: 1.1rem;
  height: 2px;
  margin-left: -0.55rem;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.65), transparent);
  opacity: 0.85;
}

body.thync-logout-style--ghost.thync-logout-style--wave .thync-user-logout-btn__icon {
  position: relative;
}

body.thync-logout-style--wave .thync-user-logout-btn:hover .thync-user-logout-btn__icon {
  transform: scale(1.08) rotate(-8deg);
}

/* 변형: body.thync-logout-style--ghost → 테두리만 */
body.thync-logout-style--ghost .thync-user-logout-btn {
  background-color: transparent;
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(100, 116, 139, 0.35);
}

body.thync-logout-style--ghost .thync-user-logout-btn:hover {
  background-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.thync-user-menu {
  position: relative;
  min-width: 0;
  flex-shrink: 1;
}

.thync-topbar .thync-user-menu-trigger {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.15rem 0.5rem 0.15rem 0.15rem;
  gap: 0.4rem;
  max-width: 100%;
  min-height: var(--thync-topbar-chip-h);
  max-height: var(--thync-topbar-chip-h);
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  background-color: rgba(255, 255, 255, 0.45);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 70%) var(--lux-y, 40%), rgba(255, 255, 255, 0.65) 0%, transparent 55%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  border: 0.5px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 4px 18px rgba(15, 23, 42, 0.06);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thync-topbar .thync-user-menu-trigger.dropdown-toggle::after {
  margin-left: 0.2rem;
  vertical-align: 0.12em;
  opacity: 0.55;
  border-width: 0.28em 0.28em 0;
}

.thync-topbar .thync-user-menu-trigger:hover,
.thync-topbar .thync-user-menu.show .thync-user-menu-trigger {
  background-color: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

.thync-topbar .thync-user-menu--active .thync-user-menu-trigger {
  border-color: rgba(51, 77, 175, 0.35);
  box-shadow:
    var(--thync-focus),
    var(--thync-iris-ring),
    var(--thync-iris-inset);
}

.thync-user-menu-panel {
  min-width: 12.5rem;
  margin-top: 0.35rem !important;
  padding: 0.35rem 0;
}

.thync-user-menu-head {
  max-width: 14rem;
}

.thync-user-menu-panel .dropdown-item {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  color: var(--thync-ink);
}

.thync-user-menu-panel .dropdown-item:hover,
.thync-user-menu-panel .dropdown-item:focus {
  background: rgba(99, 102, 241, 0.1);
  color: var(--thync-accent);
}

.thync-user-menu-panel .dropdown-item.active {
  background: rgba(99, 102, 241, 0.14);
  color: #4338ca;
}

.thync-topbar .work-hub-user-avatar {
  width: calc(var(--thync-topbar-chip-h) - 0.35rem);
  height: calc(var(--thync-topbar-chip-h) - 0.35rem);
  min-width: calc(var(--thync-topbar-chip-h) - 0.35rem);
  min-height: calc(var(--thync-topbar-chip-h) - 0.35rem);
  flex-shrink: 0;
}

.thync-topbar .work-hub-user-avatar svg {
  width: 54%;
  height: 54%;
  opacity: 0.72;
}

.thync-topbar .work-hub-user-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  line-height: 1.1;
}

.thync-topbar .work-hub-user-label,
.thync-topbar .work-hub-user-meta > span:last-child {
  display: none;
}

.thync-topbar .work-hub-user-meta strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .thync-topbar .thync-user-menu-trigger .work-hub-user-meta {
    display: none;
  }

  .thync-topbar .thync-user-menu-trigger {
    padding: 0.15rem;
    width: var(--thync-topbar-chip-h);
    min-width: var(--thync-topbar-chip-h);
    justify-content: center;
  }

  .thync-topbar .thync-user-menu-trigger.dropdown-toggle::after {
    display: none;
  }

  .thync-topbar__end {
    max-width: min(11rem, 52vw);
  }
}

body.thync-glass-suite .thync-topbar .thync-user-menu-trigger,
body.work-hub-viewport-lock .thync-topbar .thync-user-menu-trigger {
  background-color: rgba(255, 255, 255, 0.36);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 4px 18px rgba(15, 23, 42, 0.06);
}

.thync-topbar-brand {
  flex-shrink: 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--thync-ink) !important;
  text-decoration: none !important;
}

.thync-topbar-brand-chip {
  padding: 0.38rem 0.85rem 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 22px rgba(99, 102, 241, 0.07);
  transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thync-topbar-brand-chip:has(.site-brand-r-monogram) {
  padding: 0.32rem 0.72rem 0.32rem 0.48rem;
}

.site-brand-mark {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
  flex-shrink: 0;
  object-fit: contain;
}

.site-brand-r-monogram {
  display: block;
  width: 1.35rem;
  height: 1.65rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(99, 102, 241, 0.18));
}

.site-brand-r-monogram__shadow {
  fill: rgba(15, 23, 42, 0.16);
}

.site-brand-r-monogram__shine {
  fill: rgba(255, 255, 255, 0.42);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.navbar-brand .site-brand-r-monogram {
  width: 1.25rem;
  height: 1.5rem;
}

.thync-topbar-brand-chip:hover {
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 28px rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.thync-topbar-brand-text {
  letter-spacing: -0.02em;
}

.thync-topbar-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--thync-muted) !important;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    color 0.18s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}

.thync-topbar-nav a:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--thync-ink) !important;
  transform: translateY(-1px) scale(1.02);
}

.thync-topbar-nav a.thync-topbar-nav--active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(20, 184, 166, 0.14));
  color: var(--thync-ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .thync-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand user"
      "nav nav";
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
    justify-items: stretch;
  }

  body.thync-glass-suite:not(.work-hub-viewport-lock) .thync-topbar {
    padding-left: var(--thync-page-gutter);
    padding-right: var(--thync-page-gutter);
  }

  body.work-hub-viewport-lock .thync-topbar {
    padding-left: 5%;
    padding-right: 5%;
  }

  .thync-topbar__start {
    justify-self: start;
  }

  .thync-topbar__end {
    justify-self: end;
    max-width: min(16rem, 52vw);
    margin-inline-end: 0;
  }

  .thync-topbar-nav {
    justify-self: stretch;
    max-width: none;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
  }

  .thync-topbar-nav::-webkit-scrollbar {
    height: 4px;
  }

  .thync-topbar-nav::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.25);
    border-radius: 99px;
  }
}

/* ----- 셸 / 레이아웃 ----- */
.dash-glass-shell,
.thync-shell {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.work-hub-page--single-screen .work-hub-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  gap: 0;
  overflow: hidden;
}

.work-hub-page--single-screen .work-hub-glass-hero {
  flex-shrink: 0;
}

.work-hub-page--single-screen .work-hub-favorites {
  flex-shrink: 0;
  margin-bottom: 0 !important;
  padding: 0.5rem 0.75rem !important;
}

.work-hub-page--single-screen .work-hub-empty-callout {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

.work-hub-page--single-screen .work-hub-tile-row {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  align-content: start;
  margin: 0 !important;
  --bs-gutter-y: clamp(0.35rem, 0.9vh, 0.55rem);
  --bs-gutter-x: clamp(0.35rem, 0.9vh, 0.55rem);
}

.work-hub-page--single-screen .work-hub-module-tile {
  padding: clamp(0.55rem, 1.2vh, 0.85rem) !important;
}

.work-hub-page--single-screen .work-hub-module-tile .h5 {
  font-size: clamp(0.92rem, 1.6vh, 1.05rem);
  margin-top: 0.35rem !important;
}

.work-hub-page--single-screen .work-hub-module-tile .small {
  font-size: clamp(0.68rem, 1.2vh, 0.78rem);
  line-height: 1.35;
}

.work-hub-page--single-screen .work-hub-tile-icon {
  font-size: clamp(1.1rem, 2.2vh, 1.35rem);
}

.work-hub-glass-hero,
.dash-glass-hero {
  position: relative;
  isolation: isolate;
  background-color: rgba(255, 255, 255, 0.52);
  background-image:
    radial-gradient(ellipse 150% 130% at var(--lux-x, 50%) var(--lux-y, 26%), rgba(255, 255, 255, 0.58) 0%, transparent 55%),
    var(--thync-noise-fine),
    linear-gradient(160deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.4) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--thync-radius);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    var(--thync-shadow);
  backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  padding: 1.25rem 1.35rem !important;
  transition: background-color 0.4s ease, backdrop-filter 0.45s ease, box-shadow 0.4s ease;
}

.dash-glass-hero:hover,
.work-hub-glass-hero:hover {
  background-color: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px)) saturate(1.34);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px)) saturate(1.34);
}

body.thync-glass-suite .dash-glass-hero:hover,
body.thync-glass-suite .work-hub-glass-hero:hover,
body.thync-glass-suite .dash-glass-hero:hover,
body.thync-glass-suite .work-hub-glass-hero:hover,
body.work-hub-viewport-lock .work-hub-glass-hero:hover,
body.work-hub-viewport-lock .work-hub-page .dash-glass-hero:hover {
  background-color: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.08));
  -webkit-backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.08));
}

.thync-page-title.dash-glass-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--thync-ink);
}

.thync-page-sub {
  color: var(--thync-muted) !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ----- 사용자 카드 / 통계 ----- */
.work-hub-user-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background-color: rgba(255, 255, 255, 0.55);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 50%) var(--lux-y, 36%), rgba(255, 255, 255, 0.72) 0%, transparent 52%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--thync-radius-sm);
  margin-bottom: 0.5rem;
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 6px 22px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
}

.work-hub-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--thync-ink, #334155);
  background: rgba(255, 255, 255, 0.62);
  border: 0.5px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(99, 102, 241, 0.08);
  flex-shrink: 0;
}

.work-hub-user-avatar svg {
  display: block;
  width: 52%;
  height: 52%;
  opacity: 0.78;
}

.work-hub-user-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--thync-muted);
}

.work-hub-user-meta strong {
  display: block;
  font-size: 1rem;
}

.work-hub-user-meta span:last-child {
  font-size: 0.8rem;
  color: var(--thync-muted);
}

.work-hub-stat-tile {
  position: relative;
  isolation: isolate;
  min-width: 4.5rem;
  padding: 0.5rem 0.75rem;
  background-color: rgba(255, 255, 255, 0.65);
  background-image: var(--thync-noise-fine);
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--thync-radius-sm);
  text-align: center;
  box-shadow: var(--thync-iris-ring), var(--thync-iris-inset), 0 6px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.work-hub-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--thync-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.work-hub-stat-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--thync-ink);
  letter-spacing: -0.02em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5),
    0 -0.5px 0 rgba(15, 23, 42, 0.05),
    0 2px 14px rgba(99, 102, 241, 0.07);
}

/* Kinetic typography — 글래스 위에서 수치·강조 텍스트 시인성 */
.thync-kinetic-value {
  letter-spacing: -0.03em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55),
    0 -0.5px 0 rgba(15, 23, 42, 0.06),
    0 0 22px rgba(99, 102, 241, 0.09);
}

/* ----- 패널 (바로 가기 등) — 계층형 프로스트 + 광원 맥락 ----- */
.thync-panel,
.sales-glass-side-panel {
  position: relative;
  isolation: isolate;
  background-color: rgba(255, 255, 255, 0.52);
  background-image:
    radial-gradient(ellipse 140% 120% at var(--lux-x, 50%) var(--lux-y, 30%), rgba(255, 255, 255, 0.55) 0%, transparent 52%),
    var(--thync-noise-fine),
    linear-gradient(175deg, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.38) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--thync-radius);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    var(--thync-shadow);
  backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  overflow: hidden;
  transition:
    background-color 0.4s ease,
    backdrop-filter 0.45s ease,
    box-shadow 0.4s ease;
}

.thync-panel:hover,
.sales-glass-side-panel:hover {
  background-color: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px)) saturate(1.32);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 6px)) saturate(1.32);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 0 36px rgba(20, 184, 166, 0.06),
    var(--thync-iris-inset),
    var(--thync-shadow);
}

body.thync-glass-suite .thync-panel:hover,
body.thync-glass-suite .sales-glass-side-panel:hover,
body.thync-glass-suite .thync-panel:hover,
body.thync-glass-suite .sales-glass-side-panel:hover,
body.work-hub-viewport-lock .thync-panel:hover,
body.work-hub-viewport-lock .sales-glass-side-panel:hover {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.06));
  -webkit-backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.06));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 0 40px rgba(20, 184, 166, 0.07),
    var(--work-hub-glass-inset),
    var(--thync-shadow);
}

.thync-panel-header {
  position: relative;
  isolation: isolate;
  padding: 0.85rem 1.1rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.38);
  background-color: rgba(255, 255, 255, 0.32);
  background-image:
    linear-gradient(92deg, rgba(186, 230, 253, 0.14) 0%, transparent 40%, rgba(167, 139, 250, 0.08) 100%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  box-shadow: var(--thync-iris-ring), 0 1px 0 rgba(255, 255, 255, 0.42) inset;
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
}

.thync-panel-body {
  padding: 1rem 1.1rem;
}

/* ----- 버튼 ----- */
.thync-btn-inline.sales-ui-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn.thync-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--thync-btn-min-h);
  padding: 0.45rem var(--thync-btn-pad-x);
  font-size: var(--thync-btn-font);
  line-height: 1.2;
  background: linear-gradient(145deg, #7096d1 0%, #334daf 48%, #091f5c 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--thync-btn-radius);
  box-shadow: 0 6px 18px rgba(51, 77, 175, 0.22);
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.28s ease;
}

.btn.thync-btn-primary:hover {
  filter: brightness(1.05);
  color: #fff !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(51, 77, 175, 0.28);
}

.btn.thync-btn-primary:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}

.btn.thync-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 6px 18px rgba(51, 77, 175, 0.22), var(--thync-focus);
}

.btn.thync-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--thync-btn-min-h);
  padding: 0.45rem var(--thync-btn-pad-x);
  font-size: var(--thync-btn-font);
  line-height: 1.2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--thync-ink) !important;
  font-weight: 600;
  border-radius: var(--thync-btn-radius);
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn.thync-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(51, 77, 175, 0.35);
  color: var(--thync-ink) !important;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.btn.thync-btn-secondary:focus-visible {
  outline: none;
  box-shadow: var(--thync-focus);
}

.btn.sales-glass-soft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--thync-btn-min-h);
  padding: 0.45rem var(--thync-btn-pad-x);
  font-size: var(--thync-btn-font);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--thync-ink) !important;
  font-weight: 500;
  border-radius: var(--thync-btn-radius);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn.sales-glass-soft-btn:hover {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(99, 102, 241, 0.28);
  color: var(--thync-ink) !important;
  transform: translateY(-1px);
}

.btn.thync-btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--thync-btn-min-h);
  padding: 0.45rem var(--thync-btn-pad-x);
  font-size: var(--thync-btn-font);
  font-weight: 600;
  border-radius: var(--thync-btn-radius);
  color: #b91c1c !important;
  background: linear-gradient(180deg, rgba(254, 226, 226, 0.95), rgba(252, 165, 165, 0.35));
  border: 1px solid rgba(220, 38, 38, 0.35);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn.thync-btn-danger-outline:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.18);
}

.btn.thync-btn-danger-outline:focus-visible {
  outline: none;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.12), 0 0 0 3px rgba(220, 38, 38, 0.22);
}

.sales-ui-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

/* ----- 모듈 타일 — 인터랙티브 글래스 ----- */
.work-hub-tile.dash-glass-tile {
  position: relative;
  isolation: isolate;
  background-color: rgba(255, 255, 255, 0.58);
  background-image:
    radial-gradient(ellipse 130% 100% at var(--lux-x, 50%) var(--lux-y, 32%), rgba(255, 255, 255, 0.72) 0%, transparent 50%),
    var(--thync-noise-fine),
    linear-gradient(165deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.5) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    var(--thync-shadow-tile);
  backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    backdrop-filter 0.38s ease,
    background-color 0.38s ease;
  overflow: hidden;
}

.work-hub-tile.dash-glass-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  opacity: 0.85;
  background: var(--tile-accent, #6366f1);
  z-index: 2;
}

.work-hub-tile[data-accent="cyan"] {
  --tile-accent: #06b6d4;
}
.work-hub-tile[data-accent="violet"] {
  --tile-accent: #8b5cf6;
}
.work-hub-tile[data-accent="amber"] {
  --tile-accent: #f59e0b;
}
.work-hub-tile[data-accent="green"] {
  --tile-accent: #22c55e;
}
.work-hub-tile[data-accent="rose"] {
  --tile-accent: #f43f5e;
}
.work-hub-tile[data-accent="slate"] {
  --tile-accent: #64748b;
}

a:hover .work-hub-tile.dash-glass-tile {
  transform: translateY(-3px);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 16px 36px rgba(15, 23, 42, 0.1),
    var(--thync-iris-inset);
  border-color: rgba(99, 102, 241, 0.28);
  background-color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 5px)) saturate(1.36);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-base-blur) + 5px)) saturate(1.36);
}

body.thync-glass-suite a:hover .dash-glass-tile,
body.thync-glass-suite a:hover .work-hub-tile.dash-glass-tile,
body.thync-glass-suite a:hover .dash-glass-tile,
body.thync-glass-suite a:hover .work-hub-tile.dash-glass-tile,
body.work-hub-viewport-lock a:hover .work-hub-tile.dash-glass-tile {
  background-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--work-hub-glass-inset),
    0 16px 36px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.06));
  -webkit-backdrop-filter: blur(calc(var(--work-hub-glass-blur) + 8px)) saturate(calc(var(--work-hub-glass-sat) + 0.06));
}

.work-hub-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.work-hub-tile-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  font-weight: 700;
  font-size: 0.95rem;
  color: #4338ca;
}

.thync-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--thync-muted);
}

.work-hub-tile-cta:not(.lg3d) {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--thync-accent);
}

a:hover .work-hub-tile-cta:not(.lg3d) {
  text-decoration: underline;
}

/* ----- 브레드크럼 ----- */
.thync-breadcrumb--glass {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 100%;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.42);
  background-image:
    radial-gradient(ellipse 140% 120% at var(--lux-x, 30%) var(--lux-y, 45%), rgba(255, 255, 255, 0.62) 0%, transparent 55%),
    var(--thync-noise-fine),
    linear-gradient(175deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.28) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-base-blur)) saturate(var(--thync-frost-sat));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 8px 28px rgba(15, 23, 42, 0.06);
}

.thync-breadcrumb-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.thync-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
}

.thync-breadcrumb-item + .thync-breadcrumb-item::before {
  content: "/";
  margin-right: 0.35rem;
  color: rgba(15, 23, 42, 0.25);
  font-weight: 400;
}

.thync-breadcrumb-link {
  color: var(--thync-muted) !important;
  text-decoration: none !important;
}

.thync-breadcrumb-link:hover {
  color: var(--thync-accent) !important;
}

.thync-breadcrumb-current {
  color: var(--thync-ink);
  font-weight: 600;
}

/* ----- 테이블 / 빈 상태 (세일즈 목록) ----- */
.thync-table {
  --bs-table-bg: transparent;
}

.sales-glass-empty {
  color: var(--thync-muted);
  padding: 2rem 1rem;
}

.sales-glass-callout {
  position: relative;
  isolation: isolate;
  padding: 0.65rem 0.85rem;
  border-radius: var(--thync-radius-sm);
  background-color: rgba(255, 255, 255, 0.42);
  background-image:
    radial-gradient(ellipse 120% 100% at var(--lux-x, 20%) var(--lux-y, 30%), rgba(99, 102, 241, 0.12) 0%, transparent 55%),
    var(--thync-noise-fine),
    linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.38) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 8px 24px rgba(99, 102, 241, 0.08);
}

.sales-glass-narrow-shell {
  max-width: 720px;
  margin: 0 auto;
}

/* ── 마이프로필 (Work Space) ── */
.my-profile-page .my-profile-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  margin-bottom: 1rem;
}

.my-profile-page .my-profile-nav__item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--thync-ink);
  text-decoration: none;
  border: 0.5px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.45);
  -webkit-backdrop-filter: blur(18px) saturate(1.45);
  box-shadow: var(--thync-iris-inset), 0 4px 16px rgba(51, 77, 175, 0.08);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.my-profile-page .my-profile-nav__item:hover {
  border-color: rgba(208, 228, 254, 0.75);
  background: rgba(249, 251, 255, 0.72);
  transform: translateY(-1px);
  box-shadow:
    var(--thync-iris-inset),
    0 8px 20px rgba(51, 77, 175, 0.12);
}

.my-profile-page .my-profile-nav__item.is-active {
  color: var(--thync-ink);
  border: 0.5px solid rgba(208, 228, 254, 0.65);
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-inset),
    0 8px 22px rgba(51, 77, 175, 0.14);
}

.my-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.my-profile-card--wide {
  grid-column: 1 / -1;
}

.my-profile-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.my-profile-identity__avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--thync-ink);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.88) 0%, transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(208, 228, 254, 0.42) 52%, rgba(232, 221, 255, 0.36));
  border: 0.5px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--thync-iris-inset), 0 6px 16px rgba(51, 77, 175, 0.1);
}

.my-profile-identity__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--thync-ink);
}

.my-profile-identity__sub {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: var(--thync-muted);
}

.my-profile-dl {
  margin: 0 0 1rem;
}

.my-profile-dl__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.my-profile-dl__row:last-child {
  border-bottom: none;
}

.my-profile-dl dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--thync-muted);
  flex-shrink: 0;
}

.my-profile-dl dd {
  margin: 0;
  font-size: 0.86rem;
  text-align: right;
  word-break: break-all;
}

.my-profile-inline-link {
  margin-left: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334daf;
  text-decoration: none;
}

.my-profile-inline-link:hover {
  text-decoration: underline;
}

.my-profile-email {
  color: #334daf;
  text-decoration: none;
  word-break: break-all;
}

.my-profile-email:hover {
  text-decoration: underline;
}

.my-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.my-profile-form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.15rem;
}

@media (max-width: 768px) {
  .my-profile-grid {
    grid-template-columns: 1fr;
  }

  .my-profile-card--wide {
    grid-column: auto;
  }
}

.sales-ui-btn-sales-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--thync-btn-min-h);
  padding: 0.45rem var(--thync-btn-pad-x);
  font-size: var(--thync-btn-font);
  line-height: 1.2;
  font-weight: 600;
  border-radius: var(--thync-btn-radius);
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: #4338ca !important;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    color 0.2s ease,
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn.sales-ui-btn-sales-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.65);
  color: #3730a3 !important;
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.16);
}

.btn.sales-ui-btn-sales-outline:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}

.btn.sales-ui-btn-sales-outline:focus-visible {
  outline: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08), var(--thync-focus);
}

/* ----- 유틸 ----- */
.letter-spacing-wide {
  letter-spacing: 0.12em;
}

.min-h-0 {
  min-height: 0;
}

/* ----- 관리자 · 사용자 ----- */
.admin-users-page .admin-users-header-actions .btn {
  white-space: nowrap;
}

.admin-users-smtp-hint code {
  font-size: 0.85em;
}

.admin-users-table-wrap {
  max-height: min(72vh, 900px);
  overflow: auto;
}

.admin-users-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--thync-muted);
  white-space: nowrap;
}

.admin-users-status--pending {
  background: rgba(234, 179, 8, 0.22) !important;
  color: #92400e !important;
}

.admin-users-status--expired {
  background: rgba(239, 68, 68, 0.16) !important;
  color: #b91c1c !important;
}

.admin-users-status--active {
  background: rgba(34, 197, 94, 0.16) !important;
  color: #15803d !important;
}

.admin-users-filter-input {
  min-width: 10rem;
}

.admin-users-filter-empty {
  background: rgba(248, 250, 252, 0.6);
}

/* ----- 공통 확인 모달 (글래스 · 인터랙티브) ----- */
.thync-confirm {
  position: fixed;
  inset: 0;
  z-index: 10600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

.thync-confirm.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.thync-confirm__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
  background: rgba(10, 20, 48, 0.12);
}

/* 클릭 지점에서 유리가 퍼지듯 확장 */
.thync-confirm__liquid-sheet {
  position: absolute;
  left: var(--thync-liquid-px-x, 50%);
  top: var(--thync-liquid-px-y, 50%);
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at 38% 32%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(165, 243, 252, 0.22) 22%,
    rgba(99, 102, 241, 0.28) 45%,
    rgba(10, 20, 48, 0.72) 72%,
    rgba(10, 20, 48, 0.94) 100%
  );
  box-shadow:
    0 0 40px rgba(99, 102, 241, 0.35),
    0 0 80px rgba(20, 184, 166, 0.12);
  transform: scale(0);
  opacity: 0;
  filter: blur(18px);
}

.thync-confirm.is-open .thync-confirm__liquid-sheet {
  animation: thyncLiquidGlassExpand 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes thyncLiquidGlassExpand {
  0% {
    transform: scale(0);
    opacity: 0;
    filter: blur(22px);
  }
  35% {
    opacity: 0.95;
  }
  100% {
    transform: scale(280);
    opacity: 1;
    filter: blur(0);
  }
}

.thync-confirm__panel {
  position: relative;
  isolation: isolate;
  width: min(26rem, 100%);
  max-height: min(88vh, 32rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: var(--thync-radius);
  background-color: rgba(255, 255, 255, 0.52);
  background-image:
    radial-gradient(ellipse 150% 130% at var(--lux-x, 50%) var(--lux-y, 28%), rgba(255, 255, 255, 0.72) 0%, transparent 54%),
    var(--thync-noise-fine),
    linear-gradient(155deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.48) 42%, rgba(255, 255, 255, 0.62) 100%);
  background-blend-mode: soft-light, overlay, normal;
  border: 0.5px solid rgba(255, 255, 255, 0.58);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 28px 64px rgba(15, 23, 42, 0.14),
    0 12px 28px rgba(99, 102, 241, 0.08);
  backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  color: var(--thync-ink);
  transform-origin: var(--thync-liquid-x, 50%) var(--thync-liquid-y, 50%);
  transform: scale(0.12) translate3d(0, 8px, 0);
  opacity: 0;
  filter: blur(14px);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.48s ease,
    backdrop-filter 0.45s ease,
    background-color 0.4s ease;
}

.thync-confirm.is-open .thync-confirm__panel {
  transform: scale(1) translate3d(0, 0, 0);
  opacity: 1;
  filter: blur(0);
}

.thync-confirm__panel:hover {
  background-color: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 8px)) saturate(1.48);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 8px)) saturate(1.48);
}

.thync-confirm__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.42) 0%, transparent 38%, transparent 62%, rgba(20, 184, 166, 0.1) 100%);
  pointer-events: none;
  opacity: 0.88;
  z-index: 0;
}

.thync-confirm__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
  background-image: var(--thync-noise-fine);
  mix-blend-mode: overlay;
}

.thync-confirm__title,
.thync-confirm__message,
.thync-confirm__actions {
  position: relative;
  z-index: 1;
}

.thync-confirm__title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.3;
}

.thync-confirm__message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--thync-muted);
  max-height: min(40vh, 14rem);
  overflow: auto;
  padding-right: 0.15rem;
}

.thync-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

body.thync-confirm-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .thync-confirm,
  .thync-confirm__panel {
    animation: none !important;
    transition: none !important;
  }
  .thync-confirm__liquid-sheet {
    animation: none !important;
    transform: scale(24) !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .thync-confirm.is-open .thync-confirm__panel {
    transform: none !important;
    filter: none !important;
  }
}

/* ----- Thync 셸: 셀렉트·입력·부트스트랩 드롭다운 글래스 ----- */
body.thync-flow-app .form-control,
body.thync-flow-app .form-select,
body.thync-flow-app textarea.form-control,
body.sales-hub-page .form-control,
body.sales-hub-page .form-select,
body.sales-hub-page textarea.form-control,
body.thync-glass-suite .form-control,
body.thync-glass-suite .form-select,
body.thync-glass-suite textarea.form-control,
.sales-glass-form-control {
  border-radius: var(--thync-btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.22);
  background-image:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 100%);
  background-blend-mode: soft-light, normal;
  backdrop-filter: blur(var(--work-hub-glass-blur-tight, 12px)) saturate(var(--work-hub-glass-sat-tight, 1.08));
  -webkit-backdrop-filter: blur(var(--work-hub-glass-blur-tight, 12px)) saturate(var(--work-hub-glass-sat-tight, 1.08));
  color: var(--thync-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  transition: border-color 0.2s ease, box-shadow 0.22s ease, background 0.2s ease;
}

body.thync-flow-app .form-control:focus,
body.thync-flow-app .form-select:focus,
body.sales-hub-page .form-control:focus,
body.sales-hub-page .form-select:focus,
body.thync-glass-suite .form-control:focus,
body.thync-glass-suite .form-select:focus,
.sales-glass-form-control:focus {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--thync-focus), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  outline: none;
}

body.thync-flow-app .form-select,
body.sales-hub-page .form-select {
  background-color: rgba(255, 255, 255, 0.55);
  background-image: linear-gradient(45deg, transparent 50%, #6366f1 50%),
    linear-gradient(135deg, #6366f1 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(1.1rem),
    calc(100% - 0.75rem) calc(1.1rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

body.thync-flow-app .form-select-sm,
body.sales-hub-page .form-select-sm {
  min-height: 2.25rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.8125rem;
  background-position:
    calc(100% - 0.95rem) calc(0.95rem),
    calc(100% - 0.62rem) calc(0.95rem);
}

body.thync-flow-app .dropdown-menu,
body.sales-hub-page .dropdown-menu {
  position: relative;
  isolation: isolate;
  border-radius: var(--thync-radius);
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  background-color: rgba(255, 255, 255, 0.38);
  background-image:
    radial-gradient(ellipse 160% 140% at var(--lux-x, 50%) var(--lux-y, 24%), rgba(255, 255, 255, 0.62) 0%, transparent 55%),
    var(--thync-noise-fine),
    linear-gradient(185deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.28) 100%);
  background-blend-mode: soft-light, overlay, normal;
  backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 22px 56px rgba(15, 23, 42, 0.1);
  padding: 0.45rem;
  min-width: 10.5rem;
  overflow: hidden;
  transition: backdrop-filter 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

/* 손전등 스포트라이트: 포인터 위치만 밝게 */
body.thync-flow-app .dropdown-menu::before,
body.sales-hub-page .dropdown-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.88;
  background: radial-gradient(
    circle 6.5rem at var(--spot-x, -12%) var(--spot-y, -8%),
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.18) 32%,
    transparent 58%
  );
  mix-blend-mode: soft-light;
  transition: opacity 0.2s ease;
}

body.thync-flow-app .dropdown-menu:not(:hover):not(:focus-within)::before,
body.sales-hub-page .dropdown-menu:not(:hover):not(:focus-within)::before {
  opacity: 0.28;
}

body.thync-flow-app .dropdown-menu:hover,
body.sales-hub-page .dropdown-menu:hover {
  background-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 6px)) saturate(1.48);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 6px)) saturate(1.48);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 0 48px rgba(20, 184, 166, 0.08),
    var(--thync-iris-inset),
    0 22px 56px rgba(15, 23, 42, 0.1);
}

/* Blur-step: 항목 사이 물리적 구분선 없음 — 선택/현재만 강한 빛 투과 */
body.thync-flow-app .dropdown-item,
body.sales-hub-page .dropdown-item {
  border: none;
  border-radius: 0.75rem;
  margin: 0.08rem 0;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(10, 31, 68, 0.72);
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  z-index: 1;
  transition:
    background 0.28s cubic-bezier(0.34, 1.45, 0.64, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
    color 0.2s ease;
}

body.thync-flow-app .dropdown-item + .dropdown-item,
body.sales-hub-page .dropdown-item + .dropdown-item {
  margin-top: 0.05rem;
}

body.thync-flow-app .dropdown-item:hover,
body.thync-flow-app .dropdown-item:focus,
body.thync-flow-app .dropdown-item:focus-visible,
body.sales-hub-page .dropdown-item:hover,
body.sales-hub-page .dropdown-item:focus,
body.sales-hub-page .dropdown-item:focus-visible {
  color: var(--thync-ink);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transform: translateX(3px) scale(1.012);
  outline: none;
}

body.thync-flow-app .dropdown-item:active,
body.thync-flow-app .dropdown-item.active,
body.thync-flow-app .dropdown-item[aria-current="true"],
body.sales-hub-page .dropdown-item:active,
body.sales-hub-page .dropdown-item.active,
body.sales-hub-page .dropdown-item[aria-current="true"] {
  font-weight: 600;
  color: #0f172a;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(165, 243, 252, 0.42) 48%,
    rgba(99, 102, 241, 0.22) 100%
  );
  box-shadow:
    var(--thync-iris-ring),
    inset 0 0 56px rgba(255, 255, 255, 0.72),
    inset 0 0 88px rgba(255, 255, 255, 0.14),
    var(--thync-iris-inset),
    0 0 28px rgba(99, 102, 241, 0.18);
  backdrop-filter: blur(28px) saturate(1.32);
  -webkit-backdrop-filter: blur(28px) saturate(1.32);
}

body.thync-flow-app .dropdown-divider,
body.sales-hub-page .dropdown-divider {
  position: relative;
  z-index: 1;
  margin: 0.4rem 0.5rem;
  height: 1px;
  border: 0;
  opacity: 1;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%
  );
}

body.thync-flow-app .dropdown-header,
body.sales-hub-page .dropdown-header {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thync-muted);
  padding: 0.4rem 0.9rem 0.2rem;
}

body.thync-flow-app .modal-content,
body.sales-hub-page .modal-content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--thync-radius);
  border: 0.5px solid rgba(255, 255, 255, 0.52);
  background-color: rgba(255, 255, 255, 0.58);
  background-image:
    radial-gradient(ellipse 150% 120% at var(--lux-x, 50%) var(--lux-y, 30%), rgba(255, 255, 255, 0.68) 0%, transparent 52%),
    var(--thync-noise-fine),
    linear-gradient(168deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 100%);
  background-blend-mode: soft-light, overlay, normal;
  backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  -webkit-backdrop-filter: blur(var(--thync-frost-elevated-blur)) saturate(var(--thync-frost-elevated-sat));
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 28px 64px rgba(15, 23, 42, 0.12);
  transition: backdrop-filter 0.45s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

body.thync-flow-app .modal-content::before,
body.sales-hub-page .modal-content::before {
  content: "";
  position: absolute;
  inset: -38%;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 52% 42% at calc(50% + (var(--thync-glass-tilt-x, 0) * 0.12) * 1%) calc(50% + (var(--thync-glass-tilt-y, 0) * 0.12) * 1%),
      rgba(255, 255, 255, 0.5) 0%,
      transparent 58%
    ),
    linear-gradient(
      118deg,
      rgba(165, 243, 252, 0.14) 0%,
      transparent 42%,
      rgba(167, 139, 250, 0.12) 100%
    );
  opacity: 0.48;
  transform: translate(
    calc(var(--thync-glass-tilt-x, 0) * 0.12px),
    calc(var(--thync-glass-tilt-y, 0) * 0.12px)
  );
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.modal.thync-liquid-bs .modal-content > * {
  position: relative;
  z-index: 1;
}

body.thync-flow-app .modal-content:hover,
body.sales-hub-page .modal-content:hover {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 8px)) saturate(1.52);
  -webkit-backdrop-filter: blur(calc(var(--thync-frost-elevated-blur) + 8px)) saturate(1.52);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    0 0 48px rgba(20, 184, 166, 0.06),
    var(--thync-iris-inset),
    0 28px 64px rgba(15, 23, 42, 0.12);
}

/* ----- Bootstrap 모달: Liquid expansion (클릭 지점 기준) ----- */
.modal.thync-liquid-bs.show:not(.thync-liquid-bs--shown) .modal-dialog {
  transition: none !important;
  transform: scale(0.05) translateY(10px) !important;
  opacity: 0 !important;
  filter: blur(16px);
  transform-origin: var(--thync-liquid-x, 50%) var(--thync-liquid-y, 50%);
}

.modal.thync-liquid-bs.show.thync-liquid-bs--shown .modal-dialog {
  animation: thyncBsLiquidDialog 0.64s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: var(--thync-liquid-x, 50%) var(--thync-liquid-y, 50%);
}

@keyframes thyncBsLiquidDialog {
  0% {
    transform: scale(0.05) translateY(12px);
    opacity: 0;
    filter: blur(18px);
  }
  55% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* 잉크 번짐 마스크: 클릭 지점에서 유리 면이 펼쳐짐 */
@keyframes thyncModalInkReveal {
  0% {
    clip-path: circle(0% at var(--thync-liquid-x, 50%) var(--thync-liquid-y, 50%));
  }
  100% {
    clip-path: circle(165% at var(--thync-liquid-x, 50%) var(--thync-liquid-y, 50%));
  }
}

.modal.thync-liquid-bs.show.thync-liquid-bs--shown .modal-content {
  animation: thyncModalInkReveal 0.56s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

body.thync-flow-app .modal-backdrop,
body.sales-hub-page .modal-backdrop {
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
}

/* 클릭 지점에서 액체처럼 퍼지는 백드롭 (Bootstrap 모달) */
body.thync-flow-app .modal-backdrop.thync-liquid-backdrop,
body.sales-hub-page .modal-backdrop.thync-liquid-backdrop {
  overflow: hidden;
}

body.thync-flow-app .modal-backdrop.thync-liquid-backdrop::after,
body.sales-hub-page .modal-backdrop.thync-liquid-backdrop::after {
  content: "";
  position: fixed;
  left: var(--thync-liquid-px-x, 50vw);
  top: var(--thync-liquid-px-y, 50vh);
  width: 200vmax;
  height: 200vmax;
  margin: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(186, 230, 253, 0.28) 0%,
    rgba(99, 102, 241, 0.16) 22%,
    rgba(15, 23, 42, 0.38) 58%,
    rgba(15, 23, 42, 0.62) 100%
  );
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(167, 139, 250, 0.12);
  transform: translate(-50%, -50%) scale(0.04);
  transform-origin: center center;
  opacity: 0.88;
  filter: blur(14px);
  transition: transform 0.001ms, filter 0.001ms;
}

body.thync-flow-app .modal-backdrop.thync-liquid-backdrop--expand::after,
body.sales-hub-page .modal-backdrop.thync-liquid-backdrop--expand::after {
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0px);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .modal.thync-liquid-bs.show:not(.thync-liquid-bs--shown) .modal-dialog,
  .modal.thync-liquid-bs.show.thync-liquid-bs--shown .modal-dialog {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .modal.thync-liquid-bs.show.thync-liquid-bs--shown .modal-content {
    animation: none !important;
    clip-path: none !important;
  }

  body.thync-flow-app .modal-backdrop.thync-liquid-backdrop::after,
  body.sales-hub-page .modal-backdrop.thync-liquid-backdrop::after {
    transform: translate(-50%, -50%) scale(1) !important;
    filter: none !important;
    transition: none !important;
  }

  .thync-topbar::after {
    transition: none;
    filter: none;
  }

  body.thync-flow-app .dropdown-menu::before,
  body.sales-hub-page .dropdown-menu::before {
    opacity: 0 !important;
  }
}

body.thync-flow-app .container-fluid .alert,
body.sales-hub-page .container-fluid .alert {
  position: relative;
  isolation: isolate;
  border-radius: var(--thync-radius-sm);
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.52);
  background-image:
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 50%),
    var(--thync-noise-fine);
  background-blend-mode: soft-light, overlay;
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  color: var(--thync-ink);
  box-shadow:
    var(--thync-iris-ring),
    var(--thync-iris-glow),
    var(--thync-iris-inset),
    0 8px 28px rgba(15, 23, 42, 0.08);
}

/* ----- Work 허브: 모듈 카드 등장 리듬 ----- */
.work-hub-tile-row .col-12 {
  animation: thyncTileRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.work-hub-tile-row .col-12:nth-child(1) {
  animation-delay: 0.04s;
}
.work-hub-tile-row .col-12:nth-child(2) {
  animation-delay: 0.1s;
}
.work-hub-tile-row .col-12:nth-child(3) {
  animation-delay: 0.16s;
}
.work-hub-tile-row .col-12:nth-child(4) {
  animation-delay: 0.22s;
}
.work-hub-tile-row .col-12:nth-child(5) {
  animation-delay: 0.28s;
}
.work-hub-tile-row .col-12:nth-child(6) {
  animation-delay: 0.34s;
}
.work-hub-tile-row .col-12:nth-child(7) {
  animation-delay: 0.4s;
}

@keyframes thyncTileRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-hub-flow-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.work-hub-flow-strip__steps a {
  color: inherit;
  text-decoration: none;
}

.work-hub-flow-strip__steps a:hover {
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.28);
}

.work-hub-empty-callout {
  position: relative;
  isolation: isolate;
}

.work-hub-flow-strip__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--thync-muted);
  margin-right: 0.25rem;
}

.work-hub-flow-strip__steps {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.work-hub-flow-strip__steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--thync-ink);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.work-hub-flow-strip__steps li + li::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--thync-muted);
  font-weight: 700;
  opacity: 0.55;
}

.work-hub-flow-strip__link {
  color: inherit;
  text-decoration: none;
}

.work-hub-flow-strip__link:hover {
  color: var(--thync-accent);
  text-decoration: underline;
}

.work-hub-flow-strip__link:focus-visible {
  outline: none;
  box-shadow: var(--thync-focus);
  border-radius: 6px;
}

/* Work 3D 버튼 → system/static/css/work-hub-lg3d.css */

/* ----- 세일즈: 라벨·대시보드·콤보박스·견적 편집 ----- */
.thync-label,
.form-label.thync-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--thync-muted);
  margin-bottom: 0.35rem;
}

.sales-dashboard-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thync-accent);
  margin-bottom: 0.35rem;
}

.sales-dashboard-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sales-combobox {
  position: relative;
  margin-bottom: 0.5rem;
}

.sales-combobox-field {
  position: relative;
  display: flex;
  align-items: center;
}

.sales-combobox-icon {
  position: absolute;
  left: 0.65rem;
  z-index: 2;
  color: var(--thync-accent);
  pointer-events: none;
}

.sales-combobox-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.sales-combobox-input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.35rem;
  border-radius: var(--thync-btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.sales-combobox-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 1050;
  max-height: 14rem;
  overflow: auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: var(--thync-radius-sm);
  border: 0.5px solid rgba(255, 255, 255, 0.48);
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--thync-shadow);
}

.sales-combobox-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  cursor: pointer;
}

.sales-combobox-item:hover,
.sales-combobox-item.is-active {
  background: rgba(99, 102, 241, 0.1);
}

.sales-combobox-item-title {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--thync-ink);
}

.sales-combobox-item-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--thync-muted);
}

.sales-combobox-hint {
  font-size: 0.75rem;
  color: var(--thync-muted);
  margin: 0.35rem 0 0;
}

.sales-client-summary-live {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--thync-ink);
}

.sales-estimate-shell .sales-estimate-doc-table input,
.sales-estimate-shell .sales-estimate-doc-table textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.4rem;
  font-size: 0.875rem;
}

body.sales-estimate-edit-page .sales-estimate-preview-wrap {
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sales-estimate-preview-wrap {
  border-radius: var(--thync-radius-sm);
  border: 0.5px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media print {
  .thync-topbar,
  .thync-breadcrumb,
  .work-hub-flow-strip,
  .btn,
  .thync-panel-header {
    display: none !important;
  }
  .sales-estimate-preview-wrap {
    border: none;
    background: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.thync-flow-app::before,
  body.sales-hub-page::before,
  body.thync-glass-suite::after {
    animation: none !important;
  }
  .work-hub-tile-row .col-12 {
    animation: none !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.thync-glass-suite .thync-panel,
  body.thync-glass-suite .dash-glass-tile,
  body.thync-glass-suite .dash-glass-hero {
    background-color: rgba(255, 255, 255, 0.88);
  }
}
