/* ═══ CSS 계층 계약 (2026-09-17 D-5) ═══
   싣는 차례 = 이기는 차례:  theme.css(토큰·바탕) → styles.css(화면 골격·페이지) → ui_components.css(공통 컴포넌트)
                            → dashboard_ui.css(홈 전용) → reagent_usage.css(기록지 시약표 전용)
   · 색·크기·간격 값은 theme.css 의 토큰(var(--…))으로만 쓴다 — 숫자를 직접 적지 않는다.
   · 뒤 파일이 앞 파일의 규칙을 «덮어쓰기» 위해 !important 를 새로 쓰지 않는다(tools/check_css_layers.py 가 파일별 개수를 톱니로 잠근다).
   · 한 페이지만의 규칙은 그 페이지 파일(dashboard_ui·reagent_usage)에, 두 화면 이상이 쓰면 ui_components 에 둔다.
   이 파일: 두 화면 이상이 쓰는 공통 컴포넌트. !important 11곳은 [hidden]·상태 강제 같은 «의도된 최우선»만. */
/* HTML 동작 연계 공통 컴포넌트. 기존 테마의 크기·색 토큰을 사용한다. */
[hidden]{display:none!important}
.header-sync{display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-end;gap:var(--sp-2);padding-right:var(--sp-3);border-right:1px solid var(--line-2);font-size:var(--fs-xs);color:var(--muted)}
.header-sync #masterSync{white-space:nowrap;font-variant-numeric:tabular-nums}
.header-sync #masterRefreshState:empty{display:none}
.login>.btn,.header-sync>.btn{height:var(--ctrl-h);font-size:var(--fs-sm)}
.banner .login{flex-wrap:nowrap}
.banner .header-sync .btn-row{flex-wrap:nowrap}
.banner .header-sync .btn-row>.btn{height:var(--ctrl-h);font-size:var(--fs-sm);padding-inline:var(--btn-pad-x)}
.banner .login .user-profile-trigger{height:var(--ctrl-h);min-height:var(--ctrl-h);padding-inline:var(--btn-pad-x);font-size:var(--fs-sm)}
@media (max-width:1280px){
  .banner .login{flex-wrap:wrap}
  .header-sync{flex-wrap:wrap}
}
.ws-override-cell.ws-review-needed:not(.warncell):not(.badcell):not(.ws-invalid-cell){background:var(--warn-bg)!important;box-shadow:inset 3px 0 var(--warn)}
.ws-override-cell.ws-review-needed:not(.warncell):not(.badcell):not(.ws-invalid-cell) .ws-calcin{color:var(--warn)!important}
/* ws-manual-same = 수기 입력값이 공식 계산값과 '같다' = 아무 문제 없는 상태다.
   여기에는 아무 표시도 하지 않는다. 정상은 조용해야 한다.
     · 처음에는 검토 필요(ws-review-needed)와 똑같은 3px + 브랜드색이라 정상 칸의
       굵은 세로선이 표에서 가장 먼저 눈에 들어왔다.
     · 1px 로 낮춰도 파란 세로선은 여전히 '무슨 뜻이지?' 를 만들었다.
   정보는 남아 있다 — 읽기 모드의 .ws-override-label 이 글로 알리고,
   입력칸 title 이 '수기 입력값 · 공식 계산값 …' 을 설명한다(worksheet.js recompRow).
   이제 표에서 튀는 것은 이상(ws-review-needed) 하나뿐이다. */
.ws-override-label{display:block;font-size:var(--fs-xs);font-weight:var(--fw-med);line-height:var(--lh-tight);padding:0 var(--sp-1) var(--sp-1);color:var(--muted)}
.ws-review-needed .ws-override-label{color:var(--warn)}
#worksheet .ws-in[data-ws-numeric][aria-invalid="true"],#worksheet td.ws-invalid-cell{border-color:var(--bad)!important;background:var(--bad-bg)!important;color:var(--bad)!important;box-shadow:inset 3px 0 var(--bad)}
#page-general:not(.detail-open)>.yp-cols{flex-direction:column}
#page-general.detail-open #generalStatPanel{display:none}

.sched-filters > .ui-filter-reset{margin-left:0}
.filter-query{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2);min-width:0}
.filter-query .ui-filter-reset{margin-left:0;white-space:nowrap}
.filter-query .filter-count,.filter-actions .filter-count{display:inline-flex;align-items:center;min-height:var(--ctrl-h);margin-inline-start:var(--sp-1);font-family:inherit;font-size:var(--fs-sm);font-weight:var(--fw-med);line-height:var(--lh);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;flex:0 0 auto}
.filter-count.warn{color:var(--warn)}
.filter-count:empty{display:none}
.sched-filters .btn{height:var(--ctrl-h);display:inline-flex;align-items:center;justify-content:center}
.sched-filters .filter-actions{flex-wrap:wrap;gap:var(--btn-gap);margin-left:auto;justify-content:flex-end}
.sched-filters .filter-actions .btn{white-space:nowrap}
/* 툴바 오른쪽 묶음이 둘 이상인 패널(소요시간·장비·시약·조직)에서 두 묶음이 margin-left:auto 를
   나눠 가져 '열 선택'이 줄 가운데로 밀렸다. 오른쪽 정렬은 첫 묶음만 담당한다 — 2026-09-10 */
.sched-filters > .filter-actions ~ .filter-actions{margin-left:0}

.selectable-columns th[data-col="report"]{width:15rem;min-width:15rem}
.selectable-columns th[data-col="issued"]{width:9rem;min-width:9rem}
/* 관리자 계정 표도 공통 data-w/data-wpx 엔진을 쓴다. 예전 col[data-col] 비율은
   자동 생성 col이 data-col을 갖지 않아 적용되지 않았고, 120ms 뒤 공통 엔진과 폭이 달랐다. */
