:root{
  --bg: #f6f7fb;
  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.92);
  --text: #0b1220;
  --muted: rgba(11,18,32,.62);
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 12px 32px rgba(15,23,42,.08);
  --radius: 16px;

  --basicA:#5b6cff;
  --basicB:#7c3aed;

  --proA:#2563eb;
  --proB:#06b6d4;

  --premiumA:#7c3aed;
  --premiumB:#ec4899;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Apple SD Gothic Neo, "Malgun Gothic", sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit}
.hide{display:none !important;}
.no-scroll{overflow:hidden}

/* ===== Background glow ===== */
.bg-glow{
  background:
    radial-gradient(900px 380px at 15% 10%, rgba(37, 99, 235, .16), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(124, 58, 237, .18), transparent 60%),
    radial-gradient(900px 420px at 60% 85%, rgba(99, 102, 241, .12), transparent 55%),
    var(--bg);
}

/* ===== Layout ===== */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
}

.section{padding:28px 0;}
.hero{padding-top:14px;}

.row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.space{justify-content:space-between;}
.w-full,.w100{width:100%;}

/* ===== Topbar ===== */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:62px;
}

.brand{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand-title{
  font-weight:900;
  letter-spacing:-.02em;
  font-size:17px;
  line-height:1;
}

.brand-sub{
  font-size:11px;
  color:var(--muted);
  line-height:1;
}

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

.nav-link{
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  color: rgba(11,18,32,.75);
  padding:8px 8px;
  border-radius:10px;
}

.nav-link:hover{
  background: rgba(15,23,42,.05);
  color: rgba(11,18,32,.92);
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:8px;
}

.btn{
  border:1px solid var(--border);
  border-radius:999px;
  padding:9px 13px;
  background: rgba(255,255,255,.9);
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn:hover{
  box-shadow: 0 10px 25px rgba(15,23,42,.08);
}

.btn-ghost{background: rgba(255,255,255,.75);}
.btn-login-sm{padding:8px 11px; font-size:13px;}
.btn-danger{
  background: rgba(239,68,68,.10);
  border-color: rgba(239,68,68,.25);
  color: #b91c1c;
}

.btn-primary,
.btn.primary{
  color:white;
  border-color:transparent;
  background: linear-gradient(135deg, var(--basicA), var(--basicB));
}

.btn-outline{
  background: rgba(255,255,255,.78);
}

.pill{
  text-decoration:none;
  border-radius:999px;
  padding:11px 15px;
  font-weight:1000;
  font-size:14px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.88);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.pill:hover{
  box-shadow: 0 14px 34px rgba(15,23,42,.10);
  transform: translateY(-1px);
}

.pill-basic{
  color:white;
  border:0;
  background: linear-gradient(135deg, var(--basicA), var(--basicB));
}

.pill-pro{
  color:white;
  border:0;
  background: linear-gradient(135deg, var(--proA), var(--proB));
}

.pill-premium{
  color:white;
  border:0;
  background: linear-gradient(135deg, var(--premiumA), var(--premiumB));
}

.pill.outline{
  background: rgba(255,255,255,.72);
}

.pill.soft{
  background: rgba(15,23,42,.04);
}

.pill.primary{
  color:white;
  border:0;
  background: linear-gradient(135deg, var(--basicA), var(--basicB));
}

/* ===== Dropdown (features) ===== */
.nav-dd,
.nav-dd-menu{
  display:none !important;
}

/* ===== User menu ===== */
.userMenu{position:relative;}

.userMenuBtn{
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.82);
  padding:7px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-weight:900;
}

.avatar{
  width:28px;
  height:28px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(91,108,255,.25), rgba(124,58,237,.25));
  border:1px solid rgba(124,58,237,.20);
}

.userEmail{
  font-size:13px;
  color:rgba(11,18,32,.72);
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.userDropdown{
  position:absolute;
  right:0;
  top:44px;
  width:300px;
  background: rgba(255,255,255,.94);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow: var(--shadow);
  padding:12px;
  display:none;
}

.userDropdown.open{display:block;}

.ud-head{
  display:flex;
  gap:10px;
  align-items:center;
  padding-bottom:10px;
  border-bottom:1px solid var(--border);
}

.ud-avatar{
  width:38px;
  height:38px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(37,99,235,.20), rgba(124,58,237,.20));
  border:1px solid rgba(37,99,235,.18);
}

.ud-name{font-weight:1000;}
.ud-handle,.ud-uid{
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.ud-row{padding:10px 0;}
.ud-label{
  font-size:12px;
  color:var(--muted);
  margin-bottom:8px;
}

.ud-strats{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.ud-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background: rgba(91,108,255,.12);
  border:1px solid rgba(91,108,255,.18);
  color: rgba(63,63,196,.92);
}

.chip.muted{
  background: rgba(15,23,42,.06);
  border-color: rgba(15,23,42,.10);
  color: rgba(11,18,32,.55);
}

.chipRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

/* ===== Cards / Titles ===== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card.soft{
  background: rgba(245,247,255,.72);
  border-color: rgba(91,108,255,.16);
  box-shadow: none;
}

.pad{padding:16px;}

.cardTitle{
  font-weight:1000;
  letter-spacing:-.02em;
  font-size:16px;
}

.cardDesc{
  color:var(--muted);
  font-weight:700;
  line-height:1.55;
  font-size:14px;
}

.h-title{
  font-weight:1000;
  letter-spacing:-.03em;
  margin:0;
}

.h-title.xl{
  font-size:48px;
  line-height:1.03;
}

.h-title.lg{
  font-size:38px;
  line-height:1.06;
}

.h-title.md{
  font-size:24px;
  line-height:1.1;
}

.h-desc{
  margin:8px 0 0;
  color:var(--muted);
  font-weight:750;
  line-height:1.55;
  font-size:15px;
}

.small-note{
  margin-top:8px;
  color:rgba(11,18,32,.58);
  font-weight:750;
  line-height:1.5;
  font-size:13px;
}

/* ===== Hero grid ===== */
.hero-grid{
  display:grid;
  grid-template-columns: 1.4fr .9fr;
  gap:14px;
  align-items:start;
}

.hero-left .demo-card{margin-top:12px;}
.hero-right .card.pad{padding:16px;}

.demo-box{
  height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(11,18,32,.55);
  font-weight:900;
  border-radius:14px;
}

.hero-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
  margin-bottom:6px;
}

/* ===== Right column blocks ===== */
.miniLink{
  color:rgba(11,18,32,.65);
  text-decoration:none;
  font-weight:900;
  font-size:13px;
}

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

.notice-mini{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

.noticeItem{
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
  border-radius:14px;
  padding:12px;
}

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

.noticeTitle{font-weight:1000;}
.noticeTime{
  font-size:12px;
  color:rgba(11,18,32,.55);
  font-weight:800;
}

.noticeBody{
  margin-top:8px;
  color:rgba(11,18,32,.70);
  font-weight:750;
  line-height:1.5;
}

.skeleton{
  border-radius:14px;
  background: linear-gradient(90deg, rgba(15,23,42,.05), rgba(15,23,42,.10), rgba(15,23,42,.05));
  background-size: 200% 100%;
  animation: sk 1.2s infinite;
}

@keyframes sk{
  0%{background-position:0 0}
  100%{background-position:-200% 0}
}

.market-mini-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.market-mini-tile{
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
  border-radius:14px;
  overflow:hidden;
}

.tile-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 11px;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.tile-sym{
  font-weight:1000;
  font-size:14px;
}

.tv-mini{
  padding:10px 12px;
}

.tv-mini .tradingview-widget-container,
.tv-mini .tradingview-widget-container__widget{
  width:100% !important;
  height:160px !important;
  display:block;
}

.tv-mini iframe{
  width:100% !important;
  height:160px !important;
  display:block !important;
}

.tile-foot{
  padding:9px 11px;
  color:rgba(11,18,32,.55);
  font-weight:750;
  font-size:12px;
}

/* ===== Grid helpers ===== */
.grid-2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

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

.iconBox{font-size:20px;}

.stepNum{
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  background: rgba(91,108,255,.12);
  border:1px solid rgba(91,108,255,.18);
}

/* ===== Plans page ===== */
.plan-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}

.planCard{
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(255,255,255,.80);
  padding:14px;
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.planHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-weight:1000;
  font-size:12px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.04);
}

.badge.basic{background: rgba(91,108,255,.12); border-color: rgba(91,108,255,.18);}
.badge.pro{background: rgba(37,99,235,.12); border-color: rgba(37,99,235,.18);}
.badge.premium{background: rgba(236,72,153,.10); border-color: rgba(236,72,153,.18);}

.price{
  font-weight:1000;
  font-size:20px;
  letter-spacing:-.02em;
}

.planChart{
  margin-top:10px;
  height:108px;
  border-radius:14px;
  border:1px solid rgba(91,108,255,.14);
  background:
    radial-gradient(700px 200px at 10% 10%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(700px 200px at 90% 10%, rgba(124,58,237,.16), transparent 60%),
    rgba(245,247,255,.75);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:rgba(11,18,32,.55);
}

.planTitle{
  margin-top:10px;
  font-weight:1000;
}

.planList{
  margin:10px 0 12px;
  padding-left:18px;
  color:rgba(11,18,32,.75);
  font-weight:750;
  line-height:1.55;
  font-size:14px;
}

.planList li{margin:4px 0;}

/* ===== Inputs ===== */
input,
select,
textarea{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.88);
  color:var(--text);
  font:inherit;
  outline:none;
}

input:focus,
select:focus,
textarea:focus{
  border-color: rgba(91,108,255,.34);
  box-shadow: 0 0 0 4px rgba(91,108,255,.10);
}

.field{display:grid;gap:6px;}
.field label{
  font-size:12px;
  font-weight:900;
  color:rgba(11,18,32,.70);
}

/* ===== Helpers ===== */
.muted{color:var(--muted);}
.ok{
  color:#0f766e;
  font-weight:900;
}
.err{
  color:#b91c1c;
  font-weight:900;
}
.hr{
  border:0;
  border-top:1px solid rgba(15,23,42,.08);
  margin:14px 0;
}

/* ===== Footer ===== */
.footer{
  padding:22px 0 30px;
  background: rgba(15,23,42,.86);
  color: rgba(255,255,255,.90);
  margin-top:30px;
}

