/* 자산관리 — 차량운행일지(add-on 공통) 디자인 기준 값. 새 값은 만들지 않는다. */
@font-face { font-family: 'Pretendard'; font-weight: 400; font-display: swap; src: url('/fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 600; font-display: swap; src: url('/fonts/Pretendard-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Pretendard'; font-weight: 700 800; font-display: swap; src: url('/fonts/Pretendard-Bold.woff2') format('woff2'); }

:root {
  --primary: #0E6E6B; --primary-h: #0A4F4D; --primary-bg: #E6F2F1;
  --t1: #101828; --t2: #475467; --t3: #667085; --t4: #98A2B3;
  --page: #F2F4F7; --panel: #F8FAFB; --line: #E4E7EC; --input: #CFD6DD; --btn-line: #D7DDE4;
  --danger: #B42318; --danger-bg: #FEE4E2; --danger-line: #E5B0AA; --warn: #B54708; --warn-bg: #FFF3E4;
  --info: #175CD3; --info-bg: #EFF4FF;
  --notice-bg: #F2FAF9; --notice-line: #9FD0CD; --warn-card: #FFFBF5; --warn-card-line: #F0D9BC;
  --overlay: rgba(16, 24, 40, .45);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Pretendard', 'Apple SD Gothic Neo', system-ui, sans-serif; color: var(--t1); background: var(--page); -webkit-font-smoothing: antialiased; font-size: 13px; }
a { color: var(--primary); text-decoration: none; } a:hover { color: var(--primary-h); }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary) !important; box-shadow: 0 0 0 2px rgba(14, 110, 107, .15); }
button:focus-visible, [data-click]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--t2); } .faint { color: var(--t3); } .fainter { color: var(--t4); }
.hidden { display: none !important; }