table[data-filter-key="admUsers"] td:is([data-col="dept"],[data-col="position"],[data-col="csidept"],[data-col="csirole"],[data-col="qualification"]){white-space:normal;overflow-wrap:anywhere}
table[data-filter-key="admUsers"] td[data-col="status"]{white-space:normal}
.admin-phone{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-assignee-review{display:block;font-size:var(--fs-xs);line-height:var(--lh);color:var(--muted);white-space:normal;word-break:keep-all}
.admin-assignee-review{color:var(--warn)}

.adm-permission-item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--sp-2);min-height:var(--touch-target);padding:var(--sp-2) var(--sp-3);border:1px solid var(--line-2);border-radius:var(--radius);background:var(--card);font-size:var(--fs-sm);cursor:pointer}
.adm-permission-item>span{min-width:0;word-break:keep-all;overflow-wrap:anywhere}
.adm-permission-item input[type="checkbox"]{flex:0 0 auto;width:1.125rem;height:1.125rem;accent-color:var(--brand)}
.adm-permission-item:has(input:disabled){cursor:default;color:var(--muted);background:var(--surface-subtle)}
#admUserModal .pf-box{display:flex;flex-direction:column;overflow:hidden}
#admUserModal .pf-h{flex:0 0 auto;background:var(--card-head-bg,var(--card))}
#admUserModal #auBody{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
#admUserModal #auActions{flex:0 0 auto;padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--line);background:var(--card);display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--sp-2)}
.adm-user-section{flex:0 0 auto;border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--sp-3);margin:0 0 var(--sp-3);min-width:0}
.adm-user-section>legend{font-size:var(--fs-sm);font-weight:var(--fw-bold);color:var(--brand);padding-inline:var(--sp-1)}
.adm-user-section .pf-f{margin-bottom:var(--sp-2)}
.adm-user-section>.pf-f:last-child{margin-bottom:0}
.adm-account-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 var(--sp-4);border:1px solid var(--line-2);border-radius:var(--radius);background:var(--surface-subtle);overflow:hidden}
.adm-account-meta{display:flex;min-width:0;margin:0;padding:var(--sp-2) var(--sp-3);flex-direction:column;align-items:flex-start;justify-content:center;gap:var(--sp-1)}
.adm-account-meta+.adm-account-meta{border-left:1px solid var(--line-2)}
.adm-account-meta dt,.adm-account-meta dd{max-width:100%;margin:0}
.adm-account-meta dt{font-size:var(--fs-sm);font-weight:var(--fw-med);line-height:var(--lh-tight);color:var(--muted-2)}
.adm-account-meta dd{display:flex;align-items:center;min-height:1.35rem;font-size:var(--fs-base);font-weight:var(--fw-semibold);line-height:var(--lh-tight);color:var(--text)}
.adm-account-id,.adm-account-created{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums}
.adm-account-meta .pill{margin:0;font-size:var(--fs-sm);font-weight:var(--fw-semibold)}
.adm-form-row{display:flex;flex-wrap:wrap;gap:var(--sp-3)}
.adm-form-row>.pf-f,.adm-form-row>.ui-fstack{display:flex;flex:1 1 12rem;min-width:0;flex-direction:column;gap:.22rem;margin-bottom:var(--sp-2);font-size:var(--fs-sm);font-weight:var(--fw-med);color:var(--muted)}
.adm-form-row :is(input:not([type="checkbox"]),select){width:100%;height:var(--ctrl-h);box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 .65rem;background:var(--card);font-family:inherit;font-size:var(--fs-base);line-height:normal;color:var(--text)}
.adm-form-row :is(input:not([type="checkbox"]),select):focus{outline:none;box-shadow:var(--focus-ring);border-color:var(--brand)}
/* 2026-09-21 — CSI 연결·계정이 한 구역 두 줄이 되며 접는 껍데기(.adm-user-csi-link details,
   .adm-csi-link-body/-pick/-current)를 없앴다. 남은 것은 상태 글자 하나다. */