.footer-box{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:16px;
}

.footer-company{
  font-weight:800;
  line-height:1.65;
  font-size:12px;
  opacity:.78;
}

.footer-note{
  margin-top:10px;
  color:rgba(255,255,255,.74);
  font-weight:750;
  line-height:1.55;
  max-width:980px;
  font-size:12px;
  opacity:.70;
}

.footer-mini{
  margin-top:10px;
  color:rgba(255,255,255,.62);
  font-weight:800;
  font-size:11px;
  opacity:.65;
}

/* ===== Mobile menu ===== */
.hamburger{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.85);
  display:none;
  align-items:center;
  justify-content:center;
  gap:4px;
}

.hamburger span{
  display:block;
  width:17px;
  height:2px;
  background: rgba(11,18,32,.75);
  border-radius:2px;
}

.mnav-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.35);
  display:none;
  z-index:60;
}

.mnav-backdrop.open{display:block;}

.mnav{
  position:fixed;
  top:0;
  left:0;
  height:100vh;
  width:270px;
  background: rgba(255,255,255,.95);
  border-right:1px solid var(--border);
  box-shadow: 0 30px 80px rgba(15,23,42,.20);
  transform: translateX(-110%);
  transition: transform .2s ease;
  z-index:70;
  padding:14px;
}

.mnav.open{transform: translateX(0);}

.mnav-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}

.mnav-title{font-weight:1000;}

.mnav-close{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.9);
  font-size:22px;
  cursor:pointer;
}

.mnav-link{
  display:block;
  text-decoration:none;
  padding:11px 12px;
  border-radius:12px;
  font-weight:1000;
  color: rgba(11,18,32,.86);
}

.mnav-link:hover{
  background: rgba(15,23,42,.05);
}

/* ===== Table ===== */
.table{
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.72);
}

.trow{
  display:grid;
  grid-template-columns: 1.4fr .8fr .6fr .6fr 1.2fr;
  gap:10px;
  padding:11px 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
  align-items:center;
}

.trow.thead{
  background:rgba(15,23,42,.03);
  font-weight:1000;
}

.trow:last-child{border-bottom:0;}
.pos{color:#16a34a;font-weight:1000;}
.neg{color:#dc2626;font-weight:1000;}

/* ===== Responsive ===== */
@media (max-width: 980px){
  .nav{display:none;}
  .hamburger{display:flex;}
  .hero-grid{grid-template-columns:1fr;gap:12px;}
  .grid-2,
  .grid2,
  .grid-3,
  .plan-row{grid-template-columns:1fr;}
  .h-title.xl{font-size:40px;}
  .h-title.lg{font-size:32px;}
  .container{padding:0 14px;}
}

@media (max-width: 640px){
  .topbar-inner{height:58px;}
  .brand-title{font-size:16px;}
  .brand-sub{font-size:10px;}
  .section{padding:24px 0;}
  .pad{padding:14px;}
  .pill{padding:10px 13px; font-size:13px;}
  .btn{padding:8px 12px; font-size:13px;}
}

@media (max-width: 520px){
  .market-mini-grid{grid-template-columns:1fr;}
  .h-title.xl{font-size:34px;}
  .h-title.lg{font-size:28px;}
  .h-title.md{font-size:22px;}
  .h-desc{font-size:14px;}
}

/* =========================
   Header Logo Safe Patch
   ========================= */

.brand-with-logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width:0;
}

.brand-logo-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
}

.brand-logo-img{
  position:relative;
  z-index:2;
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 6px rgba(255,200,120,.10));
  animation:qwLogoFloat 3.2s ease-in-out infinite;
}

.brand-logo-glow{
  position:absolute;
  inset:7px;
  z-index:1;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,220,140,.22) 0%, rgba(168,85,247,.10) 45%, rgba(168,85,247,0) 75%);
  filter:blur(10px);
  opacity:.8;
  animation:qwLogoGlow 3.2s ease-in-out infinite;
  pointer-events:none;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.brand-copy .brand-title,
.brand-copy .brand-sub{
  display:block;
}

.brand-with-logo:hover .brand-logo-img{
  transform:translateY(-1px) scale(1.02);
  transition:transform .18s ease;
}

.brand-with-logo:hover .brand-logo-glow{
  opacity:1;
  transition:opacity .18s ease;
}

@keyframes qwLogoFloat{
  0%, 100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-1.5px);
  }
}

@keyframes qwLogoGlow{
  0%, 100%{
    transform:scale(1);
    opacity:.65;
  }
  50%{
    transform:scale(1.06);
    opacity:.95;
  }
}

@media (max-width:980px){
  .brand-logo-wrap{
    width:38px;
    height:38px;
    flex:0 0 38px;
  }

  .brand-logo-img{
    width:38px;
    height:38px;
  }
}

@media (max-width:640px){
  .brand-with-logo{
    gap:8px;
  }

  .brand-logo-wrap{
    width:34px;
    height:34px;
    flex:0 0 34px;
  }

  .brand-logo-img{
    width:34px;
    height:34px;
  }

  .brand-copy .brand-title{
    font-size:15px;
    line-height:1.1;
  }

  .brand-copy .brand-sub{
    font-size:11px;
    line-height:1.1;
  }
}

@media (prefers-reduced-motion: reduce){
  .brand-logo-img,
  .brand-logo-glow{
    animation:none !important;
  }
}
.hero-bg{
  width:100%;
  border-radius:20px;
  animation:heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow{

0%{
filter:brightness(1);
}

50%{
filter:brightness(1.2);
}

100%{
filter:brightness(1);
}

}
/* =========================
   Header Logo Safe Patch
   ========================= */

.brand.brand-with-logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width:0;
  line-height:1;
}

.brand-logo-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
}

.brand-logo-img{
  position:relative;
  z-index:2;
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 8px rgba(255,200,120,.14));
  animation:qwLogoFloat 3.2s ease-in-out infinite;
  transform-origin:center;
}

.brand-logo-glow{
  position:absolute;
  inset:7px;
  z-index:1;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,220,140,.24) 0%, rgba(168,85,247,.10) 45%, rgba(168,85,247,0) 75%);
  filter:blur(10px);
  opacity:.8;
  animation:qwLogoGlow 3.2s ease-in-out infinite;
  pointer-events:none;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

.brand-copy .brand-title{
  display:block;
  margin:0;
  line-height:1.02;
  white-space:nowrap;
}

.brand-copy .brand-sub{
  display:block;
  margin-top:2px;
  line-height:1.05;
  white-space:nowrap;
}

.brand-with-logo:hover .brand-logo-img{
  transform:translateY(-1px) scale(1.02);
  transition:transform .18s ease;
}

.brand-with-logo:hover .brand-logo-glow{
  opacity:1;
  transition:opacity .18s ease;
}

@keyframes qwLogoFloat{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-1.5px); }
}

@keyframes qwLogoGlow{
  0%, 100%{
    transform:scale(1);
    opacity:.65;
  }
  50%{
    transform:scale(1.06);
    opacity:.95;
  }
}

@media (max-width:980px){
  .brand-logo-wrap{
    width:38px;
    height:38px;
    flex:0 0 38px;
  }

  .brand-logo-img{
    width:38px;
    height:38px;
  }
}

@media (max-width:640px){
  .brand.brand-with-logo{
    gap:8px;
  }

  .brand-logo-wrap{
    width:34px;
    height:34px;
    flex:0 0 34px;
  }

  .brand-logo-img{
    width:34px;
    height:34px;
  }

  .brand-copy .brand-title{
    font-size:15px;
    line-height:1.02;
  }

  .brand-copy .brand-sub{
    font-size:11px;
    line-height:1.05;
  }
}

@media (prefers-reduced-motion: reduce){
  .brand-logo-img,
  .brand-logo-glow{
    animation:none !important;
  }
}
/* =========================
   Header Logo Force Fix
   ========================= */

.brand.brand-with-logo{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  text-decoration:none !important;
  min-width:0 !important;
  white-space:nowrap !important;
}

.brand.brand-with-logo .brand-logo-wrap{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:42px !important;
  height:42px !important;
  flex:0 0 42px !important;
  margin:0 !important;
}

.brand.brand-with-logo .brand-logo-img{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  filter:drop-shadow(0 2px 8px rgba(255,200,120,.14)) !important;
  animation:qwLogoFloat 3.2s ease-in-out infinite !important;
}

.brand.brand-with-logo .brand-logo-glow{
  position:absolute !important;
  inset:7px !important;
  z-index:1 !important;
  border-radius:999px !important;
  background:radial-gradient(circle, rgba(255,220,140,.24) 0%, rgba(168,85,247,.10) 45%, rgba(168,85,247,0) 75%) !important;
  filter:blur(10px) !important;
  opacity:.8 !important;
  animation:qwLogoGlow 3.2s ease-in-out infinite !important;
  pointer-events:none !important;
}

.brand.brand-with-logo .brand-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:flex-start !important;
  min-width:0 !important;
  margin:0 !important;
}

.brand.brand-with-logo .brand-title{
  display:block !important;
  margin:0 !important;
  line-height:1.02 !important;
  white-space:nowrap !important;
}

.brand.brand-with-logo .brand-sub{
  display:block !important;
  margin-top:2px !important;
  line-height:1.05 !important;
  white-space:nowrap !important;
}

.brand.brand-with-logo:hover .brand-logo-img{
  transform:translateY(-1px) scale(1.02) !important;
  transition:transform .18s ease !important;
}

.brand.brand-with-logo:hover .brand-logo-glow{
  opacity:1 !important;
  transition:opacity .18s ease !important;
}

@keyframes qwLogoFloat{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-1.5px); }
}

@keyframes qwLogoGlow{
  0%, 100%{
    transform:scale(1);
    opacity:.65;
  }
  50%{
    transform:scale(1.06);
    opacity:.95;
  }
}

@media (max-width:980px){
  .brand.brand-with-logo .brand-logo-wrap{
    width:38px !important;
    height:38px !important;
    flex:0 0 38px !important;
  }

  .brand.brand-with-logo .brand-logo-img{
    width:38px !important;
    height:38px !important;
  }
}

