/* =====================================================================
   리하온 · 테마 1 LABEL — 화면 전체를 제품 뒷면 라벨의 문법으로
   (영양·기능 정보표 · 전성분 · 사용상의 주의사항 · 바코드)
   흰 라벨 + 검정 괘선(3 · 6 · 12px) · Libre Franklin 900 숫자 · 경고 4단계(○ △ ▲ ✕)
   Claude Design 「리하온 테마 1 LABEL」 기준.
   ===================================================================== */
.t-l {
  --bg: #f6f5f1; --ink: #111111; --mu: #555555; --mu2: #666666; --fa: #999999; --ln: #d4d2ca; --ln2: #e3e1da; --sf: #ffffff;
  --ok: #1f7a4d; --warn: #8a6400; --risk: #d02b1b; --stop: #111111;
  --ok-bg: #1f7a4d; --warn-bg: #f5c518; --risk-bg: #d02b1b; --stop-bg: #111111;
  --hi: #fff6e5;
  --f: "Pretendard LB", "Pretendard Variable", Pretendard, sans-serif; --fr: "Libre Franklin", "Pretendard LB", sans-serif; --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --paper: var(--bg); --card: var(--sf); --line: var(--ln); --line-2: var(--ln2); --mute: var(--mu); --faint: var(--fa);
  --serif: var(--f); --display: var(--fr); --font: var(--f); --radius: 0px; --radius-sm: 0px; --deep: var(--ink); --on-deep: #fff; --on-ac: #fff;
  --chart-grid: var(--ln2); --chart-text: var(--mu);
}
html.t-l, body.t-l { background: var(--bg); }
body.t-l { color: var(--ink); font-family: var(--f); font-size: 13px; word-break: keep-all; margin: 0; }
.t-l a { color: var(--ink); text-decoration: none; } .t-l a:hover { color: var(--ac); }
.t-l .mono, .t-l .m { font-family: var(--mono); } .t-l .fr { font-family: var(--fr); font-weight: 900; } .t-l .muted, .t-l .mu { color: var(--mu); }
.t-l .r { text-align: right; } .t-l .c { text-align: center; } .t-l .nw { white-space: nowrap; } .t-l .sm { font-size: 11px; } .t-l .xs { font-size: 10px; }
.t-l .ok-t { color: var(--ok); } .t-l .warn-t { color: var(--warn); } .t-l .risk-t { color: var(--risk); } .t-l .ac-t { color: var(--ac); } .t-l .stop-t { color: var(--stop); }
.t-l .up { color: var(--ok); } .t-l .down { color: var(--risk); }
.t-l b, .t-l strong { font-weight: 800; }
.t-l form { margin: 0; }

/* ------------------------------------------------------------ 머리 */
.lb-head { background: var(--bg); position: sticky; top: 0; z-index: 40; font-size: 12px; white-space: nowrap; }
.lb-r1 { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 32px; border-bottom: 1px solid var(--ink); }
.lb-r1 .l, .lb-r1 .r { display: flex; align-items: center; gap: 16px; }
.lb-r1 .r { gap: 14px; }
.lb-logo { font-family: var(--fr); font-weight: 900; font-size: 18px; letter-spacing: .04em; color: var(--ink) !important; }
.lb-back { color: var(--mu2) !important; }
.lb-seg { display: flex; border: 1.5px solid var(--ink); } .lb-seg a { padding: 3px 12px; font-weight: 700; color: var(--ink) !important; }
.lb-seg a.on { background: var(--ink); color: var(--sf) !important; }
.lb-brands { display: flex; gap: 4px; } .lb-brands a { display: flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1.5px solid var(--ln); color: var(--ink) !important; background: transparent; }
.lb-brands a.on { border-color: var(--ink); background: var(--sf); font-weight: 700; } .lb-brands a:hover { border-color: var(--ink); }
.lb-brands .dot { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; font: 900 9px var(--fr); border: 1px solid var(--ln); background: var(--sf); }
.lb-skin { display: flex; border: 1px solid var(--ink); font-size: 11px; } .lb-skin a, .lb-skin span { padding: 3px 9px; color: var(--ink) !important; }
.lb-skin a.on { background: var(--ink); color: var(--sf) !important; } .lb-skin span { color: var(--fa) !important; cursor: default; }
.lb-chips { display: flex; gap: 5px; align-items: center; } .lb-chips .db-chip { width: 14px; height: 14px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; outline-offset: 2px; }
.lb-chips .db-chip.on { outline: 1.5px solid var(--ink); }
.t-l .a-user { position: relative; } .t-l .a-user > button { background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); padding: 0; }
.t-l .a-pop { position: absolute; right: 0; top: 22px; background: var(--sf); border: 2px solid var(--ink); padding: 6px; display: none; z-index: 50; }
.t-l .a-pop.open { display: block; } .t-l .a-toast.out { display: none; } .t-l .a-pop button { background: none; border: 0; font: inherit; cursor: pointer; padding: 4px 10px; white-space: nowrap; }
.lb-menu { display: flex; gap: 22px; padding: 0 32px; border-bottom: 3px solid var(--ink); font-size: 13px; align-items: stretch; }
.lb-menu > a, .lb-menu summary { padding: 10px 0; font-weight: 500; color: var(--mu) !important; border-bottom: 4px solid transparent; margin-bottom: -3px; cursor: pointer; list-style: none; }
.lb-menu > a.on, .lb-menu details.on > summary { color: var(--ink) !important; font-weight: 800; border-bottom-color: var(--ac); }
.lb-menu > a:hover, .lb-menu summary:hover { color: var(--ink) !important; }
.lb-menu details { position: relative; margin-left: auto; } .lb-menu summary::-webkit-details-marker { display: none; }
.lb-more { position: absolute; right: 0; top: calc(100% + 3px); background: var(--sf); border: 3px solid var(--ink); padding: 10px 14px; display: grid; grid-template-columns: repeat(3, minmax(130px, auto)); gap: 2px 18px; z-index: 45; white-space: nowrap; }
.lb-more b { grid-column: 1 / -1; font-family: var(--fr); font-weight: 900; font-size: 12px; padding: 8px 0 2px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.lb-more a { padding: 3px 0; font-size: 12px; } .lb-more a.on { color: var(--ac) !important; font-weight: 800; }
.lb-burger { display: none; }

/* ------------------------------------------------------------ 지면 · 기본 단위 */
.lb-main { padding: 26px 32px 40px; display: flex; flex-direction: column; gap: 24px; max-width: 1600px; }
.lb-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border-bottom: 12px solid var(--ink); padding-bottom: 10px; }
.lb-h .t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lb-h h1 { font-family: var(--fr); font-weight: 900; font-size: 44px; line-height: .95; letter-spacing: -.02em; margin: 0; }
.lb-h .s { font-size: 13px; line-height: 1.5; } .lb-h .s a { text-decoration: underline; }
.lb-bs { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.lb-facts { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-bottom: 6px solid var(--ink); }
.lb-facts > * { padding: 10px 14px 12px 0; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--ink); margin-right: 14px; color: var(--ink) !important; min-width: 0; }
.lb-facts > *:last-child { border-right: 0; margin-right: 0; }
.lb-facts span { font-size: 12px; font-weight: 800; } .lb-facts b { font-family: var(--fr); font-weight: 900; font-size: 30px; line-height: 1; white-space: nowrap; }
.lb-facts small { font-size: 11px; color: var(--mu); } a.lb-fx:hover b { text-decoration: underline; }
.lb-box { border: 3px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; min-width: 0; }
.lb-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 14px; border-bottom: 6px solid var(--ink); }
.lb-bh > b { font-family: var(--fr); font-weight: 900; font-size: 18px; } .lb-bh > span { font-family: var(--mono); font-size: 11px; color: var(--mu); text-align: right; }
.lb-bh a { text-decoration: underline; }
.lb-box.dk > .lb-bh { background: var(--ink); color: var(--sf); border-bottom: 0; align-items: center; } .lb-box.dk > .lb-bh > b { font-family: var(--f); font-weight: 800; font-size: 15px; }
.lb-box.dk > .lb-bh > span { color: var(--sf); } .lb-box.dk > .lb-bh a { color: var(--sf) !important; }
.lb-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.lb-g { display: grid; gap: 24px; align-items: start; grid-template-columns: var(--c, 1fr 1fr); } .lb-g > * { min-width: 0; }
.lb-sec { font-family: var(--fr); font-weight: 900; font-size: 18px; border-top: 3px solid var(--ink); padding-top: 10px; }
.lb-rule { height: 12px; background: var(--ink); margin: 4px 0; } .lb-rule.r6 { height: 6px; } .lb-rule.r8 { height: 8px; } .lb-rule.r10 { height: 10px; }
.lb-note { font-size: 11px; color: var(--mu); line-height: 1.55; }
.lb-bar { height: 24px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 3px, var(--ink) 3px 4px, transparent 4px 7px, var(--ink) 7px 9px, transparent 9px 10px); }
.lb-row { display: grid; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--ln); align-items: center; } .lb-row:last-child { border-bottom: 0; }
a.lb-row:hover { background: var(--bg); color: var(--ink); }
.lb-list > * { padding: 10px 14px; border-bottom: 1px solid var(--ln); display: flex; flex-direction: column; gap: 3px; } .lb-list > *:last-child { border-bottom: 0; }
a.lb-li:hover { background: var(--bg); color: var(--ink) !important; }
.lb-empty { padding: 26px 14px; text-align: center; color: var(--mu); } .lb-empty b { display: block; color: var(--ink); font-family: var(--fr); font-weight: 900; font-size: 18px; margin-bottom: 3px; }

