/* ============================================
   ds-vuetify.css — A그룹(Vuetify 기반) 시각 조정
   Vuetify가 설치된 앱에서만 필요합니다.
   ds.css 다음에 로드하세요.
   ============================================ */

/* ── DsDataTable — VDataTable 시각 조정 ─────────────────────
   기조: 면을 칠하지 않고 보더 한 줄과 글자 색으로 구조를 만듭니다.
   면을 칠하면 표가 무거워지고, 여러 표가 겹칠 때 회색 층이 쌓입니다. */
.ds-vtable { border: 1px solid var(--border); border-radius: var(--r-ct); overflow: hidden; }
.ds-vtable--flat { border: 0; border-radius: 0; }
.ds-vtable .v-table { background: var(--card); font-family: var(--font); }

/* 헤더 — 배경 없이 아래 보더 한 줄 */
.ds-vtable .v-table__wrapper > table > thead > tr > th {
  background: var(--card); color: var(--muted-foreground);
  font-size: var(--text-sm); font-weight: var(--weight-semibold); letter-spacing: 0;   /* 콘솔 목록 표 thead th 13/600 */
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.ds-vtable .v-table__wrapper > table > tbody > tr > td {
  font-size: var(--text-base); color: var(--foreground);   /* 콘솔 .jt tbody td 14px */
  border-bottom: 1px solid var(--border);
}
/* 마지막 행의 밑줄은 지웁니다 — 바깥 테두리와 겹쳐 두 줄로 보입니다 */
.ds-vtable .v-table__wrapper > table > tbody > tr:last-child > td { border-bottom: 0; }

/* 행 hover — 지금 어느 행을 보고 있는지. 전에는 transparent로 지워 두어
   hover가 아예 없었습니다(넓은 표에서 줄을 놓치기 쉬웠습니다). */
.ds-vtable .v-table__wrapper > table > tbody > tr:hover > td { background: var(--gray-2); }
/* 선택된 행 — 브랜드 면 (연하게). hover보다 우선합니다 */
.ds-vtable .v-table__wrapper > table > tbody > tr.v-data-table__selected > td,
.ds-vtable .v-table__wrapper > table > tbody > tr.v-data-table__selected:hover > td {
  background: var(--accent-muted);
}

/* 크기 — 다른 컨트롤과 같은 sm / default / lg */
.ds-vtable[data-size="sm"] .v-table__wrapper > table > tbody > tr > td { height: 34px; }
.ds-vtable[data-size="default"] .v-table__wrapper > table > tbody > tr > td { height: 52px; }   /* 콘솔 목록 표 52 (앞 판의 46 은 상세 표 .jt 값이었음) */
.ds-vtable[data-size="lg"] .v-table__wrapper > table > tbody > tr > td { height: 50px; }
.ds-vtable[data-size="sm"] .v-table__wrapper > table > thead > tr > th { height: 34px; }

/* 얼룩말 행 — 열이 많아 눈이 행을 놓칠 때만. hover·선택이 위에 얹힙니다 */
.ds-vtable--striped .v-table__wrapper > table > tbody > tr:nth-child(2n) > td { background: var(--gray-1); }
.ds-vtable--striped .v-table__wrapper > table > tbody > tr:nth-child(2n):hover > td { background: var(--gray-2); }

/* 고정 헤더 — 스크롤해도 열 이름이 남습니다 */
.ds-vtable--sticky .v-table__wrapper > table > thead > tr > th { z-index: 2; }

/* 숫자 열 — 오른쪽 정렬 + 자릿수 고정폭이라 크기를 눈으로 비교할 수 있습니다 */
.ds-vtable .v-data-table__td--align-end,
.ds-vtable th.v-data-table__th--align-end { text-align: right; font-variant-numeric: tabular-nums; }

/* 선택 열 — 체크박스만 들어가므로 폭을 줄입니다 */
.ds-vtable .v-data-table__th--select-row,
.ds-vtable .v-data-table__td--select-row { width: 44px; padding-inline: 12px 0; }

/* 빈 상태 */
.ds-vtable-empty { padding: 40px 16px; text-align: center; font-size: var(--text-sm); color: var(--muted-foreground); }

/* 푸터(페이지네이션) */
.ds-vtable .v-data-table-footer { border-top: 1px solid var(--border); font-size: var(--text-xs); }

/* ── DsDialog — VDialog 내부 면 ── */
/* 테두리 없이 그림자만 — --shadow-overlay 첫 겹이 윤곽입니다 (이중 stroke 방지) */
.ds-dialog-panel {
  background: var(--card); border: 0;
  border-radius: var(--r-ct); overflow: hidden; font-family: var(--font);
}
.ds-dialog-head {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 22px; font-size: var(--text-lg); font-weight: var(--weight-semibold); color: var(--foreground);
  border-bottom: 1px solid var(--border);   /* 콘솔 .dlg__head 와 같은 선 (2026-09-10) */
}
.ds-dialog-head__text { flex: 1 1 auto; min-width: 0; }
/* 제목줄 우상단 닫기 X — closable 일 때만 (조회·안내 모달) */
.ds-dialog-close {
  all: unset; box-sizing: border-box; flex: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--r-el); color: var(--muted-foreground);
  transition: background .12s ease, color .12s ease;
}
.ds-dialog-close:hover { background: var(--overlay-hover); color: var(--foreground); }
.ds-dialog-close:focus-visible { box-shadow: var(--focus-ring); }
.ds-dialog-body { padding: 20px 22px; font-size: var(--text-base); color: var(--foreground); line-height: var(--leading-prose); }
.ds-dialog-foot {
  padding: 14px 22px; border-top: 1px solid var(--border);   /* 콘솔 .dlg__foot 과 같은 선 */
  display: flex; gap: 8px; justify-content: flex-end;
}

/* ── DsSelect bare — 다른 칸 안에 넣는 테두리 없는 트리거 (2026-11-06 콘솔 DsSelect bare 와 같은 뜻) ──
   폭은 글자만큼 · 높이는 담는 칸이 정함 · 셰브런만 남김 */
.ds-vselect--bare { width: auto; max-width: none; gap: 0; }
.ds-vselect--bare .v-field { --v-field-padding-start: 0; --v-field-padding-end: 0; --v-field-input-padding-top: 0; --v-field-input-padding-bottom: 0; min-height: 0; }
.ds-vselect--bare .v-field__input { min-height: 0; padding: 0; font-size: var(--text-sm); }
.ds-vselect--bare .v-field__outline { display: none; }

/* ── DsMenu — 면 · 항목 규칙은 ds.css '메뉴 면 · 항목' (2026-11-06 옮김) ── */

/* ── DsTooltip ── */
.v-tooltip > .v-overlay__content {
  background: var(--foreground) !important;   /* A그룹 한정 — 브리프 2장 규칙 3 */
  color: var(--background) !important;
  font-family: var(--font); font-size: var(--text-xs);
  border-radius: var(--r-el); padding: 5px 9px;
}

/* ── DsSelect — VSelect 필드 외형 ── */
.ds-vselect .v-field {
  border-radius: var(--r-el); font-family: var(--font); font-size: var(--text-base);
  background: var(--card);
}
.ds-vselect .v-field__outline__start,
.ds-vselect .v-field__outline__end,
.ds-vselect .v-field__outline__notch::before,
.ds-vselect .v-field__outline__notch::after { border-color: var(--input); }
.ds-vselect .v-field--focused .v-field__outline__start,
.ds-vselect .v-field--focused .v-field__outline__end,
.ds-vselect .v-field--focused .v-field__outline__notch::before,
.ds-vselect .v-field--focused .v-field__outline__notch::after { border-color: var(--primary); }

/* ============================================================
   전역 — Vuetify 컴포넌트 96종 공통 (테마로 덮이지 않는 것들)
   폰트·모서리·보더는 Vuetify 테마가 제어하지 않으므로 여기서 맞춥니다.
   ============================================================ */
.v-application { font-family: var(--font); }

/* Vuetify 타이포 유틸 클래스 81종이 Roboto를 강제합니다.
   앱 코드에서 <div class="text-h6">를 쓰더라도 Pretendard가 나오게 덮습니다. */
.text-h1, .text-h2, .text-h3, .text-h4, .text-h5, .text-h6,
.text-subtitle-1, .text-subtitle-2, .text-body-1, .text-body-2,
.text-button, .text-caption, .text-overline,
[class*="text-sm-"], [class*="text-md-"], [class*="text-lg-"], [class*="text-xl-"] {
  font-family: var(--font);
  letter-spacing: 0;
}
/* 대문자 변환도 해제 — 한글에는 대문자가 없어 영문만 튑니다 */
.text-button, .text-overline { text-transform: none; }

/* 고정폭이 필요한 곳은 다시 mono로 (위 규칙보다 뒤에 와야 합니다) */
.v-application code, .v-application kbd, .v-application samp,
.v-application pre, .v-code { font-family: var(--mono); }
/* ⚠ 키캡은 **--font** 입니다 — 코드가 아니라 키 이름이라서(ds.css 의 .kbd 와 한 벌, 2026-09-17) */
.v-application .v-kbd, .v-application .kbd { font-family: var(--font); }   /* .kbd 도 — 위 kbd 규칙이 특이도로 이기던 것(2026-11-06) */

/* 모서리 유틸 — **레이어 안에서** 덮습니다 (2026-11-06 이용자 화면 user.css 의 블록을 DS 로 올림).
   Vuetify 는 .rounded-lg { 8px !important } 를 layer(vuetify) 안에서 내보내고, !important 끼리는 레이어 밖이 가장 약해
   아래(레이어 밖)의 재정의가 안 먹었습니다 — 그래서 DS 문서 사이트에서만 아이콘 버튼 · 탭 · 쪽 번호 · 입력칸이 8px 였습니다.
   같은 레이어 · 같은 특이도에서 나중 선언이 이깁니다(이 파일은 Vuetify CSS 다음에 실림). 스케일: sm 4 · md/lg 6 · xl 10 · pill */
/* stylelint-disable declaration-no-important */
@layer vuetify {
  .rounded-sm { border-radius: var(--r-in) !important; }
  .rounded, .rounded-md { border-radius: var(--r-el) !important; }
  .rounded-lg { border-radius: var(--r-el) !important; }
  .rounded-xl, .rounded-xxl { border-radius: var(--r-ct) !important; }
  .rounded-pill { border-radius: var(--r-full) !important; }
}
/* stylelint-enable declaration-no-important */

/* 모서리 — Vuetify의 rounded 스케일을 우리 값으로 재정의.
   오버레이(메뉴·드롭다운)는 .v-application 밖 .v-overlay-container로 포털되므로
   그 스코프도 함께 적어야 합니다. 빠뜨리면 드롭다운만 Vuetify 기본 4px로 남습니다. */
.v-application .rounded-sm, .v-overlay-container .rounded-sm { border-radius: var(--r-in) !important; }
.v-application .rounded,    .v-overlay-container .rounded    { border-radius: var(--r-el) !important; }
.v-application .rounded-md, .v-overlay-container .rounded-md { border-radius: var(--r-el) !important; }
.v-application .rounded-lg, .v-overlay-container .rounded-lg { border-radius: var(--r-el) !important; }
.v-application .rounded-xl, .v-overlay-container .rounded-xl { border-radius: var(--r-ct) !important; }