.adm-permission-panel{border:1px solid var(--line);border-radius:var(--radius);margin-block:var(--sp-2);background:var(--card);overflow:hidden}
.adm-permission-panel>summary{position:relative;display:block;min-height:var(--touch-target);padding:var(--sp-2) var(--sp-3);background:var(--surface-subtle);font-size:var(--fs-sm);font-weight:var(--fw-semibold);cursor:pointer;list-style:none}
.adm-permission-panel>summary::-webkit-details-marker{display:none}
.adm-permission-panel>summary::before{position:absolute;left:var(--sp-3);top:50%;content:'›';color:var(--muted);font-size:1.15rem;line-height:1;transform:translateY(-50%);transition:transform .16s ease}
.adm-permission-panel[open]>summary::before{transform:translateY(-50%) rotate(90deg)}
.adm-permission-row{display:grid;grid-template-columns:minmax(0,1fr) 4.75rem 4.75rem 5.75rem;align-items:center;gap:var(--sp-2);width:100%;min-height:calc(var(--touch-target) - (var(--sp-2) * 2))}
.adm-permission-panel>summary .adm-permission-panel-name,.adm-permission-panel--leaf .adm-permission-panel-name{padding-left:1.45rem}
.adm-permission-panel-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-permission-slot{display:flex;align-items:center;justify-content:center;min-width:0}
.adm-permission-slot--empty{display:block;min-height:1.125rem}
.adm-permission-mode{display:inline-flex;align-items:center;gap:var(--sp-1);min-height:0;padding-inline:var(--sp-1);cursor:pointer;white-space:nowrap}
.adm-permission-mode input{width:1.125rem;height:1.125rem;accent-color:var(--brand)}
.adm-permission-mode:has(input:disabled){cursor:default;color:var(--muted)}
.adm-permission-panel--leaf{display:block;min-height:var(--touch-target);padding:var(--sp-2) var(--sp-3);background:var(--surface-subtle);font-size:var(--fs-sm);font-weight:var(--fw-semibold)}
.adm-permission-count{text-align:center;color:var(--muted);font-size:var(--fs-xs);font-weight:var(--fw-med);font-variant-numeric:tabular-nums;white-space:nowrap}
.adm-permission-row--head{position:sticky;top:0;z-index:2;min-height:2rem;padding:var(--sp-1) var(--sp-3);background:var(--card);border-bottom:1px solid var(--line-2);color:var(--muted);font-size:var(--fs-xs);font-weight:var(--fw-semibold)}
.adm-permission-row--head>span:first-child{padding-left:1.45rem}
.adm-permission-row--head>span:not(:first-child){text-align:center}
.adm-permission-children{padding:var(--sp-3);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-2);border-top:1px solid var(--line-2)}
.adm-permission-warning{grid-column:1/-1;color:var(--warn);font-size:var(--fs-xs);line-height:var(--lh);white-space:normal}
.adm-permission-admin-summary{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);min-height:var(--touch-target);padding:var(--sp-2) var(--sp-3);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-subtle);font-size:var(--fs-sm)}
.adm-permission-admin-summary>span{font-weight:var(--fw-semibold);color:var(--text)}
.adm-permission-admin-summary>b{padding:var(--sp-1) var(--sp-2);border-radius:var(--radius-pill);background:var(--brand-light);color:var(--brand);font-size:var(--fs-xs);font-weight:var(--fw-bold)}
.adm-user-actions{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--sp-2)}
.adm-user-account-actions,.adm-user-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2)}
.adm-user-save-actions{margin-left:auto}
@media(max-width:40rem){.adm-account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.adm-account-meta:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line-2);border-left:0}.adm-permission-row{grid-template-columns:minmax(0,1fr) 4rem 4rem 4.5rem;gap:var(--sp-1)}.adm-permission-children{grid-template-columns:1fr;margin-left:var(--sp-2);padding-left:var(--sp-2)}}
.adm-person-box{width:min(94vw,48rem);overflow:hidden;display:flex;flex-direction:column}
.adm-person-box>.pf-h,.adm-person-actions{flex:0 0 auto}
.adm-person-box>.pf-body{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}
.adm-person-kind,.adm-person-roles{min-width:0;margin:0;border:1px solid var(--line);border-radius:var(--radius);padding:var(--sp-2) var(--sp-3)}
.adm-person-kind{display:flex;align-items:center;gap:var(--sp-4)}
.adm-person-kind legend,.adm-person-roles legend{padding-inline:var(--sp-1);font-size:var(--fs-xs);font-weight:var(--fw-semibold);color:var(--muted)}
.adm-person-kind label,.adm-person-roles label{display:inline-flex;align-items:center;gap:var(--sp-1);min-height:2rem;font-size:var(--fs-sm);color:var(--text)}
.adm-person-kind input,.adm-person-roles input{width:1.125rem;height:1.125rem;accent-color:var(--brand)}
.adm-person-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--sp-3);margin-top:var(--sp-2)}
.adm-person-grid[hidden]{display:none}
.adm-person-grid input:not([type="checkbox"]),.adm-person-grid select{width:100%;height:var(--ctrl-h);box-sizing:border-box;border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 .65rem;background:var(--card);font:inherit;color:var(--text)}
.adm-person-grid input:focus,.adm-person-grid select:focus{outline:none;box-shadow:var(--focus-ring);border-color:var(--brand)}
.adm-person-roles{display:flex;align-items:center;gap:var(--sp-3)}
.adm-person-actions{display:flex;justify-content:flex-end;gap:var(--sp-2);padding:var(--sp-3) var(--sp-4);border-top:1px solid var(--line);background:var(--card)}
#admPersonFeedback:empty{display:none}
@media(max-width:40rem){.adm-person-grid{grid-template-columns:1fr}.adm-person-kind,.adm-person-roles{align-items:flex-start;flex-direction:column;gap:0}}
.report-number .report-document-state{display:block;font-size:var(--fs-xs);color:var(--muted)}

#durationListCard .filter-actions{flex-wrap:wrap}
#durationTable{min-width:78rem}
#durationTable th{white-space:nowrap}
.general-request-form-table tbody th{min-width:var(--form-label-w);width:var(--form-label-w)}
.general-request-form-table .form-label-col{width:var(--form-label-w)}
.general-request-form-table tbody tr,#intakeDetail table.ws tbody tr:has(>.lab),#yearpriceDetail table.ws tbody tr:has(>.lab){height:var(--form-row-h)}
/* CSI 의뢰·연간단가 상세 — 열이 행마다 흔들리지 않게 colgroup 6열로 고정한다.
   라벨 위치는 모든 행에서 1·3·5열이고(colspan 검산 완료), 라벨 실측 최대폭은
   '품질검사 대행 종료일' 132px(13px·nowrap·패딩 6/12)이다. 공용 --form-label-w
   192px 를 쓰면 라벨 한 칸마다 60px 를 버려 값 칸이 151px 밖에 남지 않았다.
   전용 폭 8.5rem(136px)으로 값 칸을 207px 로 넓힌다. 공용 토큰은 건드리지 않는다
   — 일반 의뢰 상세 라벨은 줄바꿈을 허용해서 규칙이 다르다. */
#intakeDetail table.ws col.dl-l,#yearpriceDetail table.ws col.dl-l{width:var(--detail-label-w)}
#intakeDetail table.ws td.lab,#yearpriceDetail table.ws td.lab{width:var(--detail-label-w)}
@media(max-width:60rem){.sched-filters .filter-query{flex-basis:100%}.sched-filters .filter-actions{flex-basis:100%;padding-top:var(--sp-2);border-top:1px solid var(--line-2)}.sched-filters .filter-query input[type="text"]{flex:1 1 14rem}}


/* 잠금 시에도 공식 괴리 검토 표기는 유지한다.
   styles.css 의 잠금 평문화 규칙(input:disabled 에 -webkit-text-fill-color 지정)이
   color 보다 렌더링 우선이므로, 검토 셀은 text-fill-color 까지 명시해야 색이 남는다. */
#testWorkArea.test-locked .ws-override-cell.ws-review-needed:not(.warncell):not(.badcell):not(.ws-invalid-cell){background:var(--warn-bg)!important;box-shadow:inset 3px 0 var(--warn)}
#testWorkArea.test-locked .ws-override-cell.ws-review-needed:not(.warncell):not(.badcell):not(.ws-invalid-cell) .ws-calcin:disabled{color:var(--warn)!important;-webkit-text-fill-color:var(--warn)!important}
#testWorkArea.test-locked .ws-override-label{display:block}
#testWorkArea.test-locked .ws-review-needed:not(.warncell):not(.badcell):not(.ws-invalid-cell) .ws-override-label{color:var(--warn)!important}
#testWorkArea.test-locked #worksheet td.warncell>:is(input,select,textarea):disabled{color:var(--warn);-webkit-text-fill-color:var(--warn)}
#testWorkArea.test-locked #worksheet td:is(.badcell,.ws-invalid-cell)>:is(input,select,textarea):disabled{color:var(--bad);-webkit-text-fill-color:var(--bad)}