/* 표 */
.lb-tw { overflow-x: auto; }
.lb-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.lb-t th { font-size: 11px; font-weight: 800; text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.lb-t td { padding: 9px 10px; border-bottom: 1px solid var(--ln); vertical-align: middle; }
.lb-t th:first-child, .lb-t td:first-child { padding-left: 14px; } .lb-t th:last-child, .lb-t td:last-child { padding-right: 14px; }
.lb-t tr:last-child td { border-bottom: 0; } .lb-t .r, .lb-t th.r { text-align: right; } .lb-t .c { text-align: center; }
.lb-t tr.lb-hl td { background: var(--bg); } .lb-t tr.lb-on td { background: var(--hi); }
.lb-t tbody tr:hover td { background: color-mix(in srgb, var(--sf) 94%, var(--ink)); }
.lb-t td.big { font-family: var(--fr); font-weight: 900; font-size: 18px; text-align: right; white-space: nowrap; }
.lb-t tr[class*="bl-"] td:first-child { border-left: 8px solid transparent; } .lb-t tr.bl-ok td:first-child { border-left-color: var(--ok); }
.lb-t tr.bl-warn td:first-child { border-left-color: var(--warn); } .lb-t tr.bl-risk td:first-child { border-left-color: var(--risk); } .lb-t tr.bl-stop td:first-child { border-left-color: var(--stop); }
.lb-fit { text-align: center !important; font-weight: 900; font-size: 15px; padding: 3px 0 !important; width: 70px; }
.lb-fit.y { color: var(--ok); } .lb-t td.lb-fit.n, .lb-t tr:hover td.lb-fit.n { background: var(--risk) !important; color: #fff; }
.lb-no { font-family: var(--mono); font-size: 11px; color: var(--ac) !important; font-weight: 600; white-space: nowrap; }

/* 배지 · 브랜드 */
.lb-lv { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; white-space: nowrap; background: var(--ok-bg); color: #fff; line-height: 1.4; }
.lb-lv.warn { background: var(--warn-bg); color: var(--ink); } .lb-lv.risk { background: var(--risk-bg); color: #fff; } .lb-lv.stop { background: var(--stop-bg); color: #fff; }
.lb-lv.ink { background: var(--sf); color: var(--ink); border: 2px solid var(--ink); padding: 0 6px; } .lb-lv.inv { background: var(--ink); color: var(--sf); }
.lb-lv.gray { background: var(--ln2); color: var(--mu); } .lb-lv.acc { background: var(--ac); color: #fff; }
.lb-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 6px; border: 1.5px solid var(--ink); white-space: nowrap; }
.lb-sq { width: 16px; height: 16px; flex: none; display: inline-flex; align-items: center; justify-content: center; font: 900 10px var(--fr); background: var(--ln); color: var(--ink); vertical-align: middle; }
.lb-sq.big { width: 44px; height: 30px; font-size: 14px; border: 1.5px solid var(--ink); }
.b-S { background: #f0a07f !important; color: #7a3a22 !important; } .b-M { background: #5cc4a6 !important; color: #145c49 !important; } .b-C { background: #e8909f !important; color: #6e1f33 !important; }
.lb-hf { flex: none; font-size: 10px; font-weight: 800; padding: 1px 5px; border: 1.5px solid var(--ink); white-space: nowrap; background: var(--sf); color: var(--ink); align-self: center; }
.lb-prod { display: inline-flex; align-items: center; gap: 7px; min-width: 0; max-width: 100%; } .lb-prod b, .lb-prod a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 단계 막대 */
.lb-steps { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 2px; }
.lb-steps > div { display: flex; flex-direction: column; gap: 3px; } .lb-steps i { height: 10px; background: var(--sf); border: 1.5px solid var(--ink); display: block; }
.lb-steps span { font-size: 10px; font-weight: 500; color: var(--fa); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-steps .done i { background: var(--ink); } .lb-steps .done span { color: var(--ink); }
.lb-steps .cur i { background: var(--ac); } .lb-steps .cur span { color: var(--ink); font-weight: 800; }
.lb-steps.sm i { height: 8px; }
.lb-meter { height: 10px; border: 1.5px solid var(--ink); background: var(--sf); position: relative; } .lb-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ac); }
.lb-meter i.ok { background: var(--ok); } .lb-meter i.warn { background: var(--warn-bg); } .lb-meter i.risk { background: var(--risk); } .lb-meter i.ink { background: var(--ink); } .lb-meter i.gray { background: var(--fa); }

/* 버튼 */
.lb-btn, .t-l .a-btn, .t-l .btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 2px solid var(--ink); background: var(--sf); color: var(--ink) !important; font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; border-radius: 0; line-height: 1.3; text-decoration: none; }
.lb-btn:hover, .t-l .a-btn:hover, .t-l .btn:hover { background: var(--ink); color: var(--sf) !important; }
.lb-btn.p, .t-l .a-btn-ac, .t-l .btn-primary { padding: 8px 14px; background: var(--ink); color: var(--sf) !important; border: 0; }
.lb-btn.p:hover, .t-l .a-btn-ac:hover, .t-l .btn-primary:hover { background: var(--ac); }
.lb-btn.a { padding: 8px 14px; background: var(--ac); color: #fff !important; border: 0; } .lb-btn.a:hover { background: var(--ink); }
.lb-btn.d, .t-l .a-btn-danger, .t-l .btn-danger { border-color: var(--risk); color: var(--risk) !important; background: var(--sf); } .lb-btn.d:hover, .t-l .btn-danger:hover { background: var(--risk); color: #fff !important; }
.lb-btn.sm, .t-l .btn-sm, .t-l .a-btn-sm { padding: 4px 9px; font-size: 12px; } .lb-btn.p.sm, .lb-btn.a.sm { padding: 6px 10px; }
.lb-btn.blk { display: flex; justify-content: center; width: 100%; box-sizing: border-box; }
.lb-btn.off, .lb-btn:disabled { background: var(--ln2) !important; color: var(--fa) !important; border-color: var(--ln2); cursor: default; }
.lb-btn.ul { border: 0; padding: 0; background: none; text-decoration: underline; font-weight: 600; } .lb-btn.ul:hover { background: none; color: var(--ac) !important; }

/* 입력 */
.lb-fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .lb-fld > span { font-size: 12px; font-weight: 800; } .lb-fld .req { color: var(--risk); }
.lb-fld small { font-size: 11px; color: var(--mu); } .lb-fld.err small { color: var(--risk); }
.lb-in, .lb-fld input, .lb-fld select, .lb-fld textarea, .t-l .a-in, .t-l .a-sel, .t-l .field input, .t-l .field select, .t-l .field textarea {
  padding: 8px 11px; border: 1.5px solid var(--ink); background: var(--sf); font: inherit; color: var(--ink); border-radius: 0; box-sizing: border-box; width: 100%; outline: 0; }
.lb-fld input:focus, .lb-fld select:focus, .lb-fld textarea:focus, .lb-in:focus, .t-l .a-in:focus, .t-l .a-sel:focus, .t-l .field input:focus, .t-l .field select:focus, .t-l .field textarea:focus { border: 2px solid var(--ac); padding: 7.5px 10.5px; }
.lb-fld.err input, .lb-fld.err select { border: 2px solid var(--risk); }
.lb-fld .mono, .lb-fld input.mono { font-family: var(--mono); }
.lb-drop { padding: 14px; border: 2px dashed var(--fa); text-align: center; color: var(--mu); cursor: pointer; display: block; }
.lb-drop input { display: none; }
.lb-chk { width: 14px; height: 14px; border: 2px solid var(--ink); display: inline-block; background: var(--sf); flex: none; } .lb-chk.on { background: var(--ac); }

/* 탭 */
.lb-tabs { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 0 14px; border-bottom: 1px solid var(--ink); }
.lb-tabs a { padding: 9px 0; border-bottom: 4px solid transparent; margin-bottom: -1px; font-weight: 500; color: var(--ink) !important; white-space: nowrap; }
.lb-tabs a.on { border-bottom-color: var(--ac); font-weight: 800; } .lb-tabs a small { font-family: var(--mono); font-size: 10px; color: var(--mu); margin-left: 2px; }
.lb-chip { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border: 1.5px solid var(--ink); font-size: 12px; white-space: nowrap; background: var(--sf); color: var(--ink) !important; }
.lb-chip.dash { border-style: dashed; border-color: var(--fa); color: var(--mu) !important; }

/* E1 오늘 */
.lb-today { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 32px; }
.lb-nf { border: 3px solid var(--ink); background: var(--sf); padding: 14px 18px 18px; display: flex; flex-direction: column; }
.lb-nf h1 { font-family: var(--fr); font-weight: 900; font-size: 46px; line-height: .95; letter-spacing: -.02em; margin: 0; }
.lb-nf .srv { font-size: 13px; padding: 6px 0 4px; }
.lb-nf .hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 800; padding-bottom: 2px; }
.lb-nf .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ink); padding: 6px 0; font-family: var(--fr); font-weight: 900; font-size: 30px; color: var(--ink) !important; }
.lb-nf .tot em { font-style: normal; color: var(--ac); }
.lb-nf .fx { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--ink); color: var(--ink) !important; }
.lb-nf .fx.in { padding-left: 16px; } .lb-nf .fx.in b { font-weight: 400; } .lb-nf .fx .m { font-family: var(--mono); } .lb-nf .fx small { font-size: 11px; color: var(--mu); }
.lb-nf .fx > span:last-child { font-family: var(--fr); font-weight: 800; } a.fx:hover { background: var(--bg); }
.lb-nf .ing { display: flex; height: 22px; margin: 6px 0 8px; border: 1.5px solid var(--ink); }
.lb-nf .ing > a { border-right: 1.5px solid var(--ink); display: flex; align-items: center; padding-left: 6px; font: 800 11px var(--fr); overflow: hidden; } .lb-nf .ing > a:last-child { border-right: 0; }
.lb-nf .br { display: grid; grid-template-columns: 18px 1fr auto 64px; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--ln); color: var(--ink) !important; }
.lb-nf .br .lb-sq { align-self: center; } .lb-nf .br .v { font-family: var(--fr); font-weight: 800; font-size: 16px; } .lb-nf .br .y { font-family: var(--mono); font-size: 12px; text-align: right; }
.lb-lede { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: stretch; }
.lb-lede .k { font-family: var(--mono); font-size: 12px; color: var(--mu); } .lb-lede .txt { display: flex; flex-direction: column; gap: 4px; justify-content: flex-end; }
.lb-lede h2 { font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; margin: 0; } .lb-lede h2 em { font-style: normal; color: var(--ac); }
.lb-lede h2 u { text-decoration-thickness: 3px; text-underline-offset: 5px; } .lb-lede h2 a:hover { color: var(--ac); }
.lb-seal { width: 200px; height: 200px; border-radius: 50%; border: 3px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 8px var(--ac); color: var(--ink) !important; box-sizing: border-box; }
.lb-seal .k { font-family: var(--fr); font-weight: 900; font-size: 12px; letter-spacing: .2em; color: var(--ac); } .lb-seal b { font-family: var(--fr); font-weight: 900; font-size: 34px; line-height: 1; }
.lb-seal .d { font-size: 12px; font-weight: 700; } .lb-seal small { font-size: 11px; line-height: 1.35; padding: 0 22px; }
.lb-warn-row { display: grid; grid-template-columns: 30px 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--ln); }
.lb-warn-row:last-child { border-bottom: 0; } .lb-warn-row > b { font-family: var(--fr); font-weight: 900; font-size: 20px; }
.lb-warn-row .lb-lv { justify-self: start; } .lb-warn-row .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lb-warn-row .t > span:first-child { font-weight: 600; line-height: 1.4; }
.lb-warn-row .t small { font-family: var(--mono); font-size: 11px; color: var(--mu); }
.lb-col { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.lb-col > .h { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--ink); } .lb-col > .h b { font-size: 15px; } .lb-col > .h span { font-family: var(--mono); font-size: 11px; color: var(--mu); }
.lb-days { display: flex; align-items: flex-end; gap: 5px; height: 160px; padding-top: 12px; }
.lb-days > a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; min-width: 0; color: var(--ink) !important; }
.lb-days .tg { font-size: 9px; font-weight: 700; color: var(--ac); white-space: nowrap; height: 12px; } .lb-days .v, .lb-days .d { font-family: var(--mono); font-size: 9px; } .lb-days .d { color: var(--mu); }
.lb-days i { width: 100%; background: var(--sf); border: 1.5px solid var(--ink); box-sizing: border-box; display: block; } .lb-days i.ev { background: var(--ac); }
.lb-days i.live { background: repeating-linear-gradient(135deg, var(--ink) 0 2px, #fff 2px 5px); } .lb-days > a:hover i { outline: 2px solid var(--ac); }
.lb-chs > a { display: grid; grid-template-columns: 96px 1fr 40px 50px; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--ln2); font-size: 12px; color: var(--ink) !important; }
.lb-chs > a > span:first-child { font-weight: 600; } .lb-chs .m { text-align: right; font-family: var(--mono); } .lb-chs .p { font-family: var(--fr); font-weight: 800; text-align: right; }
.lb-dual { height: 10px; border: 1px solid var(--ink); position: relative; } .lb-dual i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); } .lb-dual i + i { background: var(--ac); }
.lb-heroes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; padding-top: 12px; }
.lb-hero { border: 2px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; color: var(--ink) !important; }
.lb-hero:hover { outline: 2px solid var(--ac); } .lb-hero .tp { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; font-size: 11px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.lb-hero .bd { padding: 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; } .lb-hero .nm { font-weight: 800; font-size: 14px; line-height: 1.3; min-height: 36px; }
.lb-hero .ln { display: flex; justify-content: space-between; align-items: center; font-size: 12px; border-top: 1px solid var(--ink); padding-top: 3px; } .lb-hero .ln .m { font-family: var(--mono); }
.lb-hero .ln.top { border-top: 6px solid var(--ink); padding-top: 4px; align-items: baseline; } .lb-hero .ln.top b { font-family: var(--fr); font-weight: 900; font-size: 22px; }
.lb-hero .ln .dc { display: flex; align-items: center; gap: 5px; } .lb-hero .ln .dc b { font-family: var(--fr); font-size: 16px; } .lb-hero .ln .lb-lv { font-size: 10px; padding: 1px 6px; }
.lb-hero .lb-bar { margin: 0 8px 8px; }

/* E2 라벨 카드 */
.lb-lab { display: grid; grid-template-columns: 1fr 1fr; } .lb-lab > div { padding: 14px; display: flex; flex-direction: column; gap: 8px; } .lb-lab > div:first-child { border-right: 1px solid var(--ink); }
.lb-lab .nm { font-family: var(--fr); font-weight: 900; font-size: 22px; line-height: 1.15; }
.lb-kv { border-top: 6px solid var(--ink); padding-top: 6px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12px; } .lb-kv span { font-family: var(--mono); }
.lb-opt { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; align-items: center; font-size: 12px; cursor: pointer; }
.lb-opt input { display: none; } .lb-opt .lb-chk { width: 14px; height: 14px; } .lb-opt input:checked + .lb-chk { background: var(--ac); } .lb-opt.dis { opacity: .45; cursor: not-allowed; }
.lb-num { display: grid; grid-template-columns: 24px 1fr; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--ln); } .lb-num:last-child { border-bottom: 0; }
.lb-num > b { font-family: var(--fr); font-weight: 900; font-size: 18px; } .lb-num > span { line-height: 1.5; }