/* 보더 색 통일 */
.v-application .v-card--variant-outlined,
.v-application .v-sheet--variant-outlined { border-color: var(--border); }

/* ── VIcon — Lucide 컴포넌트 아이콘 ── */
.v-icon svg { width: 1em; height: 1em; display: block; }
/* Vuetify가 아이콘을 흐리게(medium-emphasis) 처리하는 것을 되돌립니다.
   단, 정렬 아이콘처럼 "평소엔 숨고 필요할 때만 보이는" 아이콘은 예외입니다 —
   ds-vuetify.css는 layer 밖이라 이 규칙이 Vuetify의 조건부 규칙을 전부 이깁니다. */
.v-icon:not(.v-data-table-header__sort-icon) { opacity: 1; }
/* 셀렉트 화살표 — 열리면 뒤집기 (mdi 폰트 회전 규칙을 svg에도) */
.v-select--active-menu .v-select__menu-icon,
.v-autocomplete--active-menu .v-autocomplete__menu-icon { transform: rotate(180deg); }
.v-select__menu-icon, .v-autocomplete__menu-icon { transition: transform .16s ease; color: var(--gray-9); }
/* clear 버튼 아이콘 색 */
.v-field__clearable .v-icon { color: var(--gray-9); }
.v-field__clearable .v-icon:hover { color: var(--foreground); }
/* 체크박스·라디오 svg — 칠해진 상태는 브랜드 */
.v-selection-control--dirty .v-icon { color: var(--primary); }
/* 테이블 정렬 아이콘 크기 */
.v-data-table__th .v-icon { font-size: 16px; color: var(--gray-9); }
.v-data-table__th--sorted .v-icon { color: var(--foreground); }

/* ── VBtn ── */
.v-btn { letter-spacing: 0; text-transform: none; font-weight: var(--weight-normal); }   /* 콘솔 .btn 400 */
.v-btn--variant-outlined { border-color: var(--border); }
.v-btn--variant-outlined:hover { border-color: var(--border-emphasized); background: var(--gray-2); }
.v-btn--variant-text:hover { background: var(--muted); }

/* ── VAlert / VBanner ── */
.v-alert { border-radius: var(--r-el); font-size: var(--text-sm); line-height: 1.65; }
.v-alert--variant-tonal .v-alert__underlay { opacity: .08; }
.v-banner { border-color: var(--border); font-size: var(--text-sm); }

/* ── VList ── */
.v-list { background: var(--card); padding: 4px; }
.v-list-item { min-height: 36px; border-radius: var(--r-el); font-size: var(--text-sm); }
.v-list-item__overlay { opacity: 0; }
.v-list-item:hover { background: var(--muted); }
.v-list-item--active { background: var(--selected-fill); color: var(--foreground); }
.v-list-item-title { font-size: var(--text-sm); font-weight: var(--weight-normal); }
.v-list-subheader { font-size: var(--text-2xs); font-weight: var(--weight-semibold); color: var(--muted-foreground);
  min-height: 28px; }

/* 드롭다운(Select·Autocomplete·Combobox) 규격은 아래 "오버레이 리스트" 절에
   DsMenu와 함께 한 곳에서 정의합니다 — 두 군데로 나뉘어 있어 서로 덮어썼습니다. */

/* ── VTable (VDataTable의 기반) ── */
.v-table { background: var(--card); }
/* 값 = 콘솔 목록 표(머리 40 · 13/600 · 칸 52 · 14 · 안여백 12 · 첫 · 끝 20 — DS .table-wrap 과 한 벌, 2026-11-06) */
.v-table > .v-table__wrapper > table > thead > tr > th,
.v-table > .v-table__wrapper > table > tbody > tr > td { padding: 0 12px; }
.v-table > .v-table__wrapper > table > thead > tr > th:first-child,
.v-table > .v-table__wrapper > table > tbody > tr > td:first-child { padding-left: 20px; }
.v-table > .v-table__wrapper > table > thead > tr > th:last-child,
.v-table > .v-table__wrapper > table > tbody > tr > td:last-child { padding-right: 20px; }
.v-table > .v-table__wrapper > table > thead > tr > th {
  background: transparent; color: var(--muted-foreground);
  font-size: var(--text-sm); font-weight: var(--weight-semibold); letter-spacing: 0;
  border-bottom: 1px solid var(--border) !important;   /* 콘솔 목록 표와 같은 선 (2026-11-06 제품에 맞춤) */
}
.v-table > .v-table__wrapper > table > tbody > tr > td {
  font-size: var(--text-base); color: var(--foreground);
  border-bottom: 1px solid var(--border) !important;   /* 줄 사이도 --border — 콘솔 목록 표 (2026-11-06 제품에 맞춤) */
}
.v-table--hover > .v-table__wrapper > table > tbody > tr:hover > td { background: transparent; }
.v-data-table-footer { border-top: 1px solid var(--border); font-size: var(--text-xs); padding: 8px 12px; }
.v-data-table__td--select-row .v-selection-control { justify-content: flex-start; }

/* ── VTabs ── */
.v-tabs { border-bottom: 1px solid var(--border); }
.v-tab { text-transform: none; letter-spacing: 0; font-size: var(--text-base); font-weight: var(--weight-normal);
  color: var(--muted-foreground); min-width: 0; padding: 0 12px; }
.v-tab:hover { color: var(--foreground); }
/* 활성 탭 — 브랜드 (2026-08-19). 밑줄과 글자에만 얹고 면은 깔지 않아 primary 버튼과 경쟁하지 않습니다 */
.v-tab--selected { color: var(--nav-active-fg); font-weight: var(--weight-semibold); }   /* 콘솔 .tabs button.on */
.v-tabs .v-tab__slider { height: 2px; background: var(--nav-active); }

/* ── VField (VTextField·VSelect 등 입력 공통) ── */
.v-field { border-radius: var(--r-el); font-size: 14px; background: var(--card); }
/* 글자 들여쓰기 — 커스텀 .input과 같은 자리에 오게 합니다.
   .input은 보더 1px + padding 14px라 바깥 경계에서 15px.
   .v-field는 보더가 없고 테두리를 안쪽 outline 요소로 그리므로 15px를 그대로 줍니다. */
.v-field.v-field--variant-outlined { --v-field-padding-start: 15px; }
.v-field__outline__start, .v-field__outline__end,
.v-field__outline__notch::before, .v-field__outline__notch::after { border-color: var(--input); }
/* 테두리 색만 바꿉니다 — 굵기는 건드리지 않습니다.

   전에 여기에 border-width: 1px(단축 속성)이 있었습니다. 단축 속성은 네 변을
   모두 칠하는데, Vuetify의 outline은 조각 세 개(__start 왼쪽 캡 · __notch
   라벨 자리 · __end 나머지)로 나뉘어 있고 각 조각은 바깥으로 향한 변만
   그리도록 되어 있습니다. 네 변을 모두 켜면 조각끼리 맞닿는 자리에
   세로줄이 하나 생깁니다 — 입력 필드 안에 선이 그어져 보이던 정체입니다.
   굵기는 아래 --v-field-border-width가 이미 1px로 고정합니다. */

/* Vuetify는 이 테두리를 "색 × 불투명도"로 그립니다 — 기본 .38 · hover .87 · 포커스 1.
   위에서 색만 토큰으로 바꾸면 쉬는 상태가 38%로 흐려져, 같은 토큰을 쓰면서도
   항상 100%로 그리는 손수 만든 .input 과 나란히 놓았을 때 선 색이 달라 보입니다.
   실제 사고: 문의하기 모달의 '제목'(.input)과 '문의 내용'(VTextarea)이
   같은 토큰 하나를 쓰는데 텍스트영역 쪽만 눈에 띄게 흐려 보였습니다. (2026-08-27)
   색은 토큰이 정하므로 불투명도는 1로 고정하고, hover 는 .input:hover 와 같은 색으로 맞춥니다. */
.v-field__outline { --v-field-border-opacity: 1; }
@media (hover: hover) {
  .v-field:hover .v-field__outline { --v-field-border-opacity: 1; }
  /* 포커스는 제외 — :hover 쪽이 특정도가 높아 포커스 중 마우스를 얹으면 브랜드색을 덮습니다 */
  .v-field:not(.v-field--focused):hover .v-field__outline__start,
  .v-field:not(.v-field--focused):hover .v-field__outline__end,
  .v-field:not(.v-field--focused):hover .v-field__outline__notch::before,
  .v-field:not(.v-field--focused):hover .v-field__outline__notch::after { border-color: var(--border-emphasized); }
}
.v-field--focused .v-field__outline__start, .v-field--focused .v-field__outline__end,
.v-field--focused .v-field__outline__notch::before, .v-field--focused .v-field__outline__notch::after {
  border-color: var(--primary);
}
.v-field__input { font-size: 14px; color: var(--foreground); }
.v-label { font-size: var(--text-sm); color: var(--muted-foreground); opacity: 1; }
.v-messages__message { font-size: 12px; }

/* ── VChip ── */
.v-chip { font-size: var(--text-xs); font-weight: 500; border-color: var(--gray-5); }
.v-chip--variant-outlined { background: var(--card); }

/* 입력 안 태그(Combobox·Autocomplete의 chips) — 알약형 큰 칩 대신 컴팩트한 태그로.
   필드 높이(40px) 안에 여유 있게 들어가도록 22px·모서리 6px, 닫기 아이콘도 축소.
   (vite-plugin-vuetify가 칩 CSS를 나중에 주입하므로 특이도를 올려 확실히 이김) */
/* 필드 안 칩도 DsChip과 같은 규격입니다 — 같은 물건이 자리에 따라 달라 보이면 안 됩니다.
   (28px · pill · 12px · 1px 보더. 전에는 22px에 r-md라 둥글기까지 달랐습니다.)
   sm 필드(32px)에서는 한 단계 줄입니다. */
/* 칩은 필드 크기를 따라갑니다.

   28px 하나로 고정해 두었더니, 기본 필드가 40px에서 32px로 바뀐 뒤에는
   32px 상자 안에 28px 칩이 들어가 위아래 여백이 2px씩밖에 안 남았습니다.
   두 줄이 되면 필요한 높이(28+6+28+8=70)가 필드가 내주는 높이를 넘어
   칩이 서로 붙어 보였습니다 — "여백 없이 쌓인다"의 정체입니다.

     필드 32(compact)     칩 22   두 줄 22+5+22+8 = 57
     필드 36(comfortable) 칩 24   두 줄 24+5+24+8 = 61
     필드 40(default)     칩 28   두 줄 28+6+28+10 = 80 */