/* 일반의뢰 확정 필수값 미입력 표기 — 서버 _REQUIRED_CONFIRM_FIELDS 와 동일 대상 */
/* client_org · site_name · requester · material_type · test_items · samples */
.gr-req-empty{background:var(--warn-bg)!important;box-shadow:inset 3px 0 var(--warn)}
.gr-req-empty::placeholder{color:var(--warn);opacity:.75}
.general-request-form-table th.gr-req-label{color:var(--warn)}
.gr-req-pick{border-radius:5px;box-shadow:inset 3px 0 var(--warn);background:var(--warn-bg)}
.gr-req-note{color:var(--warn);font-size:var(--fs-xs);margin-left:6px}

/* 장비·시약 패널 */
.statpanel__group{display:inline-flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2);min-width:0;min-height:var(--summary-count-h);margin-inline-start:var(--sp-1);padding-inline-start:var(--sp-3);border-inline-start:1px solid var(--line-2)}
.statpanel__label{font-size:var(--fs-sm);font-weight:var(--fw-semibold);color:var(--text-strong);white-space:nowrap}
.statpanel .summary-info.btn{min-width:var(--summary-count-h);height:var(--summary-count-h);padding-inline:var(--sp-2);color:var(--muted)}
/* 크기는 목록 표 공통 규약(table.ui-table--list)을 그대로 따른다.
   예전에는 여기서 font-size:var(--fs-xs) 와 padding:3px 6px 로 덮어써서
   행 높이만 목록 규약(--table-list-h)을 따르고 글자·여백은 더 작았다.
   그 결과 장비 목록만 다른 패널과 크기가 어긋나 보였다.
   21열이라 좁아 보이는 문제는 .tbl-scroll 의 가로 스크롤이 이미 처리한다. */
.eq-table th,.eq-table td{white-space:nowrap}
/* 고정(sticky) 열은 해제했다. 좁은 화면에서 뒤 열을 가리고, 머리·본문 배경색이
   어긋나 보였다(예전엔 정의되지 않은 --bg-card 탓에 선언이 무효였다).
   .eq-s1/.eq-s2 클래스는 더 쓰지 않으므로 규칙째로 지웠다. */
.eq-table tr.eq-dirty>td{background:var(--warn-bg)}
/* 관리번호 = 사진·교정성적서 팝업 손잡이. '자료' 열을 대신한다.
   자료가 있는 행만 링크로 보이므로 열 하나 없이도 유무를 읽을 수 있다.
   색·밑줄·굵기는 styles.css 의 「누르면 열리는 칸 정본」이 정한다(2026-09-16).
   전에는 여기서 파랑 + 굵게 700 을 같이 줬는데, 굵기는 «주 열» 신호라
   두 신호가 한 칸에서 겹쳤다. 링크 쪽이 이긴다 — 관리번호는 이제 평문 굵기다. */
/* 표 안의 문서 링크는 .ui-cell-link 와 «같은 일»을 한다 — 여백도 같아야 같은 크기로 선다.
   padding:0 이라 60곳이 21px 이었고 다른 표의 링크는 25px 이었다(2026-09-21 실측). */
.eq-table td .eq-doclink{padding:2px 0}
/* 자료 팝업 — 교정성적서를 새 창으로 던지지 않고 팝업 안에서 읽는다. */

.eq-newtab{font-size:var(--fs-xs);color:var(--muted)}
/* 성적서가 한 건일 때는 목록 대신 파일이름 한 줄만 둔다(고를 것이 없다). */
.eq-dirnote{margin-top:12px;font-size:var(--fs-xs);line-height:1.6}
.eq-in{width:100%;min-width:52px;box-sizing:border-box;font-size:var(--fs-sm);padding:1px 4px}
/* The list reserves the same control space in read and edit modes. */
#equipTable{--table-row-min-h:max(var(--table-list-h),calc(var(--table-control-min-h) + 2 * var(--table-cell-y) + 1px))}
#equipTable .eq-in{display:block;height:var(--table-control-min-h);padding:1px var(--sp-2)}
@media (pointer:coarse){
  #equipTable{--table-control-min-h:var(--ctrl-h)}
}
/* 팝업 폭 — 규약 충돌을 바로잡는다.
   '.modal .box{max-width:var(--modal-w-lg)}' 은 클래스 2개(0,2,0)라
   '.eq-modal'(0,1,0) 을 이겼다. 그래서 실측 폭이 1040px 이 아니라 832px 이었고
   교정성적서 PDF 가 561px 폭에 눌려 읽기 어려웠다(창 2138px).
   A4 를 1:1 로 읽으려면 뷰어가 800px 이상이어야 한다 —
   뷰어 800 + 목록 223 + 간격 12 + 여백 36 = 1071px 이 최소선이다. */
.modal .box.eq-modal{max-width:min(1180px,94vw)}

/* (제거 2026-09-23 요구 112) 파일 목록 사진 뷰어 모달 — 미리보기는 별도 창(preview.html)으로 옮겼다. */
/* 패널 «안» 의 갈래를 고르는 단추줄 (2026-09-15 정본, 옛 이름 .eq-seg).
   자리가 규칙이다 — `.page` 의 «바로 자식» 이어야 한다.
   `.page-title` 안에 두면 `.page:not(.detail-open) > .page-title{display:none}`
   에 걸려 통째로 사라진다. 실제로 장비관리의 「장비 / 시험실」 이 그렇게 0×0 이었다
   (2026-09-15 실측). 오류도 경고도 없이 시험실 목록으로 갈 길이 없었다. */
.panel-seg{display:flex;flex-wrap:wrap;gap:var(--btn-gap-tight);align-items:center;
  margin-bottom:var(--panel-stack-gap)}
.eq-table td.rgt{text-align:right}   /* 헤더는 가운데 — 2026-09-10 */

/* index.html 반복 인라인 style 을 뽑은 것(20260908). 표현만 담는다.
   display:none 14회는 JS 가 style.display 를 토글할 수 있어 남겨 두었다. */
.ui-fstack{display:flex;flex-direction:column;gap:3px;font-size:var(--fs-xs);color:var(--muted)}
.ui-input-sm{height:var(--btn-h-sm);border:1px solid var(--line);border-radius:var(--radius-sm);padding:0 8px}