/* E3 지시서 카드 */
.lb-cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lb-mo { border: 3px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; }
.lb-mo .tp { display: flex; justify-content: space-between; align-items: center; padding: 6px 14px; border-bottom: 3px solid var(--ink); font-weight: 800; font-size: 12px; } .lb-mo .tp a { color: inherit !important; font-family: var(--mono); }
.lb-mo .bd { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.lb-mo .nm { font-family: var(--fr); font-weight: 900; font-size: 20px; line-height: 1.2; } .lb-mo .eta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; } .lb-mo .eta b { font-family: var(--fr); font-weight: 900; font-size: 24px; }
.lb-mo .ft { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--ink); padding-top: 8px; gap: 8px; flex-wrap: wrap; }
.lb-mo .ft > span { font-size: 12px; font-weight: 600; }

/* E4 성적서 */
.lb-cert { border: 3px solid var(--ink); background: var(--sf); position: relative; display: flex; flex-direction: column; }
.lb-cert .hd { padding: 14px; border-bottom: 6px solid var(--ink); display: flex; flex-direction: column; gap: 3px; text-align: center; }
.lb-cert .hd b { font-family: var(--fr); font-weight: 900; font-size: 24px; letter-spacing: .2em; } .lb-cert .hd span { font-family: var(--mono); font-size: 11px; }
.lb-cert .ckv { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; padding: 12px 14px; font-size: 12px; border-bottom: 1px solid var(--ink); }
.lb-stamp { position: absolute; right: 22px; bottom: 60px; width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--risk); color: var(--risk); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-12deg); font-family: var(--fr); font-weight: 900; font-size: 20px; opacity: .85; pointer-events: none; }
.lb-stamp small { font-size: 9px; font-weight: 600; } .lb-stamp.void { border-color: var(--ink); color: var(--ink); }

