/*
 * SEM / MICE Carbon Lab — 글로벌 셸 스타일 (green ESG 디자인 언어).
 * 표시 전용. 자체호스팅(폰트 포함)·외부 의존성 0(CDN 금지). PHP/뷰 로직 없음.
 * 셸 = 고정 헤더(화이트+보더) + 딥포레스트 사이드바(앱) + sticky-바텀 푸터. 반응형(iPhone/Galaxy/iPad/MacBook).
 */

/* ---------- self-hosted font ---------- */
@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2-variations");
}

/* ---------- design tokens ---------- */
:root {
  --bg: #f1f5f3;
  --surface: #ffffff;
  --surface-2: #f6f9f7;
  --border: #e5ebe8;
  --border-2: #d7e0db;
  --text: #0f1b16;
  --muted: #5c6f66;
  --faint: #8a9a92;

  --brand: #0f7a5a;
  --brand-d: #0b5c44;
  --brand-l: #e7f4ee;
  --brand-2: #2fb07f;

  --sidebar-1: #0e2a20;
  --sidebar-2: #0a3b2c;
  --sidebar-text: #c5ddd2;
  --sidebar-muted: #7fb09c; /* 사이드바 잘림 P1 동반: 구 #6fa38f = 그라데이션 하단 #0a3b2c 대비 4.37:1(AA 미달) → 5.13:1 */

  --amber: #c9821f;
  --rose: #c04a54;

  --shadow-sm: 0 1px 2px rgba(16, 32, 25, .06);
  --shadow: 0 1px 2px rgba(16, 32, 25, .05), 0 10px 26px -14px rgba(16, 32, 25, .2);

  --radius: 14px;
  --radius-sm: 10px;

  --header-h: 67px; /* 56px → +20%(사용자 지시 2026-07-09) — 본문/사이드바 오프셋은 변수 연동으로 자동 추종 */
  --sidebar-w: 248px; /* 승인 목업(대시보드 완료전/완료후·입력 화면 정본 .side 248px) — Kim 지시 2026-09-05 · 본문/드로어 오프셋은 변수 연동 */
  --content-max: 1180px;

  --font: "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Malgun Gothic", "Apple SD Gothic Neo", Roboto, Arial, sans-serif;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;      /* fallback */
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* 한글 = 단어 단위 줄바꿈(글자단위 쪼개짐 방지·커밋 5 §5) — anywhere 는 긴 무공백 토큰(이메일/URL)의 안전망으로 유지 */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
button { font-family: inherit; }

/* iOS: 입력 폰트 16px 미만이면 포커스 시 자동 확대 → 방지(줌 자체는 막지 않음) */
input, select, textarea { font-family: inherit; font-size: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- fixed header (white + border) ---------- */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  padding-left: max(16px, var(--safe-left));
  padding-right: max(16px, var(--safe-right));
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.app-header__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.app-header__brand:hover { text-decoration: none; }
.app-header__mark {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid; place-items: center;
  box-shadow: 0 4px 12px -6px rgba(15, 122, 90, .6);
}
.app-header__mark svg { width: 19px; height: 19px; }
.app-header__name { font-weight: 750; font-size: 15px; letter-spacing: -.2px; color: var(--text); white-space: nowrap; }
.app-header__logo { height: 36px; width: auto; display: block; } /* 30px → +20%(헤더 비율 유지) */
.app-header__sub { font-size: 10.5px; color: var(--faint); font-weight: 600; }

.app-header__nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
.app-header__nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.app-header__grow { flex: 1 1 auto; }

.app-header__user { display: flex; align-items: center; gap: 10px; }
.app-header__who { font-size: 13px; font-weight: 650; color: var(--text); }
.app-header__who small { color: var(--faint); font-weight: 500; }
.app-header__logout { display: inline; }
.app-header__logout button {
  min-height: 36px; padding: 0 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted); border-radius: 8px;
  font-size: 12.5px; font-weight: 650; cursor: pointer; white-space: nowrap;
}
.app-header__link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  border-radius: 8px; font-size: 13px; font-weight: 650;
}
.app-header__link--solid { background: var(--brand); color: #fff; }
.app-header__link--solid:hover { text-decoration: none; }

/* hamburger — mobile only */
.app-burger {
  display: none;
  width: 44px; height: 44px; margin-left: -6px;
  border: none; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 9px; color: var(--text);
}
.app-burger svg { width: 22px; height: 22px; }

/* ---------- body / outlet ---------- */
.app-body { padding-top: calc(var(--header-h) + var(--safe-top)); }
.app-outlet {
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h) - var(--safe-top));
}
.chrome-app .app-outlet { margin-left: var(--sidebar-w); }
.app-content {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 22px max(18px, var(--safe-right)) 40px max(18px, var(--safe-left));
}
.chrome-public .app-content, .chrome-bare .app-content { max-width: 920px; }

/* ---------- sidebar (deep forest · app chrome) ---------- */
.app-sidebar {
  position: fixed;
  top: calc(var(--header-h) + var(--safe-top));
  left: 0; bottom: 0;
  width: var(--sidebar-w);
  z-index: 55;
  padding: 16px 12px calc(16px + var(--safe-bottom));
  padding-left: max(12px, var(--safe-left));
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(180deg, var(--sidebar-1) 0%, var(--sidebar-2) 100%);
  border-right: 1px solid #123a2c;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.app-nav__label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--sidebar-muted); padding: 14px 10px 6px;
}
.app-nav__item {
  position: relative; display: flex; align-items: center; gap: 11px;
  min-height: 44px; padding: 0 11px; border-radius: 10px;
  color: var(--sidebar-text); font-size: 13.5px; font-weight: 600; text-decoration: none;
}
.app-nav__item:hover { text-decoration: none; }
.app-nav__item svg { width: 18px; height: 18px; opacity: .92; flex: 0 0 auto; }
.app-nav__item.is-active { background: rgba(47, 176, 127, .18); color: #fff; }
.app-nav__item.is-active::before {
  content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--brand-2);
}
.app-nav__item.is-disabled { opacity: .42; pointer-events: none; }
.app-nav__spacer { flex: 1 1 auto; }
.app-nav__foot { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 8px; padding: 12px 10px 2px; }
.app-nav__foot small { color: var(--sidebar-muted); font-size: 11px; }
.app-sidebar__close {
  display: none; position: absolute; top: 8px; right: 8px;
  /* 44px 터치(커밋 5 P2-2 — 모바일 드로어에서만 노출되는 컨트롤) */
  width: 44px; height: 44px; border: none; background: transparent;
  color: var(--sidebar-text); border-radius: 9px; cursor: pointer;
  align-items: center; justify-content: center;
}
.app-sidebar__close svg { width: 20px; height: 20px; }

/* off-canvas backdrop */
.app-backdrop {
  position: fixed; inset: 0; z-index: 54;
  background: rgba(8, 20, 14, .5);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}

/* ---------- footer (sticky-bottom · NOT position:fixed) ---------- */
.app-footer {
  flex: 0 0 auto;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 22px max(18px, var(--safe-left)) calc(8px + var(--safe-bottom)) max(18px, var(--safe-right));
  color: var(--muted); font-size: 12.5px;
}
.app-footer__inner { max-width: var(--content-max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: flex-start; }
.app-footer__brand { flex: 0 0 auto; padding-top: 2px; }
/* MCL 로고 회색화 = CSS grayscale(별도 회색 이미지 자산 불필요·사용자 지시 2026-07-08) */
.app-footer__logo { display: block; height: 48px; width: auto; filter: grayscale(1); opacity: .55; }
.app-footer__body { flex: 1 1 320px; min-width: 240px; }
.app-footer__info { display: flex; flex-wrap: wrap; gap: 4px 14px; max-width: 720px; font-style: normal; }
.app-footer__info span { white-space: nowrap; }
.app-footer__info a { color: inherit; } /* 하단 전화 링크 = 정보 글자색 그대로(공개 하단과 같은 모양 · Kim 2026-11-08) */
.app-footer__tel { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; max-width: 100%; } /* 대표·문의 = 한 묶음 — 앞줄 공간이 모자라면 묶음째 다음 줄 · 묶음보다 좁은 칸에서만 안에서 줄바꿈(넘침 0) · Kim 2026-11-08 */
.app-footer__links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.app-footer__links a { color: var(--muted); font-weight: 600; }
.app-footer__soon { color: var(--faint); font-weight: 600; cursor: default; }
.app-footer__copy { margin-top: 10px; margin-bottom: 0; color: var(--faint); font-size: 11.5px; }

/* ---------- reusable base (future screens; 기존 뷰 무영향) ---------- */
.container { max-width: var(--content-max); margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 650; cursor: pointer; border: 1px solid transparent;
  background: var(--brand); color: #fff;
}
.btn:hover { text-decoration: none; }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- responsive: 태블릿/모바일 = 사이드바 off-canvas ---------- */
@media (max-width: 1024px) {
  .app-burger { display: inline-flex; }
  .app-sidebar__close { display: inline-flex; }
  .app-sidebar { padding-top: 44px; }
  .chrome-app .app-outlet { margin-left: 0; }
  /* 닫힌 드로어(-100%)는 visibility 까지 내린다 — 그림자(blur 40px)·경계선·소수 픽셀 변환 잔상 어느 것도 왼쪽 가장자리에
     진초록 띠로 새지 않게(390px 실측·2026-09-05). 닫힘 전환은 transform 이 끝난 뒤 숨기고, 열림은 즉시 보인다. */
  .app-sidebar {
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .24s cubic-bezier(.2, .8, .25, 1), visibility 0s linear .24s;
  }
  .app-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .24s cubic-bezier(.2, .8, .25, 1), visibility 0s;
    box-shadow: 0 18px 40px -12px rgba(8, 20, 14, .5);
  }
  .app-backdrop.is-open { opacity: 1; visibility: visible; }
  body.is-drawer-open { overflow: hidden; }   /* scroll lock */
}
@media (max-width: 600px) {
  .app-header__nav { display: none; }        /* 헤더 최소 메뉴는 드로어로 */
  .app-header__who { display: none; }        /* 모바일 헤더는 로그아웃만(사용자명은 데스크톱) */
  .app-header__logout button { min-height: 44px; } /* 44px 터치(커밋 5 P2-2 — 데스크톱 36px 유지) */
  /* footer 폭 봉인(커밋 5 P2 — 기본 align-items:flex-start 를 모바일에서 stretch 로 명시 대체·Galaxy 넘침 원인 ②) */
  .app-footer__inner { flex-direction: column; align-items: stretch; min-width: 0; }
  .app-footer__body, .app-footer__links { width: 100%; max-width: 100%; min-width: 0; }
  .app-footer__body { flex: 0 1 auto; }
  .app-footer__info span { white-space: normal; } /* 정보 줄바꿈 허용(nowrap 이 body overflow-wrap 무력화하던 축) */
}

/* 데스크톱에선 드로어/백드롭/버튼 숨김·사이드바 항상 노출 */
@media (min-width: 1025px) {
  .app-backdrop { display: none; }
  .app-sidebar { transform: none !important; }
}