.ui-w-search{width:var(--search-w)}
.ui-clickable{cursor:pointer}
.ui-t-xs{font-size:var(--fs-xs)}

/* 산출물 한 줄 — 램프 1개 + 상태 + 내려받기. 표를 대신한다. */
.gr-line{display:flex;align-items:center;gap:8px;padding:8px 2px;font-size:var(--fs-sm)}
.gr-line .lp{flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:var(--scroll-thumb)}
.gr-line .lp.ok{background:var(--ok)}
.gr-line .lp.warn{background:var(--warn)}
.gr-line .lp.bad{background:var(--bad)}
.gr-line .muted{font-size:var(--fs-xs)}
.gr-dl{display:flex;gap:6px;flex-wrap:wrap;padding:0 2px 8px}
.gr-dl:empty{display:none}
.gr-fail{font-size:var(--fs-xs);color:var(--bad);padding:2px 2px 2px 10px;
  border-left:3px solid var(--bad);margin:0 0 4px}

/* 장비 자료 팝업 뷰어 — 사진과 교정성적서를 같은 짜임으로 본다.
   원시데이터 패널(.rd-viewer)·시험수행 PDF 팝업과 같은 '큰 뷰어 + 파일 목록'이다.
   예전 규칙(.eq-photos 격자 · .eq-certview 액자 · .eq-certs 목록 · .eq-certcap)은
   두 가지 짜임을 만들어서 지웠다. */
.eq-view{display:flex;gap:12px;align-items:stretch}
.eq-viewer{flex:5;min-width:0;border:1px solid var(--line);border-radius:var(--radius-lg);
  background:var(--card);height:min(74vh,860px);display:grid;place-items:center;overflow:hidden}
.eq-viewer > iframe{place-self:stretch;width:100%;height:100%;border:0;border-radius:var(--radius-lg)}
.eq-viewer > img{max-width:100%;max-height:100%;height:auto;object-fit:contain;display:block}
.eq-files{flex:2;min-width:12rem;max-width:16rem;max-height:min(74vh,860px);overflow:auto;
  margin:0;padding:0;list-style:none}
.eq-files li{padding:6px 8px;border-bottom:1px solid var(--line-2);font-size:var(--fs-xs);
  display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}
.eq-files li:last-child{border-bottom:0}
.eq-files .eq-doclink{flex:1 1 8rem;background:none;border:0;padding:0;font:inherit;
  color:var(--brand-2);cursor:pointer;text-align:left;word-break:break-all}
.eq-files .eq-doclink:hover{text-decoration:underline}
.eq-files .eq-doclink.on{font-weight:var(--fw-bold);color:var(--brand-dark);
  text-decoration:underline}
@media (max-width:900px){
  .eq-view{flex-direction:column}
  .eq-viewer{height:min(48vh,420px)}
  .eq-files{max-height:14rem}
}

/* 임시 비밀번호 표시 — 화면에만 두고 복사 버튼을 준다.
   예전에는 window.prompt 로 띄웠는데 확인을 누르면 값이 사라지고 그 직후
   팝업까지 닫혀서 복사할 틈이 없었다. 경고색으로 '지금 옮겨 담아야 한다'를
   알린다(정상은 조용하고 이상만 튄다 — 여기서는 이상이 아니라 '한 번뿐'이다). */
.adm-temp-pw{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap;
  margin:0 0 var(--sp-3);padding:var(--sp-2) var(--sp-3);
  border:1px solid var(--warn);border-radius:var(--radius);
  background:var(--warn-bg);font-size:var(--fs-sm);color:var(--text)}
.adm-temp-pw .adm-temp-pw-val{font-family:var(--font-mono,monospace);font-size:var(--fs-base);
  font-weight:var(--fw-bold);letter-spacing:.04em;padding:2px 8px;border-radius:var(--radius-sm);
  background:var(--card);border:1px solid var(--line);user-select:all}
.adm-temp-pw .adm-temp-pw-note{flex:1 1 14rem;font-size:var(--fs-xs);color:var(--muted)}

.tctx-set-control{display:inline-flex;align-items:center;gap:var(--sp-2);font-size:var(--fs-sm);font-weight:var(--fw-bold)}
.tctx-set-control select{min-width:18rem;max-width:34rem;height:var(--btn-h-sm);padding:0 var(--sp-6) 0 var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit;font-weight:var(--fw-normal)}