@media (max-width:640px){
  .brand.brand-with-logo{
    gap:8px !important;
  }

  .brand.brand-with-logo .brand-logo-wrap{
    width:34px !important;
    height:34px !important;
    flex:0 0 34px !important;
  }

  .brand.brand-with-logo .brand-logo-img{
    width:34px !important;
    height:34px !important;
  }

  .brand.brand-with-logo .brand-title{
    font-size:15px !important;
    line-height:1.02 !important;
  }

  .brand.brand-with-logo .brand-sub{
    font-size:11px !important;
    line-height:1.05 !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .brand.brand-with-logo .brand-logo-img,
  .brand.brand-with-logo .brand-logo-glow{
    animation:none !important;
  }
}
/* =========================
   HERO VISUAL BACKGROUND
   ========================= */

.hero-visual{
  position:relative;
}

.hero-bg{
  position:absolute;
  right:-80px;
  top:-40px;

  width:680px;
  max-width:none;

  opacity:.35;

  filter:
    blur(0.2px)
    drop-shadow(0 40px 60px rgba(0,0,0,.12));

  pointer-events:none;
  z-index:0;
}

/* 카드 위로 올라오게 */
.hero-right .card{
  position:relative;
  z-index:2;
}

/* =========================================================
   GLOBAL PREMIUM HEADER
   모든 페이지 공통 적용
   common.css 맨 아래에 추가
   ========================================================= */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(15,23,42,.05);
  box-shadow:
    0 10px 30px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.65);
}

.topbar::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:3px;
  background:linear-gradient(90deg, rgba(79,70,229,.85), rgba(139,92,246,.65), rgba(236,72,153,.45));
  opacity:.9;
}

.topbar-inner{
  min-height:78px;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand img,
.brand-logo{
  filter:drop-shadow(0 4px 10px rgba(15,23,42,.08));
}

.brand-title{
  font-size:27px;
  line-height:1;
  font-weight:980;
  letter-spacing:-.045em;
  color:#0f172a;
}

.brand-sub{
  margin-top:4px;
  font-size:12px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.01em;
  color:rgba(15,23,42,.48);
}

.nav{
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-link,
.nav-dd-btn{
  position:relative;
  min-height:42px;
  padding:0 14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:850;
  letter-spacing:-.02em;
  color:rgba(15,23,42,.72);
  background:transparent;
  transition:
    color .18s ease,
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.nav-link:hover,
.nav-dd-btn:hover{
  color:#111827;
  background:rgba(255,255,255,.72);
  box-shadow:
    0 8px 20px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.7);
  transform:translateY(-1px);
}

.nav-link::after,
.nav-dd-btn::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(79,70,229,.95), rgba(139,92,246,.55));
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .18s ease;
}

.nav-link:hover::after,
.nav-dd-btn:hover::after{
  transform:scaleX(1);
}

.nav-dd-menu{
  margin-top:10px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:
    0 18px 40px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.7);
}

.nav-dd-item{
  min-height:42px;
  border-radius:12px;
  font-weight:800;
  color:rgba(15,23,42,.74);
}

.nav-dd-item:hover{
  background:rgba(99,102,241,.06);
  color:#111827;
}

.nav-right,
.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
}

.user-chip,
.account-chip,
.profile-chip,
.topbar .chip-account,
.topbar .user-menu,
.topbar .account-menu,
.topbar .profile-menu{
  border-radius:999px;
  border:1px solid rgba(15,23,42,.07);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.82));
  box-shadow:
    0 10px 20px rgba(15,23,42,.035),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.topbar button,
.topbar .user-chip,
.topbar .account-chip,
.topbar .profile-chip{
  min-height:46px;
}

.topbar .avatar,
.topbar .user-avatar,
.topbar .account-avatar{
  width:34px;
  height:34px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(99,102,241,.18), rgba(168,85,247,.18));
  color:#312e81;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}

.topbar .caret{
  opacity:.75;
}

@media (max-width:980px){
  .topbar-inner{
    min-height:68px;
  }

  .brand-title{
    font-size:23px;
  }

  .brand-sub{
    font-size:11px;
  }

  .nav-link,
  .nav-dd-btn{
    min-height:38px;
    padding:0 10px;
    font-size:14px;
  }
}

@media (max-width:640px){
  .brand-title{
    font-size:20px;
  }

  .brand-sub{
    display:none;
  }
}
/* =========================================================
   GLOBAL PREMIUM BUTTON SYSTEM
   모든 페이지 공통 적용
   common.css 맨 아래에 추가
   ========================================================= */

/* 기본 pill 버튼 */
.pill,
a.pill,
button.pill{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.14);
  text-decoration:none;
  color:#fff !important;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.015em;
  box-shadow:
    0 14px 28px rgba(79,70,229,.12),
    inset 0 1px 0 rgba(255,255,255,.18);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease,
    opacity .18s ease,
    background .18s ease,
    color .18s ease;
  cursor:pointer;
}

.pill::before,
a.pill::before,
button.pill::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 45%);
  pointer-events:none;
}

.pill:hover,
a.pill:hover,
button.pill:hover{
  transform:translateY(-1px);
  box-shadow:
    0 18px 34px rgba(79,70,229,.16),
    inset 0 1px 0 rgba(255,255,255,.22);
  filter:saturate(1.04);
}

.pill:active,
a.pill:active,
button.pill:active{
  transform:translateY(0);
  box-shadow:
    0 10px 18px rgba(79,70,229,.12),
    inset 0 1px 0 rgba(255,255,255,.16);
}

/* 브랜드 계열 버튼 */
.pill-basic{
  background:linear-gradient(135deg, #5b5fe8 0%, #6d5cf3 100%);
}

.pill-pro{
  background:linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.pill-premium{
  background:linear-gradient(135deg, #4338ca 0%, #7c3aed 55%, #a855f7 100%);
}

/* 일반 pill도 같은 브랜드 톤 */
.pill:not(.pill-basic):not(.pill-pro):not(.pill-premium),
a.pill:not(.pill-basic):not(.pill-pro):not(.pill-premium),
button.pill:not(.pill-basic):not(.pill-pro):not(.pill-premium){
  background:linear-gradient(135deg, #4f46e5 0%, #6d5cf3 100%);
}

/* 아웃라인 버튼이 필요할 때 */
.pill-outline,
a.pill-outline,
button.pill-outline{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:13px;
  border:1px solid rgba(15,23,42,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.82));
  color:#111827 !important;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.015em;
  box-shadow:
    0 10px 20px rgba(15,23,42,.035),
    inset 0 1px 0 rgba(255,255,255,.82);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    color .18s ease;
  cursor:pointer;
}

.pill-outline:hover,
a.pill-outline:hover,
button.pill-outline:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.90));
  box-shadow:
    0 14px 24px rgba(15,23,42,.05),
    inset 0 1px 0 rgba(255,255,255,.90);
  color:#0f172a !important;
}

/* 작은 버튼 */
.pill-sm,
a.pill-sm,
button.pill-sm{
  min-height:38px;
  padding:0 14px;
  border-radius:11px;
  font-size:13px;
}

/* 비활성 */
.pill[disabled],
button.pill[disabled],
.pill.is-disabled{
  opacity:.55;
  pointer-events:none;
  filter:grayscale(.08);
}

/* 링크 버튼류 */
.miniLink{
  color:rgba(15,23,42,.70);
  font-weight:850;
  text-decoration:none;
  transition:color .18s ease, opacity .18s ease;
}

.miniLink:hover{
  color:#111827;
}

/* 칩도 톤 정리 */
.chip{
  border-radius:999px;
  border:1px solid rgba(15,23,42,.07);
  background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(248,250,252,.82));
  box-shadow:
    0 8px 16px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.chip.muted{
  color:rgba(15,23,42,.56);
}

/* 모바일 */
@media (max-width:980px){
  .pill,
  a.pill,
  button.pill,
  .pill-outline,
  a.pill-outline,
  button.pill-outline{
    min-height:42px;
    padding:0 15px;
    font-size:13px;
    box-shadow:
      0 10px 20px rgba(79,70,229,.12),
      inset 0 1px 0 rgba(255,255,255,.16);
  }

  .pill-sm,
  a.pill-sm,
  button.pill-sm{
    min-height:34px;
    padding:0 12px;
    font-size:12px;
  }
}

/* =========================================================
   GLOBAL PREMIUM CARD / PANEL SYSTEM
   모든 페이지 공통 적용
   common.css 맨 아래에 추가
   ========================================================= */

/* 공통 카드 */
.card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.82));
  box-shadow:
    0 18px 40px rgba(15,23,42,.045),
    0 6px 14px rgba(15,23,42,.02),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 38%);
  opacity:.9;
}

.card.pad{
  padding:20px;
}

.card.soft{
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.76));
}

.card.dark{
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(25,32,48,.90), rgba(30,37,56,.84));
  box-shadow:
    0 22px 44px rgba(15,23,42,.20),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.card.dark::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 42%);
}

/* 카드 hover */
.card.hoverable{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.card.hoverable:hover{
  transform:translateY(-2px);
  border-color:rgba(99,102,241,.16);
  box-shadow:
    0 24px 46px rgba(15,23,42,.06),
    0 10px 24px rgba(99,102,241,.05),
    inset 0 1px 0 rgba(255,255,255,.82);
}

/* 카드 안 제목 계열 */
.cardTitle{
  font-size:18px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.03em;
  color:#0f172a;
}

.cardDesc{
  margin-top:6px;
  font-size:13px;
  line-height:1.55;
  font-weight:800;
  color:rgba(15,23,42,.54);
}

.card.dark .cardTitle,
.card.dark .cardDesc{
  color:#fff;
}

.card.dark .cardDesc{
  color:rgba(255,255,255,.68);
}

/* 작은 패널/타일 */
.tile,
.panel,
.info-tile{
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,250,252,.80));
  box-shadow:
    0 12px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.76);
}

.tile.pad,
.panel.pad,
.info-tile.pad{
  padding:16px;
}

/* 대시/메트릭 박스 */
.metric-box,
.stat-box,
.kpi-box{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.82));
  box-shadow:
    0 10px 22px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.80);
  padding:14px 15px;
}

.metric-label,
.stat-label,
.kpi-label{
  display:block;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.44);
}