/* 상태 배지: 점 + 글자, pill, 11.5px/700 */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.badge.dashed { border: 1px dashed currentColor; }
.tag { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 5px; font-size: 11px; font-weight: 700; background: var(--primary-bg); color: var(--primary-h); }
.tag.warn { background: var(--warn-bg); color: var(--warn); } .tag.gray { background: #EEF2F6; color: #344054; } .tag.line { background: #fff; border: 1px solid var(--line); color: var(--t2); }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--btn-line); background: #fff; color: #344054; font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--panel); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn.primary:hover { background: var(--primary-h); }
.btn.danger { color: var(--danger); border-color: var(--danger-line); background: #fff; } .btn.danger:hover { background: #FFFBFA; }
.btn.danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.outline { color: var(--primary); border-color: var(--primary); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--t2); }
.btn:disabled, .btn.disabled { background: #F2F4F7 !important; color: #B0B7C3 !important; border-color: var(--line) !important; cursor: not-allowed; }
.seg { display: inline-flex; border: 1px solid var(--input); border-radius: 6px; overflow: hidden; background: #fff; }
.seg button { height: 34px; padding: 0 14px; border: 0; background: #fff; color: var(--t2); font-weight: 600; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--input); }
.seg button.on { background: var(--primary); color: #fff; }
.seg.dark button.on { background: var(--t1); }

/* 입력 */
.input, .select, .textarea { width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--input); border-radius: 6px; background: #fff; }
.textarea { height: auto; min-height: 72px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2398A2B3'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 30px; }
.input.err { border-color: #D92D20; background: #FFFBFA; }
.err-text { color: var(--danger); font-size: 12px; font-weight: 600; margin-top: 5px; }
.field-hint { color: var(--t4); font-size: 12px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check .box { width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--input); display: flex; align-items: center; justify-content: center; background: #fff; flex: none; }
.check.on .box { background: var(--primary); border-color: var(--primary); }
.check.on .box::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

/* 안내 */
.notice { background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: 10px; padding: 12px 14px; color: var(--primary-h); line-height: 1.5; }
.warnbox { background: var(--warn-card); border: 1px solid var(--warn-card-line); border-radius: 10px; padding: 12px 14px; color: var(--warn); line-height: 1.5; font-weight: 600; }
.errbox { background: #FFFBFA; border: 1px solid #F3C7C2; border-radius: 10px; padding: 12px 14px; color: var(--danger); line-height: 1.5; }

/* 토스트 · 오버레이 */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(8px); background: #101828; color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none; transition: .18s; z-index: 1000; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: #fff; border-radius: 12px; width: 460px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 20px 40px rgba(16,24,40,.18); }
.modal .mh { padding: 22px 24px 6px; font-size: 17px; font-weight: 800; }
.modal .mb { padding: 8px 24px 4px; color: var(--t2); line-height: 1.6; }
.modal .mf { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 24px 22px; }
.label { font-weight: 700; font-size: 13px; color: var(--t1); margin: 14px 0 7px; }

/* 사진 */
.photos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.photos .ph { width: 56px; height: 56px; border-radius: 8px; background: #EEF2F6 center/cover no-repeat; position: relative; border: 1px solid var(--line); }
.photos .ph b { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #101828; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.photos .add { height: 56px; padding: 0 12px; border: 1px dashed var(--btn-line); border-radius: 8px; display: flex; align-items: center; color: var(--t2); cursor: pointer; background: #fff; font-weight: 600; }

/* ── 모바일 (구성원 · 관리자 모바일) ─────────────── */
.mobile { max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: #fff; display: flex; flex-direction: column; position: relative; font-size: 14px; }
@media (min-width: 600px) { body.m-body { background: #E4E7EC; } .mobile { box-shadow: 0 0 0 1px var(--line); } }
.mtop { height: 56px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid #EEF0F3; flex: none; position: sticky; top: 0; background: #fff; z-index: 20; }
.mtop .ttl { font-size: 17px; font-weight: 800; }
.mtop .ctr { position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; font-weight: 700; white-space: nowrap; }
.mtop .left { color: var(--t2); cursor: pointer; font-size: 14.5px; }
.mtop .right { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: 14px; font-weight: 600; }
.mbody { flex: 1; padding: 16px; overflow-y: auto; }
.mfoot { position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EEF0F3; flex: none; z-index: 10; }
.mbtn { width: 100%; height: 50px; border-radius: 10px; border: 1px solid var(--primary); background: var(--primary); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.mbtn.sec { background: #fff; color: #344054; border-color: var(--btn-line); }
.mbtn.soft { background: #F2F4F7; color: #344054; border-color: #F2F4F7; }
.mbtn.warn { background: var(--warn); border-color: var(--warn); } .mbtn.danger { background: var(--danger); border-color: var(--danger); }
.mbtn:disabled { background: #F2F4F7; color: #B0B7C3; border-color: var(--line); cursor: not-allowed; }
.mbtn + .mbtn, .mbtn + .linkbtn { margin-top: 8px; }
.linkbtn { display: block; width: 100%; text-align: center; padding: 10px; color: var(--t2); font-weight: 600; cursor: pointer; background: none; border: 0; }
.msec { font-size: 15px; font-weight: 800; margin: 20px 0 10px; } .msec:first-child { margin-top: 4px; }
.msec .n { color: var(--primary); } .msec .g { color: var(--t4); font-weight: 600; }
.todo { border-radius: 12px; border: 1px solid var(--notice-line); background: var(--notice-bg); padding: 14px; margin-bottom: 10px; }
.todo .tt { font-weight: 800; color: var(--primary-h); font-size: 15px; }
.todo .ts { color: var(--t2); font-size: 12.5px; margin: 4px 0 12px; }
.todo .mbtn { height: 42px; font-size: 14.5px; }
.todo.warn { background: var(--warn-card); border-color: var(--warn-card-line); } .todo.warn .tt { color: var(--warn); } .todo.warn .mbtn { background: var(--warn); border-color: var(--warn); }
.todo.danger { background: #FFFBFA; border-color: #F3C7C2; } .todo.danger .tt { color: var(--danger); } .todo.danger .mbtn { background: var(--danger); border-color: var(--danger); }
.arow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEF0F3; cursor: pointer; }
.arow:last-child { border-bottom: 0; }
.thumb { width: 46px; height: 46px; border-radius: 10px; background: #EEF2F6 center/cover no-repeat; color: var(--t3); font-size: 10.5px; display: flex; align-items: center; justify-content: center; flex: none; text-align: center; line-height: 1.2; padding: 2px; }
.arow .nm { font-weight: 700; font-size: 15px; line-height: 1.3; }
.arow .no { color: var(--t4); font-size: 12px; margin-top: 2px; }
.arow .rt { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.due { font-size: 12px; font-weight: 800; }
.empty { text-align: center; padding: 48px 12px; color: var(--t2); }
.empty .ic { width: 64px; height: 64px; border-radius: 16px; background: #F2F4F7; margin: 0 auto 18px; }
.empty .et { font-size: 16px; font-weight: 800; color: var(--t1); margin-bottom: 6px; }
.photo-hero { height: 180px; background: #EEF2F6 center/cover no-repeat; margin: -16px -16px 16px; display: flex; align-items: center; justify-content: center; color: var(--t4); font-size: 12px; }
.aname { font-size: 20px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -.01em; }
.infobox { background: var(--panel); border-radius: 10px; padding: 4px 14px; margin: 14px 0; }
.infobox .r { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #EEF0F3; font-size: 13.5px; }
.infobox .r:last-child { border-bottom: 0; }
.infobox .r span:first-child { color: var(--t2); } .infobox .r span:last-child { font-weight: 700; text-align: right; }
.fold { border-top: 1px solid #EEF0F3; }
.fold .fh { display: flex; justify-content: space-between; padding: 14px 0; cursor: pointer; font-weight: 600; }
.fold .fh span:last-child { color: var(--t4); font-size: 12.5px; }
.fold .fb { padding-bottom: 12px; }
.kv { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; } .kv span:first-child { color: var(--t3); }
.hist-i { padding: 8px 0; border-bottom: 1px dashed #EEF0F3; font-size: 13px; } .hist-i:last-child { border-bottom: 0; } .hist-i .t { color: var(--t4); font-size: 12px; }
.pick { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; cursor: pointer; background: #fff; }
.pick.on { border: 2px solid var(--primary); background: var(--notice-bg); padding: 11px 13px; }
.pick.off { opacity: .5; cursor: not-allowed; }
.pick .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--input); flex: none; display: flex; align-items: center; justify-content: center; }
.pick.on .radio { border-color: var(--primary); } .pick.on .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); }
.pick .pt { font-weight: 700; } .pick .ps { font-size: 12.5px; color: var(--primary-h); font-weight: 600; margin-top: 2px; }
.pick.off .ps { color: var(--t4); }
.pick .ck { margin-left: auto; width: 22px; height: 22px; border-radius: 6px; background: var(--primary); display: none; align-items: center; justify-content: center; }
.pick.on .ck { display: flex; } .pick .ck::after { content: ''; width: 10px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip { border: 1px solid var(--input); border-radius: 8px; padding: 8px 4px; text-align: center; cursor: pointer; background: #fff; color: #344054; }
.chip b { display: block; font-size: 14px; } .chip small { font-size: 11.5px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; height: 44px; width: 120px; flex: none; }
.stepper.on { border-color: var(--primary); }
.stepper button { width: 40px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--primary); cursor: pointer; }
.stepper button:disabled { color: var(--input); cursor: default; }
.stepper span { flex: 1; text-align: center; font-weight: 800; font-size: 15px; }
.srow { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEF0F3; }
.srow .sn { font-weight: 800; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .srow .su { font-size: 12px; color: var(--t4); margin-top: 3px; }
.reqcard { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.reqcard .top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--t4); }
.reqcard .tt { font-weight: 800; font-size: 15px; margin: 4px 0 8px; }
.reqcard .reason { margin-top: 10px; background: #FFFBFA; border: 1px solid #F3C7C2; color: var(--danger); border-radius: 8px; padding: 10px; font-size: 12.5px; }
.reqcard.phase2 { border-style: dashed; border-color: var(--notice-line); }
.done { text-align: center; padding: 64px 16px 24px; }
.done .circ { width: 60px; height: 60px; border-radius: 50%; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; font-weight: 800; }
.done .circ.err { background: var(--danger-bg); color: var(--danger); } .done .circ.warn { background: var(--warn-bg); color: var(--warn); }
.done .dt { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.done .db { color: var(--t2); line-height: 1.6; }
.locbox { margin: 20px auto 0; max-width: 340px; background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: 10px; padding: 14px; }
.locbox small { display: block; font-weight: 700; color: var(--primary-h); } .locbox b { font-size: 16px; }
.sheet-bg { position: fixed; inset: 0; background: var(--overlay); z-index: 400; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 480px; border-radius: 18px 18px 0 0; padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); max-height: 90vh; overflow-y: auto; }
.sheet .st { font-size: 18px; font-weight: 800; margin-bottom: 6px; } .sheet .sb { color: var(--t2); margin-bottom: 14px; line-height: 1.5; }
.scanfab { display: flex; align-items: center; justify-content: center; gap: 8px; }
.scanfab svg { width: 20px; height: 20px; }
.scanner { position: fixed; inset: 0; background: #000; z-index: 600; display: flex; flex-direction: column; color: #fff; }
.scanner video { flex: 1; width: 100%; object-fit: cover; }
.scanner .frame { position: absolute; left: 50%; top: 42%; width: 240px; height: 240px; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); }
.scanner .bar { padding: 16px; background: #101828; display: flex; flex-direction: column; gap: 10px; }
.scanner .bar input { height: 46px; border-radius: 10px; border: 0; padding: 0 12px; color: #101828; }
.rolebar { display: flex; gap: 6px; padding: 8px 16px; background: var(--panel); border-bottom: 1px solid #EEF0F3; font-size: 12.5px; align-items: center; }
.rolebar button { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--t2); font-weight: 700; cursor: pointer; }
.rolebar button.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.notiitem { padding: 12px 0; border-bottom: 1px solid #EEF0F3; cursor: pointer; } .notiitem.unread .nt { font-weight: 800; } .notiitem .nd { font-size: 12px; color: var(--t4); margin-top: 3px; }
.dot-badge { display: inline-flex; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 800; align-items: center; justify-content: center; }

/* ── PC 관리자 ─────────────────────────────────── */
.gnb { height: 56px; background: #101828; color: #fff; display: flex; align-items: center; padding: 0 28px; position: sticky; top: 0; z-index: 50; }
.gnb .logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; padding-right: 22px; margin-right: 22px; border-right: 1px solid #344054; color: #fff; }
.gnb .logo i { width: 26px; height: 26px; border-radius: 6px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; }
.gnb nav { display: flex; gap: 26px; height: 100%; }
.gnb nav a { color: #98A2B3; font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; height: 100%; }
.gnb nav a.on { color: #fff; font-weight: 700; border-bottom-color: var(--primary); }
.gnb nav a .cnt { background: var(--primary); color: #fff; border-radius: 9px; font-size: 11px; padding: 1px 6px; font-weight: 800; }
.gnb .user { margin-left: auto; background: #1D2939; padding: 7px 12px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.page { max-width: 1280px; min-width: 1200px; margin: 0 auto; padding: 26px 28px 60px; }
@media (max-width: 1200px) { .page { min-width: 0; } }
.ph1 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.ph1 h1 { font-size: 21px; font-weight: 700; margin: 0; } .ph1 .sub { color: var(--t4); font-size: 14px; }
.ph1 .rt { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.cards5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 14px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; cursor: pointer; }
.ccard.on { border: 2px solid var(--primary); padding: 15px 17px; }
.ccard .cl { color: var(--t2); font-size: 13.5px; } .ccard .cv { font-size: 26px; font-weight: 800; margin-top: 6px; } .ccard .cv small { font-size: 13px; color: var(--t2); font-weight: 500; margin-left: 2px; }
.phase2 { border: 1px dashed #F3C7C2; background: #FFFBFA; border-radius: 10px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: #344054; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12.5px; color: var(--t2); font-weight: 600; background: var(--panel); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid #EEF0F3; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; } .table tr.click:hover td { background: #FAFBFC; }
.table tr.sel td { background: var(--notice-bg); }
.table td.r, .table th.r { text-align: right; } .table td.c, .table th.c { text-align: center; }
.t-nm { font-weight: 700; } .t-sub { font-size: 12px; color: var(--t4); margin-top: 2px; }
.t-late { color: var(--danger); font-weight: 800; font-size: 12px; }
.cb { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--input); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; vertical-align: middle; }
.cb.on { background: var(--primary); border-color: var(--primary); }
.cb.on::after { content: ''; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-1px); }
.filters { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.selbar { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--primary-bg); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.selbar b { color: var(--primary-h); }
.cardh { padding: 16px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14.5px; }
.cardh .g { color: var(--t4); font-weight: 600; }
.detail { display: grid; grid-template-columns: 400px 1fr; gap: 16px; align-items: start; }
.dl .r { display: flex; padding: 10px 0; border-bottom: 1px solid #EEF0F3; font-size: 13px; }
.dl .r span:first-child { width: 118px; color: var(--t2); flex: none; } .dl .r span:last-child { font-weight: 500; }
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl .i { position: relative; padding-bottom: 18px; }
.tl .i::before { content: ''; position: absolute; left: -24px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--input); }
.tl .i:first-child::before { background: var(--primary); }
.tl .it { font-weight: 700; } .tl .im { color: var(--t3); font-size: 12px; margin-top: 3px; }
.tl .note { display: inline-block; margin-top: 7px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 5px 9px; font-size: 12.5px; }
.tl .pimg { width: 88px; height: 70px; border-radius: 8px; background: #EEF2F6 center/cover no-repeat; display: inline-block; margin: 7px 6px 0 0; border: 1px solid var(--line); cursor: zoom-in; }
.form-grid { display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; align-items: center; }
.form-grid .req::after { content: ' *'; color: var(--danger); }
.form-grid2 { display: grid; grid-template-columns: 140px 1fr 110px 1fr; gap: 12px 16px; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.steps div { display: flex; align-items: center; gap: 10px; padding: 16px 22px; background: var(--panel); color: var(--t4); font-weight: 600; border-bottom: 2px solid transparent; }
.steps div.on { background: #fff; color: var(--t1); font-weight: 700; border-bottom-color: var(--primary); }
.steps div.done { color: var(--t2); }
.steps i { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; font-weight: 800; background: #EEF2F6; color: var(--t4); }
.steps .on i { background: var(--primary); color: #fff; } .steps .done i { background: var(--primary-bg); color: var(--primary-h); }
.drop { border: 1.5px dashed var(--btn-line); border-radius: 10px; padding: 34px; text-align: center; cursor: pointer; background: #fff; }
.drop.on { border-color: var(--primary); background: var(--notice-bg); }
.stat3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat3 > div { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.stat3 .v { font-size: 26px; font-weight: 800; } .stat3 .v small { font-size: 13px; font-weight: 500; }
.stat3 .ok { background: var(--notice-bg); border-color: var(--notice-line); color: var(--primary-h); }
.stat3 .bad { background: #FFFBFA; border-color: #F3C7C2; color: var(--danger); }
.setnav { width: 220px; padding: 12px; border-right: 1px solid var(--line); flex: none; }
.setnav a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--t2); font-weight: 600; margin-bottom: 4px; cursor: pointer; }
.setnav a.on { background: var(--primary-bg); color: var(--primary-h); font-weight: 700; }
.listbox { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; margin-bottom: 8px; gap: 8px; }
.sheetprev { background: #fff; width: 420px; aspect-ratio: 210 / 297; margin: 24px auto; box-shadow: 0 6px 24px rgba(16,24,40,.12); display: grid; }
.sheetprev .cell { border: 1px dashed var(--line); display: flex; align-items: center; gap: 4px; padding: 3px; overflow: hidden; }
.sheetprev .cell.used { border-color: #F2F4F7; background: repeating-linear-gradient(45deg, #fafafa 0 4px, #fff 4px 8px); }
.sheetprev .cell.on { border: 1px dashed var(--t4); }
.sheetprev .cell img { flex: none; }
.sheetprev .cell .ln { font-size: 5.5px; font-weight: 700; line-height: 1.2; } .sheetprev .cell .lno { font-size: 7px; font-weight: 800; line-height: 1.15; word-break: break-all; }
.userpick { border: 1px solid var(--line); border-radius: 8px; max-height: 190px; overflow-y: auto; margin-top: 6px; }
.userpick div { display: flex; justify-content: space-between; padding: 10px 12px; cursor: pointer; border-bottom: 1px solid #EEF0F3; }
.userpick div:last-child { border-bottom: 0; }
.userpick div.on { background: var(--primary-bg); font-weight: 700; }
.imgview { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.m-body .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