.billing-basis-modal .box{max-width:var(--modal-w-xl)}
.billing-basis-modal .cost-modal-heading{display:flex;align-items:center;flex-wrap:wrap;gap:var(--sp-2) var(--sp-4);min-width:0}
.billing-basis-modal .cost-modal-heading h3{flex:0 0 auto}
.billing-basis-modal .cost-modal-heading .client-modal__summary{margin:0;font-size:var(--fs-sm);font-weight:var(--fw-normal);color:var(--muted);overflow-wrap:anywhere}
.billing-basis-modal .cost-summary-table{table-layout:fixed;width:100%}
.billing-basis-modal .cost-summary-number{width:34%}
.cost-price-evidence-summary{font-size:var(--fs-xs);color:var(--muted);line-height:var(--lh)}
.cost-price-evidence-content{min-width:0}
.cost-price-evidence-content .cost-price-evidence-table{width:100%;table-layout:fixed;font-size:var(--fs-sm)}
.cost-price-evidence-content .cost-price-evidence-table :is(th,td){white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.billing-basis-modal .modal-sec{font-size:var(--fs-base);font-weight:var(--fw-semibold);line-height:var(--lh-tight);color:var(--text)}
.billing-basis-modal table.ui-table:is(.cost-lines-table,.billing-detail-table){--table-cell-y:calc(var(--sp-3) / 2);--table-cell-x:var(--sp-3);--table-control-min-h:var(--btn-h-sm);font-family:var(--font-sans);font-size:var(--fs-sm)}
.billing-basis-modal table.ui-table.cost-lines-table{--table-cell-x:var(--sp-2)}
.billing-basis-modal .cost-sum-row :is(th,td){font-weight:var(--fw-semibold)}
.billing-basis-modal :is(#billingBasisSummary,#generalBasisSummary) tbody tr:last-child :is(th,td){font-weight:var(--fw-semibold)}
.std-forms-table{width:100%;table-layout:fixed}
.std-forms-table :is(th,td){white-space:normal;overflow-wrap:anywhere}
/* 업무 양식 기준 묶음색 */
#stdFormsTable :where(tbody tr[data-form-band="0"]){--std-form-band-bg:var(--card)}
#stdFormsTable :where(tbody tr[data-form-band="1"]){--std-form-band-bg:var(--brand-light)}
#stdFormsTable :where(tbody tr[data-form-band]:not(:hover):not(.sel):not(.on):not(.selected):not(.error):not(.bad):not(.warn):not([aria-selected="true"]):not([aria-invalid="true"])){background:var(--std-form-band-bg)}
#stdFormsTable :where(tbody tr[data-form-group-start="1"]:not(:first-child))>td{border-top:1px solid var(--line-3)}
/* 업무 양식 기준 묶음색 끝 */
/* 업무 양식 목록 정렬·줄바꿈 */
#stdFormsTable tbody :is(td[data-col="title"],td[data-col="document"]){text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:break-word;text-overflow:clip}
#stdFormsTable tbody :is(td[data-col="code"],td[data-col="page"]){text-align:center}
#stdFormsTable .std-form-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;word-break:keep-all;overflow-wrap:break-word}
/* 업무 양식 목록 정렬·줄바꿈 끝 */
/* 업무 양식 목록 스크롤 경계 */
#stdFormsModal .mb{overflow:hidden;flex:1 1 auto}
#stdFormsModal .mb>.sched-filters,#stdFormsModal .mb>p{flex:0 0 auto}
#stdFormsModal .std-forms-scroll{padding:0;min-width:0;overscroll-behavior:contain}
/* 업무 양식 목록 스크롤 경계 끝 */
.billing-basis-modal .ui-table td.num{text-align:right}
.billing-basis-modal .billing-detail-table{min-width:36rem}
.billing-basis-modal .billing-detail-table__detail{text-align:left;color:var(--muted-3);line-height:var(--lh)}
/* 시험기준 문서명 — 색·밑줄은 styles.css 의 「누르면 열리는 칸 정본」이 정한다
   (2026-09-16). 여기서 다시 정하면 그 순간 정본이 둘이 된다. 이 자리만의
   사정이 생기면 그때 이 규칙을 되살려 «덧칠» 만 적는다. */
/* 공통/전용 기록지 장비 탐색. 필터는 실제 시험실 입력과 별개이며 인쇄 제외. */
.ws-equipment-picker{display:flex;flex-direction:column;gap:var(--sp-1);width:100%;min-width:0;box-sizing:border-box}
.ws-equipment-picker > select,.ws-equipment-picker .ws-equipment-location{width:100%;min-width:0;max-width:100%;box-sizing:border-box;font-family:var(--font-sans);font-size:var(--fs-sm)}
.ws-equipment-filter{display:block;min-width:0}
.ws-equipment-picker .ws-equipment-location{min-height:var(--btn-h-sm);color:var(--muted);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm)}
.ws-equipment-picker .ws-equipment-location:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
@media print{.ws-equipment-filter{display:none}}

/* 비용 컨트롤·열 밀도 정본. 예전 min-width/숫자폭 뒤 덧칠 대신 조회·수정에 같은 토큰을 쓴다. */
table.ui-table.cost-lines-table :is(.cost-edit,.cost-pick-sel){width:100%;min-width:0;height:var(--btn-h-sm);min-height:var(--btn-h-sm);box-sizing:border-box;padding:var(--sp-1) var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--card);color:var(--text);font-family:var(--font-sans);font-size:var(--fs-sm);line-height:normal}
table.ui-table.cost-lines-table td.warncell :is(.cost-edit,.cost-pick-sel){background:var(--warn-bg)}
table.ui-table.cost-lines-table input.cost-edit[type="number"]{padding-inline:var(--sp-1);text-align:right;font-variant-numeric:tabular-nums}
.cost-lines-table--edit select.cost-edit:focus{border-color:var(--brand);outline:none;box-shadow:0 0 0 2px var(--brand-light)}
table.ui-table.cost-lines-table--edit td.cost-edit-cell{padding:var(--table-cell-y) var(--table-cell-x)}
.cost-lines-table .cost-method-original{font-size:var(--fs-xs);color:var(--muted);white-space:normal}
.cost-lines-table .cost-method-original>summary{width:max-content;max-width:100%;cursor:pointer;color:var(--brand)}
.cost-lines-table .cost-method-original>summary:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.cost-lines-table .cost-method-original>p{margin:var(--sp-1) 0;line-height:var(--lh);word-break:keep-all;overflow-wrap:anywhere}
.cost-lines-table--edit td.cost-action-cell{white-space:nowrap;text-align:center;padding-inline:2px}
.cost-lines-table--edit .cost-line-remove{margin-inline-start:0}
.cost-basis-head .cost-basis-actions{flex:0 0 auto;margin-left:auto;flex-wrap:wrap}
.cost-basis-actions .cost-extra-pick{max-width:11rem}

/* 비용 조회/수정 및 시험비/부대비는 같은 의미 열 경계. */
.cost-lines-table{table-layout:fixed;width:100%;min-width:860px}
.cost-lines-table .cost-col-ordinal{width:4%}
.cost-lines-table .cost-col-item{width:17%}
.cost-lines-table .cost-col-method{width:24%}
.cost-lines-table .cost-col-qty{width:8%}
.cost-lines-table .cost-col-price{width:13%}   /* 요구 207 — 출처 열(7%)을 걷고 단가 칸(출처 표지)과 비고에 나눔 */
.cost-lines-table .cost-col-amount{width:11%}
.cost-lines-table .cost-col-note{width:19%}
.cost-lines-table .cost-col-action{width:4%}
.cost-lines-table td.cost-item-cell,.cost-lines-table td.cost-method-cell{min-width:0}
.cost-lines-table td.cost-note-cell{white-space:normal;overflow-wrap:anywhere}
.cost-basis-head{position:sticky;top:0;z-index:1;background:var(--card);padding-block:var(--sp-2);flex-wrap:wrap;gap:var(--sp-2)}
.cost-basis-head .cost-basis-src{flex:1 1 16rem;min-width:0;margin:0;font-size:var(--fs-sm);line-height:var(--lh)}
.cost-mode{color:var(--muted);font-size:var(--fs-xs);white-space:nowrap}
.cost-mode--edit{color:var(--brand-dark);font-weight:var(--fw-semibold)}
@media(max-width:46rem){.cost-basis-head .cost-basis-actions{margin-left:0;width:100%}}