.metric-value,
.stat-value,
.kpi-value{
  display:block;
  margin-top:7px;
  font-size:24px;
  line-height:1;
  font-weight:950;
  letter-spacing:-.04em;
  color:#111827;
}

.metric-sub,
.stat-sub,
.kpi-sub{
  margin-top:7px;
  font-size:12px;
  line-height:1.5;
  font-weight:800;
  color:rgba(15,23,42,.52);
}

/* 섹션 헤드 */
.section-eyebrow{
  font-size:11px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#5b5fe8;
}

.section-title,
.h-title{
  color:#0f172a;
  letter-spacing:-.035em;
}

.section-subtitle,
.h-desc{
  color:rgba(15,23,42,.58);
}

/* 리스트/공지형 블록 */
.list-card,
.notice-card,
.feed-card{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(248,250,252,.78));
  box-shadow:
    0 10px 20px rgba(15,23,42,.028),
    inset 0 1px 0 rgba(255,255,255,.78);
  padding:14px 16px;
}

/* 테이블/행 스타일이 있을 때 */
.table-soft,
.data-soft{
  border:1px solid rgba(15,23,42,.06);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.82);
  box-shadow:
    0 12px 24px rgba(15,23,42,.028),
    inset 0 1px 0 rgba(255,255,255,.78);
}

.table-soft tr + tr td,
.data-soft tr + tr td{
  border-top:1px solid rgba(15,23,42,.05);
}

/* skeleton도 톤 통일 */
.skeleton{
  border-radius:14px;
  background:
    linear-gradient(
      90deg,
      rgba(241,245,249,.92) 0%,
      rgba(248,250,252,.98) 50%,
      rgba(241,245,249,.92) 100%
    );
  background-size:200% 100%;
  animation:skeletonShimmer 1.6s linear infinite;
}

@keyframes skeletonShimmer{
  0%{ background-position:200% 0; }
  100%{ background-position:-200% 0; }
}

/* row 계열 정리 */
.row.space{
  gap:14px;
}

/* 모바일 */
@media (max-width:980px){
  .card{
    border-radius:18px;
  }

  .card.pad{
    padding:16px;
  }

  .tile,
  .panel,
  .info-tile,
  .metric-box,
  .stat-box,
  .kpi-box,
  .list-card,
  .notice-card,
  .feed-card,
  .table-soft,
  .data-soft{
    border-radius:16px;
  }

  .cardTitle{
    font-size:17px;
  }

  .metric-value,
  .stat-value,
  .kpi-value{
    font-size:21px;
  }
}

/* =========================
   MODAL BACKDROP
   ========================= */

.modal-backdrop,
.modalOverlay,
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  z-index:80;
}
/* =========================
   MODAL CARD
   ========================= */

.modal,
.modal-card,
.modalContent,
.modal-content{

  border-radius:22px;

  border:1px solid rgba(15,23,42,.07);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.96),
      rgba(248,250,252,.88)
    );

  box-shadow:
    0 30px 70px rgba(15,23,42,.16),
    0 12px 28px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.85);

}
/* =========================
   MODAL ANIMATION
   ========================= */

.modal,
.modal-card,
.modalContent{
  animation:modalEnter .18s ease;
}

@keyframes modalEnter{

  0%{
    opacity:0;
    transform:translateY(8px) scale(.98);
  }

  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }

}
/* =========================================================
   GLOBAL LAYOUT SYSTEM
   모든 페이지 공통 적용
   common.css 맨 아래에 추가
   ========================================================= */

/* 기본 페이지 폭 */
.container{
  width:min(1280px, calc(100% - 40px));
  margin:0 auto;
}

.container.narrow{
  width:min(1080px, calc(100% - 40px));
}

.container.wide{
  width:min(1360px, calc(100% - 40px));
}

/* 공통 섹션 간격 */
.section{
  position:relative;
  padding:28px 0;
}

.section-sm{
  padding:18px 0;
}

.section-lg{
  padding:44px 0;
}

/* 페이지 첫 섹션 */
.page-head,
.page-hero{
  padding-top:22px;
}

/* 공통 수직 간격 */
.stack-8 > * + *{ margin-top:8px; }
.stack-10 > * + *{ margin-top:10px; }
.stack-12 > * + *{ margin-top:12px; }
.stack-14 > * + *{ margin-top:14px; }
.stack-16 > * + *{ margin-top:16px; }
.stack-20 > * + *{ margin-top:20px; }
.stack-24 > * + *{ margin-top:24px; }
.stack-32 > * + *{ margin-top:32px; }

/* 공통 row */
.row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.row.wrap{
  flex-wrap:wrap;
}

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

.row.end{
  align-items:flex-end;
}

.row.space{
  justify-content:space-between;
  gap:14px;
}

.row.center{
  justify-content:center;
}

/* 공통 grid */
.grid{
  display:grid;
  gap:16px;
  min-width:0;
}

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

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

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

/* 비대칭 레이아웃 */
.layout-main{
  display:grid;
  grid-template-columns:minmax(0, 1.65fr) minmax(300px, .95fr);
  gap:18px;
  align-items:start;
  min-width:0;
}

.layout-main-tight{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(300px, .95fr);
  gap:16px;
  align-items:start;
  min-width:0;
}

.layout-sidebar-left{
  display:grid;
  grid-template-columns:minmax(280px, .9fr) minmax(0, 1.6fr);
  gap:18px;
  align-items:start;
  min-width:0;
}

/* 내부 컬럼 */
.col{
  min-width:0;
}

.col-main,
.col-side,
.col-left,
.col-right{
  min-width:0;
}

/* 카드 리스트 간격 */
.card-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  min-width:0;
}

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

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

/* 페이지 타이틀 블록 */
.page-title-wrap{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.page-kicker{
  display:block;
  margin-bottom:8px;
  font-size:11px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#5b5fe8;
}

.page-title{
  margin:0;
  font-size:36px;
  line-height:1.06;
  letter-spacing:-.04em;
  color:#0f172a;
}

.page-desc{
  margin-top:10px;
  max-width:760px;
  font-size:15px;
  line-height:1.7;
  font-weight:800;
  color:rgba(15,23,42,.58);
}

/* 구분 여백 */
.block-gap{
  margin-top:18px;
}

.block-gap-lg{
  margin-top:28px;
}

.block-gap-xl{
  margin-top:40px;
}

/* 공통 divider */
.divider{
  height:1px;
  background:linear-gradient(90deg, rgba(15,23,42,0), rgba(15,23,42,.08), rgba(15,23,42,0));
  border:0;
  margin:18px 0;
}

/* 폭 보조 */
.w-full{ width:100%; }
.max-720{ max-width:720px; }
.max-640{ max-width:640px; }
.max-560{ max-width:560px; }

/* 반응형 */
@media (max-width:1180px){
  .container,
  .container.narrow,
  .container.wide{
    width:min(100%, calc(100% - 32px));
  }

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

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

@media (max-width:980px){
  .section{
    padding:22px 0;
  }

  .section-lg{
    padding:32px 0;
  }

  .layout-main,
  .layout-main-tight,
  .layout-sidebar-left,
  .grid-2,
  .grid-3,
  .grid-4,
  .card-grid,
  .card-grid-2,
  .card-grid-4{
    grid-template-columns:1fr;
  }

  .page-title{
    font-size:30px;
  }

  .page-desc{
    font-size:14px;
  }

  .page-title-wrap{
    margin-bottom:16px;
  }
}

@media (max-width:640px){
  .container,
  .container.narrow,
  .container.wide{
    width:min(100%, calc(100% - 24px));
  }

  .section{
    padding:18px 0;
  }

  .section-lg{
    padding:26px 0;
  }

  .page-title{
    font-size:26px;
  }

  .row{
    gap:10px;
  }

  .row.space{
    align-items:flex-start;
    flex-direction:column;
  }
}

/* =========================================================
   GLOBAL FORM / INPUT SYSTEM
   모든 페이지 공통 적용
   common.css 맨 아래에 추가
   ========================================================= */

/* 라벨 */
.label,
.form-label{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  line-height:1.3;
  font-weight:900;
  letter-spacing:-.01em;
  color:#0f172a;
}

.label-sub,
.form-help{
  margin-top:6px;
  font-size:12px;
  line-height:1.55;
  font-weight:800;
  color:rgba(15,23,42,.52);
}

/* 폼 그룹 */
.form-group{
  min-width:0;
}

.form-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  min-width:0;
}

.form-stack{
  display:grid;
  gap:14px;
  min-width:0;
}

/* 기본 input/select/textarea */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
select,
textarea,
.input,
.select,
.textarea{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.88));
  box-shadow:
    0 8px 18px rgba(15,23,42,.025),
    inset 0 1px 0 rgba(255,255,255,.86);
  font-size:14px;
  line-height:1.4;
  font-weight:800;
  letter-spacing:-.01em;
  color:#111827;
  outline:none;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    transform .18s ease;
  appearance:none;
  -webkit-appearance:none;
}

textarea,
.textarea{
  min-height:120px;
  padding:14px;
  resize:vertical;
}

select,
.select{
  padding-right:40px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.88)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><path d='M5.25 7.5 10 12.25 14.75 7.5' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat:no-repeat, no-repeat;
  background-position:0 0, right 12px center;
  background-size:100% 100%, 18px 18px;
}

/* placeholder */
input::placeholder,
textarea::placeholder,
.input::placeholder,
.textarea::placeholder{
  color:rgba(15,23,42,.36);
  font-weight:700;
}

/* hover */
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
input[type="date"]:hover,
input[type="datetime-local"]:hover,
input[type="time"]:hover,
select:hover,
textarea:hover,
.input:hover,
.select:hover,
.textarea:hover{
  border-color:rgba(15,23,42,.12);
  box-shadow:
    0 10px 20px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.88);
}

/* focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus,
.input:focus,
.select:focus,
.textarea:focus{
  border-color:rgba(79,70,229,.34);
  box-shadow:
    0 0 0 4px rgba(99,102,241,.10),
    0 12px 22px rgba(79,70,229,.06),
    inset 0 1px 0 rgba(255,255,255,.92);
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,250,252,.92));
}

/* disabled */
input:disabled,
select:disabled,
textarea:disabled,
.input.is-disabled,
.select.is-disabled,
.textarea.is-disabled{
  opacity:.62;
  cursor:not-allowed;
  background:
    linear-gradient(180deg, rgba(241,245,249,.92), rgba(241,245,249,.82));
}

