:root { color: #18333a; background: #f1f5f2; font-family: Manrope, "Noto Sans KR", sans-serif; font-synthesis: none; --ink: #17343b; --muted: #72888a; --line: #dce5e1; --green: #00a77d; --navy: #173c44; --coral: #ea715f; --cream: #f7faf8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #edf3f0; }
button, input { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: 236px; display: flex; flex-direction: column; padding: 31px 22px 24px; color: #e7f4ef; background: #183b43; overflow: hidden; }
.sidebar::before { content: ""; position: absolute; width: 290px; height: 290px; left: -120px; bottom: 80px; border: 1px solid rgba(120, 205, 179, .09); border-radius: 50%; box-shadow: 0 0 0 48px rgba(120, 205, 179, .025), 0 0 0 96px rgba(120, 205, 179, .018); pointer-events: none; }
.brand { position: relative; display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 700; letter-spacing: .18em; }
.brand small { display: block; margin-top: 3px; color: #83a7a2; font-size: 8px; letter-spacing: .32em; }
.brand-mark { position: relative; width: 33px; height: 33px; display: block; transform: rotate(45deg); }
.brand-mark i { position: absolute; width: 20px; height: 20px; border: 2px solid #6ed1b1; border-radius: 3px 11px 3px 11px; }
.brand-mark i:last-child { right: 0; bottom: 0; border-color: #e4b56f; }
nav { position: relative; display: grid; gap: 8px; margin-top: 65px; }
.nav-item { display: flex; align-items: center; gap: 14px; min-height: 47px; padding: 0 14px; border-radius: 9px; color: #91aaa8; text-decoration: none; font-size: 14px; font-weight: 600; transition: .2s; }
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(114, 205, 179, .13); }
.nav-item.active { box-shadow: inset 3px 0 #63d4af; }
.nav-icon { width: 22px; font: 500 22px/1 "DM Mono", monospace; color: #68caae; text-align: center; }
.sidebar-foot { position: relative; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 17px 12px 0; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-foot b, .sidebar-foot small { display: block; }
.sidebar-foot b { font-size: 12px; letter-spacing: .02em; }
.sidebar-foot small { margin-top: 4px; color: #7f9d99; font-size: 10px; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; background: #56d4a8; border-radius: 50%; box-shadow: 0 0 0 5px rgba(86,212,168,.1); }
.status-dot.offline { background: #e77a67; }
.main { grid-column: 2; min-width: 0; }
.topbar { height: 69px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 4vw, 58px); border-bottom: 1px solid #dce6e2; background: rgba(247,250,248,.82); backdrop-filter: blur(12px); }
.crumb { color: #8ba09f; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .15em; }
.crumb span { margin: 0 8px; color: #bdc9c6; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.secure-pill { padding: 7px 11px; border: 1px solid #cfe1da; border-radius: 99px; color: #36836f; background: #f5faf7; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .08em; }
.secure-pill::first-letter { color: #21b488; }
.icon-button, .menu-button { width: 32px; height: 32px; border: 1px solid #d7e2df; border-radius: 50%; background: #f9fbfa; cursor: pointer; }
.menu-button { display: none; border: 0; background: transparent; font-size: 20px; }
.content { width: min(1260px, calc(100% - clamp(32px, 7vw, 88px))); margin: 0 auto; padding: 51px 0 80px; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 27px; }
.eyebrow { margin: 0 0 9px; color: #1c9c79; font: 500 9px/1 "DM Mono", monospace; letter-spacing: .2em; }
.intro h1 { margin: 0; color: #16343b; font-size: clamp(28px, 3vw, 39px); letter-spacing: -.055em; }
.intro > div > p:last-child { margin: 10px 0 0; color: #718486; font-size: 13px; }
.api-badge { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border: 1px solid #d9e4e0; border-radius: 8px; background: rgba(255,255,255,.52); }
.api-badge > span { width: 7px; height: 7px; border-radius: 50%; background: #28b88c; box-shadow: 0 0 0 4px #dff3ed; }
.api-badge small, .api-badge code { display: block; }
.api-badge small { margin-bottom: 3px; color: #8b9d9d; font: 500 8px/1 "DM Mono", monospace; letter-spacing: .13em; }
.api-badge code { color: #3d555a; font: 500 10px/1.3 "DM Mono", monospace; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.stats article { position: relative; min-height: 78px; display: flex; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid #dce5e1; border-radius: 10px; background: rgba(251,253,252,.78); }
.stat-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 8px; font: 500 18px/1 "DM Mono", monospace; }
.stat-icon.mint { color: #168f70; background: #dff3ec; }.stat-icon.coral { color: #d76050; background: #fbe7e3; }.stat-icon.blue { color: #4d7f91; background: #e2edf0; }
.stats small, .stats strong { display: block; }.stats small { color: #819493; font-size: 10px; }.stats strong { margin-top: 4px; font-size: 18px; }
.stats em { margin-left: auto; color: #a3b1af; font: normal 8px/1 "DM Mono", monospace; text-transform: uppercase; }
.workspace { display: grid; grid-template-columns: minmax(340px, .85fr) minmax(430px, 1.15fr); gap: 16px; align-items: stretch; }
.card { border: 1px solid #dbe4e0; border-radius: 12px; background: rgba(252,253,252,.91); box-shadow: 0 11px 30px rgba(31,63,57,.035); }
.input-card, .result-card { padding: 22px; }
.card-head, .card-head > div { display: flex; align-items: center; }
.card-head { justify-content: space-between; margin-bottom: 18px; }
.card-head > div { gap: 11px; }.card-head h2 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.step { color: #22a681; font: 500 10px/1 "DM Mono", monospace; }
.required, .run-id, .version { color: #819492; font: 500 8px/1 "DM Mono", monospace; letter-spacing: .1em; }
.required { padding: 5px 7px; border-radius: 4px; color: #4b8f7c; background: #e8f4f0; }
.run-id { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropzone { display: grid; grid-template-columns: 116px 1fr; gap: 17px; padding: 12px; border: 1px dashed #b9cec7; border-radius: 10px; background: #f5f9f7; cursor: pointer; transition: .2s; }
.dropzone:hover, .dropzone.dragging { border-color: #40b793; background: #f1f9f6; }
.preview-wrap { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 8px; background: #d7e5e1; }
.preview-wrap img { width: 100%; height: 100%; object-fit: cover; }
.face-guide { position: absolute; inset: 15% 21% 23%; border: 1px solid rgba(255,255,255,.75); border-radius: 48% 48% 43% 43%; box-shadow: 0 0 0 999px rgba(21,52,58,.04); }
.scan-line { position: absolute; z-index: 2; left: 12%; right: 12%; height: 1px; top: 26%; background: linear-gradient(90deg,transparent,#6ee5c0,transparent); box-shadow: 0 0 5px #48d8ad; animation: scan 3s ease-in-out infinite; }
@keyframes scan { 50% { top: 72%; } }
.drop-copy { align-self: center; }.drop-copy b, .drop-copy span { display: block; }.drop-copy b { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }.drop-copy span { margin: 6px 0 13px; color: #829493; font-size: 9px; line-height: 1.5; }
.drop-copy button { padding: 7px 11px; border: 1px solid #cdded8; border-radius: 6px; color: #327c68; background: #fff; font-size: 10px; cursor: pointer; }
.sample-label { display: flex; align-items: center; justify-content: space-between; margin: 19px 2px 10px; }.sample-label span { font-size: 11px; font-weight: 700; }.sample-label small { color: #91a09f; font-size: 8px; }
.sample-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.sample { min-width: 0; padding: 3px 3px 5px; border: 1px solid transparent; border-radius: 7px; color: #758987; background: transparent; font-size: 8px; cursor: pointer; transition: .18s; }
.sample img { display: block; width: 100%; aspect-ratio: 1; margin-bottom: 4px; border-radius: 5px; object-fit: cover; filter: saturate(.82); }
.sample:hover, .sample.active { color: #168c6d; border-color: #68bea4; background: #edf8f4; }.sample.active img { filter: none; }
.primary-button { position: relative; width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; margin-top: 20px; padding: 0 16px; border: 0; border-radius: 8px; color: white; background: #173e46; box-shadow: 0 8px 20px rgba(23,62,70,.16); font-size: 12px; font-weight: 700; cursor: pointer; overflow: hidden; }
.primary-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(105,223,185,.15), transparent); transform: translateX(-100%); }.primary-button.loading::before { animation: loading 1.2s linear infinite; }
@keyframes loading { to { transform: translateX(100%); } }
.button-icon { color: #75deb9; }.button-arrow { margin-left: auto; font-size: 17px; }
.privacy-note { margin: 11px 0 0; color: #97a5a3; font-size: 8px; text-align: center; }
.result-card { min-height: 535px; display: flex; flex-direction: column; }
.empty-result { flex: 1; display: grid; place-content: center; justify-items: center; text-align: center; }.empty-result h3 { margin: 20px 0 7px; font-size: 15px; }.empty-result p { margin: 0; color: #879795; font-size: 10px; line-height: 1.7; }
.radar { position: relative; width: 105px; height: 105px; display: grid; place-items: center; border: 1px solid #cfe2dc; border-radius: 50%; box-shadow: inset 0 0 0 17px #f2f8f5, inset 0 0 0 18px #dcebe6; }.radar::after, .radar::before { content: ""; position: absolute; background: #e0ebe7; }.radar::before { width: 1px; height: 130px; }.radar::after { width: 130px; height: 1px; }.radar i { z-index: 2; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: #37a785; background: #e2f3ed; font-style: normal; }
.verdict { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 10px; }.verdict.approved { background: #e8f6f0; }.verdict.rejected, .verdict.error { background: #faece8; }
.verdict-icon { width: 50px; height: 50px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: #24a880; font: 500 24px/1 "DM Mono", monospace; box-shadow: 0 0 0 5px rgba(36,168,128,.12); }.rejected .verdict-icon, .error .verdict-icon { background: #df6c59; box-shadow: 0 0 0 5px rgba(223,108,89,.12); }
.verdict small { color: #40957c; font: 500 8px/1 "DM Mono", monospace; letter-spacing: .13em; }.rejected small, .error small { color: #c06a5b; }.verdict h3 { margin: 4px 0; font-size: 15px; }.verdict p { margin: 0; color: #6f8982; font-size: 9px; }
.reason-list { display: grid; gap: 7px; margin: 12px 0; }.reason { display: flex; gap: 9px; align-items: center; padding: 9px 11px; border: 1px solid #e6ece9; border-radius: 7px; }.reason > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #168c6d; background: #e5f4ee; font-size: 10px; }.reason.rejected > span, .reason.error > span { color: #c85849; background: #f9e6e2; }.reason p, .reason b, .reason small { display: block; margin: 0; }.reason b { font-size: 10px; }.reason small { margin-top: 2px; color: #93a09e; font-size: 8px; }
.signal-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }.signal { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px; border: 1px solid #e0e7e4; border-radius: 7px; background: #fafcfb; }.signal > span { color: #3ba182; font: 500 16px/1 "DM Mono", monospace; }.signal p, .signal small, .signal b { display: block; margin: 0; }.signal small { color: #8a9997; font-size: 7px; }.signal b { margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.trace { margin-top: 13px; border-top: 1px solid #e4eae7; }.trace summary { display: flex; justify-content: space-between; padding: 13px 2px 6px; list-style: none; cursor: pointer; font-size: 10px; font-weight: 700; }.trace summary small { color: #91a09e; font-size: 8px; font-weight: 400; }.trace-body { padding-top: 5px; }.trace-row { display: grid; grid-template-columns: 80px 1fr; padding: 5px 0; color: #718582; font-size: 8px; }.trace-row code { color: #3e5b5a; font: 500 8px/1.4 "DM Mono", monospace; overflow-wrap: anywhere; }.rule-stack { display: grid; gap: 4px; margin-top: 6px; max-height: 102px; overflow: auto; }.rule-line { display: grid; grid-template-columns: 34px 90px 1fr; gap: 6px; padding: 5px 7px; border-radius: 4px; background: #f5f8f6; font-size: 7px; }.rule-line span { font: 500 7px/1.4 "DM Mono", monospace; }.rule-line .pass { color: #15916f; }.rule-line .fail { color: #d26150; }.rule-line code { color: #385956; font-size: 7px; }.rule-line p { margin: 0; color: #7b8e8b; }
.lower-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 16px; margin-top: 16px; }.history-card, .rules-card { padding: 22px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }.section-head .eyebrow { margin-bottom: 6px; }.section-head h2 { margin: 0; font-size: 15px; }.text-button { border: 0; color: #819492; background: none; font-size: 9px; cursor: pointer; }
.history-list { display: grid; }.history-row { width: 100%; display: grid; grid-template-columns: 42px 1fr 90px 48px; gap: 11px; align-items: center; padding: 9px 3px; border: 0; border-top: 1px solid #e8edeb; background: transparent; text-align: left; cursor: pointer; }.history-row:hover { background: #f6f9f7; }.history-thumb { width: 38px; height: 38px; overflow: hidden; border-radius: 6px; }.history-thumb img { width: 100%; height: 100%; object-fit: cover; }.history-main b, .history-main small, .history-signals small { display: block; }.history-main b { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.history-main small, .history-signals small { margin-top: 3px; color: #91a09e; font-size: 7px; }.history-signals { font-size: 8px; }.history-verdict { padding: 5px 7px; border-radius: 99px; color: #168b6d; background: #e4f4ee; font-size: 8px; text-align: center; }.history-verdict.rejected, .history-verdict.error { color: #c75e50; background: #fae8e4; }
.empty-history { min-height: 78px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #8da09d; }.empty-history > span { font-size: 24px; }.empty-history p, .empty-history b, .empty-history small { display: block; margin: 0; }.empty-history b { color: #617775; font-size: 10px; }.empty-history small { margin-top: 4px; font-size: 8px; }
.rule-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e4ebe8; border: 1px solid #e4ebe8; border-radius: 8px; overflow: hidden; }.rule-overview > div { display: flex; gap: 10px; padding: 13px; background: #fafcfb; }.rule-overview > div > span { color: #31a382; font: 500 9px/1.5 "DM Mono", monospace; }.rule-overview p, .rule-overview b, .rule-overview small { display: block; margin: 0; }.rule-overview b { font-size: 9px; }.rule-overview small { margin-top: 3px; color: #8c9b99; font-size: 7px; line-height: 1.5; }
.faq-mini { margin-top: 12px; border-top: 1px solid #e3eae7; }.faq-mini details { padding: 9px 2px; border-bottom: 1px solid #e8eeeb; }.faq-mini summary { color: #536d69; font-size: 9px; font-weight: 700; cursor: pointer; }.faq-mini p { margin: 7px 0 0; color: #849592; font-size: 8px; line-height: 1.6; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 25px; padding: 11px 16px; border-radius: 8px; color: #fff; background: #173d45; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 11px; opacity: 0; transform: translate(-50%,20px); pointer-events: none; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%,0); }
dialog { width: min(470px, calc(100% - 32px)); padding: 30px; border: 0; border-radius: 14px; color: #234148; box-shadow: 0 25px 80px rgba(15,46,51,.25); }.dialog-note { padding: 13px; border-radius: 7px; color: #67817d; background: #eef5f2; font-size: 10px; line-height: 1.65; }dialog::backdrop { background: rgba(14,39,43,.55); backdrop-filter: blur(3px); }dialog h2 { margin: 0 0 14px; font-size: 20px; }dialog > p:not(.eyebrow) { color: #657c79; font-size: 12px; line-height: 1.75; }dialog > button { position: absolute; right: 15px; top: 15px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #edf3f0; cursor: pointer; }

@media (max-width: 1050px) { .workspace { grid-template-columns: 1fr; }.result-card { min-height: 500px; }.lower-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .shell { display: block; }.sidebar { width: 220px; transform: translateX(-105%); transition: .25s; box-shadow: 14px 0 40px rgba(17,50,55,.18); }.menu-open .sidebar { transform: translateX(0); }.main { grid-column: auto; }.menu-button { display: inline-grid; place-items: center; }.topbar { padding: 0 18px; }.crumb { display: none; }.content { width: calc(100% - 28px); padding-top: 31px; }.intro { align-items: flex-start; }.api-badge { display: none; }.stats { grid-template-columns: 1fr 1fr; }.stats article:last-child { grid-column: 1 / -1; }.workspace { display: block; }.result-card { margin-top: 14px; }.sample-grid { grid-template-columns: repeat(4,1fr); }.signal-grid { grid-template-columns: 1fr 1fr; }.lower-grid { display: block; }.rules-card { margin-top: 14px; } }
@media (max-width: 460px) { .intro h1 { font-size: 29px; }.stats { display: block; }.stats article { margin-bottom: 8px; }.input-card, .result-card, .history-card, .rules-card { padding: 16px; }.dropzone { grid-template-columns: 92px 1fr; gap: 12px; }.sample-label small { display: none; }.result-card { min-height: 480px; }.history-row { grid-template-columns: 38px 1fr 43px; }.history-signals { display: none; }.rule-overview { grid-template-columns: 1fr; }.secure-pill { display: none; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
