:root {
  --bg: #11161C; --bar: #161C23; --s1: #1B222A; --s2: #232C36; --s3: #2D3743; --ln: #2A333E; --ln2: #3A4655;
  --ink: #E9EEF3; --mute: #8D9AA8; --soft: #5F6C7A;
  --lime: #C2FF3D; --lime-d: #A5E02A; --lime-ink: #10170A; --lime-t: rgba(194, 255, 61, .12);
  --red: #FF6A5F; --red-t: rgba(255, 106, 95, .14); --amber: #FFB547; --amber-t: rgba(255, 181, 71, .14); --sky: #72C9FF; --sky-t: rgba(114, 201, 255, .14);
  --title: 'Black Han Sans', 'Apple SD Gothic Neo', sans-serif;
  --num: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Wanted Sans Variable', 'Wanted Sans', -apple-system, 'Apple SD Gothic Neo', sans-serif;
  --band: 34px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { background: #0A0D11; color: var(--ink); font: 16px/1.5 var(--sans); word-break: keep-all; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: 0; }

.demo { height: var(--band); background: #111418; color: #C9CCD1; font-size: 13px; line-height: 18px; text-align: center; padding: 8px 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; z-index: 20; }
.demo a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.demo b { color: #FF5A36; font-family: Menlo, monospace; }

/* 무대: 왼쪽 휴대폰, 오른쪽 설명판 */
.stage { min-height: calc(100vh - var(--band)); display: grid; grid-template-columns: auto minmax(0, 470px); justify-content: center; align-items: center; gap: 72px; padding: 24px 40px; }
.device { position: relative; zoom: var(--s, 1); padding: 12px; background: #050608; border-radius: 62px; box-shadow: inset 0 0 0 1.5px #262C33, 0 0 0 2px #59626D, 0 0 0 3.5px #1B2026, 0 0 0 4.5px #3A424C, 0 50px 100px -30px rgba(0, 0, 0, .8); }
.device::before { content: ''; position: absolute; left: -6.5px; top: 150px; width: 3px; height: 188px; border-radius: 2px 0 0 2px; background: linear-gradient(to bottom, #4D5661 0 28px, transparent 28px 60px, #4D5661 60px 116px, transparent 116px 132px, #4D5661 132px 188px); }
.device::after { content: ''; position: absolute; right: -6.5px; top: 250px; width: 3px; height: 92px; border-radius: 0 2px 2px 0; background: #4D5661; }
.phone { width: 390px; height: 844px; border-radius: 50px; overflow: hidden; position: relative; background: var(--bg); display: flex; flex-direction: column; isolation: isolate; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; --tap: 52px; --tap-l: 58px; }
.phone.glove { --tap: 60px; --tap-l: 66px; }
.phone input, .phone textarea { -webkit-user-select: text; user-select: text; }

.panel { color: #A7B3BF; font-size: 15px; max-width: 470px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 400 27px/1 var(--title); color: var(--ink); letter-spacing: .01em; }
.logo-mk { width: 26px; height: 26px; color: var(--lime); flex: none; }
.p-brand { display: flex; align-items: center; gap: 12px; }
.p-tag { font-size: 13px; color: var(--lime); border: 1px solid rgba(194, 255, 61, .35); border-radius: 6px; padding: 2px 8px; }
.p-lead { margin-top: 16px; line-height: 1.7; }
.p-role { margin-top: 22px; display: inline-grid; grid-auto-flow: column; background: #161B21; border: 1px solid #232A32; border-radius: 12px; padding: 4px; }
.p-role a { padding: 8px 22px; border-radius: 9px; font-weight: 600; color: #8D9AA8; }
.p-role a.on { background: var(--lime); color: var(--lime-ink); }
.p-now { margin-top: 22px; border-left: 3px solid var(--lime); padding: 2px 0 2px 16px; min-height: 92px; }
.p-now small { font: 500 12px var(--num); letter-spacing: .14em; color: var(--soft); text-transform: uppercase; }
.p-now h3 { font: 400 23px/1.3 var(--title); color: var(--ink); margin: 4px 0 6px; letter-spacing: .01em; }
.p-now p { line-height: 1.65; }
.p-cols { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.p-h { font-size: 12px; letter-spacing: .1em; color: var(--soft); font-weight: 600; margin-bottom: 6px; }
.p-h2 { margin-top: 22px; }
.jump { display: grid; }
.jump a { padding: 5px 10px; margin: 0 -10px; border-radius: 8px; color: #B6C1CC; font-size: 14.5px; }
.jump a:hover { background: #161C23; }
.jump a.on { background: #1D252E; color: var(--lime); box-shadow: inset 2px 0 0 var(--lime); }
.p-demo { display: grid; gap: 8px; }
.p-net, .p-clock { background: #141A20; border: 1px solid #222931; border-radius: 12px; padding: 9px 12px; }
.p-net { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.p-net span { display: grid; line-height: 1.35; }
.p-net b { color: var(--ink); font-weight: 600; font-size: 14px; }
.p-net small, .p-clock small { font-size: 12px; color: #6C7987; }
.p-clock { display: grid; line-height: 1.35; font-size: 14px; color: var(--ink); font-weight: 600; }
.p-clock b { font: 700 17px var(--num); color: var(--lime); margin-left: 4px; }
.p-reset { border: 1px solid #2A323B; border-radius: 10px; padding: 8px 14px; font-size: 14px; color: #B6C1CC; justify-self: start; }
.p-reset:hover { background: #161C23; }
.p-note { font-size: 12px; color: #6C7987; margin-top: 18px; }

@media (max-width: 1159px) {
  .stage { grid-template-columns: auto minmax(0, 340px); gap: 40px; padding: 20px 24px; }
  .p-lead { display: none; }
  .p-cols { gap: 0 16px; }
}
@media (max-height: 820px) { .p-lead { display: none; } .p-now { min-height: 0; } }

/* 상태바·홈 인디케이터 (데스크톱 프레임에만) */
.statusbar { height: 54px; flex: none; display: grid; grid-template-columns: 1fr 126px 1fr; align-items: center; padding: 0 10px; font-weight: 600; position: relative; z-index: 6; background: var(--bg); color: #fff; }
.sb-time { justify-self: center; font-size: 17px; font-family: -apple-system, 'SF Pro Text', var(--sans); font-variant-numeric: tabular-nums; }
.island { width: 126px; height: 37px; border-radius: 20px; background: #000; justify-self: center; }
.sb-r { justify-self: center; display: flex; align-items: center; gap: 6px; }
.wifi { display: block; }
.sig { display: flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.sig i { width: 3px; background: currentColor; border-radius: 1px; }
.sig i:nth-child(1) { height: 4px; } .sig i:nth-child(2) { height: 6px; } .sig i:nth-child(3) { height: 8.5px; } .sig i:nth-child(4) { height: 11px; }
.off .sig i:nth-child(n+2) { opacity: .3; }
.off .wifi { opacity: .3; }
.bat { width: 24px; height: 12px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 4px; position: relative; padding: 1.5px; display: block; }
.bat::before { content: ''; display: block; height: 100%; width: 64%; background: #fff; border-radius: 1.5px; }
.bat::after { content: ''; position: absolute; right: -4px; top: 3px; width: 2px; height: 4px; background: rgba(255, 255, 255, .45); border-radius: 0 1px 1px 0; }
.homebar { flex: none; height: 22px; background: var(--bar); display: grid; place-items: center; }
.homebar i { width: 134px; height: 5px; border-radius: 3px; background: #fff; opacity: .85; }
.tabbar[hidden] + .homebar { background: var(--bar); }

@media (max-width: 719px) {
  body { background: var(--bg); overflow: hidden; }
  .stage { display: block; padding: 0; min-height: 0; }
  .panel { display: none; }
  .device { zoom: 1; padding: 0; background: none; border-radius: 0; box-shadow: none; }
  .device::before, .device::after { display: none; }
  .phone { width: 100%; height: calc(100vh - var(--band)); height: calc(100dvh - var(--band)); border-radius: 0; }
  .statusbar, .homebar { display: none; }
  .tabbar { height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
  .cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* 화면 전환 */
.view { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; z-index: 1; background: var(--bg); }
.view.push { animation: push .34s cubic-bezier(.2, .85, .25, 1); box-shadow: -12px 0 30px rgba(0, 0, 0, .45); }
.view.pop { animation: pop .3s cubic-bezier(.2, .85, .25, 1); }
.view.tabsw { animation: fade .15s ease-out; }
@keyframes push { from { transform: translateX(100%); } }
@keyframes pop { from { transform: translateX(-30%); } }
@keyframes fade { from { opacity: 0; } }
.ghost { position: absolute; left: 0; right: 0; z-index: 0; pointer-events: none; }
.ghost.push { animation: ghost-out .34s cubic-bezier(.2, .85, .25, 1) forwards; }
.ghost.pop { z-index: 2; box-shadow: -12px 0 30px rgba(0, 0, 0, .45); animation: ghost-away .3s cubic-bezier(.2, .85, .25, 1) forwards; }
@keyframes ghost-out { to { transform: translateX(-30%); filter: brightness(.7); } }
@keyframes ghost-away { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .view.push, .view.pop, .ghost, .sheet, .sheet-bg { animation: none !important; } }

/* 내비게이션 바 */
.nav { height: 48px; flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 0 8px; position: relative; z-index: 3; border-bottom: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.nav.solid { background: var(--bar); border-bottom-color: var(--ln); }
.nav-t { font-size: 17px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.nav-t .num { font-weight: 500; }
.nav.lg .nav-t { opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; }
.nav.lg.solid .nav-t { opacity: 1; transform: none; }
.back { justify-self: start; display: inline-flex; align-items: center; height: 48px; padding-right: 10px; color: var(--lime); font-size: 17px; white-space: nowrap; font-weight: 500; }
.back svg { width: 30px; height: 30px; margin-right: -3px; }
.back:active, .nav-r button:active, .nav-r a:active { opacity: .45; }
.nav-r { justify-self: end; display: flex; align-items: center; gap: 4px; padding-right: 6px; }
.nav-ic { width: 44px; height: 44px; display: grid; place-items: center; color: var(--lime); }
.netpill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 16px; font-size: 13.5px; font-weight: 600; background: var(--lime-t); color: var(--lime); white-space: nowrap; }
.netpill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.netpill.off { background: var(--red-t); color: var(--red); }
.netpill.off i { animation: blink 1.6s infinite; }
.netpill b { font: 700 14px var(--num); }
@keyframes blink { 50% { opacity: .25; } }
.nav.solid + .scroll { padding-top: 12px; }
.scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 0 16px 28px; scrollbar-width: none; }
.scroll::-webkit-scrollbar, .sheet::-webkit-scrollbar, .hscroll::-webkit-scrollbar { display: none; }
.large { font: 400 34px/1.15 var(--title); letter-spacing: .01em; margin: 2px 0 4px; }
.large-sub { color: var(--mute); font-size: 15px; margin-bottom: 18px; }
.large-sub .num { color: var(--ink); font-weight: 700; }

/* 하단 탭바 */
.tabbar { flex: none; height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--bar); border-top: 1px solid var(--ln); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: #6F7C8A; position: relative; }
.tab.on { color: var(--lime); }
.tab svg { width: 27px; height: 27px; }
.tab .dot { position: absolute; top: 6px; left: calc(50% + 8px); min-width: 19px; height: 19px; border-radius: 10px; background: var(--red); color: #fff; font: 700 11.5px/1 var(--num); display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--bar); }

/* 공통 부품 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--tap); padding: 0 22px; border-radius: 14px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 17px; white-space: nowrap; }
.btn:active { background: var(--lime-d); }
.btn svg { width: 22px; height: 22px; }
.btn:disabled, .btn.dis { background: var(--s3); color: #7D8A98; }
.btn.big { height: var(--tap-l); font-size: 19px; border-radius: 16px; }
.btn.line { background: var(--s2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ln2); }
.btn.line:active { background: var(--s3); }
.btn.danger { background: var(--red); color: #1E0705; }
.btn.line.danger { background: var(--s2); color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 106, 95, .4); }
.btn.block { display: flex; width: 100%; }
.btn.sq { width: var(--tap); padding: 0; flex: none; }
.sec { font-size: 13px; font-weight: 700; color: var(--mute); margin: 26px 4px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; letter-spacing: .02em; }
.sec small { font-weight: 500; }
.sec a, .sec button { color: var(--lime); font-weight: 600; font-size: 14px; }
.hint { font-size: 13.5px; color: var(--mute); }
.err { color: var(--red); font-size: 14px; font-weight: 600; margin-top: 8px; display: flex; gap: 6px; align-items: flex-start; }
.warn { color: var(--amber); font-size: 14px; font-weight: 600; margin-top: 8px; }
.okmsg { color: var(--lime); font-size: 14px; font-weight: 600; margin-top: 8px; }
.empty { text-align: center; padding: 48px 10px; color: var(--mute); }
.empty b { display: block; font: 400 20px var(--title); color: var(--ink); margin-bottom: 6px; letter-spacing: .01em; }
.empty .btn { margin-top: 18px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--s1); border: 1px solid var(--ln); border-radius: 13px; padding: 3px; }
.seg > * { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 15px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.seg > .on { background: var(--s3); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.seg .num { font-weight: 700; color: var(--soft); }
.seg .on .num { color: var(--lime); }
.glove .seg > * { height: 48px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 15px; border-radius: 20px; border: 1px solid var(--ln2); background: var(--s1); font-size: 14.5px; font-weight: 600; color: #B7C2CD; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip:active { background: var(--s3); }
.hscroll { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
textarea, input[type="text"], input[type="search"], input[type="tel"], input:not([type]) { width: 100%; border: 1px solid var(--ln2); background: var(--s1); border-radius: 12px; padding: 13px 14px; font-size: 16px; }
textarea { resize: none; min-height: 84px; line-height: 1.5; display: block; }
textarea::placeholder, input::placeholder { color: var(--soft); }
textarea:focus, input:focus { outline: 2px solid var(--lime); outline-offset: -1px; border-color: transparent; }
.bad-f { outline: 2px solid var(--red) !important; outline-offset: -1px; border-color: transparent !important; }
.count { font: 500 12.5px var(--num); color: var(--soft); text-align: right; margin-top: 4px; }
.switch { appearance: none; -webkit-appearance: none; flex: none; width: 54px; height: 32px; border-radius: 16px; background: #3A4552; position: relative; cursor: pointer; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.switch:checked { background: var(--lime); }
.switch:checked::after { transform: translateX(22px); background: #10170A; }

/* 상태 표시 */
.st { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; color: var(--mute); box-shadow: inset 0 0 0 1px var(--ln2); }
.st.move { color: var(--amber); background: var(--amber-t); box-shadow: none; }
.st.work { color: var(--lime-ink); background: var(--lime); box-shadow: none; }
.st.work::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-ink); animation: blink 1.4s infinite; }
.st.sign { color: var(--sky); background: var(--sky-t); box-shadow: none; }
.st.done { color: #A9B6C3; background: var(--s3); box-shadow: none; }
.st.ok { color: var(--lime); background: var(--lime-t); box-shadow: none; }
.st.none, .st.rej { color: var(--red); box-shadow: inset 0 0 0 1px rgba(255, 106, 95, .5); }
.st.late { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 181, 71, .5); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--s3); color: #B7C2CD; white-space: nowrap; }
.tag.urgent { background: var(--red); color: #1E0705; }
.tag.new { background: var(--sky); color: #04131D; }
.tag.q { background: var(--red-t); color: var(--red); }

/* 지금 작업 카드 */
.now { background: var(--s1); border: 1px solid var(--ln); border-radius: 20px; padding: 16px; position: relative; overflow: hidden; }
.now::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--lime); }
.now.idle::before { background: var(--ln2); }
.now-top { display: flex; align-items: center; gap: 8px; }
.now-top .wo { margin-left: auto; font: 500 14px var(--num); color: var(--mute); }
.now-name { font: 400 26px/1.2 var(--title); margin: 12px 0 4px; letter-spacing: .01em; }
.now-eq { font-size: 15px; color: #C3CDD7; }
.now-addr { font-size: 14px; color: var(--mute); margin-top: 2px; }
.now-time { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--ln2); }
.now-time b { font: 700 30px/1 var(--num); letter-spacing: -.01em; }
.now-time span { font-size: 14px; color: var(--mute); }
.now-time span .num { color: var(--ink); font-weight: 700; }
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.mini > div { background: var(--s2); border-radius: 10px; padding: 8px 9px; display: grid; gap: 1px; }
.mini small { font-size: 11.5px; color: var(--mute); font-weight: 600; }
.mini b { font: 700 17px var(--num); }
.mini .miss b { color: var(--red); }
.mini .full b { color: var(--lime); }
.now-btns { display: flex; gap: 8px; margin-top: 14px; }
.now-btns .btn.big { flex: 1; }
.now-btns .btn.sq { height: var(--tap-l); width: var(--tap-l); border-radius: 16px; }
.now-note { margin-top: 12px; font-size: 14px; color: var(--amber); display: flex; gap: 6px; }

/* 작업 목록 셀 */
.list { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; overflow: hidden; }
.jrow { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 14px; min-height: 76px; width: 100%; position: relative; }
.jrow + .jrow::before, .cell + .cell::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; border-top: 1px solid var(--ln); }
.jrow:active, .cell.tap:active { background: var(--s2); }
.jrow .tm { display: grid; line-height: 1.15; }
.jrow .tm b { font: 700 21px var(--num); }
.jrow .tm small { font: 500 13.5px var(--num); color: var(--mute); }
.jrow .bd { min-width: 0; }
.jrow .bd b { display: flex; align-items: center; gap: 6px; font-size: 16.5px; font-weight: 700; }
.jrow .bd b span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jrow .bd small { display: block; font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.jrow.done .tm b, .jrow.done .bd b { color: #8794A2; }
.jrow .rt { display: grid; justify-items: end; gap: 5px; }
.nav.solid + .scroll .day-h { top: -12px; }
.day-h { position: sticky; top: 0; z-index: 2; background: var(--bg); margin: 0 -16px; padding: 18px 20px 8px; display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; font-size: 15px; }
.day-h small { font: 500 13.5px var(--num); color: var(--mute); }
.day-h .today { color: var(--lime); }
.search { position: relative; margin-bottom: 12px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--soft); }
.search input { padding-left: 42px; height: 50px; }

/* 그룹 목록 (설정·상세) */
.group { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; overflow: hidden; }
.group + .group { margin-top: 12px; }
.cell { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: var(--tap); width: 100%; position: relative; }
.cell .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--s3); display: grid; place-items: center; flex: none; color: #C9D3DC; }
.cell .ic svg { width: 22px; height: 22px; }
.cell .ic.lime { background: var(--lime); color: var(--lime-ink); }
.cell .ic.red { background: var(--red-t); color: var(--red); }
.cell .tx { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.cell .tx b { font-size: 16px; font-weight: 600; }
.cell .tx small { font-size: 13.5px; color: var(--mute); }
.cell .tx small .num { color: #C3CDD7; font-weight: 700; }
.cell .val { font-size: 15px; color: var(--mute); text-align: right; white-space: nowrap; }
.cell .val.num { font-weight: 700; color: var(--ink); }
.cell .chev { width: 20px; height: 20px; color: var(--soft); flex: none; }
.cell .miss { min-width: 26px; height: 26px; border-radius: 13px; background: var(--red); color: #1E0705; font: 700 14px var(--num); display: grid; place-items: center; padding: 0 7px; }
.cell .full { color: var(--lime); width: 24px; height: 24px; }
.cell.red .tx b { color: var(--red); }
.cell.act { justify-content: center; color: var(--lime); font-weight: 600; }
.cell .lk { color: var(--lime); font-weight: 600; font-size: 15px; padding: 6px 0 6px 8px; }
.kv { display: grid; grid-template-columns: 76px 1fr; gap: 6px 10px; font-size: 15px; }
.kv dt { color: var(--mute); }
.kv dd .num { font-weight: 700; }

/* 작업 상세 */
.wo-line { display: flex; align-items: center; gap: 8px; font: 500 15px var(--num); color: var(--mute); margin-top: 2px; flex-wrap: wrap; }
.wo-line .st, .wo-line .tag { font-family: var(--sans); }
.job-name { font: 400 30px/1.2 var(--title); margin: 6px 0 2px; letter-spacing: .01em; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 18px 0 4px; list-style: none; }
.steps li { display: grid; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.steps li::before { content: ''; height: 5px; border-radius: 3px; background: var(--s3); }
.steps li.done { color: #A9B6C3; }
.steps li.done::before { background: #6F8A48; }
.steps li.on { color: var(--lime); }
.steps li.on::before { background: var(--lime); }
.steps li small { font: 500 12.5px var(--num); color: var(--mute); margin-top: -3px; }
.banner { border-radius: 14px; padding: 13px 14px; margin-top: 14px; font-size: 14.5px; display: grid; gap: 2px; }
.banner b { font-weight: 700; }
.banner.red { background: var(--red-t); color: #FFC7C2; }
.banner.red b { color: var(--red); }
.banner.amber { background: var(--amber-t); color: #FFE3B8; }
.banner.amber b { color: var(--amber); }
.banner.lime { background: var(--lime-t); color: #E3F7B9; }
.banner.lime b { color: var(--lime); }
.banner .btn { margin-top: 10px; }
.cta { flex: none; padding: 12px 16px; background: var(--bar); border-top: 1px solid var(--ln); display: flex; gap: 8px; }
.cta .btn { flex: 1; }
.cta .btn.sq { flex: none; }
.cta-note { font-size: 13px; color: var(--mute); text-align: center; margin: -4px 0 8px; }

/* 체크리스트 */
/* 스크롤 칸 위 여백(12px)만큼 끌어올려 내비 바로 밑에 붙인다 */
.prog { position: sticky; top: -12px; z-index: 2; background: var(--bg); margin: -12px -16px 0; padding: 14px 16px 12px; }
.prog-t { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; color: var(--mute); font-weight: 600; }
.prog-t b { font: 700 22px var(--num); color: var(--ink); }
.prog-t .bad { color: var(--red); }
.bar { height: 8px; border-radius: 4px; background: var(--s3); margin-top: 8px; overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: var(--lime); transition: width .25s; }
.bar i.b { background: var(--red); }
.bar i.n { background: #6F7C8A; }
.ck { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 14px; overflow: hidden; }
.ck + .ck { margin-top: 10px; }
.ck.miss { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.ck-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.ck-h .n { font: 700 17px var(--num); color: var(--soft); width: 22px; flex: none; }
.ck-h b { font-size: 17px; font-weight: 700; }
.ck-h small { font-size: 13.5px; color: var(--mute); margin-left: auto; white-space: nowrap; }
.tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tri button { height: var(--tap); border-radius: 12px; background: var(--s2); box-shadow: inset 0 0 0 1px var(--ln2); font-weight: 700; font-size: 16px; color: #B7C2CD; display: grid; place-items: center; }
.tri button:active { background: var(--s3); }
.tri button.on.ok { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.tri button.on.bad { background: var(--red); color: #1E0705; box-shadow: none; }
.tri button.on.na { background: #5D6977; color: #fff; box-shadow: none; }
.ck-memo { margin-top: 10px; }
.ck-memo .hscroll { margin: 8px -14px 0; padding: 0 14px; }
.ck-memo .chip { height: 36px; font-size: 13.5px; }
.quick { margin-top: 14px; }

/* 압력·냉매 */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.refs button { height: var(--tap); text-align: center; display: grid; place-content: center; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--ln2); font: 700 18px var(--num); color: #B7C2CD; }
.refs button.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.refs button.eq::after { content: '장비 냉매'; display: block; font: 600 10.5px/1.2 var(--sans); color: var(--lime); }
.refs button.on.eq::after { color: #3F6A00; }
.meter { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 14px; }
.meter + .meter { margin-top: 10px; }
.meter.bad { border-color: var(--red); }
.meter.out { border-color: var(--amber); }
.meter-h { display: flex; justify-content: space-between; align-items: baseline; }
.meter-h b { font-size: 17px; font-weight: 700; }
.meter-h small { font: 500 14px var(--num); color: var(--mute); }
.meter-h small em { font-style: normal; color: var(--ink); font-weight: 700; }
.meter-in { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.meter-in input { font: 700 36px/1 var(--num); height: 68px; padding: 0 14px; letter-spacing: .02em; }
.meter-in span { font: 600 17px var(--num); color: var(--mute); width: 44px; }
.gauge { position: relative; height: 10px; border-radius: 5px; background: var(--s3); margin-top: 12px; }
.gauge i { position: absolute; top: 0; bottom: 0; background: rgba(194, 255, 61, .35); border-radius: 5px; }
.gauge b { position: absolute; top: -4px; width: 4px; height: 18px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); }
.gauge.out b { background: var(--amber); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: var(--tap); height: var(--tap); border-radius: 14px; background: var(--s2); box-shadow: inset 0 0 0 1px var(--ln2); display: grid; place-items: center; flex: none; color: var(--ink); }
.stepper button:active { background: var(--s3); }
.stepper button:disabled { color: var(--soft); box-shadow: inset 0 0 0 1px var(--ln); background: var(--s1); }
.stepper button svg { width: 24px; height: 24px; }
.stepper output { flex: 1; text-align: center; font: 700 30px var(--num); }
.stepper output small { font: 600 15px var(--num); color: var(--mute); margin-left: 3px; }
.stepper.sm button { width: 48px; height: 48px; border-radius: 12px; }
.glove .stepper.sm button { width: 54px; height: 54px; }
.stepper.sm output { font-size: 22px; min-width: 52px; flex: none; }

/* 사진 */
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph { display: grid; gap: 6px; text-align: left; }
.ph-img { aspect-ratio: 4 / 3; border-radius: 14px; background: #2A333E; overflow: hidden; position: relative; display: grid; place-items: center; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-img .smp { display: grid; justify-items: center; gap: 4px; color: #6F7C8A; font-size: 12px; font-weight: 600; }
.ph-img .smp svg { width: 30px; height: 30px; }
.ph-img .at { position: absolute; right: 6px; bottom: 6px; font: 600 12px var(--num); background: rgba(0, 0, 0, .55); color: #fff; padding: 1px 6px; border-radius: 5px; }
.ph-img .q { position: absolute; left: 6px; top: 6px; }
.ph small { font-size: 13.5px; color: #C3CDD7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.ph-add { aspect-ratio: 4 / 3; border-radius: 14px; border: 2px dashed var(--ln2); display: grid; grid-template-rows: 1fr 1fr; overflow: hidden; }
.ph-add.miss { border-color: var(--red); }
.ph-add label { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--lime); cursor: pointer; }
.ph-add label + label { border-top: 1px dashed var(--ln2); color: #B7C2CD; }
.ph-add label:active { background: var(--s2); }
.ph-add svg { width: 22px; height: 22px; }
.ph-add input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ph-big { aspect-ratio: 4 / 3; border-radius: 16px; background: #2A333E; overflow: hidden; display: grid; place-items: center; }
.ph-big img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.ph-big .smp { display: grid; justify-items: center; gap: 6px; color: #6F7C8A; font-weight: 600; }
.ph-big .smp svg { width: 44px; height: 44px; }

/* 부품 */
.part { display: flex; align-items: center; gap: 10px; padding: 10px 14px; min-height: 76px; position: relative; }
.part + .part::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; border-top: 1px solid var(--ln); }
.part .tx { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.part .tx b { font-size: 15.5px; font-weight: 600; }
.part .tx small { font-size: 13px; color: var(--mute); }
.pick { display: grid; }
.pick button { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; min-height: 56px; border-bottom: 1px solid var(--ln); font-size: 16px; font-weight: 600; }
.pick button small { color: var(--mute); font-weight: 500; font-size: 14px; }
.pick button.has small { color: var(--lime); }

/* 서명 */
.sum { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 14px; }
.sum-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.sum-grid > div { background: var(--s2); border-radius: 10px; padding: 8px 10px; display: grid; }
.sum-grid small { font-size: 12px; color: var(--mute); font-weight: 600; }
.sum-grid b { font: 700 19px var(--num); }
.sum-grid b.r { color: var(--red); }
.sum p { font-size: 14.5px; color: #C3CDD7; margin-top: 10px; line-height: 1.55; }
.pad { margin-top: 10px; background: #F4F6F2; border-radius: 18px; position: relative; height: 210px; touch-action: none; overflow: hidden; }
.pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; }
.pad .base { position: absolute; left: 22px; right: 22px; bottom: 46px; border-top: 1.5px dashed #B5BDC4; pointer-events: none; }
.pad .x { position: absolute; left: 22px; bottom: 52px; font: 700 22px var(--num); color: #9AA4AD; pointer-events: none; }
.pad .ph-t { position: absolute; inset: 0; display: grid; place-items: center; color: #9AA4AD; font-size: 15px; font-weight: 600; pointer-events: none; padding-bottom: 30px; }
.pad .who { position: absolute; right: 18px; bottom: 16px; font-size: 13px; color: #6B747D; pointer-events: none; }
.pad.miss { box-shadow: 0 0 0 3px var(--red); }
.pad-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.pad-tools button { color: var(--lime); font-weight: 600; padding: 8px 2px; }
.lock { background: var(--s1); border: 1px dashed var(--ln2); border-radius: 18px; padding: 18px 14px; margin-top: 10px; text-align: center; color: var(--mute); }
.lock b { display: block; font: 400 19px var(--title); color: var(--ink); margin-bottom: 4px; letter-spacing: .01em; }
.misslist { text-align: left; margin-top: 12px; }
.misslist a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 4px; min-height: 56px; border-top: 1px solid var(--ln); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.misslist a small { color: var(--mute); font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.misslist a i { font: 700 14px/26px var(--num); font-style: normal; min-width: 26px; height: 26px; border-radius: 13px; background: var(--red); color: #1E0705; text-align: center; padding: 0 7px; }

/* 보고서 (종이) */
.paper { background: #F6F7F4; color: #14191F; border-radius: 6px; padding: 18px 16px 20px; font-size: 12.5px; line-height: 1.5; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); -webkit-user-select: text; user-select: text; }
.paper .rp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; border-bottom: 2.5px solid #14191F; padding-bottom: 10px; }
.paper .logo { font-size: 19px; color: #14191F; gap: 6px; }
.paper .logo-mk { width: 18px; height: 18px; color: #6E9B00; }
.paper .rp-co { font-size: 10.5px; color: #59626B; margin-top: 4px; }
.paper .rp-no { text-align: right; }
.paper .rp-no b { font: 400 17px/1.2 var(--title); display: block; letter-spacing: .02em; }
.paper .rp-no span { font: 700 13px var(--num); }
.paper h4 { font-size: 12px; font-weight: 800; margin: 14px 0 6px; padding-left: 7px; border-left: 3px solid #8CC200; letter-spacing: .02em; }
.paper table { width: 100%; border-collapse: collapse; }
.paper th, .paper td { border: 1px solid #C9CFD4; padding: 4px 6px; text-align: left; vertical-align: top; }
.paper th { background: #E7EAE4; font-weight: 700; white-space: nowrap; width: 1%; }
.paper .ckt td:nth-child(2) { white-space: nowrap; }
.paper td.c, .paper th.c { text-align: center; }
.paper .r-bad { color: #C2261C; font-weight: 700; }
.paper .r-na { color: #79828B; }
.paper .num { font-weight: 700; }
.paper .rp-ph { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.paper .rp-ph figure { display: grid; gap: 2px; }
.paper .rp-ph .im { aspect-ratio: 4 / 3; background: #D5DADE; border-radius: 3px; overflow: hidden; display: grid; place-items: center; font-size: 9px; color: #79828B; }
.paper .rp-ph .im img { width: 100%; height: 100%; object-fit: cover; }
.paper .rp-ph figcaption { font-size: 9.5px; color: #4A535C; line-height: 1.3; }
.paper .rp-sign { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid #C9CFD4; margin-top: 4px; }
.paper .rp-sign > div { padding: 6px 7px; min-height: 76px; display: grid; align-content: space-between; }
.paper .rp-sign > div + div { border-left: 1px solid #C9CFD4; }
.paper .rp-sign small { font-size: 10px; color: #59626B; font-weight: 700; }
.paper .rp-sign svg { width: 100%; height: 40px; display: block; }
.paper .rp-sign span { font-size: 11px; }
.paper .stamp { justify-self: start; border: 2px solid #C2261C; color: #C2261C; font-weight: 800; padding: 1px 6px; border-radius: 4px; font-size: 11px; transform: rotate(-6deg); }
.paper .stamp.wait { border-color: #9AA2A9; color: #79828B; transform: none; font-weight: 600; }
.paper .rp-f { margin-top: 12px; font-size: 10px; color: #79828B; display: flex; justify-content: space-between; gap: 8px; }
.rp-wrap { margin: 4px -4px 0; }

/* 반장 화면 */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kpis > a, .kpis > div { background: var(--s1); border: 1px solid var(--ln); border-radius: 14px; padding: 10px; display: grid; gap: 2px; }
.kpis small { font-size: 12px; color: var(--mute); font-weight: 600; }
.kpis b { font: 700 28px/1.1 var(--num); }
.kpis .r b { color: var(--red); }
.kpis .l b { color: var(--lime); }
.tech { background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 14px; display: block; width: 100%; }
.tech + .tech { margin-top: 10px; }
.tech:active { background: var(--s2); }
.tech-h { display: flex; align-items: center; gap: 10px; }
.av { width: 42px; height: 42px; border-radius: 12px; background: var(--s3); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; color: #DCE3EA; }
.tech-h .tx { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.tech-h .tx b { font-size: 17px; font-weight: 700; }
.tech-h .tx small { font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tech-h .cnt { font: 700 20px var(--num); }
.tech-h .cnt small { font-size: 14px; color: var(--mute); }
.tl { position: relative; height: 26px; margin-top: 12px; background: var(--s2); border-radius: 6px; }
.tl i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; background: #46525F; }
.tl i.done { background: #6F8A48; }
.tl i.work { background: var(--lime); }
.tl i.move { background: var(--amber); }
.tl i.sign { background: var(--sky); }
.tl i.rej { background: transparent; box-shadow: inset 0 0 0 2px var(--red); }
.tl .nowl { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--red); border-radius: 1px; }
.tl-axis { display: flex; justify-content: space-between; font: 500 11.5px var(--num); color: var(--soft); margin-top: 4px; }
.tech-q { margin-top: 10px; font-size: 13.5px; color: var(--red); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--ln); width: 100%; min-height: 68px; text-align: left; }
.opt .tx { flex: 1; min-width: 0; display: grid; line-height: 1.4; }
.opt .tx b { font-size: 16px; font-weight: 700; }
.opt .tx small { font-size: 13.5px; color: var(--mute); }
.opt .tx small.c { color: var(--red); font-weight: 600; }
.opt .rd { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--ln2); flex: none; display: grid; place-items: center; }
.opt.on .rd { border-color: var(--lime); }
.opt.on .rd::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.opt:disabled { opacity: .55; }

/* 내 정보 */
.me-card { display: flex; align-items: center; gap: 14px; background: var(--s1); border: 1px solid var(--ln); border-radius: 18px; padding: 16px; }
.me-card .av { width: 56px; height: 56px; border-radius: 16px; font-size: 20px; background: var(--lime); color: var(--lime-ink); }
.me-card .tx { display: grid; line-height: 1.4; }
.me-card .tx b { font-size: 19px; font-weight: 700; }
.me-card .tx small { font-size: 14px; color: var(--mute); }

/* 전송 */
.net { background: var(--s1); border: 1px solid var(--ln); border-radius: 20px; padding: 18px 16px; display: grid; gap: 4px; }
.net.off { border-color: rgba(255, 106, 95, .45); }
.net-h { display: flex; align-items: center; gap: 10px; }
.net-h .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-t); }
.net.off .net-h .dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-t); }
.net-h b { font: 400 22px var(--title); letter-spacing: .01em; }
.net p { font-size: 14.5px; color: var(--mute); }
.net .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ln); font-weight: 600; font-size: 15px; }
.net .row small { display: block; font-size: 12.5px; color: var(--mute); font-weight: 500; }
.qrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 68px; position: relative; }
.qrow + .qrow::before { content: ''; position: absolute; top: 0; right: 0; left: 14px; border-top: 1px solid var(--ln); }
.qrow .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--red-t); color: var(--red); display: grid; place-items: center; flex: none; }
.qrow .ic svg { width: 22px; height: 22px; }
.qrow.sending .ic { background: var(--amber-t); color: var(--amber); }
.qrow.sending .ic svg { animation: spin 1s linear infinite; }
.qrow.sent .ic { background: var(--lime-t); color: var(--lime); }
.qrow .tx { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.qrow .tx b { font-size: 15.5px; font-weight: 600; }
.qrow .tx small { font-size: 13px; color: var(--mute); font-family: var(--num); }
.qrow .val { font: 600 13.5px var(--num); color: var(--mute); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 시트 */
.sheet-wrap { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: fade .2s ease-out; }
.sheet { position: relative; background: var(--s1); border-radius: 26px 26px 0 0; padding: 8px 18px 24px; max-height: 90%; overflow-y: auto; animation: up .3s cubic-bezier(.2, .85, .25, 1); border-top: 1px solid var(--ln2); }
.sheet-wrap.out .sheet-bg { animation: fade .18s reverse forwards; }
.sheet-wrap.out .sheet { animation: down .2s ease-in forwards; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes down { to { transform: translateY(100%); } }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--ln2); margin: 0 auto 14px; }
.sheet h3 { font: 400 23px/1.3 var(--title); letter-spacing: .01em; }
.sheet .sub-t { color: var(--mute); font-size: 14.5px; margin-top: 4px; }
.sheet-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 18px; }
.sheet .btn.block { margin-top: 18px; }
.sheet .f { display: grid; gap: 6px; margin-top: 14px; font-size: 14.5px; font-weight: 600; color: #C3CDD7; }
.sheet .group { background: var(--s2); }
.sheet .cell + .cell::before { border-color: var(--ln2); }
.safe { display: grid; gap: 8px; margin-top: 14px; }
.safe label { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--s2); border-radius: 14px; padding: 10px 14px; min-height: var(--tap); font-weight: 600; cursor: pointer; }
.safe label small { display: block; font-size: 13px; color: var(--mute); font-weight: 500; }
.safe label.miss { box-shadow: inset 0 0 0 2px var(--red); }
.arr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.arr > div { background: var(--s2); border-radius: 12px; padding: 10px 12px; display: grid; }
.arr small { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.arr b { font: 700 24px var(--num); }
.arr b.t { font: 600 15px/1.5 var(--sans); }

/* 토스트 */
.toast { position: absolute; left: 50%; bottom: 118px; transform: translate(-50%, 12px); background: #F1F5F8; color: #11161C; font-size: 15px; font-weight: 600; padding: 12px 18px; border-radius: 14px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; width: max-content; max-width: calc(100% - 40px); text-align: center; line-height: 1.45; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--red); color: #1E0705; }

/* 인쇄: 보고서만 A4 한 장으로 (보고서 화면에서만) */
#print-root { display: none; }
@media print {
  @page { size: A4; margin: 11mm 12mm; }
  body.printing { background: #fff !important; overflow: visible !important; }
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; }
  #print-root .paper { box-shadow: none; border-radius: 0; padding: 0; background: #fff; font-size: 9.5pt; line-height: 1.4; color: #000; }
  #print-root .paper th, #print-root .paper td { padding: 2px 6px; }
  #print-root .paper h4 { margin: 9px 0 5px; break-after: avoid; }
  #print-root .paper .rp-ph .im { aspect-ratio: auto; height: 22mm; }
  #print-root .paper .rp-sign > div { min-height: 64px; }
  #print-root .paper .rp-sign svg { height: 46px; }
  #print-root .paper tr, #print-root .paper figure, #print-root .paper .rp-sign { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
