/* ================================================================
 * 타임경매 공통 스타일 — 디자인 시스템
 *  프로토타입(time_auction_260723, src/index.css)의 시각 언어 정렬:
 *  공공기관 운영관리시스템 팔레트 — 정부청 블루(#154FB5) + 딥네이비(#002060) +
 *  각진 모서리(radius 2px) + flat 냉청회 배경(#EEF1F6) 위 흰 카드 + Pretendard.
 *  설계 근거: docs/DesignSystem.md · 상태칩 매핑: src/lib/statusFlow.ts
 * ================================================================ */

/* Pretendard(프로토타입 본문 서체) — 로컬 파일(statics/tmauctn/fonts). 원본: pretendard v1.3.9 가변폰트. */
@font-face {
    font-family: 'Pretendard Variable';
    src: url('../fonts/PretendardVariable.woff2') format('woff2-variations');
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
}
/* IBM Plex Mono(프로토타입 숫자·코드 서체) — 로컬 파일. 원본: @ibm/plex-mono v1.1.0. 미로딩 시 Consolas 폴백. */
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== 웹폰트 — Noto Sans (실물: static/fonts/NotoSans-*.ttf)
       DemiLight 파일이 없어 Light 로 대체 적용. ===== */
@font-face {
    font-family: 'NotoSans-Medium';
    src: url('../fonts/NotoSans-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans-Regular';
    src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans-Light';
    src: url('../fonts/NotoSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NotoSans-Thin';
    src: url('../fonts/NotoSans-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
  /* 표면·중립 (프로토타입 index.css 팔레트) */
  --ta-bg:          #EEF1F6;   /* 냉청회 페이지 */
  --ta-surface:     #FFFFFF;
  --ta-border:      #C2CAD8;
  --ta-input:       #B0BAC8;   /* 입력 테두리 (--input) */
  --ta-hairline:    #E3E8F0;   /* 화면 내부 옅은 구분선(표·페이지헤더는 --ta-border 사용) */
  --ta-text:        #151B26;   /* 잉크 블랙 */
  --ta-text-sub:    #5C6574;
  --ta-secondary-fg: #283142;  /* 보조 표면 위 글자 (--secondary-foreground) */

  /* 정부청 블루 — 주요 액션 (--primary #154FB5) */
  --ta-primary:      #154FB5;
  --ta-primary-dark: #0F3E92;

  /* 도메인 */
  --ta-chrome:     #202C3D;    /* 상단 크롬 — 슬레이트 딥네이비(셸 디자인 계승) */
  --ta-chrome-fg:  #E2E8F2;
  --ta-navy-deep:  #002060;    /* 사이드바 역할 헤더 등 딥네이비 강조 */
  --ta-nav-active: #154FB5;    /* 네비 활성 — 브랜드 블루 */
  --ta-navy:       #002060;    /* 딥 액션(조회 버튼)·헤더 베이스 */
  --ta-accent:     #DDE8F6;    /* 선택·호버 블루 틴트 (--accent) */
  --ta-accent-fg:  #1A3266;
  --ta-live:       #C0142C;    /* 마감·낙찰·긴급·삭제 레드 (--destructive) */
  --ta-success:    #1E9E4A;    /* 승인·정상 그린 */
  --ta-warning:    #E8890C;    /* 경고 앰버 */
  --ta-stat:       #0D2660;    /* 대표 지표 숫자 — 딥네이비 (--board-foreground) */
  --ta-teal:       #2C5B8A;    /* 틸 보조 액센트 (--teal) */
  --ta-panel:      #E4E8F0;    /* 검색·필터·테이블 헤더 배경 (--secondary/muted) */
  --ta-board:      #E8EFFC;    /* 가격 리드아웃 패널 배경 (--board) */
  --ta-band:       #F0F4FA;    /* 시스템 상태 띠 배경 */

  --ta-topbar-h:   56px;       /* 상단 크롬 높이 */
  --ta-band-h:     30px;       /* 프로토타입 h-8 */
  --ta-sidebar-w:  195px;      /* 프로토타입 w-52 (루트 15px 환산) */
  --ta-radius:     2px;        /* 프로토타입 각진 모서리 */
  --ta-radius-lg:  3px;        /* 버튼·입력·카드 (--radius-lg) */
  --ta-font-mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", "Consolas", Menlo, monospace;
  --ta-shadow-card: 0 1px 3px rgba(21, 27, 38, .10), 0 1px 2px rgba(21, 27, 38, .06);
  --ta-shadow-float: 0 12px 32px -10px rgba(0, 32, 96, .38);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard Variable", Pretendard, 'NotoSans-Regular', "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  color: var(--ta-text);
  background: var(--ta-bg);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "ss01" 1;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3 { letter-spacing: -0.01em; }
h1, h2, h3, h4, h5, h6, b, strong, th, dt {
  font-family: "Pretendard Variable", Pretendard, 'NotoSans-Medium', "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-weight: 700;
}
.ta-num, .ta-mono { font-variant-numeric: tabular-nums; }
.ta-mono { font-family: var(--ta-font-mono); font-weight: 600; }

/* ===== 셸 레이아웃 ===== */
.ta-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* 상단 크롬 — 딥네이비 + 브랜드 블루 언더라인 */
.ta-topbar {
  height: var(--ta-topbar-h);
  background: var(--ta-chrome);
  color: var(--ta-chrome-fg);
  border-bottom: 2px solid var(--ta-primary);
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 0 20px;
  position: sticky; top: 0; z-index: 20;
}
/* 브랜드 마크(로그인·허브·가입 화면 공용) — 각진 사각 이니셜 배지 */
.ta-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ta-brand-mark {
  font-weight: 800; font-size: 17px; color: #fff; letter-spacing: -0.3px;
  display: inline-flex; align-items: center; gap: 8px;
}
/* 앞의 '경' 이니셜 배지는 뺐다(2026-10-06 요청 - 브랜드명 포크빌미트만) */
.ta-brand-sub { font-size: 12px; color: rgba(224, 232, 248, .60); }

/* 톱바 전용 브랜드 계층 — 사각 마크 + 기관명/시스템명 2줄 (프로토타입 AppShell) */
.ta-tb-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ta-tb-mark {
  flex: none; width: 30px; height: 30px; border-radius: var(--ta-radius);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
  border: 1px solid rgba(224, 232, 248, .30);
  background: rgba(224, 232, 248, .10);
}
.ta-tb-text { min-width: 0; line-height: 1.25; }
.ta-tb-name { display: block; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.ta-tb-sub { display: block; font-size: 10px; font-weight: 500; letter-spacing: .04em; color: rgba(224, 232, 248, .60); }
.ta-tb-demo {
  margin-left: 4px; padding: 1px 6px; border-radius: var(--ta-radius);
  border: 1px solid rgba(224, 232, 248, .25);
  font-family: var(--ta-font-mono); font-size: 9px; letter-spacing: .1em;
  color: rgba(224, 232, 248, .50);
}

.ta-topbar-right { display: flex; align-items: center; gap: 8px; }
.ta-user { display: flex; align-items: center; gap: 6px; }
.ta-user-name { font-size: 12px; font-weight: 600; color: #fff; }
/* 세션 남은 시간 + 연장 (헤더 우측). 5분 이하 주황, 1분 이하 빨강. 모바일은 공간이 없어 숨긴다 */
.ta-session { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px;
              background: rgba(255, 255, 255, .10); font-size: 12px; color: #C9D6E0; }
.ta-session-left { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; }
.ta-session-extend { height: 22px; padding: 0 9px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
                     background: transparent; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; font-family: inherit; }
.ta-session-extend:hover { background: rgba(255, 255, 255, .18); }
.ta-session.warn { background: rgba(245, 158, 11, .22); }
.ta-session.warn .ta-session-left { color: #FCD34D; }
.ta-session.danger { background: rgba(220, 38, 38, .28); }
.ta-session.danger .ta-session-left { color: #FCA5A5; }
@media (max-width: 900px) { .ta-session { display: none; } }
/* 사용자명 = 내 정보 링크. 누를 수 있다는 느낌(호버 배경)만 주고 배지는 그대로 */
.ta-user-link { text-decoration: none; padding: 3px 8px; border-radius: 999px; cursor: pointer; }
.ta-user-link:hover, .ta-user-link.active { background: rgba(255, 255, 255, .14); }
.ta-user-link:hover .ta-user-name { text-decoration: underline; }

/* 시스템 상태 띠 — 회차·마감·날짜·역할 (프로토타입 SystemStatusBand) */
.ta-statusband {
  min-height: var(--ta-band-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 15px; overflow-x: auto;
  background: var(--ta-band); border-bottom: 1px solid var(--ta-border);
  font-size: 11px; color: var(--ta-text-sub);
  position: sticky; top: var(--ta-topbar-h); z-index: 19;
}
.ta-statusband-left { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ta-statusband-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; padding-left: 12px; }
.ta-statusband-sep { width: 1px; height: 12px; background: var(--ta-border); flex: none; }
.ta-statusband-strong { font-weight: 600; color: var(--ta-text); }
.ta-statusband-round { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ta-text); }
.ta-statusband-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ta-border); display: inline-block; }
.ta-statusband-dot.live { background: var(--ta-live); }
.ta-statusband-timer { font-family: var(--ta-font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.ta-statusband-timer.urgent { color: var(--ta-live); }
.ta-logout-form { margin: 0; }
/* 톱바 안 버튼은 어두운 배경용으로 반전 */
.ta-topbar .ta-btn-ghost {
  color: var(--ta-chrome-fg); border-color: rgba(255, 255, 255, .22); background: transparent;
}
.ta-topbar .ta-btn-ghost:hover { background: rgba(255, 255, 255, .10); color: #fff; }

/* 개발용 역할 전환 드롭다운 (dev.quicklogin.enabled) — 어두운 톱바용 */
.ta-dev-switch { display: flex; align-items: center; gap: 5px; margin: 0; }
.ta-dev-switch-label { font-size: 11px; color: rgba(224, 232, 248, .60); }
.ta-dev-switch select {
  height: 26px; padding: 0 6px; border-radius: var(--ta-radius); cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(224, 232, 248, .25);
  font-size: 11px; font-weight: 600;
}
.ta-dev-switch select:focus { outline: none; border-color: var(--ta-accent); }
.ta-dev-switch option { color: #1a2230; }

.ta-main { flex: 1; display: flex; align-items: stretch; min-height: 0; }

/* 사이드바 — 흰 표면, 활성 항목 블루 틴트 + 좌측 브랜드 바 */
.ta-sidebar {
  width: var(--ta-sidebar-w);
  flex-shrink: 0;
  background: var(--ta-surface);
  border-right: 1px solid var(--ta-border);
  padding: 10px 10px 14px;
}
/* 데스크톱(≥901px) - 본문을 스크롤해도 메뉴는 상단바 아래에 그대로(2026-10-19 요청).
   메뉴가 화면보다 길면 메뉴 안에서만 스크롤. 모바일(≤900px)은 아래 드로어 규칙이 그대로 쓰인다. */
@media (min-width: 901px) {
  .ta-sidebar {
    position: sticky; top: var(--ta-topbar-h); align-self: flex-start;
    height: calc(100vh - var(--ta-topbar-h)); height: calc(100dvh - var(--ta-topbar-h));
    overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box;
  }
}
.ta-nav-group {
  font-size: 11px; font-weight: 700; color: var(--ta-text-sub);
  text-transform: uppercase; letter-spacing: 0.5px;
  padding: 14px 10px 6px;
}
.ta-nav-item {
  display: block; padding: 8px 11px;
  border-left: 3px solid transparent;
  color: var(--ta-text); font-size: 13px; font-weight: 400;
}
.ta-nav-item:hover { background: var(--ta-panel); }
.ta-nav-item.active {
  background: var(--ta-accent); color: var(--ta-primary);
  font-weight: 600; border-left-color: var(--ta-primary);
}

/* 콘텐츠 영역 = 시그니처 네이비 셸 */
.ta-content {
  flex: 1; min-width: 0; padding: 16px; overflow: auto;
  background-color: #1f3450;
  background-image:
    linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, .045) 43% 45%, transparent 46%),
    linear-gradient(202deg, transparent 56%, rgba(0, 0, 0, .05) 57% 61%, transparent 62%),
    linear-gradient(158deg, transparent 70%, rgba(255, 255, 255, .035) 71% 73%, transparent 74%),
    linear-gradient(138deg, #1f3450 18%, #2c4056 34%, #47617e 64%, #7f93af 85%, #aebfd4 100%);
  background-attachment: local;
}
@media (max-width: 640px) { .ta-content { padding: 10px; } }

/* 페이지 표면 — 네이비 셸 위에 뜬 둥근 흰 카드 */
.ta-page-surface {
  background: var(--ta-surface);
  border-radius: 10px;
  box-shadow: var(--ta-shadow-card);
  padding: 22px 24px;
  min-height: calc(100vh - var(--ta-topbar-h) - var(--ta-band-h) - 32px);
}
@media (max-width: 640px) { .ta-page-surface { padding: 16px; } }

/* ===== 페이지 헤더 + 브레드크럼 ===== */
.ta-page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 11px; flex-wrap: wrap;
  margin-bottom: 11px; padding-bottom: 9px; border-bottom: 1px solid var(--ta-border);
}
.ta-page-title { font-size: 17px; font-weight: 700; margin: 0; color: var(--ta-text); letter-spacing: -0.015em; }
.ta-page-desc { margin: 2px 0 0; font-size: 13px; color: var(--ta-text-sub); }
/* 브레드크럼 — 프로토타입엔 없으나 DesignSystem.md §6.3 규정으로 존치. 밀도만 톤다운. */
.ta-breadcrumb {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--ta-text-sub); padding-top: 4px;
}
.ta-breadcrumb .sep { color: var(--ta-border); }
.ta-breadcrumb .home::before { content: "\2302"; }         /* ⌂ */
.ta-breadcrumb .on { color: var(--ta-text-sub); font-weight: 600; }

/* ===== 버튼 =====
   기본 지침: 버튼은 "누를 수 있다"가 느껴져야 한다 - 뚜렷한 면/테두리 + 살짝 뜬 입체감(그림자)
   + hover 강조 + 누를 때 내려앉는 press 피드백 + 키보드 포커스 링. (상태 표시와 절대 헷갈리지 않게) */
.ta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 30px; padding: 0 12px; border-radius: var(--ta-radius-lg); border: 1px solid var(--ta-input);
  background: var(--ta-surface); color: var(--ta-text);
  font-size: 13px; font-weight: 600; cursor: pointer; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .05), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: background-color .15s, border-color .15s, filter .15s, box-shadow .15s, transform .05s;
}
.ta-btn:hover { background: var(--ta-panel); color: var(--ta-secondary-fg);
  border-color: var(--ta-text-sub); box-shadow: 0 2px 5px rgba(16, 24, 40, .12); }
.ta-btn:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 0 0 rgba(16, 24, 40, 0), inset 0 1px 2px rgba(16, 24, 40, .12); }
.ta-btn:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 2px; }
.ta-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.ta-btn-primary { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; }
.ta-btn-primary:hover { background: var(--ta-primary-dark); color: #fff; }
.ta-btn-navy    { background: var(--ta-navy); border-color: var(--ta-navy); color: #fff; }      /* 조회·검색 실행 */
.ta-btn-navy:hover { background: #0A2E78; color: #fff; }
.ta-btn-danger  { background: var(--ta-live); border-color: var(--ta-live); color: #fff; }       /* 삭제 */
.ta-btn-danger:hover { filter: brightness(.94); color: #fff; }
.ta-btn-success { background: var(--ta-success); border-color: var(--ta-success); color: #fff; } /* 승인 */
.ta-btn-success:hover { filter: brightness(.95); color: #fff; }
.ta-btn-teal    { background: var(--ta-teal); border-color: var(--ta-teal); color: #fff; }       /* 대체 강조 */
.ta-btn-teal:hover { filter: brightness(.95); color: #fff; }
/* ghost 도 "버튼"으로 읽히게 옅은 테두리를 유지한다(투명 테두리는 링크처럼 보여 금지) */
.ta-btn-ghost { background: var(--ta-surface); border-color: var(--ta-border); box-shadow: 0 1px 1px rgba(16, 24, 40, .04); }
.ta-btn-ghost:hover { background: var(--ta-panel); border-color: var(--ta-text-sub); }
.ta-btn-block { width: 100%; }
.ta-btn-sm { height: 26px; padding: 0 9px; font-size: 11px; }

/* ===== 폼 ===== */
.ta-field { display: block; margin-bottom: 11px; }
.ta-field-label { display: block; font-size: 11px; font-weight: 500; color: var(--ta-text-sub); margin-bottom: 5px; }
.ta-input, .ta-select {
  width: 100%; height: 30px; padding: 0 9px; border: 1px solid var(--ta-input);
  border-radius: var(--ta-radius-lg); font-size: 13px; background: #fff; color: var(--ta-text);
}
textarea.ta-input { height: auto; padding: 6px 9px; }
.ta-input:focus, .ta-select:focus {
  outline: none; border-color: var(--ta-primary); box-shadow: 0 0 0 2px rgba(21, 79, 181, .18);
}
.ta-input-sm { height: 26px; padding: 0 8px; font-size: 11px; }

/* ===== 검색·필터 패널 + 툴바 ===== */
.ta-filter {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: var(--ta-panel); border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius-lg); padding: 9px 11px;
  margin-bottom: 11px;
}
.ta-filter .ta-input, .ta-filter .ta-select { width: auto; background: #fff; }
.ta-filter-label { font-size: 11px; font-weight: 500; color: var(--ta-text-sub); }
.ta-filter-spacer { margin-left: auto; }
.ta-toolbar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 11px; }

/* ===== 대표 지표 타일 ===== */
.ta-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-bottom: 11px; }
@media (max-width: 760px) { .ta-summary { grid-template-columns: repeat(2, 1fr); } }
.ta-summary-card {
  background: var(--ta-surface);
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg); padding: 11px;
}
.ta-summary-label { font-size: 11px; font-weight: 400; color: var(--ta-text-sub); }
.ta-summary-value {
  margin-top: 4px; font-size: 20px; font-weight: 900; line-height: 1.1;
  color: var(--ta-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.ta-summary-value .unit, .ta-stat .unit { color: var(--ta-text-sub); font-size: .55em; font-weight: 600; margin-left: 2px; }
/* 인라인 지표 강조(숫자) */
.ta-stat { color: var(--ta-stat); font-weight: 700; font-variant-numeric: tabular-nums; }
/* 선택으로 값이 바뀌는 타일 — 블루 틴트로 구분 */
.ta-summary-card.is-selected { background: var(--ta-accent); border-color: var(--ta-primary); }

/* 빈 상태 — 아이콘 + 안내 + 다음 행동 */
.ta-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 56px 20px; text-align: center;
}
.ta-empty-icon { font-size: 30px; line-height: 1; color: var(--ta-border); margin-bottom: 6px; }
.ta-empty-title { font-size: 15px; font-weight: 700; color: var(--ta-text); }
.ta-empty-desc { font-size: 13px; color: var(--ta-text-sub); }
.ta-empty .ta-btn { margin-top: 12px; }

/* ===== 카드/패널 ===== */
.ta-card { background: var(--ta-surface); border: 1px solid var(--ta-border); border-radius: var(--ta-radius); padding: 20px; }
.ta-panel { background: var(--ta-surface); border: 1px solid var(--ta-border); border-radius: var(--ta-radius); padding: 16px; }
.ta-panel-head { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ta-count-badge {
  display: inline-block; min-width: 18px; text-align: center;
  background: var(--ta-accent); color: var(--ta-primary);
  border-radius: var(--ta-radius); padding: 1px 8px; font-size: 12px; font-weight: 800;
}

/* 카드 헤더 — 제목·설명 + 우측 요약 배지, 아래 검색 줄 (프로토타입 조회 카드) */
.ta-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 11px;
  padding: 11px; border-bottom: 1px solid var(--ta-border);
}
.ta-card-title { font-size: 14px; font-weight: 700; color: var(--ta-text); }
.ta-card-desc { margin: 2px 0 0; font-size: 12px; color: var(--ta-text-sub); }
.ta-card-filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 9px 11px; border-bottom: 1px solid var(--ta-border);
}

/* 대표 이미지 고지 — 실촬영이 아닌 품목 대표사진을 보여줄 때 사진 바로 아래에 붙인다 */
.ta-photo-notice {
  margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: var(--ta-text-sub);
}

/* ===== 유형 선택 카드 — 기본상장/세트/결합처럼 모드를 고르는 큰 카드 ===== */
.ta-typecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 11px; }
@media (max-width: 860px) { .ta-typecards { grid-template-columns: 1fr; } }
.ta-typecard {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--ta-surface); border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius-lg); padding: 11px 13px;
  font-family: inherit; color: var(--ta-text);
  transition: background-color .15s, border-color .15s;
}
.ta-typecard:hover { border-color: var(--ta-primary); }
.ta-typecard.active { background: var(--ta-accent); border-color: var(--ta-primary); }
.ta-typecard-name { display: block; font-size: 14px; font-weight: 700; }
.ta-typecard.active .ta-typecard-name { color: var(--ta-primary); }
.ta-typecard-desc { display: block; margin-top: 3px; font-size: 12px; color: var(--ta-text-sub); }

/* 편성 — 날짜 묶음 / 회차 버튼 태그 / 묶음 구성 표 */
.arr-date { margin-top: 10px; }
.arr-round-tags { display: flex; gap: 4px; margin-top: 5px; }
.arr-lines { margin-top: 8px; border: 1px solid var(--ta-border); border-radius: var(--ta-radius); overflow: hidden; }
.arr-lines-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--ta-panel); padding: 5px 9px; font-size: 11px; font-weight: 600; color: var(--ta-text-sub);
}
.arr-lines-head span { color: var(--ta-text); font-weight: 700; }
.arr-line {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 9px; border-top: 1px solid var(--ta-hairline); background: var(--ta-surface);
}
.arr-line:first-of-type { border-top: 0; }
.arr-line-no {
  flex: none; width: 16px; height: 16px; border-radius: var(--ta-radius);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ta-accent); color: var(--ta-primary); font-size: 10px; font-weight: 700;
}
.arr-line-body { flex: 1; min-width: 0; }
.arr-line-title { display: block; font-size: 12px; font-weight: 700; }
.arr-line-mar { flex: none; font-size: 10px; color: var(--ta-text-sub); }
.arr-line-mar b { display: block; text-align: center; font-size: 12px; color: var(--ta-text); }

/* 편성 — 배정 항목 속성 그리드 */
.arr-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-top: 8px; }
.arr-spec-cell {
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  background: var(--ta-surface); padding: 4px 8px; min-width: 0;
}
.arr-spec-label { display: block; font-size: 10px; color: var(--ta-text-sub); }
.arr-spec-value {
  display: block; font-size: 12px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 편성 상세 — 대표사진 그리드 */
.arr-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 11px; }
.arr-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius); background: var(--ta-panel);
}
.arr-photo.is-missing {
  display: flex; align-items: center; justify-content: center;
  border-style: dashed; font-size: 11px; color: var(--ta-text-sub);
}

/* 개찰 대상 행 — 단축키(Enter 낙찰 / . 유찰) 판정 대상 강조.
   막대는 행 왼쪽 한 곳에만 — td 전체에 inset 그림자를 주면 셀마다 세로선이 생겨 격자처럼 보인다. */
.live-row.active td { background: var(--ta-accent); }
.live-row.active td:first-child { box-shadow: inset 3px 0 0 var(--ta-primary); }
.live-row { cursor: default; }

/* 개찰 회차 카드 — 개찰 필요/완료 상태를 색으로 구분 */
.live-rounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 9px; margin-bottom: 11px; }
.live-round {
  text-align: left; cursor: pointer; font-family: inherit;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg);
  background: var(--ta-surface); color: var(--ta-text); padding: 9px 11px;
}
.live-round:hover { border-color: var(--ta-primary); }
.live-round.sel { border-color: var(--ta-primary); background: var(--ta-accent); box-shadow: inset 0 0 0 1px var(--ta-primary); }
.live-round.need { border-color: #E8B44A; background: #FFF8E6; }
.live-round.need.sel { background: #FFF4D8; box-shadow: inset 0 0 0 2px #E8B44A; }
.live-round.done { background: #F3F7F4; }
.live-round-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.live-round-name { font-size: 13px; font-weight: 700; }
.live-round-meta { margin-top: 3px; font-size: 11px; color: var(--ta-text-sub); }
.live-round-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.live-tag {
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  padding: 1px 6px; font-size: 10px; font-weight: 600; background: var(--ta-surface); color: var(--ta-text-sub);
}
.live-tag.need { background: #B8791A; border-color: #B8791A; color: #fff; }
.live-tag.done { background: #1A7340; border-color: #1A7340; color: #fff; }

/* 세그먼트 토글 — 전체/단품/묶음처럼 배타 선택 */
.ta-segment {
  display: inline-flex; gap: 2px; padding: 2px; margin-bottom: 9px;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg); background: var(--ta-surface);
}
.ta-segment button {
  border: 0; background: none; cursor: pointer; font-family: inherit;
  padding: 3px 10px; font-size: 12px; color: var(--ta-text-sub); border-radius: var(--ta-radius);
}
.ta-segment button.active { background: var(--ta-primary); color: #fff; font-weight: 600; }

/* 조건 필터 그룹 — 축(등급·부위·상장사)별 칩 묶음 */
.ta-facet { display: flex; align-items: flex-start; gap: 7px; margin-top: 6px; }
.ta-facet:first-child { margin-top: 0; }
.ta-facet-label { flex: none; width: 42px; font-size: 11px; color: var(--ta-text-sub); padding-top: 3px; }
.ta-facet-list { display: flex; flex-wrap: wrap; gap: 4px; }

/* 빠른 필터 칩 — 이력번호처럼 값이 몇 개뿐인 축을 한 줄로 */
.ta-quickfilter {
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg);
  background: var(--ta-panel); padding: 9px 11px; margin-bottom: 11px;
}
.ta-quickfilter-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 600; color: var(--ta-text-sub); margin-bottom: 7px;
}
.ta-quickfilter-list { display: flex; flex-wrap: wrap; gap: 5px; }
.ta-quickfilter-item {
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  background: var(--ta-surface); color: var(--ta-text);
  padding: 3px 9px; font-size: 12px; font-family: inherit; cursor: pointer;
}
.ta-quickfilter-item:hover { border-color: var(--ta-primary); }
.ta-quickfilter-item.active { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; font-weight: 600; }

/* 2단 스텝 (세트: 한 마리 → 세트 종류) */
.ta-steps2 { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 11px; }
@media (max-width: 900px) { .ta-steps2 { grid-template-columns: 1fr; } }
.ta-step-head { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.ta-stepno {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ta-primary); color: #fff; font-size: 10px; font-weight: 700;
}
.ta-step-head b { font-size: 11px; }
.ta-step-head em { display: block; font-style: normal; font-size: 11px; font-weight: 400; color: var(--ta-text-sub); }

/* 선택 목록(행형) — 이력번호처럼 한 줄에 라벨+수치 */
.ta-picklist { display: flex; flex-direction: column; gap: 5px; max-height: 176px; overflow: auto; padding-right: 3px; }
.ta-pickrow {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; text-align: left; cursor: pointer; font-family: inherit;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  background: var(--ta-surface); color: var(--ta-text); padding: 6px 11px;
}
.ta-pickrow:hover { border-color: var(--ta-primary); }
.ta-pickrow.active { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; }
.ta-pickrow-key { font-family: var(--ta-font-mono); font-size: 11px; font-weight: 700; }
.ta-pickrow-meta { font-size: 11px; }

/* 선택 타일(격자형) — 세트 종류·결합 상위 품목 */
.ta-picktiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 5px; max-height: 176px; overflow: auto; padding-right: 3px;
}
.ta-picktile {
  min-width: 0; text-align: left; cursor: pointer; font-family: inherit;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  background: var(--ta-surface); color: var(--ta-text); padding: 6px 9px;
}
.ta-picktile:hover:not(:disabled) { border-color: var(--ta-primary); }
.ta-picktile.active { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; }
.ta-picktile:disabled { opacity: .45; cursor: not-allowed; background: var(--ta-panel); }
.ta-picktile-name { display: block; font-size: 11px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-picktile-meta { display: block; margin-top: 2px; font-size: 10px; opacity: .75; white-space: nowrap; }
.ta-picktile-meta.ok { color: var(--ta-success); opacity: 1; font-weight: 600; }
.ta-picktile.active .ta-picktile-meta.ok { color: #fff; }

/* 선택 불가 재고 행 — 흐리게 */
.ta-row-disabled { opacity: .55; }
.ta-row-picked td { background: var(--ta-accent); }
/* 선택 체크 버튼 */
.ta-pickbox {
  width: 22px; height: 22px; border-radius: var(--ta-radius); cursor: pointer;
  border: 1px solid var(--ta-input); background: var(--ta-surface);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1; color: transparent; padding: 0;
}
.ta-pickbox.on { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; }
.ta-pickbox:disabled { cursor: not-allowed; background: var(--ta-panel); }
/* 단독 기본상장 불가 배지 */
.ta-badge-nosolo {
  border: 1px solid #A8C0E8; background: #DDE8F6; color: #154FB5;
  border-radius: var(--ta-radius); padding: 1px 6px; font-size: 10px; font-weight: 600;
}

/* 구성 요약 — 자동 산출 상품명과 집계를 강조하는 회색 박스 */
.ta-compose-summary {
  background: var(--ta-panel); border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius-lg); padding: 11px 13px; margin-bottom: 11px;
}
.ta-compose-label { display: block; font-size: 11px; color: var(--ta-text-sub); }
.ta-compose-name { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; color: var(--ta-text); }
.ta-compose-meta { display: block; margin-top: 3px; font-size: 12px; color: var(--ta-text-sub); }

/* ===== 표 — 회색 헤더 + 얇은 라벨(프로토타입 table.tsx) ===== */
.ta-table { width: 100%; border-collapse: collapse; background: var(--ta-surface); }
.ta-table th, .ta-table td { padding: 7px 12px; border-bottom: 1px solid var(--ta-border); text-align: left; }
.ta-table th {
  background: var(--ta-panel); font-weight: 600; color: var(--ta-text-sub);
  font-size: 11px; white-space: nowrap;
}
.ta-table tbody tr:hover td { background: #F7F9FD; }
/* 행 클릭 = 체크 (TA.rowPick). 체크된 행은 배경으로 알 수 있게 */
.ta-pickable tbody tr, tbody.ta-pickable tr { cursor: pointer; }
.ta-pickable tr.is-picked td, tbody.ta-pickable tr.is-picked td { background: #EAF7EE; }
.ta-pickable tr.is-picked:hover td, tbody.ta-pickable tr.is-picked:hover td { background: #DFF2E6; }
.ta-table .ta-empty-td { text-align: center; color: var(--ta-text-sub); padding: 28px; }
/* 셀 보조줄 — 이력/부위/도축장처럼 한 셀에 두 층으로 묶는 값 */
.ta-cell-sub { font-size: 11px; color: var(--ta-text-sub); }
/* 목록 안 썸네일 묶음 — 대표사진 확인용 */
.ta-thumbs { display: flex; gap: 4px; flex-wrap: wrap; }
.ta-thumb {
  width: 38px; height: 38px; object-fit: cover;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius); background: var(--ta-panel);
}
/* 실물 파일이 없는 사진 — 깨진 이미지 대신 자리표시 */
.ta-thumb.is-missing {
  display: inline-flex; align-items: center; justify-content: center;
  border-style: dashed; font-size: 0;
}
.ta-thumb.is-missing::after { content: "\1F5BC"; font-size: 15px; opacity: .45; }

/* 기관용 열 헤더 — 분류표처럼 열 자체가 구분 축인 표 (프로토타입 .gov-col-header) */
.ta-table-gov thead th {
  background: #1A3266; color: #D0DDEF;
  font-size: 11px; font-weight: 600; letter-spacing: .05em;
  padding: 7px 11px;
}

/* ===== 배지 (정보 표시용 태그 - 누르는 게 아니다. 알약 모양·커서 기본) ===== */
.ta-badge, .ta-badge-type, .ta-badge-view,
.ta-badge-gray, .ta-badge-blue, .ta-badge-green, .ta-badge-amber, .ta-badge-red {
  cursor: default; user-select: none;
}
.ta-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ta-badge-role { background: var(--ta-accent); color: var(--ta-primary); }
.ta-badge-type { background: #EDEFF2; color: #5A6573; border: 1px solid #D2D6DC; padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
/* 상품 유형 4종 색 구분 — 단품(기본 회색) / 묶음 파랑 / 세트 초록 / 결합 보라 */
.ta-badge-type.t-solo    { background: #E3EDFC; color: #175CD3; border-color: #B2CCF5; }   /* 단품 파랑(2026-11-04 기능테스트 #19 - 청록이 세트 초록과 비슷했다) */
.ta-badge-type.t-bundle  { background: #DDE8F6; color: #154FB5; border-color: #A8C0E8; }
.ta-badge-type.t-set     { background: #DCEEE2; color: #1A7340; border-color: #A9D4BC; }
.ta-badge-type.t-combine { background: #EFE6F8; color: #6D28A9; border-color: #D5BFEA; }
.ta-badge-view { background: #DCEFEF; color: var(--ta-teal); border: 1px solid #B7DEDD; padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
/* 톤 배지 — 상태 칩과 같은 팔레트를 쓰되 점 없이 라벨만 노출 */
.ta-badge-gray,
.ta-badge-blue,
.ta-badge-green,
.ta-badge-amber,
.ta-badge-red {
  display: inline-block; padding: 1px 9px; border: 1px solid transparent;
  border-radius: 999px; font-size: 11px; font-weight: 600;
}
.ta-badge-gray  { background: #EDEFF2; color: #5A6573; border-color: #D2D6DC; }
.ta-badge-blue  { background: #DDE8F6; color: #154FB5; border-color: #A8C0E8; }
.ta-badge-green { background: #DCEEE2; color: #1A7340; border-color: #A9D4BC; }
.ta-badge-amber { background: #FAF0DC; color: #8A5A00; border-color: #E7D1A2; }
.ta-badge-red   { background: #FBE6E9; color: #A8102A; border-color: #EFC2CB; }

/* ===== 상태 칩 (statusFlow.ts TONE 이관) =====
   기본 지침: 상태는 "정보 표시"일 뿐 누르는 게 아니다 - 앞에 점(dot)을 달고 완전한 알약 모양으로
   버튼(둥근 사각형)과 형태부터 구분한다. 커서는 기본, hover 변화·그림자 없음(클릭 유혹 금지). */
.ta-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px 2px 7px; border-radius: 999px;
  font-size: 11px; font-weight: 600; border: 1px solid transparent;
  cursor: default; user-select: none;
}
.ta-status-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.ta-status-gray  { background: #EDEFF2; color: #5A6573; border-color: #D2D6DC; }
.ta-status-gray  .ta-status-dot { background: #8A93A0; }
.ta-status-blue  { background: #DDE8F6; color: #154FB5; border-color: #A8C0E8; }
.ta-status-blue  .ta-status-dot { background: #154FB5; }
.ta-status-green { background: #E5EFE8; color: #1A7340; border-color: #BDD7C6; }
.ta-status-green .ta-status-dot { background: #1A7340; }
.ta-status-red   { background: #FBE6E9; color: #A8102A; border-color: #EDC3CB; }
.ta-status-red   .ta-status-dot { background: #C8102E; }
.ta-status-amber { background: #FAF0DC; color: #8A5A00; border-color: #EAD8AC; }
.ta-status-amber .ta-status-dot { background: #B07A00; }

/* 상태 안내 "?" 버튼 - 누르는 것(둥근 사각형·입체감·hover) → 상태 칩과 모양부터 다르게 */
.ta-help-btn {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 18px; height: 18px; margin-left: 4px; padding: 0; border-radius: 5px;
  border: 1px solid var(--ta-border); background: var(--ta-surface); color: var(--ta-primary);
  font-size: 11px; font-weight: 800; line-height: 1; cursor: pointer;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .08);
}
.ta-help-btn:hover { background: var(--ta-accent); border-color: var(--ta-primary); }
.ta-help-btn:active { transform: translateY(1px); box-shadow: none; }
.ta-help-btn:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 1px; }

/* 목록 헤더 고정 - 표를 이 틀로 감싸면 세로 스크롤 중에도 머리글이 붙어 있다 */
.ta-table-scroll { max-height: calc(100vh - 230px); min-height: 240px; overflow: auto; }
.ta-table-scroll > .ta-table { border-collapse: separate; border-spacing: 0; }
.ta-table-scroll > .ta-table > thead th { position: sticky; top: 0; z-index: 3; }
@media (max-width: 760px) { .ta-table-scroll { max-height: none; min-height: 0; overflow: visible; } }

/* 날짜별 건수 칩(TA.dateChips) - 눌러서 그 날짜만 보는 필터 버튼(둥근 사각형·눌림 표시) */
.ta-datechips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 14px; border-bottom: 1px solid var(--ta-hairline); }
.ta-datechips-lb { font-size: 11px; font-weight: 700; color: var(--ta-text-sub); margin-right: 2px; }
.ta-datechip {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 6px;
  border: 1px solid var(--ta-border); background: var(--ta-surface); color: var(--ta-text);
  font-size: 12px; cursor: pointer; box-shadow: 0 1px 1px rgba(16, 24, 40, .06);
}
.ta-datechip b { font-weight: 800; color: var(--ta-primary); }
.ta-datechip:hover { background: var(--ta-accent); border-color: var(--ta-primary); }
.ta-datechip.on { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.ta-datechip.on b { color: #fff; }
.ta-datechip:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 1px; }

/* 날짜 범위 입력 묶음 (시작 ~ 끝) */
.ta-daterange { display: inline-flex; align-items: center; gap: 6px; }
.ta-daterange .sep { color: var(--ta-text-sub); }

/* ===== 모달 (프로토타입 Dialog) ===== */
.ta-modal-backdrop {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, .45);
}
.ta-modal {
  width: 720px; max-width: 100%; max-height: 90vh; overflow: auto;
  background: var(--ta-surface); border-radius: var(--ta-radius-lg);
  box-shadow: var(--ta-shadow-float);
}
.ta-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 11px;
  padding: 15px 20px 0;
}
.ta-modal-title { font-size: 17px; font-weight: 700; color: var(--ta-text); }
.ta-modal-close {
  border: 0; background: none; cursor: pointer; line-height: 1;
  font-size: 20px; color: var(--ta-text-sub); padding: 0 2px;
}
.ta-modal-close:hover { color: var(--ta-text); }
.ta-modal-body { padding: 15px 20px; }
.ta-modal-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 0 20px 20px;
}
.ta-modal-sub { margin: 2px 0 0; font-size: 12px; color: var(--ta-text-sub); }

/* 파일 드롭존 — 클릭·드래그로 업로드 */
.ta-dropzone {
  border: 1px dashed var(--ta-input); border-radius: var(--ta-radius-lg);
  padding: 44px 20px; text-align: center; cursor: pointer;
  background: var(--ta-surface); transition: background-color .15s, border-color .15s;
}
.ta-dropzone:hover, .ta-dropzone.dragover { border-color: var(--ta-primary); background: var(--ta-accent); }
.ta-dropzone-icon { font-size: 26px; color: var(--ta-primary); line-height: 1; }
.ta-dropzone-title { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ta-text); }
.ta-dropzone-hint { margin-top: 4px; font-size: 11px; color: var(--ta-text-sub); }
.ta-dropzone-file { margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--ta-primary); }

/* 컬럼 칩 목록 — 업체 표준 컬럼 안내 */
.ta-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.ta-chip {
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius);
  padding: 2px 7px; font-size: 11px; color: var(--ta-text-sub); background: var(--ta-surface);
}

/* 모달·폼 3열 그리드 */
.ta-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
@media (max-width: 720px) { .ta-form-grid { grid-template-columns: repeat(2, 1fr); } }
.ta-form-grid .ta-field { margin-bottom: 0; }

/* ===== 알림 ===== */
.ta-alert { padding: 10px 12px; border-radius: var(--ta-radius); font-size: 13px; margin-bottom: 12px; border: 1px solid transparent; }
.ta-alert-error { background: #FBE6E9; color: #A8102A; border-color: #EDC3CB; }
.ta-alert-info  { background: var(--ta-accent); color: var(--ta-accent-fg); border-color: #A8C0E8; }
.ta-alert-warn  { background: #FAF0DC; color: #8A5A00; border-color: #EAD8AC; }

/* ===== 로그인 / 회원가입 ===== */
.ta-login-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: #EEF2F3;
}
.ta-login-card {
  width: 360px; max-width: 92vw; background: var(--ta-surface);
  border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--ta-radius-lg); padding: 32px;
  box-shadow: var(--ta-shadow-float); text-align: center;
}
.ta-login-head { margin-bottom: 24px; }
.ta-login-head .ta-brand-mark { font-size: 24px; color: var(--ta-primary); display: inline-flex; justify-content: center; }
.ta-login-head .ta-brand-sub { display: block; margin-top: 6px; color: var(--ta-text-sub); }
.ta-login-form { text-align: left; margin-top: 8px; }
.ta-login-account-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ta-login-account-type {
  display: flex; align-items: center; justify-content: flex-start; gap: 8px;
  min-height: 40px; padding: 0 12px; border: 1px solid var(--ta-border); border-radius: 5px;
  background: #fff; color: var(--ta-text); font-weight: 750; cursor: pointer;
}
.ta-login-account-type input { width: 16px; height: 16px; margin: 0; accent-color: #246342; }
.ta-login-account-type.on { border-color: #246342; background: #EEF7F1; color: #174E31; }
.ta-login-account-status {
  display: block; min-height: 16px; margin-top: 5px; color: var(--ta-text-sub); font-size: 10px;
}
.ta-login-account-status.error { color: #A8102A; font-weight: 700; }
.ta-login-hint { margin-top: 18px; font-size: 12px; color: var(--ta-text-sub); }

/* 로그인 대문 */
.ta-login-portal { display: block; padding: 0; background: #F4F6F5; }
.ta-login-shell {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(390px, .75fr);
  width: 100%; min-height: 100vh;
}
.ta-login-story {
  position: relative; isolation: isolate; min-height: 100vh; padding: 44px 52px 42px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  background: #1A2B2A url("../img/login-auction-hero.png") center / cover no-repeat;
  color: #fff;
}
.ta-login-story-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 24, 23, .89) 0%, rgba(7, 24, 23, .64) 46%, rgba(7, 24, 23, .18) 100%);
}
.ta-login-story-top { display: flex; align-items: center; gap: 13px; }
.ta-login-service-mark {
  font-size: 18px; line-height: 1; font-weight: 800; letter-spacing: 0;
}
.ta-login-service-type {
  padding-left: 13px; border-left: 1px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.78); font-size: 12px; font-weight: 600;
}
.ta-login-story-copy { max-width: 660px; margin: auto 0; padding: 50px 0; }
.ta-login-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  font-size: 13px; font-weight: 700; color: #DCE9DE;
}
.ta-login-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: #7FB48B;
}
.ta-login-story h1 {
  margin: 0; font-size: 64px; line-height: 1.08; font-weight: 700; letter-spacing: 0;
}
.ta-login-lead {
  margin: 24px 0 0; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.84);
}
.ta-login-trust-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.28);
}
.ta-login-trust-item { min-width: 0; padding: 18px 20px 0 0; }
.ta-login-trust-item + .ta-login-trust-item {
  padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22);
}
.ta-login-trust-item strong { display: block; font-size: 13px; margin-bottom: 5px; }
.ta-login-trust-item span {
  display: block; font-size: 11px; line-height: 1.55; color: rgba(255,255,255,.68);
}
.ta-login-access {
  min-height: 100vh; padding: 42px 48px 24px; display: flex; flex-direction: column;
  justify-content: center; background: #fff;
}
.ta-login-access-inner { width: 100%; max-width: 410px; margin: auto; }
.ta-login-access .ta-login-head { margin-bottom: 30px; text-align: left; }
.ta-login-kicker {
  margin-bottom: 8px; color: #2E7150; font-size: 12px; font-weight: 700;
}
.ta-login-access .ta-login-head h2 {
  margin: 0; color: #142521; font-size: 29px; line-height: 1.2; font-weight: 700;
}
.ta-login-access .ta-login-head p { margin: 9px 0 0; color: #68756F; font-size: 13px; }
.ta-login-access .ta-field-label { color: #3F4C47; font-size: 12px; font-weight: 600; }
.ta-login-access .ta-input { height: 44px; border-color: #C8D0CC; background: #fff; }
.ta-login-access .ta-login-form .ta-btn-primary { height: 44px; margin-top: 8px; background: #246342; border-color: #246342; }
.ta-login-access .ta-login-form .ta-btn-primary:hover { background: #174E31; }
.ta-login-signup {
  margin-top: 24px; padding-top: 22px; border-top: 1px solid #E2E7E4;
}
.ta-login-signup > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px;
}
.ta-login-signup strong { color: #28342F; font-size: 12px; }
.ta-login-signup span { color: #7B8781; font-size: 11px; }
.ta-login-signup .ta-btn { height: 42px; border-color: #89A596; color: #245D40; font-weight: 700; }
.ta-login-support {
  display: flex; justify-content: center; gap: 10px; margin-top: 15px;
  color: #7A8580; font-size: 11px;
}
.ta-login-support a { color: #285F43; font-weight: 700; }
.ta-login-access-foot { margin-top: auto; padding-top: 24px; text-align: center; color: #8A948F; font-size: 10px; }
/* 온라인경매(OAPS 본 시스템)로 돌아가기 링크 */
.ta-login-back { align-self: flex-end; margin-bottom: 8px; }
.ta-login-back a {
  display: inline-block; padding: 5px 12px; border: 1px solid #D3DBD7; border-radius: 999px;
  background: #fff; color: #4A5852; font-size: 11px; line-height: 1.4; text-decoration: none;
}
.ta-login-back a:hover { border-color: #89A596; color: #245D40; }

/* ===== 개발용 빠른 로그인 ===== */
.ta-dev-quicklogin { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--ta-border); }
.ta-dev-quicklogin summary { cursor: pointer; color: var(--ta-text-sub); font-size: 11px; text-align: center; }
.ta-dev-quicklogin-title { font-size: 12px; font-weight: 700; color: var(--ta-text-sub); text-align: left; margin-bottom: 10px; }
.ta-dev-quicklogin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ta-dev-quicklogin-grid form { margin: 0; }
.ta-dev-quicklogin-note { margin-top: 10px; font-size: 11px; color: var(--ta-text-sub); text-align: center; }

/* 가입 진입 동의·절차 모달 */
.ta-modal-open { overflow: hidden; }
.ta-entry-modal[hidden] { display: none; }
.ta-entry-modal { z-index: 100; }
.ta-entry-modal .ta-modal { width: 680px; border-radius: 6px; }
.ta-entry-modal .ta-modal-title { margin: 0; }
.ta-consent-summary { border: 1px solid #D8DEDB; border-radius: 6px; overflow: hidden; }
.ta-consent-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 150px; gap: 12px;
  align-items: center; padding: 11px 13px; border-top: 1px solid #E5E9E7; font-size: 12px;
}
.ta-consent-row:first-child { border-top: 0; }
.ta-consent-row strong { color: #285F43; }
.ta-consent-row span { color: #26332D; font-weight: 600; }
.ta-consent-row small { color: #75817B; text-align: right; }
.ta-consent-policy { margin-top: 15px; padding: 12px 14px; background: #F5F7F6; border-radius: 4px; }
.ta-consent-policy h3 { margin: 0 0 8px; font-size: 13px; color: #26332D; }
.ta-consent-policy dl { margin: 0; }
.ta-consent-policy dl > div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 11px; line-height: 1.55; }
.ta-consent-policy dt { color: #66736D; font-weight: 700; }
.ta-consent-policy dd { margin: 0; color: #3B4842; }
.ta-consent-check {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 11px 13px;
  border: 1px solid #CBD5D0; border-radius: 4px; cursor: pointer; font-size: 12px;
}
.ta-consent-check input { width: 17px; height: 17px; margin: 0; accent-color: #246342; flex-shrink: 0; }
.ta-consent-check b { color: #A82A34; }
.ta-consent-caution { margin: 12px 0 0; color: #707C76; font-size: 10px; line-height: 1.55; }
.ta-guide-status {
  display: inline-block; margin-bottom: 6px; color: #2B6B49; font-size: 10px; font-weight: 700;
}
.ta-guide-steps { margin: 0; padding: 0; list-style: none; }
.ta-guide-steps li { display: flex; gap: 14px; position: relative; padding: 0 0 20px; }
.ta-guide-steps li:last-child { padding-bottom: 0; }
.ta-guide-steps li::after {
  content: ""; position: absolute; left: 15px; top: 31px; bottom: 0; width: 1px; background: #C8D8CF;
}
.ta-guide-steps li:last-child::after { display: none; }
.ta-guide-steps li > span {
  width: 31px; height: 31px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: #E2EFE7; color: #246342; font-size: 12px; font-weight: 700;
}
.ta-guide-steps strong { display: block; color: #23312A; font-size: 13px; }
.ta-guide-steps p { margin: 3px 0 0; color: #6B7771; font-size: 11px; line-height: 1.5; }
.ta-guide-required { margin-bottom: 16px; padding: 12px 14px; border-left: 4px solid #B8242F;
                     background: #FFF1F2; color: #741720; }
.ta-guide-required strong { display: block; font-size: 13px; }
.ta-guide-required p { margin: 4px 0 0; font-size: 11px; line-height: 1.55; }
.ta-guide-submit { margin-top: 18px; padding: 16px; border: 2px solid #B8242F;
                   background: #FFF7F7; border-radius: 5px; }
.ta-guide-submit-label { display: inline-block; margin-bottom: 7px; padding: 3px 6px;
                         background: #B8242F; color: #fff; border-radius: 3px;
                         font-size: 9px; font-weight: 800; }
.ta-guide-submit > strong { display: block; color: #741720; font-size: 14px; }
.ta-guide-submit > p { margin: 4px 0 12px; color: #4F3739; font-size: 11px; line-height: 1.55; }
.ta-guide-submit-button { min-height: 44px; }
.ta-guide-submit-url { display: block; margin-top: 6px; overflow-wrap: anywhere;
                       color: #6B7771; font-size: 9px; }
.ta-guide-link-missing { padding: 10px; border: 1px solid #E4B8BC; background: #fff; border-radius: 4px; }
.ta-guide-link-missing strong { color: #741720; font-size: 11px; }
.ta-guide-link-missing p { margin: 3px 0 9px; color: #6B5557; font-size: 10px; }
.ta-guide-contact { margin-top: 18px; padding: 14px; border: 1px solid #D8E1DC; background: #F7FAF8; border-radius: 5px; }
.ta-guide-contact strong { font-size: 12px; color: #2E3B35; }
.ta-guide-contact p { margin: 4px 0 10px; font-size: 11px; color: #707C76; }
.ta-guide-links { display: flex; flex-wrap: wrap; gap: 7px; }

@media (max-width: 980px) {
  .ta-login-shell { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); }
  .ta-login-story { padding: 36px 34px; }
  .ta-login-story h1 { font-size: 52px; }
  .ta-login-trust-list { grid-template-columns: 1fr; }
  .ta-login-trust-item { padding: 11px 0 0; }
  .ta-login-trust-item + .ta-login-trust-item { padding-left: 0; border-left: 0; }
  .ta-login-trust-item span { display: none; }
  .ta-login-access { padding-left: 34px; padding-right: 34px; }
}

@media (max-width: 720px) {
  .ta-login-shell { display: block; }
  .ta-login-story { min-height: 330px; padding: 24px 20px; }
  .ta-login-story-shade { background: linear-gradient(90deg, rgba(7,24,23,.88), rgba(7,24,23,.38)); }
  .ta-login-story-copy { margin: 34px 0 24px; padding: 0; }
  .ta-login-story h1 { font-size: 40px; }
  .ta-login-lead { margin-top: 14px; font-size: 14px; }
  .ta-login-lead br { display: none; }
  .ta-login-trust-list { display: none; }
  .ta-login-access { min-height: auto; padding: 32px 20px 20px; }
  .ta-login-access-inner { max-width: 480px; }
  .ta-login-back { margin-bottom: 14px; }
  .ta-login-access-foot { margin-top: 28px; }
  .ta-consent-row { grid-template-columns: 76px 1fr; gap: 5px 9px; }
  .ta-consent-row small { grid-column: 2; text-align: left; }
  .ta-entry-modal .ta-modal-foot { flex-wrap: wrap; }
  .ta-entry-modal .ta-modal-foot .ta-btn { flex: 1; }
}

@media (max-width: 420px) {
  .ta-login-story { min-height: 300px; }
  .ta-login-story h1 { font-size: 36px; }
  .ta-login-service-type { font-size: 10px; }
  .ta-login-signup > div { display: block; }
  .ta-login-signup span { display: block; margin-top: 4px; }
  .ta-entry-modal { padding: 8px; align-items: flex-end; }
  .ta-entry-modal .ta-modal { max-height: 92vh; border-radius: 6px 6px 0 0; }
  .ta-consent-policy dl > div { grid-template-columns: 1fr; gap: 1px; margin-top: 6px; }
}

/* ===== 버튼 — 위험/고스트 (초기화 등 파괴적 개발용 액션) ===== */
.ta-btn-danger-ghost { background: transparent; border-color: rgba(192, 20, 44, .35); color: var(--ta-live); }
.ta-btn-danger-ghost:hover { background: #FBE6E9; border-color: var(--ta-live); }
/* 톱바(어두운 크롬) 위에서는 반전 톤 사용 */
.ta-topbar .ta-btn-danger-ghost { color: #FF97A8; border-color: rgba(192, 20, 44, .45); }
.ta-topbar .ta-btn-danger-ghost:hover { background: rgba(192, 20, 44, .20); color: #fff; }

/* ===== 톱바 — 개발용 초기화 폼 ===== */
.ta-dev-reset-form { margin: 0; }

/* ================================================================
 * 역할 허브 (hub.jsp) — 개발용 데모 허브
 *  RoleSelect.tsx(프로토타입)를 .ta-* 디자인 시스템으로 이관.
 *  system band(--ta-chrome) + 흰 카드 랜딩 + 역할 행 리스트.
 * ================================================================ */
.ta-hub-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--ta-bg); }

/* 상단 시스템 밴드 */
.ta-hub-band {
  background: var(--ta-chrome); color: var(--ta-chrome-fg);
  border-bottom: 2px solid var(--ta-primary);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 14px 24px;
}
.ta-hub-band-brand { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ta-hub-band-brand .ta-brand-mark { font-size: 18px; }
.ta-hub-band-sub { font-size: 12px; color: rgba(226, 232, 242, .62); }
.ta-hub-band-dev {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--ta-radius);
  border: 1px solid rgba(224, 232, 248, .25);
  color: rgba(224, 232, 248, .50);
  font-family: var(--ta-font-mono); font-size: 9px; letter-spacing: .1em; vertical-align: 1px;
}
.ta-hub-band-user { flex: none; }

/* 본문 컨테이너 */
.ta-hub-main { flex: 1; display: flex; justify-content: center; padding: 28px 20px 40px; }
.ta-hub-container { width: 100%; max-width: 760px; }

/* 업무 흐름 스텝 — 줄바꿈 가능한 넘버 스트립 */
.ta-hub-flow { margin-bottom: 18px; }
.ta-hub-flow-title { font-size: 11px; font-weight: 700; color: var(--ta-text-sub); letter-spacing: .3px; margin-bottom: 8px; }
.ta-hub-flow-list {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--ta-border); border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg); overflow: hidden;
}
.ta-hub-flow-step {
  flex: 1 1 auto; min-width: 108px; display: flex; align-items: center; gap: 8px;
  background: var(--ta-surface); padding: 9px 12px; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.ta-hub-flow-num { font-family: var(--ta-font-mono); font-weight: 800; font-size: 11px; color: var(--ta-primary); }

/* 안내 문구 */
.ta-hub-notice {
  background: var(--ta-accent); color: var(--ta-accent-fg);
  border: 1px solid #A8C0E8; border-radius: var(--ta-radius-lg);
  padding: 10px 14px; font-size: 12.5px; margin-bottom: 22px;
}

/* 역할 선택 — 테두리 리스트 + 호버 */
.ta-hub-roles-title { font-size: 18px; font-weight: 800; margin: 0 0 12px; color: var(--ta-text); }
.ta-hub-role-list { border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg); overflow: hidden; background: var(--ta-surface); }
.ta-hub-role-card { margin: 0; }
.ta-hub-role-card + .ta-hub-role-card .ta-hub-role-btn { border-top: 1px solid var(--ta-hairline); }
.ta-hub-role-btn {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 0; border-left: 3px solid transparent;
  background: var(--ta-surface); cursor: pointer; text-align: left; font-family: inherit; color: var(--ta-text);
  transition: background-color .15s, border-color .15s;
}
.ta-hub-role-btn:hover { background: var(--ta-panel); border-left-color: var(--ta-primary); }
.ta-hub-role-btn:disabled { opacity: .45; cursor: not-allowed; }
.ta-hub-role-btn:disabled:hover { background: var(--ta-surface); border-left-color: transparent; }
.ta-hub-role-icon {
  flex: none; width: 34px; height: 34px; border-radius: var(--ta-radius-lg);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ta-accent); color: var(--ta-primary); font-weight: 800; font-size: 14px;
}
.ta-hub-role-body { flex: 1; min-width: 0; }
.ta-hub-role-name { display: block; font-size: 15px; font-weight: 800; }
.ta-hub-role-scope { display: block; margin-top: 2px; font-size: 12px; color: var(--ta-text-sub); }
.ta-hub-role-enter { flex: none; display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ta-text-sub); }
.ta-hub-role-btn:hover .ta-hub-role-enter { color: var(--ta-primary); }
.ta-hub-role-arrow { font-size: 15px; line-height: 1; }

/* 구매인 계정 목록(전환) — 온보딩 상태별 진입 */
.ta-hub-buyers { margin-top: 26px; }
.ta-hub-buyers-title { font-size: 13px; font-weight: 700; color: var(--ta-text); margin-bottom: 10px; }
.ta-hub-buyers-hint { font-weight: 500; color: var(--ta-text-sub); }
.ta-hub-buyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ta-hub-buyer-item { margin: 0; }
.ta-hub-buyer-btn {
  width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px;
  border: 1px solid var(--ta-border); border-radius: var(--ta-radius-lg); padding: 9px 11px;
  background: var(--ta-surface); cursor: pointer; text-align: left; font-family: inherit; color: var(--ta-text);
  transition: background-color .15s, border-color .15s;
}
.ta-hub-buyer-btn:hover { background: var(--ta-panel); border-color: var(--ta-primary); }
.ta-hub-buyer-name { font-size: 13px; font-weight: 700; flex: 1 1 auto; min-width: 0; }
.ta-hub-buyer-status { font-size: 10.5px; padding: 1px 7px; }
.ta-hub-buyer-id { flex: none; width: 100%; font-family: var(--ta-font-mono); font-size: 11px; color: var(--ta-text-sub); }
.ta-hub-buyer-empty {
  font-size: 12.5px; color: var(--ta-text-sub); padding: 14px; text-align: center;
  border: 1px dashed var(--ta-border); border-radius: var(--ta-radius-lg);
}

/* 하단 액션 — 회원가입 / 로그인 / 초기화 */
.ta-hub-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ta-hairline);
}
.ta-hub-actions .ta-btn { text-decoration: none; }
.ta-hub-reset-form { margin: 0 0 0 auto; }

/* devQuickLogin=false 가드 상태 */
.ta-hub-guard { text-align: center; padding: 60px 20px; color: var(--ta-text-sub); }
.ta-hub-guard p { margin: 0 0 14px; font-size: 14px; }

/* 하단 시스템 정보 */
.ta-hub-footer {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--ta-hairline);
  font-size: 11px; color: var(--ta-text-sub);
}

@media (max-width: 560px) {
  .ta-hub-band { padding: 12px 16px; }
  .ta-hub-main { padding: 20px 14px 32px; }
  .ta-hub-reset-form { margin-left: 0; }
}

/* ================================================================
 * ===== 반응형 — 모바일 셸 =====
 *  ≤900px: 사이드바를 오프캔버스 드로어로 전환(햄버거 #taNavToggle ·
 *  배경막 #taNavBack · 열림 상태 body.ta-nav-open)하고 터치 타깃을 키운다.
 *  ≤640px: 좁은 폰 — 톱바 보조 요소·개발용 컨트롤을 접는다.
 *  데스크톱(≥901px)이 바뀌지 않도록 새 규칙은 모두 미디어쿼리 안에 둔다.
 * ================================================================ */

/* 햄버거·배경막은 모바일 폭에서만 나타난다 */
.ta-navtoggle { display: none; }
.ta-nav-backdrop { display: none; }

@media (max-width: 900px) {
  /* --- 톱바 --- */
  /* 햄버거가 세 번째 flex 자식으로 들어오므로 space-between 대신 좌측 정렬 + 우측 밀기 */
  .ta-topbar { padding: 0 12px; gap: 6px; justify-content: flex-start; }
  .ta-topbar-right { gap: 6px; margin-left: auto; }
  .ta-navtoggle {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; padding: 0; cursor: pointer;
    border: 1px solid rgba(224, 232, 248, .25); border-radius: var(--ta-radius);
    background: rgba(255, 255, 255, .08);
  }
  .ta-navtoggle:hover { background: rgba(255, 255, 255, .16); }
  .ta-navtoggle span { position: relative; }
  .ta-navtoggle span,
  .ta-navtoggle span::before,
  .ta-navtoggle span::after {
    display: block; width: 16px; height: 2px; border-radius: 1px;
    background: var(--ta-chrome-fg);
  }
  .ta-navtoggle span::before { content: ""; position: absolute; left: 0; top: -5px; }
  .ta-navtoggle span::after  { content: ""; position: absolute; left: 0; top: 5px; }
  /* 브랜드는 좁은 폭에서 줄바꿈 없이 잘린다(56px 톱바에서 2줄이 되면 높이가 넘친다) */
  .ta-brand { min-width: 0; overflow: hidden; }
  .ta-brand-mark { white-space: nowrap; }
  .ta-dev-switch-label { display: none; }
  .ta-dev-switch { max-width: 150px; }
  .ta-dev-switch select { max-width: 150px; min-width: 0; }

  /* --- 사이드바 드로어 --- */
  /* z-index 는 페이지 고정 요소(구매인 응찰바 30 · 상세 시트 31)보다 위, 모달(50)보다 아래 */
  .ta-sidebar {
    position: fixed; top: var(--ta-topbar-h); left: 0; bottom: 0;
    width: min(260px, 82vw); z-index: 40; overflow-y: auto;
    transform: translateX(-100%); transition: transform .18s ease;
    box-shadow: var(--ta-shadow-float);
  }
  body.ta-nav-open .ta-sidebar { transform: none; }
  body.ta-nav-open .ta-nav-backdrop {
    display: block; position: fixed; inset: var(--ta-topbar-h) 0 0 0;
    z-index: 39; background: rgba(15, 23, 42, .42);
  }

  /* --- 터치 타깃 · iOS 입력 자동 확대 방지(16px) --- */
  .ta-input, .ta-select { height: 36px; font-size: 16px; }
  textarea.ta-input { height: auto; font-size: 16px; }
  .ta-input-sm { height: 32px; font-size: 16px; }
  .ta-btn { height: 36px; padding: 0 13px; font-size: 14px; }
  .ta-btn-sm { height: 30px; padding: 0 10px; font-size: 12px; }

  /* --- 밀도 --- */
  .ta-table th, .ta-table td { padding: 6px 9px; }
  .ta-page-title { font-size: 16px; }
  .ta-page-desc { font-size: 12px; }
}

@media (max-width: 640px) {
  .ta-brand-sub { display: none; }
  .ta-user-name { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* 개발용 컨트롤(계정 전환·초기화·허브 링크)은 좁은 폰에서 접는다 */
  .ta-dev-switch, .ta-dev-reset-form { display: none; }
  .ta-topbar a.ta-btn-sm { display: none; }
  .ta-statusband { gap: 8px; padding: 0 10px; font-size: 10px; }
  .ta-statusband-left, .ta-statusband-right { gap: 8px; }
  .ta-statusband-right { padding-left: 8px; }
  .ta-modal-backdrop { padding: 10px; }
  .ta-modal { max-height: 94vh; }
}

/* ============================================================
   품목 검색 타입어헤드 피커 (itemPicker.js) — 재고관리·기본구성 공통
   ============================================================ */
.ta-ip-wrap { position: relative; display: inline-block; }
.ta-ip-wrap > input { padding-right: 26px; }
.ta-ip-wrap > input.ta-ip-picked { font-weight: 600; color: var(--ta-primary, #246342); }
.ta-ip-clear {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 18px; height: 18px; line-height: 16px; text-align: center; padding: 0;
  border: none; border-radius: 50%; background: var(--ta-border, #d7dbe0);
  color: #fff; font-size: 14px; cursor: pointer;
}
.ta-ip-clear:hover { background: var(--ta-danger, #B42318); }
.ta-ip-drop {
  position: absolute; z-index: 1200; top: calc(100% + 3px); left: 0;
  min-width: 100%; max-width: 360px; max-height: 280px; overflow-y: auto; overflow-x: hidden;
  background: var(--ta-surface, #fff); border: 1px solid var(--ta-border, #d7dbe0);
  border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); padding: 4px;
}
.ta-ip-opt {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 6px 9px; border-radius: 6px; cursor: pointer; white-space: nowrap;
}
.ta-ip-opt:hover, .ta-ip-opt.on { background: rgba(36,99,66,.10); }
.ta-ip-nm { font-size: 13px; color: var(--ta-text, #1f2937); }
.ta-ip-meta { font-size: 11px; color: var(--ta-text-sub, #6b7280); flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ta-ip-cnt { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 700; color: #154FB5; font-variant-numeric: tabular-nums; }
.ta-ip-node {
  margin-left: 6px; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 700;
  background: #EEF0F3; color: #6B7280;
}
.ta-ip-empty { padding: 12px; text-align: center; font-size: 12px; color: var(--ta-text-sub, #6b7280); }
/* 이력번호 검색 셀렉트(tracePicker.js) - 같은 피커 모양. 고를 수 없는 항목은 흐리게, '전체' 항목은 굵게 */
.ta-ip-opt.off { opacity: .45; cursor: not-allowed; }
.ta-ip-opt.off:hover { background: transparent; }
.ta-ip-opt.all .ta-ip-nm { font-weight: 700; }
.ta-ip-wrap.ta-tp > input { font-variant-numeric: tabular-nums; }
/* 이력번호 선택지 - 회색 칸을 항목별 칸(cols)으로 나눠 표처럼 정렬.
   행이 table-row 라 글 길이가 행마다 달라도 칸 시작 위치가 세로로 맞고, 폭은 내용에 맞추되 화면을 넘지 않는다(가로 스크롤 없음). */
.ta-ip-drop.has-cols { width: max-content; max-width: min(760px, calc(100vw - 24px)); overflow-x: hidden; }
.ta-ip-tbl { display: table; width: 100%; border-collapse: separate; border-spacing: 0; }
.ta-ip-tbl > .ta-ip-opt.has-cols { display: table-row; }
.ta-ip-tbl > .ta-ip-opt.has-cols > span { display: table-cell; vertical-align: middle; padding: 6px 8px; white-space: nowrap; }
.ta-ip-tbl > .ta-ip-opt.has-cols > span:first-child { border-radius: 6px 0 0 6px; }
.ta-ip-tbl > .ta-ip-opt.has-cols > span:last-child { border-radius: 0 6px 6px 0; }
.ta-ip-col { font-size: 11px; color: var(--ta-text-sub, #6b7280); font-variant-numeric: tabular-nums; }
.ta-ip-col:nth-child(2) { text-align: right; }   /* 첫 보조칸(건수 등)은 숫자라 오른쪽 정렬 */
.ta-ip-tbl > .ta-ip-opt.has-cols:hover > span, .ta-ip-tbl > .ta-ip-opt.has-cols.on > span { background: rgba(36,99,66,.10); }
.ta-ip-w { white-space: nowrap; }   /* 낱말 단위 - 하이픈 들어간 날짜가 중간에서 끊기지 않게 */
@media (max-width: 760px) {
  /* 좁은 화면: 이력번호·건수는 한 줄 고정, 날짜 칸만 라벨/날짜 사이에서 줄바꿈 */
  .ta-ip-tbl > .ta-ip-opt.has-cols > span { padding: 5px 4px; }
  .ta-ip-tbl > .ta-ip-opt.has-cols > .ta-ip-col { white-space: normal; }
  .ta-ip-tbl > .ta-ip-opt.has-cols > .ta-ip-col:nth-child(2) { white-space: nowrap; }
  .ta-ip-wrap.ta-tp .ta-ip-tbl .ta-ip-nm { font-size: 12px; letter-spacing: 0; }
}
.ta-ip-wrap.ta-tp .ta-ip-nm { font-family: Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .02em; }
/* 필터 줄이 모바일에서 한 줄씩 쌓일 때 피커도 같이 늘어난다 */
.ta-card-filters > .ta-ip-wrap { display: inline-flex; }
/* 라벨(.ta-field) 안에 놓인 피커는 라벨 너비를 다 쓴다(상품구성 1단계 이력번호) */
.ta-field > .ta-ip-wrap { display: block; width: 100%; }
.ta-field > .ta-ip-wrap > input { width: 100%; }
@media (max-width: 760px) { .ta-card-filters > .ta-ip-wrap, .ta-card-filters > .ta-ip-wrap > input { width: 100% !important; } }

/* 잠김 표시 — 관리열에서 "액션 불가"를 알리는 정보 칩(버튼 아님). 재고관리·기본구성 공통 */
.ta-locked {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  background: #EDEFF2; color: #8A93A0;
  font-size: 11px; font-weight: 600; cursor: default; user-select: none;
}
.ta-locked::before { content: "\1F512"; font-size: 11px; line-height: 1; }

/* 소비기한 앞 냉장/냉동 표기 — 정보 표시(알약). 기본구성·상품구성 공통 */
.ta-kpng { display:inline-block; padding:0 7px; border-radius:999px; font-size:11px; font-weight:700; cursor:default; }
.ta-kpng-rf { background:#E7F0FF; color:#1B5FB0; }   /* 냉장 */
.ta-kpng-fz { background:#E4F3F4; color:#0E7C86; }   /* 냉동 */

/* ===== 기본구성 장바구니(바·팝업)·최저입찰가 입력 - (상장2단계) 기본구성·(상장1단계) 재고관리 공용 ===== */
.cf-tag { display:inline-block; padding:1px 8px; border-radius:10px; font-size:11px; font-weight:600; }
.cf-tag-ok  { background:#E6F4EA; color:#1E7E34; }
.cf-tag-sel { background:#246342; color:#fff; }
.cf-tag-off { background:#EDEDED; color:#9AA0A6; }
.cf-sng { display:inline-block; padding:2px 9px; border-radius:11px; font-size:12px; font-weight:600; }
.cf-sng-ok { background:#E7F0FF; color:#1B5FB0; }
.cf-sng-no { background:#FFF3E0; color:#B26A00; }
/* 소비기한 앞 냉장/냉동 표기 - 정보 표시(알약, 클릭 대상 아님) */
.ta-kpng { display:inline-block; padding:0 7px; border-radius:999px; font-size:11px; font-weight:700; cursor:default; }
.ta-kpng-rf { background:#E7F0FF; color:#1B5FB0; }   /* 냉장 */
.ta-kpng-fz { background:#E4F3F4; color:#0E7C86; }   /* 냉동 */
/* 1·2·3차 예정가 입력 */
.cf-price-row { display:flex; align-items:center; gap:7px; margin-top:5px; }
.cf-price-lb { flex:0 0 26px; font-size:12px; font-weight:700; color:var(--ta-text-sub); }
.cf-price-row .ta-input { flex:0 0 150px; }
.cf-price-kor { font-size:11px; color:var(--ta-primary,#246342); font-weight:600; min-height:14px; }
/* 필수/선택 배지 - 정보 표시(알약, 클릭 대상 아님) */
.cf-req, .cf-opt { flex:0 0 auto; font-size:10.5px; font-weight:800; border-radius:999px; padding:2px 9px; cursor:default; letter-spacing:.02em; }
.cf-req { color:#B42318; background:#FDECEA; }
.cf-opt { color:#6B7280; background:#EEF0F3; font-weight:700; }
/* 필수 입력칸 강조 - 왼쪽 빨간 띠로 "꼭 채워야 함"을 즉시 인지 */
.ta-input.is-req { box-shadow:inset 3px 0 0 #E5484D; }
.ta-input.is-req:focus { box-shadow:inset 3px 0 0 #E5484D, 0 0 0 3px rgba(229,72,77,.15); }
/* 필수 미입력 오류 강조 */
.ta-input.is-invalid { border-color:#E5484D !important; box-shadow:inset 3px 0 0 #E5484D, 0 0 0 3px rgba(229,72,77,.18); }
/* ===== 장바구니 바 - 재고를 담으면 화면 아래 오른쪽에 떠오른다(고정) ===== */
.cf-cart { position:fixed; right:24px; bottom:18px; z-index:40; display:flex; align-items:center; gap:12px;
           min-width:380px; max-width:calc(100vw - 48px); padding:10px 12px 10px 14px;
           background:var(--ta-surface,#fff); border:1px solid var(--ta-border,#d7dbe0); border-radius:14px;
           box-shadow:0 12px 32px rgba(0,0,0,.18); animation:cfCartIn .18s ease-out; }
@keyframes cfCartIn { from { transform:translateY(12px); opacity:0; } to { transform:none; opacity:1; } }
.cf-cart-ico { width:38px; height:38px; border-radius:50%; background:#E5EFE8; display:flex; align-items:center; justify-content:center; font-size:20px; flex:0 0 auto; }
.cf-cart-body { flex:1 1 auto; min-width:0; }
.cf-cart-line1 { font-size:13px; color:var(--ta-text); }
.cf-cart-line1 strong { font-size:16px; color:var(--ta-primary,#246342); }
.cf-cart-line2 { font-size:12px; color:var(--ta-text-sub); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cf-cart-line2 b { color:var(--ta-text); }
.cf-cart-items { color:var(--ta-text-sub); }
.cf-cart-badge { display:inline-flex; align-items:center; justify-content:center; min-width:20px; height:20px; padding:0 6px; margin-left:4px;
                 border-radius:999px; background:rgba(255,255,255,.28); font-size:11px; font-weight:800; }
/* 바가 목록 마지막 줄을 가리지 않도록 본문 아래 여백 */
body.cf-cart-on { padding-bottom:84px; }
/* ===== 장바구니 팝업 ===== */
/* 개체 정보 띠 - 이력번호 · 상장사/도축장 · 성별 · 등급 */
.cf-cart-trace { display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; margin:0 0 12px; padding:9px 12px;
                 background:#F5F7F9; border:1px solid var(--ta-border); border-radius:8px; font-size:12px; }
.cf-cart-trace .k { color:var(--ta-text-sub); margin-right:5px; }
.cf-cart-trace .v { font-weight:700; color:var(--ta-text); }
.cf-cart-trace .v.mono { font-family:Menlo,Consolas,monospace; letter-spacing:.02em; }
.cf-preview { margin:0 0 14px; padding:12px 14px; background:var(--ta-panel); border-radius:8px; border-left:4px solid var(--ta-primary,#246342); }
.cf-pv-head { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.cf-pv-nm { font-size:17px; font-weight:800; }
.cf-pv-grid { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px 14px; margin-top:10px; }
.cf-pv-cell { background:rgba(255,255,255,.7); border-radius:6px; padding:7px 10px; }
.cf-pv-cell .k { display:block; font-size:11px; color:var(--ta-text-sub); }
.cf-pv-cell .v { display:block; font-size:14px; font-weight:700; margin-top:1px; }
.cf-pv-cell .s { display:block; font-size:11px; color:var(--ta-text-sub); margin-top:2px; }
.cf-pv-list { margin-top:10px; font-size:12px; }
.cf-pv-list .k { font-size:11px; color:var(--ta-text-sub); font-weight:600; }
.cf-pv-list ol { margin:3px 0 0; padding-left:18px; }
.cf-pv-list li { line-height:1.55; }
.cf-cart-sec-title { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; margin:0 0 6px; flex-wrap:wrap; }
.cf-cart-sec-hint { font-size:11px; font-weight:400; color:var(--ta-text-sub); }
.cf-cart-table { margin:0 0 14px; }
.cf-cart-table td, .cf-cart-table th { padding:6px 8px; font-size:12px; }
.cf-cart-table tfoot td { background:#F5F7F9; font-weight:700; border-top:2px solid var(--ta-border); }
.cf-cart-table tfoot .sub { font-weight:400; color:var(--ta-text-sub); font-size:11px; }
.cf-price-kor small { display:block; font-weight:600; color:var(--ta-text-sub); }
.cf-cart-rm { width:26px; height:26px; line-height:24px; padding:0; border:1px solid var(--ta-border,#d7dbe0); border-radius:50%;
              background:#fff; color:var(--ta-text-sub); font-size:16px; cursor:pointer; }
.cf-cart-rm:hover { color:#fff; background:var(--ta-danger,#B42318); border-color:var(--ta-danger,#B42318); }
.cf-cart-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; padding-top:12px; border-top:1px solid var(--ta-border); }
.cf-cart-chks { display:flex; flex-wrap:wrap; gap:8px 14px; margin-top:8px; }
.cf-cart-chks .cm-chk { font-size:13px; }
@media (max-width:760px) {
  .cf-cart { left:10px; right:10px; bottom:10px; min-width:0; max-width:none; flex-wrap:wrap; gap:8px 10px; padding:10px; }
  .cf-cart-body { flex:1 1 60%; }
  .cf-cart .ta-btn { flex:1 1 auto; }
  .cf-cart-grid { grid-template-columns:1fr; }
  .cf-pv-grid { grid-template-columns:1fr; }
  .cf-price-row { flex-wrap:wrap; }
  .cf-price-row .ta-input { flex:1 1 0; width:auto; min-width:0; }   /* 1차 · [입력칸] · 필수 는 한 줄 유지 */
  /* 좁으면 한글 금액·kg당 단가는 입력칸 아래 한 줄로 */
  .cf-price-kor { flex:1 1 100%; padding-left:33px; }
  .cf-price-kor small { display:inline; margin-left:8px; }
  .cf-cart-table th:nth-child(2), .cf-cart-table td:nth-child(2),
  .cf-cart-table th:nth-child(7), .cf-cart-table td:nth-child(7) { display:none; }   /* 좁으면 등급·관계 열은 접는다 */
  body.cf-cart-on { padding-bottom:120px; }
}

/* 상장건 구성 내역 한 줄(TA.cpstInvt) - 목록에서 무엇을 묶었는지 바로 보이게. 표 안에 표 대신 한 줄(넘치면 줄바꿈).
   '구성' 표지는 정보 표시라 알약(UiGuideline - 상태), 중량은 굵게. 기본구성이 여럿이면 / 로 나눈다. */
.ta-cpst-invt { margin-top:3px; min-width:150px; font-size:11.5px; line-height:1.55; color:var(--ta-text-sub); font-weight:500;
  white-space:normal; word-break:keep-all; }
.ta-cpst-invt .it { white-space:nowrap; }   /* 좁은 칸에서도 '등심 10kg' 이 글자 단위로 끊기지 않게 - 품목 사이에서만 줄바꿈 */
.ta-cpst-invt .lb { display:inline-block; white-space:nowrap; margin-right:5px; padding:0 6px; border-radius:999px; background:#F1F3F5;
  color:var(--ta-text-sub); font-size:10.5px; font-weight:700; line-height:17px; cursor:default; vertical-align:1px; }
.ta-cpst-invt .w { color:var(--ta-text,#242320); font-weight:700; font-variant-numeric:tabular-nums; }
.ta-cpst-invt .g + .g::before { content:'/'; margin:0 6px; color:#C2C7CE; font-weight:400; }
/* 2026-10-15 - 좁은 칸에서 '+'·'/' 가 줄 끝·머리에 홀로 남아 틀어지던 것 정리: 기본구성(.g)마다 한 줄(블록)로 나누고 점선으로 구분,
 * 품목(.it)은 '+' 를 품은 채 한 덩어리로 줄바꿈. 위의 '/' 구분은 블록 구분으로 대신한다. */
.ta-cpst-invt .lb { margin-bottom:1px; }
.ta-cpst-invt .g { display:block; }
.ta-cpst-invt .g + .g { margin-top:2px; padding-top:2px; border-top:1px dashed #E3E8F0; }
.ta-cpst-invt .g + .g::before { content:none; }
.ta-cpst-invt .it { display:inline-block; margin-right:6px; }
.ta-cpst-invt .pl { margin-right:4px; color:#AEB5BE; font-weight:700; }
/* '부위·중량' 칸에 넣을 때(TA.cpstInvt noLabel) - 칸 제목이 있어 라벨·위 여백 없이, 글자는 칸 본문 크기에 가깝게 */
.ta-cpst-invt.is-col { margin-top:0; font-size:12px; line-height:1.6; }

/* 상단 알림 아이콘(noti-bell.js) - 아이콘은 누르는 버튼, 숫자는 상태 표시(알약) */
.ta-noti { position:relative; display:inline-flex; align-items:center; }
/* 중요 알림 팝업(2026-10-23) - 경매사 메시지·반려·재상장·공지는 창, 낙찰/유찰 결과는 구석 알림 */
.ta-npm { width:520px; max-width:calc(100vw - 32px); }
.ta-npm-list { max-height:60vh; overflow-y:auto; display:flex; flex-direction:column; gap:10px; }
.ta-npm-it { border:1px solid var(--ta-border); border-left:4px solid #1B5FB0; border-radius:10px; padding:10px 12px; background:#fff; }
.ta-npm-it.is-RJCT { border-left-color:#C0142C; background:#FFF6F7; }
.ta-npm-it.is-MSG { border-left-color:#B4690E; background:#FFFBF2; }
.ta-npm-it.is-RLST { border-left-color:#7C3AED; background:#F8F5FF; }
.ta-npm-hd { display:flex; align-items:center; gap:8px; margin-bottom:3px; }
.ta-npm-se { font-size:11px; font-weight:800; border-radius:999px; padding:1px 8px; background:#EEF1F5; color:#344054; cursor:default; }
.ta-npm-it.is-RJCT .ta-npm-se { background:#C0142C; color:#fff; }
.ta-npm-it.is-MSG .ta-npm-se { background:#B4690E; color:#fff; }
.ta-npm-it.is-RLST .ta-npm-se { background:#7C3AED; color:#fff; }
.ta-npm-dt { margin-left:auto; font-size:11px; color:var(--ta-text-sub); }
.ta-npm-t { font-size:14.5px; font-weight:800; color:var(--ta-text); }
.ta-npm-c { margin-top:3px; font-size:13px; line-height:1.55; color:#374151; white-space:pre-wrap; word-break:break-word; }
.ta-npm-go { margin-top:8px; }
.ta-ntt-wrap { position:fixed; right:16px; bottom:16px; z-index:1300; display:flex; flex-direction:column; gap:8px; align-items:flex-end; max-width:calc(100vw - 32px); }
.ta-ntt { display:flex; flex-direction:column; align-items:flex-start; gap:2px; max-width:360px; padding:10px 14px; border:0; border-radius:12px;
  background:#1F2937; color:#fff; font-size:13px; text-align:left; cursor:pointer; box-shadow:0 10px 28px rgba(15,23,42,.28);
  transition:opacity .35s, transform .35s; }
.ta-ntt b { font-weight:800; }
.ta-ntt.is-BSLD b { color:#86EFAC; }
.ta-ntt.is-BFAL b { color:#FCA5A5; }
.ta-ntt .c { font-size:12px; color:#D1D5DB; }
.ta-ntt:hover { background:#111827; }
.ta-ntt.is-out { opacity:0; transform:translateY(8px); }
.ta-noti-btn { position:relative; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px;
  border:1px solid rgba(255,255,255,.22); border-radius:10px; background:rgba(255,255,255,.08); color:#fff; cursor:pointer; }
.ta-noti-btn:hover { background:rgba(255,255,255,.16); }
.ta-noti-btn:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.35); }
.ta-noti-btn.has-new svg { animation:taNotiRing 1.2s ease-in-out 1; }
@keyframes taNotiRing { 0%,100% { transform:rotate(0); } 20% { transform:rotate(14deg); } 40% { transform:rotate(-12deg); } 60% { transform:rotate(8deg); } 80% { transform:rotate(-4deg); } }
.ta-noti-cnt { position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:#E5484D;
  color:#fff; font-size:11px; font-weight:800; line-height:18px; text-align:center; box-shadow:0 0 0 2px #1B2537; cursor:default; }
.ta-noti-pop { position:absolute; top:44px; right:0; z-index:1200; width:340px; max-width:calc(100vw - 24px); background:#fff; color:var(--ta-text,#242320);
  border:1px solid var(--ta-border,#E2E7E4); border-radius:14px; box-shadow:0 12px 32px rgba(16,24,40,.18); overflow:hidden; }
.ta-noti-hd { display:flex; align-items:center; justify-content:space-between; padding:11px 14px; border-bottom:1px solid var(--ta-border,#E2E7E4); }
.ta-noti-list { max-height:360px; overflow-y:auto; }
.ta-noti-item { display:block; width:100%; text-align:left; border:0; border-bottom:1px solid #F1F3F5; background:#fff; padding:10px 14px; cursor:pointer; }
.ta-noti-item:hover { background:#F7F9FC; }
.ta-noti-item.is-new { background:#F5F9FF; }
.ta-noti-item .t { display:block; font-size:13px; font-weight:700; }
.ta-noti-item.is-new .t { font-weight:800; }
.ta-noti-item .dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#E5484D; margin-right:6px; vertical-align:2px; }
.ta-noti-item .c { display:block; margin-top:2px; font-size:12px; color:var(--ta-text-sub); }
.ta-noti-item .d { display:block; margin-top:2px; font-size:11px; color:#98A2B3; }
.ta-noti-empty { padding:22px 14px; text-align:center; font-size:12.5px; color:var(--ta-text-sub); }
.ta-noti-push { display:flex; align-items:center; gap:8px; padding:10px 14px; background:#F8FAFC; border-top:1px solid var(--ta-border,#E2E7E4); }
.ta-noti-push .m { flex:1; font-size:12px; color:var(--ta-text-sub); line-height:1.45; }
.ta-noti-push .m.on { color:#1E7E34; font-weight:700; }
@media (max-width:760px) { .ta-noti-pop { position:fixed; top:56px; right:12px; left:12px; width:auto; } }

/* 로그아웃 아이콘 버튼(상단 우측) - 알림 아이콘과 같은 크기의 누르는 버튼 */
.ta-logout-btn { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; flex:none;
  border:1px solid rgba(255,255,255,.22); border-radius:10px; background:rgba(255,255,255,.08); color:#fff; cursor:pointer; }
.ta-logout-btn:hover { background:rgba(229,72,77,.85); border-color:transparent; color:#fff; }
.ta-logout-btn:focus-visible { outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.35); }
/* 역할 배지 - 넓은 화면은 전체 이름, 좁은 화면(640px 이하)은 첫 글자만 */
.ta-role-short { display:none; }
@media (max-width: 640px) {
  .ta-role-full { display:none; }
  .ta-role-short { display:inline; }
  .ta-badge-role { min-width:22px; text-align:center; padding-left:6px; padding-right:6px; }
}

/* 상세 모달 탭(상품 상세 / 상장사 정보) + 상장사 정보 본문 - 응찰(bidMngt)·낙찰내역(myBidRslt) 상세 공용 */
/* 상세 탭(상품 상세 / 상장사 정보) - 누르는 탭 버튼 */
.bm-tabs { display:flex; gap:4px; margin:14px 0 10px; border-bottom:1px solid var(--ta-border); }
.bm-tab { flex:1; height:38px; border:0; border-bottom:3px solid transparent; background:transparent; font-size:14px; font-weight:700;
          color:var(--ta-text-sub); cursor:pointer; }
.bm-tab:hover { color:var(--ta-text); background:var(--ta-band,#F0F4FA); }
.bm-tab.on { color:var(--ta-primary); border-bottom-color:var(--ta-primary); }
.bm-tab:focus-visible { outline:2px solid var(--ta-primary); outline-offset:-2px; }
/* 상장사 정보 탭 본문 - 업체 대표정보 관리 미리보기와 같은 구성 */
.sl-info-head { display:flex; gap:12px; align-items:center; }
.sl-info-logo { width:52px; height:52px; flex:none; border:1px solid var(--ta-border); border-radius:10px; background:var(--ta-panel);
      display:flex; align-items:center; justify-content:center; overflow:hidden; font-size:22px; color:var(--ta-text-sub); }
.sl-info-logo img { width:100%; height:100%; object-fit:contain; }
.sl-info-nm { font-size:16px; font-weight:800; }
.sl-sndng { display:inline-flex; align-items:center; gap:4px; margin-top:4px; padding:1px 9px; border-radius:999px;
      font-size:11px; font-weight:700; background:#DDE8F6; color:#154FB5; border:1px solid #A8C0E8; cursor:default; }
.sl-sndng.nxdy { background:#FAF0DC; color:#8A5A00; border-color:#EAD8AC; }
.sl-info-img { margin-top:12px; width:100%; display:block; border-radius:8px; border:1px solid var(--ta-hairline,#E3E8F0); }
.sl-info-empty { margin-top:12px; padding:30px 10px; text-align:center; font-size:12px; color:var(--ta-text-sub);
      border:1px dashed var(--ta-border); border-radius:8px; }

/* 개발용 빠른 로그인 - 계정 아래 일반 로그인용 ID(눌러서 로그인 칸 채우기) */
.ta-dev-id { display:block; width:100%; margin-top:3px; padding:3px 6px; border:0; border-radius:6px; background:transparent;
  font-size:11px; color:var(--ta-text-sub); text-align:center; cursor:pointer; }
.ta-dev-id b { color:var(--ta-text); font-variant-numeric:tabular-nums; white-space:nowrap; }
.ta-dev-id:hover { background:var(--ta-band,#F0F4FA); color:var(--ta-primary); }
/* 구성 줄의 재고번호(경매일자별 1001~9999) - 정보 표시 */
.ta-cpst-invt .no { display:inline-block; margin-right:4px; padding:0 5px; border-radius:4px; background:#EEF4FF; color:#1D4ED8;
  font-size:10.5px; font-weight:800; font-variant-numeric:tabular-nums; cursor:default; }

/* ---------------------------------------------------------------
 * 상태 안내 흐름도 (TA.invtStatus.openHelp) - 역할 띠 배경 × 진행 단계
 *  띠 = 그 상태에서 다음 처리를 할 역할. 상태 배지는 정보 표시(.ta-status)라 카드도 누르는 모양이 아니다.
 * --------------------------------------------------------------- */
.ta-sflow-modal { width: 980px; max-width: calc(100vw - 32px); }
.ta-sflow-wrap { overflow-x: auto; padding-bottom: 4px; }
.ta-sflow { display: grid; grid-template-columns: 84px repeat(7, minmax(94px, 1fr)); column-gap: 5px; min-width: 780px; position: relative; }
.ta-sflow-corner { font-size: 11px; color: var(--ta-text-sub); padding: 6px 8px; align-self: end; }
.ta-sflow-stage { font-size: 12px; font-weight: 700; color: var(--ta-text); padding: 6px 4px 8px; text-align: center; position: relative; }
.ta-sflow-stage .no { display: inline-block; width: 18px; height: 18px; line-height: 18px; margin-right: 4px; border-radius: 999px;
                      background: #E3E7EC; color: #4A5562; font-size: 11px; }
.ta-sflow-stage::after { content: "\203A"; position: absolute; right: -6px; top: 4px; color: #A9B2BD; font-size: 16px; }
.ta-sflow-stage:nth-child(8)::after { content: none; }   /* 마지막 단계(모서리 칸 다음 7번째) 뒤에는 화살표 없음 */
.ta-sflow-band { border-radius: 10px; margin: 3px 0; z-index: 0; }
.ta-sflow-band.l-S { background: #E6F4F1; border: 1px solid #C4E3DB; }
.ta-sflow-band.l-A { background: #FBF3E2; border: 1px solid #EBD9B2; }
.ta-sflow-band.l-B { background: #E9F0FB; border: 1px solid #C9D8F0; }
.ta-sflow-lane { z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; }
.ta-sflow-lane b { font-size: 13px; font-weight: 800; }
.ta-sflow-lane span { font-size: 11px; color: var(--ta-text-sub); }
.ta-sflow-lane.l-S b { color: #0E6B5F; }
.ta-sflow-lane.l-A b { color: #8A5A00; }
.ta-sflow-lane.l-B b { color: #154FB5; }
.ta-sflow-node { z-index: 1; align-self: center; margin: 8px 2px; padding: 7px 8px; border-radius: 10px; background: #fff;
                 border: 1px solid #D5DBE2; box-shadow: 0 1px 2px rgba(0,0,0,.05); text-align: center; cursor: default; }
.ta-sflow-node .ta-status { cursor: default; }
.ta-sflow-node .nx { margin-top: 5px; font-size: 11px; line-height: 1.35; color: var(--ta-text-sub); }
.ta-sflow-node.is-dim { opacity: .38; }
.ta-sflow-detail { margin-top: 14px; }
.ta-sflow-detail summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ta-text); padding: 4px 0; }
.ta-sflow-detail .ta-table { margin-top: 8px; }

/* ---------------------------------------------------------------
 * 기본구성 방법 안내창 (common/cpstGuide.js) - 재고관리·기본구성 공통
 * --------------------------------------------------------------- */
.bg-guide-btn { margin-left:8px; vertical-align:middle; }
.bg-guide { width:860px; max-width:calc(100vw - 32px); }
.bg-guide .bg-sec-title { margin:16px 0 8px; font-size:14px; font-weight:800; color:var(--ta-text); }
.bg-guide .bg-sec-title:first-child { margin-top:0; }
.bg-guide .bg-sec-title .sub { font-size:12px; font-weight:500; color:var(--ta-text-sub); margin-left:4px; }
.bg-rules { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.bg-rule { display:flex; gap:10px; padding:10px 12px; border:1px solid var(--ta-border); border-radius:10px; background:#FAFBFC; }
.bg-rule .no { flex:none; width:22px; height:22px; line-height:22px; text-align:center; border-radius:999px; background:var(--ta-primary); color:#fff; font-size:12px; font-weight:800; }
.bg-rule b { font-size:13px; }
.bg-rule p { margin:3px 0 0; font-size:12px; line-height:1.55; color:var(--ta-text); }
.bg-rule .sub { display:block; color:var(--ta-text-sub); }
.bg-ex td { font-size:12px; }
.bg-ex tr.is-no td { color:#B4232C; background:#FDF3F5; }
.bg-steps { margin:0; padding-left:20px; font-size:13px; line-height:1.7; }
.bg-tree { border:1px solid var(--ta-border); border-radius:10px; overflow:hidden; }
.bg-tree .row { display:flex; gap:10px; align-items:flex-start; padding:7px 12px; border-top:1px solid var(--ta-border); }
.bg-tree .row:first-child { border-top:0; }
.bg-tree .root { flex:none; width:96px; font-weight:800; font-size:13px; padding-top:2px; }
.bg-tree .kids { display:flex; flex-wrap:wrap; gap:5px; }
.bg-tree .grp { display:inline-flex; align-items:center; gap:3px; padding:2px 4px; border-radius:8px; background:#F1F3F6; }
.bg-chip { display:inline-block; padding:2px 9px; border-radius:999px; font-size:12px; border:1px solid #CBD3DC; background:#fff; color:var(--ta-text); white-space:nowrap; cursor:default; }
.bg-chip.no-solo { border:1px dashed #7AA2E3; background:#EEF4FD; color:#3B5E9C; }
.bg-chip.no-reg { border-color:transparent; background:#E9ECEF; color:var(--ta-text-sub); }
.bg-legend { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
@media (max-width:760px) { .bg-rules { grid-template-columns:1fr; } .bg-tree .row { flex-direction:column; gap:4px; } }

/* ---------------------------------------------------------------
 * 카드 안 탭바 (통계·매참인 응찰 조회) - 버튼(누르는 것)이라 hover·focus 피드백, 선택 탭은 아래 굵은 선
 * --------------------------------------------------------------- */
.ta-tabbar { display: flex; align-items: center; gap: 2px; border-bottom: 1px solid var(--ta-border); padding: 0 8px; flex-wrap: wrap; }
.ta-tabbar-btn { border: 0; background: none; padding: 12px 14px; font-size: 14px; font-weight: 700; color: var(--ta-text-sub);
                 cursor: pointer; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; }
.ta-tabbar-btn:hover { color: var(--ta-text); background: #F4F6F9; }
.ta-tabbar-btn:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: -2px; }
.ta-tabbar-btn.on { color: var(--ta-primary); border-bottom-color: var(--ta-primary); }
.ta-tabbar-btn .cnt { font-size: 12px; font-weight: 600; margin-left: 2px; }

/* ---------------------------------------------------------------
 * 가벼운 그래프 (common/miniChart.js) - SVG 막대·선, 가로 막대 순위
 * --------------------------------------------------------------- */
.mc-box { width: 100%; min-height: 60px; margin: 4px 0 12px; }
.mc-svg { display: block; max-width: 100%; }
.mc-svg .mc-grid { stroke: #E6EAEF; stroke-width: 1; }
.mc-svg .mc-ax { font-size: 11px; fill: #7A8794; }
.mc-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ta-text-sub); margin-bottom: 4px; }
.mc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.mc-legend i.ln { height: 3px; width: 14px; vertical-align: 3px; }
.mc-empty { padding: 24px; text-align: center; color: var(--ta-text-sub); font-size: 13px; }
.mc-rank { display: grid; grid-template-columns: 22px minmax(0, 160px) minmax(0, 1fr) 70px; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; }
.mc-rank .no { color: var(--ta-text-sub); font-size: 12px; text-align: right; }
.mc-rank .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mc-rank .nm small { display: block; font-weight: 400; font-size: 11px; color: var(--ta-text-sub); }
.mc-rank .bar { height: 10px; background: #EEF1F4; border-radius: 999px; overflow: hidden; }
.mc-rank .bar i { display: block; height: 100%; border-radius: 999px; }
.mc-rank .v { text-align: right; font-weight: 700; }

/* ---------------------------------------------------------------
 * 다중 선택 검색 조건 (common/multiPick.js) - 버튼(누르는 것) + 창. 고른 조건이 있으면 버튼이 진하게
 * --------------------------------------------------------------- */
.mp { position: relative; display: inline-block; }
.mp-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 12px; border: 1px solid var(--ta-border);
          border-radius: 8px; background: #fff; cursor: pointer; font-size: 13px; color: var(--ta-text); max-width: 230px;
          box-shadow: 0 1px 0 rgba(0,0,0,.03); }
.mp-btn:hover { border-color: #9DB1C8; background: #F7F9FC; }
.mp-btn:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 1px; }
.mp-lb { color: var(--ta-text-sub); font-weight: 600; white-space: nowrap; }
.mp-val { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-caret { font-size: 10px; color: var(--ta-text-sub); }
.mp.is-on .mp-btn { border-color: var(--ta-primary); background: var(--ta-accent); }
.mp.is-on .mp-val { color: var(--ta-primary); }
.mp-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 300px; background: #fff; border: 1px solid var(--ta-border);
          border-radius: 12px; box-shadow: 0 10px 30px rgba(15, 30, 60, .16); padding: 10px; }
.mp-head { display: flex; align-items: center; gap: 8px; }
.mp-head .ta-input { flex: 1; height: 32px; }
.mp-cnt { font-size: 12px; color: var(--ta-primary); font-weight: 700; white-space: nowrap; }
.mp-acts { display: flex; gap: 12px; margin: 8px 2px 6px; }
.mp-link { border: 0; background: none; padding: 0; font-size: 12px; color: var(--ta-primary); cursor: pointer; text-decoration: underline; }
.mp-list { max-height: 280px; overflow: auto; border-top: 1px solid #EEF1F4; border-bottom: 1px solid #EEF1F4; padding: 4px 0; }
.mp-grp { font-size: 11px; font-weight: 800; color: var(--ta-text-sub); padding: 8px 6px 2px; }
.mp-opt { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.mp-opt:hover { background: #F4F7FB; }
.mp-opt.on { background: #EAF1FB; }
.mp-opt .t { flex: 1; }
.mp-opt .c { font-size: 11px; color: var(--ta-text-sub); background: #F0F2F5; border-radius: 999px; padding: 0 7px; cursor: default; }
.mp-empty { padding: 16px; text-align: center; color: var(--ta-text-sub); font-size: 12px; }
.mp-foot { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
/* 고른 조건 칩 - 정보 + x(빼기 버튼) */
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mp-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: #EAF1FB;
           border: 1px solid #C5D7EF; font-size: 12px; color: #1E4E8C; }
.mp-chip b { font-weight: 700; }
.mp-chip button { border: 0; background: none; width: 18px; height: 18px; border-radius: 999px; cursor: pointer; color: #1E4E8C; line-height: 1; }
.mp-chip button:hover { background: #C5D7EF; }

/* ---------------------------------------------------------------
 * 대리 로그인 중(시스템관리자 → 다른 사용자) - 헤더 붉은 띠 + 돌아가기, 본문 위 안내(상태 표시)
 * --------------------------------------------------------------- */
.ta-topbar.is-proxy { background: #7A1622; border-bottom-color: #F2B705; }
.ta-proxy-btn { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid #F2B705; background: #F2B705; color: #3B2A00;
                font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.ta-proxy-btn:hover { background: #FFCB2E; }
.ta-proxy-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ta-proxy-bar { margin: -4px 0 14px; padding: 10px 14px; border-radius: 10px; background: #FDF0F1; border: 1px solid #F0C2C8; color: #7A1622; font-size: 13px; line-height: 1.6; cursor: default; }
.ta-proxy-bar b { font-weight: 800; }
.ta-proxy-bar .rsn { display: block; font-size: 12px; color: #9B4A55; }
@media (max-width: 640px) { .ta-proxy-btn { padding: 0 8px; font-size: 11.5px; } }
/* ---------------------------------------------------------------
 * 개발용 빠른 로그인 - 역할별 색(2026-10-12). 왼쪽 띠 + 옅은 바탕 + 글자색으로 역할 구분
 * --------------------------------------------------------------- */
.ta-dev-acc { --dr: #5B6577; --dr-bg: #F4F6F9; border-left: 4px solid var(--dr); border-radius: 8px; background: var(--dr-bg); padding: 4px 4px 2px; }
.ta-dev-acc[data-role="SYSADMIN"]   { --dr: #6B3FA0; --dr-bg: #F4EFFA; }
.ta-dev-acc[data-role="ADMIN"]      { --dr: #1E4FA8; --dr-bg: #EEF3FC; }
.ta-dev-acc[data-role="AUCTIONEER"] { --dr: #C2610C; --dr-bg: #FDF3E9; }
.ta-dev-acc[data-role="SELLER"]     { --dr: #1F7A4D; --dr-bg: #ECF7F1; }
.ta-dev-acc[data-role="BUYER"]      { --dr: #9C2F6B; --dr-bg: #FBEFF5; }
.ta-dev-acc .ta-btn { color: var(--dr); border-color: var(--dr); font-weight: 800; background: #fff; }
.ta-dev-acc .ta-btn:hover { background: var(--dr); color: #fff; }
.ta-dev-acc .ta-dev-id b { color: var(--dr); }
/* ---------------------------------------------------------------
 * 다른 창에서 로그인 계정이 바뀐 창 덮개(2026-10-12, session-sync.js) - 이전 계정 화면을 막고 안내
 * --------------------------------------------------------------- */
#taStale { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px;
           background: rgba(15, 23, 42, .62); backdrop-filter: blur(2px); }
#taStale .ta-stale-box { width: 520px; max-width: 100%; padding: 22px 24px; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
#taStale .ta-stale-box > b { display: block; font-size: 17px; font-weight: 800; color: #7A1622; margin-bottom: 8px; }
#taStale .ta-stale-box p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.65; color: var(--ta-text); }
#taStale .ta-stale-box .act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* ---------------------------------------------------------------
 * 편성 비고 아이콘(2026-10-15, format.js TA.rmrk) - HOT·SALE·인기. 정보 표시용 알약(누르는 모양 아님)에
 * 빛이 스치는 반짝임 + 살짝 맥박. 경매편성·개찰·매참인 경매 참여·낙찰내역·정산 공용.
 * --------------------------------------------------------------- */
.ta-rmrk { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; vertical-align: middle; line-height: 1.3; }
.ta-rmrk-tx { font-size: 12px; font-weight: 700; color: #8A2A0E; }
.ta-rmrk-ic { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 19px; padding: 0 8px;
              border-radius: 999px; font-size: 10.5px; font-weight: 900; letter-spacing: .02em; color: #fff; cursor: default;
              box-shadow: 0 1px 3px rgba(0,0,0,.18); animation: taRmrkPulse 1.6s ease-in-out infinite; }
.ta-rmrk-ic::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
                     background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%);
                     transform: skewX(-20deg); animation: taRmrkShine 2.2s ease-in-out infinite; }
.ta-rmrk-ic.hot  { background: linear-gradient(135deg, #FF5A1F, #D7141A); }
.ta-rmrk-ic.sale { background: linear-gradient(135deg, #1E88E5, #5E35B1); animation-delay: .3s; }
.ta-rmrk-ic.pop  { background: linear-gradient(135deg, #F7B500, #F06292); color: #3B1D00; animation-delay: .6s; }
.ta-rmrk-ic.sale::after { animation-delay: .5s; }
.ta-rmrk-ic.pop::after  { animation-delay: 1s; }
@keyframes taRmrkShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes taRmrkPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ta-rmrk-ic, .ta-rmrk-ic::after { animation: none; } }
/* 경매편성 비고 입력 - 아이콘 고르기(토글 버튼) + 자유 문구 */
.ta-rmrk-pick { display: flex; flex-direction: column; gap: 4px; min-width: 150px; }
.ta-rmrk-pick .tg { display: flex; gap: 4px; }
.ta-rmrk-tg { height: 24px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--ta-border, #d7dbe0); background: #fff;
              font-size: 11px; font-weight: 800; color: var(--ta-text-sub, #6b7280); cursor: pointer;
              box-shadow: 0 1px 0 rgba(0,0,0,.06); transition: background .12s, border-color .12s, color .12s; }
.ta-rmrk-tg:hover { border-color: #9AA3AF; background: #F6F7F9; }
.ta-rmrk-tg:active { transform: translateY(1px); }
.ta-rmrk-tg:focus-visible { outline: 2px solid var(--ta-primary, #246342); outline-offset: 1px; }
.ta-rmrk-tg.is-on.hot  { background: #D7141A; border-color: #D7141A; color: #fff; }
.ta-rmrk-tg.is-on.sale { background: #3F51B5; border-color: #3F51B5; color: #fff; }
.ta-rmrk-tg.is-on.pop  { background: #F7B500; border-color: #E0A200; color: #3B1D00; }
.ta-rmrk-line { margin: 3px 0 2px; }
/* ---------------------------------------------------------------
 * 사진 공용(2026-10-16, js/common/photo.js TA.photo) - 목록 썸네일 칸 · 크게 보기 · 카드 슬라이드
 * --------------------------------------------------------------- */
/* 목록 썸네일 - 누를 수 있는 작은 사진(버튼). 장수는 data-n 을 CSS 로 그린다(엑셀 셀 글자에 섞이지 않게) */
.ta-ph-cell { position: relative; float: left; display: inline-flex; flex: none; width: 38px; height: 38px; margin: 1px 8px 2px 0; padding: 0;
              border: 1px solid var(--ta-border, #d7dbe0); border-radius: 7px; background: #F4F6F8; overflow: visible; cursor: zoom-in;
              box-shadow: 0 1px 2px rgba(0,0,0,.08); transition: transform .12s, box-shadow .12s; }
.ta-ph-cell:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.ta-ph-cell:focus-visible { outline: 2px solid var(--ta-primary, #246342); outline-offset: 2px; }
.ta-ph-cell img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; }
.ta-ph-cell[data-n]::after { content: attr(data-n); position: absolute; right: -6px; bottom: -6px; min-width: 16px; height: 16px; padding: 0 4px;
              border-radius: 999px; background: #1F2937; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center; }
.ta-ph-cell[data-n="1"]::after { display: none; }
.ta-ph-cell[data-n="KBM"]::after { background: #6A3FB0; font-size: 9px; }
/* 사진 없음 - 정보 표시(누를 수 없음), 흐린 카메라 */
.ta-ph-cell.is-none { cursor: default; border-style: dashed; background: #FAFBFC; box-shadow: none; }
.ta-ph-cell.is-none:hover { transform: none; box-shadow: none; }
.ta-ph-cell.is-none::before { content: ""; position: absolute; inset: 11px 10px; opacity: .35;
              background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M9 3 7.2 5H4a2 2 0 0 0-2 2v11a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-3.2L15 3H9zm3 4.5a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 2a3 3 0 1 0 0 6 3 3 0 0 0 0-6z'/%3E%3C/svg%3E"); }
.ta-ph-row { display: flex; align-items: center; }
/* 크게 보기 - 사진을 화면 가득, 버튼·설명·점은 사진 위에 얹는다(2026-10-16 재구성) */
.ta-ph-lb { position: fixed; inset: 0; z-index: 9500; background: #0B0F15; color: #fff; overflow: hidden; user-select: none; -webkit-user-select: none; }
body.ta-ph-lb-open { overflow: hidden; }
/* 사진 칸 - 상세 화면 사진과 같은 가로 스크롤 + 한 장씩 멈춤(scroll-snap). 확대 중에는 스크롤 잠금 */
.ta-ph-lb-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
                  scrollbar-width: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
.ta-ph-lb-track::-webkit-scrollbar { display: none; }
.ta-ph-lb-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always;
                  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ta-ph-lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block;
                      transform-origin: center center; will-change: transform; cursor: zoom-in; -webkit-user-drag: none; }
.ta-ph-lb.is-zoomed .ta-ph-lb-track, .ta-ph-lb.is-pinch .ta-ph-lb-track { overflow-x: hidden; touch-action: none; }
.ta-ph-lb.is-zoomed .ta-ph-lb-slide img { cursor: grab; }
/* 위 - 설명(왼쪽) · 출처 알약 + 닫기(오른쪽). 사진이 밝아도 읽히게 위쪽만 옅게 어둡게 */
.ta-ph-lb-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
                padding: 14px 14px 40px; padding-top: calc(72px + env(safe-area-inset-top)); pointer-events: none;
                background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); transition: opacity .2s; }
.ta-ph-lb-top > * { pointer-events: auto; }
.ta-ph-lb-tag { max-width: calc(100% - 170px); padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.94); color: #111827;
                font-size: 14px; font-weight: 800; line-height: 1.35; box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: default;
                overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-ph-lb-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.ta-ph-lb .ta-ph-src { position: static; padding: 4px 11px; font-size: 12.5px; line-height: 18px; }
.ta-ph-lb .ta-ph-src.kbm { background: rgba(106,63,176,.92); color: #fff; }
.ta-ph-lb-x { width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 28px; line-height: 1;
              cursor: pointer; backdrop-filter: blur(4px); transition: background .12s; }
.ta-ph-lb-x:hover { background: rgba(255,255,255,.34); }
/* 닫은 직후 잠깐 터치 막기 - 연달아 누른 손가락이 뒤 화면(상단 로그아웃 등)을 누르지 않게(2026-10-16) */
.ta-ph-lb-guard { position: fixed; inset: 0; z-index: 9600; background: transparent; }
/* 양옆 - 이전/다음(사진 위에 반투명) */
.ta-ph-lb-nav { position: absolute; top: 50%; z-index: 3; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%;
                background: rgba(255,255,255,.82); color: #111827; font-size: 30px; line-height: 1; cursor: pointer;
                box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: background .12s, transform .12s, opacity .2s; }
.ta-ph-lb-nav.prev { left: 10px; } .ta-ph-lb-nav.next { right: 10px; }
.ta-ph-lb-nav:hover { background: #fff; transform: scale(1.06); }
.ta-ph-lb-nav:focus-visible, .ta-ph-lb-x:focus-visible, .ta-ph-lb-reset:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
/* 아래 - 현재 위치/장수 + 점 */
.ta-ph-lb-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
                 padding: 40px 14px 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); pointer-events: none;
                 background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); transition: opacity .2s; }
.ta-ph-lb-cnt { padding: 2px 10px; border-radius: 999px; background: rgba(0,0,0,.45); font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ta-ph-lb-cnt:empty { display: none; }
.ta-ph-lb-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 90vw; }
.ta-ph-lb-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.45); }
.ta-ph-lb-dots i.on { width: 18px; border-radius: 999px; background: #fff; }
/* 확대 중 - 사진을 가리지 않게 설명·좌우·점은 숨기고 닫기와 [원래 크기]만 */
.ta-ph-lb-reset { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 4; transform: translateX(-50%);
                  display: none; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #111827;
                  font-size: 13.5px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.ta-ph-lb.is-zoomed .ta-ph-lb-reset { display: block; }
.ta-ph-lb.is-zoomed .ta-ph-lb-nav, .ta-ph-lb.is-zoomed .ta-ph-lb-foot, .ta-ph-lb.is-zoomed .ta-ph-lb-tag, .ta-ph-lb.is-zoomed #taPhLbSrc { opacity: 0; pointer-events: none; }
.ta-ph-lb.is-zoomed .ta-ph-lb-top { background: none; }
/* 사진만 보기(한 번 누름) - 얹은 것 전부 숨김, 닫기 포함 */
.ta-ph-lb.ui-off .ta-ph-lb-top, .ta-ph-lb.ui-off .ta-ph-lb-nav, .ta-ph-lb.ui-off .ta-ph-lb-foot, .ta-ph-lb.ui-off .ta-ph-lb-reset { opacity: 0; pointer-events: none; }
.ta-ph-lb.is-single .ta-ph-lb-nav { display: none; }
@media (max-width: 640px) {
  .ta-ph-lb-nav { width: 40px; height: 40px; margin-top: -20px; font-size: 26px; background: rgba(255,255,255,.7); }
  .ta-ph-lb-nav.prev { left: 6px; } .ta-ph-lb-nav.next { right: 6px; }
  .ta-ph-lb-tag { font-size: 13px; padding: 5px 10px; max-width: calc(100% - 150px); }
}
/* 카드 슬라이드 - 겹쳐 두고 켜진 장만 보이게(넘길 때 부드럽게). 점은 정보 표시 */
.ta-ph-car { position: relative; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.ta-ph-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
.ta-ph-slide.is-on { opacity: 1; }
.ta-ph-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ta-ph-tag { position: absolute; top: 6px; left: 6px; z-index: 1; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800;
             background: rgba(20,24,31,.72); color: #fff; cursor: default; }
.ta-ph-tag.kbm { background: rgba(106,63,176,.88); }
/* 사진 출처 알약 - 오른쪽 위, 작게(사진을 가리지 않게). 정보 표시라 누를 수 없음(2026-10-16) */
.ta-ph-src { position: absolute; top: 6px; right: 6px; z-index: 2; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 16px;
             letter-spacing: -.2px; cursor: default; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.ta-ph-src.real { background: rgba(15,122,55,.9); color: #fff; }
.ta-ph-src.rep { background: rgba(255,248,230,.95); color: #8A5A00; border: 1px solid #E8C77A; }
.ta-phg-ph .ta-ph-src { top: 4px; right: 4px; padding: 0 6px; font-size: 9.5px; }
.bm-hero-slide .ta-ph-src, .md-slide .ta-ph-src { top: 12px; right: 12px; padding: 3px 10px; font-size: 12px; line-height: 18px; }
.ta-ph-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.ta-ph-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ta-ph-dots i.on { background: #fff; width: 14px; border-radius: 999px; }
.ta-ph-car-empty { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 30px; color: #C2C7CE; }
@media (prefers-reduced-motion: reduce) { .ta-ph-slide { transition: none; } }
/* 슬라이드 꼬리표 - 여러 재고가 묶인 건은 사진마다 '품목 중량'(2026-10-16) */
.ta-ph-cap { position: absolute; left: 6px; bottom: 16px; z-index: 1; max-width: calc(100% - 12px); padding: 2px 8px; border-radius: 6px;
             background: rgba(17,24,39,.72); color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }

/* 상세 사진 묶음 - 이력번호(도체)별 칸 → 재고(품목·중량)별 줄 (TA.photo.groupHtml) */
.ta-phg { display: flex; flex-direction: column; gap: 10px; width: 100%; flex: 1 1 100%; min-width: 0; }
.ta-phg-trc { border: 1px solid #DCE3EA; border-left: 4px solid #2F6FB3; border-radius: 8px; background: #fff; padding: 8px 10px 10px; }
.ta-phg-trc.alt { border-left-color: #C26A1B; }
.ta-phg-trc-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.ta-phg-trc-k { font-size: 11px; font-weight: 700; color: #6B7280; }
.ta-phg-trc-no { font-size: 13px; font-weight: 800; color: #1F2937; font-variant-numeric: tabular-nums; letter-spacing: .2px; }
.ta-phg-trc-sub { margin-left: auto; font-size: 11px; font-weight: 700; color: #6B7280; }
.ta-phg-inv { padding: 6px 0 0; border-top: 1px dashed #E5E7EB; }
.ta-phg-trc-h + .ta-phg-inv { border-top: 0; padding-top: 0; }
.ta-phg-trc.no-head { border: 0; padding: 0; background: transparent; }
.ta-phg-trc.no-head > .ta-phg-inv:first-child { border-top: 0; padding-top: 0; }
.ta-phg-inv-h { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; font-size: 12.5px; color: #111827; }
.ta-phg-no { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
             background: #1F2937; color: #fff; font-size: 10.5px; font-weight: 800; }
.ta-phg-no.kbm { background: #6A3FB0; }
.ta-phg-kg { padding: 1px 7px; border-radius: 999px; background: #EEF4FB; color: #1E4E86; font-size: 11px; font-weight: 800; }
.ta-phg-inv.is-kbm .ta-phg-kg { background: #F1ECFA; color: #5B3496; }
.ta-phg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ta-phg-kbm-note { flex: 1 1 180px; font-size: 11.5px; color: #5B3496; line-height: 1.5; }
.ta-phg-ph { position: relative; margin: 0; width: 108px; height: 81px; border-radius: 6px; overflow: hidden; background: #F3F4F6; border: 1px solid #E5E7EB; }
.ta-phg-ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .15s ease; }
.ta-phg-ph:hover img { transform: scale(1.04); }
.ta-phg-tag { position: absolute; top: 4px; left: 4px; z-index: 1; padding: 0 6px; border-radius: 999px; background: rgba(17,24,39,.7); color: #fff;
              font-size: 10px; font-weight: 800; line-height: 16px; pointer-events: none; }
.ta-phg-tag.kbm { background: rgba(106,63,176,.88); }
.ta-phg-src { position: absolute; right: 4px; bottom: 4px; z-index: 1; padding: 0 6px; border-radius: 999px; font-size: 10px; font-weight: 800; line-height: 16px; pointer-events: none; }
.ta-phg-src.real { background: rgba(15,122,55,.9); color: #fff; }
.ta-phg-src.rep { background: rgba(255,255,255,.92); color: #8A5A00; border: 1px solid #E8C77A; }
.ta-phg-none { display: flex; align-items: center; justify-content: center; width: 108px; height: 81px; border: 1px dashed #CBD2D9; border-radius: 6px;
               background: #FAFBFC; color: #9CA3AF; font-size: 11px; font-weight: 700; }
@media (max-width: 600px) { .ta-phg-ph, .ta-phg-none { width: calc((100% - 12px) / 3); height: auto; aspect-ratio: 4 / 3; } }
/* 상세보기 '묶음 구성' 안내(TA.bundleBox) - 여러 재고가 한 상품으로 묶였다는 정보(정보 표시) */
.ta-bundle-box { margin: 10px 0 12px; padding: 12px 14px; border: 1px solid #C9D9F5; border-radius: 12px; background: #F3F7FE; }
.ta-bundle-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 8px; }
.ta-bundle-ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--ta-primary, #154FB5); color: #fff; }
.ta-bundle-h b { font-size: 14.5px; font-weight: 800; color: #0F2F6B; }
.ta-bundle-sub { font-size: 12.5px; color: #4B5563; }
.ta-bundle-box .ta-cpst-invt { margin: 0; }

/* 상세 히어로 아래 '재고 구성' 칩 - 여러 재고가 묶인 건에서 몇 kg 짜리 사진인지 고르기(응찰·내 낙찰 상세) */
.ta-inv-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; background: #fff; border-bottom: 1px solid #EEF0F2; }
.ta-inv-chips .k { font-size: 11px; font-weight: 800; color: #6B7280; margin-right: 2px; }
.ta-inv-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px 3px 4px; border: 1px solid #D5DBE1; border-radius: 8px;
               background: linear-gradient(#fff, #F6F7F9); color: #1F2937; font-size: 12px; font-weight: 700; cursor: pointer;
               box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: border-color .12s, box-shadow .12s, transform .08s; }
.ta-inv-chip:hover { border-color: #9AA5B1; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.ta-inv-chip:active { transform: translateY(1px); }
.ta-inv-chip:focus-visible { outline: 2px solid var(--ta-primary, #246342); outline-offset: 2px; }
.ta-inv-chip .no { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 6px;
                   background: #1F2937; color: #fff; font-size: 11px; font-weight: 800; }
.ta-inv-chip b { color: #1E4E86; }
.ta-inv-chip.is-on { border-color: var(--ta-primary, #246342); background: #EAF4EE; box-shadow: inset 0 0 0 1px var(--ta-primary, #246342); }
.ta-inv-chip.is-on .no { background: var(--ta-primary, #246342); }

/* 입력 예시(placeholder) - 실제 입력값과 헷갈리지 않게 옅은 회색으로(2026-10-16) */
.ta-input::placeholder, .ta-textarea::placeholder { color: #A3ACB9; opacity: 1; font-weight: 400; }
.ta-input::-ms-input-placeholder { color: #A3ACB9; }

/* ================================================================
 * 통계 화면 레이아웃(통계·경락가격 분석, 2026-10-16) - 왼쪽 조건 패널 + 오른쪽 결과
 *  .stx-*  화면 틀 / .ta-rp-* 기간 선택(rangePick.js) / .ta-kindseg 그래프 모양 / .ta-chart* 그래프(taChart.js)
 * ================================================================ */
.stx { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 16px; align-items: start; }
.stx-side { position: sticky; top: 12px; z-index: 5; min-width: 0; background: var(--ta-surface); border: 1px solid var(--ta-hairline); border-radius: 14px;
            padding: 16px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.stx-sec + .stx-sec { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ta-hairline); }
.stx-sec-t { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 13px; font-weight: 800; color: var(--ta-text); }
.stx-sec-t .no { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
                 border: 1.5px solid var(--ta-text-sub); color: var(--ta-text-sub); font-size: 10.5px; font-weight: 800; }
.stx-sec-t .sub { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--ta-text-sub); }
.stx-seg, .ta-rp-quick { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid #D5DBE3; border-radius: 9px; overflow: hidden; background: #fff; }
.stx-seg button, .ta-rp-quick button { height: 38px; border: 0; border-left: 1px solid #E4E8EE; background: #fff; color: #283142; font-size: 13px; font-weight: 600; cursor: pointer;
            transition: background .12s, color .12s; }
.stx-seg button:first-child, .ta-rp-quick button:first-child { border-left: 0; }
.stx-seg button:hover, .ta-rp-quick button:hover { background: #F3F5FA; }
.stx-seg button.active, .stx-seg button.on, .ta-rp-quick button.on { background: var(--ta-primary); color: #fff; font-weight: 800; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.stx-seg button:focus-visible, .ta-rp-quick button:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: -2px; }
.stx-chks { display: flex; flex-direction: column; gap: 2px; }
.stx-chk { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 6px; border-radius: 8px; font-size: 13.5px; color: #283142; cursor: pointer; }
.stx-chk:hover { background: #F5F7FA; }
.stx-chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--ta-primary); cursor: pointer; }
.stx-chk .sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.stx-chk .u { margin-left: auto; font-size: 11px; color: var(--ta-text-sub); }
.stx-chks-empty { font-size: 12px; color: var(--ta-text-sub); padding: 4px 2px; }
.stx-conds { display: flex; flex-direction: column; gap: 6px; }
.stx-conds .mp, .stx-conds .mp-btn { width: 100%; }
.stx-conds .mp { position: relative; display: block; }
.stx-conds .mp-btn { justify-content: flex-start; height: 36px; max-width: none; }
.stx-conds .mp-val { margin-left: auto; max-width: 140px; }
.stx-conds .mp-pop { width: 100%; min-width: 260px; }
.stx-opts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; }
.stx-opts label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.stx-acts { display: flex; flex-direction: column; gap: 6px; }
.stx-acts .ta-btn { width: 100%; justify-content: center; }
.stx-cmp { margin-top: 8px; font-size: 11.5px; color: var(--ta-text-sub); }
.stx-main { min-width: 0; }
.stx-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.stx-pills .k { font-size: 12px; font-weight: 800; color: var(--ta-text-sub); margin-right: 4px; }
.stx-pill { min-height: 34px; padding: 0 15px; border: 1px solid #D5DBE3; border-radius: 9px; background: linear-gradient(#fff, #F7F8FA);
            color: #283142; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(16,24,40,.06);
            transition: border-color .12s, box-shadow .12s, transform .08s; }
.stx-pill:hover { border-color: #9AA5B4; box-shadow: 0 2px 6px rgba(16,24,40,.1); }
.stx-pill:active { transform: translateY(1px); }
.stx-pill:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 2px; }
.stx-pill.on { background: var(--ta-primary); border-color: var(--ta-primary); color: #fff; box-shadow: 0 2px 6px rgba(21,79,181,.28); }
.stx-meta { margin: 2px 0 12px; font-size: 12px; color: var(--ta-text-sub); line-height: 1.6; }
.stx-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stx-kpi { background: var(--ta-surface); border: 1px solid var(--ta-hairline); border-radius: 14px; padding: 14px 16px; min-width: 0; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.stx-kpi .l { font-size: 12.5px; color: var(--ta-text-sub); }
.stx-kpi .l small { font-size: 11px; }
.stx-kpi .v { margin-top: 4px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--ta-text); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.stx-kpi .v small { display: inline-block; margin-left: 3px; font-size: 13px; font-weight: 700; color: var(--ta-text-sub); letter-spacing: 0; }
.stx-kpi .d { margin-top: 4px; font-size: 12px; color: var(--ta-text-sub); line-height: 1.45; }
.stx-kpi.hl { border-color: rgba(21,79,181,.35); box-shadow: inset 3px 0 0 var(--ta-primary), 0 1px 2px rgba(16,24,40,.04); }
.stx-card { background: var(--ta-surface); border: 1px solid var(--ta-hairline); border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.stx-card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.stx-card-h .t { font-size: 15px; font-weight: 800; }
.stx-card-h .s { font-size: 12px; color: var(--ta-text-sub); }
.stx-card-h .sp { flex: 1; }
.stx-pane { display: none; }
.stx-pane.on { display: block; }

.ta-kindseg { display: inline-flex; border: 1px solid #D5DBE3; border-radius: 9px; overflow: hidden; background: #fff; }
.ta-kindseg button { min-width: 52px; height: 34px; padding: 0 12px; border: 0; border-left: 1px solid #E4E8EE; background: #fff; color: #4A5565;
                     font-size: 13px; font-weight: 600; cursor: pointer; transition: background .12s; }
.ta-kindseg button:first-child { border-left: 0; }
.ta-kindseg button:hover { background: #F3F5FA; }
.ta-kindseg button.on { background: var(--ta-primary); color: #fff; font-weight: 800; }
.ta-kindseg button:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: -2px; }
.ta-chart { position: relative; width: 100%; }
.ta-chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ta-text-sub); }
.ta-chart-tip { min-width: 150px; padding: 9px 12px; background: #fff; border: 1px solid #E4E8EE; border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.14); font-size: 12.5px; color: #283142; }
.ta-chart-tip .t { margin-bottom: 4px; font-size: 12px; color: #6B7280; }
.ta-chart-tip .r { display: flex; align-items: center; gap: 7px; line-height: 1.9; }
.ta-chart-tip .r i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ta-chart-tip .r .n { color: #4A5565; }
.ta-chart-tip .r b { margin-left: auto; padding-left: 14px; font-weight: 800; color: #111827; font-variant-numeric: tabular-nums; }

/* 기간 선택 */
.ta-rp { position: relative; }
.ta-rp-field { position: relative; margin-top: 8px; }
.ta-rp-input { width: 100%; height: 42px; padding: 0 56px 0 10px; border: 1px solid #D5DBE3; border-radius: 9px; background: #fff; color: #283142;
               font-size: 13.5px; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
               cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.ta-rp-input:hover { border-color: #9AA5B4; }
.ta-rp.is-open .ta-rp-input, .ta-rp-input:focus-visible { border-color: var(--ta-primary); box-shadow: 0 0 0 3px rgba(21,79,181,.14); outline: 0; }
.ta-rp-txt.is-empty { color: #9AA5B4; }
.ta-rp-clear { position: absolute; top: 50%; right: 34px; width: 22px; height: 22px; margin-top: -11px; border: 0; border-radius: 50%; background: transparent;
               color: #8A94A3; font-size: 17px; line-height: 20px; cursor: pointer; }
.ta-rp-clear:hover { background: #EEF1F5; color: #283142; }
.ta-rp-ico { position: absolute; top: 50%; right: 10px; width: 18px; height: 18px; margin-top: -9px; cursor: pointer; opacity: .65;
             background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283142' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ta-rp-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; display: flex; width: 560px; max-width: calc(100vw - 32px);
             background: #fff; border: 1px solid #E4E8EE; border-radius: 14px; box-shadow: 0 16px 40px rgba(16,24,40,.18); }
.ta-rp-pop[hidden] { display: none; }
.ta-rp-side { flex: none; width: 112px; padding: 10px 8px; border-right: 1px solid #EEF1F5; display: flex; flex-direction: column; gap: 2px; }
.ta-rp-side button { height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #283142; font-size: 13px; text-align: left; cursor: pointer; }
.ta-rp-side button:hover { background: #F3F5FA; }
.ta-rp-side button.on { background: var(--ta-accent); color: var(--ta-accent-fg); font-weight: 800; }
.ta-rp-main { flex: 1; min-width: 0; padding: 12px 14px; }
.ta-rp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ta-rp-title { font-size: 13.5px; }
.ta-rp-nav { width: 30px; height: 30px; border: 1px solid #E4E8EE; border-radius: 8px; background: #fff; color: #283142; font-size: 18px; line-height: 26px; cursor: pointer; }
.ta-rp-nav:hover { background: #F3F5FA; }
.ta-rp-cals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ta-rp-cal .cap { margin: 2px 0 8px; text-align: center; font-size: 12.5px; font-weight: 800; }
.ta-rp-grid { display: grid; gap: 6px; }
.ta-rp-grid.m { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ta-rp-grid.d { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.ta-rp-grid .w { text-align: center; font-size: 11px; color: #8A94A3; padding: 2px 0; }
.ta-rp-grid button { height: 36px; border: 0; border-radius: 7px; background: transparent; color: #283142; font-size: 12.5px; cursor: pointer; font-variant-numeric: tabular-nums; }
.ta-rp-grid.d button { height: 30px; font-size: 12px; }
.ta-rp-grid button:hover { background: #EEF1F7; }
.ta-rp-grid button.in { background: #E7ECFA; border-radius: 0; }
.ta-rp-grid button.end { background: var(--ta-primary); color: #fff; font-weight: 800; }
.ta-rp-grid button.dis { color: #C5CBD3; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.ta-rp-foot { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #EEF1F5; font-size: 12.5px; }
.ta-rp-foot .sp { flex: 1; }
.ta-rp-foot .hint { color: #8A94A3; }
.ta-rp-link { border: 0; background: transparent; color: #4A5565; font-size: 13px; cursor: pointer; padding: 4px 6px; border-radius: 6px; }
.ta-rp-link:hover { background: #F3F5FA; }

@media (max-width: 1100px) {
  .stx { grid-template-columns: minmax(0, 1fr); }
  .stx-side { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .ta-rp-pop { flex-direction: column; width: calc(100vw - 32px); }
  .ta-rp-side { width: auto; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #EEF1F5; }
  .ta-rp-cals { grid-template-columns: 1fr; }
  .stx-kpi .v { font-size: 22px; }
}

/* ===== 사육지 안내(2026-10-19, db/89) - 도축출하 당시 사육지를 보여 줄 때 함께. 눈에 띄게 ===== */
.ta-brd-notice { margin: 8px 14px 12px; padding: 9px 12px; border-radius: 10px; background: #FDECEC; border: 1px solid #F5B5B5;
                 color: #B42318; font-size: 12.5px; font-weight: 800; line-height: 1.55; }
.ta-brd-notice.in-grid { grid-column: 1 / -1; margin: 4px 10px 8px; }   /* 카드 항목 격자 안 - 한 줄 전체 폭 */

/* ===== 상장건 구성 열 공용(TA.lstgView, 2026-10-19) - 상장접수·경매편성·개찰·진행 =====
/* 유형 색 줄 - 단품 그대로, 세트 연빨강, 결합 연파랑(펼침 행까지 이어진다) */
tr.lsv-t-SET > td:first-child { box-shadow:inset 4px 0 0 #F2A7A7; }
tr.lsv-t-CMB > td:first-child { box-shadow:inset 4px 0 0 #9CBDEB; }
.lsv-dim { color:var(--ta-text-sub); }
/* [+] 펼치기 - 누를 수 있는 작은 사각 버튼 */
.lsv-wt, .lsv-multi { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
/* 펼치기 전 미리보기 - 무엇이 몇 개 묶였는지 */
.lsv-peek { margin-top:3px; max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; color:var(--ta-text-sub); }
.lsv-plus { flex:none; width:22px; height:22px; padding:0; border:1px solid #B9C3D0; border-radius:6px; background:linear-gradient(#fff, #F1F4F8);
           color:var(--ta-primary); font-size:15px; font-weight:800; line-height:1; cursor:pointer; box-shadow:0 1px 1px rgba(16,24,40,.08);
           display:inline-flex; align-items:center; justify-content:center; }
.lsv-plus:hover { border-color:var(--ta-primary); background:#EEF4FF; }
.lsv-plus:active { transform:translateY(1px); box-shadow:none; }
.lsv-plus:focus-visible { outline:2px solid var(--ta-primary); outline-offset:1px; }
.lsv-plus[aria-expanded="true"] { background:var(--ta-primary); border-color:var(--ta-primary); color:#fff; }
/* 이력번호 - 누르면 상세(밑줄 링크 모양 버튼) */
.lsv-trc { padding:0; border:0; background:none; color:var(--ta-primary); font:inherit; font-variant-numeric:tabular-nums; text-decoration:underline;
          text-underline-offset:3px; cursor:pointer; white-space:nowrap; }
.lsv-trc:hover { color:#0F3E92; text-decoration-thickness:2px; }
.lsv-trc:focus-visible { outline:2px solid var(--ta-primary); outline-offset:2px; border-radius:3px; }
.lsv-trc-plain { font-variant-numeric:tabular-nums; white-space:nowrap; }
/* 구성 열이 들어간 목록 - 열이 많아 칸 좌우 여백을 줄인다(상장접수·경매편성·개찰) */
.lsv-tbl th, .lsv-tbl td { padding-left:6px !important; padding-right:6px !important; }
.lsv-tbl .lsv-trc, .lsv-tbl .lsv-trc-plain, .lsv-tbl .lsv-age { font-size:12.5px; }
.lsv-tbl .ta-status, .lsv-tbl .ta-badge-type { white-space:nowrap; }   /* 상태 알약은 줄바꿈하지 않는다 */
/* 미경산·칡소·친환경 - 항목명 + 여/부(정보 표시) */
.lsv-flags { display:flex; flex-direction:column; align-items:flex-start; gap:3px; font-size:12px; white-space:nowrap; }
/* 체크 표시(정보일 뿐 - 누를 수 없음): 해당은 초록 ✓ 칸 + 진한 글씨, 아님은 빈 칸 + 흐린 글씨 */
.lsv-yn { display:inline-flex; align-items:center; gap:5px; cursor:default; }
.lsv-yn .mk { flex:none; width:14px; height:14px; border-radius:4px; border:1.5px solid #C5CCD6; background:#fff;
             display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:900; line-height:1; color:#fff; }
.lsv-yn .k { color:#9AA3AF; }
.lsv-yn.Y .mk { background:#16A34A; border-color:#16A34A; }
.lsv-yn.Y .k { color:var(--ta-text); font-weight:700; }
.lsv-yn.MIX .mk { background:#F59E0B; border-color:#F59E0B; }
.lsv-yn.MIX .k { color:var(--ta-text); font-weight:700; }
.lsv-yn .part { font-size:10.5px; font-weight:800; color:#B4690E; }
.lsv-yn.NA .mk { border-style:dashed; background:#F3F4F6; }
/* 정산 진행 단계(가로 체크, TA.stlmSteps 2026-10-23) - 상태 표시라 누를 수 없다 */
.ta-steps { display:flex; align-items:flex-start; gap:0; margin:0; padding:0; list-style:none; cursor:default; }
.ta-step { position:relative; flex:1 1 0; min-width:46px; display:flex; flex-direction:column; align-items:center; text-align:center; }
.ta-step + .ta-step::before { content:""; position:absolute; top:9px; right:50%; width:100%; height:2px; background:#D5DBE3; z-index:0; }
.ta-step.is-done + .ta-step::before, .ta-step.is-done + .ta-step.is-done::before { background:#16A34A; }
.ta-step .dot { position:relative; z-index:1; width:20px; height:20px; border-radius:50%; border:2px solid #C5CCD6; background:#fff;
  color:#fff; font-size:11px; font-weight:900; line-height:16px; text-align:center; box-sizing:border-box; }
.ta-step .nm { margin-top:3px; font-size:11px; font-weight:700; color:#8A94A3; white-space:nowrap; }
.ta-step .sb { font-size:10px; font-weight:800; white-space:nowrap; }
.ta-step.is-done .dot { background:#16A34A; border-color:#16A34A; }
.ta-step.is-done .nm { color:#166534; }
.ta-step.is-now .dot { border-color:#1B5FB0; box-shadow:0 0 0 3px rgba(27,95,176,.18); }
.ta-step.is-now .nm { color:#1B4F8A; }
.ta-step.is-now .sb { color:#1B5FB0; }
.ta-step.is-hold .dot { background:#F59E0B; border-color:#F59E0B; }
.ta-step.is-hold .nm, .ta-step.is-hold .sb { color:#B4690E; }
.ta-step.is-cncl .dot { background:#C0142C; border-color:#C0142C; }
.ta-step.is-cncl .nm, .ta-step.is-cncl .sb { color:#C0142C; }
.ta-step.is-off { opacity:.4; }
.ta-step.is-off .nm { text-decoration:line-through; }
.ta-steps.is-sm .ta-step { min-width:38px; }
.ta-steps.is-sm .ta-step .nm { font-size:10.5px; }

/* 여러 이력의 값이 서로 다를 때 '-' (2026-10-23) */
.lsv-mdash { cursor:help; border-bottom:1px dotted #C5CCD6; }
/* 기본구성별 최저입찰가 - 세트·결합(상장 최저입찰가 아래) */
.lsv-cprc { margin-top:6px; padding-top:5px; border-top:1px dashed var(--ta-border); font-size:11.5px; line-height:1.55; }
.lsv-cprc .hd { font-weight:800; color:var(--ta-text-sub); font-size:11px; }
.lsv-cprc .ln { display:flex; gap:8px; justify-content:space-between; white-space:nowrap; }
.lsv-cprc .ln .nm { overflow:hidden; text-overflow:ellipsis; max-width:120px; }
.lsv-cprc .ln .p { font-variant-numeric:tabular-nums; }
/* 부위·중량 펼침(재고 단위, 2026-10-23) */
.pw-open { white-space:nowrap; }
.pw-open .pw-pl { margin:0 4px; color:var(--ta-text-sub); font-weight:700; }
.pw-tg { width:20px; height:20px; margin-left:6px; padding:0; border:1px solid #B8C4D2; border-radius:6px; background:#fff; color:#1B4F8A;
  font-size:13px; font-weight:800; line-height:1; cursor:pointer; vertical-align:middle; box-shadow:0 1px 1px rgba(16,24,40,.06); }
.pw-tg:hover { background:#EEF4FB; border-color:#1B5FB0; }
.pw-tg[aria-expanded="true"] { background:#1B5FB0; border-color:#1B5FB0; color:#fff; }
.lsv-dt { white-space:nowrap; line-height:1.7; }
.lsv-dt .lsv-k { display:inline-block; margin-right:4px; padding:0 5px; border-radius:4px; background:#EEF1F5; color:#4A5565; font-size:10.5px; font-weight:700; }
.lsv-dt .ta-kpng { margin-right:4px; }
.lsv-term-over { color:var(--ta-danger,#B42318); font-weight:700; }
/* 펼침 행 */
tr.lsv-sub > td { padding:0 10px 12px 14px; background:#F7F9FC; }
tr.lsv-open > td { background:#F7F9FC; border-bottom-color:transparent; }
.lsv-subwrap { border:1px solid #DDE3EB; border-radius:10px; overflow:auto; background:#fff; }
.lsv-subtbl { width:100%; border-collapse:collapse; font-size:12.5px; }
.lsv-subtbl th { padding:7px 10px; background:#F1F4F8; color:#4A5565; font-weight:700; text-align:left; white-space:nowrap; }
.lsv-subtbl th small { font-weight:500; color:var(--ta-text-sub); }
.lsv-subtbl td { padding:7px 10px; border-top:1px solid #EEF1F5; vertical-align:top; }
.lsv-subtbl .lsv-parts { min-width:220px; }
/* 이력번호 상세 창 - 응찰 화면 상세 카드와 같은 모양 */
.lsv-carcs-modal { width:600px; }
.lsv-carcs { border:1px solid var(--ta-border); border-radius:12px; overflow:hidden; }
.lsv-carcs-hd { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:11px 14px; background:var(--ta-panel); border-bottom:1px solid var(--ta-border); }
.lsv-carcs-hd .who { font-size:12px; color:var(--ta-text-sub); }
.lsv-carcs-hd .no { font-weight:800; font-size:15px; letter-spacing:.3px; }
.lsv-info-badge { border:1px solid #E9A8AD; color:#C0303B; background:#FDF2F3; border-radius:999px; padding:3px 11px; font-size:12px; font-weight:700;
                 text-decoration:none; white-space:nowrap; cursor:pointer; }
.lsv-info-badge:hover { background:#FBE6E8; }
/* 등급·육량 - 상세 창 맨 위에 크게(정보 표시) */
.lsv-grdbar { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--ta-border); }
.lsv-grdbar .g { display:flex; align-items:baseline; gap:10px; padding:12px 14px; cursor:default; }
.lsv-grdbar .g + .g { border-left:1px solid #EEF1F4; }
.lsv-grdbar .k { font-size:13px; font-weight:700; color:var(--ta-text-sub); }
.lsv-grdbar .v { font-size:26px; font-weight:900; color:var(--ta-primary); letter-spacing:-.5px; line-height:1.1; }
.lsv-grdbar .v .lsv-dim { font-size:14px; font-weight:600; }
.lsv-krow { display:grid; grid-template-columns:96px 1fr; }
.lsv-krow > div { padding:9px 14px; border-bottom:1px solid #EEF1F4; font-size:14px; }
.lsv-krow .k { color:var(--ta-text-sub); background:#FBFCFD; }
.lsv-krow .v { font-weight:600; word-break:keep-all; }
.lsv-krow .v .note { color:var(--ta-text-sub); font-weight:400; font-size:12px; margin-left:6px; }
.lsv-carcs-sub { padding:9px 14px 4px; font-size:12px; font-weight:800; }
.lsv-carcs-sub span { font-weight:500; color:var(--ta-text-sub); margin-left:4px; }
.lsv-carcs-grid { display:grid; grid-template-columns:repeat(2, 1fr); background:var(--ta-panel); }
.lsv-carcs-grid > div { display:grid; grid-template-columns:76px 1fr; padding:8px 14px; border-bottom:1px solid #EDEFF2; font-size:14px; }
.lsv-carcs-grid .k { color:var(--ta-text-sub); }
.lsv-cuts { padding:8px 14px; }
.lsv-cut { display:flex; align-items:center; gap:8px; flex-wrap:wrap; padding:6px 0; border-bottom:1px dashed var(--ta-border); font-size:13px; }
.lsv-cut:last-child { border-bottom:none; }
.lsv-cut .part { font-weight:700; }
.lsv-cut .w { color:var(--ta-text-sub); }
.lsv-grade { display:inline-block; padding:1px 7px; border-radius:7px; background:#F1F5F9; font-weight:800; font-size:12px; cursor:default; }
@media (max-width:640px) {
  .lsv-carcs-modal { width:auto; }
  .lsv-krow { grid-template-columns:84px 1fr; }
  .lsv-carcs-grid { grid-template-columns:1fr; }
}
/* 세트·결합 색 줄 범례(목록 설명 옆) */
.lsv-legend { display:inline-flex; align-items:center; gap:4px; margin-left:8px; font-size:11.5px; color:var(--ta-text-sub); }
.lsv-lg { display:inline-block; width:4px; height:12px; border-radius:2px; margin-left:6px; }
.lsv-lg-set { background:#F2A7A7; }
.lsv-lg-cmb { background:#9CBDEB; }

/* 사이드 메뉴 하위 항목(재고관리 아래 재고 엑셀 등록·엑셀 양식 설정, 2026-10-22) - 들여 쓰고 작게 */
.ta-nav-item.ta-nav-sub { padding-left: 30px; font-size: 13px; position: relative; }
.ta-nav-item.ta-nav-sub::before { content: ""; position: absolute; left: 18px; top: 50%; width: 6px; height: 1px; background: currentColor; opacity: .5; }

/* =====================================================================
 * 공용 검색바 · 목록 표 (2026-10-27 요청 - 모든 화면 같은 모양). 동작은 js/common/searchBar.js(TA.sbar·TA.seg·TA.colPick·TA.pager)
 *  검색 카드 .ta-sb : 라벨 위 · 칸 아래로 한 줄(검색 · 구분 단추 · 기간 · 빠른 조건) + 오른쪽 [초기화][상세 검색 n][저장한 조건]
 *                     · 태그 줄(지금 걸린 조건, ×) · 상세 검색 칸(.ta-sb-detail - 묶음 제목 + 4칸 격자)
 *  목록 카드 .ta-lc : 제목 · 건수 · [표시 항목 n/m] / 표(.ta-gtbl) / 아래 쪽 나눔(.ta-pg)
 *  버튼(누를 수 있음)은 둥근 사각·테두리·hover, 상태·태그(정보)는 납작한 칩 - UiGuideline 그대로.
 * ===================================================================== */
:root { --ta-sb-acc: var(--ta-primary); --ta-sb-acc-bg: #EEF3FC; --ta-sb-line: #D5DBE3; --ta-sb-soft: #EAECF0; }
.ta-sb { margin: 0 0 12px; padding: 16px 20px; border: 1px solid var(--ta-sb-soft); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.ta-sb-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; }
.ta-sb-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ta-sb-lb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #344054; line-height: 1; }
.ta-sb-lb .sub { font-weight: 500; color: #98A2B3; font-size: 11.5px; }
.ta-sb-vr { align-self: stretch; width: 1px; background: var(--ta-sb-soft); margin: 0 -4px; }
.ta-sb .ta-input, .ta-sb select.ta-input { height: 40px; border-radius: 8px; border-color: var(--ta-sb-line); }
/* 검색칸 - 돋보기 */
.ta-sb-q { position: relative; display: block; }
.ta-sb-q .ta-input { width: 100%; padding-left: 36px !important; }
.ta-sb-q > .ta-ip-wrap { display: block; width: 100%; }
.ta-sb-q::before { content: ""; position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; margin-top: -8px; pointer-events: none; z-index: 1; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23283142' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 구분 단추(TA.seg) */
.ta-sb-seg { display: inline-flex; height: 40px; border: 1px solid var(--ta-sb-line); border-radius: 8px; background: #fff; overflow: hidden; }
.ta-sb-seg button { min-width: 56px; padding: 0 14px; border: 0; border-left: 1px solid var(--ta-sb-line); background: transparent; color: #344054;
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ta-sb-seg button:first-child { border-left: 0; }
.ta-sb-seg button:hover { background: #F5F7FA; }
.ta-sb-seg button.active { background: var(--ta-sb-acc); color: #fff; font-weight: 800; }
.ta-sb-seg button:focus-visible, .ta-sb-pills button:focus-visible { outline: 2px solid var(--ta-sb-acc); outline-offset: -2px; }
/* 고르는 알약(상세 검색) */
.ta-sb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ta-sb-pills button { min-width: 64px; height: 38px; padding: 0 16px; border: 1px solid var(--ta-sb-line); border-radius: 999px; background: #fff; color: #344054;
  font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 1px rgba(16,24,40,.04); }
.ta-sb-pills button:hover { border-color: #98A2B3; }
.ta-sb-pills button.active { border-color: var(--ta-sb-acc); background: var(--ta-sb-acc); color: #fff; font-weight: 800; }
/* 기간(TA.rangePick, quick:[]) - 검색바 안에서는 빠른 단추 줄 없이 칸 하나 */
.ta-sb .ta-rp-field { margin-top: 0; }
.ta-sb .ta-rp-input { height: 40px; min-width: 250px; border-radius: 8px; border-color: var(--ta-sb-line); text-align: center; }
.ta-sb .ta-rp.is-off .ta-rp-input { background: #F2F4F7; color: #98A2B3; }
/* 빠른 조건 칩(눌러 켜고 끔) */
.ta-sb-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; align-items: center; }
.ta-sb-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--ta-sb-line); border-radius: 999px;
  background: #fff; color: #344054; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ta-sb-chip:hover { border-color: #98A2B3; }
.ta-sb-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #98A2B3; }
.ta-sb-chip .n { color: #98A2B3; font-weight: 700; font-size: 11.5px; }
.ta-sb-chip.on { border-color: var(--ta-sb-acc); background: var(--ta-sb-acc-bg); color: var(--ta-sb-acc); }
.ta-sb-chip.on .dot { background: var(--ta-sb-acc); }
.ta-sb-chip.on .n { color: var(--ta-sb-acc); }
/* 오른쪽 도구 */
.ta-sb-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; align-self: flex-end; }
.ta-sb-reset { height: 40px; padding: 0 10px; border: 0; background: transparent; color: #344054; font-size: 13.5px; font-weight: 700; cursor: pointer; border-radius: 8px; }
.ta-sb-reset:hover { background: #F2F4F7; }
.ta-sb-reset.is-dim { color: #98A2B3; }
.ta-sb-dbtn, .ta-sb-sbtn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--ta-sb-line); border-radius: 8px;
  background: #fff; color: #344054; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.ta-sb-dbtn { border-color: var(--ta-sb-acc); color: var(--ta-sb-acc); }
.ta-sb-dbtn:hover, .ta-sb-sbtn:hover { background: #F5F7FA; }
.ta-sb-dbtn.on { background: var(--ta-sb-acc-bg); }
.ta-sb-dbtn .ico { width: 14px; height: 10px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.ta-sb-dbtn .ico::after { content: ""; position: absolute; left: 3px; right: 3px; top: 2px; border-top: 2px solid currentColor; }
.ta-sb-dbtn .n { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--ta-sb-acc); color: #fff; font-size: 11px; }
.ta-sb-dbtn .n[hidden] { display: none; }
.ta-sb-dbtn .car { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 0 0 2px; }
.ta-sb-dbtn.on .car { transform: rotate(-135deg); margin: 3px 0 0 2px; }
.ta-sb-sbtn .star { font-size: 15px; line-height: 1; }
.ta-sb-saved, .ta-lc-colw { position: relative; display: inline-block; }
.ta-sb-menu { position: absolute; z-index: 70; top: calc(100% + 6px); right: 0; min-width: 260px; max-width: 340px; padding: 8px 0; border: 1px solid var(--ta-sb-soft);
  border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(16,24,40,.14); font-size: 13px; }
.ta-sb-menu[hidden] { display: none; }
.ta-sb-menu .hd { padding: 4px 14px 8px; font-size: 11.5px; color: #667085; }
.ta-sb-menu .none { padding: 6px 14px 10px; color: #98A2B3; font-size: 12.5px; }
.ta-sb-menu .it { display: flex; align-items: center; }
.ta-sb-menu .it .ap { flex: 1; min-width: 0; padding: 9px 14px; border: 0; background: transparent; text-align: left; font-size: 13px; color: #1D2939; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-sb-menu .it:hover { background: #F5F7FA; }
.ta-sb-menu .it .del { width: 30px; height: 30px; margin-right: 6px; border: 0; border-radius: 6px; background: transparent; color: #98A2B3; font-size: 16px; cursor: pointer; }
.ta-sb-menu .it .del:hover { background: #EAECF0; color: #344054; }
.ta-sb-menu .add { display: block; width: 100%; margin-top: 4px; padding: 10px 14px 6px; border: 0; border-top: 1px solid var(--ta-sb-soft); background: transparent;
  text-align: left; color: var(--ta-sb-acc); font-size: 13px; font-weight: 700; cursor: pointer; }
.ta-sb-menu .ck { display: flex; align-items: center; gap: 8px; padding: 7px 14px; cursor: pointer; }
.ta-sb-menu .ck:hover { background: #F5F7FA; }
.ta-lc-colmenu { max-height: 360px; overflow: auto; }
/* 지금 걸린 조건(태그 - 정보, ×만 누름) */
.ta-sb-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
/* 둘째 줄 - 왼쪽 지금 걸린 조건, 오른쪽 [초기화][상세 검색][저장한 조건] */
.ta-sb-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.ta-sb-bar > .ta-sb-tags { flex: 1 1 auto; min-width: 0; margin-top: 0; }
.ta-sb-bar > .ta-sb-tools { align-self: center; }
.ta-sb-tag { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 4px 0 9px; border: 1px solid var(--ta-sb-soft); border-radius: 6px;
  background: #F9FAFB; color: #475467; font-size: 12px; cursor: default; }
.ta-sb-tag b { color: var(--ta-sb-acc); font-weight: 800; }
.ta-sb-tag .x { width: 20px; height: 20px; border: 0; border-radius: 4px; background: transparent; color: #667085; font-size: 14px; line-height: 1; cursor: pointer; }
.ta-sb-tag .x:hover { background: #EAECF0; color: #1D2939; }
.ta-sb-none { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; color: #B54708; font-size: 12.5px; font-weight: 700; }
.ta-sb-none .dot { width: 7px; height: 7px; border-radius: 50%; background: #F79009; }
/* 상세 검색 */
.ta-sb-detail { margin-top: 14px; padding: 14px 18px 12px; border: 1px solid var(--ta-sb-soft); border-radius: 12px; background: #F9FAFB; }
.ta-sb-detail[hidden] { display: none; }
.ta-sb-sec { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; color: var(--ta-sb-acc); font-size: 13.5px; font-weight: 800; }
.ta-sb-sec::after { content: ""; flex: 1; height: 1px; background: var(--ta-sb-soft); }
.ta-sb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; margin-bottom: 14px; }
.ta-sb-grid > .ta-sb-f.w2 { grid-column: span 2; }
.ta-sb-grid > .ta-sb-f.w4 { grid-column: 1 / -1; }
.ta-sb-range { display: flex; align-items: center; gap: 8px; }
.ta-sb-range .ta-input { flex: 1; min-width: 0; }
.ta-sb-range .u { color: #667085; font-size: 12px; }
.ta-sb-dfoot { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--ta-sb-soft); }
.ta-sb-dfoot .note { color: #667085; font-size: 12px; }
.ta-sb-dfoot .sp { flex: 1; }
.ta-sb-link { border: 0; background: transparent; color: var(--ta-sb-acc); font-size: 12.5px; font-weight: 700; cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.ta-sb-link:hover { background: var(--ta-sb-acc-bg); }

/* 목록 카드 */
.ta-lc { margin-top: 12px; border: 1px solid var(--ta-sb-soft); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.ta-lc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 20px 12px; }
.ta-lc-title { font-size: 16px; font-weight: 800; color: #101828; }
.ta-lc-cnt { font-size: 12.5px; color: #667085; }
.ta-lc-cnt b { color: var(--ta-sb-acc); font-weight: 800; }
.ta-lc-legend { display: inline-flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #667085; }
.ta-lc-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }
.ta-lc-sp { flex: 1; }
.ta-lc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ta-lc-cols { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--ta-sb-line); border-radius: 8px; background: #fff;
  color: #344054; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.ta-lc-cols:hover { background: #F5F7FA; }
.ta-lc-cols .ico { width: 14px; height: 11px; border: 1.6px solid currentColor; border-radius: 2px; position: relative; }
.ta-lc-cols .ico::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; right: 3px; border-left: 1.6px solid currentColor; border-right: 1.6px solid currentColor; }
.ta-lc-cols .n b { color: #101828; }
.ta-lc-desc { padding: 0 20px 10px; margin: -4px 0 0; font-size: 12px; color: #667085; }
.ta-lc-body { padding: 0 16px; }
.ta-lc-body .ta-table-scroll, .ta-lc-body .iv-table-wrap { border: 1px solid var(--ta-sb-soft); border-radius: 10px; }
/* 표 - 회색 머리 · 가운데 · 세로줄 */
.ta-table.ta-gtbl { border-collapse: separate; border-spacing: 0; }
.ta-table.ta-gtbl > thead > tr > th { height: 46px; padding: 8px 10px; background: #F8F9FB; color: #344054; font-size: 12.5px; font-weight: 800; text-align: center;
  border-bottom: 1px solid var(--ta-sb-soft); border-left: 1px solid var(--ta-sb-soft); }
.ta-table.ta-gtbl > tbody > tr > td { height: 44px; padding: 7px 10px; font-size: 13px; color: #1D2939; text-align: center;
  border-bottom: 1px solid #F2F4F7; border-left: 1px solid #F2F4F7; }
.ta-table.ta-gtbl > thead > tr > th:first-child, .ta-table.ta-gtbl > tbody > tr > td:first-child { border-left: 0; }
.ta-table.ta-gtbl > tbody > tr:last-child > td { border-bottom: 0; }
.ta-table.ta-gtbl > tbody > tr:hover > td { background: #F9FAFB; }
.ta-table.ta-gtbl td.l, .ta-table.ta-gtbl th.l { text-align: left; }
.ta-table.ta-gtbl td.r, .ta-table.ta-gtbl th.r { text-align: right; }
.ta-pg-off { display: none !important; }
/* 쪽 나눔 */
.ta-pg { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 14px 20px 16px; font-size: 12.5px; color: #667085; }
.ta-pg .sum b { color: #101828; }
.ta-pg .nav { display: inline-flex; gap: 4px; }
.ta-pg .nav button { min-width: 32px; height: 32px; padding: 0 6px; border: 0; border-radius: 7px; background: transparent; color: #667085; font-size: 13px; font-weight: 700; cursor: pointer; }
.ta-pg .nav button:hover:not(:disabled) { background: #F2F4F7; color: #101828; }
.ta-pg .nav button.on { background: var(--ta-sb-acc); color: #fff; }
.ta-pg .nav button:disabled { opacity: .35; cursor: default; }
.ta-pg .sz { justify-self: end; display: inline-flex; align-items: center; gap: 0; }
.ta-pg .sz .lb { margin: 0 8px; }
.ta-pg .sz button { min-width: 38px; height: 30px; border: 1px solid var(--ta-sb-line); margin-left: -1px; background: #fff; color: #344054; font-size: 12px; font-weight: 700; cursor: pointer; }
.ta-pg .sz button:first-of-type { border-radius: 6px 0 0 6px; }
.ta-pg .sz button:last-of-type { border-radius: 0 6px 6px 0; }
.ta-pg .sz button.on { position: relative; z-index: 1; border-color: var(--ta-sb-acc); background: var(--ta-sb-acc-bg); color: var(--ta-sb-acc); }
@media (max-width: 1100px) { .ta-sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ta-sb { padding: 14px; }
  .ta-sb-row { gap: 12px; }
  .ta-sb-f { flex: 1 1 100%; }
  .ta-sb-vr { display: none; }
  .ta-sb .ta-rp-input { min-width: 0; }
  .ta-sb-tools { margin-left: 0; flex-wrap: wrap; width: 100%; }
  .ta-sb-tools { flex-wrap: nowrap; }
  .ta-sb-tools .ta-sb-dbtn, .ta-sb-tools .ta-sb-saved { flex: 1; }
  .ta-sb-tools .ta-sb-dbtn, .ta-sb-tools .ta-sb-sbtn { width: 100%; justify-content: center; padding: 0 10px; }
  .ta-sb-menu { right: auto; left: 0; }
  .ta-sb-grid { grid-template-columns: 1fr; }
  .ta-sb-dfoot { flex-wrap: wrap; }
  .ta-lc-head { padding: 14px 14px 10px; }
  .ta-lc-body { padding: 0 10px; }
  .ta-pg { grid-template-columns: 1fr; justify-items: center; padding: 12px; }
  .ta-pg .sz { justify-self: center; }
}
/* 달력 요일 색(일 빨강 · 토 파랑) */
.ta-rp-grid.d .w:nth-child(7n+1) { color: #D92D20; }
.ta-rp-grid.d .w:nth-child(7n) { color: #1570EF; }

/* 표시 항목 패널(TA.colPick) - 개수 · 빠른 보기 · 찾기 · 끌어서 순서 · 잠금 · 내보내기 · 기본값 */
.ta-cp-pop { position: absolute; z-index: 70; top: calc(100% + 6px); right: 0; width: 320px; max-width: calc(100vw - 24px); border: 1px solid var(--ta-sb-soft);
  border-radius: 12px; background: #fff; box-shadow: 0 14px 32px rgba(16,24,40,.16); font-size: 13px; text-align: left; }
.ta-cp-pop[hidden] { display: none; }
.ta-cp-pop .hd { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px 16px; border-bottom: 1px solid var(--ta-sb-soft); }
.ta-cp-pop .hd b { font-size: 14px; color: #101828; }
.ta-cp-pop .hd .cnt { margin-left: auto; color: #667085; font-size: 12px; }
.ta-cp-pop .hd .x { width: 26px; height: 26px; border: 0; border-radius: 6px; background: transparent; color: #667085; font-size: 18px; line-height: 1; cursor: pointer; }
.ta-cp-pop .hd .x:hover { background: #F2F4F7; color: #101828; }
.ta-cp-pop .lb { padding: 12px 16px 6px; font-size: 11.5px; color: #667085; }
.ta-cp-pop .vw { display: flex; margin: 0 16px; height: 36px; }
.ta-cp-pop .vw button { flex: 1; min-width: 0; padding: 0 6px; font-size: 12.5px; }
.ta-cp-pop .srch { display: flex; align-items: center; gap: 6px; padding: 12px 16px 6px; }
.ta-cp-pop .srch .ta-sb-q { flex: 1; }
.ta-cp-pop .srch .ta-input { height: 34px; font-size: 12.5px; }
.ta-cp-pop .list { list-style: none; margin: 0; padding: 4px 8px; max-height: 300px; overflow: auto; }
.ta-cp-pop .list li { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 8px 0 4px; border-radius: 8px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.ta-cp-pop .list li:hover { background: #F5F7FA; }
.ta-cp-pop .list li label { flex: 1; display: flex; align-items: center; gap: 8px; cursor: pointer; color: #1D2939; }
.ta-cp-pop .list li input { width: 16px; height: 16px; accent-color: var(--ta-sb-acc); }
.ta-cp-pop .list li .grip { width: 14px; color: #B0B8C4; font-size: 13px; cursor: grab; text-align: center; }
.ta-cp-pop .list li.is-lock label { color: #98A2B3; cursor: default; }
.ta-cp-pop .list li .lock { color: #98A2B3; display: inline-flex; }
.ta-cp-pop .list li.is-drag { opacity: .45; }
.ta-cp-pop .list li.is-over-t { border-top-color: var(--ta-sb-acc); }
.ta-cp-pop .list li.is-over-b { border-bottom-color: var(--ta-sb-acc); }
.ta-cp-pop .list li.none { color: #98A2B3; padding: 8px 12px; }
.ta-cp-pop .ft { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 16px; border-top: 1px solid var(--ta-sb-soft); font-size: 12px; color: #475467; }
.ta-cp-pop .ft label { flex: 1; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ta-cp-pop .ft .js-def { color: #344054; }

/* 통계 박스(.ta-summary) - 흰 카드 · 작은 이름 · 큰 숫자 + 작은 단위 · 아래 보조 줄(2026-10-27, 모든 화면 공통) */
.ta-summary { gap: 12px; margin-bottom: 12px; }
.ta-summary-card { padding: 16px 20px 15px; border: 1px solid var(--ta-sb-soft); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.ta-summary-label { font-size: 12.5px; font-weight: 500; color: #475467; }
.ta-summary-label small { font-size: 11px; color: #98A2B3; }
.ta-summary-value { margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: #101828; }
.ta-summary-value .unit { margin-left: 3px; font-size: 13px; font-weight: 600; color: #475467; }
.ta-summary-value.is-good, .ta-summary-card.is-good .ta-summary-value { color: #15803D; }
.ta-summary-value.is-acc, .ta-summary-card.is-acc .ta-summary-value { color: var(--ta-sb-acc); }
.ta-summary-sub { margin-top: 6px; font-size: 12px; color: #667085; }
.ta-summary-sub b { color: #344054; font-weight: 700; }
.ta-summary-sub .up { color: #15803D; font-weight: 800; }
.ta-summary-sub .dn { color: #D92D20; font-weight: 800; }
.ta-summary-card.is-selected { background: var(--ta-sb-acc-bg); border-color: var(--ta-sb-acc); }
@media (max-width: 760px) { .ta-summary-card { padding: 12px 14px; } .ta-summary-value { font-size: 21px; } }

/* ===== 모바일 시트(2026-10-27) - 달력·상세 검색은 화면 아래에서 올라오는 시트 + 어둡게 깐 바탕 ===== */
html.ta-sheet-lock, html.ta-sheet-lock body { overflow: hidden; }
.ta-rp-dim, .ta-rp-shd, .ta-sb-shd, .ta-sb-stags, .ta-sb-sft { display: none; }
.ta-sb-dim { position: fixed; inset: 0; z-index: 1090; background: rgba(16,24,40,.45); }
.ta-sb-dim[hidden] { display: none; }
@media (max-width: 760px) {
  /* 달력 */
  .ta-rp.is-open .ta-rp-dim { display: block; position: fixed; inset: 0; z-index: 1090; background: rgba(16,24,40,.45); }
  .ta-rp-pop { position: fixed; z-index: 1100; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 88vh;
    flex-direction: column; overflow: hidden; border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -8px 30px rgba(16,24,40,.22); }
  .ta-rp-shd { display: flex; align-items: center; padding: 16px 16px 6px 20px; font-size: 16px; }
  .ta-rp-shd b { flex: 1; color: #101828; }
  .ta-rp-shd button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; color: #475467; cursor: pointer; }
  .ta-rp-side { width: auto; flex-direction: row; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding: 6px 16px 12px; border-right: 0; border-bottom: 1px solid #EEF1F5; }
  .ta-rp-side button { flex: none; height: 32px; padding: 0 12px; border: 1px solid var(--ta-sb-line); border-radius: 999px; background: #fff; font-size: 12.5px; }
  .ta-rp-side button.on { border-color: var(--ta-sb-acc); }
  .ta-rp-main { display: flex; flex-direction: column; min-height: 0; padding: 10px 16px 0; }
  .ta-rp-cals { grid-template-columns: 1fr; overflow-y: auto; min-height: 0; padding-bottom: 6px; }
  .ta-rp-grid.d button { height: 38px; font-size: 14px; }
  .ta-rp-foot { flex-wrap: wrap; margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; }
  .ta-rp-foot .js-rp-ok { height: 40px; padding: 0 22px; font-size: 14px; }
  /* 상세 검색 */
  .ta-sb-detail:not([hidden]) { position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; max-height: 86vh;
    margin: 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -8px 30px rgba(16,24,40,.22); }
  .ta-sb-detail .ta-sb-shd { display: flex; align-items: center; padding: 18px 16px 8px 20px; }
  .ta-sb-detail .ta-sb-shd b { flex: 1; font-size: 17px; color: #101828; }
  .ta-sb-detail .ta-sb-shd .x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; color: #475467; cursor: pointer; }
  .ta-sb-detail .ta-sb-stags { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 20px 8px; }
  .ta-sb-detail .ta-sb-sbody { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 20px 12px; }
  .ta-sb-detail .ta-sb-sec { margin: 10px 0 8px; color: #101828; font-size: 14px; }
  .ta-sb-detail .ta-sb-sec::after { display: none; }
  .ta-sb-detail .ta-sb-grid { gap: 12px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ta-sb-soft); }
  .ta-sb-detail .ta-sb-pills button { min-width: 0; height: 34px; padding: 0 13px; font-size: 12.5px; }
  .ta-sb-detail .ta-sb-dfoot { display: none; }
  .ta-sb-detail .ta-sb-sft { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ta-sb-soft); }
  .ta-sb-sreset { flex: none; height: 48px; padding: 0 18px; border: 1px solid var(--ta-sb-line); border-radius: 12px; background: #fff; color: #344054; font-size: 14px; font-weight: 700; cursor: pointer; }
  .ta-sb-sview { flex: 1; height: 48px; border: 0; border-radius: 12px; background: var(--ta-sb-acc); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 2px 6px rgba(21,79,181,.25); }
  .ta-sb-sview:active, .ta-sb-sreset:active { transform: translateY(1px); }
}

/* ===== 상세 창(.ta-modal.ta-dv, 2026-10-27 참고 화면) - 작은 머리글(분류·상태) + 큰 제목 · 밑줄 탭 · '항목 | 값' 표 · 아래 요약 줄 =====
 *  쓰는 법: .ta-modal.ta-dv > .ta-dv-head(.meta/.ttl/.ta-dv-x) + .ta-dv-tabs(button[data-tab]) + .ta-modal-body.ta-dv-body(.ta-dv-bar, .ta-dv-pane[data-pane])
 *           + .ta-modal-foot.ta-dv-foot(.ta-dv-sum). 값 표는 .ta-dv-kv 안의 .ta-field(라벨 | 값) 또는 table.ta-dv-tbl */
.ta-modal.ta-dv { border-radius: 16px; padding: 0; }
.ta-dv-head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 14px 24px; }
.ta-dv-head .l { flex: 1; min-width: 0; }
.ta-dv-head .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: #475467; }
.ta-dv-head .ttl { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 22px; font-weight: 800; color: #101828; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ta-dv-head .ttl .dot { width: 9px; height: 9px; border-radius: 50%; background: #98A2B3; flex: none; }
.ta-dv-head .ttl .dot.is-on { background: #16A34A; }
.ta-dv-x { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #475467; font-size: 22px; line-height: 1; cursor: pointer; }
.ta-dv-x:hover { background: #F2F4F7; color: #101828; }
.ta-dv-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--ta-sb-soft); overflow-x: auto; }
.ta-dv-tabs button { position: relative; flex: none; height: 44px; padding: 0 14px; border: 0; background: transparent; color: #475467; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.ta-dv-tabs button:hover { color: #101828; }
.ta-dv-tabs button.on { color: var(--ta-sb-acc); font-weight: 800; }
.ta-dv-tabs button.on::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ta-sb-acc); }
.ta-dv-tabs button .n { margin-left: 2px; color: #98A2B3; font-size: 11.5px; font-weight: 700; }
.ta-dv-body { padding: 18px 24px; }
.ta-dv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 14px; }
.ta-dv-bar .ta-modal-sub { margin: 0; flex: 1; min-width: 200px; }
.ta-dv-mode { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ta-sb-acc-bg); color: var(--ta-sb-acc); font-size: 12px; font-weight: 800; cursor: default; }
.ta-dv-pane[hidden] { display: none !important; }
.ta-dv-kv { border: 1px solid var(--ta-sb-soft); border-radius: 12px; overflow: hidden; }
.ta-dv-kv .ta-field { display: grid !important; grid-template-columns: 128px minmax(0, 1fr); align-items: stretch; margin: 0 !important; border-bottom: 1px solid #F2F4F7; }
.ta-dv-kv .ta-field:last-child, .ta-dv-kv .iv-edit-grid > .ta-field:nth-last-child(-n+2) { border-bottom: 0; }
.ta-dv-kv > .ta-field:first-child { border-bottom: 1px solid #F2F4F7; }
.ta-dv-kv .ta-field-label { display: flex; align-items: center; margin: 0; padding: 0 14px; min-height: 48px; background: #F8F9FB; color: #344054; font-size: 12.5px; font-weight: 700; }
.ta-dv-kv .ta-field > .ta-input { align-self: center; width: auto; height: 36px; margin: 6px 12px; }
.ta-dv-kv .ta-input:disabled { border-color: transparent; background: transparent !important; color: #101828 !important; font-weight: 600; opacity: 1; -webkit-appearance: none; appearance: none; padding-left: 2px; }
table.ta-dv-tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ta-sb-soft); border-radius: 12px; overflow: hidden; font-size: 13px; }
table.ta-dv-tbl th { height: 42px; padding: 0 12px; background: #F8F9FB; color: #344054; font-weight: 800; text-align: center; border-bottom: 1px solid var(--ta-sb-soft); }
table.ta-dv-tbl td { height: 44px; padding: 6px 12px; text-align: center; border-bottom: 1px solid #F2F4F7; }
table.ta-dv-tbl tr:last-child td { border-bottom: 0; }
.ta-dv-foot { align-items: center; padding: 14px 24px 18px; border-top: 1px solid var(--ta-sb-soft); }
.ta-dv-sum { margin-right: auto; font-size: 12.5px; color: #667085; }
.ta-dv-sum b { color: #101828; }
@media (max-width: 760px) {
  .ta-dv-head { padding: 16px 14px 10px 18px; }
  .ta-dv-head .ttl { font-size: 19px; }
  .ta-dv-tabs { padding: 0 10px; }
  .ta-dv-body { padding: 14px 16px; }
  .ta-dv-kv .ta-field { grid-template-columns: 96px minmax(0, 1fr); }
  .ta-dv-foot { flex-wrap: wrap; padding: 12px 16px 14px; }
  .ta-dv-sum { flex: 1 1 100%; }
}

/* ===== 버튼 역할 색(2026-10-27 요청 - 관련 버튼은 같은 색) =====
 *  주 동작(저장·등록·신청) ta-btn-primary 파랑 채움 / 엑셀 올리기 ta-btn-excel 초록 채움 / 엑셀 내려받기 .ta-grid-excel·id 가 …Excel 인 단추 초록 테두리
 *  도구(새로고침·표시 항목·안내) 기본 .ta-btn(흰 바탕 회색 테두리) / 지우기 ta-btn-danger-ghost 빨강 테두리 / 행의 수정 ta-btn-primary-ghost 파랑 테두리 */
.ta-btn.ta-btn-excel { background: #1E7B45; border-color: #1E7B45; color: #fff; }
.ta-btn.ta-btn-excel:hover { background: #17653A; border-color: #17653A; color: #fff; }
.ta-btn.ta-grid-excel, .ta-btn[id$="Excel"], .ta-btn[id$="ExcelAll"] { background: #fff; border-color: #9CCFB0; color: #17683B; }
.ta-btn.ta-grid-excel:hover, .ta-btn[id$="Excel"]:hover, .ta-btn[id$="ExcelAll"]:hover { background: #EDF8F1; border-color: #1E7B45; color: #17683B; }
.ta-btn.ta-btn-excel::before, .ta-btn.ta-grid-excel::before, .ta-btn[id$="Excel"]::before, .ta-btn[id$="ExcelAll"]::before {
  content: ""; flex: none; width: 13px; height: 13px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M3.5 15h17M9.5 3.5v17'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='2.5'/%3E%3Cpath d='M3.5 9.5h17M3.5 15h17M9.5 3.5v17'/%3E%3C/svg%3E") center / contain no-repeat; }
.ta-btn.ta-btn-primary-ghost { background: #fff; border-color: #A9C1EA; color: var(--ta-primary); }
.ta-btn.ta-btn-primary-ghost:hover { background: #EEF3FC; border-color: var(--ta-primary); color: var(--ta-primary); }
.ta-btn.ta-btn-danger-ghost { background: #fff; }
.ta-btn.ta-btn-danger-ghost:disabled { border-color: var(--ta-sb-line); color: #98A2B3; opacity: 1; }
/* 목록 머리 도구 줄 - 모두 같은 높이·모서리 */
.ta-lc-tools .ta-btn, .ta-lc-tools .ta-lc-cols { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 12.5px; }

/* ===== 사진 크게 보기 새 모양(2026-10-27 참고 화면) - 위 어두운 막대(제목·출처 / n·안내 | − 배율 + · 화면 맞춤 · 원본 크기 · ×),
 *  뒤 화면이 비치는 반투명 바탕, 사진은 막대 아래 칸 가운데. 좌우·점·두 번 눌러 확대·끌기·Esc·키보드는 그대로 ===== */
.ta-ph-lb { background: rgba(9,12,18,.86); backdrop-filter: blur(2px); }
.ta-ph-lb-top { top: 0; height: auto; min-height: 64px; align-items: center; gap: 14px; padding: 10px 14px 10px 18px; padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(17,20,27,.96); border-bottom: 1px solid rgba(255,255,255,.08); pointer-events: auto; }
.ta-ph-lb.is-zoomed .ta-ph-lb-top { background: rgba(17,20,27,.96); }
.ta-ph-lb-track { top: calc(64px + env(safe-area-inset-top)); }
.ta-ph-lb-slide { padding: 14px 72px 44px; box-sizing: border-box; }
.ta-ph-lb-ttl { flex: 1; min-width: 0; }
.ta-ph-lb-ttl .t { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ta-ph-lb-ttl .s { margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-ph-lb .ta-ph-lb-tag { max-width: none; padding: 0; border-radius: 0; background: none; color: #fff; box-shadow: none; font-size: 16px; font-weight: 800; }
.ta-ph-lb.is-zoomed .ta-ph-lb-tag, .ta-ph-lb.is-zoomed #taPhLbSrc { opacity: 1; pointer-events: auto; }
.ta-ph-lb .ta-ph-src { padding: 2px 9px; font-size: 11.5px; line-height: 17px; }
.ta-ph-lb-zoom { display: flex; align-items: center; gap: 4px; }
.ta-ph-lb-zoom button { height: 34px; min-width: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,.72);
  font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ta-ph-lb-zoom button:hover:not(:disabled) { background: rgba(255,255,255,.1); color: #fff; }
.ta-ph-lb-zoom button:disabled { opacity: .3; cursor: default; }
.ta-ph-lb-zoom button.on { color: #fff; }
.ta-ph-lb-zoom .z-in, .ta-ph-lb-zoom .z-out { font-size: 20px; font-weight: 500; padding: 0; }
.ta-ph-lb-zoom .z-pct { min-width: 48px; text-align: center; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; cursor: default; }
.ta-ph-lb-zoom .z-fit { margin-left: 10px; }
.ta-ph-lb-x { flex: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 24px; }
.ta-ph-lb-nav { width: 46px; height: 46px; background: rgba(255,255,255,.14); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.ta-ph-lb-nav:hover { background: rgba(255,255,255,.26); }
.ta-ph-lb-nav { margin-top: calc(-23px + 32px); }
.ta-ph-lb-foot { padding: 0 14px 12px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); background: none; }
.ta-ph-lb-cnt { display: none; }
.ta-ph-lb-reset { display: none !important; }
.ta-ph-lb.is-zoomed .ta-ph-lb-foot { opacity: 0; }
@media (max-width: 760px) {
  .ta-ph-lb-top { gap: 8px; padding-left: 14px; }
  .ta-ph-lb .ta-ph-lb-tag { font-size: 14.5px; }
  .ta-ph-lb-zoom .z-in, .ta-ph-lb-zoom .z-out, .ta-ph-lb-zoom .z-1 { display: none; }
  .ta-ph-lb-zoom .z-fit { margin-left: 0; padding: 0 8px; font-size: 12.5px; }
  .ta-ph-lb-zoom .z-pct { min-width: 40px; font-size: 12px; }
  .ta-ph-lb-slide { padding: 8px 0 34px; }
  .ta-ph-lb-nav { background: rgba(0,0,0,.35); }
}

/* ===== 통계 박스 + 작은 그림(TA.kpi, 2026-10-27 참고 화면) - 왼쪽 이름·큰 숫자, 오른쪽 그림(쌓은 막대·도넛·막대 목록·줄) ===== */
.ta-summary-card.ta-kpi { display: flex; align-items: center; gap: 16px; min-height: 104px; }
.ta-kpi-main { flex: none; min-width: 96px; }
.ta-kpi-viz { flex: 1; min-width: 0; }
.ta-kpi-viz.row { display: flex; align-items: center; gap: 14px; }
.ta-kpi-stack { display: flex; gap: 3px; height: 8px; border-radius: 999px; overflow: hidden; background: #EEF1F5; }
.ta-kpi-stack i { display: block; height: 100%; }
.ta-kpi-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; margin-top: 12px; font-size: 12px; color: #344054; }
.ta-kpi-legend .it { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.ta-kpi-legend .it i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.ta-kpi-legend .it b { margin-left: auto; font-weight: 800; color: #101828; font-variant-numeric: tabular-nums; }
.ta-kpi-legend .it.is-zero { color: #98A2B3; }
.ta-kpi-legend .it.is-zero b { color: #98A2B3; }
.ta-kpi-donut { position: relative; flex: none; width: 70px; height: 70px; }
.ta-kpi-donut .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ta-kpi-donut .c b { font-size: 15px; font-weight: 800; color: #15803D; }
.ta-kpi-donut .c small { font-size: 9.5px; color: #98A2B3; }
.ta-kpi-rows { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ta-kpi-row { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: #475467; }
.ta-kpi-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-kpi-row b { margin-left: auto; color: #101828; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ta-kpi-row b.dn { color: #D92D20; }
.ta-kpi-row b.up { color: #15803D; }
.ta-kpi-bar { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 12px; color: #344054; }
.ta-kpi-bar + .ta-kpi-bar { margin-top: 7px; }
.ta-kpi-bar .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-kpi-bar .tr { height: 7px; border-radius: 999px; background: #EEF1F5; overflow: hidden; }
.ta-kpi-bar .tr i { display: block; height: 100%; border-radius: 999px; }
.ta-kpi-bar b { font-weight: 800; color: #101828; font-variant-numeric: tabular-nums; }
.ta-kpi-none { font-size: 12px; color: #98A2B3; }
/* 확인 필요(경고) - 걸리는 게 있으면 붉은 바탕, 없으면 초록 글씨 */
.ta-summary-card.is-warn { background: #FEF3F2; border-color: #FECDCA; }
.ta-summary-card.is-warn .ta-summary-value { color: #D92D20; }
.ta-summary-card.is-ok .ta-summary-value { color: #15803D; }
/* 1600px 아래(사이드 메뉴 + 4칸)에서는 그림이 눌려 겹치므로 이름·숫자 위, 그림 아래로(2026-10-28) */
@media (max-width: 1600px) { .ta-summary-card.ta-kpi { flex-direction: column; align-items: stretch; gap: 10px; } .ta-kpi-main { min-width: 0; } }
.ta-summary > .ta-summary-card { min-width: 0; }
@media (max-width: 760px) { .ta-kpi-legend { grid-template-columns: 1fr; } .ta-kpi-donut { width: 60px; height: 60px; } .ta-kpi-donut svg { width: 60px; height: 60px; } }
.ta-kpi-more { margin-top: 6px; font-size: 11.5px; color: #98A2B3; text-align: right; }
@media (max-width: 760px) { .ta-kpi-bar { grid-template-columns: 40px minmax(24px, 1fr) auto; gap: 6px; } }

/* ===== 개체 칩(TA.cattleChips) · 상태 흐름 체크(TA.invtStatus.flow/mix) - 2026-10-27 ===== */
.ta-ccs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.ta-cc { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid #D0D5DD; border-radius: 999px; background: #fff;
  font-size: 11.5px; font-weight: 700; color: #344054; white-space: nowrap; cursor: default; }
.ta-cc.sx-f { background: #FDF2FA; border-color: #FCCEEE; color: #C11574; }
.ta-cc.sx-m { background: #EFF8FF; border-color: #B2DDFF; color: #175CD3; }
.ta-cc.sx-c { background: #F4F3FF; border-color: #D9D6FE; color: #5925DC; }
.ta-cc.g1pp { background: #C01048; border-color: #C01048; color: #fff; }
.ta-cc.g1p { background: #FFF1F3; border-color: #FEA3B4; color: #C01048; }
.ta-cc.g1 { background: #FFF6ED; border-color: #FDDCAB; color: #C4320A; }
.ta-cc.g2 { background: #F0F9FF; border-color: #B9E6FE; color: #026AA2; }
.ta-cc.g3 { background: #F2F4F7; border-color: #D0D5DD; color: #475467; }
.ta-cc.gx { background: #F9FAFB; border-color: #D0D5DD; color: #667085; }
.ta-cc.is-miss { border-style: dashed; background: transparent; color: #98A2B3; font-weight: 600; }
/* 품종 칩(2026-11-16) - 한우 갈색 · 육우 초록 · 젖소 먹색 · 교잡우 주황 · 수입 등 회색. 성별 칩 앞(TA.breedChip) */
.ta-cc.br-hw { background: #FDF6EC; border-color: #E9C79A; color: #8A4B08; }
.ta-cc.br-yw { background: #EEF8F0; border-color: #A6D9B3; color: #1E6B3A; }
.ta-cc.br-jw { background: #F2F4F7; border-color: #98A2B3; color: #1D2939; }
.ta-cc.br-gj { background: #FFF4ED; border-color: #F9C59B; color: #B93815; }
.ta-cc.br-etc { background: #F9FAFB; border-color: #D0D5DD; color: #475467; }
.ta-sf { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; cursor: default; text-align: left; }
.ta-sf-dots { display: inline-flex; align-items: center; }
.ta-sf-dots .dt { width: 7px; height: 7px; border-radius: 50%; background: #D0D5DD; flex: none; }
.ta-sf-dots .dt.on { background: #16A34A; }
.ta-sf-dots .ln { width: 9px; height: 2px; background: #E4E7EC; flex: none; }
.ta-sf-dots .ln.on { background: #16A34A; }
.ta-sf-dots .dt.cur { width: 11px; height: 11px; background: #fff; border: 3px solid #1570EF; }
.ta-sf-dots .dt.cur.is-wait { border-color: #F79009; }
.ta-sf-dots .dt.cur.is-live { border-color: #EF6820; background: #EF6820; box-shadow: 0 0 0 3px rgba(239,104,32,.2); }
.ta-sf-dots .dt.cur.is-bad { border-color: #D92D20; background: #D92D20; }
.ta-sf-dots .dt.cur.is-hold { border-color: #98A2B3; }
.ta-sf-dots .dt.cur.is-end { border-color: #16A34A; background: #16A34A; }
.ta-sf-nm { font-size: 12.5px; font-weight: 800; color: #1570EF; white-space: nowrap; }
.ta-sf-nm.is-wait { color: #B54708; }
.ta-sf-nm.is-live { color: #C4320A; }
.ta-sf-nm.is-bad { color: #B42318; }
.ta-sf-nm.is-hold { color: #667085; }
.ta-sf-nm.is-end { color: #15803D; }
.ta-sf-nx { font-size: 11px; color: #667085; white-space: nowrap; }
.ta-sf-nx.is-bad { color: #B42318; font-weight: 700; }
.ta-smix { display: flex; gap: 2px; width: 100%; max-width: 120px; height: 5px; margin-top: 5px; border-radius: 999px; overflow: hidden; background: #EEF1F5; }
.ta-smix i { display: block; height: 100%; }

/* 보관 칩(TA.kpngChip) - 냉장 청록 · 냉동 남색(❄). 정보 표시라 누르지 않는다 */
.ta-kcs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.ta-kc { display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border: 1px solid #D0D5DD; border-radius: 6px; background: #fff;
  font-size: 11.5px; font-weight: 700; color: #344054; white-space: nowrap; cursor: default; }
.ta-kc.rf { background: #ECFDFF; border-color: #67E3F9; color: #0E7090; }
.ta-kc.fz { background: #EEF4FF; border-color: #A4BCFD; color: #3538CD; }
.ta-kc i { font-style: normal; font-size: 11px; }
.ta-kc.is-miss { border-style: dashed; color: #98A2B3; font-weight: 600; }

/* ===== 일괄 적용 중 나온 공용 보강(2026-10-28) ===== */
/* 숨긴 통계 카드는 .ta-kpi 의 display:flex 보다 우선해 숨긴다 */
.ta-summary-card[hidden], .ta-summary [hidden] { display: none !important; }
/* 막대 이름이 긴 그림(IP·사람·상장사 이름) - .ta-kpi-viz 에 wide-nm */
.ta-kpi-viz.wide-nm .ta-kpi-bar { grid-template-columns: 96px minmax(0, 1fr) auto; }
/* 상세 창 '항목 | 값' 두 칸 격자 - .ta-dv-kv.cols2 (홀수 개면 마지막 칸을 한 줄로) */
.ta-dv-kv.cols2 { display: grid; grid-template-columns: 1fr 1fr; }
.ta-dv-kv.cols2 > .ta-field:nth-child(odd) { border-right: 1px solid #F2F4F7; }
.ta-dv-kv.cols2 > .ta-field:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.ta-dv-kv.cols2 > .ta-field.w2 { grid-column: 1 / -1; border-right: 0; }
@media (max-width: 760px) {
  /* 구분 단추가 많으면 좁은 화면에서 가로로 밀어 본다 */
  .ta-sb-seg { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ta-sb-seg::-webkit-scrollbar { display: none; }
  .ta-sb-seg button { flex: none; }
  .ta-dv-kv.cols2 { grid-template-columns: 1fr; }
  .ta-dv-kv.cols2 > .ta-field:nth-child(odd) { border-right: 0; }
}
@media (max-width: 760px) { .ta-sb-detail .ta-sb-stags:empty { display: none; } }

/* 통계 카드 3칸 줄 - .ta-summary.cols3 */
.ta-summary.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .ta-summary.cols3 { grid-template-columns: 1fr; } }
/* 상세 창 값 표에서 입력칸이 아닌 읽기 전용 값 - .ta-dv-kv .ta-field > .v */
.ta-dv-kv .ta-field > .v { align-self: center; margin: 6px 14px; color: #101828; font-weight: 600; word-break: break-all; }

/* 표 숫자 칸 오른쪽 · 표 감싸개(가로 스크롤 + 테두리) - .ta-tblw */
.ta-table.ta-gtbl td.num, .ta-table.ta-gtbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.ta-tblw { overflow-x: auto; border: 1px solid var(--ta-sb-soft); border-radius: 10px; }
.ta-tblw > .ta-table { margin: 0; }

/* 상세 창 - 머리·탭·아래 단추 줄은 고정, 본문만 스크롤(2026-10-28) */
.ta-modal.ta-dv { display: flex; flex-direction: column; overflow: hidden; }
.ta-modal.ta-dv > .ta-dv-head, .ta-modal.ta-dv > .ta-dv-tabs, .ta-modal.ta-dv > .ta-modal-foot { flex: none; }
.ta-modal.ta-dv > .ta-dv-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }

/* 처리 중 표시 · 두 번 누름 방지(busy.js, 2026-10-27) - 누른 요청이 끝날 때까지 위쪽 진행 막대 + 가운데 위 '처리 중입니다'.
   덮개는 투명(화면은 그대로 보임), 클릭은 busy.js 가 막는다. 누른 단추는 흐리게 + 작은 회전 표시 */
.ta-busy { position: fixed; inset: 0; z-index: 100000; background: transparent; cursor: progress; }
.ta-busy[hidden] { display: none; }
.ta-busy-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; overflow: hidden; opacity: 0; transition: opacity .15s; background: rgba(21, 79, 181, .15); }
.ta-busy-bar > i { position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; background: var(--ta-primary, #154FB5); border-radius: 0 3px 3px 0;
  animation: ta-busy-slide 1.1s ease-in-out infinite; }
@keyframes ta-busy-slide { 0% { left: -40%; width: 30%; } 50% { width: 45%; } 100% { left: 100%; width: 30%; } }
.ta-busy-msg { position: absolute; top: 14px; left: 50%; transform: translate(-50%, -6px); opacity: 0; transition: opacity .15s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #101828; color: #fff;
  font-size: 13px; font-weight: 600; box-shadow: 0 6px 18px rgba(16, 24, 40, .25); white-space: nowrap; pointer-events: none; }
.ta-busy.on .ta-busy-bar { opacity: 1; }
.ta-busy.text .ta-busy-msg { opacity: 1; transform: translate(-50%, 0); }
.ta-busy-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: ta-busy-rot .7s linear infinite; }
@keyframes ta-busy-rot { to { transform: rotate(360deg); } }
html.ta-busy-wait, html.ta-busy-wait * { cursor: progress !important; }
.ta-busy-btn { position: relative; opacity: .65; }
.ta-btn.ta-busy-btn::after, button.ta-busy-btn::after { content: ""; display: inline-block; width: 11px; height: 11px; margin-left: 6px; vertical-align: -1px;
  border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: ta-busy-rot .7s linear infinite; }
@media (prefers-reduced-motion: reduce) { .ta-busy-bar > i, .ta-busy-spin, .ta-busy-btn::after { animation-duration: 2.5s; } }

/* ===== 상장 1~4단계 공통 틀(lstgSteps.js, 2026-10-27) ===== */
/* 단계 표시줄 - 지금 단계 파랑 채움, 지난 단계 옅은 파랑, 다음 단계 흰 바탕. 화살촉 모양으로 흐름이 보이게. 누르면 그 단계로 */
.ta-lsteps { display: flex; margin: 0 0 14px; border: 1px solid var(--ta-sb-soft); border-radius: 12px; background: #F8FAFC; overflow: hidden; }
.ta-lstep { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 18px 11px 30px;
  color: #344054; text-decoration: none; background: #F8FAFC; cursor: pointer; transition: background .15s; }
.ta-lstep:first-child { padding-left: 18px; }
.ta-lstep:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 50%; z-index: 2; width: 26px; height: 26px;
  transform: translateY(-50%) rotate(45deg); background: inherit; border-top: 1px solid #D5DBE3; border-right: 1px solid #D5DBE3; }
.ta-lstep:hover { background: #EEF3FC; color: #101828; text-decoration: none; }
.ta-lstep:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: -2px; }
.ta-lstep-no { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid #C5CCD6; background: #fff; font-size: 12px; font-weight: 800; color: #475467; }
.ta-lstep-tx { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ta-lstep-tx b { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.ta-lstep-tx small { font-size: 11.5px; color: #667085; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ta-lstep.is-done { background: #EEF3FC; }
.ta-lstep.is-done .ta-lstep-no { border-color: var(--ta-primary); color: var(--ta-primary); }
.ta-lstep.is-cur { background: var(--ta-primary); color: #fff; }
.ta-lstep.is-cur:hover { background: var(--ta-primary); color: #fff; }
.ta-lstep.is-cur::after { border-color: transparent; }
.ta-lstep.is-cur .ta-lstep-no { border-color: #fff; background: #fff; color: var(--ta-primary); }
.ta-lstep.is-cur .ta-lstep-tx small { color: rgba(255,255,255,.85); }
@media (max-width: 760px) {
  .ta-lstep { padding: 9px 8px 9px 18px; gap: 6px; }
  .ta-lstep:first-child { padding-left: 10px; }
  .ta-lstep-tx small { display: none; }
  .ta-lstep:not(.is-cur) .ta-lstep-tx { display: none; }
  .ta-lstep { flex: 0 0 auto; }
  .ta-lstep.is-cur { flex: 1 1 auto; }
  .ta-lstep-tx b { overflow: hidden; text-overflow: ellipsis; }
  .ta-lstep:not(:last-child)::after { right: -9px; width: 18px; height: 18px; }
}

/* 머리 오른쪽 단추 줄 - [안내] [← 이전 단계] [다음 단계 →] */
.ta-head-acts { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* 등식 통계 카드 - 전체 = 다음 작업 + 이후 ┆ 옆 카드. 기본은 정보 칸(누르는 모양 아님), go 가 있으면 아래 .is-go 단추 모양 */
.ta-eq { display: flex; align-items: stretch; gap: 8px; margin-bottom: 12px; }
.ta-eq-card { flex: 1 1 0; min-width: 0; padding: 14px 18px; border: 1px solid var(--ta-sb-soft); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04); cursor: default; }
.ta-eq-card.is-next { border-color: var(--ta-primary); background: #F3F7FE; box-shadow: inset 0 0 0 1px var(--ta-primary); }
.ta-eq-card.is-src { background: #F8FAFC; border-style: dashed; }
.ta-eq-lb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #475467; }
.ta-eq-lb i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.ta-eq-v { margin-top: 6px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.ta-eq-v b { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; color: #101828; font-variant-numeric: tabular-nums; }
.ta-eq-card.is-next .ta-eq-v b { color: var(--ta-primary); }
.ta-eq-v span { font-size: 12.5px; font-weight: 600; color: #475467; }
.ta-eq-viz { margin-top: 10px; }
.ta-eq-viz .ta-kpi-legend { margin-top: 8px; }
.ta-eq-strip { margin-top: 8px; padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.ta-eq-strip b { font-weight: 800; }
.ta-eq-strip.warn { background: #FEF6E7; color: #93370D; }
.ta-eq-strip.bad { background: #FEECEB; color: #B42318; }
.ta-eq-strip.ok { background: #ECFDF3; color: #067647; }
.ta-eq-strip.mute { background: #F2F4F7; color: #667085; }
.ta-eq-op { flex: none; align-self: center; width: 16px; text-align: center; font-size: 18px; font-weight: 700; color: #98A2B3; }
.ta-eq-sep { flex: none; align-self: stretch; width: 0; margin: 4px 6px; border-left: 1.5px dashed #D0D5DD; }
/* 누르는 카드·띠(2026-10-28 요청 - 상단 숫자를 누르면 그 건만 목록에). 단추처럼 - 손가락·hover·누름·초점,
 *  지금 목록에 걸린 칸은 '보는 중 ×'(다시 누르면 풀림). 목록 카드는 잠깐 테두리 강조(.ta-eq-flash) */
.ta-eq-card { position: relative; }
.ta-eq-card.is-go { cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .06s; }
.ta-eq-card.is-go:hover { border-color: #98A2B3; box-shadow: 0 4px 12px rgba(16,24,40,.10); }
.ta-eq-card.is-next.is-go:hover { border-color: var(--ta-primary); box-shadow: inset 0 0 0 1px var(--ta-primary), 0 4px 12px rgba(21,79,181,.14); }
.ta-eq-card.is-go:active { transform: translateY(1px); }
.ta-eq-card.is-go:focus-visible, .ta-eq-strip.is-go:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: 2px; }
.ta-eq-card.is-on { border-color: var(--ta-primary); background: #EAF1FD; box-shadow: inset 0 0 0 2px var(--ta-primary); }
/* 선택된 칸이 있으면 테두리는 그 칸 하나만 - '다음 작업'(is-next) 카드는 테두리·고리를 거둔다(2026-10-30 회의) */
.ta-eq.has-on .ta-eq-card.is-next:not(.is-on) { border-color: var(--ta-sb-soft); background: #fff; box-shadow: none; }
.ta-eq.has-on .ta-eq-card.is-next.is-go:not(.is-on):hover { border-color: #98A2B3; box-shadow: 0 4px 12px rgba(16,24,40,.10); }
.ta-eq-more { margin-left: auto; flex: none; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; color: #475467;
  background: #F2F4F7; white-space: nowrap; }
.ta-eq-card.is-go:hover .ta-eq-more { color: var(--ta-primary); background: #E4ECFB; }
.ta-eq-more.on { color: #fff; background: var(--ta-primary); }
.ta-eq-card.is-go:hover .ta-eq-more.on { color: #fff; background: #123F92; }
.ta-eq-strip.is-go { display: flex; align-items: center; gap: 6px; cursor: pointer; transition: filter .12s, box-shadow .12s; }
.ta-eq-strip.is-go:hover { filter: brightness(.95); box-shadow: inset 0 0 0 1px currentColor; }
.ta-eq-strip.is-go:hover .tx { text-decoration: underline; text-underline-offset: 2px; }
.ta-eq-strip.is-go:active { filter: brightness(.9); }
.ta-eq-strip.is-on { box-shadow: inset 0 0 0 1.5px currentColor; }
.ta-eq-go { margin-left: auto; flex: none; font-size: 14px; font-weight: 800; line-height: 1; }
.ta-lc.ta-eq-flash { animation: taEqFlash 1.3s ease-out; }
@keyframes taEqFlash { 0% { box-shadow: 0 0 0 3px rgba(21,79,181,.45); } 100% { box-shadow: 0 0 0 3px rgba(21,79,181,0); } }
@media (max-width: 960px) {
  .ta-eq { flex-wrap: wrap; }
  .ta-eq-card { flex: 1 1 calc(50% - 28px); }
  .ta-eq-op, .ta-eq-sep { display: none; }
}
@media (max-width: 560px) {
  .ta-eq { gap: 8px; }
  .ta-eq-card { flex-basis: calc(50% - 4px); padding: 11px 12px; }
  .ta-eq-v b { font-size: 21px; }
  .ta-eq-viz .ta-kpi-legend { grid-template-columns: 1fr; gap: 4px; font-size: 11px; }
  .ta-eq-strip { padding: 5px 8px; font-size: 11px; }
}

/* 만들기 / 목록 탭 - 한 화면에 만들기·검색·목록이 길게 쌓이던 것을 탭으로 */
.ta-wtabs { display: flex; gap: 2px; margin: 0 0 12px; border-bottom: 1px solid var(--ta-sb-soft); }
.ta-wtab { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 0; background: transparent;
  font-size: 14px; font-weight: 700; color: #667085; cursor: pointer; border-radius: 8px 8px 0 0; }
.ta-wtab:hover { color: #101828; background: #F8FAFC; }
.ta-wtab:focus-visible { outline: 2px solid var(--ta-primary); outline-offset: -2px; }
.ta-wtab.is-on { color: var(--ta-primary); }
.ta-wtab.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ta-primary); }
.ta-wtab .n { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #EEF3FC; color: var(--ta-primary); font-size: 11.5px; font-weight: 800; }
.ta-wtab .n:empty { display: none; }
[data-pane-id][hidden] { display: none !important; }

/* 표 머리글 고정(2026-10-28, lstgSteps.js TA.stickHead) - 스크롤만큼 아래로 옮긴 머리글이 아래 줄을 가리도록 */
.ta-head-float > thead > tr > th { position: relative; z-index: 4; background-clip: padding-box; }
.ta-head-float.is-head-stuck > thead > tr > th { box-shadow: 0 1px 0 #E4E7EC, 0 4px 8px -4px rgba(16,24,40,.18); }

/* 오른쪽 상세 창(2026-10-28) - .ta-modal-backdrop.ta-side > .ta-modal.ta-dv : 화면 오른쪽에 붙고 높이를 다 쓴다.
 *  머리·아래 단추 줄은 고정, 본문(.ta-dv-body)만 스크롤. 좁은 화면은 전체 폭 */
.ta-modal-backdrop.ta-side { justify-content: flex-end; align-items: stretch; padding: 0; }
.ta-modal-backdrop.ta-side > .ta-modal { display: flex; flex-direction: column; width: min(680px, 100vw); max-width: 100vw; height: 100%; max-height: none;
  border-radius: 0; overflow: hidden; animation: taSideIn .18s ease-out; }
.ta-modal-backdrop.ta-side > .ta-modal > .ta-dv-head { border-bottom: 1px solid var(--ta-sb-soft); }
.ta-modal-backdrop.ta-side > .ta-modal > .ta-dv-body { flex: 1 1 auto; min-height: 0; overflow: auto; }
.ta-modal-backdrop.ta-side > .ta-modal > .ta-dv-foot { flex: none; display: flex; gap: 8px; }
@keyframes taSideIn { from { transform: translateX(32px); opacity: .5; } to { transform: none; opacity: 1; } }
/* 오른쪽 창이 열린 동안은 화면 오른쪽 아래 확성기 단추(z 9001)가 창의 [닫기]를 가리지 않게 숨긴다 - 창을 열고 닫는 화면이 body.ta-side-open 을 붙인다 */
body.ta-side-open .tmbc-fab, body.ta-side-open .tmbc-panel { display: none !important; }

/* 데스크톱 메뉴 접기(2026-10-28, shell.js) - 톱바 맨 왼쪽 ☰ 단추로 왼쪽 메뉴를 접고 편다. 접으면 본문이 화면 폭을 다 쓴다.
 *  모바일(≤900px)의 ☰(드로어 여닫기)는 위 미디어쿼리 그대로 */
@media (min-width: 901px) {
  .ta-navtoggle {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; margin-right: 12px; padding: 0; cursor: pointer;
    border: 1px solid rgba(224, 232, 248, .25); border-radius: var(--ta-radius);
    background: rgba(255, 255, 255, .08); transition: background .12s;
  }
  .ta-navtoggle:hover { background: rgba(255, 255, 255, .18); }
  .ta-navtoggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .ta-navtoggle span { position: relative; }
  .ta-navtoggle span,
  .ta-navtoggle span::before,
  .ta-navtoggle span::after { display: block; width: 16px; height: 2px; border-radius: 1px; background: var(--ta-chrome-fg); }
  .ta-navtoggle span::before { content: ""; position: absolute; left: 0; top: -5px; }
  .ta-navtoggle span::after  { content: ""; position: absolute; left: 0; top: 5px; }
  .ta-topbar { justify-content: flex-start; }
  .ta-topbar-right { margin-left: auto; }
  body.ta-nav-mini .ta-sidebar { display: none; }
}

/* ===== 상장 2~4단계 공용 상세(TA.lstgDtl, 2026-11-09) - 탭 요약·구성·개체·사진, 아래 줄 [위험][닫기][주요] ===== */
.ldt-modal { width:min(1040px, 96vw); }
.ldt-hint { margin:0 0 10px; font-size:12px; color:var(--ta-text-sub); }
.ldt-empty { padding:18px 8px; text-align:center; font-size:13px; color:var(--ta-text-sub); }
.ldt-status { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:0 0 12px; padding:10px 12px;
  border:1px solid var(--ta-border); border-radius:10px; background:#F8FAFC; font-size:12.5px; }
.ldt-status .k { color:var(--ta-text-sub); margin-right:5px; }
.ldt-status .rj { flex:1 1 100%; color:var(--ta-danger, #B42318); font-weight:600; }
.ldt-grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px 12px; }
.ldt-cell { border:1px solid var(--ta-border); border-radius:10px; padding:8px 11px; background:#fff; min-width:0; }
.ldt-cell.wide { grid-column:span 2; }
.ldt-cell .k { display:block; font-size:11px; color:var(--ta-text-sub); }
.ldt-cell .v { display:block; margin-top:2px; font-size:14.5px; font-weight:700; color:var(--ta-text); word-break:keep-all; overflow-wrap:anywhere; }
.ldt-cell .s { display:block; margin-top:2px; font-size:11px; color:var(--ta-text-sub); }
.ldt-list { margin:2px 0 0; padding-left:18px; font-size:12.5px; line-height:1.6; }
.ldt-scroll { overflow-x:auto; }
.ldt-table { min-width:920px; }
.ldt-table th, .ldt-table td { font-size:12px; padding:7px 8px; vertical-align:top; }
.ldt-table .r { text-align:right; }
.ldt-table .nw { white-space:nowrap; }
.ldt-table .sub { font-weight:400; color:var(--ta-text-sub); font-size:11px; }
.ldt-table .mono { font-family:Menlo, Consolas, monospace; font-size:11px; }
.ldt-table tfoot td { background:#F5F7F9; font-weight:700; border-top:2px solid var(--ta-border); }
.ldt-flag { display:inline-block; margin:1px 3px 1px 0; padding:0 7px; border-radius:999px; font-size:11px; line-height:18px;
  background:#E8F3EC; color:#1F6B3A; cursor:default; }
.ldt-carcs { display:grid; grid-template-columns:repeat(auto-fit, minmax(380px, 1fr)); gap:12px; }   /* 하나면 전체 폭 */
.ldt-acts { display:inline-flex; gap:6px; margin-left:auto; }
.ldt-mono { font-family:Menlo, Consolas, monospace; font-size:12.5px; word-break:break-all; }
/* 만들기 화면 줄 안의 작은 [상세] - 누를 수 있는 단추 모양(작게), 이름 바로 옆 */
.ta-btn.ldt-inl { height:24px; min-height:24px; padding:0 8px; margin-left:6px; font-size:11.5px; line-height:22px; vertical-align:middle; }
.ldt-mini { display:inline-flex; align-items:center; flex:0 0 auto; white-space:nowrap; height:22px; margin-left:6px; padding:0 8px; border:1px solid var(--ta-border-strong, #C9D2DE);
  border-radius:6px; background:#fff; color:var(--ta-text); font-size:11.5px; font-weight:600; cursor:pointer; box-shadow:0 1px 0 rgba(16,24,40,.05); }
.ldt-mini:hover { border-color:var(--ta-primary, #1E5BD8); color:var(--ta-primary, #1E5BD8); }
.ldt-mini:focus-visible { outline:2px solid var(--ta-primary, #1E5BD8); outline-offset:1px; }
@media (max-width:760px) {
  .ldt-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .ldt-carcs { grid-template-columns:1fr; }
}

/* ===== 상품 카드 공용 틀(2026-11-16 모바일 개편, TA.pcard) - 경매 보기 · 낙찰내역 · 응찰 이력 =====
   [상장사 줄] → [상품명 줄] → [사진 | 항목 ··· 값 사양표] → 화면별 바닥. 상장사는 늘 맨 윗줄 왼쪽, 사양표는 한 줄에 한 항목 */
.ta-pc-seller { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12.5px; font-weight: 700; color: #475467; }
.ta-pc-seller .lg { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid #EAECF0; background: #F2F4F7; }
.ta-pc-seller .lg.ini { display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--ta-primary, #1c4f34); }
.ta-pc-seller .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ta-pc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 16px; font-weight: 800; line-height: 1.3; color: #101828; }
.ta-pc-body { display: grid; grid-template-columns: clamp(104px, 34%, 160px) minmax(0, 1fr); gap: 12px; align-items: start; }
.ta-pc-body .ta-pc-photo { position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 11px; overflow: hidden; background: #F2F3F5; }
.ta-pc-photo .ph-badges { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 4px; }
.ta-pc-gchip { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px;
  font-size: 11px; font-weight: 800; color: #fff; background: #E5484D; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); cursor: default; }
.ta-pc-gchip.o { padding: 0; border-radius: 50%; background: #fff; color: #E5484D; border: 1.5px solid #E5484D; }
.ta-kv { display: flex; flex-direction: column; min-width: 0; }
.ta-kv-r { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed #EEF0F3; font-size: 13px; line-height: 1.4; }
.ta-kv-r:last-child { border-bottom: 0; }
.ta-kv-r .k { flex: 0 0 auto; color: #667085; white-space: nowrap; font-size: 12.5px; }
.ta-kv-r .v { flex: 1 1 auto; min-width: 0; text-align: right; color: #1D2939; word-break: keep-all; overflow-wrap: anywhere; }
.ta-kv-r .v b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ta-kv-none { font-style: normal; color: #98A2B3; }
.ta-kv-r .ta-cpst-invt { margin: 0; min-width: 0; font-size: 12px; text-align: right; }
.ta-kv-unit { font-size: 15px; font-weight: 800 !important; }
.ta-kv-u { font-style: normal; font-size: 11px; color: #667085; margin-left: 2px; }
.ta-kv-r.is-price .ta-kv-unit { font-size: 17px; color: #C01048; }
.ta-kv-r.is-mine .k, .ta-kv-r.is-mine .v, .ta-kv-r.is-mine .ta-kv-unit { color: #1B5FB0; }
.ta-kv-r.is-strong .v b { font-size: 15px; font-weight: 800; }
.ta-kv-r.is-x .v b { text-decoration: line-through; color: #98A2B3; }
.ta-pc-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: #F2F4F7; color: #344054; white-space: nowrap; cursor: default; }
.ta-pc-tag.RF { background: #E8F1FB; color: #1B5FB0; } .ta-pc-tag.FZ { background: #EAF7EE; color: #1E7E34; } .ta-pc-tag.MX { background: #F1F3F5; color: #5B6470; }
.ta-pc-trc { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 390px) { .ta-pc-body { gap: 10px; } .ta-kv-r { font-size: 12.5px; } .ta-kv-r .k { font-size: 12px; } }
