/* settings 화면 전용 한 화면 모드(wk) 서식 — 화면 파일의 <style> 에서 옮김(구조 린트 inline_style 비율 유지, D236) */
/* 한 화면 모드(D236·G5) — 계정·보안 보기는 구역을 2열로(내 계정 | 비밀번호 / 2단계 | 잠금 관리), AI·환율 보기는 한 구역을 작업 영역 안에서 */
.wk-work.sg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: start; gap: var(--dense-gap, 12px); }
.wk-work.sg > .grid2 { display: contents; }
.wk-work.sg .frow { grid-template-columns: 110px minmax(0, 1fr); }
.wk-work.sg > .panel, .sg > .grid2 > .panel { margin: 0; }
.wk-work.sg > details.adv { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.wk-work.sg > details.adv > .panel { margin: 0 0 var(--dense-gap, 12px); }

/* 입력칸 폭·소제목(인라인 style → 클래스) */
.sg-ap { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; align-items: start; }
.sg-h3 { font-size: 14px; margin: .2rem 0 .5rem; }
.sg-h3b { margin: .8rem 0 .3rem; }
.sg-note { font-size: 12px; margin: .3rem 0 0; }
.sg-note:empty { display: none; }
.sg-pre { white-space: pre-wrap; }
.sg-gap { margin-top: 8px; }
.sg-fx { gap: 16px; font-size: 15px; }
.sg-w60 { width: 60px; } .sg-w70 { width: 70px; } .sg-w80 { width: 80px; } .sg-w100 { width: 100px; } .sg-w110 { width: 110px; }
.sg-w140 { width: 140px; } .sg-w150 { width: 150px; } .sg-w180 { width: 180px; } .sg-w240 { width: 240px; } .sg-w260 { width: 260px; }
.panel > h2 .help, .sg-h3 .help { vertical-align: middle; }
.wk-work.sg .frow input { max-width: 420px; }
@media (max-width: 760px) { .wk-work.sg { grid-template-columns: minmax(0, 1fr); } .wk-work.sg .frow, html.rail-pre .wk-work.sg .frow { grid-template-columns: minmax(0, 1fr); } .wk-work.sg .frow input, html.rail-pre .wk-work.sg .frow input { max-width: none; } .sg-ap { grid-template-columns: minmax(0, 1fr); } }
#credRows td:nth-child(2) { white-space: normal; }