/* 에러/성공 상태 */
.is-error,
input.is-error,
select.is-error,
textarea.is-error{
  border-color:rgba(225,29,72,.34) !important;
  box-shadow:
    0 0 0 4px rgba(244,63,94,.08),
    0 10px 20px rgba(244,63,94,.05),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.is-success,
input.is-success,
select.is-success,
textarea.is-success{
  border-color:rgba(16,185,129,.30) !important;
  box-shadow:
    0 0 0 4px rgba(16,185,129,.08),
    0 10px 20px rgba(16,185,129,.04),
    inset 0 1px 0 rgba(255,255,255,.88) !important;
}

.error-text,
.field-error{
  margin-top:7px;
  font-size:12px;
  line-height:1.45;
  font-weight:800;
  color:#be123c;
}

.success-text,
.field-success{
  margin-top:7px;
  font-size:12px;
  line-height:1.45;
  font-weight:800;
  color:#047857;
}

/* input with icon/button */
.input-wrap{
  position:relative;
  min-width:0;
}

.input-wrap .input-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  color:rgba(15,23,42,.38);
  pointer-events:none;
}

.input-wrap input,
.input-wrap .input{
  padding-left:42px;
}

.input-wrap.has-right input,
.input-wrap.has-right .input{
  padding-right:44px;
}

.input-wrap .input-action{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  min-height:32px;
  padding:0 10px;
  border-radius:10px;
  border:1px solid rgba(15,23,42,.06);
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  color:rgba(15,23,42,.70);
  font-size:12px;
  font-weight:900;
  box-shadow:
    0 8px 16px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.80);
}

/* 검색바 */
.searchbar{
  position:relative;
  min-width:0;
}

.searchbar input,
.searchbar .input{
  min-height:50px;
  padding-left:44px;
  border-radius:16px;
}

.searchbar::before{
  content:"";
  position:absolute;
  left:15px;
  top:50%;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  opacity:.55;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'><circle cx='9' cy='9' r='5.75' fill='none' stroke='%2364748b' stroke-width='1.8'/><path d='M13.5 13.5 17 17' fill='none' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round'/></svg>");
  background-repeat:no-repeat;
  background-size:18px 18px;
  pointer-events:none;
}

/* 체크박스 / 라디오 */
.check-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

input[type="checkbox"],
input[type="radio"]{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color:#5b5fe8;
}

.check-label{
  font-size:13px;
  line-height:1.5;
  font-weight:800;
  color:rgba(15,23,42,.72);
}

/* 필드셋 */
.form-box{
  border-radius:20px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.80));
  box-shadow:
    0 12px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.82);
  padding:16px;
}

.form-box-title{
  font-size:15px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.02em;
  color:#0f172a;
}

.form-box-desc{
  margin-top:6px;
  font-size:12px;
  line-height:1.5;
  font-weight:800;
  color:rgba(15,23,42,.54);
}

/* 모바일 */
@media (max-width:980px){
  .form-row{
    grid-template-columns:1fr;
    gap:12px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="date"],
  input[type="datetime-local"],
  input[type="time"],
  select,
  textarea,
  .input,
  .select,
  .textarea{
    min-height:44px;
    font-size:13px;
    border-radius:13px;
  }

  .searchbar input,
  .searchbar .input{
    min-height:46px;
    border-radius:14px;
  }

  .form-box{
    border-radius:16px;
    padding:14px;
  }
}
/* =========================================================
   GLOBAL TABLE / LIST / BADGE SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

/* =========================
   TABLE
   ========================= */

.table{
  width:100%;
  border-collapse:collapse;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.06);
  background:rgba(255,255,255,.92);
  box-shadow:
    0 12px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.80);
}

.table th{
  text-align:left;
  font-size:12px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(15,23,42,.48);

  padding:14px 16px;

  background:
    linear-gradient(
      180deg,
      rgba(248,250,252,.95),
      rgba(241,245,249,.92)
    );

  border-bottom:1px solid rgba(15,23,42,.06);
}

.table td{
  padding:14px 16px;

  font-size:14px;
  font-weight:800;

  color:#0f172a;

  border-top:1px solid rgba(15,23,42,.05);
}

.table tr:first-child td{
  border-top:none;
}

/* hover */

.table tr:hover td{
  background:rgba(99,102,241,.03);
}


/* =========================
   LIST ITEM
   ========================= */

.list-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  padding:14px 16px;

  border-radius:14px;

  border:1px solid rgba(15,23,42,.06);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92),
      rgba(248,250,252,.86)
    );

  box-shadow:
    0 10px 20px rgba(15,23,42,.02),
    inset 0 1px 0 rgba(255,255,255,.8);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.list-item + .list-item{
  margin-top:10px;
}

.list-item:hover{
  transform:translateY(-1px);

  border-color:rgba(99,102,241,.18);

  box-shadow:
    0 16px 30px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.list-title{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
}

.list-desc{
  font-size:12px;
  font-weight:800;
  color:rgba(15,23,42,.54);
  margin-top:4px;
}


/* =========================
   STATUS BADGE
   ========================= */

.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:26px;

  padding:0 10px;

  border-radius:999px;

  font-size:11px;
  font-weight:900;

  letter-spacing:.06em;

  border:1px solid rgba(15,23,42,.08);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92),
      rgba(248,250,252,.84)
    );

  color:#0f172a;

  white-space:nowrap;
}


/* SUCCESS */

.badge-success{

  color:#047857;

  background:
    linear-gradient(
      180deg,
      rgba(16,185,129,.12),
      rgba(16,185,129,.08)
    );

  border:1px solid rgba(16,185,129,.18);

}


/* WARNING */

.badge-warning{

  color:#92400e;

  background:
    linear-gradient(
      180deg,
      rgba(245,158,11,.12),
      rgba(245,158,11,.08)
    );

  border:1px solid rgba(245,158,11,.18);

}


/* ERROR */

.badge-danger{

  color:#be123c;

  background:
    linear-gradient(
      180deg,
      rgba(244,63,94,.12),
      rgba(244,63,94,.08)
    );

  border:1px solid rgba(244,63,94,.18);

}


/* INFO */

.badge-info{

  color:#1e40af;

  background:
    linear-gradient(
      180deg,
      rgba(59,130,246,.12),
      rgba(59,130,246,.08)
    );

  border:1px solid rgba(59,130,246,.18);

}


/* =========================
   TAG
   ========================= */

.tag{

  display:inline-flex;

  align-items:center;

  padding:6px 10px;

  border-radius:10px;

  font-size:11px;

  font-weight:900;

  letter-spacing:.04em;

  background:rgba(99,102,241,.08);

  border:1px solid rgba(99,102,241,.14);

  color:#4f46e5;

}


/* =========================
   MOBILE
   ========================= */