.v-field .v-chip.v-chip {
  height: 22px; min-height: 22px; --v-chip-height: 22px;
  border-radius: var(--r-full); font-size: var(--text-xs); font-weight: var(--weight-medium);
  padding-inline: 9px 6px; border: 1px solid var(--border); color: var(--foreground);
}
.v-input--density-comfortable .v-field .v-chip.v-chip {
  height: 24px; min-height: 24px; --v-chip-height: 24px; padding-inline: 10px 7px;
}
.v-input--density-default .v-field .v-chip.v-chip {
  height: 28px; min-height: 28px; --v-chip-height: 28px; padding-inline: 11px 7px;
}
/* 닫기 × 는 글자에서 띄웁니다 — DsChip의 gap 6px과 같은 간격 */
.v-field .v-chip.v-chip .v-chip__close { margin-inline-start: 6px; }
.v-field .v-chip.v-chip .v-chip__close .v-icon { font-size: 15px; }
.v-field .v-chip.v-chip .v-avatar { display: none; }

/* ── VBreadcrumbs / VPagination ── */
.v-breadcrumbs { font-size: var(--text-sm); padding: 0; }
.v-breadcrumbs-item { color: var(--muted-foreground); }
.v-breadcrumbs-item--disabled { color: var(--foreground); opacity: 1; }
.v-pagination__item .v-btn { font-size: var(--text-sm); }
.v-pagination__item--is-active .v-btn { background: var(--selected-fill); color: var(--foreground); font-weight: var(--weight-semibold); }   /* 현재 쪽 600 — 콘솔 */

/* ── VExpansionPanels / VStepper / VTimeline ── */
.v-expansion-panel { background: var(--card); border: 1px solid var(--border); }
.v-expansion-panel-title { font-size: var(--text-sm); font-weight: 500; min-height: 42px; }
.v-stepper { background: var(--card); border: 1px solid var(--border); }
.v-stepper-item__title { font-size: var(--text-sm); font-weight: 500; }

/* ── VProgress ── */
.v-progress-linear { border-radius: 0; }
.v-progress-linear__background { opacity: .12; }

/* ── VSnackbar ── 테두리 없이 그림자만 (DsToast와 동일 — 이중 stroke 방지) */
.v-snackbar__wrapper { border: 0; background: var(--card);
  color: var(--foreground); font-size: var(--text-sm); box-shadow: var(--shadow-overlay); }


/* ── VOverlay 계열 공통 (VMenu·VDialog 내부 면) ── */
/* 드롭다운 리스트(Select·Autocomplete·Combobox)는 테두리 없이 그림자만 — 필터 팝오버와 통일 */
.v-overlay__content > .v-list { box-shadow: var(--shadow-overlay); }
.v-overlay__content > .v-card,
.v-overlay__content > .v-sheet { border: 0; box-shadow: var(--shadow-overlay); }


/* ── VSelectionControl (체크박스·라디오·스위치 공통) ── */
.v-selection-control__input > .v-icon { font-size: 18px; }
.v-selection-control--density-comfortable { --v-selection-control-size: 36px; }
/* 체크박스·라디오는 아이콘 상자와 라벨 사이 간격이 과했음(36px 상자) → 28px로 좁혀 라벨에 붙임.
   스위치는 트랙 크기에 영향 있어 제외. */
.v-checkbox .v-selection-control--density-comfortable,
.v-radio .v-selection-control--density-comfortable { --v-selection-control-size: 28px; }
.v-checkbox .v-selection-control .v-label,
.v-radio .v-selection-control .v-label { padding-inline-start: 6px; }

/* ── VTreeview / VVirtualScroll ── */
.v-treeview-item { font-size: var(--text-base); border-radius: var(--r-el); min-height: 32px; }
.v-treeview-item:hover { background: var(--muted); }

/* ── VCode / VKbd ── */
.v-code { font-family: var(--mono); font-size: var(--text-xs); background: var(--muted);
  color: var(--primary); padding: 1px 5px; border-radius: 3px; }
.v-kbd { font-family: var(--font); font-size: var(--text-2xs); background: var(--foreground);
  color: var(--background); border-radius: 3px; box-shadow: none; padding: 2px 5px; }

/* ── VToolbar / VAppBar / VNavigationDrawer ── */
.v-toolbar { background: var(--card); }
.v-app-bar { border-color: var(--border) !important; background: var(--background); }
.v-navigation-drawer { border-color: var(--border) !important; background: var(--background); }

/* ============================================================
   Ds* 래퍼 컴포넌트 전용 스타일
   ============================================================ */

/* VBtn 안 아이콘 — 광학 여백 보정 (Standalone .btn과 같은 규칙) */
.v-btn .ds-icon:first-child { margin-inline-start: -2px; }
.v-btn .ds-icon:last-child:not(:first-child) { margin-inline-end: -2px; }
.ds-icon-btn .ds-icon { margin: 0 !important; }

/* ── DsIconButton ── */
.ds-icon-btn.v-btn { width: 30px; height: 30px; min-width: 0; border-radius: var(--r-el); color: var(--gray-10); }   /* 콘솔 .iconbtn 30 */
.ds-icon-btn.v-btn:hover { background: var(--overlay-hover); color: var(--foreground); }   /* 콘솔 .iconbtn 과 같은 hover 면 (2026-11-06 제품에 맞춤) */
.ds-icon-btn.is-secondary.v-btn { border: 1px solid var(--border); background: var(--card); }
.ds-icon-btn.is-secondary.v-btn:hover { border-color: var(--border-emphasized); }
.ds-icon-btn.is-sm.v-btn { width: 28px; height: 28px; font-size: 12px; }
/* xs 24 — 줄 머리 · 섹션 머리 안의 작은 조작(사이드바 '새 채팅' · '프로젝트 생성' 등). 2026-11-06 이용자 화면 사이드바가 !important 로 줄여 쓰던 것을 크기로 */
.ds-icon-btn.is-xs.v-btn { width: 24px; height: 24px; font-size: 12px; }
/* brand — 채운 원형. 입력창의 '보내기'처럼 그 자리의 유일한 주 동작에만 씁니다.
   원형인 이유: 옆의 사각 ghost 버튼들과 섞이지 않게 하려는 것이고, 그래서
   한 줄에 하나만 있을 때 성립합니다. */
.ds-icon-btn.is-brand.v-btn {
  border-radius: var(--r-full); background: var(--primary); color: var(--primary-foreground);
}
.ds-icon-btn.is-brand.v-btn:hover { background: var(--primary-hover); color: var(--primary-foreground); }
.ds-icon-btn.is-brand.v-btn:active { background: var(--primary-active); }
.ds-icon-btn.is-brand.v-btn.v-btn--disabled { background: var(--muted); color: var(--gray-9); opacity: 1; }


/* ── DsTabs ── */
/* 탭 건수 — 맨 글자 12px (2026-11-06 콘솔 .tabs .tabcnt 값으로 — 앞서 11px/600 배지). 면을 깔지 않습니다 */
.ds-tab-count { margin-left: 4px; font-size: var(--text-xs); color: var(--muted-foreground); font-variant-numeric: tabular-nums; }
.ds-tabs .v-tab--selected .ds-tab-count { color: var(--nav-active-fg); }

/* ── DsBreadcrumbs ── */
/* 경로 — 콘솔 '제목줄 = 경로'(.tcrumb)와 한 모양 (2026-11-06 제품에 맞춤): 16/600 · 줄 높이 32 · › 구분 · 앞 마디 흐림(500 · 누르면 그 단계 · hover 밑줄) · 끝 마디 잉크.
   ⛔ 12px 회색 줄을 제목 위에 따로 두지 마세요 — 콘솔 2026-10-28 "bread crumb 가 제목 자체에" · 이용자 화면 10-14 대화 머리 브레드크럼 걷음.
   화면 제목 자리라면 DsPageHeader variant="path" 를 쓰고, 이 부품은 본문 안의 경로(폴더 경로 등)에 씁니다 */