/* hover 효과는 hover 가능한 기기에서만(터치엔 hover 없음) */
@media (hover: hover) {
  .app-header__nav a:hover { background: var(--surface-2); color: var(--text); }
  .app-header__logout button:hover { background: var(--surface-2); }
  .app-header__link--solid:hover { background: var(--brand-d); }
  .app-nav__item:hover:not(.is-active):not(.is-disabled) { background: rgba(255, 255, 255, .06); color: #fff; }
  .btn:hover { background: var(--brand-d); }
  .app-footer__links a:hover { color: var(--brand-d); }
}

/* ===== 프로젝트 목록(projects/index) — 리스트 컴포넌트(프리뷰에서 이관) ===== */
.lst-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 16px; }
.lst-title { font-size: 22px; font-weight: 770; letter-spacing: 0; margin: 0; }
.lst-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* label 래퍼(커밋 5 P2): 외곽 전체(아이콘/패딩 포함)가 input 활성 타깃 — cursor 도 텍스트 입력 의미로 통일 */
.lst-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; min-width: 230px; height: 40px; cursor: text; }
.lst-search svg { width: 16px; height: 16px; color: var(--faint); flex: none; }
.lst-search input { border: 0; outline: 0; background: transparent; font: inherit; font-size: 13px; color: var(--text); width: 100%; min-width: 0; }
.lst-search input::placeholder { color: var(--faint); }
.lst-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 15px; border-radius: 10px; border: 1px solid transparent; background: var(--brand); color: #fff; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; cursor: pointer; }
.lst-btn svg { width: 15px; height: 15px; }
/* 검색 입력 + 「검색」 단추 한 묶음(2026-11-02 Kim 확정 · Enter·모바일 검색 키도 같은 폼 제출) — 단추 = 기존 .lst-btn 모양 · 흰 바탕(휴지통과 같은 색) ·
   키보드 초점 = 단추는 전역 :focus-visible · 입력은 외곽 상자에 다른 입력과 같은 초점 테두리(입력 자체 outline 0 이라) */
.lst-searchbox { display: flex; align-items: center; gap: 8px; }
.lst-btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.lst-search:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 176, 127, .14); }

.lst-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lst-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.lst { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 13px; }
table.lst thead th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--muted); white-space: nowrap; padding: 13px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
table.lst th.r, table.lst td.r { text-align: right; }
table.lst thead th.lst-sort { cursor: pointer; user-select: none; }
/* 정렬 열 머리 = 서버 링크(2026-11-02 · 전체 결과 정렬 · 키보드 초점 가능) — 모양은 기존 머리글 그대로 */
table.lst thead th .lst-sort__link { color: inherit; text-decoration: none; }
table.lst thead th .lst-arw { color: var(--faint); font-weight: 600; margin-right: 4px; }
table.lst thead th[aria-sort] .lst-arw { color: var(--brand-d); }
table.lst tbody td { padding: 14px; border-bottom: 1px dashed var(--border-2); vertical-align: middle; color: var(--text); }
table.lst tbody tr:last-child td { border-bottom: none; }
table.lst tbody tr { cursor: pointer; }
.lst-name-link { color: var(--text); font-weight: 700; text-decoration: none; }
.lst-dates { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lst-region, .lst-venue { white-space: nowrap; }
.lst-venue { font-weight: 600; }
.lst-muted { color: var(--faint); }

.lst-avs { display: flex; align-items: center; }
.lst-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; border: 2px solid var(--surface); margin-left: -8px; }
.lst-av:first-child { margin-left: 0; }
.lst-av--more { background: var(--surface-2); color: var(--muted); border: 2px solid var(--surface); margin-left: 4px; }

.lst-badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 20px; white-space: nowrap; }
/* 진행단계 배지(A단계 3단계 전환 — 입력 중/검토 중/확정·「등록/산정완료」 클래스는 라벨 폐지로 함께 제거) */
.lst-badge--stage-input { background: var(--surface); color: var(--brand-d); border: 1px solid var(--border-2); }
.lst-badge--stage-review { background: #eafaf1; color: var(--brand-d); border: 1px solid #cfe8db; }
.lst-badge--stage-confirmed { background: var(--brand-d); color: #fff; border: 1px solid var(--brand-d); }
/* 이용 정지(w48 §71 · 회원 시안 r1 최종본) — 행사명 바로 아래 · 색 = 기존 주의 상자 색 */
.lst-badge--suspended { background: #fff8ec; color: #8a5a00; border: 1px solid #f3d9a8; display: flex; width: max-content; margin-top: 6px; }

.lst-acts { display: flex; align-items: center; justify-content: flex-end; }
.lst-act { width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--faint); display: grid; place-items: center; cursor: pointer; text-decoration: none; }
.lst-act svg { width: 17px; height: 17px; }
.lst-act--off { color: #d3dad6; cursor: not-allowed; }
.lst-empty-search { padding: 26px 14px; text-align: center; color: var(--faint); font-size: 13px; }
/* 쪽 이동(2026-11-02 · 100개 쪽 · components/list_pager) — 모양 = 승인 관리자 목록 시안(「1–100 / 201건 · 3페이지」 + 이전·쪽 번호·다음 · 현재 쪽 브랜드 채움) */
.lst-pager { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 13px 16px; border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted); }
.lst-pager__btns { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.lst-pager__btns a, .lst-pager__btns span, .lst-pager__btns b {
  min-width: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  padding: 0 10px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface);
  font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none;
}
.lst-pager__btns b { background: var(--brand); border-color: var(--brand); color: #fff; }
.lst-pager__btns span[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.lst-pager__btns i { font-style: normal; color: var(--faint); padding: 0 2px; }
/* 이용 정지 안내 화면(w48 §71 · 회원 시안 r1 · 글자 크기 = 삭제 확인 화면) */
.sus-notice { max-width: 640px; padding: 14px 16px; }
.sus-notice h1 { font-size: 22px; margin: 0 0 12px; }
.sus-notice p { font-size: 14px; color: #333; line-height: 1.7; margin: 0 0 20px; }

@media (hover: hover) {
  table.lst tbody tr:hover { background: var(--surface-2); }
  .lst-name-link:hover { color: var(--brand-d); text-decoration: underline; }
  .lst-btn:hover { background: var(--brand-d); }
  .lst-btn--ghost:hover { background: var(--surface-2); }
  .lst-act:not(.lst-act--off):hover { background: var(--surface-2); color: var(--rose); }
  .lst-pager__btns a:hover { background: var(--surface-2); }
}
/* 모바일 전용 정렬 select(커밋 5 P1) — 데스크톱 = 숨김(열 머리 링크가 담당)·≤600 = 노출(바꾸면 검색 폼 제출 = 서버 정렬 · 2026-11-02) */
.lst-sort-mobile { display: none; }
@media (max-width: 600px) {
  /* 44px 터치 영역 봉인(커밋 5 P2-2·rev5.1 §5): 검색/버튼/정렬 select/삭제 아이콘.
     ❗삭제 셀은 data-no-row-nav(행 클릭 제외)라 .lst-act 자체가 유일한 clickable 타깃 — 44×44 필수. */
  .lst-search { min-width: 0; flex: 1 1 100%; height: 44px; }
  .lst-search input { font-size: 16px; } /* iOS 포커스 줌 방지(전역 16px 을 덮던 13px 해제) */
  .lst-searchbox { flex: 1 1 100%; min-width: 0; } /* 검색 묶음 = 한 줄 전체 · 입력이 남는 폭 · 단추는 제 폭(줄바꿈 0) */
  .lst-searchbox .lst-btn { flex: none; }
  .lst-btn { min-height: 44px; }
  .lst-act { width: 44px; height: 44px; }
  .lst-sort-mobile { display: flex; flex: 1 1 100%; }
  .lst-sort-mobile select {
    width: 100%; min-height: 44px; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--text);
    background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0 12px;
  }
  /* ── 목록 = 카드형(커밋 5 §5·rev4 1안 = 단일 DOM): 같은 tr/td 마크업을 CSS 만으로 변환 —
        행 클릭(data-row-href)/삭제 이벤트 원천 1개. 시각 라벨 = td::before(attr(data-th))·
        ❗접근성 = 뷰의 th id + td headers 명시 관계가 담당(생성 콘텐츠는 시각 보조일 뿐) — thead 는 display:none
        이 아니라 아래 시각 은닉(sr-only 식)으로 접근성 트리에 유지. ── */
  .lst-scroll { overflow-x: visible; -webkit-overflow-scrolling: auto; }
  table.lst { min-width: 0; display: block; }
  table.lst thead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  table.lst tbody { display: block; }
  table.lst tbody tr {
    display: block; padding: 13px 14px 9px; border-bottom: 1px solid var(--border);
  }
  table.lst tbody tr td {
    display: flex; align-items: baseline; gap: 10px; padding: 3px 0; border-bottom: none;
    white-space: normal; text-align: left; word-break: keep-all;
  }
  table.lst tbody tr td::before {
    content: attr(data-th); flex: 0 0 58px; font-size: 11px; font-weight: 700; color: var(--faint);
  }
  /* 행사명 = 카드 제목(라벨 미표시·크게) / 삭제 = 우하단 액션(라벨 미표시) */
  table.lst tbody tr td[data-th="행사명"] { display: block; padding: 0 0 7px; }
  table.lst tbody tr td[data-th="행사명"]::before { content: none; }
  table.lst tbody tr td[data-th="행사명"] .lst-name-link { font-size: 15.5px; }
  table.lst tbody tr td[data-th="삭제"] { justify-content: flex-end; padding-top: 6px; }
  table.lst tbody tr td[data-th="삭제"]::before { content: none; }
  .lst-dates, .lst-region, .lst-venue { white-space: normal; }
  /* 쪽 이동 = 가운데 · 44px 터치 영역 · 카드형 마지막 행 테두리가 구분선(겹줄 방지) */
  .lst-pager { justify-content: center; border-top: 0; padding: 14px 12px; }
  .lst-pager__btns { justify-content: center; }
  .lst-pager__btns a, .lst-pager__btns span, .lst-pager__btns b { min-width: 44px; min-height: 44px; font-size: 13px; }
}

/* ===== 새 프로젝트 만들기(projects/new) ===== */
.pnew-wrap { max-width: 600px; margin: 0 auto; }
.pnew-head { margin: 4px 0 20px; }
.pnew-head h1 { font-size: 24px; font-weight: 800; letter-spacing: 0; margin: 0; }
/* 이용 구분(Kim 10-29 · 이번 프로젝트의 등록 구분 · 표시 전용) — 제목 아래 한 줄 요약(좁은 화면 = 줄바꿈) */
.pnew-usage {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px;
}
.pnew-usage div { display: flex; gap: 6px; min-width: 0; }
.pnew-usage dt { color: var(--muted); font-weight: 650; }
.pnew-usage dt::after { content: ":"; }
.pnew-usage dd { margin: 0; color: var(--text); font-weight: 750; overflow-wrap: anywhere; }
.pnew-error {
  margin: 0 0 14px; padding: 12px 14px; border: 1px solid #f3c9c7; border-radius: var(--radius-sm);
  background: #fff5f5; color: #a33834; font-size: 13px; font-weight: 650;
}
/* 견적 소진 등록 안 됨 안내의 다음 행동 단추(w48 §53 · 시안 r12 ⑩-3 `.qm-fail-act` 그대로) */
.qm-fail-act { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid #f3c9c7; color: #a33834; font-weight: 750; text-decoration: none; }
.pnew-empty { margin: 0; color: var(--muted); font-size: 14px; }
.pnew-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 22px 24px;
}
.pnew-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; }
.pnew-field label { font-size: 12.5px; font-weight: 700; color: #33443c; display: flex; align-items: center; gap: 6px; }
.pnew-req { color: var(--rose); font-weight: 800; }
.pnew-control { position: relative; display: flex; align-items: center; }
.pnew-control input, .pnew-control select {
  width: 100%; min-height: 44px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 12px 13px; transition: border-color .15s, box-shadow .15s; appearance: none;
}
.pnew-control input::placeholder { color: #a9b7b0; font-weight: 500; }
.pnew-control input:focus, .pnew-control select:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 176, 127, .14);
}
.pnew-control select { padding-right: 36px; cursor: pointer; }
.pnew-chev { position: absolute; right: 12px; color: var(--muted); pointer-events: none; }
.pnew-chev svg { width: 15px; height: 15px; display: block; }
.pnew-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pnew-derived {
  display: flex; align-items: center; gap: 9px; min-height: 44px;
  background: var(--surface-2); border: 1px dashed var(--border-2);
  border-radius: var(--radius-sm); padding: 12px 13px; font-size: 13.5px; font-weight: 650; color: var(--muted);
}
.pnew-derived output { color: var(--brand-d); font-weight: 800; font-variant-numeric: tabular-nums; }
.pnew-derived svg { width: 15px; height: 15px; color: var(--faint); flex: 0 0 auto; }
.pnew-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--surface-2); }
.pnew-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 0 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; background: var(--brand); color: #fff; text-decoration: none;
}
.pnew-btn svg { width: 16px; height: 16px; }
.pnew-btn--ghost { background: var(--surface); color: var(--muted); border-color: var(--border-2); }