/* E5 방송 */
.lb-pm { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 170px; border-bottom: 3px solid var(--ink); }
.lb-pm > i { flex: 1; background: var(--ink); display: block; } .lb-pm > i.pk { background: var(--ac); }
.lb-pm .mk { position: absolute; top: 0; bottom: 0; border-left: 1.5px dashed var(--ink); } .lb-pm .mk span { position: absolute; left: 4px; font-size: 10px; font-weight: 800; background: var(--sf); padding: 0 3px; white-space: nowrap; }
.lb-ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: var(--mu); }
.lb-pl { border: 3px solid var(--ink); background: var(--sf); padding: 12px 16px; display: flex; flex-direction: column; }
.lb-pl > b { font-family: var(--fr); font-weight: 900; font-size: 30px; line-height: 1; } .lb-pl > small { font-size: 12px; padding: 4px 0; }
.lb-pl .ln { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 6px 16px; border-bottom: 1px solid var(--ink); } .lb-pl .ln span:last-child { font-family: var(--fr); font-weight: 900; font-size: 14px; }
.lb-pl .ln.top { padding-left: 0; border-bottom: 6px solid var(--ink); font-weight: 800; } .lb-pl .ln.end { padding-left: 0; border-bottom: 0; font-weight: 800; font-size: 22px; } .lb-pl .ln.end span:last-child { font-size: 22px; }
.lb-q4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } .lb-q4 > div { padding: 12px 14px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 3px; } .lb-q4 > div:last-child { border-right: 0; }
.lb-q4 span { font-size: 11px; font-weight: 800; } .lb-q4 b { font-size: 15px; } .lb-q4 small { font-size: 11px; color: var(--mu); }
.lb-q4 .lb-bs { justify-content: flex-start; margin-top: 4px; }