.ds-breadcrumbs.v-breadcrumbs { padding: 0; font-size: var(--text-lg); font-weight: var(--weight-semibold); line-height: 32px; letter-spacing: -.01em; }
.ds-breadcrumbs .v-breadcrumbs-item { color: var(--muted-foreground); padding: 0; font-weight: var(--weight-medium); }
.ds-breadcrumbs .ds-bc-link { all: unset; cursor: pointer; border-radius: var(--r-el); white-space: nowrap; }
.ds-breadcrumbs .ds-bc-link:hover { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.ds-breadcrumbs .ds-bc-link:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ds-breadcrumbs .v-breadcrumbs-item--disabled, .ds-breadcrumbs .ds-bc-cur { color: var(--foreground); opacity: 1; font-weight: var(--weight-semibold); }
.ds-bc-sep { color: var(--muted-foreground); margin: 0 6px; font-weight: var(--weight-normal); }
.ds-bc-link { color: var(--muted-foreground); border-radius: var(--r-in); padding: 1px 4px; margin: 0 -4px; }
.ds-bc-link:hover { color: var(--foreground); text-decoration: underline; }
.ds-bc-cur { color: var(--foreground); font-weight: var(--weight-medium); }

/* ── DsPagination ── */
.ds-pagination .v-btn { font-size: var(--text-xs); min-width: 28px; height: 28px; color: var(--muted-foreground); }
.ds-pagination .v-btn:hover { background: var(--muted); }
.ds-pagination .v-pagination__item--is-active .v-btn { background: var(--selected-fill); color: var(--foreground); }

/* ── DsNavList ── */
.ds-navlist.v-list { padding: 4px; background: transparent; }
.ds-navlist .v-list-item { min-height: 30px; font-size: var(--text-sm); }   /* 30 — 두 앱 GNB · 사이드바 줄 (2026-11-06 제품에 맞춤) */
.ds-nav-icon { display: inline-flex; margin-right: 8px; }
.ds-nav-badge {
  font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: var(--r-in);   /* 각진 배지 (2026-08-18) */
  background: var(--muted); color: var(--muted-foreground);
}
.ds-navlist .v-list-item--active .ds-nav-badge { background: var(--foreground); color: var(--background); }

/* ── 입력 래퍼 공통 (DsTextarea·DsAutocomplete·DsFileInput 등) ── */
.ds-vfield .v-field { border-radius: var(--r-el); }
.ds-vfield .v-field__outline__start, .ds-vfield .v-field__outline__end,
.ds-vfield .v-field__outline__notch::before, .ds-vfield .v-field__outline__notch::after { border-color: var(--input); }
.ds-vfield .v-field--focused .v-field__outline__start, .ds-vfield .v-field--focused .v-field__outline__end,
.ds-vfield .v-field--focused .v-field__outline__notch::before, .ds-vfield .v-field--focused .v-field__outline__notch::after { border-color: var(--primary); }

/* ── DsCheckbox · DsSwitch · DsRadioGroup ── */
.ds-switch .v-label { font-size: var(--text-sm); color: var(--foreground); opacity: 1; }
.ds-check-hint { margin-left: 32px; margin-top: -4px; }

/* ── DsSlider ── */
.ds-slider-label { display: flex; justify-content: space-between; align-items: baseline; }
.ds-slider-val { font-family: var(--mono); font-size: var(--text-xs); color: var(--muted-foreground); font-weight: 400; }
/* 빈 홈 색을 여기서 정하던 줄은 2026-08-28 걷었습니다 — **한 번도 먹지 않던 줄**입니다.
   `color="primary"`가 걸리면 Vuetify가 `.bg-primary`를 붙이는데 그게 `!important`라
   CSS로는 못 이깁니다. 지금은 `track-color="var(--muted)"`(인라인)로 정합니다. */

/* ── Calendar · DatePicker ─────────────────────────────────
   달력 격자는 한 벌뿐입니다. 펼쳐 두면 Calendar, 필드에 딸려 뜨면 DatePicker이고
   둘 다 아래 규칙을 그대로 씁니다 — 자리에 따라 날짜 칸 크기가 달라지지 않습니다.
   (예전에는 이 규칙이 세 곳에 흩어져 32px·30px로 갈려 있었습니다.)

   치수: 칸 36px · 안의 원 32px · 여백 2px씩. 모두 정수입니다 —
   소수를 쓰면 배율 1배 화면에서 칸마다 다르게 반올림돼 격자가 어긋납니다. */
.v-date-picker { font-size: var(--text-sm); background: transparent; }
/* 머리글(선택한 날짜를 크게 보여 주는 띠)은 씁니다 — 달력 위에 또 제목이 오면
   같은 정보가 두 번 나옵니다. 고른 날짜는 필드에 이미 글자로 보입니다. */
.v-date-picker .v-date-picker-header { display: none; }

/* 연·월 줄 — Vuetify 기본은 화살표가 두 쌍입니다(‹ 8월 › ‹ 2026년 ›).
   어느 화살표가 무엇을 넘기는지 눈으로 구분되지 않아, 연도 화살표는 접고
   월 화살표 한 쌍만 남깁니다. 연도는 버튼을 눌러 목록에서 고릅니다.
   순서도 한국어 어순(2026년 8월)으로 뒤집습니다. */
.v-date-picker-controls { padding: 8px 6px 4px; min-height: 0; gap: 2px; }
.v-date-picker-controls__year { order: -1; }
.v-date-picker-controls__year .v-btn--icon { display: none; }
.v-date-picker-controls__month-btn,
.v-date-picker-controls .v-btn {
  font-size: var(--text-sm); font-weight: var(--weight-medium);
  height: 32px; min-width: 32px; padding: 0 8px; border-radius: var(--r-el);
}
.v-date-picker-controls .v-icon { font-size: 16px; }

/* 날짜 격자 */
.v-date-picker-month { padding: 0 8px 8px; }
.v-date-picker-month__weekday {
  width: 36px; height: 28px;
  font-size: var(--text-2xs); font-weight: var(--weight-medium); color: var(--muted-foreground);
}
.v-date-picker-month__day { width: 36px; height: 36px; }
.v-date-picker-month__day .v-btn {
  width: 32px; height: 32px; min-width: 32px;
  font-size: var(--text-sm); font-weight: 400; border-radius: var(--r-el);
}
.v-date-picker-month__day .v-btn:hover { background: var(--muted); }
/* 오늘 — 면을 칠하지 않고 테두리로만 표시합니다.
   선택과 같은 언어(브랜드 면)를 쓰면 고르지도 않은 날이 골라진 것처럼 보입니다. */
.v-date-picker-month__day--current .v-btn { border: 1px solid var(--input); }
/* 이웃 달 날짜 — 격자 모양을 유지하려고 보여 주되 눈에 덜 걸리게 */
.v-date-picker-month__day--adjacent { opacity: .45; }
/* 고를 수 없는 날 (min·max 밖) */
.v-date-picker-month__day .v-btn--disabled { opacity: .35; }

/* 기간 선택 ─────────────────────────────────────────────
   Vuetify는 기간에 별도 클래스를 주지 않습니다. 시작~종료 사이의 날을
   전부 --selected로 표시할 뿐이라, 손대지 않으면 기간 전체가 진한 브랜드
   덩어리가 되어 정작 시작과 끝이 어디인지 보이지 않습니다.

   그래서 사이는 옅은 면으로 눕히고 양 끝만 원색으로 세웁니다.
   양 끝은 "앞에 선택이 없는 날"과 "뒤에 선택이 없는 날"로 찾습니다 —
   클래스가 없으니 이웃 관계로 알아내는 수밖에 없습니다.

   면은 칸(36px)에 칠하고 글자 원은 안의 버튼(32px)에 둡니다.
   버튼에 칠하면 칸 사이 4px이 비어 띠가 끊깁니다. */
.ds-calendar--range .v-date-picker-month__day--selected { background: var(--accent-muted); }
/* 가운데 날짜만 눕힙니다. Vuetify가 선택된 날에 .bg-primary(!important)를 붙이므로
   같은 무게로 되받아야 합니다 — 양 끝은 그대로 두어 원색으로 남습니다.
   가운데 = 앞에도 뒤에도 선택된 날이 있는 날. */
.ds-calendar--range .v-date-picker-month__day--selected + .v-date-picker-month__day--selected:has(+ .v-date-picker-month__day--selected) .v-btn {
  background: transparent !important; color: var(--primary-text) !important;
}
/* 시작 — 앞에 선택된 날이 없는 날 */
.ds-calendar--range .v-date-picker-month__day--selected:not(.v-date-picker-month__day--selected + .v-date-picker-month__day--selected) {
  border-start-start-radius: var(--r-el); border-end-start-radius: var(--r-el);
}
/* 종료 — 뒤에 선택된 날이 없는 날 */
.ds-calendar--range .v-date-picker-month__day--selected:not(:has(+ .v-date-picker-month__day--selected)) {
  border-start-end-radius: var(--r-el); border-end-end-radius: var(--r-el);
}

/* 연도 고르기 화면 */
.v-date-picker-years { padding-inline: 8px; }
.v-date-picker-years .v-btn { border-radius: var(--r-el); font-size: var(--text-sm); }

/* ── Calendar — 펼쳐 두는 달력 ── */
.ds-calendar .v-date-picker {
  border: 1px solid var(--border); border-radius: var(--r-ct);
  background: var(--card); width: fit-content;
}

/* ── DatePicker — 필드 + 달력 ──────────────────────────────
   필드는 DsInput의 .input을 그대로 씁니다. 아래는 <input>이 아니라 <button>이라서
   필요한 차이(내용 정렬·빈 값 색)만 더합니다. */
.ds-dp-field {
  display: flex; align-items: center; gap: 8px;
  text-align: left; cursor: pointer;
}
.ds-dp-field.is-empty .ds-dp-value { color: var(--muted-foreground); }
.ds-dp-field .ds-dp-icon { display: flex; color: var(--gray-9); flex-shrink: 0; }
.ds-dp-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 열려 있는 동안은 포커스 링과 같은 모습으로 둡니다 —
   패널에 포커스가 넘어가도 어느 필드가 열려 있는지 남아야 합니다. */
.ds-dp-field.is-open { border-color: var(--primary); box-shadow: 0 0 0 3.5px var(--accent-muted); }
.ds-dp-field.is-open.error { border-color: var(--error); box-shadow: 0 0 0 3.5px var(--error-subtle); }
.ds-dp-clear { display: flex; color: var(--muted-foreground); border-radius: var(--r-in); flex-shrink: 0; }
.ds-dp-clear:hover { color: var(--foreground); }

/* 떠 있는 패널 — Menu의 드롭다운과 같은 그림자·모서리 */
.ds-dp-panel {
  display: flex; background: var(--card);
  border-radius: var(--r-el); box-shadow: var(--shadow-overlay); overflow: hidden;
}
.ds-dp-panel .ds-calendar .v-date-picker { border: 0; border-radius: 0; }

/* 프리셋 — 기간 선택에서 "최근 7일"을 두 번 클릭으로 만들지 않게 */
.ds-dp-presets {
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px; border-right: 1px solid var(--border-subtle); min-width: 116px;
}
.ds-dp-preset {
  text-align: left; font-size: var(--text-sm); color: var(--foreground);
  padding: 7px 10px; border-radius: var(--r-el); white-space: nowrap;
}
.ds-dp-preset:hover { background: var(--muted); }

/* ── DsAlert ── */
.ds-alert.v-alert { font-size: var(--text-sm); border-radius: var(--r-el); }
.ds-alert .v-alert-title { font-size: var(--text-sm); font-weight: 600; margin-bottom: 2px; }
.ds-alert-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── DsBanner ── */
.ds-banner.v-banner { border: 1px solid var(--border); background: var(--gray-2); font-size: var(--text-sm); }

/* ── DsProgressBar ── */
.ds-progress-head { display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--text-xs); color: var(--muted-foreground); margin-bottom: 6px; }
.ds-progress-val { font-family: var(--mono); color: var(--muted-foreground); }

/* ── DsList ── */
.ds-list.v-list { background: transparent; padding: 0; }
.ds-list .v-list-item { border-radius: var(--r-el); min-height: 40px; }
.ds-list .v-list-item-title { font-size: var(--text-sm); }
.ds-list .v-list-item-subtitle { font-size: 12px; color: var(--muted-foreground); }
.ds-list-meta { font-family: var(--mono); font-size: 12px; color: var(--muted-foreground); }

/* ⛔ 타임라인은 여기 없습니다 — 2026-08-28에 VTimeline을 버리고 custom으로 옮겼습니다.
   원본은 ds.css의 .ds-timeline이고, 부품은 vue/components/DsTimeline.vue입니다.
   .v-timeline-* 보정(점 크기 · 선 두께 · density 변수)과 .ds-tl-* 은 함께 걷었습니다.
   VTimeline으로 되돌리지 마세요 — 점이 면을 채운 원이라 링으로 못 바꾸고,
   치수가 density 프리셋에 묶여 통제되지 않습니다 (까닭은 ds.css의 .ds-timeline 주석) */

/* ── DsAccordion ── */
.ds-accordion .v-expansion-panel { background: var(--card); border: 1px solid var(--border); }
.ds-accordion .v-expansion-panel::after { display: none; }
.ds-accordion .v-expansion-panel-title { font-size: var(--text-sm); font-weight: 500; min-height: 40px; padding: 0 14px; }
.ds-accordion .v-expansion-panel-text__wrapper { padding: 4px 14px 14px; font-size: var(--text-sm); color: var(--muted-foreground); }

/* ── DsStepper ── */
.ds-stepper.v-stepper { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-el); }
.ds-stepper .v-stepper-item__avatar.v-avatar { background: var(--gray-4); color: var(--muted-foreground); font-size: 12px; }
.ds-stepper .v-stepper-item--selected .v-stepper-item__avatar.v-avatar { background: var(--foreground); color: var(--background); }
.ds-stepper .v-stepper-item__title { font-size: var(--text-sm); font-weight: var(--weight-medium); }
/* 단계 내용이 없으면 빈 창을 접습니다 (머리표만 쓰는 경우) */
.ds-stepper--headless .v-stepper-window { display: none; }

/* ── VNumberInput — 높이만 다른 필드와 맞춥니다 (좌우 여백은 공통 변수가 처리) ── */
.v-number-input.v-input--density-compact .v-field--variant-outlined .v-field__input { min-height: 32px; }
.v-number-input.v-input--density-comfortable .v-field--variant-outlined .v-field__input { min-height: 36px; }
.v-number-input.v-input--density-default .v-field--variant-outlined .v-field__input { min-height: 40px; }
/* 스텝 버튼 기둥이 40px을 1px 넘겨 필드만 41px이 되던 것 */
/* 증감 버튼 기둥 — 필드 높이를 그대로 따라갑니다.
   38px으로 못박아 두어 필드가 32px이 돼도 기둥이 더 높았고, 그만큼 필드가
   눌려 늘어나 숫자 입력만 옆 컨트롤보다 6px 큰 상태로 남아 있었습니다.
   버튼 두 개가 기둥을 반씩 나눕니다. */