@media (hover: hover) {
  .pnew-btn:hover { background: var(--brand-d); text-decoration: none; }
  .pnew-btn--ghost:hover { background: var(--surface-2); color: var(--text); }
}
@media (max-width: 600px) { /* 브레이크포인트 600 통일(커밋 5 §5 — 560/600 혼재 해소) */
  .pnew-row { grid-template-columns: 1fr; }
  .pnew-head h1 { font-size: 21px; }
  .pnew-actions { justify-content: stretch; }
  .pnew-btn { flex: 1 1 0; }
  .pnew-control input, .pnew-control select { font-size: 16px; } /* iOS 포커스 줌 방지 */
}

/* ---------- workspace sidebar (프로젝트 워크스페이스 — 소장 4그룹·컨텍스트 헤더·커밋 4 rev5.1 §4) ---------- */
.app-nav__back {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px 2px;
  color: var(--sidebar-muted); font-size: 12px; font-weight: 650; text-decoration: none;
}
.app-nav__back svg { width: 14px; height: 14px; flex: 0 0 auto; }
.app-nav__back:hover { color: #fff; text-decoration: none; }
/* 사이드바 텍스트 잘림 P1(사용자 확정 계약): 프로젝트명 = 최대 2줄·단어 단위 줄바꿈 / 컨텍스트 = 전체 판독
   가능(줄바꿈 허용·clip 금지). overflow-x 은폐 금지 — 줄바꿈이 원인 해소(overflow-wrap:anywhere = 공백 없는
   긴 영문명도 사이드바 폭 초과 0). line-clamp 표준+웹킷 병기. */
.app-nav__project {
  padding: 6px 10px 2px; text-decoration: none;
  color: #fff; font-size: 13.5px; font-weight: 750; letter-spacing: 0; line-height: 1.4;
  white-space: normal; overflow-wrap: anywhere; overflow: hidden;
  /* ❗flex-shrink 0 필수 — 사이드바(고정 높이 flex column)가 내용 초과 시 이 항목을 압착(실측 8px 붕괴 원인).
     표준 line-clamp 병기 금지(-webkit- 3종만 — 실측 회귀 근거는 계획서 참조). */
  flex: 0 0 auto;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.app-nav__project:hover { color: #fff; text-decoration: underline; }
.app-nav__project.is-active { color: var(--brand-2, #2fb07f); }
.app-nav__ctx {
  padding: 0 10px 10px; font-size: 11.5px; font-weight: 550; color: var(--sidebar-muted);
  white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.55;
  flex: 0 0 auto; /* 압착 금지 — 진행단계까지 전체 판독 보장 */
}
.app-nav__ctx .app-nav__stage { color: #cfe9dd; font-weight: 700; }
.app-nav__sublabel {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 10px 3px 11px; font-size: 11px; font-weight: 700; color: var(--sidebar-muted);
}
/* 서브라벨 아이콘: 크기 규칙 필수(무크기 svg = 과대 렌더) + 좌 11px 시작 = 항목 아이콘과 같은 열(텍스트는 sub 40px 정렬) */
.app-nav__sublabel svg { width: 18px; height: 18px; opacity: .92; flex: 0 0 auto; }
/* 배출데이터 카테고리 앵커(커밋 4 P1 — /data#participant 등): 고정 헤더(+safe-top)에 제목이 가리지 않게 스크롤 여백 */
.data-cat { scroll-margin-top: calc(var(--header-h, 67px) + var(--safe-top, 0px) + 14px); }
.app-nav__item.app-nav__sub {
  min-height: 36px; padding: 0 9px 0 36px; gap: 8px; white-space: nowrap;
  font-size: 12.5px; font-weight: 550; color: var(--sidebar-muted);
}
/* ❗한 줄 고정(Kim 2026-09-06): 라벨은 줄바꿈·말줄임·잘림 없이 한 줄, 배지는 오른쪽. 사이드바 세로 스크롤바(데스크톱 classic 17px)가
   있으면 항목 폭이 207px 까지 줄어드는데, 종전 40px 들여쓰기 + 11px 간격 + 11px 우측 여백은 「프로젝트 기본정보」+「제출완료」에
   1px 도 남기지 않아 줄이 바뀌었다. 36/8/9 로 같은 글자 크기(12.5px·배지 11px)에서 최소 9px 여유(스크롤바 없음 26px). */
.app-nav__item.app-nav__sub:hover { color: var(--sidebar-text); }
.app-nav__item.app-nav__sub.is-active { color: #fff; }
.app-nav__item.app-nav__sub.is-active::before { top: 7px; bottom: 7px; }
/* 읽기 전용 미리보기 링크 — 실제 입력 링크와 시각적으로 구분(라벨 옆 배지 + 낮은 대비) */
.app-nav__item.app-nav__sub.is-preview:not(.is-active) { color: var(--sidebar-muted); }  /* ❗:not(.is-active) 필수 — 이 규칙이 is-active(#fff)보다 뒤라 같은 특이도(3클래스)면 나중 것이 이겨
     현재 보고 있는 미리보기 메뉴 글자가 다시 흐려진다(총괄 P1) */
.app-nav__tag { margin-left: 7px; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .22); opacity: .85; }
/* 사이드바 입력 메뉴 — 승인 목업 정본(색 dot 7종 + 제출 배지 2종·`미사용`). 표시 전용. */
.app-nav__dot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.app-nav__badge { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; height: 23px; padding: 0 9px; border-radius: 20px; background: rgba(255,255,255,.08); color: #8a9a92; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
.app-nav__badge.ok { background: rgba(47,176,127,.22); color: #6fe3b4; }
.app-nav__badge.wip { background: rgba(245,158,11,.2); color: #fbbf6b; }
.app-nav__badge.temp { background: rgba(59,130,246,.28); color: #a9c8ff; }                      /* 임시저장 = 파랑(Kim 결정 2026-10-19 · w46 §97) — 대시보드 .badge.temp 와 같은 계열 · 어두운 바탕용 밝기 */
.app-nav__badge.no { background: rgba(255,255,255,.06); color: #8a9a92; }                       /* 선택·미입력·해당 없음 = 중립(완료·대기와 구분) */
.app-nav__badge.dgo { background: transparent; color: #b9a8f5; border: 1.5px solid rgba(185,168,245,.45); } /* 제출·수락 대기(위임) = 대시보드 .badge.dgo 와 동일 의미 */
.app-nav__badge.revision { background: rgba(239,68,68,.24); color: #fecaca; }                  /* 보완요청 = 전용 빨강(Kim 지시 2026-09-13 · D-318 보완 2) — 제출대기(wip)는 호박색 그대로 · 임시저장은 파랑(temp · §97) */

/* 목록 행사유형 배지(WORKSPACE_UI 커밋 3 — 중립 톤·상태 배지와 구분) */
.lst-badge--type { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border-2); }

/* ---------- 프로젝트 기본정보 카드형 화면(pbs-* · 목업 input-project-basic-preview 이관 — UI 단순화: 배지/섹션 제목 없는 단일 카드) ---------- */
.pbs-wrap { max-width: 720px; margin: 0 auto; padding: 6px 0 20px; }
.pbs-head { text-align: center; margin-bottom: 22px; }
.pbs-head h1 { font-size: 26px; font-weight: 800; letter-spacing: 0; margin: 0 0 9px; }
.pbs-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pbs-meta b { color: var(--text); }
.pbs-fs { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm, 0 2px 8px -4px rgba(16,50,38,.18)); padding: 20px; margin-bottom: 16px; }
.pbs-fs.grp { scroll-margin-top: calc(var(--header-h, 67px) + var(--safe-top, 0px) + 14px); }
.pbs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; }
.pbs-f { display: flex; flex-direction: column; gap: 7px; }
/* ❗hidden 속성 안전망(커밋 3·적대적 검증 P1): UA 의 [hidden]{display:none} 은 author display:flex 에 캐스케이드로
   패배한다(WHATWG 렌더링 스펙) — booth 의존 필드(.pbs-f[hidden]) 숨김이 이 규칙 없이는 전 브라우저에서 무효. */
[hidden] { display: none !important; }
.pbs-f.full { grid-column: 1 / -1; }
/* 승인 목업  — 보조 입력은 부모 칸 안에서 들여쓰기·세로줄로 종속을 보인다(현재 사용처 = 에너지 재생에너지). */
.pbs-sub { display: flex; flex-direction: column; gap: 6px; margin-top: 9px; padding-left: 12px; border-left: 2px solid var(--border-2); }
.pbs-sub > label { font-size: 12px; font-weight: 650; color: #4a5c54; }
.pbs-sub .pbs-hint { line-height: 1.5; }
.pbs-f label { font-size: 12.5px; font-weight: 700; color: #33443c; display: flex; align-items: center; gap: 6px; }
.pbs-f label .pbs-req { color: #c04a54; font-weight: 800; }
.pbs-f .pbs-hint { font-size: 11px; color: var(--faint, #93a49d); font-weight: 550; margin-top: -2px; }
/* 전시 부스 포함 토글(소장 UI 게이트 커밋 3 — 메인 폼 checkbox·44px 터치 타깃) */
.pbs-check { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--text); cursor: pointer; min-height: 28px; }
.pbs-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; flex: 0 0 auto; }
.pbs-check input[type="checkbox"]:disabled { cursor: not-allowed; }
.pbs-ctl { position: relative; display: flex; align-items: center; }
.pbs-ctl input, .pbs-ctl select {
  width: 100%; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 11px; padding: 12px 13px;
  transition: border-color .15s, box-shadow .15s; appearance: none; box-sizing: border-box;
}
.pbs-ctl input:focus, .pbs-ctl select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 176, 127, .14); }
.pbs-ro {
  display: flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px dashed var(--border-2);
  border-radius: 11px; padding: 12px 13px; font-size: 14px; font-weight: 700; color: var(--muted); min-height: 47px; box-sizing: border-box;
}
.pbs-ro .pbs-v { color: var(--text); font-weight: 750; }
.pbs-ro svg { width: 14px; height: 14px; color: var(--faint, #93a49d); flex: 0 0 auto; }
.pbs-note {
  display: flex; align-items: flex-start; gap: 10px; background: #eef1f0; border: 1px solid #d6dedb; border-radius: 12px;
  padding: 13px 15px; font-size: 12.5px; color: #4b5a53; font-weight: 600; line-height: 1.55;
}
/* booth UX P1 동반: 크기 규칙 부재로 lockSvg 가 과대 렌더되던 결함 — 아이콘 고정 */
.pbs-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
/* A단계 정정 flash(성공 톤) + 보완요청 배너(경고 톤·행 = 부문 라벨·사유·정정 시작 버튼) */
.pbs-note--ok { background: #eafaf1; border-color: #cfe8db; color: var(--brand-d); }
.pbs-revision { background: #fdf6ec; border: 1px solid #ecd9b8; border-radius: 12px; padding: 12px 15px; font-size: 12.5px; line-height: 1.55; }
.pbs-revision__head { font-weight: 750; color: #8a6417; margin-bottom: 8px; }
.pbs-revision__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px dashed #ecd9b8; flex-wrap: wrap; }
.pbs-revision__label { font-weight: 750; color: #6b4f12; white-space: nowrap; }
.pbs-revision__reason { color: #4b5a53; flex: 1 1 200px; white-space: pre-line; overflow-wrap: anywhere; } /* 관리자가 입력한 사유 줄바꿈 유지(escape 뒤 표시만) */
.pbs-revision__btn { height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: #c9821f; color: #fff; font-size: 12px; font-weight: 750; font-family: inherit; cursor: pointer; }
.pbs-revision__btn--link { display: inline-flex; align-items: center; box-sizing: border-box; text-decoration: none; }
.pbs-revision__wait { font-weight: 750; color: var(--brand-d); white-space: nowrap; }
.pbs-revision__wait--guide { white-space: normal; overflow-wrap: anywhere; min-width: 0; flex: 1 1 100%; } /* 긴 안내(위임 중 두 경로) = 관리자 사유 아랫줄 전체 폭·왼쪽 정렬 · 카드 안 줄바꿈 · 짧은 대기 표시는 그대로(D-318 보완 7 화면 확인 · Kim 결정) */
.pbs-revision__badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 20px; background: #fee4e2; color: #b42318; font-size: 11px; font-weight: 750; line-height: 1; white-space: nowrap; } /* 보완요청 = 대시보드 .badge.revision 과 같은 빨강(D-318 보완 2) */
.pbs-revision__badge--wait { background: #fbf1e2; color: var(--amber, #c9821f); } /* 재제출 완료 · 검토 대기 중 = 대시보드와 같은 호박색 배지(Kim 지시 · w46 §98 · 배경 = 대시보드 --amber-l 값 §99 · 기본 빨강 규칙 뒤에 둔다) */
/* 자재 그룹 카드 안 보완 안내(Kim 결정 2026-09-13 · D-318 보완 6) — 위: 상태 배지·지금 할 일 / 아래: 관리자 사유 전체 너비 · 모두 왼쪽 정렬 · 긴 문구는 줄바꿈 */
.pbs-revision__row--stack { display: block; text-align: left; }
.pbs-revision__top { display: flex; align-items: center; gap: 6px 8px; flex-wrap: wrap; min-width: 0; }
.pbs-revision__top .pbs-revision__wait { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.pbs-revision__guide { font-weight: 700; color: #6b4f12; min-width: 0; overflow-wrap: anywhere; }
.pbs-revision__reason--block { display: block; margin: 6px 0 0; }
.grp-head[id^="material-group-"] { scroll-margin-top: 84px; } /* 대시보드 「보완하러 가기」 그룹 위치 */
/* 전시 부스 포함 토글 바(섹션 밖 독립 — booth UX P1) */
.pbs-boothbar { display: flex; flex-direction: column; gap: 8px; }
.pbs-error { color: #c0392b; font-size: 13.5px; font-weight: 650; text-align: center; margin: 0 0 14px; }
.pbs-actions { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 13px; }
.pbs-btns { display: flex; gap: 40px; justify-content: center; }
/* 제출완료·잠금(배출 6화면) = 버튼 슬롯 0 + 공통 잠금 안내가 그 자리를 전폭으로 차지한다(Kim 지시 2026-09-23).
   기본정보·운영·참가·자재는 `.pbs-actions` 직계라 이 규칙이 필요 없다(같은 조각·같은 문구). */
.pbs-btns > .pbs-note { flex: 1 1 100%; grid-column: 1 / -1; margin: 0; text-align: left; }
.pbs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; font-family: inherit;
  font-size: 13.5px; font-weight: 750; border-radius: 11px; padding: 12px 24px; cursor: pointer; border: 1px solid transparent;
  transition: all .15s; white-space: nowrap; text-decoration: none; box-sizing: border-box;
}
.pbs-btn.ghost { background: var(--surface); color: var(--muted); border-color: var(--border-2); }
.pbs-btn.ghost:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.pbs-btn.primary { background: var(--brand); color: #fff; box-shadow: 0 10px 20px -10px rgba(15, 122, 90, .65); }
.pbs-btn.primary:hover { background: var(--brand-d); }
.pbs-btn:disabled, .pbs-btn.is-disabled { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; }
/* EVENT_OPS 커밋 4: 좌상단 브레드크럼(basic/operations 공용) + 운영 정보 섹션 제목/단위 */
.pbs-crumb { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.pbs-crumb .pbs-sep { color: var(--faint, #93a49d); }
.pbs-crumb b { color: var(--text); font-weight: 750; }
.pbs-sec-h { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 780; padding: 0 0 4px; border-bottom: 1px solid var(--surface-2); margin-bottom: 16px; }
.pbs-sec-h .pbs-n { width: 22px; height: 22px; border-radius: 7px; background: #e7f4ee; color: var(--brand-d); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.pbs-sec-sub { font-size: 11px; font-weight: 600; color: var(--faint, #93a49d); letter-spacing: 0; }
.pbs-ctl .pbs-unit { position: absolute; right: 13px; font-size: 12px; font-weight: 700; color: var(--faint, #93a49d); pointer-events: none; }
.pbs-ctl input.pbs-num { text-align: right; padding-right: 52px; }
.pbs-ctl input.pbs-num.pbs-num--wide-unit { padding-right: 73px; } /* (w45 §111) 3글자 이상 단위(디지털 「페이지뷰」) — 기본 52px 는 단위가 숫자를 덮는다 · 73px = 2글자 단위(「시간」)와 같은 숫자–단위 간격(정적 렌더 실측) · 이 수정자가 붙은 칸만 */
/* ---------- 부문별 입력 화면(입력화면 게이트 커밋 5A — 목업 에너지입력_공통 이관·pbs-* 계승) ---------- */
.pbs-topbar { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 28px; }
.pbs-topbar .pbs-crumb { margin: 0; }
.pbs-topbar .pbs-meta { text-align: right; flex: 0 1 auto; } /* (w45 §63) 줄어들 수 있게(shrink 1) — 줄바꿈돼 한 줄을 차지한 행사명·기간이 그 줄 폭 안에서 감긴다 · shrink 0 이면 390px 에서 가로 넘침(운영 D13 #25) · 넓은 화면 배치·글자 그대로 */
.pbs-intro { font-size: 12.5px; color: var(--muted); font-weight: 550; text-align: center; line-height: 1.6; margin: 0 0 18px; }
.pbs-intro b { color: #33443c; font-weight: 700; }
.pbs-optnote { font-size: 11.5px; color: var(--faint, #93a49d); font-weight: 500; text-align: center; line-height: 1.55; margin: -6px 0 18px; }
.pbs-sec-h .pbs-opt-tag { margin-left: auto; padding: 3px 10px; border-radius: 20px; background: #eef1ef; color: #6b7a72; font-size: 11px; font-weight: 750; }
.pbs-sec-desc { font-size: 12px; color: var(--muted); font-weight: 550; line-height: 1.55; margin: 0 0 14px; }
.pbs-flash { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #bfe0d1; background: #eff9f4; border-radius: 11px; font-size: 12px; color: var(--brand-d); font-weight: 650; margin: 0 0 14px; }
/* 임시저장 성공 토스트(D-314) — pbs-flash 색·글꼴 그대로 화면 아래 가운데에 떠 있다가 약 3초 뒤 스스로 사라진다(스크립트 0).
   ❗자동 소멸은 이 수정자에만 건다 — 오류·보완요청·필수 안내 등 다른 pbs-flash 는 그대로 남는다. */
.pbs-flash--toast { position: fixed; left: 50%; bottom: calc(24px + var(--safe-bottom, 0px)); z-index: 58; margin: 0; max-width: calc(100vw - 32px); box-sizing: border-box; transform: translateX(-50%); font-size: 13px; box-shadow: 0 8px 22px -8px rgba(15, 42, 32, .35); pointer-events: none; animation: pbs-toast-out .35s ease-in 3s forwards; }
@keyframes pbs-toast-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .pbs-flash--toast { animation-duration: .01s; } }
@media (max-width: 600px) { /* 좁은 화면: 폼 끝 [임시저장]·[제출] 을 가리지 않게 고정 헤더 바로 아래로 — 위치만 바꾼다(색·글꼴·문구·3초 소멸 그대로 · D-316) */
  .pbs-flash--toast { top: calc(var(--header-h) + var(--safe-top, 0px) + 10px); bottom: auto; }
}
.pbs-submit-err { display: flex; flex-direction: column; gap: 4px; padding: 10px 13px; border: 1px solid #e6b9bd; background: #fdf2f3; border-radius: 11px; font-size: 12px; color: #a23b45; font-weight: 650; margin: 0 0 14px; }

/* ── 참가업체·참관객 고정 권역 화면(입력화면 게이트 U-a) — 승인 목업 정본 이식 ──
   ❗**`.pbs-participant-input` wrapper 스코프 전용**이다. 전역 `.pbs-btn`/`.pbs-ctl` 기본 선언은
   기존 4화면(energy/water/digital/waste)과 U-b UI 가 공유하므로 **한 글자도 바꾸지 않는다**.
   목업 원천: _previews/참가업체현황_전시회.html · 참관객현황_공통.html (2026-07-18 소장 승인) */
.pbs-participant-input .reg-cols,
.pbs-participant-input .reg-row { display: grid; grid-template-columns: 1fr 128px 128px; gap: 10px 14px; align-items: center; }
/* 참관객 = 1지표(권역명 + 값 1열) — 목업 grid-template-columns:1fr 200px */
.pbs-participant-input .pbs-fs:not(.has-two) .reg-cols,
.pbs-participant-input .pbs-fs:not(.has-two) .reg-row { grid-template-columns: 1fr 200px; }
/* 참가업체 = 직원수 열만 148px(w45 §220 ④ · Kim 지시 — 목업 128px 에서 제목 「직원수(등록·배지 발급 기준) *」가 두 줄 → 한 줄 · 실측 135.7px + 여유) ·
   제목줄·행이 같은 열 폭이라 값·단위 정렬 유지 · ≤600px = 제목줄 숨김(아래 규칙 무변) */
.pbs-participant-input .pbs-fs.has-two .reg-cols,
.pbs-participant-input .pbs-fs.has-two .reg-row { grid-template-columns: 1fr 128px 148px; }
.pbs-participant-input .reg-cols { padding: 0 2px 9px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.pbs-participant-input .reg-cols .req { color: #c04a54; }
.pbs-participant-input .reg-cols span:nth-child(2),
.pbs-participant-input .reg-cols span:nth-child(3) { text-align: right; padding-right: 2px; }
.pbs-participant-input .reg-row { padding: 7px 2px; }
.pbs-participant-input .reg-row + .reg-row { border-top: 1px solid var(--surface-2, #eef1ef); }
.pbs-participant-input .reg-name { font-size: 13px; font-weight: 700; color: #33443c; }
/* (w47 §85) 참가업체 = 칸마다 묶음(.reg-field) — 정수 안내(num-input.js)가 그 칸 바로 아래에 붙고 칸마다 따로 쓴다 ·
   안내가 열려도 같은 줄의 다른 칸·권역명은 제자리(행 위 정렬 · PC 권역명 = 44px 칸 높이 가운데 = 평소 위치) · 참관객(:not) 무변 ·
   (§86) 행 정렬·권역명 높이 = 칸 묶음이 있는 행(편집 모드)만 — 읽기 화면(값 글자 행)은 종전 가운데 정렬 그대로 */
.pbs-participant-input .pbs-fs.has-two .reg-row:has(> .reg-field) { align-items: start; }
.pbs-participant-input .pbs-fs.has-two .reg-field { min-width: 0; }
.pbs-participant-input .pbs-fs.has-two .reg-field [data-num-hint] { margin-top: 4px; }
@media (min-width: 601px) { .pbs-participant-input .pbs-fs.has-two .reg-row:has(> .reg-field) > .reg-name { min-height: 44px; display: flex; align-items: center; } }
/* (w47 §90) 참관객(:not(.has-two)) = 같은 칸 묶음 — 정수 안내가 입력칸 아래(PC) · 행 정렬·권역명 높이 = 칸 묶음 있는 편집 행만(읽기 화면 무변) ·
   600px 이하 = 안내 자리 종전 그대로(행 그리드 간격 7px 와 같은 간격) */
.pbs-participant-input .pbs-fs:not(.has-two) .reg-row:has(> .reg-field) { align-items: start; }
.pbs-participant-input .pbs-fs:not(.has-two) .reg-field { min-width: 0; }
.pbs-participant-input .pbs-fs:not(.has-two) .reg-field [data-num-hint] { margin-top: 4px; }
@media (min-width: 601px) { .pbs-participant-input .pbs-fs:not(.has-two) .reg-row:has(> .reg-field) > .reg-name { min-height: 44px; display: flex; align-items: center; } }
@media (max-width: 600px) { .pbs-participant-input .pbs-fs:not(.has-two) .reg-field [data-num-hint] { margin-top: 7px; } }
/* 입력칸 = 목업 44px 터치 타깃(전역 .pbs-ctl input 은 무변 — 여기서만 override) */
.pbs-participant-input .pbs-ctl input.pbs-num { width: 100%; min-height: 44px; padding: 0 46px 0 12px; text-align: right; border-radius: 10px; font-size: 14px; }
.pbs-participant-input .pbs-ctl .pbs-unit { position: absolute; right: 13px; font-size: 12px; font-weight: 700; color: var(--faint, #93a49d); pointer-events: none; }
/* 그룹별 합계(우측 정렬) */
.pbs-participant-input .reg-total { display: flex; justify-content: flex-end; gap: 22px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--surface-2, #eef1ef); font-size: 12px; color: var(--muted); font-weight: 600; }
.pbs-participant-input .reg-total strong { color: var(--text); font-size: 14px; }
/* 전체 합계 */
.pbs-participant-input .grand { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid #cfe6db; background: var(--brand-l, #eff9f4); border-radius: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pbs-participant-input .grand .g-label { font-size: 13px; font-weight: 800; color: var(--brand-d); }
.pbs-participant-input .grand .g-nums { display: flex; flex-wrap: wrap; gap: 9px 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pbs-participant-input .grand .g-nums strong { color: var(--brand-d); font-size: 18px; }
/* 하단 버튼 = 목업 46px/104px(전역 .pbs-btn 선언 무변 — 스코프 override) */
.pbs-participant-input .pbs-btns { display: flex; gap: 40px; justify-content: center; }
.pbs-participant-input .pbs-btn { min-width: 104px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-size: 14px; }
@media (max-width: 600px) { /* 브레이크포인트 600 통일(커밋 5 §5) */
  .pbs-grid { grid-template-columns: 1fr; }
  .pbs-head h1 { font-size: 22px; }
  /* 버튼 = grid(커밋 5 §5 — min-width:150px 3버튼 오버플로 원인 ① 해소): 2열 + 홀수 마지막(제출/단독 버튼) 전폭 */
  .pbs-btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .pbs-btn { min-width: 0; width: 100%; }
  .pbs-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pbs-ctl input, .pbs-ctl select { font-size: 16px; } /* iOS 포커스 줌 방지(14px 덮어쓰기 해제·원인 ⑤) */
  /* 참가 화면(U-a) 360px 비파손 — 목업 정본: 컬럼 헤더 숨김 · 행 재배치 · 라벨을 입력칸 위/왼쪽에 */
  .pbs-participant-input .reg-cols { display: none; }
  .pbs-participant-input .pbs-fs.has-two .reg-row { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .pbs-participant-input .pbs-fs.has-two .reg-name { grid-column: 1 / -1; }
  .pbs-participant-input .pbs-fs:not(.has-two) .reg-row { grid-template-columns: 1fr; gap: 7px; }
  /* ❗목업 정본 차이: 참가업체(has-two)=라벨을 입력칸 **위**(세로) / 참관객(:not)=라벨을 입력칸 **왼쪽**(가로).
     참관객 목업(:97-98)에는 flex-direction 변경이 없고 ::before 가 margin-right:auto 로 좌측에 남는다. */
  .pbs-participant-input .pbs-fs.has-two .pbs-ctl { flex-direction: column; align-items: stretch; }
  .pbs-participant-input .pbs-fs.has-two .pbs-ctl::before { content: attr(data-lbl); font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
  /* (w45 §232 ④) 참가업체 세로 배치의 단위(개사·명) = 입력칸 안 오른쪽 — 종전 = top 미지정이라 세로 flex 시작점(칸 위 라벨 줄 끝)에 놓여
     360px 에서 긴 라벨 「직원수(등록·배지 발급 기준)」 끝과 겹침(실측). bottom 13px = 44px 입력칸 세로 가운데(PC 행 배치와 같은 자리) ·
     입력칸 단위 자리 padding-right 46px·라벨·참관객(:not) 무변 */
  .pbs-participant-input .pbs-fs.has-two .pbs-ctl .pbs-unit { bottom: 13px; }
  .pbs-participant-input .pbs-fs:not(.has-two) .pbs-ctl { flex-direction: row; align-items: center; }
  .pbs-participant-input .pbs-fs:not(.has-two) .pbs-ctl::before { content: attr(data-lbl); font-size: 11px; font-weight: 700; color: var(--muted); margin-right: auto; }
  .pbs-participant-input .pbs-ctl input.pbs-num { font-size: 16px; }
  .pbs-participant-input .grand { flex-direction: column; align-items: flex-start; }
  .pbs-participant-input .pbs-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .pbs-participant-input .pbs-btn { width: 100%; }
  .pbs-participant-input .pbs-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── [해당 없음] 선언 UI(B1-core·승인 목업 2026-07-16 규칙 그대로·.pbs-wrap scoped) ──
   digital = req-bar(필수 안내+na-btn) / waste = waste_venue sec-err(검증 실패 시)+na-btn — na-chip/취소 공통.
   na-btn 노출 = shell.js(표시 전용) 또는 서버 422 재렌더 — 활성 상태 권위는 서버 렌더뿐. */
.pbs-wrap .req-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 11px 14px; border: 1px solid #cfe6db; background: var(--brand-l); border-radius: 12px; margin: 0 0 16px; }
.pbs-wrap .req-bar.is-error { border-color: #e6b9bd; background: #fdf2f3; }
.pbs-wrap .req-line { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #41594f; font-weight: 600; line-height: 1.5; }
.pbs-wrap .req-tag { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--rose); padding: 2px 8px; border-radius: 20px; }
.pbs-wrap .req-bar.is-error .req-line { color: #a23b45; }
.pbs-wrap .na-btn { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--border-2); background: var(--surface); border-radius: 9px; font-size: 12px; font-weight: 750; color: var(--brand-d); cursor: pointer; }
.pbs-wrap .na-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; color: var(--brand-d); background: var(--brand-l); border: 1px solid #cfe6db; border-radius: 12px; padding: 9px 13px; margin: 0 0 16px; }
.pbs-wrap .pbs-fs .na-chip { margin: 13px 0 0; } /* waste: 그리드 뒤 위치(목업 margin-top 13px) */
.pbs-wrap .na-chip button { min-height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 11.5px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.pbs-wrap .sec-err { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 13px; padding: 10px 13px; border: 1px solid #e6b9bd; background: #fdf2f3; border-radius: 11px; font-size: 12px; color: #a23b45; font-weight: 650; }
/* 정본 복원(폐기물 정본 :59·:70 규칙): 필수 min-one 안내(req-min)·공통 힌트(waste-hint) */
.pbs-wrap .req-min { font-size: 12px; color: var(--brand-d); font-weight: 650; margin: -6px 0 14px; }
.pbs-wrap .waste-hint { font-size: 11px; color: var(--faint); font-weight: 550; margin: 13px 0 0; }
/* (w45 §95 · §86 목업 .waste-grid) 폐기물 처리방법 3칸 = PC 한 줄(재활용·매립·소각) · 600px 이하 = 1열(공용 .pbs-grid 모바일 규칙과 같은 폭 · 이 화면만) */
.pbs-wrap .pbs-grid.waste-grid { grid-template-columns: repeat(3, 1fr); gap: 15px 14px; }
@media (max-width: 600px) { .pbs-wrap .pbs-grid.waste-grid { grid-template-columns: 1fr; } }
/* 정본 배지 복원(사용자 결정 2026-07-23 — 폐기물 :57/:108/:67 규칙·.pbs-wrap scoped): 섹션 헤더 필수/선택 chip + 단위 표기 */
.pbs-wrap .pbs-sec-h .req-tag { display: inline-block; margin-left: 7px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--rose); padding: 2px 8px; border-radius: 20px; vertical-align: middle; flex: 0 0 auto; }
.pbs-wrap .opt-badge { display: inline-block; margin-left: 7px; padding: 2px 8px; border-radius: 20px; background: #eef1ef; color: #6b7a72; font-size: 10.5px; font-weight: 750; vertical-align: middle; flex: 0 0 auto; }
.pbs-wrap .pbs-sec-h .unit-note { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--faint); }
/* U-d 정본 규칙(식음료 :70·물류 :61 — .pbs-wrap scoped): 섹션 보조 문구·물류 우측 선택 배지 */
.pbs-wrap .sec-note { font-size: 11.5px; color: var(--faint); font-weight: 550; margin: -8px 0 13px; }
.pbs-wrap .pbs-sec-h .opt-tag { margin-left: auto; padding: 3px 10px; border-radius: 20px; background: #eef1ef; color: #6b7a72; font-size: 11px; font-weight: 750; }
/* U-d 정본 복구(`.pbs-ud` = fb/logistics 한정 wrapper·기존 화면 무영향):
   버튼 104/46/radius12/14px(식음료·물류 :119-122) · 입력 min-h 44/radius10/좌 12px(:74-77) · unit-note = 제목 옆
   (식음료 :69 — auto 마진 없음) · sec-h 14px/800 · 물류 = sec-h 무밑줄(:59)·grid 14px(:68)·우 50px(:74) */
.pbs-wrap.pbs-ud .pbs-btn { min-width: 104px; min-height: 46px; padding: 0 22px; border-radius: 12px; font-size: 14px; }
.pbs-wrap.pbs-ud .pbs-head { margin-bottom: 18px; }
.pbs-wrap.pbs-ud .pbs-sec-h { font-size: 14px; font-weight: 800; }
.pbs-wrap.pbs-ud .pbs-sec-h .unit-note { margin-left: 0; }
.pbs-wrap.pbs-ud .pbs-ctl input { min-height: 44px; border-radius: 10px; padding-top: 0; padding-bottom: 0; padding-left: 12px; font-weight: 400; }
.pbs-wrap.pbs-ud-logi .pbs-grid { gap: 14px 16px; }
.pbs-wrap.pbs-ud-logi .pbs-sec-h { border-bottom: 0; padding-bottom: 0; margin-bottom: 4px; }
.pbs-wrap.pbs-ud-logi .pbs-ctl input.pbs-num { padding-right: 50px; }
/* 전시회 식음료 게이트 — 명시 삭제(draft record 한정·`.pbs-ud` 스코프라 타 화면 무영향).
   ❗주 버튼(.pbs-btn) 위계를 쓰지 않는다: 저장·제출과 같은 크기로 두면 파괴적 동작이 동급으로 보인다.
   `.pbs-f` 가 flex column 이라 행 안 버튼은 align-self 로 좌측 정렬(전체폭 늘어남 방지). 44px 터치 타깃 확보. */
.pbs-wrap.pbs-ud .pbs-del {
  align-self: flex-start; margin-top: 2px; min-height: 44px; padding: 0; background: none; border: 0;
  font-family: inherit; font-size: 11.5px; font-weight: 650; color: var(--muted); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.pbs-wrap.pbs-ud .pbs-del:hover { color: #b4231f; }
.pbs-wrap.pbs-ud .pbs-del-row { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
/* 회복 패널(P0) — 읽기 전용 화면에서도 뜨는 유일한 write 컨트롤이라 경고 위계로 분리한다(일반 입력과 혼동 금지). */
.pbs-wrap.pbs-ud .pbs-recover { border: 1px solid #e6c9a8; background: #fdf6ec; border-radius: 14px; padding: 15px 17px; margin-bottom: 16px; }
.pbs-wrap.pbs-ud .pbs-recover-t { margin: 0 0 5px; font-size: 12.5px; font-weight: 600; color: #6b4c22; line-height: 1.55; }
.pbs-wrap.pbs-ud .pbs-recover-t b { font-weight: 780; }
.pbs-wrap.pbs-ud .pbs-recover-s { margin: 0 0 11px; font-size: 11.5px; font-weight: 550; color: #8a6d43; }
.pbs-wrap.pbs-ud .pbs-recover-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pbs-wrap.pbs-ud .pbs-recover-btn {
  min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #d9b489; background: #fff;
  font-family: inherit; font-size: 12.5px; font-weight: 700; color: #7a5520; cursor: pointer;
}
.pbs-wrap.pbs-ud .pbs-recover-btn:hover { background: #fbf1e2; }

/* 저장된 입력 삭제(회복 경로 — 물류 공통 개방 게이트). 정본 대비 **추가 요소**이며 파괴적 동작이므로
   주 동선(제출)과 시각적으로 분리한다. 44px 탭 타깃·360px 줄바꿈(DoD §8). */
.pbs-wrap.pbs-ud .pbs-fs.pbs-danger { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 20px; }
.pbs-wrap.pbs-ud .pbs-del-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pbs-wrap.pbs-ud .pbs-del-form { margin: 0; }
.pbs-wrap.pbs-ud .pbs-btn-danger { min-height: 44px; color: #b42318; border-color: #f4c2bd; background: #fff; }
.pbs-wrap.pbs-ud .pbs-btn-danger:hover, .pbs-wrap.pbs-ud .pbs-btn-danger:focus-visible { background: #fef3f2; border-color: #e8a49c; }

/* ══ U-e 자재 위임(커밋 5) — 정본 목업 3종(자재입력_전시회/컨벤션·자재위임_공급자입력·회수프록시) CSS 이식.
   시연 전용(demo-bar·prop-note)은 제외. 클래스 충돌 0 실사 후 추가. ══ */
.pbs-wrap .intro { font-size: 12.5px; color: var(--muted); font-weight: 550; text-align: center; line-height: 1.6; margin: 0 0 18px; }
.pbs-wrap .intro b { color: #33443c; font-weight: 700; }
.pbs-wrap .opt-note { font-size: 11.5px; color: var(--faint); font-weight: 500; text-align: center; line-height: 1.55; margin: -6px 0 18px; }
.pbs-wrap .info { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; border: 1px solid #bfe0d1; background: linear-gradient(180deg, #eff9f4 0%, #f7fbf9 100%); border-radius: 16px; margin-bottom: 16px; }
.pbs-wrap .info-ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(15,122,90,.55); }
.pbs-wrap .info-ic svg { width: 20px; height: 20px; }
.pbs-wrap .info-body { flex: 1; min-width: 0; }
.pbs-wrap .info-title { display: block; font-size: 13.5px; font-weight: 800; color: var(--brand-d); margin-bottom: 5px; letter-spacing: -.1px; }
.pbs-wrap .info-desc { margin: 0; font-size: 12px; color: #41594f; font-weight: 550; line-height: 1.6; }
.pbs-cap { font-size: 12px; color: var(--muted); font-weight: 550; line-height: 1.6; margin: 0 0 14px; }
.pbs-cap b { color: #33443c; font-weight: 750; }
.grp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 12px; border-bottom: 1px solid var(--surface-2); margin-bottom: 12px; flex-wrap: wrap; }
.grp-title { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800; }
.grp-title .pbs-n { width: 22px; height: 22px; border-radius: 7px; background: #e7f4ee; color: var(--brand-d); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.grp-meta { display: flex; align-items: center; gap: 7px; }
.status { padding: 4px 11px; border-radius: 20px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.status.neutral { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border-2); }
.status.gray, .status.unissued { background: #eef1ef; color: #6b7a72; }
.status.amber, .status.pending { background: #fbf1e2; color: var(--amber, #c9821f); } /* (Kim 지시 · w46 §99) 배경 = 대시보드 호박색 배지와 같은 값(종전 #fbf1de) */
.status.green, .status.completed { background: var(--brand-l); color: var(--brand-d); }
.status.undecided { background: #ece9f7; color: #5b4a9e; border: 1px dashed #5b4a9e; }
.status.revision { background: #fee4e2; color: #b42318; } /* 보완요청 = 대시보드 .badge.revision · 배너 배지와 같은 빨강(D-318 보완 7 화면 확인) */
.delg-progress { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.src { padding: 3px 9px; border-radius: 20px; font-size: 10.5px; font-weight: 750; white-space: nowrap; }
.src.est { background: #eef1ef; color: #6b7a72; }
.src.measured { background: var(--brand-l); color: var(--brand-d); }
.mode-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.mode-seg button { width: 100%; min-width: 0; min-height: 46px; padding: 8px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); color: var(--text); font-size: 12.5px; font-weight: 750; white-space: nowrap; transition: background-color .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease, transform .14s ease; }
.mode-seg button:not(:disabled) { cursor: pointer; }
.mode-seg button:not(.on):not(:disabled):active { transform: translateY(1px); }
.mode-seg button.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(15, 122, 90, .18); }
.mode-seg button.on:disabled { opacity: 1; cursor: default; }
.mode-seg button:disabled:not(.on) { opacity: 1; cursor: not-allowed; background: var(--surface-2); border-color: var(--border); color: var(--faint); }
@media (hover: hover) and (pointer: fine) { .mode-seg button:not(.on):not(:disabled):hover { background: var(--brand-l); border-color: var(--brand-2); color: var(--brand-d); box-shadow: var(--shadow-sm); } }
@media (max-width: 620px) { .mode-seg button { padding-inline: 9px; } }
@media (max-width: 360px) { .mode-seg button { padding-inline: 6px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .mode-seg button { transition: none; } }
.mat-head, .mat-row { display: grid; grid-template-columns: minmax(66px,.9fr) 98px repeat(4, minmax(0,.72fr)) 52px; gap: 8px; align-items: center; }
.mat-head { padding: 2px 2px 10px; font-size: 11px; font-weight: 700; color: var(--muted); }
.mat-head span { text-align: right; } .mat-head span.l { text-align: left; }
.mat-row { padding: 6px 2px; }
.mat-row + .mat-row { border-top: 1px solid var(--surface-2); }
.mat-name { font-size: 12.5px; font-weight: 700; color: #33443c; }
.mat-f { position: relative; display: flex; align-items: center; }
.mat-f input { width: 100%; min-height: 42px; padding: 0 26px 0 8px; text-align: right; border: 1px solid var(--border-2); border-radius: 9px; background: var(--surface); font-size: 13.5px; color: var(--text); }
.mat-f.use input { padding-right: 30px; }
.mat-f input:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47,176,127,.14); }
.mat-f input:disabled { background: var(--surface-2); color: #4c5f57; -webkit-text-fill-color: #4c5f57; }
.mat-f input.inv { border-color: #e6b9bd; background: #fdf2f3; }
.mat-f .u { position: absolute; right: 9px; font-size: 11px; font-weight: 700; color: var(--faint); pointer-events: none; }
.mat-sum { text-align: right; }
.mat-sum .sum { font-size: 12.5px; font-weight: 800; color: var(--faint); }
.mat-sum .sum.ok { color: var(--brand); }
.mat-sum .sum.bad { color: var(--rose, #c04a54); }
.mat-reduction-input { display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,260px); gap: 8px 16px; align-items: center; margin: 8px 2px 14px; padding: 13px 14px; border: 1px solid var(--border-2); border-radius: 11px; background: var(--surface-2); }
.mat-reduction-input label, .mat-reduction-label { font-size: 12.5px; font-weight: 750; color: #33443c; }
.mat-reduction-input p { grid-column: 1; margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.mat-reduction-input .mat-f { grid-column: 2; grid-row: 1 / span 2; }
/* (w47 §94) 자재 편집 줄 = 칸마다 묶음(.mat-cell) — 정수·비율 안내(num-input.js)가 그 칸 아래(다른 칸 자리 차지 0) ·
   줄 위 정렬·자재명·합계 높이 = 칸 묶음 있는 편집 줄만(직접 입력 읽기 줄·위임 제출값 줄 무변) · 모바일 사용량 칸 묶음 = 전체 폭 */
.mat-cell { min-width: 0; }
.mat-cell [data-num-hint] { margin-top: 4px; }
.mat-row:has(> .mat-cell) { align-items: start; }
@media (min-width: 601px) { .mat-row:has(> .mat-cell) > .mat-name { min-height: 42px; display: flex; align-items: center; } .mat-row:has(> .mat-cell) > .mat-sum { line-height: 1.5; margin-top: calc((42px - 1.5em) / 2); } }
@media (max-width: 600px) { .mat-cell--use { grid-column: 1/-1; } }
.delg-state { display: flex; align-items: flex-start; gap: 11px; padding: 15px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.delg-state .di { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: 0 0 auto; }
.delg-state .di.gray { background: #eef1ef; color: #6b7a72; }
.delg-state .di.amber { background: #fbf1de; color: var(--amber, #c9821f); }
.delg-state .di.green { background: var(--brand-l); color: var(--brand-d); }
.delg-state .di.undecided { background: #ece9f7; color: #5b4a9e; }
.delg-state .di svg { width: 19px; height: 19px; }
.delg-state .dt { flex: 1; min-width: 0; }
.delg-state .dt b { display: block; font-size: 13px; font-weight: 800; color: #33443c; margin-bottom: 3px; }
.delg-state .dt span { font-size: 12px; color: var(--muted); font-weight: 550; line-height: 1.55; }
/* (w45 §220 ⑤) 제목만 남은 상자 — 「협력업체 제출 완료 · 시각」(공용 6부문 · 설명 문장 삭제 D-374·§97 뒤) · 자재 「협력업체 제출 완료 · 확정값」(§143):
   제목을 아이콘(34px) 높이 가운데에 두고 제목 아래 여백 0(종전 = 위 정렬이라 아래만 빔). 설명·단추가 있는 상자 = 본문이 아이콘보다 높거나 마지막 자식이 아니라 위치 무변 */
.delg-state > .dt:last-child { align-self: center; }
.delg-state .dt > b:only-child { margin-bottom: 0; }
.delg-state .delg-notices { margin: 4px 0 0; padding-left: 18px; font-size: 12px; color: var(--muted); font-weight: 550; line-height: 1.55; overflow-wrap: anywhere; }
.delg-state .delg-notices li + li { margin-top: 4px; }
.delg-state + .mat-head { margin-top: 18px; }
.delg-state .delg-cta { flex: 0 0 auto; align-self: center; min-height: 44px; padding: 0 18px; white-space: nowrap; }
.delg-link { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); }
.delg-link code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #33443c; }
.delg-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.mini-btn { min-height: 44px; padding: 0 14px; border: 1px solid var(--border-2); background: var(--surface); border-radius: 9px; font-size: 12px; font-weight: 750; color: var(--muted); }
.mini-btn.fill { background: var(--brand); color: #fff; border-color: var(--brand); }
.ro-note { margin: 12px 0 0; font-size: 11.5px; color: var(--faint); font-weight: 550; line-height: 1.55; }
.grp-actions { margin-top: 16px; padding-top: 16px; }
.grp-actions .pbs-btns { gap: 16px; }
.grp-err { display: flex; flex-direction: column; gap: 4px; padding: 10px 13px; border: 1px solid #e6b9bd; background: #fdf2f3; border-radius: 11px; font-size: 12px; color: #a23b45; font-weight: 650; margin: 14px 0 0; line-height: 1.5; }
.addon { border: 1px solid var(--border); border-radius: 14px; margin-top: 12px; overflow: hidden; }
.addon.collab-addon { background: var(--surface); }
.addon-btn { width: 100%; display: flex; align-items: center; gap: 11px; padding: 14px 18px; border: 0; background: var(--surface); text-align: left; }
.addon-btn .ico { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; }
.addon-btn .ico svg { width: 20px; height: 20px; }
.addon-btn .lbl { flex: 1; font-size: 13px; font-weight: 750; color: var(--text); }
.addon-btn .lbl .sub { display: block; font-size: 11.5px; font-weight: 550; color: var(--faint); margin-top: 2px; }
.addon-btn .chev { width: 18px; height: 18px; color: var(--faint); transition: transform .18s; flex: 0 0 auto; }
.addon-btn .chev svg { width: 18px; height: 18px; }
.addon-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.addon-panel { padding: 0 18px 16px; }
/* 「자료 없음」 사유 입력칸은 **전달사항과 같은 규칙**을 공유한다(Kim 2026-09-23 · 새 디자인 체계 0). */
.addon-panel textarea, .pbs-submit-ack textarea { display: block; width: 100%; min-height: 64px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; font-size: 13.5px; line-height: 1.55; color: var(--text); resize: vertical; box-sizing: border-box; }
.addon-panel textarea:focus, .pbs-submit-ack textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47,176,127,.14); }
/* 사유 = 라벨 아래 전폭 한 줄 · 확인란은 **그 아래 별도 줄**. `.pbs-note` 는 flex 라 안쪽 블록에 min-width:0 이 필요하다(360px 넘침 방지). */
.pbs-submit-ack > div { min-width: 0; flex: 1 1 auto; }
.pbs-submit-ack .pbs-ack-reason { display: block; margin-top: 10px; }
.pbs-submit-ack .pbs-ack-confirm { display: block; margin-top: 12px; }
.addon-panel textarea:disabled { background: var(--surface-2); color: #4c5f57; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px; border: 1.5px dashed var(--border-2); border-radius: 12px; color: var(--muted); text-align: center; }
.drop svg { width: 24px; height: 24px; color: var(--faint); }
.drop .t { font-size: 12.5px; font-weight: 700; } .drop .s { font-size: 11px; color: var(--faint); }
.evidence-picker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0 2px; }
.evidence-picker input[type="file"] { max-width: 100%; min-height: 44px; font-size: 12.5px; color: var(--muted); }
.evidence-picker input[type="file"]::file-selector-button { min-height: 40px; margin-right: 9px; padding: 0 13px; border: 1px solid var(--border-2); border-radius: 9px; background: var(--surface); color: var(--text); font: inherit; font-weight: 750; cursor: pointer; }
.evidence-picker input[type="file"]:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }
.evidence-picker-help { font-size: 11px; line-height: 1.5; color: var(--faint); }
.file-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); margin-top: 10px; }
.file-chip .fi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; background: var(--surface-2); color: var(--muted); }
.file-chip .fi svg { width: 16px; height: 16px; }
.file-chip .fn { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: #33443c; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-chip .fs { font-size: 11px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.file-chip .fx { border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; text-decoration: underline; min-height: 44px; padding: 0 6px; }
/* 공급자(/submit) 독립 문서 셸 */
.pub-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--header-h, 67px); padding: 0 16px; display: flex; align-items: center; gap: 14px; background: var(--surface); border-bottom: 1px solid var(--border); }
.pub-header__logo { height: 36px; width: auto; display: block; }
.pub-header__tag { margin-left: auto; font-size: 12px; font-weight: 750; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 20px; padding: 5px 12px; white-space: nowrap; }
.pub-main { padding-top: var(--header-h, 67px); }
.pub-content { max-width: 760px; margin: 0 auto; padding: 22px 18px 40px; }
.req-card { display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px; border: 1px solid #bfe0d1; background: linear-gradient(180deg, #eff9f4 0%, #f7fbf9 100%); border-radius: 16px; margin-bottom: 16px; }
.req-card .ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--brand); color: #fff; box-shadow: 0 8px 16px -8px rgba(15,122,90,.55); }
.req-card .ic svg { width: 20px; height: 20px; }
.req-card .bd { flex: 1; min-width: 0; }
.req-card .t { display: block; font-size: 13.5px; font-weight: 800; color: var(--brand-d); margin-bottom: 5px; letter-spacing: -.1px; }
.req-card .d { margin: 0; font-size: 12px; color: #41594f; font-weight: 550; line-height: 1.6; }
.req-card .d b { font-weight: 750; }
/* (묶음 3 · 확정 협력업체 자재 목업 r1 (B)) 자재 협력업체 입력 화면 한정 — 「입력 업체」 줄 · 긴 행사명·업체명 줄바꿈 · PC 사용량 칸 132px(주최자 v6 와 같은 폭 · 9자리 이상 잘림 방지) */
.req-card .d.sup-who { margin-bottom: 4px; overflow-wrap: anywhere; }
[data-mat-screen] .req-card .t { overflow-wrap: anywhere; }
@media (min-width: 601px) { .pub-content .mat-head, .pub-content .mat-row { grid-template-columns: minmax(66px, .9fr) 132px repeat(4, minmax(0, .72fr)) 52px; } }
/* (묶음 4 · 협력업체 목업 r1 (B)) 그 업체 보완요청 상자 여백·상자 안 점선 없음(회원 v6 r5 요청 1과 같음) · 이전 첨부 보관 안내 — 협력업체 입력 화면(.pub-content) 한정 */
.pub-content .pbs-fs > .mat-revision { margin: 0 0 14px; }
.pub-content .pbs-fs > .mat-revision .pbs-revision__row { border-top: 0; padding: 0; }
.ev-keep-note { margin: 8px 0 0; font-size: 11.5px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.flash { display: flex; align-items: flex-start; gap: 9px; padding: 11px 14px; border-radius: 12px; font-size: 12.5px; font-weight: 650; margin: 0 0 14px; line-height: 1.55; }
.flash.ok { border: 1px solid #cfe6db; background: var(--brand-l); color: var(--brand-d); }
.flash.err { border: 1px solid #e6b9bd; background: #fdf2f3; color: #a23b45; }
.flash.info { border: 1px solid var(--border-2); background: var(--surface-2); color: var(--muted); }
.flash svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.invalid-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 34px 24px; text-align: center; margin-top: 24px; }
.invalid-card .ic { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: #fdf2f3; color: var(--rose, #c04a54); }
.invalid-card .ic svg { width: 26px; height: 26px; }
.invalid-card h2 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }
.invalid-card p { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 550; line-height: 1.65; }
@media (max-width: 600px) {
  .pub-content { padding: 16px 14px 32px; }
  .mat-head { display: none; }
  .mat-row { grid-template-columns: 1fr 1fr; gap: 9px 10px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
  .mat-row + .mat-row { border-top: 1px solid var(--border); margin-top: 10px; }
  .mat-name { grid-column: 1/-1; font-size: 13.5px; }
  .mat-f.use { grid-column: 1/-1; }
  .mat-f input { font-size: 16px; min-height: 44px; }
  .mat-f.pct::before { content: attr(data-lbl); position: absolute; left: 9px; font-size: 11px; font-weight: 700; color: var(--muted); }
  .mat-f.pct input { padding-left: 52px; text-align: right; }
  .mat-sum { grid-column: 1/-1; text-align: left; padding-top: 2px; }
  .mat-sum::before { content: "처리비율 합계 "; font-size: 11.5px; color: var(--muted); font-weight: 700; }
  .mat-reduction-input { grid-template-columns: 1fr; margin: 10px 0 14px; }
  .mat-reduction-input p, .mat-reduction-input .mat-f { grid-column: 1; grid-row: auto; }
  .delg-state { flex-wrap: wrap; }
  .delg-state .delg-cta { width: 100%; align-self: stretch; margin-top: 4px; }
  .delg-state + .mat-head + .mat-row { margin-top: 18px; }
}

/* ══════════ 회원가입(F축 R4 — 정본 목업 "확정/회원가입.html" 이식·.signup-page 스코프) ══════════ */
.signup-page { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.signup-page > h1 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; text-align: center; margin: 0 0 36px; }
.signup-page .su-alert {
  margin: 0 0 18px; padding: 13px 16px; border: 1px solid rgba(192, 74, 84, .35); border-radius: 11px;
  background: rgba(192, 74, 84, .07); color: var(--rose); font-size: 13.5px; font-weight: 700; line-height: 1.5;
}
.signup-page .card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow);
  padding: 30px 34px 34px; display: flex; flex-direction: column; gap: 0;
}
.signup-page .sec { padding: 8px 0 26px; }
.signup-page .sec-h { display: flex; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--sidebar-1); margin-bottom: 22px; }
.signup-page .sec-h h2 { font-size: 17px; font-weight: 800; letter-spacing: -.3px; margin: 0; }
.signup-page .sec-h .req-note { font-size: 12px; font-weight: 700; color: var(--amber); }
.signup-page .frow { display: grid; grid-template-columns: 128px 1fr; gap: 10px 18px; align-items: start; padding: 9px 0; }
.signup-page .frow > label { font-size: 13.5px; font-weight: 700; padding-top: 13px; color: var(--text); }
.signup-page .frow > label .st { color: var(--amber); margin-left: 2px; }
.signup-page .fbody { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.signup-page .fline { display: flex; gap: 10px; }
.signup-page .fline .inp-wrap { flex: 1 1 auto; }
.signup-page .inp-wrap { position: relative; min-width: 0; display: block; }
.signup-page .inp {
  width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--surface); font-size: 14px; font-family: inherit; color: var(--text);
  transition: border-color .12s, box-shadow .12s; box-sizing: border-box;
}
.signup-page .inp::placeholder { color: var(--faint); }
.signup-page .inp:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(47, 176, 127, .14); }
.signup-page .inp[readonly] { background: var(--surface-2); }
.signup-page .eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px;
  border: none; background: transparent; color: var(--faint); cursor: pointer; display: grid; place-items: center; border-radius: 8px;
}
.signup-page .eye:hover { background: var(--surface-2); color: var(--muted); }
.signup-page .eye svg { width: 18px; height: 18px; }
.signup-page .inp-wrap:has(.eye) .inp { padding-right: 44px; }
.signup-page .inp--timer { padding-right: 64px; }
.signup-page .timer {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 12.5px; font-weight: 750; color: var(--rose); font-variant-numeric: tabular-nums;
}
.signup-page .hint { display: block; position: relative; padding-left: 12px; font-size: 12px; color: var(--faint); font-weight: 600; line-height: 1.5; }
.signup-page .hint::before { content: "·"; position: absolute; left: 2px; top: 0; }
.signup-page .hint .resend { color: var(--brand-d); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.signup-page .inp.err { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(192, 74, 84, .12); }
.signup-page .hint.err { color: var(--rose); font-weight: 700; }
.signup-page .btn-side {
  flex: 0 0 auto; min-height: 46px; padding: 0 18px; border: 1px solid var(--border-2); border-radius: 10px;
  background: var(--surface-2); font-size: 13px; font-weight: 750; font-family: inherit; color: var(--text);
  cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s;
}
.signup-page .btn-side:hover { background: var(--brand-l); border-color: var(--brand-2); color: var(--brand-d); }
.signup-page .btn-side:disabled { opacity: .55; cursor: default; }
.signup-page .btn-side:disabled:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--text); }
.signup-page .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.signup-page .grid2 .sub { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.signup-page .grid2 .sub > label { font-size: 13.5px; font-weight: 700; padding-top: 13px; white-space: nowrap; }
.signup-page .grid2 .sub > label .st { color: var(--amber); margin-left: 2px; }
.signup-page .terms { padding: 8px 0 4px; }
.signup-page .terms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; padding-top: 16px; }
/* (Kim 2026-10-25 · 약관 영역 보완) 개별 항목 = 14px 보통 굵기(전체 동의하기 18px 굵게보다 작게) · 체크박스 = 네모 테두리 없이 **체크무늬(✓)만**
   (미선택 회색 `--faint` · 선택 = SEM 녹색 `--brand`) · 실제 <input type=checkbox> 그대로(전체·개별 연동 · Tab · Space) · 누르는 영역 28×28 ·
   포커스 외곽선 = 전역 `:focus-visible`(outline brand) 그대로 · ✓ = ::before 테두리 2변 회전(이미지 0 · 글꼴 의존 0) */
.signup-page .t-item { display: flex; align-items: center; gap: 7px; min-height: 28px; font-size: 14px; font-weight: 400; }
.signup-page .t-item input[type=checkbox] {
  appearance: none; -webkit-appearance: none; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 6px;
  background: transparent; flex: 0 0 auto; cursor: pointer; display: inline-grid; place-items: center;
}
.signup-page .t-item input[type=checkbox]::before {
  content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--faint); border-bottom: 2.5px solid var(--faint);
  transform: translateY(-2px) rotate(-45deg); transition: border-color .12s;
}
.signup-page .t-item input[type=checkbox]:checked::before { border-color: var(--brand); }
.signup-page .t-item .t-req { color: var(--amber); font-weight: 700; }
.signup-page .t-item .t-opt { color: var(--faint); font-weight: 700; }
.signup-page .t-item a { margin-left: auto; font-size: 12.5px; font-weight: 750; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.signup-page .t-item a:hover { color: var(--brand-d); }
.signup-page .t-all {
  display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--border-2);
  border-radius: 11px; background: var(--surface-2); cursor: pointer; margin-top: 4px;
}
/* (Kim 2026-10-25) 「전체 동의하기」 강조 = 제목 18px 굵게 · 체크 22px · 보조 설명은 아래 줄(색·체크 모양·옅은 배경 상자 그대로) */
.signup-page .t-all input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--brand); flex: 0 0 auto; cursor: pointer; }
.signup-page .t-all .t-all-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.signup-page .t-all b { font-size: 18px; font-weight: 700; line-height: 1.3; }
.signup-page .t-all span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.signup-page .terms-foot { font-size: 11.5px; color: var(--faint); font-weight: 600; line-height: 1.6; padding: 14px 2px 0; }
.signup-page .terms-foot a { color: var(--muted); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.signup-page .terms-foot a:hover { color: var(--brand-d); }
.signup-page .submit-note { font-size: 12px; color: var(--faint); font-weight: 600; text-align: center; line-height: 1.6; padding-top: 12px; }
.signup-page .submit-row { display: grid; place-items: center; padding-top: 26px; }
.signup-page .btn-join {
  min-width: 380px; min-height: 52px; border: none; border-radius: 12px; background: var(--brand); color: #fff;
  font-size: 15.5px; font-weight: 800; font-family: inherit; letter-spacing: -.2px; cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(15, 122, 90, .6); transition: background .12s;
}
.signup-page .btn-join:hover { background: var(--brand-d); }
.signup-page .su-btn-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.signup-page .su-btn-link:hover { text-decoration: none; color: #fff; }
/* 완료/준비중 안내 + 약관 열람 */
.signup-page.signup-page--notice { max-width: 580px; }
.signup-page .su-notice { gap: 10px; }
.signup-page .su-notice p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text); }
.signup-page.signup-page--terms { max-width: 820px; }
.signup-page .su-terms-meta { font-size: 12px; color: var(--faint); font-weight: 700; margin-bottom: 14px; }
.signup-page .su-terms-body { font-size: 13.5px; line-height: 1.8; color: var(--text); white-space: pre-wrap; word-break: break-word; }
/* 약관·동의서 MD 본문(Kim 10-29 · TermsMarkdown 출력 공용 · 관리자 화면은 admin.css 에 같은 규칙) — 제목 단계별 크기·굵게·표 */
.tmd { white-space: normal; }
.tmd > :first-child { margin-top: 0; }
.tmd > :last-child { margin-bottom: 0; }
.tmd p { margin: 0 0 .75em; }
.tmd strong { font-weight: 800; }
.tmd-h { margin: 1.15em 0 .45em; font-weight: 800; line-height: 1.45; letter-spacing: 0; color: inherit; }
.tmd-h1 { font-size: 1.3em; }
.tmd-h2 { font-size: 1.12em; }
.tmd-h3 { font-size: 1.04em; }
.tmd-h4, .tmd-h5, .tmd-h6 { font-size: 1em; }
.tmd-table-wrap { overflow-x: auto; margin: 0 0 .9em; }
.tmd-table { width: 100%; border-collapse: collapse; font-size: .95em; line-height: 1.6; }
.tmd-table th, .tmd-table td { border: 1px solid #d6dfda; padding: 6px 9px; text-align: left; vertical-align: top; word-break: keep-all; overflow-wrap: break-word; } /* 낱말 중간 끊김(「보유/기간」) 방지 · 좁으면 표만 가로 스크롤 */
.tmd-table th { background: #eef3f0; font-weight: 800; }
@media (max-width: 640px) {
  .signup-page .card { padding: 22px 18px 26px; }
  .signup-page .frow { grid-template-columns: 1fr; gap: 6px; }
  .signup-page .frow > label { padding-top: 0; }
  .signup-page .grid2 { grid-template-columns: 1fr; }
  .signup-page .terms-grid { grid-template-columns: 1fr; }
  .signup-page .btn-join { min-width: 100%; }
}

/* ── C0 위임 진입 UX(내 위임 작업) — 목록 안내/배너/페이저(.lst-* 재사용 + 최소 보충) ── */
.dgw-banner { display: block; margin: 0 0 14px; padding: 11px 14px; border: 1px solid var(--border-2); border-radius: 10px; background: var(--surface); color: var(--brand-d); font-size: 13.5px; text-decoration: none; }
.dgw-banner:hover { border-color: var(--brand-d); }
.dgw-hint { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.dgw-pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 16px 0 0; color: var(--muted); font-size: 13px; }