@media (max-width:980px){

  .table th,
  .table td{
    padding:12px 12px;
    font-size:13px;
  }

  .list-item{
    padding:12px 14px;
  }

}
/* =========================================================
   GLOBAL TOAST SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

.toast-stack{
  position:fixed;
  top:92px;
  right:20px;
  z-index:120;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:min(380px, calc(100vw - 24px));
  pointer-events:none;
}

.toast{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:40px 1fr auto;
  align-items:start;
  gap:12px;
  padding:14px 14px 14px 12px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.90));
  box-shadow:
    0 18px 40px rgba(15,23,42,.10),
    0 8px 20px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  pointer-events:auto;
  animation:toastEnter .22s ease;
}

.toast::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:18px 0 0 18px;
  background:linear-gradient(180deg, #6366f1, #8b5cf6);
}

.toast-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:18px;
  font-weight:900;
  color:#312e81;
  background:linear-gradient(180deg, rgba(99,102,241,.14), rgba(139,92,246,.10));
  border:1px solid rgba(99,102,241,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.70);
}

.toast-body{
  min-width:0;
}

.toast-title{
  font-size:14px;
  line-height:1.25;
  font-weight:950;
  letter-spacing:-.02em;
  color:#0f172a;
}

.toast-message{
  margin-top:4px;
  font-size:12px;
  line-height:1.55;
  font-weight:800;
  color:rgba(15,23,42,.58);
  word-break:keep-all;
}

.toast-close{
  width:32px;
  height:32px;
  margin:-2px -2px 0 0;
  border:none;
  border-radius:10px;
  background:transparent;
  color:rgba(15,23,42,.42);
  font-size:18px;
  font-weight:700;
  cursor:pointer;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}

.toast-close:hover{
  background:rgba(15,23,42,.05);
  color:#111827;
  transform:translateY(-1px);
}

/* types */
.toast-success::before{
  background:linear-gradient(180deg, #10b981, #22c55e);
}
.toast-success .toast-icon{
  color:#047857;
  background:linear-gradient(180deg, rgba(16,185,129,.14), rgba(34,197,94,.10));
  border-color:rgba(16,185,129,.16);
}

.toast-error::before{
  background:linear-gradient(180deg, #f43f5e, #e11d48);
}
.toast-error .toast-icon{
  color:#be123c;
  background:linear-gradient(180deg, rgba(244,63,94,.14), rgba(225,29,72,.10));
  border-color:rgba(244,63,94,.16);
}

.toast-warning::before{
  background:linear-gradient(180deg, #f59e0b, #f97316);
}
.toast-warning .toast-icon{
  color:#92400e;
  background:linear-gradient(180deg, rgba(245,158,11,.16), rgba(249,115,22,.10));
  border-color:rgba(245,158,11,.18);
}

.toast-info::before{
  background:linear-gradient(180deg, #3b82f6, #6366f1);
}
.toast-info .toast-icon{
  color:#1d4ed8;
  background:linear-gradient(180deg, rgba(59,130,246,.14), rgba(99,102,241,.10));
  border-color:rgba(59,130,246,.16);
}

/* leaving */
.toast.is-leaving{
  animation:toastLeave .18s ease forwards;
}

@keyframes toastEnter{
  0%{
    opacity:0;
    transform:translateY(8px) scale(.98);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@keyframes toastLeave{
  0%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
  100%{
    opacity:0;
    transform:translateY(-6px) scale(.98);
  }
}

@media (max-width:980px){
  .toast-stack{
    top:78px;
    right:12px;
    left:12px;
    width:auto;
  }

  .toast{
    grid-template-columns:36px 1fr auto;
    gap:10px;
    padding:12px 12px 12px 10px;
    border-radius:16px;
  }

  .toast-icon{
    width:36px;
    height:36px;
    border-radius:12px;
    font-size:16px;
  }

  .toast-title{
    font-size:13px;
  }

  .toast-message{
    font-size:12px;
  }
}
/* =========================================================
   GLOBAL EMPTY STATE SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

.empty-state{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;

  min-height:220px;
  padding:28px 20px;

  border-radius:24px;
  border:1px dashed rgba(15,23,42,.10);

  background:
    radial-gradient(120% 120% at 50% 0%, rgba(99,102,241,.05) 0%, rgba(99,102,241,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.78));

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 12px 24px rgba(15,23,42,.025);
}

.empty-state::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 42%);
}

.empty-state-icon{
  position:relative;
  z-index:1;
  width:72px;
  height:72px;
  border-radius:22px;
  display:grid;
  place-items:center;

  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(243,246,255,.82));

  border:1px solid rgba(15,23,42,.07);

  box-shadow:
    0 14px 24px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.86);

  color:#4f46e5;
  font-size:28px;
  font-weight:950;
  letter-spacing:-.03em;
}

.empty-state-title{
  position:relative;
  z-index:1;
  font-size:20px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.035em;
  color:#0f172a;
}

.empty-state-desc{
  position:relative;
  z-index:1;
  max-width:540px;
  font-size:14px;
  line-height:1.7;
  font-weight:800;
  color:rgba(15,23,42,.56);
  word-break:keep-all;
}

.empty-state-actions{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
}

/* small version */
.empty-state.sm{
  min-height:160px;
  padding:22px 16px;
  border-radius:20px;
}

.empty-state.sm .empty-state-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  font-size:22px;
}

.empty-state.sm .empty-state-title{
  font-size:17px;
}

.empty-state.sm .empty-state-desc{
  font-size:13px;
}

/* compact inline empty */
.empty-inline{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  border:1px dashed rgba(15,23,42,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(248,250,252,.78));
}

.empty-inline-icon{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(99,102,241,.08);
  border:1px solid rgba(99,102,241,.12);
  color:#4f46e5;
  font-size:18px;
  font-weight:950;
}

.empty-inline-body{
  min-width:0;
}

.empty-inline-title{
  font-size:14px;
  font-weight:900;
  color:#0f172a;
  letter-spacing:-.02em;
}

.empty-inline-desc{
  margin-top:4px;
  font-size:12px;
  line-height:1.55;
  font-weight:800;
  color:rgba(15,23,42,.54);
}

/* search no result */
.empty-search{
  min-height:240px;
}

.empty-search .empty-state-icon{
  color:#6366f1;
  background:
    linear-gradient(180deg, rgba(99,102,241,.10), rgba(255,255,255,.92));
}

/* warning empty */
.empty-warning{
  border-color:rgba(245,158,11,.18);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(245,158,11,.06) 0%, rgba(245,158,11,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,251,235,.84));
}

.empty-warning .empty-state-icon{
  color:#b45309;
  background:
    linear-gradient(180deg, rgba(251,191,36,.14), rgba(255,255,255,.92));
  border-color:rgba(245,158,11,.18);
}

/* success empty / initial ready */
.empty-success{
  border-color:rgba(16,185,129,.16);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(16,185,129,.05) 0%, rgba(16,185,129,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(236,253,245,.84));
}

.empty-success .empty-state-icon{
  color:#047857;
  background:
    linear-gradient(180deg, rgba(16,185,129,.12), rgba(255,255,255,.92));
  border-color:rgba(16,185,129,.16);
}

/* mobile */
@media (max-width:980px){
  .empty-state{
    min-height:190px;
    padding:22px 16px;
    border-radius:20px;
  }

  .empty-state-icon{
    width:62px;
    height:62px;
    border-radius:18px;
    font-size:24px;
  }

  .empty-state-title{
    font-size:18px;
  }

  .empty-state-desc{
    font-size:13px;
  }

  .empty-inline{
    padding:12px 14px;
    border-radius:14px;
  }
}
/* =========================================================
   GLOBAL LOADING SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

/* =========================
   SPINNER
   ========================= */

.spinner{
  width:20px;
  height:20px;
  border-radius:999px;
  border:2px solid rgba(99,102,241,.18);
  border-top-color:#5b5fe8;
  animation:spin .7s linear infinite;
}

.spinner.sm{
  width:16px;
  height:16px;
  border-width:2px;
}

.spinner.lg{
  width:28px;
  height:28px;
  border-width:3px;
}

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

/* =========================
   INLINE LOADING
   ========================= */

.loading-inline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  font-weight:900;
  color:rgba(15,23,42,.58);
}

.loading-inline.center{
  justify-content:center;
  width:100%;
}

/* =========================
   BUTTON LOADING
   ========================= */

.is-loading{
  position:relative;
  pointer-events:none;
  opacity:.92;
}

.is-loading .btn-text,
.is-loading .pill-text{
  opacity:.0;
}

.btn-loading{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:13px;
  font-weight:900;
  color:inherit;
}

/* =========================
   SECTION LOADING BOX
   ========================= */

.loading-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:180px;
  padding:22px 16px;
  text-align:center;
  border-radius:20px;
  border:1px dashed rgba(15,23,42,.09);
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(99,102,241,.05) 0%, rgba(99,102,241,0) 48%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.80));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    0 12px 24px rgba(15,23,42,.025);
}

.loading-box-title{
  font-size:16px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.02em;
  color:#0f172a;
}

.loading-box-desc{
  max-width:420px;
  font-size:13px;
  line-height:1.6;
  font-weight:800;
  color:rgba(15,23,42,.54);
}

/* =========================
   SKELETON BLOCKS
   ========================= */

.skeleton{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background:
    linear-gradient(
      90deg,
      rgba(241,245,249,.92) 0%,
      rgba(248,250,252,.98) 50%,
      rgba(241,245,249,.92) 100%
    );
  background-size:200% 100%;
  animation:skeletonShimmer 1.5s linear infinite;
}

@keyframes skeletonShimmer{
  0%{ background-position:200% 0; }
  100%{ background-position:-200% 0; }
}

.skeleton-line{
  height:12px;
  border-radius:999px;
}

.skeleton-line.sm{ height:10px; }
.skeleton-line.lg{ height:14px; }

.skeleton-title{
  height:18px;
  width:42%;
  border-radius:999px;
}

.skeleton-text{
  height:12px;
  width:100%;
  border-radius:999px;
}

.skeleton-text.w-90{ width:90%; }
.skeleton-text.w-80{ width:80%; }
.skeleton-text.w-70{ width:70%; }
.skeleton-text.w-60{ width:60%; }
.skeleton-text.w-50{ width:50%; }
.skeleton-text.w-40{ width:40%; }

/* =========================
   SKELETON CARD
   ========================= */

.skeleton-card{
  border-radius:20px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.80));
  box-shadow:
    0 12px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.82);
  padding:16px;
}

.skeleton-stack{
  display:grid;
  gap:10px;
}

.skeleton-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.skeleton-avatar{
  width:42px;
  height:42px;
  border-radius:14px;
  flex:0 0 auto;
}

.skeleton-chip{
  width:72px;
  height:28px;
  border-radius:999px;
}

/* =========================
   PAGE LOADING OVERLAY
   ========================= */

.loading-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  z-index:20;
  border-radius:inherit;
}

.loading-overlay.dark{
  background:rgba(15,23,42,.30);
}

.loading-overlay .loading-inline{
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.90);
  border:1px solid rgba(15,23,42,.06);
  box-shadow:
    0 10px 22px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.86);
}

/* =========================
   COMMON LOADING HELPERS
   ========================= */

.is-busy{
  position:relative;
}

.dim-loading{
  opacity:.62;
  pointer-events:none;
}

@media (max-width:980px){
  .loading-box{
    min-height:150px;
    border-radius:16px;
    padding:18px 14px;
  }

  .skeleton-card{
    border-radius:16px;
    padding:14px;
  }
}
/* =========================================================
   GLOBAL TABS / SEGMENT / FILTER SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

/* =========================
   TAB BAR
   ========================= */

.tabbar{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.tabbar-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.tabbar-surface{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  box-shadow:
    0 12px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.82);
  min-width:0;
  flex-wrap:wrap;
}

.tab{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 14px;
  border:none;
  border-radius:12px;
  background:transparent;
  color:rgba(15,23,42,.62);
  font-size:14px;
  font-weight:900;
  letter-spacing:-.02em;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:
    color .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.tab:hover{
  color:#0f172a;
  background:rgba(255,255,255,.72);
  box-shadow:
    0 8px 18px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.70);
  transform:translateY(-1px);
}

.tab.is-active,
.tab[aria-selected="true"],
.tab.active{
  color:#111827;
  background:
    linear-gradient(135deg, rgba(79,70,229,.10), rgba(139,92,246,.08));
  border:1px solid rgba(99,102,241,.14);
  box-shadow:
    0 10px 20px rgba(79,70,229,.08),
    inset 0 1px 0 rgba(255,255,255,.72);
}

.tab.is-active::after,
.tab[aria-selected="true"]::after,
.tab.active::after{
  content:"";
  position:absolute;
  left:12px;
  right:12px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, #5b5fe8, #8b5cf6);
}

.tab-badge{
  min-height:20px;
  padding:0 7px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.06);
  color:rgba(15,23,42,.62);
  font-size:10px;
  font-weight:900;
  letter-spacing:.04em;
}

.tab.is-active .tab-badge,
.tab.active .tab-badge,
.tab[aria-selected="true"] .tab-badge{
  background:rgba(99,102,241,.12);
  color:#4f46e5;
}

/* =========================
   SEGMENTED CONTROL
   ========================= */

.segmented{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  box-shadow:
    0 10px 20px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.82);
  flex-wrap:wrap;
}