/* 증감 버튼 기둥 — 필드 안쪽 높이(필드 높이 - 위아래 2px)에 맞춥니다.
   38px으로 못박아 두어 필드가 32px이 돼도 기둥이 더 높았고, 그만큼 필드가
   늘어나 숫자 입력만 옆 컨트롤보다 6px 컸습니다. 크기마다 값을 줍니다.
   stretch로 두면 반대로 기둥이 필드를 밀어 올려 41px이 됩니다. */
.v-number-input .v-number-input__control { align-self: center; height: 30px; }
.v-number-input.v-input--density-comfortable .v-number-input__control { height: 34px; }
.v-number-input.v-input--density-default .v-number-input__control { height: 38px; }
.v-number-input .v-number-input__control .v-btn { height: 50%; min-height: 0; border-radius: 0; }

/* ── VFileInput — 빈 상자로 보이던 문제 ──
   type=file은 placeholder를 무시하므로 컴포넌트가 안내를 직접 그립니다. */
.ds-file-ph {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-base); color: var(--muted-foreground); white-space: nowrap; pointer-events: none;
}
.v-file-input .v-field__prepend-inner:has(.ds-file-ph) { padding-inline-end: 0; }

/* ── DsSnackbar ── */
/* ── DsSnackbar — 생김새는 DsToast가 담당합니다 ──
   VSnackbar의 면·여백을 비워, 안에 들어간 .toast가 그대로 보이게 합니다.
   전에는 여기서 면을 또 그려 Toast와 다른 물건이 됐습니다. */
.ds-snackbar .v-snackbar__wrapper {
  min-width: 0; background: transparent; box-shadow: none; border: 0; padding: 0;
}
.ds-snackbar .v-snackbar__content { padding: 0; }
.ds-banner-icon { display: inline-flex; align-items: center; color: var(--gray-10); margin-right: 4px; }
.ds-nav-icon { display: inline-flex; align-items: center; }

/* ============================================================
   Geist 정합 — Vuetify 기본 인상을 우리 쪽으로 더 당깁니다.
   ============================================================
   Vuetify는 머티리얼 기조라 그림자·리플·둥근 모서리·큰 여백이
   기본값입니다. 아래는 그중 "동작에 영향 없이" 바꿀 수 있는 것만
   조정합니다. 동작을 건드리는 오버라이드는 하지 않습니다.
*/

/* ── 오버레이 그림자 통일 (머티리얼 elevation 제거) ── */
.v-overlay__content { box-shadow: none; }
/* Select 계열은 껍데기(.v-*__content)에도 머티리얼 그림자를 따로 겁니다.
   그대로 두면 우리 그림자와 두 겹으로 겹쳐 드롭다운만 무겁게 보입니다.
   Vuetify 규칙이 (0,1,0)이라 위 규칙과 동률인데 플러그인이 우리 파일 뒤에
   주입하므로, 클래스를 겹쳐 특이도를 올려야 이깁니다. */
/* 셀렉트 계열은 오버레이 껍데기가 내용물을 잘라 냅니다 ────────────
   Vuetify 원본:
     .v-select__content { overflow: hidden }                  ← 자름
     .v-menu > .v-overlay__content.v-select__content { border-radius: 4px }

   안쪽 .v-list는 8px 모서리와 그림자를 갖고 있는데, 껍데기가 4px으로
   잘라 내기 때문에 모서리 네 곳이 깎여 각지게 보이고, 그림자는 껍데기
   경계에서 통째로 사라집니다. Menu(DsMenu)에는 이 껍데기 클래스가 붙지
   않아서 혼자만 멀쩡했습니다 — 다른 드롭다운만 깨져 보이던 이유입니다.

   껍데기는 아무것도 그리지 않고 아무것도 자르지 않게 둡니다.
   모양(모서리·그림자·스크롤)은 안쪽 .v-list가 전부 책임집니다. */
.v-overlay__content.v-select__content,
.v-overlay__content.v-autocomplete__content,
.v-overlay__content.v-combobox__content {
  overflow: visible;
  border-radius: var(--r-el);
  box-shadow: none;
  background: transparent;
}
/* 껍데기가 자르지 않으므로 스크롤은 목록이 직접 맡습니다 */
.v-overlay__content.v-select__content > .v-list,
.v-overlay__content.v-autocomplete__content > .v-list,
.v-overlay__content.v-combobox__content > .v-list { overflow-y: auto; }
.v-overlay__content > .v-card,
.v-overlay__content > .v-list,
.v-overlay__content > .v-sheet,
.v-overlay__content > .ds-dialog-panel {
  box-shadow: var(--shadow-overlay);
}

.v-overlay__scrim { backdrop-filter: none; }

/* ── 머티리얼 오버레이(리플 잔상) 제거 ── */
.v-btn__overlay,
.v-list-item__overlay,
.v-selection-control__wrapper .v-ripple__container,
.v-tab__slider ~ .v-btn__overlay { opacity: 0 !important; }
.v-btn:hover > .v-btn__overlay,
.v-list-item:hover > .v-list-item__overlay { opacity: 0 !important; }
.v-ripple__container { display: none !important; }

/* ── VBtn — Geist 버튼 치수에 맞춤 ── */
.v-btn { min-width: 0; }
/* 크기 세 단계 — 32(기본) · 36 · 40. Standalone .btn과 같은 값입니다.
   Vuetify의 이름(small·default·large)에 우리 값을 얹습니다. */
.v-btn--size-small { height: 32px; padding: 0 12px; font-size: var(--text-sm); }
.v-btn--size-default { height: 32px; padding: 0 12px; font-size: var(--text-sm); }
.v-btn--size-comfortable { height: 36px; padding: 0 14px; font-size: var(--text-sm); }
.v-btn--size-large { height: 40px; padding: 0 16px; font-size: var(--text-base); }
.v-btn--variant-flat.bg-primary,
.v-btn--variant-flat.text-primary { color: var(--primary-foreground); }
.v-btn--variant-elevated { box-shadow: none; }

/* ── VField — 입력 필드를 DsInput과 같은 인상으로 ── */
.v-field--variant-outlined .v-field__outline__start { border-radius: var(--r-el) 0 0 var(--r-el); }
.v-field--variant-outlined .v-field__outline__end { border-radius: 0 var(--r-el) var(--r-el) 0; }
/* 포커스 시 테두리가 굵어지지 않게 — Vuetify는 1px→2px로 키웁니다.
   커스텀 .input은 1px을 유지하고 색만 바꾸므로 나란히 두면 두께가 튀어 보입니다.
   Vuetify 규칙과 선택자가 같아 특이도를 한 단계 올려야 이깁니다
   (플러그인이 컴포넌트 CSS를 우리 파일보다 뒤에 주입하는 경우가 있음). */
.v-field.v-field--variant-outlined.v-field--focused .v-field__outline { --v-field-border-width: 1px; }
/* 세로 여백은 0이 아니라 작은 값을 둡니다.

   0으로 두면 칩이 한 줄일 때는 문제가 없지만, 칩이 늘어나 두 줄로 넘어가는
   순간 위아래 줄이 필드 테두리에 그대로 붙습니다. 여백을 조금 남겨 두면
   줄이 늘어도 칩과 테두리 사이가 유지됩니다.
   한 줄일 때 높이는 min-height가 잡으므로 40 · 32px 그대로입니다. */
/* 필드 높이 — Vuetify의 density 이름에 우리 값을 얹습니다.
     compact      32  기본
     comfortable  36
     default      40 */
.v-input--density-compact .v-field__input {
  min-height: 32px; padding-top: 4px; padding-bottom: 4px;
}
.v-input--density-comfortable .v-field__input {
  min-height: 36px; padding-top: 4px; padding-bottom: 4px;
}
.v-input--density-default .v-field__input {
  min-height: 40px; padding-top: 5px; padding-bottom: 5px;
}
/* 칩이 줄바꿈될 때의 줄 간격 — 칩보다 촘촘하면 두 줄이 한 덩어리로 보입니다 */
.v-field__input { row-gap: 5px; column-gap: 6px; }
/* 칩 사이 간격 — DsChip을 나란히 놓을 때와 같은 6px입니다.
   Vuetify 기본은 가로 2px이라 칩끼리 거의 붙어 보였습니다. */

/* 크기 sm — 감싼 필드 전체 공통 (Select·Textarea·Autocomplete·Combobox·NumberInput·FileInput).
   높이는 Vuetify density=compact가 32px로 잡고, 글자만 한 단계 줄입니다. */
.ds-vfield--sm .v-field { font-size: var(--text-sm); }
.ds-vfield--sm.ds-vselect { width: auto; }
.v-field__field { align-items: center; }
.v-field__prepend-inner, .v-field__append-inner { align-items: center; padding-top: 0; }
/* 텍스트에어리어(여러 줄)는 위 규칙(padding 0 + 중앙 정렬)에서 첫 줄이 상단 경계에 붙어
   글자 윗부분이 잘렸음 → 상단 정렬 + 상하 여백을 줘서 값·placeholder가 온전히 보이게. */
.v-textarea .v-field__field { align-items: flex-start; }
.v-textarea .v-field__input,
.v-input--density-compact .v-textarea .v-field__input { padding-top: 7px; padding-bottom: 7px; min-height: 32px; }
.v-input--density-comfortable .v-textarea .v-field__input { padding-top: 8px; padding-bottom: 8px; min-height: 36px; }

.v-input__details { padding-inline: 2px; min-height: 0; padding-top: 6px; }
.v-messages { opacity: 1; }
.v-field--focused { box-shadow: 0 0 0 3.5px var(--accent-muted); border-radius: var(--r-el); }

/* 포커스 링이 두 번 그려지지 않도록 */
.v-field--focused .v-field__outline { opacity: 1; }

/* ── VSelect · VAutocomplete 드롭다운 ── */
/* 드롭다운 — Select·Autocomplete·Combobox가 여는 목록.
   우리 DsMenu 패널(.ds-menu-panel)과 완전히 같은 규격입니다.
   같은 "떠 있는 목록"이 두 모습이면 시스템이 아닙니다. */
/* ── 오버레이 리스트 — Menu·Select·Autocomplete·Combobox 공통 ──────
   기준은 DsMenu(.ds-menu-panel / .ds-menu-item)입니다.
   패널: radius 8px · 테두리 없음 · --shadow-overlay · padding 4px
   항목: 34px · 좌우 10px · radius 6px
   Vuetify 기본(radius 4px·1px 테두리·머티리얼 그림자·항목 36px)을 그대로 두면
   같은 화면에서 메뉴와 드롭다운이 다른 물건처럼 보입니다. */
/* .v-overlay를 앞에 붙여 특이도를 한 단계 올립니다 — 플러그인이 Vuetify 컴포넌트 CSS를
   우리 파일보다 뒤에 주입해서, 선택자가 같으면 항상 Vuetify가 이깁니다. */
