:root{
  --bg: #0b0c10;
  --panel: #12141b;
  --card: #ffffff;
  --muted: rgba(255,255,255,.65);
  --text: rgba(255,255,255,.92);

  --line: rgba(255,255,255,.12);
  --shadow: 0 12px 30px rgba(0,0,0,.25);

  --primary: #866a89;     /* 기존 버튼 컬러 살림 */
  --primary2: #604b63;

  --default: #3e4243;     /* 기존 버튼 컬러 살림 */
  --default2: #242728;  

  --r12: 12px;
  --r16: 16px;

  --card2:#111a33;

  --ghost:rgba(255,255,255,.10);
  --warn:#f59e0b;
  --danger:#ef4444;
  --ok:#22c55e;
}

*, *::before, *::after { box-sizing: border-box;}

body{
  margin:0;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(134,106,137,.25), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(70,120,190,.18), transparent 55%),
              var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", Segoe UI, Roboto, Arial, sans-serif;
}
::placeholder {color:dimgrey};

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 5000s ease-in-out 0s;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color-scheme: dark;
filter: invert(1) brightness(2);
}
.vm-shell{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 64px;
}

.vm-shell--center{
  max-width: 980px;
}

.vm-hero{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.vm-hero__left {
  width:100%;
  align-items: start;
}
.vm-hero__right {
  width: 100%;
}

@media (max-width: 980px){
  .vm-hero{ grid-template-columns: 1fr; }
}

.vm-badge{
  display:inline-flex;
  gap:8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.78);
  letter-spacing: .2px;
}


.vm-badge-link a{
  text-decoration:none;
  display:inline-flex;
  gap:8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 12px;
  color: #ccc;
  letter-spacing: .2px;
}
.vm-badge-link a:hover{
  text-decoration:none;
  color:white;
  background-color: rgba(255,255,255,.12);
}

.vm-title{
  margin: 12px 0 8px;
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.6px;
}

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

.vm-subtitle{
  margin: 0 0 14px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  font-size:13px;
}

.vm-subtitle--sm{
  margin-bottom: 10px;
}

.vm-cta{
  display:flex;
  gap:10px;
  margin: 16px 0 14px;
  flex-wrap: wrap;
}

.vm-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}

.vm-btn--primary{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #ccc;
  font-size:15px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(134,106,137,.18);
}

.vm-btn--sub{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #ccc;
  height: 34px;
  padding: 0 12px;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(134,106,137,.18);
}