.segmented-btn{
  min-height:38px;
  padding:0 14px;
  border:none;
  border-radius:11px;
  background:transparent;
  color:rgba(15,23,42,.62);
  font-size:13px;
  font-weight:900;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.segmented-btn:hover{
  color:#0f172a;
  background:rgba(255,255,255,.74);
}

.segmented-btn.is-active,
.segmented-btn.active,
.segmented-btn[aria-pressed="true"]{
  color:#111827;
  background:
    linear-gradient(135deg, rgba(79,70,229,.10), rgba(139,92,246,.08));
  border:1px solid rgba(99,102,241,.14);
  box-shadow:
    0 8px 18px rgba(79,70,229,.08),
    inset 0 1px 0 rgba(255,255,255,.72);
}

/* =========================
   FILTER BAR
   ========================= */

.filterbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  min-width:0;
}

.filterbar-left,
.filterbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

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

.filter-label{
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.46);
}

/* =========================
   FILTER CHIP
   ========================= */

.filter-chip{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  box-shadow:
    0 8px 16px rgba(15,23,42,.028),
    inset 0 1px 0 rgba(255,255,255,.78);
  color:rgba(15,23,42,.68);
  font-size:13px;
  font-weight:900;
  letter-spacing:-.01em;
  text-decoration:none;
  cursor:pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    color .18s ease,
    background .18s ease;
}

.filter-chip:hover{
  transform:translateY(-1px);
  color:#111827;
  border-color:rgba(15,23,42,.11);
  box-shadow:
    0 12px 22px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.filter-chip.is-active,
.filter-chip.active,
.filter-chip[aria-pressed="true"]{
  color:#111827;
  border-color:rgba(99,102,241,.16);
  background:
    linear-gradient(135deg, rgba(79,70,229,.10), rgba(139,92,246,.08));
  box-shadow:
    0 12px 22px rgba(79,70,229,.08),
    inset 0 1px 0 rgba(255,255,255,.80);
}

.filter-chip-count{
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.06);
  color:rgba(15,23,42,.62);
  font-size:10px;
  font-weight:900;
}

.filter-chip.is-active .filter-chip-count,
.filter-chip.active .filter-chip-count{
  background:rgba(99,102,241,.12);
  color:#4f46e5;
}

/* =========================
   SUB TAB / UNDERLINE TAB
   ========================= */

.subtabs{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  min-width:0;
  border-bottom:1px solid rgba(15,23,42,.06);
  padding-bottom:2px;
}

.subtab{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:36px;
  color:rgba(15,23,42,.56);
  font-size:14px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
  transition:color .18s ease;
}

.subtab:hover{
  color:#111827;
}

.subtab.is-active,
.subtab.active{
  color:#111827;
}

.subtab.is-active::after,
.subtab.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-3px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, #5b5fe8, #8b5cf6);
}

/* =========================
   TOOLBAR
   ========================= */

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  min-width:0;
}

.toolbar-left,
.toolbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width:980px){
  .tabbar-wrap,
  .filterbar,
  .toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .tabbar-surface{
    width:100%;
  }

  .tab{
    min-height:40px;
    padding:0 12px;
    font-size:13px;
  }

  .segmented{
    width:100%;
  }

  .segmented-btn{
    min-height:36px;
    font-size:12px;
  }

  .filter-chip{
    min-height:36px;
    padding:0 12px;
    font-size:12px;
  }

  .subtabs{
    gap:14px;
  }

  .subtab{
    font-size:13px;
  }
}
/* =========================================================
   GLOBAL DASHBOARD INTERACTIONS
   모든 페이지 공통 적용
   ========================================================= */

/* =========================
   reveal animation
   ========================= */

.reveal-up{
  opacity:0;
  transform:translateY(10px);
  animation:revealUp .5s ease forwards;
}

.reveal-up.delay-1{ animation-delay:.06s; }
.reveal-up.delay-2{ animation-delay:.12s; }
.reveal-up.delay-3{ animation-delay:.18s; }
.reveal-up.delay-4{ animation-delay:.24s; }

@keyframes revealUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================
   countup target
   ========================= */

.countup{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}

/* =========================
   live pulse
   ========================= */

.live-dot{
  position:relative;
  display:inline-flex;
  width:10px;
  height:10px;
  border-radius:999px;
  background:#10b981;
  flex:0 0 auto;
  box-shadow:0 0 0 4px rgba(16,185,129,.10);
}

.live-dot::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(16,185,129,.40);
  animation:livePulse 1.8s ease-out infinite;
}

@keyframes livePulse{
  0%{
    transform:scale(1);
    opacity:.65;
  }
  100%{
    transform:scale(2.4);
    opacity:0;
  }
}

/* =========================
   status pulse badge
   ========================= */

.badge-live{
  position:relative;
  color:#047857;
  background:
    linear-gradient(180deg, rgba(16,185,129,.12), rgba(16,185,129,.08));
  border:1px solid rgba(16,185,129,.18);
  overflow:visible;
}

.badge-live::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:#10b981;
  display:inline-block;
  margin-right:6px;
  box-shadow:0 0 0 4px rgba(16,185,129,.10);
  animation:badgePulse 1.8s ease-out infinite;
}

@keyframes badgePulse{
  0%{
    box-shadow:0 0 0 0 rgba(16,185,129,.22);
  }
  100%{
    box-shadow:0 0 0 8px rgba(16,185,129,0);
  }
}

/* =========================
   card hover glow
   ========================= */

.card.interactive,
.strategy-card,
.market-mini-tile,
.hero-dash-panel,
.hero-metric,
.demo-kpi,
.demo-mini-card{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    filter .18s ease;
}

.card.interactive:hover,
.strategy-card:hover,
.market-mini-tile:hover,
.hero-dash-panel:hover,
.hero-metric:hover,
.demo-kpi:hover,
.demo-mini-card:hover{
  transform:translateY(-2px);
  border-color:rgba(99,102,241,.16);
  box-shadow:
    0 20px 36px rgba(15,23,42,.05),
    0 10px 24px rgba(99,102,241,.06),
    inset 0 1px 0 rgba(255,255,255,.82);
  filter:saturate(1.02);
}

/* =========================
   gradient value shimmer
   ========================= */

.value-gradient,
.demo-kpi-value.up,
.strategy-badge.up,
.hero-dash-strategy-item strong{
  background-size:200% 200%;
  animation:gradientFlow 5s ease-in-out infinite;
}

@keyframes gradientFlow{
  0%{ background-position:0% 50%; }
  50%{ background-position:100% 50%; }
  100%{ background-position:0% 50%; }
}

/* =========================
   chart subtle float
   ========================= */

.chart-soft-animate svg,
.demo-line-svg,
.hero-dash-chart svg{
  display:block;
}

.chart-soft-animate,
.hero-dash-chart,
.demo-chart-area{
  position:relative;
}

.chart-soft-animate::after,
.hero-dash-chart::after,
.demo-chart-area::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.12) 28%,
      rgba(255,255,255,0) 50%);
  transform:translateX(-120%);
  animation:chartSweep 4.8s ease-in-out infinite;
  opacity:.75;
}

@keyframes chartSweep{
  0%, 65%{
    transform:translateX(-120%);
  }
  100%{
    transform:translateX(120%);
  }
}

/* =========================
   number tiles emphasis
   ========================= */

.metric-value,
.stat-value,
.kpi-value,
.demo-kpi-value,
.hero-dash-kpi strong{
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}

/* =========================
   slight breathing for important dashboard blocks
   ========================= */

.dashboard-breathe{
  animation:dashboardBreathe 4.2s ease-in-out infinite;
}

@keyframes dashboardBreathe{
  0%, 100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-1px);
  }
}

/* =========================
   loading dots
   ========================= */

.loading-dots{
  display:inline-flex;
  align-items:center;
  gap:4px;
}

.loading-dots span{
  width:6px;
  height:6px;
  border-radius:999px;
  background:currentColor;
  opacity:.35;
  animation:dotBlink 1.1s infinite ease-in-out;
}

.loading-dots span:nth-child(2){ animation-delay:.15s; }
.loading-dots span:nth-child(3){ animation-delay:.3s; }

@keyframes dotBlink{
  0%, 80%, 100%{
    opacity:.25;
    transform:translateY(0);
  }
  40%{
    opacity:1;
    transform:translateY(-2px);
  }
}

/* =========================
   mobile tone down
   ========================= */

@media (max-width:980px){
  .card.interactive:hover,
  .strategy-card:hover,
  .market-mini-tile:hover,
  .hero-dash-panel:hover,
  .hero-metric:hover,
  .demo-kpi:hover,
  .demo-mini-card:hover{
    transform:none;
  }

  .chart-soft-animate::after,
  .hero-dash-chart::after,
  .demo-chart-area::after{
    animation-duration:5.8s;
    opacity:.5;
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal-up,
  .live-dot::after,
  .badge-live::before,
  .value-gradient,
  .demo-kpi-value.up,
  .strategy-badge.up,
  .hero-dash-strategy-item strong,
  .chart-soft-animate::after,
  .hero-dash-chart::after,
  .demo-chart-area::after,
  .dashboard-breathe,
  .loading-dots span{
    animation:none !important;
  }
}
/* =========================================================
   GLOBAL PAGE HEADER / BREADCRUMB SYSTEM
   모든 페이지 공통 적용
   ========================================================= */

/* =========================
   PAGE HERO / HEADER BLOCK
   ========================= */

.page-shell{
  position:relative;
}

.page-header{
  position:relative;
  overflow:hidden;
  padding:24px 24px 22px;
  border-radius:28px;
  border:1px solid rgba(15,23,42,.06);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(99,102,241,.06) 0%, rgba(99,102,241,0) 42%),
    radial-gradient(90% 90% at 100% 0%, rgba(168,85,247,.05) 0%, rgba(168,85,247,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.88));
  box-shadow:
    0 18px 40px rgba(15,23,42,.04),
    0 8px 20px rgba(15,23,42,.02),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 42%);
}

.page-header.compact{
  padding:18px 20px 18px;
  border-radius:22px;
}

.page-header-row{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.page-header-main{
  min-width:0;
}

.page-header-side{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* =========================
   BREADCRUMB
   ========================= */

.breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.breadcrumb-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.04em;
  color:rgba(15,23,42,.46);
  text-decoration:none;
}

.breadcrumb-item:hover{
  color:#111827;
}

.breadcrumb-sep{
  font-size:12px;
  font-weight:900;
  color:rgba(15,23,42,.26);
}

.breadcrumb-item.current{
  color:#4f46e5;
}

/* =========================
   PAGE KICKER / TITLE / DESC
   ========================= */

.page-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  font-size:11px;
  line-height:1;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#5b5fe8;
}