.v-overlay.v-menu > .v-overlay__content > .v-list {
  padding: 4px; border: 0; border-radius: var(--r-el);
  background: var(--card); max-height: min(60vh, 420px);
  box-shadow: var(--shadow-overlay);   /* 머티리얼 3겹 그림자 → 우리 오버레이 그림자 */
}
/* .v-list--nav가 항목마다 margin-top 4px를 넣습니다 — DsMenu 항목은 붙어 있으므로 제거 */
.v-overlay__content .v-list--nav .v-list-item:not(:first-child) { margin-top: 0; }
.v-overlay__content .v-list-item {
  min-height: 32px; padding-inline: 10px;
  border-radius: var(--r-el);
  font-size: var(--text-sm); color: var(--foreground);
}
/* 밀도 규칙이 항목을 44px로 키우는 것을 DsMenu와 같은 32px로 */
.v-overlay__content .v-list-item--density-comfortable.v-list-item--one-line { min-height: 32px; }
/* 선택된 옵션 — 회색 면이 아니라 브랜드 글자 (DsMenu의 --selected와 같은 표현).
   hover가 면을 쓰므로 선택은 색으로만 구분합니다. */
.v-overlay__content .v-list-item--active {
  background: transparent; color: var(--primary-text);
}
.v-overlay__content .v-list-item--active:hover { background: var(--muted); }
.v-overlay__content .v-list-item-title {
  font-size: var(--text-sm); line-height: var(--leading-ui);
}
.v-overlay__content .v-list-item:hover { background: var(--muted); }
.v-list-item--active > .v-list-item__overlay { opacity: 0 !important; }
.v-list-item--active { background: var(--selected-fill); color: var(--foreground); }
.v-list-item--active .v-list-item-title { font-weight: var(--weight-medium); }

/* 항목 포커스 — 시스템 포커스 링으로 통일합니다.

   Vuetify 기본은 항목 안쪽에 2px currentColor 테두리를 opacity .15로 깝니다
   (.v-list-item::after). 세 가지가 우리와 어긋났습니다:
     · 2px 보더 — 이 시스템은 2px 이상 보더를 쓰지 않습니다(스타일린트 규칙)
     · 모서리 4px — 항목은 r-md(6px)라 안쪽에 다른 곡률이 하나 더 생깁니다
     · 옅은 파란 면 — 선택된 항목의 브랜드 글자색을 물려받아, 눌리지도 않은
       줄이 눌린 것처럼 보였습니다

   테두리를 지우고 다른 조작 요소와 같은 --focus-ring을 씁니다. */
.v-list-item::after { border: 0; }
/* 링을 항목 "안쪽"에 그립니다. 바깥 링(--focus-ring)은 요소 밖으로 4px 번지는데,
   메뉴 패널의 안쪽 여백이 딱 4px이라 링이 패널 모서리를 넘어 삐져나갑니다.
   같은 브랜드 2px 링이되 방향만 안으로 돌린 것입니다.

   지금 값인 항목(--active)은 제외합니다. Vuetify는 메뉴를 열 때 선택된 항목에
   포커스를 직접 넣는데, 브라우저는 그것도 키보드 포커스로 봅니다(:focus-visible).
   그래서 마우스로 열었을 뿐인데 첫 항목에 링이 그려져 있었습니다.
   지금 값은 브랜드 글자색으로 이미 구분되므로 링이 없어도 읽힙니다.
   화살표로 다른 항목에 가면 그 항목은 --active가 아니라서 링이 나옵니다. */
.v-list-item:focus-visible:not(.v-list-item--active) {
  outline: none; border-radius: var(--r-el);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.v-list-item--active:focus-visible { outline: none; }

/* 파괴적 목록 항목 — DsMenu의 --error와 같은 규약입니다.
   Vuetify 목록(VList·VMenu 안의 v-list-item)에서도 글자와 아이콘이 함께 빨갛습니다. */
.v-list-item--error, .v-list-item.text-error {
  color: var(--error);
}
.v-list-item--error .v-icon, .v-list-item--error .ds-icon,
.v-list-item.text-error .v-icon, .v-list-item.text-error .ds-icon { color: var(--error); }
.v-list-item--error:hover { background: var(--error-subtle); }

/* 다중 선택의 체크박스 열 — 항목 높이에 맞게 축소 */
.v-overlay__content .v-list-item .v-selection-control {
  --v-selection-control-size: 24px; min-height: 0; margin-inline-end: 2px;
}
.v-overlay__content .v-list-item .v-selection-control .v-icon { font-size: 16px; }
.v-overlay__content .v-list-item__prepend { margin-inline-end: 4px; }

/* 결과 없음 문구 */
.v-overlay__content .v-list .v-list-item--disabled .v-list-item-title {
  color: var(--gray-9); font-size: var(--text-sm);
}

/* ── 선택 컨트롤 — 체크박스·라디오·스위치 ── */
.v-selection-control--density-comfortable { --v-selection-control-size: 34px; }
.v-selection-control__input { width: 34px; height: 34px; }
.v-selection-control__input > .v-icon { font-size: 20px; }
/* 스위치 치수는 아래 "스위치" 블록 한 곳에서만 정합니다.
   전에는 여기와 아래 두 곳에 있어서 트랙 너비가 36px과 34px로 갈렸습니다. */
.v-switch.v-input--is-dirty .v-switch__track,
.v-switch .v-selection-control--dirty .v-switch__track { background: var(--primary); }

/* ── VTable / VDataTable — 테이블 인상 ── */
.v-table > .v-table__wrapper > table > thead > tr > th {
  height: 40px; white-space: nowrap;
}
.v-table--density-compact > .v-table__wrapper > table > tbody > tr > td { font-size: var(--text-sm); }
.v-data-table__td--select-row,
.v-data-table__th--select-row { width: 44px; }
.v-data-table-footer__items-per-page,
.v-data-table-footer__info { font-size: var(--text-xs); color: var(--muted-foreground); }
.v-data-table-footer__items-per-page .v-field { min-height: 30px; }
.v-data-table-footer__items-per-page .v-field__input { min-height: 30px; padding-top: 0; padding-bottom: 0; font-size: var(--text-xs); }
.v-data-table__th .v-data-table-header__content { gap: 5px; }

/* ── VTabs ── */
.v-tabs--density-comfortable { --v-tabs-height: 40px; }
.v-tab.v-btn { border-radius: 0; font-size: var(--text-base); }   /* 14 — 콘솔 .tabs button. .v-btn--size-default(13)를 이기려고 두 겹 */
.v-slide-group__prev, .v-slide-group__next { min-width: 28px; }

/* ── VAlert ── */
.v-alert--variant-tonal .v-alert__underlay { opacity: .07; }
.v-alert__prepend { margin-inline-end: 12px; align-self: flex-start; margin-top: 1px; }
.v-alert-title { line-height: var(--leading-tight); }
.v-alert__content { font-size: var(--text-sm); line-height: var(--leading-prose); }

/* ── VChip ── */
.v-chip--size-small { height: 24px; font-size: var(--text-xs); padding: 0 10px; }
.v-chip__overlay { opacity: 0; }
.v-chip--variant-tonal .v-chip__underlay { opacity: .1; }

/* ── VExpansionPanel ── */
.v-expansion-panel-title__overlay { opacity: 0; }
.v-expansion-panel--active > .v-expansion-panel-title { min-height: 42px; }
.v-expansion-panels--variant-accordion > :first-child { border-radius: var(--r-ct) var(--r-ct) 0 0; }
.v-expansion-panels--variant-accordion > :last-child { border-radius: 0 0 var(--r-ct) var(--r-ct); }

/* ── VStepper ── */
/* 스테퍼 치수는 아래 "스테퍼" 블록 한 곳에서만 정합니다 — 전에는 여기와
   아래 두 곳에 나뉘어 있었습니다. 여기는 색만 맡습니다. */
.v-stepper-header { box-shadow: none; border-bottom: 1px solid var(--border); height: auto; padding: 8px; }
.v-stepper-item--selected .v-stepper-item__title { color: var(--foreground); }
.v-stepper-item__title { color: var(--muted-foreground); }
.v-divider--vertical { border-color: var(--border); }


/* ── VPagination ── */
/* 시스템 컨트롤 규격(32px · radius 8px)에 맞춥니다 — 옆에 오는 버튼·필드와 높이가 어긋나 있었습니다 */
.v-pagination__item .v-btn--size-default { min-width: 28px; height: 28px; padding: 0 6px; border-radius: var(--r-el); }   /* 28 — 콘솔 .pfoot .pages (2026-11-06, 앞 판 32) */
.v-pagination__prev .v-btn, .v-pagination__next .v-btn { min-width: 28px; height: 28px; border-radius: var(--r-el); }

/* ── VProgressLinear ── */
.v-progress-linear__determinate { transition: width .24s ease; }

/* ── VSnackbar ── */
.v-snackbar__content { padding: 13px 15px; font-size: var(--text-sm); }
.v-snackbar__actions { margin-inline-end: 6px; }

/* ── VTooltip ── */
.v-tooltip > .v-overlay__content {
  font-size: var(--text-xs); padding: 6px 10px;
  border-radius: var(--r-el); box-shadow: none;
}

/* ── VAvatar ── */
.v-avatar { font-size: var(--text-sm); font-weight: var(--weight-semibold); }

/* ── VSlider ── */
.v-slider-thumb__ripple { display: none; }
.v-slider-track__background { background: var(--muted); opacity: 1; }
/* 머티리얼 헤일로 — 포커스하면 손잡이 뒤에서 원이 2배로 커집니다.
   우리는 그 자리에 링을 그리므로(아래 '슬라이더' 블록) 겹치지 않게 걷습니다. */
.v-slider-thumb__surface::before { display: none; }

/* ── 스크롤바 ──
   ds.css로 옮겼습니다. 여기 있던 `.v-application` 스코프는 VApp(<v-app>)을 쓰지 않는
   앱에서는 한 번도 적용되지 않아, OS 기본 스크롤바가 그대로 노출됐습니다.
   스크롤바는 Vuetify 전용이 아니므로 프레임워크와 무관한 ds.css가 맞는 자리입니다. */

/* ── DsPopover · DsHoverCard ── */
/* 면 = 콘솔 드롭다운 .pop 값(모서리 8 · 1px --border · --shadow-lg) (2026-11-06 제품에 맞춤) — 메뉴 면과 한 벌 */
.ds-popover {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px;
  font-size: var(--text-sm); color: var(--muted-foreground); line-height: var(--leading-prose);
  box-shadow: var(--shadow-lg); font-family: var(--font);
}
/* 옵션 목록을 담을 때 — 메뉴 패널과 같은 규격(4px 인셋 + UI 타이포).
   기본값(prose)의 14/16 패딩과 1.8 행간은 설명문 기준입니다. 그 안에 목록을 넣으면
   ① 소비자가 덧댄 래퍼 패딩과 겹쳐 인셋이 두 배가 되고,
   ② 행 hover 면이 패널 가장자리에서 떠 목록으로 읽히지 않으며,
   ③ 글자가 gray-11·행간 1.8이라 메뉴 항목보다 흐리고 성깁니다. */
.ds-popover--list {
  padding: 4px;
  font-size: var(--text-sm);
  color: var(--foreground);
  line-height: var(--leading-ui);
}

/* 패딩 0 — 내용물(필터 패널·컨텍스트 메뉴·달력)이 자체 패딩과 폭을 가질 때.
   구 shadcn PopoverContent 의 p-0 자리입니다 (2026-08-26 로컬 보완 — DS 원본에는 아직 없음) */
.ds-popover--bare { padding: 0; }

.ds-hovercard { max-width: 320px; }

/* ── DsCommandPalette ── */
.ds-palette-dialog .v-overlay__content { margin-top: 10vh; }
/* 패널·항목 규격은 DsMenu(.ds-menu-panel / .ds-menu-item)를 그대로 따릅니다 —
   같은 화면에서 메뉴·드롭다운·팔레트가 다른 물건처럼 보이면 안 됩니다.
   검색 입력만 팔레트 고유 요소라 한 단계 큽니다. */
.ds-palette {
  background: var(--card); border: 0;
  border-radius: var(--r-el); overflow: hidden;
  box-shadow: var(--shadow-overlay); font-family: var(--font);
}
.ds-palette-input {
  all: unset; box-sizing: border-box; display: block; width: 100%;
  padding: 13px 14px; font-family: var(--font);
  font-size: var(--text-lg); color: var(--foreground);
  border-bottom: 1px solid var(--border-subtle);
}
.ds-palette-input::placeholder { color: var(--muted-foreground); }
.ds-palette-list { max-height: min(60vh, 420px); overflow-y: auto; padding: 4px; }
.ds-palette-empty { padding: 22px; text-align: center; font-size: var(--text-sm); color: var(--muted-foreground); }
/* 항목 — DsMenu 항목과 동일: 32px · 좌우 10px · radius 6px · 13px · 아이콘 간격 9px */
.ds-palette-item {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  width: 100%; height: 32px; padding: 0 10px; border-radius: var(--r-el);
  font-size: var(--text-sm); color: var(--foreground);
  transition: background .12s ease, color .12s ease;
}
/* hover 와 키로 고른 줄은 같은 표시 — 콘솔 메뉴 찾기와 한 벌(--overlay-hover · .on 도 받음) (2026-11-06 제품에 맞춤) */
.ds-palette-item:hover { background: var(--overlay-hover); }
.ds-palette-item.active, .ds-palette-item.on { background: var(--overlay-hover); }
.ds-palette-item .pi-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--foreground); }
/* 우측 보조(그룹명·단축키) — DsMenu의 __trail과 같은 톤 */
.ds-palette-item .pi-group {
  margin-left: auto; font-size: var(--text-xs); color: var(--muted-foreground); font-family: var(--mono);
}
.ds-palette-item .kbd { margin-left: auto; }
/* 섹션 머리 — DsMenu의 .ds-menu-label과 동일 규격 */
.ds-palette-label {
  padding: 7px 10px 4px; font-size: var(--text-2xs);
  font-weight: var(--weight-semibold); color: var(--muted-foreground);
}
.ds-palette-list > .ds-palette-label:first-child { padding-top: 4px; }
/* 조작법 바 — 키보드 도구라 방법을 화면에 남깁니다 */
.ds-palette-foot {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px; border-top: 1px solid var(--border-subtle);
  font-size: var(--text-2xs); color: var(--muted-foreground);
}
.ds-palette-foot span { display: inline-flex; align-items: center; gap: 4px; }