/* 수량·단가의 조회 도움말은 셀 공통 알람. 가정값이 실제로 있을 때만 보조행을 둔다. */
table.ui-table.cost-lines-table tr.cost-line-support-row>td{padding:var(--sp-1) var(--sp-2) var(--sp-2);height:auto;text-align:left;background:var(--card);white-space:normal;word-break:keep-all;border-top:0}
.cost-line-support{display:flex;flex-wrap:wrap;align-items:center;gap:var(--sp-2) var(--sp-3);min-width:0;font-size:var(--fs-xs);line-height:var(--lh);color:var(--muted)}
.cost-line-support .cost-preview,.cost-line-support .cost-preview-quantity{display:inline;font-weight:var(--fw-normal);color:var(--text);margin:0;white-space:nowrap;word-break:keep-all}
.cost-line-support .cost-preview{font-size:var(--fs-sm)}
.cost-line-support .cost-preview-quantity{font-size:var(--fs-xs)}
.cost-line-support .cost-preview b{font-weight:var(--fw-semibold)}
.cost-lines-table .cost-qty-cell,.cost-lines-table .cost-price-cell,.cost-lines-table .cost-amount-cell{font-variant-numeric:tabular-nums}
.cost-lines-table .cost-amount-cell{white-space:nowrap}
.cost-amount-value{display:block;white-space:nowrap;font-variant-numeric:tabular-nums}
.cost-review-cell{background:var(--warn-bg)}
td[data-col="cost"].cost-review-cell:hover,td[data-col="cost"].cost-review-cell:focus-visible{background:var(--warn-bg)}
td[data-col="cost"][role="button"]:focus-visible{outline:var(--focus-outline);outline-offset:-2px}
.cost-quantity-history-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--sp-2);font-size:var(--fs-sm)}
.cost-quantity-history-heading>span,.cost-quantity-history-notice{color:var(--muted);font-size:var(--fs-xs);line-height:var(--lh)}
.cost-quantity-history-list{max-height:24rem;overflow:auto;border:1px solid var(--line);border-radius:var(--radius-xs)}
.cost-quantity-history-case{padding:var(--sp-2) var(--sp-3);border-bottom:1px solid var(--line)}
.cost-quantity-history-case:last-child{border-bottom:0}
.cost-quantity-history-case h5{margin:0 0 var(--sp-1);font-size:var(--fs-sm);font-weight:var(--fw-semibold)}
.cost-quantity-history-case h5>span{font-weight:var(--fw-normal);color:var(--muted);font-size:var(--fs-xs)}
.cost-quantity-history-case p{margin:var(--sp-1) 0;font-size:var(--fs-sm);line-height:var(--lh)}
.cost-quantity-history-case .cost-quantity-history-notice{font-size:var(--fs-xs)}
.cost-quantity-history-evidence{margin-top:var(--sp-2);padding-top:var(--sp-2);border-top:1px dashed var(--line)}
/* 가계산은 오류 확정이 아닌 검토 상태. 주황 배경과 명칭/근거로 구분, 원숫자 일반 글자색 유지. */
.cost-preview{display:block;color:var(--text);font-weight:var(--fw-semibold);font-size:var(--fs-sm);line-height:var(--lh);white-space:normal;word-break:keep-all}
.cost-preview__label,.cost-preview-quantity{display:block;font-size:var(--fs-xs);font-weight:var(--fw-normal);line-height:var(--lh)}
.cost-preview-quantity{color:var(--text);margin-top:var(--sp-1);white-space:normal}
.cost-preview-cell{background:var(--warn-bg)}
.cost-preview-summary{background:var(--warn-bg);color:var(--text)}

/* 사진대지: 네 장문 열은 같은 읽기 폭, 작은 화면은 표 안에서 스크롤. */
/* 요구 191(2026-10-01 · 사용자 「리스트의 경우 제목의경우 n행처리하지말고 축약 가능 / 필요시 컬럼너비 조절가능」 · 「리스트는 기존처럼 1행,
   축약표기가 적절」) — 목록 글 꼴 한 곳(app.js cmtlListTextHtml): 이름 글 · 종목 목록 모두 한 줄 · 칸보다 길면 … · 전체 = title(원문 그대로) ·
   폭은 사용자가 끌어 조절(열 저장) · 177 줄바꿈 · 종목 세 줄(--list = 종목 목록 표지만) 걷음. 인쇄는 자르지 않음(줄을 바꿔 다 찍음 · 단어는 안 쪼갬). */