.page-kicker::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(135deg, #5b5fe8, #8b5cf6);
  box-shadow:0 0 0 6px rgba(99,102,241,.08);
  flex:0 0 auto;
}

.page-title{
  margin:0;
  font-size:38px;
  line-height:1.04;
  font-weight:980;
  letter-spacing:-.045em;
  color:#0f172a;
  text-wrap:balance;
}

.page-title.sm{
  font-size:30px;
}

.page-title.xs{
  font-size:24px;
}

.page-desc{
  margin-top:10px;
  max-width:760px;
  font-size:15px;
  line-height:1.72;
  font-weight:800;
  color:rgba(15,23,42,.58);
  word-break:keep-all;
}

.page-desc.sm{
  max-width:620px;
  font-size:14px;
}

/* =========================
   PAGE META / QUICK INFO
   ========================= */

.page-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.page-meta-item{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  box-shadow:
    0 8px 16px rgba(15,23,42,.025),
    inset 0 1px 0 rgba(255,255,255,.78);
  font-size:12px;
  font-weight:900;
  color:rgba(15,23,42,.66);
}

.page-meta-item strong{
  color:#111827;
}

/* =========================
   PAGE INTRO CARD
   ========================= */

.page-intro{
  position:relative;
  overflow:hidden;
  padding:18px 18px 16px;
  border-radius:22px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84));
  box-shadow:
    0 14px 28px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.80);
}

.page-intro-title{
  font-size:16px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.02em;
  color:#0f172a;
}

.page-intro-desc{
  margin-top:8px;
  font-size:13px;
  line-height:1.65;
  font-weight:800;
  color:rgba(15,23,42,.56);
}

/* =========================
   SUB PAGE NAV
   ========================= */

.page-subnav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.page-subnav .subtab{
  min-height:38px;
}

/* =========================
   HEADER ACTION AREA
   ========================= */

.page-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.page-actions .pill,
.page-actions .pill-outline{
  min-height:42px;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width:980px){
  .page-header{
    padding:18px 18px 18px;
    border-radius:22px;
  }

  .page-header-row{
    align-items:flex-start;
    gap:14px;
  }

  .page-title{
    font-size:30px;
  }

  .page-title.sm{
    font-size:26px;
  }

  .page-title.xs{
    font-size:22px;
  }

  .page-desc{
    font-size:14px;
    margin-top:8px;
  }

  .page-meta{
    margin-top:12px;
  }

  .page-intro{
    padding:16px 16px 14px;
    border-radius:18px;
  }
}

@media (max-width:640px){
  .page-header{
    padding:16px 14px 16px;
    border-radius:18px;
  }

  .breadcrumb{
    gap:6px;
    margin-bottom:10px;
  }

  .page-title{
    font-size:26px;
  }

  .page-title.sm{
    font-size:23px;
  }

  .page-title.xs{
    font-size:20px;
  }

  .page-desc{
    font-size:13px;
  }

  .page-meta-item{
    min-height:32px;
    padding:0 10px;
    font-size:11px;
  }

  .page-actions{
    width:100%;
  }

  .page-actions .pill,
  .page-actions .pill-outline{
    width:100%;
  }
}

.cta-section{
  padding:120px 0;
}

.cta-container{
  width:min(1100px, calc(100% - 40px));
  margin:0 auto;
}

.cta-box{
  text-align:center;
  padding:70px 40px;
  border-radius:28px;
  background:linear-gradient(135deg,#6366f1,#7c3aed);
  color:white;
}

.cta-eyebrow{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:800;
  opacity:.8;
  margin-bottom:12px;
}

.cta-title{
  font-size:42px;
  font-weight:900;
  margin:0;
}

.cta-desc{
  margin-top:16px;
  font-size:16px;
  line-height:1.7;
  opacity:.9;
}

.cta-buttons{
  margin-top:34px;
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}

.cta-btn-main{
  padding:14px 28px;
  border-radius:10px;
  background:white;
  color:#4f46e5;
  font-weight:800;
  text-decoration:none;
}

.cta-btn-outline{
  padding:14px 28px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.5);
  color:white;
  font-weight:800;
  text-decoration:none;
}

.cta-btn-outline:hover{
  background:rgba(255,255,255,.1);
}

.cta-btn-main:hover{
  opacity:.9;
}

.hero-premium{
padding:120px 0;
}

.hero-container{
width:min(1200px, calc(100% - 40px));
margin:0 auto;
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.hero-eyebrow{
font-size:12px;
letter-spacing:.14em;
text-transform:uppercase;
font-weight:900;
color:#6366f1;
margin-bottom:10px;
}

.hero-title{
font-size:56px;
font-weight:900;
line-height:1.1;
margin:0;
}

.hero-gradient{
background:linear-gradient(90deg,#6366f1,#8b5cf6);
-webkit-background-clip:text;
color:transparent;
}

.hero-desc{
margin-top:20px;
font-size:17px;
line-height:1.7;
color:#555;
}

.hero-buttons{
margin-top:32px;
display:flex;
gap:16px;
flex-wrap:wrap;
}

.hero-btn-main{
padding:14px 26px;
border-radius:10px;
background:#6366f1;
color:white;
font-weight:800;
text-decoration:none;
}

.hero-btn-outline{
padding:14px 26px;
border-radius:10px;
border:1px solid #ddd;
font-weight:800;
text-decoration:none;
color:#333;
}

.hero-chart-box{
border-radius:20px;
padding:30px;
background:#fff;
border:1px solid rgba(0,0,0,.06);
}

.hero-chart-title{
font-weight:800;
margin-bottom:10px;
}

.hero-chart{
width:100%;
height:240px;
}

@media(max-width:900px){

.hero-container{
grid-template-columns:1fr;
}

.hero-title{
font-size:40px;
}

}

/* 공지 카드 */

.notice-card-premium{
box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.notice-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
}

.notice-sub{
font-size:12px;
color:rgba(15,23,42,.55);
font-weight:700;
}

.notice-link{
font-size:13px;
font-weight:800;
color:#6366f1;
text-decoration:none;
}

.notice-skeleton{
height:64px;
border-radius:14px;
background:linear-gradient(
90deg,
rgba(240,240,240,.7),
rgba(255,255,255,.9),
rgba(240,240,240,.7)
);
margin-top:8px;
animation:noticeLoading 2s infinite;
}

@keyframes noticeLoading{
0%{opacity:.7}
50%{opacity:1}
100%{opacity:.7}
}


/* 시장 카드 */

.market-card-premium{
margin-top:14px;
box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.market-head{
display:flex;
justify-content:space-between;
align-items:flex-end;
margin-bottom:12px;
}

.market-sub{
font-size:12px;
font-weight:700;
color:rgba(15,23,42,.55);
}

.market-link{
font-size:13px;
font-weight:800;
color:#6366f1;
text-decoration:none;
}


/* 마켓 타일 */

.market-mini-tile.premium{
border-radius:16px;
overflow:hidden;
background:linear-gradient(
180deg,
rgba(255,255,255,.9),
rgba(248,250,252,.8)
);
border:1px solid rgba(15,23,42,.06);
box-shadow:0 10px 20px rgba(15,23,42,.04);
padding:10px;
}

.market-mini-tile.premium:hover{
transform:translateY(-2px);
transition:.2s;
box-shadow:0 18px 30px rgba(15,23,42,.08);
}

html, body{
  max-width:100%;
  overflow-x:hidden;
}

body.no-scroll{
  overflow:hidden;
}

.topbar{
  position:sticky;
  top:0;
  z-index:70;
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-width:0;
}

.brand{
  min-width:0;
  flex:0 1 auto;
}

.brand-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.brand-title,
.brand-sub{
  white-space:nowrap;
}

.desktop-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:0;
  flex:1 1 auto;
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.mobile-only{
  display:none;
}

.mnavBackdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.36);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  z-index:79;
}

.mnavBackdrop.open{
  opacity:1;
  pointer-events:auto;
}

.mnav{
  position:fixed;
  top:0;
  right:-320px;
  width:min(320px, 88vw);
  height:100vh;
  background:#fff;
  box-shadow:-18px 0 40px rgba(15,23,42,.14);
  z-index:80;
  transition:right .22s ease;
  display:flex;
  flex-direction:column;
}

.mnav.open{
  right:0;
}

.mnav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 16px 14px;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.mnav-title{
  font-size:18px;
  font-weight:1000;
  color:#111827;
}

.mnavClose{
  width:40px;
  height:40px;
  border:none;
  border-radius:12px;
  background:#f3f4f6;
  font-size:18px;
  cursor:pointer;
}

.mnav-links{
  display:grid;
  gap:8px;
  padding:14px 16px;
}

.mnav-links a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 14px;
  border-radius:14px;
  text-decoration:none;
  color:#111827;
  background:#f8fafc;
  font-weight:900;
}

.mnav-user{
  margin-top:auto;
  padding:16px;
  border-top:1px solid rgba(15,23,42,.08);
}

.mnav-user-top{
  display:flex;
  align-items:center;
  gap:12px;
}

.mnav-avatar{
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ede9fe;
  color:#4338ca;
  font-weight:1000;
}

.mnav-user-email{
  font-size:14px;
  font-weight:900;
  color:#111827;
  word-break:break-all;
}

.mnav-user-uid{
  margin-top:4px;
  font-size:12px;
  color:rgba(15,23,42,.56);
  font-weight:800;
}

.mnav-user-actions{
  display:grid;
  gap:10px;
  margin-top:14px;
}

@media (max-width:900px){
  .desktop-nav,
  .desktop-login,
  .desktop-user{
    display:none !important;
  }

  .mobile-only{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
  }

  .topbar-inner{
    min-height:64px;
    gap:10px;
  }

  .brand-logo-img{
    width:28px;
    height:28px;
    object-fit:contain;
  }

  .brand-title{
    font-size:16px !important;
    line-height:1.05;
  }

  .brand-sub{
    font-size:10px !important;
    line-height:1.15;
  }
}