/* permissions 화면 서식 — 화면 파일의 <style> 블록을 옮김(구조 린트 inline_style 비율 유지) */
.verdict { border-radius: 10px; padding: 13px 15px; margin: .4rem 0 1rem; font-weight: 700; line-height: 1.65; }
.verdict.ok { background: #eaf7ef; border: 1px solid #b6e0c6; color: #1c6b3c; }
.verdict.ng { background: #fff6e5; border: 1px solid #f0d9a8; color: #8a5a00; }
.verdict small { display: block; font-weight: 500; margin-top: 5px; opacity: .9; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 9px; margin: .6rem 0; }
.kpi div { background: #f7f8fa; border: 1px solid #eceef2; border-radius: 9px; padding: 10px 12px; }
.kpi b { display: block; font-size: 19px; }
.kpi span { font-size: 12px; color: #667; }
table.st { width: 100%; border-collapse: collapse; font-size: 13px; }
table.st th, table.st td { padding: 6px 8px; border-bottom: 1px solid #eef0f4; text-align: left; vertical-align: top; }
table.st th { background: #f7f8fa; white-space: nowrap; }
.f { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: .5rem 0; }
.warnbox { background: #fdeceb; border: 1px solid #f3c2bf; color: #a32a1f; border-radius: 8px; padding: 10px 13px; font-size: 12.5px; line-height: 1.7; margin: .5rem 0; }
.cautionbox { background: #fff4e0; border: 1px solid #f0dcb4; color: #8a5a00; border-radius: 8px; padding: 10px 13px; font-size: 12.5px; line-height: 1.7; margin: .5rem 0; }
.okbox { background: #eaf7ef; border: 1px solid #b6e0c6; color: #1c6b3c; border-radius: 8px; padding: 10px 13px; font-size: 12.5px; line-height: 1.7; margin: .5rem 0; }
.empty { border: 1px dashed var(--line-strong); border-radius: 10px; padding: 18px; text-align: center; color: var(--sub); font-size: 13px; line-height: 1.8; }
.empty b { display: block; color: var(--ink); font-size: 14px; }
.var { display: inline-block; background: #eef2fb; border: 1px solid #dde4f4; border-radius: 6px; padding: 1px 6px; margin: 2px 3px 2px 0; font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.sev-block { color: #a32a1f; font-weight: 700; } .sev-warn { color: #8a5a00; font-weight: 700; } .sev-info { color: #2563a8; font-weight: 700; }
.st-done { color: #1c6b3c; font-weight: 700; } .st-failed { color: #a32a1f; font-weight: 700; } .st-partial, .st-blocked { color: #8a5a00; font-weight: 700; } .st-nomatch, .st-skipped { color:var(--sub); }
textarea { width: 100%; min-height: 64px; font: inherit; padding: 7px 9px; border: 1px solid #d9dde5; border-radius: 8px; }
input[type=text], input[type=number], select { padding: 6px 8px; border: 1px solid #d9dde5; border-radius: 8px; font: inherit; }
.row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 6px; align-items: center; margin: 4px 0; }
  .tabs{display:flex;gap:4px;margin:0 0 12px;border-bottom:2px solid #e2e2dc;flex-wrap:wrap}.tabs .tab{border:0;background:none;padding:9px 16px;font:inherit;cursor:pointer;color:var(--sub);border-bottom:2px solid transparent;margin-bottom:-2px}
  .tabs .tab[aria-selected=true]{color:#1d4ed8;border-bottom-color:#1d4ed8;font-weight:600}.tabhid{display:none !important}
.w220 { width: 220px; } .w170 { width: 170px; } .w140 { width: 140px; } .ctr { text-align: center; }
.seat { font-size: 13px; color: var(--sub); margin: .2rem 0 .6rem; } .seat b { color: var(--ink); font-size: 15px; }
.linkbox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .linkbox code { flex: 1 1 320px; word-break: break-all; font-size: 12px; background: #fff; border: 1px solid #d9dde5; border-radius: 6px; padding: 5px 8px; }
table.st select { padding: 3px 6px; font-size: 12.5px; } table.st .acts, table.st .nm { white-space: normal; overflow: visible; text-overflow: clip; } table.st .acts { min-width: 190px; } table.st .acts .btn { margin: 2px 4px 2px 0; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } .w220, .w170, .w140 { width: 100%; } table.st .acts { min-width: 0; } }
/* permissions 화면 전용 한 화면 모드(wk) 서식 — 화면 파일의 <style> 에서 옮김(구조 린트 inline_style 비율 유지, D236) */
/* 한 화면 모드(D236·G5) — 직원·역할 기본 표·계정별 예외 탭 안의 표만 안에서 스크롤 */
.wk-work > .card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; margin: 0; }
.wk-work > .card > h1 { display: none; }
.wk-work > .card > #teamPanel:not(.tabhid), .wk-work > .card > #rolesPanel:not(.tabhid), .wk-work > .card > #ovrPanel:not(.tabhid) { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.wk-work .scroll { flex: 1 1 auto; min-height: 0; overflow: auto; }
.wk-work h2 .help { vertical-align: middle; }
/* 요약 칸은 작게(왼쪽에 모아) · 표는 넓은 화면에서 늘어나지 않게 · 탭 이름과 겹치는 제목은 작게 */
.wk-work .kpi { grid-template-columns: repeat(3, minmax(110px, 170px)); margin: .2rem 0 .4rem; }
.wk-work .kpi div { padding: 6px 10px; }
.wk-work .kpi b { font-size: 17px; }
.wk-work .scroll { max-width: 1180px; }
.wk-work #rolesPanel > h2, .wk-work #ovrPanel > h2 { font-size: 15px; margin: 6px 0; }
.wk-work .w170 { width: 210px; }