/* ── DsNumberInput 스텝 버튼 ── */
.ds-vfield .v-number-input .v-btn { height: auto; min-width: 0; padding: 0; }

/* 칩 간격은 .v-field__input의 gap이 정합니다 — 여기서 margin을 따로 주면
   두 값이 더해져 셀렉트·오토컴플리트·콤보박스가 서로 달라집니다. */
.ds-vfield .v-combobox .v-chip { margin: 0; }

/* ============================================================
   컨트롤 내부 — 머티리얼 기본값을 미니멀 규격으로
   ============================================================
   Vuetify는 머티리얼 기조라 터치 타깃이 크고, 트랙이 두껍고,
   라벨 타입이 큽니다. 아래는 "동작에 영향 없이" 치수만 맞춘 것입니다.
*/

/* ── 체크박스 · 라디오 — 16px 박스 + 8px 간격 ── */
.v-selection-control { min-height: 0; }
.v-selection-control__wrapper { width: 20px; height: 20px; }
.v-selection-control__input { width: 20px; height: 20px; }
.v-selection-control__input > .v-icon { font-size: 16px; }
.v-selection-control .v-label {
  padding-inline-start: 8px; opacity: 1;
  font-size: var(--text-base); color: var(--foreground);
}
.v-selection-control--density-comfortable { --v-selection-control-size: 20px; }
.v-selection-control-group { gap: 4px; }
.v-selection-control__input::before { display: none; }   /* 머티리얼 원형 하이라이트 */

/* 체크박스 상자 — 선택 여부와 상관없이 늘 이 한 줄이 그립니다 ────────
   .v-checkbox-btn은 VCheckbox·테이블 선택 열·드롭다운의 다중 선택에 모두 붙으므로,
   여기 한 곳만 맞추면 Vuetify가 그리는 모든 체크박스가 DsCheckbox와 같아집니다.

   전에는 상자를 "미선택 = Square 글리프 / 선택 = CSS 면"으로 나눠 그렸습니다.
   둘이 아예 다른 그림이라 체크할 때마다 상자가 13.3px → 16px으로 커지고
   모서리가 1.3px → 4px으로 둥글어졌습니다. 이게 어색하게 보이던 정체입니다.
   이제 글리프는 표식(체크·대시)만 맡고, 상자는 여기서만 그립니다.

   치수는 DsCheckbox(.ds-check__box)와 같습니다: 16px · r-sm · 1px 보더. */
.v-checkbox-btn .v-selection-control__input::before {
  display: block; width: 16px; height: 16px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: var(--r-in);
  border: 1px solid var(--input);
  background: var(--card); opacity: 1;
  transition: background .12s ease, border-color .12s ease;
}
.v-checkbox-btn:hover .v-selection-control__input::before { border-color: var(--border-emphasized); }
/* 선택·부분 선택 — 브랜드 면. 부분 선택은 aria-checked="mixed"가 안쪽 input에 붙습니다 */
.v-checkbox-btn.v-selection-control--dirty .v-selection-control__input::before,
.v-checkbox-btn .v-selection-control__input:has(input[aria-checked="mixed"])::before,
.v-checkbox-btn:hover.v-selection-control--dirty .v-selection-control__input::before {
  background: var(--primary); border-color: var(--primary);
}
/* 면 위의 표식 — 상자와 같은 16px에 그려 DsCheckbox와 같은 비율이 됩니다 */
.v-checkbox-btn .v-selection-control__input > .v-icon {
  color: var(--primary-foreground); position: relative; z-index: 1; font-size: 16px;
}
/* 비활성 — 면을 채우지 않고 '연한 상자 + 회색 잉크'로 낮춥니다 (DsCheckbox와 같은 언어).
   중간 회색으로 채우면 테두리가 사라져 빈 상자가 채워진 상자로 읽힙니다. */
.v-checkbox-btn.v-selection-control--disabled .v-selection-control__input::before,
.v-checkbox-btn.v-selection-control--disabled.v-selection-control--dirty .v-selection-control__input::before {
  background: var(--muted); border-color: var(--gray-6);
}
.v-checkbox-btn.v-selection-control--disabled .v-selection-control__input > .v-icon { color: var(--gray-10); }
/* 포커스 — 면 바깥으로 링 (::before를 상자로 쓰므로 wrapper에 그립니다) */
.v-checkbox-btn.v-selection-control--focus-visible .v-selection-control__input {
  border-radius: var(--r-in); box-shadow: var(--focus-ring);
}

/* ── 스위치 — 트랙 20px / 노브 16px ── */
/* ── 스위치 ─────────────────────────────────────────────────
   치수를 여기 한 곳에서만 정합니다.

   글로벌 값을 재보면 트랙 높이 대비 손잡이는 대체로 0.8배이고,
   트랙 너비는 높이의 1.8~2.0배입니다.
     Ant Design   44 x 22 · 손잡이 18   (작은 크기 28 x 16 · 12)
     Radix·shadcn 44 x 24 · 손잡이 20
     Carbon       48 x 24 · 손잡이 18
     iOS          51 x 31 · 손잡이 27
     Material 3   52 x 32 · 손잡이 24
   머티리얼과 iOS는 터치를 전제해 큽니다. 우리는 32px 줄에 들어가야 하므로
   Ant·Radix 쪽 비율을 따르되 한 단계 작게 잡았습니다.

     크기      트랙      손잡이  여백  이동거리
     sm        32 x 18    14     2px    14px
     default   40 x 22    18     2px    18px
     lg        48 x 26    22     2px    22px

   전부 짝수입니다. 홀수를 쓰면 손잡이를 가운데 놓을 때 0.5px이 생겨
   배율 1배 화면에서 손잡이가 위아래로 흔들려 보입니다. */
/* 기본 32×18 — 두 앱의 .switch 와 같은 크기 (2026-11-06 제품에 맞춤). 앞 판 기본 40×22 */
.ds-switch { --sw-w: 32px; --sw-h: 18px; --sw-thumb: 14px; }
.ds-switch--sm { --sw-w: 32px; --sw-h: 18px; --sw-thumb: 14px; }
.ds-switch--lg { --sw-w: 48px; --sw-h: 26px; --sw-thumb: 22px; }

.v-switch .v-selection-control { min-height: 0; }
.v-switch__track {
  height: var(--sw-h); width: var(--sw-w); min-width: var(--sw-w);
  opacity: 1; border-radius: var(--r-full);
  background: var(--gray-6);
  transition: background .16s ease;
}
.v-switch__thumb {
  width: var(--sw-thumb); height: var(--sw-thumb);
  box-shadow: none; background: var(--card);
}
/* 손잡이가 트랙 안에서 움직이는 거리 — 트랙 너비에서 손잡이와 양쪽 여백을 뺀 값.
   Vuetify 기본값은 트랙 크기를 바꾸면 어긋나므로 여기서 다시 계산합니다. */
.v-switch .v-selection-control__wrapper { width: var(--sw-w); height: var(--sw-h); }
/* 손잡이 여백은 양쪽 2px입니다 — 글로벌 값과 같습니다.
     Ant 44x22·손잡이18 → 2px   Radix 44x24·20 → 2px
     Carbon 48x24·18 → 3px      iOS 51x31·27 → 2px
   손잡이 크기를 트랙 높이 - 4로 잡아 두었으므로, 트랙 안에서 정확히
   가운데 놓으면 위아래가 자동으로 2px이 됩니다. 좌우도 같은 2px이어야
   원이 트랙 안에 고르게 앉습니다.

   전에는 여기에 +2px을 더하고 있었습니다. 그만큼 좌우만 4px이 되어
   위아래(2px)와 어긋났고, 원이 트랙 가운데에 떠 있는 것처럼 보였습니다. */
