/* =====================================================================
 * UX 개선 C조 (2026-11-14) — 해당 화면에서만 불러오는 스타일
 *  - 사용자: 종이 서류에 익숙한 고연령층 → 본문 18px 이상, 보조 15px 이상(배지·칩 14px 이상), 버튼 높이 44px 이상, 쉬운 말
 *  - 색은 기존 토큰(#4B6C79 진청, #00DF81 초록, #F3F7FA 배경, #FFF1D6 안내) 재사용
 * ===================================================================== */

/* ---------- 공통 버튼·안내 ---------- */
.uxc_btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 10px; border: 2px solid #4B6C79; background: #fff; color: #4B6C79; font-size: 17px; font-weight: 800; font-family: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; box-sizing: border-box; }
.uxc_btn.pri { background: #4B6C79; color: #fff; }
.uxc_btn.green { border-color: #00B86B; background: #00DF81; color: #fff; }
.uxc_btn:hover { filter: brightness(0.96); }
.uxc_btn:focus-visible, .uxc_link:focus-visible { outline: 3px solid #00DF81; outline-offset: 2px; }
.uxc_link { color: #2F6FD1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.uxc_note { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 12px; background: #F4FEF9; border: 1px solid #B8F3D8; color: #2F3E44; font-size: 18px; line-height: 27px; word-break: keep-all; box-sizing: border-box; }
.uxc_note.warn { background: #FFF8EA; border-color: #F5D9A0; }
.uxc_note > i { flex: none; width: 26px; height: 26px; margin-top: -1px; border-radius: 50%; background: #4B6C79; color: #fff; font-size: 15px; font-weight: 800; font-style: normal; line-height: 26px; text-align: center; }
.uxc_note b { color: #00804B; }
.uxc_note.warn b { color: #8A5A00; }

/* 빈 목록 안내 (work_permit 의 uxa_empty 패턴, 글씨 키움) */
.uxc_empty { padding: 44px 16px; text-align: center; color: #4D4D4D; }
.uxc_empty .t { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: #2F3E44; }
.uxc_empty .d { margin: 0 0 16px; font-size: 18px; line-height: 1.6; word-break: keep-all; }
.uxc_empty .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }

/* ---------- main_safety ---------- */
.main .section.user_info .tit.uxc_site_tit { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.main .uxc_code { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: #4B6C79; white-space: nowrap; }
.main .uxc_code b { font-size: 16px; color: #2F3E44; }
.main .uxc_copy { height: 32px; padding: 0 10px; border-radius: 6px; background: #4B6C79; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.main .uxc_opt { font-size: 14px; font-style: normal; font-weight: 600; color: #6E7B80; }
.main .uxc_cnt { margin-left: 6px; padding: 0 8px; border-radius: 10px; background: #FF6C6C; color: #fff; font-size: 14px; font-weight: 800; line-height: 22px; }
.main .uxc_cnt:empty { display: none; }
/* 빈 결재 문서 안내: 상자·테두리 버튼 없이 글자만 (2026-11-16 심플화) */
.main .document_list li.uxc_empty_li { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 40px 10px; background: none !important; border: 0 !important; border-radius: 0; box-shadow: none !important; text-align: center; }
.main .document_list .uxc_empty_li p { font-size: 16px; color: #8A9AA1; }
.main .document_list .uxc_empty_li a { height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: #4B6C79; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
html.spf-ux_renewal .main .uxc_soon { position: relative; }
html.spf-ux_renewal .main .uxc_soon::after { content: "준비 중"; position: absolute; top: 4px; right: 4px; padding: 0 5px; border-radius: 4px; background: #FFF1D6; color: #8A5A00; font-size: 14px; font-weight: 800; line-height: 20px; }
/* 빈 위젯 칸: '+' 만 있던 자리에 쓰임새·추천 예시 */
.index_4.main .section_wrap .center .section.empty { flex-direction: column; gap: 14px; }
.index_4.main .section_wrap .center .section.empty::before { content: "위젯 추가"; order: 2; font-size: 18px; font-weight: 800; color: #4B6C79; }
.index_4.main .section_wrap .center .section.empty::after { content: "눌러서 자주 보는 현황을 놓으세요\A추천: 결재 문서 · 미조치 · 오늘 작업허가"; order: 3; padding: 0 24px; font-size: 16px; line-height: 24px; color: #5F6B70; text-align: center; white-space: pre-line; word-break: keep-all; }

/* ---------- setting.html : 현장 정보 섹션 / 정책설정 안내 ---------- */
.setting .mid_area .detail .tab_siteinfo .uxc_site { width: 760px; max-width: 100%; padding: 0 24px 24px; box-sizing: border-box; border-radius: 16px; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); color: #2F3E44; }
.setting .mid_area .detail .tab_siteinfo .uxc_site .sub_tit { margin: 0 -24px 18px; padding: 0 24px; border-radius: 16px 16px 0 0; background: #F3F7FA; color: #4B6C79; font-size: 18px; font-weight: 800; line-height: 54px; }
.uxc_site dl { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 0; box-sizing: border-box; border-bottom: 1px solid #E1E7EC; font-size: 18px; }
.uxc_site dt { flex: none; width: 150px; font-weight: 800; color: #4B6C79; }
.uxc_site dd { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; word-break: keep-all; }
.uxc_site dd .code { padding: 2px 12px; border-radius: 8px; background: #F3F7FA; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.uxc_site dd .help { width: 100%; font-size: 15px; color: #6E7B80; }
.uxc_site .uxc_note { margin-top: 18px; }
.uxc_site .next { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.setting .mid_area .detail .tab_setting .uxc_policy_note { margin: 0 0 14px; font-size: 18px; line-height: 27px; }
.setting .mid_area .detail .tab_setting .uxc_policy_note .uxc_btn { height: 44px; margin-top: 8px; font-size: 16px; }

/* ---------- danger_add.html ---------- */
.uxc_da_guide { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; }
.uxc_da_guide .uxc_note { flex: 1; min-width: 0; padding: 10px 14px; font-size: 18px; line-height: 26px; }
.uxc_da_guide .uxc_note em { font-style: normal; font-weight: 800; color: #2F3E44; }
.uxc_da_guide .side { flex: none; display: flex; gap: 8px; }
.uxc_da_guide .uxc_btn { height: 44px; font-size: 16px; }
.uxc_sample_bar { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; font-size: 18px; color: #1a56c4; }
.uxc_sample_bar .uxc_btn { height: 44px; font-size: 16px; }
/* 열 접기: 장소(6)·현재안전보건조치(7)·사진(11)·법적근거(13)·조치일(16) — 칸은 DOM 에 그대로 두고 화면에서만 숨김(저장 코드의 td 순서 영향 없음) */
.uxc_fold .table_scroll col:nth-child(6), .uxc_fold .table_scroll col:nth-child(7), .uxc_fold .table_scroll col:nth-child(11),
.uxc_fold .table_scroll col:nth-child(13), .uxc_fold .table_scroll col:nth-child(16) { visibility: collapse; }
/* 빈도·강도 머리칸: 필수 * 와 ? 배지가 좁은 칸(46px)에서 겹치지 않게 세로로 */
.danger.add .table_scroll .head th .uxa_tip { display: block; margin: 2px auto 0; }
/* 작업 검색 결과 없음 */
.uxc_noresult td { padding: 18px 12px !important; text-align: center; font-size: 18px; line-height: 27px; color: #4D4D4D; white-space: normal; cursor: default !important; }
.uxc_noresult .uxc_btn { margin-top: 10px; height: 44px; font-size: 16px; }

/* ---------- 목록 화면 안내 줄 (TBM 등) ---------- */
.uxc_list_note { margin: 10px 0 0; }
.pop_info_work_type .pop_wrap .mid_cnt .left_bx .tab_bx button { height: auto; min-height: 42px; padding: 4px 6px; font-size: 16px; line-height: 19px; word-break: keep-all; }
/* 'AI 대책 제안' 버튼(폭 50px 고정)이 글자보다 좁아 왼쪽 i 배지와 겹치던 문제 */
.danger.add .mid_area .table .head > table th .create { width: auto; padding: 0 10px; height: 28px; line-height: 28px; margin-top: 4px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.danger.add .mid_area .table .head > table th.reform:has(> .create) > .tooltip { right: 96px; }

/* ---------- welcome.html ---------- */
.welcome_page .wc_card .uxc_wc_tip { color: #8A5A00; font-size: 15px; font-weight: 700; line-height: 20px; word-break: keep-all; }
.welcome_page .wc_card .uxc_wc_tip b { margin: 0; color: #8A5A00; font-size: inherit; line-height: inherit; font-weight: 800; }
.welcome_page .wc_card.uxc_pulse { border-color: #00DF81 !important; box-shadow: 0 0 0 4px rgba(0,223,129,0.25); }
.welcome_page .wc_panel .uxc_note { margin: 0 0 14px; font-size: 18px; line-height: 27px; }
.welcome_page .uxc_ready_next { margin-top: 6px; font-size: 15px; }
.welcome_page .uxc_role_tbl { width: 100%; margin: 8px 0 10px; border-collapse: collapse; font-size: 16px; color: #2F3E44; }
.welcome_page .uxc_role_tbl th, .welcome_page .uxc_role_tbl td { padding: 7px 8px; border: 1px solid #E1E7EC; text-align: center; word-break: keep-all; }
.welcome_page .uxc_role_tbl th { background: #F3F7FA; color: #4B6C79; font-weight: 800; }
.welcome_page .uxc_role_tbl td:first-child { text-align: left; }

/* ---------- index.html 로그인 (아이디 먼저, 소셜은 아래) ---------- */
.login>.wrap .mid_area.uxc_login > img { height: 110px; }
.login>.wrap .mid_area.uxc_login > p:not(.uxc_or) { font-size: 18px; }
.login>.wrap .mid_area.uxc_login .uxc_lbl { display: block; width: 300px; margin: 10px auto 4px; text-align: left; font-size: 16px; font-weight: 700; color: #4B6C79; }
.login>.wrap .mid_area.uxc_login .login_bx input { height: 48px; font-size: 18px; }
.login>.wrap .mid_area.uxc_login .login_bx input + input { margin-top: 0; }
.login>.wrap .mid_area.uxc_login .login_bx input::placeholder { color: #9AA5AA; }
.login>.wrap .mid_area.uxc_login .login_bx .btn_login { height: 50px; font-size: 18px; font-weight: 800; }
.login>.wrap .mid_area.uxc_login .login_bx .find_links { font-size: 16px; }
.login>.wrap .mid_area.uxc_login .uxc_or { position: relative; margin: 18px 0 10px; text-align: center; font-size: 15px; font-weight: 700; color: #6E7B80; }
.login>.wrap .mid_area.uxc_login .uxc_or::after { display: none; }
.login>.wrap .mid_area .login_btn.uxc_social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 0; }
.login>.wrap .mid_area .login_btn.uxc_social > div { height: 48px; padding: 0 14px; justify-content: center; gap: 8px; }
.login>.wrap .mid_area .login_btn.uxc_social > div + div { margin-top: 0; }
.login>.wrap .mid_area .login_btn.uxc_social > div > i { width: auto; font-size: 16px; }
.login>.wrap .mid_area .login_btn.uxc_social > div:focus-visible { outline: 3px solid #00DF81; outline-offset: 2px; }
.login>.wrap .mid_area.uxc_login .uxc_demo_link { display: inline-block; margin-top: 14px; color: #00804B; font-size: 18px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media all and (max-width: 420px) {
  .login>.wrap .mid_area.uxc_login .uxc_lbl { width: 100%; }
}

/* ---------- join.html ---------- */
.join_web .uxc_pw_tip { margin-top: 6px; }
.top_area .tit .uxc_tit_note { margin-left: 14px; padding: 4px 12px; border-radius: 8px; background: #F4FEF9; border: 1px solid #B8F3D8; color: #2F3E44; font-size: 16px; font-weight: 600; line-height: 24px; }
.top_area .tit .uxc_tit_note b { color: #00804B; }
td .uxc_mobile_only { font-size: 15px; line-height: 19px; color: #4B6C79; font-weight: 700; }
td .uxc_mobile_only small { font-size: 14px; font-weight: 500; color: #6E7B80; }

/* ---------- main_safety : 처음 설정 4단계 글씨·버튼 키움 + 상시 바로가기 줄 (보정 2026-11-14) ---------- */
.main .setup_guide .sg_chip { height: 44px; font-size: 17px; }
.main .setup_guide .sg_card { top: 56px; }
.main .setup_guide .sg_fold { height: 44px; padding: 0 18px; font-size: 16px; }
.main .setup_guide .sg_desc { font-size: 18px; line-height: 26px; }
.main .setup_guide .sg_list em { font-size: 16px; line-height: 22px; }
.main .setup_guide .sg_list a { min-height: 140px; }
.main .setup_guide .sg_links > span { font-size: 16px; }
.main .setup_guide .sg_links a { height: 44px; font-size: 16px; }
.main .setup_guide .sg_links a i { font-size: 14px; }
.main .setup_guide .sg_close { height: 44px; padding: 0 20px; font-size: 16px; }
.main .setup_guide .sg_note { font-size: 15px; line-height: 22px; }
.main .top_filter .info_txt { flex: none; white-space: nowrap; }
.main .sg_quick { display: none; align-items: center; flex-wrap: nowrap; gap: 6px; min-width: 0; }
.main .sg_quick > span { font-size: 15px; font-weight: 700; color: #4B6C79; white-space: nowrap; }
.main .sg_quick a { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; box-sizing: border-box; border-radius: 22px; background: #fff; border: 2px solid #D9E1E7; color: #2F3E44; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main .sg_quick a:hover { border-color: #4B6C79; }
.main .sg_quick a:focus-visible { outline: 3px solid #00DF81; outline-offset: 2px; }

/* 카드를 닫은 뒤에만 보이는 작은 줄 */
.main .top_filter .left.sg_closed .sg_quick { display: flex; }

/* ---------- welcome.html 작은 글씨 키움 (보정 2026-11-14) ---------- */
.welcome_page .wc_card .rec { font-size: 14px; line-height: 24px; }
.welcome_page .wc_card .rec_txt { font-size: 15px; line-height: 21px; }
.welcome_page .wc_card .for { font-size: 15px; line-height: 21px; }
.welcome_page .wc_card .who { font-size: 15px; }
.welcome_page .wc_tit_sub { font-size: 16px; line-height: 23px; }
.welcome_page .wc_wait p { font-size: 16px; line-height: 23px; }
.welcome_page .wc_hello .sub { font-size: 16px; }
.welcome_page .wc_menu button { min-height: 44px; font-size: 16px; }
.welcome_page .wc_card > span:not(.rec_txt):not(.for) { font-size: 15px; line-height: 21px; }
.welcome_page .acc_policy a { display: inline-block; padding: 10px 6px; font-size: 15px; }
.acc_mock_badge { font-size: 14px; }
.main .top_filter .left.sg_closed { margin-right: 12px; }

/* ---------- index.html 로그인 아래쪽 안내 (보정 2026-11-14) ---------- */
.login>.wrap .join_guide p { font-size: 16px; line-height: 23px; }
.login>.wrap .join_guide .btn_join_now { height: 48px; line-height: 44px; font-size: 18px; }
.login>.wrap .join_guide .app_sub { color: #6E7B80; font-size: 15px; line-height: 22px; }
.login>.wrap .acc_policy { font-size: 15px; line-height: 22px; }
.login>.wrap .acc_policy a { display: inline-block; padding: 10px 6px; color: #6E7B80; }

/* [2026-11-16 퍼블] 현장 정보 카드: 아이콘 칸 고정(22px) + 글자 줄 맞춤. 세 줄(회사·주소·만든 날) 모두 같은 구조 */
.index_4.main .section_wrap .user_info .locate { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.index_4.main .section_wrap .user_info .locate span { float: none; flex: none; display: block; width: 24px; height: 24px; margin: 0; font-size: 16px; line-height: 24px; text-align: center; background: none; }
.index_4.main .section_wrap .user_info .locate p { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 24px; }
.index_4.main .section_wrap .user_info .locate.date { background: none; height: auto; padding: 0; border-radius: 0; color: #4B6C79; font-weight: 500; }
.index_4.main .section_wrap .user_info .locate.date p { display: block; -webkit-line-clamp: unset; color: #4B6C79; }

/* [2026-11-18 퍼블] 글자색 줄이기: 도구 모음 '준비 중' 노란 꼬리표 → 회색 꼬리표 (되돌리려면 이 줄만 지우기) */
html.spf-ux_renewal .main .uxc_soon::after { background: #EEF1F4; color: #4D5A5F; }
