@font-face { font-family: "SUITE"; src: url("/fonts/SUITE-Regular.ttf"); font-weight: 400; }
@font-face { font-family: "SUITE"; src: url("/fonts/SUITE-Medium.ttf"); font-weight: 500; }
@font-face { font-family: "SUITE"; src: url("/fonts/SUITE-SemiBold.ttf"); font-weight: 600; }
@font-face { font-family: "SUITE"; src: url("/fonts/SUITE-Bold.ttf"); font-weight: 700; }
:root { --navy: #1f3864; --ink: #17243a; --muted: #66758b; --line: #d9e1ec; --soft: #f3f6fa; --ok: #1d7a4f; --okbg: #e4f4ec;
        --no: #8a5a00; --nobg: #fdf0d5; --bad: #a3262c; --badbg: #fbe6e7; --blue: #2459b8; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "SUITE", "Segoe UI", "Malgun Gothic", sans-serif; color: var(--ink); background: var(--soft); font-size: 14px; }
button, input, select, textarea { font: inherit; color: inherit; }
.top { display: flex; align-items: center; gap: 18px; background: var(--navy); color: #fff; padding: 0 18px; height: 52px; position: sticky; top: 0; z-index: 5; }
.brand { font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
.brand b { font-weight: 700; }
.ver { font-size: 11px; opacity: .6; margin-left: 4px; }
.nav { display: flex; gap: 2px; flex: 1; overflow-x: auto; }
.nav button { background: none; border: 0; color: #c9d5ea; padding: 16px 12px; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav button.on { color: #fff; border-bottom-color: #ff7b4d; font-weight: 600; }
.who { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; }
.ghost { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 6px; padding: 4px 9px; cursor: pointer; }
.count { background: #ff7b4d; border-radius: 9px; padding: 0 6px; font-size: 11px; font-weight: 700; }
main { padding: 16px 18px 60px; max-width: 1500px; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.bar input[type=search], .bar select { border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; background: #fff; }
.bar input[type=search] { min-width: 260px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 5px 13px; cursor: pointer; }
.tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 7px 8px; border-bottom: 2px solid var(--line); white-space: nowrap; position: sticky; top: 52px; background: #fff; }
td { padding: 7px 8px; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
tr:hover td { background: #fafcff; }
td.code { font-weight: 600; white-space: nowrap; }
td.path, .path { font-family: Consolas, "Segoe UI", "Malgun Gothic", monospace; font-size: 12px; color: var(--muted); word-break: break-all; }
.pill { display: inline-block; border-radius: 11px; padding: 2px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill.yes { background: var(--okbg); color: var(--ok); }
.pill.no { background: #eef1f6; color: var(--muted); }
.pill.warn { background: var(--nobg); color: var(--no); }
.pill.bad { background: var(--badbg); color: var(--bad); }
.pill.info { background: #e6eefc; color: var(--blue); }
button.primary, button.act, button.plain { border-radius: 7px; padding: 5px 11px; cursor: pointer; border: 1px solid var(--navy); }
button.primary { background: var(--navy); color: #fff; }
button.act { background: #fff; color: var(--navy); }
button.plain { background: #fff; border-color: var(--line); color: var(--ink); }
button:disabled { opacity: .5; cursor: default; }
button.link { background: none; border: 0; padding: 0 4px; color: var(--blue); font-size: 12px; text-decoration: underline; cursor: pointer; }
td.acts { width: 1%; white-space: nowrap; }
.slots { display: grid; grid-template-columns: 54px 126px 82px; gap: 6px; align-items: center; justify-content: end; }
.slots > span { display: block; }
.slots button, .slots .pill { display: block; width: 100%; box-sizing: border-box; text-align: center; padding-left: 0; padding-right: 0; }
.slots .pill { padding-top: 6px; padding-bottom: 6px; border-radius: 7px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .right { text-align: right; } .nowrap { white-space: nowrap; }
.error { color: var(--bad); }
.stats { display: flex; gap: 10px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.tile { text-align: left; background: var(--soft); border: 1px solid transparent; border-radius: 9px; padding: 10px 14px; cursor: pointer; display: grid; gap: 1px; }
.tile:hover { border-color: var(--line); } .tile.on { background: #fff; border-color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); }
.tile b { font-size: 24px; line-height: 1.15; color: var(--navy); } .tile .t-label { font-weight: 600; } .tile .t-hint { font-size: 12px; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.facts button { margin-left: 6px; } .rule { margin: 10px 0 0; }
.bar .sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
table.manage td.reason { color: var(--muted); font-size: 13px; min-width: 170px; max-width: 250px; line-height: 1.35; }
table.manage td.file { max-width: 0; min-width: 150px; width: 26%; } table.manage td.file div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Consolas, "Segoe UI", "Malgun Gothic", monospace; font-size: 12px; color: var(--ink); }
th.num, td.num { text-align: right; white-space: nowrap; width: 1%; font-variant-numeric: tabular-nums; }
.slots.two { grid-template-columns: 78px 92px; }
.stat { background: var(--soft); border-radius: 8px; padding: 8px 14px; min-width: 110px; }
.stat b { display: block; font-size: 20px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-bottom: 10px; }
.crumbs button { background: none; border: 0; color: var(--blue); cursor: pointer; padding: 2px 4px; }
.folder-row { cursor: pointer; }
.folder-row td:first-child { font-weight: 600; }
.hidden-file td { color: #9aa6b8; }
dialog { border: 0; border-radius: 12px; padding: 0; width: min(760px, 94vw); box-shadow: 0 20px 60px rgba(20,35,70,.35); }
dialog::backdrop { background: rgba(20,30,50,.45); }
#dialogBody { padding: 18px 20px; }
#dialogBody h3 { margin: 0 0 12px; color: var(--navy); }
#dialogBody label { display: block; margin: 9px 0 3px; font-size: 12px; color: var(--muted); }
#dialogBody input[type=text], #dialogBody input[type=password], #dialogBody input[type=email], #dialogBody select, #dialogBody textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; }
.check { display: flex !important; align-items: center; gap: 7px; color: var(--ink) !important; font-size: 14px !important; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.cand { border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; margin-bottom: 8px; }
.cand.rep { border-color: var(--ok); background: #f6fcf9; }
.cand .head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cand .score { font-weight: 700; color: var(--navy); min-width: 44px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 9px; z-index: 20; max-width: 80vw; }
.login-body { display: grid; place-items: center; min-height: 100vh; background: var(--navy); }
.login-card { background: #fff; border-radius: 14px; padding: 28px 30px; width: min(380px, 92vw); display: grid; gap: 10px; }
.login-brand { font-size: 20px; color: var(--navy); }
.login-card label { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.login-card input { border: 1px solid var(--line); border-radius: 7px; padding: 9px 10px; font-size: 14px; }
.login-card button { padding: 10px; font-size: 15px; }
code.pw { font-family: Consolas, monospace; background: var(--soft); padding: 3px 8px; border-radius: 6px; font-size: 15px; }

table.manage.dm { width: auto; margin: 4px 0 10px; }
table.manage.dm td, table.manage.dm th { padding: 4px 12px; }

/* 0.7.0 확정 관리 표: 칸이 화면 밖으로 밀리지 않게 — 시트 판 · 설계 대조는 표시 아래 줄에 설명, 사유는 줄바꿈 */
table.manage { table-layout: auto; width: 100%; }
table.manage td { vertical-align: middle; }
table.manage td.form { min-width: 130px; } table.manage td.design { white-space: nowrap; width: 1%; }
table.manage .sub { margin-top: 2px; max-width: 150px; white-space: normal; line-height: 1.3; }
table.manage td.code { white-space: nowrap; }

/* 0.8.0 제품 미리보기 창(오른쪽) */
tr.pick { cursor: pointer; scroll-margin-top: 96px; }
tr.sel td, tr.sel:hover td { background: #e9f0fb; }
tr.sel td:first-child { box-shadow: inset 3px 0 0 var(--navy); }
.drawer { position: fixed; top: 52px; right: 0; bottom: 0; width: min(820px, 48vw); min-width: 420px; max-width: 100vw; background: #fff; border-left: 1px solid var(--line);
  box-shadow: -14px 0 36px rgba(20,35,70,.18); z-index: 4; display: flex; flex-direction: column; animation: drawer-in .18s ease-out; }
.drawer[hidden] { display: none; }
@keyframes drawer-in { from { transform: translateX(36px); opacity: 0; } to { transform: none; opacity: 1; } }
.d-head { padding: 12px 16px 10px; border-bottom: 1px solid var(--line); }
.d-title { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.d-title b { font-size: 18px; color: var(--navy); }
.d-title .d-close { margin-left: auto; }
.d-acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 9px; }
.d-frame { flex: 1; min-height: 0; background: #e8edf4; overflow-y: auto; padding: 12px; }
.d-frame img { display: block; width: 100%; height: auto; background: #fff; box-shadow: 0 1px 6px rgba(20,35,70,.18); margin-bottom: 12px; }
.d-note { text-align: center; padding-bottom: 6px; }
.fromcode .small { border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-size: 11px; }
.d-empty { padding: 48px 24px; text-align: center; }

/* 0.9.0 자동 스펙표(데이터시트 없는 제품) · 수정 요청 */
.n-sheet { background: #fff; box-shadow: 0 1px 6px rgba(20,35,70,.18); padding: 18px 22px 16px; }
.n-flag { background: var(--nobg); color: var(--no); border-radius: 7px; padding: 8px 12px; font-size: 13px; margin-bottom: 14px; }
.n-band { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, #3c4350, #0d0f13); color: #fff; padding: 9px 14px; font-weight: 600; }
.n-auto { font-size: 11px; font-weight: 600; letter-spacing: .04em; opacity: .85; }
.n-title { font-weight: 700; margin: 16px 0 6px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); }
.n-table { width: 100%; } .n-table th, .n-table td { position: static; border-bottom: 1px solid #eef2f7; padding: 7px 8px; font-size: 14px; }
.n-table th { width: 46%; color: var(--ink); font-weight: 600; white-space: normal; border-bottom-width: 1px; }
.n-table tr:hover td { background: none; }
.n-blank { color: #b6c0ce; }
.n-foot { margin: 12px 0 0; line-height: 1.5; }
.d-acts .d-fix { margin-left: auto; }
.fix-preview { margin-top: 8px; } .fix-preview img { display: block; max-width: 100%; max-height: 260px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 4px; }
td.req-note { max-width: 420px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ==== 1.2.0 수주관리대장 형식(2026-11-19 소유자) — 흰 머리줄 · 무지개 선 · 묶음 탭 · 큰 건수 · 전체 폭 찾기 · 촘촘한 표 ==== */
:root { --top-h: 46px; --accent: #2f6bff; --row: #eef0f4; }
body { background: #fff; font-size: 13px; }
.top { background: #fff; color: var(--ink); height: var(--top-h); gap: 14px; padding: 0 14px; border-bottom: 0; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, #3b6cff, #8b5cf6, #ec4899, #f59e0b, #22c55e, #06b6d4); }
.brand { font-size: 15px; color: var(--ink); } .brand b { font-weight: 800; }
.brand .sub { font-size: 11px; color: var(--muted); margin-left: 4px; font-weight: 400; }
.brand .ver { color: var(--muted); opacity: 1; }
.nav { flex: 0 1 auto; gap: 0; background: #f1f3f6; border-radius: 8px; padding: 3px; }
.nav button { color: #4b5565; padding: 4px 12px; border: 0; border-radius: 6px; font-size: 12.5px; }
.nav button.on { color: var(--accent); background: #fff; font-weight: 700; border: 0; box-shadow: 0 1px 2px rgba(20,35,70,.12); }
.hdr-stats { flex: 1; display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; white-space: nowrap; }
.hdr-stats .big { color: var(--accent); font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hdr-stats .unit { color: var(--muted); font-size: 11px; margin-right: 14px; }
.hdr-stats .sub { color: var(--muted); font-size: 12px; } .hdr-stats .sub b { color: var(--ink); font-size: 15px; font-weight: 700; }
.who { color: var(--muted); font-size: 12px; gap: 4px; }
.ghost { border: 0; color: var(--muted); padding: 4px 6px; font-size: 12px; }
.ghost:hover { color: var(--ink); background: #f1f3f6; }
main { max-width: none; padding: 10px 14px 60px; }
.drawer { top: calc(var(--top-h) + 2px); }
th { top: calc(var(--top-h) + 2px); }
/* 찾기 줄 */
.sbar { display: flex; gap: 6px; align-items: center; margin: 2px 0 10px; }
.search { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 34px; border: 1px solid #e2e6ec; border-radius: 8px; padding: 3px 10px; cursor: text; background: #fff; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
.search .ico { color: var(--muted); font-size: 15px; margin-right: 2px; }
.search input { flex: 1; min-width: 200px; border: 0; outline: 0; padding: 4px 2px; background: none; font-size: 13px; }
.term { display: inline-flex; align-items: center; gap: 3px; background: #eaf1ff; color: var(--accent); border-radius: 5px; padding: 1px 4px 1px 8px; font-weight: 600; font-size: 12px; }
.term button { border: 0; background: none; color: var(--accent); cursor: pointer; padding: 0 3px; font-size: 13px; }
.chip { border: 1px solid #e2e6ec; background: #fff; border-radius: 7px; height: 34px; padding: 0 10px; font-size: 12px; color: #4b5565; cursor: pointer; }
select.chip { appearance: none; -webkit-appearance: none; padding-right: 12px; }
.chip.on { border-color: var(--accent); color: var(--accent); background: #f3f7ff; font-weight: 600; }
.chip.reset:disabled { opacity: .45; cursor: default; }
/* 촘촘한 전체 폭 표 */
table.list th { background: #f7f8fa; color: #5b6576; font-size: 11.5px; font-weight: 600; padding: 7px 8px; border-bottom: 1px solid #e6e9ee; }
table.list th.sortable { cursor: pointer; user-select: none; } table.list th.sortable:hover { color: var(--ink); }
table.list td { padding: 4px 8px; border-bottom: 1px solid var(--row); font-size: 13px; height: 34px; }
table.list td.code { font-weight: 600; letter-spacing: .01em; }
table.list tr:hover td { background: #f7faff; }
table.list .pill { font-size: 11.5px; padding: 1px 8px; font-weight: 600; }
table.list .slots { grid-template-columns: 46px 112px 74px 84px; gap: 4px; }
table.list .slots button { height: 26px; font-size: 12px; border-radius: 6px; padding-top: 0; padding-bottom: 0; }
table.list .slots .pill { padding-top: 4px; padding-bottom: 4px; border-radius: 6px; }
table.list button.link { font-size: 11.5px; }
.empty { padding: 30px; text-align: center; }

/* 1.2.1 여백 조금 넓힘(11-19 소유자 '여백이 너무 없어 보인다') — 칸이 적은 화면이라 숨 쉴 틈을 둔다 */
:root { --top-h: 52px; }
.top { padding: 0 28px; gap: 18px; }
main { padding: 18px 28px 64px; }
.sbar { margin: 0 0 14px; gap: 8px; }
.search { min-height: 38px; padding: 4px 12px; }
.chip { height: 38px; padding: 0 12px; }
table.list th { padding: 9px 12px; }
table.list td { padding: 6px 12px; height: 40px; }
table.list td:first-child, table.list th:first-child { padding-left: 14px; }

/* 1.3.0 STEP 열이 늘어 표가 넓어짐 — 칸 안 줄바꿈 없음(좁은 화면은 옆으로 밀림) */
table.list td, table.list th { white-space: nowrap; }

/* 1.3.2 목록에는 받기 단추만 — 요청은 미리보기 창에서 */
table.list th.acts-hint { text-align: right; font-weight: 400; color: #8a94a6; }

/* 1.3.2 목록에는 원본보기만 — 받기 · 요청은 오른쪽 창(줄을 누름) */
table.list .slots { grid-template-columns: 84px; }

/* 1.3.2 오른쪽 창 단추 자리 고정 — [데이터시트][BB][STEP] 같은 폭 세 칸 · 오른쪽 끝 = 확정 · 수정 요청 / 원본보기 · 닫기 */
.d-title .d-right, .d-acts .d-right { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.d-acts { flex-wrap: nowrap; }
.d-slots { display: grid; grid-template-columns: repeat(3, 128px); gap: 6px; }
.d-slots > * { width: 100%; box-sizing: border-box; text-align: center; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 7px; }

/* 용도 직접 입력 칸 */
#dialogBody input[name=purpose_own] { margin-top: 6px; }

/* 목록 상태 표시 — 알약 대신 점 + 짧은 글자 */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.st.ok::before { background: #16a34a; } .st.auto::before { background: #f59e0b; }
.st-none { color: #c3cad6; }
.st-old { font-size: 11px; font-weight: 600; color: var(--bad); border: 1px solid #f3c2c5; border-radius: 4px; padding: 0 4px; margin-left: 6px; }
.legend { display: flex; gap: 18px; align-items: center; font-size: 12px; color: var(--muted); margin: -4px 2px 8px; }
.legend .st { font-size: 12px; color: var(--muted); }

/* 강조(11-19 소유자 '타이틀 · 품번 강조') — 제목 · 품번 · 머리칸은 굵게, 나머지는 보통 */
.brand b { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
table.list th { font-weight: 700; color: #3c4658; }
table.list td.code { font-weight: 700; color: #111a2c; font-size: 13.5px; }
.d-title b { font-weight: 800; font-size: 20px; color: #111a2c; }
.hdr-stats .big { font-weight: 800; }
.n-title, .card h3 { font-weight: 800; }

/* 1.5.0 제품군별 사양 필터 줄 */
.specbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 12px; padding: 8px 12px; background: #f7f9fc; border: 1px solid #e6eaf0; border-radius: 8px; }
.sb-title { font-weight: 700; color: #3c4658; font-size: 12px; margin-right: 4px; }
.sf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #4b5565; background: #fff; border: 1px solid #e2e6ec; border-radius: 7px; padding: 0 8px; height: 32px; }
.sf.on { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.sf input { width: 92px; border: 0; outline: 0; font-size: 12.5px; background: none; padding: 0; color: var(--ink); }
.sf select { border: 0; outline: 0; font-size: 12.5px; background: none; color: var(--ink); max-width: 140px; }
.sf .u { color: #9aa3b2; }
.sb-note { margin-left: auto; }

/* 1.7.0 같은 제품 묶기 */
.alias-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; font-size: 13px; }
.alias-row .pill .link { font-size: 11px; }

/* 1.8.0 요청함 */
.mail-chip { height: 28px; margin-left: 12px; } .mail-chip.warn { border-color: #f3d38a; color: var(--no); background: var(--nobg); }
table.list.req td.req-note { white-space: normal; max-width: 420px; line-height: 1.4; }
.r-close { display: flex; gap: 6px; margin-top: 10px; } .r-close input { flex: 1; border: 1px solid #e2e6ec; border-radius: 7px; padding: 6px 10px; font-size: 13px; }
.r-closed { margin-top: 8px; }
.r-body { padding: 4px 4px 20px; }
.r-sec { background: #fff; border: 1px solid #e6eaf0; border-radius: 9px; padding: 12px 14px; margin-bottom: 10px; }
.r-sec h4 { margin: 0 0 8px; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.r-ask { border-color: #c9d7f5; background: #f7faff; }
.r-note { white-space: pre-wrap; margin: 4px 0 8px; font-size: 14px; }
.r-img { max-width: 100%; border: 1px solid var(--line); border-radius: 6px; margin-top: 6px; }
.r-file { display: flex; gap: 10px; align-items: center; font-family: Consolas, "Segoe UI", "Malgun Gothic", monospace; font-size: 12.5px; margin-bottom: 8px; }
.r-file button { font-family: inherit; margin-left: auto; font-family: "SUITE", "Segoe UI", "Malgun Gothic", sans-serif; }
.r-preview img { display: block; width: 100%; height: auto; box-shadow: 0 1px 6px rgba(20,35,70,.18); margin-bottom: 10px; background: #fff; }
.st.warn::before { background: #f59e0b; opacity: .45; } .st.bad::before { background: var(--bad); } .st.none { color: #9aa3b2; } .st.none::before { background: #d3d9e2; }

/* 1.9.0 확정 관리 */
.facts-line { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 12.5px; color: #4b5565; margin: -4px 2px 10px; }
.facts-line .link { font-size: 12.5px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; }
.chip-btn { height: 34px; }
table.list.mlist td.m-reason { white-space: normal; min-width: 160px; max-width: 260px; color: #4b5565; font-size: 12.5px; line-height: 1.35; }
table.list.mlist td.m-file { max-width: 260px; overflow: hidden; text-overflow: ellipsis; font-family: Consolas, "Segoe UI", "Malgun Gothic", monospace; font-size: 12px; }
.st.review::before { background: #f59e0b; opacity: .45; } .st.stale::before { background: var(--bad); }

/* 1.9.1 반출 기록 */
table.list.alist td.a-reason { white-space: normal; max-width: 320px; color: #4b5565; font-size: 12.5px; }
.mono { font-family: Consolas, "Segoe UI", "Malgun Gothic", monospace; font-size: 12px; }
table.kv { width: 100%; } table.kv th { position: static; width: 32%; text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid #eef1f5; background: none; white-space: nowrap; }
table.kv td { padding: 6px 8px; border-bottom: 1px solid #eef1f5; word-break: break-all; font-size: 13px; }

/* 1.9.2 자료 폴더 */
.navbtns { display: inline-flex; gap: 4px; }
.chip.nav { width: 38px; padding: 0; font-size: 12px; }
.chip.nav:disabled { opacity: .35; cursor: default; }
.fcrumbs { flex: 1; margin: 0; padding: 0 10px; height: 38px; border: 1px solid #e2e6ec; border-radius: 8px; display: flex; align-items: center; overflow-x: auto; white-space: nowrap; }
.fcrumbs button { font-size: 13px; }
table.list.flist tr.hidden-file td { color: #9aa3b2; }
.d-title b.fname { font-size: 15px; word-break: break-all; }

/* 계정 화면 */
.uform label { display: block; margin: 9px 0 3px; font-size: 12px; color: var(--muted); }
.uform input[type=text], .uform input[type=email], .uform select { width: 100%; border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; }
.uform .check { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 13px; margin-top: 12px; }

/* 1.9.3 지금 스캔 — 눈에 띄는 큰 단추 */
.scanbox { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; padding-left: 12px; border-left: 1px solid #e2e6ec; }
.scan-when { font-size: 12.5px; color: #4b5565; white-space: nowrap; }
.scan-btn { height: 38px; padding: 0 18px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #2f6bff, #1f3864); color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(47,107,255,.35); white-space: nowrap; }
.scan-btn:hover { filter: brightness(1.08); }
.scan-btn:disabled, .scan-btn.busy { background: #9aa9c7; box-shadow: none; cursor: default; }
.scan-btn.small { height: 28px; padding: 0 12px; font-size: 12.5px; }

/* 1.13.0 제품군 탭(브라우저 탭 모양) — 높이는 '지금 스캔' 단추와 같게 */
.ftabs { display: flex; gap: 4px; margin: 16px 0 0; padding-left: 2px; border-bottom: 2px solid #1f3864; }
.ftab { height: 38px; padding: 0 22px; border: 1px solid #d5dbe5; border-bottom: 0; border-radius: 10px 10px 0 0; background: #eef1f6;
  color: #4b5565; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; position: relative; top: 2px; }
.ftab:hover { background: #e2e8f2; color: #1f3864; }
.ftab.on { background: #1f3864; border-color: #1f3864; color: #fff; }
.ftab-panel { border: 1px solid #e2e6ec; border-top: 0; border-radius: 0 0 10px 10px; padding: 10px 12px 12px; background: #fff; }
.ftab-panel .specbar { margin-top: 0; }

/* 1.13.1 머리줄: 제놉스 로고(남색 배지) + 큰 타이틀 */
.brand { display: flex; align-items: center; gap: 8px; }
.brand .logo-badge { display: inline-flex; align-items: center; background: #1f3864; border-radius: 8px; padding: 6px 11px; margin-right: 6px; }
.brand .logo-badge img { height: 26px; width: auto; display: block; }
.brand b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #1f3864; }
.brand .sub { font-size: 12.5px; margin-left: 2px; }
.brand .ver { font-size: 12.5px; }
.login-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.logo-badge.big { display: inline-flex; background: #1f3864; border-radius: 10px; padding: 10px 16px; }
.logo-badge.big img { height: 34px; width: auto; display: block; }
.login-brand { text-align: center; font-size: 24px; }

/* 1.13.2 로고 = 흰 바탕 글자 로고(advanced zenops)만 — 높이는 타이틀 글자에 맞춰 em 으로(타이틀을 키우면 같이 커짐) */
.brand { font-size: 24px; gap: 10px; }
.brand .brand-logo { height: 1.55em; width: auto; display: block; margin-right: 2px; }
.brand b { font-size: 1em; }
.login-logo img { height: 52px; width: auto; display: block; }

/* 1.13.3 범례 글자 키움 */
.legend { font-size: 14px; gap: 22px; color: #4b5565; }
.legend .st { font-size: 14px; color: #4b5565; }
.legend .st-old { font-size: 13px; }

/* 1.13.4 소유자 '전체적으로 폰트를 조금만 키워 줘' — 화면 전체 10 % (글자 · 칸 · 오른쪽 창 같이). 로그인 화면은 그대로 */
body:not(.login-body) { zoom: 1.1; }
