/* civic: 가상 기관 「다온구 일자리나눔센터」 누리집 시연. 인상은 주민센터 창구에 걸린 예약 달력판.
   밝은 옥색(--primary) 위 글자는 흰색이 아니라 먹색(--text). 흰 글자는 --accent·--text 바탕에만 올린다. */
:root {
  --bg: #F4F8F6;
  --surface: #FFFFFF;
  --text: #10272B;
  --muted: #566A6E;
  --line: #D3DEDA;
  --line-soft: #E5EDEA;
  --line-strong: #9FB3AE;
  --primary: #19B394;
  --primary-dark: #14A085;
  --primary-soft: #DDF4EE;
  --accent: #3D348B;
  --accent-soft: #ECEAF7;
  --ok: #1F7A4D;
  --ok-soft: #E3F2EA;
  --warn: #8A5A00;
  --warn-soft: #FBF1DC;
  --danger: #B3261E;
  --danger-soft: #FBE9E7;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --display: "Noto Sans KR", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", sans-serif;
  --r-card: 12px;
  --r-btn: 8px;
  --r-cell: 6px;
  --hatch: repeating-linear-gradient(135deg, #EEF2F1 0 6px, #E1E8E5 6px 12px);
  --hatch-holiday: repeating-linear-gradient(135deg, #FBF0EE 0 6px, #F3E0DD 6px 12px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cv { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
body.cv--staff { font-size: 15px; }
:where(.cv) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.cv) img { max-width: 100%; }
:where(.cv) a { color: inherit; }
:where(.cv) :where(h1, h2, h3, p) { margin: 0; }
.cv-num { font-variant-numeric: tabular-nums; }
.cv-muted { color: var(--muted); }
.cv-small { font-size: 13.5px; }
.cv-r { text-align: right; }
.cv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cv-gap { margin-bottom: 12px; }
:where(.cv) :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.cv-wrap { max-width: 1232px; margin: 0 auto; padding: 0 24px; }

/* ---------- 안내 띠 ---------- */
.cv-band { height: 28px; line-height: 28px; padding: 0 12px; background: var(--muted); color: #FFFFFF; font-size: 12.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 머리말 ---------- */
.cv-top { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.cv-top--staff { background: var(--accent); color: #FFFFFF; border-bottom: 0; }
.cv-top__inner { max-width: 1232px; margin: 0 auto; padding: 10px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 64px; }
.cv-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; justify-self: start; }
.cv-mark__glyph { width: 30px; height: 30px; border-radius: 8px; border: 2.5px solid currentColor; display: grid; align-content: center; gap: 3px; padding: 0 4px; flex: none; color: var(--text); }
.cv-top--staff .cv-mark__glyph { color: #FFFFFF; }
.cv-mark__glyph span { display: block; height: 3.5px; border-radius: 2px; background: var(--primary); }
.cv-mark__glyph span:nth-child(2) { background: var(--accent); width: 75%; }
.cv-top--staff .cv-mark__glyph span:nth-child(2) { background: #FFFFFF; }
.cv-mark__glyph span:nth-child(3) { background: currentColor; width: 50%; }
.cv-mark__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.cv-mark__name { font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-mark__sub { font-size: 12.5px; font-weight: 600; opacity: .85; }
.cv-switch { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 3px; background: var(--bg); justify-self: center; }
.cv-top--staff .cv-switch { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.cv-switch__item { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; color: var(--muted); white-space: nowrap; }
.cv-top--staff .cv-switch__item { color: #FFFFFF; }
.cv-switch__item.is-on { background: var(--primary); color: var(--text); }
.cv-top--staff .cv-switch__item.is-on { background: #FFFFFF; color: var(--accent); }
.cv-top__tools { justify-self: end; display: flex; align-items: center; gap: 12px; }
.cv-who { font-size: 14px; color: var(--muted); white-space: nowrap; }
.cv-top--staff .cv-who { color: #FFFFFF; opacity: .9; }
.cv-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--surface); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cv-top--staff .cv-reset { background: transparent; border-color: rgba(255,255,255,.6); color: #FFFFFF; }
.cv-reset:hover { border-color: var(--text); }

/* ---------- 누리집 메뉴 ---------- */
.cv-nav { border-top: 1px solid var(--line-soft); }
.cv-nav__inner { max-width: 1232px; margin: 0 auto; padding: 0 24px; }
.cv-nav__toggle { display: none; }
.cv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.cv-nav__item { position: relative; }
.cv-nav__top { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; font-size: 17px; font-weight: 700; text-decoration: none; border: 0; background: none; cursor: pointer; border-bottom: 3px solid transparent; }
.cv-nav__item.is-on > .cv-nav__top { border-bottom-color: var(--primary); }
.cv-nav__top:hover { color: var(--accent); }
.cv-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 12px 28px rgba(16,39,43,.12); display: none; z-index: 30; }
.cv-nav__item:hover > .cv-nav__sub, .cv-nav__item:focus-within > .cv-nav__sub { display: block; }
.cv-nav__sub a, .cv-nav__sub button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border-radius: var(--r-btn); border: 0; background: none; text-align: left; font-size: 15.5px; text-decoration: none; cursor: pointer; }
.cv-nav__sub button { color: var(--muted); }
.cv-nav__sub a:hover, .cv-nav__sub button:hover { background: var(--bg); }

/* ---------- 바닥글 ---------- */
.cv-foot { margin-top: 48px; background: #E8EFEC; border-top: 1px solid var(--line); }
.cv-foot__inner { max-width: 1232px; margin: 0 auto; padding: 28px 24px 32px; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.cv-foot__name { font-family: var(--display); font-weight: 900; font-size: 18px; color: var(--text); }
.cv-foot__info { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cv-foot__links { display: flex; flex-wrap: wrap; gap: 4px; }
.cv-foot__links button { min-height: 44px; padding: 0 10px; border: 0; background: none; font-weight: 700; color: var(--text); cursor: pointer; }
.cv-foot__links button:first-child { padding-left: 0; }
.cv-foot__copy { font-size: 13.5px; }

/* ---------- 공통 부품 ---------- */
.cv-main { padding-bottom: 24px; }
.cv-pagehead { padding: 22px 0 14px; }
.cv-crumb { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.cv-crumb a { text-decoration: none; }
.cv-crumb a:hover { text-decoration: underline; }
.cv-h1 { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: -0.02em; line-height: 1.3; }
.cv-h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.cv-lead { margin-top: 8px; color: var(--muted); font-size: 17px; }
.cv-eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.cv-fine { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.cv-tag { display: inline-flex; align-items: center; margin-left: 6px; padding: 0 7px; border: 1px dashed var(--warn); border-radius: 999px; color: var(--warn); font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: 2px; white-space: nowrap; }
.cv-tag--line { border-style: solid; border-color: var(--accent); color: var(--accent); }
.cv-link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cv-link--sm { min-height: 36px; font-size: 13.5px; }
.cv-link[hidden] { display: none; }

.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--r-btn); border: 1.5px solid transparent; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.cv-btn:disabled { opacity: .5; cursor: not-allowed; }
.cv-btn--primary { background: var(--primary); color: var(--text); }
.cv-btn--primary:hover:not(:disabled) { background: var(--primary-dark); }
.cv-btn--accent { background: var(--accent); color: #FFFFFF; }
.cv-btn--accent:hover:not(:disabled) { background: #2F2870; }
.cv-btn--line { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.cv-btn--line:hover:not(:disabled) { border-color: var(--text); }
.cv-btn--dark { background: var(--text); color: #FFFFFF; }
.cv-btn--danger { background: var(--surface); border-color: #E5B5AF; color: var(--danger); }
.cv-btn--danger-fill { background: var(--danger); color: #FFFFFF; }
.cv-btn--sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
@media (pointer: coarse) { .cv-btn--sm { min-height: 44px; } }
.cv-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--surface); font-size: 18px; font-weight: 700; cursor: pointer; flex: none; }
.cv-icon:disabled { opacity: .35; cursor: not-allowed; }
@media (pointer: coarse) { .cv-icon { width: 44px; height: 44px; } }
.cv-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: var(--bg); cursor: pointer; flex: none; }

.cv-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; border: 1px solid; font-size: 13px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.cv-chip--ok { background: var(--ok-soft); color: var(--ok); border-color: #B9DCC8; }
.cv-chip--off { background: #EEF1F0; color: var(--text); border-color: var(--line); }
.cv-chip--warn { background: var(--warn-soft); color: var(--warn); border-color: #E8D09C; }
.cv-chip--accent { background: var(--accent-soft); color: var(--accent); border-color: #CFCAEB; }
.cv-chip--danger { background: var(--danger-soft); color: var(--danger); border-color: #EFC2BC; }

.cv-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.cv-seg__btn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; }
.cv-seg__btn[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(16,39,43,.16); }

.cv-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-tabs__btn { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.cv-tabs__btn[aria-selected="true"] { background: var(--text); border-color: var(--text); color: #FFFFFF; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-chipbtn { min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 700; cursor: pointer; }
.cv-chipbtn[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.cv-chipbtn:disabled { opacity: .4; cursor: not-allowed; }
@media (pointer: coarse) { .cv-chipbtn { min-height: 44px; } }

.cv-field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; border: 0; padding: 0; }
.cv-field > span, .cv-field > legend { font-size: 14px; font-weight: 700; color: var(--muted); padding: 0; }
.cv-field input, .cv-field select, .cv-field textarea, .cv-input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); background: var(--surface); font-size: 16px; min-width: 0; }
.cv-field textarea { resize: vertical; line-height: 1.55; }
.cv-field input[readonly] { background: var(--bg); border-style: dashed; }
.cv-field input:focus, .cv-field select:focus, .cv-field textarea:focus, .cv-input:focus { border-color: var(--accent); outline: 3px solid var(--accent-soft); outline-offset: 0; }
.cv-field2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cv-field--inline { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.cv-field--inline .cv-input { width: auto; }
.cv-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; cursor: pointer; }
.cv-check input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.cv-check--box { display: flex; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--bg); margin-bottom: 12px; }
.cv-check--box input { margin-top: 2px; }
.cv-warn { margin: 10px 0; padding: 9px 12px; border-radius: var(--r-btn); background: var(--danger-soft); color: var(--danger); font-size: 14.5px; font-weight: 700; }
.cv-warn[hidden] { display: none; }

.cv-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; margin-bottom: 16px; min-width: 0; }
.cv-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.cv-card__title { font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cv-card__sub { font-size: 16px; font-weight: 800; margin: 18px 0 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cv-count { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--muted); }

/* ---------- 달력 ---------- */
.cv-rental__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cv-cal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; min-width: 0; }
.cv-cal__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cv-cal__month { display: flex; align-items: center; gap: 6px; }
.cv-cal__title { font-family: var(--display); font-weight: 900; font-size: 24px; min-width: 142px; text-align: center; font-variant-numeric: tabular-nums; }
.cv-cal__month--sm .cv-cal__title { font-size: 18px; min-width: 116px; font-weight: 700; }
.cv-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r-btn); background: var(--surface); cursor: pointer; }
.cv-arrow:disabled { opacity: .35; cursor: not-allowed; }
.cv-legend { list-style: none; margin: 12px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13.5px; color: var(--muted); }
.cv-legend li { display: inline-flex; align-items: center; gap: 6px; }
.cv-legend__sw { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--line); }
.cv-legend__sw--ok { background: var(--primary-soft); border-color: var(--primary); }
.cv-legend__sw--full { background: var(--line); }
.cv-legend__sw--closed { background: var(--hatch); }
.cv-legend__sw--holiday { background: var(--hatch-holiday); border-color: #E7B9B3; }
.cv-legend__dots { gap: 5px; }
.cv-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.cv-dot--hyo { background: var(--accent); border-radius: 2px; margin-left: 6px; }
.cv-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; text-align: center; color: var(--muted); }
.cv-week .is-sun { color: var(--danger); }
.cv-week .is-sat { color: var(--accent); }
.cv-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cv-month[hidden] { display: none; }
.cv-cal__note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.cv-day { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 86px; min-width: 0; padding: 5px; border: 1px solid var(--line); border-radius: var(--r-cell); background: var(--surface); text-align: left; cursor: pointer; overflow: hidden; }
.cv-day:hover { border-color: var(--line-strong); }
.cv-day--blank { border: 0; background: transparent; cursor: default; }
.cv-day__top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.cv-day__num { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.2; }
.cv-day__tag { font-size: 11px; font-weight: 800; color: #FFFFFF; background: var(--accent); border-radius: 999px; padding: 0 6px; line-height: 1.6; }
.cv-bands { display: flex; flex-direction: column; gap: 3px; }
.cv-b { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 1px 4px; border-radius: 4px; border-left: 3px solid var(--primary); background: var(--primary-soft); font-size: 12px; line-height: 1.55; white-space: nowrap; min-width: 0; }
.cv-b--hyo { border-left-color: var(--accent); background: var(--accent-soft); }
.cv-b__name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cv-b__n { font-weight: 800; font-variant-numeric: tabular-nums; }
.cv-b.is-low { background: var(--warn-soft); }
.cv-b.is-low .cv-b__n { color: var(--warn); }
.cv-b.is-full { background: var(--line); border-left-color: #7E9490; color: var(--text); }
.cv-cal--item-baek .cv-b--hyo, .cv-cal--item-hyo .cv-b--baek { display: none; }
.cv-day--closed { background: var(--hatch); }
.cv-day--holiday { background: var(--hatch-holiday); }
.cv-day--holiday .cv-day__num { color: var(--danger); }
.cv-day__off { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; font-weight: 800; color: var(--muted); }
.cv-day--holiday .cv-day__off { color: var(--danger); }
.cv-day__offs { display: none; }
.cv-day.is-past { opacity: .5; }
.cv-day.is-today { box-shadow: inset 0 0 0 2px var(--accent); }
.cv-day.is-sel { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); background-color: #F1FBF7; }
.cv-day--closed.is-sel, .cv-day--holiday.is-sel { background-color: transparent; }
.cv-day.is-sel.is-today { box-shadow: 0 0 0 2px var(--primary), inset 0 0 0 2px var(--accent); }
.cv-day__cnt { font-size: 12.5px; color: var(--accent); font-weight: 700; margin-top: auto; }
.cv-day__cnt b { font-size: 14px; }
.cv-day__names { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 시그니처: 직원 화면에서 고친 뒤 넘어왔을 때 바뀐 칸을 한 번 강조 */
@keyframes cv-flash {
  0% { box-shadow: 0 0 0 0 rgba(25, 179, 148, 0); }
  18% { box-shadow: 0 0 0 6px rgba(25, 179, 148, .55); }
  60% { box-shadow: 0 0 0 4px rgba(61, 52, 139, .35); }
  100% { box-shadow: 0 0 0 0 rgba(61, 52, 139, 0); }
}
.is-flash { animation: cv-flash 1.8s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .is-flash { animation: none; } }

/* ---------- 세트 목록 ---------- */
.cv-side { display: grid; gap: 16px; min-width: 0; }
.cv-side__sets, .cv-my { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; min-width: 0; }
.cv-panel__eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); }
.cv-panel__date { font-family: var(--display); font-weight: 900; font-size: 22px; margin: 2px 0 8px; }
.cv-panel__sum { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.cv-sum { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: var(--primary-soft); font-size: 14.5px; }
.cv-sum--hyo { background: var(--accent-soft); }
.cv-sum.is-full { background: var(--line); }
.cv-reason { margin: 4px 0 10px; padding: 9px 12px; border-radius: var(--r-btn); background: var(--bg); border-left: 4px solid var(--line-strong); font-size: 15px; }
.cv-reason--off { border-left-color: var(--danger); }
.cv-sets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cv-set__btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); text-align: left; cursor: pointer; }
.cv-set__btn:hover:not(:disabled) { border-color: var(--primary); }
.cv-set__btn:disabled { cursor: not-allowed; background: var(--bg); }
.cv-set__art { width: 96px; height: 72px; border-radius: 8px; flex: none; display: block; }
.cv-set--reserved .cv-set__art, .cv-set--paused .cv-set__art { filter: grayscale(1); opacity: .6; }
.cv-set__body { display: grid; gap: 2px; justify-items: start; min-width: 0; flex: 1; }
.cv-set__item { font-size: 13px; color: var(--muted); font-weight: 700; }
.cv-set__name { font-size: 16.5px; font-weight: 800; line-height: 1.35; }
.cv-set__go { font-size: 26px; color: var(--muted); padding-right: 4px; }

/* ---------- 마이페이지·처리 단계 ---------- */
.cv-my__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.cv-my__title { font-family: var(--display); font-weight: 700; font-size: 19px; }
.cv-my__who { font-size: 14px; color: var(--muted); }
.cv-my__sub { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; }
.cv-my__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.cv-my__row { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.cv-my__what { font-size: 16px; }
.cv-my__no { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.cv-my__note { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.cv-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.cv-steps li { flex: 1; text-align: center; padding: 5px 4px; background: #E8EEEC; color: var(--muted); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.cv-steps li:first-child { border-radius: 6px 0 0 6px; }
.cv-steps li:last-child { border-radius: 0 6px 6px 0; }
.cv-steps li.is-done { background: var(--primary-soft); color: var(--text); }
.cv-steps li.is-done::before { content: "✓ "; }
.cv-steps li.is-now { background: var(--primary); color: var(--text); }
.cv-steps--cancel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 시트(세트 상세·신청·주문서) ---------- */
.cv-sheet, .cv-dialog { width: min(560px, calc(100vw - 32px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 24px 60px rgba(16,39,43,.28); }
.cv-sheet::backdrop, .cv-dialog::backdrop { background: rgba(16, 39, 43, .5); }
.cv-sheet__body, .cv-dialog__body { padding: 20px; }
.cv-sheet__head, .cv-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cv-sheet__title, .cv-dialog__title { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.35; }
.cv-sheet__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.cv-detail__art { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.cv-detail { margin: 14px 0 0; display: grid; gap: 10px; }
.cv-detail > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.cv-detail dt { font-size: 14px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.cv-detail dd { margin: 0; font-size: 16px; min-width: 0; }
.cv-bullets { margin: 0; padding-left: 18px; }
.cv-bullets li + li { margin-top: 2px; }
.cv-done { text-align: left; }
.cv-done__mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--text); margin-bottom: 10px; }
.cv-detail--done > div { grid-template-columns: 92px 1fr; align-items: center; }
.cv-dialog--map { width: min(760px, calc(100vw - 32px)); }
.cv-dialog--sm { width: min(540px, calc(100vw - 24px)); }
.cv-map { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: m; }
.cv-map li { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.cv-map__need { color: var(--text); }
.cv-map__show { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cv-map__sub { font-size: 17px; font-weight: 800; margin: 18px 0 6px; }
.cv-meet { margin: 0; padding-left: 20px; font-size: 15px; }
.cv-meet li + li { margin-top: 4px; }
.cv-dialog__foot { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--bg); font-size: 14px; color: var(--muted); }
.cv-dlg__sum { margin: 0 0 14px; padding: 10px 12px; background: var(--bg); border-radius: var(--r-btn); font-size: 15px; }
.cv-arts { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-arts legend { margin-bottom: 6px; }
.cv-arts__opt { display: grid; justify-items: center; gap: 2px; padding: 4px; border: 2px solid var(--line); border-radius: 10px; font-size: 12.5px; cursor: pointer; }
.cv-arts__opt input { position: absolute; opacity: 0; pointer-events: none; }
.cv-arts__opt img { width: 72px; height: 54px; border-radius: 6px; }
.cv-arts__opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cv-arts__opt:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.cv-arts .cv-fine { flex-basis: 100%; margin-top: 2px; }

/* ---------- 알림 ---------- */
.cv-toast { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 80; max-width: calc(100vw - 32px); width: max-content; padding: 12px 16px; border-radius: 10px; background: var(--text); color: #FFFFFF; font-size: 15px; box-shadow: 0 10px 30px rgba(16,39,43,.3); }
.cv-toast[hidden] { display: none; }
.cv-fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--text); color: #FFFFFF; font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px rgba(16,39,43,.28); cursor: pointer; }
.cv--shop .cv-fab { bottom: 88px; }
.demo-notice { max-width: 1232px; margin: 0 auto; padding: 10px 24px 80px; font-size: 12.5px; color: var(--muted); }
.cv--shop .demo-notice { padding-bottom: 150px; }

/* ---------- 누리집 메인 ---------- */
.cv-hero { background: linear-gradient(180deg, #E3F4EE 0%, var(--bg) 100%); border-bottom: 1px solid var(--line-soft); }
.cv-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.cv-hero__eyebrow { font-size: 15px; font-weight: 800; color: var(--accent); }
.cv-hero__title { font-family: var(--display); font-weight: 900; font-size: 42px; line-height: 1.2; letter-spacing: -0.03em; margin: 6px 0 12px; }
.cv-hero__lead { font-size: 18px; max-width: 40em; margin-bottom: 18px; }
.cv-hero__ci { display: grid; justify-items: center; gap: 10px; }
.cv-ci { width: 168px; height: 168px; border-radius: 36px; border: 8px solid var(--text); background: var(--surface); display: grid; align-content: center; gap: 14px; padding: 0 22px; }
.cv-ci span { display: block; height: 18px; border-radius: 9px; background: var(--primary); }
.cv-ci span:nth-child(2) { width: 74%; background: var(--accent); }
.cv-ci span:nth-child(3) { width: 48%; background: var(--text); }
.cv-ci__cap { font-size: 13px; color: var(--muted); }
.cv-biz { padding-top: 32px; }
.cv-biz__grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cv-biz__card { width: 100%; height: 100%; display: grid; align-content: start; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); text-align: left; text-decoration: none; cursor: pointer; min-height: 150px; }
.cv-biz__card:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(16,39,43,.08); }
.cv-biz__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft) center / 26px 26px no-repeat; margin-bottom: 8px; }
.cv-biz__icon--talk { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310272B' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4z'/%3E%3C/svg%3E"); }
.cv-biz__icon--badge { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D348B' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='16' height='13' rx='2'/%3E%3Cpath d='M9 6V4h6v2M8 12h8M8 15h5'/%3E%3C/svg%3E"); }
.cv-biz__icon--bag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310272B' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7z'/%3E%3Cpath d='M9 8c0-3 6-3 6 0'/%3E%3C/svg%3E"); }
.cv-biz__icon--table { background-color: var(--accent-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D348B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 11h18M6 11l-1 8M18 11l1 8M8 11V8h8v3'/%3E%3C/svg%3E"); }
.cv-biz__name { font-size: 18px; font-weight: 800; }
.cv-biz__text { font-size: 15px; color: var(--muted); }
.cv-board { padding-top: 32px; }
.cv-board__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cv-posts { list-style: none; margin: 0; padding: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.cv-post { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line-soft); min-height: 56px; }
.cv-post:last-child { border-bottom: 0; }
.cv-post__title { flex: 1; min-width: 0; min-height: 44px; border: 0; background: none; padding: 0; text-align: left; font-size: 17px; cursor: pointer; }
.cv-post__title:hover { color: var(--accent); text-decoration: underline; }
.cv-post__day { color: var(--muted); font-size: 14.5px; white-space: nowrap; }

.cv-pops { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; }
.cv-pops[hidden] { display: none; }
.cv-pops__dim { position: absolute; inset: 0; background: rgba(16, 39, 43, .45); }
.cv-pops__box { position: relative; width: min(440px, 100%); background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(16,39,43,.3); }
.cv-pops.is-two .cv-pops__box { width: min(860px, 100%); }
.cv-pops__list { display: grid; grid-template-columns: 1fr; max-height: 64vh; overflow: auto; }
.cv-pops.is-two .cv-pops__list { grid-template-columns: 1fr 1fr; }
.cv-pop { padding: 22px; border-top: 8px solid var(--primary); }
.cv-pop + .cv-pop { border-top-color: var(--accent); border-left: 1px solid var(--line); }
.cv-pop__tag { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.cv-pop__title { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.35; margin-bottom: 10px; }
.cv-pop__body { font-size: 16.5px; }
.cv-pop__period { margin-top: 12px; font-size: 14px; color: var(--muted); }
.cv-pops__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px 8px 16px; background: var(--bg); border-top: 1px solid var(--line); }

.cv-subpage { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding-top: 28px; align-items: start; }
.cv-subnav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.cv-subnav__title { font-family: var(--display); font-size: 18px; font-weight: 900; padding: 4px 8px 10px; border-bottom: 2px solid var(--text); margin-bottom: 6px; }
.cv-subnav ul { list-style: none; margin: 0; padding: 0; }
.cv-subnav a, .cv-subnav button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--r-btn); background: none; text-align: left; font-size: 16px; color: var(--muted); text-decoration: none; cursor: pointer; }
.cv-subnav a.is-on { background: var(--primary-soft); color: var(--text); font-weight: 800; }
.cv-article .cv-h1 { margin-bottom: 18px; }
.cv-greet { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.cv-greet__mark { width: 120px; height: 120px; border-radius: 28px; border: 6px solid var(--text); display: grid; align-content: center; gap: 10px; padding: 0 16px; }
.cv-greet__mark span { display: block; height: 13px; border-radius: 7px; background: var(--primary); }
.cv-greet__mark span:nth-child(2) { width: 74%; background: var(--accent); }
.cv-greet__mark span:nth-child(3) { width: 48%; background: var(--text); }
.cv-greet__text p + p { margin-top: 12px; }
.cv-greet__lead { font-size: 19px; font-weight: 600; }
.cv-greet__sign { text-align: right; margin-top: 18px !important; font-size: 17px; }
.cv-greet__sign b { font-family: var(--display); font-size: 20px; margin-left: 4px; }
.cv-article .cv-h2 { margin: 28px 0 10px; }

/* ---------- 표 ---------- */
.cv-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cv-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 8px 10px; background: #F3F7F5; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cv-table td { padding: 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cv-table tr.is-new td { background: #F1FBF7; }
.cv-table--officers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 16px; max-width: 520px; }
.cv-act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* ---------- 생활용품 판매 ---------- */
.cv-shop__filters { display: grid; gap: 10px; margin-bottom: 18px; }
.cv-products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cv-prod { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); align-items: start; }
.cv-prod.is-soldout { background: #F6F8F7; }
.cv-prod__bag { position: relative; width: 64px; height: 76px; border-radius: 6px 6px 12px 12px; border: 2px solid var(--text); display: grid; place-items: center; font-weight: 900; font-size: 16px; margin-top: 8px; }
.cv-prod__bag::before { content: ""; position: absolute; top: -10px; left: 50%; width: 26px; height: 12px; margin-left: -13px; border: 2px solid var(--text); border-bottom: 0; border-radius: 12px 12px 0 0; background: inherit; }
.cv-prod__bag--general { background: #EAF2FB; }
.cv-prod__bag--food { background: #FFF1DA; }
.cv-prod__bag--reuse { background: #E4F4EA; }
.cv-prod__body { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.cv-prod__name { font-size: 18px; font-weight: 800; }
.cv-prod__pack { font-size: 14.5px; color: var(--muted); }
.cv-prod__price { font-size: 18px; margin: 2px 0 4px; }
.cv-prod__add { grid-column: 1 / -1; width: 100%; }
.cv-empty { padding: 20px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-card); }
.cv-empty[hidden] { display: none; }
.cv-orders { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; }
.cv-orders__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.cv-order { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); min-width: 0; }
.cv-order__head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.cv-order__head b { color: var(--text); }
.cv-order__what { font-size: 16px; font-weight: 700; margin-top: 2px; }
.cv-order__sum { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.cv-order__sum b { color: var(--text); font-size: 16px; }
.cv-cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16,39,43,.08); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.cv-cartbar__inner { max-width: 1232px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cv-cartbar__sum { font-size: 16px; }
.cv-cartbar__sum b { font-size: 18px; }
.cv-cartbar.is-on { border-top: 3px solid var(--primary); }
.cv-cart { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.cv-cart li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.cv-cart__name { font-weight: 700; min-width: 0; }
.cv-cart__sum { font-weight: 800; min-width: 72px; text-align: right; }
.cv-qty { display: inline-flex; align-items: center; gap: 8px; }
.cv-qty b { min-width: 20px; text-align: center; }
.cv-radios { display: grid; gap: 2px; }
.cv-radio { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: var(--r-btn); cursor: pointer; font-size: 16px; }
.cv-radio input { width: 20px; height: 20px; accent-color: var(--accent); }
.cv-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cv-total { margin: 4px 0 0; display: grid; gap: 4px; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.cv-total > div { display: flex; justify-content: space-between; gap: 12px; }
.cv-total dt { color: var(--muted); }
.cv-total dd { margin: 0; font-weight: 700; }
.cv-total__all { padding-top: 6px; margin-top: 2px; border-top: 1px solid var(--line); font-size: 18px; }
.cv-total__all dt { color: var(--text); font-weight: 800; }
.cv-total__all dd { font-weight: 900; }
.cv-mock { border: 2px dashed var(--warn); border-radius: 12px; padding: 16px; }
.cv-mock__tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: var(--warn-soft); color: var(--warn); font-weight: 800; font-size: 13.5px; }

/* ---------- 직원 화면 ---------- */
.cv-atabs-wrap { background: var(--accent); }
.cv-atabs { display: flex; gap: 4px; padding-top: 2px; }
.cv-atabs__item { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 10px 10px 0 0; color: #FFFFFF; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.cv-atabs__item:hover { background: rgba(255,255,255,.12); }
.cv-atabs__item.is-on { background: var(--bg); color: var(--accent); }
.cv-admin__main { padding-top: 16px; }
.cv-savenote { margin-bottom: 16px; padding: 10px 14px; border-radius: var(--r-btn); background: var(--accent-soft); border-left: 4px solid var(--accent); color: var(--accent); font-weight: 600; font-size: 14.5px; }
.cv-panel-tab[hidden] { display: none; }
.cv-admin__cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.cv-admin__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.cv-acal .cv-days, .cv-acal .cv-week { gap: 5px; }
.cv-month--admin { margin-top: 10px; }
.cv-month--admin .cv-day { min-height: 104px; }
.cv-month--admin .cv-b { font-size: 12px; }
.cv-dayinfo { font-size: 15px; margin-top: 4px; }
.cv-mini { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 6px; }
.cv-mini li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 8px; background: var(--bg); font-size: 14px; }
.cv-admin__aside .cv-card .cv-btn { margin-top: 10px; }
.cv-admin__aside .cv-link { display: flex; width: fit-content; margin-top: 4px; }
.cv-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 10px; }
.cv-wd { position: relative; }
.cv-wd input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cv-wd span { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r-btn); font-weight: 800; background: var(--hatch); color: var(--muted); }
.cv-wd input:checked + span { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.cv-wd input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.cv-srows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cv-srow { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.cv-srow.is-paused { background: var(--bg); }
.cv-srow__art { width: 72px; height: 54px; border-radius: 6px; flex: none; }
.cv-srow.is-paused .cv-srow__art { filter: grayscale(1); opacity: .6; }
.cv-srow__body { flex: 1; min-width: 0; }
.cv-srow__name { font-weight: 800; font-size: 15.5px; }
.cv-popeds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cv-officers { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.cv-officers li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.cv-menued { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.cv-menued__row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto auto; gap: 6px 8px; align-items: center; }
.cv-menued__row.is-hidden .cv-input { background: var(--bg); color: var(--muted); text-decoration: line-through; }
.cv-menued__no { font-weight: 800; color: var(--muted); text-align: center; }
.cv-menued__note { grid-column: 2 / -1; font-size: 13px; color: var(--warn); font-weight: 700; }
.cv-hide { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.cv-hide input { width: 18px; height: 18px; accent-color: var(--accent); }
.cv-plist { list-style: none; margin: 0; padding: 0; }
.cv-plist li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.cv-plist li.is-new { background: #F1FBF7; }
.cv-plist__title { flex: 1 1 200px; min-width: 0; font-weight: 600; }
.cv-toc { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 15px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 1080px) {
  .cv-admin__cols { grid-template-columns: minmax(0, 1fr); }
  .cv-admin__aside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .cv-admin__aside .cv-card { margin-bottom: 0; }
}
@media (max-width: 900px) {
  .cv-rental__grid { grid-template-columns: minmax(0, 1fr); }
  .cv-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .cv-hero__ci { display: none; }
  .cv-biz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-subpage { grid-template-columns: minmax(0, 1fr); }
  .cv-admin__two, .cv-popeds { grid-template-columns: minmax(0, 1fr); }
  .cv-admin__aside { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cv-admin__aside .cv-card { margin-bottom: 16px; }
  .cv-pops.is-two .cv-pops__list { grid-template-columns: 1fr; }
  .cv-pop + .cv-pop { border-left: 0; }

  .cv-table--cards thead { display: none; }
  .cv-table--cards, .cv-table--cards tbody { display: block; }
  .cv-table--cards tr { display: grid; gap: 2px; padding: 10px 12px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  .cv-table--cards td { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 3px 0 3px 90px; border: 0; position: relative; min-height: 30px; }
  .cv-table--cards td::before { content: attr(data-label); position: absolute; left: 0; top: 7px; width: 84px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
  .cv-table--cards td.cv-r { text-align: left; }
  .cv-table--cards td > p { flex-basis: 100%; }
}
@media (max-width: 760px) {
  .cv-top__inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mark tools" "switch switch"; gap: 8px 10px; padding: 8px 16px 10px; }
  .cv-mark { grid-area: mark; }
  .cv-top__tools { grid-area: tools; }
  .cv-switch { grid-area: switch; justify-self: stretch; }
  .cv-switch__item { flex: 1; justify-content: center; }
  .cv-who { display: none; }
  .cv-mark__name { font-size: 17px; }
  .cv-reset { padding: 0 10px; font-size: 14px; }
  .cv-nav__inner { padding: 0 16px; }
  .cv-nav__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 800; cursor: pointer; }
  .cv-nav__list { display: none; flex-direction: column; gap: 0; padding-bottom: 10px; }
  .cv-nav.is-open .cv-nav__list { display: flex; }
  .cv-nav__top { min-height: 46px; padding: 0 4px; border-bottom: 0; }
  .cv-nav__item.is-on > .cv-nav__top { color: var(--accent); }
  .cv-nav__item.is-on > .cv-nav__top::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--primary); margin-right: 8px; }
  .cv-nav__sub { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 0 0 8px 4px; border: 0; box-shadow: none; min-width: 0; background: none; }
  .cv-nav__item:hover > .cv-nav__sub, .cv-nav__item:focus-within > .cv-nav__sub { display: flex; }
  .cv-nav__sub li { flex: none; }
  .cv-nav__sub a, .cv-nav__sub button { width: auto; min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; }
  .cv-wrap { padding: 0 16px; }
  .cv-foot__inner { padding: 24px 16px 28px; }
  .cv-pagehead { padding: 20px 0 14px; }
  .cv-h1 { font-size: 25px; }
  .cv-lead { font-size: 16px; }
  .cv-field2 { grid-template-columns: minmax(0, 1fr); }
  .cv-hero__inner { padding-top: 28px; padding-bottom: 28px; }
  .cv-hero__title { font-size: 31px; }
  .cv-hero__lead { font-size: 17px; }
  .cv-biz__card { min-height: 132px; padding: 14px; }
  .cv-biz__name { font-size: 16.5px; }
  .cv-biz__text { font-size: 14px; }
  .cv-board__head { flex-direction: column; align-items: stretch; }
  .cv-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-tabs__btn { padding: 0 6px; font-size: 14.5px; }
  .cv-shop .cv-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cv-shop .cv-chips { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
  .cv-shop .cv-chipbtn { padding: 0 2px; }
  .cv-hide-m { display: none; }
  .cv-posts { padding: 2px 14px; }
  .cv-post { flex-wrap: wrap; gap: 0 10px; padding: 6px 0; }
  .cv-post__title { min-height: 36px; font-size: 16px; }
  .cv-pops { place-items: end center; padding: 0; }
  .cv-pops__box, .cv-pops.is-two .cv-pops__box { width: 100%; border-radius: 16px 16px 0 0; }
  .cv-pops__list { max-height: 62vh; }
  .cv-pop { padding: 18px 16px; }
  .cv-pop__title { font-size: 20px; }
  .cv-pops__foot { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .cv-greet { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .cv-greet__mark { width: 84px; height: 84px; border-width: 5px; border-radius: 20px; gap: 7px; padding: 0 12px; }
  .cv-greet__mark span { height: 9px; }
  .cv-subnav { display: none; }
  .cv-sheet { width: 100%; max-width: 100%; max-height: 90vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .cv-sheet__body, .cv-dialog__body { padding: 16px; }
  .cv-sheet__foot { position: sticky; bottom: -16px; background: var(--surface); margin: 16px -16px -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .cv-sheet__foot .cv-btn { flex: 1; }
  .cv-map li { grid-template-columns: minmax(0, 1fr); }
  .cv-detail > div, .cv-detail--done > div { grid-template-columns: 76px minmax(0, 1fr); }
  .cv-products { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cv-prod { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; padding: 12px; gap: 10px; }
  .cv-prod__bag { width: 54px; height: 62px; font-size: 14px; margin-top: 8px; }
  .cv-prod__add { grid-column: auto; width: auto; padding: 0 14px; }
  .cv-prod__name { font-size: 17px; }
  .cv-prod__price { font-size: 16.5px; margin: 0; }
  .cv-orders { padding: 14px; }
  .cv-orders__list { grid-template-columns: minmax(0, 1fr); }
  .cv-cartbar__inner { padding: 0 16px; }
  .cv-cartbar__sum { font-size: 14.5px; }
  .cv-cartbar__sum b { font-size: 16px; }
  .cv-fab { right: 12px; bottom: 12px; padding: 0 14px; font-size: 14px; }
  .cv--shop .cv-fab { bottom: 80px; }
  .cv-atabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px 16px 0; }
  .cv-atabs__item { min-height: 44px; padding: 0 4px; font-size: 14px; border-radius: 8px 8px 0 0; }
  .cv-card { padding: 14px; }
  .cv-officers li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cv-officers li .cv-btn { grid-column: 1 / -1; justify-self: start; }
  .cv-menued__row { grid-template-columns: 22px minmax(0, 1fr) auto auto; }
  .cv-menued__row .cv-hide { grid-column: 2 / -1; }
}
@media (max-width: 600px) {
  .cv-cal { padding: 10px; }
  .cv-cal__head { flex-direction: column; align-items: stretch; }
  .cv-cal__month { justify-content: space-between; }
  .cv-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-seg__btn { padding: 0 4px; }
  .cv-legend { gap: 2px 10px; font-size: 12.5px; }
  .cv-week, .cv-days { gap: 3px; }
  .cv-week { font-size: 12.5px; }
  .cv-day { min-height: 66px; padding: 4px 3px; gap: 3px; border-radius: 5px; }
  .cv-day__num { font-size: 13.5px; padding-left: 2px; }
  .cv-day__tag { display: none; }
  .cv-b { justify-content: flex-start; gap: 3px; padding: 0 2px; border-left: 0; background: none; font-size: 11.5px; line-height: 1.45; }
  .cv-b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); flex: none; }
  .cv-b--hyo::before { background: var(--accent); border-radius: 1.5px; }
  .cv-b.is-low, .cv-b.is-full { background: none; }
  .cv-b.is-full::before { background: #8FA39F; }
  .cv-b.is-full .cv-b__n { font-weight: 700; color: var(--muted); }
  .cv-b__name { display: none; }
  .cv-day__offl { display: none; }
  .cv-day__offs { display: block; font-size: 11px; line-height: 1.25; }
  .cv-day__off { font-size: 11px; padding: 0 1px; }
  .cv-month--admin .cv-day { min-height: 72px; }
  .cv-day__names { display: none; }
  .cv-day__cnt { font-size: 11.5px; }
  .cv-day__cnt b { font-size: 12.5px; }
  .cv-set__art { width: 80px; height: 60px; }
  .cv-set__name { font-size: 16px; }
}
@media (max-width: 380px) {
  .cv-reset span { display: none; }
}