/* E6 영양성분표 카드 */
.lb-cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lb-nut { border: 3px solid var(--ink); background: var(--sf); padding: 10px 12px; display: flex; flex-direction: column; color: var(--ink) !important; }
.lb-nut > b { font-family: var(--fr); font-weight: 900; font-size: 20px; line-height: 1; } .lb-nut > small { font-size: 11px; color: var(--mu); min-height: 15px; }
.lb-nut .s { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 4px solid var(--ink); padding: 3px 0; } .lb-nut .s span:last-child { font-family: var(--fr); font-weight: 900; font-size: 22px; }
.lb-nut .ln { display: flex; justify-content: space-between; padding: 4px 0 4px 12px; border-bottom: 1px solid var(--ink); font-size: 12px; } .lb-nut .ln span:last-child { font-family: var(--mono); }
.lb-nut .ci { display: flex; justify-content: space-between; align-items: baseline; padding: 5px 0 2px; } .lb-nut .ci span:last-child { font-family: var(--fr); font-weight: 900; font-size: 22px; }
.lb-nut .mt { display: flex; height: 8px; border: 1.5px solid var(--ink); } .lb-nut .mt i { display: block; }

/* E7 달력 */
.lb-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lb-cal .wd { padding: 6px 8px; font-size: 11px; font-weight: 800; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ln); }
.lb-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: auto; position: relative; border-bottom: 1px solid var(--ln); min-height: 92px; }
.lb-wk .dn { grid-row: 1; border-right: 1px solid var(--ln); padding: 4px 6px 0; font-family: var(--fr); font-weight: 900; font-size: 15px; background: var(--sf); }
.lb-wk .dn.out { background: var(--bg); color: var(--fa); } .lb-wk .dn.td { background: var(--hi); } .lb-wk .bg { grid-row: 1 / span 20; border-right: 1px solid var(--ln); }
.lb-wk .bg.out { background: var(--bg); } .lb-wk .bg.td { background: var(--hi); }
.lb-ev { font-size: 10px; font-weight: 800; padding: 2px 6px; margin: 1px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 1; color: #fff !important; background: var(--ok-bg); }
.lb-ev.warn { background: var(--warn-bg); color: var(--ink) !important; } .lb-ev.risk { background: var(--risk-bg); } .lb-ev.stop { background: var(--stop-bg); } .lb-ev.done { background: var(--fa); }
.lb-ev:hover { outline: 2px solid var(--ink); }

/* 결재선 */
.lb-aline > div { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--ln); } .lb-aline > div:last-child { border-bottom: 0; }
.lb-aline i { width: 24px; height: 24px; border: 2px solid var(--ink); background: var(--sf); color: var(--sf); font-size: 11px; font-style: normal; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.lb-aline .done i { background: var(--ink); } .lb-aline .cur i { background: var(--ac); } .lb-aline .rej i { background: var(--risk); border-color: var(--risk); }
.lb-aline .t { display: flex; flex-direction: column; gap: 2px; } .lb-aline small { font-size: 11px; } .lb-aline .done small { color: var(--ok); } .lb-aline .cur small { color: var(--ac); } .lb-aline .wait small { color: var(--mu); } .lb-aline .rej small { color: var(--risk); }
.lb-aline q { quotes: none; font-size: 12px; padding: 6px 8px; border: 1px solid var(--ink); display: block; margin-top: 2px; }
.lb-q4b { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 6px solid var(--ink); } .lb-q4b > div { padding: 10px 14px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 2px; } .lb-q4b > div:last-child { border-right: 0; }
.lb-q4b span { font-size: 11px; font-weight: 800; }
.lb-body { padding: 14px; line-height: 1.8; white-space: pre-line; }

/* CRM */
.lb-stg { display: grid; grid-template-columns: 110px 1fr 46px; gap: 10px; align-items: center; color: var(--ink) !important; } .lb-stg b { font-size: 12px; } .lb-stg .m { text-align: right; font-family: var(--mono); }
.lb-stg .bar { height: 14px; border: 1.5px solid var(--ink); } .lb-stg .bar i { display: block; height: 100%; background: var(--ac); } .lb-stg .bar i.won { background: var(--ok); } .lb-stg .bar i.hold { background: var(--fa); }
.lb-kan { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.lb-kan > div { display: flex; flex-direction: column; gap: 10px; min-height: 360px; border-top: 6px solid var(--ink); padding-top: 8px; min-width: 0; }
.lb-kan > div.won { border-top-color: var(--ok); } .lb-kan > div.hold { border-top-color: var(--fa); }
.lb-kan .h { display: flex; justify-content: space-between; align-items: baseline; } .lb-kan .h b { font-family: var(--fr); font-weight: 900; font-size: 15px; } .lb-kan .h span { font-family: var(--mono); font-size: 11px; }
.lb-kc { border: 2.5px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; }
.lb-kc .a { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; } .lb-kc .a > a { font-weight: 800; line-height: 1.3; } .lb-kc .a small { font-size: 11px; color: var(--mu); }
.lb-kc .e { border-top: 4px solid var(--ink); padding: 6px 10px; display: flex; justify-content: space-between; align-items: baseline; } .lb-kc .e span { font-size: 11px; } .lb-kc .e b { font-family: var(--fr); font-weight: 900; font-size: 18px; }
.lb-kc .f { border-top: 1px solid var(--ink); padding: 5px 10px; display: flex; justify-content: space-between; font-size: 11px; } .lb-kc .f span:last-child { font-family: var(--mono); }
.lb-kc .w { padding: 4px 10px; font-size: 11px; background: var(--warn-bg); } .lb-kc form, .lb-kc .cta { margin: 0 10px 10px; } .lb-kc .lb-btn { width: 100%; justify-content: center; box-sizing: border-box; }
.lb-kc .lb-btn.a { padding: 5px 0; } .lb-kc .lb-btn.p { padding: 5px 0; }
.lb-more-b { padding: 8px 10px; border: 2px dashed var(--fa); text-align: center; font-size: 12px; color: var(--mu) !important; cursor: pointer; background: transparent; font: inherit; font-size: 12px; }
.lb-wkg { display: grid; grid-template-columns: 100px repeat(5, minmax(0, 1fr)); }
.lb-wkg > .hd { padding: 7px 10px; font-weight: 800; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ln); } .lb-wkg > .hd.td { background: var(--hi); } .lb-wkg > .hd:first-child { border-left: 0; }
.lb-wkg > .k { padding: 10px; border-bottom: 1px solid var(--ln); font-weight: 800; } .lb-wkg > .k small { display: block; font-size: 10px; color: var(--mu); font-weight: 500; }
.lb-wkg > .cell { padding: 6px; border-bottom: 1px solid var(--ln); border-left: 1px solid var(--ln); min-height: 58px; display: flex; flex-direction: column; gap: 4px; }
.lb-mt { border: 2px solid var(--ink); padding: 4px 6px; background: var(--sf); color: var(--ink) !important; font-size: 11px; line-height: 1.35; display: block; }
.lb-mt.done { background: var(--ink); color: var(--sf) !important; } .lb-mt.live { background: var(--ac); color: #fff !important; border-color: var(--ac); } .lb-mt.on { outline: 3px solid var(--ac); outline-offset: 1px; }
.lb-sp { border: 3px solid var(--ink); background: var(--sf); display: flex; flex-direction: column; }
.lb-sp .tp { display: flex; justify-content: space-between; padding: 6px 12px; background: var(--ink); color: var(--sf); font-size: 11px; } .lb-sp .tp span:first-child { font-family: var(--mono); }
.lb-sp .bd { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; } .lb-sp .nm { font-family: var(--fr); font-weight: 900; font-size: 20px; line-height: 1.15; }
.lb-sp .fb { border-top: 4px solid var(--ink); padding-top: 6px; display: flex; flex-direction: column; gap: 2px; } .lb-sp .fb span:first-child { font-size: 11px; font-weight: 800; } .lb-sp .fb span:last-child { font-size: 12px; line-height: 1.45; }
.lb-sp .lb-bar { margin: 0 12px 12px; } .lb-sp > form, .lb-sp > .cta { margin: 0 12px 12px; } .lb-sp > form .lb-btn { width: 100%; justify-content: center; box-sizing: border-box; display: flex; } .lb-sp > .cta { display: flex; justify-content: center; }
.lb-sp.on { outline: 3px solid var(--ac); outline-offset: 2px; }
.lb-conc { display: grid; grid-template-columns: 70px 1fr 60px; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ln); align-items: center; } .lb-conc b { font-family: var(--fr); font-weight: 900; font-size: 20px; }
.lb-conc .bar { height: 12px; border: 1.5px solid var(--ink); } .lb-conc .bar i { display: block; height: 100%; background: var(--risk); }
.lb-mon { padding: 14px; display: flex; align-items: flex-end; gap: 14px; height: 180px; }
.lb-mon > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; } .lb-mon span { font-family: var(--mono); font-size: 10px; }
.lb-mon i { width: 100%; border: 2px solid var(--ink); background: var(--sf); position: relative; display: block; box-sizing: border-box; } .lb-mon i em { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ac); }