.vm-btn--default{
  background: linear-gradient(180deg, var(--default), var(--default2));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--default a{
  background: linear-gradient(180deg, var(--default), var(--default2));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
  text-align:center;
  align-content:center;
  text-decoration: none;
}



.vm-btn--orange{
  background: linear-gradient(180deg, rgba(255, 111, 0, 0.194), rgba(167, 84, 0, 0.2));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--yellow{
  background: linear-gradient(180deg, rgba(255, 191, 0, 0.3), rgba(167, 134, 0, 0.3));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--blue{
  background: linear-gradient(180deg, rgba(0, 195, 255, 0.2), rgba(0, 126, 145, 0.2));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--green{
  background: linear-gradient(180deg, rgba(0, 255, 4, 0.2), rgba(6, 167, 0, 0.2));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--primary:hover{color: white;}
.vm-btn--sub:hover{color: white;}
.vm-btn--default:hover{color: white;}
.vm-btn--orange:hover{color:white}
.vm-btn--yellow:hover{color:white}
.vm-btn--blue:hover{color:white}
.vm-btn--green:hover{color:white}
.vm-btn--red:hover{color:white}
.vm-btn--happy:hover{color:white}

.vm-btn--red{
  background: linear-gradient(180deg, rgba(255, 0, 140, 0.257), rgba(165, 0, 91, 0.257));
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #ccc;
  font-size:14px;
  border-color: rgba(255, 67, 111, 0.1);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
}

.vm-btn--happy{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #ccc;
  font-size:14px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(134,106,137,.18);
}

.vm-btn--default-13px{
  background: linear-gradient(180deg, var(--default), var(--default2));
  color: #ccc;
  font-size:13px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(81, 91, 100, 0.18);
  justify-content:center;
  height: 35px;
  padding: 0 7px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration:none;
  cursor:pointer;
  user-select:none;
}

.vm-btn--default-13px:hover{
  color: white;
}

.vm-btn--ghost{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-size:15px;
}

.vm-btn--ghost a{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  font-size:15px;
}

.vm-btn--ghost a:hover{
  background: rgba(255,255,255,.12);
  color: white;
  font-size:15px;
}
.vm-btn--full{
  width: 100%;
}

.vm-btn--danger{
  background: rgba(255, 90, 90, .16);
  border-color: rgba(240, 110, 110, 0.3);
  color: rgba(255,255,255,.92);
}

.vm-btn--danger-13px{
  background: rgba(255, 90, 90, .16);
  border-color: rgba(240, 110, 110, 0.3);
  color: rgba(255,255,255,.92);
  font-size:13px;
  padding: 0 7px;
    height: 35px;
  padding: 0 7px;
  border-radius: 12px;
}

.vm-btn--primary-13px{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color: #fff;
  padding: 0 7px;
  font-size:13px;
  border-color: rgba(255,255,255,.10);
  box-shadow: 4px 10px 12px rgba(134,106,137,.18);
    height: 35px;
  padding: 0 7px;
  border-radius: 12px;
}

.vm-notice{
  margin-top: 10px;

}

.vm-notice__item{
  padding:0px ;
  color: #ccc;
  line-height: 1.45;
}

.vm-card{
  border-radius: var(--r16);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}

.vm-card--media{
  background: rgba(255,255,255,.06);
}

.vm-card--auth{
  background: rgba(255,255,255,.06);
}

.vm-card__media{
  background: white;
  align-content: center;
}

.vm-video{
  width: 75%;
  display:block;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 50%;
}

.vm-card__body{
  padding: 14px 14px 16px;
  background-color:rgba(134,106,137,.1);
}

.vm-card__title{
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.vm-card__desc{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.vm-mini{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 15px 15px;
}
.vm-mini__label{
  font-size: 13px;
  color: rgba(255,255,255,.86);
  font-weight: 600;
  margin-bottom: 4px;
}
.vm-mini__desc{
  font-size: 12px;
  color: rgba(255,255,255,.66);
  margin-top:7px;
}

.vm-divider{
  height:1px;
  background: var(--line);
  margin: 12px 0;
}

.vm-links{
  display:flex;
  gap:10px;
  align-items:center;
  color: rgba(255,255,255,.60);
  font-size: 13px;
}
.vm-link{
  color: rgba(255,255,255,.82);
  text-decoration:none;
  border-bottom: 1px dotted rgba(255,255,255,.28);
}

.vm-link__button{
  color: rgba(255,255,255,.82);
  background-color: #343438;
  border: 1px solid #707070;
  border-radius: 10px;
  padding:5px 10px;
  
}
.vm-link__button a{
  text-decoration: none;
}
.vm-link__button:hover{
  color:white;
}

.vm-dot{ opacity:.7; }

.vm-auth{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
  margin-top: 12px;
}
@media (max-width: 980px){
  .vm-auth{ grid-template-columns: 1fr; }
}

.vm-clock{
  display:inline-block;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-size: 15px;
}

.vm-clock-large{
  display:inline-block;
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  font-size: 20px;
}


.vm-auth__img{
  /* width: min(350px, 100%); */
  display:block;
  margin: 0 auto 8px;
  width:75%;

}

.vm-alert{
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  font-size: 13px;
  line-height: 1.4;
}
.vm-alert--error{
  border-color: rgba(255, 120, 120, .35);
  background: rgba(255, 90, 90, .10);
}

.vm-form{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.vm-field{
  display:flex;
  flex-direction: column;
  margin-top:10px;
  gap: 6px;
}
.vm-field__label{
  font-size: 13px;
  color: rgba(255,255,255,.72);
  margin-left:5px;
}

.vm-field__title{
  font-size: 15px;
  font-weight:600;
  color: rgba(255,255,255,.72);
  margin-left:5px;
}

.vm-input{
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size:13px;
  padding: 0 12px;
  outline: none;
}
.vm-input:focus{
  border-color: rgba(134,106,137,.65);
  box-shadow: 0 0 0 4px rgba(134,106,137,.18);
}

.vm-auth__help{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.64);
}

/* ===== Admin Shell ===== */
.vm-admin{
  display:grid;
  grid-template-columns: 200px 1fr;
  min-height: calc(100vh - 400px);
}

@media (max-width: 1100px){
  .vm-admin{ grid-template-columns: 1fr; }
  .vm-side{ position: sticky; top: 0; z-index: 10; }
}

.vm-admin-noside{
  display:flex;
  max-width:1100px;
  min-height: calc(100vh - 400px);
}

/* Sidebar */
.vm-side{
  border-right: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  min-height: calc(100vh - 480px); 
  display:flex;
  flex-direction: column;
}

.vm-side__brand{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}

.vm-side__logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight: 600;
}

.vm-side__title{ font-weight: 800; letter-spacing: .2px; }
.vm-side__sub{ font-size: 12px; color: rgba(255,255,255,.62); }

.vm-nav{
  padding: 10px 10px;
  display:flex;
  flex-direction: column;
  gap: 6px;
  overflow:auto;
}

.vm-nav__section{
  margin-top: 8px;
  margin-bottom: 2px;
  padding: 8px 10px 4px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.vm-nav__item{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
  color: rgba(255,255,255,.84);
  border: 1px solid transparent;
  background: transparent;
}

.vm-nav__dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.vm-nav__item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.vm-nav__item--active{
  background: rgba(134,106,137,.16);
  border-color: rgba(134,106,137,.35);
}
.vm-nav__item--active .vm-nav__dot{
  background: rgba(134,106,137,.95);
}

.vm-side__foot{
  margin-top:auto;
  padding: 12px 12px 14px;
  border-top: 1px solid var(--line);
}

.vm-side__user{
  display:flex;
  gap:10px;
  align-items:center;
}

.vm-avatar{
  width: 36px; height: 36px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 600;
}

.vm-side__user-name{ font-weight: 600; }
.vm-side__user-sub{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}
.vm-side__user-email{ opacity: .85; }

/* Main */
.vm-main{
  padding: 18px 18px 40px;
  min-height: calc(100vh - 300px); 
}

.vm-top{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.vm-top__title{
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color:rgb(191, 168, 122);
}
.vm-top__desc{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.66);
}
.vm-top__menu{
  display:flex;
  align-items:flex-end;
  gap: 12px;
}
.vm-top__actions{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

/* KPI */
.vm-kpis{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0 14px;
}
@media (max-width: 1100px){
  .vm-kpis{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .vm-kpis{ grid-template-columns: 1fr; }
}

.vm-kpi{
  border: 1px solid var(--line);
  border-radius: var(--r16);
  background: rgba(255,255,255,.06);
  padding: 12px 12px;
}
.vm-icon {
  border: 1px solid rgba(180,180,180,1);
  border-radius: 3px;
}
.vm-kpi__label{ font-size: 14px; color: rgba(255,255,255,.62); }
.vm-kpi__title{ font-size: 18px; font-weight: 600; margin-bottom: 5px; }
.vm-kpi__value{ font-size: 28px; font-weight: 700; margin-top: 4px; }
.vm-kpi__hint{ font-size: 12px; color: rgba(255,255,255,.62); margin-top: 4px; }

/* Panels */
.vm-grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin:14px 0 14px;
}
@media (max-width: 980px){
  .vm-grid2{ grid-template-columns: 1fr; }
}

.vm-panel{
  border: 1px solid var(--line);
  border-radius: var(--r16);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}

.vm-panel--full{ margin-top: 12px; }

.vm-panel__head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--line);
}

.vm-panel__title{ font-size:18px; font-weight: 600; letter-spacing: -.2px; }
.vm-panel__desc{ margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.62); }

.vm-muted{ color: rgba(255,255,255,.62); font-size: 12px; }

.vm-empty{
  padding: 14px 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}

.vm-list{ list-style:none; margin:0; padding: 8px 10px 12px; }
.vm-list__item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px 10px;
  margin: 8px 0;
}
.vm-list__title{ font-weight: 600; }
.vm-list__sub{ margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.62); }

.vm-stack{ padding: 12px 12px; display:flex; flex-direction: column; gap: 10px; }

.vm-note{
  padding: 15px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  font-weight:normal;
  line-height: 1.5;
}

/* Table */
.vm-table-wrap{ overflow:auto; }
.vm-table{
  width:100%;
  border-collapse: collapse;
  font-size: 13px;
}
.vm-table thead th{
  text-align:left;
  align-content:center;
  padding: 10px 12px;
  color: rgba(255,255,255,.68);
  font-size: 16px;
  font-weight:600;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.vm-table tbody td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  vertical-align: top;
}
.vm-table tbody tr:hover{
  background: rgba(255,255,255,.04);
}

.vm-td-title{ font-weight: 600; }
.vm-td-sub{ margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.62); }
.vm-mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

/* Chips + small button */
.vm-chip{
  display:inline-flex;
  align-items:center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
  font-size: 12px;
}

/* ===== Admin Sessions extras ===== */
.vm-select{
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #ccc;
  font-size:13px;
  padding: 0 10px;
  outline: none;
}
.vm-select:focus{
  border-color: rgba(134,106,137,.65);
  box-shadow: 0 0 0 4px rgba(134,106,137,.18);
}

.vm-subpanel{
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.vm-subpanel__noborder_nobg{
  padding: 12px 12px;
}

.vm-formline{
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}
.vm-formline__title{
  font-weight: 800;
  letter-spacing: -.1px;
}

.vm-filters{
  display:flex;
  gap: 10px;
  align-items:flex-end;
  flex-wrap: wrap;
}
.vm-field--inline{ min-width: 160px; }
.vm-field--grow{ flex: 1 1 320px; min-width: 240px; }
.vm-filters__actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

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

.vm-table--dense thead th{ padding: 10px 10px; }
.vm-table--dense tbody td{ padding: 10px 10px; }

.vm-badge2{
  display:inline-flex;
  align-items:center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: 12px;
}
.vm-badge2--ok{
  border-color: rgba(120, 255, 170, .22);
  background: rgba(120, 255, 170, .10);
}
.vm-badge2--info{
  border-color: rgba(130, 190, 255, .22);
  background: rgba(130, 190, 255, .10);
}
.vm-badge2--warn{
  border-color: rgba(192, 148, 112, 0.3);
  background: rgba(251, 128, 76, 0.3);
  color: rgba(255,255,255,.60);
}
.vm-badge2--muted{
  border-color: rgba(255,255,255, .6);
  background: rgba(255,255,255, .6);
  color: rgba(255,255,255,.60);
}

.vm-pad{ padding: 12px 12px 14px; font-size:14px;color:#ccc;}
.vm-ol{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.80);
  line-height: 1.75;
  font-size: 13px;
}

.vm-note--ok{
  margin-top: 12px;
  border: 1px solid rgba(120, 255, 170, .22);
  background: rgba(120, 255, 170, .08);
  border-radius: 12px;
  padding: 10px 12px;
  color: rgba(255,255,255,.84);
}
.vm-note--normal{
  margin-top: 12px;
  border: 1px solid rgba(188, 188, 188, 0.22);
  background: rgba(151, 151, 151, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  color: #ccc;
}

/* ===== New Session form extras ===== */
.vm-form--wide{ gap: 14px; }
.vm-formgrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){
  .vm-formgrid{ grid-template-columns: 1fr; }
}

.vm-help{
  display:block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.60);
  line-height: 1.4;
}

.vm-presets{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vm-policy{
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.vm-policy__item{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 12px 12px;
}

.vm-policy__top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.vm-policy__name{
  font-weight: 850;
  letter-spacing: -.1px;
}

.vm-policy__desc{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.66);
  line-height: 1.55;
}

.vm-seg{
  display:inline-flex;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow:hidden;
}

.vm-seg__opt{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  user-select: none;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.vm-seg__opt input{
  appearance: none;
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
}

.vm-seg__opt span{
  padding: 2px 6px;
  border-radius: 999px;
}

.vm-seg__opt input:checked + span{
  background: rgba(134,106,137,.22);
  border: 1px solid rgba(134,106,137,.35);
}

.vm-panel--inset{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

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

.vm-textarea{
  min-height:140px;
  resize:vertical;
}

.vm-info{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-size:14px;
}

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

.vm-input--inline{
  height: 34px;
  padding: 0 10px;
  border-radius: 12px;
  min-width: 320px;
  max-width: 720px;
}

@media (max-width: 980px){
  .vm-input--inline{ min-width: 240px; width: 100%; }
}
.vm-tokencard{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 12px 12px;
  margin-bottom: 10px;
}
.vm-tokencard__top{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap: wrap;
}
.vm-tokencard__sub{
  margin-top: 6px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
}

/* ===== Layout Top/Bottom compatibility (dark theme) ===== */
.topbar{
  position: sticky;
  top: 0;
  height:80px;
  align-content:center;
  z-index: 1000;
  background: rgba(15,17,24,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.topbar .inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  align-content:center;
  justify-content: space-between;
  gap: 12px;
}

.topbar .brand{
  display:flex;
  align-items:center;
  align-content: center;
  gap:10px;
}

.brand a{ color:white; text-decoration: none;}
.topbar-main-title {color:white;font-weight:600;font-size:15px;align-content:center;vertical-align: middle;padding-bottom: 10px;}

/* 기존 클래스명이 t15-black 이라서 어둠 테마에서 안 보임 -> 강제 보정 */
.topbar .t15-black{
  color: rgba(255,255,255,.92) !important;
  font-weight: 600;
}

.topbar .nav a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;

}
.topbar .nav a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
}

.topbar-link {display:flex;}

.topbar-link a{
  color: rgba(255,255,255,.75);
  font-size:14px;
  text-decoration:none;
  background-color: #343438;
  border: 1px solid #707070;
  border: none;
  border-radius: 12px;
  padding:5px 14px;
  align-content:center;
}
.topbar-link a:hover{
  color: white;
  background-color: #3e3e42;
}
.topbar-log-icon {
  border:none;
  background-color: none;
  align-content:center;
} 

/* container가 좁게 잡혀 admin grid가 깨지는 경우 방지 */
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
  min-height: calc(100vh - 127px); 
}

/* footer도 다크 테마로 보이게 */
.footer{
  max-width: 1200px;
  height:70px;
  margin: 0 auto;
  text-align:center;
  padding: 18px;
  color: rgba(255,255,255,.62);
  font-size:13px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.vm-note-new{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px 12px;
  color: rgba(255,255,255,.75);
}

.vm-fieldset{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 12px;
}
.vm-fieldset__row{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.vm-fieldset__label{
  width: 100px;
  color: rgba(255,255,255,.75);
  font-weight: 400;
}
.vm-radio{ display:flex; align-items:center; gap:8px; }

.vm-kv{ display:flex; flex-direction:column; gap:10px; }
.vm-kv__row{ display:flex; gap:12px; align-items:flex-start; }
.vm-kv__k{ width:170px; color:rgba(255,255,255,.70); font-weight:700; }
.vm-kv__v{ flex:1; }

/* join_dinied */

    .wrap{
      max-width: 860px;
      margin: 0 auto;
      padding: 30px 16px 60px;
    }
    .card{
      width:550px;
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      border:1px solid var(--line);
      border-radius: 18px;
      padding: 22px;
      box-shadow: 0 20px 60px rgba(0,0,0,.35);
    }
    .top{
      display:flex;
      align-items:flex-start;
      gap:14px;
      margin-bottom: 14px;
    }
    .badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding:6px 10px;
      border-radius:999px;
      background: rgba(245,158,11,.14);
      border:1px solid rgba(245,158,11,.25);
      color:#ffd38a;
      font-weight:700;
      font-size:12px;
      white-space:nowrap;
      margin-top: 2px;
    }

    .divider{
      height:1px;
      background: var(--line);
      margin: 16px 0;
    }
    .row{
      display:flex;
      gap:10px;
      flex-wrap:wrap;
    }
    a.btn, button.btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:8px;
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--ghost);
      color: var(--text);
      text-decoration:none;
      font-weight:700;
      cursor:pointer;
    }
    a.btn.primary{
      background: var(--primary);
      border-color: rgba(37,99,235,.55);
    }
    a.btn.danger{
      background: rgba(239,68,68,.16);
      border-color: rgba(239,68,68,.35);
      color:#ffd2d2;
    }
    a.btn:hover, button.btn:hover{ filter: brightness(1.05); }
    .small{
      font-size:12px;
      color: rgba(255,255,255,.55);
      margin-top: 10px;
      word-break: break-all;
    }
    code{
      font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
      font-size: 12px;
      color: rgba(255,255,255,.85);
    }
    .tips{
      margin-top: 14px;
      padding: 14px;
      border-radius: 14px;
      background: rgba(255,255,255,.04);
      border: 1px dashed rgba(255,255,255,.18);
      color: rgba(255,255,255,.75);
      line-height: 1.55;
      font-size: 13px;
    }

.rbac-tabs {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.rbac-tab-btn {
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:#ddd;
  font-size:14px;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
}
.rbac-tab-btn.active {
  background:#303643;
  color:#fff;
  font-weight:400;
}
.rbac-tab-pane { display:none; }
.rbac-tab-pane.active { display:block; }

.rbac-matrix-wrap {
  overflow:auto;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.04);
}
.rbac-matrix {
  border-collapse:separate;
  border-spacing:0;
  min-width:1100px;
  width:max-content;
}
.rbac-matrix th,
.rbac-matrix td {
  border-bottom:1px solid rgba(255,255,255,.08);
  border-right:1px solid rgba(255,255,255,.08);
  padding:8px;
}
.rbac-matrix th:first-child,
.rbac-matrix td:first-child {
  position:sticky;
  left:0;
  background:#1f2430;
  z-index:2;
}
.rbac-matrix thead th {
  position:sticky;
  top:0;
  background:#1f2430;
  z-index:3;
}
.rbac-matrix thead th:first-child {
  z-index:4;
}
.rbac-perm-header {
  writing-mode:vertical-rl;
  text-orientation:mixed;
  height:180px;
  min-width:40px;
  text-align:left;
  font-size:12px;
  white-space:nowrap;
}
.rbac-inline-form {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.rbac-inline-form .vm-input {
 min-width:80px;
}