.ui-table-text{display:block;width:100%;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:keep-all;font:inherit;line-height:1.35}
@media print{.ui-table-text{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}}
.ph-info-table{--ph-time-width:max(170px,20ch);table-layout:fixed;width:100%;min-width:calc(1338px + 2 * var(--ph-time-width))}
#testWorkArea.test-locked .ph-info-table,.cmtl-locked .ph-info-table{min-width:calc(1300px + 2 * var(--ph-time-width))}
.ph-info-table .ph-col-text{width:210px}
.ph-info-table .ph-col-no{width:36px}
.ph-info-table .ph-col-sample{width:48px}
.ph-info-table .ph-col-artcl{width:96px}
.ph-info-table .ph-col-ba{width:52px}
.ph-info-table .ph-col-shot{width:var(--ph-time-width)}
.ph-info-table .ph-col-conv{width:var(--ph-time-width)}
.ph-info-table .ph-col-gps{width:108px}
.ph-info-table .ph-col-camera{width:120px}
.ph-info-table .ph-col-action{width:38px}
.ph-info-table .ph-c-conv{text-align:center;font-weight:var(--fw-bold)}
@media screen{
  /* 원시 촬영 초와 CSI 입력 시각을 이웃 파일명 칸으로 흘리지 않는다. 표 안 가로 이동만 사용한다. */
  .ph-info-table :is(.ph-c-shot,.ph-c-conv){white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
  .ph-info-table :is(.ph-c-shot,.ph-c-conv) :is(input,.ph-text-value,.ph-read-value){max-width:100%;min-width:0;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
.ph-info-table .ph-row--review>td.ph-c-file{background:var(--warn-bg)}
#testWorkArea.test-locked .ph-info-table.ph-review-only .ph-row--empty,.cmtl-locked .ph-info-table.ph-review-only .ph-row--empty{display:none}
/* 역할색은 화면 전용. 인쇄의 흰 바탕·시료 경계선 정책을 덮지 않는다. */
@media screen{
  #page-test.active.test-detail table.ws.ph-info-table thead th.ph-shot-head{background:var(--cell-input-bg)}
  #page-test.active.test-detail table.ws.ph-info-table thead th.ph-conv-head{background:var(--cell-calc-bg)}
  .ph-one-pane .ph-info-table tr.ph-row:not(.sel)>td.ph-c-shot{background:var(--cell-input-bg)}
  .ph-one-pane .ph-info-table tr.ph-row:not(.sel)>td.ph-c-conv{background:var(--cell-calc-bg)}
  #testWorkArea.test-locked .ph-info-table tr.ph-row:not(.sel)>td:is(.ph-c-shot,.ph-c-conv),.cmtl-locked .ph-info-table tr.ph-row:not(.sel)>td:is(.ph-c-shot,.ph-c-conv){background:var(--sg-bg,var(--card))}
  #page-test.active.test-detail #testWorkArea.test-locked table.ws.ph-info-table thead th.ph-time-head,
  #page-test.active.test-detail .cmtl-locked table.ws.ph-info-table thead th.ph-time-head{background:var(--table-head-bg)}
}
.ph-info-table .ph-c-kind{max-width:none}
/* 요구 177(2026-10-01) — 사진 정보 표 글도 목록 글과 같은 규칙: 자르지 않고 칸 폭 안에서 줄을 바꾼다(두 줄 자르기 걷음 · 화면 = 인쇄). */
.ph-info-table .ph-text-value{display:block;white-space:normal;overflow-wrap:anywhere;word-break:keep-all;line-height:1.35}
.ph-info-table :is(.ph-c-file,.ph-c-rename) .ph-text-value{overflow-wrap:anywhere}
.ph-info-table .ph-c-file .document-link{display:block;width:100%;height:auto;white-space:normal;overflow-wrap:anywhere;word-break:keep-all;line-height:inherit;font:inherit;text-align:left}
.ph-info-table .ph-read-value{display:none}
#testWorkArea.test-locked .ph-info-table .ph-read-value,.cmtl-locked .ph-info-table .ph-read-value{display:-webkit-box;color:var(--muted)}
#testWorkArea.test-locked .ph-info-table .ph-edit-value,.cmtl-locked .ph-info-table .ph-edit-value{display:none}
@media print{
  .ph-info-table,#testWorkArea.test-locked .ph-info-table,.cmtl-locked .ph-info-table{min-width:0;width:100%}
  .ph-info-table col[class]{width:auto}
  .ph-info-table .ph-read-value,#testWorkArea.test-locked .ph-info-table .ph-read-value,.cmtl-locked .ph-info-table .ph-read-value{display:block}
  .ph-info-table .ph-edit-value{display:none}
}

/* 보정값: 채널 한 행, 교정점 안의 지시·보정·기준을 같은 자리에서 읽고 고친다. */
.eq-modal .mh{gap:var(--sp-2)}
.eq-modal .mh h3{flex:1;min-width:0}
#equipFileActions{flex:none;justify-content:flex-end}
#equipFileActions:empty{display:none}
.eq-correction{min-width:0}
.eq-correction-note{margin:0 0 var(--sp-2);font-size:var(--fs-sm);font-weight:var(--fw-normal);line-height:var(--lh);color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.eq-correction .eq-correction-edition{margin-block:var(--sp-2)}
.eq-correction .eq-correction-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--sp-2);min-width:0;margin-bottom:var(--sp-1)}
.eq-correction details p{overflow-wrap:anywhere;color:var(--muted)}
.eq-correction-reason label{display:flex;align-items:center;gap:var(--sp-2)}
.eq-correction-reason input{flex:1;min-width:0}
.eq-correction .tbl-scroll{min-width:0;max-width:100%;overflow-x:auto}
.eq-correction .eq-correction-table{width:100%;min-width:calc(13rem + var(--eq-correction-points)*9rem);table-layout:fixed}
.eq-correction .eq-correction-table th,.eq-correction .eq-correction-table td{height:auto;min-height:0;padding:var(--table-list-y) var(--table-list-x);line-height:var(--lh);vertical-align:middle}
.eq-correction .eq-correction-table thead th{height:var(--table-list-h)}
.eq-correction .eq-correction-table thead th{text-align:center}
.eq-correction .eq-correction-table thead th:nth-child(1){width:10rem}
.eq-correction .eq-correction-table thead th:nth-child(2){width:3rem}
.eq-correction .eq-correction-table .eq-correction-label{white-space:normal;overflow-wrap:anywhere;text-align:left;font-weight:var(--fw-normal)}
.eq-correction-range{display:block;margin-top:var(--sp-1);color:var(--muted);font-size:var(--fs-xs);font-weight:var(--fw-normal)}
.eq-correction .eq-correction-table .eq-correction-unit{text-align:center;white-space:nowrap}
.eq-correction .eq-correction-table .eq-correction-point{text-align:right;white-space:normal;font-variant-numeric:tabular-nums}
.eq-correction-values{display:grid;gap:var(--sp-1)}
.eq-correction-value{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--sp-1)}
.eq-correction-value-label{font-size:var(--fs-xs);font-weight:var(--fw-normal);color:var(--muted);white-space:nowrap;text-align:left}
.eq-correction-value-number{min-width:0;overflow-wrap:anywhere;font-weight:var(--fw-normal)}
.eq-correction-value--correction .eq-correction-value-number{font-weight:var(--fw-semibold)}
.eq-correction-values .eq-in{min-width:0;width:100%;min-height:var(--table-list-control-h);height:var(--table-list-control-h);padding:var(--sp-1) var(--sp-2);border:1px solid var(--line);border-radius:var(--radius-xs);background:var(--card);color:var(--text);font:inherit;text-align:right;appearance:textfield}
.eq-correction-values .eq-in::-webkit-inner-spin-button,.eq-correction-values .eq-in::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.eq-correction .eq-correction-table .eq-correction-null{color:var(--muted)}