/* ------------------------------------------------------------ 공용 틀 (목록·상세·등록) — 라벨 문법으로 */
.t-l .a-ph, .t-l .page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; border: 0; border-bottom: 12px solid var(--ink) !important; padding: 0 0 10px !important; margin: 0 !important; }
.t-l .a-h1, .t-l .page-title { font-family: var(--fr); font-size: 40px !important; font-weight: 900; letter-spacing: -.02em; line-height: 1; margin: 2px 0 0; }
.t-l .a-kicker, .t-l .a-crumb, .t-l .crumbs { font-family: var(--mono); font-size: 11px; color: var(--mu); } .t-l .crumbs a { color: var(--mu); } .t-l .crumbs span { margin: 0 4px; }
.t-l .a-sub, .t-l .page-sub { font-size: 13px; margin-top: 6px; color: var(--ink); }
.t-l .a-acts, .t-l .page-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.t-l .a-kpis { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 0; border: 0; border-bottom: 6px solid var(--ink); margin: 0; }
.t-l .a-kpi, .t-l .a-kpi:first-child { background: transparent; border: 0; border-right: 1px solid var(--ink); border-radius: 0; padding: 10px 14px 12px 0; margin-right: 14px; box-shadow: none; display: flex; flex-direction: column; gap: 3px; color: var(--ink); }
.t-l .a-kpi .l { font-size: 12px; font-weight: 800; color: var(--ink); } .t-l .a-kpi .v { font-family: var(--fr) !important; font-size: 28px !important; font-weight: 900; } .t-l .a-kpi .n { font-size: 11px; color: var(--mu); }
.t-l .a-grid { gap: 24px; margin: 0; } .t-l .a-grid > section, .t-l .card { background: var(--sf); border: 3px solid var(--ink); border-radius: 0; padding: 0; box-shadow: none; overflow: visible; }
.t-l .a-sec-h, .t-l .card-head { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px; margin: 0; border: 0; border-bottom: 6px solid var(--ink); background: transparent; }
.t-l .a-sec-h h2, .t-l .card-title { font-family: var(--fr) !important; font-weight: 900; font-size: 18px !important; margin: 0; }
.t-l .card-body { padding: 12px 14px; }
.t-l .a-tbl-wrap, .t-l .tbl-wrap { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow-x: auto; }
.t-l .a-tbl, .t-l .tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.t-l .a-tbl th, .t-l .tbl th { font-size: 11px; font-weight: 800; color: var(--ink); text-align: left; padding: 7px 10px; background: transparent; border-bottom: 1px solid var(--ink); white-space: nowrap; text-transform: none; letter-spacing: 0; }
.t-l .a-tbl th a { color: var(--ink); }
.t-l .a-tbl th:first-child, .t-l .a-tbl td:first-child, .t-l .tbl th:first-child, .t-l .tbl td:first-child { padding-left: 14px; }
.t-l .a-tbl td, .t-l .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--ln); height: auto; }
.t-l .a-tbl .num, .t-l .tbl .num { font-family: var(--mono); text-align: right; } .t-l .a-tbl .sub { display: block; font-size: 11px; color: var(--mu); }
.t-l .a-tbl a.a-no, .t-l .tbl a.link { font-family: var(--mono); font-size: 11px; color: var(--ac); font-weight: 600; } .t-l .a-tr:hover td { background: color-mix(in srgb, var(--sf) 94%, var(--ink)); }
.t-l .a-tabs { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 0 14px; border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink); margin: 0; }
.t-l .a-tabs a { padding: 9px 0; color: var(--ink); border: 0; border-bottom: 4px solid transparent; margin-bottom: -1px; border-radius: 0; background: none; }
.t-l .a-tabs a.on { font-weight: 800; border-bottom-color: var(--ac); background: none; } .t-l .a-tabs a span, .t-l .a-tabs a small { font-family: var(--mono); font-size: 10px; color: var(--mu); margin-left: 3px; }
.t-l .a-filter { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin: 0; border-bottom: 1px solid var(--ln); align-items: center; } .t-l .a-filter-l { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.t-l .a-filter .a-in.q { width: 230px; } .t-l .a-filter .a-sel { width: auto; padding: 5px 9px; border-width: 2px; font-weight: 800; }
.t-l .a-period { display: flex; border: 1.5px solid var(--ink); } .t-l .a-period a { padding: 5px 9px; color: var(--ink); font-size: 12px; } .t-l .a-period a.on { background: var(--ink); color: var(--sf); font-weight: 700; }
.t-l .a-reset { font-size: 12px; text-decoration: underline; }
.t-l .a-bulk { display: flex; justify-content: space-between; align-items: center; background: transparent; color: var(--mu); padding: 8px 14px; border: 0; border-bottom: 1px solid var(--ln); border-radius: 0; margin: 0; box-shadow: none; font-size: 12px; gap: 10px; flex-wrap: wrap; }
.t-l .a-bulk.on { background: var(--ink); color: var(--sf); } .t-l .a-bulk-acts { display: flex; gap: 16px; flex-wrap: wrap; }
.t-l .a-bulk-acts button { background: none; border: 0; color: inherit; font: inherit; font-weight: 800; cursor: pointer; padding: 0; } .t-l .a-bulk.on .a-bulk-acts button.danger { color: #ff8a7a; }
.t-l .a-bulk:not(.on) .a-bulk-acts button { color: var(--fa); }
.t-l .a-tfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; padding: 10px 14px !important; flex-wrap: wrap; }
.t-l .a-pages { display: flex; gap: 4px; align-items: center; font-family: var(--mono); } .t-l .a-pages a, .t-l .a-pages span { padding: 2px 6px; color: var(--ink); border: 0; } .t-l .a-pages .cur { font-weight: 700; text-decoration: underline; }
.t-l .a-pages .dis { color: var(--fa); } .t-l .a-pages select { border: 1.5px solid var(--ink); border-radius: 0; background: var(--sf); font: inherit; font-size: 11px; }
.t-l .a-lv, .t-l .badge { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 0; white-space: nowrap; border: 2px solid var(--ink); background: var(--sf); color: var(--ink); }
.t-l .a-lv.ok, .t-l .badge.tone-green { background: var(--ok-bg); color: #fff; border-color: var(--ok-bg); } .t-l .a-lv.warn, .t-l .badge.tone-amber, .t-l .badge.tone-yellow { background: var(--warn-bg); color: var(--ink); border-color: var(--warn-bg); }
.t-l .a-lv.risk, .t-l .badge.tone-red { background: var(--risk-bg); color: #fff; border-color: var(--risk-bg); } .t-l .a-lv.stop, .t-l .badge.tone-gray { background: var(--ln2); color: var(--mu); border-color: var(--ln2); }
.t-l .badge.tone-blue, .t-l .badge.tone-indigo { background: var(--ink); color: var(--sf); }
.t-l .a-empty { text-align: center; padding: 30px 0; } .t-l .a-empty b { font-family: var(--fr); font-weight: 900; font-size: 18px; display: block; } .t-l .a-empty .ic { display: none; }
.t-l .a-list { list-style: none; margin: 0; padding: 0; } .t-l .a-list li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--ln); }
.t-l .a-steps { display: grid; gap: 2px; margin: 0; border: 0; } .t-l .a-steps div { padding: 7px 10px; background: var(--sf); border: 1.5px solid var(--ink); font-weight: 700; font-size: 12px; border-radius: 0; box-shadow: none; }
.t-l .a-steps div small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mu); font-weight: 400; } .t-l .a-steps div.done { background: var(--ink); color: var(--sf); } .t-l .a-steps div.done small { color: color-mix(in srgb, var(--sf) 70%, var(--ink)); }
.t-l .a-steps div.cur { background: var(--ac); color: #fff; border-color: var(--ac); } .t-l .a-steps div.cur small { color: #fff; }
.t-l .act-bar { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 0; background: transparent; border: 0; box-shadow: none; margin: 0; }
.t-l .act-bar form { margin: 0; } .t-l .act-cap { font-family: var(--fr); font-weight: 900; font-size: 14px; margin-right: 6px; }
.t-l .kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; padding: 4px 14px 10px; }
.t-l .kv-item { padding: 9px 0; border-bottom: 1px solid var(--ln); min-width: 0; } .t-l .kv-item.full { grid-column: 1 / -1; } .t-l .kv-label { font-size: 11px; font-weight: 800; } .t-l .kv-value { margin-top: 3px; font-size: 14px; overflow-wrap: anywhere; }
.t-l .stack { display: flex; flex-direction: column; gap: 24px; }
.t-l .stage-path { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; border: 0; } .t-l .stage-step { padding: 6px 10px; background: var(--sf); font-size: 12px; border: 1.5px solid var(--ink); border-radius: 0; display: flex; gap: 4px; align-items: center; }
.t-l .stage-step svg { display: none; } .t-l .stage-step.done { background: var(--ink); color: var(--sf); } .t-l .stage-step.current { background: var(--ac); color: #fff; font-weight: 800; border-color: var(--ac); }
.t-l .empty { color: var(--mu); padding: 14px 0; text-align: center; }
.t-l .form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 14px; } .t-l .field { display: flex; flex-direction: column; gap: 4px; } .t-l .field.full { grid-column: 1 / -1; }
.t-l .field-label { font-size: 12px; font-weight: 800; } .t-l .field .req { color: var(--risk); margin-left: 2px; } .t-l .field-err { font-size: 11px; color: var(--risk); }
.t-l .help { font-size: 11px; color: var(--mu); } .t-l .form-foot, .t-l .form-actions { display: flex; justify-content: flex-end; gap: 6px; padding: 0 14px 14px; }
.t-l .alert-error { border: 2px solid var(--risk); color: var(--risk); padding: 8px 12px; background: var(--sf); font-weight: 600; }
.t-l .a-chk { accent-color: var(--ink); width: 14px; height: 14px; }
.t-l .a-chip { display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border: 1.5px solid var(--ink); font-size: 12px; background: var(--sf); }