.v-switch .v-selection-control__input {
  width: var(--sw-thumb); height: var(--sw-thumb);
  transform: translateX(calc((var(--sw-h) - var(--sw-w)) / 2));
  transition: transform .16s ease;
}
.v-switch .v-selection-control--dirty .v-selection-control__input {
  transform: translateX(calc((var(--sw-w) - var(--sw-h)) / 2));
}
.v-switch .v-label { padding-inline-start: 10px; }
/* 손잡이 색 — ds.css .switch 와 같은 규칙(2026-10-30 다크 시인성): 켜짐 = 흰색 · 다크의 꺼짐 = --foreground.
   앞 판은 늘 --card 라 다크에서 꺼진 스위치의 손잡이가 바탕에 묻혔습니다 */
.v-switch .v-selection-control--dirty .v-switch__thumb { background: var(--primary-foreground); }
[data-theme="dark"] .v-switch .v-selection-control:not(.v-selection-control--dirty) .v-switch__thumb,
.dark .v-switch .v-selection-control:not(.v-selection-control--dirty) .v-switch__thumb { background: var(--foreground); }
/* 비활성 — 면을 죽이고 손잡이는 그대로 둡니다 (켜짐·꺼짐은 계속 읽혀야 합니다) */
.v-switch .v-selection-control--disabled .v-switch__track { background: var(--gray-4); }
.v-switch .v-selection-control--disabled.v-selection-control--dirty .v-switch__track {
  background: color-mix(in srgb, var(--primary) 40%, var(--muted));
}

/* ── 슬라이더 — shadcn Slider 규격 (2026-08-28 개정) ──
   홈 6px · 손잡이 16px · 손잡이는 **흰 면에 브랜드 테두리 한 겹**입니다.
   ⚠ 손잡이를 브랜드로 꽉 채우지 마세요. 채우면 홈의 채워진 구간과 한 덩어리로 붙어
      "지금 어디를 잡고 있는지"가 안 보입니다 — 흰 면이 그 구분을 만듭니다.
      (같은 이유로 네이티브 `accent-color`도 쓰지 않습니다. 그건 꽉 찬 원만 나옵니다)
   면 색은 `--primary-foreground`입니다 — 라이트·다크 모두 흰색이라 다크에서도 손잡이가
      홈 위에 떠 보입니다. `--card`로 두면 다크에서 어두운 원이 되어 묻힙니다.
   VSlider · VRangeSlider가 같은 클래스를 쓰므로 이 한 벌로 둘 다 바뀝니다. */
.v-slider .v-slider-track__background,
.v-slider .v-slider-track__fill { height: 6px; border-radius: var(--r-full); }
.v-slider-thumb__surface {
  width: 16px; height: 16px; box-sizing: border-box;
  background: var(--primary-foreground); border: 1px solid var(--primary);
  /* 평상시 그림자(shadcn shadow-sm). ⚠ box-shadow가 아니라 filter인 이유는 아래 참고 —
     `.elevation-N`이 box-shadow를 레이어 안에서 !important로 잡고 있어 못 씁니다 */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .1));
}
/* ⚠ 링은 box-shadow가 아니라 **outline**으로 그립니다. 이유가 있습니다:
   Vuetify는 손잡이에 `.elevation-N`(기본 2)을 붙이고 그 클래스가 box-shadow를
   `!important`로 잡습니다. 그런데 그 CSS는 `@layer vuetify` 안에 있고 —
   **중요 선언(!important)은 레이어 우선순위가 뒤집힙니다.** 레이어 안의 `!important`가
   레이어 밖의 `!important`를 이깁니다. 그래서 여기서 box-shadow를 아무리 세게 써도
   집니다(2026-08-28 실제로 겪음. 그 전의 `box-shadow: none`도 한 번도 안 먹었고
   손잡이에 머티리얼 그림자가 계속 남아 있었습니다).
   그림자를 없애는 것은 `defaults.ts`의 `elevation: 0`이 맡고, 링은 Vuetify가 손대지 않는
   outline으로 그립니다 — `!important` 없이 이깁니다. */
/* hover — 4px 옅은 브랜드 링. 잡을 수 있는 것임을 손이 닿기 전에 알립니다 */
.v-slider-thumb:hover .v-slider-thumb__surface {
  outline: 4px solid color-mix(in srgb, var(--primary) 20%, transparent); outline-offset: 0;
}
/* 잡은 동안(끌기 · 포커스) — 같은 4px 링을 **진하게**. 손잡이에 딱 붙는 옅은 헤일로입니다.
   ⚠ 여기만 시스템 공통 `--focus-ring`(배경 2px + 브랜드 2px)을 쓰지 않습니다.
      슬라이더는 **잡고 끄는** 부품이라 손 밑에서 링이 계속 떠 있는데, 또렷한 실선 링은
      끄는 내내 손잡이에서 떨어져 따라다녀 산만합니다. 관리자 콘솔의 DsSlider가 이미
      이 모양이고(2026-08-28 사용자 확인 — "콘솔에 나오는 게 정답"), 같은 부품이 두
      제품에서 다르게 움직이면 안 됩니다. 굵기 4px는 hover와 같고 진하기만 20 → 50입니다.
   ⚠ 선택자에 `.v-slider-thumb`를 한 번 더 붙여 hover와 **같은 무게**로 맞추고 뒤에 뒀습니다.
      안 그러면 잡은 손잡이에 마우스가 얹혀 있을 때 hover(20%)가 이겨서 링이 옅어집니다 */
.v-slider-thumb.v-slider-thumb--focused .v-slider-thumb__surface {
  outline: 4px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 0;
}
.v-slider-thumb__label { font-size: var(--text-2xs); }
.v-input--density-comfortable.v-slider { --v-input-control-height: 32px; }

/* ── 입력 필드 — 라벨·힌트 타입 ── */
.v-field__input { padding-top: 0; padding-bottom: 0; }
/* 좌우 여백은 Vuetify가 --v-field-padding-start/end로 .v-field__input에 넣습니다.
   여기서 padding-inline: 0으로 지우면 Select처럼 글자가 곧 .v-field__input의
   자식인 컴포넌트는 왼쪽 경계에 붙습니다. 변수(위 15px)만 바꾸고 규칙은 살려둡니다. */
.v-label.v-field-label { font-size: var(--text-base); }
.v-messages__message { font-size: var(--text-xs); line-height: var(--leading-ui); padding-top: 2px; }
.v-counter { font-size: var(--text-2xs); color: var(--muted-foreground); }
.v-field__prepend-inner > .v-icon,
.v-field__append-inner > .v-icon { font-size: 18px; opacity: 1; }

/* ── 탭 — 인디케이터·간격 ── */
.v-tabs { min-height: 40px; }
/* 탭은 탭바 높이를 꽉 채워야 밑줄(.v-tab__slider)이 하단 stroke 위에 얹힌다.
   ⚠ 우리 .v-btn--size-* 의 컨트롤 높이(32px)가 탭에도 걸려 Vuetify 의
     .v-tab.v-tab.v-btn { height: var(--v-tabs-height) } 를 눌렀고(레이어 밖이 이김),
     그 결과 밑줄이 stroke 보다 8px 위에 떠 있었다 (사용자 2026-08-27). */
.v-tab.v-btn { min-width: 0; padding-inline: 12px; height: var(--v-tabs-height); }
.v-tab__slider { border-radius: 0; }
.v-slide-group__content { gap: 2px; }

/* ── 페이지네이션 ── */
.v-pagination__list { gap: 2px; }
.v-pagination .v-btn__content { font-family: var(--font); }

/* ── 스테퍼 ── */
/* ── 스테퍼 ────────────────────────────────────────────────
   번호와 글자 사이에 10px을 둡니다. Vuetify 기본은 두 요소가 거의 붙어
   있어서, 번호가 글자의 첫 글자처럼 읽혔습니다("1단계"가 아니라 "1단계"로).
   원과 글자는 다른 종류의 정보라 떨어져 있어야 각각으로 읽힙니다.
   10px은 아이콘과 라벨 사이(메뉴 항목 등)에서 쓰는 값과 같습니다. */
.v-stepper-item { opacity: 1; padding: 10px 14px; gap: 10px; }
.v-stepper-item__avatar.v-avatar {
  width: 22px; height: 22px; font-size: var(--text-2xs);
  margin-inline-end: 0;   /* 간격은 위의 gap 한 곳에서만 정합니다 */
}
.v-stepper-item__title { font-size: var(--text-sm); line-height: var(--leading-ui); }
.v-stepper-item__subtitle { font-size: var(--text-xs); color: var(--muted-foreground); }
/* 세로 스테퍼에서도 같은 간격 */
.v-stepper--vertical .v-stepper-item { gap: 10px; }


/* ── 확장 패널 ── */
.v-expansion-panel-title { font-size: var(--text-sm); min-height: 42px; padding: 0 14px; }
.v-expansion-panel-title__icon .v-icon { font-size: 18px; color: var(--gray-9); }
.v-expansion-panel-text__wrapper { padding: 4px 14px 14px; font-size: var(--text-sm); }

/* ── 진행 표시 ── */
.v-progress-linear { border-radius: var(--r-full); overflow: hidden; }
.v-progress-circular__underlay { stroke: var(--gray-4); }
/* 색 있는 버튼(primary·danger) 안에서는 밑줄 링도 글자색을 따릅니다.
   회색(--gray-4) 링이 파란 면 위에 그대로 남아, 도는 호 뒤에 회색 자국이
   붙어 다니는 것처럼 보였습니다 — 잔상의 정체입니다. */
/* 종류별 색 — 호(overlay)와 밑줄(underlay)을 함께 정합니다.
   밑줄만 회색으로 남으면 도는 호 뒤에 자국이 붙어 다니는 것처럼 보입니다. */
.ds-spinner--current .v-progress-circular__overlay { stroke: currentColor; }
.ds-spinner--current .v-progress-circular__underlay { stroke: currentColor; opacity: .25; }
/* 색이 채워진 면 위 — 흰 호에 반투명 흰 밑줄 */
.ds-spinner--primary-foreground .v-progress-circular__overlay { stroke: var(--primary-foreground); }
.ds-spinner--primary-foreground .v-progress-circular__underlay { stroke: var(--primary-foreground); opacity: .35; }
/* 조용한 진행 */
.ds-spinner--muted .v-progress-circular__overlay { stroke: var(--gray-9); }
.ds-spinner--muted .v-progress-circular__underlay { stroke: var(--gray-5); opacity: 1; }

/* ── 칩 ── */
.v-chip { font-weight: var(--weight-medium); }
.v-chip__close .v-icon { font-size: 14px; }
.v-chip--size-default { height: 28px; font-size: var(--text-sm); padding: 0 11px; }

/* ── 리스트 항목 밀도 ── */
.v-list-item__prepend > .v-icon, .v-list-item__append > .v-icon { font-size: 18px; opacity: 1; }
.v-list-item__prepend { margin-inline-end: 10px; }
.v-list-item-subtitle { font-size: var(--text-xs); color: var(--muted-foreground); opacity: 1; }

/* ── 스낵바 ── */

/* ── 트리뷰 ── */
.v-treeview-item .v-list-item__prepend .v-icon { font-size: 16px; color: var(--gray-9); }