/* 팝업 · 알림 */
.t-l .a-modal { border: 3px solid var(--ink); border-radius: 0; background: var(--sf); padding: 0; width: 520px; max-width: calc(100vw - 32px); box-shadow: 0 0 0 100vmax rgba(17, 17, 17, .55); color: var(--ink); }
.t-l .a-modal.danger { border-color: var(--risk); }
.t-l .a-modal::backdrop { background: transparent; }
.t-l .a-modal-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 6px solid var(--ink); } .t-l .a-modal-h b { font-family: var(--fr); font-weight: 900; font-size: 20px; }
.t-l .a-modal.danger .a-modal-h { border-bottom-color: var(--risk); } .t-l .a-modal.danger .a-modal-h b { color: var(--risk); }
.t-l .a-modal-h button { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--ink); }
.t-l .a-modal-b { padding: 14px; display: flex; flex-direction: column; gap: 10px; } .t-l #a-modal-desc { font-size: 12px; line-height: 1.6; }
.t-l #a-modal-desc .box { background: var(--bg); border: 1px solid var(--ink); padding: 8px 10px; margin-bottom: 4px; font-family: var(--mono); font-size: 12px; }
.t-l .a-chiprow { display: flex; gap: 6px; flex-wrap: wrap; } .t-l .a-chiprow button { border: 1.5px solid var(--ink); background: var(--sf); font: inherit; font-size: 12px; padding: 3px 9px; cursor: pointer; border-radius: 0; }
.t-l .a-chiprow button:hover { background: var(--ink); color: var(--sf); } .t-l .a-lbl { font-size: 12px; font-weight: 800; }
.t-l .a-modal textarea { width: 100%; box-sizing: border-box; border: 2px solid var(--ac); border-radius: 0; background: var(--sf); padding: 9px 11px; font: inherit; resize: vertical; outline: 0; }
.t-l .a-modal.danger textarea { border-color: var(--risk); } .t-l .a-err { font-size: 11px; color: var(--risk); }
.t-l .a-modal-f { display: flex; justify-content: flex-end; gap: 6px; padding: 0 14px 14px; border: 0; background: transparent; }
.t-l .a-modal .a-btn { padding: 6px 12px; } .t-l .a-modal .a-btn-ac { padding: 8px 14px; background: var(--ac); }
.t-l .a-modal.danger .a-btn-ac { background: var(--risk); }
.t-l .a-toasts { position: fixed; right: 20px; top: 104px; z-index: 60; display: flex; flex-direction: column; gap: 8px; width: 380px; max-width: calc(100vw - 32px); }
.t-l .a-toast { position: static; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; background: var(--ink); color: var(--sf); border: 0; border-left: 8px solid var(--ok); border-radius: 0; padding: 9px 12px; box-shadow: none; }
.t-l .a-toast.warning { border-left-color: var(--warn-bg); } .t-l .a-toast.error { border-left-color: var(--risk); }
.t-l .a-toast b { display: block; font-weight: 800; margin-bottom: 1px; } .t-l .a-toast span { font-size: 11px; color: color-mix(in srgb, var(--sf) 70%, var(--ink)); } .t-l .a-toast button { background: none; border: 0; color: var(--sf); cursor: pointer; font-size: 16px; }

/* ------------------------------------------------------------ 좁은 화면 */
@media (max-width: 1180px) {
  .lb-today { grid-template-columns: 1fr; } .lb-heroes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lb-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-kan { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .lb-r1 { flex-wrap: wrap; padding: 10px 16px; gap: 8px; white-space: normal; } .lb-r1 .l, .lb-r1 .r { gap: 10px; flex-wrap: wrap; } .lb-back { display: none; }
  .lb-skin { display: none; } .lb-brands a { padding: 2px 6px; } .lb-brands a .nm { display: none; }
  .lb-menu { padding: 0 16px; gap: 16px; overflow-x: auto; } .lb-menu details { position: static; } .lb-more { left: 16px; right: 16px; grid-template-columns: repeat(2, 1fr); position: fixed; top: auto; }
  .lb-main { padding: 18px 16px 30px; gap: 18px; }
  .lb-h { flex-direction: column; align-items: flex-start; border-bottom-width: 8px; } .lb-h h1 { font-size: 32px; } .lb-bs { justify-content: flex-start; }
  .lb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lb-facts > * { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--ln); padding-left: 0; } .lb-facts b { font-size: 24px; }
  .lb-g { grid-template-columns: 1fr !important; } .lb-cards2, .lb-cards4 { grid-template-columns: 1fr; } .lb-heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-lede { grid-template-columns: 1fr; } .lb-lede h2 { font-size: 22px; } .lb-seal { margin: 0 auto; }
  .lb-nf h1 { font-size: 34px; } .lb-nf .tot { font-size: 22px; } .lb-nf { padding: 12px; }
  .lb-warn-row { grid-template-columns: 24px 1fr; } .lb-warn-row .lb-lv { grid-column: 2; } .lb-warn-row .t { grid-column: 1 / -1; } .lb-warn-row > form, .lb-warn-row > a, .lb-warn-row > button { grid-column: 1 / -1; justify-self: start; }
  .lb-lab { grid-template-columns: 1fr; } .lb-lab > div:first-child { border-right: 0; border-bottom: 1px solid var(--ink); }
  .lb-q4, .lb-q4b { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lb-q4 > div, .lb-q4b > div { border-bottom: 1px solid var(--ln); }
  .lb-kan { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lb-kan > div { min-height: 0; }
  .lb-wkw { overflow-x: auto; } .lb-wkg { min-width: 720px; } .lb-calw { overflow-x: auto; } .lb-cal, .lb-wk { min-width: 700px; }
  .t-l .kv, .t-l .form-grid { grid-template-columns: 1fr 1fr; } .t-l .a-ph, .t-l .page-head { flex-direction: column; align-items: flex-start; } .t-l .a-h1, .t-l .page-title { font-size: 30px !important; }
  .t-l .a-filter .a-in.q { width: 100%; } .t-l .a-tbl-wrap, .t-l .tbl-wrap { overflow-x: auto; }
  .lb-days { gap: 2px; } .lb-days .tg { display: none; }
  .lb-pm .mk span { display: none; }
}
@media (max-width: 560px) {
  .lb-heroes { grid-template-columns: 1fr 1fr; gap: 8px; } .lb-facts b { font-size: 21px; } .lb-kan { grid-template-columns: 1fr; }
  .t-l .kv, .t-l .form-grid { grid-template-columns: 1fr; } .lb-nf .br { grid-template-columns: 18px 1fr auto; } .lb-nf .br .y { display: none; }
  .lb-chs > a { grid-template-columns: 80px 1fr 34px 44px; }
}
